@pageproof/sdk-pr 343.0.1621904411929 → 343.0.1621906966997
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 +1 -1
- package/lib/api/admin/TeamUsers.d.ts +3 -3
- package/lib/api/admin/TeamUsers.js +3 -3
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Released on the 25th of May 2021.
|
|
6
6
|
|
|
7
|
-
- [[#343](https://github.com/PageProofCom/sdk/pull/343)] Added support for retrieving a list of all pending invited users in the team and revoking a pending invitation
|
|
7
|
+
- [[#343](https://github.com/PageProofCom/sdk/pull/343)] Added support for retrieving a list of all pending invited users in the team and revoking a pending invitation to the team. See [TeamUsers.getInvitations](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/admin/TeamUsers.js~TeamUsers.html#instance-method-getInvitations), [TeamUsers.revokeInvitation](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/admin/TeamUsers.js~TeamUsers.html#instance-method-revokeInvitation)
|
|
8
8
|
|
|
9
9
|
## 2.0.0-beta.168
|
|
10
10
|
|
|
@@ -18,7 +18,7 @@ declare class TeamUsers extends API {
|
|
|
18
18
|
/**
|
|
19
19
|
* Retrieves a list of all pending invited users in the team.
|
|
20
20
|
*
|
|
21
|
-
* @example <caption>
|
|
21
|
+
* @example <caption>Retrieve all users with pending invitations</caption>
|
|
22
22
|
* await admin.team.users.getInvitations();
|
|
23
23
|
*
|
|
24
24
|
* @since v2.0.0-beta.169
|
|
@@ -61,7 +61,7 @@ declare class TeamUsers extends API {
|
|
|
61
61
|
*/
|
|
62
62
|
invite(emailOrEmails: any): Promise<any>;
|
|
63
63
|
/**
|
|
64
|
-
* Revoke a pending invitation
|
|
64
|
+
* Revoke a pending invitation to the team
|
|
65
65
|
*
|
|
66
66
|
* @example <caption>Revoking a pending invitation</caption>
|
|
67
67
|
* await admin.team.users.revokeInvitation({
|
|
@@ -69,7 +69,7 @@ declare class TeamUsers extends API {
|
|
|
69
69
|
* });
|
|
70
70
|
*
|
|
71
71
|
* @since v2.0.0-beta.169
|
|
72
|
-
* @param {string} email
|
|
72
|
+
* @param {string} email The email of the user to revoke the invitation for
|
|
73
73
|
* @returns {Promise}
|
|
74
74
|
*/
|
|
75
75
|
revokeInvitation({ email }: string): Promise<any>;
|
|
@@ -67,7 +67,7 @@ var TeamUsers = function (_API) {
|
|
|
67
67
|
/**
|
|
68
68
|
* Retrieves a list of all pending invited users in the team.
|
|
69
69
|
*
|
|
70
|
-
* @example <caption>
|
|
70
|
+
* @example <caption>Retrieve all users with pending invitations</caption>
|
|
71
71
|
* await admin.team.users.getInvitations();
|
|
72
72
|
*
|
|
73
73
|
* @since v2.0.0-beta.169
|
|
@@ -140,7 +140,7 @@ var TeamUsers = function (_API) {
|
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
|
-
* Revoke a pending invitation
|
|
143
|
+
* Revoke a pending invitation to the team
|
|
144
144
|
*
|
|
145
145
|
* @example <caption>Revoking a pending invitation</caption>
|
|
146
146
|
* await admin.team.users.revokeInvitation({
|
|
@@ -148,7 +148,7 @@ var TeamUsers = function (_API) {
|
|
|
148
148
|
* });
|
|
149
149
|
*
|
|
150
150
|
* @since v2.0.0-beta.169
|
|
151
|
-
* @param {string} email
|
|
151
|
+
* @param {string} email The email of the user to revoke the invitation for
|
|
152
152
|
* @returns {Promise}
|
|
153
153
|
*/
|
|
154
154
|
|