@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Templates
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
get
All
preview
put
Template
Templates
Options
Templates
Preview
Body
Templates
Preview
Request
Object
Templates
Query
Templates
Query
Options
Templates
Response
Font
Paper
Size
Template
Types
Hierarchy
ThBaseHandler
Templates
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
get
All
preview
put
Constructors
constructor
new
Templates
(
options
:
TemplatesOptions
, http
:
Client
)
:
Templates
Parameters
options:
TemplatesOptions
http:
Client
Returns
Templates
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
TemplatesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v1/templates'
Methods
create
create
(
template
:
Template
)
:
Promise
<
TemplatesResponse
>
Parameters
template:
Template
Returns
Promise
<
TemplatesResponse
>
get
All
get
All
(
options
?:
TemplatesQueryOptions
)
:
Promise
<
TemplatesResponse
>
Parameters
Optional
options:
TemplatesQueryOptions
Returns
Promise
<
TemplatesResponse
>
preview
preview
(
requestObject
:
TemplatesPreviewRequestObject
)
:
Promise
<
TemplatesResponse
>
Parameters
requestObject:
TemplatesPreviewRequestObject
Returns
Promise
<
TemplatesResponse
>
put
put
(
templateId
:
string
, template
:
Template
)
:
Promise
<
TemplatesResponse
>
Parameters
templateId:
string
template:
Template
Returns
Promise
<
TemplatesResponse
>
Generated using
TypeDoc