@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,43 @@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class AdminUsersService {
4
+ /**
5
+ * Get active users
6
+ * Gets a paginated collection of all active users (users which count into license usage).
7
+ * This will exclude users that are:
8
+ * - anonymous,
9
+ * - deactivated,
10
+ * - externally deleted,
11
+ * - shadowed
12
+ * - unlicensed
13
+ *
14
+ * This feature relies on search index and might not be accurate when site reindex is in progress.
15
+ *
16
+ * Example request URI(s):
17
+ * `http://example.com/confluence/rest/api/admin/users/list/active`
18
+ * `http://example.com/confluence/rest/api/admin/users/list/active?start=0`
19
+ * `http://example.com/confluence/rest/api/admin/users/list/active?start=0&limit=100`
20
+ * `http://example.com/confluence/rest/api/admin/users/list/active?start=0&limit=100&expand=status`
21
+ *
22
+ * @param expand properties to expand on the user.
23
+ * @param limit the limit of the number of users to return, this may be restricted by fixed system limits.
24
+ * @param start the start point of the collection to return. This must be non-negative. Default value is 0.
25
+ * @returns any returns a paginated collection of users.
26
+ * @throws ApiError
27
+ */
28
+ static getActiveUsers(expand, limit, start) {
29
+ return __request(OpenAPI, {
30
+ method: 'GET',
31
+ url: '/rest/api/admin/users/list/active',
32
+ query: {
33
+ 'expand': expand,
34
+ 'limit': limit,
35
+ 'start': start,
36
+ },
37
+ errors: {
38
+ 403: `Returned if the calling user does not have permission to view users. This is possible for anonymous or un-licensed users.`,
39
+ },
40
+ });
41
+ }
42
+ }
43
+ //# sourceMappingURL=AdminUsersService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdminUsersService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/AdminUsersService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,iBAAiB;IAC1B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACI,MAAM,CAAC,cAAc,CACxB,MAAe,EACf,KAAc,EACd,KAAc;QAed,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,2HAA2H;aACnI;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1,134 @@
1
+ import type { Content } from '../models/Content.js';
2
+ import type { MockAttachmentRequest } from '../models/MockAttachmentRequest.js';
3
+ import type { CancelablePromise } from '../core/CancelablePromise.js';
4
+ export declare class AttachmentsService {
5
+ /**
6
+ * Get attachment
7
+ * Returns a paginated list of attachment Content entities within a single container.
8
+ * @param id The id of the content the attachment is on.
9
+ * @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
10
+ * @param filename (optional) filter parameter to return only the Attachment with the matching file name.
11
+ * @param limit (optional) how many items should be returned after the start index.
12
+ * @param start (optional) the index of the first item within the result set that should be returned.
13
+ * @param mediaType (optional) a comma separated list of properties to expand on the Attachments returned.
14
+ * @returns any Returns a JSON representation of a list of attachment Content entities.
15
+ * @throws ApiError
16
+ */
17
+ static getAttachments(id: string, expand?: string, filename?: string, limit?: string, start?: string, mediaType?: string): 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
+ * Create attachments
33
+ * Add one or more attachments to a Confluence Content entity, with optional comments.
34
+ *
35
+ * **Comments are optional**, but if included there must be as many comments as there are files, and the comments must be in the same order as the files.
36
+ *
37
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
38
+ *
39
+ * 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.
40
+ *
41
+ * The name of the multipart/form-data parameter that contains attachments must be 'file'.
42
+ * @param id The id of the content the attachment is on.
43
+ * @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
44
+ * @param allowDuplicated (optional) allows to upload an attachment with an existing filename.
45
+ * @param status a string containing the status of the attachments content container, supports current or draft, defaults to current
46
+ * @param formData The attachments to be added. The name of the multipart/form-data parameter that contains attachments must be 'file'.
47
+ * @returns Content returns a JSON representation of the attachments added.
48
+ * @throws ApiError
49
+ */
50
+ static createAttachments(id: string, expand?: string, allowDuplicated?: string, status?: string, formData?: MockAttachmentRequest): CancelablePromise<Content>;
51
+ /**
52
+ * Move attachment
53
+ * Move an attachment to a different content entity object.
54
+ *
55
+ * **When moving the attachment**, the name of the attachment can be updated as well.
56
+ *
57
+ * 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.
58
+ *
59
+ * A simple example to move an attachment with id "456" in a container with id "123" to a container with "789":
60
+ *
61
+ * `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789"`
62
+ *
63
+ * An example to move the same file, while also renaming it to "my-new-name":
64
+ *
65
+ * `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789&newName=my-new-name"`
66
+ *
67
+ * This can also be used to only rename an attachment:
68
+ *
69
+ * `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=123&newName=my-new-name"`
70
+ * @param attachmentId the id of the attachment to upload the new file for.
71
+ * @param id The id of the content the attachment is on.
72
+ * @param newName
73
+ * @param newContentId
74
+ * @returns void
75
+ * @throws ApiError
76
+ */
77
+ static move(attachmentId: string, id: string, newName?: string, newContentId?: string): CancelablePromise<void>;
78
+ /**
79
+ * Update non-binary data of an Attachment
80
+ * Update the non-binary data of an attachment.This resource can be used to update an attachment's filename, media-type, comment, and parent container.
81
+ * @param attachmentId the id of the attachment to update.
82
+ * @param id The id of the content the attachment is on.
83
+ * @param requestBody
84
+ * @returns Content returns a JSON representation of the attachment after being updated.
85
+ * @throws ApiError
86
+ */
87
+ static update(attachmentId: string, id: string, requestBody?: Content): CancelablePromise<Content>;
88
+ /**
89
+ * Remove attachment
90
+ * This method will delete the attachment identified by attachmentId.
91
+ *
92
+ * It returns a boolean response indicating whether the operation was successful or not. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
93
+ * @param attachmentId the id of the attachment to be removed.
94
+ * @param id The id of the content the attachment is on.
95
+ * @returns void
96
+ * @throws ApiError
97
+ */
98
+ static removeAttachment(attachmentId: string, id: string): CancelablePromise<void>;
99
+ /**
100
+ * Remove attachment version
101
+ * This method will delete the specified version of an attachment identified by attachmentId and version.
102
+ *
103
+ * If the operation is successful, it returns a response indicating that no content is returned. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
104
+ * @param attachmentId The id of the attachment to be removed.
105
+ * @param id The id of the content the attachment is on.
106
+ * @param version
107
+ * @returns void
108
+ * @throws ApiError
109
+ */
110
+ static removeAttachmentVersion(attachmentId: string, id: string, version: number): CancelablePromise<void>;
111
+ /**
112
+ * Update binary data of an attachment
113
+ * Update the binary data of an Attachment, and optionally the comment and the minor edit field.
114
+ *
115
+ * This adds a new version of the attachment, containing the new binary data, filename, and content-type.
116
+ *
117
+ * **When updating the binary data of an attachment**, the comment related to it together with the field that specifies if it's a minor edit can be updated as well, but are not required.
118
+ *
119
+ * If an update is considered to be a minor edit, notifications will not be sent to the watchers of that content.
120
+ *
121
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
122
+ *
123
+ * 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.
124
+ *
125
+ * The name of the multipart/form-data parameter that contains attachments must be 'file'.
126
+ * @param attachmentId the id of the attachment to upload the new file for.
127
+ * @param id The id of the content the attachment is on.
128
+ * @param formData The attachment to be updated.
129
+ * @returns Content returns JSON representation of the updated attachment.
130
+ * @throws ApiError
131
+ */
132
+ static updateData(attachmentId: string, id: string, formData?: MockAttachmentRequest): CancelablePromise<Content>;
133
+ }
134
+ //# sourceMappingURL=AttachmentsService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentsService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/AttachmentsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,kBAAkB;IAC3B;;;;;;;;;;;OAWG;WACW,cAAc,CACxB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,MAAM,GACnB,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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@
1
+ import { OpenAPI } from '../core/OpenAPI.js';
2
+ import { request as __request } from '../core/request.js';
3
+ export class AttachmentsService {
4
+ /**
5
+ * Get attachment
6
+ * Returns a paginated list of attachment Content entities within a single container.
7
+ * @param id The id of the content the attachment is on.
8
+ * @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
9
+ * @param filename (optional) filter parameter to return only the Attachment with the matching file name.
10
+ * @param limit (optional) how many items should be returned after the start index.
11
+ * @param start (optional) the index of the first item within the result set that should be returned.
12
+ * @param mediaType (optional) a comma separated list of properties to expand on the Attachments returned.
13
+ * @returns any Returns a JSON representation of a list of attachment Content entities.
14
+ * @throws ApiError
15
+ */
16
+ static getAttachments(id, expand, filename, limit, start, mediaType) {
17
+ return __request(OpenAPI, {
18
+ method: 'GET',
19
+ url: '/rest/api/content/{id}/child/attachment',
20
+ path: {
21
+ 'id': id,
22
+ },
23
+ query: {
24
+ 'expand': expand,
25
+ 'filename': filename,
26
+ 'limit': limit,
27
+ 'start': start,
28
+ 'mediaType': mediaType,
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
+ * Create attachments
37
+ * Add one or more attachments to a Confluence Content entity, with optional comments.
38
+ *
39
+ * **Comments are optional**, but if included there must be as many comments as there are files, and the comments must be in the same order as the files.
40
+ *
41
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
42
+ *
43
+ * 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.
44
+ *
45
+ * The name of the multipart/form-data parameter that contains attachments must be 'file'.
46
+ * @param id The id of the content the attachment is on.
47
+ * @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
48
+ * @param allowDuplicated (optional) allows to upload an attachment with an existing filename.
49
+ * @param status a string containing the status of the attachments content container, supports current or draft, defaults to current
50
+ * @param formData The attachments to be added. The name of the multipart/form-data parameter that contains attachments must be 'file'.
51
+ * @returns Content returns a JSON representation of the attachments added.
52
+ * @throws ApiError
53
+ */
54
+ static createAttachments(id, expand, allowDuplicated, status, formData) {
55
+ return __request(OpenAPI, {
56
+ method: 'POST',
57
+ url: '/rest/api/content/{id}/child/attachment',
58
+ path: {
59
+ 'id': id,
60
+ },
61
+ query: {
62
+ 'expand': expand,
63
+ 'allowDuplicated': allowDuplicated,
64
+ 'status': status,
65
+ },
66
+ formData: formData,
67
+ mediaType: 'multipart/form-data',
68
+ errors: {
69
+ 403: `Returned if attachments is disabled or if you don't have permission to add attachments to this content.`,
70
+ 404: ` Returned if the requested content is not found, the user does not have permission to view it, or if the attachments exceeds the maximum configured attachment size.`,
71
+ },
72
+ });
73
+ }
74
+ /**
75
+ * Move attachment
76
+ * Move an attachment to a different content entity object.
77
+ *
78
+ * **When moving the attachment**, the name of the attachment can be updated as well.
79
+ *
80
+ * 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.
81
+ *
82
+ * A simple example to move an attachment with id "456" in a container with id "123" to a container with "789":
83
+ *
84
+ * `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789"`
85
+ *
86
+ * An example to move the same file, while also renaming it to "my-new-name":
87
+ *
88
+ * `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789&newName=my-new-name"`
89
+ *
90
+ * This can also be used to only rename an attachment:
91
+ *
92
+ * `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=123&newName=my-new-name"`
93
+ * @param attachmentId the id of the attachment to upload the new file for.
94
+ * @param id The id of the content the attachment is on.
95
+ * @param newName
96
+ * @param newContentId
97
+ * @returns void
98
+ * @throws ApiError
99
+ */
100
+ static move(attachmentId, id, newName, newContentId) {
101
+ return __request(OpenAPI, {
102
+ method: 'POST',
103
+ url: '/rest/api/content/{id}/child/attachment/{attachmentId}/move',
104
+ path: {
105
+ 'attachmentId': attachmentId,
106
+ 'id': id,
107
+ },
108
+ query: {
109
+ 'newName': newName,
110
+ 'newContentId': newContentId,
111
+ },
112
+ errors: {
113
+ 400: ` Returned if the attachment id is invalid.`,
114
+ 404: ` Returned if no attachment is found for the attachmentId.`,
115
+ },
116
+ });
117
+ }
118
+ /**
119
+ * Update non-binary data of an Attachment
120
+ * Update the non-binary data of an attachment.This resource can be used to update an attachment's filename, media-type, comment, and parent container.
121
+ * @param attachmentId the id of the attachment to update.
122
+ * @param id The id of the content the attachment is on.
123
+ * @param requestBody
124
+ * @returns Content returns a JSON representation of the attachment after being updated.
125
+ * @throws ApiError
126
+ */
127
+ static update(attachmentId, id, requestBody) {
128
+ return __request(OpenAPI, {
129
+ method: 'PUT',
130
+ url: '/rest/api/content/{id}/child/attachment/{attachmentId}',
131
+ path: {
132
+ 'attachmentId': attachmentId,
133
+ 'id': id,
134
+ },
135
+ body: requestBody,
136
+ mediaType: 'application/json',
137
+ errors: {
138
+ 400: ` Returned if the attachment id or the attachment version number are invalid.`,
139
+ 403: `Returned if you are not permitted to update or move the attachment to a different container.`,
140
+ 404: ` Returned if no attachment is found for the attachmentId.`,
141
+ 409: `Returned if the version of the supplied Attachment does not match the exact version of the Attachment stored in the database.`,
142
+ },
143
+ });
144
+ }
145
+ /**
146
+ * Remove attachment
147
+ * This method will delete the attachment identified by attachmentId.
148
+ *
149
+ * It returns a boolean response indicating whether the operation was successful or not. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
150
+ * @param attachmentId the id of the attachment to be removed.
151
+ * @param id The id of the content the attachment is on.
152
+ * @returns void
153
+ * @throws ApiError
154
+ */
155
+ static removeAttachment(attachmentId, id) {
156
+ return __request(OpenAPI, {
157
+ method: 'DELETE',
158
+ url: '/rest/api/content/{id}/child/attachment/{attachmentId}',
159
+ path: {
160
+ 'attachmentId': attachmentId,
161
+ 'id': id,
162
+ },
163
+ errors: {
164
+ 400: `Returned if the user does not have permission to remove the attachment.`,
165
+ 404: ` Returned if the specified attachment does not exist.`,
166
+ },
167
+ });
168
+ }
169
+ /**
170
+ * Remove attachment version
171
+ * This method will delete the specified version of an attachment identified by attachmentId and version.
172
+ *
173
+ * If the operation is successful, it returns a response indicating that no content is returned. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
174
+ * @param attachmentId The id of the attachment to be removed.
175
+ * @param id The id of the content the attachment is on.
176
+ * @param version
177
+ * @returns void
178
+ * @throws ApiError
179
+ */
180
+ static removeAttachmentVersion(attachmentId, id, version) {
181
+ return __request(OpenAPI, {
182
+ method: 'DELETE',
183
+ url: '/rest/api/content/{id}/child/attachment/{attachmentId}/version/{version}',
184
+ path: {
185
+ 'attachmentId': attachmentId,
186
+ 'id': id,
187
+ 'version': version,
188
+ },
189
+ errors: {
190
+ 400: `Returned if the user does not have permission to remove the attachment.`,
191
+ 404: `Returned if the specified attachment or version does not exist.`,
192
+ },
193
+ });
194
+ }
195
+ /**
196
+ * Update binary data of an attachment
197
+ * Update the binary data of an Attachment, and optionally the comment and the minor edit field.
198
+ *
199
+ * This adds a new version of the attachment, containing the new binary data, filename, and content-type.
200
+ *
201
+ * **When updating the binary data of an attachment**, the comment related to it together with the field that specifies if it's a minor edit can be updated as well, but are not required.
202
+ *
203
+ * If an update is considered to be a minor edit, notifications will not be sent to the watchers of that content.
204
+ *
205
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
206
+ *
207
+ * 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.
208
+ *
209
+ * The name of the multipart/form-data parameter that contains attachments must be 'file'.
210
+ * @param attachmentId the id of the attachment to upload the new file for.
211
+ * @param id The id of the content the attachment is on.
212
+ * @param formData The attachment to be updated.
213
+ * @returns Content returns JSON representation of the updated attachment.
214
+ * @throws ApiError
215
+ */
216
+ static updateData(attachmentId, id, formData) {
217
+ return __request(OpenAPI, {
218
+ method: 'POST',
219
+ url: '/rest/api/content/{id}/child/attachment/{attachmentId}/data',
220
+ path: {
221
+ 'attachmentId': attachmentId,
222
+ 'id': id,
223
+ },
224
+ formData: formData,
225
+ mediaType: 'multipart/form-data',
226
+ errors: {
227
+ 400: ` Returned if the attachment id is invalid.`,
228
+ 404: ` Returned if no attachment is found for the attachmentId.`,
229
+ },
230
+ });
231
+ }
232
+ }
233
+ //# sourceMappingURL=AttachmentsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentsService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/AttachmentsService.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,kBAAkB;IAC3B;;;;;;;;;;;OAWG;IACI,MAAM,CAAC,cAAc,CACxB,EAAU,EACV,MAAe,EACf,QAAiB,EACjB,KAAc,EACd,KAAc,EACd,SAAkB;QAelB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,UAAU,EAAE,QAAQ;gBACpB,OAAO,EAAE,KAAK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ClE,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE,EAAE;aACX;YACD,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE;gBACJ,GAAG,EAAE,4CAA4C;gBACjD,GAAG,EAAE,2DAA2D;aACnE;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -0,0 +1,146 @@
1
+ import type { ExampleMultipartFormData } from '../models/ExampleMultipartFormData.js';
2
+ import type { FileInfo } from '../models/FileInfo.js';
3
+ import type { JobDetails } from '../models/JobDetails.js';
4
+ import type { SiteBackupJobDetails } from '../models/SiteBackupJobDetails.js';
5
+ import type { SiteBackupSettings } from '../models/SiteBackupSettings.js';
6
+ import type { SiteRestoreJobDetails } from '../models/SiteRestoreJobDetails.js';
7
+ import type { SiteRestoreSettings } from '../models/SiteRestoreSettings.js';
8
+ import type { SpaceBackupJobDetails } from '../models/SpaceBackupJobDetails.js';
9
+ import type { SpaceBackupSettings } from '../models/SpaceBackupSettings.js';
10
+ import type { SpaceRestoreJobDetails } from '../models/SpaceRestoreJobDetails.js';
11
+ import type { SpaceRestoreSettings } from '../models/SpaceRestoreSettings.js';
12
+ import type { CancelablePromise } from '../core/CancelablePromise.js';
13
+ export declare class BackupAndRestoreService {
14
+ /**
15
+ * Cancel all queued jobs
16
+ * Cancels all queued jobs. Does not affect jobs that are being processed at the moment.
17
+ * @returns any Returns the number of cancelled jobs. If no jobs were cancelled, 0 is returned.
18
+ * Example response: `1`
19
+ * @throws ApiError
20
+ */
21
+ static cancelAllQueuedJobs(): CancelablePromise<any>;
22
+ /**
23
+ * Cancel job
24
+ * Cancels the job. If the job is already cancelled or failed, the method will do nothing.
25
+ * @param jobId id of the backup/restore job
26
+ * @returns JobDetails Returns a JSON representation of the cancelled job.
27
+ * @throws ApiError
28
+ */
29
+ static cancelJob(jobId: string): CancelablePromise<JobDetails>;
30
+ /**
31
+ * Create site backup job
32
+ * Starts the new site backup job.
33
+ * @param requestBody Site backup settings
34
+ * @returns SiteBackupJobDetails Returns a JSON representation of the site backup job details.
35
+ * @throws ApiError
36
+ */
37
+ static createSiteBackupJob(requestBody?: SiteBackupSettings): CancelablePromise<SiteBackupJobDetails>;
38
+ /**
39
+ * Create site restore job
40
+ * Starts the new site restore job.
41
+ * @param requestBody space restore settings
42
+ * @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job.
43
+ * @throws ApiError
44
+ */
45
+ static createSiteRestoreJob(requestBody?: SiteRestoreSettings): CancelablePromise<SiteRestoreJobDetails>;
46
+ /**
47
+ * Create site restore job for upload backup file
48
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
49
+ *
50
+ * Most client libraries have classes that make dealing with multipart posts simple.
51
+ *
52
+ * For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
53
+ *
54
+ * 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.
55
+ *
56
+ * The name of the multipart/form-data parameter that contains attachments must be "file".
57
+ *
58
+ * An example to attach the file:
59
+ *
60
+ * 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
61
+ *
62
+ * .
63
+ * @param formData Backup file to be uploaded. Has to be a zip file.
64
+ * @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job details.
65
+ * @throws ApiError
66
+ */
67
+ static createSiteRestoreJobForUploadedBackupFile(formData?: ExampleMultipartFormData): CancelablePromise<SiteRestoreJobDetails>;
68
+ /**
69
+ * Create space backup job
70
+ * Creates new space backup job and adds it to the queue.
71
+ * @param requestBody Space backup settings
72
+ * @returns SpaceBackupJobDetails Returns a JSON representation of the space backup job
73
+ * @throws ApiError
74
+ */
75
+ static createSpaceBackupJob(requestBody?: SpaceBackupSettings): CancelablePromise<SpaceBackupJobDetails>;
76
+ /**
77
+ * Create space restore job
78
+ * Creates new space restore job and adds it to the queue.
79
+ * @param requestBody space restore settings
80
+ * @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job.
81
+ * @throws ApiError
82
+ */
83
+ static createSpaceRestoreJob(requestBody?: SpaceRestoreSettings): CancelablePromise<SpaceRestoreJobDetails>;
84
+ /**
85
+ * Create space restore job for upload backup file
86
+ * This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
87
+ *
88
+ * Most client libraries have classes that make dealing with multipart posts simple.
89
+ *
90
+ * For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
91
+ *
92
+ * 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.
93
+ *
94
+ * The name of the multipart/form-data parameter that contains attachments must be "file".
95
+ *
96
+ * An example to attach the file:
97
+ *
98
+ * 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
99
+ *
100
+ * .
101
+ * @param formData backup file uploaded. Has to be a zip file.
102
+ * @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job details.
103
+ * @throws ApiError
104
+ */
105
+ static createSpaceRestoreJobForUploadedBackupFile(formData?: ExampleMultipartFormData): CancelablePromise<SpaceRestoreJobDetails>;
106
+ /**
107
+ * Download backup file
108
+ * Downloads the backup file for the given job. Requires site admin or space export permissions for all spaces included in the backup job.
109
+ * @param jobId id of the backup/restore job
110
+ * @returns JobDetails Returns a data stream of the backup file content.
111
+ * @throws ApiError
112
+ */
113
+ static downloadBackupFile(jobId: string): CancelablePromise<JobDetails>;
114
+ /**
115
+ * Find jobs by filters
116
+ * Returns jobs based on the filters provided. The user must have permission to see the jobs.
117
+ * @param owner userName of user who had created a job.
118
+ * @param spaceKey the key of the Space the User is attempting to view.
119
+ * @param fromDate minimum job creation date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
120
+ * @param jobStates list of job states. Acceptable values: "QUEUED", "PROCESSING", "FINISHED", "CANCELLING", "CANCELLED", "FAILED"
121
+ * @param toDate maximum job create date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
122
+ * @param jobOperation job operation. Acceptable values: "BACKUP" and "RESTORE"
123
+ * @param limit amount of jobs that should be returned
124
+ * @param jobScope scope of the job. Acceptable values: "SPACE" and "SITE"
125
+ * @returns JobDetails Returns the List of backup/restore jobs visible to user based on the filter provided and the user's permissions.
126
+ * @throws ApiError
127
+ */
128
+ static findJobs(owner?: string, spaceKey?: string, fromDate?: string, jobStates?: string, toDate?: string, jobOperation?: string, limit?: string, jobScope?: string): CancelablePromise<Array<JobDetails>>;
129
+ /**
130
+ * Get files in restore directory
131
+ * returns list of information on files in conf-home/restore/(jobScope).
132
+ * @param jobScope name of type of restore job (SITE or SPACE or null), if null, all backup files are listed
133
+ * @returns FileInfo Returns a list of FileInfo objects, containing fileName, fileCreationTime, fileSize, and jobScope.
134
+ * @throws ApiError
135
+ */
136
+ static getFiles(jobScope?: string): CancelablePromise<Array<FileInfo>>;
137
+ /**
138
+ * Get job by ID
139
+ * Get job by id. The user must be a sysadmin or the owner of the job.
140
+ * @param jobId id of the backup/restore job
141
+ * @returns JobDetails Returns a JSON representation of the backup/restore job
142
+ * @throws ApiError
143
+ */
144
+ static getJob(jobId: string): CancelablePromise<JobDetails>;
145
+ }
146
+ //# sourceMappingURL=BackupAndRestoreService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackupAndRestoreService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/BackupAndRestoreService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAA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