@pageproof/sdk-pr 329.0.1620007406719 → 329.0.1620010174842

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.
@@ -499,15 +499,19 @@ declare class Proofs extends API {
499
499
  */
500
500
  addWorkflow(proofIdOrIds: string | string[], workflowTemplateId: string): Promise<any>;
501
501
  /**
502
- * Send proof invitations with a share link to the public proof to the reviewers.
502
+ * Send proof invitation emails with a share link to the public proof to one or more email addresses.
503
503
  *
504
- * @example <caption>Sending a public proof invitation with a share link to the reviewer.</caption>
505
- * await client.proofs.sendShareLink('PVNM8NTI1VSTCRN5', 'please review this proof', ['first-reviewer@example.com', 'second-reviewer@example.com']);
504
+ * @example <caption>Sending a share link with a message to multiple email addresses.</caption>
505
+ * await client.proofs.sendShareLink({
506
+ * proofId: 'PVNM8NTI1VSTCRN5',
507
+ * message: 'please review this proof',
508
+ * emailAddresses: ['first-reviewer@example.com', 'second-reviewer@example.com']
509
+ * });
506
510
  *
507
511
  * @param {object} options
508
512
  * @param {string} options.proofId A public proof id
509
- * @param {string} options.message The message to reviewers
510
- * @param {Array<string>} options.emailAddresses The reviewer's email addresses
513
+ * @param {string} options.message The message include with the email
514
+ * @param {Array<string>} options.emailAddresses The email addresses to send the share link to
511
515
  * @returns {Promise}
512
516
  */
513
517
  sendShareLink({ proofId, message, emailAddresses }: {