import "../ApiClient-fBZ10h6n.mjs"; import { t as BulkResponse_default } from "../BulkResponse-Bo_Avne5.mjs"; import "../Breakpoint-BMo8Lpao.mjs"; import "../ExecutionKind-CympInQF.mjs"; import "../ExecutionMetadata-CcYPxt7I.mjs"; import "../ExecutionTrigger-CzKbJUnh.mjs"; import "../Label-NQsPduJI.mjs"; import "../StateType-CA4aMnXy.mjs"; import "../StateHistory-CKitluwW.mjs"; import "../State-DVXHVcVv.mjs"; import "../Asset-QWv2ZEoy.mjs"; import "../TaskFixture-CCwz5_h2.mjs"; import "../AssetIdentifier-CzXHaTTa.mjs"; import "../AssetsInOut-BT_nZJkV.mjs"; import "../TaskRunAttempt-dzhuP0_u.mjs"; import "../TaskRun-DfrMpzji.mjs"; import { t as Execution_default } from "../Execution-Ckx_siAG.mjs"; import { t as ExecutionControllerEvalResult_default } from "../ExecutionControllerEvalResult-DYsyjDM4.mjs"; import { t as ExecutionControllerExecutionResponse_default } from "../ExecutionControllerExecutionResponse-zmoxgU91.mjs"; import { t as ExecutionControllerLastExecutionResponse_default } from "../ExecutionControllerLastExecutionResponse-DLplUZCS.mjs"; import { t as FileMetas_default } from "../FileMetas-B2AXSfNp.mjs"; import "../DependsOn-GNgHPHR5.mjs"; import "../Type-DedIPHdh.mjs"; import "../InputObject-C6GD5E0Q.mjs"; import "../OutputValue-D5nRliVj.mjs"; import "../Output-BiBqpuJQ.mjs"; import "../WorkerGroupFallback-B6jAaIQG.mjs"; import "../WorkerGroup-COoO34xB.mjs"; import "../AbstractFlow-C68hQfXI.mjs"; import "../AbstractTriggerForExecution-qtAlQDzN.mjs"; import "../MapObjectObject-CiMbke6f.mjs"; import "../ExecutableTaskSubflowId-7Nn9qyqT.mjs"; import "../TaskForExecution-BDSKlqYb.mjs"; import { t as FlowForExecution_default } from "../FlowForExecution-BQFjfsQZ.mjs"; import "../AbstractGraphBranchType-BVHNIylw.mjs"; import "../AbstractGraph-CV9srXKU.mjs"; import "../FlowGraphCluster-B4yi_Q6m.mjs"; import "../RelationType-DRy2FlSX.mjs"; import "../Relation-CVeYxMEL.mjs"; import "../FlowGraphEdge-AwaV73vs.mjs"; import { t as FlowGraph_default } from "../FlowGraph-OiT5dMX2.mjs"; import { t as PagedResultsExecution_default } from "../PagedResultsExecution-BG9g7IxC.mjs"; import "../QueryFilterOp-I6iNIMKZ.mjs"; import { t as WebhookResponse_default } from "../WebhookResponse-f1E_L-Fq.mjs"; import { t as IQueryFilter } from "../IQueryFilter-C0EgxMlb.mjs"; //#region src/api/ExecutionsApi.d.ts /** * Executions service. * @module api/ExecutionsApi */ declare class ExecutionsApi { /** * Constructs a new ExecutionsApi. * @alias module:api/ExecutionsApi * @class * @param {module:ApiClient} [apiClient] Optional API client implementation to use, * default to {@link module:ApiClient#instance} if unspecified. */ constructor(apiClient?: any); apiClient: any; /** * Create a new execution for a flow * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [labels] The labels as a list of 'key:value' * @param {Boolean} [wait = false)] If the server will wait the end of the execution * @param {Number} [revision] The flow revision or latest if null * @param {Date} [scheduleDate] Schedule the flow on a specific date * @param {String} [breakpoints] Set a list of breakpoints at specific tasks 'id.value', separated by a coma. * @param {module:model/ExecutionKind} [kind] Specific execution kind * @param {Object} [formData] Extra multipart fields/files (key → value). Values may be strings, File/Blob (browser) or Buffer/stream (Node). * @return {Promise} */ createExecutionWithHttpInfo(namespace: string, id: string, tenant: string, opts: any, formData?: any): Promise; /** * Create a new execution for a flow * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.labels] The labels as a list of 'key:value' * @param {Boolean} [opts.wait (default to false)] If the server will wait the end of the execution * @param {Number} [opts.revision] The flow revision or latest if null * @param {Date} [opts.scheduleDate] Schedule the flow on a specific date * @param {String} [opts.breakpoints] Set a list of breakpoints at specific tasks 'id.value', separated by a coma. * @param {module:model/ExecutionKind} [opts.kind] Specific execution kind * @param {Object} [formData] Extra multipart fields/files (key → value). Values may be strings, File/Blob (browser) or Buffer/stream (Node). * @return {Promise} */ createExecution(namespace: string, id: string, tenant: string, opts?: { labels?: Array; wait?: boolean; revision?: number; scheduleDate?: Date; breakpoints?: string; kind?: any; }, formData?: any): Promise; /** * Delete an execution * @param {String} executionId The execution id * @param {String} tenant * @param {Object} opts Optional parameters * @param {Boolean} [deleteLogs = true)] Whether to delete execution logs * @param {Boolean} [deleteMetrics = true)] Whether to delete execution metrics * @param {Boolean} [deleteStorage = true)] Whether to delete execution files in the internal storage * @return {Promise< >} */ deleteExecutionWithHttpInfo(executionId: string, tenant: string, opts: any): Promise; /** * Delete an execution * @param {String} executionId The execution id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Boolean} [opts.deleteLogs (default to true)] Whether to delete execution logs * @param {Boolean} [opts.deleteMetrics (default to true)] Whether to delete execution metrics * @param {Boolean} [opts.deleteStorage (default to true)] Whether to delete execution files in the internal storage * @return {Promise< >} */ deleteExecution(executionId: string, tenant: string, opts?: { deleteLogs?: boolean; deleteMetrics?: boolean; deleteStorage?: boolean; }): Promise; /** * Delete a list of executions * @param {String} tenant * @param {Array.} requestBody The execution id * @param {Object} opts Optional parameters * @param {Boolean} [includeNonTerminated = false)] Whether to delete non-terminated executions * @param {Boolean} [deleteLogs = true)] Whether to delete execution logs * @param {Boolean} [deleteMetrics = true)] Whether to delete execution metrics * @param {Boolean} [deleteStorage = true)] Whether to delete execution files in the internal storage * @return {Promise} */ deleteExecutionsByIdsWithHttpInfo(tenant: string, requestBody: Array, opts: any): Promise; /** * Delete a list of executions * @param {String} tenant * @param {Array.} requestBody The execution id * @param {Object} [opts] Optional parameters * @param {Boolean} [opts.includeNonTerminated (default to false)] Whether to delete non-terminated executions * @param {Boolean} [opts.deleteLogs (default to true)] Whether to delete execution logs * @param {Boolean} [opts.deleteMetrics (default to true)] Whether to delete execution metrics * @param {Boolean} [opts.deleteStorage (default to true)] Whether to delete execution files in the internal storage * @return {Promise} */ deleteExecutionsByIds(tenant: string, requestBody: Array, opts?: { includeNonTerminated?: boolean; deleteLogs?: boolean; deleteMetrics?: boolean; deleteStorage?: boolean; }): Promise; /** * Delete executions filter by query parameters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @param {Boolean} [includeNonTerminated = false)] Whether to delete non-terminated executions * @param {Boolean} [deleteLogs = true)] Whether to delete execution logs * @param {Boolean} [deleteMetrics = true)] Whether to delete execution metrics * @param {Boolean} [deleteStorage = true)] Whether to delete execution files in the internal storage * @return {Promise< Object >} */ deleteExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Delete executions filter by query parameters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @param {Boolean} [opts.includeNonTerminated (default to false)] Whether to delete non-terminated executions * @param {Boolean} [opts.deleteLogs (default to true)] Whether to delete execution logs * @param {Boolean} [opts.deleteMetrics (default to true)] Whether to delete execution metrics * @param {Boolean} [opts.deleteStorage (default to true)] Whether to delete execution files in the internal storage * @return {Promise< Object >} */ deleteExecutionsByQuery(tenant: string, opts?: { filters?: Array; includeNonTerminated?: boolean; deleteLogs?: boolean; deleteMetrics?: boolean; deleteStorage?: boolean; }): Promise; /** * Download file for an execution * @param {String} executionId The execution id * @param {String} path The internal storage uri * @param {String} tenant * @return {Promise< File >} */ downloadFileFromExecutionWithHttpInfo(executionId: string, path: string, tenant: string): Promise; /** * Download file for an execution * @param {String} executionId The execution id * @param {String} path The internal storage uri * @param {String} tenant * @return {Promise< File >} */ downloadFileFromExecution(executionId: string, path: string, tenant: string): Promise; /** * Evaluate a variable expression for this execution * @param {String} executionId The execution id * @param {String} tenant * @param {String} body The Pebble expression that should be evaluated * @return {Promise} */ evalExpressionWithHttpInfo(executionId: string, tenant: string, body: string): Promise; /** * Evaluate a variable expression for this execution * @param {String} executionId The execution id * @param {String} tenant * @param {String} body The Pebble expression that should be evaluated * @return {Promise} */ evalExpression(executionId: string, tenant: string, body: string): Promise; /** * Get an execution * @param {String} executionId The execution id * @param {String} tenant * @return {Promise} */ executionWithHttpInfo(executionId: string, tenant: string): Promise; /** * Get an execution * @param {String} executionId The execution id * @param {String} tenant * @return {Promise} */ execution(executionId: string, tenant: string): Promise; /** * Generate a graph for an execution * @param {String} executionId The execution id * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [subflows] The subflow tasks to display * @return {Promise} */ executionFlowGraphWithHttpInfo(executionId: string, tenant: string, opts: any): Promise; /** * Generate a graph for an execution * @param {String} executionId The execution id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.subflows] The subflow tasks to display * @return {Promise} */ executionFlowGraph(executionId: string, tenant: string, opts?: { subflows?: Array; }): Promise; /** * Get file meta information for an execution * @param {String} executionId The execution id * @param {String} path The internal storage uri * @param {String} tenant * @return {Promise} */ fileMetadatasFromExecutionWithHttpInfo(executionId: string, path: string, tenant: string): Promise; /** * Get file meta information for an execution * @param {String} executionId The execution id * @param {String} path The internal storage uri * @param {String} tenant * @return {Promise} */ fileMetadatasFromExecution(executionId: string, path: string, tenant: string): Promise; /** * Get flow information's for an execution * @param {String} namespace The namespace of the flow * @param {String} flowId The flow id * @param {String} tenant * @param {Object} opts Optional parameters * @param {Number} [revision] The flow revision * @return {Promise} */ flowFromExecutionWithHttpInfo(namespace: string, flowId: string, tenant: string, opts: any): Promise; /** * Get flow information's for an execution * @param {String} namespace The namespace of the flow * @param {String} flowId The flow id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Number} [opts.revision] The flow revision * @return {Promise} */ flowFromExecution(namespace: string, flowId: string, tenant: string, opts?: { revision?: number; }): Promise; /** * Get flow information's for an execution * @param {String} executionId The execution that you want flow information * @param {String} tenant * @return {Promise} */ flowFromExecutionByIdWithHttpInfo(executionId: string, tenant: string): Promise; /** * Get flow information's for an execution * @param {String} executionId The execution that you want flow information * @param {String} tenant * @return {Promise} */ flowFromExecutionById(executionId: string, tenant: string): Promise; /** * Custom implementation for following execution via Server-Sent Events (SSE) * @param {String} executionId * @param {String} tenant * @param {Boolean} destinationOnly * @param {Boolean} expandAll * @param {Object} [options] Optional parameters * @param {Function} [options.EventSource] Custom EventSource constructor (for Node.js environment) * @return {EventSource} EventSource object to listen to execution events */ followDependenciesExecutions(executionId: string, tenant: string, opts: any, options?: { EventSource?: Function; }): EventSource; /** * Custom implementation for following execution via Server-Sent Events (SSE) * @param {String} executionId * @param {String} tenant * @param {Object} [options] Optional parameters * @param {Function} [options.EventSource] Custom EventSource constructor (for Node.js environment) * @return {EventSource} EventSource object to listen to execution events */ followExecution(executionId: string, tenant: string, options?: { EventSource?: Function; }): EventSource; /** * Force run a list of executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ forceRunByIdsWithHttpInfo(tenant: string, requestBody: Array): Promise; /** * Force run a list of executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ forceRunByIds(tenant: string, requestBody: Array): Promise; /** * Force run an execution * @param {String} executionId The execution id * @param {String} tenant * @return {Promise} */ forceRunExecutionWithHttpInfo(executionId: string, tenant: string): Promise; /** * Force run an execution * @param {String} executionId The execution id * @param {String} tenant * @return {Promise} */ forceRunExecution(executionId: string, tenant: string): Promise; /** * Force run executions filter by query parameters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @return {Promise< Object >} */ forceRunExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Force run executions filter by query parameters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @return {Promise< Object >} */ forceRunExecutionsByQuery(tenant: string, opts?: { filters?: Array; }): Promise; /** * Kill an execution * @param {String} executionId The execution id * @param {String} tenant * @param {Object} opts Optional parameters * @param {Boolean} [isOnKillCascade = true)] Specifies whether killing the execution also kill all subflow executions. * @return {Promise< Object >} */ killExecutionWithHttpInfo(executionId: string, tenant: string, opts: any): Promise; /** * Kill an execution * @param {String} executionId The execution id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Boolean} [opts.isOnKillCascade (default to true)] Specifies whether killing the execution also kill all subflow executions. * @return {Promise< Object >} */ killExecution(executionId: string, tenant: string, opts?: { isOnKillCascade?: boolean; }): Promise; /** * Kill a list of executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ killExecutionsByIdsWithHttpInfo(tenant: string, requestBody: Array): Promise; /** * Kill a list of executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ killExecutionsByIds(tenant: string, requestBody: Array): Promise; /** * Kill executions filter by query parameters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @return {Promise< Object >} */ killExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Kill executions filter by query parameters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @return {Promise< Object >} */ killExecutionsByQuery(tenant: string, opts?: { filters?: Array; }): Promise; /** * Get the latest execution for given flows * @param {String} tenant * @param {Array.} executionRepositoryInterfaceFlowFilter * @return {Promise>} */ latestExecutionsWithHttpInfo(tenant: string, executionRepositoryInterfaceFlowFilter: any): Promise>; /** * Get the latest execution for given flows * @param {String} tenant * @param {Array.} executionRepositoryInterfaceFlowFilter * @return {Promise>} */ latestExecutions(tenant: string, executionRepositoryInterfaceFlowFilter: any): Promise>; /** * Pause a running execution. * @param {String} executionId The execution id * @param {String} tenant * @return {Promise< >} */ pauseExecutionWithHttpInfo(executionId: string, tenant: string): Promise; /** * Pause a running execution. * @param {String} executionId The execution id * @param {String} tenant * @return {Promise< >} */ pauseExecution(executionId: string, tenant: string): Promise; /** * Pause a list of running executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ pauseExecutionsByIdsWithHttpInfo(tenant: string, requestBody: Array): Promise; /** * Pause a list of running executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ pauseExecutionsByIds(tenant: string, requestBody: Array): Promise; /** * Pause executions filter by query parameters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @return {Promise< Object >} */ pauseExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Pause executions filter by query parameters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @return {Promise< Object >} */ pauseExecutionsByQuery(tenant: string, opts?: { filters?: Array; }): Promise; /** * Create a new execution from an old one and start it from a specified task run id * @param {String} executionId the original execution id to clone * @param {String} tenant * @param {Object} opts Optional parameters * @param {String} [taskRunId] The taskrun id * @param {Number} [revision] The flow revision to use for new execution * @param {String} [breakpoints] Set a list of breakpoints at specific tasks 'id.value', separated by a coma. * @return {Promise} */ replayExecutionWithHttpInfo(executionId: string, tenant: string, opts: any): Promise; /** * Create a new execution from an old one and start it from a specified task run id * @param {String} executionId the original execution id to clone * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {String} [opts.taskRunId] The taskrun id * @param {Number} [opts.revision] The flow revision to use for new execution * @param {String} [opts.breakpoints] Set a list of breakpoints at specific tasks 'id.value', separated by a coma. * @return {Promise} */ replayExecution(executionId: string, tenant: string, opts?: { taskRunId?: string; revision?: number; breakpoints?: string; }): Promise; /** * Create a new execution from an old one and start it from a specified task run id * @param {String} executionId the original execution id to clone * @param {String} tenant * @param {Object} opts Optional parameters * @param {String} [taskRunId] The taskrun id * @param {Number} [revision] The flow revision to use for new execution * @param {String} [breakpoints] Set a list of breakpoints at specific tasks 'id.value', separated by a coma. * @param {Object} [formData] Extra multipart fields/files (key → value). Values may be strings, File/Blob (browser) or Buffer/stream (Node). * @return {Promise} */ replayExecutionWithinputsWithHttpInfo(executionId: string, tenant: string, opts: any, formData?: any): Promise; /** * Create a new execution from an old one and start it from a specified task run id * @param {String} executionId the original execution id to clone * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {String} [opts.taskRunId] The taskrun id * @param {Number} [opts.revision] The flow revision to use for new execution * @param {String} [opts.breakpoints] Set a list of breakpoints at specific tasks 'id.value', separated by a coma. * @param {Object} [formData] Extra multipart fields/files (key → value). Values may be strings, File/Blob (browser) or Buffer/stream (Node). * @return {Promise} */ replayExecutionWithinputs(executionId: string, tenant: string, opts?: { taskRunId?: string; revision?: number; breakpoints?: string; }, formData?: any): Promise; /** * Create new executions from old ones. Keep the flow revision * @param {String} tenant * @param {Array.} requestBody The list of executions id * @param {Object} opts Optional parameters * @param {Boolean} [latestRevision = false)] If latest revision should be used * @return {Promise} */ replayExecutionsByIdsWithHttpInfo(tenant: string, requestBody: Array, opts: any): Promise; /** * Create new executions from old ones. Keep the flow revision * @param {String} tenant * @param {Array.} requestBody The list of executions id * @param {Object} [opts] Optional parameters * @param {Boolean} [opts.latestRevision (default to false)] If latest revision should be used * @return {Promise} */ replayExecutionsByIds(tenant: string, requestBody: Array, opts?: { latestRevision?: boolean; }): Promise; /** * Create new executions from old ones filter by query parameters. Keep the flow revision * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @param {Boolean} [latestRevision = false)] If latest revision should be used * @return {Promise< Object >} */ replayExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Create new executions from old ones filter by query parameters. Keep the flow revision * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @param {Boolean} [opts.latestRevision (default to false)] If latest revision should be used * @return {Promise< Object >} */ replayExecutionsByQuery(tenant: string, opts?: { filters?: Array; latestRevision?: boolean; }): Promise; /** * Restart a new execution from an old one * @param {String} executionId The execution id * @param {String} tenant * @param {Object} opts Optional parameters * @param {Number} [revision] The flow revision to use for new execution * @return {Promise} */ restartExecutionWithHttpInfo(executionId: string, tenant: string, opts: any): Promise; /** * Restart a new execution from an old one * @param {String} executionId The execution id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Number} [opts.revision] The flow revision to use for new execution * @return {Promise} */ restartExecution(executionId: string, tenant: string, opts?: { revision?: number; }): Promise; /** * Restart a list of executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ restartExecutionsByIdsWithHttpInfo(tenant: string, requestBody: Array): Promise; /** * Restart a list of executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ restartExecutionsByIds(tenant: string, requestBody: Array): Promise; /** * Restart executions filter by query parameters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @return {Promise< Object >} */ restartExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Restart executions filter by query parameters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @return {Promise< Object >} */ restartExecutionsByQuery(tenant: string, opts?: { filters?: Array; }): Promise; /** * Resume a paused execution. * @param {String} executionId The execution id * @param {String} tenant * @param {Object} [formData] Extra multipart fields/files (key → value). Values may be strings, File/Blob (browser) or Buffer/stream (Node). * @return {Promise< Object >} */ resumeExecutionWithHttpInfo(executionId: string, tenant: string, formData?: any): Promise; /** * Resume a paused execution. * @param {String} executionId The execution id * @param {String} tenant * @param {Object} [formData] Extra multipart fields/files (key → value). Values may be strings, File/Blob (browser) or Buffer/stream (Node). * @return {Promise< Object >} */ resumeExecution(executionId: string, tenant: string, formData?: any): Promise; /** * Resume a list of paused executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ resumeExecutionsByIdsWithHttpInfo(tenant: string, requestBody: Array): Promise; /** * Resume a list of paused executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ resumeExecutionsByIds(tenant: string, requestBody: Array): Promise; /** * Resume executions filter by query parameters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @return {Promise< Object >} */ resumeExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Resume executions filter by query parameters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @return {Promise< Object >} */ resumeExecutionsByQuery(tenant: string, opts?: { filters?: Array; }): Promise; /** * Search for executions * @param {String} tenant * @param {Object} opts Optional parameters * @param {Number} [page = 1)] The current page * @param {Number} [size = 10)] The current page size * @param {Array.} [sort] The sort of current page * @param {Array.} [filters] Filters * @return {Promise} */ searchExecutionsWithHttpInfo(tenant: string, opts: any): Promise; /** * Search for executions * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Number} [opts.page (default to 1)] The current page * @param {Number} [opts.size (default to 10)] The current page size * @param {Array.} [opts.sort] The sort of current page * @param {Array.} [opts.filters] Filters * @return {Promise} */ searchExecutions(tenant: string, opts?: { page?: number; size?: number; sort?: Array; filters?: Array; }): Promise; /** * Search for executions for a flow * @param {String} namespace The flow namespace * @param {String} flowId The flow id * @param {String} tenant * @param {Object} opts Optional parameters * @param {Number} [page = 1)] The current page * @param {Number} [size = 10)] The current page size * @return {Promise} */ searchExecutionsByFlowIdWithHttpInfo(namespace: string, flowId: string, tenant: string, opts: any): Promise; /** * Search for executions for a flow * @param {String} namespace The flow namespace * @param {String} flowId The flow id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Number} [opts.page (default to 1)] The current page * @param {Number} [opts.size (default to 10)] The current page size * @return {Promise} */ searchExecutionsByFlowId(namespace: string, flowId: string, tenant: string, opts?: { page?: number; size?: number; }): Promise; /** * Add or update labels of a terminated execution * @param {String} executionId The execution id * @param {String} tenant * @param {Array.} label The labels to add to the execution * @return {Promise< Object >} */ setLabelsOnTerminatedExecutionWithHttpInfo(executionId: string, tenant: string, label: any): Promise; /** * Add or update labels of a terminated execution * @param {String} executionId The execution id * @param {String} tenant * @param {Array.} label The labels to add to the execution * @return {Promise< Object >} */ setLabelsOnTerminatedExecution(executionId: string, tenant: string, label: any): Promise; /** * Set labels on a list of executions * @param {String} tenant * @param {module:model/ExecutionControllerSetLabelsByIdsRequest} executionControllerSetLabelsByIdsRequest The request containing a list of labels and a list of executions * @return {Promise} */ setLabelsOnTerminatedExecutionsByIdsWithHttpInfo(tenant: string, executionControllerSetLabelsByIdsRequest: any): Promise; /** * Set labels on a list of executions * @param {String} tenant * @param {module:model/ExecutionControllerSetLabelsByIdsRequest} executionControllerSetLabelsByIdsRequest The request containing a list of labels and a list of executions * @return {Promise} */ setLabelsOnTerminatedExecutionsByIds(tenant: string, executionControllerSetLabelsByIdsRequest: any): Promise; /** * Set label on executions filter by query parameters * @param {String} tenant * @param {Array.} label The labels to add to the execution * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @return {Promise< Object >} */ setLabelsOnTerminatedExecutionsByQueryWithHttpInfo(tenant: string, label: any, opts: any): Promise; /** * Set label on executions filter by query parameters * @param {String} tenant * @param {Array.} label The labels to add to the execution * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @return {Promise< Object >} */ setLabelsOnTerminatedExecutionsByQuery(tenant: string, label: any, opts?: { filters?: Array; }): Promise; /** * Trigger a new execution by GET webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} tenant * @return {Promise} */ triggerExecutionByGetWebhookWithHttpInfo(namespace: string, id: string, key: string, tenant: string): Promise; /** * Trigger a new execution by GET webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} tenant * @return {Promise} */ triggerExecutionByGetWebhook(namespace: string, id: string, key: string, tenant: string): Promise; /** * Trigger a new execution by GET webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} path Optional additional path segments * @param {String} tenant * @return {Promise} */ triggerExecutionByGetWebhookWithPathWithHttpInfo(namespace: string, id: string, key: string, path: string, tenant: string): Promise; /** * Trigger a new execution by GET webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} path Optional additional path segments * @param {String} tenant * @return {Promise} */ triggerExecutionByGetWebhookWithPath(namespace: string, id: string, key: string, path: string, tenant: string): Promise; /** * Trigger a new execution by POST webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} path Optional additional path segments * @param {String} tenant * @return {Promise} */ triggerExecutionByPostWebhookWithPathWithHttpInfo(namespace: string, id: string, key: string, path: string, tenant: string): Promise; /** * Trigger a new execution by POST webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} path Optional additional path segments * @param {String} tenant * @return {Promise} */ triggerExecutionByPostWebhookWithPath(namespace: string, id: string, key: string, path: string, tenant: string): Promise; /** * Trigger a new execution by PUT webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} path Optional additional path segments * @param {String} tenant * @return {Promise} */ triggerExecutionByPutWebhookWithPathWithHttpInfo(namespace: string, id: string, key: string, path: string, tenant: string): Promise; /** * Trigger a new execution by PUT webhook trigger * @param {String} namespace The flow namespace * @param {String} id The flow id * @param {String} key The webhook trigger uid * @param {String} path Optional additional path segments * @param {String} tenant * @return {Promise} */ triggerExecutionByPutWebhookWithPath(namespace: string, id: string, key: string, path: string, tenant: string): Promise; /** * Unqueue an execution * @param {String} executionId The execution id * @param {module:model/StateType} state The new state of the execution * @param {String} tenant * @return {Promise} */ unqueueExecutionWithHttpInfo(executionId: string, state: any, tenant: string): Promise; /** * Unqueue an execution * @param {String} executionId The execution id * @param {module:model/StateType} state The new state of the execution * @param {String} tenant * @return {Promise} */ unqueueExecution(executionId: string, state: any, tenant: string): Promise; /** * Unqueue a list of executions * @param {module:model/StateType} state The new state of the unqueued executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ unqueueExecutionsByIdsWithHttpInfo(state: any, tenant: string, requestBody: Array): Promise; /** * Unqueue a list of executions * @param {module:model/StateType} state The new state of the unqueued executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ unqueueExecutionsByIds(state: any, tenant: string, requestBody: Array): Promise; /** * Unqueue executions filter by query parameters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @param {module:model/StateType} [newState] The new state of the unqueued executions * @return {Promise< Object >} */ unqueueExecutionsByQueryWithHttpInfo(tenant: string, opts: any): Promise; /** * Unqueue executions filter by query parameters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @param {module:model/StateType} [opts.newState] The new state of the unqueued executions * @return {Promise< Object >} */ unqueueExecutionsByQuery(tenant: string, opts?: { filters?: Array; newState?: any; }): Promise; /** * Change the state of an execution * @param {String} executionId The execution id * @param {module:model/StateType} status The new state of the execution * @param {String} tenant * @return {Promise} */ updateExecutionStatusWithHttpInfo(executionId: string, status: any, tenant: string): Promise; /** * Change the state of an execution * @param {String} executionId The execution id * @param {module:model/StateType} status The new state of the execution * @param {String} tenant * @return {Promise} */ updateExecutionStatus(executionId: string, status: any, tenant: string): Promise; /** * Change executions state by id * @param {module:model/StateType} newStatus The new state of the executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ updateExecutionsStatusByIdsWithHttpInfo(newStatus: any, tenant: string, requestBody: Array): Promise; /** * Change executions state by id * @param {module:model/StateType} newStatus The new state of the executions * @param {String} tenant * @param {Array.} requestBody The list of executions id * @return {Promise} */ updateExecutionsStatusByIds(newStatus: any, tenant: string, requestBody: Array): Promise; /** * Change executions state by query parameters * @param {module:model/StateType} newStatus The new state of the executions * @param {String} tenant * @param {Object} opts Optional parameters * @param {Array.} [filters] Filters * @return {Promise} */ updateExecutionsStatusByQueryWithHttpInfo(newStatus: any, tenant: string, opts: any): Promise; /** * Change executions state by query parameters * @param {module:model/StateType} newStatus The new state of the executions * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Array.} [opts.filters] Filters * @return {Promise} */ updateExecutionsStatusByQuery(newStatus: any, tenant: string, opts?: { filters?: Array; }): Promise; /** * Change state for a taskrun in an execution * @param {String} executionId The execution id * @param {String} tenant * @param {module:model/ExecutionControllerStateRequest} executionControllerStateRequest the taskRun id and state to apply * @return {Promise} */ updateTaskRunStateWithHttpInfo(executionId: string, tenant: string, executionControllerStateRequest: any): Promise; /** * Change state for a taskrun in an execution * @param {String} executionId The execution id * @param {String} tenant * @param {module:model/ExecutionControllerStateRequest} executionControllerStateRequest the taskRun id and state to apply * @return {Promise} */ updateTaskRunState(executionId: string, tenant: string, executionControllerStateRequest: any): Promise; } //#endregion export { ExecutionsApi as default };