@gitkraken/provider-apis 0.22.8 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121,7 +121,7 @@ export declare class GitLab extends EnterpriseProvider implements GitProvider, I
121
121
  getPullRequestsForUser(input: {
122
122
  username: string;
123
123
  association: PullRequestAssociation;
124
- includeFromArchivedRepos: boolean;
124
+ includeFromArchivedRepos?: boolean;
125
125
  } & CursorPageInput, options?: EnterpriseOptions): Promise<{
126
126
  pageInfo: {
127
127
  endCursor: string | null;
@@ -134,7 +134,7 @@ export declare class GitLab extends EnterpriseProvider implements GitProvider, I
134
134
  */
135
135
  getPullRequestsAssociatedWithUser(input: {
136
136
  username: string;
137
- includeFromArchivedRepos: boolean;
137
+ includeFromArchivedRepos?: boolean;
138
138
  } & CursorPageInput, options?: EnterpriseOptions): Promise<{
139
139
  pageInfo: {
140
140
  hasNextPage: boolean;
@@ -64,7 +64,20 @@ export declare class Jira extends Provider implements IssueProvider {
64
64
  data: import("../../types/exportedTypes/issueProvider").Issue;
65
65
  }>;
66
66
  getIssuesForProject(input: {
67
- project: string;
67
+ projectKey: string;
68
+ resourceId: string;
69
+ assigneeLogins?: string[];
70
+ authorLogin?: string;
71
+ mentionLogin?: string;
72
+ } & NumberedPageInput, options?: EnterpriseOptions): Promise<{
73
+ data: import("../../types/exportedTypes/issueProvider").Issue[];
74
+ pageInfo: {
75
+ hasNextPage: boolean;
76
+ nextPage: number | null;
77
+ };
78
+ }>;
79
+ getIssuesForProjects(input: {
80
+ projectKeys: string[];
68
81
  resourceId: string;
69
82
  assigneeLogins?: string[];
70
83
  authorLogin?: string;
@@ -32,7 +32,20 @@ export declare const getIssuesForResourceForCurrentUser: (config: ProviderConfig
32
32
  }>;
33
33
  export declare const getIssuesForProject: (config: ProviderConfig, input: {
34
34
  resourceId?: string;
35
- project: string;
35
+ projectKey: string;
36
+ assigneeLogins?: string[];
37
+ authorLogin?: string;
38
+ mentionLogin?: string;
39
+ } & NumberedPageInput, resourceUrl: string | null, options?: EnterpriseOptions) => Promise<{
40
+ data: Issue[];
41
+ pageInfo: {
42
+ hasNextPage: boolean;
43
+ nextPage: number | null;
44
+ };
45
+ }>;
46
+ export declare const getIssuesForProjects: (config: ProviderConfig, input: {
47
+ resourceId?: string;
48
+ projectKeys: string[];
36
49
  assigneeLogins?: string[];
37
50
  authorLogin?: string;
38
51
  mentionLogin?: string;
@@ -26,7 +26,19 @@ export declare class JiraServer extends EnterpriseProvider implements IssueProvi
26
26
  data: import("../../types/exportedTypes/issueProvider").Issue;
27
27
  }>;
28
28
  getIssuesForProject(input: {
29
- project: string;
29
+ projectKey: string;
30
+ assigneeLogins?: string[];
31
+ authorLogin?: string;
32
+ mentionLogin?: string;
33
+ } & NumberedPageInput, options?: EnterpriseOptions): Promise<{
34
+ data: import("../../types/exportedTypes/issueProvider").Issue[];
35
+ pageInfo: {
36
+ hasNextPage: boolean;
37
+ nextPage: number | null;
38
+ };
39
+ }>;
40
+ getIssuesForProjects(input: {
41
+ projectKeys: string[];
30
42
  assigneeLogins?: string[];
31
43
  authorLogin?: string;
32
44
  mentionLogin?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitkraken/provider-apis",
3
- "version": "0.22.8",
3
+ "version": "0.23.0",
4
4
  "description": "An SDK around different third-party APIs that accepts and returns data in a common format.",
5
5
  "author": "Axosoft, LLC dba GitKraken",
6
6
  "license": "SEE LICENSE IN LICENSE",