@pageproof/sdk-pr 449.0.1660179714496 → 449.0.1660611735750

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.
@@ -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 {Decision|Array<Decision>} options.proofs.allowedDecisions The proof decision or array of proof decisions that allowed to the reviewer.
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 | 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 {Decision|Array<Decision>} options.proofs.allowedDecisions The proof decision or array of proof decisions that allowed to the reviewer.
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 && [].concat(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,