@resolution/confluence-api-client 0.4.0 → 0.4.2
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 +23 -0
- package/README.md +125 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +49 -5
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +49 -5
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +3 -0
- package/lib/openapi/v1/services/AnalyticsService.js +3 -0
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +10 -3
- package/lib/openapi/v1/services/AuditService.js +10 -3
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +7 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js +7 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +4 -0
- package/lib/openapi/v1/services/ContentBodyService.js +4 -0
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +8 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +8 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +5 -1
- package/lib/openapi/v1/services/ContentCommentsService.js +5 -1
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +5 -0
- package/lib/openapi/v1/services/ContentLabelsService.js +5 -0
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +4 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js +4 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js +2 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +10 -1
- package/lib/openapi/v1/services/ContentPropertiesService.js +10 -1
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +16 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js +16 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +12 -1
- package/lib/openapi/v1/services/ContentService.js +12 -1
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +11 -0
- package/lib/openapi/v1/services/ContentStatesService.js +11 -0
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +5 -0
- package/lib/openapi/v1/services/ContentVersionsService.js +5 -0
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +13 -0
- package/lib/openapi/v1/services/ContentWatchesService.js +13 -0
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +4 -0
- package/lib/openapi/v1/services/DynamicModulesService.js +4 -0
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +9 -1
- package/lib/openapi/v1/services/ExperimentalService.js +9 -1
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +18 -1
- package/lib/openapi/v1/services/GroupService.js +18 -1
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +8 -2
- package/lib/openapi/v1/services/InlineTasksService.js +8 -2
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +2 -0
- package/lib/openapi/v1/services/LabelInfoService.js +2 -0
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +4 -1
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -1
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +6 -0
- package/lib/openapi/v1/services/RelationService.js +6 -0
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +3 -0
- package/lib/openapi/v1/services/SearchService.js +3 -0
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +9 -2
- package/lib/openapi/v1/services/SettingsService.js +9 -2
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +4 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js +4 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +10 -1
- package/lib/openapi/v1/services/SpacePropertiesService.js +10 -1
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +10 -1
- package/lib/openapi/v1/services/SpaceService.js +10 -1
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +3 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js +3 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +9 -2
- package/lib/openapi/v1/services/TemplateService.js +9 -2
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +8 -1
- package/lib/openapi/v1/services/ThemesService.js +8 -1
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +6 -0
- package/lib/openapi/v1/services/UserPropertiesService.js +6 -0
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +10 -2
- package/lib/openapi/v1/services/UsersService.js +10 -2
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +23 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +23 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +5 -0
- package/lib/openapi/v2/services/AncestorsService.js +5 -0
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +9 -1
- package/lib/openapi/v2/services/AttachmentService.js +9 -1
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +9 -1
- package/lib/openapi/v2/services/BlogPostService.js +9 -1
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +3 -0
- package/lib/openapi/v2/services/ChildrenService.js +3 -0
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +11 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js +11 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +21 -2
- package/lib/openapi/v2/services/CommentService.js +21 -2
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +41 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js +41 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +2 -0
- package/lib/openapi/v2/services/ContentService.js +2 -0
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +9 -0
- package/lib/openapi/v2/services/CustomContentService.js +9 -0
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +4 -1
- package/lib/openapi/v2/services/DataPoliciesService.js +4 -1
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +4 -0
- package/lib/openapi/v2/services/DatabaseService.js +4 -0
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +9 -1
- package/lib/openapi/v2/services/LabelService.js +9 -1
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +9 -0
- package/lib/openapi/v2/services/LikeService.js +9 -0
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +11 -0
- package/lib/openapi/v2/services/OperationService.js +11 -0
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +9 -1
- package/lib/openapi/v2/services/PageService.js +9 -1
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +4 -0
- package/lib/openapi/v2/services/SmartLinkService.js +4 -0
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +2 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js +2 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +6 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js +6 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -1
- package/lib/openapi/v2/services/SpaceService.js +4 -1
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +5 -1
- package/lib/openapi/v2/services/TaskService.js +5 -1
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +3 -0
- package/lib/openapi/v2/services/UserService.js +3 -0
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +13 -0
- package/lib/openapi/v2/services/VersionService.js +13 -0
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +4 -0
- package/lib/openapi/v2/services/WhiteboardService.js +4 -0
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -4
- package/lib/openapi/v1/BaseConfluenceV1ApiClient.d.ts +0 -133
- package/lib/openapi/v1/BaseConfluenceV1ApiClient.js +0 -122
- package/lib/openapi/v1/BaseConfluenceV1ApiClient.js.map +0 -1
- package/lib/openapi/v2/BaseConfluenceV2ApiClient.d.ts +0 -67
- package/lib/openapi/v2/BaseConfluenceV2ApiClient.js +0 -87
- package/lib/openapi/v2/BaseConfluenceV2ApiClient.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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.4.2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.4.1...v0.4.2) (2024-06-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* add base path to confluence v2 API ([8b1965c](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/8b1965ca84d55dd4bf9600c36006d7d61e8e2fcd))
|
|
12
|
+
* add links to JIRA/Confluence documentation ([64c19b2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/64c19b2b0d1685c0d64639c6a44314a253ad5529))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [0.4.1](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.4.0...v0.4.1) (2024-06-10)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* remove previous file versions when building ([3ff3a0a](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/3ff3a0a8dde8376aa551fd66d0b4ed1ac040ac79))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
# 0.4.0 (2024-06-10)
|
|
7
30
|
|
|
8
31
|
|
package/README.md
CHANGED
|
@@ -9,4 +9,128 @@ Compatible with the following request/fetch Atlassian libraries:
|
|
|
9
9
|
* [@forge/api](https://developer.atlassian.com/cloud/jira/platform/forge/)
|
|
10
10
|
* [@forge/bridge](https://developer.atlassian.com/cloud/jira/platform/forge/)
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
Install using npm
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm add @resolution/confluence-api-client
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Or using yarn
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
yarn add @resolution/confluence-api-client
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
### Connect
|
|
29
|
+
|
|
30
|
+
Inside Connect iframe:
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
import { ConfluenceApiV1, ConfluenceApiV2 } from '@resolution/confluence-api-client';
|
|
34
|
+
|
|
35
|
+
async function test() {
|
|
36
|
+
const confluenceApiV1 = new ConfluenceApiV1({ AP: window.AP });
|
|
37
|
+
const currentUser = await confluenceApiV1.users.getCurrentUser();
|
|
38
|
+
console.log("Current User:", currentUser);
|
|
39
|
+
|
|
40
|
+
const confluenceApiV2 = new ConfluenceApiV2({ AP: window.AP });
|
|
41
|
+
const spaces = await confluenceApiV2.space.getSpaces({ keys: ["SPACE"] });
|
|
42
|
+
console.log("Space:", spaces.results[0]);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
test().catch(console.error);
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
On the server side using `atlassian-connect-express`:
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
import atlassianConnectExpress from 'atlassian-connect-express';
|
|
52
|
+
import { ConfluenceApiV1, ConfluenceApiV2 } from '@resolution/confluence-api-client';
|
|
53
|
+
|
|
54
|
+
const app = express();
|
|
55
|
+
const ace = atlassianConnectExpress(app);
|
|
56
|
+
|
|
57
|
+
app.use(ace.authenticate());
|
|
58
|
+
|
|
59
|
+
app.get('/current-user', async () => {
|
|
60
|
+
const confluenceApiV1 = new ConfluenceApiV1({ ace, clientKey: req.context.clientKey });
|
|
61
|
+
const currentUser = await confluenceApiV1.users.getCurrentUser();
|
|
62
|
+
res.status(200).send(currentUser);
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
app.get('/spaces/:spaceKey', async () => {
|
|
66
|
+
const confluenceApiV2 = new ConfluenceApiV2({ ace, clientKey: req.context.clientKey });
|
|
67
|
+
const spaces = await confluenceApiV2.space.getSpaces({ keys: [req.params.spaceKey] });
|
|
68
|
+
res.status(200).send(spaces.results[0]);
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
app.listen(3000);
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Forge
|
|
75
|
+
|
|
76
|
+
Inside Forge iframe:
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
import { ConfluenceApiV1, ConfluenceApiV2 } from '@resolution/confluence-api-client';
|
|
80
|
+
import { requestConfluence } from '@forge/bridge';
|
|
81
|
+
|
|
82
|
+
async function test() {
|
|
83
|
+
const confluenceApiV1 = new ConfluenceApiV1({ requestConfluence });
|
|
84
|
+
const currentUser = await confluenceApiV1.users.getCurrentUser();
|
|
85
|
+
console.log("Current User:", currentUser);
|
|
86
|
+
|
|
87
|
+
const confluenceApiV2 = new ConfluenceApiV2({ requestConfluence });
|
|
88
|
+
const spaces = await confluenceApiV2.space.getSpaces({ keys: ["SPACE"] });
|
|
89
|
+
console.log("Space:", spaces.results[0]);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
test().catch(console.error);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
On the server side using `@forge/api`:
|
|
96
|
+
|
|
97
|
+
```typescript
|
|
98
|
+
import { ConfluenceApiV1, ConfluenceApiV2 } from '@resolution/confluence-api-client';
|
|
99
|
+
import * as forgeApi from '@forge/api';
|
|
100
|
+
|
|
101
|
+
export const handler = async ({ payload }) => {
|
|
102
|
+
const confluenceApiV1 = new ConfluenceApiV1({ forgeApi });
|
|
103
|
+
const currentUser = await confluenceApiV1.users.getCurrentUser();
|
|
104
|
+
|
|
105
|
+
const confluenceApiV2 = new ConfluenceApiV2({ forgeApi });
|
|
106
|
+
const spaces = await confluenceApiV2.space.getSpaces({ keys: [payload.spaceKey] });
|
|
107
|
+
|
|
108
|
+
return { currentUser, space: spaces.results[0] };
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
External fetch on the server side:
|
|
113
|
+
|
|
114
|
+
```typescript
|
|
115
|
+
import { ConfluenceApiV1, ConfluenceApiV2 } from '@resolution/confluence-api-client';
|
|
116
|
+
import { fetch } from "@forge/api";
|
|
117
|
+
|
|
118
|
+
const baseUrl = "https://your-jira-instance.atlassian.net";
|
|
119
|
+
|
|
120
|
+
export const handler = async ({ payload }) => {
|
|
121
|
+
const confluenceApiV1 = new ConfluenceApiV1({ fetch, baseUrl });
|
|
122
|
+
const currentUser = await confluenceApiV1.users.getCurrentUser();
|
|
123
|
+
|
|
124
|
+
const confluenceApiV2 = new ConfluenceApiV2({ fetch, baseUrl });
|
|
125
|
+
const spaces = await confluenceApiV2.space.getSpaces({ keys: [payload.spaceKey] });
|
|
126
|
+
|
|
127
|
+
return { currentUser, space: spaces.results[0] };
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## References
|
|
132
|
+
|
|
133
|
+
* [Confluence API V1](https://developer.atlassian.com/cloud/confluence/rest/v1/intro/)
|
|
134
|
+
* [Confluence API V2](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/)
|
|
135
|
+
* [Atlassian Connect for Confluence](https://developer.atlassian.com/cloud/confluence/getting-started-with-connect/)
|
|
136
|
+
* [Atlassian Forge for Confluence](https://developer.atlassian.com/cloud/confluence/getting-started-with-forge/)
|
package/lib/index.js
CHANGED
|
@@ -30,7 +30,7 @@ validationSchemaStorage_1.validationSchemaStorage.setErrorClass(atlassian_api_co
|
|
|
30
30
|
*/
|
|
31
31
|
class ConfluenceApiV2 extends BaseConfluenceApiV2Client_1.BaseConfluenceApiV2Client {
|
|
32
32
|
constructor(options) {
|
|
33
|
-
super((0, atlassian_api_common_1.getApiClientOptions)(options));
|
|
33
|
+
super((0, atlassian_api_common_1.getApiClientOptions)(Object.assign(Object.assign({}, options), { basePath: "/wiki/api/v2" })));
|
|
34
34
|
this.options = options;
|
|
35
35
|
/**
|
|
36
36
|
* 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,2EAW0C;AAQjC,yFAdP,+BAAQ,OAcO;AANjB,sFAAmF;AACnF,sFAAmF;AAEnF,yEAAuD;AACvD,yEAAuD;AAIvD,kFAAkH;AAClH,kFAAkH;AAElH,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACxD,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAExD;;GAEG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAW0C;AAQjC,yFAdP,+BAAQ,OAcO;AANjB,sFAAmF;AACnF,sFAAmF;AAEnF,yEAAuD;AACvD,yEAAuD;AAIvD,kFAAkH;AAClH,kFAAkH;AAElH,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACxD,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAExD;;GAEG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,kCAAM,OAAO,KAAE,QAAQ,EAAE,cAAc,IAAG,CAAC,CAAC;QAP3D,YAAO,GAAP,OAAO,CAKK;QAKxB;;WAEG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;WAEG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IATtD,CAAC;CAUF;AApBD,0CAoBC;AAED;;GAEG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB;;WAEG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;WAEG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IARtD,CAAC;CASF;AAnBD,0CAmBC"}
|
|
@@ -84,48 +84,92 @@ export declare class BaseConfluenceApiV1ClientError extends commonHttpClient.Com
|
|
|
84
84
|
export declare class BaseConfluenceApiV1Client extends CommonHttpService {
|
|
85
85
|
client: commonHttpClient.CommonHttpClient;
|
|
86
86
|
getClient: () => commonHttpClient.CommonHttpClient;
|
|
87
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics */
|
|
87
88
|
analytics: AnalyticsService;
|
|
89
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit */
|
|
88
90
|
audit: AuditService;
|
|
91
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments */
|
|
89
92
|
contentAttachments: ContentAttachmentsService;
|
|
93
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body */
|
|
90
94
|
contentBody: ContentBodyService;
|
|
95
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants */
|
|
91
96
|
contentChildrenAndDescendants: ContentChildrenAndDescendantsService;
|
|
92
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* @deprecated
|
|
99
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-comments
|
|
100
|
+
*/
|
|
93
101
|
contentComments: ContentCommentsService;
|
|
102
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels */
|
|
94
103
|
contentLabels: ContentLabelsService;
|
|
104
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-macro-body */
|
|
95
105
|
contentMacroBody: ContentMacroBodyService;
|
|
106
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-permissions */
|
|
96
107
|
contentPermissions: ContentPermissionsService;
|
|
97
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated
|
|
110
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-properties
|
|
111
|
+
*/
|
|
98
112
|
contentProperties: ContentPropertiesService;
|
|
113
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions */
|
|
99
114
|
contentRestrictions: ContentRestrictionsService;
|
|
115
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content */
|
|
100
116
|
content: ContentService;
|
|
117
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-states */
|
|
101
118
|
contentStates: ContentStatesService;
|
|
119
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions */
|
|
102
120
|
contentVersions: ContentVersionsService;
|
|
121
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches */
|
|
103
122
|
contentWatches: ContentWatchesService;
|
|
123
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules */
|
|
104
124
|
dynamicModules: DynamicModulesService;
|
|
105
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* APIs in this section can change without any prior deprecation notice.
|
|
127
|
+
*
|
|
128
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental
|
|
129
|
+
*/
|
|
106
130
|
experimental: ExperimentalService;
|
|
107
131
|
/**
|
|
108
132
|
* **[WARNING](https://support.atlassian.com/user-management/docs/create-and-update-groups/)
|
|
109
133
|
* The standard Atlassian group names are default names only and can be edited or
|
|
110
134
|
* deleted.** For example, an admin or Atlassian support could delete the default
|
|
111
135
|
* group jira-software-users or rename it to jsw-users at any point.
|
|
136
|
+
*
|
|
137
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group
|
|
112
138
|
*/
|
|
113
139
|
group: GroupService;
|
|
114
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated
|
|
142
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-inline-tasks
|
|
143
|
+
*/
|
|
115
144
|
inlineTasks: InlineTasksService;
|
|
145
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-label-info */
|
|
116
146
|
labelInfo: LabelInfoService;
|
|
147
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task */
|
|
117
148
|
longRunningTask: LongRunningTaskService;
|
|
149
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation */
|
|
118
150
|
relation: RelationService;
|
|
151
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search */
|
|
119
152
|
search: SearchService;
|
|
153
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings */
|
|
120
154
|
settings: SettingsService;
|
|
155
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions */
|
|
121
156
|
spacePermissions: SpacePermissionsService;
|
|
122
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* @deprecated
|
|
159
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties
|
|
160
|
+
*/
|
|
123
161
|
spaceProperties: SpacePropertiesService;
|
|
162
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space */
|
|
124
163
|
space: SpaceService;
|
|
164
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings */
|
|
125
165
|
spaceSettings: SpaceSettingsService;
|
|
166
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template */
|
|
126
167
|
template: TemplateService;
|
|
168
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes */
|
|
127
169
|
themes: ThemesService;
|
|
170
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties */
|
|
128
171
|
userProperties: UserPropertiesService;
|
|
172
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users */
|
|
129
173
|
users: UsersService;
|
|
130
174
|
constructor(options?: BaseConfluenceApiV1ClientOptions);
|
|
131
175
|
static createClientWithServices: typeof commonHttpClient.createClientWithServices;
|
|
@@ -70,48 +70,92 @@ class BaseConfluenceApiV1Client extends CommonHttpService_1.CommonHttpService {
|
|
|
70
70
|
errorClass: BaseConfluenceApiV1ClientError,
|
|
71
71
|
});
|
|
72
72
|
this.getClient = () => this.client;
|
|
73
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics */
|
|
73
74
|
this.analytics = new AnalyticsService_1.AnalyticsService(this.getClient);
|
|
75
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit */
|
|
74
76
|
this.audit = new AuditService_1.AuditService(this.getClient);
|
|
77
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments */
|
|
75
78
|
this.contentAttachments = new ContentAttachmentsService_1.ContentAttachmentsService(this.getClient);
|
|
79
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body */
|
|
76
80
|
this.contentBody = new ContentBodyService_1.ContentBodyService(this.getClient);
|
|
81
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants */
|
|
77
82
|
this.contentChildrenAndDescendants = new ContentChildrenAndDescendantsService_1.ContentChildrenAndDescendantsService(this.getClient);
|
|
78
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated
|
|
85
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-comments
|
|
86
|
+
*/
|
|
79
87
|
this.contentComments = new ContentCommentsService_1.ContentCommentsService(this.getClient);
|
|
88
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels */
|
|
80
89
|
this.contentLabels = new ContentLabelsService_1.ContentLabelsService(this.getClient);
|
|
90
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-macro-body */
|
|
81
91
|
this.contentMacroBody = new ContentMacroBodyService_1.ContentMacroBodyService(this.getClient);
|
|
92
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-permissions */
|
|
82
93
|
this.contentPermissions = new ContentPermissionsService_1.ContentPermissionsService(this.getClient);
|
|
83
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* @deprecated
|
|
96
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-properties
|
|
97
|
+
*/
|
|
84
98
|
this.contentProperties = new ContentPropertiesService_1.ContentPropertiesService(this.getClient);
|
|
99
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions */
|
|
85
100
|
this.contentRestrictions = new ContentRestrictionsService_1.ContentRestrictionsService(this.getClient);
|
|
101
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content */
|
|
86
102
|
this.content = new ContentService_1.ContentService(this.getClient);
|
|
103
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-states */
|
|
87
104
|
this.contentStates = new ContentStatesService_1.ContentStatesService(this.getClient);
|
|
105
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions */
|
|
88
106
|
this.contentVersions = new ContentVersionsService_1.ContentVersionsService(this.getClient);
|
|
107
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches */
|
|
89
108
|
this.contentWatches = new ContentWatchesService_1.ContentWatchesService(this.getClient);
|
|
109
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules */
|
|
90
110
|
this.dynamicModules = new DynamicModulesService_1.DynamicModulesService(this.getClient);
|
|
91
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* APIs in this section can change without any prior deprecation notice.
|
|
113
|
+
*
|
|
114
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental
|
|
115
|
+
*/
|
|
92
116
|
this.experimental = new ExperimentalService_1.ExperimentalService(this.getClient);
|
|
93
117
|
/**
|
|
94
118
|
* **[WARNING](https://support.atlassian.com/user-management/docs/create-and-update-groups/)
|
|
95
119
|
* The standard Atlassian group names are default names only and can be edited or
|
|
96
120
|
* deleted.** For example, an admin or Atlassian support could delete the default
|
|
97
121
|
* group jira-software-users or rename it to jsw-users at any point.
|
|
122
|
+
*
|
|
123
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group
|
|
98
124
|
*/
|
|
99
125
|
this.group = new GroupService_1.GroupService(this.getClient);
|
|
100
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* @deprecated
|
|
128
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-inline-tasks
|
|
129
|
+
*/
|
|
101
130
|
this.inlineTasks = new InlineTasksService_1.InlineTasksService(this.getClient);
|
|
131
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-label-info */
|
|
102
132
|
this.labelInfo = new LabelInfoService_1.LabelInfoService(this.getClient);
|
|
133
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task */
|
|
103
134
|
this.longRunningTask = new LongRunningTaskService_1.LongRunningTaskService(this.getClient);
|
|
135
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation */
|
|
104
136
|
this.relation = new RelationService_1.RelationService(this.getClient);
|
|
137
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search */
|
|
105
138
|
this.search = new SearchService_1.SearchService(this.getClient);
|
|
139
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings */
|
|
106
140
|
this.settings = new SettingsService_1.SettingsService(this.getClient);
|
|
141
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions */
|
|
107
142
|
this.spacePermissions = new SpacePermissionsService_1.SpacePermissionsService(this.getClient);
|
|
108
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* @deprecated
|
|
145
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties
|
|
146
|
+
*/
|
|
109
147
|
this.spaceProperties = new SpacePropertiesService_1.SpacePropertiesService(this.getClient);
|
|
148
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space */
|
|
110
149
|
this.space = new SpaceService_1.SpaceService(this.getClient);
|
|
150
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings */
|
|
111
151
|
this.spaceSettings = new SpaceSettingsService_1.SpaceSettingsService(this.getClient);
|
|
152
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template */
|
|
112
153
|
this.template = new TemplateService_1.TemplateService(this.getClient);
|
|
154
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes */
|
|
113
155
|
this.themes = new ThemesService_1.ThemesService(this.getClient);
|
|
156
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties */
|
|
114
157
|
this.userProperties = new UserPropertiesService_1.UserPropertiesService(this.getClient);
|
|
158
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users */
|
|
115
159
|
this.users = new UsersService_1.UsersService(this.getClient);
|
|
116
160
|
this.client.setOptions(Object.assign(Object.assign({}, this.client.getOptions()), options));
|
|
117
161
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseConfluenceApiV1Client.js","sourceRoot":"","sources":["../../../src/openapi/v1/BaseConfluenceApiV1Client.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,4DAA4D;AAC5D,gEAA6D;AAoM7D,kEAA+D;AAC/D,0DAAuD;AACvD,oFAAiF;AACjF,sEAAmE;AACnE,0GAAuG;AACvG,8EAA2E;AAC3E,0EAAuE;AACvE,gFAA6E;AAC7E,oFAAiF;AACjF,kFAA+E;AAC/E,sFAAmF;AACnF,8DAA2D;AAC3D,0EAAuE;AACvE,8EAA2E;AAC3E,4EAAyE;AACzE,4EAAyE;AACzE,wEAAqE;AACrE,0DAAuD;AACvD,sEAAmE;AACnE,kEAA+D;AAC/D,8EAA2E;AAC3E,gEAA6D;AAC7D,4DAAyD;AACzD,gEAA6D;AAC7D,gFAA6E;AAC7E,8EAA2E;AAC3E,0DAAuD;AACvD,0EAAuE;AACvE,gEAA6D;AAC7D,4DAAyD;AACzD,4EAAyE;AACzE,0DAAuD;AACvD,uEAAoE;AAGpE,MAAa,8BAA+B,SAAQ,gBAAgB,CAAC,qBAAqB;IAA1F;;QACE,SAAI,GAAG,gCAAgC,CAAC;IAC1C,CAAC;CAAA;AAFD,wEAEC;AACD;;;;;;;;;;;;;;GAcG;AACH,MAAa,yBAA0B,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"BaseConfluenceApiV1Client.js","sourceRoot":"","sources":["../../../src/openapi/v1/BaseConfluenceApiV1Client.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,4DAA4D;AAC5D,gEAA6D;AAoM7D,kEAA+D;AAC/D,0DAAuD;AACvD,oFAAiF;AACjF,sEAAmE;AACnE,0GAAuG;AACvG,8EAA2E;AAC3E,0EAAuE;AACvE,gFAA6E;AAC7E,oFAAiF;AACjF,kFAA+E;AAC/E,sFAAmF;AACnF,8DAA2D;AAC3D,0EAAuE;AACvE,8EAA2E;AAC3E,4EAAyE;AACzE,4EAAyE;AACzE,wEAAqE;AACrE,0DAAuD;AACvD,sEAAmE;AACnE,kEAA+D;AAC/D,8EAA2E;AAC3E,gEAA6D;AAC7D,4DAAyD;AACzD,gEAA6D;AAC7D,gFAA6E;AAC7E,8EAA2E;AAC3E,0DAAuD;AACvD,0EAAuE;AACvE,gEAA6D;AAC7D,4DAAyD;AACzD,4EAAyE;AACzE,0DAAuD;AACvD,uEAAoE;AAGpE,MAAa,8BAA+B,SAAQ,gBAAgB,CAAC,qBAAqB;IAA1F;;QACE,SAAI,GAAG,gCAAgC,CAAC;IAC1C,CAAC;CAAA;AAFD,wEAEC;AACD;;;;;;;;;;;;;;GAcG;AACH,MAAa,yBAA0B,SAAQ,qCAAiB;IAgG9D,YAAY,OAA0C;QACpD,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAhG3B,WAAM,GAAG,IAAI,gBAAgB,CAAC,gBAAgB,CAAC;YAC7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BAAa,GAAG,IAAI,2CAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACzD,uFAAuF;QACvF,aAAQ,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/C,qFAAqF;QACrF,WAAM,GAAG,IAAI,6BAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3C,8FAA8F;QAC9F,mBAAc,GAAG,IAAI,6CAAqB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3D,oFAAoF;QACpF,UAAK,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAGvC,IAAI,CAAC,MAAM,CAAC,UAAU,iCACjB,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,GACxB,OAAO,EACV,CAAC;IACL,CAAC;;AAtGH,8DAwGC;AADQ,kDAAwB,GAAG,gBAAgB,CAAC,wBAAwB,AAA5C,CAA6C;AAE9E,iDAAuB,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics */
|
|
2
3
|
export declare class AnalyticsService extends CommonHttpService {
|
|
3
4
|
/**
|
|
4
5
|
* Get the total number of distinct viewers a piece of content has.
|
|
@@ -7,6 +8,7 @@ export declare class AnalyticsService extends CommonHttpService {
|
|
|
7
8
|
* @path {GET} /wiki/rest/api/analytics/content/{contentId}/viewers
|
|
8
9
|
* @scopes-current read:confluence-content.summary
|
|
9
10
|
* @scopes-beta read:analytics.content:confluence
|
|
11
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics#api-wiki-rest-api-analytics-content-contentid-viewers-get
|
|
10
12
|
*/
|
|
11
13
|
getViewers({ contentId, fromDate, }: {
|
|
12
14
|
/** The ID of the content to get the viewers for. */
|
|
@@ -32,6 +34,7 @@ export declare class AnalyticsService extends CommonHttpService {
|
|
|
32
34
|
* @path {GET} /wiki/rest/api/analytics/content/{contentId}/views
|
|
33
35
|
* @scopes-current read:confluence-content.summary
|
|
34
36
|
* @scopes-beta read:analytics.content:confluence
|
|
37
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics#api-wiki-rest-api-analytics-content-contentid-views-get
|
|
35
38
|
*/
|
|
36
39
|
getViews({ contentId, fromDate, }: {
|
|
37
40
|
/** The ID of the content to get the views for. */
|
|
@@ -8,6 +8,7 @@ const zod_1 = require("zod");
|
|
|
8
8
|
const commonHttpClient = require("../core/CommonHttpClient");
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
11
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics */
|
|
11
12
|
class AnalyticsService extends CommonHttpService_1.CommonHttpService {
|
|
12
13
|
/**
|
|
13
14
|
* Get the total number of distinct viewers a piece of content has.
|
|
@@ -16,6 +17,7 @@ class AnalyticsService extends CommonHttpService_1.CommonHttpService {
|
|
|
16
17
|
* @path {GET} /wiki/rest/api/analytics/content/{contentId}/viewers
|
|
17
18
|
* @scopes-current read:confluence-content.summary
|
|
18
19
|
* @scopes-beta read:analytics.content:confluence
|
|
20
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics#api-wiki-rest-api-analytics-content-contentid-viewers-get
|
|
19
21
|
*/
|
|
20
22
|
getViewers({ contentId, fromDate, }) {
|
|
21
23
|
return this.getClientInstance()
|
|
@@ -45,6 +47,7 @@ class AnalyticsService extends CommonHttpService_1.CommonHttpService {
|
|
|
45
47
|
* @path {GET} /wiki/rest/api/analytics/content/{contentId}/views
|
|
46
48
|
* @scopes-current read:confluence-content.summary
|
|
47
49
|
* @scopes-beta read:analytics.content:confluence
|
|
50
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics#api-wiki-rest-api-analytics-content-contentid-views-get
|
|
48
51
|
*/
|
|
49
52
|
getViews({ contentId, fromDate, }) {
|
|
50
53
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/AnalyticsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,wEAAqE;AACrE,MAAa,gBAAiB,SAAQ,qCAAiB;IACrD
|
|
1
|
+
{"version":3,"file":"AnalyticsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/AnalyticsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,wEAAqE;AACrE,wFAAwF;AACxF,MAAa,gBAAiB,SAAQ,qCAAiB;IACrD;;;;;;;;OAQG;IACH,UAAU,CAAC,EACT,SAAS,EACT,QAAQ,GAUT;QAUC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,sDAAsD;YAC5D,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,SAAS;aACV;YACD,KAAK,EAAE;gBACL,QAAQ;aACT;SACF,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EASzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,sCAAsC,CACvC,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;OAQG;IACH,QAAQ,CAAC,EACP,SAAS,EACT,QAAQ,G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M,CAAC;gBACN,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;gBAC/B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;aACnC,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,oCAAoC,CAAC,CAClD,CAAC;IACJ,CAAC;CACF;AAvKD,4CAuKC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as commonHttpClient from "../core/CommonHttpClient";
|
|
2
2
|
import { CommonHttpService } from "../core/CommonHttpService";
|
|
3
3
|
import { type AuditRecord, type AuditRecordArray, type AuditRecordCreate, type RetentionPeriod } from "../models/audit";
|
|
4
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit */
|
|
4
5
|
export declare class AuditService extends CommonHttpService {
|
|
5
6
|
/**
|
|
6
7
|
* Creates a record in the audit log.
|
|
@@ -11,6 +12,7 @@ export declare class AuditService extends CommonHttpService {
|
|
|
11
12
|
* @returns Returned if the record is created in the audit log.
|
|
12
13
|
* @path {POST} /wiki/rest/api/audit
|
|
13
14
|
* @scopes-current read:audit-log:confluence, write:audit-log:confluence
|
|
15
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-post
|
|
14
16
|
*/
|
|
15
17
|
createAuditRecord({ auditRecordCreate, }: {
|
|
16
18
|
/** The record to be created in the audit log. */
|
|
@@ -31,8 +33,9 @@ export declare class AuditService extends CommonHttpService {
|
|
|
31
33
|
* Returned if the requested export of the audit records is returned.
|
|
32
34
|
* @path {GET} /wiki/rest/api/audit/export
|
|
33
35
|
* @scopes-current read:audit-log:confluence
|
|
36
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-export-get
|
|
34
37
|
*/
|
|
35
|
-
exportAuditRecords({ startDate, endDate, searchString, format, }
|
|
38
|
+
exportAuditRecords({ startDate, endDate, searchString, format, }?: {
|
|
36
39
|
/**
|
|
37
40
|
* Filters the exported results to the records on or after the `startDate`.
|
|
38
41
|
* The `startDate` must be specified as [epoch
|
|
@@ -70,8 +73,9 @@ export declare class AuditService extends CommonHttpService {
|
|
|
70
73
|
* @returns Returned if the requested records are returned.
|
|
71
74
|
* @path {GET} /wiki/rest/api/audit
|
|
72
75
|
* @scopes-current read:audit-log:confluence
|
|
76
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-get
|
|
73
77
|
*/
|
|
74
|
-
getAuditRecords({ startDate, endDate, searchString, start, limit, }
|
|
78
|
+
getAuditRecords({ startDate, endDate, searchString, start, limit, }?: {
|
|
75
79
|
/**
|
|
76
80
|
* Filters the results to the records on or after the `startDate`.
|
|
77
81
|
* The `startDate` must be specified as [epoch
|
|
@@ -112,8 +116,9 @@ export declare class AuditService extends CommonHttpService {
|
|
|
112
116
|
* @returns Returned if the requested records are returned.
|
|
113
117
|
* @path {GET} /wiki/rest/api/audit/since
|
|
114
118
|
* @scopes-current read:audit-log:confluence
|
|
119
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-since-get
|
|
115
120
|
*/
|
|
116
|
-
getAuditRecordsForTimePeriod({ number, units, searchString, start, limit, }
|
|
121
|
+
getAuditRecordsForTimePeriod({ number, units, searchString, start, limit, }?: {
|
|
117
122
|
/** The number of units for the time period. */
|
|
118
123
|
number?: number;
|
|
119
124
|
/** The unit of time that the time period is measured in. */
|
|
@@ -142,6 +147,7 @@ export declare class AuditService extends CommonHttpService {
|
|
|
142
147
|
* @returns Returned if the requested retention period is returned.
|
|
143
148
|
* @path {GET} /wiki/rest/api/audit/retention
|
|
144
149
|
* @scopes-current read:audit-log:confluence
|
|
150
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-retention-get
|
|
145
151
|
*/
|
|
146
152
|
getRetentionPeriod(): Promise<RetentionPeriod>;
|
|
147
153
|
/**
|
|
@@ -154,6 +160,7 @@ export declare class AuditService extends CommonHttpService {
|
|
|
154
160
|
* @returns Returned if the retention period is updated.
|
|
155
161
|
* @path {PUT} /wiki/rest/api/audit/retention
|
|
156
162
|
* @scopes-current write:audit-log:confluence
|
|
163
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-retention-put
|
|
157
164
|
*/
|
|
158
165
|
setRetentionPeriod({ retentionPeriod, }: {
|
|
159
166
|
/** The updated retention period. */
|
|
@@ -9,6 +9,7 @@ const commonHttpClient = require("../core/CommonHttpClient");
|
|
|
9
9
|
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
10
|
const audit_1 = require("../models/audit");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit */
|
|
12
13
|
class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
13
14
|
/**
|
|
14
15
|
* Creates a record in the audit log.
|
|
@@ -19,6 +20,7 @@ class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
|
19
20
|
* @returns Returned if the record is created in the audit log.
|
|
20
21
|
* @path {POST} /wiki/rest/api/audit
|
|
21
22
|
* @scopes-current read:audit-log:confluence, write:audit-log:confluence
|
|
23
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-post
|
|
22
24
|
*/
|
|
23
25
|
createAuditRecord({ auditRecordCreate, }) {
|
|
24
26
|
return this.getClientInstance()
|
|
@@ -54,8 +56,9 @@ class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
|
54
56
|
* Returned if the requested export of the audit records is returned.
|
|
55
57
|
* @path {GET} /wiki/rest/api/audit/export
|
|
56
58
|
* @scopes-current read:audit-log:confluence
|
|
59
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-export-get
|
|
57
60
|
*/
|
|
58
|
-
exportAuditRecords({ startDate, endDate, searchString, format, }) {
|
|
61
|
+
exportAuditRecords({ startDate, endDate, searchString, format, } = {}) {
|
|
59
62
|
return this.getClientInstance()
|
|
60
63
|
.request({
|
|
61
64
|
path: "/wiki/rest/api/audit/export",
|
|
@@ -89,8 +92,9 @@ class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
|
89
92
|
* @returns Returned if the requested records are returned.
|
|
90
93
|
* @path {GET} /wiki/rest/api/audit
|
|
91
94
|
* @scopes-current read:audit-log:confluence
|
|
95
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-get
|
|
92
96
|
*/
|
|
93
|
-
getAuditRecords({ startDate, endDate, searchString, start, limit, }) {
|
|
97
|
+
getAuditRecords({ startDate, endDate, searchString, start, limit, } = {}) {
|
|
94
98
|
return this.getClientInstance()
|
|
95
99
|
.request({
|
|
96
100
|
path: "/wiki/rest/api/audit",
|
|
@@ -127,8 +131,9 @@ class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
|
127
131
|
* @returns Returned if the requested records are returned.
|
|
128
132
|
* @path {GET} /wiki/rest/api/audit/since
|
|
129
133
|
* @scopes-current read:audit-log:confluence
|
|
134
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-since-get
|
|
130
135
|
*/
|
|
131
|
-
getAuditRecordsForTimePeriod({ number, units, searchString, start, limit, }) {
|
|
136
|
+
getAuditRecordsForTimePeriod({ number, units, searchString, start, limit, } = {}) {
|
|
132
137
|
return this.getClientInstance()
|
|
133
138
|
.request({
|
|
134
139
|
path: "/wiki/rest/api/audit/since",
|
|
@@ -161,6 +166,7 @@ class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
|
161
166
|
* @returns Returned if the requested retention period is returned.
|
|
162
167
|
* @path {GET} /wiki/rest/api/audit/retention
|
|
163
168
|
* @scopes-current read:audit-log:confluence
|
|
169
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-retention-get
|
|
164
170
|
*/
|
|
165
171
|
getRetentionPeriod() {
|
|
166
172
|
return this.getClientInstance()
|
|
@@ -187,6 +193,7 @@ class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
|
187
193
|
* @returns Returned if the retention period is updated.
|
|
188
194
|
* @path {PUT} /wiki/rest/api/audit/retention
|
|
189
195
|
* @scopes-current write:audit-log:confluence
|
|
196
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit#api-wiki-rest-api-audit-retention-put
|
|
190
197
|
*/
|
|
191
198
|
setRetentionPeriod({ retentionPeriod, }) {
|
|
192
199
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuditService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/AuditService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,2CAMyB;AACzB,wEAAqE;AACrE,MAAa,YAAa,SAAQ,qCAAiB;IACjD
|
|
1
|
+
{"version":3,"file":"AuditService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/AuditService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,2CAMyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IACjD;;;;;;;;;;OAUG;IACH,iBAAiB,CAAC,EAChB,iBAAiB,GAIlB;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,sBAAsB;YAC5B,MAAM,EAAE,MAAM;YACd,OAAO,EAA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