@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,479 @@
1
+ import { CommonHttpService } from "../core/CommonHttpService";
2
+ import { type ContentArray, type GenericLinks, type LongTask, type Space } from "../models/common";
3
+ import { type SpaceArray, type SpaceCreate, type SpaceUpdate } from "../models/space";
4
+ export declare class SpaceService extends CommonHttpService {
5
+ /**
6
+ * Creates a new space that is only visible to the creator. This method is
7
+ * the same as the [Create space](#api-space-post) method with permissions
8
+ * set to the current user only. Note, currently you cannot set space
9
+ * labels when creating a space.
10
+ *
11
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
12
+ * 'Create Space(s)' global permission.
13
+ *
14
+ * @returns Returned if the space is created.
15
+ * @path {POST} /wiki/rest/api/space/_private
16
+ * @scopes-current write:confluence-space
17
+ * @scopes-beta read:space-details:confluence, write:space:confluence,
18
+ * write:space.permission:confluence
19
+ */
20
+ createPrivateSpace({ spaceCreate, }: {
21
+ /** The space to be created. */
22
+ spaceCreate: SpaceCreate;
23
+ }): Promise<Space | null>;
24
+ /**
25
+ * Creates a new space. Note, currently you cannot set space labels when
26
+ * creating a space.
27
+ *
28
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
29
+ * 'Create Space(s)' global permission.
30
+ *
31
+ * @returns Returned if the space is created.
32
+ * @path {POST} /wiki/rest/api/space
33
+ * @scopes-current write:confluence-space
34
+ * @scopes-beta read:space-details:confluence, write:space:confluence,
35
+ * write:space.permission:confluence
36
+ */
37
+ createSpace({ spaceCreate, }: {
38
+ /** The space to be created. */
39
+ spaceCreate: SpaceCreate;
40
+ }): Promise<Space | null>;
41
+ /**
42
+ * Permanently deletes a space without sending it to the trash. Note, the space
43
+ * will be deleted in a long running task.
44
+ * Therefore, the space may not be deleted yet when this method has
45
+ * returned. Clients should poll the status link that is returned in the
46
+ * response until the task completes.
47
+ *
48
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
49
+ * 'Admin' permission for the space.
50
+ *
51
+ * @returns Returns a pointer to the status of the space deletion task.
52
+ * @path {DELETE} /wiki/rest/api/space/{spaceKey}
53
+ * @scopes-current write:confluence-space
54
+ * @scopes-beta read:content.metadata:confluence, delete:space:confluence
55
+ */
56
+ deleteSpace({ spaceKey, }: {
57
+ /** The key of the space to delete. */
58
+ spaceKey: string;
59
+ }): Promise<LongTask>;
60
+ /**
61
+ * Deprecated, use [Confluence's v2
62
+ * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
63
+ *
64
+ * Returns all content of a given type, in a space. The returned content is
65
+ * ordered by content ID in ascending order.
66
+ *
67
+ * Starting on Dec 10, 2024, if the expand query parameter is used with the
68
+ * `body.export_view` and/or `body.styled_view` properties, then the query limit
69
+ * parameter will be restricted to a maximum value of 25.
70
+ *
71
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
72
+ * 'View' permission for the space. Note, the returned list will only
73
+ * contain content that the current user has permission to view.
74
+ *
75
+ * @deprecated
76
+ * @returns Returned if the requested content is returned.
77
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/content/{type}
78
+ * @scopes-current read:confluence-content.summary
79
+ * @scopes-beta read:content-details:confluence
80
+ */
81
+ getContentByTypeForSpace({ spaceKey, type, depth, expand, start, limit, }: {
82
+ /** The key of the space to be queried for its content. */
83
+ spaceKey: string;
84
+ /** The type of content to return. `page`, `blogpost`, `<some_customContentType>`. */
85
+ type: string;
86
+ /**
87
+ * Filter the results to content at the root level of the space or all
88
+ * content.
89
+ */
90
+ depth?: "all" | "root";
91
+ /**
92
+ * A multi-value parameter indicating which properties of the content to expand.
93
+ *
94
+ * - `childTypes.all` returns whether the content has attachments, comments, or
95
+ * child pages/whiteboards.
96
+ * Use this if you only need to check whether the content has children of a
97
+ * particular type.
98
+ * - `childTypes.attachment` returns whether the content has attachments.
99
+ * - `childTypes.comment` returns whether the content has comments.
100
+ * - `childTypes.page` returns whether the content has child pages.
101
+ * - `childTypes.whiteboard` returns whether the content has child whiteboards.
102
+ * - `childTypes.database` returns whether the content has child databases.
103
+ * - `childTypes.embed` returns whether the content has child embeds (smartlinks).
104
+ * - `childTypes.folder` returns whether the content has child folders.
105
+ * - `container` returns the space that the content is in. This is the same as the
106
+ * information
107
+ * returned by [Get space](#api-space-spaceKey-get).
108
+ * - `metadata.currentuser` returns information about the current user in relation
109
+ * to the content,
110
+ * including when they last viewed it, modified it, contributed to it, or added it
111
+ * as a favorite.
112
+ * - `metadata.properties` returns content properties that have been set via the
113
+ * Confluence REST API.
114
+ * - `metadata.labels` returns the labels that have been added to the content.
115
+ * - `metadata.frontend` this property is only used by Atlassian.
116
+ * - `operations` returns the operations for the content, which are used when
117
+ * setting permissions.
118
+ * - `children.page` returns pages that are descendants at the level immediately
119
+ * below the content.
120
+ * - `children.whiteboard` returns whiteboards that are descendants at the level
121
+ * immediately below the content.
122
+ * - `children.database` returns databases that are descendants at the level
123
+ * immediately below the content.
124
+ * - `children.embed` returns embeds (smartlinks) that are descendants at the
125
+ * level immediately below the content.
126
+ * - `children.folder` returns folders that are descendants at the level
127
+ * immediately below the content.
128
+ * - `children.attachment` returns all attachments for the content.
129
+ * - `children.comment` returns all comments on the content.
130
+ * - `restrictions.read.restrictions.user` returns the users that have permission
131
+ * to read the content.
132
+ * - `restrictions.read.restrictions.group` returns the groups that have
133
+ * permission to read the content. Note that
134
+ * this may return deleted groups, because deleting a group doesn't remove
135
+ * associated restrictions.
136
+ * - `restrictions.update.restrictions.user` returns the users that have
137
+ * permission to update the content.
138
+ * - `restrictions.update.restrictions.group` returns the groups that have
139
+ * permission to update the content. Note that
140
+ * this may return deleted groups because deleting a group doesn't remove
141
+ * associated restrictions.
142
+ * - `history` returns the history of the content, including the date it was
143
+ * created.
144
+ * - `history.lastUpdated` returns information about the most recent update of the
145
+ * content, including
146
+ * who updated it and when it was updated.
147
+ * - `history.previousVersion` returns information about the update prior to the
148
+ * current content update.
149
+ * - `history.contributors` returns all of the users who have contributed to the
150
+ * content.
151
+ * - `history.nextVersion` returns information about the update after to the
152
+ * current content update.
153
+ * - `ancestors` returns the parent content, if the content is a page or
154
+ * whiteboard.
155
+ * - `body` returns the body of the content in different formats, including the
156
+ * editor format,
157
+ * view format, and export format.
158
+ * - `body.storage` returns the body of content in storage format.
159
+ * - `body.view` returns the body of content in view format.
160
+ * - `version` returns information about the most recent update of the content,
161
+ * including who updated it
162
+ * and when it was updated.
163
+ * - `descendants.page` returns pages that are descendants at any level below the
164
+ * content.
165
+ * - `descendants.whiteboard` returns whiteboards that are descendants at any
166
+ * level below the content.
167
+ * - `descendants.database` returns databases that are descendants at any level
168
+ * below the content.
169
+ * - `descendants.embed` returns embeds (smartlinks) that are descendants at any
170
+ * level below the content.
171
+ * - `descendants.folder` returns folders that are descendants at any level below
172
+ * the content.
173
+ * - `descendants.attachment` returns all attachments for the content, same as
174
+ * `children.attachment`.
175
+ * - `descendants.comment` returns all comments on the content, same as
176
+ * `children.comment`.
177
+ * - `space` returns the space that the content is in. This is the same as the
178
+ * information returned by
179
+ * [Get space](#api-space-spaceKey-get).
180
+ *
181
+ * In addition, the following comment-specific expansions can be used:
182
+ * - `extensions.inlineProperties` returns inline comment-specific properties.
183
+ * - `extensions.resolution` returns the resolution status of each comment.
184
+ */
185
+ expand?: string[];
186
+ /** The starting index of the returned content. */
187
+ start?: number;
188
+ /**
189
+ * The maximum number of content objects to return per page. Note, this
190
+ * may be restricted by fixed system limits.
191
+ */
192
+ limit?: number;
193
+ }): Promise<ContentArray>;
194
+ /**
195
+ * Deprecated, use [Confluence's v2
196
+ * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
197
+ *
198
+ * Returns all content in a space. The returned content is grouped by type
199
+ * (pages then blogposts), then ordered by content ID in ascending order.
200
+ *
201
+ * Starting on Dec 10, 2024, if the expand query parameter is used with the
202
+ * `body.export_view` and/or `body.styled_view` properties, then the query limit
203
+ * parameter will be restricted to a maximum value of 25.
204
+ *
205
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
206
+ * 'View' permission for the space. Note, the returned list will only
207
+ * contain content that the current user has permission to view.
208
+ *
209
+ * @deprecated
210
+ * @returns Returned if the requested content is returned.
211
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/content
212
+ * @scopes-current read:confluence-content.summary
213
+ * @scopes-beta read:content-details:confluence
214
+ */
215
+ getContentForSpace({ spaceKey, depth, expand, start, limit, }: {
216
+ /** The key of the space to be queried for its content. */
217
+ spaceKey: string;
218
+ /** Filter the results to content at the root level of the space or all content. */
219
+ depth?: "all" | "root";
220
+ /**
221
+ * A multi-value parameter indicating which properties of the content to expand.
222
+ *
223
+ * - `childTypes.all` returns whether the content has attachments, comments, or
224
+ * child pages/whiteboards.
225
+ * Use this if you only need to check whether the content has children of a
226
+ * particular type.
227
+ * - `childTypes.attachment` returns whether the content has attachments.
228
+ * - `childTypes.comment` returns whether the content has comments.
229
+ * - `childTypes.page` returns whether the content has child pages.
230
+ * - `childTypes.whiteboard` returns whether the content has child whiteboards.
231
+ * - `childTypes.database` returns whether the content has child databases.
232
+ * - `childTypes.embed` returns whether the content has child embeds (smartlinks).
233
+ * - `childTypes.folder` returns whether the content has child folders.
234
+ * - `container` returns the space that the content is in. This is the same as the
235
+ * information
236
+ * returned by [Get space](#api-space-spaceKey-get).
237
+ * - `metadata.currentuser` returns information about the current user in relation
238
+ * to the content,
239
+ * including when they last viewed it, modified it, contributed to it, or added it
240
+ * as a favorite.
241
+ * - `metadata.properties` returns content properties that have been set via the
242
+ * Confluence REST API.
243
+ * - `metadata.labels` returns the labels that have been added to the content.
244
+ * - `metadata.frontend` this property is only used by Atlassian.
245
+ * - `operations` returns the operations for the content, which are used when
246
+ * setting permissions.
247
+ * - `children.page` returns pages that are descendants at the level immediately
248
+ * below the content.
249
+ * - `children.whiteboard` returns whiteboards that are descendants at the level
250
+ * immediately below the content.
251
+ * - `children.database` returns databases that are descendants at the level
252
+ * immediately below the content.
253
+ * - `children.embed` returns embeds (smartlinks) that are descendants at the
254
+ * level immediately below the content.
255
+ * - `children.folder` returns folders that are descendants at the level
256
+ * immediately below the content.
257
+ * - `children.attachment` returns all attachments for the content.
258
+ * - `children.comment` returns all comments on the content.
259
+ * - `restrictions.read.restrictions.user` returns the users that have permission
260
+ * to read the content.
261
+ * - `restrictions.read.restrictions.group` returns the groups that have
262
+ * permission to read the content. Note that
263
+ * this may return deleted groups, because deleting a group doesn't remove
264
+ * associated restrictions.
265
+ * - `restrictions.update.restrictions.user` returns the users that have
266
+ * permission to update the content.
267
+ * - `restrictions.update.restrictions.group` returns the groups that have
268
+ * permission to update the content. Note that
269
+ * this may return deleted groups because deleting a group doesn't remove
270
+ * associated restrictions.
271
+ * - `history` returns the history of the content, including the date it was
272
+ * created.
273
+ * - `history.lastUpdated` returns information about the most recent update of the
274
+ * content, including
275
+ * who updated it and when it was updated.
276
+ * - `history.previousVersion` returns information about the update prior to the
277
+ * current content update.
278
+ * - `history.contributors` returns all of the users who have contributed to the
279
+ * content.
280
+ * - `history.nextVersion` returns information about the update after to the
281
+ * current content update.
282
+ * - `ancestors` returns the parent content, if the content is a page or
283
+ * whiteboard.
284
+ * - `body` returns the body of the content in different formats, including the
285
+ * editor format,
286
+ * view format, and export format.
287
+ * - `body.storage` returns the body of content in storage format.
288
+ * - `body.view` returns the body of content in view format.
289
+ * - `version` returns information about the most recent update of the content,
290
+ * including who updated it
291
+ * and when it was updated.
292
+ * - `descendants.page` returns pages that are descendants at any level below the
293
+ * content.
294
+ * - `descendants.whiteboard` returns whiteboards that are descendants at any
295
+ * level below the content.
296
+ * - `descendants.database` returns databases that are descendants at any level
297
+ * below the content.
298
+ * - `descendants.embed` returns embeds (smartlinks) that are descendants at any
299
+ * level below the content.
300
+ * - `descendants.folder` returns folders that are descendants at any level below
301
+ * the content.
302
+ * - `descendants.attachment` returns all attachments for the content, same as
303
+ * `children.attachment`.
304
+ * - `descendants.comment` returns all comments on the content, same as
305
+ * `children.comment`.
306
+ * - `space` returns the space that the content is in. This is the same as the
307
+ * information returned by
308
+ * [Get space](#api-space-spaceKey-get).
309
+ *
310
+ * In addition, the following comment-specific expansions can be used:
311
+ * - `extensions.inlineProperties` returns inline comment-specific properties.
312
+ * - `extensions.resolution` returns the resolution status of each comment.
313
+ */
314
+ expand?: string[];
315
+ /** The starting index of the returned content. */
316
+ start?: number;
317
+ /**
318
+ * The maximum number of content objects to return per page. Note, this
319
+ * may be restricted by fixed system limits.
320
+ */
321
+ limit?: number;
322
+ }): Promise<{
323
+ page?: ContentArray;
324
+ blogpost?: ContentArray;
325
+ _links?: GenericLinks;
326
+ } & {
327
+ [key: string]: unknown;
328
+ }>;
329
+ /**
330
+ * Deprecated, use [Confluence's v2
331
+ * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
332
+ *
333
+ * Returns a space. This includes information like the name, description,
334
+ * and permissions, but not the content in the space.
335
+ *
336
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
337
+ * 'View' permission for the space.
338
+ *
339
+ * @deprecated
340
+ * @returns Returned if the requested space is returned.
341
+ * @path {GET} /wiki/rest/api/space/{spaceKey}
342
+ * @scopes-current read:confluence-space.summary
343
+ * @scopes-beta read:content-details:confluence
344
+ */
345
+ getSpace({ spaceKey, expand, }: {
346
+ /** The key of the space to be returned. */
347
+ spaceKey: string;
348
+ /**
349
+ * A multi-value parameter indicating which properties of the spaces to
350
+ * expand, where:
351
+ *
352
+ * - `settings` returns the settings for the space, similar to [Get space
353
+ * settings](#api-space-spaceKey-settings-get).
354
+ * - `metadata` returns the space metadata.
355
+ * - `metadata.labels` returns the space labels, which are used to categorize
356
+ * the space.
357
+ * - `operations` returns the operations for a space, which are used when
358
+ * setting permissions.
359
+ * - `lookAndFeel` returns information about the look and feel of the space,
360
+ * including the color scheme.
361
+ * - `permissions` returns the permissions for the space. Note that this may
362
+ * return permissions for deleted groups,
363
+ * because deleting a group doesn't remove associated space permissions.
364
+ * - `icon` returns information about space icon.
365
+ * - `description` returns the description of the space.
366
+ * - `description.plain` returns the description of the space, the plain format.
367
+ * - `description.view` returns the description of the space, the view format.
368
+ * - `theme` returns information about the space theme.
369
+ * - `homepage` returns information about the space homepage.
370
+ * - `history` returns information about the history of the space.
371
+ */
372
+ expand?: ("settings" | "metadata" | "metadata.labels" | "operations" | "lookAndFeel" | "permissions" | "icon" | "description" | "description.plain" | "description.view" | "theme" | "homepage" | "history")[];
373
+ }): Promise<Space | null>;
374
+ /**
375
+ * Deprecated, use [Confluence's v2
376
+ * API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
377
+ *
378
+ * Returns all spaces. The returned spaces are ordered alphabetically in
379
+ * ascending order by space key.
380
+ *
381
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
382
+ * Permission to access the Confluence site ('Can use' global permission).
383
+ * Note, the returned list will only contain spaces that the current user
384
+ * has permission to view.
385
+ *
386
+ * @deprecated
387
+ * @returns Returned if the requested spaces are returned.
388
+ * @path {GET} /wiki/rest/api/space
389
+ * @scopes-current read:confluence-space.summary
390
+ * @scopes-beta read:content-details:confluence
391
+ */
392
+ getSpaces({ spaceKey, spaceId, type, status, label, favourite, favouriteUserKey, expand, start, limit, }: {
393
+ /**
394
+ * The key of the space to be returned. To return multiple spaces,
395
+ * specify this parameter multiple times with different values.
396
+ */
397
+ spaceKey?: string[];
398
+ /**
399
+ * The id of the space to be returned. To return multiple spaces,
400
+ * specify this parameter multiple times with different values.
401
+ */
402
+ spaceId?: number[];
403
+ /** Filter the results to spaces based on their type. */
404
+ type?: "global" | "collaboration" | "knowledge_base" | "personal";
405
+ /** Filter the results to spaces based on their status. */
406
+ status?: "current" | "archived";
407
+ /** Filter the results to spaces based on their label. */
408
+ label?: string[];
409
+ /**
410
+ * Filter the results to the favourite spaces of the user specified by
411
+ * `favouriteUserKey`. Note, 'favourite' spaces are also
412
+ * known as 'saved for later' spaces.
413
+ */
414
+ favourite?: boolean;
415
+ /**
416
+ * The userKey of the user, whose favourite spaces are used to filter
417
+ * the results when using the `favourite` parameter.
418
+ *
419
+ * Leave blank for the current user. Use [Get user](#api-user-get) to
420
+ * get the userKey for a user.
421
+ */
422
+ favouriteUserKey?: string;
423
+ /**
424
+ * A multi-value parameter indicating which properties of the spaces to
425
+ * expand, where:
426
+ *
427
+ * - `settings` returns the settings for the space, similar to [Get space
428
+ * settings](#api-space-spaceKey-settings-get).
429
+ * - `metadata` returns the space metadata.
430
+ * - `metadata.labels` returns the space labels, which are used to categorize
431
+ * the space.
432
+ * - `operations` returns the operations for a space, which are used when
433
+ * setting permissions.
434
+ * - `lookAndFeel` returns information about the look and feel of the space,
435
+ * including the color scheme.
436
+ * - `permissions` returns the permissions for the space. Note that this may
437
+ * return permissions for deleted groups,
438
+ * because deleting a group doesn't remove associated space permissions.
439
+ * - `icon` returns information about space icon.
440
+ * - `description` returns the description of the space.
441
+ * - `description.plain` returns the description of the space, the plain format.
442
+ * - `description.view` returns the description of the space, the view format.
443
+ * - `theme` returns information about the space theme.
444
+ * - `homepage` returns information about the space homepage.
445
+ * - `history` returns information about the history of the space.
446
+ */
447
+ expand?: ("settings" | "metadata" | "metadata.labels" | "operations" | "lookAndFeel" | "permissions" | "icon" | "description" | "description.plain" | "description.view" | "theme" | "homepage" | "history")[];
448
+ /** The starting index of the returned spaces. */
449
+ start?: number;
450
+ /**
451
+ * The maximum number of spaces to return per page. Note, this may be
452
+ * restricted by fixed system limits.
453
+ */
454
+ limit?: number;
455
+ }): Promise<SpaceArray>;
456
+ /**
457
+ * Updates the name, description, or homepage of a space.
458
+ *
459
+ * - For security reasons, permissions cannot be updated via the API and
460
+ * must be changed via the user interface instead.
461
+ * - Currently you cannot set space labels when updating a space.
462
+ *
463
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
464
+ * 'Admin' permission for the space.
465
+ *
466
+ * @returns Returned if the space is updated.
467
+ * @path {PUT} /wiki/rest/api/space/{spaceKey}
468
+ * @scopes-current write:confluence-space
469
+ * @scopes-beta read:space-details:confluence, write:space:confluence,
470
+ * write:space.permission:confluence
471
+ */
472
+ updateSpace({ spaceKey, spaceUpdate, }: {
473
+ /** The key of the space to update. */
474
+ spaceKey: string;
475
+ /** The updated space. */
476
+ spaceUpdate: SpaceUpdate;
477
+ }): Promise<Space | null>;
478
+ static initialize(): void;
479
+ }