n8n/packages/nodes-base/nodes/Clockify/CommonDtos.ts
Ricardo Espinoza 3a73493aeb
Add Clockify Node (#997)
* Added pull.yml back after reset

* Added Clockify Entry

* Created ClockifyWriter

*  Improvements to #988

*  Improvements

*  Improvements

Co-authored-by: Ethan Sowell <ethan.sowell@dominion.solutions>
Co-authored-by: Mark Horninger <mark.horninger@dominion.solutions>
2020-10-04 16:28:05 +02:00

33 lines
545 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;
workspaceId: string;
archived: boolean;
}
export interface ITimeIntervalDto {
duration: string;
end: string;
start: string;
}