@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Timetracking
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
Configuration
create
Entry
delete
Entry
get
get
Configuration
get
Entries
get
Staff
List
update
Configuration
update
Entry
Timetracking
Configuration
Fetch
Failed
Timetracking
Configuration
Post
Failed
Timetracking
Configuration
Put
Failed
Timetracking
Entries
Fetch
Failed
Timetracking
Entry
Create
Failed
Timetracking
Entry
Delete
Failed
Timetracking
Entry
Put
Failed
Timetracking
Report
Fetch
Failed
Timetracking
Staff
List
Fetch
Failed
Time
Timetracking
Configuration
Timetracking
Configuration
Response
Timetracking
Entry
Timetracking
Entry
Query
Timetracking
Entry
Response
Timetracking
Options
Timetracking
Query
Timetracking
Report
Timetracking
Response
Timetracking
Entry
Types
Timetracking
Period
Types
Hierarchy
ThBaseHandler
Timetracking
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
Configuration
create
Entry
delete
Entry
get
get
Configuration
get
Entries
get
Staff
List
update
Configuration
update
Entry
Constructors
constructor
new
Timetracking
(
options
:
TimetrackingOptions
, http
:
Client
)
:
Timetracking
Parameters
options:
TimetrackingOptions
http:
Client
Returns
Timetracking
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
TimetrackingOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/time_tracking'
Methods
create
Configuration
create
Configuration
(
data
?:
TimetrackingConfiguration
)
:
Promise
<
TimetrackingConfigurationResponse
>
Parameters
Optional
data:
TimetrackingConfiguration
Returns
Promise
<
TimetrackingConfigurationResponse
>
create
Entry
create
Entry
(
entry
:
TimetrackingEntry
)
:
Promise
<
TimetrackingEntryResponse
>
Parameters
entry:
TimetrackingEntry
Returns
Promise
<
TimetrackingEntryResponse
>
delete
Entry
delete
Entry
(
entryId
:
string
)
:
Promise
<
TimetrackingEntryResponse
>
Parameters
entryId:
string
Returns
Promise
<
TimetrackingEntryResponse
>
get
get
(
staffId
:
string
, query
?:
TimetrackingQuery
)
:
Promise
<
TimetrackingResponse
>
Parameters
staffId:
string
Optional
query:
TimetrackingQuery
Returns
Promise
<
TimetrackingResponse
>
get
Configuration
get
Configuration
(
)
:
Promise
<
TimetrackingConfigurationResponse
>
Returns
Promise
<
TimetrackingConfigurationResponse
>
get
Entries
get
Entries
(
staffId
:
string
, query
?:
TimetrackingEntryQuery
)
:
Promise
<
TimetrackingResponse
>
Parameters
staffId:
string
Optional
query:
TimetrackingEntryQuery
Returns
Promise
<
TimetrackingResponse
>
get
Staff
List
get
Staff
List
(
)
:
Promise
<
TimetrackingResponse
>
Returns
Promise
<
TimetrackingResponse
>
update
Configuration
update
Configuration
(
configId
:
string
, data
?:
TimetrackingConfiguration
)
:
Promise
<
TimetrackingConfigurationResponse
>
Parameters
configId:
string
Optional
data:
TimetrackingConfiguration
Returns
Promise
<
TimetrackingConfigurationResponse
>
update
Entry
update
Entry
(
entryId
:
string
, data
?:
TimetrackingEntry
)
:
Promise
<
TimetrackingEntryResponse
>
Parameters
entryId:
string
Optional
data:
TimetrackingEntry
Returns
Promise
<
TimetrackingEntryResponse
>
Generated using
TypeDoc