@pageproof/sdk-pr 329.0.1620007406719 → 329.0.1620010022928
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/lib/api/Proofs.d.ts +5 -5
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
package/lib/api/Proofs.d.ts
CHANGED
|
@@ -499,15 +499,15 @@ declare class Proofs extends API {
|
|
|
499
499
|
*/
|
|
500
500
|
addWorkflow(proofIdOrIds: string | string[], workflowTemplateId: string): Promise<any>;
|
|
501
501
|
/**
|
|
502
|
-
* Send proof
|
|
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
|
|
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({ proofId: 'PVNM8NTI1VSTCRN5', message: 'please review this proof', emailAddresses: ['first-reviewer@example.com', 'second-reviewer@example.com']});
|
|
506
506
|
*
|
|
507
507
|
* @param {object} options
|
|
508
508
|
* @param {string} options.proofId A public proof id
|
|
509
|
-
* @param {string} options.message The message
|
|
510
|
-
* @param {Array<string>} options.emailAddresses The
|
|
509
|
+
* @param {string} options.message The message include with the email
|
|
510
|
+
* @param {Array<string>} options.emailAddresses The email addresses to send the share link to
|
|
511
511
|
* @returns {Promise}
|
|
512
512
|
*/
|
|
513
513
|
sendShareLink({ proofId, message, emailAddresses }: {
|