windmill-client 1.221.0 → 1.223.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.221.0',
6
+ VERSION: '1.223.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -22,4 +22,12 @@ export declare class WorkerService {
22
22
  */
23
23
  perPage?: number;
24
24
  }): CancelablePromise<Array<WorkerPing>>;
25
+ /**
26
+ * exists worker with tag
27
+ * @returns boolean whether a worker with the tag exists
28
+ * @throws ApiError
29
+ */
30
+ static existsWorkerWithTag({ tag, }: {
31
+ tag: string;
32
+ }): CancelablePromise<boolean>;
25
33
  }
@@ -30,5 +30,19 @@ class WorkerService {
30
30
  },
31
31
  });
32
32
  }
33
+ /**
34
+ * exists worker with tag
35
+ * @returns boolean whether a worker with the tag exists
36
+ * @throws ApiError
37
+ */
38
+ static existsWorkerWithTag({ tag, }) {
39
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
40
+ method: 'GET',
41
+ url: '/workers/exists_worker_with_tag',
42
+ query: {
43
+ 'tag': tag,
44
+ },
45
+ });
46
+ }
33
47
  }
34
48
  exports.WorkerService = WorkerService;
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.221.0",
4
+ "version": "1.223.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {