@verdocs/js-sdk 6.2.4 → 6.2.7

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.mjs CHANGED
@@ -1676,7 +1676,15 @@ 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 IEnvelope . Set of fields to update. Omit (leave undefined) any fields that should not be changed.
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 //