@resolution/confluence-api-client 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/openapi/v1/models/common.d.ts +1 -0
- package/lib/openapi/v1/models/common.js +1 -0
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +6 -3
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +10 -3
- package/lib/openapi/v1/models/space.js +2 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +8 -4
- package/lib/openapi/v1/services/AnalyticsService.js +4 -2
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +13 -7
- package/lib/openapi/v1/services/AuditService.js +13 -7
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +12 -6
- package/lib/openapi/v1/services/ContentAttachmentsService.js +12 -6
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -5
- package/lib/openapi/v1/services/ContentBodyService.js +7 -5
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +17 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +17 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +2 -1
- package/lib/openapi/v1/services/ContentCommentsService.js +2 -1
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +8 -4
- package/lib/openapi/v1/services/ContentLabelsService.js +8 -4
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +6 -5
- package/lib/openapi/v1/services/ContentMacroBodyService.js +6 -5
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js +2 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +12 -6
- package/lib/openapi/v1/services/ContentPropertiesService.js +12 -6
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +30 -21
- package/lib/openapi/v1/services/ContentRestrictionsService.js +30 -21
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +20 -10
- package/lib/openapi/v1/services/ContentService.js +20 -10
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +20 -11
- package/lib/openapi/v1/services/ContentStatesService.js +20 -11
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +8 -4
- package/lib/openapi/v1/services/ContentVersionsService.js +8 -4
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +24 -12
- package/lib/openapi/v1/services/ContentWatchesService.js +24 -12
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -3
- package/lib/openapi/v1/services/DynamicModulesService.js +5 -3
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -8
- package/lib/openapi/v1/services/ExperimentalService.js +12 -8
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +30 -15
- package/lib/openapi/v1/services/GroupService.js +30 -15
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +6 -3
- package/lib/openapi/v1/services/InlineTasksService.js +6 -3
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +2 -1
- package/lib/openapi/v1/services/LabelInfoService.js +2 -1
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +4 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +11 -12
- package/lib/openapi/v1/services/RelationService.js +11 -12
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +4 -2
- package/lib/openapi/v1/services/SearchService.js +4 -2
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +13 -10
- package/lib/openapi/v1/services/SettingsService.js +13 -10
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -3
- package/lib/openapi/v1/services/SpacePermissionsService.js +6 -3
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +12 -6
- package/lib/openapi/v1/services/SpacePropertiesService.js +12 -6
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +19 -14
- package/lib/openapi/v1/services/SpaceService.js +19 -14
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js +4 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +14 -10
- package/lib/openapi/v1/services/TemplateService.js +14 -10
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +11 -6
- package/lib/openapi/v1/services/ThemesService.js +11 -6
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +10 -5
- package/lib/openapi/v1/services/UserPropertiesService.js +10 -5
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +14 -7
- package/lib/openapi/v1/services/UsersService.js +14 -7
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +8 -4
- package/lib/openapi/v2/services/AncestorsService.js +8 -4
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +15 -9
- package/lib/openapi/v2/services/AttachmentService.js +15 -9
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +15 -9
- package/lib/openapi/v2/services/BlogPostService.js +15 -9
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +4 -2
- package/lib/openapi/v2/services/ChildrenService.js +4 -2
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +19 -10
- package/lib/openapi/v2/services/ClassificationLevelService.js +19 -10
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +36 -18
- package/lib/openapi/v2/services/CommentService.js +36 -18
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +80 -40
- package/lib/openapi/v2/services/ContentPropertiesService.js +80 -40
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +3 -3
- package/lib/openapi/v2/services/ContentService.js +3 -3
- package/lib/openapi/v2/services/CustomContentService.d.ts +16 -8
- package/lib/openapi/v2/services/CustomContentService.js +16 -8
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +3 -2
- package/lib/openapi/v2/services/DataPoliciesService.js +3 -2
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +6 -3
- package/lib/openapi/v2/services/DatabaseService.js +6 -3
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +14 -7
- package/lib/openapi/v2/services/LabelService.js +14 -7
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +16 -8
- package/lib/openapi/v2/services/LikeService.js +16 -8
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +20 -10
- package/lib/openapi/v2/services/OperationService.js +20 -10
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +23 -9
- package/lib/openapi/v2/services/PageService.js +14 -7
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +6 -3
- package/lib/openapi/v2/services/SmartLinkService.js +6 -3
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +2 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js +2 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +11 -7
- package/lib/openapi/v2/services/SpacePropertiesService.js +11 -7
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -2
- package/lib/openapi/v2/services/SpaceService.js +4 -2
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +6 -3
- package/lib/openapi/v2/services/TaskService.js +6 -3
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +7 -5
- package/lib/openapi/v2/services/UserService.js +7 -5
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +24 -12
- package/lib/openapi/v2/services/VersionService.js +24 -12
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +6 -3
- package/lib/openapi/v2/services/WhiteboardService.js +6 -3
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +3 -3
|
@@ -9,9 +9,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
9
9
|
* Permission to view the content of the blog post and its corresponding space.
|
|
10
10
|
*
|
|
11
11
|
* @returns Returned if the requested count is returned.
|
|
12
|
-
* @path
|
|
12
|
+
* @path GET `/blogposts/{id}/likes/count`
|
|
13
13
|
* @scopes-current read:page:confluence
|
|
14
14
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-count-get
|
|
15
|
+
* @param params
|
|
15
16
|
*/
|
|
16
17
|
getBlogPostLikeCount: ({ id, }: {
|
|
17
18
|
/** The ID of the blog post for which like count should be returned. */
|
|
@@ -29,9 +30,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
29
30
|
* Permission to view the content of the blog post and its corresponding space.
|
|
30
31
|
*
|
|
31
32
|
* @returns Returned if the requested account IDs are returned.
|
|
32
|
-
* @path
|
|
33
|
+
* @path GET `/blogposts/{id}/likes/users`
|
|
33
34
|
* @scopes-current read:page:confluence
|
|
34
35
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-users-get
|
|
36
|
+
* @param params
|
|
35
37
|
*/
|
|
36
38
|
getBlogPostLikeUsers: ({ id, cursor, limit, }: {
|
|
37
39
|
/** The ID of the blog post for which account IDs should be returned. */
|
|
@@ -61,9 +63,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
61
63
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
62
64
|
*
|
|
63
65
|
* @returns Returned if the requested count is returned.
|
|
64
|
-
* @path
|
|
66
|
+
* @path GET `/footer-comments/{id}/likes/count`
|
|
65
67
|
* @scopes-current read:comment:confluence
|
|
66
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-count-get
|
|
69
|
+
* @param params
|
|
67
70
|
*/
|
|
68
71
|
getFooterLikeCount: ({ id, }: {
|
|
69
72
|
/** The ID of the footer comment for which like count should be returned. */
|
|
@@ -81,9 +84,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
81
84
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
82
85
|
*
|
|
83
86
|
* @returns Returned if the requested account IDs are returned.
|
|
84
|
-
* @path
|
|
87
|
+
* @path GET `/footer-comments/{id}/likes/users`
|
|
85
88
|
* @scopes-current read:comment:confluence
|
|
86
89
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-users-get
|
|
90
|
+
* @param params
|
|
87
91
|
*/
|
|
88
92
|
getFooterLikeUsers: ({ id, cursor, limit, }: {
|
|
89
93
|
/** The ID of the footer comment for which like count should be returned. */
|
|
@@ -113,9 +117,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
113
117
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
114
118
|
*
|
|
115
119
|
* @returns Returned if the requested count is returned.
|
|
116
|
-
* @path
|
|
120
|
+
* @path GET `/inline-comments/{id}/likes/count`
|
|
117
121
|
* @scopes-current read:comment:confluence
|
|
118
122
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-count-get
|
|
123
|
+
* @param params
|
|
119
124
|
*/
|
|
120
125
|
getInlineLikeCount: ({ id, }: {
|
|
121
126
|
/** The ID of the inline comment for which like count should be returned. */
|
|
@@ -133,9 +138,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
133
138
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
134
139
|
*
|
|
135
140
|
* @returns Returned if the requested account IDs are returned.
|
|
136
|
-
* @path
|
|
141
|
+
* @path GET `/inline-comments/{id}/likes/users`
|
|
137
142
|
* @scopes-current read:comment:confluence
|
|
138
143
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-users-get
|
|
144
|
+
* @param params
|
|
139
145
|
*/
|
|
140
146
|
getInlineLikeUsers: ({ id, cursor, limit, }: {
|
|
141
147
|
/** The ID of the inline comment for which like count should be returned. */
|
|
@@ -165,9 +171,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
165
171
|
* Permission to view the content of the page and its corresponding space.
|
|
166
172
|
*
|
|
167
173
|
* @returns Returned if the requested count is returned.
|
|
168
|
-
* @path
|
|
174
|
+
* @path GET `/pages/{id}/likes/count`
|
|
169
175
|
* @scopes-current read:page:confluence
|
|
170
176
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-count-get
|
|
177
|
+
* @param params
|
|
171
178
|
*/
|
|
172
179
|
getPageLikeCount: ({ id, }: {
|
|
173
180
|
/** The ID of the page for which like count should be returned. */
|
|
@@ -185,9 +192,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
185
192
|
* Permission to view the content of the page and its corresponding space.
|
|
186
193
|
*
|
|
187
194
|
* @returns Returned if the requested account IDs are returned.
|
|
188
|
-
* @path
|
|
195
|
+
* @path GET `/pages/{id}/likes/users`
|
|
189
196
|
* @scopes-current read:page:confluence
|
|
190
197
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-users-get
|
|
198
|
+
* @param params
|
|
191
199
|
*/
|
|
192
200
|
getPageLikeUsers: ({ id, cursor, limit, }: {
|
|
193
201
|
/** The ID of the page for which like count should be returned. */
|
|
@@ -20,9 +20,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
20
20
|
* Permission to view the content of the blog post and its corresponding space.
|
|
21
21
|
*
|
|
22
22
|
* @returns Returned if the requested count is returned.
|
|
23
|
-
* @path
|
|
23
|
+
* @path GET `/blogposts/{id}/likes/count`
|
|
24
24
|
* @scopes-current read:page:confluence
|
|
25
25
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-count-get
|
|
26
|
+
* @param params
|
|
26
27
|
*/
|
|
27
28
|
this.getBlogPostLikeCount = ({ id, }) => {
|
|
28
29
|
return this.getClientInstance()
|
|
@@ -49,9 +50,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
49
50
|
* Permission to view the content of the blog post and its corresponding space.
|
|
50
51
|
*
|
|
51
52
|
* @returns Returned if the requested account IDs are returned.
|
|
52
|
-
* @path
|
|
53
|
+
* @path GET `/blogposts/{id}/likes/users`
|
|
53
54
|
* @scopes-current read:page:confluence
|
|
54
55
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-users-get
|
|
56
|
+
* @param params
|
|
55
57
|
*/
|
|
56
58
|
this.getBlogPostLikeUsers = ({ id, cursor, limit, }) => {
|
|
57
59
|
return this.getClientInstance()
|
|
@@ -82,9 +84,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
82
84
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
83
85
|
*
|
|
84
86
|
* @returns Returned if the requested count is returned.
|
|
85
|
-
* @path
|
|
87
|
+
* @path GET `/footer-comments/{id}/likes/count`
|
|
86
88
|
* @scopes-current read:comment:confluence
|
|
87
89
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-count-get
|
|
90
|
+
* @param params
|
|
88
91
|
*/
|
|
89
92
|
this.getFooterLikeCount = ({ id, }) => {
|
|
90
93
|
return this.getClientInstance()
|
|
@@ -111,9 +114,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
111
114
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
112
115
|
*
|
|
113
116
|
* @returns Returned if the requested account IDs are returned.
|
|
114
|
-
* @path
|
|
117
|
+
* @path GET `/footer-comments/{id}/likes/users`
|
|
115
118
|
* @scopes-current read:comment:confluence
|
|
116
119
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-users-get
|
|
120
|
+
* @param params
|
|
117
121
|
*/
|
|
118
122
|
this.getFooterLikeUsers = ({ id, cursor, limit, }) => {
|
|
119
123
|
return this.getClientInstance()
|
|
@@ -144,9 +148,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
144
148
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
145
149
|
*
|
|
146
150
|
* @returns Returned if the requested count is returned.
|
|
147
|
-
* @path
|
|
151
|
+
* @path GET `/inline-comments/{id}/likes/count`
|
|
148
152
|
* @scopes-current read:comment:confluence
|
|
149
153
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-count-get
|
|
154
|
+
* @param params
|
|
150
155
|
*/
|
|
151
156
|
this.getInlineLikeCount = ({ id, }) => {
|
|
152
157
|
return this.getClientInstance()
|
|
@@ -173,9 +178,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
173
178
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
174
179
|
*
|
|
175
180
|
* @returns Returned if the requested account IDs are returned.
|
|
176
|
-
* @path
|
|
181
|
+
* @path GET `/inline-comments/{id}/likes/users`
|
|
177
182
|
* @scopes-current read:comment:confluence
|
|
178
183
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-users-get
|
|
184
|
+
* @param params
|
|
179
185
|
*/
|
|
180
186
|
this.getInlineLikeUsers = ({ id, cursor, limit, }) => {
|
|
181
187
|
return this.getClientInstance()
|
|
@@ -206,9 +212,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
206
212
|
* Permission to view the content of the page and its corresponding space.
|
|
207
213
|
*
|
|
208
214
|
* @returns Returned if the requested count is returned.
|
|
209
|
-
* @path
|
|
215
|
+
* @path GET `/pages/{id}/likes/count`
|
|
210
216
|
* @scopes-current read:page:confluence
|
|
211
217
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-count-get
|
|
218
|
+
* @param params
|
|
212
219
|
*/
|
|
213
220
|
this.getPageLikeCount = ({ id, }) => {
|
|
214
221
|
return this.getClientInstance()
|
|
@@ -235,9 +242,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
235
242
|
* Permission to view the content of the page and its corresponding space.
|
|
236
243
|
*
|
|
237
244
|
* @returns Returned if the requested account IDs are returned.
|
|
238
|
-
* @path
|
|
245
|
+
* @path GET `/pages/{id}/likes/users`
|
|
239
246
|
* @scopes-current read:page:confluence
|
|
240
247
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-users-get
|
|
248
|
+
* @param params
|
|
241
249
|
*/
|
|
242
250
|
this.getPageLikeUsers = ({ id, cursor, limit, }) => {
|
|
243
251
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LikeService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LikeService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,wEAAqE;AACrE,mFAAmF;AACnF,MAAa,WAAY,SAAQ,qCAAiB;IAAlD;;QACE
|
|
1
|
+
{"version":3,"file":"LikeService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LikeService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AA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,CAAC,CACrD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA5pBD,kCA4pBC"}
|
|
@@ -10,9 +10,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
10
10
|
* space.
|
|
11
11
|
*
|
|
12
12
|
* @returns Returned if the requested operations are returned.
|
|
13
|
-
* @path
|
|
13
|
+
* @path GET `/attachments/{id}/operations`
|
|
14
14
|
* @scopes-current read:attachment:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-attachments-id-operations-get
|
|
16
|
+
* @param params
|
|
16
17
|
*/
|
|
17
18
|
getAttachmentOperations: ({ id, }: {
|
|
18
19
|
/** The ID of the attachment for which operations should be returned. */
|
|
@@ -26,9 +27,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
26
27
|
* space.
|
|
27
28
|
*
|
|
28
29
|
* @returns Returned if the requested operations are returned.
|
|
29
|
-
* @path
|
|
30
|
+
* @path GET `/blogposts/{id}/operations`
|
|
30
31
|
* @scopes-current read:page:confluence
|
|
31
32
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-blogposts-id-operations-get
|
|
33
|
+
* @param params
|
|
32
34
|
*/
|
|
33
35
|
getBlogPostOperations: ({ id, }: {
|
|
34
36
|
/** The ID of the blog post for which operations should be returned. */
|
|
@@ -42,9 +44,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
42
44
|
* corresponding space.
|
|
43
45
|
*
|
|
44
46
|
* @returns Returned if the requested operations are returned.
|
|
45
|
-
* @path
|
|
47
|
+
* @path GET `/custom-content/{id}/operations`
|
|
46
48
|
* @scopes-current read:custom-content:confluence
|
|
47
49
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-custom-content-id-operations-get
|
|
50
|
+
* @param params
|
|
48
51
|
*/
|
|
49
52
|
getCustomContentOperations: ({ id, }: {
|
|
50
53
|
/** The ID of the custom content for which operations should be returned. */
|
|
@@ -57,9 +60,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
57
60
|
* Permission to view the database and its corresponding space.
|
|
58
61
|
*
|
|
59
62
|
* @returns Returned if the requested operations are returned.
|
|
60
|
-
* @path
|
|
63
|
+
* @path GET `/databases/{id}/operations`
|
|
61
64
|
* @scopes-current read:database:confluence
|
|
62
65
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-databases-id-operations-get
|
|
66
|
+
* @param params
|
|
63
67
|
*/
|
|
64
68
|
getDatabaseOperations: ({ id, }: {
|
|
65
69
|
/** The ID of the database for which operations should be returned. */
|
|
@@ -73,9 +77,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
73
77
|
* corresponding space.
|
|
74
78
|
*
|
|
75
79
|
* @returns Returned if the requested operations are returned.
|
|
76
|
-
* @path
|
|
80
|
+
* @path GET `/footer-comments/{id}/operations`
|
|
77
81
|
* @scopes-current read:comment:confluence
|
|
78
82
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-footer-comments-id-operations-get
|
|
83
|
+
* @param params
|
|
79
84
|
*/
|
|
80
85
|
getFooterCommentOperations: ({ id, }: {
|
|
81
86
|
/** The ID of the footer comment for which operations should be returned. */
|
|
@@ -89,9 +94,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
89
94
|
* corresponding space.
|
|
90
95
|
*
|
|
91
96
|
* @returns Returned if the requested operations are returned.
|
|
92
|
-
* @path
|
|
97
|
+
* @path GET `/inline-comments/{id}/operations`
|
|
93
98
|
* @scopes-current read:comment:confluence
|
|
94
99
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-inline-comments-id-operations-get
|
|
100
|
+
* @param params
|
|
95
101
|
*/
|
|
96
102
|
getInlineCommentOperations: ({ id, }: {
|
|
97
103
|
/** The ID of the inline comment for which operations should be returned. */
|
|
@@ -104,9 +110,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
104
110
|
* Permission to view the parent content of the page and its corresponding space.
|
|
105
111
|
*
|
|
106
112
|
* @returns Returned if the requested operations are returned.
|
|
107
|
-
* @path
|
|
113
|
+
* @path GET `/pages/{id}/operations`
|
|
108
114
|
* @scopes-current read:page:confluence
|
|
109
115
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-pages-id-operations-get
|
|
116
|
+
* @param params
|
|
110
117
|
*/
|
|
111
118
|
getPageOperations: ({ id, }: {
|
|
112
119
|
/** The ID of the page for which operations should be returned. */
|
|
@@ -120,9 +127,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
120
127
|
* space.
|
|
121
128
|
*
|
|
122
129
|
* @returns Returned if the requested operations are returned.
|
|
123
|
-
* @path
|
|
130
|
+
* @path GET `/embeds/{id}/operations`
|
|
124
131
|
* @scopes-current read:embed:confluence
|
|
125
132
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-embeds-id-operations-get
|
|
133
|
+
* @param params
|
|
126
134
|
*/
|
|
127
135
|
getSmartLinkOperations: ({ id, }: {
|
|
128
136
|
/**
|
|
@@ -138,9 +146,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
138
146
|
* Permission to view the corresponding space.
|
|
139
147
|
*
|
|
140
148
|
* @returns Returned if the requested operations are returned.
|
|
141
|
-
* @path
|
|
149
|
+
* @path GET `/spaces/{id}/operations`
|
|
142
150
|
* @scopes-current read:space:confluence
|
|
143
151
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-spaces-id-operations-get
|
|
152
|
+
* @param params
|
|
144
153
|
*/
|
|
145
154
|
getSpaceOperations: ({ id, }: {
|
|
146
155
|
/** The ID of the space for which operations should be returned. */
|
|
@@ -153,9 +162,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
153
162
|
* Permission to view the whiteboard and its corresponding space.
|
|
154
163
|
*
|
|
155
164
|
* @returns Returned if the requested operations are returned.
|
|
156
|
-
* @path
|
|
165
|
+
* @path GET `/whiteboards/{id}/operations`
|
|
157
166
|
* @scopes-current read:whiteboard:confluence
|
|
158
167
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-whiteboards-id-operations-get
|
|
168
|
+
* @param params
|
|
159
169
|
*/
|
|
160
170
|
getWhiteboardOperations: ({ id, }: {
|
|
161
171
|
/** The ID of the whiteboard for which operations should be returned. */
|
|
@@ -21,9 +21,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* space.
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the requested operations are returned.
|
|
24
|
-
* @path
|
|
24
|
+
* @path GET `/attachments/{id}/operations`
|
|
25
25
|
* @scopes-current read:attachment:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-attachments-id-operations-get
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
this.getAttachmentOperations = ({ id, }) => {
|
|
29
30
|
return this.getClientInstance()
|
|
@@ -51,9 +52,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
51
52
|
* space.
|
|
52
53
|
*
|
|
53
54
|
* @returns Returned if the requested operations are returned.
|
|
54
|
-
* @path
|
|
55
|
+
* @path GET `/blogposts/{id}/operations`
|
|
55
56
|
* @scopes-current read:page:confluence
|
|
56
57
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-blogposts-id-operations-get
|
|
58
|
+
* @param params
|
|
57
59
|
*/
|
|
58
60
|
this.getBlogPostOperations = ({ id, }) => {
|
|
59
61
|
return this.getClientInstance()
|
|
@@ -81,9 +83,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
81
83
|
* corresponding space.
|
|
82
84
|
*
|
|
83
85
|
* @returns Returned if the requested operations are returned.
|
|
84
|
-
* @path
|
|
86
|
+
* @path GET `/custom-content/{id}/operations`
|
|
85
87
|
* @scopes-current read:custom-content:confluence
|
|
86
88
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-custom-content-id-operations-get
|
|
89
|
+
* @param params
|
|
87
90
|
*/
|
|
88
91
|
this.getCustomContentOperations = ({ id, }) => {
|
|
89
92
|
return this.getClientInstance()
|
|
@@ -110,9 +113,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
110
113
|
* Permission to view the database and its corresponding space.
|
|
111
114
|
*
|
|
112
115
|
* @returns Returned if the requested operations are returned.
|
|
113
|
-
* @path
|
|
116
|
+
* @path GET `/databases/{id}/operations`
|
|
114
117
|
* @scopes-current read:database:confluence
|
|
115
118
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-databases-id-operations-get
|
|
119
|
+
* @param params
|
|
116
120
|
*/
|
|
117
121
|
this.getDatabaseOperations = ({ id, }) => {
|
|
118
122
|
return this.getClientInstance()
|
|
@@ -140,9 +144,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
140
144
|
* corresponding space.
|
|
141
145
|
*
|
|
142
146
|
* @returns Returned if the requested operations are returned.
|
|
143
|
-
* @path
|
|
147
|
+
* @path GET `/footer-comments/{id}/operations`
|
|
144
148
|
* @scopes-current read:comment:confluence
|
|
145
149
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-footer-comments-id-operations-get
|
|
150
|
+
* @param params
|
|
146
151
|
*/
|
|
147
152
|
this.getFooterCommentOperations = ({ id, }) => {
|
|
148
153
|
return this.getClientInstance()
|
|
@@ -170,9 +175,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
170
175
|
* corresponding space.
|
|
171
176
|
*
|
|
172
177
|
* @returns Returned if the requested operations are returned.
|
|
173
|
-
* @path
|
|
178
|
+
* @path GET `/inline-comments/{id}/operations`
|
|
174
179
|
* @scopes-current read:comment:confluence
|
|
175
180
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-inline-comments-id-operations-get
|
|
181
|
+
* @param params
|
|
176
182
|
*/
|
|
177
183
|
this.getInlineCommentOperations = ({ id, }) => {
|
|
178
184
|
return this.getClientInstance()
|
|
@@ -199,9 +205,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
199
205
|
* Permission to view the parent content of the page and its corresponding space.
|
|
200
206
|
*
|
|
201
207
|
* @returns Returned if the requested operations are returned.
|
|
202
|
-
* @path
|
|
208
|
+
* @path GET `/pages/{id}/operations`
|
|
203
209
|
* @scopes-current read:page:confluence
|
|
204
210
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-pages-id-operations-get
|
|
211
|
+
* @param params
|
|
205
212
|
*/
|
|
206
213
|
this.getPageOperations = ({ id, }) => {
|
|
207
214
|
return this.getClientInstance()
|
|
@@ -229,9 +236,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
229
236
|
* space.
|
|
230
237
|
*
|
|
231
238
|
* @returns Returned if the requested operations are returned.
|
|
232
|
-
* @path
|
|
239
|
+
* @path GET `/embeds/{id}/operations`
|
|
233
240
|
* @scopes-current read:embed:confluence
|
|
234
241
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-embeds-id-operations-get
|
|
242
|
+
* @param params
|
|
235
243
|
*/
|
|
236
244
|
this.getSmartLinkOperations = ({ id, }) => {
|
|
237
245
|
return this.getClientInstance()
|
|
@@ -258,9 +266,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
258
266
|
* Permission to view the corresponding space.
|
|
259
267
|
*
|
|
260
268
|
* @returns Returned if the requested operations are returned.
|
|
261
|
-
* @path
|
|
269
|
+
* @path GET `/spaces/{id}/operations`
|
|
262
270
|
* @scopes-current read:space:confluence
|
|
263
271
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-spaces-id-operations-get
|
|
272
|
+
* @param params
|
|
264
273
|
*/
|
|
265
274
|
this.getSpaceOperations = ({ id, }) => {
|
|
266
275
|
return this.getClientInstance()
|
|
@@ -287,9 +296,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
287
296
|
* Permission to view the whiteboard and its corresponding space.
|
|
288
297
|
*
|
|
289
298
|
* @returns Returned if the requested operations are returned.
|
|
290
|
-
* @path
|
|
299
|
+
* @path GET `/whiteboards/{id}/operations`
|
|
291
300
|
* @scopes-current read:whiteboard:confluence
|
|
292
301
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-whiteboards-id-operations-get
|
|
302
|
+
* @param params
|
|
293
303
|
*/
|
|
294
304
|
this.getWhiteboardOperations = ({ id, }) => {
|
|
295
305
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/OperationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,mDAG6B;AAC7B,wEAAqE;AACrE,wFAAwF;AACxF,MAAa,gBAAiB,SAAQ,qCAAiB;IAAvD;;QACE
|
|
1
|
+
{"version":3,"file":"OperationService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/OperationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,mDAG6B;AAC7B,wEAAqE;AACrE,wFAAwF;AACxF,MAAa,gBAAiB,SAAQ,qCAAiB;IAAvD;;QACE;;;;;;;;;;;;WAYG;QACH,4BAAuB,GAAG,CAAC,EACzB,EAAE,GAIH,EAAwC,EAAE;YACzC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,8BAA8B;gBACpC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE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EAC7C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,6BAA6B,CAAC;SAClE,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,8CAA8C,EAC9C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,6BAA6B,CAAC;SAClE,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,mDAAmD,EACnD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,6BAA6B,CAAC;SAClE,CAAC;aACD,QAAQ,CAAC,mDAAmD,CAAC,CACjE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,8CAAkC,CAAC,CAAC,CAAC;IAC7E,CAAC;CACF;AAvkBD,4CAukBC"}
|
|
@@ -14,9 +14,10 @@ export declare class PageService extends CommonHttpService {
|
|
|
14
14
|
* space.
|
|
15
15
|
*
|
|
16
16
|
* @returns Returned if the page was successfully created.
|
|
17
|
-
* @path
|
|
17
|
+
* @path POST `/pages`
|
|
18
18
|
* @scopes-current write:page:confluence
|
|
19
19
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-post
|
|
20
|
+
* @param params
|
|
20
21
|
*/
|
|
21
22
|
createPage: ({ embedded, private: privateQuery, rootLevel, requestBody, }: {
|
|
22
23
|
/** Tag the content as embedded and content will be created in NCS. */
|
|
@@ -28,7 +29,8 @@ export declare class PageService extends CommonHttpService {
|
|
|
28
29
|
private?: boolean | undefined;
|
|
29
30
|
/**
|
|
30
31
|
* The page will be created at the root level of the space (outside the space
|
|
31
|
-
* homepage tree).
|
|
32
|
+
* homepage tree). If true, then a
|
|
33
|
+
* value may not be supplied for the `parentId` body parameter.
|
|
32
34
|
*/
|
|
33
35
|
rootLevel?: boolean | undefined;
|
|
34
36
|
requestBody: {
|
|
@@ -38,7 +40,13 @@ export declare class PageService extends CommonHttpService {
|
|
|
38
40
|
status?: "current" | "draft" | undefined;
|
|
39
41
|
/** Title of the page, required if page status is not draft. */
|
|
40
42
|
title?: string | undefined;
|
|
41
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* The parent content ID of the page. If the `root-level` query parameter is set
|
|
45
|
+
* to false and a value is
|
|
46
|
+
* not supplied for this parameter, then the space homepage's ID will be used. If
|
|
47
|
+
* the `root-level` query
|
|
48
|
+
* parameter is set to true, then a value may not be supplied for this parameter.
|
|
49
|
+
*/
|
|
42
50
|
parentId?: string | undefined;
|
|
43
51
|
body?: PageBodyWrite | PageNestedBodyWrite | undefined;
|
|
44
52
|
} & {
|
|
@@ -72,9 +80,10 @@ export declare class PageService extends CommonHttpService {
|
|
|
72
80
|
* Permission to delete pages in the space.
|
|
73
81
|
* Permission to administer the space (if attempting to purge).
|
|
74
82
|
*
|
|
75
|
-
* @path
|
|
83
|
+
* @path DELETE `/pages/{id}`
|
|
76
84
|
* @scopes-current delete:page:confluence
|
|
77
85
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-delete
|
|
86
|
+
* @param params
|
|
78
87
|
*/
|
|
79
88
|
deletePage: ({ id, purge, draft, }: {
|
|
80
89
|
/** The ID of the page to be deleted. */
|
|
@@ -93,9 +102,10 @@ export declare class PageService extends CommonHttpService {
|
|
|
93
102
|
* Permission to view the content of the page and its corresponding space.
|
|
94
103
|
*
|
|
95
104
|
* @returns Returned if the requested pages for specified label were successfully fetched.
|
|
96
|
-
* @path
|
|
105
|
+
* @path GET `/labels/{id}/pages`
|
|
97
106
|
* @scopes-current read:page:confluence
|
|
98
107
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-labels-id-pages-get
|
|
108
|
+
* @param params
|
|
99
109
|
*/
|
|
100
110
|
getLabelPages: ({ id, spaceId, bodyFormat, sort, cursor, limit, }: {
|
|
101
111
|
/** The ID of the label for which pages should be returned. */
|
|
@@ -138,9 +148,10 @@ export declare class PageService extends CommonHttpService {
|
|
|
138
148
|
* Permission to view the page and its corresponding space.
|
|
139
149
|
*
|
|
140
150
|
* @returns Returned if the requested page is returned.
|
|
141
|
-
* @path
|
|
151
|
+
* @path GET `/pages/{id}`
|
|
142
152
|
* @scopes-current read:page:confluence
|
|
143
153
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-get
|
|
154
|
+
* @param params
|
|
144
155
|
*/
|
|
145
156
|
getPageById: ({ id, bodyFormat, getDraft, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, }: {
|
|
146
157
|
/**
|
|
@@ -228,9 +239,10 @@ export declare class PageService extends CommonHttpService {
|
|
|
228
239
|
* Only pages that the user has permission to view will be returned.
|
|
229
240
|
*
|
|
230
241
|
* @returns Returned if the requested pages are returned.
|
|
231
|
-
* @path
|
|
242
|
+
* @path GET `/pages`
|
|
232
243
|
* @scopes-current read:page:confluence
|
|
233
244
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-get
|
|
245
|
+
* @param params
|
|
234
246
|
*/
|
|
235
247
|
getPages: ({ id, spaceId, sort, status, title, bodyFormat, cursor, limit, }?: {
|
|
236
248
|
/**
|
|
@@ -287,9 +299,10 @@ export declare class PageService extends CommonHttpService {
|
|
|
287
299
|
* Only pages that the user has permission to view will be returned.
|
|
288
300
|
*
|
|
289
301
|
* @returns Returned if the requested pages are returned.
|
|
290
|
-
* @path
|
|
302
|
+
* @path GET `/spaces/{id}/pages`
|
|
291
303
|
* @scopes-current read:page:confluence
|
|
292
304
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-spaces-id-pages-get
|
|
305
|
+
* @param params
|
|
293
306
|
*/
|
|
294
307
|
getPagesInSpace: ({ id, depth, sort, status, title, bodyFormat, cursor, limit, }: {
|
|
295
308
|
/** The ID of the space for which pages should be returned. */
|
|
@@ -340,9 +353,10 @@ export declare class PageService extends CommonHttpService {
|
|
|
340
353
|
* pages in the space.
|
|
341
354
|
*
|
|
342
355
|
* @returns Returned if the requested page is successfully updated.
|
|
343
|
-
* @path
|
|
356
|
+
* @path PUT `/pages/{id}`
|
|
344
357
|
* @scopes-current write:page:confluence
|
|
345
358
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-put
|
|
359
|
+
* @param params
|
|
346
360
|
*/
|
|
347
361
|
updatePage: ({ id, requestBody, }: {
|
|
348
362
|
/**
|