n8n/packages/nodes-base/nodes/Clockify/CommonDtos.ts
Jan Oberhauser 40c2acd77b 👕 Fix lint issue
2020-10-22 15:46:03 +02:00

33 lines
576 B
TypeScript

export interface IHourlyRateDto {
amount: number;
currency: string;
}
enum MembershipStatusEnum {
PENDING = 'PENDING',
ACTIVE = 'ACTIVE',
DECLINED = 'DECLINED',
INACTIVE = 'INACTIVE',
}
export interface IMembershipDto {
hourlyRate: IHourlyRateDto;
membershipStatus: MembershipStatusEnum;
membershipType: string;
targetId: string;
userId: string;
}
export interface ITagDto {
id: string;
name: any; // tslint:disable-line:no-any
workspaceId: string;
archived: boolean;
}
export interface ITimeIntervalDto {
duration: string;
end: string;
start: string;
}