@timesheet/sdk
Version:
Official TypeScript SDK for the Timesheet API
40 lines • 879 B
TypeScript
export interface Member {
uid: string;
firstname?: string;
lastname?: string;
email?: string;
employeeId?: string;
imageUrl?: string;
deleted?: boolean;
activity?: Activity;
displayName?: string;
initials?: string;
}
export interface Activity {
projectId?: string;
projectTitle?: string;
projectColor?: number;
taskId?: string;
startDateTime?: string;
endDateTime?: string;
location?: string;
running?: boolean;
}
export interface ListParams {
search?: string;
count?: number;
page?: number;
limit?: number;
offset?: number;
sort?: string;
order?: 'asc' | 'desc';
}
export interface PageParams {
page?: number;
limit?: number;
}
export interface SortablePageParams extends PageParams {
sort?: string;
order?: 'asc' | 'desc';
}
//# sourceMappingURL=common.d.ts.map