export declare const restSettings: { params: { correlationId: string; untypedTaskInstanceId: string; emptyActivityInstanceId: string; eventId: string; eventName: string; externalTaskId: string; flowNodeId: string; flowNodeInstanceId: string; manualTaskInstanceId: string; processInstanceId: string; processDefinitionId: string; processModelId: string; userId: string; userTaskInstanceId: string; userMetadataKey: string; }; paths: { /** * @swagger * /info: * get: * description: Gets some basic info about the host application. * tags: [ApplicationInfo] * responses: * 200: * description: Returns some basic info about the host application. * content: * application/json: * schema: * $ref: '#/components/schemas/ApplicationInfo' */ getApplicationInfo: string; /** * @swagger * /metrics: * get: * description: Gets a metrics report of the host application. * tags: [ApplicationInfo] * responses: * 200: * description: Returns a metrics report of the host application. * content: * application/json: * schema: * type: object */ getMetricsReport: string; /** * @swagger * /authority: * get: * description: Gets the address of the authority that the host application uses for claim checks. * tags: [ApplicationInfo] * responses: * 200: * description: Returns the address of the authority. * content: * application/json: * schema: * type: string * example: http://localhost:5000 */ getAuthorityAddress: string; /** * @swagger * /correlations: * get: * description: Gets all Correlations. * tags: [Correlations] * parameters: * - name: limit * in: query * description: The maximum amount of Correlations to be returned. * required: false * schema: * type: number * example: 10 * - name: offset * in: query * description: The index of the first Correlation to be returned. * required: false * schema: * type: number * example: 5 * responses: * 200: * description: Returns all Correlations. * content: * application/json: * schema: * $ref: '#/components/schemas/CorrelationList' */ getCorrelations: string; /** * @swagger * /correlations/{correlation_id}: * get: * description: Gets a Correlation by its ID. * tags: [Correlations] * parameters: * - name: correlation_id * in: path * description: The ID of the Correlation to retrieve. * required: true * schema: * type: string * example: 123 * responses: * 200: * description: Returns the Correlation with the given ID. * content: * application/json: * schema: * $ref: '#/components/schemas/Correlation' */ getCorrelationById: string; /** * @swagger * /cronjobs/query: * get: * description: Queries a list of deployed Cronjobs. * tags: [Cronjobs] * parameters: * - name: limit * in: query * description: The maximum amount of Cronjobs to be returned. * required: false * schema: * type: number * example: 10 * - name: offset * in: query * description: The index of the first Cronjob to be returned. * required: false * schema: * type: number * example: 5 * - name: processDefinitionId * in: query * description: The ID of the ProcessDefinition for which to retrieve Cronjobs. * required: false * schema: * type: string * example: myProcess_12345678 * - name: processModelId * in: query * description: The ID of the ProcessModel for which to retrieve Cronjobs. * required: false * schema: * type: string * example: myProcessModel_12345678 * - name: startEventId * in: query * description: The ID of the StartEvent for which to retrieve Cronjobs. * required: false * schema: * type: string * example: myStartEvent_12345678 * - name: crontab * in: query * description: The crontab expression for which to retrieve Cronjobs. * required: false * schema: * type: string * example: 0 0 1 * * * - name: enabled * in: query * description: The enabled state for which to retrieve Cronjobs. * required: false * schema: * type: boolean * example: true * - name: nextExecution * in: query * description: The nextExecution date for which to retrieve Cronjobs. * required: false * schema: * type: string * example: 2020-01-01T00:00:00.000Z * responses: * 200: * description: Returns a list of Cronjobs. * content: * application/json: * schema: * $ref: '#/components/schemas/CronjobList' */ queryCronjobs: string; /** * @swagger * /cronjobs/process_models/{processModelId}/flow_node/{flowNodeId}/enable: * post: * description: Enables the given Cronjob for the given ProcessModel. * tags: [Cronjobs] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel for which to enable the Cronjob. * required: true * schema: * type: string * example: myProcessModel_12345678 * - name: flowNodeId * in: path * description: The ID of the FlowNode for which to enable the Cronjob. * required: true * schema: * type: string * example: myFlowNode_12345678 * responses: * 204: * description: The Cronjob was successfully enabled. */ enableCronjob: string; /** * @swagger * /cronjobs/process_models/{processModelId}/flow_node/{flowNodeId}/disable: * post: * description: Disables the given Cronjob for the given ProcessModel. * tags: [Cronjobs] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel for which to disable the Cronjob. * required: true * schema: * type: string * example: myProcessModel_12345678 * - name: flowNodeId * in: path * description: The ID of the FlowNode for which to disable the Cronjob. * required: true * schema: * type: string * example: myFlowNode_12345678 * responses: * 204: * description: The Cronjob was successfully disabled. */ disableCronjob: string; /** * @swagger * /data_object_instances/query: * get: * description: Gets the DataObjectInstances that match the given query. * tags: [DataObjectInstances] * parameters: * - name: limit * in: query * description: The maximum amount of DataObjectInstances to be returned. * schema: * type: number * example: 100 * - name: offset * in: query * description: The index of the first DataObjectInstance to be returned. * schema: * type: number * example: 5 * - name: dataObjectId * in: query * description: The ID of the DataObject for which to retrieve DataObjectInstances. * schema: * type: string * example: myDataObject_12345678 * - name: processDefinitionId * in: query * description: The ID of the ProcessDefinition for which to retrieve DataObjectInstances. * schema: * type: string * example: myProcessDefinition_12345678 * - name: processModelId * in: query * description: The ID of the ProcessModel for which to retrieve DataObjectInstances. * schema: * type: string * example: myProcessModel_12345678 * - name: processInstanceId * in: query * description: The ID of the ProcessInstance for which to retrieve DataObjectInstances. * schema: * type: string * example: myProcessInstance_12345678 * - name: flowNodeInstanceId * in: query * description: The ID of the FlowNodeInstance for which to retrieve DataObjectInstances. * schema: * type: string * example: myFlowNodeInstance_12345678 * - name: createdAt * in: query * description: The createdAt date for which to retrieve DataObjectInstances. * schema: * type: string * example: 2020-01-01T00:00:00.000Z * responses: * 200: * description: Returns a list of DataObjectInstances. * content: * application/json: * schema: * $ref: '#/components/schemas/DataObjectInstanceList' */ getDataObjects: string; /** * @swagger * /flow_node_instances: * get: * description: Gets all FlowNodeInstances that match the given query. * tags: [FlowNodeInstances] * parameters: * - name: limit * in: query * description: The maximum amount of FlowNodeInstances to be returned. * schema: * type: number * example: 100 * - name: offset * in: query * description: The index of the first FlowNodeInstance to be returned. * schema: * type: number * example: 5 * - name: flowNodeInstanceId * in: query * description: The ID of the FlowNodeInstance to be returned. * schema: * type: string * example: myFlowNodeInstance_12345678 * - name: flowNodeId * in: query * description: The ID of the FlowNode for which to retrieve FlowNodeInstances. * schema: * type: string * example: myFlowNode_12345678 * - name: flowNodeName * in: query * description: The name of the FlowNode for which to retrieve FlowNodeInstances. * schema: * type: string * example: myFlowNode * - name: flowNodeLane * in: query * description: The name of the Lane for which to retrieve FlowNodeInstances. * schema: * type: string * example: myLane * - name: flowNodeType * in: query * description: The type of the FlowNode for which to retrieve FlowNodeInstances. * schema: * type: string * example: bpmn:BoundaryEvent * - name: eventType * in: query * description: The event type of the FlowNodeInstance to be returned. * schema: * type: string * example: messageEvent * - name: correlationId * in: query * description: The correlationId of the FlowNodeInstance to be returned. * schema: * type: string * example: myCorrelationId_12345678 * - name: processDefinitionId * in: query * description: The ID of the ProcessDefinition for which to retrieve FlowNodeInstances. * schema: * type: string * example: myProcessDefinition_12345678 * - name: processModelId * in: query * description: The ID of the ProcessModel for which to retrieve FlowNodeInstances. * schema: * type: string * example: myProcessModel_12345678 * - name: processModelName * in: query * description: The Name of the ProcessModel for which to retrieve FlowNodeInstances. * schema: * type: string * example: myProcessModelName_12345678 * - name: processInstanceId * in: query * description: The ID of the ProcessInstance for which to retrieve FlowNodeInstances. * schema: * type: string * example: myProcessInstance_12345678 * - name: ownerId * in: query * description: The ID of the FlowNodeInstance owner for which to retrieve FlowNodeInstances. * schema: * type: string * example: myOwner_12345678 * - name: state * in: query * description: The state of the FlowNodeInstance to be returned. * schema: * type: string * example: running * - name: previousFlowNodeInstanceId * in: query * description: The ID of the previous FlowNodeInstance for which to retrieve FlowNodeInstances. * schema: * type: string * example: myPreviousFlowNodeInstance_12345678 * - name: parentProcessInstanceId * in: query * description: The ID of the parent ProcessInstance for which to retrieve FlowNodeInstances. * schema: * type: string * example: myParentProcessInstance_12345678 * - name: createdAt * in: query * description: The createdAt date for which to retrieve FlowNodeInstances. * schema: * type: string * example: 2020-01-01T00:00:00.000Z * - name: updatedAt * in: query * description: The updatedAt date for which to retrieve FlowNodeInstances. * schema: * type: string * example: 2020-01-01T00:00:00.000Z * - name: triggeredByFlowNodeInstance * in: query * description: The ID of the FlowNodeInstance that triggered the FlowNodeInstance to be returned. * schema: * type: Array | string | SearchQuery * oneOf: * - type: Array * example: ['myTriggeredFlowNodeInstance_12345678', 'myTriggeredFlowNodeInstance_87654321'] * - type: string * example: myTriggeredFlowNodeInstance_12345678 * - $ref: '#/components/schemas/SearchQuery' * responses: * 200: * description: Returns a list of FlowNodeInstances. * content: * application/json: * schema: * $ref: '#/components/schemas/FlowNodeInstanceList' */ queryFlowNodeInstances: string; /** * @swagger * /messages/{eventName}/trigger: * post: * description: Triggers a MessageEvent by its name. * tags: [Events] * parameters: * - name: eventName * in: path * description: The name of the MessageEvent to be triggered. * required: true * schema: * type: string * example: myMessageEvent * - name: processInstanceId * in: query * description: The ID of the ProcessInstance for which to trigger the MessageEvent. * required: false * schema: * type: string * example: myProcessInstance_12345678 * requestBody: * content: * application/json: * required: false * schema: * type: object * properties: * payload: * type: string * description: The payload to be sent with the MessageEvent. * required: false * example: myPayload * responses: * 204: * description: Indicates the MessageEvent was successfully triggered. */ triggerMessageEvent: string; /** * @swagger * /signals/{eventName}/trigger: * post: * description: Triggers a SignalEvent by its name. * tags: [Events] * parameters: * - name: eventName * in: path * description: The name of the SignalEvent to be triggered. * required: true * schema: * type: string * example: mySignalEvent * - name: process_instance_id * in: query * description: The ID of the ProcessInstance for which to trigger the SignalEvent. * required: false * schema: * type: string * example: myProcessInstance_12345678 * responses: * 204: * description: Indicates the SignalEvent was successfully triggered. */ triggerSignalEvent: string; /** * @swagger * /empty_activities/{emptyActivityInstanceId}/finish: * put: * deprecated: true * description: DEPRECATED - Use `PUT /untyped_tasks/:untyped_task_instance_id/finish` instead. * tags: [UntypedTasks] * parameters: * - name: emptyActivityInstanceId * in: path * description: The ID of the EmptyActivityInstance to be finished. * required: true * schema: * type: string * example: myEmptyActivityInstance_12345678 * responses: * 204: * description: Indicates the EmptyActivityInstance was successfully finished. */ finishEmptyActivity: string; /** * @swagger * /untyped_tasks/{untypedTaskInstanceId}/finish: * put: * description: Finishes a specific UntypedTask by its UntypedTaskInstanceId. * tags: [UntypedTasks] * parameters: * - name: untypedTaskInstanceId * in: path * description: The ID of the UntypedTaskInstance to be finished. * required: true * schema: * type: string * example: myUntypedTaskInstance_12345678 * responses: * 204: * description: Indicates the UntypedTaskInstance was successfully finished. */ finishUntypedTask: string; /** * @swagger * /manual_tasks/{manualTaskInstanceId}/finish: * put: * description: Finishes a specific ManualTask by its ManualTaskInstanceId. * tags: [ManualTasks] * parameters: * - name: manualTaskInstanceId * in: path * description: The ID of the ManualTaskInstance to be finished. * required: true * schema: * type: string * example: myManualTaskInstance_12345678 * responses: * 204: * description: Indicates the ManualTaskInstance was successfully finished. */ finishManualTask: string; /** * @swagger * /user_tasks/{userTaskInstanceId}/finish: * put: * description: Finishes a specific UserTask by its UserTaskInstanceId. * tags: [UserTasks] * parameters: * - name: userTaskInstanceId * in: path * description: The ID of the UserTaskInstance to be finished. * required: true * schema: * type: string * example: myUserTaskInstance_12345678 * requestBody: * content: * application/json: * required: false * schema: * type: object * responses: * 204: * description: Indicates the UserTaskInstance was successfully finished. */ finishUserTask: string; /** * @swagger * /user_tasks/{userTaskInstanceId}/reserve: * put: * description: Reserves a UserTask for a specific User. * tags: [UserTasks] * parameters: * - name: userTaskInstanceId * in: path * description: The ID of the UserTaskInstance to be reserved. * required: true * schema: * type: string * example: myUserTaskInstance_12345678 * requestBody: * content: * application/json: * required: true * schema: * type: object * properties: * actualOwnerId: * type: string * description: The ID of the User who reserves the UserTask. * required: true * example: myUser_12345678 * responses: * 204: * description: Indicates the UserTaskInstance was successfully reserved. */ reserveUserTaskInstance: string; /** * @swagger * /user_tasks/{userTaskInstanceId}/cancel-reservation: * delete: * description: Cancels the reservation of the given UserTask instance. * tags: [UserTasks] * parameters: * - name: userTaskInstanceId * in: path * description: The ID of the UserTaskInstance for which to cancel the reservation. * required: true * schema: * type: string * example: myUserTaskInstance_12345678 * responses: * 204: * description: Indicates the UserTaskInstance reservation was successfully canceled. */ cancelUserTaskInstanceReservation: string; /** * @swagger * /external_tasks/deployed_topics: * get: * description: Fetches a list of all ExternalTask topics from all deployed Process Models. * tags: [ExternalTasks] * responses: * 200: * description: A list of all ExternalTask topics from all deployed Process Models. * content: * application/json: * schema: * description: A list of all ExternalTask topics from all deployed Process Models. * type: array * items: * type: string * example: * - myTopic * - myOtherTopic * - myThirdTopic * - myFourthTopic */ getAllDeployedTopics: string; /** * @swagger * /external_tasks/fetch_and_lock: * post: * description: Fetches the tasks available for an ExternalTaskWorker and locks them for a defined time. * tags: [ExternalTasks] * requestBody: * content: * application/json: * required: true * schema: * $ref: '#/components/schemas/FetchAndLockRequestPayload' * example: * workerId: string * topicName: string | Array * maxTasks: 10 * longPollingTimeout: 2000 * lockDuration: 10000 * payloadFilter: string * responses: * 204: * description: A list of locked ExternalTasks. * content: * application/json: * schema: * type: array * items: * $ref: '#/components/schemas/ExternalTask' */ fetchAndLockExternalTasks: string; /** * @swagger * /external_tasks/{externalTaskId}/extend_lock: * put: * description: Extends the lock duration of an ExternalTask by a given amount of time. * tags: [ExternalTasks] * parameters: * - name: externalTaskId * in: path * description: The ID of the ExternalTask for which to extend the lock duration. * required: true * schema: * type: string * example: myExternalTask_12345678 * requestBody: * content: * application/json: * required: true * schema: * $ref: '#/components/schemas/ExtendLockRequestPayload' * responses: * 204: * description: Indicates the ExternalTask lock was successfully extended. */ extendExternalTaskLock: string; /** * @swagger * /external_tasks/{externalTaskId}/error: * put: * description: Finishes the given External Task with the given Error. * tags: [ExternalTasks] * parameters: * - name: externalTaskId * in: path * description: The ID of the ExternalTask for which to finish with an Error. * required: true * schema: * type: string * example: myExternalTask_12345678 * requestBody: * content: * application/json: * required: true * schema: * $ref: '#/components/schemas/HandleExternalTaskErrorRequestPayload' * responses: * 204: * description: Indicates the ExternalTask was successfully finished with an Error. */ finishExternalTaskWithError: string; /** * @swagger * /external_tasks/{externalTaskId}/finish: * put: * description: Finishes the ExternalTask with the given ID. * tags: [ExternalTasks] * parameters: * - name: externalTaskId * in: path * description: The ID of the ExternalTask to finish. * required: true * schema: * type: string * example: myExternalTask_12345678 * requestBody: * content: * application/json: * required: true * schema: * $ref: '#/components/schemas/FinishExternalTaskRequestPayload' * responses: * 204: * description: Indicates the ExternalTask was successfully finished. */ finishExternalTask: string; /** * @swagger * /process_definitions: * post: * description: Creates or updates a ProcessDefinition or a list of ProcessDefinitions. * tags: [ProcessDefinitions] * requestBody: * content: * application/json: * required: true * schema: * $ref: '#/components/schemas/PersistProcessDefinitionsPayload' * example: * xml: string | Array * overrideExisting: true * responses: * 201: * description: Indicates the ProcessDefinition(s) was/were successfully persisted. */ persistProcessDefinitions: string; /** * @swagger * /process_definitions: * get: * description: Gets all ProcessDefinitions the requesting user is allowed to see. * tags: [ProcessDefinitions] * parameters: * - name: offset * in: query * description: The index of the first ProcessDefinition to include. * required: false * schema: * type: number * example: 0 * - name: limit * in: query * description: The maximum number of ProcessDefinitions to include. * required: false * schema: * type: number * example: 10 * responses: * 200: * description: A list of ProcessDefinitions. * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessDefinitionList' */ getProcessDefinitions: string; /** * @swagger * /process_definitions/{processDefinitionId}: * get: * description: Gets a ProcessDefinition by its id. * tags: [ProcessDefinitions] * parameters: * - name: processDefinitionId * in: path * description: The ID of the ProcessDefinition to retrieve. * required: true * schema: * type: string * example: myProcess_12345678 * responses: * 200: * description: A ProcessDefinitions. * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessDefinition' */ getProcessDefinitionById: string; /** * @swagger * /process_definitions/{processDefinitionId}: * delete: * description: Deletes the ProcessDefinition with the given ID. * tags: [ProcessDefinitions] * parameters: * - name: processDefinitionId * in: path * description: The ID of the ProcessDefinition to delete. * required: true * schema: * type: string * example: myProcess_12345678 * - name: delete_all_related_data * in: query * description: If set to true, all ProcessInstances and ProcessModels related to the ProcessDefinition will be deleted as well. * required: false * schema: * type: boolean * example: true * responses: * 204: * description: Indicates the ProcessDefinition was successfully deleted. */ deleteProcessDefinition: string; /** * @swagger * /process_models: * get: * description: Gets all currently deployed Process Models. * tags: [ProcessModels] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessModelList' */ getAllProcessModels: string; /** * @swagger * /process_models/{processModelId}/: * get: * description: Gets a deployed Process Model by its ID. * tags: [ProcessModels] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel to retrieve. * required: true * schema: * type: string * example: myProcess_12345678 * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessModel' */ getProcessModelById: string; /** * @swagger * /process_models/{processModelId}/process_definition: * get: * description: Gets a ProcessDefinition for a given ProcessModel. * tags: [ProcessModels] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel for which to retrieve the ProcessDefinition. * required: true * schema: * type: string * example: myProcess_12345678 * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessDefinition' */ getProcessDefinitionForProcessModel: string; /** * @swagger * /process_models/{processModelId}/start: * post: * description: Starts a new instance from the given set of parameters. * tags: [ProcessModels] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel for which to start a new instance. * required: true * schema: * type: string * example: myProcess_12345678 * requestBody: * content: * application/json: * required: true * schema: * $ref: '#/components/schemas/ProcessStartRequest' * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessStartResponse' */ startProcessInstance: string; /** * @swagger * /process_models/{processModelId}: * delete: * description: Deletes the ProcessDefinition that contains the Process Model with the given ID. * tags: [ProcessModels] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel for which to delete the ProcessDefinition. * required: true * schema: * type: string * example: myProcess_12345678 * - name: delete_all_related_data * in: query * description: If set to true, all ProcessInstances related to the ProcessDefinition will be deleted as well. * required: false * schema: * type: boolean * example: true * responses: * 204: * description: Indicates the ProcessDefinition was successfully deleted. */ deleteProcessDefinitionByProcessModelId: string; /** * @swagger * /process_models/{processModelId}/enable: * post: * description: Enables the given Process Model. * tags: [ProcessModels] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel to enable. * required: true * schema: * type: string * example: myProcess_12345678 * responses: * 204: * description: Indicates the ProcessModel was successfully enabled. */ enableProcessModel: string; /** * @swagger * /process_models/{processModelId}/disable: * post: * description: Disables the given Process Model. * tags: [ProcessModels] * parameters: * - name: processModelId * in: path * description: The ID of the ProcessModel to disable. * required: true * schema: * type: string * example: myProcess_12345678 * responses: * 204: * description: Indicates the ProcessModel was successfully disabled */ disableProcessModel: string; /** * @swagger * /process_instances/query: * get: * description: Gets all ProcessInstances that match the given query. * tags: [ProcessInstances] * parameters: * - name: includeXml * in: query * description: Whether or not to include the raw XML for each process instance. CAUTION, This will significantly increase the response body size! * required: false * schema: * type: boolean * example: true * default: false * - name: offset * in: query * description: The index of the first ProcessInstance to include in the result set. * required: false * schema: * type: number * example: 0 * - name: limit * in: query * description: The maximum number of ProcessInstances to return. * required: false * schema: * type: number * example: 10 * - name: correlationId * in: query * description: Filter by the CorrelationId of the ProcessInstances. * required: false * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: myCorrelationId * - type: Array * example: ['myCorrelationId1', 'myCorrelationId2'] * - $ref: '#/components/schemas/SearchQuery' * - name: processInstanceId * in: query * description: Filter by the ID of the ProcessInstances. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: myProcessInstance_12345678 * - type: Array * example: ['myProcessInstance_12345678', 'myProcessInstance_87654321'] * - $ref: '#/components/schemas/SearchQuery' * - name: processDefinitionId * in: query * description: Filter by the ID of the ProcessDefinition that the ProcessInstances belong to. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: myProcess_12345678 * - type: Array * example: ['myProcess_12345678', 'myProcess_87654321'] * - $ref: '#/components/schemas/SearchQuery' * - name: processModelId * in: query * description: Filter by the ID of the ProcessModel that the ProcessInstances belong to. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: myProcessModel_12345678 * - type: Array * example: ['myProcessModel_12345678', 'myProcessModel_87654321'] * - $ref: '#/components/schemas/SearchQuery' * - name: processModelName * in: query * description: Filter by the name of the ProcessModel that the ProcessInstances belong to. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: My Process Model * - type: Array * example: ['My Process Model', 'My Other Process Model'] * - $ref: '#/components/schemas/SearchQuery' * - name: processModelHash * in: query * description: Filter by the hash of the ProcessModel that the ProcessInstances belong to. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: 12345678 * - type: Array * example: ['12345678', '87654321'] * - $ref: '#/components/schemas/SearchQuery' * - name: ownerId * in: query * description: Filter by the ID of the User that owns the ProcessInstances. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: 12345678 * - type: Array * example: ['12345678', '87654321'] * - $ref: '#/components/schemas/SearchQuery' * - name: state * in: query * description: Filter by the state of the ProcessInstances. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: running * - type: Array * example: ['running', 'finished'] * - $ref: '#/components/schemas/SearchQuery' * - name: parentProcessInstanceId * in: query * description: Filter by the ID of the parent ProcessInstance. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: myParentProcessInstance_12345678 * - type: Array * example: ['myParentProcessInstance_12345678', 'myParentProcessInstance_87654321'] * - $ref: '#/components/schemas/SearchQuery' * - name: terminatedByUserId * in: query * description: Filter by the ID of the User that terminated the ProcessInstances. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: 12345678 * - type: Array * example: ['12345678', '87654321'] * - $ref: '#/components/schemas/SearchQuery' * - name: createdBefore * in: query * description: The maximum created date of the ProcessInstances to include in the results. * schema: * type: string * example: 2021-01-01T00:00:00.000Z * - name: createdAt * in: query * description: The minimum created date of the ProcessInstances to include in the results. * schema: * type: Array | string * oneOf: * - type: string * example: 2021-01-01T00:00:00.000Z * - type: array * items: * type: string * example: ['2021-01-01T00:00:00.000Z', '2021-01-02T00:00:00.000Z'] * - name: createdAfter * in: query * description: The minimum created date of the ProcessInstances to include in the results. * schema: * type: string * example: 2021-01-01T00:00:00.000Z * - name: updatedBefore * in: query * description: The maximum updated date of the ProcessInstances to include in the results. * schema: * type: string * example: 2021-01-01T00:00:00.000Z * - name: updatedAt * in: query * description: The exact updated date of the ProcessInstances to include in the results. * schema: * type: Array | string * oneOf: * - type: string * example: 2021-01-01T00:00:00.000Z * - type: array * items: * type: string * example: ['2021-01-01T00:00:00.000Z', '2021-01-02T00:00:00.000Z'] * - name: updatedAfter * in: query * description: The minimum updated date of the ProcessInstances to include in the results. * schema: * type: string * example: 2021-01-01T00:00:00.000Z * - name: finishedBefore * in: query * description: The maximum finished date of the ProcessInstances to include in the results. * schema: * type: string * example: 2021-01-01T00:00:00.000Z * - name: finishedAt * in: query * description: The exact finished date of the ProcessInstances to include in the results. * schema: * type: Array | string * oneOf: * - type: string * example: 2021-01-01T00:00:00.000Z * - type: array * items: * type: string * example: ['2021-01-01T00:00:00.000Z', '2021-01-02T00:00:00.000Z'] * - name: finishedAfter * in: query * description: The minimum finished date of the ProcessInstances to include in the results. * schema: * type: string * example: 2021-01-01T00:00:00.000Z * - name: triggeredByFlowNodeInstance * in: query * description: Filter by the ID of the FlowNodeInstance that triggered the ProcessInstance. * schema: * type: Array | string | SearchQuery * oneOf: * - type: string * example: myFlowNodeInstance_12345678 * - type: array * items: * type: string * example: ['myFlowNodeInstance_12345678', 'myFlowNodeInstance_87654321'] * - $ref: '#/components/schemas/SearchQuery' * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessInstanceList' */ queryProcessInstances: string; /** * @swagger * /process_instances/{processInstanceId}/process_definition: * get: * description: Gets the ProcessDefinition for a given ProcessInstance. * tags: [ProcessInstances] * parameters: * - name: processInstanceId * in: path * description: The ID of the ProcessInstance for which the ProcessDefinition should be retrieved. * required: true * schema: * type: string * example: 12345678 * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessDefinition' */ getProcessDefinitionForProcessInstance: string; /** * @swagger * /process_instances/{processInstanceId}/process_model: * get: * description: Gets the ProcessModel for a given ProcessInstance. * tags: [ProcessInstances] * parameters: * - name: processInstanceId * in: path * description: The ID of the ProcessInstance for which the ProcessModel should be retrieved. * required: true * schema: * type: string * example: 12345678 * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessModel' */ getProcessModelForProcessInstance: string; /** * @swagger * /process_instances/{processInstanceId}/change_owner: * post: * description: Changes the owner of the ProcessInstance with the given ID. * tags: [ProcessInstances] * parameters: * - name: processInstanceId * in: path * description: The ID of the ProcessInstance for which the owner should be changed. * required: true * schema: * type: string * example: 12345678 * requestBody: * content: * application/json: * required: true * schema: * type: object * properties: * newOwner: * description: The new owner of the ProcessInstance. * $ref: '#/components/schemas/Identity' * required: true * responses: * 204: * description: Indicates the ProcessInstance owner was changed successfully. */ changeProcessInstanceOwner: string; /** * @swagger * /process_instances/{processInstanceId}/terminate: * put: * description: Terminates the ProcessInstance with the given ID. * tags: [ProcessInstances] * parameters: * - name: processInstanceId * in: path * description: The ID of the ProcessInstance to terminate. * required: true * schema: * type: string * example: 12345678 * responses: * 204: * description: Indicates the ProcessInstance was terminated successfully. */ terminateProcessInstances: string; /** * @swagger * /process_instances/{processInstanceId}/retry: * put: * description: Retries a failed or terminated Process Instance from the original point of failure. * tags: [ProcessInstances] * parameters: * - name: processInstanceId * in: path * description: The ID of the ProcessInstance to retry. * required: true * schema: * type: string * example: 12345678 * - name: flow_node_instance_id * in: query * description: The ID of the FlowNodeInstance to retry from. * schema: * type: string * example: 12345678 * requestBody: * content: * application/json: * required: false * schema: * type: object * properties: * newStartToken: * type: object * description: The new start token for the ProcessInstance. * required: false * responses: * 204: * description: Indicates the ProcessInstance was retried successfully. */ retryProcessInstance: string; /** * @swagger * /process_instances: * delete: * description: Deletes the given Set of Process Instances. Multiple ProcessInstanceIds can be provided with ";" as separator. * tags: [ProcessInstances] * parameters: * - name: process_instance_ids * in: query * description: The IDs of the ProcessInstances to delete. * required: true * schema: * type: string * example: "12345678;87654321" * - name: delete_all_related_data * in: query * description: Flag to indicate whether all related data should be deleted as well. * required: false * schema: * type: boolean * example: true * responses: * 204: * description: Indicates the ProcessInstances were deleted successfully. */ deleteProcessInstances: string; /** * @swagger * /notifications/long_polling/cronjob_created: * get: * description: Wait for a CronjobCreated notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/CronjobEventMessage' */ onCronjobCreated: string; /** * @swagger * /notifications/long_polling/cronjob_executed: * get: * description: Wait for a CronjobExecuted notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/CronjobEventMessage' */ onCronjobExecuted: string; /** * @swagger * /notifications/long_polling/cronjob_stopped: * get: * description: Wait for a CronjobStopped notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/CronjobEventMessage' */ onCronjobStopped: string; /** * @swagger * /notifications/long_polling/cronjob_updated: * get: * description: Wait for a CronjobUpdated notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/CronjobEventMessage' */ onCronjobUpdated: string; /** * @swagger * /notifications/long_polling/cronjob_removed: * get: * description: Wait for a CronjobRemoved notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/CronjobEventMessage' */ onCronjobRemoved: string; /** * @swagger * /notifications/long_polling/process_deployed: * get: * description: Wait for a ProcessDeployed notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessDeploymentMessage' */ onProcessDeployed: string; /** * @swagger * /notifications/long_polling/process_is_executable_changed: * get: * description: Wait for a ProcessIsExecutableChanged notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessIsExecutableChangedMessage' */ onProcessIsExecutableChanged: string; /** * @swagger * /notifications/long_polling/cronjob_enabled_changed: * get: * description: Wait for a CronjobEnabledChanged notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/CronjobEnabledChangedMessage' */ onCronjobEnabledChanged: string; /** * @swagger * /notifications/long_polling/process_undeployed: * get: * description: Wait for a ProcessUndeployed notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ProcessDeploymentMessage' */ onProcessUndeployed: string; /** * @swagger * /notifications/long_polling/process_starting: * get: * description: Wait for a ProcessStarting notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessStarting: string; /** * @swagger * /notifications/long_polling/process_started: * get: * description: Wait for a ProcessStarted notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessStarted: string; /** * @swagger * /notifications/long_polling/process_resumed: * get: * description: Wait for a ProcessResumed notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessResumed: string; /** * @swagger * /notifications/long_polling/process_ended: * get: * description: Wait for a ProcessEnded notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessEnded: string; /** * @swagger * /notifications/long_polling/process_owner_changed: * get: * description: Wait for a ProcessOwnerChanged notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessOwnerChanged: string; /** * @swagger * /notifications/long_polling/process_terminated: * get: * description: Wait for a ProcessTerminated notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessTerminated: string; /** * @swagger * /notifications/long_polling/process_error: * get: * description: Wait for a ProcessError notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessError: string; /** * @swagger * /notifications/long_polling/process_instances_deleted: * get: * description: Wait for a ProcessInstancesDeleted notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onProcessInstancesDeleted: string; /** * @swagger * /notifications/long_polling/external_task_created: * get: * description: Wait for an ExternalTaskCreated notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ExternalTaskCreatedMessage' */ onExternalTaskCreated: string; /** * @swagger * /notifications/long_polling/external_task_locked: * get: * description: Wait for a ExternalTaskLocked notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ExternalTaskLockedMessage' */ onExternalTaskLocked: string; /** * @swagger * /notifications/long_polling/external_task_unlocked: * get: * description: Wait for a ExternalTaskUnlocked notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ExternalTaskUnlockedMessage' */ onExternalTaskUnlocked: string; /** * @swagger * /notifications/long_polling/external_task_expired: * get: * description: Wait for a ExternalTaskExpired notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/ExternalTaskExpiredMessage' */ onExternalTaskExpired: string; /** * @swagger * /notifications/long_polling/activity_reached: * get: * description: Wait for an ActivityReached notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onActivityReached: string; /** * @swagger * /notifications/long_polling/activity_finished: * get: * description: Wait for an ActivityFinished notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onActivityFinished: string; /** * @swagger * /notifications/long_polling/activity_canceled: * get: * description: Wait for an ActivityCanceled notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onActivityCanceled: string; /** * @swagger * /notifications/long_polling/empty_activity_waiting: * get: * deprecated: true * description: DEPRECATED - Use `GET /notifications/long_polling/untyped_task_waiting` instead. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onEmptyActivityWaiting: string; /** * @swagger * /notifications/long_polling/empty_activity_finished: * get: * deprecated: true * description: DEPRECATED - Use `GET /notifications/long_polling/untyped_task_finished` instead. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onEmptyActivityFinished: string; /** * @swagger * /notifications/long_polling/untyped_task_waiting: * get: * description: Wait for an UntypedTaskWaiting notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onUntypedTaskWaiting: string; /** * @swagger * /notifications/long_polling/untyped_task_finished: * get: * description: Wait for an UntypedTaskFinished notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onUntypedTaskFinished: string; /** * @swagger * /notifications/long_polling/manual_task_waiting: * get: * description: Wait for a ManualTaskWaiting notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onManualTaskWaiting: string; /** * @swagger * /notifications/long_polling/manual_task_finished: * get: * description: Wait for a ManualTaskFinied notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onManualTaskFinished: string; /** * @swagger * /notifications/long_polling/user_task_waiting: * get: * description: Wait for a UserTaskWaiting notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onUserTaskWaiting: string; /** * @swagger * /notifications/long_polling/user_task_finished: * get: * description: Wait for a UserTaskFinished notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onUserTaskFinished: string; /** * @swagger * /notifications/long_polling/user_task_reserved: * get: * description: Wait for a UserTaskReserved notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onUserTaskReserved: string; /** * @swagger * /notifications/long_polling/user_task_reservation_canceled: * get: * description: Wait for a UserTaskReservationCanceled notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onUserTaskReservationCanceled: string; /** * @swagger * /notifications/long_polling/boundary_event_waiting: * get: * description: Wait for a BoundaryEventWaiting notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onBoundaryEventWaiting: string; /** * @swagger * /notifications/long_polling/boundary_event_triggered: * get: * description: Wait for a BoundaryEventTriggered notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onBoundaryEventTriggered: string; /** * @swagger * /notifications/long_polling/boundary_event_finished: * get: * description: Wait for a BoundaryEventFinished notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onBoundaryEventFinished: string; /** * @swagger * /notifications/long_polling/intermediate_throw_event_triggered: * get: * description: Wait for an IntermediateThrowEventTriggered notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onIntermediateThrowEventTriggered: string; /** * @swagger * /notifications/long_polling/intermediate_catch_event_reached: * get: * description: Wait for an IntermediateCatchEventReached notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onIntermediateCatchEventReached: string; /** * @swagger * /notifications/long_polling/intermediate_catch_event_finished: * get: * description: Wait for a IntermediateCatchEventFinished notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onIntermediateCatchEventFinished: string; /** * @swagger * /notifications/long_polling/flow_node_event_retry_sending: * get: * description: Wait for a FlowNodeEventRetrySending notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onFlowNodeEventRetrySending: string; /** * @swagger * /notifications/long_polling/message_triggered: * get: * description: Wait for an MessageTriggered notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onMessageTriggered: string; /** * @swagger * /notifications/long_polling/signal_triggered: * get: * description: Wait for an SignalTriggered notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onSignalTriggered: string; /** * @swagger * /notifications/long_polling/end_event_finished: * get: * description: Wait for an EndEventFinished notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onEndEventFinished: string; /** * @swagger * /notifications/long_polling/start_event_finished: * get: * description: Wait for an StartEventFinished notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/EventMessage' */ onStartEventFinished: string; /** * @swagger * /notifications/long_polling/process_instance_metadata_changed: * get: * description: Wait for a ProcessInstanceMetadataChanged notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/MetadataChangedMessage' */ onProcessInstanceMetadataChanged: string; /** * @swagger * /notifications/long_polling/correlation_metadata_changed: * get: * description: Wait for a CorrelationMetadataChanged notification and resolves with the notification's content. * tags: [Notifications] * responses: * 200: * content: * application/json: * schema: * $ref: '#/components/schemas/MetadataChangedMessage' */ onCorrelationMetadataChanged: string; }; baseRoute: string; };