@atlassian-dc-mcp/confluence 0.1.3 → 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 (847) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/build/confluence-client/core/ApiError.d.ts +11 -0
  3. package/build/confluence-client/core/ApiError.d.ts.map +1 -0
  4. package/build/confluence-client/core/ApiError.js +17 -0
  5. package/build/confluence-client/core/ApiError.js.map +1 -0
  6. package/build/confluence-client/core/ApiRequestOptions.d.ts +14 -0
  7. package/build/confluence-client/core/ApiRequestOptions.d.ts.map +1 -0
  8. package/build/confluence-client/core/ApiRequestOptions.js +2 -0
  9. package/build/confluence-client/core/ApiRequestOptions.js.map +1 -0
  10. package/build/confluence-client/core/ApiResult.d.ts +8 -0
  11. package/build/confluence-client/core/ApiResult.d.ts.map +1 -0
  12. package/build/confluence-client/core/ApiResult.js +2 -0
  13. package/build/confluence-client/core/ApiResult.js.map +1 -0
  14. package/build/confluence-client/core/CancelablePromise.d.ts +21 -0
  15. package/build/confluence-client/core/CancelablePromise.d.ts.map +1 -0
  16. package/build/confluence-client/core/CancelablePromise.js +100 -0
  17. package/build/confluence-client/core/CancelablePromise.js.map +1 -0
  18. package/build/confluence-client/core/OpenAPI.d.ts +17 -0
  19. package/build/confluence-client/core/OpenAPI.d.ts.map +1 -0
  20. package/build/confluence-client/core/OpenAPI.js +12 -0
  21. package/build/confluence-client/core/OpenAPI.js.map +1 -0
  22. package/build/confluence-client/core/request.d.ts +31 -0
  23. package/build/confluence-client/core/request.d.ts.map +1 -0
  24. package/build/confluence-client/core/request.js +273 -0
  25. package/build/confluence-client/core/request.js.map +1 -0
  26. package/build/confluence-client/index.d.ts +165 -0
  27. package/build/confluence-client/index.d.ts.map +1 -0
  28. package/build/confluence-client/index.js +47 -0
  29. package/build/confluence-client/index.js.map +1 -0
  30. package/build/confluence-client/models/Anonymous.d.ts +2 -0
  31. package/build/confluence-client/models/Anonymous.d.ts.map +1 -0
  32. package/build/confluence-client/models/Anonymous.js +2 -0
  33. package/build/confluence-client/models/Anonymous.js.map +1 -0
  34. package/build/confluence-client/models/ColorSchemeModel.d.ts +2 -0
  35. package/build/confluence-client/models/ColorSchemeModel.d.ts.map +1 -0
  36. package/build/confluence-client/models/ColorSchemeModel.js +2 -0
  37. package/build/confluence-client/models/ColorSchemeModel.js.map +1 -0
  38. package/build/confluence-client/models/ColorSchemeThemeBasedModel.d.ts +2 -0
  39. package/build/confluence-client/models/ColorSchemeThemeBasedModel.d.ts.map +1 -0
  40. package/build/confluence-client/models/ColorSchemeThemeBasedModel.js +2 -0
  41. package/build/confluence-client/models/ColorSchemeThemeBasedModel.js.map +1 -0
  42. package/build/confluence-client/models/Container.d.ts +2 -0
  43. package/build/confluence-client/models/Container.d.ts.map +1 -0
  44. package/build/confluence-client/models/Container.js +2 -0
  45. package/build/confluence-client/models/Container.js.map +1 -0
  46. package/build/confluence-client/models/ContainerSummary.d.ts +2 -0
  47. package/build/confluence-client/models/ContainerSummary.d.ts.map +1 -0
  48. package/build/confluence-client/models/ContainerSummary.js +2 -0
  49. package/build/confluence-client/models/ContainerSummary.js.map +1 -0
  50. package/build/confluence-client/models/Content.d.ts +2 -0
  51. package/build/confluence-client/models/Content.d.ts.map +1 -0
  52. package/build/confluence-client/models/Content.js +2 -0
  53. package/build/confluence-client/models/Content.js.map +1 -0
  54. package/build/confluence-client/models/ContentBody.d.ts +2 -0
  55. package/build/confluence-client/models/ContentBody.d.ts.map +1 -0
  56. package/build/confluence-client/models/ContentBody.js +2 -0
  57. package/build/confluence-client/models/ContentBody.js.map +1 -0
  58. package/build/confluence-client/models/ContentRestriction.d.ts +2 -0
  59. package/build/confluence-client/models/ContentRestriction.d.ts.map +1 -0
  60. package/build/confluence-client/models/ContentRestriction.js +2 -0
  61. package/build/confluence-client/models/ContentRestriction.js.map +1 -0
  62. package/build/confluence-client/models/ContentSearchResult.d.ts +2 -0
  63. package/build/confluence-client/models/ContentSearchResult.d.ts.map +1 -0
  64. package/build/confluence-client/models/ContentSearchResult.js +2 -0
  65. package/build/confluence-client/models/ContentSearchResult.js.map +1 -0
  66. package/build/confluence-client/models/ContentWatch.d.ts +2 -0
  67. package/build/confluence-client/models/ContentWatch.d.ts.map +1 -0
  68. package/build/confluence-client/models/ContentWatch.js +2 -0
  69. package/build/confluence-client/models/ContentWatch.js.map +1 -0
  70. package/build/confluence-client/models/Credentials.d.ts +4 -0
  71. package/build/confluence-client/models/Credentials.d.ts.map +1 -0
  72. package/build/confluence-client/models/Credentials.js +2 -0
  73. package/build/confluence-client/models/Credentials.js.map +1 -0
  74. package/build/confluence-client/models/Cursor.d.ts +2 -0
  75. package/build/confluence-client/models/Cursor.d.ts.map +1 -0
  76. package/build/confluence-client/models/Cursor.js +2 -0
  77. package/build/confluence-client/models/Cursor.js.map +1 -0
  78. package/build/confluence-client/models/DetailedInvocation.d.ts +2 -0
  79. package/build/confluence-client/models/DetailedInvocation.d.ts.map +1 -0
  80. package/build/confluence-client/models/DetailedInvocation.js +2 -0
  81. package/build/confluence-client/models/DetailedInvocation.js.map +1 -0
  82. package/build/confluence-client/models/DetailedInvocationRequest.d.ts +2 -0
  83. package/build/confluence-client/models/DetailedInvocationRequest.d.ts.map +1 -0
  84. package/build/confluence-client/models/DetailedInvocationRequest.js +2 -0
  85. package/build/confluence-client/models/DetailedInvocationRequest.js.map +1 -0
  86. package/build/confluence-client/models/DetailedInvocationResult.d.ts +2 -0
  87. package/build/confluence-client/models/DetailedInvocationResult.d.ts.map +1 -0
  88. package/build/confluence-client/models/DetailedInvocationResult.js +2 -0
  89. package/build/confluence-client/models/DetailedInvocationResult.js.map +1 -0
  90. package/build/confluence-client/models/ExampleMultipartFormData.d.ts +7 -0
  91. package/build/confluence-client/models/ExampleMultipartFormData.d.ts.map +1 -0
  92. package/build/confluence-client/models/ExampleMultipartFormData.js +2 -0
  93. package/build/confluence-client/models/ExampleMultipartFormData.js.map +1 -0
  94. package/build/confluence-client/models/Expandable.d.ts +2 -0
  95. package/build/confluence-client/models/Expandable.d.ts.map +1 -0
  96. package/build/confluence-client/models/Expandable.js +2 -0
  97. package/build/confluence-client/models/Expandable.js.map +1 -0
  98. package/build/confluence-client/models/FileInfo.d.ts +13 -0
  99. package/build/confluence-client/models/FileInfo.d.ts.map +1 -0
  100. package/build/confluence-client/models/FileInfo.js +9 -0
  101. package/build/confluence-client/models/FileInfo.js.map +1 -0
  102. package/build/confluence-client/models/FilePart.d.ts +9 -0
  103. package/build/confluence-client/models/FilePart.d.ts.map +1 -0
  104. package/build/confluence-client/models/FilePart.js +2 -0
  105. package/build/confluence-client/models/FilePart.js.map +1 -0
  106. package/build/confluence-client/models/FormattedBody.d.ts +2 -0
  107. package/build/confluence-client/models/FormattedBody.d.ts.map +1 -0
  108. package/build/confluence-client/models/FormattedBody.js +2 -0
  109. package/build/confluence-client/models/FormattedBody.js.map +1 -0
  110. package/build/confluence-client/models/GlobalPermission.d.ts +7 -0
  111. package/build/confluence-client/models/GlobalPermission.d.ts.map +1 -0
  112. package/build/confluence-client/models/GlobalPermission.js +2 -0
  113. package/build/confluence-client/models/GlobalPermission.js.map +1 -0
  114. package/build/confluence-client/models/Group.d.ts +2 -0
  115. package/build/confluence-client/models/Group.d.ts.map +1 -0
  116. package/build/confluence-client/models/Group.js +2 -0
  117. package/build/confluence-client/models/Group.js.map +1 -0
  118. package/build/confluence-client/models/History.d.ts +2 -0
  119. package/build/confluence-client/models/History.d.ts.map +1 -0
  120. package/build/confluence-client/models/History.js +2 -0
  121. package/build/confluence-client/models/History.js.map +1 -0
  122. package/build/confluence-client/models/Icon.d.ts +2 -0
  123. package/build/confluence-client/models/Icon.d.ts.map +1 -0
  124. package/build/confluence-client/models/Icon.js +2 -0
  125. package/build/confluence-client/models/Icon.js.map +1 -0
  126. package/build/confluence-client/models/InstanceMetrics.d.ts +2 -0
  127. package/build/confluence-client/models/InstanceMetrics.d.ts.map +1 -0
  128. package/build/confluence-client/models/InstanceMetrics.js +2 -0
  129. package/build/confluence-client/models/InstanceMetrics.js.map +1 -0
  130. package/build/confluence-client/models/JobDetails.d.ts +2 -0
  131. package/build/confluence-client/models/JobDetails.d.ts.map +1 -0
  132. package/build/confluence-client/models/JobDetails.js +2 -0
  133. package/build/confluence-client/models/JobDetails.js.map +1 -0
  134. package/build/confluence-client/models/JobStatistics.d.ts +2 -0
  135. package/build/confluence-client/models/JobStatistics.d.ts.map +1 -0
  136. package/build/confluence-client/models/JobStatistics.js +2 -0
  137. package/build/confluence-client/models/JobStatistics.js.map +1 -0
  138. package/build/confluence-client/models/JsonContentProperty.d.ts +2 -0
  139. package/build/confluence-client/models/JsonContentProperty.d.ts.map +1 -0
  140. package/build/confluence-client/models/JsonContentProperty.js +2 -0
  141. package/build/confluence-client/models/JsonContentProperty.js.map +1 -0
  142. package/build/confluence-client/models/JsonSpaceProperty.d.ts +2 -0
  143. package/build/confluence-client/models/JsonSpaceProperty.d.ts.map +1 -0
  144. package/build/confluence-client/models/JsonSpaceProperty.js +2 -0
  145. package/build/confluence-client/models/JsonSpaceProperty.js.map +1 -0
  146. package/build/confluence-client/models/JsonString.d.ts +2 -0
  147. package/build/confluence-client/models/JsonString.d.ts.map +1 -0
  148. package/build/confluence-client/models/JsonString.js +2 -0
  149. package/build/confluence-client/models/JsonString.js.map +1 -0
  150. package/build/confluence-client/models/KnownUser.d.ts +2 -0
  151. package/build/confluence-client/models/KnownUser.d.ts.map +1 -0
  152. package/build/confluence-client/models/KnownUser.js +2 -0
  153. package/build/confluence-client/models/KnownUser.js.map +1 -0
  154. package/build/confluence-client/models/Label.d.ts +2 -0
  155. package/build/confluence-client/models/Label.d.ts.map +1 -0
  156. package/build/confluence-client/models/Label.js +2 -0
  157. package/build/confluence-client/models/Label.js.map +1 -0
  158. package/build/confluence-client/models/Link.d.ts +2 -0
  159. package/build/confluence-client/models/Link.d.ts.map +1 -0
  160. package/build/confluence-client/models/Link.js +2 -0
  161. package/build/confluence-client/models/Link.js.map +1 -0
  162. package/build/confluence-client/models/Links.d.ts +2 -0
  163. package/build/confluence-client/models/Links.d.ts.map +1 -0
  164. package/build/confluence-client/models/Links.js +2 -0
  165. package/build/confluence-client/models/Links.js.map +1 -0
  166. package/build/confluence-client/models/LongTaskStatus.d.ts +2 -0
  167. package/build/confluence-client/models/LongTaskStatus.d.ts.map +1 -0
  168. package/build/confluence-client/models/LongTaskStatus.js +2 -0
  169. package/build/confluence-client/models/LongTaskStatus.js.map +1 -0
  170. package/build/confluence-client/models/LongTaskSubmission.d.ts +2 -0
  171. package/build/confluence-client/models/LongTaskSubmission.d.ts.map +1 -0
  172. package/build/confluence-client/models/LongTaskSubmission.js +2 -0
  173. package/build/confluence-client/models/LongTaskSubmission.js.map +1 -0
  174. package/build/confluence-client/models/MacroInstance.d.ts +2 -0
  175. package/build/confluence-client/models/MacroInstance.d.ts.map +1 -0
  176. package/build/confluence-client/models/MacroInstance.js +2 -0
  177. package/build/confluence-client/models/MacroInstance.js.map +1 -0
  178. package/build/confluence-client/models/MacroParameterInstance.d.ts +2 -0
  179. package/build/confluence-client/models/MacroParameterInstance.d.ts.map +1 -0
  180. package/build/confluence-client/models/MacroParameterInstance.js +2 -0
  181. package/build/confluence-client/models/MacroParameterInstance.js.map +1 -0
  182. package/build/confluence-client/models/Message.d.ts +2 -0
  183. package/build/confluence-client/models/Message.d.ts.map +1 -0
  184. package/build/confluence-client/models/Message.js +2 -0
  185. package/build/confluence-client/models/Message.js.map +1 -0
  186. package/build/confluence-client/models/MockAttachmentRequest.d.ts +19 -0
  187. package/build/confluence-client/models/MockAttachmentRequest.d.ts.map +1 -0
  188. package/build/confluence-client/models/MockAttachmentRequest.js +2 -0
  189. package/build/confluence-client/models/MockAttachmentRequest.js.map +1 -0
  190. package/build/confluence-client/models/MockRestrictionsResponse.d.ts +2 -0
  191. package/build/confluence-client/models/MockRestrictionsResponse.d.ts.map +1 -0
  192. package/build/confluence-client/models/MockRestrictionsResponse.js +2 -0
  193. package/build/confluence-client/models/MockRestrictionsResponse.js.map +1 -0
  194. package/build/confluence-client/models/NodeStatus.d.ts +2 -0
  195. package/build/confluence-client/models/NodeStatus.d.ts.map +1 -0
  196. package/build/confluence-client/models/NodeStatus.js +2 -0
  197. package/build/confluence-client/models/NodeStatus.js.map +1 -0
  198. package/build/confluence-client/models/OperationCheckResult.d.ts +2 -0
  199. package/build/confluence-client/models/OperationCheckResult.d.ts.map +1 -0
  200. package/build/confluence-client/models/OperationCheckResult.js +2 -0
  201. package/build/confluence-client/models/OperationCheckResult.js.map +1 -0
  202. package/build/confluence-client/models/OperationDescription.d.ts +5 -0
  203. package/build/confluence-client/models/OperationDescription.d.ts.map +1 -0
  204. package/build/confluence-client/models/OperationDescription.js +2 -0
  205. package/build/confluence-client/models/OperationDescription.js.map +1 -0
  206. package/build/confluence-client/models/OperationRestriction.d.ts +2 -0
  207. package/build/confluence-client/models/OperationRestriction.d.ts.map +1 -0
  208. package/build/confluence-client/models/OperationRestriction.js +2 -0
  209. package/build/confluence-client/models/OperationRestriction.js.map +1 -0
  210. package/build/confluence-client/models/PageRequest.d.ts +2 -0
  211. package/build/confluence-client/models/PageRequest.d.ts.map +1 -0
  212. package/build/confluence-client/models/PageRequest.js +2 -0
  213. package/build/confluence-client/models/PageRequest.js.map +1 -0
  214. package/build/confluence-client/models/PageResponseContent.d.ts +2 -0
  215. package/build/confluence-client/models/PageResponseContent.d.ts.map +1 -0
  216. package/build/confluence-client/models/PageResponseContent.js +2 -0
  217. package/build/confluence-client/models/PageResponseContent.js.map +1 -0
  218. package/build/confluence-client/models/PageResponseContentRestriction.d.ts +11 -0
  219. package/build/confluence-client/models/PageResponseContentRestriction.d.ts.map +1 -0
  220. package/build/confluence-client/models/PageResponseContentRestriction.js +2 -0
  221. package/build/confluence-client/models/PageResponseContentRestriction.js.map +1 -0
  222. package/build/confluence-client/models/PageResponseGroup.d.ts +11 -0
  223. package/build/confluence-client/models/PageResponseGroup.d.ts.map +1 -0
  224. package/build/confluence-client/models/PageResponseGroup.js +2 -0
  225. package/build/confluence-client/models/PageResponseGroup.js.map +1 -0
  226. package/build/confluence-client/models/PageResponseJsonContentProperty.d.ts +11 -0
  227. package/build/confluence-client/models/PageResponseJsonContentProperty.d.ts.map +1 -0
  228. package/build/confluence-client/models/PageResponseJsonContentProperty.js +2 -0
  229. package/build/confluence-client/models/PageResponseJsonContentProperty.js.map +1 -0
  230. package/build/confluence-client/models/PageResponseJsonSpaceProperty.d.ts +11 -0
  231. package/build/confluence-client/models/PageResponseJsonSpaceProperty.d.ts.map +1 -0
  232. package/build/confluence-client/models/PageResponseJsonSpaceProperty.js +2 -0
  233. package/build/confluence-client/models/PageResponseJsonSpaceProperty.js.map +1 -0
  234. package/build/confluence-client/models/PageResponseLabel.d.ts +11 -0
  235. package/build/confluence-client/models/PageResponseLabel.d.ts.map +1 -0
  236. package/build/confluence-client/models/PageResponseLabel.js +2 -0
  237. package/build/confluence-client/models/PageResponseLabel.js.map +1 -0
  238. package/build/confluence-client/models/PageResponseLongTaskStatus.d.ts +11 -0
  239. package/build/confluence-client/models/PageResponseLongTaskStatus.d.ts.map +1 -0
  240. package/build/confluence-client/models/PageResponseLongTaskStatus.js +2 -0
  241. package/build/confluence-client/models/PageResponseLongTaskStatus.js.map +1 -0
  242. package/build/confluence-client/models/PageResponseNodeStatus.d.ts +11 -0
  243. package/build/confluence-client/models/PageResponseNodeStatus.d.ts.map +1 -0
  244. package/build/confluence-client/models/PageResponseNodeStatus.js +2 -0
  245. package/build/confluence-client/models/PageResponseNodeStatus.js.map +1 -0
  246. package/build/confluence-client/models/PageResponseObject.d.ts +2 -0
  247. package/build/confluence-client/models/PageResponseObject.d.ts.map +1 -0
  248. package/build/confluence-client/models/PageResponseObject.js +2 -0
  249. package/build/confluence-client/models/PageResponseObject.js.map +1 -0
  250. package/build/confluence-client/models/PageResponsePerson.d.ts +11 -0
  251. package/build/confluence-client/models/PageResponsePerson.d.ts.map +1 -0
  252. package/build/confluence-client/models/PageResponsePerson.js +2 -0
  253. package/build/confluence-client/models/PageResponsePerson.js.map +1 -0
  254. package/build/confluence-client/models/PageResponseSpace.d.ts +11 -0
  255. package/build/confluence-client/models/PageResponseSpace.d.ts.map +1 -0
  256. package/build/confluence-client/models/PageResponseSpace.js +2 -0
  257. package/build/confluence-client/models/PageResponseSpace.js.map +1 -0
  258. package/build/confluence-client/models/PageResponseSubject.d.ts +2 -0
  259. package/build/confluence-client/models/PageResponseSubject.d.ts.map +1 -0
  260. package/build/confluence-client/models/PageResponseSubject.js +2 -0
  261. package/build/confluence-client/models/PageResponseSubject.js.map +1 -0
  262. package/build/confluence-client/models/PageResponseUser.d.ts +11 -0
  263. package/build/confluence-client/models/PageResponseUser.d.ts.map +1 -0
  264. package/build/confluence-client/models/PageResponseUser.js +2 -0
  265. package/build/confluence-client/models/PageResponseUser.js.map +1 -0
  266. package/build/confluence-client/models/PasswordChangeDetails.d.ts +5 -0
  267. package/build/confluence-client/models/PasswordChangeDetails.d.ts.map +1 -0
  268. package/build/confluence-client/models/PasswordChangeDetails.js +2 -0
  269. package/build/confluence-client/models/PasswordChangeDetails.js.map +1 -0
  270. package/build/confluence-client/models/Person.d.ts +2 -0
  271. package/build/confluence-client/models/Person.d.ts.map +1 -0
  272. package/build/confluence-client/models/Person.js +2 -0
  273. package/build/confluence-client/models/Person.js.map +1 -0
  274. package/build/confluence-client/models/PersonalSpaceDetailsForCreation.d.ts +6 -0
  275. package/build/confluence-client/models/PersonalSpaceDetailsForCreation.d.ts.map +1 -0
  276. package/build/confluence-client/models/PersonalSpaceDetailsForCreation.js +2 -0
  277. package/build/confluence-client/models/PersonalSpaceDetailsForCreation.js.map +1 -0
  278. package/build/confluence-client/models/ReferenceContainer.d.ts +2 -0
  279. package/build/confluence-client/models/ReferenceContainer.d.ts.map +1 -0
  280. package/build/confluence-client/models/ReferenceContainer.js +2 -0
  281. package/build/confluence-client/models/ReferenceContainer.js.map +1 -0
  282. package/build/confluence-client/models/ReferenceContainerSummary.d.ts +2 -0
  283. package/build/confluence-client/models/ReferenceContainerSummary.d.ts.map +1 -0
  284. package/build/confluence-client/models/ReferenceContainerSummary.js +2 -0
  285. package/build/confluence-client/models/ReferenceContainerSummary.js.map +1 -0
  286. package/build/confluence-client/models/ReferenceContent.d.ts +2 -0
  287. package/build/confluence-client/models/ReferenceContent.d.ts.map +1 -0
  288. package/build/confluence-client/models/ReferenceContent.js +2 -0
  289. package/build/confluence-client/models/ReferenceContent.js.map +1 -0
  290. package/build/confluence-client/models/ReferenceContributors.d.ts +2 -0
  291. package/build/confluence-client/models/ReferenceContributors.d.ts.map +1 -0
  292. package/build/confluence-client/models/ReferenceContributors.js +2 -0
  293. package/build/confluence-client/models/ReferenceContributors.js.map +1 -0
  294. package/build/confluence-client/models/ReferenceHistory.d.ts +2 -0
  295. package/build/confluence-client/models/ReferenceHistory.d.ts.map +1 -0
  296. package/build/confluence-client/models/ReferenceHistory.js +2 -0
  297. package/build/confluence-client/models/ReferenceHistory.js.map +1 -0
  298. package/build/confluence-client/models/ReferenceIcon.d.ts +2 -0
  299. package/build/confluence-client/models/ReferenceIcon.d.ts.map +1 -0
  300. package/build/confluence-client/models/ReferenceIcon.js +2 -0
  301. package/build/confluence-client/models/ReferenceIcon.js.map +1 -0
  302. package/build/confluence-client/models/ReferenceObject.d.ts +2 -0
  303. package/build/confluence-client/models/ReferenceObject.d.ts.map +1 -0
  304. package/build/confluence-client/models/ReferenceObject.js +2 -0
  305. package/build/confluence-client/models/ReferenceObject.js.map +1 -0
  306. package/build/confluence-client/models/ReferenceRelevantViewRestrictions.d.ts +2 -0
  307. package/build/confluence-client/models/ReferenceRelevantViewRestrictions.d.ts.map +1 -0
  308. package/build/confluence-client/models/ReferenceRelevantViewRestrictions.js +2 -0
  309. package/build/confluence-client/models/ReferenceRelevantViewRestrictions.js.map +1 -0
  310. package/build/confluence-client/models/ReferenceSpace.d.ts +2 -0
  311. package/build/confluence-client/models/ReferenceSpace.d.ts.map +1 -0
  312. package/build/confluence-client/models/ReferenceSpace.js +2 -0
  313. package/build/confluence-client/models/ReferenceSpace.js.map +1 -0
  314. package/build/confluence-client/models/ReferenceSpacePermissionContainer.d.ts +2 -0
  315. package/build/confluence-client/models/ReferenceSpacePermissionContainer.d.ts.map +1 -0
  316. package/build/confluence-client/models/ReferenceSpacePermissionContainer.js +2 -0
  317. package/build/confluence-client/models/ReferenceSpacePermissionContainer.js.map +1 -0
  318. package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.d.ts +2 -0
  319. package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.d.ts.map +1 -0
  320. package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.js +2 -0
  321. package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.js.map +1 -0
  322. package/build/confluence-client/models/ReferenceString.d.ts +2 -0
  323. package/build/confluence-client/models/ReferenceString.d.ts.map +1 -0
  324. package/build/confluence-client/models/ReferenceString.js +2 -0
  325. package/build/confluence-client/models/ReferenceString.js.map +1 -0
  326. package/build/confluence-client/models/ReferenceUser.d.ts +2 -0
  327. package/build/confluence-client/models/ReferenceUser.d.ts.map +1 -0
  328. package/build/confluence-client/models/ReferenceUser.js +2 -0
  329. package/build/confluence-client/models/ReferenceUser.js.map +1 -0
  330. package/build/confluence-client/models/ReferenceUserStatus.d.ts +2 -0
  331. package/build/confluence-client/models/ReferenceUserStatus.d.ts.map +1 -0
  332. package/build/confluence-client/models/ReferenceUserStatus.js +2 -0
  333. package/build/confluence-client/models/ReferenceUserStatus.js.map +1 -0
  334. package/build/confluence-client/models/ReferenceVersion.d.ts +2 -0
  335. package/build/confluence-client/models/ReferenceVersion.d.ts.map +1 -0
  336. package/build/confluence-client/models/ReferenceVersion.js +2 -0
  337. package/build/confluence-client/models/ReferenceVersion.js.map +1 -0
  338. package/build/confluence-client/models/RelevantViewRestrictions.d.ts +5 -0
  339. package/build/confluence-client/models/RelevantViewRestrictions.d.ts.map +1 -0
  340. package/build/confluence-client/models/RelevantViewRestrictions.js +2 -0
  341. package/build/confluence-client/models/RelevantViewRestrictions.js.map +1 -0
  342. package/build/confluence-client/models/ResourceType.d.ts +2 -0
  343. package/build/confluence-client/models/ResourceType.d.ts.map +1 -0
  344. package/build/confluence-client/models/ResourceType.js +2 -0
  345. package/build/confluence-client/models/ResourceType.js.map +1 -0
  346. package/build/confluence-client/models/RestError.d.ts +2 -0
  347. package/build/confluence-client/models/RestError.d.ts.map +1 -0
  348. package/build/confluence-client/models/RestError.js +2 -0
  349. package/build/confluence-client/models/RestError.js.map +1 -0
  350. package/build/confluence-client/models/RestInvocationHistory.d.ts +2 -0
  351. package/build/confluence-client/models/RestInvocationHistory.d.ts.map +1 -0
  352. package/build/confluence-client/models/RestInvocationHistory.js +2 -0
  353. package/build/confluence-client/models/RestInvocationHistory.js.map +1 -0
  354. package/build/confluence-client/models/RestListContent.d.ts +3 -0
  355. package/build/confluence-client/models/RestListContent.d.ts.map +1 -0
  356. package/build/confluence-client/models/RestListContent.js +2 -0
  357. package/build/confluence-client/models/RestListContent.js.map +1 -0
  358. package/build/confluence-client/models/RestListJsonContentProperty.d.ts +3 -0
  359. package/build/confluence-client/models/RestListJsonContentProperty.d.ts.map +1 -0
  360. package/build/confluence-client/models/RestListJsonContentProperty.js +2 -0
  361. package/build/confluence-client/models/RestListJsonContentProperty.js.map +1 -0
  362. package/build/confluence-client/models/RestListLabel.d.ts +3 -0
  363. package/build/confluence-client/models/RestListLabel.d.ts.map +1 -0
  364. package/build/confluence-client/models/RestListLabel.js +2 -0
  365. package/build/confluence-client/models/RestListLabel.js.map +1 -0
  366. package/build/confluence-client/models/RestListLongTaskStatus.d.ts +3 -0
  367. package/build/confluence-client/models/RestListLongTaskStatus.d.ts.map +1 -0
  368. package/build/confluence-client/models/RestListLongTaskStatus.js +2 -0
  369. package/build/confluence-client/models/RestListLongTaskStatus.js.map +1 -0
  370. package/build/confluence-client/models/RestListNodeStatus.d.ts +3 -0
  371. package/build/confluence-client/models/RestListNodeStatus.d.ts.map +1 -0
  372. package/build/confluence-client/models/RestListNodeStatus.js +2 -0
  373. package/build/confluence-client/models/RestListNodeStatus.js.map +1 -0
  374. package/build/confluence-client/models/RestListUser.d.ts +3 -0
  375. package/build/confluence-client/models/RestListUser.d.ts.map +1 -0
  376. package/build/confluence-client/models/RestListUser.js +2 -0
  377. package/build/confluence-client/models/RestListUser.js.map +1 -0
  378. package/build/confluence-client/models/RestWebhook.d.ts +2 -0
  379. package/build/confluence-client/models/RestWebhook.d.ts.map +1 -0
  380. package/build/confluence-client/models/RestWebhook.js +2 -0
  381. package/build/confluence-client/models/RestWebhook.js.map +1 -0
  382. package/build/confluence-client/models/RestWebhookCredentials.d.ts +2 -0
  383. package/build/confluence-client/models/RestWebhookCredentials.d.ts.map +1 -0
  384. package/build/confluence-client/models/RestWebhookCredentials.js +2 -0
  385. package/build/confluence-client/models/RestWebhookCredentials.js.map +1 -0
  386. package/build/confluence-client/models/Restrictions.d.ts +2 -0
  387. package/build/confluence-client/models/Restrictions.d.ts.map +1 -0
  388. package/build/confluence-client/models/Restrictions.js +2 -0
  389. package/build/confluence-client/models/Restrictions.js.map +1 -0
  390. package/build/confluence-client/models/SearchPageResponseSearchResult.d.ts +16 -0
  391. package/build/confluence-client/models/SearchPageResponseSearchResult.d.ts.map +1 -0
  392. package/build/confluence-client/models/SearchPageResponseSearchResult.js +2 -0
  393. package/build/confluence-client/models/SearchPageResponseSearchResult.js.map +1 -0
  394. package/build/confluence-client/models/SearchResult.d.ts +2 -0
  395. package/build/confluence-client/models/SearchResult.d.ts.map +1 -0
  396. package/build/confluence-client/models/SearchResult.js +2 -0
  397. package/build/confluence-client/models/SearchResult.js.map +1 -0
  398. package/build/confluence-client/models/ServerInformation.d.ts +2 -0
  399. package/build/confluence-client/models/ServerInformation.d.ts.map +1 -0
  400. package/build/confluence-client/models/ServerInformation.js +2 -0
  401. package/build/confluence-client/models/ServerInformation.js.map +1 -0
  402. package/build/confluence-client/models/SiteBackupJobDetails.d.ts +2 -0
  403. package/build/confluence-client/models/SiteBackupJobDetails.d.ts.map +1 -0
  404. package/build/confluence-client/models/SiteBackupJobDetails.js +2 -0
  405. package/build/confluence-client/models/SiteBackupJobDetails.js.map +1 -0
  406. package/build/confluence-client/models/SiteBackupSettings.d.ts +2 -0
  407. package/build/confluence-client/models/SiteBackupSettings.d.ts.map +1 -0
  408. package/build/confluence-client/models/SiteBackupSettings.js +2 -0
  409. package/build/confluence-client/models/SiteBackupSettings.js.map +1 -0
  410. package/build/confluence-client/models/SiteRestoreJobDetails.d.ts +2 -0
  411. package/build/confluence-client/models/SiteRestoreJobDetails.d.ts.map +1 -0
  412. package/build/confluence-client/models/SiteRestoreJobDetails.js +2 -0
  413. package/build/confluence-client/models/SiteRestoreJobDetails.js.map +1 -0
  414. package/build/confluence-client/models/SiteRestoreSettings.d.ts +2 -0
  415. package/build/confluence-client/models/SiteRestoreSettings.d.ts.map +1 -0
  416. package/build/confluence-client/models/SiteRestoreSettings.js +2 -0
  417. package/build/confluence-client/models/SiteRestoreSettings.js.map +1 -0
  418. package/build/confluence-client/models/Space.d.ts +2 -0
  419. package/build/confluence-client/models/Space.d.ts.map +1 -0
  420. package/build/confluence-client/models/Space.js +2 -0
  421. package/build/confluence-client/models/Space.js.map +1 -0
  422. package/build/confluence-client/models/SpaceBackupJobDetails.d.ts +2 -0
  423. package/build/confluence-client/models/SpaceBackupJobDetails.d.ts.map +1 -0
  424. package/build/confluence-client/models/SpaceBackupJobDetails.js +2 -0
  425. package/build/confluence-client/models/SpaceBackupJobDetails.js.map +1 -0
  426. package/build/confluence-client/models/SpaceBackupSettings.d.ts +2 -0
  427. package/build/confluence-client/models/SpaceBackupSettings.d.ts.map +1 -0
  428. package/build/confluence-client/models/SpaceBackupSettings.js +2 -0
  429. package/build/confluence-client/models/SpaceBackupSettings.js.map +1 -0
  430. package/build/confluence-client/models/SpaceColorSchemeTypeModel.d.ts +2 -0
  431. package/build/confluence-client/models/SpaceColorSchemeTypeModel.d.ts.map +1 -0
  432. package/build/confluence-client/models/SpaceColorSchemeTypeModel.js +2 -0
  433. package/build/confluence-client/models/SpaceColorSchemeTypeModel.js.map +1 -0
  434. package/build/confluence-client/models/SpacePermission.d.ts +9 -0
  435. package/build/confluence-client/models/SpacePermission.d.ts.map +1 -0
  436. package/build/confluence-client/models/SpacePermission.js +2 -0
  437. package/build/confluence-client/models/SpacePermission.js.map +1 -0
  438. package/build/confluence-client/models/SpacePermissionsForSubject.d.ts +7 -0
  439. package/build/confluence-client/models/SpacePermissionsForSubject.d.ts.map +1 -0
  440. package/build/confluence-client/models/SpacePermissionsForSubject.js +2 -0
  441. package/build/confluence-client/models/SpacePermissionsForSubject.js.map +1 -0
  442. package/build/confluence-client/models/SpaceRestoreJobDetails.d.ts +2 -0
  443. package/build/confluence-client/models/SpaceRestoreJobDetails.d.ts.map +1 -0
  444. package/build/confluence-client/models/SpaceRestoreJobDetails.js +2 -0
  445. package/build/confluence-client/models/SpaceRestoreJobDetails.js.map +1 -0
  446. package/build/confluence-client/models/SpaceRestoreSettings.d.ts +2 -0
  447. package/build/confluence-client/models/SpaceRestoreSettings.d.ts.map +1 -0
  448. package/build/confluence-client/models/SpaceRestoreSettings.js +2 -0
  449. package/build/confluence-client/models/SpaceRestoreSettings.js.map +1 -0
  450. package/build/confluence-client/models/SpaceSearchResult.d.ts +2 -0
  451. package/build/confluence-client/models/SpaceSearchResult.d.ts.map +1 -0
  452. package/build/confluence-client/models/SpaceSearchResult.js +2 -0
  453. package/build/confluence-client/models/SpaceSearchResult.js.map +1 -0
  454. package/build/confluence-client/models/SpaceWatch.d.ts +2 -0
  455. package/build/confluence-client/models/SpaceWatch.d.ts.map +1 -0
  456. package/build/confluence-client/models/SpaceWatch.js +2 -0
  457. package/build/confluence-client/models/SpaceWatch.js.map +1 -0
  458. package/build/confluence-client/models/Subject.d.ts +2 -0
  459. package/build/confluence-client/models/Subject.d.ts.map +1 -0
  460. package/build/confluence-client/models/Subject.js +2 -0
  461. package/build/confluence-client/models/Subject.js.map +1 -0
  462. package/build/confluence-client/models/SuperBatchWebResources.d.ts +2 -0
  463. package/build/confluence-client/models/SuperBatchWebResources.d.ts.map +1 -0
  464. package/build/confluence-client/models/SuperBatchWebResources.js +2 -0
  465. package/build/confluence-client/models/SuperBatchWebResources.js.map +1 -0
  466. package/build/confluence-client/models/UnknownUser.d.ts +2 -0
  467. package/build/confluence-client/models/UnknownUser.d.ts.map +1 -0
  468. package/build/confluence-client/models/UnknownUser.js +2 -0
  469. package/build/confluence-client/models/UnknownUser.js.map +1 -0
  470. package/build/confluence-client/models/User.d.ts +2 -0
  471. package/build/confluence-client/models/User.d.ts.map +1 -0
  472. package/build/confluence-client/models/User.js +2 -0
  473. package/build/confluence-client/models/User.js.map +1 -0
  474. package/build/confluence-client/models/UserDetailsForCreation.d.ts +8 -0
  475. package/build/confluence-client/models/UserDetailsForCreation.d.ts.map +1 -0
  476. package/build/confluence-client/models/UserDetailsForCreation.js +2 -0
  477. package/build/confluence-client/models/UserDetailsForCreation.js.map +1 -0
  478. package/build/confluence-client/models/UserDetailsForUpdate.d.ts +6 -0
  479. package/build/confluence-client/models/UserDetailsForUpdate.d.ts.map +1 -0
  480. package/build/confluence-client/models/UserDetailsForUpdate.js +2 -0
  481. package/build/confluence-client/models/UserDetailsForUpdate.js.map +1 -0
  482. package/build/confluence-client/models/UserKey.d.ts +2 -0
  483. package/build/confluence-client/models/UserKey.d.ts.map +1 -0
  484. package/build/confluence-client/models/UserKey.js +2 -0
  485. package/build/confluence-client/models/UserKey.js.map +1 -0
  486. package/build/confluence-client/models/UserSearchResult.d.ts +2 -0
  487. package/build/confluence-client/models/UserSearchResult.d.ts.map +1 -0
  488. package/build/confluence-client/models/UserSearchResult.js +2 -0
  489. package/build/confluence-client/models/UserSearchResult.js.map +1 -0
  490. package/build/confluence-client/models/ValidationResult.d.ts +2 -0
  491. package/build/confluence-client/models/ValidationResult.d.ts.map +1 -0
  492. package/build/confluence-client/models/ValidationResult.js +2 -0
  493. package/build/confluence-client/models/ValidationResult.js.map +1 -0
  494. package/build/confluence-client/models/Version.d.ts +2 -0
  495. package/build/confluence-client/models/Version.d.ts.map +1 -0
  496. package/build/confluence-client/models/Version.js +2 -0
  497. package/build/confluence-client/models/Version.js.map +1 -0
  498. package/build/confluence-client/models/WebResourceDependencies.d.ts +2 -0
  499. package/build/confluence-client/models/WebResourceDependencies.d.ts.map +1 -0
  500. package/build/confluence-client/models/WebResourceDependencies.js +2 -0
  501. package/build/confluence-client/models/WebResourceDependencies.js.map +1 -0
  502. package/build/confluence-client/models/Webhook.d.ts +2 -0
  503. package/build/confluence-client/models/Webhook.d.ts.map +1 -0
  504. package/build/confluence-client/models/Webhook.js +2 -0
  505. package/build/confluence-client/models/Webhook.js.map +1 -0
  506. package/build/confluence-client/models/WebhookCredentials.d.ts +2 -0
  507. package/build/confluence-client/models/WebhookCredentials.d.ts.map +1 -0
  508. package/build/confluence-client/models/WebhookCredentials.js +2 -0
  509. package/build/confluence-client/models/WebhookCredentials.js.map +1 -0
  510. package/build/confluence-client/models/WebhookEvent.d.ts +2 -0
  511. package/build/confluence-client/models/WebhookEvent.d.ts.map +1 -0
  512. package/build/confluence-client/models/WebhookEvent.js +2 -0
  513. package/build/confluence-client/models/WebhookEvent.js.map +1 -0
  514. package/build/confluence-client/models/WebhookScope.d.ts +2 -0
  515. package/build/confluence-client/models/WebhookScope.d.ts.map +1 -0
  516. package/build/confluence-client/models/WebhookScope.js +2 -0
  517. package/build/confluence-client/models/WebhookScope.js.map +1 -0
  518. package/build/confluence-client/services/AccessModeService.d.ts +11 -0
  519. package/build/confluence-client/services/AccessModeService.d.ts.map +1 -0
  520. package/build/confluence-client/services/AccessModeService.js +17 -0
  521. package/build/confluence-client/services/AccessModeService.js.map +1 -0
  522. package/build/confluence-client/services/AdminGroupService.d.ts +21 -0
  523. package/build/confluence-client/services/AdminGroupService.d.ts.map +1 -0
  524. package/build/confluence-client/services/AdminGroupService.js +46 -0
  525. package/build/confluence-client/services/AdminGroupService.js.map +1 -0
  526. package/build/confluence-client/services/AdminSpaceService.d.ts +19 -0
  527. package/build/confluence-client/services/AdminSpaceService.d.ts.map +1 -0
  528. package/build/confluence-client/services/AdminSpaceService.js +34 -0
  529. package/build/confluence-client/services/AdminSpaceService.js.map +1 -0
  530. package/build/confluence-client/services/AdminUserService.d.ts +102 -0
  531. package/build/confluence-client/services/AdminUserService.d.ts.map +1 -0
  532. package/build/confluence-client/services/AdminUserService.js +181 -0
  533. package/build/confluence-client/services/AdminUserService.js.map +1 -0
  534. package/build/confluence-client/services/AdminUsersService.d.ts +43 -0
  535. package/build/confluence-client/services/AdminUsersService.d.ts.map +1 -0
  536. package/build/confluence-client/services/AdminUsersService.js +43 -0
  537. package/build/confluence-client/services/AdminUsersService.js.map +1 -0
  538. package/build/confluence-client/services/AttachmentsService.d.ts +134 -0
  539. package/build/confluence-client/services/AttachmentsService.d.ts.map +1 -0
  540. package/build/confluence-client/services/AttachmentsService.js +233 -0
  541. package/build/confluence-client/services/AttachmentsService.js.map +1 -0
  542. package/build/confluence-client/services/BackupAndRestoreService.d.ts +146 -0
  543. package/build/confluence-client/services/BackupAndRestoreService.d.ts.map +1 -0
  544. package/build/confluence-client/services/BackupAndRestoreService.js +274 -0
  545. package/build/confluence-client/services/BackupAndRestoreService.js.map +1 -0
  546. package/build/confluence-client/services/CategoryService.d.ts +29 -0
  547. package/build/confluence-client/services/CategoryService.d.ts.map +1 -0
  548. package/build/confluence-client/services/CategoryService.js +58 -0
  549. package/build/confluence-client/services/CategoryService.js.map +1 -0
  550. package/build/confluence-client/services/ChildContentService.d.ts +92 -0
  551. package/build/confluence-client/services/ChildContentService.d.ts.map +1 -0
  552. package/build/confluence-client/services/ChildContentService.js +108 -0
  553. package/build/confluence-client/services/ChildContentService.js.map +1 -0
  554. package/build/confluence-client/services/ClusterInformationService.d.ts +30 -0
  555. package/build/confluence-client/services/ClusterInformationService.d.ts.map +1 -0
  556. package/build/confluence-client/services/ClusterInformationService.js +30 -0
  557. package/build/confluence-client/services/ClusterInformationService.js.map +1 -0
  558. package/build/confluence-client/services/ContentBlueprintService.d.ts +29 -0
  559. package/build/confluence-client/services/ContentBlueprintService.d.ts.map +1 -0
  560. package/build/confluence-client/services/ContentBlueprintService.js +57 -0
  561. package/build/confluence-client/services/ContentBlueprintService.js.map +1 -0
  562. package/build/confluence-client/services/ContentBodyService.d.ts +25 -0
  563. package/build/confluence-client/services/ContentBodyService.d.ts.map +1 -0
  564. package/build/confluence-client/services/ContentBodyService.js +38 -0
  565. package/build/confluence-client/services/ContentBodyService.js.map +1 -0
  566. package/build/confluence-client/services/ContentDescendantService.d.ts +72 -0
  567. package/build/confluence-client/services/ContentDescendantService.d.ts.map +1 -0
  568. package/build/confluence-client/services/ContentDescendantService.js +77 -0
  569. package/build/confluence-client/services/ContentDescendantService.js.map +1 -0
  570. package/build/confluence-client/services/ContentLabelsService.d.ts +72 -0
  571. package/build/confluence-client/services/ContentLabelsService.d.ts.map +1 -0
  572. package/build/confluence-client/services/ContentLabelsService.js +104 -0
  573. package/build/confluence-client/services/ContentLabelsService.js.map +1 -0
  574. package/build/confluence-client/services/ContentPropertyService.d.ts +81 -0
  575. package/build/confluence-client/services/ContentPropertyService.d.ts.map +1 -0
  576. package/build/confluence-client/services/ContentPropertyService.js +160 -0
  577. package/build/confluence-client/services/ContentPropertyService.js.map +1 -0
  578. package/build/confluence-client/services/ContentResourceService.d.ts +314 -0
  579. package/build/confluence-client/services/ContentResourceService.d.ts.map +1 -0
  580. package/build/confluence-client/services/ContentResourceService.js +426 -0
  581. package/build/confluence-client/services/ContentResourceService.js.map +1 -0
  582. package/build/confluence-client/services/ContentRestrictionsService.d.ts +90 -0
  583. package/build/confluence-client/services/ContentRestrictionsService.d.ts.map +1 -0
  584. package/build/confluence-client/services/ContentRestrictionsService.js +134 -0
  585. package/build/confluence-client/services/ContentRestrictionsService.js.map +1 -0
  586. package/build/confluence-client/services/ContentVersionService.d.ts +13 -0
  587. package/build/confluence-client/services/ContentVersionService.d.ts.map +1 -0
  588. package/build/confluence-client/services/ContentVersionService.js +28 -0
  589. package/build/confluence-client/services/ContentVersionService.js.map +1 -0
  590. package/build/confluence-client/services/ContentWatchersService.d.ts +28 -0
  591. package/build/confluence-client/services/ContentWatchersService.d.ts.map +1 -0
  592. package/build/confluence-client/services/ContentWatchersService.js +33 -0
  593. package/build/confluence-client/services/ContentWatchersService.js.map +1 -0
  594. package/build/confluence-client/services/DefaultService.d.ts +10 -0
  595. package/build/confluence-client/services/DefaultService.d.ts.map +1 -0
  596. package/build/confluence-client/services/DefaultService.js +16 -0
  597. package/build/confluence-client/services/DefaultService.js.map +1 -0
  598. package/build/confluence-client/services/GlobalColorSchemeService.d.ts +42 -0
  599. package/build/confluence-client/services/GlobalColorSchemeService.d.ts.map +1 -0
  600. package/build/confluence-client/services/GlobalColorSchemeService.js +71 -0
  601. package/build/confluence-client/services/GlobalColorSchemeService.js.map +1 -0
  602. package/build/confluence-client/services/GlobalPermissionsService.d.ts +281 -0
  603. package/build/confluence-client/services/GlobalPermissionsService.d.ts.map +1 -0
  604. package/build/confluence-client/services/GlobalPermissionsService.js +457 -0
  605. package/build/confluence-client/services/GlobalPermissionsService.js.map +1 -0
  606. package/build/confluence-client/services/GroupService.d.ts +86 -0
  607. package/build/confluence-client/services/GroupService.d.ts.map +1 -0
  608. package/build/confluence-client/services/GroupService.js +105 -0
  609. package/build/confluence-client/services/GroupService.js.map +1 -0
  610. package/build/confluence-client/services/InstanceMetricsService.d.ts +12 -0
  611. package/build/confluence-client/services/InstanceMetricsService.d.ts.map +1 -0
  612. package/build/confluence-client/services/InstanceMetricsService.js +21 -0
  613. package/build/confluence-client/services/InstanceMetricsService.js.map +1 -0
  614. package/build/confluence-client/services/LabelService.d.ts +119 -0
  615. package/build/confluence-client/services/LabelService.d.ts.map +1 -0
  616. package/build/confluence-client/services/LabelService.js +124 -0
  617. package/build/confluence-client/services/LabelService.js.map +1 -0
  618. package/build/confluence-client/services/LongTaskService.d.ts +37 -0
  619. package/build/confluence-client/services/LongTaskService.d.ts.map +1 -0
  620. package/build/confluence-client/services/LongTaskService.js +48 -0
  621. package/build/confluence-client/services/LongTaskService.js.map +1 -0
  622. package/build/confluence-client/services/SearchService.d.ts +39 -0
  623. package/build/confluence-client/services/SearchService.d.ts.map +1 -0
  624. package/build/confluence-client/services/SearchService.js +45 -0
  625. package/build/confluence-client/services/SearchService.js.map +1 -0
  626. package/build/confluence-client/services/ServerInformationService.d.ts +12 -0
  627. package/build/confluence-client/services/ServerInformationService.d.ts.map +1 -0
  628. package/build/confluence-client/services/ServerInformationService.js +20 -0
  629. package/build/confluence-client/services/ServerInformationService.js.map +1 -0
  630. package/build/confluence-client/services/SpaceColorSchemeService.d.ts +58 -0
  631. package/build/confluence-client/services/SpaceColorSchemeService.d.ts.map +1 -0
  632. package/build/confluence-client/services/SpaceColorSchemeService.js +123 -0
  633. package/build/confluence-client/services/SpaceColorSchemeService.js.map +1 -0
  634. package/build/confluence-client/services/SpaceLabelService.d.ts +111 -0
  635. package/build/confluence-client/services/SpaceLabelService.d.ts.map +1 -0
  636. package/build/confluence-client/services/SpaceLabelService.js +124 -0
  637. package/build/confluence-client/services/SpaceLabelService.js.map +1 -0
  638. package/build/confluence-client/services/SpacePermissionsService.d.ts +257 -0
  639. package/build/confluence-client/services/SpacePermissionsService.d.ts.map +1 -0
  640. package/build/confluence-client/services/SpacePermissionsService.js +421 -0
  641. package/build/confluence-client/services/SpacePermissionsService.js.map +1 -0
  642. package/build/confluence-client/services/SpacePropertyService.d.ts +91 -0
  643. package/build/confluence-client/services/SpacePropertyService.d.ts.map +1 -0
  644. package/build/confluence-client/services/SpacePropertyService.js +172 -0
  645. package/build/confluence-client/services/SpacePropertyService.js.map +1 -0
  646. package/build/confluence-client/services/SpaceService.d.ts +220 -0
  647. package/build/confluence-client/services/SpaceService.d.ts.map +1 -0
  648. package/build/confluence-client/services/SpaceService.js +340 -0
  649. package/build/confluence-client/services/SpaceService.js.map +1 -0
  650. package/build/confluence-client/services/SpaceWatchersService.d.ts +28 -0
  651. package/build/confluence-client/services/SpaceWatchersService.d.ts.map +1 -0
  652. package/build/confluence-client/services/SpaceWatchersService.js +32 -0
  653. package/build/confluence-client/services/SpaceWatchersService.js.map +1 -0
  654. package/build/confluence-client/services/UserGroupService.d.ts +26 -0
  655. package/build/confluence-client/services/UserGroupService.d.ts.map +1 -0
  656. package/build/confluence-client/services/UserGroupService.js +45 -0
  657. package/build/confluence-client/services/UserGroupService.js.map +1 -0
  658. package/build/confluence-client/services/UserService.d.ts +138 -0
  659. package/build/confluence-client/services/UserService.d.ts.map +1 -0
  660. package/build/confluence-client/services/UserService.js +200 -0
  661. package/build/confluence-client/services/UserService.js.map +1 -0
  662. package/build/confluence-client/services/UserWatchService.d.ts +108 -0
  663. package/build/confluence-client/services/UserWatchService.d.ts.map +1 -0
  664. package/build/confluence-client/services/UserWatchService.js +200 -0
  665. package/build/confluence-client/services/UserWatchService.js.map +1 -0
  666. package/build/confluence-client/services/WebhooksService.d.ts +102 -0
  667. package/build/confluence-client/services/WebhooksService.d.ts.map +1 -0
  668. package/build/confluence-client/services/WebhooksService.js +208 -0
  669. package/build/confluence-client/services/WebhooksService.js.map +1 -0
  670. package/build/confluence-service.d.ts +54 -7
  671. package/build/confluence-service.d.ts.map +1 -1
  672. package/build/confluence-service.js +47 -62
  673. package/build/confluence-service.js.map +1 -1
  674. package/build/index.js +4 -0
  675. package/build/index.js.map +1 -1
  676. package/package.json +3 -3
  677. package/src/confluence-client/core/ApiError.ts +26 -0
  678. package/src/confluence-client/core/ApiRequestOptions.ts +17 -0
  679. package/src/confluence-client/core/ApiResult.ts +11 -0
  680. package/src/confluence-client/core/CancelablePromise.ts +131 -0
  681. package/src/confluence-client/core/OpenAPI.ts +33 -0
  682. package/src/confluence-client/core/request.ts +319 -0
  683. package/src/confluence-client/fix-imports.ps1 +29 -0
  684. package/src/confluence-client/index.ts +170 -0
  685. package/src/confluence-client/models/Anonymous.ts +7 -0
  686. package/src/confluence-client/models/ColorSchemeModel.ts +7 -0
  687. package/src/confluence-client/models/ColorSchemeThemeBasedModel.ts +7 -0
  688. package/src/confluence-client/models/Container.ts +7 -0
  689. package/src/confluence-client/models/ContainerSummary.ts +7 -0
  690. package/src/confluence-client/models/Content.ts +7 -0
  691. package/src/confluence-client/models/ContentBody.ts +7 -0
  692. package/src/confluence-client/models/ContentRestriction.ts +7 -0
  693. package/src/confluence-client/models/ContentSearchResult.ts +7 -0
  694. package/src/confluence-client/models/ContentWatch.ts +7 -0
  695. package/src/confluence-client/models/Credentials.ts +8 -0
  696. package/src/confluence-client/models/Cursor.ts +7 -0
  697. package/src/confluence-client/models/DetailedInvocation.ts +7 -0
  698. package/src/confluence-client/models/DetailedInvocationRequest.ts +7 -0
  699. package/src/confluence-client/models/DetailedInvocationResult.ts +7 -0
  700. package/src/confluence-client/models/ExampleMultipartFormData.ts +11 -0
  701. package/src/confluence-client/models/Expandable.ts +7 -0
  702. package/src/confluence-client/models/FileInfo.ts +17 -0
  703. package/src/confluence-client/models/FilePart.ts +13 -0
  704. package/src/confluence-client/models/FormattedBody.ts +7 -0
  705. package/src/confluence-client/models/GlobalPermission.ts +12 -0
  706. package/src/confluence-client/models/Group.ts +7 -0
  707. package/src/confluence-client/models/History.ts +7 -0
  708. package/src/confluence-client/models/Icon.ts +7 -0
  709. package/src/confluence-client/models/InstanceMetrics.ts +7 -0
  710. package/src/confluence-client/models/JobDetails.ts +7 -0
  711. package/src/confluence-client/models/JobStatistics.ts +7 -0
  712. package/src/confluence-client/models/JsonContentProperty.ts +7 -0
  713. package/src/confluence-client/models/JsonSpaceProperty.ts +7 -0
  714. package/src/confluence-client/models/JsonString.ts +7 -0
  715. package/src/confluence-client/models/KnownUser.ts +7 -0
  716. package/src/confluence-client/models/Label.ts +7 -0
  717. package/src/confluence-client/models/Link.ts +7 -0
  718. package/src/confluence-client/models/Links.ts +7 -0
  719. package/src/confluence-client/models/LongTaskStatus.ts +7 -0
  720. package/src/confluence-client/models/LongTaskSubmission.ts +7 -0
  721. package/src/confluence-client/models/MacroInstance.ts +7 -0
  722. package/src/confluence-client/models/MacroParameterInstance.ts +7 -0
  723. package/src/confluence-client/models/Message.ts +7 -0
  724. package/src/confluence-client/models/MockAttachmentRequest.ts +23 -0
  725. package/src/confluence-client/models/MockRestrictionsResponse.ts +7 -0
  726. package/src/confluence-client/models/NodeStatus.ts +7 -0
  727. package/src/confluence-client/models/OperationCheckResult.ts +7 -0
  728. package/src/confluence-client/models/OperationDescription.ts +9 -0
  729. package/src/confluence-client/models/OperationRestriction.ts +7 -0
  730. package/src/confluence-client/models/PageRequest.ts +7 -0
  731. package/src/confluence-client/models/PageResponseContent.ts +7 -0
  732. package/src/confluence-client/models/PageResponseContentRestriction.ts +16 -0
  733. package/src/confluence-client/models/PageResponseGroup.ts +16 -0
  734. package/src/confluence-client/models/PageResponseJsonContentProperty.ts +16 -0
  735. package/src/confluence-client/models/PageResponseJsonSpaceProperty.ts +16 -0
  736. package/src/confluence-client/models/PageResponseLabel.ts +16 -0
  737. package/src/confluence-client/models/PageResponseLongTaskStatus.ts +16 -0
  738. package/src/confluence-client/models/PageResponseNodeStatus.ts +16 -0
  739. package/src/confluence-client/models/PageResponseObject.ts +7 -0
  740. package/src/confluence-client/models/PageResponsePerson.ts +16 -0
  741. package/src/confluence-client/models/PageResponseSpace.ts +16 -0
  742. package/src/confluence-client/models/PageResponseSubject.ts +7 -0
  743. package/src/confluence-client/models/PageResponseUser.ts +16 -0
  744. package/src/confluence-client/models/PasswordChangeDetails.ts +9 -0
  745. package/src/confluence-client/models/Person.ts +7 -0
  746. package/src/confluence-client/models/PersonalSpaceDetailsForCreation.ts +10 -0
  747. package/src/confluence-client/models/ReferenceContainer.ts +7 -0
  748. package/src/confluence-client/models/ReferenceContainerSummary.ts +7 -0
  749. package/src/confluence-client/models/ReferenceContent.ts +7 -0
  750. package/src/confluence-client/models/ReferenceContributors.ts +7 -0
  751. package/src/confluence-client/models/ReferenceHistory.ts +7 -0
  752. package/src/confluence-client/models/ReferenceIcon.ts +7 -0
  753. package/src/confluence-client/models/ReferenceObject.ts +7 -0
  754. package/src/confluence-client/models/ReferenceRelevantViewRestrictions.ts +7 -0
  755. package/src/confluence-client/models/ReferenceSpace.ts +7 -0
  756. package/src/confluence-client/models/ReferenceSpacePermissionContainer.ts +7 -0
  757. package/src/confluence-client/models/ReferenceSpaceRetentionPolicy.ts +7 -0
  758. package/src/confluence-client/models/ReferenceString.ts +7 -0
  759. package/src/confluence-client/models/ReferenceUser.ts +7 -0
  760. package/src/confluence-client/models/ReferenceUserStatus.ts +7 -0
  761. package/src/confluence-client/models/ReferenceVersion.ts +7 -0
  762. package/src/confluence-client/models/RelevantViewRestrictions.ts +10 -0
  763. package/src/confluence-client/models/ResourceType.ts +7 -0
  764. package/src/confluence-client/models/RestError.ts +7 -0
  765. package/src/confluence-client/models/RestInvocationHistory.ts +7 -0
  766. package/src/confluence-client/models/RestListContent.ts +7 -0
  767. package/src/confluence-client/models/RestListJsonContentProperty.ts +7 -0
  768. package/src/confluence-client/models/RestListLabel.ts +7 -0
  769. package/src/confluence-client/models/RestListLongTaskStatus.ts +7 -0
  770. package/src/confluence-client/models/RestListNodeStatus.ts +7 -0
  771. package/src/confluence-client/models/RestListUser.ts +7 -0
  772. package/src/confluence-client/models/RestWebhook.ts +7 -0
  773. package/src/confluence-client/models/RestWebhookCredentials.ts +7 -0
  774. package/src/confluence-client/models/Restrictions.ts +7 -0
  775. package/src/confluence-client/models/SearchPageResponseSearchResult.ts +21 -0
  776. package/src/confluence-client/models/SearchResult.ts +7 -0
  777. package/src/confluence-client/models/ServerInformation.ts +7 -0
  778. package/src/confluence-client/models/SiteBackupJobDetails.ts +7 -0
  779. package/src/confluence-client/models/SiteBackupSettings.ts +7 -0
  780. package/src/confluence-client/models/SiteRestoreJobDetails.ts +7 -0
  781. package/src/confluence-client/models/SiteRestoreSettings.ts +7 -0
  782. package/src/confluence-client/models/Space.ts +7 -0
  783. package/src/confluence-client/models/SpaceBackupJobDetails.ts +7 -0
  784. package/src/confluence-client/models/SpaceBackupSettings.ts +7 -0
  785. package/src/confluence-client/models/SpaceColorSchemeTypeModel.ts +7 -0
  786. package/src/confluence-client/models/SpacePermission.ts +14 -0
  787. package/src/confluence-client/models/SpacePermissionsForSubject.ts +12 -0
  788. package/src/confluence-client/models/SpaceRestoreJobDetails.ts +7 -0
  789. package/src/confluence-client/models/SpaceRestoreSettings.ts +7 -0
  790. package/src/confluence-client/models/SpaceSearchResult.ts +7 -0
  791. package/src/confluence-client/models/SpaceWatch.ts +7 -0
  792. package/src/confluence-client/models/Subject.ts +7 -0
  793. package/src/confluence-client/models/SuperBatchWebResources.ts +7 -0
  794. package/src/confluence-client/models/UnknownUser.ts +7 -0
  795. package/src/confluence-client/models/User.ts +7 -0
  796. package/src/confluence-client/models/UserDetailsForCreation.ts +12 -0
  797. package/src/confluence-client/models/UserDetailsForUpdate.ts +10 -0
  798. package/src/confluence-client/models/UserKey.ts +7 -0
  799. package/src/confluence-client/models/UserSearchResult.ts +7 -0
  800. package/src/confluence-client/models/ValidationResult.ts +7 -0
  801. package/src/confluence-client/models/Version.ts +7 -0
  802. package/src/confluence-client/models/WebResourceDependencies.ts +7 -0
  803. package/src/confluence-client/models/Webhook.ts +7 -0
  804. package/src/confluence-client/models/WebhookCredentials.ts +7 -0
  805. package/src/confluence-client/models/WebhookEvent.ts +7 -0
  806. package/src/confluence-client/models/WebhookScope.ts +7 -0
  807. package/src/confluence-client/services/AccessModeService.ts +23 -0
  808. package/src/confluence-client/services/AdminGroupService.ts +57 -0
  809. package/src/confluence-client/services/AdminSpaceService.ts +45 -0
  810. package/src/confluence-client/services/AdminUserService.ts +206 -0
  811. package/src/confluence-client/services/AdminUsersService.ts +67 -0
  812. package/src/confluence-client/services/AttachmentsService.ts +287 -0
  813. package/src/confluence-client/services/BackupAndRestoreService.ts +320 -0
  814. package/src/confluence-client/services/CategoryService.ts +70 -0
  815. package/src/confluence-client/services/ChildContentService.ts +175 -0
  816. package/src/confluence-client/services/ClusterInformationService.ts +53 -0
  817. package/src/confluence-client/services/ContentBlueprintService.ts +74 -0
  818. package/src/confluence-client/services/ContentBodyService.ts +49 -0
  819. package/src/confluence-client/services/ContentDescendantService.ts +119 -0
  820. package/src/confluence-client/services/ContentLabelsService.ts +151 -0
  821. package/src/confluence-client/services/ContentPropertyService.ts +205 -0
  822. package/src/confluence-client/services/ContentResourceService.ts +528 -0
  823. package/src/confluence-client/services/ContentRestrictionsService.ts +176 -0
  824. package/src/confluence-client/services/ContentVersionService.ts +37 -0
  825. package/src/confluence-client/services/ContentWatchersService.ts +57 -0
  826. package/src/confluence-client/services/DefaultService.ts +22 -0
  827. package/src/confluence-client/services/GlobalColorSchemeService.ts +80 -0
  828. package/src/confluence-client/services/GlobalPermissionsService.ts +492 -0
  829. package/src/confluence-client/services/GroupService.ts +169 -0
  830. package/src/confluence-client/services/InstanceMetricsService.ts +28 -0
  831. package/src/confluence-client/services/LabelService.ts +200 -0
  832. package/src/confluence-client/services/LongTaskService.ts +75 -0
  833. package/src/confluence-client/services/SearchService.ts +74 -0
  834. package/src/confluence-client/services/ServerInformationService.ts +27 -0
  835. package/src/confluence-client/services/SpaceColorSchemeService.ts +143 -0
  836. package/src/confluence-client/services/SpaceLabelService.ts +200 -0
  837. package/src/confluence-client/services/SpacePermissionsService.ts +465 -0
  838. package/src/confluence-client/services/SpacePropertyService.ts +217 -0
  839. package/src/confluence-client/services/SpaceService.ts +458 -0
  840. package/src/confluence-client/services/SpaceWatchersService.ts +56 -0
  841. package/src/confluence-client/services/UserGroupService.ts +57 -0
  842. package/src/confluence-client/services/UserService.ts +257 -0
  843. package/src/confluence-client/services/UserWatchService.ts +235 -0
  844. package/src/confluence-client/services/WebhooksService.ts +258 -0
  845. package/src/confluence-service.ts +65 -70
  846. package/src/index.ts +13 -0
  847. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,274 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class BackupAndRestoreService {
4
+ /**
5
+ * Cancel all queued jobs
6
+ * Cancels all queued jobs. Does not affect jobs that are being processed at the moment.
7
+ * @returns any Returns the number of cancelled jobs. If no jobs were cancelled, 0 is returned.
8
+ * Example response: `1`
9
+ * @throws ApiError
10
+ */
11
+ static cancelAllQueuedJobs() {
12
+ return __request(OpenAPI, {
13
+ method: 'PUT',
14
+ url: '/rest/api/backup-restore/jobs/clear-queue',
15
+ errors: {
16
+ 403: `Returned if user doesn't have permission to cancel jobs`,
17
+ },
18
+ });
19
+ }
20
+ /**
21
+ * Cancel job
22
+ * Cancels the job. If the job is already cancelled or failed, the method will do nothing.
23
+ * @param jobId id of the backup/restore job
24
+ * @returns JobDetails Returns a JSON representation of the cancelled job.
25
+ * @throws ApiError
26
+ */
27
+ static cancelJob(jobId) {
28
+ return __request(OpenAPI, {
29
+ method: 'PUT',
30
+ url: '/rest/api/backup-restore/jobs/{jobId}/cancel',
31
+ path: {
32
+ 'jobId': jobId,
33
+ },
34
+ errors: {
35
+ 404: `Returned if job not found or user doesn't have permission to cancel it`,
36
+ },
37
+ });
38
+ }
39
+ /**
40
+ * Create site backup job
41
+ * Starts the new site backup job.
42
+ * @param requestBody Site backup settings
43
+ * @returns SiteBackupJobDetails Returns a JSON representation of the site backup job details.
44
+ * @throws ApiError
45
+ */
46
+ static createSiteBackupJob(requestBody) {
47
+ return __request(OpenAPI, {
48
+ method: 'POST',
49
+ url: '/rest/api/backup-restore/backup/site',
50
+ body: requestBody,
51
+ mediaType: 'application/json',
52
+ errors: {
53
+ 400: ` Returned if invalid settings provided`,
54
+ 409: `Returned if user doesn't have permission to create site backups`,
55
+ },
56
+ });
57
+ }
58
+ /**
59
+ * Create site restore job
60
+ * Starts the new site restore job.
61
+ * @param requestBody space restore settings
62
+ * @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job.
63
+ * @throws ApiError
64
+ */
65
+ static createSiteRestoreJob(requestBody) {
66
+ return __request(OpenAPI, {
67
+ method: 'POST',
68
+ url: '/rest/api/backup-restore/restore/site',
69
+ body: requestBody,
70
+ mediaType: 'application/json',
71
+ errors: {
72
+ 400: ` Returned if invalid filename provided`,
73
+ 403: `Returned if user doesn't have permission to restore site`,
74
+ },
75
+ });
76
+ }
77
+ /**
78
+ * Create site restore job for upload backup file
79
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
80
+ *
81
+ * Most client libraries have classes that make dealing with multipart posts simple.
82
+ *
83
+ * For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
84
+ *
85
+ * In order to protect against XSRF attacks, because this method accepts multipart/form-data, it has XSRF protection on it. This means you must submit a header of X-Atlassian-Token: nocheck with the request, otherwise it will be blocked.
86
+ *
87
+ * The name of the multipart/form-data parameter that contains attachments must be "file".
88
+ *
89
+ * An example to attach the file:
90
+ *
91
+ * curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" -F file=@myfile.zip http://myhost/rest/api/backup-restore/restore/space/upload
92
+ *
93
+ * .
94
+ * @param formData Backup file to be uploaded. Has to be a zip file.
95
+ * @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job details.
96
+ * @throws ApiError
97
+ */
98
+ static createSiteRestoreJobForUploadedBackupFile(formData) {
99
+ return __request(OpenAPI, {
100
+ method: 'POST',
101
+ url: '/rest/api/backup-restore/restore/site/upload',
102
+ formData: formData,
103
+ mediaType: 'multipart/form-data',
104
+ errors: {
105
+ 400: ` Returned if the uploaded file is not a zip file`,
106
+ 403: ` Returned if user doesn't have permission to restore space`,
107
+ },
108
+ });
109
+ }
110
+ /**
111
+ * Create space backup job
112
+ * Creates new space backup job and adds it to the queue.
113
+ * @param requestBody Space backup settings
114
+ * @returns SpaceBackupJobDetails Returns a JSON representation of the space backup job
115
+ * @throws ApiError
116
+ */
117
+ static createSpaceBackupJob(requestBody) {
118
+ return __request(OpenAPI, {
119
+ method: 'POST',
120
+ url: '/rest/api/backup-restore/backup/space',
121
+ body: requestBody,
122
+ mediaType: 'application/json',
123
+ errors: {
124
+ 400: `Returned if invalid settings provided`,
125
+ 403: `Returned if user doesn't have permission to create space backups`,
126
+ 409: `Returned if backup with the same spaces selected is already in PROGRESS or QUEUED`,
127
+ },
128
+ });
129
+ }
130
+ /**
131
+ * Create space restore job
132
+ * Creates new space restore job and adds it to the queue.
133
+ * @param requestBody space restore settings
134
+ * @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job.
135
+ * @throws ApiError
136
+ */
137
+ static createSpaceRestoreJob(requestBody) {
138
+ return __request(OpenAPI, {
139
+ method: 'POST',
140
+ url: '/rest/api/backup-restore/restore/space',
141
+ body: requestBody,
142
+ mediaType: 'application/json',
143
+ errors: {
144
+ 400: ` Returned if invalid filename provided`,
145
+ 403: `Returned if user doesn't have permission to restore spaces`,
146
+ },
147
+ });
148
+ }
149
+ /**
150
+ * Create space restore job for upload backup file
151
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
152
+ *
153
+ * Most client libraries have classes that make dealing with multipart posts simple.
154
+ *
155
+ * For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
156
+ *
157
+ * In order to protect against XSRF attacks, because this method accepts multipart/form-data, it has XSRF protection on it. This means you must submit a header of X-Atlassian-Token: nocheck with the request, otherwise it will be blocked.
158
+ *
159
+ * The name of the multipart/form-data parameter that contains attachments must be "file".
160
+ *
161
+ * An example to attach the file:
162
+ *
163
+ * curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" -F file=@myfile.zip http://myhost/rest/api/backup-restore/restore/space/upload
164
+ *
165
+ * .
166
+ * @param formData backup file uploaded. Has to be a zip file.
167
+ * @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job details.
168
+ * @throws ApiError
169
+ */
170
+ static createSpaceRestoreJobForUploadedBackupFile(formData) {
171
+ return __request(OpenAPI, {
172
+ method: 'POST',
173
+ url: '/rest/api/backup-restore/restore/space/upload',
174
+ formData: formData,
175
+ mediaType: 'multipart/form-data',
176
+ errors: {
177
+ 400: ` Returned if the uploaded file is not a zip file`,
178
+ 403: ` Returned if user doesn't have permission to restore space`,
179
+ },
180
+ });
181
+ }
182
+ /**
183
+ * Download backup file
184
+ * Downloads the backup file for the given job. Requires site admin or space export permissions for all spaces included in the backup job.
185
+ * @param jobId id of the backup/restore job
186
+ * @returns JobDetails Returns a data stream of the backup file content.
187
+ * @throws ApiError
188
+ */
189
+ static downloadBackupFile(jobId) {
190
+ return __request(OpenAPI, {
191
+ method: 'GET',
192
+ url: '/rest/api/backup-restore/jobs/{jobId}/download',
193
+ path: {
194
+ 'jobId': jobId,
195
+ },
196
+ errors: {
197
+ 404: `Returned if job not found or user doesn't have permissions for the job or the file is missing`,
198
+ },
199
+ });
200
+ }
201
+ /**
202
+ * Find jobs by filters
203
+ * Returns jobs based on the filters provided. The user must have permission to see the jobs.
204
+ * @param owner userName of user who had created a job.
205
+ * @param spaceKey the key of the Space the User is attempting to view.
206
+ * @param fromDate minimum job creation date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
207
+ * @param jobStates list of job states. Acceptable values: "QUEUED", "PROCESSING", "FINISHED", "CANCELLING", "CANCELLED", "FAILED"
208
+ * @param toDate maximum job create date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
209
+ * @param jobOperation job operation. Acceptable values: "BACKUP" and "RESTORE"
210
+ * @param limit amount of jobs that should be returned
211
+ * @param jobScope scope of the job. Acceptable values: "SPACE" and "SITE"
212
+ * @returns JobDetails Returns the List of backup/restore jobs visible to user based on the filter provided and the user's permissions.
213
+ * @throws ApiError
214
+ */
215
+ static findJobs(owner, spaceKey, fromDate, jobStates, toDate, jobOperation, limit, jobScope) {
216
+ return __request(OpenAPI, {
217
+ method: 'GET',
218
+ url: '/rest/api/backup-restore/jobs',
219
+ query: {
220
+ 'owner': owner,
221
+ 'spaceKey': spaceKey,
222
+ 'fromDate': fromDate,
223
+ 'jobStates': jobStates,
224
+ 'toDate': toDate,
225
+ 'jobOperation': jobOperation,
226
+ 'limit': limit,
227
+ 'jobScope': jobScope,
228
+ },
229
+ errors: {
230
+ 400: `Returned if invalid filter parameters were passed`,
231
+ },
232
+ });
233
+ }
234
+ /**
235
+ * Get files in restore directory
236
+ * returns list of information on files in conf-home/restore/(jobScope).
237
+ * @param jobScope name of type of restore job (SITE or SPACE or null), if null, all backup files are listed
238
+ * @returns FileInfo Returns a list of FileInfo objects, containing fileName, fileCreationTime, fileSize, and jobScope.
239
+ * @throws ApiError
240
+ */
241
+ static getFiles(jobScope) {
242
+ return __request(OpenAPI, {
243
+ method: 'GET',
244
+ url: '/rest/api/backup-restore/restore/files',
245
+ query: {
246
+ 'jobScope': jobScope,
247
+ },
248
+ errors: {
249
+ 400: `Returned if user is not a system administrator`,
250
+ },
251
+ });
252
+ }
253
+ /**
254
+ * Get job by ID
255
+ * Get job by id. The user must be a sysadmin or the owner of the job.
256
+ * @param jobId id of the backup/restore job
257
+ * @returns JobDetails Returns a JSON representation of the backup/restore job
258
+ * @throws ApiError
259
+ */
260
+ static getJob(jobId) {
261
+ return __request(OpenAPI, {
262
+ method: 'GET',
263
+ url: '/rest/api/backup-restore/jobs/{jobId}',
264
+ path: {
265
+ 'jobId': jobId,
266
+ },
267
+ errors: {
268
+ 400: ` Returned if jobId is null`,
269
+ 403: ` Returned if job not found or user doesn't have permission to see it`,
270
+ },
271
+ });
272
+ }
273
+ }
274
+ //# sourceMappingURL=BackupAndRestoreService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackupAndRestoreService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/BackupAndRestoreService.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,uBAAuB;IAChC;;;;;;OAMG;IACI,MAAM,CAAC,mBAAmB;QAC7B,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2CAA2C;YAChD,MAAM,EAAE;gBACJ,GAAG,EAAE,yDAAyD;aACjE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CACnB,KAAa;QAEb,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8CAA8C;YACnD,IAAI,EAAE;gBACF,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,wEAAwE;aAChF;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,mBAAmB,CAC7B,WAAgC;QAEhC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sCAAsC;YAC3C,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,wCAAwC;gBAC7C,GAAG,EAAE,iEAAiE;aACzE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,oBAAoB,CAC9B,WAAiC;QAEjC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,uCAAuC;YAC5C,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,wCAAwC;gBAC7C,GAAG,EAAE,0DAA0D;aAClE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,MAAM,CAAC,yCAAyC,CACnD,QAAmC;QAEnC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,8CAA8C;YACnD,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE;gBACJ,GAAG,EAAE,kDAAkD;gBACvD,GAAG,EAAE,4DAA4D;aACpE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,oBAAoB,CAC9B,WAAiC;QAEjC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,uCAAuC;YAC5C,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,kEAAkE;gBACvE,GAAG,EAAE,mFAAmF;aAC3F;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,qBAAqB,CAC/B,WAAkC;QAElC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wCAAwC;YAC7C,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,wCAAwC;gBAC7C,GAAG,EAAE,4DAA4D;aACpE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,MAAM,CAAC,0CAA0C,CACpD,QAAmC;QAEnC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,+CAA+C;YACpD,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE;gBACJ,GAAG,EAAE,kDAAkD;gBACvD,GAAG,EAAE,4DAA4D;aACpE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,kBAAkB,CAC5B,KAAa;QAEb,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gDAAgD;YACrD,IAAI,EAAE;gBACF,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,+FAA+F;aACvG;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;OAaG;IACI,MAAM,CAAC,QAAQ,CAClB,KAAc,EACd,QAAiB,EACjB,QAAiB,EACjB,SAAkB,EAClB,MAAe,EACf,YAAqB,EACrB,KAAc,EACd,QAAiB;QAEjB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,+BAA+B;YACpC,KAAK,EAAE;gBACH,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,QAAQ;gBACpB,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,SAAS;gBACtB,QAAQ,EAAE,MAAM;gBAChB,cAAc,EAAE,YAAY;gBAC5B,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,QAAQ;aACvB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,mDAAmD;aAC3D;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,QAAQ,CAClB,QAAiB;QAEjB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wCAAwC;YAC7C,KAAK,EAAE;gBACH,UAAU,EAAE,QAAQ;aACvB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,gDAAgD;aACxD;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAChB,KAAa;QAEb,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,uCAAuC;YAC5C,IAAI,EAAE;gBACF,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,4BAA4B;gBACjC,GAAG,EAAE,sEAAsE;aAC9E;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1,29 @@
1
+ import type { CancelablePromise } from '../core/CancelablePromise.js';
2
+ export declare class CategoryService {
3
+ /**
4
+ * Add a category to a space
5
+ * Adds a category the description of a given {@link Space} identified by spaceKey.
6
+ *
7
+ * Example request URI to add space category 'testCategory' to space with space key TEST:
8
+ *
9
+ * `https://example.com/confluence/rest/api/space/TEST/category/testCategory`
10
+ * @param spaceKey a string containing the key of the space
11
+ * @param labelName the name of the label to be added (do not include any prefix, team: prefix assumed)
12
+ * @returns void
13
+ * @throws ApiError
14
+ */
15
+ static add(spaceKey: string, labelName: string): CancelablePromise<void>;
16
+ /**
17
+ * Remove a category from a space
18
+ * Removes a category from a space, identified by spaceKey.
19
+ *
20
+ * Example request URI:
21
+ * `https://example.com/confluence/rest/api/space/TEST/category/example-category`
22
+ * @param spaceKey The key of the space to remove the category from
23
+ * @param categoryName The name of the category to remove
24
+ * @returns void
25
+ * @throws ApiError
26
+ */
27
+ static removeCategory(spaceKey: string, categoryName: string): CancelablePromise<void>;
28
+ }
29
+ //# sourceMappingURL=CategoryService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/CategoryService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,eAAe;IACxB;;;;;;;;;;;OAWG;WACW,GAAG,CACb,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAClB,iBAAiB,CAAC,IAAI,CAAC;IAe1B;;;;;;;;;;OAUG;WACW,cAAc,CACxB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,iBAAiB,CAAC,IAAI,CAAC;CAe7B"}
@@ -0,0 +1,58 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class CategoryService {
4
+ /**
5
+ * Add a category to a space
6
+ * Adds a category the description of a given {@link Space} identified by spaceKey.
7
+ *
8
+ * Example request URI to add space category 'testCategory' to space with space key TEST:
9
+ *
10
+ * `https://example.com/confluence/rest/api/space/TEST/category/testCategory`
11
+ * @param spaceKey a string containing the key of the space
12
+ * @param labelName the name of the label to be added (do not include any prefix, team: prefix assumed)
13
+ * @returns void
14
+ * @throws ApiError
15
+ */
16
+ static add(spaceKey, labelName) {
17
+ return __request(OpenAPI, {
18
+ method: 'POST',
19
+ url: '/rest/api/space/{spaceKey}/category/{labelName}',
20
+ path: {
21
+ 'spaceKey': spaceKey,
22
+ 'labelName': labelName,
23
+ },
24
+ errors: {
25
+ 401: `Returned if the calling user is not authenticated.`,
26
+ 403: `If the calling user does not have permission to add any label to the given space.`,
27
+ 404: `Returned if there is no space with the given spaceKey.`,
28
+ },
29
+ });
30
+ }
31
+ /**
32
+ * Remove a category from a space
33
+ * Removes a category from a space, identified by spaceKey.
34
+ *
35
+ * Example request URI:
36
+ * `https://example.com/confluence/rest/api/space/TEST/category/example-category`
37
+ * @param spaceKey The key of the space to remove the category from
38
+ * @param categoryName The name of the category to remove
39
+ * @returns void
40
+ * @throws ApiError
41
+ */
42
+ static removeCategory(spaceKey, categoryName) {
43
+ return __request(OpenAPI, {
44
+ method: 'DELETE',
45
+ url: '/rest/api/space/{spaceKey}/category/{categoryName}',
46
+ path: {
47
+ 'spaceKey': spaceKey,
48
+ 'categoryName': categoryName,
49
+ },
50
+ errors: {
51
+ 401: `Returned if the calling user is not authenticated.`,
52
+ 403: `Returned if the calling user does not have permission to edit the Space.`,
53
+ 404: `Returned if there is no space with the given key`,
54
+ },
55
+ });
56
+ }
57
+ }
58
+ //# sourceMappingURL=CategoryService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/CategoryService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,eAAe;IACxB;;;;;;;;;;;OAWG;IACI,MAAM,CAAC,GAAG,CACb,QAAgB,EAChB,SAAiB;QAEjB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,iDAAiD;YACtD,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,SAAS;aACzB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,oDAAoD;gBACzD,GAAG,EAAE,mFAAmF;gBACxF,GAAG,EAAE,wDAAwD;aAChE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;OAUG;IACI,MAAM,CAAC,cAAc,CACxB,QAAgB,EAChB,YAAoB;QAEpB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,oDAAoD;YACzD,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;gBACpB,cAAc,EAAE,YAAY;aAC/B;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,oDAAoD;gBACzD,GAAG,EAAE,0EAA0E;gBAC/E,GAAG,EAAE,kDAAkD;aAC1D;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1,92 @@
1
+ import type { Content } from '../models/Content.js';
2
+ import type { CancelablePromise } from '../core/CancelablePromise.js';
3
+ export declare class ChildContentService {
4
+ /**
5
+ * Get children of content
6
+ * Returns a map of the direct children of a piece of Content. Content can have multiple types of children. For example, a Page can have children that are also Pages, but it can also have Comments and Attachments.
7
+ *
8
+ * The types of the children returned is specified by the `expand` query parameter in the request. This parameter can include expands for multiple child types. If no types are included in the `expand` parameter, the map returned will just list the child types that are available to be expanded for the content referenced by the `id` path parameter.
9
+ * @param id The id of the content to retrieve children for
10
+ * @param expand a comma separated list of properties to expand on the children
11
+ * @param limit how many items should be returned after the start index
12
+ * @param start the index of the first item within the result set that should be returned
13
+ * @param parentVersion
14
+ * @returns any Returned if the children are successfully retrieved. The response body contains a JSON map representing multiple ordered collections of content children, keyed by content type.
15
+ * @throws ApiError
16
+ */
17
+ static children(id: string, expand?: string, limit?: string, start?: string, parentVersion?: number): CancelablePromise<{
18
+ results?: Array<Content>;
19
+ totalCount?: number;
20
+ start?: number;
21
+ limit?: number;
22
+ size?: number;
23
+ _links?: {
24
+ base?: string;
25
+ context?: string;
26
+ self?: string;
27
+ next?: string;
28
+ prev?: string;
29
+ };
30
+ }>;
31
+ /**
32
+ * Get children of content by type
33
+ * Returns the direct children of a piece of Content, limited to a single child type.The types of the children returned is specified by the "type" path parameter in the request.
34
+ * @param id The id of the content to retrieve children for
35
+ * @param type a content type to filter children on.
36
+ * @param expand a comma separated list of properties to expand on the children
37
+ * @param limit how many items should be returned after the start index
38
+ * @param start the index of the first item within the result set that should be returned
39
+ * @param parentVersion
40
+ * @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
41
+ * @throws ApiError
42
+ */
43
+ static childrenOfType(id: string, type: string, expand?: string, limit?: string, start?: string, parentVersion?: number): CancelablePromise<{
44
+ results?: Array<Content>;
45
+ totalCount?: number;
46
+ start?: number;
47
+ limit?: number;
48
+ size?: number;
49
+ _links?: {
50
+ base?: string;
51
+ context?: string;
52
+ self?: string;
53
+ next?: string;
54
+ prev?: string;
55
+ };
56
+ }>;
57
+ /**
58
+ * Get comments of content
59
+ * Returns the comments of a piece of Content. Example request URI(s):
60
+ *
61
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment`
62
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=body.view`
63
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?start=20&limit=10`
64
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?location=footer&location=inline&location=resolved`
65
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=extensions.inlineProperties,extensions.resolution`
66
+ * @param id The id of the content to retrieve children for
67
+ * @param expand a comma separated list of properties to expand on the children
68
+ * @param depth (optional, default: "") the depth of the comments. Possible values are: "" (ROOT only), "all"
69
+ * @param limit how many items should be returned after the start index
70
+ * @param start the index of the first item within the result set that should be returned
71
+ * @param location (optional, default: "" means all) the location of the comments. Possible values are: "inline", "footer", "resolved".
72
+ * You can define multiple location params. The results will be the comments matched by any location.
73
+ * @param parentVersion
74
+ * @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
75
+ * @throws ApiError
76
+ */
77
+ static commentsOfContent(id: string, expand?: string, depth?: string, limit?: string, start?: string, location?: string, parentVersion?: number): CancelablePromise<{
78
+ results?: Array<Content>;
79
+ totalCount?: number;
80
+ start?: number;
81
+ limit?: number;
82
+ size?: number;
83
+ _links?: {
84
+ base?: string;
85
+ context?: string;
86
+ self?: string;
87
+ next?: string;
88
+ prev?: string;
89
+ };
90
+ }>;
91
+ }
92
+ //# sourceMappingURL=ChildContentService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChildContentService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ChildContentService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,mBAAmB;IAC5B;;;;;;;;;;;;OAYG;WACW,QAAQ,CAClB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,aAAa,CAAC,EAAE,MAAM,GACvB,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE;YACL,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;IAkBF;;;;;;;;;;;OAWG;WACW,cAAc,CACxB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,aAAa,CAAC,EAAE,MAAM,GACvB,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE;YACL,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;IAmBF;;;;;;;;;;;;;;;;;;;OAmBG;WACW,iBAAiB,CAC3B,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,EACjB,aAAa,CAAC,EAAE,MAAM,GACvB,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE;YACL,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;CAqBL"}
@@ -0,0 +1,108 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class ChildContentService {
4
+ /**
5
+ * Get children of content
6
+ * Returns a map of the direct children of a piece of Content. Content can have multiple types of children. For example, a Page can have children that are also Pages, but it can also have Comments and Attachments.
7
+ *
8
+ * The types of the children returned is specified by the `expand` query parameter in the request. This parameter can include expands for multiple child types. If no types are included in the `expand` parameter, the map returned will just list the child types that are available to be expanded for the content referenced by the `id` path parameter.
9
+ * @param id The id of the content to retrieve children for
10
+ * @param expand a comma separated list of properties to expand on the children
11
+ * @param limit how many items should be returned after the start index
12
+ * @param start the index of the first item within the result set that should be returned
13
+ * @param parentVersion
14
+ * @returns any Returned if the children are successfully retrieved. The response body contains a JSON map representing multiple ordered collections of content children, keyed by content type.
15
+ * @throws ApiError
16
+ */
17
+ static children(id, expand, limit, start, parentVersion) {
18
+ return __request(OpenAPI, {
19
+ method: 'GET',
20
+ url: '/rest/api/content/{id}/child',
21
+ path: {
22
+ 'id': id,
23
+ },
24
+ query: {
25
+ 'expand': expand,
26
+ 'limit': limit,
27
+ 'start': start,
28
+ 'parentVersion': parentVersion,
29
+ },
30
+ errors: {
31
+ 404: ` Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
32
+ },
33
+ });
34
+ }
35
+ /**
36
+ * Get children of content by type
37
+ * Returns the direct children of a piece of Content, limited to a single child type.The types of the children returned is specified by the "type" path parameter in the request.
38
+ * @param id The id of the content to retrieve children for
39
+ * @param type a content type to filter children on.
40
+ * @param expand a comma separated list of properties to expand on the children
41
+ * @param limit how many items should be returned after the start index
42
+ * @param start the index of the first item within the result set that should be returned
43
+ * @param parentVersion
44
+ * @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
45
+ * @throws ApiError
46
+ */
47
+ static childrenOfType(id, type, expand, limit, start, parentVersion) {
48
+ return __request(OpenAPI, {
49
+ method: 'GET',
50
+ url: '/rest/api/content/{id}/child/{type}',
51
+ path: {
52
+ 'id': id,
53
+ 'type': type,
54
+ },
55
+ query: {
56
+ 'expand': expand,
57
+ 'limit': limit,
58
+ 'start': start,
59
+ 'parentVersion': parentVersion,
60
+ },
61
+ errors: {
62
+ 404: ` Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
63
+ },
64
+ });
65
+ }
66
+ /**
67
+ * Get comments of content
68
+ * Returns the comments of a piece of Content. Example request URI(s):
69
+ *
70
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment`
71
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=body.view`
72
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?start=20&limit=10`
73
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?location=footer&location=inline&location=resolved`
74
+ * - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=extensions.inlineProperties,extensions.resolution`
75
+ * @param id The id of the content to retrieve children for
76
+ * @param expand a comma separated list of properties to expand on the children
77
+ * @param depth (optional, default: "") the depth of the comments. Possible values are: "" (ROOT only), "all"
78
+ * @param limit how many items should be returned after the start index
79
+ * @param start the index of the first item within the result set that should be returned
80
+ * @param location (optional, default: "" means all) the location of the comments. Possible values are: "inline", "footer", "resolved".
81
+ * You can define multiple location params. The results will be the comments matched by any location.
82
+ * @param parentVersion
83
+ * @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
84
+ * @throws ApiError
85
+ */
86
+ static commentsOfContent(id, expand, depth, limit, start, location, parentVersion) {
87
+ return __request(OpenAPI, {
88
+ method: 'GET',
89
+ url: '/rest/api/content/{id}/child/comment',
90
+ path: {
91
+ 'id': id,
92
+ },
93
+ query: {
94
+ 'expand': expand,
95
+ 'depth': depth,
96
+ 'limit': limit,
97
+ 'start': start,
98
+ 'location': location,
99
+ 'parentVersion': parentVersion,
100
+ },
101
+ errors: {
102
+ 404: `Returned if there is no content with the given id, or if the calling user does not have permission to
103
+ view the content.`,
104
+ },
105
+ });
106
+ }
107
+ }
108
+ //# sourceMappingURL=ChildContentService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChildContentService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/ChildContentService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,mBAAmB;IAC5B;;;;;;;;;;;;OAYG;IACI,MAAM,CAAC,QAAQ,CAClB,EAAU,EACV,MAAe,EACf,KAAc,EACd,KAAc,EACd,aAAsB;QAetB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;gBACd,eAAe,EAAE,aAAa;aACjC;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,0HAA0H;aAClI;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;OAWG;IACI,MAAM,CAAC,cAAc,CACxB,EAAU,EACV,IAAY,EACZ,MAAe,EACf,KAAc,EACd,KAAc,EACd,aAAsB;QAetB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,qCAAqC;YAC1C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;gBACR,MAAM,EAAE,IAAI;aACf;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;gBACd,eAAe,EAAE,aAAa;aACjC;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,0HAA0H;aAClI;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;;;OAmBG;IACI,MAAM,CAAC,iBAAiB,CAC3B,EAAU,EACV,MAAe,EACf,KAAc,EACd,KAAc,EACd,KAAc,EACd,QAAiB,EACjB,aAAsB;QAetB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sCAAsC;YAC3C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,QAAQ;gBACpB,eAAe,EAAE,aAAa;aACjC;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE;kCACa;aACrB;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1,30 @@
1
+ import type { NodeStatus } from '../models/NodeStatus.js';
2
+ import type { CancelablePromise } from '../core/CancelablePromise.js';
3
+ export declare class ClusterInformationService {
4
+ /**
5
+ * Get node statuses in a cluster
6
+ * Returns a paginated list of information about each node in a cluster. Example request URI(s):
7
+ * - `https://example.com/confluence/rest/api/cluster/nodes`
8
+ * - `https://example.com/confluence/rest/api/cluster/nodes?start=0&limit=10`
9
+ *
10
+ * @param limit The limit of the number of node statuses to return, this may be restricted by fixed system limit.
11
+ * @param start The start point of the collection to return.
12
+ * @returns any Return a list of nodes and their status.
13
+ * @throws ApiError
14
+ */
15
+ static getClusterNodeStatuses(limit?: string, start?: string): CancelablePromise<{
16
+ results?: Array<NodeStatus>;
17
+ totalCount?: number;
18
+ start?: number;
19
+ limit?: number;
20
+ size?: number;
21
+ _links?: {
22
+ base?: string;
23
+ context?: string;
24
+ self?: string;
25
+ next?: string;
26
+ prev?: string;
27
+ };
28
+ }>;
29
+ }
30
+ //# sourceMappingURL=ClusterInformationService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterInformationService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ClusterInformationService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,yBAAyB;IAClC;;;;;;;;;;OAUG;WACW,sBAAsB,CAChC,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACf,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE;YACL,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;CAcL"}
@@ -0,0 +1,30 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class ClusterInformationService {
4
+ /**
5
+ * Get node statuses in a cluster
6
+ * Returns a paginated list of information about each node in a cluster. Example request URI(s):
7
+ * - `https://example.com/confluence/rest/api/cluster/nodes`
8
+ * - `https://example.com/confluence/rest/api/cluster/nodes?start=0&limit=10`
9
+ *
10
+ * @param limit The limit of the number of node statuses to return, this may be restricted by fixed system limit.
11
+ * @param start The start point of the collection to return.
12
+ * @returns any Return a list of nodes and their status.
13
+ * @throws ApiError
14
+ */
15
+ static getClusterNodeStatuses(limit, start) {
16
+ return __request(OpenAPI, {
17
+ method: 'GET',
18
+ url: '/rest/api/cluster/nodes',
19
+ query: {
20
+ 'limit': limit,
21
+ 'start': start,
22
+ },
23
+ errors: {
24
+ 401: `Returned if user has not been authenticated.`,
25
+ 403: `Returned if user does not have permission to view cluster information.`,
26
+ },
27
+ });
28
+ }
29
+ }
30
+ //# sourceMappingURL=ClusterInformationService.js.map