windmill-client 1.169.0 → 1.170.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.169.0',
6
+ VERSION: '1.170.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -415,6 +415,16 @@ export declare class JobService {
415
415
  }): CancelablePromise<{
416
416
  database_length: number;
417
417
  }>;
418
+ /**
419
+ * get completed count
420
+ * @returns any completed count
421
+ * @throws ApiError
422
+ */
423
+ static getCompletedCount({ workspace, }: {
424
+ workspace: string;
425
+ }): CancelablePromise<{
426
+ database_length: number;
427
+ }>;
418
428
  /**
419
429
  * cancel all jobs
420
430
  * @returns string uuids of canceled jobs
@@ -294,6 +294,20 @@ class JobService {
294
294
  },
295
295
  });
296
296
  }
297
+ /**
298
+ * get completed count
299
+ * @returns any completed count
300
+ * @throws ApiError
301
+ */
302
+ static getCompletedCount({ workspace, }) {
303
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
304
+ method: 'GET',
305
+ url: '/w/{workspace}/jobs/completed/count',
306
+ path: {
307
+ 'workspace': workspace,
308
+ },
309
+ });
310
+ }
297
311
  /**
298
312
  * cancel all jobs
299
313
  * @returns string uuids of canceled jobs
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.169.0",
4
+ "version": "1.170.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {