@5minds/processcube_engine_client 4.3.1
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/.prettierrc.json +5 -0
- package/LICENSE +21 -0
- package/README.md +283 -0
- package/dist/Client.d.ts +44 -0
- package/dist/ClientFactory.d.ts +21 -0
- package/dist/Clients/AnonymousSessionHttpClient.d.ts +7 -0
- package/dist/Clients/ApplicationInfoHttpClient.d.ts +10 -0
- package/dist/Clients/BaseClient.d.ts +26 -0
- package/dist/Clients/CorrelationHttpClient.d.ts +15 -0
- package/dist/Clients/CronjobHttpClient.d.ts +29 -0
- package/dist/Clients/DataObjectInstanceHttpClient.d.ts +10 -0
- package/dist/Clients/EmptyActivityHttpClient.d.ts +22 -0
- package/dist/Clients/EventHttpClient.d.ts +55 -0
- package/dist/Clients/ExternalTaskApiHttpClient.d.ts +19 -0
- package/dist/Clients/ExternalTaskHttpClient.d.ts +12 -0
- package/dist/Clients/FlowNodeInstanceHttpClient.d.ts +23 -0
- package/dist/Clients/Lib/Mappers.d.ts +20 -0
- package/dist/Clients/Lib/SocketIoManager.d.ts +36 -0
- package/dist/Clients/ManualTaskHttpClient.d.ts +22 -0
- package/dist/Clients/NotificationHttpClient.d.ts +178 -0
- package/dist/Clients/ProcessDefinitionHttpClient.d.ts +31 -0
- package/dist/Clients/ProcessDefinitionHttpClientNode.d.ts +8 -0
- package/dist/Clients/ProcessInstanceHttpClient.d.ts +23 -0
- package/dist/Clients/ProcessModelHttpClient.d.ts +29 -0
- package/dist/Clients/UserMetadataStorageHttpClient.d.ts +22 -0
- package/dist/Clients/UserTaskHttpClient.d.ts +32 -0
- package/dist/Clients/index.d.ts +18 -0
- package/dist/ExternalTaskWorker.d.ts +32 -0
- package/dist/HttpClient.d.ts +26 -0
- package/dist/Types/CallbackTypes.d.ts +39 -0
- package/dist/Types/IExternalTaskWorker.d.ts +34 -0
- package/dist/Types/RestSettings.d.ts +674 -0
- package/dist/Types/SocketSettings.d.ts +59 -0
- package/dist/Types/index.d.ts +15 -0
- package/dist/amd/Client.js +104 -0
- package/dist/amd/Client.js.map +1 -0
- package/dist/amd/ClientFactory.js +56 -0
- package/dist/amd/ClientFactory.js.map +1 -0
- package/dist/amd/Clients/AnonymousSessionHttpClient.js +29 -0
- package/dist/amd/Clients/AnonymousSessionHttpClient.js.map +1 -0
- package/dist/amd/Clients/ApplicationInfoHttpClient.js +30 -0
- package/dist/amd/Clients/ApplicationInfoHttpClient.js.map +1 -0
- package/dist/amd/Clients/BaseClient.js +128 -0
- package/dist/amd/Clients/BaseClient.js.map +1 -0
- package/dist/amd/Clients/CorrelationHttpClient.js +29 -0
- package/dist/amd/Clients/CorrelationHttpClient.js.map +1 -0
- package/dist/amd/Clients/CronjobHttpClient.js +55 -0
- package/dist/amd/Clients/CronjobHttpClient.js.map +1 -0
- package/dist/amd/Clients/DataObjectInstanceHttpClient.js +19 -0
- package/dist/amd/Clients/DataObjectInstanceHttpClient.js.map +1 -0
- package/dist/amd/Clients/EmptyActivityHttpClient.js +38 -0
- package/dist/amd/Clients/EmptyActivityHttpClient.js.map +1 -0
- package/dist/amd/Clients/EventHttpClient.js +68 -0
- package/dist/amd/Clients/EventHttpClient.js.map +1 -0
- package/dist/amd/Clients/ExternalTaskApiHttpClient.js +86 -0
- package/dist/amd/Clients/ExternalTaskApiHttpClient.js.map +1 -0
- package/dist/amd/Clients/ExternalTaskHttpClient.js +27 -0
- package/dist/amd/Clients/ExternalTaskHttpClient.js.map +1 -0
- package/dist/amd/Clients/FlowNodeInstanceHttpClient.js +55 -0
- package/dist/amd/Clients/FlowNodeInstanceHttpClient.js.map +1 -0
- package/dist/amd/Clients/Lib/Mappers.js +290 -0
- package/dist/amd/Clients/Lib/Mappers.js.map +1 -0
- package/dist/amd/Clients/Lib/SocketIoManager.js +114 -0
- package/dist/amd/Clients/Lib/SocketIoManager.js.map +1 -0
- package/dist/amd/Clients/ManualTaskHttpClient.js +38 -0
- package/dist/amd/Clients/ManualTaskHttpClient.js.map +1 -0
- package/dist/amd/Clients/NotificationHttpClient.js +144 -0
- package/dist/amd/Clients/NotificationHttpClient.js.map +1 -0
- package/dist/amd/Clients/ProcessDefinitionHttpClient.js +92 -0
- package/dist/amd/Clients/ProcessDefinitionHttpClient.js.map +1 -0
- package/dist/amd/Clients/ProcessDefinitionHttpClientNode.js +25 -0
- package/dist/amd/Clients/ProcessDefinitionHttpClientNode.js.map +1 -0
- package/dist/amd/Clients/ProcessInstanceHttpClient.js +91 -0
- package/dist/amd/Clients/ProcessInstanceHttpClient.js.map +1 -0
- package/dist/amd/Clients/ProcessModelHttpClient.js +93 -0
- package/dist/amd/Clients/ProcessModelHttpClient.js.map +1 -0
- package/dist/amd/Clients/UserMetadataStorageHttpClient.js +42 -0
- package/dist/amd/Clients/UserMetadataStorageHttpClient.js.map +1 -0
- package/dist/amd/Clients/UserTaskHttpClient.js +56 -0
- package/dist/amd/Clients/UserTaskHttpClient.js.map +1 -0
- package/dist/amd/Clients/index.js +37 -0
- package/dist/amd/Clients/index.js.map +1 -0
- package/dist/amd/ExternalTaskWorker.js +141 -0
- package/dist/amd/ExternalTaskWorker.js.map +1 -0
- package/dist/amd/HttpClient.js +124 -0
- package/dist/amd/HttpClient.js.map +1 -0
- package/dist/amd/Types/CallbackTypes.js +5 -0
- package/dist/amd/Types/CallbackTypes.js.map +1 -0
- package/dist/amd/Types/IExternalTaskWorker.js +5 -0
- package/dist/amd/Types/IExternalTaskWorker.js.map +1 -0
- package/dist/amd/Types/RestSettings.js +709 -0
- package/dist/amd/Types/RestSettings.js.map +1 -0
- package/dist/amd/Types/SocketSettings.js +70 -0
- package/dist/amd/Types/SocketSettings.js.map +1 -0
- package/dist/amd/Types/index.js +30 -0
- package/dist/amd/Types/index.js.map +1 -0
- package/dist/amd/index.js +29 -0
- package/dist/amd/index.js.map +1 -0
- package/dist/commonjs/Client.js +104 -0
- package/dist/commonjs/Client.js.map +1 -0
- package/dist/commonjs/ClientFactory.js +56 -0
- package/dist/commonjs/ClientFactory.js.map +1 -0
- package/dist/commonjs/Clients/AnonymousSessionHttpClient.js +30 -0
- package/dist/commonjs/Clients/AnonymousSessionHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/ApplicationInfoHttpClient.js +30 -0
- package/dist/commonjs/Clients/ApplicationInfoHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/BaseClient.js +128 -0
- package/dist/commonjs/Clients/BaseClient.js.map +1 -0
- package/dist/commonjs/Clients/CorrelationHttpClient.js +29 -0
- package/dist/commonjs/Clients/CorrelationHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/CronjobHttpClient.js +56 -0
- package/dist/commonjs/Clients/CronjobHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/DataObjectInstanceHttpClient.js +20 -0
- package/dist/commonjs/Clients/DataObjectInstanceHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/EmptyActivityHttpClient.js +40 -0
- package/dist/commonjs/Clients/EmptyActivityHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/EventHttpClient.js +70 -0
- package/dist/commonjs/Clients/EventHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js +87 -0
- package/dist/commonjs/Clients/ExternalTaskApiHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/ExternalTaskHttpClient.js +26 -0
- package/dist/commonjs/Clients/ExternalTaskHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/FlowNodeInstanceHttpClient.js +56 -0
- package/dist/commonjs/Clients/FlowNodeInstanceHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/Lib/Mappers.js +289 -0
- package/dist/commonjs/Clients/Lib/Mappers.js.map +1 -0
- package/dist/commonjs/Clients/Lib/SocketIoManager.js +116 -0
- package/dist/commonjs/Clients/Lib/SocketIoManager.js.map +1 -0
- package/dist/commonjs/Clients/ManualTaskHttpClient.js +40 -0
- package/dist/commonjs/Clients/ManualTaskHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/NotificationHttpClient.js +144 -0
- package/dist/commonjs/Clients/NotificationHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/ProcessDefinitionHttpClient.js +94 -0
- package/dist/commonjs/Clients/ProcessDefinitionHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/ProcessDefinitionHttpClientNode.js +25 -0
- package/dist/commonjs/Clients/ProcessDefinitionHttpClientNode.js.map +1 -0
- package/dist/commonjs/Clients/ProcessInstanceHttpClient.js +93 -0
- package/dist/commonjs/Clients/ProcessInstanceHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/ProcessModelHttpClient.js +95 -0
- package/dist/commonjs/Clients/ProcessModelHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/UserMetadataStorageHttpClient.js +42 -0
- package/dist/commonjs/Clients/UserMetadataStorageHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/UserTaskHttpClient.js +58 -0
- package/dist/commonjs/Clients/UserTaskHttpClient.js.map +1 -0
- package/dist/commonjs/Clients/index.js +35 -0
- package/dist/commonjs/Clients/index.js.map +1 -0
- package/dist/commonjs/ExternalTaskWorker.js +142 -0
- package/dist/commonjs/ExternalTaskWorker.js.map +1 -0
- package/dist/commonjs/HttpClient.js +124 -0
- package/dist/commonjs/HttpClient.js.map +1 -0
- package/dist/commonjs/Types/CallbackTypes.js +3 -0
- package/dist/commonjs/Types/CallbackTypes.js.map +1 -0
- package/dist/commonjs/Types/IExternalTaskWorker.js +3 -0
- package/dist/commonjs/Types/IExternalTaskWorker.js.map +1 -0
- package/dist/commonjs/Types/RestSettings.js +707 -0
- package/dist/commonjs/Types/RestSettings.js.map +1 -0
- package/dist/commonjs/Types/SocketSettings.js +68 -0
- package/dist/commonjs/Types/SocketSettings.js.map +1 -0
- package/dist/commonjs/Types/index.js +30 -0
- package/dist/commonjs/Types/index.js.map +1 -0
- package/dist/commonjs/index.js +28 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/package.json +43 -0
|
@@ -0,0 +1,707 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.restSettings = void 0;
|
|
4
|
+
const params = {
|
|
5
|
+
// Id of a Correlation.
|
|
6
|
+
correlationId: ':correlation_id',
|
|
7
|
+
// Instance Id of an EmptyActivity.
|
|
8
|
+
emptyActivityInstanceId: ':empty_activity_instance_id',
|
|
9
|
+
// Id of an Event.
|
|
10
|
+
eventId: ':event_id',
|
|
11
|
+
// Name of an Event.
|
|
12
|
+
eventName: ':event_name',
|
|
13
|
+
// Id of an External Task.
|
|
14
|
+
externalTaskId: ':external_task_id',
|
|
15
|
+
// Id of a FlowNode.
|
|
16
|
+
flowNodeId: ':flow_node_id',
|
|
17
|
+
// Id of a FlowNodeInstance.
|
|
18
|
+
flowNodeInstanceId: ':flow_node_instance_id',
|
|
19
|
+
// Id of a ManualTask.
|
|
20
|
+
manualTaskInstanceId: ':manual_task_instance_id',
|
|
21
|
+
// Instance Id of a Process.
|
|
22
|
+
processInstanceId: ':process_instance_id',
|
|
23
|
+
// Id of a ProcessModel.
|
|
24
|
+
processDefinitionId: ':process_definition_id',
|
|
25
|
+
// Id of a ProcessModel.
|
|
26
|
+
processModelId: ':process_model_id',
|
|
27
|
+
// Id of an anonymous session.
|
|
28
|
+
sessionId: ':session_id',
|
|
29
|
+
// Id of a user.
|
|
30
|
+
userId: ':user_id',
|
|
31
|
+
// Id of a UserTaskInstance.
|
|
32
|
+
userTaskInstanceId: ':user_task_instance_id',
|
|
33
|
+
// Key of a metadata value
|
|
34
|
+
userMetadataKey: ':user_metadata_key',
|
|
35
|
+
};
|
|
36
|
+
const paths = {
|
|
37
|
+
// ApplicationInfo
|
|
38
|
+
/**
|
|
39
|
+
* Gets some basic info about the host application.
|
|
40
|
+
* @tags ApplicationInfo
|
|
41
|
+
* @method get
|
|
42
|
+
* @responseType ApplicationInfo
|
|
43
|
+
*/
|
|
44
|
+
getApplicationInfo: '/info',
|
|
45
|
+
/**
|
|
46
|
+
* Gets the address of the authority that the host application uses for claim checks.
|
|
47
|
+
* @tags ApplicationInfo
|
|
48
|
+
* @method get
|
|
49
|
+
* @responseType string
|
|
50
|
+
*/
|
|
51
|
+
getAuthorityAddress: '/authority',
|
|
52
|
+
// Anonymous Sessions
|
|
53
|
+
/**
|
|
54
|
+
* Returns the anonymous session with the given ID.
|
|
55
|
+
* @tags AnonymousSessions
|
|
56
|
+
* @method get
|
|
57
|
+
* @responseType AnonymousSession
|
|
58
|
+
*/
|
|
59
|
+
getAnonymousSessionById: `/anonymous_session/session/${params.sessionId}`,
|
|
60
|
+
/**
|
|
61
|
+
* Returns all anonymous sessions of the given User ID.
|
|
62
|
+
* @tags AnonymousSessions
|
|
63
|
+
* @method get
|
|
64
|
+
* @responseType Array<AnonymousSession>
|
|
65
|
+
*/
|
|
66
|
+
getAnonymousSessionsByUserId: `/anonymous_session/user/${params.userId}`,
|
|
67
|
+
/**
|
|
68
|
+
* Creates a new anonymous session and returns its ID.
|
|
69
|
+
* @tags AnonymousSessions
|
|
70
|
+
* @method post
|
|
71
|
+
* @responseType string
|
|
72
|
+
*/
|
|
73
|
+
createAnonymousSession: '/anonymous_session',
|
|
74
|
+
// Correlations
|
|
75
|
+
/**
|
|
76
|
+
* Gets all Correlations.
|
|
77
|
+
* @tags Correlations
|
|
78
|
+
* @method get
|
|
79
|
+
* @queryParams limit: number, offset: number, includeProcessInstances: boolean
|
|
80
|
+
* @responseType CorrelationList
|
|
81
|
+
*/
|
|
82
|
+
getCorrelations: '/correlations',
|
|
83
|
+
/**
|
|
84
|
+
* Gets a Correlation by its ID.
|
|
85
|
+
* @tags Correlations
|
|
86
|
+
* @method get
|
|
87
|
+
* @queryParams includeProcessInstances: boolean
|
|
88
|
+
* @responseType Correlation
|
|
89
|
+
*/
|
|
90
|
+
getCorrelationById: `/correlations/${params.correlationId}`,
|
|
91
|
+
// Cronjobs
|
|
92
|
+
/**
|
|
93
|
+
* Queries a list of deployed Cronjobs.
|
|
94
|
+
* @tags Cronjobs
|
|
95
|
+
* @method get
|
|
96
|
+
* @queryParams limit: number, offset: number, processDefinitionId: string, processModelID: string, startEventId: string, crontab: string, nextExecution: string
|
|
97
|
+
* @responseType DeployedCronjobList
|
|
98
|
+
*/
|
|
99
|
+
getDeployedCronjobs: '/cronjobs/query',
|
|
100
|
+
/**
|
|
101
|
+
* Gets all active Cronjobs. DEPRECATED - Use "/cronjobs/query" instead
|
|
102
|
+
* @tags Cronjobs
|
|
103
|
+
* @method get
|
|
104
|
+
* @queryParams limit: number, offset: number
|
|
105
|
+
* @responseType CronjobList
|
|
106
|
+
*/
|
|
107
|
+
getActiveCronjobs: '/cronjobs',
|
|
108
|
+
/**
|
|
109
|
+
* Queries a list of cronjob history entries that match the given query.
|
|
110
|
+
* @tags Cronjobs
|
|
111
|
+
* @method get
|
|
112
|
+
* @queryParams limit: number, offset: number: string, processDefinitionId: string, processModelId: string, startEventId: string, crontab: string, executedAt: string, createdAt: string, updatedAt: string
|
|
113
|
+
* @responseType CronjobHistoryList
|
|
114
|
+
*/
|
|
115
|
+
getCronjobHistory: '/cronjobs/history',
|
|
116
|
+
/**
|
|
117
|
+
* Enables the given Cronjob for the given Process Model.
|
|
118
|
+
* @tags ProcessModels
|
|
119
|
+
* @method post
|
|
120
|
+
*/
|
|
121
|
+
enableCronjob: `/cronjobs/process_models/${params.processModelId}/flow_node/${params.flowNodeId}/enable`,
|
|
122
|
+
/**
|
|
123
|
+
* Disables the given Cronjob for the given ProcessModel.
|
|
124
|
+
* @tags ProcessModels
|
|
125
|
+
* @method post
|
|
126
|
+
*/
|
|
127
|
+
disableCronjob: `/cronjobs/process_models/${params.processModelId}/flow_node/${params.flowNodeId}/disable`,
|
|
128
|
+
// DataObjects
|
|
129
|
+
/**
|
|
130
|
+
* Gets the DataObjectInstances that match the given query.
|
|
131
|
+
* @tags DataObjectInstances
|
|
132
|
+
* @method get
|
|
133
|
+
* @queryParams limit: number, offset: number: string, dataObjectId: string, processDefinitionId: string, processModelId: string, processInstanceId: string, flowNodeInstanceId: string, createdAt: string
|
|
134
|
+
* @responseType DataObjectInstanceList
|
|
135
|
+
*/
|
|
136
|
+
getDataObjects: '/data_object_instances/query',
|
|
137
|
+
// FlowNodeInstance
|
|
138
|
+
/**
|
|
139
|
+
* Gets all FlowNodeInstances that match the given query.
|
|
140
|
+
* @tags FlowNodeInstances
|
|
141
|
+
* @method get
|
|
142
|
+
* @queryParams limit: number, offset: number, flowNodeInstanceId: string, flowNodeId: string, flowNodeName: string, flowNodeLane: string, flowNodeType: string, eventType: string, correlationId: string, processDefinitionId: string, processModelId: string, processInstanceId: string, ownerId: string, state: string, previousFlowNodeInstanceId: string, parentProcessInstanceId: string, createdAt: string, updatedAt: string, triggeredByFlowNodeInstance: Array<string> | string | SearchQuery
|
|
143
|
+
* @responseType FlowNodeInstanceList
|
|
144
|
+
*/
|
|
145
|
+
queryFlowNodeInstances: '/flow_node_instances',
|
|
146
|
+
/**
|
|
147
|
+
* Triggers a MessageEvent by its name.
|
|
148
|
+
* @tags Events
|
|
149
|
+
* @queryParams processInstanceId: string
|
|
150
|
+
* @requestBody {"required": false, "bodyType": "application/json", "contentType": {"payload": {"type": "string"}}}
|
|
151
|
+
* @method post
|
|
152
|
+
*/
|
|
153
|
+
triggerMessageEvent: `/messages/${params.eventName}/trigger`,
|
|
154
|
+
/**
|
|
155
|
+
* Triggers a SignalEvent by its name.
|
|
156
|
+
* @tags Events
|
|
157
|
+
* @method post
|
|
158
|
+
* @queryParams process_instance_id: string
|
|
159
|
+
* @requestBody {"required": false, "bodyType": "application/json", "contentType": {}}
|
|
160
|
+
*/
|
|
161
|
+
triggerSignalEvent: `/signals/${params.eventName}/trigger`,
|
|
162
|
+
/**
|
|
163
|
+
* Finishes a specific EmptyActivity by its EmptyActivityInstanceId.
|
|
164
|
+
* @tags EmptyActivities
|
|
165
|
+
* @method put
|
|
166
|
+
*/
|
|
167
|
+
finishEmptyActivity: `/empty_activities/${params.emptyActivityInstanceId}/finish`,
|
|
168
|
+
/**
|
|
169
|
+
* Finishes a specific ManualTask by its ManualTaskInstanceId.
|
|
170
|
+
* @tags ManualTasks
|
|
171
|
+
* @method put
|
|
172
|
+
*/
|
|
173
|
+
finishManualTask: `/manual_tasks/${params.manualTaskInstanceId}/finish`,
|
|
174
|
+
/**
|
|
175
|
+
* Finishes a specific UserTask by its UserTaskInstanceId.
|
|
176
|
+
* @tags UserTasks
|
|
177
|
+
* @method put
|
|
178
|
+
*/
|
|
179
|
+
finishUserTask: `/user_tasks/${params.userTaskInstanceId}/finish`,
|
|
180
|
+
/**
|
|
181
|
+
* Reserves a UserTask for a specific User.
|
|
182
|
+
* @tags UserTasks
|
|
183
|
+
* @method put
|
|
184
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": {"actualOwnerId": {"type": "string", "required": true}}}
|
|
185
|
+
*/
|
|
186
|
+
reserveUserTaskInstance: `/user_tasks/${params.userTaskInstanceId}/reserve`,
|
|
187
|
+
/**
|
|
188
|
+
* Cancels the reservation of the given UserTask instance.
|
|
189
|
+
* @tags UserTasks
|
|
190
|
+
* @method delete
|
|
191
|
+
*/
|
|
192
|
+
cancelUserTaskInstanceReservation: `/user_tasks/${params.userTaskInstanceId}/cancel-reservation`,
|
|
193
|
+
// External Tasks
|
|
194
|
+
/**
|
|
195
|
+
* Fetches a list of all ExternalTask topics from all deployed Process Models.
|
|
196
|
+
* @tags ExternalTasks
|
|
197
|
+
* @method get
|
|
198
|
+
* @responseType Array<string>
|
|
199
|
+
*/
|
|
200
|
+
getAllDeployedTopics: '/external_tasks/deployed_topics',
|
|
201
|
+
/**
|
|
202
|
+
* Fetches the tasks available for an ExternalTaskWorker and locks them for a defined time.
|
|
203
|
+
* @tags ExternalTasks
|
|
204
|
+
* @method post
|
|
205
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "FetchAndLockRequestPayload", "example": "{\"workerId\": \"string\", \"topicName\": \"string | Array<string>\", \"maxTasks\": 10, \"longPollingTimeout\": 2000, \"lockDuration\": 10000, \"payloadFilter\": \"string\"}"}
|
|
206
|
+
* @responseType Array<ExternalTask>
|
|
207
|
+
*/
|
|
208
|
+
fetchAndLockExternalTasks: '/external_tasks/fetch_and_lock',
|
|
209
|
+
/**
|
|
210
|
+
* Extends the lock duration of an ExternalTask by a given amount of time.
|
|
211
|
+
* @tags ExternalTasks
|
|
212
|
+
* @method put
|
|
213
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "ExtendLockRequestPayload"}
|
|
214
|
+
*/
|
|
215
|
+
extendExternalTaskLock: `/external_tasks/${params.externalTaskId}/extend_lock`,
|
|
216
|
+
/**
|
|
217
|
+
* DEPRECATED - Use `PUT /external_tasks/:external_task_id/error` instead.
|
|
218
|
+
* @tags ExternalTasks
|
|
219
|
+
* @method put
|
|
220
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "HandleBpmnErrorRequestPayload"}
|
|
221
|
+
*/
|
|
222
|
+
finishExternalTaskWithBpmnError: `/external_tasks/${params.externalTaskId}/handle_bpmn_error`,
|
|
223
|
+
/**
|
|
224
|
+
* DEPRECATED - Use `PUT /external_tasks/:external_task_id/error` instead.
|
|
225
|
+
* @tags ExternalTasks
|
|
226
|
+
* @method put
|
|
227
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "HandleServiceErrorRequestPayload"}
|
|
228
|
+
*/
|
|
229
|
+
finishExternalTaskWithServiceError: `/external_tasks/${params.externalTaskId}/handle_service_error`,
|
|
230
|
+
/**
|
|
231
|
+
* Finishes the given External Task with the given Error.
|
|
232
|
+
* @tags ExternalTasks
|
|
233
|
+
* @method put
|
|
234
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "HandleServiceErrorRequestPayload"}
|
|
235
|
+
*/
|
|
236
|
+
finishExternalTaskWithError: `/external_tasks/${params.externalTaskId}/error`,
|
|
237
|
+
/**
|
|
238
|
+
* Finishes the ExternalTask with the given ID.
|
|
239
|
+
* @tags ExternalTasks
|
|
240
|
+
* @method put
|
|
241
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "FinishExternalTaskRequestPayload"}
|
|
242
|
+
*/
|
|
243
|
+
finishExternalTask: `/external_tasks/${params.externalTaskId}/finish`,
|
|
244
|
+
// ProcessDefinition
|
|
245
|
+
/**
|
|
246
|
+
* Creates or updates a ProcessDefinition or a list of ProcessDefinitions.
|
|
247
|
+
* @tags ProcessDefinitions
|
|
248
|
+
* @method post
|
|
249
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "PersistProcessDefinitionsPayload", "example": "{\"xml\": \"string | Array<string>\", \"overrideExisting\": true}"}
|
|
250
|
+
*/
|
|
251
|
+
persistProcessDefinitions: '/process_definitions',
|
|
252
|
+
/**
|
|
253
|
+
* Gets all ProcessDefinitions the requesting user is allowed to see.
|
|
254
|
+
* @tags ProcessDefinitions
|
|
255
|
+
* @method get
|
|
256
|
+
* @queryParams offset: number, limit: number
|
|
257
|
+
* @responseType ProcessDefinitionList
|
|
258
|
+
*/
|
|
259
|
+
getProcessDefinitions: '/process_definitions',
|
|
260
|
+
/**
|
|
261
|
+
* Gets a ProcessDefinition by its id.
|
|
262
|
+
* @tags ProcessDefinitions
|
|
263
|
+
* @method get
|
|
264
|
+
* @responseType ProcessDefinition
|
|
265
|
+
*/
|
|
266
|
+
getProcessDefinitionById: `/process_definitions/${params.processDefinitionId}`,
|
|
267
|
+
/**
|
|
268
|
+
* Deletes the ProcessDefinition with the given ID.
|
|
269
|
+
* Per default, a Process is only flagged as deleted. To actually delete the Process and all related data, set "delete_all_related_data" to "true".
|
|
270
|
+
* @tags ProcessDefinitions
|
|
271
|
+
* @method delete
|
|
272
|
+
* @queryParams delete_all_related_data: boolean
|
|
273
|
+
*/
|
|
274
|
+
deleteProcessDefinition: `/process_definitions/${params.processDefinitionId}`,
|
|
275
|
+
// ProcessModels
|
|
276
|
+
/**
|
|
277
|
+
* Gets all currently deployed Process Models.
|
|
278
|
+
* @tags ProcessModels
|
|
279
|
+
* @method get
|
|
280
|
+
* @responseType ProcessModelList
|
|
281
|
+
*/
|
|
282
|
+
getAllProcessModels: '/process_models',
|
|
283
|
+
/**
|
|
284
|
+
* Gets a deployed Process Model by its ID.
|
|
285
|
+
* @tags ProcessModels
|
|
286
|
+
* @method get
|
|
287
|
+
* @responseType ProcessModel
|
|
288
|
+
*/
|
|
289
|
+
getProcessModelById: `/process_models/${params.processModelId}/`,
|
|
290
|
+
/**
|
|
291
|
+
* Gets a ProcessDefinition for a given ProcessModel.
|
|
292
|
+
* @tags ProcessModels
|
|
293
|
+
* @method get
|
|
294
|
+
* @responseType ProcessDefinition
|
|
295
|
+
*/
|
|
296
|
+
getProcessDefinitionForProcessModel: `/process_models/${params.processModelId}/process_definition`,
|
|
297
|
+
/**
|
|
298
|
+
* Starts a new instance from the given set of parameters.
|
|
299
|
+
* @tags ProcessModels
|
|
300
|
+
* @method post
|
|
301
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": "ProcessStartRequest"}
|
|
302
|
+
* @responseType ProcessStartResponse
|
|
303
|
+
*/
|
|
304
|
+
startProcessInstance: `/process_models/${params.processModelId}/start`,
|
|
305
|
+
/**
|
|
306
|
+
* Deletes the ProcessDefinition that contains the Process Model with the given ID.
|
|
307
|
+
* Per default, a Process is only flagged as deleted. To actually delete the Process and all related data, set "delete_all_related_data" to "true".
|
|
308
|
+
* @tags ProcessModels
|
|
309
|
+
* @method delete
|
|
310
|
+
* @queryParams delete_all_related_data: boolean
|
|
311
|
+
*/
|
|
312
|
+
deleteProcessDefinitionByProcessModelId: `/process_models/${params.processModelId}`,
|
|
313
|
+
/**
|
|
314
|
+
* Enables the given Process Model.
|
|
315
|
+
* @tags ProcessModels
|
|
316
|
+
* @method post
|
|
317
|
+
*/
|
|
318
|
+
enableProcessModel: `/process_models/${params.processModelId}/enable`,
|
|
319
|
+
/**
|
|
320
|
+
* Disables the given Process Model.
|
|
321
|
+
* @tags ProcessModels
|
|
322
|
+
* @method post
|
|
323
|
+
*/
|
|
324
|
+
disableProcessModel: `/process_models/${params.processModelId}/disable`,
|
|
325
|
+
// ProcessInstance
|
|
326
|
+
/**
|
|
327
|
+
* Gets all ProcessInstances that match the given query.
|
|
328
|
+
* @tags ProcessInstances
|
|
329
|
+
* @method get
|
|
330
|
+
* @queryParams offset: number, limit: number, correlationId: Array<string> | string | SearchQuery, processInstanceId: Array<string> | string | SearchQuery, processDefinitionId: Array<string> | string | SearchQuery, processModelId: Array<string> | string | SearchQuery, processModelName: Array<string> | string | SearchQuery, processModelHash: Array<string> | string | SearchQuery, ownerId: Array<string> | string | SearchQuery, state: Array<string> | string | SearchQuery, parentProcessInstanceId: Array<string> | string | SearchQuery, terminatedByUserId: Array<string> | string | SearchQuery, createdBefore: Date, createdAt: Array<Date> | Date, createdAfter: Date, updatedBefore: Date, updatedAt: Array<Date> | Date, updatedAfter: Date, finishedBefore: Date, finishedAt: Array<Date> | Date, finishedAfter: Date, triggeredByFlowNodeInstance: Array<string> | string | SearchQuery
|
|
331
|
+
* @responseType ProcessInstanceList
|
|
332
|
+
*/
|
|
333
|
+
queryProcessInstances: '/process_instances/query',
|
|
334
|
+
/**
|
|
335
|
+
* Gets the ProcessDefinition for a given ProcessInstance.
|
|
336
|
+
* @tags ProcessInstances
|
|
337
|
+
* @method get
|
|
338
|
+
* @responseType ProcessDefinition
|
|
339
|
+
*/
|
|
340
|
+
getProcessDefinitionForProcessInstance: `/process_instances/${params.processInstanceId}/process_definition`,
|
|
341
|
+
/**
|
|
342
|
+
* Gets the ProcessModel for a given ProcessInstance.
|
|
343
|
+
* @tags ProcessInstances
|
|
344
|
+
* @method get
|
|
345
|
+
* @responseType ProcessModel
|
|
346
|
+
*/
|
|
347
|
+
getProcessModelForProcessInstance: `/process_instances/${params.processInstanceId}/process_model`,
|
|
348
|
+
/**
|
|
349
|
+
* Changes the owner of the ProcessInstance with the given ID.
|
|
350
|
+
* @tags ProcessInstances
|
|
351
|
+
* @method post
|
|
352
|
+
* @requestBody {"required": true, "bodyType": "application/json", "contentType": {"newOwner": {"type": "Identity"}}}
|
|
353
|
+
*/
|
|
354
|
+
changeProcessInstanceOwner: `/process_instances/${params.processInstanceId}/change_owner`,
|
|
355
|
+
/**
|
|
356
|
+
* Terminates the ProcessInstance with the given ID.
|
|
357
|
+
* @tags ProcessInstances
|
|
358
|
+
* @method put
|
|
359
|
+
*/
|
|
360
|
+
terminateProcessInstances: `/process_instances/${params.processInstanceId}/terminate`,
|
|
361
|
+
/**
|
|
362
|
+
* Retries a failed or terminated Process Instance from the original point of failure.
|
|
363
|
+
* Alternatively, the Process Instance can be reset to a specific flow Node Instance, provided with the "flow_node_instance_id" Query parameter
|
|
364
|
+
* @tags ProcessInstances
|
|
365
|
+
* @method put
|
|
366
|
+
* @queryParams flow_node_instance_id: string
|
|
367
|
+
* @requestBody {"required": false, "bodyType": "application/json", "contentType": {"newStartToken": {"type": "object"}}}
|
|
368
|
+
*/
|
|
369
|
+
retryProcessInstance: `/process_instances/${params.processInstanceId}/retry`,
|
|
370
|
+
/**
|
|
371
|
+
* Deletes the given Set of Process Instances. Multiple ProcessInstanceIds can be provided with ";" as separator.
|
|
372
|
+
* Per default, a Process Instance is only flagged as deleted. To actually delete the Process Instances and all related data, set "delete_all_related_data" to "true".
|
|
373
|
+
* @tags ProcessInstances
|
|
374
|
+
* @method delete
|
|
375
|
+
* @queryParams process_instance_ids: string | Array<string>, delete_all_related_data: boolean
|
|
376
|
+
*/
|
|
377
|
+
deleteProcessInstances: `/process_instances`,
|
|
378
|
+
// UserMetadataStorage
|
|
379
|
+
/**
|
|
380
|
+
* Queries all values by the given keys
|
|
381
|
+
* @tags UserMetadata
|
|
382
|
+
* @method get
|
|
383
|
+
* @queryParams keys: string | Array<string>
|
|
384
|
+
*/
|
|
385
|
+
queryUserMetadata: '/user_metadata/query',
|
|
386
|
+
/**
|
|
387
|
+
* Gets a value by the given key
|
|
388
|
+
* @tags UserMetadata
|
|
389
|
+
* @method get
|
|
390
|
+
*/
|
|
391
|
+
getUserMetadata: `/user_metadata/${params.userMetadataKey}`,
|
|
392
|
+
/**
|
|
393
|
+
* Sets a value for the given key
|
|
394
|
+
* @tags UserMetadata
|
|
395
|
+
* @method post
|
|
396
|
+
*/
|
|
397
|
+
setUserMetadata: `/user_metadata/${params.userMetadataKey}`,
|
|
398
|
+
/**
|
|
399
|
+
* Removes a value for the given key
|
|
400
|
+
* @tags UserMetadata
|
|
401
|
+
* @method delete
|
|
402
|
+
*/
|
|
403
|
+
removeUserMetadata: `/user_metadata/${params.userMetadataKey}`,
|
|
404
|
+
// Long Polling Notifications
|
|
405
|
+
/**
|
|
406
|
+
* Wait for a CronjobCreated notification and resolves with the notification's content.
|
|
407
|
+
* @tags Notifications
|
|
408
|
+
* @method get
|
|
409
|
+
* @responseType CronjobEventMessage
|
|
410
|
+
*/
|
|
411
|
+
onCronjobCreated: '/notifications/long_polling/cronjob_created',
|
|
412
|
+
/**
|
|
413
|
+
* Wait for a CronjobExecuted notification and resolves with the notification's content.
|
|
414
|
+
* @tags Notifications
|
|
415
|
+
* @method get
|
|
416
|
+
* @responseType CronjobEventMessage
|
|
417
|
+
*/
|
|
418
|
+
onCronjobExecuted: '/notifications/long_polling/cronjob_executed',
|
|
419
|
+
/**
|
|
420
|
+
* Wait for a CronjobStopped notification and resolves with the notification's content.
|
|
421
|
+
* @tags Notifications
|
|
422
|
+
* @method get
|
|
423
|
+
* @responseType CronjobEventMessage
|
|
424
|
+
*/
|
|
425
|
+
onCronjobStopped: '/notifications/long_polling/cronjob_stopped',
|
|
426
|
+
/**
|
|
427
|
+
* Wait for a CronjobUpdated notification and resolves with the notification's content.
|
|
428
|
+
* @tags Notifications
|
|
429
|
+
* @method get
|
|
430
|
+
* @responseType CronjobEventMessage
|
|
431
|
+
*/
|
|
432
|
+
onCronjobUpdated: '/notifications/long_polling/cronjob_updated',
|
|
433
|
+
/**
|
|
434
|
+
* Wait for a CronjobRemoved notification and resolves with the notification's content.
|
|
435
|
+
* @tags Notifications
|
|
436
|
+
* @method get
|
|
437
|
+
* @responseType CronjobEventMessage
|
|
438
|
+
*/
|
|
439
|
+
onCronjobRemoved: '/notifications/long_polling/cronjob_removed',
|
|
440
|
+
/**
|
|
441
|
+
* Wait for a ProcessDeployed notification and resolves with the notification's content.
|
|
442
|
+
* @tags Notifications
|
|
443
|
+
* @method get
|
|
444
|
+
* @responseType ProcessDeploymentMessage
|
|
445
|
+
*/
|
|
446
|
+
onProcessDeployed: '/notifications/long_polling/process_deployed',
|
|
447
|
+
/**
|
|
448
|
+
* Wait for a ProcessIsExecutableChanged notification and resolves with the notification's content.
|
|
449
|
+
* @tags Notifications
|
|
450
|
+
* @method get
|
|
451
|
+
* @responseType ProcessIsExecutableChangedMessage
|
|
452
|
+
*/
|
|
453
|
+
onProcessIsExecutableChanged: '/notifications/long_polling/process_is_executable_changed',
|
|
454
|
+
/**
|
|
455
|
+
* Wait for a CronjobEnabledChanged notification and resolves with the notification's content.
|
|
456
|
+
* @tags Notifications
|
|
457
|
+
* @method get
|
|
458
|
+
* @responseType CronjobEnabledChangedMessage
|
|
459
|
+
*/
|
|
460
|
+
onCronjobEnabledChanged: '/notifications/long_polling/cronjob_enabled_changed',
|
|
461
|
+
/**
|
|
462
|
+
* Wait for a ProcessUndeployed notification and resolves with the notification's content.
|
|
463
|
+
* @tags Notifications
|
|
464
|
+
* @method get
|
|
465
|
+
* @responseType ProcessDeploymentMessage
|
|
466
|
+
*/
|
|
467
|
+
onProcessUndeployed: '/notifications/long_polling/process_undeployed',
|
|
468
|
+
/**
|
|
469
|
+
* Wait for a ProcessStarting notification and resolves with the notification's content.
|
|
470
|
+
* @tags Notifications
|
|
471
|
+
* @method get
|
|
472
|
+
* @responseType EventMessage
|
|
473
|
+
*/
|
|
474
|
+
onProcessStarting: '/notifications/long_polling/process_starting',
|
|
475
|
+
/**
|
|
476
|
+
* Wait for a ProcessStarted notification and resolves with the notification's content.
|
|
477
|
+
* @tags Notifications
|
|
478
|
+
* @method get
|
|
479
|
+
* @responseType EventMessage
|
|
480
|
+
*/
|
|
481
|
+
onProcessStarted: '/notifications/long_polling/process_started',
|
|
482
|
+
/**
|
|
483
|
+
* Wait for a ProcessResumed notification and resolves with the notification's content.
|
|
484
|
+
* @tags Notifications
|
|
485
|
+
* @method get
|
|
486
|
+
* @responseType EventMessage
|
|
487
|
+
*/
|
|
488
|
+
onProcessResumed: '/notifications/long_polling/process_resumed',
|
|
489
|
+
/**
|
|
490
|
+
* Wait for a ProcessEnded notification and resolves with the notification's content.
|
|
491
|
+
* @tags Notifications
|
|
492
|
+
* @method get
|
|
493
|
+
* @responseType EventMessage
|
|
494
|
+
*/
|
|
495
|
+
onProcessEnded: '/notifications/long_polling/process_ended',
|
|
496
|
+
/**
|
|
497
|
+
* Wait for a ProcessOwnerChanged notification and resolves with the notification's content.
|
|
498
|
+
* @tags Notifications
|
|
499
|
+
* @method get
|
|
500
|
+
* @responseType EventMessage
|
|
501
|
+
*/
|
|
502
|
+
onProcessOwnerChanged: '/notifications/long_polling/process_owner_changed',
|
|
503
|
+
/**
|
|
504
|
+
* Wait for a ProcessTerminated notification and resolves with the notification's content.
|
|
505
|
+
* @tags Notifications
|
|
506
|
+
* @method get
|
|
507
|
+
* @responseType EventMessage
|
|
508
|
+
*/
|
|
509
|
+
onProcessTerminated: '/notifications/long_polling/process_terminated',
|
|
510
|
+
/**
|
|
511
|
+
* Wait for a ProcessError notification and resolves with the notification's content.
|
|
512
|
+
* @tags Notifications
|
|
513
|
+
* @method get
|
|
514
|
+
* @responseType EventMessage
|
|
515
|
+
*/
|
|
516
|
+
onProcessError: '/notifications/long_polling/process_error',
|
|
517
|
+
/**
|
|
518
|
+
* Wait for a ProcessInstancesDeleted notification and resolves with the notification's content.
|
|
519
|
+
* @tags Notifications
|
|
520
|
+
* @method get
|
|
521
|
+
* @responseType EventMessage
|
|
522
|
+
*/
|
|
523
|
+
onProcessInstancesDeleted: '/notifications/long_polling/process_instances_deleted',
|
|
524
|
+
/**
|
|
525
|
+
* Wait for an ExternalTaskCreated notification and resolves with the notification's content.
|
|
526
|
+
* @tags Notifications
|
|
527
|
+
* @method get
|
|
528
|
+
* @responseType ExternalTaskCreatedMessage
|
|
529
|
+
*/
|
|
530
|
+
onExternalTaskCreated: '/notifications/long_polling/external_task_created',
|
|
531
|
+
/**
|
|
532
|
+
* Wait for a ExternalTaskLocked notification and resolves with the notification's content.
|
|
533
|
+
* @tags Notifications
|
|
534
|
+
* @method get
|
|
535
|
+
* @responseType ExternalTaskLockedMessage
|
|
536
|
+
*/
|
|
537
|
+
onExternalTaskLocked: '/notifications/long_polling/external_task_locked',
|
|
538
|
+
/**
|
|
539
|
+
* Wait for a ExternalTaskUnlocked notification and resolves with the notification's content.
|
|
540
|
+
* @tags Notifications
|
|
541
|
+
* @method get
|
|
542
|
+
* @responseType ExternalTaskUnlockedMessage
|
|
543
|
+
*/
|
|
544
|
+
onExternalTaskUnlocked: '/notifications/long_polling/external_task_unlocked',
|
|
545
|
+
/**
|
|
546
|
+
* Wait for a ExternalTaskExpired notification and resolves with the notification's content.
|
|
547
|
+
* @tags Notifications
|
|
548
|
+
* @method get
|
|
549
|
+
* @responseType ExternalTaskExpiredMessage
|
|
550
|
+
*/
|
|
551
|
+
onExternalTaskExpired: '/notifications/long_polling/external_task_expired',
|
|
552
|
+
/**
|
|
553
|
+
* Wait for an ActivityReached notification and resolves with the notification's content.
|
|
554
|
+
* @tags Notifications
|
|
555
|
+
* @method get
|
|
556
|
+
* @responseType EventMessage
|
|
557
|
+
*/
|
|
558
|
+
onActivityReached: '/notifications/long_polling/activity_reached',
|
|
559
|
+
/**
|
|
560
|
+
* Wait for an ActivityFinished notification and resolves with the notification's content.
|
|
561
|
+
* @tags Notifications
|
|
562
|
+
* @method get
|
|
563
|
+
* @responseType EventMessage
|
|
564
|
+
*/
|
|
565
|
+
onActivityFinished: '/notifications/long_polling/activity_finished',
|
|
566
|
+
/**
|
|
567
|
+
* Wait for an EmptyActivityWaiting notification and resolves with the notification's content.
|
|
568
|
+
* @tags Notifications
|
|
569
|
+
* @method get
|
|
570
|
+
* @responseType EventMessage
|
|
571
|
+
*/
|
|
572
|
+
onEmptyActivityWaiting: '/notifications/long_polling/empty_activity_waiting',
|
|
573
|
+
/**
|
|
574
|
+
* Wait for an EmptyActivityFinished notification and resolves with the notification's content.
|
|
575
|
+
* @tags Notifications
|
|
576
|
+
* @method get
|
|
577
|
+
* @responseType EventMessage
|
|
578
|
+
*/
|
|
579
|
+
onEmptyActivityFinished: '/notifications/long_polling/empty_activity_finished',
|
|
580
|
+
/**
|
|
581
|
+
* Wait for a ManualTaskWaiting notification and resolves with the notification's content.
|
|
582
|
+
* @tags Notifications
|
|
583
|
+
* @method get
|
|
584
|
+
* @responseType EventMessage
|
|
585
|
+
*/
|
|
586
|
+
onManualTaskWaiting: '/notifications/long_polling/manual_task_waiting',
|
|
587
|
+
/**
|
|
588
|
+
* Wait for a ManualTaskFinied notification and resolves with the notification's content.
|
|
589
|
+
* @tags Notifications
|
|
590
|
+
* @method get
|
|
591
|
+
* @responseType EventMessage
|
|
592
|
+
*/
|
|
593
|
+
onManualTaskFinished: '/notifications/long_polling/manual_task_finished',
|
|
594
|
+
/**
|
|
595
|
+
* Wait for a UserTaskWaiting notification and resolves with the notification's content.
|
|
596
|
+
* @tags Notifications
|
|
597
|
+
* @method get
|
|
598
|
+
* @responseType EventMessage
|
|
599
|
+
*/
|
|
600
|
+
onUserTaskWaiting: '/notifications/long_polling/user_task_waiting',
|
|
601
|
+
/**
|
|
602
|
+
* Wait for a UserTaskFinished notification and resolves with the notification's content.
|
|
603
|
+
* @tags Notifications
|
|
604
|
+
* @method get
|
|
605
|
+
* @responseType EventMessage
|
|
606
|
+
*/
|
|
607
|
+
onUserTaskFinished: '/notifications/long_polling/user_task_finished',
|
|
608
|
+
/**
|
|
609
|
+
* Wait for a UserTaskReserved notification and resolves with the notification's content.
|
|
610
|
+
* @tags Notifications
|
|
611
|
+
* @method get
|
|
612
|
+
* @responseType EventMessage
|
|
613
|
+
*/
|
|
614
|
+
onUserTaskReserved: '/notifications/long_polling/user_task_reserved',
|
|
615
|
+
/**
|
|
616
|
+
* Wait for a UserTaskReservationCanceled notification and resolves with the notification's content.
|
|
617
|
+
* @tags Notifications
|
|
618
|
+
* @method get
|
|
619
|
+
* @responseType EventMessage
|
|
620
|
+
*/
|
|
621
|
+
onUserTaskReservationCanceled: '/notifications/long_polling/user_task_reservation_canceled',
|
|
622
|
+
/**
|
|
623
|
+
* Wait for a BoundaryEventTriggered notification and resolves with the notification's content.
|
|
624
|
+
* @tags Notifications
|
|
625
|
+
* @method get
|
|
626
|
+
* @responseType EventMessage
|
|
627
|
+
*/
|
|
628
|
+
onBoundaryEventTriggered: '/notifications/long_polling/boundary_event_triggered',
|
|
629
|
+
/**
|
|
630
|
+
* Wait for an IntermediateThrowEventTriggered notification and resolves with the notification's content.
|
|
631
|
+
* @tags Notifications
|
|
632
|
+
* @method get
|
|
633
|
+
* @responseType EventMessage
|
|
634
|
+
*/
|
|
635
|
+
onIntermediateThrowEventTriggered: '/notifications/long_polling/intermediate_throw_event_triggered',
|
|
636
|
+
/**
|
|
637
|
+
* Wait for an IntermediateCatchEventReached notification and resolves with the notification's content.
|
|
638
|
+
* @tags Notifications
|
|
639
|
+
* @method get
|
|
640
|
+
* @responseType EventMessage
|
|
641
|
+
*/
|
|
642
|
+
onIntermediateCatchEventReached: '/notifications/long_polling/intermediate_catch_event_reached',
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* Wait for a IntermediateCatchEventFinished notification and resolves with the notification's content.
|
|
646
|
+
* @tags Notifications
|
|
647
|
+
* @method get
|
|
648
|
+
* @responseType EventMessage
|
|
649
|
+
*/
|
|
650
|
+
onIntermediateCatchEventFinished: '/notifications/long_polling/intermediate_catch_event_finished',
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* Wait for a FlowNodeEventRetrySending notification and resolves with the notification's content.
|
|
654
|
+
* @tags Notifications
|
|
655
|
+
* @method get
|
|
656
|
+
* @responseType EventMessage
|
|
657
|
+
*/
|
|
658
|
+
onFlowNodeEventRetrySending: '/notifications/long_polling/flow_node_event_retry_sending',
|
|
659
|
+
/**
|
|
660
|
+
* Wait for an MessageTriggered notification and resolves with the notification's content.
|
|
661
|
+
* @tags Notifications
|
|
662
|
+
* @method get
|
|
663
|
+
* @responseType EventMessage
|
|
664
|
+
*/
|
|
665
|
+
onMessageTriggered: '/notifications/long_polling/message_triggered',
|
|
666
|
+
/**
|
|
667
|
+
* Wait for an SignalTriggered notification and resolves with the notification's content.
|
|
668
|
+
* @tags Notifications
|
|
669
|
+
* @method get
|
|
670
|
+
* @responseType EventMessage
|
|
671
|
+
*/
|
|
672
|
+
onSignalTriggered: '/notifications/long_polling/signal_triggered',
|
|
673
|
+
/**
|
|
674
|
+
* Wait for an EndEventFinished notification and resolves with the notification's content.
|
|
675
|
+
* @tags Notifications
|
|
676
|
+
* @method get
|
|
677
|
+
* @responseType EventMessage
|
|
678
|
+
*/
|
|
679
|
+
onEndEventFinished: '/notifications/long_polling/end_event_finished',
|
|
680
|
+
/**
|
|
681
|
+
* Wait for an StartEventFinished notification and resolves with the notification's content.
|
|
682
|
+
* @tags Notifications
|
|
683
|
+
* @method get
|
|
684
|
+
* @responseType EventMessage
|
|
685
|
+
*/
|
|
686
|
+
onStartEventFinished: '/notifications/long_polling/start_event_finished',
|
|
687
|
+
/**
|
|
688
|
+
* Wait for a ProcessInstanceMetadataChanged notification and resolves with the notification's content.
|
|
689
|
+
* @tags Notifications
|
|
690
|
+
* @method get
|
|
691
|
+
* @responseType MetadataChangedMessage
|
|
692
|
+
*/
|
|
693
|
+
onProcessInstanceMetadataChanged: '/notifications/long_polling/process_instance_metadata_changed',
|
|
694
|
+
/**
|
|
695
|
+
* Wait for a CorrelationMetadataChanged notification and resolves with the notification's content.
|
|
696
|
+
* @tags Notifications
|
|
697
|
+
* @method get
|
|
698
|
+
* @responseType MetadataChangedMessage
|
|
699
|
+
*/
|
|
700
|
+
onCorrelationMetadataChanged: '/notifications/long_polling/correlation_metadata_changed',
|
|
701
|
+
};
|
|
702
|
+
exports.restSettings = {
|
|
703
|
+
params: params,
|
|
704
|
+
paths: paths,
|
|
705
|
+
baseRoute: 'atlas_engine/api',
|
|
706
|
+
};
|
|
707
|
+
//# sourceMappingURL=RestSettings.js.map
|