2023-01-05 11:57:53 +01:00
|
|
|
/**
|
2023-03-15 13:30:07 +01:00
|
|
|
* Generated by Orval
|
2023-01-05 11:57:53 +01:00
|
|
|
* Do not edit manually.
|
2023-03-15 13:30:07 +01:00
|
|
|
* See `gen:api` script in package.json
|
2023-01-05 11:57:53 +01:00
|
|
|
*/
|
|
|
|
|
2023-08-03 15:05:20 +02:00
|
|
|
/**
|
|
|
|
* Data about a user including their project role
|
|
|
|
*/
|
2023-01-05 11:57:53 +01:00
|
|
|
export interface UserWithProjectRoleSchema {
|
2023-08-03 15:05:20 +02:00
|
|
|
/**
|
|
|
|
* Whether this user is authenticated through Unleash tokens or logged in with a session
|
|
|
|
* @deprecated
|
|
|
|
*/
|
|
|
|
isAPI?: boolean;
|
|
|
|
/** The name of the user */
|
2023-01-05 11:57:53 +01:00
|
|
|
name?: string;
|
2023-08-03 15:05:20 +02:00
|
|
|
/** The user's email address */
|
2023-01-05 11:57:53 +01:00
|
|
|
email?: string | null;
|
2023-08-03 15:05:20 +02:00
|
|
|
/** The user's ID in the Unleash system */
|
2023-01-05 11:57:53 +01:00
|
|
|
id: number;
|
2023-08-03 15:05:20 +02:00
|
|
|
/** A URL pointing to the user's image. */
|
2023-01-05 11:57:53 +01:00
|
|
|
imageUrl?: string | null;
|
2023-08-03 15:05:20 +02:00
|
|
|
/** When this user was added to the project */
|
2023-01-05 11:57:53 +01:00
|
|
|
addedAt?: string;
|
2023-08-03 15:05:20 +02:00
|
|
|
/** The ID of the role this user has in the given project */
|
2023-01-05 11:57:53 +01:00
|
|
|
roleId?: number;
|
|
|
|
}
|