n8n/packages/nodes-base/nodes/Clockify/UserDtos.ts

21 lines
414 B
TypeScript
Raw Normal View History

import type { IDataObject } from 'n8n-workflow';
import type { IMembershipDto } from './CommonDtos';
const enum UserStatusEnum {
ACTIVE,
PENDING_EMAIL_VERIFICATION,
DELETED,
}
export interface IUserDto {
activeWorkspace: string;
defaultWorkspace: string;
email: string;
id: string;
memberships: IMembershipDto[];
name: string;
profilePicture: string;
settings: IDataObject;
status: UserStatusEnum;
}