@5minds/processcube_engine_client 5.0.0-feature-7335be-ln4lssfb → 5.0.0-feature-933858-ln4lu7wu
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/Client.d.ts +2 -6
- package/dist/ClientFactory.d.ts +2 -4
- package/dist/Clients/CronjobHttpClient.d.ts +0 -18
- package/dist/Clients/EmptyActivityHttpClient.d.ts +22 -0
- package/dist/Clients/ExternalTaskApiHttpClient.d.ts +1 -9
- package/dist/Clients/FlowNodeInstanceHttpClient.d.ts +1 -4
- package/dist/Clients/Lib/Mappers.d.ts +2 -7
- package/dist/Clients/NotificationHttpClient.d.ts +2 -10
- package/dist/Clients/index.d.ts +1 -3
- package/dist/Types/CallbackTypes.d.ts +2 -2
- package/dist/Types/RestSettings.d.ts +6 -44
- package/dist/Types/SocketSettings.d.ts +0 -2
- 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/CronjobHttpClient.js +0 -26
- package/dist/amd/Clients/CronjobHttpClient.js.map +1 -1
- package/dist/amd/Clients/EmptyActivityHttpClient.js +38 -0
- package/dist/amd/Clients/EmptyActivityHttpClient.js.map +1 -0
- package/dist/amd/Clients/ExternalTaskApiHttpClient.js +0 -26
- package/dist/amd/Clients/ExternalTaskApiHttpClient.js.map +1 -1
- package/dist/amd/Clients/FlowNodeInstanceHttpClient.js +2 -7
- 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/NotificationHttpClient.js +5 -11
- package/dist/amd/Clients/NotificationHttpClient.js.map +1 -1
- 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/Types/RestSettings.js +7 -46
- package/dist/amd/Types/RestSettings.js.map +1 -1
- package/dist/amd/Types/SocketSettings.js +0 -2
- 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/CronjobHttpClient.js +0 -26
- package/dist/commonjs/Clients/CronjobHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/EmptyActivityHttpClient.js +40 -0
- package/dist/commonjs/Clients/EmptyActivityHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js +0 -26
- package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js.map +1 -1
- package/dist/commonjs/Clients/FlowNodeInstanceHttpClient.js +2 -7
- 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/NotificationHttpClient.js +5 -11
- package/dist/commonjs/Clients/NotificationHttpClient.js.map +1 -1
- 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/Types/RestSettings.js +7 -46
- package/dist/commonjs/Types/RestSettings.js.map +1 -1
- package/dist/commonjs/Types/SocketSettings.js +0 -2
- package/dist/commonjs/Types/SocketSettings.js.map +1 -1
- package/package.json +2 -2
- package/dist/Clients/AnonymousSessionHttpClient.d.ts +0 -7
- package/dist/Clients/UntypedTaskHttpClient.d.ts +0 -31
- 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/UntypedTaskHttpClient.js +0 -49
- package/dist/amd/Clients/UntypedTaskHttpClient.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/UntypedTaskHttpClient.js +0 -51
- package/dist/commonjs/Clients/UntypedTaskHttpClient.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/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 emptyActivityClient;
|
|
12
11
|
private readonly eventClient;
|
|
13
12
|
private readonly externalTaskClient;
|
|
14
13
|
private readonly flowNodeInstanceClient;
|
|
@@ -18,18 +17,17 @@ 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;
|
|
30
|
+
get emptyActivities(): Clients.EmptyActivityHttpClient;
|
|
33
31
|
get events(): Clients.EventHttpClient;
|
|
34
32
|
get externalTasks(): Clients.ExternalTaskClient;
|
|
35
33
|
get flowNodeInstances(): Clients.FlowNodeInstanceHttpClient;
|
|
@@ -38,7 +36,5 @@ export declare class EngineClient {
|
|
|
38
36
|
get processDefinitions(): Clients.ProcessDefinitionHttpClient;
|
|
39
37
|
get processInstances(): Clients.ProcessInstanceHttpClient;
|
|
40
38
|
get processModels(): Clients.ProcessModelHttpClient;
|
|
41
|
-
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, EmptyActivityHttpClient, 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
|
+
createEmptyActivityClient: (engineUrl: string, identity?: Identity, socketIoManager?: SocketIoManager) => EmptyActivityHttpClient;
|
|
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
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DataModels, IEmptyActivityExtensionAdapter, Identity, Messages, Subscription } from '@5minds/processcube_engine_sdk';
|
|
2
|
+
import { BaseClient } from './BaseClient';
|
|
3
|
+
type EmptyActivityList = DataModels.FlowNodeInstances.EmptyActivityList;
|
|
4
|
+
export declare class EmptyActivityHttpClient extends BaseClient implements IEmptyActivityExtensionAdapter {
|
|
5
|
+
query(query: DataModels.FlowNodeInstances.EmptyActivityQuery, options?: {
|
|
6
|
+
identity?: Identity;
|
|
7
|
+
offset?: number;
|
|
8
|
+
limit?: number;
|
|
9
|
+
sortSettings?: DataModels.FlowNodeInstances.FlowNodeInstanceSortSettings;
|
|
10
|
+
}): Promise<EmptyActivityList>;
|
|
11
|
+
finishEmptyActivity(emptyActivityInstanceId: string, identity?: Identity): Promise<void>;
|
|
12
|
+
onEmptyActivityWaiting(callback: Messages.CallbackTypes.OnEmptyActivityWaitingCallback, options?: {
|
|
13
|
+
subscribeOnce?: boolean;
|
|
14
|
+
identity?: Identity;
|
|
15
|
+
}): Promise<Subscription>;
|
|
16
|
+
onEmptyActivityFinished(callback: Messages.CallbackTypes.OnEmptyActivityFinishedCallback, options?: {
|
|
17
|
+
subscribeOnce?: boolean;
|
|
18
|
+
identity?: Identity;
|
|
19
|
+
}): Promise<Subscription>;
|
|
20
|
+
removeSubscription(subscription: Subscription, identity?: Identity): void;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -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,10 +7,7 @@ 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
|
-
|
|
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>;
|
|
10
|
+
finishEmptyActivity(emptyActivityInstanceId: string, identity?: Identity): Promise<void>;
|
|
14
11
|
finishManualTask(manualTaskInstanceId: string, identity?: Identity): Promise<void>;
|
|
15
12
|
finishUserTask(userTaskInstanceId: string, userTaskResult: DataModels.FlowNodeInstances.UserTaskResult, identity?: Identity): Promise<void>;
|
|
16
13
|
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 mapEmptyActivity(data: any): DataModels.FlowNodeInstances.EmptyActivityInstance;
|
|
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,21 +91,13 @@ export declare class NotificationHttpClient extends BaseClient implements INotif
|
|
|
91
91
|
subscribeOnce?: boolean;
|
|
92
92
|
identity?: Identity;
|
|
93
93
|
}): Promise<Subscription>;
|
|
94
|
-
|
|
94
|
+
onEmptyActivityWaiting(callback: Messages.CallbackTypes.OnEmptyActivityWaitingCallback, options?: {
|
|
95
95
|
subscribeOnce?: boolean;
|
|
96
96
|
identity?: Identity;
|
|
97
|
-
/**
|
|
98
|
-
* If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
99
|
-
*/
|
|
100
|
-
useLegacyEndpoint?: boolean;
|
|
101
97
|
}): Promise<Subscription>;
|
|
102
|
-
|
|
98
|
+
onEmptyActivityFinished(callback: Messages.CallbackTypes.OnEmptyActivityFinishedCallback, options?: {
|
|
103
99
|
subscribeOnce?: boolean;
|
|
104
100
|
identity?: Identity;
|
|
105
|
-
/**
|
|
106
|
-
* If true, will use the old "Empty Activity" Socket.IO Endpoint for receiving the notification.
|
|
107
|
-
*/
|
|
108
|
-
useLegacyEndpoint?: boolean;
|
|
109
101
|
}): Promise<Subscription>;
|
|
110
102
|
onManualTaskWaiting(callback: Messages.CallbackTypes.OnManualTaskWaitingCallback, options?: {
|
|
111
103
|
subscribeOnce?: boolean;
|
package/dist/Clients/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './AnonymousSessionHttpClient';
|
|
2
1
|
export * from './ApplicationInfoHttpClient';
|
|
3
2
|
export * from './CorrelationHttpClient';
|
|
4
3
|
export * from './CronjobHttpClient';
|
|
5
4
|
export * from './DataObjectInstanceHttpClient';
|
|
5
|
+
export * from './EmptyActivityHttpClient';
|
|
6
6
|
export * from './EventHttpClient';
|
|
7
7
|
export * from './ExternalTaskApiHttpClient';
|
|
8
8
|
export * from './ExternalTaskHttpClient';
|
|
@@ -13,6 +13,4 @@ export * from './ProcessDefinitionHttpClient';
|
|
|
13
13
|
export * from './ProcessDefinitionHttpClientNode';
|
|
14
14
|
export * from './ProcessModelHttpClient';
|
|
15
15
|
export * from './ProcessInstanceHttpClient';
|
|
16
|
-
export * from './UntypedTaskHttpClient';
|
|
17
16
|
export * from './UserTaskHttpClient';
|
|
18
|
-
export * from './UserMetadataStorageHttpClient';
|
|
@@ -16,8 +16,8 @@ export declare type OnIntermediateCatchEventReachedCallback = (intermediateCatch
|
|
|
16
16
|
export declare type OnIntermediateCatchEventFinishedCallback = (intermediateCatchEventFinished: EventMessage) => void | Promise<void>;
|
|
17
17
|
export declare type OnActivityReachedCallback = (activityReached: EventMessage) => void | Promise<void>;
|
|
18
18
|
export declare type OnActivityFinishedCallback = (activityFinished: EventMessage) => void | Promise<void>;
|
|
19
|
-
export declare type
|
|
20
|
-
export declare type
|
|
19
|
+
export declare type OnEmptyActivityWaitingCallback = (userTaskWaiting: EventMessage) => void | Promise<void>;
|
|
20
|
+
export declare type OnEmptyActivityFinishedCallback = (userTaskFinished: EventMessage) => void | Promise<void>;
|
|
21
21
|
export declare type OnManualTaskWaitingCallback = (manualTaskWaiting: EventMessage) => void | Promise<void>;
|
|
22
22
|
export declare type OnManualTaskFinishedCallback = (manualTaskFinished: EventMessage) => void | Promise<void>;
|
|
23
23
|
export declare type OnUserTaskWaitingCallback = (userTaskWaiting: EventMessage) => void | Promise<void>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare const restSettings: {
|
|
2
2
|
params: {
|
|
3
3
|
correlationId: string;
|
|
4
|
-
untypedTaskInstanceId: string;
|
|
5
4
|
emptyActivityInstanceId: string;
|
|
6
5
|
eventId: string;
|
|
7
6
|
eventName: string;
|
|
@@ -77,22 +76,6 @@ export declare const restSettings: {
|
|
|
77
76
|
* @responseType DeployedCronjobList
|
|
78
77
|
*/
|
|
79
78
|
getDeployedCronjobs: string;
|
|
80
|
-
/**
|
|
81
|
-
* Gets all active Cronjobs. DEPRECATED - Use "/cronjobs/query" instead
|
|
82
|
-
* @tags Cronjobs
|
|
83
|
-
* @method get
|
|
84
|
-
* @queryParams limit: number, offset: number
|
|
85
|
-
* @responseType CronjobList
|
|
86
|
-
*/
|
|
87
|
-
getActiveCronjobs: string;
|
|
88
|
-
/**
|
|
89
|
-
* Queries a list of cronjob history entries that match the given query.
|
|
90
|
-
* @tags Cronjobs
|
|
91
|
-
* @method get
|
|
92
|
-
* @queryParams limit: number, offset: number: string, processDefinitionId: string, processModelId: string, startEventId: string, crontab: string, executedAt: string, createdAt: string, updatedAt: string
|
|
93
|
-
* @responseType CronjobHistoryList
|
|
94
|
-
*/
|
|
95
|
-
getCronjobHistory: string;
|
|
96
79
|
/**
|
|
97
80
|
* Enables the given Cronjob for the given Process Model.
|
|
98
81
|
* @tags ProcessModels
|
|
@@ -138,18 +121,11 @@ export declare const restSettings: {
|
|
|
138
121
|
*/
|
|
139
122
|
triggerSignalEvent: string;
|
|
140
123
|
/**
|
|
141
|
-
* Finishes a specific EmptyActivity by its
|
|
142
|
-
* @tags
|
|
143
|
-
* @deprecated
|
|
124
|
+
* Finishes a specific EmptyActivity by its EmptyActivityInstanceId.
|
|
125
|
+
* @tags EmptyActivities
|
|
144
126
|
* @method put
|
|
145
127
|
*/
|
|
146
128
|
finishEmptyActivity: string;
|
|
147
|
-
/**
|
|
148
|
-
* Finishes a specific UntypedTask by its InstanceId.
|
|
149
|
-
* @tags UntypedTask
|
|
150
|
-
* @method put
|
|
151
|
-
*/
|
|
152
|
-
finishUntypedTask: string;
|
|
153
129
|
/**
|
|
154
130
|
* Finishes a specific ManualTask by its ManualTaskInstanceId.
|
|
155
131
|
* @tags ManualTasks
|
|
@@ -197,20 +173,6 @@ export declare const restSettings: {
|
|
|
197
173
|
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "ExtendLockRequestPayload"}
|
|
198
174
|
*/
|
|
199
175
|
extendExternalTaskLock: string;
|
|
200
|
-
/**
|
|
201
|
-
* DEPRECATED - Use `PUT /external_tasks/:external_task_id/error` instead.
|
|
202
|
-
* @tags ExternalTasks
|
|
203
|
-
* @method put
|
|
204
|
-
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "HandleBpmnErrorRequestPayload"}
|
|
205
|
-
*/
|
|
206
|
-
finishExternalTaskWithBpmnError: string;
|
|
207
|
-
/**
|
|
208
|
-
* DEPRECATED - Use `PUT /external_tasks/:external_task_id/error` instead.
|
|
209
|
-
* @tags ExternalTasks
|
|
210
|
-
* @method put
|
|
211
|
-
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "HandleServiceErrorRequestPayload"}
|
|
212
|
-
*/
|
|
213
|
-
finishExternalTaskWithServiceError: string;
|
|
214
176
|
/**
|
|
215
177
|
* Finishes the given External Task with the given Error.
|
|
216
178
|
* @tags ExternalTasks
|
|
@@ -543,19 +505,19 @@ export declare const restSettings: {
|
|
|
543
505
|
*/
|
|
544
506
|
onActivityFinished: string;
|
|
545
507
|
/**
|
|
546
|
-
* Wait for an
|
|
508
|
+
* Wait for an EmptyActivityWaiting notification and resolves with the notification's content.
|
|
547
509
|
* @tags Notifications
|
|
548
510
|
* @method get
|
|
549
511
|
* @responseType EventMessage
|
|
550
512
|
*/
|
|
551
|
-
|
|
513
|
+
onEmptyActivityWaiting: string;
|
|
552
514
|
/**
|
|
553
|
-
* Wait for an
|
|
515
|
+
* Wait for an EmptyActivityFinished notification and resolves with the notification's content.
|
|
554
516
|
* @tags Notifications
|
|
555
517
|
* @method get
|
|
556
518
|
* @responseType EventMessage
|
|
557
519
|
*/
|
|
558
|
-
|
|
520
|
+
onEmptyActivityFinished: string;
|
|
559
521
|
/**
|
|
560
522
|
* Wait for a ManualTaskWaiting notification and resolves with the notification's content.
|
|
561
523
|
* @tags Notifications
|
|
@@ -15,8 +15,6 @@ export declare const socketSettings: {
|
|
|
15
15
|
cronjobUpdated: string;
|
|
16
16
|
emptyActivityWaiting: string;
|
|
17
17
|
emptyActivityFinished: string;
|
|
18
|
-
untypedTaskWaiting: string;
|
|
19
|
-
untypedTaskFinished: string;
|
|
20
18
|
endEventFinished: string;
|
|
21
19
|
externalTaskCreated: string;
|
|
22
20
|
externalTaskLocked: string;
|
package/dist/amd/Client.js
CHANGED
|
@@ -11,11 +11,11 @@ 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);
|
|
18
|
+
this.emptyActivityClient = ClientFactory_1.ClientFactory.createEmptyActivityClient(this.engineUrl, this.identity, socketIoManager);
|
|
19
19
|
this.eventClient = ClientFactory_1.ClientFactory.createEventClient(this.engineUrl, this.identity, socketIoManager);
|
|
20
20
|
this.externalTaskClient = ClientFactory_1.ClientFactory.createExternalTaskClient(this.engineUrl, this.identity);
|
|
21
21
|
this.flowNodeInstanceClient = ClientFactory_1.ClientFactory.createFlowNodeInstanceClient(this.engineUrl, this.identity);
|
|
@@ -24,25 +24,21 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
24
24
|
this.processDefinitionClient = ClientFactory_1.ClientFactory.createProcessDefinitionClient(this.engineUrl, this.identity);
|
|
25
25
|
this.processInstanceClient = ClientFactory_1.ClientFactory.createProcessInstanceClient(this.engineUrl, this.identity);
|
|
26
26
|
this.processModelClient = ClientFactory_1.ClientFactory.createProcessModelClient(this.engineUrl, this.identity);
|
|
27
|
-
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();
|
|
34
|
+
this.emptyActivityClient.dispose();
|
|
37
35
|
this.eventClient.dispose();
|
|
38
36
|
this.flowNodeInstanceClient.dispose();
|
|
39
37
|
this.manualTaskClient.dispose();
|
|
40
38
|
this.notificationClient.dispose();
|
|
41
39
|
this.processDefinitionClient.dispose();
|
|
42
40
|
this.processInstanceClient.dispose();
|
|
43
|
-
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,6 +58,9 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
65
58
|
get dataObjectInstances() {
|
|
66
59
|
return this.dataObjectInstanceClient;
|
|
67
60
|
}
|
|
61
|
+
get emptyActivities() {
|
|
62
|
+
return this.emptyActivityClient;
|
|
63
|
+
}
|
|
68
64
|
get events() {
|
|
69
65
|
return this.eventClient;
|
|
70
66
|
}
|
|
@@ -89,15 +85,9 @@ define(["require", "exports", "./ClientFactory", "./Clients/Lib/SocketIoManager"
|
|
|
89
85
|
get processModels() {
|
|
90
86
|
return this.processModelClient;
|
|
91
87
|
}
|
|
92
|
-
get untypedTasks() {
|
|
93
|
-
return this.untypedTaskClient;
|
|
94
|
-
}
|
|
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,QAAQ,cAAR,QAAQ,GAAI,aAAa,CAAC;YAE1C,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAE5D,IAAI,CAAC,qBAAqB,GAAG,6BAAa,CAAC,2BAA2B,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;YACvH,IAAI,CAAC,iBAAiB,GAAG,6BAAa,CAAC,uBAAuB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC9F,IAAI,CAAC,aAAa,GAAG,6BAAa,CAAC,mBAAmB,CAAC,IAAI,CAAC,SAAS,E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AC;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,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
|
+
createEmptyActivityClient: (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.EmptyActivityHttpClient(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,SA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,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"}
|
|
@@ -23,32 +23,6 @@ define(["require", "exports", "../Types/index", "./BaseClient", "./Lib/Mappers"]
|
|
|
23
23
|
const requestAuthHeaders = this.createRequestAuthHeaders(identity);
|
|
24
24
|
await this.httpClient.post(url, undefined, requestAuthHeaders);
|
|
25
25
|
}
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated This route is no longer available on Engines at version v16 or higher. Use "query" instead.
|
|
28
|
-
*/
|
|
29
|
-
async getActive(options) {
|
|
30
|
-
const url = this.buildUrl(index_1.restSettings.paths.getActiveCronjobs, options === null || options === void 0 ? void 0 : options.offset, options === null || options === void 0 ? void 0 : options.limit);
|
|
31
|
-
const requestAuthHeaders = this.createRequestAuthHeaders(options === null || options === void 0 ? void 0 : options.identity);
|
|
32
|
-
const response = await this.httpClient.get(url, requestAuthHeaders);
|
|
33
|
-
const mappedResult = {
|
|
34
|
-
totalCount: response.result.totalCount,
|
|
35
|
-
cronjobs: response.result.cronjobs.map(Mappers_1.mapActiveCronjobConfiguration),
|
|
36
|
-
};
|
|
37
|
-
return mappedResult;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated This route is no longer available on Engines at version v16 or higher. Use "query" instead.
|
|
41
|
-
*/
|
|
42
|
-
async queryHistory(query, options) {
|
|
43
|
-
const url = this.buildUrl(index_1.restSettings.paths.getCronjobHistory, options === null || options === void 0 ? void 0 : options.offset, options === null || options === void 0 ? void 0 : options.limit, query, options === null || options === void 0 ? void 0 : options.sortSettings);
|
|
44
|
-
const requestAuthHeaders = this.createRequestAuthHeaders(options === null || options === void 0 ? void 0 : options.identity);
|
|
45
|
-
const response = await this.httpClient.get(url, requestAuthHeaders);
|
|
46
|
-
const mappedResult = {
|
|
47
|
-
totalCount: response.result.totalCount,
|
|
48
|
-
cronjobHistories: response.result.cronjobHistories.map(Mappers_1.mapCronjobHistory),
|
|
49
|
-
};
|
|
50
|
-
return mappedResult;
|
|
51
|
-
}
|
|
52
26
|
}
|
|
53
27
|
exports.CronjobHttpClient = CronjobHttpClient;
|
|
54
28
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CronjobHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/CronjobHttpClient.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"CronjobHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/CronjobHttpClient.ts"],"names":[],"mappings":";;;;IAMA,MAAa,iBAAkB,SAAQ,uBAAU;QACxC,KAAK,CAAC,KAAK,CAChB,KAAmB,EACnB,OAKC;YAED,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,mBAAmB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,EAAE,KAAK,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,CAAC,CAAC;YACjI,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;YAE5E,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAsB,GAAG,EAAE,kBAAkB,CAAC,CAAC;YAEzF,MAAM,YAAY,GAAG;gBACnB,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU;gBACtC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAU,iCAAuB,CAAC;aACzE,CAAC;YAEF,OAAO,YAAY,CAAC;QACtB,CAAC;QAEM,KAAK,CAAC,aAAa,CAAC,cAAsB,EAAE,UAAkB,EAAE,QAAmB;YACxF,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;YAE5K,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YAEnE,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,EAAE,kBAAkB,CAAC,CAAC;QACjE,CAAC;QAEM,KAAK,CAAC,cAAc,CAAC,cAAsB,EAAE,UAAkB,EAAE,QAAmB;YACzF,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;YAE7K,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YAEnE,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,EAAE,kBAAkB,CAAC,CAAC;QACjE,CAAC;KACF;IAtCD,8CAsCC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
define(["require", "exports", "@5minds/processcube_engine_sdk", "../Types/index", "./BaseClient", "./Lib/Mappers"], function (require, exports, processcube_engine_sdk_1, index_1, BaseClient_1, Mappers_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EmptyActivityHttpClient = void 0;
|
|
5
|
+
class EmptyActivityHttpClient extends BaseClient_1.BaseClient {
|
|
6
|
+
async query(query, options) {
|
|
7
|
+
const enhancedQuery = {
|
|
8
|
+
...query,
|
|
9
|
+
flowNodeType: processcube_engine_sdk_1.BpmnType.emptyActivity,
|
|
10
|
+
};
|
|
11
|
+
const url = this.buildUrl(index_1.restSettings.paths.queryFlowNodeInstances, options === null || options === void 0 ? void 0 : options.offset, options === null || options === void 0 ? void 0 : options.limit, enhancedQuery, options === null || options === void 0 ? void 0 : options.sortSettings);
|
|
12
|
+
const requestAuthHeaders = this.createRequestAuthHeaders(options === null || options === void 0 ? void 0 : options.identity);
|
|
13
|
+
const response = await this.httpClient.get(url, requestAuthHeaders);
|
|
14
|
+
const mappedResult = {
|
|
15
|
+
totalCount: response.result.totalCount,
|
|
16
|
+
emptyActivities: response.result.flowNodeInstances.map(Mappers_1.mapEmptyActivity),
|
|
17
|
+
};
|
|
18
|
+
return mappedResult;
|
|
19
|
+
}
|
|
20
|
+
async finishEmptyActivity(emptyActivityInstanceId, identity) {
|
|
21
|
+
const requestAuthHeaders = this.createRequestAuthHeaders(identity);
|
|
22
|
+
const urlRestPart = index_1.restSettings.paths.finishEmptyActivity.replace(index_1.restSettings.params.emptyActivityInstanceId, emptyActivityInstanceId);
|
|
23
|
+
const url = this.buildUrl(urlRestPart);
|
|
24
|
+
await this.httpClient.put(url, {}, requestAuthHeaders);
|
|
25
|
+
}
|
|
26
|
+
async onEmptyActivityWaiting(callback, options) {
|
|
27
|
+
return this.createSocketIoSubscription(index_1.socketSettings.paths.emptyActivityWaiting, callback, options === null || options === void 0 ? void 0 : options.subscribeOnce, options === null || options === void 0 ? void 0 : options.identity);
|
|
28
|
+
}
|
|
29
|
+
async onEmptyActivityFinished(callback, options) {
|
|
30
|
+
return this.createSocketIoSubscription(index_1.socketSettings.paths.emptyActivityFinished, callback, options === null || options === void 0 ? void 0 : options.subscribeOnce, options === null || options === void 0 ? void 0 : options.identity);
|
|
31
|
+
}
|
|
32
|
+
removeSubscription(subscription, identity) {
|
|
33
|
+
this.removeSocketIoSubscription(subscription, identity);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.EmptyActivityHttpClient = EmptyActivityHttpClient;
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=EmptyActivityHttpClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyActivityHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/EmptyActivityHttpClient.ts"],"names":[],"mappings":";;;;IASA,MAAa,uBAAwB,SAAQ,uBAAU;QAC9C,KAAK,CAAC,KAAK,CAChB,KAAsD,EACtD,OAKC;YAED,MAAM,aAAa,GAAG;gBACpB,GAAG,KAAK;gBACR,YAAY,EAAE,iCAAQ,CAAC,aAAa;aACwB,CAAC;YAE/D,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,sBAAsB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,EAAE,aAAa,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,CAAC,CAAC;YAC5I,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;YAE5E,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAoD,GAAG,EAAE,kBAAkB,CAAC,CAAC;YAEvH,MAAM,YAAY,GAAG;gBACnB,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU;gBACtC,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAgB,0BAAgB,CAAC;aACxF,CAAC;YAEF,OAAO,YAAY,CAAC;QACtB,CAAC;QAEM,KAAK,CAAC,mBAAmB,CAAC,uBAA+B,EAAE,QAAmB;YACnF,MAAM,kBAAkB,GAAG,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;YAEnE,MAAM,WAAW,GAAG,oBAAY,CAAC,KAAK,CAAC,mBAAmB,CAAC,OAAO,CAAC,oBAAY,CAAC,MAAM,CAAC,uBAAuB,EAAE,uBAAuB,CAAC,CAAC;YAEzI,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;YAEvC,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAC;QACzD,CAAC;QAEM,KAAK,CAAC,sBAAsB,CACjC,QAA+D,EAC/D,OAGC;YAED,OAAO,IAAI,CAAC,0BAA0B,CAAC,sBAAc,CAAC,KAAK,CAAC,oBAAoB,EAAE,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;QACzI,CAAC;QAEM,KAAK,CAAC,uBAAuB,CAClC,QAAgE,EAChE,OAGC;YAED,OAAO,IAAI,CAAC,0BAA0B,CAAC,sBAAc,CAAC,KAAK,CAAC,qBAAqB,EAAE,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,CAAC;QAC1I,CAAC;QAEM,kBAAkB,CAAC,YAA0B,EAAE,QAAmB;YACvE,IAAI,CAAC,0BAA0B,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QAC1D,CAAC;KACF;IA7DD,0DA6DC"}
|
|
@@ -34,32 +34,6 @@ define(["require", "exports", "../Types/index", "./BaseClient", "./Lib/Mappers"]
|
|
|
34
34
|
const requestAuthHeaders = this.createRequestAuthHeaders(identity);
|
|
35
35
|
await this.httpClient.put(url, httpPayload, requestAuthHeaders);
|
|
36
36
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use handleError instead.
|
|
39
|
-
*/
|
|
40
|
-
async handleBpmnError(workerId, externalTaskId, error, identity) {
|
|
41
|
-
const httpPayload = {
|
|
42
|
-
workerId: workerId,
|
|
43
|
-
bpmnError: error,
|
|
44
|
-
};
|
|
45
|
-
const endpoint = index_1.restSettings.paths.finishExternalTaskWithBpmnError.replace(index_1.restSettings.params.externalTaskId, externalTaskId);
|
|
46
|
-
const url = this.buildUrl(endpoint);
|
|
47
|
-
const requestAuthHeaders = this.createRequestAuthHeaders(identity);
|
|
48
|
-
await this.httpClient.put(url, httpPayload, requestAuthHeaders);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Use handleError instead.
|
|
52
|
-
*/
|
|
53
|
-
async handleServiceError(workerId, externalTaskId, error, identity) {
|
|
54
|
-
const httpPayload = {
|
|
55
|
-
workerId: workerId,
|
|
56
|
-
error: error,
|
|
57
|
-
};
|
|
58
|
-
const endpoint = index_1.restSettings.paths.finishExternalTaskWithServiceError.replace(index_1.restSettings.params.externalTaskId, externalTaskId);
|
|
59
|
-
const url = this.buildUrl(endpoint);
|
|
60
|
-
const requestAuthHeaders = this.createRequestAuthHeaders(identity);
|
|
61
|
-
await this.httpClient.put(url, httpPayload, requestAuthHeaders);
|
|
62
|
-
}
|
|
63
37
|
async handleError(workerId, externalTaskId, error, identity) {
|
|
64
38
|
const httpPayload = {
|
|
65
39
|
workerId: workerId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalTaskApiHttpClient.js","sourceRoot":"","sources":["../../../src/Clients/ExternalTaskApiHttpClient.ts"],"names":[],"mappings":";;;;IAQA,MAAa,qBAAsB,SAAQ,uBAAU;QAC5C,KAAK,CAAC,oBAAoB,CAAC,QAAmB;YACnD,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAY,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;YACnE,MAAM,k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