@resolution/confluence-api-client 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE.md +19 -0
  3. package/README.md +12 -0
  4. package/lib/index.d.ts +36 -0
  5. package/lib/index.js +64 -0
  6. package/lib/index.js.map +1 -0
  7. package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +133 -0
  8. package/lib/openapi/v1/BaseConfluenceApiV1Client.js +122 -0
  9. package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -0
  10. package/lib/openapi/v1/core/CommonHttpClient.d.ts +196 -0
  11. package/lib/openapi/v1/core/CommonHttpClient.js +390 -0
  12. package/lib/openapi/v1/core/CommonHttpClient.js.map +1 -0
  13. package/lib/openapi/v1/core/CommonHttpService.d.ts +7 -0
  14. package/lib/openapi/v1/core/CommonHttpService.js +20 -0
  15. package/lib/openapi/v1/core/CommonHttpService.js.map +1 -0
  16. package/lib/openapi/v1/core/CommonValidationSchemaStorage.d.ts +35 -0
  17. package/lib/openapi/v1/core/CommonValidationSchemaStorage.js +65 -0
  18. package/lib/openapi/v1/core/CommonValidationSchemaStorage.js.map +1 -0
  19. package/lib/openapi/v1/models/audit.d.ts +151 -0
  20. package/lib/openapi/v1/models/audit.js +133 -0
  21. package/lib/openapi/v1/models/audit.js.map +1 -0
  22. package/lib/openapi/v1/models/common.d.ts +645 -0
  23. package/lib/openapi/v1/models/common.js +654 -0
  24. package/lib/openapi/v1/models/common.js.map +1 -0
  25. package/lib/openapi/v1/models/content.d.ts +554 -0
  26. package/lib/openapi/v1/models/content.js +613 -0
  27. package/lib/openapi/v1/models/content.js.map +1 -0
  28. package/lib/openapi/v1/models/contentAttachments.d.ts +26 -0
  29. package/lib/openapi/v1/models/contentAttachments.js +33 -0
  30. package/lib/openapi/v1/models/contentAttachments.js.map +1 -0
  31. package/lib/openapi/v1/models/contentBody.d.ts +36 -0
  32. package/lib/openapi/v1/models/contentBody.js +63 -0
  33. package/lib/openapi/v1/models/contentBody.js.map +1 -0
  34. package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +75 -0
  35. package/lib/openapi/v1/models/contentChildrenAndDescendants.js +66 -0
  36. package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -0
  37. package/lib/openapi/v1/models/contentLabels.d.ts +5 -0
  38. package/lib/openapi/v1/models/contentLabels.js +16 -0
  39. package/lib/openapi/v1/models/contentLabels.js.map +1 -0
  40. package/lib/openapi/v1/models/contentMacroBody.d.ts +12 -0
  41. package/lib/openapi/v1/models/contentMacroBody.js +22 -0
  42. package/lib/openapi/v1/models/contentMacroBody.js.map +1 -0
  43. package/lib/openapi/v1/models/contentPermissions.d.ts +41 -0
  44. package/lib/openapi/v1/models/contentPermissions.js +35 -0
  45. package/lib/openapi/v1/models/contentPermissions.js.map +1 -0
  46. package/lib/openapi/v1/models/contentProperties.d.ts +73 -0
  47. package/lib/openapi/v1/models/contentProperties.js +94 -0
  48. package/lib/openapi/v1/models/contentProperties.js.map +1 -0
  49. package/lib/openapi/v1/models/contentRestrictions.d.ts +65 -0
  50. package/lib/openapi/v1/models/contentRestrictions.js +78 -0
  51. package/lib/openapi/v1/models/contentRestrictions.js.map +1 -0
  52. package/lib/openapi/v1/models/contentStates.d.ts +75 -0
  53. package/lib/openapi/v1/models/contentStates.js +72 -0
  54. package/lib/openapi/v1/models/contentStates.js.map +1 -0
  55. package/lib/openapi/v1/models/contentVersions.d.ts +28 -0
  56. package/lib/openapi/v1/models/contentVersions.js +36 -0
  57. package/lib/openapi/v1/models/contentVersions.js.map +1 -0
  58. package/lib/openapi/v1/models/contentWatches.d.ts +89 -0
  59. package/lib/openapi/v1/models/contentWatches.js +81 -0
  60. package/lib/openapi/v1/models/contentWatches.js.map +1 -0
  61. package/lib/openapi/v1/models/dynamicModules.d.ts +62 -0
  62. package/lib/openapi/v1/models/dynamicModules.js +24 -0
  63. package/lib/openapi/v1/models/dynamicModules.js.map +1 -0
  64. package/lib/openapi/v1/models/group.d.ts +9 -0
  65. package/lib/openapi/v1/models/group.js +23 -0
  66. package/lib/openapi/v1/models/group.js.map +1 -0
  67. package/lib/openapi/v1/models/inlineTasks.d.ts +30 -0
  68. package/lib/openapi/v1/models/inlineTasks.js +48 -0
  69. package/lib/openapi/v1/models/inlineTasks.js.map +1 -0
  70. package/lib/openapi/v1/models/labelInfo.d.ts +21 -0
  71. package/lib/openapi/v1/models/labelInfo.js +42 -0
  72. package/lib/openapi/v1/models/labelInfo.js.map +1 -0
  73. package/lib/openapi/v1/models/longRunningTask.d.ts +116 -0
  74. package/lib/openapi/v1/models/longRunningTask.js +82 -0
  75. package/lib/openapi/v1/models/longRunningTask.js.map +1 -0
  76. package/lib/openapi/v1/models/relation.d.ts +30 -0
  77. package/lib/openapi/v1/models/relation.js +61 -0
  78. package/lib/openapi/v1/models/relation.js.map +1 -0
  79. package/lib/openapi/v1/models/search.d.ts +41 -0
  80. package/lib/openapi/v1/models/search.js +65 -0
  81. package/lib/openapi/v1/models/search.js.map +1 -0
  82. package/lib/openapi/v1/models/settings.d.ts +36 -0
  83. package/lib/openapi/v1/models/settings.js +50 -0
  84. package/lib/openapi/v1/models/settings.js.map +1 -0
  85. package/lib/openapi/v1/models/space.d.ts +118 -0
  86. package/lib/openapi/v1/models/space.js +94 -0
  87. package/lib/openapi/v1/models/space.js.map +1 -0
  88. package/lib/openapi/v1/models/spacePermissions.d.ts +128 -0
  89. package/lib/openapi/v1/models/spacePermissions.js +102 -0
  90. package/lib/openapi/v1/models/spacePermissions.js.map +1 -0
  91. package/lib/openapi/v1/models/spaceProperties.d.ts +96 -0
  92. package/lib/openapi/v1/models/spaceProperties.js +93 -0
  93. package/lib/openapi/v1/models/spaceProperties.js.map +1 -0
  94. package/lib/openapi/v1/models/spaceSettings.d.ts +14 -0
  95. package/lib/openapi/v1/models/spaceSettings.js +17 -0
  96. package/lib/openapi/v1/models/spaceSettings.js.map +1 -0
  97. package/lib/openapi/v1/models/template.d.ts +201 -0
  98. package/lib/openapi/v1/models/template.js +163 -0
  99. package/lib/openapi/v1/models/template.js.map +1 -0
  100. package/lib/openapi/v1/models/themes.d.ts +26 -0
  101. package/lib/openapi/v1/models/themes.js +38 -0
  102. package/lib/openapi/v1/models/themes.js.map +1 -0
  103. package/lib/openapi/v1/models/userProperties.d.ts +41 -0
  104. package/lib/openapi/v1/models/userProperties.js +50 -0
  105. package/lib/openapi/v1/models/userProperties.js.map +1 -0
  106. package/lib/openapi/v1/models/users.d.ts +98 -0
  107. package/lib/openapi/v1/models/users.js +87 -0
  108. package/lib/openapi/v1/models/users.js.map +1 -0
  109. package/lib/openapi/v1/services/AnalyticsService.d.ts +54 -0
  110. package/lib/openapi/v1/services/AnalyticsService.js +98 -0
  111. package/lib/openapi/v1/services/AnalyticsService.js.map +1 -0
  112. package/lib/openapi/v1/services/AuditService.d.ts +163 -0
  113. package/lib/openapi/v1/services/AuditService.js +269 -0
  114. package/lib/openapi/v1/services/AuditService.js.map +1 -0
  115. package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +332 -0
  116. package/lib/openapi/v1/services/ContentAttachmentsService.js +362 -0
  117. package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -0
  118. package/lib/openapi/v1/services/ContentBodyService.d.ts +227 -0
  119. package/lib/openapi/v1/services/ContentBodyService.js +178 -0
  120. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -0
  121. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +621 -0
  122. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +453 -0
  123. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -0
  124. package/lib/openapi/v1/services/ContentCommentsService.d.ts +147 -0
  125. package/lib/openapi/v1/services/ContentCommentsService.js +72 -0
  126. package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -0
  127. package/lib/openapi/v1/services/ContentLabelsService.d.ts +122 -0
  128. package/lib/openapi/v1/services/ContentLabelsService.js +176 -0
  129. package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -0
  130. package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +268 -0
  131. package/lib/openapi/v1/services/ContentMacroBodyService.js +193 -0
  132. package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -0
  133. package/lib/openapi/v1/services/ContentPermissionsService.d.ts +34 -0
  134. package/lib/openapi/v1/services/ContentPermissionsService.js +72 -0
  135. package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -0
  136. package/lib/openapi/v1/services/ContentPropertiesService.d.ts +187 -0
  137. package/lib/openapi/v1/services/ContentPropertiesService.js +285 -0
  138. package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -0
  139. package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +503 -0
  140. package/lib/openapi/v1/services/ContentRestrictionsService.js +552 -0
  141. package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -0
  142. package/lib/openapi/v1/services/ContentService.d.ts +1012 -0
  143. package/lib/openapi/v1/services/ContentService.js +548 -0
  144. package/lib/openapi/v1/services/ContentService.js.map +1 -0
  145. package/lib/openapi/v1/services/ContentStatesService.d.ts +220 -0
  146. package/lib/openapi/v1/services/ContentStatesService.js +439 -0
  147. package/lib/openapi/v1/services/ContentStatesService.js.map +1 -0
  148. package/lib/openapi/v1/services/ContentVersionsService.d.ts +121 -0
  149. package/lib/openapi/v1/services/ContentVersionsService.js +181 -0
  150. package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -0
  151. package/lib/openapi/v1/services/ContentWatchesService.d.ts +550 -0
  152. package/lib/openapi/v1/services/ContentWatchesService.js +502 -0
  153. package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -0
  154. package/lib/openapi/v1/services/DynamicModulesService.d.ts +47 -0
  155. package/lib/openapi/v1/services/DynamicModulesService.js +92 -0
  156. package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -0
  157. package/lib/openapi/v1/services/ExperimentalService.d.ts +113 -0
  158. package/lib/openapi/v1/services/ExperimentalService.js +185 -0
  159. package/lib/openapi/v1/services/ExperimentalService.js.map +1 -0
  160. package/lib/openapi/v1/services/GroupService.d.ts +379 -0
  161. package/lib/openapi/v1/services/GroupService.js +515 -0
  162. package/lib/openapi/v1/services/GroupService.js.map +1 -0
  163. package/lib/openapi/v1/services/InlineTasksService.d.ts +91 -0
  164. package/lib/openapi/v1/services/InlineTasksService.js +155 -0
  165. package/lib/openapi/v1/services/InlineTasksService.js.map +1 -0
  166. package/lib/openapi/v1/services/LabelInfoService.d.ts +28 -0
  167. package/lib/openapi/v1/services/LabelInfoService.js +59 -0
  168. package/lib/openapi/v1/services/LabelInfoService.js.map +1 -0
  169. package/lib/openapi/v1/services/LongRunningTaskService.d.ts +43 -0
  170. package/lib/openapi/v1/services/LongRunningTaskService.js +96 -0
  171. package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -0
  172. package/lib/openapi/v1/services/RelationService.d.ts +404 -0
  173. package/lib/openapi/v1/services/RelationService.js +270 -0
  174. package/lib/openapi/v1/services/RelationService.js.map +1 -0
  175. package/lib/openapi/v1/services/SearchService.d.ts +175 -0
  176. package/lib/openapi/v1/services/SearchService.js +164 -0
  177. package/lib/openapi/v1/services/SearchService.js.map +1 -0
  178. package/lib/openapi/v1/services/SettingsService.d.ts +143 -0
  179. package/lib/openapi/v1/services/SettingsService.js +249 -0
  180. package/lib/openapi/v1/services/SettingsService.js.map +1 -0
  181. package/lib/openapi/v1/services/SpacePermissionsService.d.ts +68 -0
  182. package/lib/openapi/v1/services/SpacePermissionsService.js +121 -0
  183. package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -0
  184. package/lib/openapi/v1/services/SpacePropertiesService.d.ts +161 -0
  185. package/lib/openapi/v1/services/SpacePropertiesService.js +275 -0
  186. package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -0
  187. package/lib/openapi/v1/services/SpaceService.d.ts +479 -0
  188. package/lib/openapi/v1/services/SpaceService.js +394 -0
  189. package/lib/openapi/v1/services/SpaceService.js.map +1 -0
  190. package/lib/openapi/v1/services/SpaceSettingsService.d.ts +40 -0
  191. package/lib/openapi/v1/services/SpaceSettingsService.js +96 -0
  192. package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -0
  193. package/lib/openapi/v1/services/TemplateService.d.ts +163 -0
  194. package/lib/openapi/v1/services/TemplateService.js +259 -0
  195. package/lib/openapi/v1/services/TemplateService.js.map +1 -0
  196. package/lib/openapi/v1/services/ThemesService.d.ts +101 -0
  197. package/lib/openapi/v1/services/ThemesService.js +228 -0
  198. package/lib/openapi/v1/services/ThemesService.js.map +1 -0
  199. package/lib/openapi/v1/services/UserPropertiesService.d.ts +129 -0
  200. package/lib/openapi/v1/services/UserPropertiesService.js +192 -0
  201. package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -0
  202. package/lib/openapi/v1/services/UsersService.d.ts +181 -0
  203. package/lib/openapi/v1/services/UsersService.js +291 -0
  204. package/lib/openapi/v1/services/UsersService.js.map +1 -0
  205. package/lib/openapi/v1/validationSchemaStorage.d.ts +3 -0
  206. package/lib/openapi/v1/validationSchemaStorage.js +144 -0
  207. package/lib/openapi/v1/validationSchemaStorage.js.map +1 -0
  208. package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +88 -0
  209. package/lib/openapi/v2/BaseConfluenceApiV2Client.js +87 -0
  210. package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -0
  211. package/lib/openapi/v2/core/CommonHttpClient.d.ts +196 -0
  212. package/lib/openapi/v2/core/CommonHttpClient.js +390 -0
  213. package/lib/openapi/v2/core/CommonHttpClient.js.map +1 -0
  214. package/lib/openapi/v2/core/CommonHttpService.d.ts +7 -0
  215. package/lib/openapi/v2/core/CommonHttpService.js +20 -0
  216. package/lib/openapi/v2/core/CommonHttpService.js.map +1 -0
  217. package/lib/openapi/v2/core/CommonValidationSchemaStorage.d.ts +35 -0
  218. package/lib/openapi/v2/core/CommonValidationSchemaStorage.js +65 -0
  219. package/lib/openapi/v2/core/CommonValidationSchemaStorage.js.map +1 -0
  220. package/lib/openapi/v2/models/ancestors.d.ts +11 -0
  221. package/lib/openapi/v2/models/ancestors.js +21 -0
  222. package/lib/openapi/v2/models/ancestors.js.map +1 -0
  223. package/lib/openapi/v2/models/attachment.d.ts +148 -0
  224. package/lib/openapi/v2/models/attachment.js +116 -0
  225. package/lib/openapi/v2/models/attachment.js.map +1 -0
  226. package/lib/openapi/v2/models/blogPost.d.ts +106 -0
  227. package/lib/openapi/v2/models/blogPost.js +134 -0
  228. package/lib/openapi/v2/models/blogPost.js.map +1 -0
  229. package/lib/openapi/v2/models/children.d.ts +29 -0
  230. package/lib/openapi/v2/models/children.js +38 -0
  231. package/lib/openapi/v2/models/children.js.map +1 -0
  232. package/lib/openapi/v2/models/classificationLevel.d.ts +28 -0
  233. package/lib/openapi/v2/models/classificationLevel.js +45 -0
  234. package/lib/openapi/v2/models/classificationLevel.js.map +1 -0
  235. package/lib/openapi/v2/models/comment.d.ts +396 -0
  236. package/lib/openapi/v2/models/comment.js +378 -0
  237. package/lib/openapi/v2/models/comment.js.map +1 -0
  238. package/lib/openapi/v2/models/common.d.ts +200 -0
  239. package/lib/openapi/v2/models/common.js +225 -0
  240. package/lib/openapi/v2/models/common.js.map +1 -0
  241. package/lib/openapi/v2/models/content.d.ts +16 -0
  242. package/lib/openapi/v2/models/content.js +29 -0
  243. package/lib/openapi/v2/models/content.js.map +1 -0
  244. package/lib/openapi/v2/models/contentProperties.d.ts +33 -0
  245. package/lib/openapi/v2/models/contentProperties.js +33 -0
  246. package/lib/openapi/v2/models/contentProperties.js.map +1 -0
  247. package/lib/openapi/v2/models/customContent.d.ts +174 -0
  248. package/lib/openapi/v2/models/customContent.js +163 -0
  249. package/lib/openapi/v2/models/customContent.js.map +1 -0
  250. package/lib/openapi/v2/models/dataPolicies.d.ts +34 -0
  251. package/lib/openapi/v2/models/dataPolicies.js +38 -0
  252. package/lib/openapi/v2/models/dataPolicies.js.map +1 -0
  253. package/lib/openapi/v2/models/database.d.ts +35 -0
  254. package/lib/openapi/v2/models/database.js +38 -0
  255. package/lib/openapi/v2/models/database.js.map +1 -0
  256. package/lib/openapi/v2/models/operation.d.ts +8 -0
  257. package/lib/openapi/v2/models/operation.js +21 -0
  258. package/lib/openapi/v2/models/operation.js.map +1 -0
  259. package/lib/openapi/v2/models/page.d.ts +124 -0
  260. package/lib/openapi/v2/models/page.js +143 -0
  261. package/lib/openapi/v2/models/page.js.map +1 -0
  262. package/lib/openapi/v2/models/smartLink.d.ts +38 -0
  263. package/lib/openapi/v2/models/smartLink.js +38 -0
  264. package/lib/openapi/v2/models/smartLink.js.map +1 -0
  265. package/lib/openapi/v2/models/space.d.ts +87 -0
  266. package/lib/openapi/v2/models/space.js +100 -0
  267. package/lib/openapi/v2/models/space.js.map +1 -0
  268. package/lib/openapi/v2/models/spaceProperties.d.ts +27 -0
  269. package/lib/openapi/v2/models/spaceProperties.js +32 -0
  270. package/lib/openapi/v2/models/spaceProperties.js.map +1 -0
  271. package/lib/openapi/v2/models/task.d.ts +39 -0
  272. package/lib/openapi/v2/models/task.js +39 -0
  273. package/lib/openapi/v2/models/task.js.map +1 -0
  274. package/lib/openapi/v2/models/version.d.ts +139 -0
  275. package/lib/openapi/v2/models/version.js +91 -0
  276. package/lib/openapi/v2/models/version.js.map +1 -0
  277. package/lib/openapi/v2/models/whiteboard.d.ts +37 -0
  278. package/lib/openapi/v2/models/whiteboard.js +39 -0
  279. package/lib/openapi/v2/models/whiteboard.js.map +1 -0
  280. package/lib/openapi/v2/services/AncestorsService.d.ts +143 -0
  281. package/lib/openapi/v2/services/AncestorsService.js +245 -0
  282. package/lib/openapi/v2/services/AncestorsService.js.map +1 -0
  283. package/lib/openapi/v2/services/AttachmentService.d.ts +307 -0
  284. package/lib/openapi/v2/services/AttachmentService.js +370 -0
  285. package/lib/openapi/v2/services/AttachmentService.js.map +1 -0
  286. package/lib/openapi/v2/services/BlogPostService.d.ts +386 -0
  287. package/lib/openapi/v2/services/BlogPostService.js +379 -0
  288. package/lib/openapi/v2/services/BlogPostService.js.map +1 -0
  289. package/lib/openapi/v2/services/ChildrenService.d.ts +85 -0
  290. package/lib/openapi/v2/services/ChildrenService.js +127 -0
  291. package/lib/openapi/v2/services/ChildrenService.js.map +1 -0
  292. package/lib/openapi/v2/services/ClassificationLevelService.d.ts +213 -0
  293. package/lib/openapi/v2/services/ClassificationLevelService.js +340 -0
  294. package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -0
  295. package/lib/openapi/v2/services/CommentService.d.ts +713 -0
  296. package/lib/openapi/v2/services/CommentService.js +884 -0
  297. package/lib/openapi/v2/services/CommentService.js.map +1 -0
  298. package/lib/openapi/v2/services/ContentPropertiesService.d.ts +844 -0
  299. package/lib/openapi/v2/services/ContentPropertiesService.js +1514 -0
  300. package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -0
  301. package/lib/openapi/v2/services/ContentService.d.ts +31 -0
  302. package/lib/openapi/v2/services/ContentService.js +62 -0
  303. package/lib/openapi/v2/services/ContentService.js.map +1 -0
  304. package/lib/openapi/v2/services/CustomContentService.d.ts +427 -0
  305. package/lib/openapi/v2/services/CustomContentService.js +423 -0
  306. package/lib/openapi/v2/services/CustomContentService.js.map +1 -0
  307. package/lib/openapi/v2/services/DataPoliciesService.d.ts +64 -0
  308. package/lib/openapi/v2/services/DataPoliciesService.js +108 -0
  309. package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -0
  310. package/lib/openapi/v2/services/DatabaseService.d.ts +82 -0
  311. package/lib/openapi/v2/services/DatabaseService.js +135 -0
  312. package/lib/openapi/v2/services/DatabaseService.js.map +1 -0
  313. package/lib/openapi/v2/services/LabelService.d.ts +271 -0
  314. package/lib/openapi/v2/services/LabelService.js +384 -0
  315. package/lib/openapi/v2/services/LabelService.js.map +1 -0
  316. package/lib/openapi/v2/services/LikeService.d.ts +205 -0
  317. package/lib/openapi/v2/services/LikeService.js +358 -0
  318. package/lib/openapi/v2/services/LikeService.js.map +1 -0
  319. package/lib/openapi/v2/services/OperationService.d.ts +154 -0
  320. package/lib/openapi/v2/services/OperationService.js +374 -0
  321. package/lib/openapi/v2/services/OperationService.js.map +1 -0
  322. package/lib/openapi/v2/services/PageService.d.ts +408 -0
  323. package/lib/openapi/v2/services/PageService.js +381 -0
  324. package/lib/openapi/v2/services/PageService.js.map +1 -0
  325. package/lib/openapi/v2/services/SmartLinkService.d.ts +84 -0
  326. package/lib/openapi/v2/services/SmartLinkService.js +137 -0
  327. package/lib/openapi/v2/services/SmartLinkService.js.map +1 -0
  328. package/lib/openapi/v2/services/SpacePermissionsService.d.ts +36 -0
  329. package/lib/openapi/v2/services/SpacePermissionsService.js +66 -0
  330. package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -0
  331. package/lib/openapi/v2/services/SpacePropertiesService.d.ts +118 -0
  332. package/lib/openapi/v2/services/SpacePropertiesService.js +213 -0
  333. package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -0
  334. package/lib/openapi/v2/services/SpaceService.d.ts +141 -0
  335. package/lib/openapi/v2/services/SpaceService.js +133 -0
  336. package/lib/openapi/v2/services/SpaceService.js.map +1 -0
  337. package/lib/openapi/v2/services/TaskService.d.ts +184 -0
  338. package/lib/openapi/v2/services/TaskService.js +165 -0
  339. package/lib/openapi/v2/services/TaskService.js.map +1 -0
  340. package/lib/openapi/v2/services/UserService.d.ts +51 -0
  341. package/lib/openapi/v2/services/UserService.js +83 -0
  342. package/lib/openapi/v2/services/UserService.js.map +1 -0
  343. package/lib/openapi/v2/services/VersionService.d.ts +350 -0
  344. package/lib/openapi/v2/services/VersionService.js +541 -0
  345. package/lib/openapi/v2/services/VersionService.js.map +1 -0
  346. package/lib/openapi/v2/services/WhiteboardService.d.ts +82 -0
  347. package/lib/openapi/v2/services/WhiteboardService.js +135 -0
  348. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -0
  349. package/lib/openapi/v2/validationSchemaStorage.d.ts +3 -0
  350. package/lib/openapi/v2/validationSchemaStorage.js +144 -0
  351. package/lib/openapi/v2/validationSchemaStorage.js.map +1 -0
  352. package/package.json +44 -0
@@ -0,0 +1,713 @@
1
+ import { CommonHttpService } from "../core/CommonHttpService";
2
+ import { type AttachmentCommentModel, type BlogPostCommentModel, type BlogPostInlineCommentModel, type ChildrenCommentModel, type CommentSortOrder, type CreateFooterCommentModel, type CreateInlineCommentModel, type CustomContentCommentModel, type FooterCommentModel, type InlineCommentChildrenModel, type InlineCommentModel, type PageCommentModel, type PageInlineCommentModel, type UpdateFooterCommentModel, type UpdateInlineCommentModel } from "../models/comment";
3
+ import { type MultiEntityLinks, type PrimaryBodyRepresentation, type PrimaryBodyRepresentationSingle } from "../models/common";
4
+ export declare class CommentService extends CommonHttpService {
5
+ /**
6
+ * Create a footer comment.
7
+ *
8
+ * The footer comment can be made against several locations:
9
+ * - at the top level (specifying pageId or blogPostId in the request body)
10
+ * - as a reply (specifying parentCommentId in the request body)
11
+ * - against an attachment (note: this is different than the comments added via
12
+ * the attachment properties page on the UI, which are referred to as version
13
+ * comments)
14
+ * - against a custom content
15
+ *
16
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
17
+ * Permission to view the content of the page or blogpost and its corresponding
18
+ * space. Permission to create comments in the space.
19
+ *
20
+ * @returns Returned if the footer comment is created.
21
+ * @path {POST} /footer-comments
22
+ * @scopes-current write:comment:confluence
23
+ */
24
+ createFooterComment({ createFooterCommentModel, }: {
25
+ /** The footer comment to be created */
26
+ createFooterCommentModel: CreateFooterCommentModel;
27
+ }): Promise<FooterCommentModel & ({
28
+ _links?: {
29
+ /** Base url of the Confluence site. */
30
+ base?: string;
31
+ } & {
32
+ [key: string]: unknown;
33
+ };
34
+ } & {
35
+ [key: string]: unknown;
36
+ })>;
37
+ /**
38
+ * Create an inline comment. This can be at the top level (specifying pageId or
39
+ * blogPostId in the request body)
40
+ * or as a reply (specifying parentCommentId in the request body). Note the
41
+ * inlineCommentProperties object in the
42
+ * request body is used to select the text the inline comment should be tied to.
43
+ * This is what determines the text
44
+ * highlighting when viewing a page in Confluence.
45
+ *
46
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
47
+ * Permission to view the content of the page or blogpost and its corresponding
48
+ * space. Permission to create comments in the space.
49
+ *
50
+ * @returns Returned if the inline comment is created.
51
+ * @path {POST} /inline-comments
52
+ * @scopes-current write:comment:confluence
53
+ */
54
+ createInlineComment({ createInlineCommentModel, }: {
55
+ /** The inline comment to be created */
56
+ createInlineCommentModel: CreateInlineCommentModel;
57
+ }): Promise<InlineCommentModel & ({
58
+ _links?: {
59
+ /** Base url of the Confluence site. */
60
+ base?: string;
61
+ } & {
62
+ [key: string]: unknown;
63
+ };
64
+ } & {
65
+ [key: string]: unknown;
66
+ })>;
67
+ /**
68
+ * Deletes a footer comment. This is a permanent deletion and cannot be reverted.
69
+ *
70
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
71
+ * Permission to view the content of the page or blogpost and its corresponding
72
+ * space. Permission to delete comments in the space.
73
+ *
74
+ * @path {DELETE} /footer-comments/{comment-id}
75
+ * @scopes-current delete:comment:confluence
76
+ */
77
+ deleteFooterComment({ commentId, }: {
78
+ /** The ID of the comment to be retrieved. */
79
+ commentId: number;
80
+ }): Promise<void>;
81
+ /**
82
+ * Deletes an inline comment. This is a permanent deletion and cannot be reverted.
83
+ *
84
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
85
+ * Permission to view the content of the page or blogpost and its corresponding
86
+ * space. Permission to delete comments in the space.
87
+ *
88
+ * @path {DELETE} /inline-comments/{comment-id}
89
+ * @scopes-current delete:comment:confluence
90
+ */
91
+ deleteInlineComment({ commentId, }: {
92
+ /** The ID of the comment to be deleted. */
93
+ commentId: number;
94
+ }): Promise<void>;
95
+ /**
96
+ * Returns the comments of the specific attachment.
97
+ * The number of results is limited by the `limit` parameter and additional
98
+ * results (if available) will be available through
99
+ * the `next` URL present in the `Link` response header.
100
+ *
101
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
102
+ * Permission to view the attachment and its corresponding containers.
103
+ *
104
+ * @returns Returned if the attachment comments were successfully retrieved
105
+ * @path {GET} /attachments/{id}/footer-comments
106
+ * @scopes-current read:comment:confluence
107
+ */
108
+ getAttachmentComments({ id, bodyFormat, cursor, limit, sort, version, }: {
109
+ /** The ID of the attachment for which comments should be returned. */
110
+ id: string;
111
+ /**
112
+ * The content format type to be returned in the `body` field of the response. If
113
+ * available, the representation will be available under a response field of the
114
+ * same name under the `body` field.
115
+ */
116
+ bodyFormat?: PrimaryBodyRepresentation;
117
+ /**
118
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
119
+ * the `Link` response header. Use the relative URL in the `Link` header to
120
+ * retrieve the `next` set of results.
121
+ */
122
+ cursor?: string;
123
+ /**
124
+ * Maximum number of comments per result to return. If more results exist, use the
125
+ * `Link` header to retrieve a relative URL that will return the next set of
126
+ * results.
127
+ */
128
+ limit?: number;
129
+ /** Used to sort the result by a particular field. */
130
+ sort?: CommentSortOrder;
131
+ /**
132
+ * Version number of the attachment to retrieve comments for. If no version
133
+ * provided, retrieves comments for the latest version.
134
+ */
135
+ version?: number;
136
+ }): Promise<{
137
+ results?: AttachmentCommentModel[];
138
+ _links?: MultiEntityLinks;
139
+ } & {
140
+ [key: string]: unknown;
141
+ }>;
142
+ /**
143
+ * Returns the root footer comments of specific blog post. The number of results
144
+ * is limited by the `limit` parameter and additional results (if available)
145
+ * will be available through the `next` URL present in the `Link` response header.
146
+ *
147
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
148
+ * Permission to view the content of the blog post and its corresponding space.
149
+ *
150
+ * @returns Returned if the requested footer comments are returned.
151
+ * @path {GET} /blogposts/{id}/footer-comments
152
+ * @scopes-current read:comment:confluence
153
+ */
154
+ getBlogPostFooterComments({ id, bodyFormat, sort, cursor, limit, }: {
155
+ /** The ID of the blog post for which footer comments should be returned. */
156
+ id: number;
157
+ /**
158
+ * The content format type to be returned in the `body` field of the response. If
159
+ * available, the representation will be available under a response field of the
160
+ * same name under the `body` field.
161
+ */
162
+ bodyFormat?: PrimaryBodyRepresentation;
163
+ /** Used to sort the result by a particular field. */
164
+ sort?: CommentSortOrder;
165
+ /**
166
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
167
+ * the `Link` response header. Use the relative URL in the `Link` header to
168
+ * retrieve the `next` set of results.
169
+ */
170
+ cursor?: string;
171
+ /**
172
+ * Maximum number of footer comments per result to return. If more results exist,
173
+ * use the `Link` header to retrieve a relative URL that will return the next set
174
+ * of results.
175
+ */
176
+ limit?: number;
177
+ }): Promise<{
178
+ results?: BlogPostCommentModel[];
179
+ _links?: MultiEntityLinks;
180
+ } & {
181
+ [key: string]: unknown;
182
+ }>;
183
+ /**
184
+ * Returns the root inline comments of specific blog post. The number of results
185
+ * is limited by the `limit` parameter and additional results (if available)
186
+ * will be available through the `next` URL present in the `Link` response header.
187
+ *
188
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
189
+ * Permission to view the content of the blog post and its corresponding space.
190
+ *
191
+ * @returns Returned if the requested inline comments are returned.
192
+ * @path {GET} /blogposts/{id}/inline-comments
193
+ * @scopes-current read:comment:confluence
194
+ */
195
+ getBlogPostInlineComments({ id, bodyFormat, sort, cursor, limit, }: {
196
+ /** The ID of the blog post for which inline comments should be returned. */
197
+ id: number;
198
+ /**
199
+ * The content format type to be returned in the `body` field of the response. If
200
+ * available, the representation will be available under a response field of the
201
+ * same name under the `body` field.
202
+ */
203
+ bodyFormat?: PrimaryBodyRepresentation;
204
+ /** Used to sort the result by a particular field. */
205
+ sort?: CommentSortOrder;
206
+ /**
207
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
208
+ * the `Link` response header. Use the relative URL in the `Link` header to
209
+ * retrieve the `next` set of results.
210
+ */
211
+ cursor?: string;
212
+ /**
213
+ * Maximum number of inline comments per result to return. If more results exist,
214
+ * use the `Link` header to retrieve a relative URL that will return the next set
215
+ * of results.
216
+ */
217
+ limit?: number;
218
+ }): Promise<{
219
+ results?: BlogPostInlineCommentModel[];
220
+ _links?: MultiEntityLinks;
221
+ } & {
222
+ [key: string]: unknown;
223
+ }>;
224
+ /**
225
+ * Returns the comments of the specific custom content.
226
+ * The number of results is limited by the `limit` parameter and additional
227
+ * results (if available) will be available through
228
+ * the `next` URL present in the `Link` response header.
229
+ *
230
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
231
+ * Permission to view the custom content and its corresponding containers.
232
+ *
233
+ * @returns Returned if the custom content comments were successfully retrieved
234
+ * @path {GET} /custom-content/{id}/footer-comments
235
+ * @scopes-current read:comment:confluence
236
+ */
237
+ getCustomContentComments({ id, bodyFormat, cursor, limit, sort, }: {
238
+ /** The ID of the custom content for which comments should be returned. */
239
+ id: number;
240
+ /**
241
+ * The content format type to be returned in the `body` field of the response. If
242
+ * available, the representation will be available under a response field of the
243
+ * same name under the `body` field.
244
+ */
245
+ bodyFormat?: PrimaryBodyRepresentation;
246
+ /**
247
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
248
+ * the `Link` response header. Use the relative URL in the `Link` header to
249
+ * retrieve the `next` set of results.
250
+ */
251
+ cursor?: string;
252
+ /**
253
+ * Maximum number of comments per result to return. If more results exist, use the
254
+ * `Link` header to retrieve a relative URL that will return the next set of
255
+ * results.
256
+ */
257
+ limit?: number;
258
+ /** Used to sort the result by a particular field. */
259
+ sort?: CommentSortOrder;
260
+ }): Promise<{
261
+ results?: CustomContentCommentModel[];
262
+ _links?: MultiEntityLinks;
263
+ } & {
264
+ [key: string]: unknown;
265
+ }>;
266
+ /**
267
+ * Retrieves a footer comment by id
268
+ *
269
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
270
+ * Permission to view the content of the container and its corresponding space.
271
+ *
272
+ * @returns Returned if the footer comment is successfully retrieved.
273
+ * @path {GET} /footer-comments/{comment-id}
274
+ * @scopes-current read:comment:confluence
275
+ */
276
+ getFooterCommentById({ commentId, bodyFormat, version, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, }: {
277
+ /** The ID of the comment to be retrieved. */
278
+ commentId: number;
279
+ /**
280
+ * The content format type to be returned in the `body` field of the response. If
281
+ * available, the representation will be available under a response field of the
282
+ * same name under the `body` field.
283
+ */
284
+ bodyFormat?: PrimaryBodyRepresentationSingle;
285
+ /**
286
+ * Allows you to retrieve a previously published version. Specify the previous
287
+ * version's number to retrieve its details.
288
+ */
289
+ version?: number;
290
+ /**
291
+ * Includes content properties associated with this footer comment in the response.
292
+ * The number of results will be limited to 50 and sorted in the default sort
293
+ * order.
294
+ * A `meta` and `_links` property will be present to indicate if more results are
295
+ * available and a link to retrieve the rest of the results.
296
+ */
297
+ includeProperties?: boolean;
298
+ /**
299
+ * Includes operations associated with this footer comment in the response.
300
+ * The number of results will be limited to 50 and sorted in the default sort
301
+ * order.
302
+ * A `meta` and `_links` property will be present to indicate if more results are
303
+ * available and a link to retrieve the rest of the results.
304
+ */
305
+ includeOperations?: boolean;
306
+ /**
307
+ * Includes likes associated with this footer comment in the response.
308
+ * The number of results will be limited to 50 and sorted in the default sort
309
+ * order.
310
+ * A `meta` and `_links` property will be present to indicate if more results are
311
+ * available and a link to retrieve the rest of the results.
312
+ */
313
+ includeLikes?: boolean;
314
+ /**
315
+ * Includes versions associated with this footer comment in the response.
316
+ * The number of results will be limited to 50 and sorted in the default sort
317
+ * order.
318
+ * A `meta` and `_links` property will be present to indicate if more results are
319
+ * available and a link to retrieve the rest of the results.
320
+ */
321
+ includeVersions?: boolean;
322
+ /**
323
+ * Includes the current version associated with this footer comment in the
324
+ * response.
325
+ * By default this is included and can be omitted by setting the value to `false`.
326
+ */
327
+ includeVersion?: boolean;
328
+ }): Promise<FooterCommentModel & ({
329
+ _links?: {
330
+ /** Base url of the Confluence site. */
331
+ base?: string;
332
+ } & {
333
+ [key: string]: unknown;
334
+ };
335
+ } & {
336
+ [key: string]: unknown;
337
+ })>;
338
+ /**
339
+ * Returns the children footer comments of specific comment. The number of results
340
+ * is limited by the `limit` parameter and additional results (if available)
341
+ * will be available through the `next` URL present in the `Link` response header.
342
+ *
343
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
344
+ * Permission to view the content of the page and its corresponding space.
345
+ *
346
+ * @returns Returned if the requested footer comments are returned.
347
+ * @path {GET} /footer-comments/{id}/children
348
+ * @scopes-current read:comment:confluence
349
+ */
350
+ getFooterCommentChildren({ id, bodyFormat, sort, cursor, limit, }: {
351
+ /**
352
+ * The ID of the parent comment for which footer comment children should be
353
+ * returned.
354
+ */
355
+ id: number;
356
+ /**
357
+ * The content format type to be returned in the `body` field of the response. If
358
+ * available, the representation will be available under a response field of the
359
+ * same name under the `body` field.
360
+ */
361
+ bodyFormat?: PrimaryBodyRepresentation;
362
+ /** Used to sort the result by a particular field. */
363
+ sort?: CommentSortOrder;
364
+ /**
365
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
366
+ * the `Link` response header. Use the relative URL in the `Link` header to
367
+ * retrieve the `next` set of results.
368
+ */
369
+ cursor?: string;
370
+ /**
371
+ * Maximum number of footer comments per result to return. If more results exist,
372
+ * use the `Link` header to retrieve a relative URL that will return the next set
373
+ * of results.
374
+ */
375
+ limit?: number;
376
+ }): Promise<{
377
+ results?: ChildrenCommentModel[];
378
+ _links?: MultiEntityLinks;
379
+ } & {
380
+ [key: string]: unknown;
381
+ }>;
382
+ /**
383
+ * Returns all footer comments. The number of results is limited by the `limit`
384
+ * parameter and additional results (if available)
385
+ * will be available through the `next` URL present in the `Link` response header.
386
+ *
387
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
388
+ * Permission to view the content of the container and its corresponding space.
389
+ *
390
+ * @returns Returned if the requested footer comments are returned.
391
+ * @path {GET} /footer-comments
392
+ * @scopes-current read:comment:confluence
393
+ */
394
+ getFooterComments({ bodyFormat, sort, cursor, limit, }: {
395
+ /**
396
+ * The content format type to be returned in the `body` field of the response. If
397
+ * available, the representation will be available under a response field of the
398
+ * same name under the `body` field.
399
+ */
400
+ bodyFormat?: PrimaryBodyRepresentation;
401
+ /** Used to sort the result by a particular field. */
402
+ sort?: CommentSortOrder;
403
+ /**
404
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
405
+ * the `Link` response header. Use the relative URL in the `Link` header to
406
+ * retrieve the `next` set of results.
407
+ */
408
+ cursor?: string;
409
+ /**
410
+ * Maximum number of footer comments per result to return. If more results exist,
411
+ * use the `Link` header to retrieve a relative URL that will return the next set
412
+ * of results.
413
+ */
414
+ limit?: number;
415
+ }): Promise<{
416
+ results?: FooterCommentModel[];
417
+ _links?: MultiEntityLinks;
418
+ } & {
419
+ [key: string]: unknown;
420
+ }>;
421
+ /**
422
+ * Retrieves an inline comment by id
423
+ *
424
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
425
+ * Permission to view the content of the page or blogpost and its corresponding
426
+ * space.
427
+ *
428
+ * @returns Returned if the inline comment is successfully retrieved.
429
+ * @path {GET} /inline-comments/{comment-id}
430
+ * @scopes-current read:comment:confluence
431
+ */
432
+ getInlineCommentById({ commentId, bodyFormat, version, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, }: {
433
+ /** The ID of the comment to be retrieved. */
434
+ commentId: number;
435
+ /**
436
+ * The content format type to be returned in the `body` field of the response. If
437
+ * available, the representation will be available under a response field of the
438
+ * same name under the `body` field.
439
+ */
440
+ bodyFormat?: PrimaryBodyRepresentationSingle;
441
+ /**
442
+ * Allows you to retrieve a previously published version. Specify the previous
443
+ * version's number to retrieve its details.
444
+ */
445
+ version?: number;
446
+ /**
447
+ * Includes content properties associated with this inline comment in the response.
448
+ * The number of results will be limited to 50 and sorted in the default sort
449
+ * order.
450
+ * A `meta` and `_links` property will be present to indicate if more results are
451
+ * available and a link to retrieve the rest of the results.
452
+ */
453
+ includeProperties?: boolean;
454
+ /**
455
+ * Includes operations associated with this inline comment in the response.
456
+ * The number of results will be limited to 50 and sorted in the default sort
457
+ * order.
458
+ * A `meta` and `_links` property will be present to indicate if more results are
459
+ * available and a link to retrieve the rest of the results.
460
+ */
461
+ includeOperations?: boolean;
462
+ /**
463
+ * Includes likes associated with this inline comment in the response.
464
+ * The number of results will be limited to 50 and sorted in the default sort
465
+ * order.
466
+ * A `meta` and `_links` property will be present to indicate if more results are
467
+ * available and a link to retrieve the rest of the results.
468
+ */
469
+ includeLikes?: boolean;
470
+ /**
471
+ * Includes versions associated with this inline comment in the response.
472
+ * The number of results will be limited to 50 and sorted in the default sort
473
+ * order.
474
+ * A `meta` and `_links` property will be present to indicate if more results are
475
+ * available and a link to retrieve the rest of the results.
476
+ */
477
+ includeVersions?: boolean;
478
+ /**
479
+ * Includes the current version associated with this inline comment in the
480
+ * response.
481
+ * By default this is included and can be omitted by setting the value to `false`.
482
+ */
483
+ includeVersion?: boolean;
484
+ }): Promise<InlineCommentModel & ({
485
+ _links?: {
486
+ /** Base url of the Confluence site. */
487
+ base?: string;
488
+ } & {
489
+ [key: string]: unknown;
490
+ };
491
+ } & {
492
+ [key: string]: unknown;
493
+ })>;
494
+ /**
495
+ * Returns the children inline comments of specific comment. The number of results
496
+ * is limited by the `limit` parameter and additional results (if available)
497
+ * will be available through the `next` URL present in the `Link` response header.
498
+ *
499
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
500
+ * Permission to view the content of the page and its corresponding space.
501
+ *
502
+ * @returns Returned if the requested footer comments are returned.
503
+ * @path {GET} /inline-comments/{id}/children
504
+ * @scopes-current read:comment:confluence
505
+ */
506
+ getInlineCommentChildren({ id, bodyFormat, sort, cursor, limit, }: {
507
+ /**
508
+ * The ID of the parent comment for which inline comment children should be
509
+ * returned.
510
+ */
511
+ id: number;
512
+ /**
513
+ * The content format type to be returned in the `body` field of the response. If
514
+ * available, the representation will be available under a response field of the
515
+ * same name under the `body` field.
516
+ */
517
+ bodyFormat?: PrimaryBodyRepresentation;
518
+ /** Used to sort the result by a particular field. */
519
+ sort?: CommentSortOrder;
520
+ /**
521
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
522
+ * the `Link` response header. Use the relative URL in the `Link` header to
523
+ * retrieve the `next` set of results.
524
+ */
525
+ cursor?: string;
526
+ /**
527
+ * Maximum number of footer comments per result to return. If more results exist,
528
+ * use the `Link` header to retrieve a relative URL that will return the next set
529
+ * of results.
530
+ */
531
+ limit?: number;
532
+ }): Promise<{
533
+ results?: InlineCommentChildrenModel[];
534
+ _links?: MultiEntityLinks;
535
+ } & {
536
+ [key: string]: unknown;
537
+ }>;
538
+ /**
539
+ * Returns all inline comments. The number of results is limited by the `limit`
540
+ * parameter and additional results (if available)
541
+ * will be available through the `next` URL present in the `Link` response header.
542
+ *
543
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
544
+ * Permission to view the content of the page and its corresponding space.
545
+ *
546
+ * @returns Returned if the requested inline comments are returned.
547
+ * @path {GET} /inline-comments
548
+ * @scopes-current read:comment:confluence
549
+ */
550
+ getInlineComments({ bodyFormat, sort, cursor, limit, }: {
551
+ /**
552
+ * The content format type to be returned in the `body` field of the response. If
553
+ * available, the representation will be available under a response field of the
554
+ * same name under the `body` field.
555
+ */
556
+ bodyFormat?: PrimaryBodyRepresentation;
557
+ /** Used to sort the result by a particular field. */
558
+ sort?: CommentSortOrder;
559
+ /**
560
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
561
+ * the `Link` response header. Use the relative URL in the `Link` header to
562
+ * retrieve the `next` set of results.
563
+ */
564
+ cursor?: string;
565
+ /**
566
+ * Maximum number of footer comments per result to return. If more results exist,
567
+ * use the `Link` header to retrieve a relative URL that will return the next set
568
+ * of results.
569
+ */
570
+ limit?: number;
571
+ }): Promise<{
572
+ results?: InlineCommentModel[];
573
+ _links?: MultiEntityLinks;
574
+ } & {
575
+ [key: string]: unknown;
576
+ }>;
577
+ /**
578
+ * Returns the root footer comments of specific page. The number of results is
579
+ * limited by the `limit` parameter and additional results (if available)
580
+ * will be available through the `next` URL present in the `Link` response header.
581
+ *
582
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
583
+ * Permission to view the content of the page and its corresponding space.
584
+ *
585
+ * @returns Returned if the requested footer comments are returned.
586
+ * @path {GET} /pages/{id}/footer-comments
587
+ * @scopes-current read:comment:confluence
588
+ */
589
+ getPageFooterComments({ id, bodyFormat, sort, cursor, limit, }: {
590
+ /** The ID of the page for which footer comments should be returned. */
591
+ id: number;
592
+ /**
593
+ * The content format type to be returned in the `body` field of the response. If
594
+ * available, the representation will be available under a response field of the
595
+ * same name under the `body` field.
596
+ */
597
+ bodyFormat?: PrimaryBodyRepresentation;
598
+ /** Used to sort the result by a particular field. */
599
+ sort?: CommentSortOrder;
600
+ /**
601
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
602
+ * the `Link` response header. Use the relative URL in the `Link` header to
603
+ * retrieve the `next` set of results.
604
+ */
605
+ cursor?: string;
606
+ /**
607
+ * Maximum number of footer comments per result to return. If more results exist,
608
+ * use the `Link` header to retrieve a relative URL that will return the next set
609
+ * of results.
610
+ */
611
+ limit?: number;
612
+ }): Promise<{
613
+ results?: PageCommentModel[];
614
+ _links?: MultiEntityLinks;
615
+ } & {
616
+ [key: string]: unknown;
617
+ }>;
618
+ /**
619
+ * Returns the root inline comments of specific page. The number of results is
620
+ * limited by the `limit` parameter and additional results (if available)
621
+ * will be available through the `next` URL present in the `Link` response header.
622
+ *
623
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
624
+ * Permission to view the content of the page and its corresponding space.
625
+ *
626
+ * @returns Returned if the requested inline comments are returned.
627
+ * @path {GET} /pages/{id}/inline-comments
628
+ * @scopes-current read:comment:confluence
629
+ */
630
+ getPageInlineComments({ id, bodyFormat, sort, cursor, limit, }: {
631
+ /** The ID of the page for which inline comments should be returned. */
632
+ id: number;
633
+ /**
634
+ * The content format type to be returned in the `body` field of the response. If
635
+ * available, the representation will be available under a response field of the
636
+ * same name under the `body` field.
637
+ */
638
+ bodyFormat?: PrimaryBodyRepresentation;
639
+ /** Used to sort the result by a particular field. */
640
+ sort?: CommentSortOrder;
641
+ /**
642
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
643
+ * the `Link` response header. Use the relative URL in the `Link` header to
644
+ * retrieve the `next` set of results.
645
+ */
646
+ cursor?: string;
647
+ /**
648
+ * Maximum number of inline comments per result to return. If more results exist,
649
+ * use the `Link` header to retrieve a relative URL that will return the next set
650
+ * of results.
651
+ */
652
+ limit?: number;
653
+ }): Promise<{
654
+ results?: PageInlineCommentModel[];
655
+ _links?: MultiEntityLinks;
656
+ } & {
657
+ [key: string]: unknown;
658
+ }>;
659
+ /**
660
+ * Update a footer comment. This can be used to update the body text of a comment.
661
+ *
662
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
663
+ * Permission to view the content of the page or blogpost and its corresponding
664
+ * space. Permission to create comments in the space.
665
+ *
666
+ * @returns Returned if the footer comment is updated successfully
667
+ * @path {PUT} /footer-comments/{comment-id}
668
+ * @scopes-current write:comment:confluence
669
+ */
670
+ updateFooterComment({ commentId, requestBody, }: {
671
+ /** The ID of the comment to be retrieved. */
672
+ commentId: number;
673
+ /** The footer comment to be created */
674
+ requestBody: UpdateFooterCommentModel & ({
675
+ _links?: {
676
+ /** Base url of the Confluence site. */
677
+ base?: string;
678
+ } & {
679
+ [key: string]: unknown;
680
+ };
681
+ } & {
682
+ [key: string]: unknown;
683
+ });
684
+ }): Promise<FooterCommentModel>;
685
+ /**
686
+ * Update an inline comment. This can be used to update the body text of a comment
687
+ * and/or to resolve the comment
688
+ *
689
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
690
+ * Permission to view the content of the page or blogpost and its corresponding
691
+ * space. Permission to create comments in the space.
692
+ *
693
+ * @returns Returned if the inline comment is updated successfully.
694
+ * @path {PUT} /inline-comments/{comment-id}
695
+ * @scopes-current write:comment:confluence
696
+ */
697
+ updateInlineComment({ commentId, updateInlineCommentModel, }: {
698
+ /** The ID of the comment to be retrieved. */
699
+ commentId: number;
700
+ /** The inline comment to be updated */
701
+ updateInlineCommentModel: UpdateInlineCommentModel;
702
+ }): Promise<InlineCommentModel & ({
703
+ _links?: {
704
+ /** Base url of the Confluence site. */
705
+ base?: string;
706
+ } & {
707
+ [key: string]: unknown;
708
+ };
709
+ } & {
710
+ [key: string]: unknown;
711
+ })>;
712
+ static initialize(): void;
713
+ }