windmill-client 1.720.0 → 1.722.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.720.0",
32
+ VERSION: "1.722.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.720.0",
129
+ VERSION: "1.722.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
  */
@@ -1473,6 +1477,11 @@ export type Script = {
1473
1477
  [key: string]: ScriptModule;
1474
1478
  } | null;
1475
1479
  labels?: Array<(string)>;
1480
+ /**
1481
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
1482
+ *
1483
+ */
1484
+ inherited_labels?: Array<(string)>;
1476
1485
  };
1477
1486
  export type NewScript = {
1478
1487
  path: string;
@@ -2023,6 +2032,11 @@ export type ListableVariable = {
2023
2032
  is_refreshed?: boolean;
2024
2033
  expires_at?: string;
2025
2034
  labels?: Array<(string)>;
2035
+ /**
2036
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2037
+ *
2038
+ */
2039
+ inherited_labels?: Array<(string)>;
2026
2040
  ws_specific?: boolean;
2027
2041
  edited_at?: string;
2028
2042
  edited_by?: string;
@@ -2248,6 +2262,11 @@ export type Resource = {
2248
2262
  created_by?: string;
2249
2263
  edited_at?: string;
2250
2264
  labels?: Array<(string)>;
2265
+ /**
2266
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2267
+ *
2268
+ */
2269
+ inherited_labels?: Array<(string)>;
2251
2270
  ws_specific?: boolean;
2252
2271
  };
2253
2272
  export type ListableResource = {
@@ -2268,6 +2287,11 @@ export type ListableResource = {
2268
2287
  created_by?: string;
2269
2288
  edited_at?: string;
2270
2289
  labels?: Array<(string)>;
2290
+ /**
2291
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2292
+ *
2293
+ */
2294
+ inherited_labels?: Array<(string)>;
2271
2295
  ws_specific?: boolean;
2272
2296
  };
2273
2297
  export type ResourceType = {
@@ -2398,6 +2422,11 @@ export type Schedule = {
2398
2422
  */
2399
2423
  dynamic_skip?: string | null;
2400
2424
  labels?: Array<(string)>;
2425
+ /**
2426
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
2427
+ *
2428
+ */
2429
+ inherited_labels?: Array<(string)>;
2401
2430
  };
2402
2431
  export type ScheduleWJobs = Schedule & {
2403
2432
  jobs?: Array<{
@@ -4355,6 +4384,11 @@ export type Folder = {
4355
4384
  created_by?: string;
4356
4385
  edited_at?: string;
4357
4386
  default_permissioned_as?: FolderDefaultPermissionedAs;
4387
+ /**
4388
+ * 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.
4389
+ *
4390
+ */
4391
+ labels?: Array<(string)>;
4358
4392
  };
4359
4393
  /**
4360
4394
  * 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 +4537,11 @@ export type FlowMetadata = {
4503
4537
  visible_to_runner_only?: boolean;
4504
4538
  on_behalf_of_email?: string;
4505
4539
  labels?: Array<(string)>;
4540
+ /**
4541
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
4542
+ *
4543
+ */
4544
+ inherited_labels?: Array<(string)>;
4506
4545
  };
4507
4546
  export type OpenFlowWPath = OpenFlow & {
4508
4547
  path: string;
@@ -4588,6 +4627,11 @@ export type ListableApp = {
4588
4627
  execution_mode: 'viewer' | 'publisher' | 'anonymous';
4589
4628
  raw_app?: boolean;
4590
4629
  labels?: Array<(string)>;
4630
+ /**
4631
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
4632
+ *
4633
+ */
4634
+ inherited_labels?: Array<(string)>;
4591
4635
  };
4592
4636
  export type ScopeDefinition = {
4593
4637
  value: string;
@@ -4611,6 +4655,11 @@ export type ListableRawApp = {
4611
4655
  version: number;
4612
4656
  edited_at: string;
4613
4657
  labels?: Array<(string)>;
4658
+ /**
4659
+ * Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
4660
+ *
4661
+ */
4662
+ inherited_labels?: Array<(string)>;
4614
4663
  };
4615
4664
  export type AppWithLastVersion = {
4616
4665
  id: number;
@@ -5245,7 +5294,7 @@ export type ProtectionRuleset = {
5245
5294
  * Configuration of protection restrictions
5246
5295
  */
5247
5296
  export type ProtectionRules = Array<ProtectionRuleKind>;
5248
- export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking' | 'RestrictDeployToDeployers';
5297
+ export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking' | 'RestrictDeployToDeployers' | 'RestrictAnonymousAppDeployment';
5249
5298
  /**
5250
5299
  * Groups that can bypass this ruleset
5251
5300
  */
@@ -13001,6 +13050,7 @@ export type CreateFolderData = {
13001
13050
  owners?: Array<(string)>;
13002
13051
  extra_perms?: unknown;
13003
13052
  default_permissioned_as?: FolderDefaultPermissionedAs;
13053
+ labels?: Array<(string)>;
13004
13054
  };
13005
13055
  workspace: string;
13006
13056
  };
@@ -13015,6 +13065,7 @@ export type UpdateFolderData = {
13015
13065
  owners?: Array<(string)>;
13016
13066
  extra_perms?: unknown;
13017
13067
  default_permissioned_as?: FolderDefaultPermissionedAs;
13068
+ labels?: Array<(string)>;
13018
13069
  };
13019
13070
  workspace: string;
13020
13071
  };
@@ -27042,6 +27093,7 @@ export type $OpenApiTs = {
27042
27093
  owners?: Array<(string)>;
27043
27094
  extra_perms?: unknown;
27044
27095
  default_permissioned_as?: FolderDefaultPermissionedAs;
27096
+ labels?: Array<(string)>;
27045
27097
  };
27046
27098
  workspace: string;
27047
27099
  };
@@ -27065,6 +27117,7 @@ export type $OpenApiTs = {
27065
27117
  owners?: Array<(string)>;
27066
27118
  extra_perms?: unknown;
27067
27119
  default_permissioned_as?: FolderDefaultPermissionedAs;
27120
+ labels?: Array<(string)>;
27068
27121
  };
27069
27122
  workspace: string;
27070
27123
  };
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.720.0",
4
+ "version": "1.722.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "sideEffects": false,