windmill-client 1.821.0 → 1.822.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.
- package/dist/core/OpenAPI.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types.gen.d.ts +28 -0
- package/package.json +1 -1
package/dist/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
package/dist/types.gen.d.ts
CHANGED
|
@@ -565,6 +565,10 @@ export type FlowModule = {
|
|
|
565
565
|
* If true, flow continues even if this step fails
|
|
566
566
|
*/
|
|
567
567
|
continue_on_error?: boolean;
|
|
568
|
+
/**
|
|
569
|
+
* Scopes the token of this step's jobs is restricted to (domain:action[:resource], e.g. oidc:write), on top of the flow's own restriction: a step can only narrow it. Applies to everything the step runs (loop and branch bodies, AI agent tools).
|
|
570
|
+
*/
|
|
571
|
+
job_token_scopes?: Array<(string)> | null;
|
|
568
572
|
/**
|
|
569
573
|
* Retry configuration if this step fails
|
|
570
574
|
*/
|
|
@@ -1030,6 +1034,10 @@ export type AiAgent = {
|
|
|
1030
1034
|
* Free-text description of the tool given to the AI to decide when and how to call it. Overrides the description auto-derived from the underlying script.
|
|
1031
1035
|
*/
|
|
1032
1036
|
description?: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* Scopes the token of this tool's jobs is restricted to, on top of the agent step's own restriction: a tool can only narrow it.
|
|
1039
|
+
*/
|
|
1040
|
+
job_token_scopes?: Array<(string)> | null;
|
|
1033
1041
|
/**
|
|
1034
1042
|
* The implementation of a tool. Can be a flow module (script/flow) or an MCP tool reference
|
|
1035
1043
|
*/
|
|
@@ -2306,6 +2314,10 @@ export type Script = {
|
|
|
2306
2314
|
[key: string]: ScriptModule;
|
|
2307
2315
|
} | null;
|
|
2308
2316
|
labels?: Array<(string)>;
|
|
2317
|
+
/**
|
|
2318
|
+
* Scopes the token of every job of this runnable is restricted to (domain:action[:resource], e.g. oidc:write). Jobs it starts, flow steps and AI agent tools inherit the restriction. Unset, the job token carries the full permissions of the identity the job runs as; an empty list leaves it no API access beyond its own job.
|
|
2319
|
+
*/
|
|
2320
|
+
job_token_scopes?: Array<(string)> | null;
|
|
2309
2321
|
/**
|
|
2310
2322
|
* Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
|
|
2311
2323
|
*
|
|
@@ -2383,6 +2395,10 @@ export type NewScript = {
|
|
|
2383
2395
|
[key: string]: ScriptModule;
|
|
2384
2396
|
} | null;
|
|
2385
2397
|
labels?: Array<(string)>;
|
|
2398
|
+
/**
|
|
2399
|
+
* Scopes the token of every job of this runnable is restricted to (domain:action[:resource], e.g. oidc:write). Jobs it starts, flow steps and AI agent tools inherit the restriction. Unset, the job token carries the full permissions of the identity the job runs as; an empty list leaves it no API access beyond its own job. Omitting the field keeps the deployed value; null clears it.
|
|
2400
|
+
*/
|
|
2401
|
+
job_token_scopes?: Array<(string)> | null;
|
|
2386
2402
|
/**
|
|
2387
2403
|
* When true (set by the CLI / git sync), deploying this script does not delete an existing user draft at the same path.
|
|
2388
2404
|
*/
|
|
@@ -6022,6 +6038,10 @@ export type FlowMetadata = {
|
|
|
6022
6038
|
*/
|
|
6023
6039
|
on_behalf_of?: string;
|
|
6024
6040
|
labels?: Array<(string)>;
|
|
6041
|
+
/**
|
|
6042
|
+
* Scopes the token of every job of this runnable is restricted to (domain:action[:resource], e.g. oidc:write). Jobs it starts, flow steps and AI agent tools inherit the restriction. Unset, the job token carries the full permissions of the identity the job runs as; an empty list leaves it no API access beyond its own job.
|
|
6043
|
+
*/
|
|
6044
|
+
job_token_scopes?: Array<(string)> | null;
|
|
6025
6045
|
/**
|
|
6026
6046
|
* Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
|
|
6027
6047
|
*
|
|
@@ -6046,6 +6066,10 @@ export type OpenFlowWPath = OpenFlow & {
|
|
|
6046
6066
|
*/
|
|
6047
6067
|
preserve_on_behalf_of?: boolean;
|
|
6048
6068
|
labels?: Array<(string)>;
|
|
6069
|
+
/**
|
|
6070
|
+
* Scopes the token of every job of this runnable is restricted to (domain:action[:resource], e.g. oidc:write). Jobs it starts, flow steps and AI agent tools inherit the restriction. Unset, the job token carries the full permissions of the identity the job runs as; an empty list leaves it no API access beyond its own job. Omitting the field keeps the deployed value; null clears it.
|
|
6071
|
+
*/
|
|
6072
|
+
job_token_scopes?: Array<(string)> | null;
|
|
6049
6073
|
};
|
|
6050
6074
|
export type EditFlow = OpenFlow & {
|
|
6051
6075
|
path?: string;
|
|
@@ -6065,6 +6089,10 @@ export type EditFlow = OpenFlow & {
|
|
|
6065
6089
|
*/
|
|
6066
6090
|
preserve_on_behalf_of?: boolean;
|
|
6067
6091
|
labels?: Array<(string)>;
|
|
6092
|
+
/**
|
|
6093
|
+
* Scopes the token of every job of this runnable is restricted to (domain:action[:resource], e.g. oidc:write). Jobs it starts, flow steps and AI agent tools inherit the restriction. Unset, the job token carries the full permissions of the identity the job runs as; an empty list leaves it no API access beyond its own job. Omitting the field keeps the deployed value; null clears it.
|
|
6094
|
+
*/
|
|
6095
|
+
job_token_scopes?: Array<(string)> | null;
|
|
6068
6096
|
};
|
|
6069
6097
|
export type FlowPreview = {
|
|
6070
6098
|
value: FlowValue;
|
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.
|
|
4
|
+
"version": "1.822.0",
|
|
5
5
|
"author": "Ruben Fiszel",
|
|
6
6
|
"license": "Apache 2.0",
|
|
7
7
|
"homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",
|