@verdocs/js-sdk 5.3.3 → 5.3.5
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 +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +9 -9
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -1573,7 +1573,7 @@ class VerdocsEndpoint {
|
|
|
1573
1573
|
* @group Envelopes
|
|
1574
1574
|
* @api POST /v2/envelopes Create Envelope
|
|
1575
1575
|
* @apiBody string(format:uuid) template_id If using a template, the ID of the template to copy
|
|
1576
|
-
* @apiBody array(items:
|
|
1576
|
+
* @apiBody array(items:ICreateEnvelopeRecipientDirectly) recipients A list of recipients to include in the workflow. Must specify one recipient to match each template Role.
|
|
1577
1577
|
* @apiBody array(items:IEnvelopeDocument) documents? If not using a template, a list of documents to include in the envelope.
|
|
1578
1578
|
* @apiBody array(items:IEnvelopeField) fields? If not using a template, a list of fields to include in the envelope.
|
|
1579
1579
|
* @apiBody string name? Override the name of the envelope (defaults to the template name).
|
|
@@ -1883,7 +1883,7 @@ const envelopeRecipientChangeOwner = (endpoint, envelope_id, role_name, email, f
|
|
|
1883
1883
|
/**
|
|
1884
1884
|
* Agree to electronic signing.
|
|
1885
1885
|
*/
|
|
1886
|
-
const envelopeRecipientAgree = (endpoint, envelopeId, roleName, agreed,
|
|
1886
|
+
const envelopeRecipientAgree = (endpoint, envelopeId, roleName, agreed, disclosures) => updateRecipientStatus(endpoint, envelopeId, roleName, { action: 'update', agreed, disclosures });
|
|
1887
1887
|
/**
|
|
1888
1888
|
* Change a recipient's name.
|
|
1889
1889
|
*/
|
|
@@ -1959,6 +1959,7 @@ const getInPersonLink = (endpoint, envelope_id, role_name) => endpoint.api //
|
|
|
1959
1959
|
const verifySigner = (endpoint, params) => endpoint.api //
|
|
1960
1960
|
.post(`/v2/sign/verify`, params)
|
|
1961
1961
|
.then((r) => r.data);
|
|
1962
|
+
// TODO: Use "oneOf" to describe the unions of these two calls.
|
|
1962
1963
|
/**
|
|
1963
1964
|
* Resend a recipient's invitation. NOTE: User interfaces should rate-limit this operation to
|
|
1964
1965
|
* avoid spamming recipients. Excessive use of this endpoint may result in Verdocs rate-limiting
|