mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
✨ 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>
This commit is contained in:
35
packages/nodes-base/nodes/Clockify/TimeEntryInterfaces.ts
Normal file
35
packages/nodes-base/nodes/Clockify/TimeEntryInterfaces.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import {ITimeIntervalDto} from "./CommonDtos";
|
||||
|
||||
interface ITimeEntriesDurationRequest {
|
||||
start: string;
|
||||
end: string;
|
||||
}
|
||||
|
||||
export interface ITimeEntryRequest {
|
||||
id: string;
|
||||
start: string;
|
||||
billable: boolean;
|
||||
description: string;
|
||||
projectId: string;
|
||||
userId: string;
|
||||
taskId?: string | null;
|
||||
end: string;
|
||||
tagIds?: string[] | undefined;
|
||||
timeInterval: ITimeEntriesDurationRequest;
|
||||
workspaceId: string;
|
||||
isLocked: boolean;
|
||||
};
|
||||
|
||||
export interface ITimeEntryDto {
|
||||
billable: boolean;
|
||||
description: string;
|
||||
id: string;
|
||||
isLocked: boolean;
|
||||
projectId: string;
|
||||
tagIds: string[];
|
||||
taskId: string;
|
||||
timeInterval: ITimeIntervalDto;
|
||||
userId: string;
|
||||
workspaceId: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user