@resolution/confluence-api-client 0.4.4 → 0.4.6
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 +22 -0
- package/README.md +60 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +32 -33
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +151 -88
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v1/core/CommonHttpService.js +9 -0
- package/lib/openapi/v1/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +10 -10
- package/lib/openapi/v1/services/AnalyticsService.js +62 -59
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +25 -25
- package/lib/openapi/v1/services/AuditService.js +205 -202
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +20 -20
- package/lib/openapi/v1/services/ContentAttachmentsService.js +317 -314
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +15 -15
- package/lib/openapi/v1/services/ContentBodyService.js +140 -137
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +27 -27
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +391 -388
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +8 -8
- package/lib/openapi/v1/services/ContentCommentsService.js +49 -46
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +11 -11
- package/lib/openapi/v1/services/ContentLabelsService.js +150 -147
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentMacroBodyService.js +155 -152
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +48 -45
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +18 -18
- package/lib/openapi/v1/services/ContentPropertiesService.js +237 -234
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +49 -49
- package/lib/openapi/v1/services/ContentRestrictionsService.js +505 -502
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +50 -50
- package/lib/openapi/v1/services/ContentService.js +475 -472
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +25 -25
- package/lib/openapi/v1/services/ContentStatesService.js +359 -356
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentVersionsService.js +144 -141
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +57 -57
- package/lib/openapi/v1/services/ContentWatchesService.js +454 -451
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -5
- package/lib/openapi/v1/services/DynamicModulesService.js +70 -67
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -12
- package/lib/openapi/v1/services/ExperimentalService.js +151 -148
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +52 -52
- package/lib/openapi/v1/services/GroupService.js +445 -442
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +20 -20
- package/lib/openapi/v1/services/InlineTasksService.js +118 -115
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +5 -5
- package/lib/openapi/v1/services/LabelInfoService.js +37 -34
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +8 -6
- package/lib/openapi/v1/services/LongRunningTaskService.js +67 -63
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +37 -37
- package/lib/openapi/v1/services/RelationService.js +231 -228
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +20 -20
- package/lib/openapi/v1/services/SearchService.js +136 -133
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +15 -15
- package/lib/openapi/v1/services/SettingsService.js +204 -201
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v1/services/SpacePermissionsService.js +99 -96
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +16 -16
- package/lib/openapi/v1/services/SpacePropertiesService.js +227 -224
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +38 -38
- package/lib/openapi/v1/services/SpaceService.js +320 -317
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -4
- package/lib/openapi/v1/services/SpaceSettingsService.js +68 -65
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +20 -20
- package/lib/openapi/v1/services/TemplateService.js +214 -211
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +13 -13
- package/lib/openapi/v1/services/ThemesService.js +179 -176
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +12 -12
- package/lib/openapi/v1/services/UserPropertiesService.js +165 -162
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +21 -21
- package/lib/openapi/v1/services/UsersService.js +229 -226
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +23 -24
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +92 -47
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/core/CommonHttpService.d.ts +2 -0
- package/lib/openapi/v2/core/CommonHttpService.js +9 -0
- package/lib/openapi/v2/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +0 -2
- package/lib/openapi/v2/models/user.js +0 -2
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +17 -17
- package/lib/openapi/v2/services/AncestorsService.js +174 -171
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +62 -62
- package/lib/openapi/v2/services/AttachmentService.js +261 -258
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +70 -70
- package/lib/openapi/v2/services/BlogPostService.js +270 -267
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +14 -14
- package/lib/openapi/v2/services/ChildrenService.js +77 -74
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +21 -21
- package/lib/openapi/v2/services/ClassificationLevelService.js +304 -301
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +136 -136
- package/lib/openapi/v2/services/CommentService.js +635 -632
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +128 -128
- package/lib/openapi/v2/services/ContentPropertiesService.js +1242 -1239
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +2 -2
- package/lib/openapi/v2/services/ContentService.js +40 -37
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +72 -72
- package/lib/openapi/v2/services/CustomContentService.js +299 -296
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +10 -10
- package/lib/openapi/v2/services/DataPoliciesService.js +67 -64
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +17 -17
- package/lib/openapi/v2/services/DatabaseService.js +90 -87
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +57 -57
- package/lib/openapi/v2/services/LabelService.js +263 -260
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +36 -36
- package/lib/openapi/v2/services/LikeService.js +250 -247
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +20 -20
- package/lib/openapi/v2/services/OperationService.js +298 -295
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +73 -73
- package/lib/openapi/v2/services/PageService.js +272 -269
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +19 -17
- package/lib/openapi/v2/services/SmartLinkService.js +92 -89
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +6 -6
- package/lib/openapi/v2/services/SpacePermissionsService.js +35 -32
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +15 -15
- package/lib/openapi/v2/services/SpacePropertiesService.js +165 -162
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +28 -28
- package/lib/openapi/v2/services/SpaceService.js +83 -80
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +40 -40
- package/lib/openapi/v2/services/TaskService.js +120 -117
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +11 -11
- package/lib/openapi/v2/services/UserService.js +91 -88
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +59 -59
- package/lib/openapi/v2/services/VersionService.js +395 -392
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +17 -17
- package/lib/openapi/v2/services/WhiteboardService.js +90 -87
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -3
|
@@ -12,232 +12,235 @@ const users_1 = require("../models/users");
|
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
13
13
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users */
|
|
14
14
|
class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
/**
|
|
18
|
+
* Returns information about how anonymous users are represented, like the
|
|
19
|
+
* profile picture and display name.
|
|
20
|
+
*
|
|
21
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
22
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
23
|
+
*
|
|
24
|
+
* @returns Returned if the anonymous user representation is returned.
|
|
25
|
+
* @path {GET} /wiki/rest/api/user/anonymous
|
|
26
|
+
* @scopes-current read:confluence-user
|
|
27
|
+
* @scopes-beta read:user:confluence
|
|
28
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-anonymous-get
|
|
29
|
+
*/
|
|
30
|
+
this.getAnonymousUser = ({ expand, } = {}) => {
|
|
31
|
+
return this.getClientInstance()
|
|
32
|
+
.request({
|
|
33
|
+
path: "/wiki/rest/api/user/anonymous",
|
|
34
|
+
method: "GET",
|
|
35
|
+
query: {
|
|
36
|
+
expand,
|
|
37
|
+
},
|
|
38
|
+
})
|
|
39
|
+
.then(this.getClientInstance().responseHandler({
|
|
40
|
+
200: {
|
|
41
|
+
"application/json": "json",
|
|
42
|
+
},
|
|
43
|
+
}))
|
|
44
|
+
.then(commonHttpClient.castResponse())
|
|
45
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getAnonymousUser.response"))
|
|
46
|
+
.then(commonHttpClient.getBody);
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Returns user details for the ids provided in request.
|
|
50
|
+
*
|
|
51
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
52
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
53
|
+
*
|
|
54
|
+
* @returns Returned if, the list of users is returned.
|
|
55
|
+
* @path {GET} /wiki/rest/api/user/bulk
|
|
56
|
+
* @scopes-current read:confluence-user
|
|
57
|
+
* @scopes-beta read:content-details:confluence
|
|
58
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-bulk-get
|
|
59
|
+
*/
|
|
60
|
+
this.getBulkUserLookup = ({ accountId, expand, limit, }) => {
|
|
61
|
+
return this.getClientInstance()
|
|
62
|
+
.request({
|
|
63
|
+
path: "/wiki/rest/api/user/bulk",
|
|
64
|
+
method: "GET",
|
|
65
|
+
query: {
|
|
66
|
+
accountId,
|
|
67
|
+
expand,
|
|
68
|
+
limit,
|
|
69
|
+
},
|
|
70
|
+
})
|
|
71
|
+
.then(this.getClientInstance().responseHandler({
|
|
72
|
+
200: {
|
|
73
|
+
"application/json": "json",
|
|
74
|
+
},
|
|
75
|
+
}))
|
|
76
|
+
.then(commonHttpClient.castResponse())
|
|
77
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getBulkUserLookup.response"))
|
|
78
|
+
.then(commonHttpClient.getBody);
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Returns the currently logged-in user. This includes information about
|
|
82
|
+
* the user, like the display name, userKey, account ID, profile picture,
|
|
83
|
+
* and more.
|
|
84
|
+
*
|
|
85
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
86
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
87
|
+
*
|
|
88
|
+
* @returns Returned if the current user is returned.
|
|
89
|
+
* @path {GET} /wiki/rest/api/user/current
|
|
90
|
+
* @scopes-current read:confluence-user
|
|
91
|
+
* @scopes-beta read:content-details:confluence
|
|
92
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-current-get
|
|
93
|
+
*/
|
|
94
|
+
this.getCurrentUser = ({ expand, } = {}) => {
|
|
95
|
+
return this.getClientInstance()
|
|
96
|
+
.request({
|
|
97
|
+
path: "/wiki/rest/api/user/current",
|
|
98
|
+
method: "GET",
|
|
99
|
+
query: {
|
|
100
|
+
expand,
|
|
101
|
+
},
|
|
102
|
+
})
|
|
103
|
+
.then(this.getClientInstance().responseHandler({
|
|
104
|
+
200: {
|
|
105
|
+
"application/json": "json",
|
|
106
|
+
},
|
|
107
|
+
}))
|
|
108
|
+
.then(commonHttpClient.castResponse())
|
|
109
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getCurrentUser.response"))
|
|
110
|
+
.then(commonHttpClient.getBody);
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Returns the groups that a user is a member of.
|
|
114
|
+
*
|
|
115
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
116
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
117
|
+
*
|
|
118
|
+
* @returns Returned if the requested groups are returned.
|
|
119
|
+
* @path {GET} /wiki/rest/api/user/memberof
|
|
120
|
+
* @scopes-current read:confluence-user
|
|
121
|
+
* @scopes-beta read:user:confluence, read:group:confluence
|
|
122
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-memberof-get
|
|
123
|
+
*/
|
|
124
|
+
this.getGroupMembershipsForUser = ({ accountId, start, limit, }) => {
|
|
125
|
+
return this.getClientInstance()
|
|
126
|
+
.request({
|
|
127
|
+
path: "/wiki/rest/api/user/memberof",
|
|
128
|
+
method: "GET",
|
|
129
|
+
query: {
|
|
130
|
+
accountId,
|
|
131
|
+
start,
|
|
132
|
+
limit,
|
|
133
|
+
},
|
|
134
|
+
})
|
|
135
|
+
.then(this.getClientInstance().responseHandler({
|
|
136
|
+
200: {
|
|
137
|
+
"application/json": "json",
|
|
138
|
+
},
|
|
139
|
+
}))
|
|
140
|
+
.then(commonHttpClient.castResponse())
|
|
141
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getGroupMembershipsForUser.response"))
|
|
142
|
+
.then(commonHttpClient.getBody);
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Returns a user's email address. This API is only available to apps approved by
|
|
146
|
+
* Atlassian, according to these
|
|
147
|
+
* [guidelines](https://community.developer.atlassian.com/t/guidelines-for-requesting-access-to-email-address/27603).
|
|
148
|
+
*
|
|
149
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
150
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
151
|
+
*
|
|
152
|
+
* @returns Returned if the requested user's email is returned.
|
|
153
|
+
* @path {GET} /wiki/rest/api/user/email
|
|
154
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-get
|
|
155
|
+
*/
|
|
156
|
+
this.getPrivacyUnsafeUserEmail = ({ accountId, }) => {
|
|
157
|
+
return this.getClientInstance()
|
|
158
|
+
.request({
|
|
159
|
+
path: "/wiki/rest/api/user/email",
|
|
160
|
+
method: "GET",
|
|
161
|
+
query: {
|
|
162
|
+
accountId,
|
|
163
|
+
},
|
|
164
|
+
})
|
|
165
|
+
.then(this.getClientInstance().responseHandler({
|
|
166
|
+
200: {
|
|
167
|
+
"application/json": "json",
|
|
168
|
+
},
|
|
169
|
+
}))
|
|
170
|
+
.then(commonHttpClient.castResponse())
|
|
171
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getPrivacyUnsafeUserEmail.response"))
|
|
172
|
+
.then(commonHttpClient.getBody);
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* Returns user email addresses for a set of accountIds. This API is only
|
|
176
|
+
* available to apps approved by
|
|
177
|
+
* Atlassian, according to these
|
|
178
|
+
* [guidelines](https://community.developer.atlassian.com/t/guidelines-for-requesting-access-to-email-address/27603).
|
|
179
|
+
*
|
|
180
|
+
* Any accounts which are not available will not be included in the result.
|
|
181
|
+
*
|
|
182
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
183
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
184
|
+
*
|
|
185
|
+
* @returns Returned if the request is successful.
|
|
186
|
+
* @path {GET} /wiki/rest/api/user/email/bulk
|
|
187
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-email-bulk-get
|
|
188
|
+
*/
|
|
189
|
+
this.getPrivacyUnsafeUserEmailBulk = ({ accountId, }) => {
|
|
190
|
+
return this.getClientInstance()
|
|
191
|
+
.request({
|
|
192
|
+
path: "/wiki/rest/api/user/email/bulk",
|
|
193
|
+
method: "GET",
|
|
194
|
+
query: {
|
|
195
|
+
accountId,
|
|
196
|
+
},
|
|
197
|
+
})
|
|
198
|
+
.then(this.getClientInstance().responseHandler({
|
|
199
|
+
200: {
|
|
200
|
+
"application/json": "json",
|
|
201
|
+
},
|
|
202
|
+
}))
|
|
203
|
+
.then(commonHttpClient.castResponse())
|
|
204
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getPrivacyUnsafeUserEmailBulk.response"))
|
|
205
|
+
.then(commonHttpClient.getBody);
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* Returns a user. This includes information about the user, such as the
|
|
209
|
+
* display name, account ID, profile picture, and more. The information returned
|
|
210
|
+
* may be
|
|
211
|
+
* restricted by the user's profile visibility settings.
|
|
212
|
+
*
|
|
213
|
+
* **Note:** to add, edit, or delete users in your organization, see the
|
|
214
|
+
* [user management REST API](/cloud/admin/user-management/about/).
|
|
215
|
+
*
|
|
216
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
217
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
218
|
+
*
|
|
219
|
+
* @returns Returned if the requested user is returned.
|
|
220
|
+
* @path {GET} /wiki/rest/api/user
|
|
221
|
+
* @scopes-current read:confluence-user
|
|
222
|
+
* @scopes-beta read:content-details:confluence
|
|
223
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users#api-wiki-rest-api-user-get
|
|
224
|
+
*/
|
|
225
|
+
this.getUser = ({ accountId, expand, }) => {
|
|
226
|
+
return this.getClientInstance()
|
|
227
|
+
.request({
|
|
228
|
+
path: "/wiki/rest/api/user",
|
|
229
|
+
method: "GET",
|
|
230
|
+
query: {
|
|
231
|
+
accountId,
|
|
232
|
+
expand,
|
|
233
|
+
},
|
|
234
|
+
})
|
|
235
|
+
.then(this.getClientInstance().responseHandler({
|
|
236
|
+
200: {
|
|
237
|
+
"application/json": "json",
|
|
238
|
+
},
|
|
239
|
+
}))
|
|
240
|
+
.then(commonHttpClient.castResponse())
|
|
241
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getUser.response"))
|
|
242
|
+
.then(commonHttpClient.getBody);
|
|
243
|
+
};
|
|
241
244
|
}
|
|
242
245
|
static initialize() {
|
|
243
246
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.getUser.response", zod_1.z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,2CAMyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,2CAMyB;AACzB,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;;;WAYG;QACH,qBAAgB,GAAG,CAAC,EAClB,MAAM,MASJ,EAAE,EAA0B,EAAE;YAChC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI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class BaseConfluenceApiV2Client extends CommonHttpService {
|
|
|
61
61
|
client: commonHttpClient.CommonHttpClient;
|
|
62
62
|
getClient: () => commonHttpClient.CommonHttpClient;
|
|
63
63
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-ancestors */
|
|
64
|
-
ancestors: AncestorsService;
|
|
64
|
+
get ancestors(): AncestorsService;
|
|
65
65
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment */
|
|
66
|
-
attachment: AttachmentService;
|
|
66
|
+
get attachment(): AttachmentService;
|
|
67
67
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post */
|
|
68
|
-
blogPost: BlogPostService;
|
|
68
|
+
get blogPost(): BlogPostService;
|
|
69
69
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-children */
|
|
70
|
-
children: ChildrenService;
|
|
70
|
+
get children(): ChildrenService;
|
|
71
71
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-classification-level */
|
|
72
|
-
classificationLevel: ClassificationLevelService;
|
|
72
|
+
get classificationLevel(): ClassificationLevelService;
|
|
73
73
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-comment */
|
|
74
|
-
comment: CommentService;
|
|
74
|
+
get comment(): CommentService;
|
|
75
75
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties */
|
|
76
|
-
contentProperties: ContentPropertiesService;
|
|
76
|
+
get contentProperties(): ContentPropertiesService;
|
|
77
77
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content */
|
|
78
|
-
content: ContentService;
|
|
78
|
+
get content(): ContentService;
|
|
79
79
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content */
|
|
80
|
-
customContent: CustomContentService;
|
|
80
|
+
get customContent(): CustomContentService;
|
|
81
81
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database */
|
|
82
|
-
database: DatabaseService;
|
|
82
|
+
get database(): DatabaseService;
|
|
83
83
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-data-policies */
|
|
84
|
-
dataPolicies: DataPoliciesService;
|
|
84
|
+
get dataPolicies(): DataPoliciesService;
|
|
85
85
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label */
|
|
86
|
-
label: LabelService;
|
|
86
|
+
get label(): LabelService;
|
|
87
87
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like */
|
|
88
|
-
like: LikeService;
|
|
88
|
+
get like(): LikeService;
|
|
89
89
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation */
|
|
90
|
-
operation: OperationService;
|
|
90
|
+
get operation(): OperationService;
|
|
91
91
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page */
|
|
92
|
-
page: PageService;
|
|
92
|
+
get page(): PageService;
|
|
93
93
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-smart-link */
|
|
94
|
-
smartLink: SmartLinkService;
|
|
94
|
+
get smartLink(): SmartLinkService;
|
|
95
95
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions */
|
|
96
|
-
spacePermissions: SpacePermissionsService;
|
|
96
|
+
get spacePermissions(): SpacePermissionsService;
|
|
97
97
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-properties */
|
|
98
|
-
spaceProperties: SpacePropertiesService;
|
|
98
|
+
get spaceProperties(): SpacePropertiesService;
|
|
99
99
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space */
|
|
100
|
-
space: SpaceService;
|
|
100
|
+
get space(): SpaceService;
|
|
101
101
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task */
|
|
102
|
-
task: TaskService;
|
|
102
|
+
get task(): TaskService;
|
|
103
103
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user */
|
|
104
|
-
user: UserService;
|
|
104
|
+
get user(): UserService;
|
|
105
105
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version */
|
|
106
|
-
version: VersionService;
|
|
106
|
+
get version(): VersionService;
|
|
107
107
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-whiteboard */
|
|
108
|
-
whiteboard: WhiteboardService;
|
|
108
|
+
get whiteboard(): WhiteboardService;
|
|
109
109
|
constructor(options?: BaseConfluenceApiV2ClientOptions);
|
|
110
|
-
static createClientWithServices: typeof commonHttpClient.createClientWithServices;
|
|
111
110
|
}
|
|
112
111
|
export type { AbstractPageLinks, BodyBulk, BodySingle, BodyType, ContentProperty, ContentStatus, CustomContentBodyRepresentation, Label, Like, MultiEntityLinks, Operation, OptionalFieldLinks, OptionalFieldMeta, ParentContentType, PrimaryBodyRepresentation, PrimaryBodyRepresentationSingle, SpaceDescription, SpaceIcon, SpaceLinks, SpacePermission, SpaceProperty, SpaceSortOrder, Version, AccountStatus, AccountType, Icon, User, Ancestor, AncestorType, AttachmentBulk, AttachmentLinks, AttachmentSingle, AttachmentSortOrder, AttachmentCommentModel, BlogPostCommentModel, BlogPostInlineCommentModel, ChildrenCommentModel, CommentBodyWrite, CommentLinks, CommentNestedBodyWrite, CommentSortOrder, CreateFooterCommentModel, CreateInlineCommentModel, CustomContentCommentModel, FooterCommentModel, InlineCommentChildrenModel, InlineCommentModel, InlineCommentProperties, InlineCommentResolutionStatus, PageCommentModel, PageInlineCommentModel, UpdateFooterCommentModel, UpdateInlineCommentModel, AttachmentVersion, BlogPostVersion, CommentVersion, CustomContentVersion, DetailedVersion, PageVersion, VersionedEntity, VersionSortOrder, BlogPostBodyWrite, BlogPostBulk, BlogPostContentStatus, BlogPostNestedBodyWrite, BlogPostSingle, BlogPostSortOrder, ChildCustomContent, ChildPage, OnlyArchivedAndCurrentContentStatus, ClassificationLevel, ClassificationLevelColor, ClassificationLevelStatus, ContentIdToContentTypeResponse, ContentPropertyCreateRequest, ContentPropertySortOrder, ContentPropertyUpdateRequest, CustomContentBodyBulk, CustomContentBodyRepresentationSingle, CustomContentBodySingle, CustomContentBodyWrite, CustomContentBulk, CustomContentLinks, CustomContentNestedBodyWrite, CustomContentSingle, CustomContentSortOrder, DatabaseLinks, DatabaseSingle, DataPolicyMetadata, DataPolicySpace, PageBodyWrite, PageBulk, PageNestedBodyWrite, PageSingle, PageSortOrder, PermittedOperationsResponse, SmartLinkLinks, SmartLinkSingle, SpaceBulk, SpaceDescriptionBodyRepresentation, SpaceSingle, SpaceStatus, SpaceType, SpacePropertyCreateRequest, SpacePropertyUpdateRequest, Task, TaskBodySingle, WhiteboardLinks, WhiteboardSingle, };
|