A Document instance created by Envelope#reflect
Properties:
Name | Type | Description |
---|---|---|
id |
string | Document id |
envelope_id |
string | Envelope id |
data |
object | Raw document data from the latest reflection |
template |
Template | Template instance if typeof this documents source is "template" |
Methods
-
Returns information about the specified file
Name Type Description fileId
string The id of the file to get info about Returns:
Type Description string Download url -
Returns a download url for the specified file
Name Type Description fileId
string The id of the file to get the download url for Returns:
Type Description string Download url -
Makes a raw PUT request to the API on the document
Name Type Description data
object The payload to be sent -
Update the documents tags
Name Type Description tags
Array.<string> An array of tags -
Upload an attachment to the document
Name Type Description fileName
string The name of the attachment that will be shown in Verified binary
binary Binary data of the attachment file -
Upload the main PDF of a document
Name Type Description fileName
string The name of the pdf that will be shown in Verified binary
binary Binary data of the pdf file