windmill-client 1.700.2 → 1.702.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 +11 -2
- 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;
|
|
@@ -4420,7 +4428,7 @@ export type WorkspaceInvite = {
|
|
|
4420
4428
|
};
|
|
4421
4429
|
export type GlobalUserInfo = {
|
|
4422
4430
|
email: string;
|
|
4423
|
-
login_type: 'password' | 'github';
|
|
4431
|
+
login_type: 'password' | 'github' | 'service_account';
|
|
4424
4432
|
super_admin: boolean;
|
|
4425
4433
|
devops?: boolean;
|
|
4426
4434
|
verified: boolean;
|
|
@@ -4429,8 +4437,9 @@ export type GlobalUserInfo = {
|
|
|
4429
4437
|
username?: string;
|
|
4430
4438
|
operator_only?: boolean;
|
|
4431
4439
|
first_time_user: boolean;
|
|
4432
|
-
role_source: 'manual' | 'instance_group';
|
|
4440
|
+
role_source: 'manual' | 'instance_group' | 'service_account';
|
|
4433
4441
|
disabled: boolean;
|
|
4442
|
+
workspace_id?: string;
|
|
4434
4443
|
};
|
|
4435
4444
|
export type Flow = OpenFlow & FlowMetadata & {
|
|
4436
4445
|
lock_error_logs?: string;
|