@pageproof/sdk-pr 387.0.1638845405439 → 388.0.1638934769121
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.
|
@@ -24,6 +24,7 @@ declare class TeamFeatures extends API {
|
|
|
24
24
|
* @param {object} options.emails The emails features
|
|
25
25
|
* @param {boolean} options.emails.displayComments Whether the comment should display in emails or not
|
|
26
26
|
* @param {boolean} options.emails.displayTeamName Whether using the team name or ’PageProof Team’ as the ‘from’ name in Email.
|
|
27
|
+
* @param {string} options.emails.customSenderEmail The custom sender email address of the team notification.
|
|
27
28
|
* @param {object} options.comments The comments features
|
|
28
29
|
* @param {boolean} options.comments.editComments Whether the comments/replies can be edited by other users or not
|
|
29
30
|
* @param {ProofStatus|Array<ProofStatus>} options.comments.disableReplyingToCommentsInStatuses The proof status or array of proof status to disable the replies to comments (by reviewers).
|
|
@@ -38,6 +39,7 @@ declare class TeamFeatures extends API {
|
|
|
38
39
|
emails: {
|
|
39
40
|
displayComments: boolean;
|
|
40
41
|
displayTeamName: boolean;
|
|
42
|
+
customSenderEmail: string;
|
|
41
43
|
};
|
|
42
44
|
comments: {
|
|
43
45
|
editComments: boolean;
|
|
@@ -62,6 +62,7 @@ var TeamFeatures = function (_API) {
|
|
|
62
62
|
* @param {object} options.emails The emails features
|
|
63
63
|
* @param {boolean} options.emails.displayComments Whether the comment should display in emails or not
|
|
64
64
|
* @param {boolean} options.emails.displayTeamName Whether using the team name or ’PageProof Team’ as the ‘from’ name in Email.
|
|
65
|
+
* @param {string} options.emails.customSenderEmail The custom sender email address of the team notification.
|
|
65
66
|
* @param {object} options.comments The comments features
|
|
66
67
|
* @param {boolean} options.comments.editComments Whether the comments/replies can be edited by other users or not
|
|
67
68
|
* @param {ProofStatus|Array<ProofStatus>} options.comments.disableReplyingToCommentsInStatuses The proof status or array of proof status to disable the replies to comments (by reviewers).
|
|
@@ -81,6 +82,7 @@ var TeamFeatures = function (_API) {
|
|
|
81
82
|
|
|
82
83
|
var displayComments = emails && emails.displayComments;
|
|
83
84
|
var displayTeamName = emails && emails.displayTeamName;
|
|
85
|
+
var customSenderEmail = emails && emails.customSenderEmail;
|
|
84
86
|
var editComments = comments && comments.editComments;
|
|
85
87
|
var disableReplyingToCommentsInStatuses = comments && comments.disableReplyingToCommentsInStatuses && [].concat(comments.disableReplyingToCommentsInStatuses);
|
|
86
88
|
var proofReference = proofs && proofs.reference;
|
|
@@ -90,6 +92,7 @@ var TeamFeatures = function (_API) {
|
|
|
90
92
|
return this.client.request('admin.team.features.update', {
|
|
91
93
|
displayComments: displayComments,
|
|
92
94
|
displayTeamName: displayTeamName,
|
|
95
|
+
customSenderEmail: customSenderEmail,
|
|
93
96
|
editComments: editComments,
|
|
94
97
|
disableReplyingToCommentsInStatuses: disableReplyingToCommentsInStatuses,
|
|
95
98
|
proofReference: proofReference,
|
|
@@ -14,6 +14,12 @@ declare class TeamEmailFeatures {
|
|
|
14
14
|
* @type {boolean}
|
|
15
15
|
*/
|
|
16
16
|
displayTeamName: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The custom sender email address of the team notification.
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
*/
|
|
22
|
+
customSenderEmail: string;
|
|
17
23
|
/** @private */
|
|
18
24
|
fromTeamEmailFeatures(teamEmailFeaturesData: any): TeamEmailFeatures;
|
|
19
25
|
}
|
|
@@ -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 TeamEmailFeatureSchema={displayComments:"DisplayComments",displayTeamName:"DisplayTeamName"};var TeamEmailFeatures=function(){function TeamEmailFeatures(){_classCallCheck(this,TeamEmailFeatures)}TeamEmailFeatures.prototype.fromTeamEmailFeatures=function fromTeamEmailFeatures(teamEmailFeaturesData){(0,_transform2.default)(this,TeamEmailFeatureSchema,teamEmailFeaturesData);return this};return TeamEmailFeatures}();exports.default=TeamEmailFeatures;
|
|
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 TeamEmailFeatureSchema={displayComments:"DisplayComments",displayTeamName:"DisplayTeamName",customSenderEmail:"CustomSenderEmail"};var TeamEmailFeatures=function(){function TeamEmailFeatures(){_classCallCheck(this,TeamEmailFeatures)}TeamEmailFeatures.prototype.fromTeamEmailFeatures=function fromTeamEmailFeatures(teamEmailFeaturesData){(0,_transform2.default)(this,TeamEmailFeatureSchema,teamEmailFeaturesData);return this};return TeamEmailFeatures}();exports.default=TeamEmailFeatures;
|
|
@@ -835,7 +835,7 @@
|
|
|
835
835
|
"version": 2,
|
|
836
836
|
"method": "POST",
|
|
837
837
|
"path": "/api/admin/settings",
|
|
838
|
-
"body": ["displayComments", "editComments", "proofReference", "displayTeamName", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners"]
|
|
838
|
+
"body": ["displayComments", "editComments", "proofReference", "displayTeamName", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners", "CustomSenderEmail"]
|
|
839
839
|
},
|
|
840
840
|
"integrations.get-setup-url": {
|
|
841
841
|
"method": "GET",
|