@verdocs/js-sdk 6.2.2 → 6.2.3

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 CHANGED
@@ -1643,8 +1643,8 @@ declare const DEFAULT_DISCLOSURES = "\n<ul>\n <li>\n Agree to use electronic
1643
1643
  * @apiBody string name? Override the name of the envelope (defaults to the template name).
1644
1644
  * @apiBody string description? Override the description of the envelope (defaults to the template description).
1645
1645
  * @apiBody boolean no_contact? If set to true, no email or SMS messages will be sent to any recipients.
1646
- * @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting.
1647
- * @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting.
1646
+ * @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting (in milliseconds).
1647
+ * @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting (in milliseconds).
1648
1648
  * @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.
1649
1649
  * @apiSuccess IEnvelope . The newly-created envelope.
1650
1650
  */
@@ -3486,8 +3486,8 @@ declare const createTemplateFromSharepoint: (endpoint: VerdocsEndpoint, params:
3486
3486
  * @apiBody boolean is_personal? Deprecated. If true, the template is personal and can only be seen by the caller. (Use "visibility" for new calls.)
3487
3487
  * @apiBody boolean is_public? Deprecated. If true, the template is public and can be seen by anybody. (Use "visibility" for new calls.)
3488
3488
  * @apiBody TTemplateSender sender? Who may send envelopes using this template
3489
- * @apiBody number initial_reminder? Delay (in seconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
3490
- * @apiBody number followup_reminders? Delay (in seconds) before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
3489
+ * @apiBody number initial_reminder? Delay (in milliseconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
3490
+ * @apiBody number followup_reminders? Delay (in milliseconds) before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
3491
3491
  * @apiSuccess ITemplate . The updated template
3492
3492
  */
3493
3493
  declare const updateTemplate: (endpoint: VerdocsEndpoint, templateId: string, params: Partial<ITemplateCreateParams>) => Promise<ITemplate>;
package/dist/index.d.ts CHANGED
@@ -1643,8 +1643,8 @@ declare const DEFAULT_DISCLOSURES = "\n<ul>\n <li>\n Agree to use electronic
1643
1643
  * @apiBody string name? Override the name of the envelope (defaults to the template name).
1644
1644
  * @apiBody string description? Override the description of the envelope (defaults to the template description).
1645
1645
  * @apiBody boolean no_contact? If set to true, no email or SMS messages will be sent to any recipients.
1646
- * @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting.
1647
- * @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting.
1646
+ * @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting (in milliseconds).
1647
+ * @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting (in milliseconds).
1648
1648
  * @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.
1649
1649
  * @apiSuccess IEnvelope . The newly-created envelope.
1650
1650
  */
@@ -3486,8 +3486,8 @@ declare const createTemplateFromSharepoint: (endpoint: VerdocsEndpoint, params:
3486
3486
  * @apiBody boolean is_personal? Deprecated. If true, the template is personal and can only be seen by the caller. (Use "visibility" for new calls.)
3487
3487
  * @apiBody boolean is_public? Deprecated. If true, the template is public and can be seen by anybody. (Use "visibility" for new calls.)
3488
3488
  * @apiBody TTemplateSender sender? Who may send envelopes using this template
3489
- * @apiBody number initial_reminder? Delay (in seconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
3490
- * @apiBody number followup_reminders? Delay (in seconds) before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
3489
+ * @apiBody number initial_reminder? Delay (in milliseconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
3490
+ * @apiBody number followup_reminders? Delay (in milliseconds) before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
3491
3491
  * @apiSuccess ITemplate . The updated template
3492
3492
  */
3493
3493
  declare const updateTemplate: (endpoint: VerdocsEndpoint, templateId: string, params: Partial<ITemplateCreateParams>) => Promise<ITemplate>;
package/dist/index.js CHANGED
@@ -1589,8 +1589,8 @@ class VerdocsEndpoint {
1589
1589
  * @apiBody string name? Override the name of the envelope (defaults to the template name).
1590
1590
  * @apiBody string description? Override the description of the envelope (defaults to the template description).
1591
1591
  * @apiBody boolean no_contact? If set to true, no email or SMS messages will be sent to any recipients.
1592
- * @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting.
1593
- * @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting.
1592
+ * @apiBody integer(min: 0) initial_reminder? Override the template initial-reminder setting (in milliseconds).
1593
+ * @apiBody integer(min: 0) followup_reminders? Override the template initial-reminder setting (in milliseconds).
1594
1594
  * @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.
1595
1595
  * @apiSuccess IEnvelope . The newly-created envelope.
1596
1596
  */
@@ -2398,8 +2398,8 @@ const createTemplateFromSharepoint = (endpoint, params) => {
2398
2398
  * @apiBody boolean is_personal? Deprecated. If true, the template is personal and can only be seen by the caller. (Use "visibility" for new calls.)
2399
2399
  * @apiBody boolean is_public? Deprecated. If true, the template is public and can be seen by anybody. (Use "visibility" for new calls.)
2400
2400
  * @apiBody TTemplateSender sender? Who may send envelopes using this template
2401
- * @apiBody number initial_reminder? Delay (in seconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
2402
- * @apiBody number followup_reminders? Delay (in seconds) before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
2401
+ * @apiBody number initial_reminder? Delay (in milliseconds) before the first reminder is sent (min: 4hrs). Set to 0 or null to disable.
2402
+ * @apiBody number followup_reminders? Delay (in milliseconds) before the subsequent reminders are sent (min: 12hrs). Set to 0 or null to disable.
2403
2403
  * @apiSuccess ITemplate . The updated template
2404
2404
  */
2405
2405
  const updateTemplate = (endpoint, templateId, params) => endpoint.api //