@verdocs/js-sdk 6.2.3 → 6.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +41 -9
- package/dist/index.d.ts +41 -9
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -7
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1587,8 +1587,8 @@ class VerdocsEndpoint {
|
|
|
1587
1587
|
* @apiBody string name? Override the name of the envelope (defaults to the template name).
|
|
1588
1588
|
* @apiBody string description? Override the description of the envelope (defaults to the template description).
|
|
1589
1589
|
* @apiBody boolean no_contact? If set to true, no email or SMS messages will be sent to any recipients.
|
|
1590
|
-
* @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting
|
|
1591
|
-
* @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting
|
|
1590
|
+
* @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting in ms.
|
|
1591
|
+
* @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting in ms.
|
|
1592
1592
|
* @apiBody string expires_at? If set, the envelope will automatically expire (be canceled) at this date and time. Expirations must be at least 1 day in the future.
|
|
1593
1593
|
* @apiSuccess IEnvelope . The newly-created envelope.
|
|
1594
1594
|
*/
|
|
@@ -1676,14 +1676,22 @@ const getEnvelopeFile = async (endpoint, documentId) => endpoint.api //
|
|
|
1676
1676
|
* @group Envelopes
|
|
1677
1677
|
* @api PATCH /v2/envelopes/:id Update Envelope
|
|
1678
1678
|
* @apiParam string(format: 'uuid') id The ID of the envelope to update.
|
|
1679
|
-
* @apiBody
|
|
1679
|
+
* @apiBody string name? New name for the envelope
|
|
1680
|
+
* @apiBody string sender_name? New Sender Name for the envelope
|
|
1681
|
+
* @apiBody string sender_email? New Sender Email for the envelope
|
|
1682
|
+
* @apiBody integer(min: 0) initial_reminder? Change the initial-reminder setting (in ms).
|
|
1683
|
+
* @apiBody integer(min: 0) followup_reminders? Change the followup-reminder setting (in ms).
|
|
1684
|
+
* @apiBody string expires_at? If set, the envelope will automatically expire (be canceled) at this date and time. Expirations must be at least 1 day in the future.
|
|
1685
|
+
* @apiBody string(enum:'private'|'shared') visibility? Change the envelope's visibility setting
|
|
1686
|
+
* @apiBody boolean no_contact? If set to true, no email or SMS messages will be sent to any recipients.
|
|
1687
|
+
* @apiBody object data? Update the developer-supplied metadata attached to the envelope.
|
|
1680
1688
|
* @apiSuccess IEnvelope . A copy of the newly-updated envelope.
|
|
1681
1689
|
*/
|
|
1682
1690
|
const updateEnvelope = async (endpoint, envelopeId, params) => endpoint.api //
|
|
1683
1691
|
.patch(`/v2/envelopes/${envelopeId}`, params)
|
|
1684
1692
|
.then((r) => r.data);
|
|
1685
1693
|
/**
|
|
1686
|
-
* Update
|
|
1694
|
+
* Update an Envelope field. Typically called during the signing process as a Recipient fills in fields.
|
|
1687
1695
|
*
|
|
1688
1696
|
* @group Envelopes
|
|
1689
1697
|
* @api PUT /v2/envelopes/:envelope_id/fields/:field_name Update Envelope Field
|
|
@@ -1691,7 +1699,7 @@ const updateEnvelope = async (endpoint, envelopeId, params) => endpoint.api //
|
|
|
1691
1699
|
* @apiParam string role_name The role to submit. Be sure to URL-encode the value.
|
|
1692
1700
|
* @apiParam string field_name The name of the field to update. Be sure to URL-encode the value.
|
|
1693
1701
|
* @apiParam string value The value to set. For signature/initial fields, the UUID of the signature/initial block. For attachment fields, a file uploaded in a FORM-POST field named "document". For checkbox/radio buttons, a boolean. For all other fields, a string.
|
|
1694
|
-
* @apiBody value
|
|
1702
|
+
* @apiBody string value Value to set.
|
|
1695
1703
|
* @apiSuccess IEnvelopeField . A copy of the newly-updated field.
|
|
1696
1704
|
*/
|
|
1697
1705
|
const updateEnvelopeField = async (endpoint, envelopeId, roleName, fieldName, value, prepared) => endpoint.api //
|
|
@@ -2396,8 +2404,8 @@ const createTemplateFromSharepoint = (endpoint, params) => {
|
|
|
2396
2404
|
* @apiBody boolean is_personal? Deprecated. If true, the template is personal and can only be seen by the caller. (Use "visibility" for new calls.)
|
|
2397
2405
|
* @apiBody boolean is_public? Deprecated. If true, the template is public and can be seen by anybody. (Use "visibility" for new calls.)
|
|
2398
2406
|
* @apiBody TTemplateSender sender? Who may send envelopes using this template
|
|
2399
|
-
* @apiBody number initial_reminder? Delay
|
|
2400
|
-
* @apiBody number followup_reminders? Delay
|
|
2407
|
+
* @apiBody number initial_reminder? Delay in ms before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
|
|
2408
|
+
* @apiBody number followup_reminders? Delay in ms before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
|
|
2401
2409
|
* @apiSuccess ITemplate . The updated template
|
|
2402
2410
|
*/
|
|
2403
2411
|
const updateTemplate = (endpoint, templateId, params) => endpoint.api //
|