windmill-client 1.700.2 → 1.701.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 +8 -0
- package/package.json +1 -1
package/dist/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
package/dist/types.gen.d.ts
CHANGED
|
@@ -1952,6 +1952,7 @@ export type TruncatedToken = {
|
|
|
1952
1952
|
scopes?: Array<(string)>;
|
|
1953
1953
|
email?: string;
|
|
1954
1954
|
workspace_id?: string;
|
|
1955
|
+
read_only: boolean;
|
|
1955
1956
|
};
|
|
1956
1957
|
export type ExternalJwtToken = {
|
|
1957
1958
|
jwt_hash: number;
|
|
@@ -1969,6 +1970,13 @@ export type NewToken = {
|
|
|
1969
1970
|
expiration?: string;
|
|
1970
1971
|
scopes?: Array<(string)>;
|
|
1971
1972
|
workspace_id?: string;
|
|
1973
|
+
/**
|
|
1974
|
+
* If true, the token is restricted to read-only HTTP methods
|
|
1975
|
+
* (GET/HEAD/OPTIONS). Mutating endpoints and job-run actions are
|
|
1976
|
+
* rejected with 403, regardless of the scopes attached.
|
|
1977
|
+
*
|
|
1978
|
+
*/
|
|
1979
|
+
read_only?: boolean;
|
|
1972
1980
|
};
|
|
1973
1981
|
export type NewTokenImpersonate = {
|
|
1974
1982
|
label?: string;
|