diff --git a/dist/types/entity.d.ts b/dist/types/entity.d.ts index 0769f45..893873e 100644 --- a/dist/types/entity.d.ts +++ b/dist/types/entity.d.ts @@ -203,14 +203,14 @@ export declare namespace Issue { id: number; projectId: number; issueKey: string; - keyId: 1; + keyId: number; issueType: IssueType; summary: string; description: string; - resolution: Resolution; + resolution?: Resolution; priority: Priority; status: Project.ProjectStatus; - assignee: User.User; + assignee?: User.User; category: Project.Category[]; versions: Project.Version[]; milestone: Project.Version[]; @@ -324,7 +324,7 @@ export declare namespace PullRequest { base: string; branch: string; status: Status; - assignee: User.User; + assignee?: User.User; issue: Issue.Issue; baseCommit?: string; branchCommit?: string; diff --git a/src/entity.ts b/src/entity.ts index 14ea001..c50be4f 100644 --- a/src/entity.ts +++ b/src/entity.ts @@ -234,14 +234,14 @@ export namespace Issue { id: number; projectId: number; issueKey: string; - keyId: 1; + keyId: number; issueType: IssueType; summary: string; description: string; - resolution: Resolution; + resolution?: Resolution; priority: Priority; status: Project.ProjectStatus; - assignee: User.User; + assignee?: User.User; category: Project.Category[]; versions: Project.Version[]; milestone: Project.Version[]; @@ -369,7 +369,7 @@ export namespace PullRequest { base: string; branch: string; status: Status; - assignee: User.User; + assignee?: User.User; issue: Issue.Issue; baseCommit?: string; branchCommit?: string;