schemas
schemas: {
AdminPasswordUpdate: {
name?: string;
password?: string;
passwordConfirm?: string;
};
ApplicationId: Record<string, unknown>;
ApplicationUser: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
Comment: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileAnchor?: boolean;
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineAnchor?: boolean;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineAnchor?: boolean;
multilineStartLine?: number;
multilineStartLineType?: "ADDED" | "CONTEXT" | "REMOVED";
orphaned?: boolean;
path?: string;
srcPath?: string;
toHash?: string;
};
author?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL"
| "SERVICE";
};
comments?: readonly (
{ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 7 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; }
)[];
createdDate?: string;
id?: number;
permittedOperations?: {
deletable?: boolean;
editable?: boolean;
transitionable?: boolean;
};
properties?: Record<string, unknown>;
resolvedDate?: string;
resolver?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: "NORMAL"
| "BLOCKER";
state?: "OPEN" | "PENDING" | "RESOLVED";
text?: string;
thread?: {
anchor?: {
diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
fileAnchor?: boolean;
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineAnchor?: boolean;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineAnchor?: boolean;
multilineStartLine?: number;
multilineStartLineType?: "ADDED" | "CONTEXT" | "REMOVED";
orphaned?: boolean;
path?: string;
srcPath?: string;
toHash?: string;
};
anchored?: boolean;
commentable?: Record<string, unknown>;
createdDate?: string;
id?: number;
resolved?: boolean;
resolvedDate?: string;
resolver?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
rootComment?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 7 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; };
updatedDate?: string;
};
updatedDate?: string;
version?: number;
};
Commentable: Record<string, unknown>;
CommentOperations: {
deletable?: boolean;
editable?: boolean;
transitionable?: boolean;
};
CommentThread: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileAnchor?: boolean;
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineAnchor?: boolean;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineAnchor?: boolean;
multilineStartLine?: number;
multilineStartLineType?: "ADDED" | "CONTEXT" | "REMOVED";
orphaned?: boolean;
path?: string;
srcPath?: string;
toHash?: string;
};
anchored?: boolean;
commentable?: Record<string, unknown>;
createdDate?: string;
id?: number;
resolved?: boolean;
resolvedDate?: string;
resolver?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
rootComment?: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileAnchor?: boolean;
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineAnchor?: boolean;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineAnchor?: boolean;
multilineStartLine?: number;
multilineStartLineType?: "ADDED" | "CONTEXT" | "REMOVED";
orphaned?: boolean;
path?: string;
srcPath?: string;
toHash?: string;
};
author?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL"
| "SERVICE";
};
comments?: readonly (
{ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 7 more ...; readonly toHash?: string; }; ... 13 more ...; readonly version?: number; }
)[];
createdDate?: string;
id?: number;
permittedOperations?: {
deletable?: boolean;
editable?: boolean;
transitionable?: boolean;
};
properties?: Record<string, unknown>;
resolvedDate?: string;
resolver?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: "NORMAL"
| "BLOCKER";
state?: "OPEN" | "PENDING" | "RESOLVED";
text?: string;
thread?: { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileAnchor?: boolean; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineAnchor?: boolean; ... 7 more ...; readonly toHash?: string; }; ... 8 more ...; readonly updatedDate?: string; };
updatedDate?: string;
version?: number;
};
updatedDate?: string;
};
CommentThreadDiffAnchor: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileAnchor?: boolean;
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineAnchor?: boolean;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineAnchor?: boolean;
multilineStartLine?: number;
multilineStartLineType?: "ADDED" | "CONTEXT" | "REMOVED";
orphaned?: boolean;
path?: string;
srcPath?: string;
toHash?: string;
};
Context: { commitMessage?: string };
Credentials:
| { token: string }
| { algorithm?: string; publicKey: string; username?: string }
| { password: string; username: string };
DiffContentFilter: Record<string, unknown>;
EnrichedRepository: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
properties?: {
contentHash?: string;
defaultBranchId?: string;
metadataHash?: string;
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?: "AVAILABLE" | "INITIALISATION_FAILED" | "INITIALISING" | "OFFLINE";
statusMessage?: string;
};
ExampleAvatarMultipartFormData: { avatar?: string };
ExampleCertificateMultipartFormData: { certificate?: string };
ExampleFiles: {
files?: {
latestCommit?: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
pomXml?: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
readmeMd?: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
};
};
ExampleJsonLastModifiedCallback: {
latestCommit?: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
pomXml?: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
readmeMd?: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
};
ExampleMultipartFormData: {
branch?: string;
content?: string;
message?: string;
sourceBranch?: string;
sourceCommitId?: string;
};
ExamplePostMultipartFormData: {
content?: string;
description?: string;
name?: string;
type?: string;
};
ExamplePreviewMigration: {
repositories?: readonly {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<(...), (...)>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
}[];
};
ExamplePutMultipartFormData: {
content?: string;
description?: string;
name?: string;
};
ExampleRequirements: { count?: string; enabled?: boolean };
ExampleSettings: {
booleanValue?: boolean;
doubleValue?: number;
integerValue?: number;
longValue?: number;
stringValue?: string;
};
ExampleSettingsMap: {
"boolean key"?: boolean;
"long key"?: number;
"string key"?: string;
};
ExampleSocketAddress: { address?: string; port?: number };
ExampleStatus: { currentNumberOfUsers?: number; serverId?: string };
FileListResource: unknown;
FilePart: {
contentType?: string;
formField?: boolean;
inputStream?: Record<string, unknown>;
name?: string;
size?: number;
value?: string;
};
Group: { name?: string };
GroupAndUsers: { group?: string; users: readonly string[] };
GroupPickerContext: { context?: string; itemName?: string };
OptionalBodyBeanParam: Record<string, unknown>;
PageRequestImpl: { limit?: number; start?: number };
Project: {
description?: string;
id?: number;
key?: string;
name?: string;
public?: boolean;
type?: "NORMAL" | "PERSONAL";
};
PropertyMap: Record<string, unknown>;
PullRequest: {
author?: {
approved?: boolean;
lastReviewedCommit?: string;
pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
closed?: boolean;
closedDate?: string;
createdDate?: string;
crossRepository?: boolean;
description?: string;
draft?: boolean;
fromRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
description?: string;
fork?: boolean;
forkable?: boolean;
hierarchyId?: string;
id?: number;
local?: boolean;
name?: string;
offline?: boolean;
origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
partition?: number;
project?: {
description?: string;
id?: number;
key?: string;
name?: string;
public?: boolean;
type?: "NORMAL"
| "PERSONAL";
};
public?: boolean;
readOnly?: boolean;
remote?: boolean;
scmId?: string;
slug?: string;
state?: | "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: unknown;
};
id?: number;
locked?: boolean;
open?: boolean;
participants?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
properties?: Record<string, unknown>;
reviewers?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
pullRequest?: { readonly author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: ...; readonly role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR"; readonly status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED"; readonly user?: { ...; }; }; ... 17 more ...; readonly version?: number; };
role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
description?: string;
fork?: boolean;
forkable?: boolean;
hierarchyId?: string;
id?: number;
local?: boolean;
name?: string;
offline?: boolean;
origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
partition?: number;
project?: {
description?: string;
id?: number;
key?: string;
name?: string;
public?: boolean;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
readOnly?: boolean;
remote?: boolean;
scmId?: string;
slug?: string;
state?: | "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: unknown;
};
updatedDate?: string;
version?: number;
};
PullRequestParticipant: {
approved?: boolean;
lastReviewedCommit?: string;
pullRequest?: {
author?: { readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...;
closed?: boolean;
closedDate?: string;
createdDate?: string;
crossRepository?: boolean;
description?: string;
draft?: boolean;
fromRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
description?: string;
fork?: boolean;
forkable?: boolean;
hierarchyId?: string;
id?: number;
local?: boolean;
name?: string;
offline?: boolean;
origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
partition?: number;
project?: {
description?: (...)
| (...);
id?: (...) | (...);
key?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
readOnly?: boolean;
remote?: boolean;
scmId?: string;
slug?: string;
state?: | "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: unknown;
};
id?: number;
locked?: boolean;
open?: boolean;
participants?: readonly (
{ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...
)[];
properties?: Record<string, unknown>;
reviewers?: readonly (
{ readonly approved?: boolean; readonly lastReviewedCommit?: string; readonly pullRequest?: { readonly author?: ...; readonly closed?: boolean; readonly closedDate?: string; readonly createdDate?: string; ... 14 more ...; readonly version?: number; }; readonly role?: "PARTICIPANT" | ... 1 more ... | "AUTHOR"; readon...
)[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
description?: string;
fork?: boolean;
forkable?: boolean;
hierarchyId?: string;
id?: number;
local?: boolean;
name?: string;
offline?: boolean;
origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
partition?: number;
project?: {
description?: (...) | (...);
id?: (...) | (...);
key?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
readOnly?: boolean;
remote?: boolean;
scmId?: string;
slug?: string;
state?: | "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: unknown;
};
updatedDate?: string;
version?: number;
};
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
PullRequestRef: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
description?: string;
fork?: boolean;
forkable?: boolean;
hierarchyId?: string;
id?: number;
local?: boolean;
name?: string;
offline?: boolean;
origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; } | undefined;
partition?: number;
project?: {
description?: string;
id?: number;
key?: string;
name?: string;
public?: boolean;
type?: "NORMAL"
| "PERSONAL";
};
public?: boolean;
readOnly?: boolean;
remote?: boolean;
scmId?: string;
slug?: string;
state?: | "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: unknown;
};
RefType: unknown;
Repository: {
archived?: boolean;
description?: string;
fork?: boolean;
forkable?: boolean;
hierarchyId?: string;
id?: number;
local?: boolean;
name?: string;
offline?: boolean;
origin?: { readonly archived?: boolean; readonly description?: string; readonly fork?: boolean; readonly forkable?: boolean; readonly hierarchyId?: string; readonly id?: number; readonly local?: boolean; ... 11 more ...; readonly statusMessage?: string; };
partition?: number;
project?: {
description?: string;
id?: number;
key?: string;
name?: string;
public?: boolean;
type?: "NORMAL"
| "PERSONAL";
};
public?: boolean;
readOnly?: boolean;
remote?: boolean;
scmId?: string;
slug?: string;
state?: "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
RepositoryHookDetails: {
configFormKey?: string;
description?: string;
key?: string;
name?: string;
supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
version?: string;
};
RestAccessToken: { createdDate?: string; id?: string; name?: string };
RestAccessTokenRequest: {
expiryDays?: number;
name?: string;
permissions?: readonly string[];
};
RestAggregateRejectCounter: {
lastRejectTime?: number;
rejectCount?: number;
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
RestAnalyticsSettings: {
canCollectAnalytics?: boolean;
serverTime?: number;
supportEntitlementNumber?: string;
};
RestAnnouncementBanner: {
audience?: "ALL"
| "AUTHENTICATED";
enabled?: boolean;
message?: string;
};
RestApplicationProperties: {
buildDate?: string;
buildNumber?: string;
displayName?: string;
version?: string;
};
RestApplicationUser: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
RestApplicationUserWithPermissions: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
effectivePermissions?: Record<string, unknown>;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
RestApplySuggestionRequest: {
commentVersion?: { asInt?: number; present?: boolean };
commitMessage?: string;
pullRequestVersion?: { asInt?: number; present?: boolean };
suggestionIndex?: { asInt?: number; present?: boolean };
};
RestAttachmentMetadata: { id?: number; metadata?: string; url?: string };
RestAuthenticationRequest: {
credentials:
| { token: string }
| { algorithm?: string; publicKey: string; username?: string }
| { password: string; username: string };
repositoryId?: number;
};
RestAutoDeclineSettings: {
enabled?: boolean;
inactivityWeeks?: number;
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
};
RestAutoDeclineSettingsRequest: {
enabled?: boolean;
inactivityWeeks?: number;
};
RestAutoMergeProcessingResult: {
autoMergeProcessingStatus?: | "MERGED"
| "CANCELLED"
| "LOCK_FAILURE"
| "STALE"
| "UNKNOWN"
| "VETOED";
pullRequest?: {
closed?: boolean;
closedDate?: number;
createdDate?: number;
description?: string;
descriptionAsHtml?: string;
draft?: boolean;
fromRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: (...) | (...) | (...);
defaultBranch?: (...) | (...);
description?: (...) | (...);
forkable?: (...) | (...) | (...);
hierarchyId?: (...) | (...);
id?: (...) | (...);
links?: (...) | (...);
name?: (...) | (...);
partition?: (...) | (...);
project?: (...) | (...);
public?: (...) | (...) | (...);
relatedLinks?: (...) | (...);
scmId?: (...) | (...);
scope?: (...) | (...);
slug?: (...) | (...);
state?: (...) | (...) | (...) | (...) | (...);
statusMessage?: (...) | (...);
};
partition?: number;
project?: {
avatar?: (...)
| (...);
avatarUrl?: (...) | (...);
description?: (...) | (...);
id?: (...) | (...);
key: string;
links?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
scope?: (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: "BRANCH"
| "TAG";
};
htmlDescription?: string;
id?: number;
links?: Record<string, unknown>;
locked?: boolean;
open?: boolean;
participants?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
reviewers?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: (...) | (...) | (...);
defaultBranch?: (...) | (...);
description?: (...) | (...);
forkable?: (...) | (...) | (...);
hierarchyId?: (...) | (...);
id?: (...) | (...);
links?: (...) | (...);
name?: (...) | (...);
partition?: (...) | (...);
project?: (...) | (...);
public?: (...) | (...) | (...);
relatedLinks?: (...) | (...);
scmId?: (...) | (...);
scope?: (...) | (...);
slug?: (...) | (...);
state?: (...) | (...) | (...) | (...) | (...);
statusMessage?: (...) | (...);
};
partition?: number;
project?: {
avatar?: (...)
| (...);
avatarUrl?: (...) | (...);
description?: (...) | (...);
id?: (...) | (...);
key: string;
links?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
scope?: (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: "BRANCH"
| "TAG";
};
updatedDate?: number;
version?: number;
};
};
RestAutoMergeProjectSettingsRequest: {
enabled?: boolean;
restrictionAction?: "CREATE"
| "DELETE"
| "NONE";
};
RestAutoMergeRequest: {
autoSubject?: boolean;
createdDate?: number;
fromHash?: string;
message?: string;
strategyId?: string;
toRefId?: string;
};
RestAutoMergeRestrictedSettings: {
enabled?: boolean;
restrictionState?: | "NONE"
| "RESTRICTED_MODIFIABLE"
| "RESTRICTED_UNMODIFIABLE";
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
};
RestAutoMergeSettingsRequest: { enabled?: boolean };
RestBearerTokenCredentials: { token: string };
RestBitbucketLicense: {
creationDate?: number;
daysBeforeExpiry?: number;
expiryDate?: number;
gracePeriodEndDate?: number;
license?: string;
maintenanceExpiryDate?: number;
maximumNumberOfUsers?: number;
numberOfDaysBeforeExpiry?: number;
numberOfDaysBeforeGracePeriodExpiry?: number;
numberOfDaysBeforeMaintenanceExpiry?: number;
purchaseDate?: number;
serverId?: string;
status?: { currentNumberOfUsers?: number; serverId?: string };
supportEntitlementNumber?: string;
unlimitedNumberOfUsers?: boolean;
};
RestBranch: {
default?: boolean;
displayId?: string;
id?: string;
latestChangeset?: string;
latestCommit?: string;
type?: unknown;
};
RestBranchCreateRequest: { name?: string; startPoint?: string };
RestBranchDeleteRequest: {
dryRun?: boolean;
endPoint?: string;
name?: string;
};
RestBuildCapabilities: { buildStatus?: readonly string[] };
RestBuildStats: {
cancelled?: number;
failed?: number;
inProgress?: number;
successful?: number;
unknown?: number;
};
RestBuildStatus: {
buildNumber?: string;
createdDate?: number;
description?: string;
duration?: number;
key?: string;
name?: string;
parent?: string;
ref?: string;
state?: "FAILED"
| "INPROGRESS"
| "SUCCESSFUL"
| "CANCELLED"
| "UNKNOWN";
testResults?: { failed?: number; skipped?: number; successful?: number };
updatedDate?: number;
url?: string;
};
RestBuildStatusSetRequest: {
buildNumber?: string;
description?: string;
duration?: number;
key: string;
lastUpdated?: number;
name?: string;
parent?: string;
ref?: string;
state: "FAILED"
| "INPROGRESS"
| "SUCCESSFUL"
| "CANCELLED"
| "UNKNOWN";
testResults?: { failed?: number; skipped?: number; successful?: number };
url: string;
};
RestBulkAddInsightAnnotationRequest: {
annotations?: readonly {
externalId?: string;
line?: number;
link?: string;
message: string;
path?: string;
severity: string;
type?: string;
}[];
};
RestBulkUserRateLimitSettingsUpdateRequest: {
settings?: { capacity?: number; fillRate?: number };
usernames?: readonly string[];
whitelisted?: boolean;
};
RestChange: {
conflict?: {
ourChange?: {
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
type?: "UNKNOWN"
| "DELETE"
| "ADD"
| "COPY"
| "MODIFY"
| "MOVE";
};
theirChange?: {
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
type?: "UNKNOWN"
| "DELETE"
| "ADD"
| "COPY"
| "MODIFY"
| "MOVE";
};
};
contentId?: string;
executable?: boolean;
fromContentId?: string;
links?: Record<string, unknown>;
nodeType?: "DIRECTORY" | "FILE" | "SUBMODULE";
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
percentUnchanged?: number;
srcExecutable?: boolean;
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
type?: "UNKNOWN"
| "DELETE"
| "ADD"
| "COPY"
| "MODIFY"
| "MOVE";
};
RestChangeset: {
changes?: {
isLastPage?: boolean;
limit?: number;
nextPageStart?: number;
size?: number;
start?: number;
values?: Record<string, unknown>;
};
fromCommit?: { displayId?: string; id?: string };
links?: Record<string, unknown>;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
toCommit?: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
};
RestClusterInformation: {
localNode?: {
address?: { address?: string; port?: number };
buildVersion?: string;
id?: string;
local?: boolean;
name?: string;
};
nodes?: readonly {
address?: { address?: string; port?: number };
buildVersion?: string;
id?: string;
local?: boolean;
name?: string;
}[];
running?: boolean;
};
RestClusterNode: {
address?: { address?: string; port?: number };
buildVersion?: string;
id?: string;
local?: boolean;
name?: string;
};
RestComment: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: {
startLine?: number;
startLineType: "ADDED" | "CONTEXT" | "REMOVED";
};
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
pullRequest?: {
closed?: boolean;
closedDate?: number;
createdDate?: number;
description?: string;
descriptionAsHtml?: string;
draft?: boolean;
fromRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: (...)
| (...)
| (...);
defaultBranch?: (...) | (...);
description?: (...) | (...);
forkable?: (...) | (...) | (...);
hierarchyId?: (...) | (...);
id?: (...) | (...);
links?: (...) | (...);
name?: (...) | (...);
origin?: (...) | (...);
partition?: (...) | (...);
project?: (...) | (...);
public?: (...) | (...) | (...);
relatedLinks?: (...) | (...);
scmId?: (...) | (...);
scope?: (...) | (...);
slug?: (...) | (...);
state?: (...) | (...) | (...) | (...) | (...);
statusMessage?: (...) | (...);
};
type?: "BRANCH"
| "TAG";
};
htmlDescription?: string;
id?: number;
links?: Record<string, unknown>;
locked?: boolean;
open?: boolean;
participants?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
}[];
reviewers?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
}[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: (...) | (...) | (...);
defaultBranch?: (...) | (...);
description?: (...) | (...);
forkable?: (...) | (...) | (...);
hierarchyId?: (...) | (...);
id?: (...) | (...);
links?: (...) | (...);
name?: (...) | (...);
origin?: (...) | (...);
partition?: (...) | (...);
project?: (...) | (...);
public?: (...) | (...) | (...);
relatedLinks?: (...) | (...);
scmId?: (...) | (...);
scope?: (...) | (...);
slug?: (...) | (...);
state?: (...) | (...) | (...) | (...) | (...);
statusMessage?: (...) | (...);
};
type?: "BRANCH"
| "TAG";
};
updatedDate?: number;
version?: number;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
toHash?: string;
};
anchored?: boolean;
author?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
comments?: readonly (
{ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
)[];
createdDate?: number;
html?: string;
id?: number;
parent?: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: {
startLine?: number;
startLineType: "ADDED" | "CONTEXT" | "REMOVED";
};
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
pullRequest?: {
closed?: boolean;
closedDate?: number;
createdDate?: number;
description?: string;
descriptionAsHtml?: string;
draft?: boolean;
fromRef?: {
displayId?: (...)
| (...);
id?: (...) | (...);
latestCommit?: (...) | (...);
repository?: (...) | (...);
type?: (...) | (...) | (...);
};
htmlDescription?: string;
id?: number;
links?: Record<string, unknown>;
locked?: boolean;
open?: boolean;
participants?: readonly {
approved?: ...;
lastReviewedCommit?: ...;
role?: ...;
status?: ...;
user?: ...;
}[];
reviewers?: readonly {
approved?: ...;
lastReviewedCommit?: ...;
role?: ...;
status?: ...;
user?: ...;
}[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: (...) | (...);
id?: (...) | (...);
latestCommit?: (...) | (...);
repository?: (...) | (...);
type?: (...) | (...) | (...);
};
updatedDate?: number;
version?: number;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
toHash?: string;
};
anchored?: boolean;
author?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
comments?: readonly (
{ readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }
)[];
createdDate?: number;
html?: string;
id?: number;
pending?: boolean;
properties?: Record<string, unknown>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
updatedDate?: number;
version?: number;
};
pending?: boolean;
properties?: Record<string, unknown>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
updatedDate?: number;
version?: number;
};
RestCommentJiraIssue: { commentId?: number; issueKey?: string };
RestCommentThreadDiffAnchor: {
diffType?: "COMMIT" | "EFFECTIVE" | "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: {
startLine?: number;
startLineType: "ADDED" | "CONTEXT" | "REMOVED";
};
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
pullRequest?: {
closed?: boolean;
closedDate?: number;
createdDate?: number;
description?: string;
descriptionAsHtml?: string;
draft?: boolean;
fromRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: (...) | (...) | (...);
defaultBranch?: (...) | (...);
description?: (...) | (...);
forkable?: (...) | (...) | (...);
hierarchyId?: (...) | (...);
id?: (...) | (...);
links?: (...) | (...);
name?: (...) | (...);
partition?: (...) | (...);
project?: (...) | (...);
public?: (...) | (...) | (...);
relatedLinks?: (...) | (...);
scmId?: (...) | (...);
scope?: (...) | (...);
slug?: (...) | (...);
state?: (...) | (...) | (...) | (...) | (...);
statusMessage?: (...) | (...);
};
partition?: number;
project?: {
avatar?: (...)
| (...);
avatarUrl?: (...) | (...);
description?: (...) | (...);
id?: (...) | (...);
key: string;
links?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
scope?: (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: "BRANCH"
| "TAG";
};
htmlDescription?: string;
id?: number;
links?: Record<string, unknown>;
locked?: boolean;
open?: boolean;
participants?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
reviewers?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: (...) | (...) | (...);
defaultBranch?: (...) | (...);
description?: (...) | (...);
forkable?: (...) | (...) | (...);
hierarchyId?: (...) | (...);
id?: (...) | (...);
links?: (...) | (...);
name?: (...) | (...);
partition?: (...) | (...);
project?: (...) | (...);
public?: (...) | (...) | (...);
relatedLinks?: (...) | (...);
scmId?: (...) | (...);
scope?: (...) | (...);
slug?: (...) | (...);
state?: (...) | (...) | (...) | (...) | (...);
statusMessage?: (...) | (...);
};
partition?: number;
project?: {
avatar?: (...)
| (...);
avatarUrl?: (...) | (...);
description?: (...) | (...);
id?: (...) | (...);
key: string;
links?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
scope?: (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: "BRANCH"
| "TAG";
};
updatedDate?: number;
version?: number;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
toHash?: string;
};
RestCommit: {
author?: { avatarUrl?: string; emailAddress?: string; name?: string };
authorTimestamp?: number;
committer?: { avatarUrl?: string; emailAddress?: string; name?: string };
committerTimestamp?: number;
displayId?: string;
id?: string;
message?: string;
parents?: readonly { displayId?: string; id?: string }[];
};
RestCommitMessageSuggestion: { body?: string; title?: string };
RestConflict: {
ourChange?: {
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
type?: "UNKNOWN"
| "DELETE"
| "ADD"
| "COPY"
| "MODIFY"
| "MOVE";
};
theirChange?: {
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
type?: "UNKNOWN"
| "DELETE"
| "ADD"
| "COPY"
| "MODIFY"
| "MOVE";
};
};
RestConflictChange: {
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
type?: "UNKNOWN"
| "DELETE"
| "ADD"
| "COPY"
| "MODIFY"
| "MOVE";
};
RestConnectivitySummary: {
errorMessage?: string;
reachable?: boolean;
roundTripTime?: number;
};
RestCreateBranchRequest: {
message?: string;
name?: string;
startPoint?: string;
};
RestCreateTagRequest: {
message?: string;
name?: string;
startPoint?: string;
};
RestDefaultBranch: { id?: string };
RestDefaultReviewersRequest: {
requiredApprovals?: number;
reviewers?: readonly {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
}[];
sourceMatcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
targetMatcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
};
RestDefaultTask: { description?: string; html?: string; id?: number };
RestDefaultTaskRequest: {
description?: string;
sourceMatcher?: {
displayId?: string;
id?: string;
type?: {
id?:
| "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
targetMatcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
};
RestDeployment: {
deploymentSequenceNumber?: number;
description?: string;
displayName?: string;
environment?: {
displayName: string;
key: string;
type?: string;
url?: string;
};
fromCommit?: { displayId?: string; id?: string };
key?: string;
lastUpdated?: number;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
state?: | "FAILED"
| "SUCCESSFUL"
| "IN_PROGRESS"
| "PENDING"
| "CANCELLED"
| "UNKNOWN"
| "ROLLED_BACK";
toCommit?: { displayId?: string; id?: string };
url?: string;
};
RestDeploymentEnvironment: {
displayName?: string;
key?: string;
type?: string;
url?: string;
};
RestDeploymentSetRequest: {
deploymentSequenceNumber: number;
description: string;
displayName: string;
environment: {
displayName?: string;
key?: string;
type?: string;
url?: string;
};
key: string;
lastUpdated?: number;
state: | "FAILED"
| "SUCCESSFUL"
| "IN_PROGRESS"
| "PENDING"
| "CANCELLED"
| "UNKNOWN"
| "ROLLED_BACK";
url: string;
};
RestDetailedGroup: { deletable?: boolean; name?: string };
RestDetailedInvocation: {
duration?: number;
event?: string;
eventScope?: { id?: string; type?: string };
finish?: number;
id?: number;
request?: Record<string, unknown>;
result?: Record<string, unknown>;
start?: number;
};
RestDetailedUser: {
active?: boolean;
avatarUrl?: string;
deletable?: boolean;
directoryName?: string;
displayName?: string;
emailAddress?: string;
id?: number;
lastAuthenticationTimestamp?: number;
links?: Record<string, unknown>;
mutableDetails?: boolean;
mutableGroups?: boolean;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
RestDiff: {
binary?: boolean;
destination?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
hunks?: readonly {
context?: string;
destinationLine?: number;
destinationSpan?: number;
segments?: readonly {
lines?: readonly {
commentIds?: ...;
conflictMarker?: ...;
destination?: ...;
line?: ...;
source?: ...;
truncated?: ...;
}[];
truncated?: boolean;
type?: "ADDED"
| "CONTEXT"
| "REMOVED";
}[];
sourceLine?: number;
sourceSpan?: number;
truncated?: boolean;
}[];
lineComments?: readonly {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: {
startLine?: number;
startLineType: "ADDED" | "CONTEXT" | "REMOVED";
};
path?: {
components?: readonly (...)[];
extension?: string;
name?: string;
parent?: string;
};
pullRequest?: {
closed?: boolean;
closedDate?: number;
createdDate?: number;
description?: string;
descriptionAsHtml?: string;
draft?: boolean;
fromRef?: {
displayId?: ...;
id?: ...;
latestCommit?: ...;
repository?: ...;
type?: ...;
};
htmlDescription?: string;
id?: number;
links?: Record<(...), (...)>;
locked?: boolean;
open?: boolean;
participants?: readonly (...)[];
reviewers?: readonly (...)[];
state?: "DECLINED" | "MERGED" | "OPEN";
title?: string;
toRef?: {
displayId?: ...;
id?: ...;
latestCommit?: ...;
repository?: ...;
type?: ...;
};
updatedDate?: number;
version?: number;
};
srcPath?: {
components?: readonly (...)[];
extension?: string;
name?: string;
parent?: string;
};
toHash?: string;
};
anchored?: boolean;
author?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
createdDate?: number;
html?: string;
id?: number;
parent?: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: { startLine?: ...; startLineType: ... };
path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
pullRequest?: {
closed?: ...;
closedDate?: ...;
createdDate?: ...;
description?: ...;
descriptionAsHtml?: ...;
draft?: ...;
fromRef?: ...;
htmlDescription?: ...;
id?: ...;
links?: ...;
locked?: ...;
open?: ...;
participants?: ...;
reviewers?: ...;
state?: ...;
title?: ...;
toRef?: ...;
updatedDate?: ...;
version?: ...;
};
srcPath?: {
components?: ...;
extension?: ...;
name?: ...;
parent?: ...;
};
toHash?: string;
};
anchored?: boolean;
author?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
createdDate?: number;
html?: string;
id?: number;
pending?: boolean;
properties?: Record<string, unknown>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
updatedDate?: number;
version?: number;
};
pending?: boolean;
properties?: Record<string, unknown>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
updatedDate?: number;
version?: number;
}[];
properties?: Record<string, unknown>;
source?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
truncated?: boolean;
};
RestDiffHunk: {
context?: string;
destinationLine?: number;
destinationSpan?: number;
segments?: readonly {
lines?: readonly {
commentIds?: readonly number[];
conflictMarker?: "MARKER"
| "OURS"
| "THEIRS";
destination?: number;
line?: string;
source?: number;
truncated?: boolean;
}[];
truncated?: boolean;
type?: "ADDED"
| "CONTEXT"
| "REMOVED";
}[];
sourceLine?: number;
sourceSpan?: number;
truncated?: boolean;
};
RestDiffLine: {
commentIds?: readonly number[];
conflictMarker?: "MARKER"
| "OURS"
| "THEIRS";
destination?: number;
line?: string;
source?: number;
truncated?: boolean;
};
RestDiffSegment: {
lines?: readonly {
commentIds?: readonly number[];
conflictMarker?: "MARKER"
| "OURS"
| "THEIRS";
destination?: number;
line?: string;
source?: number;
truncated?: boolean;
}[];
truncated?: boolean;
type?: "ADDED"
| "CONTEXT"
| "REMOVED";
};
RestDiffStatsSummary: unknown;
RestEmoticon: { shortcut?: string; url?: string; value?: string };
RestEnhancedEntityLink: {
applicationLinkId?: string;
displayUrl?: string;
projectId?: number;
projectKey?: string;
projectName?: string;
};
RestErasedUser: { newIdentifier?: string };
RestErrorMessage: {
context?: string;
exceptionName?: string;
message?: string;
};
RestErrors: {
errors?: readonly {
context?: string;
exceptionName?: string;
message?: string;
}[];
};
RestExportRequest: {
exportLocation?: string;
repositoriesRequest: {
includes: readonly { projectKey?: string; slug?: string }[];
};
};
RestFarmSynchronizationRequest: {
attempt?: number;
createdAt?: string;
externalRepoId?: string;
type?: "incremental"
| "snapshot";
};
RestGitTagCreateRequest: {
force?: boolean;
message?: string;
name?: string;
startPoint?: string;
type?: "ANNOTATED"
| "LIGHTWEIGHT";
};
RestGpgKey: {
emailAddress?: string;
expiryDate?: number;
fingerprint?: string;
id?: string;
subKeys?: readonly { expiryDate?: string; fingerprint?: string }[];
text?: string;
};
RestGpgSubKey: { expiryDate?: string; fingerprint?: string };
RestHookScript: {
createdDate?: string;
description?: string;
id?: number;
name?: string;
pluginKey?: string;
type?: "POST" | "PRE";
updatedDate?: string;
version?: number;
};
RestHookScriptConfig: {
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
script?: {
createdDate?: string;
description?: string;
id?: number;
name?: string;
pluginKey?: string;
type?: "POST"
| "PRE";
updatedDate?: string;
version?: number;
};
triggerIds?: readonly string[];
};
RestHookScriptTriggers: { triggerIds?: readonly string[] };
RestImportRequest: { archivePath?: string };
RestInsightAnnotation: {
externalId?: string;
line?: number;
link?: string;
message?: string;
path?: string;
reportKey?: string;
severity?: string;
type?: string;
};
RestInsightAnnotationsResponse: {
annotations?: readonly {
externalId?: string;
line?: number;
link?: string;
message?: string;
path?: string;
reportKey?: string;
severity?: string;
type?: string;
}[];
};
RestInsightReport: {
createdDate?: number;
data?: readonly {
title?: string;
type?: string;
value?: Record<string, unknown>;
}[];
details?: string;
key?: string;
link?: string;
logoUrl?: string;
reporter?: string;
result?: "FAIL"
| "PASS";
title?: string;
};
RestInsightReportData: {
title?: string;
type?: string;
value?: Record<string, unknown>;
};
RestInvocationHistory: unknown;
RestInvocationRequest: unknown;
RestInvocationResult: unknown;
RestJiraIssue: { key?: string; url?: string };
RestJob: {
endDate?: number;
id?: number;
initiator?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
nodeId?: string;
progress?: { message?: string; percentage?: number };
startDate?: number;
state?:
| "FAILED"
| "COMPLETED"
| "RUNNING"
| "READY"
| "INITIALISING"
| "ABORTED"
| "CANCELED"
| "CANCELING"
| "FINALISING"
| "TIMED_OUT";
type?: string;
updatedDate?: number;
};
RestJobMessage: {
createdDate?: string;
id?: string;
severity?: "ERROR"
| "INFO"
| "WARN";
subject?: string;
text?: string;
};
RestLabel: { name?: string };
RestLabelable: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
labelableType?: "REPOSITORY";
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?: "AVAILABLE" | "INITIALISATION_FAILED" | "INITIALISING" | "OFFLINE";
statusMessage?: string;
};
RestLogLevel: { logLevel?: string };
RestMailConfiguration: {
hostname?: string;
password?: string;
port?: number;
protocol?: "SMTP" | "SMTPS";
requireStartTls?: boolean;
senderAddress?: string;
username?: string;
useStartTls?: boolean;
};
RestMarkup: { html?: string };
RestMeshConnectivityReport: {
reports?: readonly {
node?: { id?: string; name?: string; type?: "BITBUCKET" | "MESH" };
summaries?: readonly {
node?: {
id?: (...) | (...);
name?: (...) | (...);
type?: (...) | (...) | (...);
};
summary?: {
errorMessage?: (...)
| (...);
reachable?: (...) | (...) | (...);
roundTripTime?: (...) | (...);
};
}[];
}[];
};
RestMeshMigrationQueueStateCounts: unknown;
RestMeshMigrationRequest: {
all?: boolean;
maxBytesPerSecond?: { asLong?: number; present?: boolean };
projectIds?: readonly number[];
repositoryIds?: readonly number[];
};
RestMeshMigrationSummary: {
endTime?: number;
jobId?: number;
maxBandwidth?: number;
progress?: number;
queue?: Record<string, unknown>;
startTime?: number;
state?: string;
};
RestMeshNode: {
id?: string;
lastSeenDate?: number;
name?: string;
offline?: boolean;
rpcId?: string;
rpcUrl?: string;
state?: "AVAILABLE"
| "OFFLINE"
| "DELETING"
| "DISABLED"
| "DRAINING";
};
RestMigrationRepository: {
migrationState?: | "FAILED"
| "SKIPPED"
| "CANCELED"
| "MIGRATED"
| "QUEUED"
| "STAGED"
| "STAGING";
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
};
RestMinimalCommit: { displayId?: string; id?: string };
RestMinimalRef: {
displayId?: string;
id?: string;
type?: "BRANCH" | "TAG";
};
RestMirroredRepository: {
available?: boolean;
cloneUrls?: readonly { href?: string; name?: string }[];
lastUpdated?: string;
mirrorName?: string;
pushUrls?: readonly { href?: string; name?: string }[];
repositoryId?: string;
status?:
| "AVAILABLE"
| "ERROR_AVAILABLE"
| "ERROR_INITIALIZING"
| "INITIALIZING"
| "NOT_MIRRORED";
};
RestMirroredRepositoryDescriptor: {
links?: Record<string, unknown>;
mirrorServer?: {
baseUrl?: string;
enabled?: boolean;
id?: string;
lastSeenDate: string;
mirrorType?: "FARM" | "SINGLE";
name?: string;
productVersion?: string;
};
};
RestMirrorHashes: { content?: string; metadata?: string };
RestMirroringRequest: {
id?: number;
mirrorBaseUrl?: string;
mirrorId?: string;
mirrorName?: string;
mirrorType?: "FARM" | "SINGLE";
productVersion?: string;
state?: "ACCEPTED" | "PENDING" | "REJECTED";
};
RestMirrorRepositorySynchronizationStatus: {
externalRepoId?: string;
failedSyncCount?: number;
hashes?: { content?: string; metadata?: string };
initialSyncDate?: string;
lastSyncDate?: string;
localProjectId?: number;
localRepoId?: number;
upstreamId?: string;
};
RestMirrorServer: {
baseUrl?: string;
enabled?: boolean;
id?: string;
lastSeenDate?: string;
mirrorType?: "FARM"
| "SINGLE";
name?: string;
productVersion?: string;
};
RestMirrorUpgradeRequest: { baseUrl?: string; productVersion?: string };
RestMultilineCommentMarker: {
startLine?: number;
startLineType?: "ADDED" | "CONTEXT" | "REMOVED";
};
RestMultipleBuildStats: unknown;
RestNamedLink: { href?: string; name?: string };
RestNode: { id?: string; name?: string; type?: "BITBUCKET" | "MESH" };
RestNodeConnectivityReport: {
node?: { id?: string; name?: string; type?: "BITBUCKET" | "MESH" };
summaries?: readonly {
node?: { id?: string; name?: string; type?: "BITBUCKET" | "MESH" };
summary?: {
errorMessage?: string;
reachable?: boolean;
roundTripTime?: number;
};
}[];
};
RestNodeConnectivitySummary: {
node?: { id?: string; name?: string; type?: "BITBUCKET"
| "MESH" };
summary?: {
errorMessage?: string;
reachable?: boolean;
roundTripTime?: number;
};
};
RestPageRestChange: {
isLastPage?: boolean;
limit?: number;
nextPageStart?: number;
size?: number;
start?: number;
values?: Record<string, unknown>;
};
RestPath: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
RestPermitted: { permitted?: boolean };
RestPermittedGroup: { group?: { name?: string }; permission?: string };
RestPermittedUser: {
permission?:
| "ADMIN"
| "LICENSED_USER"
| "PROJECT_ADMIN"
| "PROJECT_CREATE"
| "PROJECT_READ"
| "PROJECT_VIEW"
| "PROJECT_WRITE"
| "REPO_ADMIN"
| "REPO_CREATE"
| "REPO_READ"
| "REPO_WRITE"
| "SYS_ADMIN"
| "USER_ADMIN";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
RestPerson: { avatarUrl?: string; emailAddress?: string; name?: string };
RestProgress: { message?: string; percentage?: number };
RestProject: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key?: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
RestProjectSettingsRestriction: {
componentKey?: string;
featureKey?: string;
namespace?: string;
processedState?: "FAILED"
| "IN_PROGRESS"
| "PROCESSED"
| "UNPROCESSED";
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
};
RestProjectSettingsRestrictionRequest: {
componentKey?: string;
featureKey: string;
namespace: string;
};
RestProperties: {
contentHash?: string;
defaultBranchId?: string;
metadataHash?: string;
};
RestPullRequest: {
closed?: boolean;
closedDate?: number;
createdDate?: number;
description?: string;
descriptionAsHtml?: string;
draft?: boolean;
fromRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: (...) | (...);
avatarUrl?: (...) | (...);
description?: (...) | (...);
id?: (...) | (...);
key: string;
links?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
scope?: (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: "BRANCH"
| "TAG";
};
htmlDescription?: string;
id?: number;
links?: Record<string, unknown>;
locked?: boolean;
open?: boolean;
participants?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT" | "REVIEWER" | "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
reviewers?: readonly {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
}[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: (...) | (...);
avatarUrl?: (...) | (...);
description?: (...) | (...);
id?: (...) | (...);
key: string;
links?: (...) | (...);
name?: (...) | (...);
public?: (...) | (...) | (...);
scope?: (...) | (...);
type?: (...) | (...) | (...);
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: "BRANCH"
| "TAG";
};
updatedDate?: number;
version?: number;
};
RestPullRequestActivity: {
action?: | "DECLINED"
| "MERGED"
| "APPROVED"
| "UNAPPROVED"
| "AUTO_MERGE_CANCELLED"
| "AUTO_MERGE_REQUESTED"
| "COMMENTED"
| "DELETED"
| "OPENED"
| "REOPENED"
| "RESCOPED"
| "REVIEW_COMMENTED"
| "REVIEW_DISCARDED"
| "REVIEW_FINISHED"
| "REVIEWED"
| "UPDATED";
createdDate?: number;
id?: number;
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
RestPullRequestAssignParticipantRoleRequest: {
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
RestPullRequestAssignStatusRequest: {
lastReviewedCommit?: string;
status?: "APPROVED"
| "NEEDS_WORK"
| "UNAPPROVED";
};
RestPullRequestCommitMessageTemplate: { body?: string; title?: string };
RestPullRequestCondition: {
id?: number;
requiredApprovals?: number;
reviewers?: readonly {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
}[];
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
sourceRefMatcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
targetRefMatcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
};
RestPullRequestDeclineRequest: { comment?: string; version?: number };
RestPullRequestDeleteRequest: { version?: number };
RestPullRequestFinishReviewRequest: {
commentText?: string;
lastReviewedCommit?: string;
participantStatus?: string;
};
RestPullRequestMergeability: {
conflicted?: boolean;
outcome?: "UNKNOWN"
| "CLEAN"
| "CONFLICTED";
vetoes?: readonly { detailedMessage?: string; summaryMessage?: string }[];
};
RestPullRequestMergeConfig: {
commitMessageTemplate?: { body?: string; title?: string };
commitSummaries?: number;
defaultStrategy?: {
description?: string;
enabled?: boolean;
flag?: string;
id?: string;
links?: Record<string, unknown>;
name?: string;
};
strategies?: readonly {
description?: string;
enabled?: boolean;
flag?: string;
id?: string;
links?: Record<string, unknown>;
name?: string;
}[];
type?: string;
};
RestPullRequestMergeRequest: {
autoMerge?: boolean;
autoSubject?: string;
message?: string;
strategyId?: string;
version?: number;
};
RestPullRequestMergeStrategy: {
description?: string;
enabled?: boolean;
flag?: string;
id?: string;
links?: Record<string, unknown>;
name?: string;
};
RestPullRequestParticipant: {
approved?: boolean;
lastReviewedCommit?: string;
role?: "PARTICIPANT"
| "REVIEWER"
| "AUTHOR";
status?: "APPROVED" | "NEEDS_WORK" | "UNAPPROVED";
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
RestPullRequestRebaseability: {
vetoes?: readonly { detailedMessage?: string; summaryMessage?: string }[];
};
RestPullRequestRebaseRequest: { version?: number };
RestPullRequestRebaseResult: {
refChange?: {
fromHash?: string;
ref?: { displayId?: string; id?: string; type?: "BRANCH" | "TAG" };
refId?: string;
toHash?: string;
type?: "DELETE" | "ADD" | "UPDATE";
};
};
RestPullRequestRef: {
displayId?: string;
id?: string;
latestCommit?: string;
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
type?: "BRANCH"
| "TAG";
};
RestPullRequestReopenRequest: { version?: number };
RestPullRequestSettings: {
mergeConfig?: {
commitMessageTemplate?: { body?: string; title?: string };
commitSummaries?: number;
defaultStrategy?: {
description?: string;
enabled?: boolean;
flag?: string;
id?: string;
links?: Record<string, unknown>;
name?: string;
};
strategies?: readonly {
description?: string;
enabled?: boolean;
flag?: string;
id?: string;
links?: Record<string, unknown>;
name?: string;
}[];
type?: string;
};
};
RestPullRequestSuggestion: {
changeTme?: number;
fromRef?: { displayId?: string; id?: string; type?: "BRANCH"
| "TAG" };
refChange?: {
fromHash?: string;
ref?: { displayId?: string; id?: string; type?: "BRANCH" | "TAG" };
refId?: string;
toHash?: string;
type?: "DELETE" | "ADD" | "UPDATE";
};
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
toRef?: { displayId?: string; id?: string; type?: "BRANCH"
| "TAG" };
};
RestPushRefChange: {
fromHash?: string;
ref?: { displayId?: string; id?: string; type?: "BRANCH"
| "TAG" };
refId?: string;
toHash?: string;
type?: "DELETE" | "ADD" | "UPDATE";
updatedType?: "UNRESOLVED" | "UNKNOWN" | "FORCED" | "NOT_FORCED";
};
RestRateLimitSettings: {
defaultSettings?: { capacity?: number; fillRate?: number };
enabled?: boolean;
};
RestRawAccessToken: {
createdDate?: string;
id?: string;
name?: string;
token?: string;
};
RestRefChange: {
fromHash?: string;
ref?: { displayId?: string; id?: string; type?: "BRANCH"
| "TAG" };
refId?: string;
toHash?: string;
type?: "DELETE" | "ADD" | "UPDATE";
};
RestRefMatcher: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
RestRefMatcherType: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
RestRefRestriction: {
accessKeys?: readonly {
key?: {
algorithmType?: string;
bitLength?: number;
createdDate?: string;
expiryDays?: number;
fingerprint?: string;
id?: number;
label?: string;
lastAuthenticated?: string;
text?: string;
};
permission?: | "ADMIN"
| "LICENSED_USER"
| "PROJECT_ADMIN"
| "PROJECT_CREATE"
| "PROJECT_READ"
| "PROJECT_VIEW"
| "PROJECT_WRITE"
| "REPO_ADMIN"
| "REPO_CREATE"
| "REPO_READ"
| "REPO_WRITE"
| "SYS_ADMIN"
| "USER_ADMIN";
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
partition?: number;
project?: {
avatar?: ...;
avatarUrl?: ...;
description?: ...;
id?: ...;
key: ...;
links?: ...;
name?: ...;
public?: ...;
scope?: ...;
type?: ...;
};
public?: boolean;
relatedLinks?: Record<(...), (...)>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<(...), (...)>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
}[];
groups?: readonly string[];
id?: number;
matcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
type?: string;
users?: readonly {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
}[];
};
RestRefSyncQueue: {
values?: readonly {
attempt?: number;
createdAt?: string;
externalRepoId?: string;
type?: "incremental"
| "snapshot";
}[];
};
RestRefSyncRequest: {
action?: "DISCARD"
| "MERGE"
| "REBASE";
context?: { commitMessage?: string };
refId?: string;
};
RestRefSyncStatus: {
aheadRefs?: {
displayId?: string;
id?: string;
state?: "AHEAD"
| "DIVERGED"
| "ORPHANED";
tag?: boolean;
type?: "BRANCH" | "TAG";
};
available?: boolean;
divergedRefs?: {
displayId?: string;
id?: string;
state?: "AHEAD"
| "DIVERGED"
| "ORPHANED";
tag?: boolean;
type?: "BRANCH" | "TAG";
};
enabled?: boolean;
lastSync?: number;
orphanedRefs?: {
displayId?: string;
id?: string;
state?: "AHEAD"
| "DIVERGED"
| "ORPHANED";
tag?: boolean;
type?: "BRANCH" | "TAG";
};
};
RestRejectedRef: {
displayId?: string;
id?: string;
state?: "AHEAD"
| "DIVERGED"
| "ORPHANED";
tag?: boolean;
type?: "BRANCH" | "TAG";
};
RestRelatedLinks: unknown;
RestRepositoriesExportRequest: {
includes: readonly { projectKey?: string; slug?: string }[];
};
RestRepository: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?: "AVAILABLE" | "INITIALISATION_FAILED" | "INITIALISING" | "OFFLINE";
statusMessage?: string;
};
RestRepositoryHook: {
configured?: boolean;
details?: {
configFormKey?: string;
description?: string;
key?: string;
name?: string;
supportedScopes?: readonly ("GLOBAL" | "PROJECT" | "REPOSITORY")[];
type?: "POST_RECEIVE" | "PRE_PULL_REQUEST_MERGE" | "PRE_RECEIVE";
version?: string;
};
enabled?: boolean;
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
};
RestRepositoryHookVeto: {
detailedMessage?: string;
summaryMessage?: string;
};
RestRepositoryLockOwner: {
externalRepositoryId?: string;
lockAcquireTime?: string;
nodeId?: string;
requestId?: string;
threadName?: string;
};
RestRepositoryMirrorEvent: {
mirrorRepoId?: number;
type?: "SYNCHRONIZATION_FAILED"
| "SYNCHRONIZED";
upstreamRepoId?: string;
};
RestRepositoryPolicy: {
permission?: "ADMIN"
| "PROJECT_ADMIN"
| "REPO_ADMIN"
| "SYS_ADMIN";
};
RestRepositoryPullRequestSettings: {
mergeConfig?: {
commitMessageTemplate?: { body?: string; title?: string };
commitSummaries?: number;
defaultStrategy?: {
description?: string;
enabled?: boolean;
flag?: string;
id?: string;
links?: Record<string, unknown>;
name?: string;
};
strategies?: readonly {
description?: string;
enabled?: boolean;
flag?: string;
id?: string;
links?: Record<string, unknown>;
name?: string;
}[];
type?: string;
};
requiredAllApprovers?: boolean;
requiredAllTasksComplete?: boolean;
requiredApprovers?: { count?: string; enabled?: boolean };
requiredApproversDeprecated?: number;
requiredSuccessfulBuilds?: { count?: string; enabled?: boolean };
requiredSuccessfulBuildsDeprecated?: number;
};
RestRepositoryRefChangeActivity: {
createdDate?: number;
id?: number;
refChange?: {
fromHash?: string;
ref?: { displayId?: string; id?: string; type?: "BRANCH"
| "TAG" };
refId?: string;
toHash?: string;
type?: "DELETE" | "ADD" | "UPDATE";
updatedType?: "UNRESOLVED" | "UNKNOWN" | "FORCED" | "NOT_FORCED";
};
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
trigger?: string;
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
RestRepositorySelector: { projectKey?: string; slug?: string };
RestRequiredBuildCondition: {
buildParentKeys?: readonly string[];
exemptRefMatcher?: {
displayId?: string;
id?: string;
type?: {
id?:
| "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
id?: number;
refMatcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
};
RestRequiredBuildConditionSetRequest: {
buildParentKeys: readonly string[];
exemptRefMatcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
refMatcher: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
};
RestRestrictionRequest: {
accessKeyIds?: readonly number[];
accessKeys?: readonly {
key?: {
algorithmType?: string;
bitLength?: number;
createdDate?: string;
expiryDays?: number;
fingerprint?: string;
id?: number;
label?: string;
lastAuthenticated?: string;
text?: string;
};
permission?: | "ADMIN"
| "LICENSED_USER"
| "PROJECT_ADMIN"
| "PROJECT_CREATE"
| "PROJECT_READ"
| "PROJECT_VIEW"
| "PROJECT_WRITE"
| "REPO_ADMIN"
| "REPO_CREATE"
| "REPO_READ"
| "REPO_WRITE"
| "SYS_ADMIN"
| "USER_ADMIN";
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
partition?: number;
project?: {
avatar?: ...;
avatarUrl?: ...;
description?: ...;
id?: ...;
key: ...;
links?: ...;
name?: ...;
public?: ...;
scope?: ...;
type?: ...;
};
public?: boolean;
relatedLinks?: Record<(...), (...)>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<(...), (...)>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
}[];
groupNames?: readonly string[];
groups?: readonly string[];
id?: number;
matcher?: {
displayId?: string;
id?: string;
type?: {
id?: | "BRANCH"
| "ANY_REF"
| "MODEL_BRANCH"
| "MODEL_CATEGORY"
| "PATTERN";
name?: string;
};
};
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
type?: string;
users?: readonly {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
}[];
userSlugs?: readonly string[];
};
RestReviewerGroup: {
avatarUrl?: string;
description?: string;
id?: number;
name?: string;
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
users?: readonly {
active?: boolean;
displayName?: string;
emailAddress?: string;
id?: number;
name?: string;
slug?: string;
type?: "NORMAL"
| "SERVICE";
}[];
};
RestRollingUpgradeState: {
rollingUpgradeEnabled?: boolean;
version?: string;
};
RestScope: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
RestScopesExample: {
links?: Record<string, unknown>;
scopes?: readonly Record<string, unknown>[];
};
RestSecretScanningAllowlistRule: {
id?: number;
lineRegex?: string;
name?: string;
pathRegex?: string;
};
RestSecretScanningAllowlistRuleSetRequest: {
lineRegex?: string;
name?: string;
pathRegex?: string;
};
RestSecretScanningRule: {
id?: number;
lineRegex?: string;
name?: string;
pathRegex?: string;
scope?: {
resourceId?: number;
type?: "GLOBAL"
| "PROJECT"
| "REPOSITORY";
};
};
RestSecretScanningRuleSetRequest: {
lineRegex?: string;
name?: string;
pathRegex?: string;
};
RestSetInsightReportRequest: {
coverageProviderKey?: string;
createdDate?: number;
data: readonly {
title?: string;
type?: string;
value?: Record<string, unknown>;
}[];
details?: string;
link?: string;
logoUrl?: string;
reporter?: string;
result?: string;
title: string;
};
RestSingleAddInsightAnnotationRequest: {
externalId?: string;
line?: number;
link?: string;
message: string;
path?: string;
severity: string;
type?: string;
};
RestSshAccessKey: {
key?: {
algorithmType?: string;
bitLength?: number;
createdDate?: string;
expiryDays?: number;
fingerprint?: string;
id?: number;
label?: string;
lastAuthenticated?: string;
text?: string;
};
permission?: | "ADMIN"
| "LICENSED_USER"
| "PROJECT_ADMIN"
| "PROJECT_CREATE"
| "PROJECT_READ"
| "PROJECT_VIEW"
| "PROJECT_WRITE"
| "REPO_ADMIN"
| "REPO_CREATE"
| "REPO_READ"
| "REPO_WRITE"
| "SYS_ADMIN"
| "USER_ADMIN";
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
repository?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
};
RestSshAccessKeyLocations: {
projects?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key?: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
repositories?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
origin?: {
archived?: boolean;
defaultBranch?: string;
description?: string;
forkable?: boolean;
hierarchyId?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
partition?: number;
project?: {
avatar?: string;
avatarUrl?: string;
description?: string;
id?: number;
key: string;
links?: Record<string, unknown>;
name?: string;
public?: boolean;
scope?: string;
type?: "NORMAL" | "PERSONAL";
};
public?: boolean;
relatedLinks?: Record<string, unknown>;
scmId?: string;
scope?: string;
slug?: string;
state?:
| "AVAILABLE"
| "INITIALISATION_FAILED"
| "INITIALISING"
| "OFFLINE";
statusMessage?: string;
};
};
RestSshCredentials: {
algorithm?: string;
publicKey: string;
username?: string;
};
RestSshKey: {
algorithmType?: string;
bitLength?: number;
createdDate?: string;
expiryDays?: number;
fingerprint?: string;
id?: number;
label?: string;
lastAuthenticated?: string;
text?: string;
};
RestSshKeySettings: {
keyTypeRestrictions?: readonly {
algorithm?: string;
allowed?: boolean;
minKeyLength?: { asInt?: number; present?: boolean };
}[];
maxExpiryDays?: { asInt?: number; present?: boolean };
};
RestSshKeyTypeRestriction: {
algorithm?: string;
allowed?: boolean;
minKeyLength?: { asInt?: number; present?: boolean };
};
RestSshSettings: {
accessKeysEnabled?: boolean;
baseUrl?: string;
enabled?: boolean;
fingerprint?: { algorithm?: string; value?: string };
port?: number;
};
RestSyncProgress: {
discovering?: boolean;
syncedRepos?: number;
totalRepos?: number;
};
RestSystemSigningConfiguration: { enabled?: boolean };
RestTag: {
displayId?: string;
hash?: string;
id?: string;
latestChangeset?: string;
latestCommit?: string;
type?: "BRANCH" | "TAG";
};
RestTestResults: { failed?: number; skipped?: number; successful?: number };
RestTokenBucketSettings: { capacity?: number; fillRate?: number };
RestUpstreamServer: {
baseUrl?: string;
id?: string;
state?: "PENDING" | "REMOVED" | "UNKNOWN" | "INITIALIZING" | "INSTALLED";
};
RestUpstreamSettings: {
mode?: "ALL_PROJECTS"
| "SELECTED_PROJECTS";
projectIds?: readonly string[];
};
RestUserDirectory: {
active?: boolean;
description?: string;
name?: string;
type?: string;
};
RestUsernamePasswordCredentials: { password: string; username: string };
RestUserRateLimitSettings: {
settings?: { capacity?: number; fillRate?: number };
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
whitelisted?: boolean;
};
RestUserRateLimitSettingsUpdateRequest: {
settings?: { capacity?: number; fillRate?: number };
whitelisted?: boolean;
};
RestUserReaction: {
comment?: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: {
startLine?: number;
startLineType: "ADDED" | "CONTEXT" | "REMOVED";
};
path?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
pullRequest?: {
closed?: boolean;
closedDate?: number;
createdDate?: number;
description?: string;
descriptionAsHtml?: string;
draft?: boolean;
fromRef?: {
displayId?: (...)
| (...);
id?: (...) | (...);
latestCommit?: (...) | (...);
repository?: (...) | (...);
type?: (...) | (...) | (...);
};
htmlDescription?: string;
id?: number;
links?: Record<string, unknown>;
locked?: boolean;
open?: boolean;
participants?: readonly {
approved?: ...;
lastReviewedCommit?: ...;
role?: ...;
status?: ...;
user?: ...;
}[];
reviewers?: readonly {
approved?: ...;
lastReviewedCommit?: ...;
role?: ...;
status?: ...;
user?: ...;
}[];
state?: "DECLINED"
| "MERGED"
| "OPEN";
title?: string;
toRef?: {
displayId?: (...) | (...);
id?: (...) | (...);
latestCommit?: (...) | (...);
repository?: (...) | (...);
type?: (...) | (...) | (...);
};
updatedDate?: number;
version?: number;
};
srcPath?: {
components?: readonly string[];
extension?: string;
name?: string;
parent?: string;
};
toHash?: string;
};
anchored?: boolean;
author?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
comments?: readonly {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: { startLine?: ...; startLineType: ... };
path?: { components?: ...; extension?: ...; name?: ...; parent?: ... };
pullRequest?: {
closed?: ...;
closedDate?: ...;
createdDate?: ...;
description?: ...;
descriptionAsHtml?: ...;
draft?: ...;
fromRef?: ...;
htmlDescription?: ...;
id?: ...;
links?: ...;
locked?: ...;
open?: ...;
participants?: ...;
reviewers?: ...;
state?: ...;
title?: ...;
toRef?: ...;
updatedDate?: ...;
version?: ...;
};
srcPath?: {
components?: ...;
extension?: ...;
name?: ...;
parent?: ...;
};
toHash?: string;
};
anchored?: boolean;
author?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
createdDate?: number;
html?: string;
id?: number;
parent?: {
anchor?: {
diffType?: ...;
fileType?: ...;
fromHash?: ...;
line?: ...;
lineType?: ...;
multilineMarker?: ...;
path?: ...;
pullRequest?: ...;
srcPath?: ...;
toHash?: ...;
};
anchored?: boolean;
author?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
createdDate?: number;
html?: string;
id?: number;
pending?: boolean;
properties?: Record<(...), (...)>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
updatedDate?: number;
version?: number;
};
pending?: boolean;
properties?: Record<string, unknown>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<(...), (...)>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
updatedDate?: number;
version?: number;
}[];
createdDate?: number;
html?: string;
id?: number;
parent?: {
anchor?: {
diffType?: "COMMIT"
| "EFFECTIVE"
| "RANGE";
fileType?: "FROM" | "TO";
fromHash?: string;
line?: number;
lineType?: "ADDED" | "CONTEXT" | "REMOVED";
multilineMarker?: {
startLine?: (...) | (...);
startLineType: (...) | (...) | (...);
};
path?: {
components?: (...)
| (...);
extension?: (...) | (...);
name?: (...) | (...);
parent?: (...) | (...);
};
pullRequest?: {
closed?: (...)
| (...)
| (...);
closedDate?: (...) | (...);
createdDate?: (...) | (...);
description?: (...) | (...);
descriptionAsHtml?: (...) | (...);
draft?: (...) | (...) | (...);
fromRef?: (...) | (...);
htmlDescription?: (...) | (...);
id?: (...) | (...);
links?: (...) | (...);
locked?: (...) | (...) | (...);
open?: (...) | (...) | (...);
participants?: (...) | (...);
reviewers?: (...) | (...);
state?: (...) | (...) | (...) | (...);
title?: (...) | (...);
toRef?: (...) | (...);
updatedDate?: (...) | (...);
version?: (...) | (...);
};
srcPath?: {
components?: (...)
| (...);
extension?: (...) | (...);
name?: (...) | (...);
parent?: (...) | (...);
};
toHash?: string;
};
anchored?: boolean;
author?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
comments?: readonly {
anchor?: {
diffType?: ...;
fileType?: ...;
fromHash?: ...;
line?: ...;
lineType?: ...;
multilineMarker?: ...;
path?: ...;
pullRequest?: ...;
srcPath?: ...;
toHash?: ...;
};
anchored?: boolean;
author?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
comments?: readonly { readonly anchor?: { readonly diffType?: "COMMIT" | "EFFECTIVE" | "RANGE"; readonly fileType?: "FROM" | "TO"; readonly fromHash?: string; readonly line?: number; readonly lineType?: "ADDED" | "CONTEXT" | "REMOVED"; ... 4 more ...; readonly toHash?: string; }; ... 19 more ...; readonly version?: number; }[]...;
createdDate?: number;
html?: string;
id?: number;
parent?: {
anchor?: ...;
anchored?: ...;
author?: ...;
comments?: ...;
createdDate?: ...;
html?: ...;
id?: ...;
pending?: ...;
properties?: ...;
reply?: ...;
resolvedDate?: ...;
resolver?: ...;
severity?: ...;
state?: ...;
text?: ...;
threadResolved?: ...;
threadResolvedDate?: ...;
threadResolver?: ...;
updatedDate?: ...;
version?: ...;
};
pending?: boolean;
properties?: Record<(...), (...)>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: ...;
avatarUrl?: ...;
displayName?: ...;
emailAddress?: ...;
id?: ...;
links?: ...;
name?: ...;
slug?: ...;
type?: ...;
};
updatedDate?: number;
version?: number;
}[];
createdDate?: number;
html?: string;
id?: number;
pending?: boolean;
properties?: Record<string, unknown>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
updatedDate?: number;
version?: number;
};
pending?: boolean;
properties?: Record<string, unknown>;
reply?: boolean;
resolvedDate?: number;
resolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
severity?: string;
state?: string;
text?: string;
threadResolved?: boolean;
threadResolvedDate?: number;
threadResolver?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
updatedDate?: number;
version?: number;
};
emoticon?: { shortcut?: string; url?: string; value?: string };
user?: {
active?: boolean;
avatarUrl?: string;
displayName?: string;
emailAddress?: string;
id?: number;
links?: Record<string, unknown>;
name?: string;
slug?: string;
type?: "NORMAL" | "SERVICE";
};
};
RestWebhook: {
active?: boolean;
configuration?: Record<string, unknown>;
credentials?: { password?: string; username?: string };
events?: readonly string[];
name?: string;
scopeType?: string;
sslVerificationRequired?: boolean;
statistics?: Record<string, unknown>;
url?: string;
};
RestWebhookCredentials: { password?: string; username?: string };
RestWebhookRequestResponse: unknown;
RestWebhookScope: { id?: string; type?: string };
RestX509Certificate: { fingerprint?: string; id?: number };
Scope: { resourceId?: number; type?: "GLOBAL" | "PROJECT" | "REPOSITORY" };
SimpleSshKeyFingerprint: { algorithm?: string; value?: string };
UserAndGroups: { groups: readonly string[]; user?: string };
UserPasswordUpdate: {
oldPassword?: string;
password?: string;
passwordConfirm?: string;
};
UserPickerContext: { context?: string; itemName?: string };
UserRename: { name?: string; newName?: string };
UserUpdate: { displayName?: string; email?: string; name?: string };
}