Class

TimeReport

TimeReport(data)

TimeReport Model
Constructor

# new TimeReport(data)

Model constructor
Parameters:
Name Type Description
data TimeReportLike

View Source model/TimeReport.js, line 8

Classes

TimeReport

Members

Array.<('status'|'duration'|'task'|'timeTrackingNote'|'typeOfWork'|'project'|'date'|'time'|'user'|'client'|'projectType'|'projectRole')>

# availableColumns

List of shown Columns in the time report.

View Source model/TimeReport.js, line 146

# billingStatuses

Filter of bill satuses of the time report.

View Source model/TimeReport.js, line 154

'group' | 'time'

# chartType

The actual chart type of the time report.

View Source model/TimeReport.js, line 74

String

# companyId

The id of the company of the time report. Used for the pdf reports.

View Source model/TimeReport.js, line 90

String

# createdBy

uuid

View Source model/TimeReport.js, line 363

String

# createdOn

date-time

View Source model/TimeReport.js, line 356

'today' | 'yesterday' | 'selectDate' | 'selectWeek' | 'currentWeek' | 'lastWeek' | 'selectMonth' | 'currentMonth' | 'lastMonth' | 'selectQuarter' | 'currentQuarter' | 'lastQuarter' | 'selectYear' | 'currentYear' | 'lastYear' | 'customRange' | 'noFilter'

# dateMode

The date mode of the time report.

View Source model/TimeReport.js, line 42

String

# endOn

The end date time of the time report. when DateMode is "customRange".

View Source model/TimeReport.js, line 58

String

# filter

The generated filter query of the time report.

View Source model/TimeReport.js, line 66

String

# groupBy

Group the values by property.

View Source model/TimeReport.js, line 130

String

# id

The id of the time report.

View Source model/TimeReport.js, line 282

String

# name

The name of the time report.

View Source model/TimeReport.js, line 26

Boolean

# noProjectFilter

Filter to show also time entries without a project.

View Source model/TimeReport.js, line 186

String

# note

Filter time entries by note

View Source model/TimeReport.js, line 162

Array.<String>

# projectCompaniesFilter

Filter time entries by projects of the companies.

View Source model/TimeReport.js, line 194

String

# projectId

The id of the project of the time report. Used for the pdf reports.

View Source model/TimeReport.js, line 82

Array.<String>

# projectsFilter

Filter time entries by projects.

View Source model/TimeReport.js, line 178

Array.<String>

# projectStatusesNameFilter

Filter time entries by projects with status name.

View Source model/TimeReport.js, line 210

Array.<String>

# projectStatusTypesFilter

Filter time entries by projects with status of type.

View Source model/TimeReport.js, line 218

Array.<TagObject>

# projectTagsModelFilter

Filter time entries by the tags of the project.

View Source model/TimeReport.js, line 258

Array.<String>

# projectTeamsFilter

List of teams, to filter the projects for.

View Source model/TimeReport.js, line 226

Array.<String>

# projectTypesFilter

Filter time entries by projects of the type.

View Source model/TimeReport.js, line 202

Integer

# resourceVersion

The version of the entity continuously incremented by 1 on every update of the entity.

View Source model/TimeReport.js, line 349

'nearQuarter' | 'nearHalf' | 'nearHour' | 'upQuarter' | 'upHalf' | 'upHour'

# roundBy

Rounding method of the time report.

View Source model/TimeReport.js, line 122

Boolean

# shared

Whether the time report is shared.

View Source model/TimeReport.js, line 34

String

# sortBy

Sort the values by property.

View Source model/TimeReport.js, line 106

'asc' | 'desc'

# sortByOrder

The way how to sort the data.

View Source model/TimeReport.js, line 114

String

# sortColumn

Sort the values of the time report by a column.

View Source model/TimeReport.js, line 138

String

# startOn

The start date time of the report when DateMode is "customRange".

View Source model/TimeReport.js, line 50

String

# sumBy

Summaries the values by property.

View Source model/TimeReport.js, line 98

Array.<TagObject>

# taskTagsModelFilter

Filter time entries by the tags of the task.

View Source model/TimeReport.js, line 250

Array.<String>

# typesOfWorkFilter

Group the time report by the type of works.

View Source model/TimeReport.js, line 274

String

# updatedBy

uuid

View Source model/TimeReport.js, line 370

String

# updatedOn

The date this time report was updated.

View Source model/TimeReport.js, line 341

Object

# user

user

View Source model/TimeReport.js, line 297

String

# userFirstName

nullable

View Source model/TimeReport.js, line 311

Boolean

# userHasImage

Whether the user has a profile image.

View Source model/TimeReport.js, line 326

String

# userId

uuid

View Source model/TimeReport.js, line 304

String

# userKey

nullable

View Source model/TimeReport.js, line 333

String

# userLastName

nullable

View Source model/TimeReport.js, line 318

Array.<String>

# usersFilter

Filter time entries by users.

View Source model/TimeReport.js, line 170

Array.<TagObject>

# userTagsModelFilter

Filter time entries by the tags of the users.

View Source model/TimeReport.js, line 266

Array.<String>

# userTeamsFilter

Filter for the teams to filter the users.

View Source model/TimeReport.js, line 234

String

# workspaceId

The workspace id of the time report.

View Source model/TimeReport.js, line 290