@pageproof/sdk-pr 438.0.1652074986135 → 438.0.1652216598652
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 +13 -1
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
package/lib/api/Proofs.d.ts
CHANGED
|
@@ -513,8 +513,20 @@ declare class Proofs extends API {
|
|
|
513
513
|
* emailSenderUser: { id: 'ULVRHSLLP69ACHCT' },
|
|
514
514
|
* });
|
|
515
515
|
*
|
|
516
|
+
* @example <caption>Update email sender of proofs</caption>
|
|
517
|
+
* await client.proofs.update([
|
|
518
|
+
* {
|
|
519
|
+
* id: 'PXJHGJHJVHGHHGHJH',
|
|
520
|
+
* emailSenderUser: { email: 'newSenderEmail@example.com' },
|
|
521
|
+
* },
|
|
522
|
+
* {
|
|
523
|
+
* id: 'PXJHGJHJVHGHHGHJP',
|
|
524
|
+
* emailSenderUser: { id: 'ULVRHSLLP69ACHCT' },
|
|
525
|
+
* },
|
|
526
|
+
* ]);
|
|
527
|
+
*
|
|
516
528
|
* @since v2.0.0-beta.127
|
|
517
|
-
* @param {ProofForUpdateDefinition|Array<ProofForUpdateDefinition>} proofOrProofs The proof or list of proofs to update due date
|
|
529
|
+
* @param {ProofForUpdateDefinition|Array<ProofForUpdateDefinition>} proofOrProofs The proof or list of proofs to update due date and email sender
|
|
518
530
|
* @returns {Promise}
|
|
519
531
|
*/
|
|
520
532
|
update(proofOrProofs: ProofForUpdateDefinition | ProofForUpdateDefinition[]): Promise<any>;
|