@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.
- package/lib/api/Proofs.d.ts +9 -5
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
package/lib/api/Proofs.d.ts
CHANGED
|
@@ -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
|
|
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(
|
|
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
|
|
510
|
-
* @param {Array<string>} options.emailAddresses The
|
|
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 }: {
|