@pageproof/sdk-pr 397.0.1644379353206 → 397.0.1646164334357

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.titleTextColor The title text color in the email.
27
28
  * @param {string} options.emails.linkTextColor The link text color in the email.
28
29
  * @param {string} options.emails.buttonBackgroundColor The button background color in the email.
29
30
  * @param {string} options.emails.buttonTextColor The button text color in the email.
@@ -41,6 +42,7 @@ declare class TeamFeatures extends API {
41
42
  emails: {
42
43
  displayComments: boolean;
43
44
  displayTeamName: boolean;
45
+ titleTextColor: string;
44
46
  linkTextColor: string;
45
47
  buttonBackgroundColor: string;
46
48
  buttonTextColor: string;
@@ -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.titleTextColor The title text color in the email.
65
66
  * @param {string} options.emails.linkTextColor The link text color in the email.
66
67
  * @param {string} options.emails.buttonBackgroundColor The button background color in the email.
67
68
  * @param {string} options.emails.buttonTextColor The button text color in the email.
@@ -84,6 +85,7 @@ var TeamFeatures = function (_API) {
84
85
 
85
86
  var displayComments = emails && emails.displayComments;
86
87
  var displayTeamName = emails && emails.displayTeamName;
88
+ var emailTitleTextColor = emails && emails.titleTextColor;
87
89
  var emailLinkTextColor = emails && emails.linkTextColor;
88
90
  var emailButtonBackgroundColor = emails && emails.buttonBackgroundColor;
89
91
  var emailButtonTextColor = emails && emails.buttonTextColor;
@@ -96,6 +98,7 @@ var TeamFeatures = function (_API) {
96
98
  return this.client.request('admin.team.features.update', {
97
99
  displayComments: displayComments,
98
100
  displayTeamName: displayTeamName,
101
+ emailTitleTextColor: emailTitleTextColor,
99
102
  emailLinkTextColor: emailLinkTextColor,
100
103
  emailButtonBackgroundColor: emailButtonBackgroundColor,
101
104
  emailButtonTextColor: emailButtonTextColor,
@@ -14,6 +14,18 @@ declare class TeamEmailFeatures {
14
14
  * @type {boolean}
15
15
  */
16
16
  displayTeamName: boolean;
17
+ /**
18
+ * Whether the custom styles feature is enabled.
19
+ *
20
+ * @type {boolean}
21
+ */
22
+ customStyles: boolean;
23
+ /**
24
+ * The title text color in the email.
25
+ *
26
+ * @type {string}
27
+ */
28
+ titleTextColor: string;
17
29
  /**
18
30
  * The link text color in the email.
19
31
  *
@@ -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",linkTextColor:"EmailLinkTextColor",buttonBackgroundColor:"EmailButtonBackgroundColor",buttonTextColor:"EmailButtonTextColor",senderEmail:"SenderEmail"};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",customStyles:"EmailCustomStyles",titleTextColor:"EmailTitleTextColor",linkTextColor:"EmailLinkTextColor",buttonBackgroundColor:"EmailButtonBackgroundColor",buttonTextColor:"EmailButtonTextColor",senderEmail:"SenderEmail"};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;
@@ -851,7 +851,7 @@
851
851
  "version": 2,
852
852
  "method": "POST",
853
853
  "path": "/api/admin/settings",
854
- "body": ["displayComments", "editComments", "proofReference", "displayTeamName", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners"]
854
+ "body": ["displayComments", "editComments", "proofReference", "displayTeamName", "emailTitleTextColor", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners"]
855
855
  },
856
856
  "admin.team.features.sender-email.set": {
857
857
  "version": 2,