OBJECT

Timesheet

Represents a timesheet.

link GraphQL Schema definition

1type Timesheet {
2
3# Id.
4id: ID
5
6# Date.
7date: Date
8
9# Expected time based on work schedule in seconds.
10expectedTime: Int
11
12# Tracked time in seconds.
13trackedTime: Int
14
15# Time off time in seconds.
16timeOffTime: Int
17
18# Holiday time in seconds.
19holidayTime: Int
20
21# Sum of tracked, holiday, time off time minus break time.
22totalTime: Int
23
24# Break time in seconds.
25breakTime: Int
26
27# Is workday.
28isWorkday: Boolean
29
30# Is approved.
31isApproved: Boolean
32
33# Expected part of day based on work schedule as PartOfDay enum.
34expectedPartOfDay: PartOfDay
35
36# Tracked part of day.
37trackedPartOfDay: PartOfDay
38
39# Time off time as part of day.
40timeOffPartOfDay: PartOfDay
41
42# Holiday time as part of day.
43holidayPartOfDay: PartOfDay
44
45# Sum of tracked, holiday and time off parts of day.
46totalDays: Float
47
48# List of time offs on timesheet day.
49timeOffs: [TimesheetTimeOff]
50
51# List of holidays on timesheet day.
52holidays: [TimesheetHoliday]
53
54# List of timesheet entries.
55timesheetEntries: [TimesheetEntry]
56
57# List of break rule violations.
58breakRuleViolations: [TimesheetBreakRuleViolation]
59
60}