windmill-client 1.491.0 → 1.491.2

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.
@@ -39,7 +39,7 @@ exports.OpenAPI = {
39
39
  PASSWORD: undefined,
40
40
  TOKEN: getEnv("WM_TOKEN"),
41
41
  USERNAME: undefined,
42
- VERSION: '1.491.0',
42
+ VERSION: '1.491.2',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -14,6 +14,16 @@ export type AIConfig = {
14
14
  default_model?: AIProviderModel;
15
15
  code_completion_model?: AIProviderModel;
16
16
  };
17
+ export type Alert = {
18
+ name: string;
19
+ tags_to_monitor: Array<(string)>;
20
+ jobs_num_threshold: number;
21
+ alert_cooldown_seconds: number;
22
+ alert_time_threshold_seconds: number;
23
+ };
24
+ export type Configs = {
25
+ alerts?: Array<Alert>;
26
+ };
17
27
  export type Script = {
18
28
  workspace_id?: string;
19
29
  hash: string;
@@ -6375,7 +6385,7 @@ export type ListWorkerGroupsResponse = Array<{
6375
6385
  export type GetConfigData = {
6376
6386
  name: string;
6377
6387
  };
6378
- export type GetConfigResponse = unknown;
6388
+ export type GetConfigResponse = Configs | null;
6379
6389
  export type UpdateConfigData = {
6380
6390
  name: string;
6381
6391
  /**
@@ -15341,7 +15351,7 @@ export type $OpenApiTs = {
15341
15351
  /**
15342
15352
  * a config
15343
15353
  */
15344
- 200: unknown;
15354
+ 200: Configs | null;
15345
15355
  };
15346
15356
  };
15347
15357
  };
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.491.0",
4
+ "version": "1.491.2",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {