UNPKG

@timesheet/sdk

Version:
41 lines 957 B
import type { Task } from './Task'; import type { Pause } from './Pause'; export interface Timer { id?: string; status: 'running' | 'paused' | 'stopped'; running?: boolean; paused?: boolean; stopped?: boolean; user?: string; task?: Task; pause?: Pause; lastUpdate?: number; created?: number; } export interface TimerStartRequest { projectId: string; startDateTime?: string; } export interface TimerStopRequest { endDateTime?: string; } export interface TimerPauseRequest { startDateTime?: string; } export interface TimerResumeRequest { endDateTime?: string; } export interface TimerUpdateRequest { startDateTime?: string; description?: string; location?: string; locationEnd?: string; feeling?: number; typeId?: number; paid?: boolean; billed?: boolean; billable?: boolean; phoneNumber?: string; distance?: number; } //# sourceMappingURL=Timer.d.ts.map