@pageproof/sdk-pr 462.0.1661390350802 → 464.0.1661918621023
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.
|
@@ -38,6 +38,7 @@ declare class TeamFeatures extends API {
|
|
|
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
40
|
* @param {Array<Decision>} options.proofs.allowedDecisions The array of proof decisions that allowed to the reviewer.
|
|
41
|
+
* @param {boolean} options.proofs.enableChecklists Whether the checklists feature is enabled.
|
|
41
42
|
* @returns {Promise}
|
|
42
43
|
*/
|
|
43
44
|
update({ emails, comments, proofs, }: {
|
|
@@ -60,6 +61,7 @@ declare class TeamFeatures extends API {
|
|
|
60
61
|
defaultIsPublic: boolean;
|
|
61
62
|
messageToOwners: boolean;
|
|
62
63
|
allowedDecisions: Decision[];
|
|
64
|
+
enableChecklists: boolean;
|
|
63
65
|
};
|
|
64
66
|
}): Promise<any>;
|
|
65
67
|
/**
|
|
@@ -76,6 +76,7 @@ var TeamFeatures = function (_API) {
|
|
|
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
78
|
* @param {Array<Decision>} options.proofs.allowedDecisions The array of proof decisions that allowed to the reviewer.
|
|
79
|
+
* @param {boolean} options.proofs.enableChecklists Whether the checklists feature is enabled.
|
|
79
80
|
* @returns {Promise}
|
|
80
81
|
*/
|
|
81
82
|
|
|
@@ -99,6 +100,7 @@ var TeamFeatures = function (_API) {
|
|
|
99
100
|
var defaultProofIsPublic = proofs && proofs.defaultIsPublic;
|
|
100
101
|
var messageToOwners = proofs && proofs.messageToOwners;
|
|
101
102
|
var allowedDecisions = proofs && proofs.allowedDecisions;
|
|
103
|
+
var enableChecklists = proofs && proofs.enableChecklists;
|
|
102
104
|
return this.client.request('admin.team.features.update', {
|
|
103
105
|
displayComments: displayComments,
|
|
104
106
|
displayTeamName: displayTeamName,
|
|
@@ -113,7 +115,8 @@ var TeamFeatures = function (_API) {
|
|
|
113
115
|
publicProofs: publicProofs,
|
|
114
116
|
defaultProofIsPublic: defaultProofIsPublic,
|
|
115
117
|
messageToOwners: messageToOwners,
|
|
116
|
-
allowedDecisions: allowedDecisions
|
|
118
|
+
allowedDecisions: allowedDecisions,
|
|
119
|
+
enableChecklists: enableChecklists
|
|
117
120
|
});
|
|
118
121
|
};
|
|
119
122
|
|
|
@@ -32,6 +32,12 @@ declare class TeamProofFeatures {
|
|
|
32
32
|
* @type {Array<Decision>}
|
|
33
33
|
*/
|
|
34
34
|
allowedDecisions: Array<Decision>;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the checklists feature is enabled.
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
*/
|
|
40
|
+
enableChecklists: boolean;
|
|
35
41
|
/** @private */
|
|
36
42
|
fromTeamProofFeatures(teamProofFeaturesData: any): TeamProofFeatures;
|
|
37
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.__esModule=true;var _transform=require("./transform");var _transform2=_interopRequireDefault(_transform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}var TeamProofFeatureSchema={reference:"ProofReference",publicProofs:"PublicProofs",defaultIsPublic:"DefaultProofIsPublic",messageToOwners:"MessageToOwners",allowedDecisions:"AllowedDecisions"};var TeamProofFeatures=function(){function TeamProofFeatures(){_classCallCheck(this,TeamProofFeatures)}TeamProofFeatures.prototype.fromTeamProofFeatures=function fromTeamProofFeatures(teamProofFeaturesData){(0,_transform2.default)(this,TeamProofFeatureSchema,teamProofFeaturesData);return this};return TeamProofFeatures}();exports.default=TeamProofFeatures;
|
|
1
|
+
"use strict";exports.__esModule=true;var _transform=require("./transform");var _transform2=_interopRequireDefault(_transform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}var TeamProofFeatureSchema={reference:"ProofReference",publicProofs:"PublicProofs",defaultIsPublic:"DefaultProofIsPublic",messageToOwners:"MessageToOwners",allowedDecisions:"AllowedDecisions",enableChecklists:"EnableChecklists"};var TeamProofFeatures=function(){function TeamProofFeatures(){_classCallCheck(this,TeamProofFeatures)}TeamProofFeatures.prototype.fromTeamProofFeatures=function fromTeamProofFeatures(teamProofFeaturesData){(0,_transform2.default)(this,TeamProofFeatureSchema,teamProofFeaturesData);return this};return TeamProofFeatures}();exports.default=TeamProofFeatures;
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
"version": 2,
|
|
854
854
|
"method": "POST",
|
|
855
855
|
"path": "/api/admin/settings",
|
|
856
|
-
"body": ["displayComments", "generalComments", "editComments", "proofReference", "displayTeamName", "emailTitleTextColor", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners", "allowedDecisions"]
|
|
856
|
+
"body": ["displayComments", "generalComments", "editComments", "proofReference", "displayTeamName", "emailTitleTextColor", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners", "allowedDecisions", "enableChecklists"]
|
|
857
857
|
},
|
|
858
858
|
"admin.team.features.sender-email.set": {
|
|
859
859
|
"version": 2,
|