/** * 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. */ /** * * @export * @interface UserV1 */ export interface UserV1 { /** * Email address of the user. */ email?: string; /** * Unique identifier of the user */ id: string; /** * Name of the user */ name: string; /** * DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated. */ role: UserV1RoleEnum; /** * Slack ID of the user */ slack_user_id?: string; } /** * @export */ export declare const UserV1RoleEnum: { readonly Viewer: "viewer"; readonly Responder: "responder"; readonly Administrator: "administrator"; readonly Owner: "owner"; readonly Unset: "unset"; }; export type UserV1RoleEnum = typeof UserV1RoleEnum[keyof typeof UserV1RoleEnum]; /** * Check if a given object implements the UserV1 interface. */ export declare function instanceOfUserV1(value: object): value is UserV1; export declare function UserV1FromJSON(json: any): UserV1; export declare function UserV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): UserV1; export declare function UserV1ToJSON(json: any): UserV1; export declare function UserV1ToJSONTyped(value?: UserV1 | null, ignoreDiscriminator?: boolean): any;