windmill-client 1.340.1 → 1.341.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.
@@ -36,7 +36,7 @@ exports.OpenAPI = {
36
36
  PASSWORD: undefined,
37
37
  TOKEN: getEnv("WM_TOKEN"),
38
38
  USERNAME: undefined,
39
- VERSION: '1.340.1',
39
+ VERSION: '1.341.0',
40
40
  WITH_CREDENTIALS: true,
41
41
  interceptors: {
42
42
  request: new Interceptors(),
@@ -2193,6 +2193,10 @@ export declare class JobService {
2193
2193
  * @param data The data for the request.
2194
2194
  * @param data.workspace
2195
2195
  * @param data.id
2196
+ * @param data.suspendedJob
2197
+ * @param data.resumeId
2198
+ * @param data.secret
2199
+ * @param data.approver
2196
2200
  * @returns unknown result
2197
2201
  * @throws ApiError
2198
2202
  */
@@ -4380,6 +4380,10 @@ class JobService {
4380
4380
  * @param data The data for the request.
4381
4381
  * @param data.workspace
4382
4382
  * @param data.id
4383
+ * @param data.suspendedJob
4384
+ * @param data.resumeId
4385
+ * @param data.secret
4386
+ * @param data.approver
4383
4387
  * @returns unknown result
4384
4388
  * @throws ApiError
4385
4389
  */
@@ -4390,6 +4394,12 @@ class JobService {
4390
4394
  path: {
4391
4395
  workspace: data.workspace,
4392
4396
  id: data.id
4397
+ },
4398
+ query: {
4399
+ suspended_job: data.suspendedJob,
4400
+ resume_id: data.resumeId,
4401
+ secret: data.secret,
4402
+ approver: data.approver
4393
4403
  }
4394
4404
  });
4395
4405
  }
@@ -144,6 +144,8 @@ export type QueuedJob = {
144
144
  mem_peak?: number;
145
145
  tag: string;
146
146
  priority?: number;
147
+ self_wait_time_ms?: number;
148
+ aggregate_wait_time_ms?: number;
147
149
  };
148
150
  export type CompletedJob = {
149
151
  workspace_id?: string;
@@ -183,6 +185,8 @@ export type CompletedJob = {
183
185
  tag: string;
184
186
  priority?: number;
185
187
  labels?: Array<(string)>;
188
+ self_wait_time_ms?: number;
189
+ aggregate_wait_time_ms?: number;
186
190
  };
187
191
  export type ObscuredJob = {
188
192
  typ?: string;
@@ -3398,7 +3402,11 @@ export type GetCompletedJobData = {
3398
3402
  };
3399
3403
  export type GetCompletedJobResponse = CompletedJob;
3400
3404
  export type GetCompletedJobResultData = {
3405
+ approver?: string;
3401
3406
  id: string;
3407
+ resumeId?: number;
3408
+ secret?: string;
3409
+ suspendedJob?: string;
3402
3410
  workspace: string;
3403
3411
  };
3404
3412
  export type GetCompletedJobResultResponse = unknown;
@@ -8714,7 +8722,11 @@ export type $OpenApiTs = {
8714
8722
  '/w/{workspace}/jobs_u/completed/get_result/{id}': {
8715
8723
  get: {
8716
8724
  req: {
8725
+ approver?: string;
8717
8726
  id: string;
8727
+ resumeId?: number;
8728
+ secret?: string;
8729
+ suspendedJob?: string;
8718
8730
  workspace: string;
8719
8731
  };
8720
8732
  res: {
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.340.1",
4
+ "version": "1.341.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {