/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { RBACRoleV2 } from './RBACRoleV2.js'; import type { UserSeatsV2 } from './UserSeatsV2.js'; /** * * @export * @interface UserWithRolesV2 */ export interface UserWithRolesV2 { /** * */ base_role: RBACRoleV2; /** * */ custom_roles: Array; /** * Email address of the user. */ email?: string; /** * Unique identifier of the user */ id: string; /** * Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active. */ is_active: boolean; /** * Name of the user */ name: string; /** * DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated. */ role: UserWithRolesV2RoleEnum; /** * */ seats: UserSeatsV2; /** * Slack ID of the user */ slack_user_id?: string; } /** * @export */ export declare const UserWithRolesV2RoleEnum: { readonly Viewer: "viewer"; readonly Responder: "responder"; readonly Administrator: "administrator"; readonly Owner: "owner"; readonly Unset: "unset"; }; export type UserWithRolesV2RoleEnum = typeof UserWithRolesV2RoleEnum[keyof typeof UserWithRolesV2RoleEnum]; /** * Check if a given object implements the UserWithRolesV2 interface. */ export declare function instanceOfUserWithRolesV2(value: object): value is UserWithRolesV2; export declare function UserWithRolesV2FromJSON(json: any): UserWithRolesV2; export declare function UserWithRolesV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): UserWithRolesV2; export declare function UserWithRolesV2ToJSON(json: any): UserWithRolesV2; export declare function UserWithRolesV2ToJSONTyped(value?: UserWithRolesV2 | null, ignoreDiscriminator?: boolean): any;