2023-01-27 03:22:44 -08:00
|
|
|
import type { IDataObject } from 'n8n-workflow';
|
|
|
|
import type { IMembershipDto } from './CommonDtos';
|
2020-02-03 14:11:35 -08:00
|
|
|
|
2023-04-21 04:23:15 -07:00
|
|
|
const enum UserStatusEnum {
|
2022-08-01 13:47:55 -07:00
|
|
|
ACTIVE,
|
|
|
|
PENDING_EMAIL_VERIFICATION,
|
|
|
|
DELETED,
|
2020-02-03 14:11:35 -08:00
|
|
|
}
|
|
|
|
|
2020-10-04 07:28:05 -07:00
|
|
|
export interface IUserDto {
|
2020-02-03 14:11:35 -08:00
|
|
|
activeWorkspace: string;
|
|
|
|
defaultWorkspace: string;
|
|
|
|
email: string;
|
|
|
|
id: string;
|
2020-10-04 07:32:12 -07:00
|
|
|
memberships: IMembershipDto[];
|
2020-02-03 14:11:35 -08:00
|
|
|
name: string;
|
|
|
|
profilePicture: string;
|
2022-12-02 12:54:28 -08:00
|
|
|
settings: IDataObject;
|
2020-02-03 14:11:35 -08:00
|
|
|
status: UserStatusEnum;
|
|
|
|
}
|