From 30ea2d91bdd044f8de9d7009106ffda1ce35df9a Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Tue, 16 Apr 2024 21:07:37 +0300 Subject: [PATCH] chore: generate orval types (#6871) --- frontend/src/openapi/models/createUserResponseSchema.ts | 2 ++ frontend/src/openapi/models/groupSchema.ts | 2 ++ frontend/src/openapi/models/groupWithProjectRoleSchema.ts | 2 ++ frontend/src/openapi/models/userSchema.ts | 2 ++ 4 files changed, 8 insertions(+) diff --git a/frontend/src/openapi/models/createUserResponseSchema.ts b/frontend/src/openapi/models/createUserResponseSchema.ts index 101c2593c03..aee07dfa98e 100644 --- a/frontend/src/openapi/models/createUserResponseSchema.ts +++ b/frontend/src/openapi/models/createUserResponseSchema.ts @@ -36,6 +36,8 @@ export interface CreateUserResponseSchema { permissions?: string[]; /** Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned. Usually a numeric role ID, but can be a string when returning newly created user with an explicit string role. */ rootRole?: CreateUserResponseSchemaRootRole; + /** The SCIM ID of the user, only present if managed by SCIM */ + scimId?: string | null; /** The last time this user logged in */ seenAt?: string | null; /** A unique username for the user */ diff --git a/frontend/src/openapi/models/groupSchema.ts b/frontend/src/openapi/models/groupSchema.ts index e73f38a742b..64f98f3cdd3 100644 --- a/frontend/src/openapi/models/groupSchema.ts +++ b/frontend/src/openapi/models/groupSchema.ts @@ -25,6 +25,8 @@ export interface GroupSchema { projects?: string[]; /** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */ rootRole?: number | null; + /** The SCIM ID of the group, only present if managed by SCIM */ + scimId?: string | null; /** The number of users that belong to this group */ userCount?: number; /** A list of users belonging to this group */ diff --git a/frontend/src/openapi/models/groupWithProjectRoleSchema.ts b/frontend/src/openapi/models/groupWithProjectRoleSchema.ts index b483730b237..2d74a72004c 100644 --- a/frontend/src/openapi/models/groupWithProjectRoleSchema.ts +++ b/frontend/src/openapi/models/groupWithProjectRoleSchema.ts @@ -29,6 +29,8 @@ export interface GroupWithProjectRoleSchema { roles?: number[]; /** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */ rootRole?: number | null; + /** The SCIM ID of the group, only present if managed by SCIM */ + scimId?: string | null; /** A list of users belonging to this group */ users?: GroupUserModelSchema[]; } diff --git a/frontend/src/openapi/models/userSchema.ts b/frontend/src/openapi/models/userSchema.ts index 257a3cf1a2c..72a04497ae7 100644 --- a/frontend/src/openapi/models/userSchema.ts +++ b/frontend/src/openapi/models/userSchema.ts @@ -35,6 +35,8 @@ export interface UserSchema { permissions?: string[]; /** Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned */ rootRole?: number; + /** The SCIM ID of the user, only present if managed by SCIM */ + scimId?: string | null; /** The last time this user logged in */ seenAt?: string | null; /** A unique username for the user */