mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
1084e7d9b5
* ✨ Add Task resource to Clockify Node * 🔨 Refactor Clockify expansion * 🔥 Remove logging * ⚡ Add defaults * ⚡ Improvements * ⚡ Minor improvements Co-authored-by: Frank Silver <dasylva.f@gmail.com> Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
49 lines
854 B
TypeScript
49 lines
854 B
TypeScript
export interface IHourlyRateDto {
|
|
amount: number;
|
|
currency: string;
|
|
}
|
|
|
|
enum MembershipStatusEnum {
|
|
PENDING = 'PENDING',
|
|
ACTIVE = 'ACTIVE',
|
|
DECLINED = 'DECLINED',
|
|
INACTIVE = 'INACTIVE',
|
|
}
|
|
|
|
enum TaskStatusEnum {
|
|
ACTIVE = 'ACTIVE',
|
|
DONE = 'DONE',
|
|
}
|
|
|
|
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 ITaskDto {
|
|
assigneeIds: object;
|
|
estimate: string;
|
|
id: string;
|
|
name: any; // tslint:disable-line:no-any
|
|
workspaceId: string;
|
|
projectId: string;
|
|
'is-active': boolean;
|
|
status: TaskStatusEnum;
|
|
}
|
|
|
|
export interface ITimeIntervalDto {
|
|
duration: string;
|
|
end: string;
|
|
start: string;
|
|
}
|