n8n/packages/nodes-base/nodes/Clockify/CommonDtos.ts
Iván Ovejero cfd32d2642
refactor: Phase out TSLint in nodes-base (no-changelog) (#4798)
* 🔥 Remove TSLint scripts

* 🔥 Remove TSLint config

* 🔥 Remove TSLint exceptions

* 👕 Adjust lint config

* ✏️ Add story numbers
2022-12-02 15:25:21 +01:00

49 lines
794 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;
workspaceId: string;
archived: boolean;
}
export interface ITaskDto {
assigneeIds: object;
estimate: string;
id: string;
name: any;
workspaceId: string;
projectId: string;
'is-active': boolean;
status: TaskStatusEnum;
}
export interface ITimeIntervalDto {
duration: string;
end: string;
start: string;
}