@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Documents
constructor
endpoint
http
options
uri
Helper
base
Endpoint
bulk
Download
bulk
Preview
bulk
Send
download
get
All
meta
preview
send
Documents
Bulk
Download
Failed
Documents
Bulk
Send
Failed
Documents
Download
Failed
Documents
Get
Failed
Documents
Meta
Failed
Documents
Send
Failed
Document
Documents
Bulk
Download
Body
Documents
Bulk
Preview
Body
Documents
Bulk
Send
Body
Documents
Download
Response
Documents
Multiple
Response
Documents
Options
Documents
Preview
Response
Documents
Send
Body
Documents
Send
Response
Hierarchy
ThBaseHandler
Documents
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
bulk
Download
bulk
Preview
bulk
Send
download
get
All
meta
preview
send
Constructors
constructor
new
Documents
(
options
:
DocumentsOptions
, http
:
Client
)
:
Documents
Parameters
options:
DocumentsOptions
http:
Client
Returns
Documents
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
DocumentsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/documents'
Methods
bulk
Download
bulk
Download
(
body
:
DocumentsBulkDownloadBody
)
:
Promise
<
DocumentsDownloadResponse
>
Parameters
body:
DocumentsBulkDownloadBody
Returns
Promise
<
DocumentsDownloadResponse
>
bulk
Preview
bulk
Preview
(
body
:
DocumentsBulkPreviewBody
)
:
Promise
<
DocumentsPreviewResponse
>
Parameters
body:
DocumentsBulkPreviewBody
Returns
Promise
<
DocumentsPreviewResponse
>
bulk
Send
bulk
Send
(
body
:
DocumentsBulkSendBody
)
:
Promise
<
DocumentsSendResponse
>
Parameters
body:
DocumentsBulkSendBody
Returns
Promise
<
DocumentsSendResponse
>
download
download
(
documentId
:
string
)
:
Promise
<
DocumentsDownloadResponse
>
Parameters
documentId:
string
Returns
Promise
<
DocumentsDownloadResponse
>
get
All
get
All
(
query
?:
Record
<
string
,
unknown
>
)
:
Promise
<
DocumentsMultipleResponse
>
Parameters
Optional
query:
Record
<
string
,
unknown
>
Returns
Promise
<
DocumentsMultipleResponse
>
meta
meta
(
query
?:
Record
<
string
,
unknown
>
)
:
Promise
<
DocumentsMultipleResponse
>
Parameters
Optional
query:
Record
<
string
,
unknown
>
Returns
Promise
<
DocumentsMultipleResponse
>
preview
preview
(
documentId
:
string
)
:
Promise
<
DocumentsPreviewResponse
>
Parameters
documentId:
string
Returns
Promise
<
DocumentsPreviewResponse
>
send
send
(
documentId
:
string
, body
:
DocumentsSendBody
)
:
Promise
<
DocumentsSendResponse
>
Parameters
documentId:
string
body:
DocumentsSendBody
Returns
Promise
<
DocumentsSendResponse
>
Generated using
TypeDoc