@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Favourite
Create
Failed
Favourite
Delete
Failed
Favourite
Fetch
Failed
Favourite
Update
Failed
Favourites
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
update
Favourites
Fetch
Failed
Favourite
Favourite
Response
Favourites
Options
Favourites
Response
Item
Tab
Hierarchy
ThBaseHandler
Favourites
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
update
Constructors
constructor
new
Favourites
(
options
:
FavouritesOptions
, http
:
Client
)
:
Favourites
Parameters
options:
FavouritesOptions
http:
Client
Returns
Favourites
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
FavouritesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/favourites'
Methods
create
create
(
favourite
:
Favourite
)
:
Promise
<
FavouriteResponse
>
Parameters
favourite:
Favourite
Returns
Promise
<
FavouriteResponse
>
delete
delete
(
favouriteId
:
string
)
:
Promise
<
FavouriteResponse
>
Parameters
favouriteId:
string
Returns
Promise
<
FavouriteResponse
>
get
get
(
favouriteId
:
string
)
:
Promise
<
FavouriteResponse
>
Parameters
favouriteId:
string
Returns
Promise
<
FavouriteResponse
>
get
All
get
All
(
query
?:
Record
<
string
,
unknown
>
)
:
Promise
<
FavouritesResponse
>
Parameters
Optional
query:
Record
<
string
,
unknown
>
Returns
Promise
<
FavouritesResponse
>
update
update
(
favouriteId
:
string
, favourite
:
Favourite
)
:
Promise
<
FavouriteResponse
>
Parameters
favouriteId:
string
favourite:
Favourite
Returns
Promise
<
FavouriteResponse
>
Generated using
TypeDoc