windmill-client 1.194.0 → 1.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core/OpenAPI.js
CHANGED
|
@@ -247,13 +247,17 @@ export declare class JobService {
|
|
|
247
247
|
* @returns string job created
|
|
248
248
|
* @throws ApiError
|
|
249
249
|
*/
|
|
250
|
-
static restartFlowAtStep({ workspace, id, stepId, requestBody, scheduledFor, scheduledInSecs, parentJob, jobId, includeHeader, invisibleToOwner, }: {
|
|
250
|
+
static restartFlowAtStep({ workspace, id, stepId, branchOrIterationN, requestBody, scheduledFor, scheduledInSecs, parentJob, jobId, includeHeader, invisibleToOwner, }: {
|
|
251
251
|
workspace: string;
|
|
252
252
|
id: string;
|
|
253
253
|
/**
|
|
254
254
|
* step id to restart the flow from
|
|
255
255
|
*/
|
|
256
256
|
stepId: string;
|
|
257
|
+
/**
|
|
258
|
+
* for branchall or loop, the iteration at which the flow should restart
|
|
259
|
+
*/
|
|
260
|
+
branchOrIterationN: number;
|
|
257
261
|
/**
|
|
258
262
|
* flow args
|
|
259
263
|
*/
|
|
@@ -186,14 +186,15 @@ class JobService {
|
|
|
186
186
|
* @returns string job created
|
|
187
187
|
* @throws ApiError
|
|
188
188
|
*/
|
|
189
|
-
static restartFlowAtStep({ workspace, id, stepId, requestBody, scheduledFor, scheduledInSecs, parentJob, jobId, includeHeader, invisibleToOwner, }) {
|
|
189
|
+
static restartFlowAtStep({ workspace, id, stepId, branchOrIterationN, requestBody, scheduledFor, scheduledInSecs, parentJob, jobId, includeHeader, invisibleToOwner, }) {
|
|
190
190
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
191
191
|
method: 'POST',
|
|
192
|
-
url: '/w/{workspace}/jobs/restart/f/{id}/from/{step_id}',
|
|
192
|
+
url: '/w/{workspace}/jobs/restart/f/{id}/from/{step_id}/{branch_or_iteration_n}',
|
|
193
193
|
path: {
|
|
194
194
|
'workspace': workspace,
|
|
195
195
|
'id': id,
|
|
196
196
|
'step_id': stepId,
|
|
197
|
+
'branch_or_iteration_n': branchOrIterationN,
|
|
197
198
|
},
|
|
198
199
|
query: {
|
|
199
200
|
'scheduled_for': scheduledFor,
|