@resolution/jira-api-client 0.6.4 → 0.7.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.
- package/CHANGELOG.md +11 -0
- package/lib/index.d.ts +8 -8
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.7.0](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.4...v0.7.0) (2024-09-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* support forgeApiWithProvider in jira and confluence ([4de975a](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/4de975aa1a80c59d1cbbddc7d214622797fcb5b3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.6.4](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.3...v0.6.4) (2024-09-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @resolution/jira-api-client
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, type ApiClientForgeBridgeJiraOptions, type ApiClientOptions, ApiError } from "@resolution/atlassian-api-common";
|
|
1
|
+
import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, type ApiClientForgeApiWithProviderOptions, type ApiClientForgeBridgeJiraOptions, type ApiClientOptions, ApiError } from "@resolution/atlassian-api-common";
|
|
2
2
|
import { BaseJiraPlatformApiClient } from "./openapi/platform/BaseJiraPlatformApiClient";
|
|
3
3
|
import { BaseJiraServiceManagementApiClient } from "./openapi/serviceManagement/BaseJiraServiceManagementApiClient";
|
|
4
4
|
import { BaseJiraSoftwareApiClient } from "./openapi/software/BaseJiraSoftwareApiClient";
|
|
@@ -6,18 +6,18 @@ export * from "./openapi/platform/BaseJiraPlatformApiClient";
|
|
|
6
6
|
export * from "./openapi/software/BaseJiraSoftwareApiClient";
|
|
7
7
|
export * from "./openapi/serviceManagement/BaseJiraServiceManagementApiClient";
|
|
8
8
|
export { ApiError };
|
|
9
|
-
export { ApiClientForgeApiOptions, ApiClientForgeApiExternalOptions, ApiClientForgeBridgeJiraOptions, ApiClientAceOptions, ApiClientApOptions, };
|
|
9
|
+
export { ApiClientForgeApiOptions, ApiClientForgeApiExternalOptions, ApiClientForgeApiWithProviderOptions, ApiClientForgeBridgeJiraOptions, ApiClientAceOptions, ApiClientApOptions, };
|
|
10
10
|
/**
|
|
11
11
|
* The Jira Cloud Platform REST API Client.
|
|
12
12
|
*
|
|
13
13
|
* @category API Clients
|
|
14
14
|
*/
|
|
15
15
|
export declare class JiraPlatformApi extends BaseJiraPlatformApiClient {
|
|
16
|
-
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
16
|
+
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
17
17
|
/**
|
|
18
18
|
* @category Constructor
|
|
19
19
|
*/
|
|
20
|
-
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
20
|
+
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
21
21
|
/**
|
|
22
22
|
* Switches the API client to the app context.
|
|
23
23
|
*
|
|
@@ -37,11 +37,11 @@ export declare class JiraPlatformApi extends BaseJiraPlatformApiClient {
|
|
|
37
37
|
* @category API Clients
|
|
38
38
|
*/
|
|
39
39
|
export declare class JiraSoftwareApi extends BaseJiraSoftwareApiClient {
|
|
40
|
-
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
40
|
+
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
41
41
|
/**
|
|
42
42
|
* @category Constructor
|
|
43
43
|
*/
|
|
44
|
-
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
44
|
+
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
45
45
|
/**
|
|
46
46
|
* Switches the API client to the app context.
|
|
47
47
|
*
|
|
@@ -61,11 +61,11 @@ export declare class JiraSoftwareApi extends BaseJiraSoftwareApiClient {
|
|
|
61
61
|
* @category API Clients
|
|
62
62
|
*/
|
|
63
63
|
export declare class JiraServiceManagementApi extends BaseJiraServiceManagementApiClient {
|
|
64
|
-
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
64
|
+
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
65
65
|
/**
|
|
66
66
|
* @category Constructor
|
|
67
67
|
*/
|
|
68
|
-
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
68
|
+
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
69
69
|
/**
|
|
70
70
|
* Switches the API client to the app context.
|
|
71
71
|
*
|
package/lib/index.js
CHANGED
|
@@ -39,7 +39,7 @@ class JiraPlatformApi extends BaseJiraPlatformApiClient_1.BaseJiraPlatformApiCli
|
|
|
39
39
|
* @category Constructor
|
|
40
40
|
*/
|
|
41
41
|
constructor(options) {
|
|
42
|
-
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options));
|
|
42
|
+
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options, "jira"));
|
|
43
43
|
this.options = options;
|
|
44
44
|
/**
|
|
45
45
|
* Switches the API client to the app context.
|
|
@@ -66,7 +66,7 @@ class JiraSoftwareApi extends BaseJiraSoftwareApiClient_1.BaseJiraSoftwareApiCli
|
|
|
66
66
|
* @category Constructor
|
|
67
67
|
*/
|
|
68
68
|
constructor(options) {
|
|
69
|
-
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options));
|
|
69
|
+
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options, "jira"));
|
|
70
70
|
this.options = options;
|
|
71
71
|
/**
|
|
72
72
|
* Switches the API client to the app context.
|
|
@@ -93,7 +93,7 @@ class JiraServiceManagementApi extends BaseJiraServiceManagementApiClient_1.Base
|
|
|
93
93
|
* @category Constructor
|
|
94
94
|
*/
|
|
95
95
|
constructor(options) {
|
|
96
|
-
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options));
|
|
96
|
+
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options, "jira"));
|
|
97
97
|
this.options = options;
|
|
98
98
|
/**
|
|
99
99
|
* Switches the API client to the app context.
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAY0C;AAUjC,yFAdP,+BAAQ,OAcO;AARjB,4FAAyF;AACzF,uHAAoH;AACpH,4FAAyF;AAEzF,+EAA6D;AAC7D,+EAA6D;AAC7D,iGAA+E;AAa/E,wFAAwH;AACxH,iGAA0I;AAC1I,wFAAwH;AAExH,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACxD,iDAAwC,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACjE,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAExD;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAOT;QAED,KAAK,CAAC,IAAA,gDAAyB,EAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;QATxC,YAAO,GAAP,OAAO,CAOhB;QAKH;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAbtD,CAAC;CAcF;AA7BD,0CA6BC;AAED;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAOT;QAED,KAAK,CAAC,IAAA,gDAAyB,EAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;QATxC,YAAO,GAAP,OAAO,CAOhB;QAIH;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAZtD,CAAC;CAaF;AA5BD,0CA4BC;AAED;;;;GAIG;AACH,MAAa,wBAAyB,SAAQ,uEAAkC;IAC9E;;OAEG;IACH,YACY,OAOT;QAED,KAAK,CAAC,IAAA,gDAAyB,EAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;QATxC,YAAO,GAAP,OAAO,CAOhB;QAIH;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAAmC,CAAC;QAC7D;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAAmC,CAAC;IAZ/D,CAAC;CAaF;AA5BD,4DA4BC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resolution/jira-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "JIRA Platform & Software API Client based on OpenAPI Schema from Atlassian.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://bitbucket.org/resolutiongmbh/atlassian-api-clients#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@resolution/atlassian-api-common": "^0.
|
|
40
|
+
"@resolution/atlassian-api-common": "^0.7.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "fad3f459b4f73fc4f9c301ab0154dc22ef2cc3de"
|
|
46
46
|
}
|