@resolution/confluence-api-client 0.4.4 → 0.4.5

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.
Files changed (170) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/lib/openapi/v1/services/AnalyticsService.d.ts +10 -10
  3. package/lib/openapi/v1/services/AnalyticsService.js +62 -59
  4. package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
  5. package/lib/openapi/v1/services/AuditService.d.ts +25 -25
  6. package/lib/openapi/v1/services/AuditService.js +205 -202
  7. package/lib/openapi/v1/services/AuditService.js.map +1 -1
  8. package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +20 -20
  9. package/lib/openapi/v1/services/ContentAttachmentsService.js +317 -314
  10. package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
  11. package/lib/openapi/v1/services/ContentBodyService.d.ts +15 -15
  12. package/lib/openapi/v1/services/ContentBodyService.js +140 -137
  13. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
  14. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +27 -27
  15. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +391 -388
  16. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
  17. package/lib/openapi/v1/services/ContentCommentsService.d.ts +8 -8
  18. package/lib/openapi/v1/services/ContentCommentsService.js +49 -46
  19. package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
  20. package/lib/openapi/v1/services/ContentLabelsService.d.ts +11 -11
  21. package/lib/openapi/v1/services/ContentLabelsService.js +150 -147
  22. package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
  23. package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +13 -13
  24. package/lib/openapi/v1/services/ContentMacroBodyService.js +155 -152
  25. package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
  26. package/lib/openapi/v1/services/ContentPermissionsService.d.ts +2 -2
  27. package/lib/openapi/v1/services/ContentPermissionsService.js +48 -45
  28. package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
  29. package/lib/openapi/v1/services/ContentPropertiesService.d.ts +18 -18
  30. package/lib/openapi/v1/services/ContentPropertiesService.js +237 -234
  31. package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
  32. package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +49 -49
  33. package/lib/openapi/v1/services/ContentRestrictionsService.js +505 -502
  34. package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
  35. package/lib/openapi/v1/services/ContentService.d.ts +50 -50
  36. package/lib/openapi/v1/services/ContentService.js +475 -472
  37. package/lib/openapi/v1/services/ContentService.js.map +1 -1
  38. package/lib/openapi/v1/services/ContentStatesService.d.ts +25 -25
  39. package/lib/openapi/v1/services/ContentStatesService.js +359 -356
  40. package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
  41. package/lib/openapi/v1/services/ContentVersionsService.d.ts +13 -13
  42. package/lib/openapi/v1/services/ContentVersionsService.js +144 -141
  43. package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
  44. package/lib/openapi/v1/services/ContentWatchesService.d.ts +57 -57
  45. package/lib/openapi/v1/services/ContentWatchesService.js +454 -451
  46. package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
  47. package/lib/openapi/v1/services/DynamicModulesService.d.ts +5 -5
  48. package/lib/openapi/v1/services/DynamicModulesService.js +70 -67
  49. package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
  50. package/lib/openapi/v1/services/ExperimentalService.d.ts +12 -12
  51. package/lib/openapi/v1/services/ExperimentalService.js +151 -148
  52. package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
  53. package/lib/openapi/v1/services/GroupService.d.ts +52 -52
  54. package/lib/openapi/v1/services/GroupService.js +445 -442
  55. package/lib/openapi/v1/services/GroupService.js.map +1 -1
  56. package/lib/openapi/v1/services/InlineTasksService.d.ts +20 -20
  57. package/lib/openapi/v1/services/InlineTasksService.js +118 -115
  58. package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
  59. package/lib/openapi/v1/services/LabelInfoService.d.ts +5 -5
  60. package/lib/openapi/v1/services/LabelInfoService.js +37 -34
  61. package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
  62. package/lib/openapi/v1/services/LongRunningTaskService.d.ts +8 -6
  63. package/lib/openapi/v1/services/LongRunningTaskService.js +67 -63
  64. package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
  65. package/lib/openapi/v1/services/RelationService.d.ts +37 -37
  66. package/lib/openapi/v1/services/RelationService.js +231 -228
  67. package/lib/openapi/v1/services/RelationService.js.map +1 -1
  68. package/lib/openapi/v1/services/SearchService.d.ts +20 -20
  69. package/lib/openapi/v1/services/SearchService.js +136 -133
  70. package/lib/openapi/v1/services/SearchService.js.map +1 -1
  71. package/lib/openapi/v1/services/SettingsService.d.ts +15 -15
  72. package/lib/openapi/v1/services/SettingsService.js +204 -201
  73. package/lib/openapi/v1/services/SettingsService.js.map +1 -1
  74. package/lib/openapi/v1/services/SpacePermissionsService.d.ts +6 -6
  75. package/lib/openapi/v1/services/SpacePermissionsService.js +99 -96
  76. package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
  77. package/lib/openapi/v1/services/SpacePropertiesService.d.ts +16 -16
  78. package/lib/openapi/v1/services/SpacePropertiesService.js +227 -224
  79. package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
  80. package/lib/openapi/v1/services/SpaceService.d.ts +38 -38
  81. package/lib/openapi/v1/services/SpaceService.js +320 -317
  82. package/lib/openapi/v1/services/SpaceService.js.map +1 -1
  83. package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -4
  84. package/lib/openapi/v1/services/SpaceSettingsService.js +68 -65
  85. package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
  86. package/lib/openapi/v1/services/TemplateService.d.ts +20 -20
  87. package/lib/openapi/v1/services/TemplateService.js +214 -211
  88. package/lib/openapi/v1/services/TemplateService.js.map +1 -1
  89. package/lib/openapi/v1/services/ThemesService.d.ts +13 -13
  90. package/lib/openapi/v1/services/ThemesService.js +179 -176
  91. package/lib/openapi/v1/services/ThemesService.js.map +1 -1
  92. package/lib/openapi/v1/services/UserPropertiesService.d.ts +12 -12
  93. package/lib/openapi/v1/services/UserPropertiesService.js +165 -162
  94. package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
  95. package/lib/openapi/v1/services/UsersService.d.ts +21 -21
  96. package/lib/openapi/v1/services/UsersService.js +229 -226
  97. package/lib/openapi/v1/services/UsersService.js.map +1 -1
  98. package/lib/openapi/v2/models/user.d.ts +0 -2
  99. package/lib/openapi/v2/models/user.js +0 -2
  100. package/lib/openapi/v2/models/user.js.map +1 -1
  101. package/lib/openapi/v2/services/AncestorsService.d.ts +17 -17
  102. package/lib/openapi/v2/services/AncestorsService.js +174 -171
  103. package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
  104. package/lib/openapi/v2/services/AttachmentService.d.ts +62 -62
  105. package/lib/openapi/v2/services/AttachmentService.js +261 -258
  106. package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
  107. package/lib/openapi/v2/services/BlogPostService.d.ts +70 -70
  108. package/lib/openapi/v2/services/BlogPostService.js +270 -267
  109. package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
  110. package/lib/openapi/v2/services/ChildrenService.d.ts +14 -14
  111. package/lib/openapi/v2/services/ChildrenService.js +77 -74
  112. package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
  113. package/lib/openapi/v2/services/ClassificationLevelService.d.ts +21 -21
  114. package/lib/openapi/v2/services/ClassificationLevelService.js +304 -301
  115. package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
  116. package/lib/openapi/v2/services/CommentService.d.ts +136 -136
  117. package/lib/openapi/v2/services/CommentService.js +635 -632
  118. package/lib/openapi/v2/services/CommentService.js.map +1 -1
  119. package/lib/openapi/v2/services/ContentPropertiesService.d.ts +128 -128
  120. package/lib/openapi/v2/services/ContentPropertiesService.js +1242 -1239
  121. package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
  122. package/lib/openapi/v2/services/ContentService.d.ts +2 -2
  123. package/lib/openapi/v2/services/ContentService.js +40 -37
  124. package/lib/openapi/v2/services/ContentService.js.map +1 -1
  125. package/lib/openapi/v2/services/CustomContentService.d.ts +72 -72
  126. package/lib/openapi/v2/services/CustomContentService.js +299 -296
  127. package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
  128. package/lib/openapi/v2/services/DataPoliciesService.d.ts +10 -10
  129. package/lib/openapi/v2/services/DataPoliciesService.js +67 -64
  130. package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
  131. package/lib/openapi/v2/services/DatabaseService.d.ts +17 -17
  132. package/lib/openapi/v2/services/DatabaseService.js +90 -87
  133. package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
  134. package/lib/openapi/v2/services/LabelService.d.ts +57 -57
  135. package/lib/openapi/v2/services/LabelService.js +263 -260
  136. package/lib/openapi/v2/services/LabelService.js.map +1 -1
  137. package/lib/openapi/v2/services/LikeService.d.ts +36 -36
  138. package/lib/openapi/v2/services/LikeService.js +250 -247
  139. package/lib/openapi/v2/services/LikeService.js.map +1 -1
  140. package/lib/openapi/v2/services/OperationService.d.ts +20 -20
  141. package/lib/openapi/v2/services/OperationService.js +298 -295
  142. package/lib/openapi/v2/services/OperationService.js.map +1 -1
  143. package/lib/openapi/v2/services/PageService.d.ts +73 -73
  144. package/lib/openapi/v2/services/PageService.js +272 -269
  145. package/lib/openapi/v2/services/PageService.js.map +1 -1
  146. package/lib/openapi/v2/services/SmartLinkService.d.ts +19 -17
  147. package/lib/openapi/v2/services/SmartLinkService.js +92 -89
  148. package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
  149. package/lib/openapi/v2/services/SpacePermissionsService.d.ts +6 -6
  150. package/lib/openapi/v2/services/SpacePermissionsService.js +35 -32
  151. package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
  152. package/lib/openapi/v2/services/SpacePropertiesService.d.ts +15 -15
  153. package/lib/openapi/v2/services/SpacePropertiesService.js +165 -162
  154. package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
  155. package/lib/openapi/v2/services/SpaceService.d.ts +28 -28
  156. package/lib/openapi/v2/services/SpaceService.js +83 -80
  157. package/lib/openapi/v2/services/SpaceService.js.map +1 -1
  158. package/lib/openapi/v2/services/TaskService.d.ts +40 -40
  159. package/lib/openapi/v2/services/TaskService.js +120 -117
  160. package/lib/openapi/v2/services/TaskService.js.map +1 -1
  161. package/lib/openapi/v2/services/UserService.d.ts +11 -11
  162. package/lib/openapi/v2/services/UserService.js +91 -88
  163. package/lib/openapi/v2/services/UserService.js.map +1 -1
  164. package/lib/openapi/v2/services/VersionService.d.ts +59 -59
  165. package/lib/openapi/v2/services/VersionService.js +395 -392
  166. package/lib/openapi/v2/services/VersionService.js.map +1 -1
  167. package/lib/openapi/v2/services/WhiteboardService.d.ts +17 -17
  168. package/lib/openapi/v2/services/WhiteboardService.js +90 -87
  169. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
  170. package/package.json +4 -3
@@ -11,253 +11,256 @@ const common_1 = require("../models/common");
11
11
  const validationSchemaStorage_1 = require("../validationSchemaStorage");
12
12
  /** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like */
13
13
  class LikeService extends CommonHttpService_1.CommonHttpService {
14
- /**
15
- * Returns the count of likes of specific blog post.
16
- *
17
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
18
- * Permission to view the content of the blog post and its corresponding space.
19
- *
20
- * @returns Returned if the requested count is returned.
21
- * @path {GET} /blogposts/{id}/likes/count
22
- * @scopes-current read:page:confluence
23
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-count-get
24
- */
25
- getBlogPostLikeCount({ id, }) {
26
- return this.getClientInstance()
27
- .request({
28
- path: "/blogposts/{id}/likes/count",
29
- method: "GET",
30
- pathParams: {
31
- id,
32
- },
33
- })
34
- .then(this.getClientInstance().responseHandler({
35
- 200: {
36
- "application/json": "json",
37
- },
38
- }))
39
- .then(commonHttpClient.castResponse())
40
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeCount.response"))
41
- .then(commonHttpClient.getBody);
42
- }
43
- /**
44
- * Returns the account IDs of likes of specific blog post.
45
- *
46
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
47
- * Permission to view the content of the blog post and its corresponding space.
48
- *
49
- * @returns Returned if the requested account IDs are returned.
50
- * @path {GET} /blogposts/{id}/likes/users
51
- * @scopes-current read:page:confluence
52
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-users-get
53
- */
54
- getBlogPostLikeUsers({ id, cursor, limit, }) {
55
- return this.getClientInstance()
56
- .request({
57
- path: "/blogposts/{id}/likes/users",
58
- method: "GET",
59
- pathParams: {
60
- id,
61
- },
62
- query: {
63
- cursor,
64
- limit,
65
- },
66
- })
67
- .then(this.getClientInstance().responseHandler({
68
- 200: {
69
- "application/json": "json",
70
- },
71
- }))
72
- .then(commonHttpClient.castResponse())
73
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeUsers.response"))
74
- .then(commonHttpClient.getBody);
75
- }
76
- /**
77
- * Returns the count of likes of specific footer comment.
78
- *
79
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
80
- * Permission to view the content of the page/blogpost and its corresponding space.
81
- *
82
- * @returns Returned if the requested count is returned.
83
- * @path {GET} /footer-comments/{id}/likes/count
84
- * @scopes-current read:comment:confluence
85
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-count-get
86
- */
87
- getFooterLikeCount({ id, }) {
88
- return this.getClientInstance()
89
- .request({
90
- path: "/footer-comments/{id}/likes/count",
91
- method: "GET",
92
- pathParams: {
93
- id,
94
- },
95
- })
96
- .then(this.getClientInstance().responseHandler({
97
- 200: {
98
- "application/json": "json",
99
- },
100
- }))
101
- .then(commonHttpClient.castResponse())
102
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeCount.response"))
103
- .then(commonHttpClient.getBody);
104
- }
105
- /**
106
- * Returns the account IDs of likes of specific footer comment.
107
- *
108
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
109
- * Permission to view the content of the page/blogpost and its corresponding space.
110
- *
111
- * @returns Returned if the requested account IDs are returned.
112
- * @path {GET} /footer-comments/{id}/likes/users
113
- * @scopes-current read:comment:confluence
114
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-users-get
115
- */
116
- getFooterLikeUsers({ id, cursor, limit, }) {
117
- return this.getClientInstance()
118
- .request({
119
- path: "/footer-comments/{id}/likes/users",
120
- method: "GET",
121
- pathParams: {
122
- id,
123
- },
124
- query: {
125
- cursor,
126
- limit,
127
- },
128
- })
129
- .then(this.getClientInstance().responseHandler({
130
- 200: {
131
- "application/json": "json",
132
- },
133
- }))
134
- .then(commonHttpClient.castResponse())
135
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeUsers.response"))
136
- .then(commonHttpClient.getBody);
137
- }
138
- /**
139
- * Returns the count of likes of specific inline comment.
140
- *
141
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
142
- * Permission to view the content of the page/blogpost and its corresponding space.
143
- *
144
- * @returns Returned if the requested count is returned.
145
- * @path {GET} /inline-comments/{id}/likes/count
146
- * @scopes-current read:comment:confluence
147
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-count-get
148
- */
149
- getInlineLikeCount({ id, }) {
150
- return this.getClientInstance()
151
- .request({
152
- path: "/inline-comments/{id}/likes/count",
153
- method: "GET",
154
- pathParams: {
155
- id,
156
- },
157
- })
158
- .then(this.getClientInstance().responseHandler({
159
- 200: {
160
- "application/json": "json",
161
- },
162
- }))
163
- .then(commonHttpClient.castResponse())
164
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeCount.response"))
165
- .then(commonHttpClient.getBody);
166
- }
167
- /**
168
- * Returns the account IDs of likes of specific inline comment.
169
- *
170
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
171
- * Permission to view the content of the page/blogpost and its corresponding space.
172
- *
173
- * @returns Returned if the requested account IDs are returned.
174
- * @path {GET} /inline-comments/{id}/likes/users
175
- * @scopes-current read:comment:confluence
176
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-users-get
177
- */
178
- getInlineLikeUsers({ id, cursor, limit, }) {
179
- return this.getClientInstance()
180
- .request({
181
- path: "/inline-comments/{id}/likes/users",
182
- method: "GET",
183
- pathParams: {
184
- id,
185
- },
186
- query: {
187
- cursor,
188
- limit,
189
- },
190
- })
191
- .then(this.getClientInstance().responseHandler({
192
- 200: {
193
- "application/json": "json",
194
- },
195
- }))
196
- .then(commonHttpClient.castResponse())
197
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeUsers.response"))
198
- .then(commonHttpClient.getBody);
199
- }
200
- /**
201
- * Returns the count of likes of specific page.
202
- *
203
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
204
- * Permission to view the content of the page and its corresponding space.
205
- *
206
- * @returns Returned if the requested count is returned.
207
- * @path {GET} /pages/{id}/likes/count
208
- * @scopes-current read:page:confluence
209
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-count-get
210
- */
211
- getPageLikeCount({ id, }) {
212
- return this.getClientInstance()
213
- .request({
214
- path: "/pages/{id}/likes/count",
215
- method: "GET",
216
- pathParams: {
217
- id,
218
- },
219
- })
220
- .then(this.getClientInstance().responseHandler({
221
- 200: {
222
- "application/json": "json",
223
- },
224
- }))
225
- .then(commonHttpClient.castResponse())
226
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeCount.response"))
227
- .then(commonHttpClient.getBody);
228
- }
229
- /**
230
- * Returns the account IDs of likes of specific page.
231
- *
232
- * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
233
- * Permission to view the content of the page and its corresponding space.
234
- *
235
- * @returns Returned if the requested account IDs are returned.
236
- * @path {GET} /pages/{id}/likes/users
237
- * @scopes-current read:page:confluence
238
- * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-users-get
239
- */
240
- getPageLikeUsers({ id, cursor, limit, }) {
241
- return this.getClientInstance()
242
- .request({
243
- path: "/pages/{id}/likes/users",
244
- method: "GET",
245
- pathParams: {
246
- id,
247
- },
248
- query: {
249
- cursor,
250
- limit,
251
- },
252
- })
253
- .then(this.getClientInstance().responseHandler({
254
- 200: {
255
- "application/json": "json",
256
- },
257
- }))
258
- .then(commonHttpClient.castResponse())
259
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeUsers.response"))
260
- .then(commonHttpClient.getBody);
14
+ constructor() {
15
+ super(...arguments);
16
+ /**
17
+ * Returns the count of likes of specific blog post.
18
+ *
19
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
20
+ * Permission to view the content of the blog post and its corresponding space.
21
+ *
22
+ * @returns Returned if the requested count is returned.
23
+ * @path {GET} /blogposts/{id}/likes/count
24
+ * @scopes-current read:page:confluence
25
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-count-get
26
+ */
27
+ this.getBlogPostLikeCount = ({ id, }) => {
28
+ return this.getClientInstance()
29
+ .request({
30
+ path: "/blogposts/{id}/likes/count",
31
+ method: "GET",
32
+ pathParams: {
33
+ id,
34
+ },
35
+ })
36
+ .then(this.getClientInstance().responseHandler({
37
+ 200: {
38
+ "application/json": "json",
39
+ },
40
+ }))
41
+ .then(commonHttpClient.castResponse())
42
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeCount.response"))
43
+ .then(commonHttpClient.getBody);
44
+ };
45
+ /**
46
+ * Returns the account IDs of likes of specific blog post.
47
+ *
48
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
49
+ * Permission to view the content of the blog post and its corresponding space.
50
+ *
51
+ * @returns Returned if the requested account IDs are returned.
52
+ * @path {GET} /blogposts/{id}/likes/users
53
+ * @scopes-current read:page:confluence
54
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-users-get
55
+ */
56
+ this.getBlogPostLikeUsers = ({ id, cursor, limit, }) => {
57
+ return this.getClientInstance()
58
+ .request({
59
+ path: "/blogposts/{id}/likes/users",
60
+ method: "GET",
61
+ pathParams: {
62
+ id,
63
+ },
64
+ query: {
65
+ cursor,
66
+ limit,
67
+ },
68
+ })
69
+ .then(this.getClientInstance().responseHandler({
70
+ 200: {
71
+ "application/json": "json",
72
+ },
73
+ }))
74
+ .then(commonHttpClient.castResponse())
75
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeUsers.response"))
76
+ .then(commonHttpClient.getBody);
77
+ };
78
+ /**
79
+ * Returns the count of likes of specific footer comment.
80
+ *
81
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
82
+ * Permission to view the content of the page/blogpost and its corresponding space.
83
+ *
84
+ * @returns Returned if the requested count is returned.
85
+ * @path {GET} /footer-comments/{id}/likes/count
86
+ * @scopes-current read:comment:confluence
87
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-count-get
88
+ */
89
+ this.getFooterLikeCount = ({ id, }) => {
90
+ return this.getClientInstance()
91
+ .request({
92
+ path: "/footer-comments/{id}/likes/count",
93
+ method: "GET",
94
+ pathParams: {
95
+ id,
96
+ },
97
+ })
98
+ .then(this.getClientInstance().responseHandler({
99
+ 200: {
100
+ "application/json": "json",
101
+ },
102
+ }))
103
+ .then(commonHttpClient.castResponse())
104
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeCount.response"))
105
+ .then(commonHttpClient.getBody);
106
+ };
107
+ /**
108
+ * Returns the account IDs of likes of specific footer comment.
109
+ *
110
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
111
+ * Permission to view the content of the page/blogpost and its corresponding space.
112
+ *
113
+ * @returns Returned if the requested account IDs are returned.
114
+ * @path {GET} /footer-comments/{id}/likes/users
115
+ * @scopes-current read:comment:confluence
116
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-users-get
117
+ */
118
+ this.getFooterLikeUsers = ({ id, cursor, limit, }) => {
119
+ return this.getClientInstance()
120
+ .request({
121
+ path: "/footer-comments/{id}/likes/users",
122
+ method: "GET",
123
+ pathParams: {
124
+ id,
125
+ },
126
+ query: {
127
+ cursor,
128
+ limit,
129
+ },
130
+ })
131
+ .then(this.getClientInstance().responseHandler({
132
+ 200: {
133
+ "application/json": "json",
134
+ },
135
+ }))
136
+ .then(commonHttpClient.castResponse())
137
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeUsers.response"))
138
+ .then(commonHttpClient.getBody);
139
+ };
140
+ /**
141
+ * Returns the count of likes of specific inline comment.
142
+ *
143
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
144
+ * Permission to view the content of the page/blogpost and its corresponding space.
145
+ *
146
+ * @returns Returned if the requested count is returned.
147
+ * @path {GET} /inline-comments/{id}/likes/count
148
+ * @scopes-current read:comment:confluence
149
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-count-get
150
+ */
151
+ this.getInlineLikeCount = ({ id, }) => {
152
+ return this.getClientInstance()
153
+ .request({
154
+ path: "/inline-comments/{id}/likes/count",
155
+ method: "GET",
156
+ pathParams: {
157
+ id,
158
+ },
159
+ })
160
+ .then(this.getClientInstance().responseHandler({
161
+ 200: {
162
+ "application/json": "json",
163
+ },
164
+ }))
165
+ .then(commonHttpClient.castResponse())
166
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeCount.response"))
167
+ .then(commonHttpClient.getBody);
168
+ };
169
+ /**
170
+ * Returns the account IDs of likes of specific inline comment.
171
+ *
172
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
173
+ * Permission to view the content of the page/blogpost and its corresponding space.
174
+ *
175
+ * @returns Returned if the requested account IDs are returned.
176
+ * @path {GET} /inline-comments/{id}/likes/users
177
+ * @scopes-current read:comment:confluence
178
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-users-get
179
+ */
180
+ this.getInlineLikeUsers = ({ id, cursor, limit, }) => {
181
+ return this.getClientInstance()
182
+ .request({
183
+ path: "/inline-comments/{id}/likes/users",
184
+ method: "GET",
185
+ pathParams: {
186
+ id,
187
+ },
188
+ query: {
189
+ cursor,
190
+ limit,
191
+ },
192
+ })
193
+ .then(this.getClientInstance().responseHandler({
194
+ 200: {
195
+ "application/json": "json",
196
+ },
197
+ }))
198
+ .then(commonHttpClient.castResponse())
199
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeUsers.response"))
200
+ .then(commonHttpClient.getBody);
201
+ };
202
+ /**
203
+ * Returns the count of likes of specific page.
204
+ *
205
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
206
+ * Permission to view the content of the page and its corresponding space.
207
+ *
208
+ * @returns Returned if the requested count is returned.
209
+ * @path {GET} /pages/{id}/likes/count
210
+ * @scopes-current read:page:confluence
211
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-count-get
212
+ */
213
+ this.getPageLikeCount = ({ id, }) => {
214
+ return this.getClientInstance()
215
+ .request({
216
+ path: "/pages/{id}/likes/count",
217
+ method: "GET",
218
+ pathParams: {
219
+ id,
220
+ },
221
+ })
222
+ .then(this.getClientInstance().responseHandler({
223
+ 200: {
224
+ "application/json": "json",
225
+ },
226
+ }))
227
+ .then(commonHttpClient.castResponse())
228
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeCount.response"))
229
+ .then(commonHttpClient.getBody);
230
+ };
231
+ /**
232
+ * Returns the account IDs of likes of specific page.
233
+ *
234
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
235
+ * Permission to view the content of the page and its corresponding space.
236
+ *
237
+ * @returns Returned if the requested account IDs are returned.
238
+ * @path {GET} /pages/{id}/likes/users
239
+ * @scopes-current read:page:confluence
240
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-users-get
241
+ */
242
+ this.getPageLikeUsers = ({ id, cursor, limit, }) => {
243
+ return this.getClientInstance()
244
+ .request({
245
+ path: "/pages/{id}/likes/users",
246
+ method: "GET",
247
+ pathParams: {
248
+ id,
249
+ },
250
+ query: {
251
+ cursor,
252
+ limit,
253
+ },
254
+ })
255
+ .then(this.getClientInstance().responseHandler({
256
+ 200: {
257
+ "application/json": "json",
258
+ },
259
+ }))
260
+ .then(commonHttpClient.castResponse())
261
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeUsers.response"))
262
+ .then(commonHttpClient.getBody);
263
+ };
261
264
  }
262
265
  static initialize() {
263
266
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getBlogPostLikeCount.response", zod_1.z
@@ -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;IAChD;;;;;;;;;;OAUG;IACH,oBAAoB,CAAC,EACnB,EAAE,GAIH;QAQC,OAAO,IAAI,C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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,uCAAuC,CAAC,CACrD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,uCAAuC,EACvC,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,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;gBACjE,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,uCAAuC,CAAC,CACrD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAppBD,kCAopBC"}
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;;;;;;;;;;WAUG;QACH,yBAAoB,GAAG,CAAC,EACtB,EAAE,GAIH,EAOC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,6BAA6B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