@pageproof/sdk-pr 751.0.1794439722630 → 752.0.1794533108569
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 +8 -0
- package/lib/api/admin/Team.js +30 -17
- package/lib/api/admin/TeamAgentTasks.d.ts +86 -0
- package/lib/api/admin/TeamAgentTasks.js +172 -0
- package/lib/models/AgentTask.d.ts +51 -0
- package/lib/models/AgentTask.js +1 -0
- package/lib/models/index.d.ts +2 -1
- package/lib/models/index.js +1 -1
- package/lib/network/endpoints.json +22 -0
- package/lib/pageproof.js +1 -1
- package/lib/util/comments/renderHTML.js +6 -10
- package/package.json +1 -1
- package/lib/util/comments/skipEntities.d.ts +0 -2
- package/lib/util/comments/skipEntities.js +0 -51
package/lib/api/admin/Team.d.ts
CHANGED
|
@@ -51,6 +51,13 @@ 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;
|
|
54
61
|
}
|
|
55
62
|
import API from "../API";
|
|
56
63
|
import TeamUsers from "./TeamUsers";
|
|
@@ -61,3 +68,4 @@ import TeamSCIM from "./TeamSCIM";
|
|
|
61
68
|
import Integrations from "../Integrations";
|
|
62
69
|
import TeamCustomTools from "./TeamCustomTools";
|
|
63
70
|
import TeamWorkflows from "./TeamWorkflows";
|
|
71
|
+
import TeamAgentTasks from "./TeamAgentTasks";
|
package/lib/api/admin/Team.js
CHANGED
|
@@ -38,6 +38,10 @@ 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
|
+
|
|
41
45
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
42
46
|
|
|
43
47
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -57,29 +61,31 @@ var Team = function (_API) {
|
|
|
57
61
|
|
|
58
62
|
|
|
59
63
|
/**
|
|
60
|
-
* The Admin Team
|
|
64
|
+
* The Admin Team Workflows API.
|
|
61
65
|
*
|
|
62
|
-
* @
|
|
66
|
+
* @since v2.0.0-beta.145
|
|
67
|
+
* @type {TeamWorkflows}
|
|
63
68
|
*/
|
|
64
69
|
|
|
65
70
|
|
|
66
71
|
/**
|
|
67
|
-
* The Admin Team
|
|
72
|
+
* The Admin Team Integrations API.
|
|
68
73
|
*
|
|
69
|
-
* @type {
|
|
74
|
+
* @type {Integrations}
|
|
70
75
|
*/
|
|
71
76
|
|
|
72
77
|
|
|
73
78
|
/**
|
|
74
|
-
* The Admin Team
|
|
79
|
+
* The Admin Team Preferences API.
|
|
75
80
|
*
|
|
76
|
-
* @type {
|
|
81
|
+
* @type {TeamPreferences}
|
|
77
82
|
*/
|
|
78
83
|
|
|
84
|
+
|
|
79
85
|
/**
|
|
80
|
-
* The Admin Team
|
|
86
|
+
* The Admin Team Dashboard API.
|
|
81
87
|
*
|
|
82
|
-
* @type {
|
|
88
|
+
* @type {TeamDashboard}
|
|
83
89
|
*/
|
|
84
90
|
function Team(client) {
|
|
85
91
|
_classCallCheck(this, Team);
|
|
@@ -95,35 +101,42 @@ var Team = function (_API) {
|
|
|
95
101
|
_this.workflows = new _TeamWorkflows2.default(client);
|
|
96
102
|
_this.integrations = new _Integrations2.default(client, 'team');
|
|
97
103
|
_this.customTools = new _TeamCustomTools2.default(client);
|
|
104
|
+
_this.agentTasks = new _TeamAgentTasks2.default(client);
|
|
98
105
|
return _this;
|
|
99
106
|
}
|
|
100
107
|
|
|
101
108
|
/**
|
|
102
|
-
* The Admin Team
|
|
109
|
+
* The Admin Team Agent Tasks API.
|
|
103
110
|
*
|
|
104
|
-
* @since v2.
|
|
105
|
-
* @type {
|
|
111
|
+
* @since v2.32.0
|
|
112
|
+
* @type {TeamAgentTasks}
|
|
106
113
|
*/
|
|
107
114
|
|
|
108
115
|
|
|
109
116
|
/**
|
|
110
|
-
* The Admin Team
|
|
117
|
+
* The Admin Team Custom Tools API.
|
|
111
118
|
*
|
|
112
|
-
* @type {
|
|
119
|
+
* @type {TeamCustomTools}
|
|
113
120
|
*/
|
|
114
121
|
|
|
115
122
|
|
|
116
123
|
/**
|
|
117
|
-
* The Admin Team
|
|
124
|
+
* The Admin Team SCIM API.
|
|
118
125
|
*
|
|
119
|
-
* @type {
|
|
126
|
+
* @type {TeamSCIM}
|
|
120
127
|
*/
|
|
121
128
|
|
|
122
129
|
|
|
123
130
|
/**
|
|
124
|
-
* The Admin Team
|
|
131
|
+
* The Admin Team Features API.
|
|
125
132
|
*
|
|
126
|
-
* @type {
|
|
133
|
+
* @type {TeamFeatures}
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The Admin Team Users API.
|
|
138
|
+
*
|
|
139
|
+
* @type {TeamUsers}
|
|
127
140
|
*/
|
|
128
141
|
|
|
129
142
|
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export default TeamAgentTasks;
|
|
2
|
+
declare class TeamAgentTasks extends API {
|
|
3
|
+
private constructor();
|
|
4
|
+
/**
|
|
5
|
+
* Lists the agent tasks for the administrator's team.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* const admin = await client.admin();
|
|
9
|
+
* const tasks = await admin.team.agentTasks.list();
|
|
10
|
+
*
|
|
11
|
+
* @since v2.32.0
|
|
12
|
+
* @returns {Promise<Array<AgentTask>>}
|
|
13
|
+
*/
|
|
14
|
+
list(): Promise<Array<AgentTask>>;
|
|
15
|
+
/**
|
|
16
|
+
* Creates an agent task for the administrator's team.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* const admin = await client.admin();
|
|
20
|
+
* const task = await admin.team.agentTasks.create({
|
|
21
|
+
* description: 'Check brand colours',
|
|
22
|
+
* triggerTag: 'brand',
|
|
23
|
+
* focusAreas: 'Logo and colour palette',
|
|
24
|
+
* alwaysCheck: 'Logo clear space',
|
|
25
|
+
* neverFlag: 'Approved stock photography',
|
|
26
|
+
* });
|
|
27
|
+
*
|
|
28
|
+
* @since v2.32.0
|
|
29
|
+
* @param {object} input
|
|
30
|
+
* @param {string} [input.description]
|
|
31
|
+
* @param {string} [input.triggerTag]
|
|
32
|
+
* @param {string} [input.focusAreas]
|
|
33
|
+
* @param {string} [input.alwaysCheck]
|
|
34
|
+
* @param {string} [input.neverFlag]
|
|
35
|
+
* @returns {Promise<AgentTask>}
|
|
36
|
+
*/
|
|
37
|
+
create(input: {
|
|
38
|
+
description: string;
|
|
39
|
+
triggerTag: string;
|
|
40
|
+
focusAreas: string;
|
|
41
|
+
alwaysCheck: string;
|
|
42
|
+
neverFlag: string;
|
|
43
|
+
}): Promise<AgentTask>;
|
|
44
|
+
/**
|
|
45
|
+
* Updates an existing agent task.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* const admin = await client.admin();
|
|
49
|
+
* const task = await admin.team.agentTasks.update({
|
|
50
|
+
* agentTaskId: '…',
|
|
51
|
+
* description: 'Check brand colours and type',
|
|
52
|
+
* });
|
|
53
|
+
*
|
|
54
|
+
* @since v2.32.0
|
|
55
|
+
* @param {object} input
|
|
56
|
+
* @param {string} input.agentTaskId
|
|
57
|
+
* @param {string} [input.description]
|
|
58
|
+
* @param {string} [input.triggerTag]
|
|
59
|
+
* @param {string} [input.focusAreas]
|
|
60
|
+
* @param {string} [input.alwaysCheck]
|
|
61
|
+
* @param {string} [input.neverFlag]
|
|
62
|
+
* @returns {Promise<AgentTask>}
|
|
63
|
+
*/
|
|
64
|
+
update(input: {
|
|
65
|
+
agentTaskId: string;
|
|
66
|
+
description: string;
|
|
67
|
+
triggerTag: string;
|
|
68
|
+
focusAreas: string;
|
|
69
|
+
alwaysCheck: string;
|
|
70
|
+
neverFlag: string;
|
|
71
|
+
}): Promise<AgentTask>;
|
|
72
|
+
/**
|
|
73
|
+
* Deletes an agent task.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* const admin = await client.admin();
|
|
77
|
+
* await admin.team.agentTasks.delete(task.agentTaskId);
|
|
78
|
+
*
|
|
79
|
+
* @since v2.32.0
|
|
80
|
+
* @param {string} agentTaskId
|
|
81
|
+
* @returns {Promise}
|
|
82
|
+
*/
|
|
83
|
+
delete(agentTaskId: string): Promise<any>;
|
|
84
|
+
}
|
|
85
|
+
import API from "../API";
|
|
86
|
+
import AgentTask from "../../models/AgentTask";
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
|
|
5
|
+
var _API2 = require('../API');
|
|
6
|
+
|
|
7
|
+
var _API3 = _interopRequireDefault(_API2);
|
|
8
|
+
|
|
9
|
+
var _AgentTask = require('../../models/AgentTask');
|
|
10
|
+
|
|
11
|
+
var _AgentTask2 = _interopRequireDefault(_AgentTask);
|
|
12
|
+
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
|
|
15
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
+
|
|
17
|
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
18
|
+
|
|
19
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* Copyright (C) 2018 PageProof Holdings Limited - All Rights Reserved.
|
|
20
|
+
* Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
21
|
+
* Proprietary and confidential.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/** @private */
|
|
26
|
+
function toAgentTask(data) {
|
|
27
|
+
return data ? new _AgentTask2.default().fromAgentTask(data) : null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Builds the snake_case body expected by the agent task endpoints.
|
|
32
|
+
* Undefined fields are omitted when the body is serialised.
|
|
33
|
+
*
|
|
34
|
+
* @private
|
|
35
|
+
* @param {object} input
|
|
36
|
+
* @returns {object}
|
|
37
|
+
*/
|
|
38
|
+
function toPayload(_ref) {
|
|
39
|
+
var agentTaskId = _ref.agentTaskId,
|
|
40
|
+
description = _ref.description,
|
|
41
|
+
triggerTag = _ref.triggerTag,
|
|
42
|
+
focusAreas = _ref.focusAreas,
|
|
43
|
+
alwaysCheck = _ref.alwaysCheck,
|
|
44
|
+
neverFlag = _ref.neverFlag;
|
|
45
|
+
|
|
46
|
+
return {
|
|
47
|
+
agent_task_id: agentTaskId,
|
|
48
|
+
description: description,
|
|
49
|
+
trigger_tag: triggerTag,
|
|
50
|
+
focus_areas: focusAreas,
|
|
51
|
+
always_check: alwaysCheck,
|
|
52
|
+
never_flag: neverFlag
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
var TeamAgentTasks = function (_API) {
|
|
57
|
+
_inherits(TeamAgentTasks, _API);
|
|
58
|
+
|
|
59
|
+
function TeamAgentTasks() {
|
|
60
|
+
_classCallCheck(this, TeamAgentTasks);
|
|
61
|
+
|
|
62
|
+
return _possibleConstructorReturn(this, _API.apply(this, arguments));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Lists the agent tasks for the administrator's team.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* const admin = await client.admin();
|
|
70
|
+
* const tasks = await admin.team.agentTasks.list();
|
|
71
|
+
*
|
|
72
|
+
* @since v2.32.0
|
|
73
|
+
* @returns {Promise<Array<AgentTask>>}
|
|
74
|
+
*/
|
|
75
|
+
TeamAgentTasks.prototype.list = function list() {
|
|
76
|
+
return this.client.request('admin.team.intelligence.agent-tasks.list').then(function (response) {
|
|
77
|
+
return (response.data || []).map(function (item) {
|
|
78
|
+
return new _AgentTask2.default().fromAgentTask(item);
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Creates an agent task for the administrator's team.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* const admin = await client.admin();
|
|
88
|
+
* const task = await admin.team.agentTasks.create({
|
|
89
|
+
* description: 'Check brand colours',
|
|
90
|
+
* triggerTag: 'brand',
|
|
91
|
+
* focusAreas: 'Logo and colour palette',
|
|
92
|
+
* alwaysCheck: 'Logo clear space',
|
|
93
|
+
* neverFlag: 'Approved stock photography',
|
|
94
|
+
* });
|
|
95
|
+
*
|
|
96
|
+
* @since v2.32.0
|
|
97
|
+
* @param {object} input
|
|
98
|
+
* @param {string} [input.description]
|
|
99
|
+
* @param {string} [input.triggerTag]
|
|
100
|
+
* @param {string} [input.focusAreas]
|
|
101
|
+
* @param {string} [input.alwaysCheck]
|
|
102
|
+
* @param {string} [input.neverFlag]
|
|
103
|
+
* @returns {Promise<AgentTask>}
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
TeamAgentTasks.prototype.create = function create(input) {
|
|
108
|
+
return this.client.request('admin.team.intelligence.agent-tasks.create', {
|
|
109
|
+
agentTask: toPayload(input)
|
|
110
|
+
}).then(function (response) {
|
|
111
|
+
return toAgentTask(response.data);
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Updates an existing agent task.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* const admin = await client.admin();
|
|
120
|
+
* const task = await admin.team.agentTasks.update({
|
|
121
|
+
* agentTaskId: '…',
|
|
122
|
+
* description: 'Check brand colours and type',
|
|
123
|
+
* });
|
|
124
|
+
*
|
|
125
|
+
* @since v2.32.0
|
|
126
|
+
* @param {object} input
|
|
127
|
+
* @param {string} input.agentTaskId
|
|
128
|
+
* @param {string} [input.description]
|
|
129
|
+
* @param {string} [input.triggerTag]
|
|
130
|
+
* @param {string} [input.focusAreas]
|
|
131
|
+
* @param {string} [input.alwaysCheck]
|
|
132
|
+
* @param {string} [input.neverFlag]
|
|
133
|
+
* @returns {Promise<AgentTask>}
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
TeamAgentTasks.prototype.update = function update(input) {
|
|
138
|
+
return this.client.request('admin.team.intelligence.agent-tasks.update', {
|
|
139
|
+
agentTask: toPayload(input)
|
|
140
|
+
}).then(function (response) {
|
|
141
|
+
return toAgentTask(response.data);
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Deletes an agent task.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* const admin = await client.admin();
|
|
150
|
+
* await admin.team.agentTasks.delete(task.agentTaskId);
|
|
151
|
+
*
|
|
152
|
+
* @since v2.32.0
|
|
153
|
+
* @param {string} agentTaskId
|
|
154
|
+
* @returns {Promise}
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
TeamAgentTasks.prototype.delete = function _delete(agentTaskId) {
|
|
159
|
+
return this.client.request('admin.team.intelligence.agent-tasks.delete', {
|
|
160
|
+
agentTask: {
|
|
161
|
+
agent_task_id: agentTaskId
|
|
162
|
+
}
|
|
163
|
+
}).then(function () {
|
|
164
|
+
return undefined;
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
return TeamAgentTasks;
|
|
169
|
+
}(_API3.default);
|
|
170
|
+
|
|
171
|
+
exports.default = TeamAgentTasks;
|
|
172
|
+
//# sourceMappingURL=TeamAgentTasks.js.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export default AgentTask;
|
|
2
|
+
declare class AgentTask {
|
|
3
|
+
/**
|
|
4
|
+
* The agent task's unique identifier.
|
|
5
|
+
*
|
|
6
|
+
* @type {string}
|
|
7
|
+
*/
|
|
8
|
+
agentTaskId: string;
|
|
9
|
+
/**
|
|
10
|
+
* The team this agent task belongs to.
|
|
11
|
+
*
|
|
12
|
+
* @type {string}
|
|
13
|
+
*/
|
|
14
|
+
teamId: string;
|
|
15
|
+
/**
|
|
16
|
+
* What the agent task does.
|
|
17
|
+
*
|
|
18
|
+
* @type {string}
|
|
19
|
+
*/
|
|
20
|
+
description: string;
|
|
21
|
+
/**
|
|
22
|
+
* The tag that triggers this agent task.
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
triggerTag: string;
|
|
27
|
+
/**
|
|
28
|
+
* The areas the agent should focus on.
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
*/
|
|
32
|
+
focusAreas: string;
|
|
33
|
+
/**
|
|
34
|
+
* What the agent should always check.
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
*/
|
|
38
|
+
alwaysCheck: string;
|
|
39
|
+
/**
|
|
40
|
+
* What the agent should never flag.
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
*/
|
|
44
|
+
neverFlag: string;
|
|
45
|
+
/**
|
|
46
|
+
* @private
|
|
47
|
+
* @param {object} agentTaskData The agent task object from the server
|
|
48
|
+
* @returns {AgentTask}
|
|
49
|
+
*/
|
|
50
|
+
private fromAgentTask;
|
|
51
|
+
}
|
|
@@ -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 agentTaskSchema={agentTaskId:"agent_task_id",teamId:"team_id",description:"description",triggerTag:"trigger_tag",focusAreas:"focus_areas",alwaysCheck:"always_check",neverFlag:"never_flag"};var AgentTask=function(){function AgentTask(){_classCallCheck(this,AgentTask)}AgentTask.prototype.fromAgentTask=function fromAgentTask(agentTaskData){(0,_transform2.default)(this,agentTaskSchema,agentTaskData);return this};return AgentTask}();exports.default=AgentTask;
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import AgentTask from "./AgentTask";
|
|
1
2
|
import Comment from "./Comment";
|
|
2
3
|
import File from "./File";
|
|
3
4
|
import Label from "./Label";
|
|
@@ -9,4 +10,4 @@ import User from "./User";
|
|
|
9
10
|
import Workflow from "./Workflow";
|
|
10
11
|
import WorkflowStep from "./WorkflowStep";
|
|
11
12
|
import WorkflowUser from "./WorkflowUser";
|
|
12
|
-
export { Comment, File, Label, Proof, ProofGroup, ProofVersion, Session, User, Workflow, WorkflowStep, WorkflowUser };
|
|
13
|
+
export { AgentTask, 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=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;
|
|
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=exports.AgentTask=undefined;var _AgentTask=require("./AgentTask");var _AgentTask2=_interopRequireDefault(_AgentTask);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.AgentTask=_AgentTask2.default;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;
|
|
@@ -1280,5 +1280,27 @@
|
|
|
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"
|
|
1283
1305
|
}
|
|
1284
1306
|
}
|