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.
@@ -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.700.2",
32
+ VERSION: "1.702.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.700.2",
129
+ VERSION: "1.702.0",
130
130
  WITH_CREDENTIALS: true,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -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;
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.700.2",
4
+ "version": "1.702.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "sideEffects": false,