windmill-client 1.721.0 → 1.723.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.
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.721.0",
32
+ VERSION: "1.723.0",
33
33
  WITH_CREDENTIALS: true,
34
34
  interceptors: {
35
35
  request: new Interceptors(),
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ const OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: getEnv$1("WM_TOKEN"),
128
128
  USERNAME: void 0,
129
- VERSION: "1.721.0",
129
+ VERSION: "1.723.0",
130
130
  WITH_CREDENTIALS: true,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -758,6 +758,10 @@ export type AiAgent = {
758
758
  };
759
759
  }>;
760
760
  type: 'aiagent';
761
+ /**
762
+ * Worker group tag for execution routing. If not set, the AI agent step runs on the flow's tag (default `flow`)
763
+ */
764
+ tag?: string;
761
765
  /**
762
766
  * If true, this AI agent step does not persist its assistant or tool messages to the flow conversation when chat mode is enabled.
763
767
  */
@@ -1359,6 +1363,7 @@ export type AIProviderModel = {
1359
1363
  export type AIProviderConfig = {
1360
1364
  resource_path: string;
1361
1365
  models: Array<(string)>;
1366
+ web_search_enabled?: boolean;
1362
1367
  };
1363
1368
  export type AIConfig = {
1364
1369
  providers?: {
@@ -1473,6 +1478,11 @@ export type Script = {
1473
1478
  [key: string]: ScriptModule;
1474
1479
  } | null;
1475
1480
  labels?: Array<(string)>;
1481
+ /**
1482
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
1483
+ *
1484
+ */
1485
+ inherited_labels?: Array<(string)>;
1476
1486
  };
1477
1487
  export type NewScript = {
1478
1488
  path: string;
@@ -2023,6 +2033,11 @@ export type ListableVariable = {
2023
2033
  is_refreshed?: boolean;
2024
2034
  expires_at?: string;
2025
2035
  labels?: Array<(string)>;
2036
+ /**
2037
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2038
+ *
2039
+ */
2040
+ inherited_labels?: Array<(string)>;
2026
2041
  ws_specific?: boolean;
2027
2042
  edited_at?: string;
2028
2043
  edited_by?: string;
@@ -2248,6 +2263,11 @@ export type Resource = {
2248
2263
  created_by?: string;
2249
2264
  edited_at?: string;
2250
2265
  labels?: Array<(string)>;
2266
+ /**
2267
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2268
+ *
2269
+ */
2270
+ inherited_labels?: Array<(string)>;
2251
2271
  ws_specific?: boolean;
2252
2272
  };
2253
2273
  export type ListableResource = {
@@ -2268,6 +2288,11 @@ export type ListableResource = {
2268
2288
  created_by?: string;
2269
2289
  edited_at?: string;
2270
2290
  labels?: Array<(string)>;
2291
+ /**
2292
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2293
+ *
2294
+ */
2295
+ inherited_labels?: Array<(string)>;
2271
2296
  ws_specific?: boolean;
2272
2297
  };
2273
2298
  export type ResourceType = {
@@ -2398,6 +2423,11 @@ export type Schedule = {
2398
2423
  */
2399
2424
  dynamic_skip?: string | null;
2400
2425
  labels?: Array<(string)>;
2426
+ /**
2427
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2428
+ *
2429
+ */
2430
+ inherited_labels?: Array<(string)>;
2401
2431
  };
2402
2432
  export type ScheduleWJobs = Schedule & {
2403
2433
  jobs?: Array<{
@@ -4355,6 +4385,11 @@ export type Folder = {
4355
4385
  created_by?: string;
4356
4386
  edited_at?: string;
4357
4387
  default_permissioned_as?: FolderDefaultPermissionedAs;
4388
+ /**
4389
+ * Labels set on the folder. Items inside the folder inherit them, exposed as `inherited_labels` on scripts and flows and stamped into job labels at run time.
4390
+ *
4391
+ */
4392
+ labels?: Array<(string)>;
4358
4393
  };
4359
4394
  /**
4360
4395
  * Ordered list of rules applied at create-time when admins or `wm_deployers` members deploy items in this folder. The first rule whose `path_glob` matches the item path (relative to the folder root) wins, and its `permissioned_as` is used as the default.
@@ -4503,6 +4538,11 @@ export type FlowMetadata = {
4503
4538
  visible_to_runner_only?: boolean;
4504
4539
  on_behalf_of_email?: string;
4505
4540
  labels?: Array<(string)>;
4541
+ /**
4542
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
4543
+ *
4544
+ */
4545
+ inherited_labels?: Array<(string)>;
4506
4546
  };
4507
4547
  export type OpenFlowWPath = OpenFlow & {
4508
4548
  path: string;
@@ -4588,6 +4628,11 @@ export type ListableApp = {
4588
4628
  execution_mode: 'viewer' | 'publisher' | 'anonymous';
4589
4629
  raw_app?: boolean;
4590
4630
  labels?: Array<(string)>;
4631
+ /**
4632
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
4633
+ *
4634
+ */
4635
+ inherited_labels?: Array<(string)>;
4591
4636
  };
4592
4637
  export type ScopeDefinition = {
4593
4638
  value: string;
@@ -4611,6 +4656,11 @@ export type ListableRawApp = {
4611
4656
  version: number;
4612
4657
  edited_at: string;
4613
4658
  labels?: Array<(string)>;
4659
+ /**
4660
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
4661
+ *
4662
+ */
4663
+ inherited_labels?: Array<(string)>;
4614
4664
  };
4615
4665
  export type AppWithLastVersion = {
4616
4666
  id: number;
@@ -5245,7 +5295,7 @@ export type ProtectionRuleset = {
5245
5295
  * Configuration of protection restrictions
5246
5296
  */
5247
5297
  export type ProtectionRules = Array<ProtectionRuleKind>;
5248
- export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking' | 'RestrictDeployToDeployers';
5298
+ export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking' | 'RestrictDeployToDeployers' | 'RestrictAnonymousAppDeployment';
5249
5299
  /**
5250
5300
  * Groups that can bypass this ruleset
5251
5301
  */
@@ -13001,6 +13051,7 @@ export type CreateFolderData = {
13001
13051
  owners?: Array<(string)>;
13002
13052
  extra_perms?: unknown;
13003
13053
  default_permissioned_as?: FolderDefaultPermissionedAs;
13054
+ labels?: Array<(string)>;
13004
13055
  };
13005
13056
  workspace: string;
13006
13057
  };
@@ -13015,6 +13066,7 @@ export type UpdateFolderData = {
13015
13066
  owners?: Array<(string)>;
13016
13067
  extra_perms?: unknown;
13017
13068
  default_permissioned_as?: FolderDefaultPermissionedAs;
13069
+ labels?: Array<(string)>;
13018
13070
  };
13019
13071
  workspace: string;
13020
13072
  };
@@ -27042,6 +27094,7 @@ export type $OpenApiTs = {
27042
27094
  owners?: Array<(string)>;
27043
27095
  extra_perms?: unknown;
27044
27096
  default_permissioned_as?: FolderDefaultPermissionedAs;
27097
+ labels?: Array<(string)>;
27045
27098
  };
27046
27099
  workspace: string;
27047
27100
  };
@@ -27065,6 +27118,7 @@ export type $OpenApiTs = {
27065
27118
  owners?: Array<(string)>;
27066
27119
  extra_perms?: unknown;
27067
27120
  default_permissioned_as?: FolderDefaultPermissionedAs;
27121
+ labels?: Array<(string)>;
27068
27122
  };
27069
27123
  workspace: string;
27070
27124
  };
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.721.0",
4
+ "version": "1.723.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "sideEffects": false,