harvest
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Time
EntriesAPI
constructor
base
Url
harvest
create
delete
get
list
restart
stop
update
Hierarchy
TimeEntriesAPI
Index
Constructors
constructor
Properties
base
Url
harvest
Methods
create
delete
get
list
restart
stop
update
Constructors
constructor
new
Time
EntriesAPI
(
harvest
:
any
)
:
TimeEntriesAPI
Parameters
harvest:
any
Returns
TimeEntriesAPI
Properties
base
Url
base
Url
:
string
harvest
harvest
:
any
Methods
create
create
(
data
:
TimeEntryCreateFromDuration
|
TimeEntryCreateFromStartAndEndTime
)
:
Promise
<
TimeEntry
>
Parameters
data:
TimeEntryCreateFromDuration
|
TimeEntryCreateFromStartAndEndTime
Returns
Promise
<
TimeEntry
>
delete
delete
(
id
:
any
)
:
any
Parameters
id:
any
Returns
any
get
get
(
id
:
any
)
:
any
Parameters
id:
any
Returns
any
list
list
(
query
?:
TimeEntriesPagenationParameters
)
:
Promise
<
TimeEntriesPagenationResponse
>
Parameters
Default value
query:
TimeEntriesPagenationParameters
= {}
Returns
Promise
<
TimeEntriesPagenationResponse
>
restart
restart
(
id
:
any
)
:
Promise
<
TimeEntry
>
Parameters
id:
any
Returns
Promise
<
TimeEntry
>
stop
stop
(
id
:
any
)
:
Promise
<
TimeEntry
>
Parameters
id:
any
Returns
Promise
<
TimeEntry
>
update
update
(
id
:
any
, data
:
any
)
:
Promise
<
TimeEntry
>
Parameters
id:
any
data:
any
Returns
Promise
<
TimeEntry
>
Generated using
TypeDoc