@gitkraken/provider-apis 0.22.9 → 0.23.1

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.
@@ -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;
@@ -53,6 +53,7 @@ export interface Issue {
53
53
  resourceId: string | null;
54
54
  name: string;
55
55
  key: string | null;
56
+ id: string | null;
56
57
  };
57
58
  state: {
58
59
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitkraken/provider-apis",
3
- "version": "0.22.9",
3
+ "version": "0.23.1",
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",