@5minds/processcube_engine_sdk 7.2.0-alpha.2 → 7.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataModels/ApplicationInfo.d.ts +3 -0
- package/dist/DataModels/EngineMetadata.d.ts +13 -0
- package/dist/DataModels/FlowNodeInstance/CallActivityInstance.d.ts +7 -0
- package/dist/DataModels/ProcessInstance/ProcessInstance.d.ts +1 -0
- package/dist/DataModels/index.d.ts +1 -0
- package/dist/Engine.d.ts +22 -1
- package/dist/EngineConfiguration.d.ts +2 -0
- package/dist/EngineEventBus.d.ts +87 -0
- package/dist/EngineEventBusSettings.d.ts +141 -0
- package/dist/EngineEvents/EventPayloads/KillProcessInstanceMessage.d.ts +11 -0
- package/dist/EngineEvents/EventPayloads/TerminateProcessInstance.d.ts +1 -0
- package/dist/EngineEvents/EventPayloads/index.d.ts +1 -0
- package/dist/EngineEvents/index.d.ts +0 -1
- package/dist/EngineRestApiSettings.d.ts +2107 -0
- package/dist/EngineSocketIoSettings.d.ts +67 -0
- package/dist/ExtensionAdapter/ClusterExtensionAdapter.d.ts +14 -0
- package/dist/ExtensionAdapter/EventExtensionAdapter.d.ts +8 -0
- package/dist/ExtensionAdapter/FlowNodeInstanceExtensionAdapter.d.ts +8 -0
- package/dist/ExtensionAdapter/MessageEventExtensionAdapter.d.ts +4 -0
- package/dist/ExtensionAdapter/NotificationExtensionAdapter.d.ts +4 -4
- package/dist/ExtensionAdapter/SignalEventExtensionAdapter.d.ts +4 -0
- package/dist/ExtensionAdapter/index.d.ts +3 -0
- package/dist/ProcessModel/Model/Activities/CallActivity.d.ts +7 -0
- package/dist/ProcessModel/Model/Activities/SubProcess.d.ts +1 -0
- package/dist/ProcessModel/Model/Events/ErrorEvents.d.ts +2 -1
- package/dist/ProcessModel/Model/Events/EventBase.d.ts +4 -0
- package/dist/ProcessModel/ViewModel/Activities/CallActivityViewModel.d.ts +4 -3
- package/dist/commonjs/{EngineEvents/Subscription.js → DataModels/EngineMetadata.js} +1 -1
- package/dist/commonjs/DataModels/EngineMetadata.js.map +1 -0
- package/dist/commonjs/DataModels/ProcessInstance/ProcessInstance.js.map +1 -1
- package/dist/commonjs/DataModels/index.js +1 -0
- package/dist/commonjs/DataModels/index.js.map +1 -1
- package/dist/commonjs/Engine.js.map +1 -1
- package/dist/commonjs/EngineEventBus.js +3 -0
- package/dist/commonjs/EngineEventBus.js.map +1 -0
- package/dist/commonjs/EngineEventBusSettings.js +99 -0
- package/dist/commonjs/EngineEventBusSettings.js.map +1 -0
- package/dist/commonjs/EngineEvents/EventPayloads/KillProcessInstanceMessage.js +3 -0
- package/dist/commonjs/EngineEvents/EventPayloads/KillProcessInstanceMessage.js.map +1 -0
- package/dist/commonjs/EngineEvents/EventPayloads/index.js +1 -0
- package/dist/commonjs/EngineEvents/EventPayloads/index.js.map +1 -1
- package/dist/commonjs/EngineEvents/index.js +0 -1
- package/dist/commonjs/EngineEvents/index.js.map +1 -1
- package/dist/commonjs/EngineRestApiSettings.js +2139 -0
- package/dist/commonjs/EngineRestApiSettings.js.map +1 -0
- package/dist/commonjs/EngineSocketIoSettings.js +76 -0
- package/dist/commonjs/EngineSocketIoSettings.js.map +1 -0
- package/dist/commonjs/ExtensionAdapter/ClusterExtensionAdapter.js +3 -0
- package/dist/commonjs/ExtensionAdapter/ClusterExtensionAdapter.js.map +1 -0
- package/dist/commonjs/ExtensionAdapter/MessageEventExtensionAdapter.js +3 -0
- package/dist/commonjs/ExtensionAdapter/MessageEventExtensionAdapter.js.map +1 -0
- package/dist/commonjs/ExtensionAdapter/SignalEventExtensionAdapter.js +3 -0
- package/dist/commonjs/ExtensionAdapter/SignalEventExtensionAdapter.js.map +1 -0
- package/dist/commonjs/ExtensionAdapter/index.js +3 -0
- package/dist/commonjs/ExtensionAdapter/index.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/CallActivityParser.js +4 -0
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/CallActivityParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/SubprocessParser.js +4 -0
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/ActivityParsers/SubprocessParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/EventParser.js +7 -0
- package/dist/commonjs/ProcessModel/ProcessModelParser/Parser/FlowNodeParsers/EventParser.js.map +1 -1
- package/dist/commonjs/ProcessModel/ViewModel/Activities/CallActivityViewModel.js +2 -0
- package/dist/commonjs/ProcessModel/ViewModel/Activities/CallActivityViewModel.js.map +1 -1
- package/dist/commonjs/index.js +4 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/package.json +6 -8
- package/dist/EngineEvents/Subscription.d.ts +0 -26
- package/dist/commonjs/EngineEvents/Subscription.js.map +0 -1
|
@@ -0,0 +1,2107 @@
|
|
|
1
|
+
export declare const EngineRestApiSettings: {
|
|
2
|
+
params: {
|
|
3
|
+
correlationId: string;
|
|
4
|
+
untypedTaskInstanceId: string;
|
|
5
|
+
emptyActivityInstanceId: string;
|
|
6
|
+
eventId: string;
|
|
7
|
+
eventName: string;
|
|
8
|
+
externalTaskId: string;
|
|
9
|
+
flowNodeId: string;
|
|
10
|
+
flowNodeInstanceId: string;
|
|
11
|
+
manualTaskInstanceId: string;
|
|
12
|
+
processInstanceId: string;
|
|
13
|
+
processDefinitionId: string;
|
|
14
|
+
processModelId: string;
|
|
15
|
+
sessionId: string;
|
|
16
|
+
userId: string;
|
|
17
|
+
userTaskInstanceId: string;
|
|
18
|
+
userMetadataKey: string;
|
|
19
|
+
};
|
|
20
|
+
paths: {
|
|
21
|
+
/**
|
|
22
|
+
* @swagger
|
|
23
|
+
* /info:
|
|
24
|
+
* get:
|
|
25
|
+
* description: Gets some basic info about the host application.
|
|
26
|
+
* tags: [ApplicationInfo]
|
|
27
|
+
* responses:
|
|
28
|
+
* 200:
|
|
29
|
+
* description: Returns some basic info about the host application.
|
|
30
|
+
* content:
|
|
31
|
+
* application/json:
|
|
32
|
+
* schema:
|
|
33
|
+
* $ref: '#/components/schemas/ApplicationInfo'
|
|
34
|
+
*/
|
|
35
|
+
getApplicationInfo: string;
|
|
36
|
+
/**
|
|
37
|
+
* @swagger
|
|
38
|
+
* /authority:
|
|
39
|
+
* get:
|
|
40
|
+
* description: Gets the address of the authority that the host application uses for claim checks.
|
|
41
|
+
* tags: [ApplicationInfo]
|
|
42
|
+
* responses:
|
|
43
|
+
* 200:
|
|
44
|
+
* description: Returns the address of the authority.
|
|
45
|
+
* content:
|
|
46
|
+
* application/json:
|
|
47
|
+
* schema:
|
|
48
|
+
* type: string
|
|
49
|
+
* example: http://localhost:5000
|
|
50
|
+
*/
|
|
51
|
+
getAuthorityAddress: string;
|
|
52
|
+
/**
|
|
53
|
+
* @swagger
|
|
54
|
+
* /correlations:
|
|
55
|
+
* get:
|
|
56
|
+
* description: Gets all Correlations.
|
|
57
|
+
* tags: [Correlations]
|
|
58
|
+
* parameters:
|
|
59
|
+
* - name: limit
|
|
60
|
+
* in: query
|
|
61
|
+
* description: The maximum amount of Correlations to be returned.
|
|
62
|
+
* required: false
|
|
63
|
+
* schema:
|
|
64
|
+
* type: number
|
|
65
|
+
* example: 10
|
|
66
|
+
* - name: offset
|
|
67
|
+
* in: query
|
|
68
|
+
* description: The index of the first Correlation to be returned.
|
|
69
|
+
* required: false
|
|
70
|
+
* schema:
|
|
71
|
+
* type: number
|
|
72
|
+
* example: 5
|
|
73
|
+
* responses:
|
|
74
|
+
* 200:
|
|
75
|
+
* description: Returns all Correlations.
|
|
76
|
+
* content:
|
|
77
|
+
* application/json:
|
|
78
|
+
* schema:
|
|
79
|
+
* $ref: '#/components/schemas/CorrelationList'
|
|
80
|
+
*/
|
|
81
|
+
getCorrelations: string;
|
|
82
|
+
/**
|
|
83
|
+
* @swagger
|
|
84
|
+
* /correlations/{correlation_id}:
|
|
85
|
+
* get:
|
|
86
|
+
* description: Gets a Correlation by its ID.
|
|
87
|
+
* tags: [Correlations]
|
|
88
|
+
* parameters:
|
|
89
|
+
* - name: correlation_id
|
|
90
|
+
* in: path
|
|
91
|
+
* description: The ID of the Correlation to retrieve.
|
|
92
|
+
* required: true
|
|
93
|
+
* schema:
|
|
94
|
+
* type: string
|
|
95
|
+
* example: 123
|
|
96
|
+
* responses:
|
|
97
|
+
* 200:
|
|
98
|
+
* description: Returns the Correlation with the given ID.
|
|
99
|
+
* content:
|
|
100
|
+
* application/json:
|
|
101
|
+
* schema:
|
|
102
|
+
* $ref: '#/components/schemas/Correlation'
|
|
103
|
+
*/
|
|
104
|
+
getCorrelationById: string;
|
|
105
|
+
/**
|
|
106
|
+
* @swagger
|
|
107
|
+
* /cronjobs/query:
|
|
108
|
+
* get:
|
|
109
|
+
* description: Queries a list of deployed Cronjobs.
|
|
110
|
+
* tags: [Cronjobs]
|
|
111
|
+
* parameters:
|
|
112
|
+
* - name: limit
|
|
113
|
+
* in: query
|
|
114
|
+
* description: The maximum amount of Cronjobs to be returned.
|
|
115
|
+
* required: false
|
|
116
|
+
* schema:
|
|
117
|
+
* type: number
|
|
118
|
+
* example: 10
|
|
119
|
+
* - name: offset
|
|
120
|
+
* in: query
|
|
121
|
+
* description: The index of the first Cronjob to be returned.
|
|
122
|
+
* required: false
|
|
123
|
+
* schema:
|
|
124
|
+
* type: number
|
|
125
|
+
* example: 5
|
|
126
|
+
* - name: processDefinitionId
|
|
127
|
+
* in: query
|
|
128
|
+
* description: The ID of the ProcessDefinition for which to retrieve Cronjobs.
|
|
129
|
+
* required: false
|
|
130
|
+
* schema:
|
|
131
|
+
* type: string
|
|
132
|
+
* example: myProcess_12345678
|
|
133
|
+
* - name: processModelId
|
|
134
|
+
* in: query
|
|
135
|
+
* description: The ID of the ProcessModel for which to retrieve Cronjobs.
|
|
136
|
+
* required: false
|
|
137
|
+
* schema:
|
|
138
|
+
* type: string
|
|
139
|
+
* example: myProcessModel_12345678
|
|
140
|
+
* - name: startEventId
|
|
141
|
+
* in: query
|
|
142
|
+
* description: The ID of the StartEvent for which to retrieve Cronjobs.
|
|
143
|
+
* required: false
|
|
144
|
+
* schema:
|
|
145
|
+
* type: string
|
|
146
|
+
* example: myStartEvent_12345678
|
|
147
|
+
* - name: crontab
|
|
148
|
+
* in: query
|
|
149
|
+
* description: The crontab expression for which to retrieve Cronjobs.
|
|
150
|
+
* required: false
|
|
151
|
+
* schema:
|
|
152
|
+
* type: string
|
|
153
|
+
* example: 0 0 1 * *
|
|
154
|
+
* - name: enabled
|
|
155
|
+
* in: query
|
|
156
|
+
* description: The enabled state for which to retrieve Cronjobs.
|
|
157
|
+
* required: false
|
|
158
|
+
* schema:
|
|
159
|
+
* type: boolean
|
|
160
|
+
* example: true
|
|
161
|
+
* - name: nextExecution
|
|
162
|
+
* in: query
|
|
163
|
+
* description: The nextExecution date for which to retrieve Cronjobs.
|
|
164
|
+
* required: false
|
|
165
|
+
* schema:
|
|
166
|
+
* type: string
|
|
167
|
+
* example: 2020-01-01T00:00:00.000Z
|
|
168
|
+
* responses:
|
|
169
|
+
* 200:
|
|
170
|
+
* description: Returns a list of Cronjobs.
|
|
171
|
+
* content:
|
|
172
|
+
* application/json:
|
|
173
|
+
* schema:
|
|
174
|
+
* $ref: '#/components/schemas/CronjobList'
|
|
175
|
+
*/
|
|
176
|
+
queryCronjobs: string;
|
|
177
|
+
/**
|
|
178
|
+
* @swagger
|
|
179
|
+
* /cronjobs/process_models/{processModelId}/flow_node/{flowNodeId}/enable:
|
|
180
|
+
* post:
|
|
181
|
+
* description: Enables the given Cronjob for the given ProcessModel.
|
|
182
|
+
* tags: [Cronjobs]
|
|
183
|
+
* parameters:
|
|
184
|
+
* - name: processModelId
|
|
185
|
+
* in: path
|
|
186
|
+
* description: The ID of the ProcessModel for which to enable the Cronjob.
|
|
187
|
+
* required: true
|
|
188
|
+
* schema:
|
|
189
|
+
* type: string
|
|
190
|
+
* example: myProcessModel_12345678
|
|
191
|
+
* - name: flowNodeId
|
|
192
|
+
* in: path
|
|
193
|
+
* description: The ID of the FlowNode for which to enable the Cronjob.
|
|
194
|
+
* required: true
|
|
195
|
+
* schema:
|
|
196
|
+
* type: string
|
|
197
|
+
* example: myFlowNode_12345678
|
|
198
|
+
* responses:
|
|
199
|
+
* 204:
|
|
200
|
+
* description: The Cronjob was successfully enabled.
|
|
201
|
+
*/
|
|
202
|
+
enableCronjob: string;
|
|
203
|
+
/**
|
|
204
|
+
* @swagger
|
|
205
|
+
* /cronjobs/process_models/{processModelId}/flow_node/{flowNodeId}/disable:
|
|
206
|
+
* post:
|
|
207
|
+
* description: Disables the given Cronjob for the given ProcessModel.
|
|
208
|
+
* tags: [Cronjobs]
|
|
209
|
+
* parameters:
|
|
210
|
+
* - name: processModelId
|
|
211
|
+
* in: path
|
|
212
|
+
* description: The ID of the ProcessModel for which to disable the Cronjob.
|
|
213
|
+
* required: true
|
|
214
|
+
* schema:
|
|
215
|
+
* type: string
|
|
216
|
+
* example: myProcessModel_12345678
|
|
217
|
+
* - name: flowNodeId
|
|
218
|
+
* in: path
|
|
219
|
+
* description: The ID of the FlowNode for which to disable the Cronjob.
|
|
220
|
+
* required: true
|
|
221
|
+
* schema:
|
|
222
|
+
* type: string
|
|
223
|
+
* example: myFlowNode_12345678
|
|
224
|
+
* responses:
|
|
225
|
+
* 204:
|
|
226
|
+
* description: The Cronjob was successfully disabled.
|
|
227
|
+
*/
|
|
228
|
+
disableCronjob: string;
|
|
229
|
+
/**
|
|
230
|
+
* @swagger
|
|
231
|
+
* /data_object_instances/query:
|
|
232
|
+
* get:
|
|
233
|
+
* description: Gets the DataObjectInstances that match the given query.
|
|
234
|
+
* tags: [DataObjectInstances]
|
|
235
|
+
* parameters:
|
|
236
|
+
* - name: limit
|
|
237
|
+
* in: query
|
|
238
|
+
* description: The maximum amount of DataObjectInstances to be returned.
|
|
239
|
+
* schema:
|
|
240
|
+
* type: number
|
|
241
|
+
* example: 100
|
|
242
|
+
* - name: offset
|
|
243
|
+
* in: query
|
|
244
|
+
* description: The index of the first DataObjectInstance to be returned.
|
|
245
|
+
* schema:
|
|
246
|
+
* type: number
|
|
247
|
+
* example: 5
|
|
248
|
+
* - name: dataObjectId
|
|
249
|
+
* in: query
|
|
250
|
+
* description: The ID of the DataObject for which to retrieve DataObjectInstances.
|
|
251
|
+
* schema:
|
|
252
|
+
* type: string
|
|
253
|
+
* example: myDataObject_12345678
|
|
254
|
+
* - name: processDefinitionId
|
|
255
|
+
* in: query
|
|
256
|
+
* description: The ID of the ProcessDefinition for which to retrieve DataObjectInstances.
|
|
257
|
+
* schema:
|
|
258
|
+
* type: string
|
|
259
|
+
* example: myProcessDefinition_12345678
|
|
260
|
+
* - name: processModelId
|
|
261
|
+
* in: query
|
|
262
|
+
* description: The ID of the ProcessModel for which to retrieve DataObjectInstances.
|
|
263
|
+
* schema:
|
|
264
|
+
* type: string
|
|
265
|
+
* example: myProcessModel_12345678
|
|
266
|
+
* - name: processInstanceId
|
|
267
|
+
* in: query
|
|
268
|
+
* description: The ID of the ProcessInstance for which to retrieve DataObjectInstances.
|
|
269
|
+
* schema:
|
|
270
|
+
* type: string
|
|
271
|
+
* example: myProcessInstance_12345678
|
|
272
|
+
* - name: flowNodeInstanceId
|
|
273
|
+
* in: query
|
|
274
|
+
* description: The ID of the FlowNodeInstance for which to retrieve DataObjectInstances.
|
|
275
|
+
* schema:
|
|
276
|
+
* type: string
|
|
277
|
+
* example: myFlowNodeInstance_12345678
|
|
278
|
+
* - name: createdAt
|
|
279
|
+
* in: query
|
|
280
|
+
* description: The createdAt date for which to retrieve DataObjectInstances.
|
|
281
|
+
* schema:
|
|
282
|
+
* type: string
|
|
283
|
+
* example: 2020-01-01T00:00:00.000Z
|
|
284
|
+
* responses:
|
|
285
|
+
* 200:
|
|
286
|
+
* description: Returns a list of DataObjectInstances.
|
|
287
|
+
* content:
|
|
288
|
+
* application/json:
|
|
289
|
+
* schema:
|
|
290
|
+
* $ref: '#/components/schemas/DataObjectInstanceList'
|
|
291
|
+
*/
|
|
292
|
+
getDataObjects: string;
|
|
293
|
+
/**
|
|
294
|
+
* @swagger
|
|
295
|
+
* /flow_node_instances:
|
|
296
|
+
* get:
|
|
297
|
+
* description: Gets all FlowNodeInstances that match the given query.
|
|
298
|
+
* tags: [FlowNodeInstances]
|
|
299
|
+
* parameters:
|
|
300
|
+
* - name: limit
|
|
301
|
+
* in: query
|
|
302
|
+
* description: The maximum amount of FlowNodeInstances to be returned.
|
|
303
|
+
* schema:
|
|
304
|
+
* type: number
|
|
305
|
+
* example: 100
|
|
306
|
+
* - name: offset
|
|
307
|
+
* in: query
|
|
308
|
+
* description: The index of the first FlowNodeInstance to be returned.
|
|
309
|
+
* schema:
|
|
310
|
+
* type: number
|
|
311
|
+
* example: 5
|
|
312
|
+
* - name: flowNodeInstanceId
|
|
313
|
+
* in: query
|
|
314
|
+
* description: The ID of the FlowNodeInstance to be returned.
|
|
315
|
+
* schema:
|
|
316
|
+
* type: string
|
|
317
|
+
* example: myFlowNodeInstance_12345678
|
|
318
|
+
* - name: flowNodeId
|
|
319
|
+
* in: query
|
|
320
|
+
* description: The ID of the FlowNode for which to retrieve FlowNodeInstances.
|
|
321
|
+
* schema:
|
|
322
|
+
* type: string
|
|
323
|
+
* example: myFlowNode_12345678
|
|
324
|
+
* - name: flowNodeName
|
|
325
|
+
* in: query
|
|
326
|
+
* description: The name of the FlowNode for which to retrieve FlowNodeInstances.
|
|
327
|
+
* schema:
|
|
328
|
+
* type: string
|
|
329
|
+
* example: myFlowNode
|
|
330
|
+
* - name: flowNodeLane
|
|
331
|
+
* in: query
|
|
332
|
+
* description: The name of the Lane for which to retrieve FlowNodeInstances.
|
|
333
|
+
* schema:
|
|
334
|
+
* type: string
|
|
335
|
+
* example: myLane
|
|
336
|
+
* - name: flowNodeType
|
|
337
|
+
* in: query
|
|
338
|
+
* description: The type of the FlowNode for which to retrieve FlowNodeInstances.
|
|
339
|
+
* schema:
|
|
340
|
+
* type: string
|
|
341
|
+
* example: bpmn:BoundaryEvent
|
|
342
|
+
* - name: eventType
|
|
343
|
+
* in: query
|
|
344
|
+
* description: The event type of the FlowNodeInstance to be returned.
|
|
345
|
+
* schema:
|
|
346
|
+
* type: string
|
|
347
|
+
* example: messageEvent
|
|
348
|
+
* - name: correlationId
|
|
349
|
+
* in: query
|
|
350
|
+
* description: The correlationId of the FlowNodeInstance to be returned.
|
|
351
|
+
* schema:
|
|
352
|
+
* type: string
|
|
353
|
+
* example: myCorrelationId_12345678
|
|
354
|
+
* - name: processDefinitionId
|
|
355
|
+
* in: query
|
|
356
|
+
* description: The ID of the ProcessDefinition for which to retrieve FlowNodeInstances.
|
|
357
|
+
* schema:
|
|
358
|
+
* type: string
|
|
359
|
+
* example: myProcessDefinition_12345678
|
|
360
|
+
* - name: processModelId
|
|
361
|
+
* in: query
|
|
362
|
+
* description: The ID of the ProcessModel for which to retrieve FlowNodeInstances.
|
|
363
|
+
* schema:
|
|
364
|
+
* type: string
|
|
365
|
+
* example: myProcessModel_12345678
|
|
366
|
+
* - name: processInstanceId
|
|
367
|
+
* in: query
|
|
368
|
+
* description: The ID of the ProcessInstance for which to retrieve FlowNodeInstances.
|
|
369
|
+
* schema:
|
|
370
|
+
* type: string
|
|
371
|
+
* example: myProcessInstance_12345678
|
|
372
|
+
* - name: ownerId
|
|
373
|
+
* in: query
|
|
374
|
+
* description: The ID of the FlowNodeInstance owner for which to retrieve FlowNodeInstances.
|
|
375
|
+
* schema:
|
|
376
|
+
* type: string
|
|
377
|
+
* example: myOwner_12345678
|
|
378
|
+
* - name: state
|
|
379
|
+
* in: query
|
|
380
|
+
* description: The state of the FlowNodeInstance to be returned.
|
|
381
|
+
* schema:
|
|
382
|
+
* type: string
|
|
383
|
+
* example: running
|
|
384
|
+
* - name: previousFlowNodeInstanceId
|
|
385
|
+
* in: query
|
|
386
|
+
* description: The ID of the previous FlowNodeInstance for which to retrieve FlowNodeInstances.
|
|
387
|
+
* schema:
|
|
388
|
+
* type: string
|
|
389
|
+
* example: myPreviousFlowNodeInstance_12345678
|
|
390
|
+
* - name: parentProcessInstanceId
|
|
391
|
+
* in: query
|
|
392
|
+
* description: The ID of the parent ProcessInstance for which to retrieve FlowNodeInstances.
|
|
393
|
+
* schema:
|
|
394
|
+
* type: string
|
|
395
|
+
* example: myParentProcessInstance_12345678
|
|
396
|
+
* - name: createdAt
|
|
397
|
+
* in: query
|
|
398
|
+
* description: The createdAt date for which to retrieve FlowNodeInstances.
|
|
399
|
+
* schema:
|
|
400
|
+
* type: string
|
|
401
|
+
* example: 2020-01-01T00:00:00.000Z
|
|
402
|
+
* - name: updatedAt
|
|
403
|
+
* in: query
|
|
404
|
+
* description: The updatedAt date for which to retrieve FlowNodeInstances.
|
|
405
|
+
* schema:
|
|
406
|
+
* type: string
|
|
407
|
+
* example: 2020-01-01T00:00:00.000Z
|
|
408
|
+
* - name: triggeredByFlowNodeInstance
|
|
409
|
+
* in: query
|
|
410
|
+
* description: The ID of the FlowNodeInstance that triggered the FlowNodeInstance to be returned.
|
|
411
|
+
* schema:
|
|
412
|
+
* type: Array<string> | string | SearchQuery
|
|
413
|
+
* oneOf:
|
|
414
|
+
* - type: Array<string>
|
|
415
|
+
* example: ['myTriggeredFlowNodeInstance_12345678', 'myTriggeredFlowNodeInstance_87654321']
|
|
416
|
+
* - type: string
|
|
417
|
+
* example: myTriggeredFlowNodeInstance_12345678
|
|
418
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
419
|
+
* responses:
|
|
420
|
+
* 200:
|
|
421
|
+
* description: Returns a list of FlowNodeInstances.
|
|
422
|
+
* content:
|
|
423
|
+
* application/json:
|
|
424
|
+
* schema:
|
|
425
|
+
* $ref: '#/components/schemas/FlowNodeInstanceList'
|
|
426
|
+
*/
|
|
427
|
+
queryFlowNodeInstances: string;
|
|
428
|
+
/**
|
|
429
|
+
* @swagger
|
|
430
|
+
* /messages/{eventName}/trigger:
|
|
431
|
+
* post:
|
|
432
|
+
* description: Triggers a MessageEvent by its name.
|
|
433
|
+
* tags: [Events]
|
|
434
|
+
* parameters:
|
|
435
|
+
* - name: eventName
|
|
436
|
+
* in: path
|
|
437
|
+
* description: The name of the MessageEvent to be triggered.
|
|
438
|
+
* required: true
|
|
439
|
+
* schema:
|
|
440
|
+
* type: string
|
|
441
|
+
* example: myMessageEvent
|
|
442
|
+
* - name: processInstanceId
|
|
443
|
+
* in: query
|
|
444
|
+
* description: The ID of the ProcessInstance for which to trigger the MessageEvent.
|
|
445
|
+
* required: false
|
|
446
|
+
* schema:
|
|
447
|
+
* type: string
|
|
448
|
+
* example: myProcessInstance_12345678
|
|
449
|
+
* requestBody:
|
|
450
|
+
* content:
|
|
451
|
+
* application/json:
|
|
452
|
+
* required: false
|
|
453
|
+
* schema:
|
|
454
|
+
* type: object
|
|
455
|
+
* properties:
|
|
456
|
+
* payload:
|
|
457
|
+
* type: string
|
|
458
|
+
* description: The payload to be sent with the MessageEvent.
|
|
459
|
+
* required: false
|
|
460
|
+
* example: myPayload
|
|
461
|
+
* responses:
|
|
462
|
+
* 204:
|
|
463
|
+
* description: Indicates the MessageEvent was successfully triggered.
|
|
464
|
+
*/
|
|
465
|
+
triggerMessageEvent: string;
|
|
466
|
+
/**
|
|
467
|
+
* @swagger
|
|
468
|
+
* /signals/{eventName}/trigger:
|
|
469
|
+
* post:
|
|
470
|
+
* description: Triggers a SignalEvent by its name.
|
|
471
|
+
* tags: [Events]
|
|
472
|
+
* parameters:
|
|
473
|
+
* - name: eventName
|
|
474
|
+
* in: path
|
|
475
|
+
* description: The name of the SignalEvent to be triggered.
|
|
476
|
+
* required: true
|
|
477
|
+
* schema:
|
|
478
|
+
* type: string
|
|
479
|
+
* example: mySignalEvent
|
|
480
|
+
* - name: process_instance_id
|
|
481
|
+
* in: query
|
|
482
|
+
* description: The ID of the ProcessInstance for which to trigger the SignalEvent.
|
|
483
|
+
* required: false
|
|
484
|
+
* schema:
|
|
485
|
+
* type: string
|
|
486
|
+
* example: myProcessInstance_12345678
|
|
487
|
+
* responses:
|
|
488
|
+
* 204:
|
|
489
|
+
* description: Indicates the SignalEvent was successfully triggered.
|
|
490
|
+
*/
|
|
491
|
+
triggerSignalEvent: string;
|
|
492
|
+
/**
|
|
493
|
+
* @swagger
|
|
494
|
+
* /timer/{flowNodeInstanceId}/trigger:
|
|
495
|
+
* post:
|
|
496
|
+
* description: Triggers a TimerEvent by its FlowNodeInstanceId immediately.
|
|
497
|
+
* tags: [Events]
|
|
498
|
+
* parameters:
|
|
499
|
+
* - name: flowNodeInstanceId
|
|
500
|
+
* in: path
|
|
501
|
+
* description: The FlowNodeInstanceId of the TimerEvent to be triggered.
|
|
502
|
+
* required: true
|
|
503
|
+
* schema:
|
|
504
|
+
* type: string
|
|
505
|
+
* example: 123456789
|
|
506
|
+
* responses:
|
|
507
|
+
* 204:
|
|
508
|
+
* description: Indicates the TimerEvent was successfully triggered.
|
|
509
|
+
*/
|
|
510
|
+
triggerTimerEvent: string;
|
|
511
|
+
/**
|
|
512
|
+
* @swagger
|
|
513
|
+
* /empty_activities/{emptyActivityInstanceId}/finish:
|
|
514
|
+
* put:
|
|
515
|
+
* deprecated: true
|
|
516
|
+
* description: DEPRECATED - Use `PUT /untyped_tasks/:untyped_task_instance_id/finish` instead.
|
|
517
|
+
* tags: [UntypedTasks]
|
|
518
|
+
* parameters:
|
|
519
|
+
* - name: emptyActivityInstanceId
|
|
520
|
+
* in: path
|
|
521
|
+
* description: The ID of the EmptyActivityInstance to be finished.
|
|
522
|
+
* required: true
|
|
523
|
+
* schema:
|
|
524
|
+
* type: string
|
|
525
|
+
* example: myEmptyActivityInstance_12345678
|
|
526
|
+
* responses:
|
|
527
|
+
* 204:
|
|
528
|
+
* description: Indicates the EmptyActivityInstance was successfully finished.
|
|
529
|
+
*/
|
|
530
|
+
finishEmptyActivity: string;
|
|
531
|
+
/**
|
|
532
|
+
* @swagger
|
|
533
|
+
* /untyped_tasks/{untypedTaskInstanceId}/finish:
|
|
534
|
+
* put:
|
|
535
|
+
* description: Finishes a specific UntypedTask by its UntypedTaskInstanceId.
|
|
536
|
+
* tags: [UntypedTasks]
|
|
537
|
+
* parameters:
|
|
538
|
+
* - name: untypedTaskInstanceId
|
|
539
|
+
* in: path
|
|
540
|
+
* description: The ID of the UntypedTaskInstance to be finished.
|
|
541
|
+
* required: true
|
|
542
|
+
* schema:
|
|
543
|
+
* type: string
|
|
544
|
+
* example: myUntypedTaskInstance_12345678
|
|
545
|
+
* responses:
|
|
546
|
+
* 204:
|
|
547
|
+
* description: Indicates the UntypedTaskInstance was successfully finished.
|
|
548
|
+
*/
|
|
549
|
+
finishUntypedTask: string;
|
|
550
|
+
/**
|
|
551
|
+
* @swagger
|
|
552
|
+
* /manual_tasks/{manualTaskInstanceId}/finish:
|
|
553
|
+
* put:
|
|
554
|
+
* description: Finishes a specific ManualTask by its ManualTaskInstanceId.
|
|
555
|
+
* tags: [ManualTasks]
|
|
556
|
+
* parameters:
|
|
557
|
+
* - name: manualTaskInstanceId
|
|
558
|
+
* in: path
|
|
559
|
+
* description: The ID of the ManualTaskInstance to be finished.
|
|
560
|
+
* required: true
|
|
561
|
+
* schema:
|
|
562
|
+
* type: string
|
|
563
|
+
* example: myManualTaskInstance_12345678
|
|
564
|
+
* responses:
|
|
565
|
+
* 204:
|
|
566
|
+
* description: Indicates the ManualTaskInstance was successfully finished.
|
|
567
|
+
*/
|
|
568
|
+
finishManualTask: string;
|
|
569
|
+
/**
|
|
570
|
+
* @swagger
|
|
571
|
+
* /user_tasks/{userTaskInstanceId}/finish:
|
|
572
|
+
* put:
|
|
573
|
+
* description: Finishes a specific UserTask by its UserTaskInstanceId.
|
|
574
|
+
* tags: [UserTasks]
|
|
575
|
+
* parameters:
|
|
576
|
+
* - name: userTaskInstanceId
|
|
577
|
+
* in: path
|
|
578
|
+
* description: The ID of the UserTaskInstance to be finished.
|
|
579
|
+
* required: true
|
|
580
|
+
* schema:
|
|
581
|
+
* type: string
|
|
582
|
+
* example: myUserTaskInstance_12345678
|
|
583
|
+
* requestBody:
|
|
584
|
+
* content:
|
|
585
|
+
* application/json:
|
|
586
|
+
* required: false
|
|
587
|
+
* schema:
|
|
588
|
+
* type: object
|
|
589
|
+
* responses:
|
|
590
|
+
* 204:
|
|
591
|
+
* description: Indicates the UserTaskInstance was successfully finished.
|
|
592
|
+
*/
|
|
593
|
+
finishUserTask: string;
|
|
594
|
+
/**
|
|
595
|
+
* @swagger
|
|
596
|
+
* /user_tasks/{userTaskInstanceId}/reserve:
|
|
597
|
+
* put:
|
|
598
|
+
* description: Reserves a UserTask for a specific User.
|
|
599
|
+
* tags: [UserTasks]
|
|
600
|
+
* parameters:
|
|
601
|
+
* - name: userTaskInstanceId
|
|
602
|
+
* in: path
|
|
603
|
+
* description: The ID of the UserTaskInstance to be reserved.
|
|
604
|
+
* required: true
|
|
605
|
+
* schema:
|
|
606
|
+
* type: string
|
|
607
|
+
* example: myUserTaskInstance_12345678
|
|
608
|
+
* requestBody:
|
|
609
|
+
* content:
|
|
610
|
+
* application/json:
|
|
611
|
+
* required: true
|
|
612
|
+
* schema:
|
|
613
|
+
* type: object
|
|
614
|
+
* properties:
|
|
615
|
+
* actualOwnerId:
|
|
616
|
+
* type: string
|
|
617
|
+
* description: The ID of the User who reserves the UserTask.
|
|
618
|
+
* required: true
|
|
619
|
+
* example: myUser_12345678
|
|
620
|
+
* responses:
|
|
621
|
+
* 204:
|
|
622
|
+
* description: Indicates the UserTaskInstance was successfully reserved.
|
|
623
|
+
*/
|
|
624
|
+
reserveUserTaskInstance: string;
|
|
625
|
+
/**
|
|
626
|
+
* @swagger
|
|
627
|
+
* /user_tasks/{userTaskInstanceId}/cancel-reservation:
|
|
628
|
+
* delete:
|
|
629
|
+
* description: Cancels the reservation of the given UserTask instance.
|
|
630
|
+
* tags: [UserTasks]
|
|
631
|
+
* parameters:
|
|
632
|
+
* - name: userTaskInstanceId
|
|
633
|
+
* in: path
|
|
634
|
+
* description: The ID of the UserTaskInstance for which to cancel the reservation.
|
|
635
|
+
* required: true
|
|
636
|
+
* schema:
|
|
637
|
+
* type: string
|
|
638
|
+
* example: myUserTaskInstance_12345678
|
|
639
|
+
* responses:
|
|
640
|
+
* 204:
|
|
641
|
+
* description: Indicates the UserTaskInstance reservation was successfully canceled.
|
|
642
|
+
*/
|
|
643
|
+
cancelUserTaskInstanceReservation: string;
|
|
644
|
+
/**
|
|
645
|
+
* @swagger
|
|
646
|
+
* /external_tasks/deployed_topics:
|
|
647
|
+
* get:
|
|
648
|
+
* description: Fetches a list of all ExternalTask topics from all deployed Process Models.
|
|
649
|
+
* tags: [ExternalTasks]
|
|
650
|
+
* responses:
|
|
651
|
+
* 200:
|
|
652
|
+
* description: A list of all ExternalTask topics from all deployed Process Models.
|
|
653
|
+
* content:
|
|
654
|
+
* application/json:
|
|
655
|
+
* schema:
|
|
656
|
+
* description: A list of all ExternalTask topics from all deployed Process Models.
|
|
657
|
+
* type: array
|
|
658
|
+
* items:
|
|
659
|
+
* type: string
|
|
660
|
+
* example:
|
|
661
|
+
* - myTopic
|
|
662
|
+
* - myOtherTopic
|
|
663
|
+
* - myThirdTopic
|
|
664
|
+
* - myFourthTopic
|
|
665
|
+
*/
|
|
666
|
+
getAllDeployedTopics: string;
|
|
667
|
+
/**
|
|
668
|
+
* @swagger
|
|
669
|
+
* /external_tasks/fetch_and_lock:
|
|
670
|
+
* post:
|
|
671
|
+
* description: Fetches the tasks available for an ExternalTaskWorker and locks them for a defined time.
|
|
672
|
+
* tags: [ExternalTasks]
|
|
673
|
+
* requestBody:
|
|
674
|
+
* content:
|
|
675
|
+
* application/json:
|
|
676
|
+
* required: true
|
|
677
|
+
* schema:
|
|
678
|
+
* $ref: '#/components/schemas/FetchAndLockRequestPayload'
|
|
679
|
+
* example:
|
|
680
|
+
* workerId: string
|
|
681
|
+
* topicName: string | Array<string>
|
|
682
|
+
* maxTasks: 10
|
|
683
|
+
* longPollingTimeout: 2000
|
|
684
|
+
* lockDuration: 10000
|
|
685
|
+
* payloadFilter: string
|
|
686
|
+
* responses:
|
|
687
|
+
* 204:
|
|
688
|
+
* description: A list of locked ExternalTasks.
|
|
689
|
+
* content:
|
|
690
|
+
* application/json:
|
|
691
|
+
* schema:
|
|
692
|
+
* type: array
|
|
693
|
+
* items:
|
|
694
|
+
* $ref: '#/components/schemas/ExternalTask'
|
|
695
|
+
*/
|
|
696
|
+
fetchAndLockExternalTasks: string;
|
|
697
|
+
/**
|
|
698
|
+
* @swagger
|
|
699
|
+
* /external_tasks/{externalTaskId}/extend_lock:
|
|
700
|
+
* put:
|
|
701
|
+
* description: Extends the lock duration of an ExternalTask by a given amount of time.
|
|
702
|
+
* tags: [ExternalTasks]
|
|
703
|
+
* parameters:
|
|
704
|
+
* - name: externalTaskId
|
|
705
|
+
* in: path
|
|
706
|
+
* description: The ID of the ExternalTask for which to extend the lock duration.
|
|
707
|
+
* required: true
|
|
708
|
+
* schema:
|
|
709
|
+
* type: string
|
|
710
|
+
* example: myExternalTask_12345678
|
|
711
|
+
* requestBody:
|
|
712
|
+
* content:
|
|
713
|
+
* application/json:
|
|
714
|
+
* required: true
|
|
715
|
+
* schema:
|
|
716
|
+
* $ref: '#/components/schemas/ExtendLockRequestPayload'
|
|
717
|
+
* responses:
|
|
718
|
+
* 204:
|
|
719
|
+
* description: Indicates the ExternalTask lock was successfully extended.
|
|
720
|
+
*/
|
|
721
|
+
extendExternalTaskLock: string;
|
|
722
|
+
/**
|
|
723
|
+
* @swagger
|
|
724
|
+
* /external_tasks/{externalTaskId}/error:
|
|
725
|
+
* put:
|
|
726
|
+
* description: Finishes the given External Task with the given Error.
|
|
727
|
+
* tags: [ExternalTasks]
|
|
728
|
+
* parameters:
|
|
729
|
+
* - name: externalTaskId
|
|
730
|
+
* in: path
|
|
731
|
+
* description: The ID of the ExternalTask for which to finish with an Error.
|
|
732
|
+
* required: true
|
|
733
|
+
* schema:
|
|
734
|
+
* type: string
|
|
735
|
+
* example: myExternalTask_12345678
|
|
736
|
+
* requestBody:
|
|
737
|
+
* content:
|
|
738
|
+
* application/json:
|
|
739
|
+
* required: true
|
|
740
|
+
* schema:
|
|
741
|
+
* $ref: '#/components/schemas/HandleExternalTaskErrorRequestPayload'
|
|
742
|
+
* responses:
|
|
743
|
+
* 204:
|
|
744
|
+
* description: Indicates the ExternalTask was successfully finished with an Error.
|
|
745
|
+
*/
|
|
746
|
+
finishExternalTaskWithError: string;
|
|
747
|
+
/**
|
|
748
|
+
* @swagger
|
|
749
|
+
* /external_tasks/{externalTaskId}/finish:
|
|
750
|
+
* put:
|
|
751
|
+
* description: Finishes the ExternalTask with the given ID.
|
|
752
|
+
* tags: [ExternalTasks]
|
|
753
|
+
* parameters:
|
|
754
|
+
* - name: externalTaskId
|
|
755
|
+
* in: path
|
|
756
|
+
* description: The ID of the ExternalTask to finish.
|
|
757
|
+
* required: true
|
|
758
|
+
* schema:
|
|
759
|
+
* type: string
|
|
760
|
+
* example: myExternalTask_12345678
|
|
761
|
+
* requestBody:
|
|
762
|
+
* content:
|
|
763
|
+
* application/json:
|
|
764
|
+
* required: true
|
|
765
|
+
* schema:
|
|
766
|
+
* $ref: '#/components/schemas/FinishExternalTaskRequestPayload'
|
|
767
|
+
* responses:
|
|
768
|
+
* 204:
|
|
769
|
+
* description: Indicates the ExternalTask was successfully finished.
|
|
770
|
+
*/
|
|
771
|
+
finishExternalTask: string;
|
|
772
|
+
/**
|
|
773
|
+
* @swagger
|
|
774
|
+
* /process_definitions:
|
|
775
|
+
* post:
|
|
776
|
+
* description: Creates or updates a ProcessDefinition or a list of ProcessDefinitions.
|
|
777
|
+
* tags: [ProcessDefinitions]
|
|
778
|
+
* requestBody:
|
|
779
|
+
* content:
|
|
780
|
+
* application/json:
|
|
781
|
+
* required: true
|
|
782
|
+
* schema:
|
|
783
|
+
* $ref: '#/components/schemas/PersistProcessDefinitionsPayload'
|
|
784
|
+
* example:
|
|
785
|
+
* xml: string | Array<string>
|
|
786
|
+
* overrideExisting: true
|
|
787
|
+
* responses:
|
|
788
|
+
* 201:
|
|
789
|
+
* description: Indicates the ProcessDefinition(s) was/were successfully persisted.
|
|
790
|
+
*/
|
|
791
|
+
persistProcessDefinitions: string;
|
|
792
|
+
/**
|
|
793
|
+
* @swagger
|
|
794
|
+
* /process_definitions:
|
|
795
|
+
* get:
|
|
796
|
+
* description: Gets all ProcessDefinitions the requesting user is allowed to see.
|
|
797
|
+
* tags: [ProcessDefinitions]
|
|
798
|
+
* parameters:
|
|
799
|
+
* - name: offset
|
|
800
|
+
* in: query
|
|
801
|
+
* description: The index of the first ProcessDefinition to include.
|
|
802
|
+
* required: false
|
|
803
|
+
* schema:
|
|
804
|
+
* type: number
|
|
805
|
+
* example: 0
|
|
806
|
+
* - name: limit
|
|
807
|
+
* in: query
|
|
808
|
+
* description: The maximum number of ProcessDefinitions to include.
|
|
809
|
+
* required: false
|
|
810
|
+
* schema:
|
|
811
|
+
* type: number
|
|
812
|
+
* example: 10
|
|
813
|
+
* responses:
|
|
814
|
+
* 200:
|
|
815
|
+
* description: A list of ProcessDefinitions.
|
|
816
|
+
* content:
|
|
817
|
+
* application/json:
|
|
818
|
+
* schema:
|
|
819
|
+
* $ref: '#/components/schemas/ProcessDefinitionList'
|
|
820
|
+
*/
|
|
821
|
+
getProcessDefinitions: string;
|
|
822
|
+
/**
|
|
823
|
+
* @swagger
|
|
824
|
+
* /process_definitions/{processDefinitionId}:
|
|
825
|
+
* get:
|
|
826
|
+
* description: Gets a ProcessDefinition by its id.
|
|
827
|
+
* tags: [ProcessDefinitions]
|
|
828
|
+
* parameters:
|
|
829
|
+
* - name: processDefinitionId
|
|
830
|
+
* in: path
|
|
831
|
+
* description: The ID of the ProcessDefinition to retrieve.
|
|
832
|
+
* required: true
|
|
833
|
+
* schema:
|
|
834
|
+
* type: string
|
|
835
|
+
* example: myProcess_12345678
|
|
836
|
+
* responses:
|
|
837
|
+
* 200:
|
|
838
|
+
* description: A ProcessDefinitions.
|
|
839
|
+
* content:
|
|
840
|
+
* application/json:
|
|
841
|
+
* schema:
|
|
842
|
+
* $ref: '#/components/schemas/ProcessDefinition'
|
|
843
|
+
*/
|
|
844
|
+
getProcessDefinitionById: string;
|
|
845
|
+
/**
|
|
846
|
+
* @swagger
|
|
847
|
+
* /process_definitions/{processDefinitionId}:
|
|
848
|
+
* delete:
|
|
849
|
+
* description: Deletes the ProcessDefinition with the given ID.
|
|
850
|
+
* tags: [ProcessDefinitions]
|
|
851
|
+
* parameters:
|
|
852
|
+
* - name: processDefinitionId
|
|
853
|
+
* in: path
|
|
854
|
+
* description: The ID of the ProcessDefinition to delete.
|
|
855
|
+
* required: true
|
|
856
|
+
* schema:
|
|
857
|
+
* type: string
|
|
858
|
+
* example: myProcess_12345678
|
|
859
|
+
* - name: delete_all_related_data
|
|
860
|
+
* in: query
|
|
861
|
+
* description: If set to true, all ProcessInstances and ProcessModels related to the ProcessDefinition will be deleted as well.
|
|
862
|
+
* required: false
|
|
863
|
+
* schema:
|
|
864
|
+
* type: boolean
|
|
865
|
+
* example: true
|
|
866
|
+
* responses:
|
|
867
|
+
* 204:
|
|
868
|
+
* description: Indicates the ProcessDefinition was successfully deleted.
|
|
869
|
+
*/
|
|
870
|
+
deleteProcessDefinition: string;
|
|
871
|
+
/**
|
|
872
|
+
* @swagger
|
|
873
|
+
* /process_models:
|
|
874
|
+
* get:
|
|
875
|
+
* description: Gets all currently deployed Process Models.
|
|
876
|
+
* tags: [ProcessModels]
|
|
877
|
+
* responses:
|
|
878
|
+
* 200:
|
|
879
|
+
* content:
|
|
880
|
+
* application/json:
|
|
881
|
+
* schema:
|
|
882
|
+
* $ref: '#/components/schemas/ProcessModelList'
|
|
883
|
+
*/
|
|
884
|
+
getAllProcessModels: string;
|
|
885
|
+
/**
|
|
886
|
+
* @swagger
|
|
887
|
+
* /process_models/{processModelId}/:
|
|
888
|
+
* get:
|
|
889
|
+
* description: Gets a deployed Process Model by its ID.
|
|
890
|
+
* tags: [ProcessModels]
|
|
891
|
+
* parameters:
|
|
892
|
+
* - name: processModelId
|
|
893
|
+
* in: path
|
|
894
|
+
* description: The ID of the ProcessModel to retrieve.
|
|
895
|
+
* required: true
|
|
896
|
+
* schema:
|
|
897
|
+
* type: string
|
|
898
|
+
* example: myProcess_12345678
|
|
899
|
+
* responses:
|
|
900
|
+
* 200:
|
|
901
|
+
* content:
|
|
902
|
+
* application/json:
|
|
903
|
+
* schema:
|
|
904
|
+
* $ref: '#/components/schemas/ProcessModel'
|
|
905
|
+
*/
|
|
906
|
+
getProcessModelById: string;
|
|
907
|
+
/**
|
|
908
|
+
* @swagger
|
|
909
|
+
* /process_models/{processModelId}/process_definition:
|
|
910
|
+
* get:
|
|
911
|
+
* description: Gets a ProcessDefinition for a given ProcessModel.
|
|
912
|
+
* tags: [ProcessModels]
|
|
913
|
+
* parameters:
|
|
914
|
+
* - name: processModelId
|
|
915
|
+
* in: path
|
|
916
|
+
* description: The ID of the ProcessModel for which to retrieve the ProcessDefinition.
|
|
917
|
+
* required: true
|
|
918
|
+
* schema:
|
|
919
|
+
* type: string
|
|
920
|
+
* example: myProcess_12345678
|
|
921
|
+
* responses:
|
|
922
|
+
* 200:
|
|
923
|
+
* content:
|
|
924
|
+
* application/json:
|
|
925
|
+
* schema:
|
|
926
|
+
* $ref: '#/components/schemas/ProcessDefinition'
|
|
927
|
+
*/
|
|
928
|
+
getProcessDefinitionForProcessModel: string;
|
|
929
|
+
/**
|
|
930
|
+
* @swagger
|
|
931
|
+
* /process_models/{processModelId}/start:
|
|
932
|
+
* post:
|
|
933
|
+
* description: Starts a new instance from the given set of parameters.
|
|
934
|
+
* tags: [ProcessModels]
|
|
935
|
+
* parameters:
|
|
936
|
+
* - name: processModelId
|
|
937
|
+
* in: path
|
|
938
|
+
* description: The ID of the ProcessModel for which to start a new instance.
|
|
939
|
+
* required: true
|
|
940
|
+
* schema:
|
|
941
|
+
* type: string
|
|
942
|
+
* example: myProcess_12345678
|
|
943
|
+
* requestBody:
|
|
944
|
+
* content:
|
|
945
|
+
* application/json:
|
|
946
|
+
* required: true
|
|
947
|
+
* schema:
|
|
948
|
+
* $ref: '#/components/schemas/ProcessStartRequest'
|
|
949
|
+
* responses:
|
|
950
|
+
* 200:
|
|
951
|
+
* content:
|
|
952
|
+
* application/json:
|
|
953
|
+
* schema:
|
|
954
|
+
* $ref: '#/components/schemas/ProcessStartResponse'
|
|
955
|
+
*/
|
|
956
|
+
startProcessInstance: string;
|
|
957
|
+
/**
|
|
958
|
+
* @swagger
|
|
959
|
+
* /process_models/{processModelId}:
|
|
960
|
+
* delete:
|
|
961
|
+
* description: Deletes the ProcessDefinition that contains the Process Model with the given ID.
|
|
962
|
+
* tags: [ProcessModels]
|
|
963
|
+
* parameters:
|
|
964
|
+
* - name: processModelId
|
|
965
|
+
* in: path
|
|
966
|
+
* description: The ID of the ProcessModel for which to delete the ProcessDefinition.
|
|
967
|
+
* required: true
|
|
968
|
+
* schema:
|
|
969
|
+
* type: string
|
|
970
|
+
* example: myProcess_12345678
|
|
971
|
+
* - name: delete_all_related_data
|
|
972
|
+
* in: query
|
|
973
|
+
* description: If set to true, all ProcessInstances related to the ProcessDefinition will be deleted as well.
|
|
974
|
+
* required: false
|
|
975
|
+
* schema:
|
|
976
|
+
* type: boolean
|
|
977
|
+
* example: true
|
|
978
|
+
* responses:
|
|
979
|
+
* 204:
|
|
980
|
+
* description: Indicates the ProcessDefinition was successfully deleted.
|
|
981
|
+
*/
|
|
982
|
+
deleteProcessDefinitionByProcessModelId: string;
|
|
983
|
+
/**
|
|
984
|
+
* @swagger
|
|
985
|
+
* /process_models/{processModelId}/enable:
|
|
986
|
+
* post:
|
|
987
|
+
* description: Enables the given Process Model.
|
|
988
|
+
* tags: [ProcessModels]
|
|
989
|
+
* parameters:
|
|
990
|
+
* - name: processModelId
|
|
991
|
+
* in: path
|
|
992
|
+
* description: The ID of the ProcessModel to enable.
|
|
993
|
+
* required: true
|
|
994
|
+
* schema:
|
|
995
|
+
* type: string
|
|
996
|
+
* example: myProcess_12345678
|
|
997
|
+
* responses:
|
|
998
|
+
* 204:
|
|
999
|
+
* description: Indicates the ProcessModel was successfully enabled.
|
|
1000
|
+
*/
|
|
1001
|
+
enableProcessModel: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* @swagger
|
|
1004
|
+
* /process_models/{processModelId}/disable:
|
|
1005
|
+
* post:
|
|
1006
|
+
* description: Disables the given Process Model.
|
|
1007
|
+
* tags: [ProcessModels]
|
|
1008
|
+
* parameters:
|
|
1009
|
+
* - name: processModelId
|
|
1010
|
+
* in: path
|
|
1011
|
+
* description: The ID of the ProcessModel to disable.
|
|
1012
|
+
* required: true
|
|
1013
|
+
* schema:
|
|
1014
|
+
* type: string
|
|
1015
|
+
* example: myProcess_12345678
|
|
1016
|
+
* responses:
|
|
1017
|
+
* 204:
|
|
1018
|
+
* description: Indicates the ProcessModel was successfully disabled
|
|
1019
|
+
*/
|
|
1020
|
+
disableProcessModel: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* @swagger
|
|
1023
|
+
* /process_instances/query:
|
|
1024
|
+
* get:
|
|
1025
|
+
* description: Gets all ProcessInstances that match the given query.
|
|
1026
|
+
* tags: [ProcessInstances]
|
|
1027
|
+
* parameters:
|
|
1028
|
+
* - name: offset
|
|
1029
|
+
* in: query
|
|
1030
|
+
* description: The index of the first ProcessInstance to include in the result set.
|
|
1031
|
+
* required: false
|
|
1032
|
+
* schema:
|
|
1033
|
+
* type: number
|
|
1034
|
+
* example: 0
|
|
1035
|
+
* - name: limit
|
|
1036
|
+
* in: query
|
|
1037
|
+
* description: The maximum number of ProcessInstances to return.
|
|
1038
|
+
* required: false
|
|
1039
|
+
* schema:
|
|
1040
|
+
* type: number
|
|
1041
|
+
* example: 10
|
|
1042
|
+
* - name: correlationId
|
|
1043
|
+
* in: query
|
|
1044
|
+
* description: Filter by the CorrelationId of the ProcessInstances.
|
|
1045
|
+
* required: false
|
|
1046
|
+
* schema:
|
|
1047
|
+
* type: Array<string> | string | SearchQuery
|
|
1048
|
+
* oneOf:
|
|
1049
|
+
* - type: string
|
|
1050
|
+
* example: myCorrelationId
|
|
1051
|
+
* - type: Array<string>
|
|
1052
|
+
* example: ['myCorrelationId1', 'myCorrelationId2']
|
|
1053
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1054
|
+
* - name: processInstanceId
|
|
1055
|
+
* in: query
|
|
1056
|
+
* description: Filter by the ID of the ProcessInstances.
|
|
1057
|
+
* schema:
|
|
1058
|
+
* type: Array<string> | string | SearchQuery
|
|
1059
|
+
* oneOf:
|
|
1060
|
+
* - type: string
|
|
1061
|
+
* example: myProcessInstance_12345678
|
|
1062
|
+
* - type: Array<string>
|
|
1063
|
+
* example: ['myProcessInstance_12345678', 'myProcessInstance_87654321']
|
|
1064
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1065
|
+
* - name: processDefinitionId
|
|
1066
|
+
* in: query
|
|
1067
|
+
* description: Filter by the ID of the ProcessDefinition that the ProcessInstances belong to.
|
|
1068
|
+
* schema:
|
|
1069
|
+
* type: Array<string> | string | SearchQuery
|
|
1070
|
+
* oneOf:
|
|
1071
|
+
* - type: string
|
|
1072
|
+
* example: myProcess_12345678
|
|
1073
|
+
* - type: Array<string>
|
|
1074
|
+
* example: ['myProcess_12345678', 'myProcess_87654321']
|
|
1075
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1076
|
+
* - name: processModelId
|
|
1077
|
+
* in: query
|
|
1078
|
+
* description: Filter by the ID of the ProcessModel that the ProcessInstances belong to.
|
|
1079
|
+
* schema:
|
|
1080
|
+
* type: Array<string> | string | SearchQuery
|
|
1081
|
+
* oneOf:
|
|
1082
|
+
* - type: string
|
|
1083
|
+
* example: myProcessModel_12345678
|
|
1084
|
+
* - type: Array<string>
|
|
1085
|
+
* example: ['myProcessModel_12345678', 'myProcessModel_87654321']
|
|
1086
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1087
|
+
* - name: processModelName
|
|
1088
|
+
* in: query
|
|
1089
|
+
* description: Filter by the name of the ProcessModel that the ProcessInstances belong to.
|
|
1090
|
+
* schema:
|
|
1091
|
+
* type: Array<string> | string | SearchQuery
|
|
1092
|
+
* oneOf:
|
|
1093
|
+
* - type: string
|
|
1094
|
+
* example: My Process Model
|
|
1095
|
+
* - type: Array<string>
|
|
1096
|
+
* example: ['My Process Model', 'My Other Process Model']
|
|
1097
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1098
|
+
* - name: processModelHash
|
|
1099
|
+
* in: query
|
|
1100
|
+
* description: Filter by the hash of the ProcessModel that the ProcessInstances belong to.
|
|
1101
|
+
* schema:
|
|
1102
|
+
* type: Array<string> | string | SearchQuery
|
|
1103
|
+
* oneOf:
|
|
1104
|
+
* - type: string
|
|
1105
|
+
* example: 12345678
|
|
1106
|
+
* - type: Array<string>
|
|
1107
|
+
* example: ['12345678', '87654321']
|
|
1108
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1109
|
+
* - name: ownerId
|
|
1110
|
+
* in: query
|
|
1111
|
+
* description: Filter by the ID of the User that owns the ProcessInstances.
|
|
1112
|
+
* schema:
|
|
1113
|
+
* type: Array<string> | string | SearchQuery
|
|
1114
|
+
* oneOf:
|
|
1115
|
+
* - type: string
|
|
1116
|
+
* example: 12345678
|
|
1117
|
+
* - type: Array<string>
|
|
1118
|
+
* example: ['12345678', '87654321']
|
|
1119
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1120
|
+
* - name: state
|
|
1121
|
+
* in: query
|
|
1122
|
+
* description: Filter by the state of the ProcessInstances.
|
|
1123
|
+
* schema:
|
|
1124
|
+
* type: Array<string> | string | SearchQuery
|
|
1125
|
+
* oneOf:
|
|
1126
|
+
* - type: string
|
|
1127
|
+
* example: running
|
|
1128
|
+
* - type: Array<string>
|
|
1129
|
+
* example: ['running', 'finished']
|
|
1130
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1131
|
+
* - name: parentProcessInstanceId
|
|
1132
|
+
* in: query
|
|
1133
|
+
* description: Filter by the ID of the parent ProcessInstance.
|
|
1134
|
+
* schema:
|
|
1135
|
+
* type: Array<string> | string | SearchQuery
|
|
1136
|
+
* oneOf:
|
|
1137
|
+
* - type: string
|
|
1138
|
+
* example: myParentProcessInstance_12345678
|
|
1139
|
+
* - type: Array<string>
|
|
1140
|
+
* example: ['myParentProcessInstance_12345678', 'myParentProcessInstance_87654321']
|
|
1141
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1142
|
+
* - name: terminatedByUserId
|
|
1143
|
+
* in: query
|
|
1144
|
+
* description: Filter by the ID of the User that terminated the ProcessInstances.
|
|
1145
|
+
* schema:
|
|
1146
|
+
* type: Array<string> | string | SearchQuery
|
|
1147
|
+
* oneOf:
|
|
1148
|
+
* - type: string
|
|
1149
|
+
* example: 12345678
|
|
1150
|
+
* - type: Array<string>
|
|
1151
|
+
* example: ['12345678', '87654321']
|
|
1152
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1153
|
+
* - name: createdBefore
|
|
1154
|
+
* in: query
|
|
1155
|
+
* description: The maximum created date of the ProcessInstances to include in the results.
|
|
1156
|
+
* schema:
|
|
1157
|
+
* type: string
|
|
1158
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1159
|
+
* - name: createdAt
|
|
1160
|
+
* in: query
|
|
1161
|
+
* description: The minimum created date of the ProcessInstances to include in the results.
|
|
1162
|
+
* schema:
|
|
1163
|
+
* type: Array<string> | string
|
|
1164
|
+
* oneOf:
|
|
1165
|
+
* - type: string
|
|
1166
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1167
|
+
* - type: array
|
|
1168
|
+
* items:
|
|
1169
|
+
* type: string
|
|
1170
|
+
* example: ['2021-01-01T00:00:00.000Z', '2021-01-02T00:00:00.000Z']
|
|
1171
|
+
* - name: createdAfter
|
|
1172
|
+
* in: query
|
|
1173
|
+
* description: The minimum created date of the ProcessInstances to include in the results.
|
|
1174
|
+
* schema:
|
|
1175
|
+
* type: string
|
|
1176
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1177
|
+
* - name: updatedBefore
|
|
1178
|
+
* in: query
|
|
1179
|
+
* description: The maximum updated date of the ProcessInstances to include in the results.
|
|
1180
|
+
* schema:
|
|
1181
|
+
* type: string
|
|
1182
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1183
|
+
* - name: updatedAt
|
|
1184
|
+
* in: query
|
|
1185
|
+
* description: The exact updated date of the ProcessInstances to include in the results.
|
|
1186
|
+
* schema:
|
|
1187
|
+
* type: Array<string> | string
|
|
1188
|
+
* oneOf:
|
|
1189
|
+
* - type: string
|
|
1190
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1191
|
+
* - type: array
|
|
1192
|
+
* items:
|
|
1193
|
+
* type: string
|
|
1194
|
+
* example: ['2021-01-01T00:00:00.000Z', '2021-01-02T00:00:00.000Z']
|
|
1195
|
+
* - name: updatedAfter
|
|
1196
|
+
* in: query
|
|
1197
|
+
* description: The minimum updated date of the ProcessInstances to include in the results.
|
|
1198
|
+
* schema:
|
|
1199
|
+
* type: string
|
|
1200
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1201
|
+
* - name: finishedBefore
|
|
1202
|
+
* in: query
|
|
1203
|
+
* description: The maximum finished date of the ProcessInstances to include in the results.
|
|
1204
|
+
* schema:
|
|
1205
|
+
* type: string
|
|
1206
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1207
|
+
* - name: finishedAt
|
|
1208
|
+
* in: query
|
|
1209
|
+
* description: The exact finished date of the ProcessInstances to include in the results.
|
|
1210
|
+
* schema:
|
|
1211
|
+
* type: Array<string> | string
|
|
1212
|
+
* oneOf:
|
|
1213
|
+
* - type: string
|
|
1214
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1215
|
+
* - type: array
|
|
1216
|
+
* items:
|
|
1217
|
+
* type: string
|
|
1218
|
+
* example: ['2021-01-01T00:00:00.000Z', '2021-01-02T00:00:00.000Z']
|
|
1219
|
+
* - name: finishedAfter
|
|
1220
|
+
* in: query
|
|
1221
|
+
* description: The minimum finished date of the ProcessInstances to include in the results.
|
|
1222
|
+
* schema:
|
|
1223
|
+
* type: string
|
|
1224
|
+
* example: 2021-01-01T00:00:00.000Z
|
|
1225
|
+
* - name: triggeredByFlowNodeInstance
|
|
1226
|
+
* in: query
|
|
1227
|
+
* description: Filter by the ID of the FlowNodeInstance that triggered the ProcessInstance.
|
|
1228
|
+
* schema:
|
|
1229
|
+
* type: Array<string> | string | SearchQuery
|
|
1230
|
+
* oneOf:
|
|
1231
|
+
* - type: string
|
|
1232
|
+
* example: myFlowNodeInstance_12345678
|
|
1233
|
+
* - type: array
|
|
1234
|
+
* items:
|
|
1235
|
+
* type: string
|
|
1236
|
+
* example: ['myFlowNodeInstance_12345678', 'myFlowNodeInstance_87654321']
|
|
1237
|
+
* - $ref: '#/components/schemas/SearchQuery'
|
|
1238
|
+
* responses:
|
|
1239
|
+
* 200:
|
|
1240
|
+
* content:
|
|
1241
|
+
* application/json:
|
|
1242
|
+
* schema:
|
|
1243
|
+
* $ref: '#/components/schemas/ProcessInstanceList'
|
|
1244
|
+
*/
|
|
1245
|
+
queryProcessInstances: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* @swagger
|
|
1248
|
+
* /process_instances/{processInstanceId}/find_children:
|
|
1249
|
+
* get:
|
|
1250
|
+
* description: Gets all child ProcessInstances ids for a given ProcessInstance.
|
|
1251
|
+
* tags: [ProcessInstances]
|
|
1252
|
+
* parameters:
|
|
1253
|
+
* - name: processInstanceId
|
|
1254
|
+
* in: path
|
|
1255
|
+
* description: The ID of the ProcessInstance for which the child ProcessInstances should be retrieved.
|
|
1256
|
+
* required: true
|
|
1257
|
+
* schema:
|
|
1258
|
+
* type: string
|
|
1259
|
+
* example: 12345678
|
|
1260
|
+
* - name: parentFlowNodeType
|
|
1261
|
+
* in: query
|
|
1262
|
+
* description: Either bpmn:SubProcess or bpmn:CallActivity. Used to filter the type of child process between embedded and not embedded ones.
|
|
1263
|
+
* required: false
|
|
1264
|
+
* schema:
|
|
1265
|
+
* type: string
|
|
1266
|
+
* example: bpmn:SubProcess
|
|
1267
|
+
* - name: includeNested
|
|
1268
|
+
* in: query
|
|
1269
|
+
* description: Indicates whether only direct children or recursively all descendants will be returned.
|
|
1270
|
+
* required: false
|
|
1271
|
+
* schema:
|
|
1272
|
+
* type: boolean
|
|
1273
|
+
* example: true
|
|
1274
|
+
* default: false
|
|
1275
|
+
* responses:
|
|
1276
|
+
* 200:
|
|
1277
|
+
* content:
|
|
1278
|
+
* application/json:
|
|
1279
|
+
* schema:
|
|
1280
|
+
* type: Array<string>
|
|
1281
|
+
* example: ["12345678","12345679"]
|
|
1282
|
+
*/
|
|
1283
|
+
getChildProcessInstanceIds: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* @swagger
|
|
1286
|
+
* /process_instances/{processInstanceId}/find_ancestors:
|
|
1287
|
+
* get:
|
|
1288
|
+
* description: Gets all ancestor ProcessInstances Ids for a given ProcessInstance. The first list entry is the most distant ancestor, while the last entry is the direct parent ProcessInstance.
|
|
1289
|
+
* tags: [ProcessInstances]
|
|
1290
|
+
* parameters:
|
|
1291
|
+
* - name: processInstanceId
|
|
1292
|
+
* in: path
|
|
1293
|
+
* description: The ID of the ProcessInstance for which the ancestor ProcessInstances should be retrieved.
|
|
1294
|
+
* required: true
|
|
1295
|
+
* schema:
|
|
1296
|
+
* type: string
|
|
1297
|
+
* example: 12345678
|
|
1298
|
+
* - name: onlyForEmbeddedProcesses
|
|
1299
|
+
* in: query
|
|
1300
|
+
* description: When set to true, it returns all ancestors up to the first not-embedded process. Else it returns the whole chain of ancestor ProcessInstances.
|
|
1301
|
+
* required: false
|
|
1302
|
+
* schema:
|
|
1303
|
+
* type: boolean
|
|
1304
|
+
* example: true
|
|
1305
|
+
* responses:
|
|
1306
|
+
* 200:
|
|
1307
|
+
* content:
|
|
1308
|
+
* application/json:
|
|
1309
|
+
* schema:
|
|
1310
|
+
* type: Array<string>
|
|
1311
|
+
* example: ["12345678","12345679"]
|
|
1312
|
+
*/
|
|
1313
|
+
getAncestorProcessInstanceIds: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* @swagger
|
|
1316
|
+
* /process_instances/{processInstanceId}/process_definition:
|
|
1317
|
+
* get:
|
|
1318
|
+
* description: Gets the ProcessDefinition for a given ProcessInstance.
|
|
1319
|
+
* tags: [ProcessInstances]
|
|
1320
|
+
* parameters:
|
|
1321
|
+
* - name: processInstanceId
|
|
1322
|
+
* in: path
|
|
1323
|
+
* description: The ID of the ProcessInstance for which the ProcessDefinition should be retrieved.
|
|
1324
|
+
* required: true
|
|
1325
|
+
* schema:
|
|
1326
|
+
* type: string
|
|
1327
|
+
* example: 12345678
|
|
1328
|
+
* responses:
|
|
1329
|
+
* 200:
|
|
1330
|
+
* content:
|
|
1331
|
+
* application/json:
|
|
1332
|
+
* schema:
|
|
1333
|
+
* $ref: '#/components/schemas/ProcessDefinition'
|
|
1334
|
+
*/
|
|
1335
|
+
getProcessDefinitionForProcessInstance: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* @swagger
|
|
1338
|
+
* /process_instances/{processInstanceId}/process_model:
|
|
1339
|
+
* get:
|
|
1340
|
+
* description: Gets the ProcessModel for a given ProcessInstance.
|
|
1341
|
+
* tags: [ProcessInstances]
|
|
1342
|
+
* parameters:
|
|
1343
|
+
* - name: processInstanceId
|
|
1344
|
+
* in: path
|
|
1345
|
+
* description: The ID of the ProcessInstance for which the ProcessModel should be retrieved.
|
|
1346
|
+
* required: true
|
|
1347
|
+
* schema:
|
|
1348
|
+
* type: string
|
|
1349
|
+
* example: 12345678
|
|
1350
|
+
* responses:
|
|
1351
|
+
* 200:
|
|
1352
|
+
* content:
|
|
1353
|
+
* application/json:
|
|
1354
|
+
* schema:
|
|
1355
|
+
* $ref: '#/components/schemas/ProcessModel'
|
|
1356
|
+
*/
|
|
1357
|
+
getProcessModelForProcessInstance: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* @swagger
|
|
1360
|
+
* /process_instances/{processInstanceId}/change_owner:
|
|
1361
|
+
* post:
|
|
1362
|
+
* description: Changes the owner of the ProcessInstance with the given ID.
|
|
1363
|
+
* tags: [ProcessInstances]
|
|
1364
|
+
* parameters:
|
|
1365
|
+
* - name: processInstanceId
|
|
1366
|
+
* in: path
|
|
1367
|
+
* description: The ID of the ProcessInstance for which the owner should be changed.
|
|
1368
|
+
* required: true
|
|
1369
|
+
* schema:
|
|
1370
|
+
* type: string
|
|
1371
|
+
* example: 12345678
|
|
1372
|
+
* requestBody:
|
|
1373
|
+
* content:
|
|
1374
|
+
* application/json:
|
|
1375
|
+
* required: true
|
|
1376
|
+
* schema:
|
|
1377
|
+
* type: object
|
|
1378
|
+
* properties:
|
|
1379
|
+
* newOwner:
|
|
1380
|
+
* description: The new owner of the ProcessInstance.
|
|
1381
|
+
* $ref: '#/components/schemas/Identity'
|
|
1382
|
+
* required: true
|
|
1383
|
+
* responses:
|
|
1384
|
+
* 204:
|
|
1385
|
+
* description: Indicates the ProcessInstance owner was changed successfully.
|
|
1386
|
+
*/
|
|
1387
|
+
changeProcessInstanceOwner: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* @swagger
|
|
1390
|
+
* /process_instances/{processInstanceId}/terminate:
|
|
1391
|
+
* put:
|
|
1392
|
+
* description: Terminates the ProcessInstance with the given ID.
|
|
1393
|
+
* tags: [ProcessInstances]
|
|
1394
|
+
* parameters:
|
|
1395
|
+
* - name: processInstanceId
|
|
1396
|
+
* in: path
|
|
1397
|
+
* description: The ID of the ProcessInstance to terminate.
|
|
1398
|
+
* required: true
|
|
1399
|
+
* schema:
|
|
1400
|
+
* type: string
|
|
1401
|
+
* example: 12345678
|
|
1402
|
+
* responses:
|
|
1403
|
+
* 204:
|
|
1404
|
+
* description: Indicates the ProcessInstance was terminated successfully.
|
|
1405
|
+
*/
|
|
1406
|
+
terminateProcessInstances: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* @swagger
|
|
1409
|
+
* /process_instances/{processInstanceId}/retry:
|
|
1410
|
+
* put:
|
|
1411
|
+
* description: Retries a failed or terminated Process Instance from the original point of failure.
|
|
1412
|
+
* tags: [ProcessInstances]
|
|
1413
|
+
* parameters:
|
|
1414
|
+
* - name: processInstanceId
|
|
1415
|
+
* in: path
|
|
1416
|
+
* description: The ID of the ProcessInstance to retry.
|
|
1417
|
+
* required: true
|
|
1418
|
+
* schema:
|
|
1419
|
+
* type: string
|
|
1420
|
+
* example: 12345678
|
|
1421
|
+
* - name: flow_node_instance_id
|
|
1422
|
+
* in: query
|
|
1423
|
+
* description: The ID of the FlowNodeInstance to retry from.
|
|
1424
|
+
* schema:
|
|
1425
|
+
* type: string
|
|
1426
|
+
* example: 12345678
|
|
1427
|
+
* requestBody:
|
|
1428
|
+
* content:
|
|
1429
|
+
* application/json:
|
|
1430
|
+
* required: false
|
|
1431
|
+
* schema:
|
|
1432
|
+
* type: object
|
|
1433
|
+
* properties:
|
|
1434
|
+
* newStartToken:
|
|
1435
|
+
* type: object
|
|
1436
|
+
* description: The new start token for the ProcessInstance.
|
|
1437
|
+
* required: false
|
|
1438
|
+
* responses:
|
|
1439
|
+
* 204:
|
|
1440
|
+
* description: Indicates the ProcessInstance was retried successfully.
|
|
1441
|
+
*/
|
|
1442
|
+
retryProcessInstance: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* @swagger
|
|
1445
|
+
* /process_instances:
|
|
1446
|
+
* delete:
|
|
1447
|
+
* description: Deletes the given Set of Process Instances. Multiple ProcessInstanceIds can be provided with ";" as separator.
|
|
1448
|
+
* tags: [ProcessInstances]
|
|
1449
|
+
* parameters:
|
|
1450
|
+
* - name: process_instance_ids
|
|
1451
|
+
* in: query
|
|
1452
|
+
* description: The IDs of the ProcessInstances to delete.
|
|
1453
|
+
* required: true
|
|
1454
|
+
* schema:
|
|
1455
|
+
* type: string | Array<string>
|
|
1456
|
+
* oneOf:
|
|
1457
|
+
* - type: string
|
|
1458
|
+
* example: 12345678
|
|
1459
|
+
* - type: Array<string>
|
|
1460
|
+
* example: [12345678, 87654321]
|
|
1461
|
+
* - name: delete_all_related_data
|
|
1462
|
+
* in: query
|
|
1463
|
+
* description: Flag to indicate whether all related data should be deleted as well.
|
|
1464
|
+
* required: false
|
|
1465
|
+
* schema:
|
|
1466
|
+
* type: boolean
|
|
1467
|
+
* example: true
|
|
1468
|
+
* responses:
|
|
1469
|
+
* 204:
|
|
1470
|
+
* description: Indicates the ProcessInstances were deleted successfully.
|
|
1471
|
+
*/
|
|
1472
|
+
deleteProcessInstances: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* @swagger
|
|
1475
|
+
* /notifications/long_polling/cronjob_created:
|
|
1476
|
+
* get:
|
|
1477
|
+
* description: Wait for a CronjobCreated notification and resolves with the notification's content.
|
|
1478
|
+
* tags: [Notifications]
|
|
1479
|
+
* responses:
|
|
1480
|
+
* 200:
|
|
1481
|
+
* content:
|
|
1482
|
+
* application/json:
|
|
1483
|
+
* schema:
|
|
1484
|
+
* $ref: '#/components/schemas/CronjobEventMessage'
|
|
1485
|
+
*/
|
|
1486
|
+
onCronjobCreated: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* @swagger
|
|
1489
|
+
* /notifications/long_polling/cronjob_executed:
|
|
1490
|
+
* get:
|
|
1491
|
+
* description: Wait for a CronjobExecuted notification and resolves with the notification's content.
|
|
1492
|
+
* tags: [Notifications]
|
|
1493
|
+
* responses:
|
|
1494
|
+
* 200:
|
|
1495
|
+
* content:
|
|
1496
|
+
* application/json:
|
|
1497
|
+
* schema:
|
|
1498
|
+
* $ref: '#/components/schemas/CronjobEventMessage'
|
|
1499
|
+
*/
|
|
1500
|
+
onCronjobExecuted: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* @swagger
|
|
1503
|
+
* /notifications/long_polling/cronjob_stopped:
|
|
1504
|
+
* get:
|
|
1505
|
+
* description: Wait for a CronjobStopped notification and resolves with the notification's content.
|
|
1506
|
+
* tags: [Notifications]
|
|
1507
|
+
* responses:
|
|
1508
|
+
* 200:
|
|
1509
|
+
* content:
|
|
1510
|
+
* application/json:
|
|
1511
|
+
* schema:
|
|
1512
|
+
* $ref: '#/components/schemas/CronjobEventMessage'
|
|
1513
|
+
*/
|
|
1514
|
+
onCronjobStopped: string;
|
|
1515
|
+
/**
|
|
1516
|
+
* @swagger
|
|
1517
|
+
* /notifications/long_polling/cronjob_updated:
|
|
1518
|
+
* get:
|
|
1519
|
+
* description: Wait for a CronjobUpdated notification and resolves with the notification's content.
|
|
1520
|
+
* tags: [Notifications]
|
|
1521
|
+
* responses:
|
|
1522
|
+
* 200:
|
|
1523
|
+
* content:
|
|
1524
|
+
* application/json:
|
|
1525
|
+
* schema:
|
|
1526
|
+
* $ref: '#/components/schemas/CronjobEventMessage'
|
|
1527
|
+
*/
|
|
1528
|
+
onCronjobUpdated: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* @swagger
|
|
1531
|
+
* /notifications/long_polling/cronjob_removed:
|
|
1532
|
+
* get:
|
|
1533
|
+
* description: Wait for a CronjobRemoved notification and resolves with the notification's content.
|
|
1534
|
+
* tags: [Notifications]
|
|
1535
|
+
* responses:
|
|
1536
|
+
* 200:
|
|
1537
|
+
* content:
|
|
1538
|
+
* application/json:
|
|
1539
|
+
* schema:
|
|
1540
|
+
* $ref: '#/components/schemas/CronjobEventMessage'
|
|
1541
|
+
*/
|
|
1542
|
+
onCronjobRemoved: string;
|
|
1543
|
+
/**
|
|
1544
|
+
* @swagger
|
|
1545
|
+
* /notifications/long_polling/cronjob_enabled_changed:
|
|
1546
|
+
* get:
|
|
1547
|
+
* description: Wait for a CronjobEnabledChanged notification and resolves with the notification's content.
|
|
1548
|
+
* tags: [Notifications]
|
|
1549
|
+
* responses:
|
|
1550
|
+
* 200:
|
|
1551
|
+
* content:
|
|
1552
|
+
* application/json:
|
|
1553
|
+
* schema:
|
|
1554
|
+
* $ref: '#/components/schemas/CronjobEnabledChangedMessage'
|
|
1555
|
+
*/
|
|
1556
|
+
onCronjobEnabledChanged: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* @swagger
|
|
1559
|
+
* /notifications/long_polling/process_deployed:
|
|
1560
|
+
* get:
|
|
1561
|
+
* description: Wait for a ProcessDeployed notification and resolves with the notification's content.
|
|
1562
|
+
* tags: [Notifications]
|
|
1563
|
+
* responses:
|
|
1564
|
+
* 200:
|
|
1565
|
+
* content:
|
|
1566
|
+
* application/json:
|
|
1567
|
+
* schema:
|
|
1568
|
+
* $ref: '#/components/schemas/ProcessDeploymentMessage'
|
|
1569
|
+
*/
|
|
1570
|
+
onProcessDeployed: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* @swagger
|
|
1573
|
+
* /notifications/long_polling/process_undeployed:
|
|
1574
|
+
* get:
|
|
1575
|
+
* description: Wait for a ProcessUndeployed notification and resolves with the notification's content.
|
|
1576
|
+
* tags: [Notifications]
|
|
1577
|
+
* responses:
|
|
1578
|
+
* 200:
|
|
1579
|
+
* content:
|
|
1580
|
+
* application/json:
|
|
1581
|
+
* schema:
|
|
1582
|
+
* $ref: '#/components/schemas/ProcessDeploymentMessage'
|
|
1583
|
+
*/
|
|
1584
|
+
onProcessUndeployed: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* @swagger
|
|
1587
|
+
* /notifications/long_polling/process_is_executable_changed:
|
|
1588
|
+
* get:
|
|
1589
|
+
* description: Wait for a ProcessIsExecutableChanged notification and resolves with the notification's content.
|
|
1590
|
+
* tags: [Notifications]
|
|
1591
|
+
* responses:
|
|
1592
|
+
* 200:
|
|
1593
|
+
* content:
|
|
1594
|
+
* application/json:
|
|
1595
|
+
* schema:
|
|
1596
|
+
* $ref: '#/components/schemas/ProcessIsExecutableChangedMessage'
|
|
1597
|
+
*/
|
|
1598
|
+
onProcessIsExecutableChanged: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* @swagger
|
|
1601
|
+
* /notifications/long_polling/process_starting:
|
|
1602
|
+
* get:
|
|
1603
|
+
* description: Wait for a ProcessStarting notification and resolves with the notification's content.
|
|
1604
|
+
* tags: [Notifications]
|
|
1605
|
+
* responses:
|
|
1606
|
+
* 200:
|
|
1607
|
+
* content:
|
|
1608
|
+
* application/json:
|
|
1609
|
+
* schema:
|
|
1610
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1611
|
+
*/
|
|
1612
|
+
onProcessStarting: string;
|
|
1613
|
+
/**
|
|
1614
|
+
* @swagger
|
|
1615
|
+
* /notifications/long_polling/process_started:
|
|
1616
|
+
* get:
|
|
1617
|
+
* description: Wait for a ProcessStarted notification and resolves with the notification's content.
|
|
1618
|
+
* tags: [Notifications]
|
|
1619
|
+
* responses:
|
|
1620
|
+
* 200:
|
|
1621
|
+
* content:
|
|
1622
|
+
* application/json:
|
|
1623
|
+
* schema:
|
|
1624
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1625
|
+
*/
|
|
1626
|
+
onProcessStarted: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* @swagger
|
|
1629
|
+
* /notifications/long_polling/process_resumed:
|
|
1630
|
+
* get:
|
|
1631
|
+
* description: Wait for a ProcessResumed notification and resolves with the notification's content.
|
|
1632
|
+
* tags: [Notifications]
|
|
1633
|
+
* responses:
|
|
1634
|
+
* 200:
|
|
1635
|
+
* content:
|
|
1636
|
+
* application/json:
|
|
1637
|
+
* schema:
|
|
1638
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1639
|
+
*/
|
|
1640
|
+
onProcessResumed: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* @swagger
|
|
1643
|
+
* /notifications/long_polling/process_ended:
|
|
1644
|
+
* get:
|
|
1645
|
+
* description: Wait for a ProcessEnded notification and resolves with the notification's content.
|
|
1646
|
+
* tags: [Notifications]
|
|
1647
|
+
* responses:
|
|
1648
|
+
* 200:
|
|
1649
|
+
* content:
|
|
1650
|
+
* application/json:
|
|
1651
|
+
* schema:
|
|
1652
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1653
|
+
*/
|
|
1654
|
+
onProcessEnded: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* @swagger
|
|
1657
|
+
* /notifications/long_polling/process_owner_changed:
|
|
1658
|
+
* get:
|
|
1659
|
+
* description: Wait for a ProcessOwnerChanged notification and resolves with the notification's content.
|
|
1660
|
+
* tags: [Notifications]
|
|
1661
|
+
* responses:
|
|
1662
|
+
* 200:
|
|
1663
|
+
* content:
|
|
1664
|
+
* application/json:
|
|
1665
|
+
* schema:
|
|
1666
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1667
|
+
*/
|
|
1668
|
+
onProcessOwnerChanged: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* @swagger
|
|
1671
|
+
* /notifications/long_polling/process_terminated:
|
|
1672
|
+
* get:
|
|
1673
|
+
* description: Wait for a ProcessTerminated notification and resolves with the notification's content.
|
|
1674
|
+
* tags: [Notifications]
|
|
1675
|
+
* responses:
|
|
1676
|
+
* 200:
|
|
1677
|
+
* content:
|
|
1678
|
+
* application/json:
|
|
1679
|
+
* schema:
|
|
1680
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1681
|
+
*/
|
|
1682
|
+
onProcessTerminated: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* @swagger
|
|
1685
|
+
* /notifications/long_polling/process_error:
|
|
1686
|
+
* get:
|
|
1687
|
+
* description: Wait for a ProcessError notification and resolves with the notification's content.
|
|
1688
|
+
* tags: [Notifications]
|
|
1689
|
+
* responses:
|
|
1690
|
+
* 200:
|
|
1691
|
+
* content:
|
|
1692
|
+
* application/json:
|
|
1693
|
+
* schema:
|
|
1694
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1695
|
+
*/
|
|
1696
|
+
onProcessError: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* @swagger
|
|
1699
|
+
* /notifications/long_polling/process_instances_deleted:
|
|
1700
|
+
* get:
|
|
1701
|
+
* description: Wait for a ProcessInstancesDeleted notification and resolves with the notification's content.
|
|
1702
|
+
* tags: [Notifications]
|
|
1703
|
+
* responses:
|
|
1704
|
+
* 200:
|
|
1705
|
+
* content:
|
|
1706
|
+
* application/json:
|
|
1707
|
+
* schema:
|
|
1708
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1709
|
+
*/
|
|
1710
|
+
onProcessInstancesDeleted: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* @swagger
|
|
1713
|
+
* /notifications/long_polling/external_task_created:
|
|
1714
|
+
* get:
|
|
1715
|
+
* description: Wait for an ExternalTaskCreated notification and resolves with the notification's content.
|
|
1716
|
+
* tags: [Notifications]
|
|
1717
|
+
* responses:
|
|
1718
|
+
* 200:
|
|
1719
|
+
* content:
|
|
1720
|
+
* application/json:
|
|
1721
|
+
* schema:
|
|
1722
|
+
* $ref: '#/components/schemas/ExternalTaskCreatedMessage'
|
|
1723
|
+
*/
|
|
1724
|
+
onExternalTaskCreated: string;
|
|
1725
|
+
/**
|
|
1726
|
+
* @swagger
|
|
1727
|
+
* /notifications/long_polling/external_task_locked:
|
|
1728
|
+
* get:
|
|
1729
|
+
* description: Wait for a ExternalTaskLocked notification and resolves with the notification's content.
|
|
1730
|
+
* tags: [Notifications]
|
|
1731
|
+
* responses:
|
|
1732
|
+
* 200:
|
|
1733
|
+
* content:
|
|
1734
|
+
* application/json:
|
|
1735
|
+
* schema:
|
|
1736
|
+
* $ref: '#/components/schemas/ExternalTaskLockedMessage'
|
|
1737
|
+
*/
|
|
1738
|
+
onExternalTaskLocked: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* @swagger
|
|
1741
|
+
* /notifications/long_polling/external_task_unlocked:
|
|
1742
|
+
* get:
|
|
1743
|
+
* description: Wait for a ExternalTaskUnlocked notification and resolves with the notification's content.
|
|
1744
|
+
* tags: [Notifications]
|
|
1745
|
+
* responses:
|
|
1746
|
+
* 200:
|
|
1747
|
+
* content:
|
|
1748
|
+
* application/json:
|
|
1749
|
+
* schema:
|
|
1750
|
+
* $ref: '#/components/schemas/ExternalTaskUnlockedMessage'
|
|
1751
|
+
*/
|
|
1752
|
+
onExternalTaskUnlocked: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* @swagger
|
|
1755
|
+
* /notifications/long_polling/external_task_expired:
|
|
1756
|
+
* get:
|
|
1757
|
+
* description: Wait for a ExternalTaskExpired notification and resolves with the notification's content.
|
|
1758
|
+
* tags: [Notifications]
|
|
1759
|
+
* responses:
|
|
1760
|
+
* 200:
|
|
1761
|
+
* content:
|
|
1762
|
+
* application/json:
|
|
1763
|
+
* schema:
|
|
1764
|
+
* $ref: '#/components/schemas/ExternalTaskExpiredMessage'
|
|
1765
|
+
*/
|
|
1766
|
+
onExternalTaskExpired: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* @swagger
|
|
1769
|
+
* /notifications/long_polling/activity_reached:
|
|
1770
|
+
* get:
|
|
1771
|
+
* description: Wait for an ActivityReached notification and resolves with the notification's content.
|
|
1772
|
+
* tags: [Notifications]
|
|
1773
|
+
* responses:
|
|
1774
|
+
* 200:
|
|
1775
|
+
* content:
|
|
1776
|
+
* application/json:
|
|
1777
|
+
* schema:
|
|
1778
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1779
|
+
*/
|
|
1780
|
+
onActivityReached: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* @swagger
|
|
1783
|
+
* /notifications/long_polling/activity_finished:
|
|
1784
|
+
* get:
|
|
1785
|
+
* description: Wait for an ActivityFinished notification and resolves with the notification's content.
|
|
1786
|
+
* tags: [Notifications]
|
|
1787
|
+
* responses:
|
|
1788
|
+
* 200:
|
|
1789
|
+
* content:
|
|
1790
|
+
* application/json:
|
|
1791
|
+
* schema:
|
|
1792
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1793
|
+
*/
|
|
1794
|
+
onActivityFinished: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* @swagger
|
|
1797
|
+
* /notifications/long_polling/activity_canceled:
|
|
1798
|
+
* get:
|
|
1799
|
+
* description: Wait for an ActivityCanceled notification and resolves with the notification's content.
|
|
1800
|
+
* tags: [Notifications]
|
|
1801
|
+
* responses:
|
|
1802
|
+
* 200:
|
|
1803
|
+
* content:
|
|
1804
|
+
* application/json:
|
|
1805
|
+
* schema:
|
|
1806
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1807
|
+
*/
|
|
1808
|
+
onActivityCanceled: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* @swagger
|
|
1811
|
+
* /notifications/long_polling/empty_activity_waiting:
|
|
1812
|
+
* get:
|
|
1813
|
+
* deprecated: true
|
|
1814
|
+
* description: DEPRECATED - Use `GET /notifications/long_polling/untyped_task_waiting` instead.
|
|
1815
|
+
* tags: [Notifications]
|
|
1816
|
+
* responses:
|
|
1817
|
+
* 200:
|
|
1818
|
+
* content:
|
|
1819
|
+
* application/json:
|
|
1820
|
+
* schema:
|
|
1821
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1822
|
+
*/
|
|
1823
|
+
onEmptyActivityWaiting: string;
|
|
1824
|
+
/**
|
|
1825
|
+
* @swagger
|
|
1826
|
+
* /notifications/long_polling/empty_activity_finished:
|
|
1827
|
+
* get:
|
|
1828
|
+
* deprecated: true
|
|
1829
|
+
* description: DEPRECATED - Use `GET /notifications/long_polling/untyped_task_finished` instead.
|
|
1830
|
+
* tags: [Notifications]
|
|
1831
|
+
* responses:
|
|
1832
|
+
* 200:
|
|
1833
|
+
* content:
|
|
1834
|
+
* application/json:
|
|
1835
|
+
* schema:
|
|
1836
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1837
|
+
*/
|
|
1838
|
+
onEmptyActivityFinished: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* @swagger
|
|
1841
|
+
* /notifications/long_polling/untyped_task_waiting:
|
|
1842
|
+
* get:
|
|
1843
|
+
* description: Wait for an UntypedTaskWaiting notification and resolves with the notification's content.
|
|
1844
|
+
* tags: [Notifications]
|
|
1845
|
+
* responses:
|
|
1846
|
+
* 200:
|
|
1847
|
+
* content:
|
|
1848
|
+
* application/json:
|
|
1849
|
+
* schema:
|
|
1850
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1851
|
+
*/
|
|
1852
|
+
onUntypedTaskWaiting: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* @swagger
|
|
1855
|
+
* /notifications/long_polling/untyped_task_finished:
|
|
1856
|
+
* get:
|
|
1857
|
+
* description: Wait for an UntypedTaskFinished notification and resolves with the notification's content.
|
|
1858
|
+
* tags: [Notifications]
|
|
1859
|
+
* responses:
|
|
1860
|
+
* 200:
|
|
1861
|
+
* content:
|
|
1862
|
+
* application/json:
|
|
1863
|
+
* schema:
|
|
1864
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1865
|
+
*/
|
|
1866
|
+
onUntypedTaskFinished: string;
|
|
1867
|
+
/**
|
|
1868
|
+
* @swagger
|
|
1869
|
+
* /notifications/long_polling/manual_task_waiting:
|
|
1870
|
+
* get:
|
|
1871
|
+
* description: Wait for a ManualTaskWaiting notification and resolves with the notification's content.
|
|
1872
|
+
* tags: [Notifications]
|
|
1873
|
+
* responses:
|
|
1874
|
+
* 200:
|
|
1875
|
+
* content:
|
|
1876
|
+
* application/json:
|
|
1877
|
+
* schema:
|
|
1878
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1879
|
+
*/
|
|
1880
|
+
onManualTaskWaiting: string;
|
|
1881
|
+
/**
|
|
1882
|
+
* @swagger
|
|
1883
|
+
* /notifications/long_polling/manual_task_finished:
|
|
1884
|
+
* get:
|
|
1885
|
+
* description: Wait for a ManualTaskFinied notification and resolves with the notification's content.
|
|
1886
|
+
* tags: [Notifications]
|
|
1887
|
+
* responses:
|
|
1888
|
+
* 200:
|
|
1889
|
+
* content:
|
|
1890
|
+
* application/json:
|
|
1891
|
+
* schema:
|
|
1892
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1893
|
+
*/
|
|
1894
|
+
onManualTaskFinished: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* @swagger
|
|
1897
|
+
* /notifications/long_polling/user_task_waiting:
|
|
1898
|
+
* get:
|
|
1899
|
+
* description: Wait for a UserTaskWaiting notification and resolves with the notification's content.
|
|
1900
|
+
* tags: [Notifications]
|
|
1901
|
+
* responses:
|
|
1902
|
+
* 200:
|
|
1903
|
+
* content:
|
|
1904
|
+
* application/json:
|
|
1905
|
+
* schema:
|
|
1906
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1907
|
+
*/
|
|
1908
|
+
onUserTaskWaiting: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* @swagger
|
|
1911
|
+
* /notifications/long_polling/user_task_finished:
|
|
1912
|
+
* get:
|
|
1913
|
+
* description: Wait for a UserTaskFinished notification and resolves with the notification's content.
|
|
1914
|
+
* tags: [Notifications]
|
|
1915
|
+
* responses:
|
|
1916
|
+
* 200:
|
|
1917
|
+
* content:
|
|
1918
|
+
* application/json:
|
|
1919
|
+
* schema:
|
|
1920
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1921
|
+
*/
|
|
1922
|
+
onUserTaskFinished: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* @swagger
|
|
1925
|
+
* /notifications/long_polling/user_task_reserved:
|
|
1926
|
+
* get:
|
|
1927
|
+
* description: Wait for a UserTaskReserved notification and resolves with the notification's content.
|
|
1928
|
+
* tags: [Notifications]
|
|
1929
|
+
* responses:
|
|
1930
|
+
* 200:
|
|
1931
|
+
* content:
|
|
1932
|
+
* application/json:
|
|
1933
|
+
* schema:
|
|
1934
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1935
|
+
*/
|
|
1936
|
+
onUserTaskReserved: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* @swagger
|
|
1939
|
+
* /notifications/long_polling/user_task_reservation_canceled:
|
|
1940
|
+
* get:
|
|
1941
|
+
* description: Wait for a UserTaskReservationCanceled notification and resolves with the notification's content.
|
|
1942
|
+
* tags: [Notifications]
|
|
1943
|
+
* responses:
|
|
1944
|
+
* 200:
|
|
1945
|
+
* content:
|
|
1946
|
+
* application/json:
|
|
1947
|
+
* schema:
|
|
1948
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1949
|
+
*/
|
|
1950
|
+
onUserTaskReservationCanceled: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* @swagger
|
|
1953
|
+
* /notifications/long_polling/boundary_event_triggered:
|
|
1954
|
+
* get:
|
|
1955
|
+
* description: Wait for a BoundaryEventTriggered notification and resolves with the notification's content.
|
|
1956
|
+
* tags: [Notifications]
|
|
1957
|
+
* responses:
|
|
1958
|
+
* 200:
|
|
1959
|
+
* content:
|
|
1960
|
+
* application/json:
|
|
1961
|
+
* schema:
|
|
1962
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1963
|
+
*/
|
|
1964
|
+
onBoundaryEventTriggered: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* @swagger
|
|
1967
|
+
* /notifications/long_polling/boundary_event_finished:
|
|
1968
|
+
* get:
|
|
1969
|
+
* description: Wait for a BoundaryEventFinished notification and resolves with the notification's content.
|
|
1970
|
+
* tags: [Notifications]
|
|
1971
|
+
* responses:
|
|
1972
|
+
* 200:
|
|
1973
|
+
* content:
|
|
1974
|
+
* application/json:
|
|
1975
|
+
* schema:
|
|
1976
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1977
|
+
*/
|
|
1978
|
+
onBoundaryEventFinished: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* @swagger
|
|
1981
|
+
* /notifications/long_polling/intermediate_throw_event_triggered:
|
|
1982
|
+
* get:
|
|
1983
|
+
* description: Wait for an IntermediateThrowEventTriggered notification and resolves with the notification's content.
|
|
1984
|
+
* tags: [Notifications]
|
|
1985
|
+
* responses:
|
|
1986
|
+
* 200:
|
|
1987
|
+
* content:
|
|
1988
|
+
* application/json:
|
|
1989
|
+
* schema:
|
|
1990
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
1991
|
+
*/
|
|
1992
|
+
onIntermediateThrowEventTriggered: string;
|
|
1993
|
+
/**
|
|
1994
|
+
* @swagger
|
|
1995
|
+
* /notifications/long_polling/intermediate_catch_event_reached:
|
|
1996
|
+
* get:
|
|
1997
|
+
* description: Wait for an IntermediateCatchEventReached notification and resolves with the notification's content.
|
|
1998
|
+
* tags: [Notifications]
|
|
1999
|
+
* responses:
|
|
2000
|
+
* 200:
|
|
2001
|
+
* content:
|
|
2002
|
+
* application/json:
|
|
2003
|
+
* schema:
|
|
2004
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
2005
|
+
*/
|
|
2006
|
+
onIntermediateCatchEventReached: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* @swagger
|
|
2009
|
+
* /notifications/long_polling/intermediate_catch_event_finished:
|
|
2010
|
+
* get:
|
|
2011
|
+
* description: Wait for a IntermediateCatchEventFinished notification and resolves with the notification's content.
|
|
2012
|
+
* tags: [Notifications]
|
|
2013
|
+
* responses:
|
|
2014
|
+
* 200:
|
|
2015
|
+
* content:
|
|
2016
|
+
* application/json:
|
|
2017
|
+
* schema:
|
|
2018
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
2019
|
+
*/
|
|
2020
|
+
onIntermediateCatchEventFinished: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* @swagger
|
|
2023
|
+
* /notifications/long_polling/message_triggered:
|
|
2024
|
+
* get:
|
|
2025
|
+
* description: Wait for an MessageTriggered notification and resolves with the notification's content.
|
|
2026
|
+
* tags: [Notifications]
|
|
2027
|
+
* responses:
|
|
2028
|
+
* 200:
|
|
2029
|
+
* content:
|
|
2030
|
+
* application/json:
|
|
2031
|
+
* schema:
|
|
2032
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
2033
|
+
*/
|
|
2034
|
+
onMessageTriggered: string;
|
|
2035
|
+
/**
|
|
2036
|
+
* @swagger
|
|
2037
|
+
* /notifications/long_polling/signal_triggered:
|
|
2038
|
+
* get:
|
|
2039
|
+
* description: Wait for an SignalTriggered notification and resolves with the notification's content.
|
|
2040
|
+
* tags: [Notifications]
|
|
2041
|
+
* responses:
|
|
2042
|
+
* 200:
|
|
2043
|
+
* content:
|
|
2044
|
+
* application/json:
|
|
2045
|
+
* schema:
|
|
2046
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
2047
|
+
*/
|
|
2048
|
+
onSignalTriggered: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* @swagger
|
|
2051
|
+
* /notifications/long_polling/end_event_finished:
|
|
2052
|
+
* get:
|
|
2053
|
+
* description: Wait for an EndEventFinished notification and resolves with the notification's content.
|
|
2054
|
+
* tags: [Notifications]
|
|
2055
|
+
* responses:
|
|
2056
|
+
* 200:
|
|
2057
|
+
* content:
|
|
2058
|
+
* application/json:
|
|
2059
|
+
* schema:
|
|
2060
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
2061
|
+
*/
|
|
2062
|
+
onEndEventFinished: string;
|
|
2063
|
+
/**
|
|
2064
|
+
* @swagger
|
|
2065
|
+
* /notifications/long_polling/start_event_finished:
|
|
2066
|
+
* get:
|
|
2067
|
+
* description: Wait for an StartEventFinished notification and resolves with the notification's content.
|
|
2068
|
+
* tags: [Notifications]
|
|
2069
|
+
* responses:
|
|
2070
|
+
* 200:
|
|
2071
|
+
* content:
|
|
2072
|
+
* application/json:
|
|
2073
|
+
* schema:
|
|
2074
|
+
* $ref: '#/components/schemas/EventMessage'
|
|
2075
|
+
*/
|
|
2076
|
+
onStartEventFinished: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* @swagger
|
|
2079
|
+
* /notifications/long_polling/process_instance_metadata_changed:
|
|
2080
|
+
* get:
|
|
2081
|
+
* description: Wait for a ProcessInstanceMetadataChanged notification and resolves with the notification's content.
|
|
2082
|
+
* tags: [Notifications]
|
|
2083
|
+
* responses:
|
|
2084
|
+
* 200:
|
|
2085
|
+
* content:
|
|
2086
|
+
* application/json:
|
|
2087
|
+
* schema:
|
|
2088
|
+
* $ref: '#/components/schemas/MetadataChangedMessage'
|
|
2089
|
+
*/
|
|
2090
|
+
onProcessInstanceMetadataChanged: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* @swagger
|
|
2093
|
+
* /notifications/long_polling/correlation_metadata_changed:
|
|
2094
|
+
* get:
|
|
2095
|
+
* description: Wait for a CorrelationMetadataChanged notification and resolves with the notification's content.
|
|
2096
|
+
* tags: [Notifications]
|
|
2097
|
+
* responses:
|
|
2098
|
+
* 200:
|
|
2099
|
+
* content:
|
|
2100
|
+
* application/json:
|
|
2101
|
+
* schema:
|
|
2102
|
+
* $ref: '#/components/schemas/MetadataChangedMessage'
|
|
2103
|
+
*/
|
|
2104
|
+
onCorrelationMetadataChanged: string;
|
|
2105
|
+
};
|
|
2106
|
+
baseRoute: string;
|
|
2107
|
+
};
|