windmill-client 1.262.1 → 1.263.1

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.262.1',
6
+ VERSION: '1.263.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -12,7 +12,7 @@ export declare class WorkerService {
12
12
  * @returns WorkerPing a list of workers
13
13
  * @throws ApiError
14
14
  */
15
- static listWorkers({ page, perPage, }: {
15
+ static listWorkers({ page, perPage, pingSince, }: {
16
16
  /**
17
17
  * which page to return (start at 1, default 1)
18
18
  */
@@ -21,6 +21,10 @@ export declare class WorkerService {
21
21
  * number of items to return for a given page (default 30, max 100)
22
22
  */
23
23
  perPage?: number;
24
+ /**
25
+ * number of seconds the worker must have had a last ping more recent of (default to 300)
26
+ */
27
+ pingSince?: number;
24
28
  }): CancelablePromise<Array<WorkerPing>>;
25
29
  /**
26
30
  * exists worker with tag
@@ -20,13 +20,14 @@ class WorkerService {
20
20
  * @returns WorkerPing a list of workers
21
21
  * @throws ApiError
22
22
  */
23
- static listWorkers({ page, perPage, }) {
23
+ static listWorkers({ page, perPage, pingSince, }) {
24
24
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
25
25
  method: 'GET',
26
26
  url: '/workers/list',
27
27
  query: {
28
28
  'page': page,
29
29
  'per_page': perPage,
30
+ 'ping_since': pingSince,
30
31
  },
31
32
  });
32
33
  }
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.262.1",
4
+ "version": "1.263.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {