Skip to content

Commit 420bca7

Browse files
committed
feat: 1.6.x
1 parent ca3344c commit 420bca7

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/models.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -842,11 +842,11 @@ export namespace Models {
842842
*/
843843
userId: string;
844844
/**
845-
* User name.
845+
* User name. Hide this attribute by toggling membership privacy in the Console.
846846
*/
847847
userName: string;
848848
/**
849-
* User email address.
849+
* User email address. Hide this attribute by toggling membership privacy in the Console.
850850
*/
851851
userEmail: string;
852852
/**
@@ -870,7 +870,7 @@ export namespace Models {
870870
*/
871871
confirm: boolean;
872872
/**
873-
* Multi factor authentication status, true if the user has MFA enabled or false otherwise.
873+
* Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.
874874
*/
875875
mfa: boolean;
876876
/**
@@ -1198,5 +1198,9 @@ export namespace Models {
11981198
* The target identifier.
11991199
*/
12001200
identifier: string;
1201+
/**
1202+
* Is the target expired.
1203+
*/
1204+
expired: boolean;
12011205
}
12021206
}

src/services/teams.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export class Teams {
182182
/**
183183
* List team memberships
184184
*
185-
* Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint.
185+
* Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.
186186
*
187187
* @param {string} teamId
188188
* @param {string[]} queries
@@ -282,7 +282,7 @@ Please note that to avoid a [Redirect Attack](https://github.com/OWASP/CheatShee
282282
/**
283283
* Get team membership
284284
*
285-
* Get a team member by the membership unique id. All team members have read access for this resource.
285+
* Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.
286286
*
287287
* @param {string} teamId
288288
* @param {string} membershipId

0 commit comments

Comments
 (0)