-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partial updated models for Version 2
- Loading branch information
1 parent
0a5c4d1
commit cc49964
Showing
144 changed files
with
700 additions
and
651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
export interface ActorsMap { | ||
/** The user account ID of the user to add. */ | ||
user?: string[]; | ||
/** | ||
* The name of the group to add. This parameter cannot be used with the `groupId` parameter. As a group's name can | ||
* change, use of `groupId` is recommended. | ||
*/ | ||
group?: string[]; | ||
/** The ID of the group to add. This parameter cannot be used with the `group` parameter. */ | ||
groupId?: string[]; | ||
/** The user account ID of the user to add. */ | ||
user?: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/** Announcement banner configuration. */ | ||
export interface AnnouncementBannerConfiguration { | ||
/** The text on the announcement banner. */ | ||
message?: string; | ||
/** Hash of the banner data. The client detects updates by comparing hash IDs. */ | ||
hashId?: string; | ||
/** Flag indicating if the announcement banner can be dismissed by the user. */ | ||
isDismissible?: boolean; | ||
/** Flag indicating if the announcement banner is enabled or not. */ | ||
isEnabled?: boolean; | ||
/** Hash of the banner data. The client detects updates by comparing hash IDs. */ | ||
hashId?: string; | ||
/** The text on the announcement banner. */ | ||
message?: string; | ||
/** Visibility of the announcement banner. */ | ||
visibility?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/** Configuration of the announcement banner. */ | ||
export interface AnnouncementBannerConfigurationUpdate { | ||
/** The text on the announcement banner. */ | ||
message?: string; | ||
/** Flag indicating if the announcement banner can be dismissed by the user. */ | ||
isDismissible?: boolean; | ||
/** Flag indicating if the announcement banner is enabled or not. */ | ||
isEnabled?: boolean; | ||
/** The text on the announcement banner. */ | ||
message?: string; | ||
/** Visibility of the announcement banner. Can be public or private. */ | ||
visibility?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
/** The application the linked item is in. */ | ||
export interface Application { | ||
/** The name-spaced type of the application, used by registered rendering apps. */ | ||
type?: string; | ||
/** | ||
* The name of the application. Used in conjunction with the (remote) object icon title to display a tooltip for the | ||
* link's icon. The tooltip takes the format "[application name] icon title". Blank items are excluded from the | ||
* tooltip title. If both items are blank, the icon tooltop displays as "Web Link". Grouping and sorting of links may | ||
* place links without an application name last. | ||
*/ | ||
name?: string; | ||
/** The name-spaced type of the application, used by registered rendering apps. */ | ||
type?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
/** Details of an application property. */ | ||
export interface ApplicationProperty { | ||
/** The allowed values, if applicable. */ | ||
allowedValues?: string[]; | ||
/** The default value of the application property. */ | ||
defaultValue?: string; | ||
/** The description of the application property. */ | ||
desc?: string; | ||
example?: string; | ||
/** The ID of the application property. The ID and key are the same. */ | ||
id?: string; | ||
/** The key of the application property. The ID and key are the same. */ | ||
key?: string; | ||
/** The new value. */ | ||
value?: string; | ||
/** The name of the application property. */ | ||
name?: string; | ||
/** The description of the application property. */ | ||
desc?: string; | ||
/** The data type of the application property. */ | ||
type?: string; | ||
/** The default value of the application property. */ | ||
defaultValue?: string; | ||
example?: string; | ||
/** The allowed values, if applicable. */ | ||
allowedValues?: string[]; | ||
/** The new value. */ | ||
value?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { AttachmentArchiveEntry } from './attachmentArchiveEntry'; | ||
|
||
export interface AttachmentArchive { | ||
entries?: AttachmentArchiveEntry[]; | ||
moreAvailable?: boolean; | ||
totalNumberOfEntriesAvailable?: number; | ||
totalEntryCount?: number; | ||
entries?: AttachmentArchiveEntry[]; | ||
totalNumberOfEntriesAvailable?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export interface AttachmentArchiveEntry { | ||
mediaType?: string; | ||
entryIndex?: number; | ||
abbreviatedName?: string; | ||
entryIndex?: number; | ||
mediaType?: string; | ||
name?: string; | ||
size?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/** Metadata for an item in an attachment archive. */ | ||
export interface AttachmentArchiveItemReadable { | ||
/** The path of the archive item. */ | ||
path?: string; | ||
/** The position of the item within the archive. */ | ||
index?: number; | ||
/** The size of the archive item. */ | ||
size?: string; | ||
/** The MIME type of the archive item. */ | ||
mediaType?: string; | ||
/** The label for the archive item. */ | ||
label?: string; | ||
/** The MIME type of the archive item. */ | ||
mediaType?: string; | ||
/** The path of the archive item. */ | ||
path?: string; | ||
/** The size of the archive item. */ | ||
size?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
/** A field auto-complete suggestion. */ | ||
export interface AutoCompleteSuggestion { | ||
/** The value of a suggested item. */ | ||
value?: string; | ||
/** | ||
* The display name of a suggested item. If `fieldValue` or `predicateValue` are provided, the matching text is | ||
* highlighted with the HTML bold tag. | ||
*/ | ||
displayName?: string; | ||
/** The value of a suggested item. */ | ||
value?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
/** Details of an avatar. */ | ||
export interface Avatar { | ||
/** The file name of the avatar icon. Returned for system avatars. */ | ||
fileName?: string; | ||
/** The ID of the avatar. */ | ||
id: string; | ||
/** Whether the avatar can be deleted. */ | ||
isDeletable?: boolean; | ||
/** Whether the avatar is used in Jira. For example, shown as a project's avatar. */ | ||
isSelected?: boolean; | ||
/** Whether the avatar is a system avatar. */ | ||
isSystemAvatar?: boolean; | ||
/** | ||
* The owner of the avatar. For a system avatar the owner is null (and nothing is returned). For non-system avatars | ||
* this is the appropriate identifier, such as the ID for a project or the account ID for a user. | ||
*/ | ||
owner?: string; | ||
/** Whether the avatar is a system avatar. */ | ||
isSystemAvatar?: boolean; | ||
/** Whether the avatar is used in Jira. For example, shown as a project's avatar. */ | ||
isSelected?: boolean; | ||
/** Whether the avatar can be deleted. */ | ||
isDeletable?: boolean; | ||
/** The file name of the avatar icon. Returned for system avatars. */ | ||
fileName?: string; | ||
/** The list of avatar icon URLs. */ | ||
urls?: {}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { ErrorCollection } from './errorCollection'; | ||
|
||
export interface BulkOperationErrorResult { | ||
status?: number; | ||
elementErrors?: ErrorCollection; | ||
failedElementNumber?: number; | ||
status?: number; | ||
} |
Oops, something went wrong.