@verdocs/js-sdk 6.2.3 → 6.2.4
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 +27 -6
- package/dist/index.d.ts +27 -6
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
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
|
*/
|
|
@@ -1683,7 +1683,7 @@ const updateEnvelope = async (endpoint, envelopeId, params) => endpoint.api //
|
|
|
1683
1683
|
.patch(`/v2/envelopes/${envelopeId}`, params)
|
|
1684
1684
|
.then((r) => r.data);
|
|
1685
1685
|
/**
|
|
1686
|
-
* Update
|
|
1686
|
+
* Update an Envelope field. Typically called during the signing process as a Recipient fills in fields.
|
|
1687
1687
|
*
|
|
1688
1688
|
* @group Envelopes
|
|
1689
1689
|
* @api PUT /v2/envelopes/:envelope_id/fields/:field_name Update Envelope Field
|
|
@@ -1691,7 +1691,7 @@ const updateEnvelope = async (endpoint, envelopeId, params) => endpoint.api //
|
|
|
1691
1691
|
* @apiParam string role_name The role to submit. Be sure to URL-encode the value.
|
|
1692
1692
|
* @apiParam string field_name The name of the field to update. Be sure to URL-encode the value.
|
|
1693
1693
|
* @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
|
|
1694
|
+
* @apiBody string value Value to set.
|
|
1695
1695
|
* @apiSuccess IEnvelopeField . A copy of the newly-updated field.
|
|
1696
1696
|
*/
|
|
1697
1697
|
const updateEnvelopeField = async (endpoint, envelopeId, roleName, fieldName, value, prepared) => endpoint.api //
|
|
@@ -2396,8 +2396,8 @@ const createTemplateFromSharepoint = (endpoint, params) => {
|
|
|
2396
2396
|
* @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
2397
|
* @apiBody boolean is_public? Deprecated. If true, the template is public and can be seen by anybody. (Use "visibility" for new calls.)
|
|
2398
2398
|
* @apiBody TTemplateSender sender? Who may send envelopes using this template
|
|
2399
|
-
* @apiBody number initial_reminder? Delay
|
|
2400
|
-
* @apiBody number followup_reminders? Delay
|
|
2399
|
+
* @apiBody number initial_reminder? Delay in ms before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
|
|
2400
|
+
* @apiBody number followup_reminders? Delay in ms before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
|
|
2401
2401
|
* @apiSuccess ITemplate . The updated template
|
|
2402
2402
|
*/
|
|
2403
2403
|
const updateTemplate = (endpoint, templateId, params) => endpoint.api //
|