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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.194.0',
6
+ VERSION: '1.196.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -1,4 +1,5 @@
1
1
  export type RestartedFrom = {
2
2
  flow_job_id?: string;
3
3
  step_id?: string;
4
+ branch_or_iteration_n?: number;
4
5
  };
@@ -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,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.194.0",
4
+ "version": "1.196.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {