@pageproof/sdk-pr 413.0.1643334121025 → 414.0.1643757001645

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,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0-beta.286
4
+
5
+ Released on the 2nd of February 2022.
6
+
7
+ - [[PP-1654](https://goto.pageproof.dev/PP-1654)] Added support for enterprise teams to reset their custom email address. See [TeamFeatures.setSenderEmail](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/admin/TeamFeatures.js~TeamFeatures.html#instance-method-setSenderEmail).
8
+
9
+ ## 2.0.0-beta.285
10
+
11
+ Released on the 1st of February 2022.
12
+
13
+ _This release contains nothing new._
14
+
3
15
  ## 2.0.0-beta.284
4
16
 
5
17
  Released on the 23rd of December 2021.
@@ -59,7 +59,11 @@ declare class TeamFeatures extends API {
59
59
  * const admin = await client.admin();
60
60
  * const features = admin.team.features.setSenderEmail('team@example.com');
61
61
  *
62
- * @param {string} senderEmail The team sender email address.
62
+ * @example <caption>Resetting the team sender email address back to the default</caption>
63
+ * const admin = await client.admin();
64
+ * const features = admin.team.features.setSenderEmail(null);
65
+ *
66
+ * @param {string|null} senderEmail The team sender email address.
63
67
  * @returns {Promise<TeamSenderEmail>}
64
68
  */
65
69
  setSenderEmail(senderEmail: string): Promise<TeamSenderEmail>;
@@ -107,8 +107,12 @@ var TeamFeatures = function (_API) {
107
107
  * @example <caption>Setting the team sender email</caption>
108
108
  * const admin = await client.admin();
109
109
  * const features = admin.team.features.setSenderEmail('team@example.com');
110
+ *
111
+ * @example <caption>Resetting the team sender email address back to the default</caption>
112
+ * const admin = await client.admin();
113
+ * const features = admin.team.features.setSenderEmail(null);
110
114
  *
111
- * @param {string} senderEmail The team sender email address.
115
+ * @param {string|null} senderEmail The team sender email address.
112
116
  * @returns {Promise<TeamSenderEmail>}
113
117
  */
114
118
 
@@ -14,13 +14,6 @@ declare class TeamCommentFeatures {
14
14
  * @type {Array<ProofStatus>}
15
15
  */
16
16
  disableReplyingToCommentsInStatuses: Array<ProofStatus>;
17
- /**
18
- * Whether comments with no markup (general comments) can be placed by team members on proofs.
19
- *
20
- * @since v2.0.0-beta.284
21
- * @type {boolean}
22
- */
23
- generalComments: boolean;
24
17
  /** @private */
25
18
  fromTeamCommentFeatures(teamCommentFeaturesData: any): TeamCommentFeatures;
26
19
  }
@@ -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 TeamCommentFeatureSchema={editComments:"EditComments",disableReplyingToCommentsInStatuses:"DisableReplyingToCommentsInStatuses",generalComments:"GeneralComments"};var TeamCommentFeatures=function(){function TeamCommentFeatures(){_classCallCheck(this,TeamCommentFeatures)}TeamCommentFeatures.prototype.fromTeamCommentFeatures=function fromTeamCommentFeatures(teamCommentFeaturesData){(0,_transform2.default)(this,TeamCommentFeatureSchema,teamCommentFeaturesData);return this};return TeamCommentFeatures}();exports.default=TeamCommentFeatures;
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 TeamCommentFeatureSchema={editComments:"EditComments",disableReplyingToCommentsInStatuses:"DisableReplyingToCommentsInStatuses"};var TeamCommentFeatures=function(){function TeamCommentFeatures(){_classCallCheck(this,TeamCommentFeatures)}TeamCommentFeatures.prototype.fromTeamCommentFeatures=function fromTeamCommentFeatures(teamCommentFeaturesData){(0,_transform2.default)(this,TeamCommentFeatureSchema,teamCommentFeaturesData);return this};return TeamCommentFeatures}();exports.default=TeamCommentFeatures;