@pageproof/sdk-pr 455.0.1660597874018 → 456.0.1660534905048
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/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 2.0.0-beta.296
|
|
4
|
-
|
|
5
|
-
Released on the 16th of August 2022.
|
|
6
|
-
|
|
7
|
-
- [[PP-2627](https://goto.pageproof.dev/PP-2627)] Added support for `Approved with changes` decision. See [TeamProofFeatures.allowedDecisions](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/TeamProofFeatures.js~TeamProofFeatures.html#instance-member-allowedDecisions) and [TeamFeatures.update](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/admin/TeamFeatures.js~TeamFeatures.html#instance-method-update).
|
|
8
|
-
|
|
9
3
|
## 2.0.0-beta.295
|
|
10
4
|
|
|
11
5
|
Released on the 5th of August 2022.
|
|
@@ -37,7 +37,7 @@ declare class TeamFeatures extends API {
|
|
|
37
37
|
* @param {boolean} options.proofs.publicProofs Whether the public proofs feature is enabled.
|
|
38
38
|
* @param {boolean} options.proofs.defaultIsPublic The default value for whether a proof is public on the proof setup page.
|
|
39
39
|
* @param {boolean} options.proofs.messageToOwners Whether reviewers can send a message to the proof owners.
|
|
40
|
-
* @param {
|
|
40
|
+
* @param {Array<Decision>} options.proofs.allowedDecisions The array of proof decisions that allowed to the reviewer.
|
|
41
41
|
* @returns {Promise}
|
|
42
42
|
*/
|
|
43
43
|
update({ emails, comments, proofs, }: {
|
|
@@ -59,7 +59,7 @@ declare class TeamFeatures extends API {
|
|
|
59
59
|
publicProofs: boolean;
|
|
60
60
|
defaultIsPublic: boolean;
|
|
61
61
|
messageToOwners: boolean;
|
|
62
|
-
allowedDecisions: Decision
|
|
62
|
+
allowedDecisions: Decision[];
|
|
63
63
|
};
|
|
64
64
|
}): Promise<any>;
|
|
65
65
|
/**
|
|
@@ -75,7 +75,7 @@ var TeamFeatures = function (_API) {
|
|
|
75
75
|
* @param {boolean} options.proofs.publicProofs Whether the public proofs feature is enabled.
|
|
76
76
|
* @param {boolean} options.proofs.defaultIsPublic The default value for whether a proof is public on the proof setup page.
|
|
77
77
|
* @param {boolean} options.proofs.messageToOwners Whether reviewers can send a message to the proof owners.
|
|
78
|
-
* @param {
|
|
78
|
+
* @param {Array<Decision>} options.proofs.allowedDecisions The array of proof decisions that allowed to the reviewer.
|
|
79
79
|
* @returns {Promise}
|
|
80
80
|
*/
|
|
81
81
|
|
|
@@ -98,7 +98,7 @@ var TeamFeatures = function (_API) {
|
|
|
98
98
|
var publicProofs = proofs && proofs.publicProofs;
|
|
99
99
|
var defaultProofIsPublic = proofs && proofs.defaultIsPublic;
|
|
100
100
|
var messageToOwners = proofs && proofs.messageToOwners;
|
|
101
|
-
var allowedDecisions = proofs && proofs.allowedDecisions
|
|
101
|
+
var allowedDecisions = proofs && proofs.allowedDecisions;
|
|
102
102
|
return this.client.request('admin.team.features.update', {
|
|
103
103
|
displayComments: displayComments,
|
|
104
104
|
displayTeamName: displayTeamName,
|