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