@pageproof/sdk-pr 272.0.1607900356763 → 272.0.1607911885307
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## 2.0.0-beta.153
|
|
4
4
|
|
|
5
|
-
Released on the
|
|
5
|
+
Released on the 14th of December 2020.
|
|
6
6
|
|
|
7
7
|
- [[#272](https://github.com/PageProofCom/sdk/pull/272)] Team administrators can now load their team's groups - see [TeamDashboardGroups](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/admin/TeamDashboardGroups.js~TeamDashboardGroups.html).
|
|
8
8
|
- The Proof model now contains the team ID, it belongs to ([Proof.teamId](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/Proof.js~Proof.html#instance-member-teamId)).
|
|
@@ -59,7 +59,6 @@ Released on the 2nd of November 2020.
|
|
|
59
59
|
- [[#279](https://github.com/PageProofCom/sdk/pull/279)] Added Support for sharing a workflow template with team. See [Workflows.create](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/Workflows.js~Workflows.html#instance-method-create) and [Workflows.update](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/Workflows.js~Workflows.html#instance-method-update).
|
|
60
60
|
- Added support for team admin to get team owned workflow templates [TeamWorkflows.owned](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/admin/TeamWorkflows.js~TeamWorkflows.html#instance-method-owned).
|
|
61
61
|
|
|
62
|
-
|
|
63
62
|
## 2.0.0-beta.144
|
|
64
63
|
|
|
65
64
|
Released on the 30th of October 2020.
|
|
@@ -74,14 +73,12 @@ Released on the 27th of October 2020.
|
|
|
74
73
|
- Support for updating whether using the team name should be used, instead of "PageProof Team" as the from name in emails. See [TeamEmailFeatures](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/TeamEmailFeatures.js~TeamEmailFeatures.html).
|
|
75
74
|
- Support for team account information in team admin API. see [TeamAccountFeatures](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/TeamAccountFeatures.js~TeamAccountFeatures.html).
|
|
76
75
|
|
|
77
|
-
|
|
78
76
|
## 2.0.0-beta.142
|
|
79
77
|
|
|
80
78
|
Released on the 22nd of October 2020.
|
|
81
79
|
|
|
82
80
|
- Support for team-level custom tools.
|
|
83
81
|
|
|
84
|
-
|
|
85
82
|
## 2.0.0-beta.141
|
|
86
83
|
|
|
87
84
|
Released on the 19th of October 2020.
|
|
@@ -4,17 +4,17 @@ declare class TeamDashboardGroups extends API {
|
|
|
4
4
|
/**
|
|
5
5
|
* Loads all the team's proof groups in a certain category (current/archived).
|
|
6
6
|
*
|
|
7
|
-
* @param {string}
|
|
7
|
+
* @param {string} category The proof groups category name
|
|
8
8
|
* @returns {Promise<Array<ProofGroup>>}
|
|
9
9
|
*/
|
|
10
|
-
_loadGroups(category:
|
|
10
|
+
_loadGroups(category: string): Promise<any[]>;
|
|
11
11
|
/**
|
|
12
12
|
* Loads a team group by id for team admin.
|
|
13
13
|
*
|
|
14
14
|
* @example <caption>Loads a team group for team admin</caption>
|
|
15
15
|
* const admin = await client.admin();
|
|
16
16
|
* const teamGroup = await admin.team.dashboard.groups.load('GVNM8NTI1VSTCRN5');
|
|
17
|
-
* console.log(
|
|
17
|
+
* console.log(teamGroup); // {ProofGroup}
|
|
18
18
|
*
|
|
19
19
|
* @since v2.0.0-beta.153
|
|
20
20
|
* @param {string} groupId The group id
|
|
@@ -40,7 +40,7 @@ var TeamDashboardGroups = function (_API) {
|
|
|
40
40
|
/**
|
|
41
41
|
* Loads all the team's proof groups in a certain category (current/archived).
|
|
42
42
|
*
|
|
43
|
-
* @param {string}
|
|
43
|
+
* @param {string} category The proof groups category name
|
|
44
44
|
* @returns {Promise<Array<ProofGroup>>}
|
|
45
45
|
*/
|
|
46
46
|
TeamDashboardGroups.prototype._loadGroups = function _loadGroups(category) {
|
|
@@ -57,7 +57,7 @@ var TeamDashboardGroups = function (_API) {
|
|
|
57
57
|
* @example <caption>Loads a team group for team admin</caption>
|
|
58
58
|
* const admin = await client.admin();
|
|
59
59
|
* const teamGroup = await admin.team.dashboard.groups.load('GVNM8NTI1VSTCRN5');
|
|
60
|
-
* console.log(
|
|
60
|
+
* console.log(teamGroup); // {ProofGroup}
|
|
61
61
|
*
|
|
62
62
|
* @since v2.0.0-beta.153
|
|
63
63
|
* @param {string} groupId The group id
|
package/lib/models/Proof.d.ts
CHANGED
|
@@ -339,7 +339,7 @@ declare class Proof {
|
|
|
339
339
|
*/
|
|
340
340
|
teamId: string;
|
|
341
341
|
/**
|
|
342
|
-
*
|
|
342
|
+
* Whether a user is a team admin of this proof.
|
|
343
343
|
*
|
|
344
344
|
* @since v2.0.0-beta.153
|
|
345
345
|
* @param {User} This {@link User} object may be subset of only these 2 properties (teamId and isAdmin)
|
|
@@ -67,7 +67,7 @@ declare class ProofGroup {
|
|
|
67
67
|
*/
|
|
68
68
|
createdBy: string;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Whether a user is a team admin of this proof group.
|
|
71
71
|
*
|
|
72
72
|
* @since v2.0.0-beta.153
|
|
73
73
|
* @param {User} This {@link User} object may be subset of only these 2 properties (teamId and isAdmin)
|