@resolution/confluence-api-client 0.6.3 → 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 +19 -0
- package/lib/index.d.ts +6 -6
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
|
|
17
|
+
## [0.6.4](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.3...v0.6.4) (2024-09-10)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @resolution/confluence-api-client
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.6.3](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.2...v0.6.3) (2024-09-10)
|
|
7
26
|
|
|
8
27
|
|
package/lib/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, type ApiClientForgeBridgeConfluenceOptions, type ApiClientOptions, ApiError } from "@resolution/atlassian-api-common";
|
|
1
|
+
import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, type ApiClientForgeApiWithProviderOptions, type ApiClientForgeBridgeConfluenceOptions, type ApiClientOptions, ApiError } from "@resolution/atlassian-api-common";
|
|
2
2
|
import { BaseConfluenceApiV1Client } from "./openapi/v1/BaseConfluenceApiV1Client";
|
|
3
3
|
import { BaseConfluenceApiV2Client } from "./openapi/v2/BaseConfluenceApiV2Client";
|
|
4
4
|
export * from "./openapi/v1/BaseConfluenceApiV1Client";
|
|
5
5
|
export * from "./openapi/v2/BaseConfluenceApiV2Client";
|
|
6
6
|
export { ApiError };
|
|
7
|
-
export { ApiClientForgeApiOptions, ApiClientForgeApiExternalOptions, ApiClientForgeBridgeConfluenceOptions, ApiClientAceOptions, ApiClientApOptions, };
|
|
7
|
+
export { ApiClientForgeApiOptions, ApiClientForgeApiExternalOptions, ApiClientForgeApiWithProviderOptions, ApiClientForgeBridgeConfluenceOptions, ApiClientAceOptions, ApiClientApOptions, };
|
|
8
8
|
/**
|
|
9
9
|
* The Confluence REST API V2 Client.
|
|
10
10
|
*
|
|
11
11
|
* @category API Clients
|
|
12
12
|
*/
|
|
13
13
|
export declare class ConfluenceApiV2 extends BaseConfluenceApiV2Client {
|
|
14
|
-
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
14
|
+
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
15
15
|
/**
|
|
16
16
|
* @category Constructor
|
|
17
17
|
*/
|
|
18
|
-
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
18
|
+
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
19
19
|
/**
|
|
20
20
|
* Switches the API client to the app context.
|
|
21
21
|
*
|
|
@@ -35,11 +35,11 @@ export declare class ConfluenceApiV2 extends BaseConfluenceApiV2Client {
|
|
|
35
35
|
* @category API Clients
|
|
36
36
|
*/
|
|
37
37
|
export declare class ConfluenceApiV1 extends BaseConfluenceApiV1Client {
|
|
38
|
-
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
38
|
+
protected options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>;
|
|
39
39
|
/**
|
|
40
40
|
* @category Constructor
|
|
41
41
|
*/
|
|
42
|
-
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
42
|
+
constructor(options: ApiClientOptions<ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeApiWithProviderOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions>);
|
|
43
43
|
/**
|
|
44
44
|
* Switches the API client to the app context.
|
|
45
45
|
*
|
package/lib/index.js
CHANGED
|
@@ -35,7 +35,7 @@ class ConfluenceApiV2 extends BaseConfluenceApiV2Client_1.BaseConfluenceApiV2Cli
|
|
|
35
35
|
* @category Constructor
|
|
36
36
|
*/
|
|
37
37
|
constructor(options) {
|
|
38
|
-
super((0, atlassian_api_common_1.getCommonApiClientOptions)(Object.assign(Object.assign({}, options), { basePath: "/wiki/api/v2" })));
|
|
38
|
+
super((0, atlassian_api_common_1.getCommonApiClientOptions)(Object.assign(Object.assign({}, options), { basePath: "/wiki/api/v2" }), "confluence"));
|
|
39
39
|
this.options = options;
|
|
40
40
|
/**
|
|
41
41
|
* Switches the API client to the app context.
|
|
@@ -62,7 +62,7 @@ class ConfluenceApiV1 extends BaseConfluenceApiV1Client_1.BaseConfluenceApiV1Cli
|
|
|
62
62
|
* @category Constructor
|
|
63
63
|
*/
|
|
64
64
|
constructor(options) {
|
|
65
|
-
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options));
|
|
65
|
+
super((0, atlassian_api_common_1.getCommonApiClientOptions)(options, "confluence"));
|
|
66
66
|
this.options = options;
|
|
67
67
|
/**
|
|
68
68
|
* 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;AAQjC,yFAZP,+BAAQ,OAYO;AANjB,sFAAmF;AACnF,sFAAmF;AAEnF,yEAAuD;AACvD,yEAAuD;AAavD,kFAAsH;AACtH,kFAAsH;AAEtH,iDAAmC,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAC5D,iDAAmC,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAE5D;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAOT;QAED,KAAK,CACH,IAAA,gDAAyB,kCAClB,OAAO,KAAE,QAAQ,EAAE,cAAc,KACtC,YAAY,CACb,CACF,CAAC;QAdQ,YAAO,GAAP,OAAO,CAOhB;QAUH;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAbtD,CAAC;CAcF;AAlCD,0CAkCC;AAED;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAOT;QAED,KAAK,CAAC,IAAA,gDAAyB,EAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;QAT9C,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resolution/confluence-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Confluence 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
|
}
|