forked from MrRefactoring/jira.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplicationRole.ts
36 lines (35 loc) · 1.46 KB
/
applicationRole.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { GroupName } from './groupName';
/** Details of an application role. */
export interface ApplicationRole {
/** The key of the application role. */
key?: string;
/**
* The groups associated with the application role. As a group's name can change, use of `groupDetails` is recommended
* to identify a groups.
*/
groups?: string[];
/** The groups associated with the application role. */
groupDetails?: GroupName[];
/** The display name of the application role. */
name?: string;
/**
* The groups that are granted default access for this application role. As a group's name can change, use of
* `defaultGroupsDetails` is recommended to identify a groups.
*/
defaultGroups?: string[];
/** The groups that are granted default access for this application role. */
defaultGroupsDetails?: GroupName[];
/** Determines whether this application role should be selected by default on user creation. */
selectedByDefault?: boolean;
/** The maximum count of users on your license. */
numberOfSeats?: number;
/** The count of users remaining on your license. */
remainingSeats?: number;
/** The number of users counting against your license. */
userCount?: number;
/** The [type of users](https://confluence.atlassian.com/x/lRW3Ng) being counted against your license. */
userCountDescription?: string;
hasUnlimitedSeats?: boolean;
/** Indicates if the application role belongs to Jira platform (`jira-core`). */
platform?: boolean;
}