@pageproof/sdk-pr 540.0.1720124260863 → 540.0.1720484810087
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 +12 -0
- package/lib/api/admin/TeamFeatures.d.ts +3 -1
- package/lib/api/admin/TeamFeatures.js +8 -1
- package/lib/models/TeamFeatures.d.ts +7 -0
- package/lib/models/TeamFeatures.js +1 -1
- package/lib/models/TeamIntelligenceFeatures.d.ts +21 -0
- package/lib/models/TeamIntelligenceFeatures.js +1 -0
- package/lib/network/endpoints.json +1 -1
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.328
|
|
4
|
+
|
|
5
|
+
Released on the 9th of July 2024.
|
|
6
|
+
|
|
7
|
+
- [[PP-7234](https://goto.pageproof.dev/PP-7234)] Added support for View Only reviewers.
|
|
8
|
+
|
|
9
|
+
## 2.0.0-beta.327
|
|
10
|
+
|
|
11
|
+
Released on the 8th of July 2024.
|
|
12
|
+
|
|
13
|
+
- [[PP-7106](https://goto.pageproof.dev/PP-7106)] Added support for PageProof Intelligence and Smart Tags.
|
|
14
|
+
|
|
3
15
|
## 2.0.0-beta.326
|
|
4
16
|
|
|
5
17
|
Released on the 10th of June 2024.
|
|
@@ -47,9 +47,11 @@ declare class TeamFeatures extends API {
|
|
|
47
47
|
* @param {boolean} options.addressBook.suggestionsIncludeTeamMembers Whether other team members are included in suggestions when selecting a user.
|
|
48
48
|
* @param {boolean} options.webhooks.enabled Whether the webhooks feature is enabled for the team, and the team's active will trigger.
|
|
49
49
|
* @param {boolean} options.workflows.enableViewOnlyReviewers Whether users in a workflow can be given the view only role.
|
|
50
|
+
* @param {boolean} options.intelligence.enableIntelligence Whether PageProof intelligence is enabled for the team.
|
|
51
|
+
* @param {boolean} options.intelligence.enableSmartTags Whether Smart Tags is enabled for the team's proofs.
|
|
50
52
|
* @returns {Promise}
|
|
51
53
|
*/
|
|
52
|
-
update({ emails, comments, proofs, workflows, addressBook, webhooks, }: {
|
|
54
|
+
update({ emails, comments, proofs, workflows, addressBook, webhooks, intelligence, }: {
|
|
53
55
|
emails: {
|
|
54
56
|
displayComments: boolean;
|
|
55
57
|
displayTeamName: boolean;
|
|
@@ -85,6 +85,8 @@ var TeamFeatures = function (_API) {
|
|
|
85
85
|
* @param {boolean} options.addressBook.suggestionsIncludeTeamMembers Whether other team members are included in suggestions when selecting a user.
|
|
86
86
|
* @param {boolean} options.webhooks.enabled Whether the webhooks feature is enabled for the team, and the team's active will trigger.
|
|
87
87
|
* @param {boolean} options.workflows.enableViewOnlyReviewers Whether users in a workflow can be given the view only role.
|
|
88
|
+
* @param {boolean} options.intelligence.enableIntelligence Whether PageProof intelligence is enabled for the team.
|
|
89
|
+
* @param {boolean} options.intelligence.enableSmartTags Whether Smart Tags is enabled for the team's proofs.
|
|
88
90
|
* @returns {Promise}
|
|
89
91
|
*/
|
|
90
92
|
|
|
@@ -95,7 +97,8 @@ var TeamFeatures = function (_API) {
|
|
|
95
97
|
proofs = _ref.proofs,
|
|
96
98
|
workflows = _ref.workflows,
|
|
97
99
|
addressBook = _ref.addressBook,
|
|
98
|
-
webhooks = _ref.webhooks
|
|
100
|
+
webhooks = _ref.webhooks,
|
|
101
|
+
intelligence = _ref.intelligence;
|
|
99
102
|
|
|
100
103
|
var displayComments = emails && emails.displayComments;
|
|
101
104
|
var displayTeamName = emails && emails.displayTeamName;
|
|
@@ -120,6 +123,8 @@ var TeamFeatures = function (_API) {
|
|
|
120
123
|
var enableChecklists = proofs && proofs.enableChecklists;
|
|
121
124
|
var suggestionsIncludeTeamMembers = addressBook && addressBook.suggestionsIncludeTeamMembers;
|
|
122
125
|
var enableWebhooks = webhooks && webhooks.enabled;
|
|
126
|
+
var enableIntelligence = intelligence && intelligence.enableIntelligence;
|
|
127
|
+
var enableIntelligenceSmartTags = intelligence && intelligence.enableSmartTags;
|
|
123
128
|
return this.client.request('admin.team.features.update', {
|
|
124
129
|
displayComments: displayComments,
|
|
125
130
|
displayTeamName: displayTeamName,
|
|
@@ -142,6 +147,8 @@ var TeamFeatures = function (_API) {
|
|
|
142
147
|
messageToOwners: messageToOwners,
|
|
143
148
|
allowedDecisions: allowedDecisions,
|
|
144
149
|
enableChecklists: enableChecklists,
|
|
150
|
+
enableIntelligence: enableIntelligence,
|
|
151
|
+
enableIntelligenceSmartTags: enableIntelligenceSmartTags,
|
|
145
152
|
suggestionsIncludeTeamMembers: suggestionsIncludeTeamMembers,
|
|
146
153
|
usePreviousVersionDueDate: usePreviousVersionDueDate
|
|
147
154
|
});
|
|
@@ -40,6 +40,12 @@ declare class TeamFeatures {
|
|
|
40
40
|
* @type {TeamAddressBookFeatures}
|
|
41
41
|
*/
|
|
42
42
|
addressBook: TeamAddressBookFeatures;
|
|
43
|
+
/**
|
|
44
|
+
* PageProof Intelligence features.
|
|
45
|
+
*
|
|
46
|
+
* @type {TeamIntelligenceFeatures}
|
|
47
|
+
*/
|
|
48
|
+
intelligence: TeamIntelligenceFeatures;
|
|
43
49
|
/** @private */
|
|
44
50
|
fromTeamFeatures(teamFeaturesData: any): TeamFeatures;
|
|
45
51
|
}
|
|
@@ -49,3 +55,4 @@ import TeamProofFeatures from "./TeamProofFeatures";
|
|
|
49
55
|
import TeamWorkflowFeatures from "./TeamWorkflowFeatures";
|
|
50
56
|
import TeamAccountFeatures from "./TeamAccountFeatures";
|
|
51
57
|
import TeamAddressBookFeatures from "./TeamAddressBookFeatures";
|
|
58
|
+
import TeamIntelligenceFeatures from "./TeamIntelligenceFeatures";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.__esModule=true;var _transform=require("./transform");var _transform2=_interopRequireDefault(_transform);var _TeamEmailFeatures=require("./TeamEmailFeatures");var _TeamEmailFeatures2=_interopRequireDefault(_TeamEmailFeatures);var _TeamCommentFeatures=require("./TeamCommentFeatures");var _TeamCommentFeatures2=_interopRequireDefault(_TeamCommentFeatures);var _TeamProofFeatures=require("./TeamProofFeatures");var _TeamProofFeatures2=_interopRequireDefault(_TeamProofFeatures);var _TeamWorkflowFeatures=require("./TeamWorkflowFeatures");var _TeamWorkflowFeatures2=_interopRequireDefault(_TeamWorkflowFeatures);var _TeamAddressBookFeatures=require("./TeamAddressBookFeatures");var _TeamAddressBookFeatures2=_interopRequireDefault(_TeamAddressBookFeatures);var _TeamAccountFeatures=require("./TeamAccountFeatures");var _TeamAccountFeatures2=_interopRequireDefault(_TeamAccountFeatures);var _TeamWebhookFeatures=require("./TeamWebhookFeatures");var _TeamWebhookFeatures2=_interopRequireDefault(_TeamWebhookFeatures);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 teamFeaturesSchema={emails:function emails(data){return(new _TeamEmailFeatures2.default).fromTeamEmailFeatures(data)},comments:function comments(data){return(new _TeamCommentFeatures2.default).fromTeamCommentFeatures(data)},proofs:function proofs(data){return(new _TeamProofFeatures2.default).fromTeamProofFeatures(data)},workflows:function workflows(data){return(new _TeamWorkflowFeatures2.default).fromTeamWorkflowFeatures(data)},addressBook:function addressBook(data){return(new _TeamAddressBookFeatures2.default).fromTeamAddressBookFeatures(data)},accounts:function accounts(data){return(new _TeamAccountFeatures2.default).fromTeamAccountFeatures(data)},webhooks:function webhooks(data){return(new _TeamWebhookFeatures2.default).fromTeamWebhookFeatures(data)}};var TeamFeatures=function(){function TeamFeatures(){_classCallCheck(this,TeamFeatures)}TeamFeatures.prototype.fromTeamFeatures=function fromTeamFeatures(teamFeaturesData){(0,_transform2.default)(this,teamFeaturesSchema,teamFeaturesData);return this};return TeamFeatures}();exports.default=TeamFeatures;
|
|
1
|
+
"use strict";exports.__esModule=true;var _transform=require("./transform");var _transform2=_interopRequireDefault(_transform);var _TeamEmailFeatures=require("./TeamEmailFeatures");var _TeamEmailFeatures2=_interopRequireDefault(_TeamEmailFeatures);var _TeamCommentFeatures=require("./TeamCommentFeatures");var _TeamCommentFeatures2=_interopRequireDefault(_TeamCommentFeatures);var _TeamProofFeatures=require("./TeamProofFeatures");var _TeamProofFeatures2=_interopRequireDefault(_TeamProofFeatures);var _TeamWorkflowFeatures=require("./TeamWorkflowFeatures");var _TeamWorkflowFeatures2=_interopRequireDefault(_TeamWorkflowFeatures);var _TeamAddressBookFeatures=require("./TeamAddressBookFeatures");var _TeamAddressBookFeatures2=_interopRequireDefault(_TeamAddressBookFeatures);var _TeamAccountFeatures=require("./TeamAccountFeatures");var _TeamAccountFeatures2=_interopRequireDefault(_TeamAccountFeatures);var _TeamWebhookFeatures=require("./TeamWebhookFeatures");var _TeamWebhookFeatures2=_interopRequireDefault(_TeamWebhookFeatures);var _TeamIntelligenceFeatures=require("./TeamIntelligenceFeatures");var _TeamIntelligenceFeatures2=_interopRequireDefault(_TeamIntelligenceFeatures);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 teamFeaturesSchema={emails:function emails(data){return(new _TeamEmailFeatures2.default).fromTeamEmailFeatures(data)},comments:function comments(data){return(new _TeamCommentFeatures2.default).fromTeamCommentFeatures(data)},proofs:function proofs(data){return(new _TeamProofFeatures2.default).fromTeamProofFeatures(data)},workflows:function workflows(data){return(new _TeamWorkflowFeatures2.default).fromTeamWorkflowFeatures(data)},addressBook:function addressBook(data){return(new _TeamAddressBookFeatures2.default).fromTeamAddressBookFeatures(data)},accounts:function accounts(data){return(new _TeamAccountFeatures2.default).fromTeamAccountFeatures(data)},webhooks:function webhooks(data){return(new _TeamWebhookFeatures2.default).fromTeamWebhookFeatures(data)},intelligence:function intelligence(data){return(new _TeamIntelligenceFeatures2.default).fromTeamIntelligenceFeatures(data)}};var TeamFeatures=function(){function TeamFeatures(){_classCallCheck(this,TeamFeatures)}TeamFeatures.prototype.fromTeamFeatures=function fromTeamFeatures(teamFeaturesData){(0,_transform2.default)(this,teamFeaturesSchema,teamFeaturesData);return this};return TeamFeatures}();exports.default=TeamFeatures;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default TeamIntelligenceFeatures;
|
|
2
|
+
declare class TeamIntelligenceFeatures {
|
|
3
|
+
/**
|
|
4
|
+
* Whether PageProof intelligence is enabled for the team.
|
|
5
|
+
* This setting overrides the individual feature setting.
|
|
6
|
+
* Please review our AI commitment to understand how data is used
|
|
7
|
+
* for PageProof Intelligence™ before enabling these features.
|
|
8
|
+
* Our AI commitment can be found at https://go.pageproof.com/ai-commitment
|
|
9
|
+
*
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
*/
|
|
12
|
+
enableIntelligence: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether Smart Tags is enabled for the team's proofs.
|
|
15
|
+
*
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
*/
|
|
18
|
+
enableSmartTags: boolean;
|
|
19
|
+
/** @private */
|
|
20
|
+
fromTeamIntelligenceFeatures(teamIntelligenceFeaturesData: any): TeamIntelligenceFeatures;
|
|
21
|
+
}
|
|
@@ -0,0 +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 TeamIntelligenceFeatureSchema={enableIntelligence:"EnableIntelligence",enableSmartTags:"EnableIntelligenceSmartTags"};var TeamIntelligenceFeatures=function(){function TeamIntelligenceFeatures(){_classCallCheck(this,TeamIntelligenceFeatures)}TeamIntelligenceFeatures.prototype.fromTeamIntelligenceFeatures=function fromTeamIntelligenceFeatures(teamIntelligenceFeaturesData){(0,_transform2.default)(this,TeamIntelligenceFeatureSchema,teamIntelligenceFeaturesData);return this};return TeamIntelligenceFeatures}();exports.default=TeamIntelligenceFeatures;
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
"version": 2,
|
|
879
879
|
"method": "POST",
|
|
880
880
|
"path": "/api/admin/settings",
|
|
881
|
-
"body": ["displayComments", "generalComments", "privateComments", "enableWebhooks", "editComments", "ownerCanDeleteComments", "proofReference", "displayTeamName", "emailTitleTextColor", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners", "allowedDecisions", "enableChecklists", "suggestionsIncludeTeamMembers", "enableCommentVisibility", "defaultCommentVisibility", "usePreviousVersionDueDate", "enableViewOnlyReviewers"]
|
|
881
|
+
"body": ["displayComments", "generalComments", "privateComments", "enableWebhooks", "editComments", "ownerCanDeleteComments", "proofReference", "displayTeamName", "emailTitleTextColor", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners", "allowedDecisions", "enableChecklists", "suggestionsIncludeTeamMembers", "enableCommentVisibility", "defaultCommentVisibility", "usePreviousVersionDueDate", "enableViewOnlyReviewers", "enableIntelligence", "enableIntelligenceSmartTags"]
|
|
882
882
|
},
|
|
883
883
|
"admin.team.features.sender-email.set": {
|
|
884
884
|
"version": 2,
|