@pageproof/sdk-pr 745.0.1793299739451 → 746.0.1793655460841
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/lib/api/admin/Team.d.ts +0 -8
- package/lib/api/admin/Team.js +17 -30
- package/lib/api/admin/TeamFeatures.d.ts +1 -0
- package/lib/api/admin/TeamFeatures.js +3 -0
- package/lib/models/TeamWorkflowFeatures.d.ts +6 -0
- package/lib/models/TeamWorkflowFeatures.js +1 -1
- package/lib/models/index.d.ts +1 -2
- package/lib/models/index.js +1 -1
- package/lib/network/endpoints.json +1 -23
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
- package/lib/api/admin/TeamAgentTasks.d.ts +0 -86
- package/lib/api/admin/TeamAgentTasks.js +0 -172
- package/lib/models/AgentTask.d.ts +0 -51
- package/lib/models/AgentTask.js +0 -1
package/lib/api/admin/Team.d.ts
CHANGED
|
@@ -51,13 +51,6 @@ declare class Team extends API {
|
|
|
51
51
|
* @type {TeamWorkflows}
|
|
52
52
|
*/
|
|
53
53
|
workflows: TeamWorkflows;
|
|
54
|
-
/**
|
|
55
|
-
* The Admin Team Agent Tasks API.
|
|
56
|
-
*
|
|
57
|
-
* @since v2.32.0
|
|
58
|
-
* @type {TeamAgentTasks}
|
|
59
|
-
*/
|
|
60
|
-
agentTasks: TeamAgentTasks;
|
|
61
54
|
}
|
|
62
55
|
import API from "../API";
|
|
63
56
|
import TeamUsers from "./TeamUsers";
|
|
@@ -68,4 +61,3 @@ import TeamSCIM from "./TeamSCIM";
|
|
|
68
61
|
import Integrations from "../Integrations";
|
|
69
62
|
import TeamCustomTools from "./TeamCustomTools";
|
|
70
63
|
import TeamWorkflows from "./TeamWorkflows";
|
|
71
|
-
import TeamAgentTasks from "./TeamAgentTasks";
|
package/lib/api/admin/Team.js
CHANGED
|
@@ -38,10 +38,6 @@ var _TeamCustomTools = require('./TeamCustomTools');
|
|
|
38
38
|
|
|
39
39
|
var _TeamCustomTools2 = _interopRequireDefault(_TeamCustomTools);
|
|
40
40
|
|
|
41
|
-
var _TeamAgentTasks = require('./TeamAgentTasks');
|
|
42
|
-
|
|
43
|
-
var _TeamAgentTasks2 = _interopRequireDefault(_TeamAgentTasks);
|
|
44
|
-
|
|
45
41
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
46
42
|
|
|
47
43
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -61,31 +57,29 @@ var Team = function (_API) {
|
|
|
61
57
|
|
|
62
58
|
|
|
63
59
|
/**
|
|
64
|
-
* The Admin Team
|
|
60
|
+
* The Admin Team Custom Tools API.
|
|
65
61
|
*
|
|
66
|
-
* @
|
|
67
|
-
* @type {TeamWorkflows}
|
|
62
|
+
* @type {TeamCustomTools}
|
|
68
63
|
*/
|
|
69
64
|
|
|
70
65
|
|
|
71
66
|
/**
|
|
72
|
-
* The Admin Team
|
|
67
|
+
* The Admin Team SCIM API.
|
|
73
68
|
*
|
|
74
|
-
* @type {
|
|
69
|
+
* @type {TeamSCIM}
|
|
75
70
|
*/
|
|
76
71
|
|
|
77
72
|
|
|
78
73
|
/**
|
|
79
|
-
* The Admin Team
|
|
74
|
+
* The Admin Team Features API.
|
|
80
75
|
*
|
|
81
|
-
* @type {
|
|
76
|
+
* @type {TeamFeatures}
|
|
82
77
|
*/
|
|
83
78
|
|
|
84
|
-
|
|
85
79
|
/**
|
|
86
|
-
* The Admin Team
|
|
80
|
+
* The Admin Team Users API.
|
|
87
81
|
*
|
|
88
|
-
* @type {
|
|
82
|
+
* @type {TeamUsers}
|
|
89
83
|
*/
|
|
90
84
|
function Team(client) {
|
|
91
85
|
_classCallCheck(this, Team);
|
|
@@ -101,42 +95,35 @@ var Team = function (_API) {
|
|
|
101
95
|
_this.workflows = new _TeamWorkflows2.default(client);
|
|
102
96
|
_this.integrations = new _Integrations2.default(client, 'team');
|
|
103
97
|
_this.customTools = new _TeamCustomTools2.default(client);
|
|
104
|
-
_this.agentTasks = new _TeamAgentTasks2.default(client);
|
|
105
98
|
return _this;
|
|
106
99
|
}
|
|
107
100
|
|
|
108
101
|
/**
|
|
109
|
-
* The Admin Team
|
|
102
|
+
* The Admin Team Workflows API.
|
|
110
103
|
*
|
|
111
|
-
* @since v2.
|
|
112
|
-
* @type {
|
|
104
|
+
* @since v2.0.0-beta.145
|
|
105
|
+
* @type {TeamWorkflows}
|
|
113
106
|
*/
|
|
114
107
|
|
|
115
108
|
|
|
116
109
|
/**
|
|
117
|
-
* The Admin Team
|
|
110
|
+
* The Admin Team Integrations API.
|
|
118
111
|
*
|
|
119
|
-
* @type {
|
|
112
|
+
* @type {Integrations}
|
|
120
113
|
*/
|
|
121
114
|
|
|
122
115
|
|
|
123
116
|
/**
|
|
124
|
-
* The Admin Team
|
|
117
|
+
* The Admin Team Preferences API.
|
|
125
118
|
*
|
|
126
|
-
* @type {
|
|
119
|
+
* @type {TeamPreferences}
|
|
127
120
|
*/
|
|
128
121
|
|
|
129
122
|
|
|
130
123
|
/**
|
|
131
|
-
* The Admin Team
|
|
132
|
-
*
|
|
133
|
-
* @type {TeamFeatures}
|
|
134
|
-
*/
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* The Admin Team Users API.
|
|
124
|
+
* The Admin Team Dashboard API.
|
|
138
125
|
*
|
|
139
|
-
* @type {
|
|
126
|
+
* @type {TeamDashboard}
|
|
140
127
|
*/
|
|
141
128
|
|
|
142
129
|
|
|
@@ -56,6 +56,7 @@ declare class TeamFeatures extends API {
|
|
|
56
56
|
* @param {boolean} options.userGroups.enableUserGroups Whether the user groups feature is enabled for the team.
|
|
57
57
|
* @param {boolean} options.webhooks.enabled Whether the webhooks feature is enabled for the team, and the team's active will trigger.
|
|
58
58
|
* @param {boolean} options.workflows.enableViewOnlyReviewers Whether users in a workflow can be given the view only role.
|
|
59
|
+
* @param {boolean} options.workflows.restrictTemplateCreation Whether only team admins with the templates permission can create new workflow templates (enterprise only).
|
|
59
60
|
* @param {boolean} options.intelligence.enableIntelligence Whether PageProof intelligence is enabled for the team.
|
|
60
61
|
* @param {boolean} options.intelligence.licenseIntelligenceInsightsInProofing Whether PI Insights in Proofing is licensed for the team.
|
|
61
62
|
* @param {boolean} options.intelligence.enableIntelligenceInsightsInProofing Whether PI Insights in Proofing is enabled for the team.
|
|
@@ -94,6 +94,7 @@ var TeamFeatures = function (_API) {
|
|
|
94
94
|
* @param {boolean} options.userGroups.enableUserGroups Whether the user groups feature is enabled for the team.
|
|
95
95
|
* @param {boolean} options.webhooks.enabled Whether the webhooks feature is enabled for the team, and the team's active will trigger.
|
|
96
96
|
* @param {boolean} options.workflows.enableViewOnlyReviewers Whether users in a workflow can be given the view only role.
|
|
97
|
+
* @param {boolean} options.workflows.restrictTemplateCreation Whether only team admins with the templates permission can create new workflow templates (enterprise only).
|
|
97
98
|
* @param {boolean} options.intelligence.enableIntelligence Whether PageProof intelligence is enabled for the team.
|
|
98
99
|
* @param {boolean} options.intelligence.licenseIntelligenceInsightsInProofing Whether PI Insights in Proofing is licensed for the team.
|
|
99
100
|
* @param {boolean} options.intelligence.enableIntelligenceInsightsInProofing Whether PI Insights in Proofing is enabled for the team.
|
|
@@ -133,6 +134,7 @@ var TeamFeatures = function (_API) {
|
|
|
133
134
|
var enableCommentVisibility = comments && comments.enableCommentVisibility;
|
|
134
135
|
var defaultCommentVisibility = comments && comments.defaultCommentVisibility;
|
|
135
136
|
var enableViewOnlyReviewers = workflows && workflows.enableViewOnlyReviewers;
|
|
137
|
+
var restrictWorkflowTemplateCreation = workflows && workflows.restrictTemplateCreation;
|
|
136
138
|
var emailTitleTextColor = emails && emails.titleTextColor;
|
|
137
139
|
var emailLinkTextColor = emails && emails.linkTextColor;
|
|
138
140
|
var emailButtonBackgroundColor = emails && emails.buttonBackgroundColor;
|
|
@@ -184,6 +186,7 @@ var TeamFeatures = function (_API) {
|
|
|
184
186
|
enableCommentVisibility: enableCommentVisibility,
|
|
185
187
|
defaultCommentVisibility: defaultCommentVisibility,
|
|
186
188
|
enableViewOnlyReviewers: enableViewOnlyReviewers,
|
|
189
|
+
restrictWorkflowTemplateCreation: restrictWorkflowTemplateCreation,
|
|
187
190
|
emailTitleTextColor: emailTitleTextColor,
|
|
188
191
|
emailLinkTextColor: emailLinkTextColor,
|
|
189
192
|
emailButtonBackgroundColor: emailButtonBackgroundColor,
|
|
@@ -12,6 +12,12 @@ declare class TeamWorkflowFeatures {
|
|
|
12
12
|
* @type {boolean}
|
|
13
13
|
*/
|
|
14
14
|
enableViewOnlyReviewers: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether only team admins with the templates permission can create new workflow templates (enterprise only).
|
|
17
|
+
*
|
|
18
|
+
* @type {boolean}
|
|
19
|
+
*/
|
|
20
|
+
restrictTemplateCreation: boolean;
|
|
15
21
|
/** @private */
|
|
16
22
|
private fromTeamWorkflowFeatures;
|
|
17
23
|
}
|
|
@@ -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 TeamWorkflowFeatureSchema={configureViewOnlyReviewers:"LicenseViewOnlyReviewers",enableViewOnlyReviewers:"EnableViewOnlyReviewers"};var TeamWorkflowFeatures=function(){function TeamWorkflowFeatures(){_classCallCheck(this,TeamWorkflowFeatures)}TeamWorkflowFeatures.prototype.fromTeamWorkflowFeatures=function fromTeamWorkflowFeatures(teamWorkflowFeaturesData){(0,_transform2.default)(this,TeamWorkflowFeatureSchema,teamWorkflowFeaturesData);return this};return TeamWorkflowFeatures}();exports.default=TeamWorkflowFeatures;
|
|
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 TeamWorkflowFeatureSchema={configureViewOnlyReviewers:"LicenseViewOnlyReviewers",enableViewOnlyReviewers:"EnableViewOnlyReviewers",restrictTemplateCreation:"RestrictWorkflowTemplateCreation"};var TeamWorkflowFeatures=function(){function TeamWorkflowFeatures(){_classCallCheck(this,TeamWorkflowFeatures)}TeamWorkflowFeatures.prototype.fromTeamWorkflowFeatures=function fromTeamWorkflowFeatures(teamWorkflowFeaturesData){(0,_transform2.default)(this,TeamWorkflowFeatureSchema,teamWorkflowFeaturesData);return this};return TeamWorkflowFeatures}();exports.default=TeamWorkflowFeatures;
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import AgentTask from "./AgentTask";
|
|
2
1
|
import Comment from "./Comment";
|
|
3
2
|
import File from "./File";
|
|
4
3
|
import Label from "./Label";
|
|
@@ -10,4 +9,4 @@ import User from "./User";
|
|
|
10
9
|
import Workflow from "./Workflow";
|
|
11
10
|
import WorkflowStep from "./WorkflowStep";
|
|
12
11
|
import WorkflowUser from "./WorkflowUser";
|
|
13
|
-
export {
|
|
12
|
+
export { Comment, File, Label, Proof, ProofGroup, ProofVersion, Session, User, Workflow, WorkflowStep, WorkflowUser };
|
package/lib/models/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.__esModule=true;exports.WorkflowUser=exports.WorkflowStep=exports.Workflow=exports.User=exports.Session=exports.ProofVersion=exports.ProofGroup=exports.Proof=exports.Label=exports.File=exports.Comment=
|
|
1
|
+
"use strict";exports.__esModule=true;exports.WorkflowUser=exports.WorkflowStep=exports.Workflow=exports.User=exports.Session=exports.ProofVersion=exports.ProofGroup=exports.Proof=exports.Label=exports.File=exports.Comment=undefined;var _Comment=require("./Comment");var _Comment2=_interopRequireDefault(_Comment);var _File=require("./File");var _File2=_interopRequireDefault(_File);var _Label=require("./Label");var _Label2=_interopRequireDefault(_Label);var _Proof=require("./Proof");var _Proof2=_interopRequireDefault(_Proof);var _ProofGroup=require("./ProofGroup");var _ProofGroup2=_interopRequireDefault(_ProofGroup);var _ProofVersion=require("./ProofVersion");var _ProofVersion2=_interopRequireDefault(_ProofVersion);var _Session=require("./Session");var _Session2=_interopRequireDefault(_Session);var _User=require("./User");var _User2=_interopRequireDefault(_User);var _Workflow=require("./Workflow");var _Workflow2=_interopRequireDefault(_Workflow);var _WorkflowStep=require("./WorkflowStep");var _WorkflowStep2=_interopRequireDefault(_WorkflowStep);var _WorkflowUser=require("./WorkflowUser");var _WorkflowUser2=_interopRequireDefault(_WorkflowUser);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.Comment=_Comment2.default;exports.File=_File2.default;exports.Label=_Label2.default;exports.Proof=_Proof2.default;exports.ProofGroup=_ProofGroup2.default;exports.ProofVersion=_ProofVersion2.default;exports.Session=_Session2.default;exports.User=_User2.default;exports.Workflow=_Workflow2.default;exports.WorkflowStep=_WorkflowStep2.default;exports.WorkflowUser=_WorkflowUser2.default;
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
"version": 2,
|
|
922
922
|
"method": "POST",
|
|
923
923
|
"path": "/api/admin/settings",
|
|
924
|
-
"body": ["displayComments", "generalComments", "privateComments", "enableWebhooks", "editComments", "ownerCanDeleteComments", "proofReference", "proofReferenceRequired", "displayTeamName", "emailTitleTextColor", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners", "allowedDecisions", "enableChecklists", "enableBulkNewVersions", "suggestionsIncludeTeamMembers", "enableUserGroups", "enableCommentVisibility", "defaultCommentVisibility", "usePreviousVersionDueDate", "addReviewersViaMention", "enableViewOnlyReviewers", "enableIntelligence", "licenseIntelligenceInsightsInProofing", "enableIntelligenceInsightsInProofing", "defaultIntelligenceInsightsInProofing", "enableIntelligenceInsightsTeamOnlyVisibility", "enableIntelligenceInsightsCommentsInProofing", "defaultIntelligenceInsightsCommentsInProofing", "licenseIntelligenceInsightsOnDashboard", "defaultIntelligenceInsightsCommentsOnDashboard", "enableIntelligenceInsightsOnDashboard", "licenseIntelligenceInsightsInReports", "enableIntelligenceInsightsInReports", "enableIntelligenceSmartTags", "enableProofMagicAccess", "enableIntelligenceSmartCheckCr", "defaultGifOutput", "enableCelebrations", "licenseDigitalVerification", "enableDigitalVerification", "defaultDigitalVerification", "reauthentication", "enableProofSoftDeletion", "enableLabels"]
|
|
924
|
+
"body": ["displayComments", "generalComments", "privateComments", "enableWebhooks", "editComments", "ownerCanDeleteComments", "proofReference", "proofReferenceRequired", "displayTeamName", "emailTitleTextColor", "emailLinkTextColor", "emailButtonBackgroundColor", "emailButtonTextColor", "disableReplyingToCommentsInStatuses", "publicProofs", "defaultProofIsPublic", "messageToOwners", "allowedDecisions", "enableChecklists", "enableBulkNewVersions", "suggestionsIncludeTeamMembers", "enableUserGroups", "enableCommentVisibility", "defaultCommentVisibility", "usePreviousVersionDueDate", "addReviewersViaMention", "enableViewOnlyReviewers", "restrictWorkflowTemplateCreation", "enableIntelligence", "licenseIntelligenceInsightsInProofing", "enableIntelligenceInsightsInProofing", "defaultIntelligenceInsightsInProofing", "enableIntelligenceInsightsTeamOnlyVisibility", "enableIntelligenceInsightsCommentsInProofing", "defaultIntelligenceInsightsCommentsInProofing", "licenseIntelligenceInsightsOnDashboard", "defaultIntelligenceInsightsCommentsOnDashboard", "enableIntelligenceInsightsOnDashboard", "licenseIntelligenceInsightsInReports", "enableIntelligenceInsightsInReports", "enableIntelligenceSmartTags", "enableProofMagicAccess", "enableIntelligenceSmartCheckCr", "defaultGifOutput", "enableCelebrations", "licenseDigitalVerification", "enableDigitalVerification", "defaultDigitalVerification", "reauthentication", "enableProofSoftDeletion", "enableLabels"]
|
|
925
925
|
},
|
|
926
926
|
"admin.team.features.sender-email.set": {
|
|
927
927
|
"version": 2,
|
|
@@ -1280,27 +1280,5 @@
|
|
|
1280
1280
|
"method": "POST",
|
|
1281
1281
|
"path": "/spider/graphql",
|
|
1282
1282
|
"body": true
|
|
1283
|
-
},
|
|
1284
|
-
"admin.team.intelligence.agent-tasks.list": {
|
|
1285
|
-
"method": "GET",
|
|
1286
|
-
"path": "/api/admin/intelligence/agent-tasks"
|
|
1287
|
-
},
|
|
1288
|
-
"admin.team.intelligence.agent-tasks.create": {
|
|
1289
|
-
"version": 2,
|
|
1290
|
-
"method": "POST",
|
|
1291
|
-
"path": "/api/admin/intelligence/agent-task/create",
|
|
1292
|
-
"body": "agentTask"
|
|
1293
|
-
},
|
|
1294
|
-
"admin.team.intelligence.agent-tasks.update": {
|
|
1295
|
-
"version": 2,
|
|
1296
|
-
"method": "POST",
|
|
1297
|
-
"path": "/api/admin/intelligence/agent-task/update",
|
|
1298
|
-
"body": "agentTask"
|
|
1299
|
-
},
|
|
1300
|
-
"admin.team.intelligence.agent-tasks.delete": {
|
|
1301
|
-
"version": 2,
|
|
1302
|
-
"method": "POST",
|
|
1303
|
-
"path": "/api/admin/intelligence/agent-task/delete",
|
|
1304
|
-
"body": "agentTask"
|
|
1305
1283
|
}
|
|
1306
1284
|
}
|