confluence.js 1.3.1 → 1.5.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 (1334) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +15 -0
  3. package/out/api/analytics.d.ts +16 -0
  4. package/out/api/analytics.js +35 -0
  5. package/out/api/analytics.js.map +1 -0
  6. package/out/api/audit.d.ts +1 -1
  7. package/out/api/audit.js +7 -6
  8. package/out/api/audit.js.map +1 -0
  9. package/out/api/content.d.ts +5 -5
  10. package/out/api/content.js +11 -10
  11. package/out/api/content.js.map +1 -0
  12. package/out/api/contentAttachments.d.ts +18 -177
  13. package/out/api/contentAttachments.js +53 -10
  14. package/out/api/contentAttachments.js.map +1 -0
  15. package/out/api/contentBody.d.ts +1 -1
  16. package/out/api/contentBody.js +2 -1
  17. package/out/api/contentBody.js.map +1 -0
  18. package/out/api/contentChildrenAndDescendants.d.ts +3 -3
  19. package/out/api/contentChildrenAndDescendants.js +10 -8
  20. package/out/api/contentChildrenAndDescendants.js.map +1 -0
  21. package/out/api/contentComments.d.ts +1 -1
  22. package/out/api/contentComments.js +2 -1
  23. package/out/api/contentComments.js.map +1 -0
  24. package/out/api/contentContentState.d.ts +58 -0
  25. package/out/api/contentContentState.js +64 -0
  26. package/out/api/contentContentState.js.map +1 -0
  27. package/out/api/contentLabels.d.ts +1 -1
  28. package/out/api/contentLabels.js +5 -4
  29. package/out/api/contentLabels.js.map +1 -0
  30. package/out/api/contentMacroBody.d.ts +1 -1
  31. package/out/api/contentMacroBody.js +2 -1
  32. package/out/api/contentMacroBody.js.map +1 -0
  33. package/out/api/contentPermissions.d.ts +1 -1
  34. package/out/api/contentPermissions.js +3 -2
  35. package/out/api/contentPermissions.js.map +1 -0
  36. package/out/api/contentProperties.d.ts +1 -1
  37. package/out/api/contentProperties.js +7 -6
  38. package/out/api/contentProperties.js.map +1 -0
  39. package/out/api/contentRestrictions.d.ts +1 -1
  40. package/out/api/contentRestrictions.js +16 -15
  41. package/out/api/contentRestrictions.js.map +1 -0
  42. package/out/api/contentVersions.d.ts +1 -1
  43. package/out/api/contentVersions.js +5 -4
  44. package/out/api/contentVersions.js.map +1 -0
  45. package/out/api/contentWatches.d.ts +1 -1
  46. package/out/api/contentWatches.js +13 -12
  47. package/out/api/contentWatches.js.map +1 -0
  48. package/out/api/dynamicModules.d.ts +1 -1
  49. package/out/api/dynamicModules.js +4 -3
  50. package/out/api/dynamicModules.js.map +1 -0
  51. package/out/api/experimental.d.ts +123 -5
  52. package/out/api/experimental.js +61 -8
  53. package/out/api/experimental.js.map +1 -0
  54. package/out/api/group.d.ts +1 -1
  55. package/out/api/group.js +21 -17
  56. package/out/api/group.js.map +1 -0
  57. package/out/api/index.d.ts +2 -0
  58. package/out/api/index.js +32 -29
  59. package/out/api/index.js.map +1 -0
  60. package/out/api/inlineTasks.d.ts +1 -1
  61. package/out/api/inlineTasks.js +4 -3
  62. package/out/api/inlineTasks.js.map +1 -0
  63. package/out/api/labelInfo.d.ts +1 -1
  64. package/out/api/labelInfo.js +2 -1
  65. package/out/api/labelInfo.js.map +1 -0
  66. package/out/api/longRunningTask.d.ts +1 -1
  67. package/out/api/longRunningTask.js +3 -2
  68. package/out/api/longRunningTask.js.map +1 -0
  69. package/out/api/models/accountId.js +1 -0
  70. package/out/api/models/accountId.js.map +1 -0
  71. package/out/api/models/accountIdEmailRecord.js +1 -0
  72. package/out/api/models/accountIdEmailRecord.js.map +1 -0
  73. package/out/api/models/accountIdEmailRecordArray.js +1 -0
  74. package/out/api/models/accountIdEmailRecordArray.js.map +1 -0
  75. package/out/api/models/addContentRestriction.js +1 -0
  76. package/out/api/models/addContentRestriction.js.map +1 -0
  77. package/out/api/models/addContentRestrictionUpdateArray.js +1 -0
  78. package/out/api/models/addContentRestrictionUpdateArray.js.map +1 -0
  79. package/out/api/models/affectedObject.js +1 -0
  80. package/out/api/models/affectedObject.js.map +1 -0
  81. package/out/api/models/appDescriptor.js +1 -0
  82. package/out/api/models/appDescriptor.js.map +1 -0
  83. package/out/api/models/attachment.d.ts +30 -0
  84. package/out/api/models/attachment.js +3 -0
  85. package/out/api/models/attachment.js.map +1 -0
  86. package/out/api/models/attachmentContainer.d.ts +27 -0
  87. package/out/api/models/attachmentContainer.js +3 -0
  88. package/out/api/models/attachmentContainer.js.map +1 -0
  89. package/out/api/models/attachmentMetadata.d.ts +20 -0
  90. package/out/api/models/attachmentMetadata.js +3 -0
  91. package/out/api/models/attachmentMetadata.js.map +1 -0
  92. package/out/api/models/attachmentUpdate.d.ts +1 -0
  93. package/out/api/models/attachmentUpdate.js +1 -0
  94. package/out/api/models/attachmentUpdate.js.map +1 -0
  95. package/out/api/models/auditRecord.js +1 -0
  96. package/out/api/models/auditRecord.js.map +1 -0
  97. package/out/api/models/auditRecordArray.js +1 -0
  98. package/out/api/models/auditRecordArray.js.map +1 -0
  99. package/out/api/models/auditRecordCreate.js +1 -0
  100. package/out/api/models/auditRecordCreate.js.map +1 -0
  101. package/out/api/models/availableContentStates.d.ts +6 -0
  102. package/out/api/models/availableContentStates.js +3 -0
  103. package/out/api/models/availableContentStates.js.map +1 -0
  104. package/out/api/models/blueprintTemplate.d.ts +1 -1
  105. package/out/api/models/blueprintTemplate.js +1 -0
  106. package/out/api/models/blueprintTemplate.js.map +1 -0
  107. package/out/api/models/blueprintTemplateArray.js +1 -0
  108. package/out/api/models/blueprintTemplateArray.js.map +1 -0
  109. package/out/api/models/breadcrumb.js +1 -0
  110. package/out/api/models/breadcrumb.js.map +1 -0
  111. package/out/api/models/bulkUserLookup.d.ts +2 -2
  112. package/out/api/models/bulkUserLookup.js +1 -0
  113. package/out/api/models/bulkUserLookup.js.map +1 -0
  114. package/out/api/models/bulkUserLookupArray.js +1 -0
  115. package/out/api/models/bulkUserLookupArray.js.map +1 -0
  116. package/out/api/models/buttonLookAndFeel.js +1 -0
  117. package/out/api/models/buttonLookAndFeel.js.map +1 -0
  118. package/out/api/models/cQLPersonalDataConvertedQueries.js +1 -0
  119. package/out/api/models/cQLPersonalDataConvertedQueries.js.map +1 -0
  120. package/out/api/models/cQLPersonalDataMigrationRequest.js +1 -0
  121. package/out/api/models/cQLPersonalDataMigrationRequest.js.map +1 -0
  122. package/out/api/models/changedValue.js +1 -0
  123. package/out/api/models/changedValue.js.map +1 -0
  124. package/out/api/models/connectModule.js +1 -0
  125. package/out/api/models/connectModule.js.map +1 -0
  126. package/out/api/models/connectModules.js +1 -0
  127. package/out/api/models/connectModules.js.map +1 -0
  128. package/out/api/models/container.js +1 -0
  129. package/out/api/models/container.js.map +1 -0
  130. package/out/api/models/containerLookAndFeel.js +1 -0
  131. package/out/api/models/containerLookAndFeel.js.map +1 -0
  132. package/out/api/models/containerSummary.js +1 -0
  133. package/out/api/models/containerSummary.js.map +1 -0
  134. package/out/api/models/content.d.ts +6 -6
  135. package/out/api/models/content.js +1 -0
  136. package/out/api/models/content.js.map +1 -0
  137. package/out/api/models/contentArray.d.ts +4 -4
  138. package/out/api/models/contentArray.js +1 -0
  139. package/out/api/models/contentArray.js.map +1 -0
  140. package/out/api/models/contentAttachment.js +1 -0
  141. package/out/api/models/contentAttachment.js.map +1 -0
  142. package/out/api/models/contentBlogpost.js +1 -0
  143. package/out/api/models/contentBlogpost.js.map +1 -0
  144. package/out/api/models/contentBlueprintDraft.js +1 -0
  145. package/out/api/models/contentBlueprintDraft.js.map +1 -0
  146. package/out/api/models/contentBody.js +1 -0
  147. package/out/api/models/contentBody.js.map +1 -0
  148. package/out/api/models/contentBodyCreate.js +1 -0
  149. package/out/api/models/contentBodyCreate.js.map +1 -0
  150. package/out/api/models/contentBodyCreateStorage.js +1 -0
  151. package/out/api/models/contentBodyCreateStorage.js.map +1 -0
  152. package/out/api/models/contentChildType.js +1 -0
  153. package/out/api/models/contentChildType.js.map +1 -0
  154. package/out/api/models/contentChildren.js +1 -0
  155. package/out/api/models/contentChildren.js.map +1 -0
  156. package/out/api/models/contentComment.js +1 -0
  157. package/out/api/models/contentComment.js.map +1 -0
  158. package/out/api/models/contentCreate.js +1 -0
  159. package/out/api/models/contentCreate.js.map +1 -0
  160. package/out/api/models/contentHistory.d.ts +2 -2
  161. package/out/api/models/contentHistory.js +1 -0
  162. package/out/api/models/contentHistory.js.map +1 -0
  163. package/out/api/models/contentId.js +1 -0
  164. package/out/api/models/contentId.js.map +1 -0
  165. package/out/api/models/contentLookAndFeel.d.ts +1 -1
  166. package/out/api/models/contentLookAndFeel.js +1 -0
  167. package/out/api/models/contentLookAndFeel.js.map +1 -0
  168. package/out/api/models/contentMetadata.d.ts +1 -1
  169. package/out/api/models/contentMetadata.js +1 -0
  170. package/out/api/models/contentMetadata.js.map +1 -0
  171. package/out/api/models/contentPage.js +1 -0
  172. package/out/api/models/contentPage.js.map +1 -0
  173. package/out/api/models/contentPermissionRequest.js +1 -0
  174. package/out/api/models/contentPermissionRequest.js.map +1 -0
  175. package/out/api/models/contentProperty.js +1 -0
  176. package/out/api/models/contentProperty.js.map +1 -0
  177. package/out/api/models/contentPropertyArray.js +1 -0
  178. package/out/api/models/contentPropertyArray.js.map +1 -0
  179. package/out/api/models/contentPropertyCreate.js +1 -0
  180. package/out/api/models/contentPropertyCreate.js.map +1 -0
  181. package/out/api/models/contentPropertyCreateNoKey.js +1 -0
  182. package/out/api/models/contentPropertyCreateNoKey.js.map +1 -0
  183. package/out/api/models/contentPropertyUpdate.js +1 -0
  184. package/out/api/models/contentPropertyUpdate.js.map +1 -0
  185. package/out/api/models/contentRestriction.d.ts +2 -2
  186. package/out/api/models/contentRestriction.js +1 -0
  187. package/out/api/models/contentRestriction.js.map +1 -0
  188. package/out/api/models/contentRestrictionArray.js +1 -0
  189. package/out/api/models/contentRestrictionArray.js.map +1 -0
  190. package/out/api/models/contentRestrictionUpdate.js +1 -0
  191. package/out/api/models/contentRestrictionUpdate.js.map +1 -0
  192. package/out/api/models/contentRestrictionUpdateArray.js +1 -0
  193. package/out/api/models/contentRestrictionUpdateArray.js.map +1 -0
  194. package/out/api/models/contentState.d.ts +8 -0
  195. package/out/api/models/contentState.js +3 -0
  196. package/out/api/models/contentState.js.map +1 -0
  197. package/out/api/models/contentStateContainer.d.ts +5 -0
  198. package/out/api/models/contentStateContainer.js +3 -0
  199. package/out/api/models/contentStateContainer.js.map +1 -0
  200. package/out/api/models/contentStateSettings.d.ts +11 -0
  201. package/out/api/models/contentStateSettings.js +3 -0
  202. package/out/api/models/contentStateSettings.js.map +1 -0
  203. package/out/api/models/contentTemplate.d.ts +1 -1
  204. package/out/api/models/contentTemplate.js +1 -0
  205. package/out/api/models/contentTemplate.js.map +1 -0
  206. package/out/api/models/contentTemplateArray.js +1 -0
  207. package/out/api/models/contentTemplateArray.js.map +1 -0
  208. package/out/api/models/contentTemplateBodyCreate.js +1 -0
  209. package/out/api/models/contentTemplateBodyCreate.js.map +1 -0
  210. package/out/api/models/contentTemplateCreate.js +1 -0
  211. package/out/api/models/contentTemplateCreate.js.map +1 -0
  212. package/out/api/models/contentTemplateUpdate.js +1 -0
  213. package/out/api/models/contentTemplateUpdate.js.map +1 -0
  214. package/out/api/models/contentUpdate.js +1 -0
  215. package/out/api/models/contentUpdate.js.map +1 -0
  216. package/out/api/models/copyPageHierarchyRequest.d.ts +2 -0
  217. package/out/api/models/copyPageHierarchyRequest.js +1 -0
  218. package/out/api/models/copyPageHierarchyRequest.js.map +1 -0
  219. package/out/api/models/copyPageHierarchyTitleOptions.js +1 -0
  220. package/out/api/models/copyPageHierarchyTitleOptions.js.map +1 -0
  221. package/out/api/models/copyPageRequest.d.ts +1 -1
  222. package/out/api/models/copyPageRequest.js +1 -0
  223. package/out/api/models/copyPageRequest.js.map +1 -0
  224. package/out/api/models/copyPageRequestDestination.js +1 -0
  225. package/out/api/models/copyPageRequestDestination.js.map +1 -0
  226. package/out/api/models/createdAttachment.d.ts +7 -0
  227. package/out/api/models/createdAttachment.js +3 -0
  228. package/out/api/models/createdAttachment.js.map +1 -0
  229. package/out/api/models/deletedSpace.js +1 -0
  230. package/out/api/models/deletedSpace.js.map +1 -0
  231. package/out/api/models/dynamicModulesErrorMessage.js +1 -0
  232. package/out/api/models/dynamicModulesErrorMessage.js.map +1 -0
  233. package/out/api/models/embeddable.js +1 -0
  234. package/out/api/models/embeddable.js.map +1 -0
  235. package/out/api/models/embeddedContent.js +1 -0
  236. package/out/api/models/embeddedContent.js.map +1 -0
  237. package/out/api/models/genericLinks.d.ts +11 -1
  238. package/out/api/models/genericLinks.js +1 -0
  239. package/out/api/models/genericLinks.js.map +1 -0
  240. package/out/api/models/getRestrictionsByOperation.js +1 -0
  241. package/out/api/models/getRestrictionsByOperation.js.map +1 -0
  242. package/out/api/models/getViewers.js +1 -0
  243. package/out/api/models/getViewers.js.map +1 -0
  244. package/out/api/models/getViews.js +1 -0
  245. package/out/api/models/getViews.js.map +1 -0
  246. package/out/api/models/group.js +1 -0
  247. package/out/api/models/group.js.map +1 -0
  248. package/out/api/models/groupArray.js +1 -0
  249. package/out/api/models/groupArray.js.map +1 -0
  250. package/out/api/models/groupArrayWithLinks.js +1 -0
  251. package/out/api/models/groupArrayWithLinks.js.map +1 -0
  252. package/out/api/models/groupCreate.js +1 -0
  253. package/out/api/models/groupCreate.js.map +1 -0
  254. package/out/api/models/groupName.js +1 -0
  255. package/out/api/models/groupName.js.map +1 -0
  256. package/out/api/models/headerLookAndFeel.js +1 -0
  257. package/out/api/models/headerLookAndFeel.js.map +1 -0
  258. package/out/api/models/horizontalHeaderLookAndFeel.d.ts +1 -1
  259. package/out/api/models/horizontalHeaderLookAndFeel.js +1 -0
  260. package/out/api/models/horizontalHeaderLookAndFeel.js.map +1 -0
  261. package/out/api/models/icon.js +1 -0
  262. package/out/api/models/icon.js.map +1 -0
  263. package/out/api/models/index.d.ts +15 -0
  264. package/out/api/models/index.js +174 -158
  265. package/out/api/models/index.js.map +1 -0
  266. package/out/api/models/label.js +1 -0
  267. package/out/api/models/label.js.map +1 -0
  268. package/out/api/models/labelArray.d.ts +1 -1
  269. package/out/api/models/labelArray.js +1 -0
  270. package/out/api/models/labelArray.js.map +1 -0
  271. package/out/api/models/labelCreate.js +1 -0
  272. package/out/api/models/labelCreate.js.map +1 -0
  273. package/out/api/models/labelCreateArray.js +1 -0
  274. package/out/api/models/labelCreateArray.js.map +1 -0
  275. package/out/api/models/labelDetails.js +1 -0
  276. package/out/api/models/labelDetails.js.map +1 -0
  277. package/out/api/models/labeledContent.js +1 -0
  278. package/out/api/models/labeledContent.js.map +1 -0
  279. package/out/api/models/labeledContentPageResponse.js +1 -0
  280. package/out/api/models/labeledContentPageResponse.js.map +1 -0
  281. package/out/api/models/labeledContentType.js +1 -0
  282. package/out/api/models/labeledContentType.js.map +1 -0
  283. package/out/api/models/lifecycle.js +1 -0
  284. package/out/api/models/lifecycle.js.map +1 -0
  285. package/out/api/models/longTask.d.ts +8 -0
  286. package/out/api/models/longTask.js +3 -0
  287. package/out/api/models/longTask.js.map +1 -0
  288. package/out/api/models/longTaskStatus.js +1 -0
  289. package/out/api/models/longTaskStatus.js.map +1 -0
  290. package/out/api/models/longTaskStatusArray.d.ts +1 -1
  291. package/out/api/models/longTaskStatusArray.js +1 -0
  292. package/out/api/models/longTaskStatusArray.js.map +1 -0
  293. package/out/api/models/longTaskStatusWithLinks.js +1 -0
  294. package/out/api/models/longTaskStatusWithLinks.js.map +1 -0
  295. package/out/api/models/lookAndFeel.d.ts +2 -2
  296. package/out/api/models/lookAndFeel.js +1 -0
  297. package/out/api/models/lookAndFeel.js.map +1 -0
  298. package/out/api/models/lookAndFeelSelection.js +1 -0
  299. package/out/api/models/lookAndFeelSelection.js.map +1 -0
  300. package/out/api/models/lookAndFeelSettings.js +1 -0
  301. package/out/api/models/lookAndFeelSettings.js.map +1 -0
  302. package/out/api/models/lookAndFeelUpdated.js +1 -0
  303. package/out/api/models/lookAndFeelUpdated.js.map +1 -0
  304. package/out/api/models/macroInstance.js +1 -0
  305. package/out/api/models/macroInstance.js.map +1 -0
  306. package/out/api/models/menusLookAndFeel.js +1 -0
  307. package/out/api/models/menusLookAndFeel.js.map +1 -0
  308. package/out/api/models/message.js +1 -0
  309. package/out/api/models/message.js.map +1 -0
  310. package/out/api/models/migratedUser.js +1 -0
  311. package/out/api/models/migratedUser.js.map +1 -0
  312. package/out/api/models/migratedUserArray.d.ts +1 -1
  313. package/out/api/models/migratedUserArray.js +1 -0
  314. package/out/api/models/migratedUserArray.js.map +1 -0
  315. package/out/api/models/movePage.js +1 -0
  316. package/out/api/models/movePage.js.map +1 -0
  317. package/out/api/models/navigationLookAndFeel.js +1 -0
  318. package/out/api/models/navigationLookAndFeel.js.map +1 -0
  319. package/out/api/models/operationCheckResult.js +1 -0
  320. package/out/api/models/operationCheckResult.js.map +1 -0
  321. package/out/api/models/permissionCheckResponse.js +1 -0
  322. package/out/api/models/permissionCheckResponse.js.map +1 -0
  323. package/out/api/models/permissionSubject.js +1 -0
  324. package/out/api/models/permissionSubject.js.map +1 -0
  325. package/out/api/models/permissionSubjectWithGroupId.js +1 -0
  326. package/out/api/models/permissionSubjectWithGroupId.js.map +1 -0
  327. package/out/api/models/propertyValue.js +1 -0
  328. package/out/api/models/propertyValue.js.map +1 -0
  329. package/out/api/models/relation.d.ts +1 -1
  330. package/out/api/models/relation.js +1 -0
  331. package/out/api/models/relation.js.map +1 -0
  332. package/out/api/models/relationArray.d.ts +1 -1
  333. package/out/api/models/relationArray.js +1 -0
  334. package/out/api/models/relationArray.js.map +1 -0
  335. package/out/api/models/relationData.js +1 -0
  336. package/out/api/models/relationData.js.map +1 -0
  337. package/out/api/models/retentionPeriod.js +1 -0
  338. package/out/api/models/retentionPeriod.js.map +1 -0
  339. package/out/api/models/screenLookAndFeel.js +1 -0
  340. package/out/api/models/screenLookAndFeel.js.map +1 -0
  341. package/out/api/models/searchFieldLookAndFeel.js +1 -0
  342. package/out/api/models/searchFieldLookAndFeel.js.map +1 -0
  343. package/out/api/models/searchPageResponseSearchResult.d.ts +1 -1
  344. package/out/api/models/searchPageResponseSearchResult.js +1 -0
  345. package/out/api/models/searchPageResponseSearchResult.js.map +1 -0
  346. package/out/api/models/searchResult.d.ts +2 -2
  347. package/out/api/models/searchResult.js +1 -0
  348. package/out/api/models/searchResult.js.map +1 -0
  349. package/out/api/models/space.d.ts +4 -4
  350. package/out/api/models/space.js +1 -0
  351. package/out/api/models/space.js.map +1 -0
  352. package/out/api/models/spaceArray.d.ts +1 -1
  353. package/out/api/models/spaceArray.js +1 -0
  354. package/out/api/models/spaceArray.js.map +1 -0
  355. package/out/api/models/spaceCreate.js +1 -0
  356. package/out/api/models/spaceCreate.js.map +1 -0
  357. package/out/api/models/spaceDescription.js +1 -0
  358. package/out/api/models/spaceDescription.js.map +1 -0
  359. package/out/api/models/spaceDescriptionCreate.js +1 -0
  360. package/out/api/models/spaceDescriptionCreate.js.map +1 -0
  361. package/out/api/models/spacePermission.d.ts +1 -1
  362. package/out/api/models/spacePermission.js +1 -0
  363. package/out/api/models/spacePermission.js.map +1 -0
  364. package/out/api/models/spacePermissionCreate.d.ts +1 -1
  365. package/out/api/models/spacePermissionCreate.js +1 -0
  366. package/out/api/models/spacePermissionCreate.js.map +1 -0
  367. package/out/api/models/spacePermissionCustomContent.js +1 -0
  368. package/out/api/models/spacePermissionCustomContent.js.map +1 -0
  369. package/out/api/models/spacePermissionRequest.d.ts +1 -1
  370. package/out/api/models/spacePermissionRequest.js +1 -0
  371. package/out/api/models/spacePermissionRequest.js.map +1 -0
  372. package/out/api/models/spacePermissionV2.d.ts +1 -1
  373. package/out/api/models/spacePermissionV2.js +1 -0
  374. package/out/api/models/spacePermissionV2.js.map +1 -0
  375. package/out/api/models/spacePrivateCreate.js +1 -0
  376. package/out/api/models/spacePrivateCreate.js.map +1 -0
  377. package/out/api/models/spaceProperty.js +1 -0
  378. package/out/api/models/spaceProperty.js.map +1 -0
  379. package/out/api/models/spacePropertyArray.d.ts +1 -1
  380. package/out/api/models/spacePropertyArray.js +1 -0
  381. package/out/api/models/spacePropertyArray.js.map +1 -0
  382. package/out/api/models/spacePropertyCreate.js +1 -0
  383. package/out/api/models/spacePropertyCreate.js.map +1 -0
  384. package/out/api/models/spacePropertyCreateNoKey.js +1 -0
  385. package/out/api/models/spacePropertyCreateNoKey.js.map +1 -0
  386. package/out/api/models/spacePropertyUpdate.js +1 -0
  387. package/out/api/models/spacePropertyUpdate.js.map +1 -0
  388. package/out/api/models/spaceSettings.js +1 -0
  389. package/out/api/models/spaceSettings.js.map +1 -0
  390. package/out/api/models/spaceSettingsUpdate.js +1 -0
  391. package/out/api/models/spaceSettingsUpdate.js.map +1 -0
  392. package/out/api/models/spaceUpdate.js +1 -0
  393. package/out/api/models/spaceUpdate.js.map +1 -0
  394. package/out/api/models/spaceWatch.js +1 -0
  395. package/out/api/models/spaceWatch.js.map +1 -0
  396. package/out/api/models/spaceWatchArray.d.ts +1 -1
  397. package/out/api/models/spaceWatchArray.js +1 -0
  398. package/out/api/models/spaceWatchArray.js.map +1 -0
  399. package/out/api/models/spaceWatchUser.js +1 -0
  400. package/out/api/models/spaceWatchUser.js.map +1 -0
  401. package/out/api/models/superBatchWebResources.js +1 -0
  402. package/out/api/models/superBatchWebResources.js.map +1 -0
  403. package/out/api/models/systemInfoEntity.js +1 -0
  404. package/out/api/models/systemInfoEntity.js.map +1 -0
  405. package/out/api/models/task.js +1 -0
  406. package/out/api/models/task.js.map +1 -0
  407. package/out/api/models/taskPageResponse.js +1 -0
  408. package/out/api/models/taskPageResponse.js.map +1 -0
  409. package/out/api/models/taskStatusUpdate.js +1 -0
  410. package/out/api/models/taskStatusUpdate.js.map +1 -0
  411. package/out/api/models/theme.js +1 -0
  412. package/out/api/models/theme.js.map +1 -0
  413. package/out/api/models/themeArray.d.ts +1 -1
  414. package/out/api/models/themeArray.js +1 -0
  415. package/out/api/models/themeArray.js.map +1 -0
  416. package/out/api/models/themeNoLinks.js +1 -0
  417. package/out/api/models/themeNoLinks.js.map +1 -0
  418. package/out/api/models/themeUpdate.js +1 -0
  419. package/out/api/models/themeUpdate.js.map +1 -0
  420. package/out/api/models/topNavigationLookAndFeel.js +1 -0
  421. package/out/api/models/topNavigationLookAndFeel.js.map +1 -0
  422. package/out/api/models/user.d.ts +2 -2
  423. package/out/api/models/user.js +1 -0
  424. package/out/api/models/user.js.map +1 -0
  425. package/out/api/models/userAnonymous.d.ts +1 -1
  426. package/out/api/models/userAnonymous.js +1 -0
  427. package/out/api/models/userAnonymous.js.map +1 -0
  428. package/out/api/models/userArray.js +1 -0
  429. package/out/api/models/userArray.js.map +1 -0
  430. package/out/api/models/userArrayWithLinks.js +1 -0
  431. package/out/api/models/userArrayWithLinks.js.map +1 -0
  432. package/out/api/models/userDetails.js +1 -0
  433. package/out/api/models/userDetails.js.map +1 -0
  434. package/out/api/models/userProperty.d.ts +13 -0
  435. package/out/api/models/userProperty.js +3 -0
  436. package/out/api/models/userProperty.js.map +1 -0
  437. package/out/api/models/userPropertyCreate.d.ts +4 -0
  438. package/out/api/models/userPropertyCreate.js +3 -0
  439. package/out/api/models/userPropertyCreate.js.map +1 -0
  440. package/out/api/models/userPropertyKeyArray.d.ts +10 -0
  441. package/out/api/models/userPropertyKeyArray.js +3 -0
  442. package/out/api/models/userPropertyKeyArray.js.map +1 -0
  443. package/out/api/models/userPropertyUpdate.d.ts +4 -0
  444. package/out/api/models/userPropertyUpdate.js +3 -0
  445. package/out/api/models/userPropertyUpdate.js.map +1 -0
  446. package/out/api/models/userWatch.js +1 -0
  447. package/out/api/models/userWatch.js.map +1 -0
  448. package/out/api/models/usersUserKeys.d.ts +1 -1
  449. package/out/api/models/usersUserKeys.js +1 -0
  450. package/out/api/models/usersUserKeys.js.map +1 -0
  451. package/out/api/models/version.d.ts +2 -2
  452. package/out/api/models/version.js +1 -0
  453. package/out/api/models/version.js.map +1 -0
  454. package/out/api/models/versionArray.d.ts +1 -1
  455. package/out/api/models/versionArray.js +1 -0
  456. package/out/api/models/versionArray.js.map +1 -0
  457. package/out/api/models/versionRestore.js +1 -0
  458. package/out/api/models/versionRestore.js.map +1 -0
  459. package/out/api/models/watch.js +1 -0
  460. package/out/api/models/watch.js.map +1 -0
  461. package/out/api/models/watchArray.d.ts +1 -1
  462. package/out/api/models/watchArray.js +1 -0
  463. package/out/api/models/watchArray.js.map +1 -0
  464. package/out/api/models/watchUser.js +1 -0
  465. package/out/api/models/watchUser.js.map +1 -0
  466. package/out/api/models/webResourceDependencies.js +1 -0
  467. package/out/api/models/webResourceDependencies.js.map +1 -0
  468. package/out/api/parameters/addContentWatcher.js +1 -0
  469. package/out/api/parameters/addContentWatcher.js.map +1 -0
  470. package/out/api/parameters/addCustomContentPermissions.js +1 -0
  471. package/out/api/parameters/addCustomContentPermissions.js.map +1 -0
  472. package/out/api/parameters/addGroupToContentRestriction.js +1 -0
  473. package/out/api/parameters/addGroupToContentRestriction.js.map +1 -0
  474. package/out/api/parameters/addGroupToContentRestrictionByGroupId.js +1 -0
  475. package/out/api/parameters/addGroupToContentRestrictionByGroupId.js.map +1 -0
  476. package/out/api/parameters/addLabelWatcher.js +1 -0
  477. package/out/api/parameters/addLabelWatcher.js.map +1 -0
  478. package/out/api/parameters/addLabelsToContent.js +1 -0
  479. package/out/api/parameters/addLabelsToContent.js.map +1 -0
  480. package/out/api/parameters/addLabelsToSpace.js +1 -0
  481. package/out/api/parameters/addLabelsToSpace.js.map +1 -0
  482. package/out/api/parameters/addPermission.js +1 -0
  483. package/out/api/parameters/addPermission.js.map +1 -0
  484. package/out/api/parameters/addPermissionToSpace.js +1 -0
  485. package/out/api/parameters/addPermissionToSpace.js.map +1 -0
  486. package/out/api/parameters/addRestrictions.js +1 -0
  487. package/out/api/parameters/addRestrictions.js.map +1 -0
  488. package/out/api/parameters/addSpaceWatcher.js +1 -0
  489. package/out/api/parameters/addSpaceWatcher.js.map +1 -0
  490. package/out/api/parameters/addUserToContentRestriction.js +1 -0
  491. package/out/api/parameters/addUserToContentRestriction.js.map +1 -0
  492. package/out/api/parameters/addUserToGroup.js +1 -0
  493. package/out/api/parameters/addUserToGroup.js.map +1 -0
  494. package/out/api/parameters/addUserToGroupByGroupId.js +1 -0
  495. package/out/api/parameters/addUserToGroupByGroupId.js.map +1 -0
  496. package/out/api/parameters/archivePages.js +1 -0
  497. package/out/api/parameters/archivePages.js.map +1 -0
  498. package/out/api/parameters/checkContentPermission.js +1 -0
  499. package/out/api/parameters/checkContentPermission.js.map +1 -0
  500. package/out/api/parameters/convertContentBody.js +1 -0
  501. package/out/api/parameters/convertContentBody.js.map +1 -0
  502. package/out/api/parameters/copyPage.js +1 -0
  503. package/out/api/parameters/copyPage.js.map +1 -0
  504. package/out/api/parameters/copyPageHierarchy.js +1 -0
  505. package/out/api/parameters/copyPageHierarchy.js.map +1 -0
  506. package/out/api/parameters/createAttachments.d.ts +13 -2
  507. package/out/api/parameters/createAttachments.js +1 -0
  508. package/out/api/parameters/createAttachments.js.map +1 -0
  509. package/out/api/parameters/createAuditRecord.js +1 -0
  510. package/out/api/parameters/createAuditRecord.js.map +1 -0
  511. package/out/api/parameters/createContent.js +1 -0
  512. package/out/api/parameters/createContent.js.map +1 -0
  513. package/out/api/parameters/createContentProperty.js +1 -0
  514. package/out/api/parameters/createContentProperty.js.map +1 -0
  515. package/out/api/parameters/createContentPropertyForKey.js +1 -0
  516. package/out/api/parameters/createContentPropertyForKey.js.map +1 -0
  517. package/out/api/parameters/createContentTemplate.js +1 -0
  518. package/out/api/parameters/createContentTemplate.js.map +1 -0
  519. package/out/api/parameters/createGroup.js +1 -0
  520. package/out/api/parameters/createGroup.js.map +1 -0
  521. package/out/api/parameters/createOrUpdateAttachments.d.ts +4 -2
  522. package/out/api/parameters/createOrUpdateAttachments.js +1 -0
  523. package/out/api/parameters/createOrUpdateAttachments.js.map +1 -0
  524. package/out/api/parameters/createPrivateSpace.js +1 -0
  525. package/out/api/parameters/createPrivateSpace.js.map +1 -0
  526. package/out/api/parameters/createRelationship.js +1 -0
  527. package/out/api/parameters/createRelationship.js.map +1 -0
  528. package/out/api/parameters/createSpace.js +1 -0
  529. package/out/api/parameters/createSpace.js.map +1 -0
  530. package/out/api/parameters/createSpaceProperty.js +1 -0
  531. package/out/api/parameters/createSpaceProperty.js.map +1 -0
  532. package/out/api/parameters/createSpacePropertyForKey.js +1 -0
  533. package/out/api/parameters/createSpacePropertyForKey.js.map +1 -0
  534. package/out/api/parameters/createUserProperty.d.ts +10 -0
  535. package/out/api/parameters/createUserProperty.js +3 -0
  536. package/out/api/parameters/createUserProperty.js.map +1 -0
  537. package/out/api/parameters/delete.js +1 -0
  538. package/out/api/parameters/delete.js.map +1 -0
  539. package/out/api/parameters/deleteContent.js +1 -0
  540. package/out/api/parameters/deleteContent.js.map +1 -0
  541. package/out/api/parameters/deleteContentProperty.js +1 -0
  542. package/out/api/parameters/deleteContentProperty.js.map +1 -0
  543. package/out/api/parameters/deleteContentVersion.js +1 -0
  544. package/out/api/parameters/deleteContentVersion.js.map +1 -0
  545. package/out/api/parameters/deleteLabelFromSpace.js +1 -0
  546. package/out/api/parameters/deleteLabelFromSpace.js.map +1 -0
  547. package/out/api/parameters/deletePageTree.d.ts +4 -0
  548. package/out/api/parameters/deletePageTree.js +3 -0
  549. package/out/api/parameters/deletePageTree.js.map +1 -0
  550. package/out/api/parameters/deleteRelationship.js +1 -0
  551. package/out/api/parameters/deleteRelationship.js.map +1 -0
  552. package/out/api/parameters/deleteRestrictions.js +1 -0
  553. package/out/api/parameters/deleteRestrictions.js.map +1 -0
  554. package/out/api/parameters/deleteSpace.js +1 -0
  555. package/out/api/parameters/deleteSpace.js.map +1 -0
  556. package/out/api/parameters/deleteSpaceProperty.js +1 -0
  557. package/out/api/parameters/deleteSpaceProperty.js.map +1 -0
  558. package/out/api/parameters/deleteUserProperty.d.ts +9 -0
  559. package/out/api/parameters/deleteUserProperty.js +3 -0
  560. package/out/api/parameters/deleteUserProperty.js.map +1 -0
  561. package/out/api/parameters/descendantsOfType.js +1 -0
  562. package/out/api/parameters/descendantsOfType.js.map +1 -0
  563. package/out/api/parameters/downloadAttachment.js +1 -0
  564. package/out/api/parameters/downloadAttachment.js.map +1 -0
  565. package/out/api/parameters/exportAuditRecords.js +1 -0
  566. package/out/api/parameters/exportAuditRecords.js.map +1 -0
  567. package/out/api/parameters/findSourcesForTarget.js +1 -0
  568. package/out/api/parameters/findSourcesForTarget.js.map +1 -0
  569. package/out/api/parameters/findTargetFromSource.js +1 -0
  570. package/out/api/parameters/findTargetFromSource.js.map +1 -0
  571. package/out/api/parameters/getAllLabelContent.js +1 -0
  572. package/out/api/parameters/getAllLabelContent.js.map +1 -0
  573. package/out/api/parameters/getAnonymousUser.js +1 -0
  574. package/out/api/parameters/getAnonymousUser.js.map +1 -0
  575. package/out/api/parameters/getAttachments.d.ts +1 -1
  576. package/out/api/parameters/getAttachments.js +1 -0
  577. package/out/api/parameters/getAttachments.js.map +1 -0
  578. package/out/api/parameters/getAuditRecords.js +1 -0
  579. package/out/api/parameters/getAuditRecords.js.map +1 -0
  580. package/out/api/parameters/getAuditRecordsForTimePeriod.js +1 -0
  581. package/out/api/parameters/getAuditRecordsForTimePeriod.js.map +1 -0
  582. package/out/api/parameters/getAvailableContentStates.d.ts +4 -0
  583. package/out/api/parameters/getAvailableContentStates.js +3 -0
  584. package/out/api/parameters/getAvailableContentStates.js.map +1 -0
  585. package/out/api/parameters/getBlueprintTemplates.js +1 -0
  586. package/out/api/parameters/getBlueprintTemplates.js.map +1 -0
  587. package/out/api/parameters/getBulkUserLookup.js +1 -0
  588. package/out/api/parameters/getBulkUserLookup.js.map +1 -0
  589. package/out/api/parameters/getBulkUserMigration.js +1 -0
  590. package/out/api/parameters/getBulkUserMigration.js.map +1 -0
  591. package/out/api/parameters/getContent.js +1 -0
  592. package/out/api/parameters/getContent.js.map +1 -0
  593. package/out/api/parameters/getContentById.js +1 -0
  594. package/out/api/parameters/getContentById.js.map +1 -0
  595. package/out/api/parameters/getContentByTypeForSpace.js +1 -0
  596. package/out/api/parameters/getContentByTypeForSpace.js.map +1 -0
  597. package/out/api/parameters/getContentChildren.js +1 -0
  598. package/out/api/parameters/getContentChildren.js.map +1 -0
  599. package/out/api/parameters/getContentChildrenByType.js +1 -0
  600. package/out/api/parameters/getContentChildrenByType.js.map +1 -0
  601. package/out/api/parameters/getContentComments.js +1 -0
  602. package/out/api/parameters/getContentComments.js.map +1 -0
  603. package/out/api/parameters/getContentDescendants.js +1 -0
  604. package/out/api/parameters/getContentDescendants.js.map +1 -0
  605. package/out/api/parameters/getContentForSpace.js +1 -0
  606. package/out/api/parameters/getContentForSpace.js.map +1 -0
  607. package/out/api/parameters/getContentProperties.js +1 -0
  608. package/out/api/parameters/getContentProperties.js.map +1 -0
  609. package/out/api/parameters/getContentProperty.js +1 -0
  610. package/out/api/parameters/getContentProperty.js.map +1 -0
  611. package/out/api/parameters/getContentRestrictionStatusForGroup.js +1 -0
  612. package/out/api/parameters/getContentRestrictionStatusForGroup.js.map +1 -0
  613. package/out/api/parameters/getContentRestrictionStatusForUser.js +1 -0
  614. package/out/api/parameters/getContentRestrictionStatusForUser.js.map +1 -0
  615. package/out/api/parameters/getContentState.d.ts +6 -0
  616. package/out/api/parameters/getContentState.js +3 -0
  617. package/out/api/parameters/getContentState.js.map +1 -0
  618. package/out/api/parameters/getContentStateLastUpdated.d.ts +4 -0
  619. package/out/api/parameters/getContentStateLastUpdated.js +3 -0
  620. package/out/api/parameters/getContentStateLastUpdated.js.map +1 -0
  621. package/out/api/parameters/getContentStateSettings.d.ts +4 -0
  622. package/out/api/parameters/getContentStateSettings.js +3 -0
  623. package/out/api/parameters/getContentStateSettings.js.map +1 -0
  624. package/out/api/parameters/getContentTemplate.js +1 -0
  625. package/out/api/parameters/getContentTemplate.js.map +1 -0
  626. package/out/api/parameters/getContentTemplates.js +1 -0
  627. package/out/api/parameters/getContentTemplates.js.map +1 -0
  628. package/out/api/parameters/getContentVersion.js +1 -0
  629. package/out/api/parameters/getContentVersion.js.map +1 -0
  630. package/out/api/parameters/getContentVersions.js +1 -0
  631. package/out/api/parameters/getContentVersions.js.map +1 -0
  632. package/out/api/parameters/getContentWatchStatus.js +1 -0
  633. package/out/api/parameters/getContentWatchStatus.js.map +1 -0
  634. package/out/api/parameters/getCurrentUser.js +1 -0
  635. package/out/api/parameters/getCurrentUser.js.map +1 -0
  636. package/out/api/parameters/getDescendantsOfType.js +1 -0
  637. package/out/api/parameters/getDescendantsOfType.js.map +1 -0
  638. package/out/api/parameters/getGroup.js +1 -0
  639. package/out/api/parameters/getGroup.js.map +1 -0
  640. package/out/api/parameters/getGroupByGroupId.js +1 -0
  641. package/out/api/parameters/getGroupByGroupId.js.map +1 -0
  642. package/out/api/parameters/getGroupByName.js +1 -0
  643. package/out/api/parameters/getGroupByName.js.map +1 -0
  644. package/out/api/parameters/getGroupByQueryParam.js +1 -0
  645. package/out/api/parameters/getGroupByQueryParam.js.map +1 -0
  646. package/out/api/parameters/getGroupMembers.js +1 -0
  647. package/out/api/parameters/getGroupMembers.js.map +1 -0
  648. package/out/api/parameters/getGroupMembersByGroupId.d.ts +5 -0
  649. package/out/api/parameters/getGroupMembersByGroupId.js +1 -0
  650. package/out/api/parameters/getGroupMembersByGroupId.js.map +1 -0
  651. package/out/api/parameters/getGroupMembershipsForUser.js +1 -0
  652. package/out/api/parameters/getGroupMembershipsForUser.js.map +1 -0
  653. package/out/api/parameters/getGroups.js +1 -0
  654. package/out/api/parameters/getGroups.js.map +1 -0
  655. package/out/api/parameters/getGroupsSearch.js +1 -0
  656. package/out/api/parameters/getGroupsSearch.js.map +1 -0
  657. package/out/api/parameters/getHistoryForContent.js +1 -0
  658. package/out/api/parameters/getHistoryForContent.js.map +1 -0
  659. package/out/api/parameters/getIndividualGroupRestrictionStatusByGroupId.js +1 -0
  660. package/out/api/parameters/getIndividualGroupRestrictionStatusByGroupId.js.map +1 -0
  661. package/out/api/parameters/getLabelsForContent.js +1 -0
  662. package/out/api/parameters/getLabelsForContent.js.map +1 -0
  663. package/out/api/parameters/getLabelsForSpace.js +1 -0
  664. package/out/api/parameters/getLabelsForSpace.js.map +1 -0
  665. package/out/api/parameters/getLookAndFeelSettings.js +1 -0
  666. package/out/api/parameters/getLookAndFeelSettings.js.map +1 -0
  667. package/out/api/parameters/getMacroBodyByMacroId.js +1 -0
  668. package/out/api/parameters/getMacroBodyByMacroId.js.map +1 -0
  669. package/out/api/parameters/getMembersByQueryParam.d.ts +5 -0
  670. package/out/api/parameters/getMembersByQueryParam.js +1 -0
  671. package/out/api/parameters/getMembersByQueryParam.js.map +1 -0
  672. package/out/api/parameters/getPrivacyUnsafeUserEmail.js +1 -0
  673. package/out/api/parameters/getPrivacyUnsafeUserEmail.js.map +1 -0
  674. package/out/api/parameters/getPrivacyUnsafeUserEmailBulk.js +1 -0
  675. package/out/api/parameters/getPrivacyUnsafeUserEmailBulk.js.map +1 -0
  676. package/out/api/parameters/getRelationship.js +1 -0
  677. package/out/api/parameters/getRelationship.js.map +1 -0
  678. package/out/api/parameters/getRestrictions.js +1 -0
  679. package/out/api/parameters/getRestrictions.js.map +1 -0
  680. package/out/api/parameters/getRestrictionsByOperation.js +1 -0
  681. package/out/api/parameters/getRestrictionsByOperation.js.map +1 -0
  682. package/out/api/parameters/getRestrictionsForOperation.js +1 -0
  683. package/out/api/parameters/getRestrictionsForOperation.js.map +1 -0
  684. package/out/api/parameters/getSpace.js +1 -0
  685. package/out/api/parameters/getSpace.js.map +1 -0
  686. package/out/api/parameters/getSpaceProperties.js +1 -0
  687. package/out/api/parameters/getSpaceProperties.js.map +1 -0
  688. package/out/api/parameters/getSpaceProperty.js +1 -0
  689. package/out/api/parameters/getSpaceProperty.js.map +1 -0
  690. package/out/api/parameters/getSpaceSettings.js +1 -0
  691. package/out/api/parameters/getSpaceSettings.js.map +1 -0
  692. package/out/api/parameters/getSpaceTheme.js +1 -0
  693. package/out/api/parameters/getSpaceTheme.js.map +1 -0
  694. package/out/api/parameters/getSpaces.d.ts +1 -1
  695. package/out/api/parameters/getSpaces.js +1 -0
  696. package/out/api/parameters/getSpaces.js.map +1 -0
  697. package/out/api/parameters/getTask.js +1 -0
  698. package/out/api/parameters/getTask.js.map +1 -0
  699. package/out/api/parameters/getTaskById.js +1 -0
  700. package/out/api/parameters/getTaskById.js.map +1 -0
  701. package/out/api/parameters/getTasks.js +1 -0
  702. package/out/api/parameters/getTasks.js.map +1 -0
  703. package/out/api/parameters/getTheme.js +1 -0
  704. package/out/api/parameters/getTheme.js.map +1 -0
  705. package/out/api/parameters/getThemes.js +1 -0
  706. package/out/api/parameters/getThemes.js.map +1 -0
  707. package/out/api/parameters/getUser.js +1 -0
  708. package/out/api/parameters/getUser.js.map +1 -0
  709. package/out/api/parameters/getUserProperties.d.ts +8 -0
  710. package/out/api/parameters/getUserProperties.js +3 -0
  711. package/out/api/parameters/getUserProperties.js.map +1 -0
  712. package/out/api/parameters/getUserProperty.d.ts +6 -0
  713. package/out/api/parameters/getUserProperty.js +3 -0
  714. package/out/api/parameters/getUserProperty.js.map +1 -0
  715. package/out/api/parameters/getViewers.js +1 -0
  716. package/out/api/parameters/getViewers.js.map +1 -0
  717. package/out/api/parameters/getViews.js +1 -0
  718. package/out/api/parameters/getViews.js.map +1 -0
  719. package/out/api/parameters/getWatchersForSpace.js +1 -0
  720. package/out/api/parameters/getWatchersForSpace.js.map +1 -0
  721. package/out/api/parameters/getWatchesForPage.js +1 -0
  722. package/out/api/parameters/getWatchesForPage.js.map +1 -0
  723. package/out/api/parameters/getWatchesForSpace.js +1 -0
  724. package/out/api/parameters/getWatchesForSpace.js.map +1 -0
  725. package/out/api/parameters/index.d.ts +12 -0
  726. package/out/api/parameters/index.js +171 -158
  727. package/out/api/parameters/index.js.map +1 -0
  728. package/out/api/parameters/isWatchingLabel.js +1 -0
  729. package/out/api/parameters/isWatchingLabel.js.map +1 -0
  730. package/out/api/parameters/isWatchingSpace.js +1 -0
  731. package/out/api/parameters/isWatchingSpace.js.map +1 -0
  732. package/out/api/parameters/movePage.js +1 -0
  733. package/out/api/parameters/movePage.js.map +1 -0
  734. package/out/api/parameters/permissionCheck.js +1 -0
  735. package/out/api/parameters/permissionCheck.js.map +1 -0
  736. package/out/api/parameters/publishLegacyDraft.js +1 -0
  737. package/out/api/parameters/publishLegacyDraft.js.map +1 -0
  738. package/out/api/parameters/publishSharedDraft.js +1 -0
  739. package/out/api/parameters/publishSharedDraft.js.map +1 -0
  740. package/out/api/parameters/registerModules.js +1 -0
  741. package/out/api/parameters/registerModules.js.map +1 -0
  742. package/out/api/parameters/removeContentState.d.ts +4 -0
  743. package/out/api/parameters/removeContentState.js +3 -0
  744. package/out/api/parameters/removeContentState.js.map +1 -0
  745. package/out/api/parameters/removeContentWatcher.js +1 -0
  746. package/out/api/parameters/removeContentWatcher.js.map +1 -0
  747. package/out/api/parameters/removeGroup.js +1 -0
  748. package/out/api/parameters/removeGroup.js.map +1 -0
  749. package/out/api/parameters/removeGroupById.js +1 -0
  750. package/out/api/parameters/removeGroupById.js.map +1 -0
  751. package/out/api/parameters/removeGroupByName.js +1 -0
  752. package/out/api/parameters/removeGroupByName.js.map +1 -0
  753. package/out/api/parameters/removeLabelFromContent.js +1 -0
  754. package/out/api/parameters/removeLabelFromContent.js.map +1 -0
  755. package/out/api/parameters/removeLabelFromContentUsingQueryParameter.js +1 -0
  756. package/out/api/parameters/removeLabelFromContentUsingQueryParameter.js.map +1 -0
  757. package/out/api/parameters/removeLabelWatcher.js +1 -0
  758. package/out/api/parameters/removeLabelWatcher.js.map +1 -0
  759. package/out/api/parameters/removeMemberFromGroup.js +1 -0
  760. package/out/api/parameters/removeMemberFromGroup.js.map +1 -0
  761. package/out/api/parameters/removeMemberFromGroupByGroupId.js +1 -0
  762. package/out/api/parameters/removeMemberFromGroupByGroupId.js.map +1 -0
  763. package/out/api/parameters/removeModules.js +1 -0
  764. package/out/api/parameters/removeModules.js.map +1 -0
  765. package/out/api/parameters/removePermission.js +1 -0
  766. package/out/api/parameters/removePermission.js.map +1 -0
  767. package/out/api/parameters/removeSpaceWatch.js +1 -0
  768. package/out/api/parameters/removeSpaceWatch.js.map +1 -0
  769. package/out/api/parameters/removeTemplate.js +1 -0
  770. package/out/api/parameters/removeTemplate.js.map +1 -0
  771. package/out/api/parameters/removeUserFromContentRestriction.js +1 -0
  772. package/out/api/parameters/removeUserFromContentRestriction.js.map +1 -0
  773. package/out/api/parameters/resetLookAndFeelSettings.js +1 -0
  774. package/out/api/parameters/resetLookAndFeelSettings.js.map +1 -0
  775. package/out/api/parameters/resetSpaceTheme.js +1 -0
  776. package/out/api/parameters/resetSpaceTheme.js.map +1 -0
  777. package/out/api/parameters/restoreContentVersion.js +1 -0
  778. package/out/api/parameters/restoreContentVersion.js.map +1 -0
  779. package/out/api/parameters/search.js +1 -0
  780. package/out/api/parameters/search.js.map +1 -0
  781. package/out/api/parameters/searchByCQL.js +1 -0
  782. package/out/api/parameters/searchByCQL.js.map +1 -0
  783. package/out/api/parameters/searchContentByCQL.js +1 -0
  784. package/out/api/parameters/searchContentByCQL.js.map +1 -0
  785. package/out/api/parameters/searchGroups.d.ts +5 -0
  786. package/out/api/parameters/searchGroups.js +1 -0
  787. package/out/api/parameters/searchGroups.js.map +1 -0
  788. package/out/api/parameters/searchTasks.js +1 -0
  789. package/out/api/parameters/searchTasks.js.map +1 -0
  790. package/out/api/parameters/searchUser.js +1 -0
  791. package/out/api/parameters/searchUser.js.map +1 -0
  792. package/out/api/parameters/setContentState.d.ts +8 -0
  793. package/out/api/parameters/setContentState.js +3 -0
  794. package/out/api/parameters/setContentState.js.map +1 -0
  795. package/out/api/parameters/setLookAndFeelSettings.js +1 -0
  796. package/out/api/parameters/setLookAndFeelSettings.js.map +1 -0
  797. package/out/api/parameters/setRetentionPeriod.js +1 -0
  798. package/out/api/parameters/setRetentionPeriod.js.map +1 -0
  799. package/out/api/parameters/setSpaceTheme.js +1 -0
  800. package/out/api/parameters/setSpaceTheme.js.map +1 -0
  801. package/out/api/parameters/updateAttachmentData.d.ts +4 -2
  802. package/out/api/parameters/updateAttachmentData.js +1 -0
  803. package/out/api/parameters/updateAttachmentData.js.map +1 -0
  804. package/out/api/parameters/updateAttachmentProperties.d.ts +45 -2
  805. package/out/api/parameters/updateAttachmentProperties.js +1 -0
  806. package/out/api/parameters/updateAttachmentProperties.js.map +1 -0
  807. package/out/api/parameters/updateContent.js +1 -0
  808. package/out/api/parameters/updateContent.js.map +1 -0
  809. package/out/api/parameters/updateContentProperty.js +1 -0
  810. package/out/api/parameters/updateContentProperty.js.map +1 -0
  811. package/out/api/parameters/updateContentTemplate.js +1 -0
  812. package/out/api/parameters/updateContentTemplate.js.map +1 -0
  813. package/out/api/parameters/updateLookAndFeel.js +1 -0
  814. package/out/api/parameters/updateLookAndFeel.js.map +1 -0
  815. package/out/api/parameters/updateLookAndFeelSettings.js +1 -0
  816. package/out/api/parameters/updateLookAndFeelSettings.js.map +1 -0
  817. package/out/api/parameters/updateRestrictions.js +1 -0
  818. package/out/api/parameters/updateRestrictions.js.map +1 -0
  819. package/out/api/parameters/updateSpace.js +1 -0
  820. package/out/api/parameters/updateSpace.js.map +1 -0
  821. package/out/api/parameters/updateSpaceProperty.js +1 -0
  822. package/out/api/parameters/updateSpaceProperty.js.map +1 -0
  823. package/out/api/parameters/updateSpaceSettings.js +1 -0
  824. package/out/api/parameters/updateSpaceSettings.js.map +1 -0
  825. package/out/api/parameters/updateTaskById.js +1 -0
  826. package/out/api/parameters/updateTaskById.js.map +1 -0
  827. package/out/api/parameters/updateUserProperty.d.ts +10 -0
  828. package/out/api/parameters/updateUserProperty.js +3 -0
  829. package/out/api/parameters/updateUserProperty.js.map +1 -0
  830. package/out/api/parameters/userSearch.js +1 -0
  831. package/out/api/parameters/userSearch.js.map +1 -0
  832. package/out/api/relation.d.ts +1 -1
  833. package/out/api/relation.js +8 -7
  834. package/out/api/relation.js.map +1 -0
  835. package/out/api/search.d.ts +1 -1
  836. package/out/api/search.js +5 -4
  837. package/out/api/search.js.map +1 -0
  838. package/out/api/settings.d.ts +5 -1
  839. package/out/api/settings.js +16 -6
  840. package/out/api/settings.js.map +1 -0
  841. package/out/api/space.d.ts +1 -1
  842. package/out/api/space.js +14 -9
  843. package/out/api/space.js.map +1 -0
  844. package/out/api/spacePermissions.d.ts +1 -1
  845. package/out/api/spacePermissions.js +5 -4
  846. package/out/api/spacePermissions.js.map +1 -0
  847. package/out/api/spaceProperties.d.ts +1 -1
  848. package/out/api/spaceProperties.js +7 -6
  849. package/out/api/spaceProperties.js.map +1 -0
  850. package/out/api/spaceSettings.d.ts +1 -1
  851. package/out/api/spaceSettings.js +3 -2
  852. package/out/api/spaceSettings.js.map +1 -0
  853. package/out/api/template.d.ts +1 -1
  854. package/out/api/template.js +7 -6
  855. package/out/api/template.js.map +1 -0
  856. package/out/api/themes.d.ts +1 -1
  857. package/out/api/themes.js +7 -6
  858. package/out/api/themes.js.map +1 -0
  859. package/out/api/users.d.ts +3 -3
  860. package/out/api/users.js +9 -8
  861. package/out/api/users.js.map +1 -0
  862. package/out/callback.js +1 -0
  863. package/out/callback.js.map +1 -0
  864. package/out/clients/baseClient.d.ts +1 -1
  865. package/out/clients/baseClient.js +10 -8
  866. package/out/clients/baseClient.js.map +1 -0
  867. package/out/clients/client.js +1 -0
  868. package/out/clients/client.js.map +1 -0
  869. package/out/clients/confluenceClient.d.ts +3 -1
  870. package/out/clients/confluenceClient.js +3 -0
  871. package/out/clients/confluenceClient.js.map +1 -0
  872. package/out/clients/index.js +5 -4
  873. package/out/clients/index.js.map +1 -0
  874. package/out/clients/serverClient.js +1 -0
  875. package/out/clients/serverClient.js.map +1 -0
  876. package/out/config.d.ts +7 -2
  877. package/out/config.js +1 -0
  878. package/out/config.js.map +1 -0
  879. package/out/index.d.ts +4 -0
  880. package/out/index.js +10 -5
  881. package/out/index.js.map +1 -0
  882. package/out/pagination.js +1 -0
  883. package/out/pagination.js.map +1 -0
  884. package/out/paramSerializer.d.ts +1 -0
  885. package/out/paramSerializer.js +17 -0
  886. package/out/paramSerializer.js.map +1 -0
  887. package/out/requestConfig.js +1 -0
  888. package/out/requestConfig.js.map +1 -0
  889. package/out/server/audit.d.ts +1 -1
  890. package/out/server/audit.js +7 -6
  891. package/out/server/audit.js.map +1 -0
  892. package/out/server/content.d.ts +1 -1
  893. package/out/server/content.js +33 -32
  894. package/out/server/content.js.map +1 -0
  895. package/out/server/contentBody.d.ts +1 -1
  896. package/out/server/contentBody.js +2 -1
  897. package/out/server/contentBody.js.map +1 -0
  898. package/out/server/group.d.ts +1 -1
  899. package/out/server/group.js +4 -3
  900. package/out/server/group.js.map +1 -0
  901. package/out/server/index.js +9 -8
  902. package/out/server/index.js.map +1 -0
  903. package/out/server/longTask.d.ts +1 -1
  904. package/out/server/longTask.js +3 -2
  905. package/out/server/longTask.js.map +1 -0
  906. package/out/server/models/affectedObject.js +1 -0
  907. package/out/server/models/affectedObject.js.map +1 -0
  908. package/out/server/models/attachmentUpdate.js +1 -0
  909. package/out/server/models/attachmentUpdate.js.map +1 -0
  910. package/out/server/models/auditRecord.js +1 -0
  911. package/out/server/models/auditRecord.js.map +1 -0
  912. package/out/server/models/breadcrumb.js +1 -0
  913. package/out/server/models/breadcrumb.js.map +1 -0
  914. package/out/server/models/buttonLookAndFeel.js +1 -0
  915. package/out/server/models/buttonLookAndFeel.js.map +1 -0
  916. package/out/server/models/changedValue.js +1 -0
  917. package/out/server/models/changedValue.js.map +1 -0
  918. package/out/server/models/container.js +1 -0
  919. package/out/server/models/container.js.map +1 -0
  920. package/out/server/models/containerLookAndFeel.js +1 -0
  921. package/out/server/models/containerLookAndFeel.js.map +1 -0
  922. package/out/server/models/containerSummary.js +1 -0
  923. package/out/server/models/containerSummary.js.map +1 -0
  924. package/out/server/models/content.d.ts +6 -6
  925. package/out/server/models/content.js +1 -0
  926. package/out/server/models/content.js.map +1 -0
  927. package/out/server/models/contentBody.js +1 -0
  928. package/out/server/models/contentBody.js.map +1 -0
  929. package/out/server/models/contentChildType.js +1 -0
  930. package/out/server/models/contentChildType.js.map +1 -0
  931. package/out/server/models/contentChildren.d.ts +1 -1
  932. package/out/server/models/contentChildren.js +1 -0
  933. package/out/server/models/contentChildren.js.map +1 -0
  934. package/out/server/models/contentHistory.d.ts +2 -2
  935. package/out/server/models/contentHistory.js +1 -0
  936. package/out/server/models/contentHistory.js.map +1 -0
  937. package/out/server/models/contentLookAndFeel.d.ts +1 -1
  938. package/out/server/models/contentLookAndFeel.js +1 -0
  939. package/out/server/models/contentLookAndFeel.js.map +1 -0
  940. package/out/server/models/contentProperty.js +1 -0
  941. package/out/server/models/contentProperty.js.map +1 -0
  942. package/out/server/models/contentRestriction.d.ts +2 -2
  943. package/out/server/models/contentRestriction.js +1 -0
  944. package/out/server/models/contentRestriction.js.map +1 -0
  945. package/out/server/models/deletedSpace.js +1 -0
  946. package/out/server/models/deletedSpace.js.map +1 -0
  947. package/out/server/models/embeddable.js +1 -0
  948. package/out/server/models/embeddable.js.map +1 -0
  949. package/out/server/models/embeddedContent.js +1 -0
  950. package/out/server/models/embeddedContent.js.map +1 -0
  951. package/out/server/models/group.js +1 -0
  952. package/out/server/models/group.js.map +1 -0
  953. package/out/server/models/groupArray.js +1 -0
  954. package/out/server/models/groupArray.js.map +1 -0
  955. package/out/server/models/headerLookAndFeel.js +1 -0
  956. package/out/server/models/headerLookAndFeel.js.map +1 -0
  957. package/out/server/models/icon.js +1 -0
  958. package/out/server/models/icon.js.map +1 -0
  959. package/out/server/models/index.js +61 -60
  960. package/out/server/models/index.js.map +1 -0
  961. package/out/server/models/label.js +1 -0
  962. package/out/server/models/label.js.map +1 -0
  963. package/out/server/models/labelArray.js +1 -0
  964. package/out/server/models/labelArray.js.map +1 -0
  965. package/out/server/models/labelCreate.js +1 -0
  966. package/out/server/models/labelCreate.js.map +1 -0
  967. package/out/server/models/longTaskStatus.js +1 -0
  968. package/out/server/models/longTaskStatus.js.map +1 -0
  969. package/out/server/models/lookAndFeel.d.ts +2 -2
  970. package/out/server/models/lookAndFeel.js +1 -0
  971. package/out/server/models/lookAndFeel.js.map +1 -0
  972. package/out/server/models/lookAndFeelSelection.js +1 -0
  973. package/out/server/models/lookAndFeelSelection.js.map +1 -0
  974. package/out/server/models/lookAndFeelSettings.js +1 -0
  975. package/out/server/models/lookAndFeelSettings.js.map +1 -0
  976. package/out/server/models/lookAndFeelUpdated.js +1 -0
  977. package/out/server/models/lookAndFeelUpdated.js.map +1 -0
  978. package/out/server/models/macroInstance.js +1 -0
  979. package/out/server/models/macroInstance.js.map +1 -0
  980. package/out/server/models/menusLookAndFeel.js +1 -0
  981. package/out/server/models/menusLookAndFeel.js.map +1 -0
  982. package/out/server/models/message.js +1 -0
  983. package/out/server/models/message.js.map +1 -0
  984. package/out/server/models/navigationLookAndFeel.js +1 -0
  985. package/out/server/models/navigationLookAndFeel.js.map +1 -0
  986. package/out/server/models/operationCheckResult.js +1 -0
  987. package/out/server/models/operationCheckResult.js.map +1 -0
  988. package/out/server/models/propertyValue.js +1 -0
  989. package/out/server/models/propertyValue.js.map +1 -0
  990. package/out/server/models/restrictionsByOperation.js +1 -0
  991. package/out/server/models/restrictionsByOperation.js.map +1 -0
  992. package/out/server/models/retentionPeriod.js +1 -0
  993. package/out/server/models/retentionPeriod.js.map +1 -0
  994. package/out/server/models/screenLookAndFeel.js +1 -0
  995. package/out/server/models/screenLookAndFeel.js.map +1 -0
  996. package/out/server/models/searchFieldLookAndFeel.js +1 -0
  997. package/out/server/models/searchFieldLookAndFeel.js.map +1 -0
  998. package/out/server/models/searchResult.d.ts +2 -2
  999. package/out/server/models/searchResult.js +1 -0
  1000. package/out/server/models/searchResult.js.map +1 -0
  1001. package/out/server/models/space.d.ts +3 -3
  1002. package/out/server/models/space.js +1 -0
  1003. package/out/server/models/space.js.map +1 -0
  1004. package/out/server/models/spaceDescription.js +1 -0
  1005. package/out/server/models/spaceDescription.js.map +1 -0
  1006. package/out/server/models/spaceDescriptionCreate.js +1 -0
  1007. package/out/server/models/spaceDescriptionCreate.js.map +1 -0
  1008. package/out/server/models/spacePermission.d.ts +1 -1
  1009. package/out/server/models/spacePermission.js +1 -0
  1010. package/out/server/models/spacePermission.js.map +1 -0
  1011. package/out/server/models/spaceProperty.js +1 -0
  1012. package/out/server/models/spaceProperty.js.map +1 -0
  1013. package/out/server/models/spaceSettings.js +1 -0
  1014. package/out/server/models/spaceSettings.js.map +1 -0
  1015. package/out/server/models/superBatchWebResources.js +1 -0
  1016. package/out/server/models/superBatchWebResources.js.map +1 -0
  1017. package/out/server/models/theme.js +1 -0
  1018. package/out/server/models/theme.js.map +1 -0
  1019. package/out/server/models/themeNoLinks.js +1 -0
  1020. package/out/server/models/themeNoLinks.js.map +1 -0
  1021. package/out/server/models/user.d.ts +1 -1
  1022. package/out/server/models/user.js +1 -0
  1023. package/out/server/models/user.js.map +1 -0
  1024. package/out/server/models/userAnonymous.js +1 -0
  1025. package/out/server/models/userAnonymous.js.map +1 -0
  1026. package/out/server/models/userArray.js +1 -0
  1027. package/out/server/models/userArray.js.map +1 -0
  1028. package/out/server/models/userDetails.js +1 -0
  1029. package/out/server/models/userDetails.js.map +1 -0
  1030. package/out/server/models/userWatch.js +1 -0
  1031. package/out/server/models/userWatch.js.map +1 -0
  1032. package/out/server/models/usersUserKeys.js +1 -0
  1033. package/out/server/models/usersUserKeys.js.map +1 -0
  1034. package/out/server/models/version.d.ts +1 -1
  1035. package/out/server/models/version.js +1 -0
  1036. package/out/server/models/version.js.map +1 -0
  1037. package/out/server/models/webResourceDependencies.js +1 -0
  1038. package/out/server/models/webResourceDependencies.js.map +1 -0
  1039. package/out/server/parameters/addContentWatcher.js +1 -0
  1040. package/out/server/parameters/addContentWatcher.js.map +1 -0
  1041. package/out/server/parameters/addLabelsToContent.js +1 -0
  1042. package/out/server/parameters/addLabelsToContent.js.map +1 -0
  1043. package/out/server/parameters/addSpaceWatch.js +1 -0
  1044. package/out/server/parameters/addSpaceWatch.js.map +1 -0
  1045. package/out/server/parameters/convertContentBody.js +1 -0
  1046. package/out/server/parameters/convertContentBody.js.map +1 -0
  1047. package/out/server/parameters/createAttachments.js +1 -0
  1048. package/out/server/parameters/createAttachments.js.map +1 -0
  1049. package/out/server/parameters/createAuditRecord.js +1 -0
  1050. package/out/server/parameters/createAuditRecord.js.map +1 -0
  1051. package/out/server/parameters/createContent.js +1 -0
  1052. package/out/server/parameters/createContent.js.map +1 -0
  1053. package/out/server/parameters/createContentProperty.js +1 -0
  1054. package/out/server/parameters/createContentProperty.js.map +1 -0
  1055. package/out/server/parameters/createContentPropertyForKey.js +1 -0
  1056. package/out/server/parameters/createContentPropertyForKey.js.map +1 -0
  1057. package/out/server/parameters/createPrivateSpace.js +1 -0
  1058. package/out/server/parameters/createPrivateSpace.js.map +1 -0
  1059. package/out/server/parameters/createSpace.js +1 -0
  1060. package/out/server/parameters/createSpace.js.map +1 -0
  1061. package/out/server/parameters/createSpaceProperty.js +1 -0
  1062. package/out/server/parameters/createSpaceProperty.js.map +1 -0
  1063. package/out/server/parameters/createSpacePropertyForKey.js +1 -0
  1064. package/out/server/parameters/createSpacePropertyForKey.js.map +1 -0
  1065. package/out/server/parameters/deleteContent.js +1 -0
  1066. package/out/server/parameters/deleteContent.js.map +1 -0
  1067. package/out/server/parameters/deleteContentProperty.js +1 -0
  1068. package/out/server/parameters/deleteContentProperty.js.map +1 -0
  1069. package/out/server/parameters/deleteLabel.js +1 -0
  1070. package/out/server/parameters/deleteLabel.js.map +1 -0
  1071. package/out/server/parameters/deleteLabelWithQueryParam.js +1 -0
  1072. package/out/server/parameters/deleteLabelWithQueryParam.js.map +1 -0
  1073. package/out/server/parameters/deleteSpace.js +1 -0
  1074. package/out/server/parameters/deleteSpace.js.map +1 -0
  1075. package/out/server/parameters/deleteSpaceProperty.js +1 -0
  1076. package/out/server/parameters/deleteSpaceProperty.js.map +1 -0
  1077. package/out/server/parameters/exportAuditRecords.js +1 -0
  1078. package/out/server/parameters/exportAuditRecords.js.map +1 -0
  1079. package/out/server/parameters/getAttachments.js +1 -0
  1080. package/out/server/parameters/getAttachments.js.map +1 -0
  1081. package/out/server/parameters/getAuditRecords.js +1 -0
  1082. package/out/server/parameters/getAuditRecords.js.map +1 -0
  1083. package/out/server/parameters/getAuditRecordsSince.js +1 -0
  1084. package/out/server/parameters/getAuditRecordsSince.js.map +1 -0
  1085. package/out/server/parameters/getContent.js +1 -0
  1086. package/out/server/parameters/getContent.js.map +1 -0
  1087. package/out/server/parameters/getContentById.js +1 -0
  1088. package/out/server/parameters/getContentById.js.map +1 -0
  1089. package/out/server/parameters/getContentByType.js +1 -0
  1090. package/out/server/parameters/getContentByType.js.map +1 -0
  1091. package/out/server/parameters/getContentChildren.js +1 -0
  1092. package/out/server/parameters/getContentChildren.js.map +1 -0
  1093. package/out/server/parameters/getContentChildrenByType.js +1 -0
  1094. package/out/server/parameters/getContentChildrenByType.js.map +1 -0
  1095. package/out/server/parameters/getContentComments.js +1 -0
  1096. package/out/server/parameters/getContentComments.js.map +1 -0
  1097. package/out/server/parameters/getContentDescendants.js +1 -0
  1098. package/out/server/parameters/getContentDescendants.js.map +1 -0
  1099. package/out/server/parameters/getContentDescendantsOfType.js +1 -0
  1100. package/out/server/parameters/getContentDescendantsOfType.js.map +1 -0
  1101. package/out/server/parameters/getContentForSpace.js +1 -0
  1102. package/out/server/parameters/getContentForSpace.js.map +1 -0
  1103. package/out/server/parameters/getContentLabels.js +1 -0
  1104. package/out/server/parameters/getContentLabels.js.map +1 -0
  1105. package/out/server/parameters/getContentProperties.js +1 -0
  1106. package/out/server/parameters/getContentProperties.js.map +1 -0
  1107. package/out/server/parameters/getContentProperty.js +1 -0
  1108. package/out/server/parameters/getContentProperty.js.map +1 -0
  1109. package/out/server/parameters/getContentWatchStatus.js +1 -0
  1110. package/out/server/parameters/getContentWatchStatus.js.map +1 -0
  1111. package/out/server/parameters/getCurrentUser.js +1 -0
  1112. package/out/server/parameters/getCurrentUser.js.map +1 -0
  1113. package/out/server/parameters/getGroup.js +1 -0
  1114. package/out/server/parameters/getGroup.js.map +1 -0
  1115. package/out/server/parameters/getGroups.js +1 -0
  1116. package/out/server/parameters/getGroups.js.map +1 -0
  1117. package/out/server/parameters/getHistory.js +1 -0
  1118. package/out/server/parameters/getHistory.js.map +1 -0
  1119. package/out/server/parameters/getMacroBodyByHash.js +1 -0
  1120. package/out/server/parameters/getMacroBodyByHash.js.map +1 -0
  1121. package/out/server/parameters/getMacroBodyByMacroId.js +1 -0
  1122. package/out/server/parameters/getMacroBodyByMacroId.js.map +1 -0
  1123. package/out/server/parameters/getMembers.js +1 -0
  1124. package/out/server/parameters/getMembers.js.map +1 -0
  1125. package/out/server/parameters/getRestrictionsByOperation.js +1 -0
  1126. package/out/server/parameters/getRestrictionsByOperation.js.map +1 -0
  1127. package/out/server/parameters/getRestrictionsForOperation.js +1 -0
  1128. package/out/server/parameters/getRestrictionsForOperation.js.map +1 -0
  1129. package/out/server/parameters/getSpace.js +1 -0
  1130. package/out/server/parameters/getSpace.js.map +1 -0
  1131. package/out/server/parameters/getSpaceProperties.js +1 -0
  1132. package/out/server/parameters/getSpaceProperties.js.map +1 -0
  1133. package/out/server/parameters/getSpaceProperty.js +1 -0
  1134. package/out/server/parameters/getSpaceProperty.js.map +1 -0
  1135. package/out/server/parameters/getSpaces.js +1 -0
  1136. package/out/server/parameters/getSpaces.js.map +1 -0
  1137. package/out/server/parameters/getTask.js +1 -0
  1138. package/out/server/parameters/getTask.js.map +1 -0
  1139. package/out/server/parameters/getTasks.js +1 -0
  1140. package/out/server/parameters/getTasks.js.map +1 -0
  1141. package/out/server/parameters/getUser.js +1 -0
  1142. package/out/server/parameters/getUser.js.map +1 -0
  1143. package/out/server/parameters/index.js +65 -64
  1144. package/out/server/parameters/index.js.map +1 -0
  1145. package/out/server/parameters/isWatchingSpace.js +1 -0
  1146. package/out/server/parameters/isWatchingSpace.js.map +1 -0
  1147. package/out/server/parameters/publishLegacyDraft.js +1 -0
  1148. package/out/server/parameters/publishLegacyDraft.js.map +1 -0
  1149. package/out/server/parameters/publishSharedDraft.js +1 -0
  1150. package/out/server/parameters/publishSharedDraft.js.map +1 -0
  1151. package/out/server/parameters/removeContentWatcher.js +1 -0
  1152. package/out/server/parameters/removeContentWatcher.js.map +1 -0
  1153. package/out/server/parameters/removeSpaceWatch.js +1 -0
  1154. package/out/server/parameters/removeSpaceWatch.js.map +1 -0
  1155. package/out/server/parameters/searchContent.js +1 -0
  1156. package/out/server/parameters/searchContent.js.map +1 -0
  1157. package/out/server/parameters/updateAttachmentData.js +1 -0
  1158. package/out/server/parameters/updateAttachmentData.js.map +1 -0
  1159. package/out/server/parameters/updateAttachmentProperties.js +1 -0
  1160. package/out/server/parameters/updateAttachmentProperties.js.map +1 -0
  1161. package/out/server/parameters/updateContent.js +1 -0
  1162. package/out/server/parameters/updateContent.js.map +1 -0
  1163. package/out/server/parameters/updateContentProperty.js +1 -0
  1164. package/out/server/parameters/updateContentProperty.js.map +1 -0
  1165. package/out/server/parameters/updateSpace.js +1 -0
  1166. package/out/server/parameters/updateSpace.js.map +1 -0
  1167. package/out/server/parameters/updateSpaceProperty.js +1 -0
  1168. package/out/server/parameters/updateSpaceProperty.js.map +1 -0
  1169. package/out/server/search.d.ts +1 -1
  1170. package/out/server/search.js +2 -1
  1171. package/out/server/search.js.map +1 -0
  1172. package/out/server/space.d.ts +1 -1
  1173. package/out/server/space.js +15 -14
  1174. package/out/server/space.js.map +1 -0
  1175. package/out/server/user.d.ts +1 -1
  1176. package/out/server/user.js +11 -10
  1177. package/out/server/user.js.map +1 -0
  1178. package/out/services/authenticationService/authenticationService.js +5 -1
  1179. package/out/services/authenticationService/authenticationService.js.map +1 -0
  1180. package/out/services/authenticationService/authentications/createBasicAuthenticationToken.js +1 -0
  1181. package/out/services/authenticationService/authentications/createBasicAuthenticationToken.js.map +1 -0
  1182. package/out/services/authenticationService/authentications/createJWTAuthentication.js +1 -0
  1183. package/out/services/authenticationService/authentications/createJWTAuthentication.js.map +1 -0
  1184. package/out/services/authenticationService/authentications/createOAuth2AuthenticationToken.js +1 -0
  1185. package/out/services/authenticationService/authentications/createOAuth2AuthenticationToken.js.map +1 -0
  1186. package/out/services/authenticationService/authentications/createPATAuthenticationToken.d.ts +2 -0
  1187. package/out/services/authenticationService/authentications/createPATAuthenticationToken.js +11 -0
  1188. package/out/services/authenticationService/authentications/createPATAuthenticationToken.js.map +1 -0
  1189. package/out/services/authenticationService/authentications/index.d.ts +1 -0
  1190. package/out/services/authenticationService/authentications/index.js +5 -3
  1191. package/out/services/authenticationService/authentications/index.js.map +1 -0
  1192. package/out/services/authenticationService/base64Encoder.js +1 -0
  1193. package/out/services/authenticationService/base64Encoder.js.map +1 -0
  1194. package/out/services/authenticationService/index.js +2 -1
  1195. package/out/services/authenticationService/index.js.map +1 -0
  1196. package/out/utilityTypes.d.ts +1 -2
  1197. package/out/utilityTypes.js +1 -0
  1198. package/out/utilityTypes.js.map +1 -0
  1199. package/package.json +37 -28
  1200. package/src/api/analytics.ts +44 -0
  1201. package/src/api/audit.ts +1 -1
  1202. package/src/api/content.ts +6 -6
  1203. package/src/api/contentAttachments.ts +86 -198
  1204. package/src/api/contentBody.ts +1 -1
  1205. package/src/api/contentChildrenAndDescendants.ts +8 -4
  1206. package/src/api/contentComments.ts +1 -1
  1207. package/src/api/contentContentState.ts +157 -0
  1208. package/src/api/contentLabels.ts +1 -1
  1209. package/src/api/contentMacroBody.ts +1 -1
  1210. package/src/api/contentPermissions.ts +1 -1
  1211. package/src/api/contentProperties.ts +1 -1
  1212. package/src/api/contentRestrictions.ts +1 -1
  1213. package/src/api/contentVersions.ts +1 -1
  1214. package/src/api/contentWatches.ts +1 -1
  1215. package/src/api/dynamicModules.ts +1 -1
  1216. package/src/api/experimental.ts +211 -8
  1217. package/src/api/group.ts +4 -1
  1218. package/src/api/index.ts +2 -0
  1219. package/src/api/inlineTasks.ts +1 -1
  1220. package/src/api/labelInfo.ts +1 -1
  1221. package/src/api/longRunningTask.ts +1 -1
  1222. package/src/api/models/attachment.ts +31 -0
  1223. package/src/api/models/attachmentContainer.ts +28 -0
  1224. package/src/api/models/attachmentMetadata.ts +21 -0
  1225. package/src/api/models/attachmentUpdate.ts +1 -0
  1226. package/src/api/models/availableContentStates.ts +7 -0
  1227. package/src/api/models/blueprintTemplate.ts +1 -1
  1228. package/src/api/models/bulkUserLookup.ts +2 -2
  1229. package/src/api/models/content.ts +6 -6
  1230. package/src/api/models/contentArray.ts +4 -4
  1231. package/src/api/models/contentHistory.ts +2 -2
  1232. package/src/api/models/contentLookAndFeel.ts +1 -1
  1233. package/src/api/models/contentMetadata.ts +1 -1
  1234. package/src/api/models/contentRestriction.ts +2 -2
  1235. package/src/api/models/contentState.ts +8 -0
  1236. package/src/api/models/contentStateContainer.ts +6 -0
  1237. package/src/api/models/contentStateSettings.ts +12 -0
  1238. package/src/api/models/contentTemplate.ts +1 -1
  1239. package/src/api/models/copyPageHierarchyRequest.ts +2 -0
  1240. package/src/api/models/copyPageRequest.ts +1 -1
  1241. package/src/api/models/createdAttachment.ts +8 -0
  1242. package/src/api/models/genericLinks.ts +12 -1
  1243. package/src/api/models/horizontalHeaderLookAndFeel.ts +1 -1
  1244. package/src/api/models/index.ts +15 -0
  1245. package/src/api/models/labelArray.ts +1 -1
  1246. package/src/api/models/longTask.ts +8 -0
  1247. package/src/api/models/longTaskStatusArray.ts +1 -1
  1248. package/src/api/models/lookAndFeel.ts +2 -2
  1249. package/src/api/models/migratedUserArray.ts +1 -1
  1250. package/src/api/models/relation.ts +1 -1
  1251. package/src/api/models/relationArray.ts +1 -1
  1252. package/src/api/models/searchPageResponseSearchResult.ts +1 -1
  1253. package/src/api/models/searchResult.ts +2 -2
  1254. package/src/api/models/space.ts +4 -4
  1255. package/src/api/models/spaceArray.ts +1 -1
  1256. package/src/api/models/spacePermission.ts +1 -1
  1257. package/src/api/models/spacePermissionCreate.ts +1 -1
  1258. package/src/api/models/spacePermissionRequest.ts +1 -1
  1259. package/src/api/models/spacePermissionV2.ts +1 -1
  1260. package/src/api/models/spacePropertyArray.ts +1 -1
  1261. package/src/api/models/spaceWatchArray.ts +1 -1
  1262. package/src/api/models/themeArray.ts +1 -1
  1263. package/src/api/models/user.ts +2 -2
  1264. package/src/api/models/userAnonymous.ts +1 -1
  1265. package/src/api/models/userProperty.ts +14 -0
  1266. package/src/api/models/userPropertyCreate.ts +4 -0
  1267. package/src/api/models/userPropertyKeyArray.ts +11 -0
  1268. package/src/api/models/userPropertyUpdate.ts +4 -0
  1269. package/src/api/models/usersUserKeys.ts +1 -1
  1270. package/src/api/models/version.ts +2 -2
  1271. package/src/api/models/versionArray.ts +1 -1
  1272. package/src/api/models/watchArray.ts +1 -1
  1273. package/src/api/parameters/createAttachments.ts +12 -2
  1274. package/src/api/parameters/createOrUpdateAttachments.ts +5 -2
  1275. package/src/api/parameters/createUserProperty.ts +11 -0
  1276. package/src/api/parameters/deletePageTree.ts +4 -0
  1277. package/src/api/parameters/deleteUserProperty.ts +9 -0
  1278. package/src/api/parameters/getAttachments.ts +71 -1
  1279. package/src/api/parameters/getAvailableContentStates.ts +4 -0
  1280. package/src/api/parameters/getContentState.ts +6 -0
  1281. package/src/api/parameters/getContentStateLastUpdated.ts +4 -0
  1282. package/src/api/parameters/getContentStateSettings.ts +4 -0
  1283. package/src/api/parameters/getGroupMembersByGroupId.ts +5 -0
  1284. package/src/api/parameters/getMembersByQueryParam.ts +5 -0
  1285. package/src/api/parameters/getSpaces.ts +31 -1
  1286. package/src/api/parameters/getUserProperties.ts +8 -0
  1287. package/src/api/parameters/getUserProperty.ts +6 -0
  1288. package/src/api/parameters/index.ts +12 -0
  1289. package/src/api/parameters/removeContentState.ts +4 -0
  1290. package/src/api/parameters/searchGroups.ts +5 -0
  1291. package/src/api/parameters/setContentState.ts +8 -0
  1292. package/src/api/parameters/updateAttachmentData.ts +5 -2
  1293. package/src/api/parameters/updateAttachmentProperties.ts +59 -2
  1294. package/src/api/parameters/updateUserProperty.ts +11 -0
  1295. package/src/api/relation.ts +1 -1
  1296. package/src/api/search.ts +1 -1
  1297. package/src/api/settings.ts +23 -1
  1298. package/src/api/space.ts +6 -2
  1299. package/src/api/spacePermissions.ts +1 -1
  1300. package/src/api/spaceProperties.ts +1 -1
  1301. package/src/api/spaceSettings.ts +1 -1
  1302. package/src/api/template.ts +1 -1
  1303. package/src/api/themes.ts +1 -1
  1304. package/src/api/users.ts +4 -4
  1305. package/src/clients/baseClient.ts +7 -5
  1306. package/src/clients/confluenceClient.ts +4 -0
  1307. package/src/config.ts +8 -2
  1308. package/src/index.ts +4 -0
  1309. package/src/paramSerializer.ts +15 -0
  1310. package/src/server/audit.ts +2 -2
  1311. package/src/server/content.ts +2 -2
  1312. package/src/server/contentBody.ts +1 -1
  1313. package/src/server/group.ts +2 -2
  1314. package/src/server/longTask.ts +2 -2
  1315. package/src/server/models/content.ts +6 -6
  1316. package/src/server/models/contentChildren.ts +1 -1
  1317. package/src/server/models/contentHistory.ts +2 -2
  1318. package/src/server/models/contentLookAndFeel.ts +1 -1
  1319. package/src/server/models/contentRestriction.ts +2 -2
  1320. package/src/server/models/lookAndFeel.ts +2 -2
  1321. package/src/server/models/searchResult.ts +2 -2
  1322. package/src/server/models/space.ts +3 -3
  1323. package/src/server/models/spacePermission.ts +1 -1
  1324. package/src/server/models/user.ts +1 -1
  1325. package/src/server/models/version.ts +1 -1
  1326. package/src/server/search.ts +2 -2
  1327. package/src/server/space.ts +2 -2
  1328. package/src/server/user.ts +2 -2
  1329. package/src/services/authenticationService/authenticationService.ts +5 -0
  1330. package/src/services/authenticationService/authentications/createBasicAuthenticationToken.ts +1 -1
  1331. package/src/services/authenticationService/authentications/createPATAuthenticationToken.ts +5 -0
  1332. package/src/services/authenticationService/authentications/index.ts +1 -0
  1333. package/src/utilityTypes.ts +1 -1
  1334. package/tsconfig.json +1 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.5.0
4
+
5
+ `ContentAttachments` fixes for all attachments. ([#23](https://github.com/MrRefactoring/confluence.js/issues/23) Thanks [Anton](https://github.com/tester22) for catching)
6
+
7
+ ### 1.4.1
8
+
9
+ - Dependencies updated.
10
+
11
+ ### 1.4.0
12
+
13
+ - Analytics API added.
14
+ - ContentContentState API added.
15
+ - `deletePageTree` method added to `Experimental`.
16
+ - `getUserProperties` method added to `Experimental`.
17
+ - `getUserProperty` method added to `Experimental`.
18
+ - `createUserProperty` method added to `Experimental`.
19
+ - `updateUserProperty` method added to `Experimental`.
20
+ - `deleteUserProperty` method added to `Experimental`.
21
+ - `getContentStateSettings` method added to `Settings`.
22
+ - Another small changes.
23
+ - Personal Access token authentication added.
24
+
3
25
  ### 1.3.0
4
26
 
5
27
  - Telemetry removed (deprecated)
package/README.md CHANGED
@@ -23,6 +23,7 @@ Usability, consistency, and performance are key focuses of confluence.js, and it
23
23
  - [Basic](#basic-authenticationhttpsdeveloperatlassiancomcloudconfluencebasic-auth-for-rest-apis)
24
24
  - [OAuth 2.0](#oauth-20httpsdeveloperatlassiancomcloudconfluenceoauth-2-3lo-apps)
25
25
  - [JWT](#jwthttpsdeveloperatlassiancomcloudconfluenceunderstanding-jwt)
26
+ - [Personal access token](#personal-access-token)
26
27
  - [Your first request and using algorithm](#your-first-request-and-using-algorithm)
27
28
  - [Decreasing Webpack bundle size](#decreasing-webpack-bundle-size)
28
29
  - [Take a look at our other products](#take-a-look-at-our-other-products)
@@ -122,6 +123,19 @@ const client = new ConfluenceClient({
122
123
  });
123
124
  ```
124
125
 
126
+ ##### [Personal access token](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html)
127
+
128
+ ```typescript
129
+ import { ConfluenceClient } from 'confluence.js';
130
+
131
+ const client = new ConfluenceClient({
132
+ host: 'https://your-domain.atlassian.net',
133
+ authentication: {
134
+ personalAccessToken: 'secrectPAT',
135
+ },
136
+ });
137
+ ```
138
+
125
139
  #### Your first request and using algorithm
126
140
 
127
141
  ```typescript
@@ -221,6 +235,7 @@ client.<group>.<methodName>(parametersObject);
221
235
 
222
236
  Available groups:
223
237
 
238
+ - [analytics](https://developer.atlassian.com/cloud/confluence/rest/api-group-analytics/)
224
239
  - [audit](https://developer.atlassian.com/cloud/confluence/rest/api-group-audit)
225
240
  - [content](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/)
226
241
  - [contentAttachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-group-content---attachments)
@@ -0,0 +1,16 @@
1
+ import * as Models from './models';
2
+ import * as Parameters from './parameters';
3
+ import { Callback } from '../callback';
4
+ import { Client } from '../clients';
5
+ export declare class Analytics {
6
+ private client;
7
+ constructor(client: Client);
8
+ /** Get the total number of views a piece of content has. */
9
+ getViews<T = Models.GetViews>(parameters: Parameters.GetViews, callback: Callback<T>): Promise<void>;
10
+ /** Get the total number of views a piece of content has. */
11
+ getViews<T = Models.GetViews>(parameters: Parameters.GetViews, callback?: never): Promise<T>;
12
+ /** Get the total number of distinct viewers a piece of content has. */
13
+ getViewers<T = Models.GetViewers>(parameters: Parameters.GetViewers, callback: Callback<T>): Promise<void>;
14
+ /** Get the total number of distinct viewers a piece of content has. */
15
+ getViewers<T = Models.GetViewers>(parameters: Parameters.GetViewers, callback?: never): Promise<T>;
16
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Analytics = void 0;
4
+ const tslib_1 = require("tslib");
5
+ class Analytics {
6
+ constructor(client) {
7
+ this.client = client;
8
+ }
9
+ getViews(parameters, callback) {
10
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
11
+ const config = {
12
+ url: `/api/analytics/content/${parameters.contentId}/views`,
13
+ method: 'GET',
14
+ params: {
15
+ fromDate: parameters.fromDate,
16
+ },
17
+ };
18
+ return this.client.sendRequest(config, callback);
19
+ });
20
+ }
21
+ getViewers(parameters, callback) {
22
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
+ const config = {
24
+ url: `/api/analytics/content/${parameters.contentId}/viewers`,
25
+ method: 'GET',
26
+ params: {
27
+ fromDate: parameters.fromDate,
28
+ },
29
+ };
30
+ return this.client.sendRequest(config, callback);
31
+ });
32
+ }
33
+ }
34
+ exports.Analytics = Analytics;
35
+ //# sourceMappingURL=analytics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../src/api/analytics.ts"],"names":[],"mappings":";;;;AAMA,MAAa,SAAS;IACpB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAMhC,QAAQ,CAAsB,UAA+B,EAAE,QAAsB;;YACzF,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,0BAA0B,UAAU,CAAC,SAAS,QAAQ;gBAC3D,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,QAAQ,EAAE,UAAU,CAAC,QAAQ;iBAC9B;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAMK,UAAU,CACd,UAAiC,EACjC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,0BAA0B,UAAU,CAAC,SAAS,UAAU;gBAC7D,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,QAAQ,EAAE,UAAU,CAAC,QAAQ;iBAC9B;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AArCD,8BAqCC"}
@@ -1,7 +1,7 @@
1
1
  import * as Models from './models';
2
2
  import * as Parameters from './parameters';
3
- import { Client } from '../clients';
4
3
  import { Callback } from '../callback';
4
+ import { Client } from '../clients';
5
5
  export declare class Audit {
6
6
  private client;
7
7
  constructor(client: Client);
package/out/api/audit.js CHANGED
@@ -7,7 +7,7 @@ class Audit {
7
7
  this.client = client;
8
8
  }
9
9
  getAuditRecords(parameters, callback) {
10
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
10
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
11
11
  const config = {
12
12
  url: '/api/audit',
13
13
  method: 'GET',
@@ -23,7 +23,7 @@ class Audit {
23
23
  });
24
24
  }
25
25
  createAuditRecord(parameters, callback) {
26
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
26
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
27
27
  const config = {
28
28
  url: '/api/audit',
29
29
  method: 'POST',
@@ -44,7 +44,7 @@ class Audit {
44
44
  });
45
45
  }
46
46
  exportAuditRecords(parameters, callback) {
47
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
47
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
48
48
  const config = {
49
49
  url: '/api/audit/export',
50
50
  method: 'GET',
@@ -59,7 +59,7 @@ class Audit {
59
59
  });
60
60
  }
61
61
  getRetentionPeriod(callback) {
62
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
62
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
63
63
  const config = {
64
64
  url: '/api/audit/retention',
65
65
  method: 'GET',
@@ -68,7 +68,7 @@ class Audit {
68
68
  });
69
69
  }
70
70
  setRetentionPeriod(parameters, callback) {
71
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
71
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
72
72
  const config = {
73
73
  url: '/api/audit/retention',
74
74
  method: 'PUT',
@@ -81,7 +81,7 @@ class Audit {
81
81
  });
82
82
  }
83
83
  getAuditRecordsForTimePeriod(parameters, callback) {
84
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
84
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
85
85
  const config = {
86
86
  url: '/api/audit/since',
87
87
  method: 'GET',
@@ -98,3 +98,4 @@ class Audit {
98
98
  }
99
99
  }
100
100
  exports.Audit = Audit;
101
+ //# sourceMappingURL=audit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/api/audit.ts"],"names":[],"mappings":";;;;AAMA,MAAa,KAAK;IAChB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAwBhC,eAAe,CACnB,UAAuC,EACvC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,YAAY;gBACjB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,SAAS,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS;oBAChC,OAAO,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO;oBAC5B,YAAY,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY;oBACtC,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;iBACzB;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAoBK,iBAAiB,CACrB,UAAyC,EACzC,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,YAAY;gBACjB,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE;oBACJ,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;oBAC1B,aAAa,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa;oBACxC,YAAY,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY;oBACtC,OAAO,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO;oBAC5B,WAAW,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,WAAW;oBACpC,QAAQ,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ;oBAC9B,QAAQ,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ;oBAC9B,cAAc,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,cAAc;oBAC1C,aAAa,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa;oBACxC,iBAAiB,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,iBAAiB;iBACjD;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAiBK,kBAAkB,CACtB,UAA0C,EAC1C,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,mBAAmB;gBACxB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,SAAS,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS;oBAChC,OAAO,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO;oBAC5B,YAAY,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY;oBACtC,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;iBAC3B;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAgBK,kBAAkB,CAA6B,QAAsB;;YACzE,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,sBAAsB;gBAC3B,MAAM,EAAE,KAAK;aACd,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IAoBK,kBAAkB,CACtB,UAA0C,EAC1C,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,sBAAsB;gBAC3B,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE;oBACJ,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;oBAC1B,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;iBACzB;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;IA8BK,4BAA4B,CAChC,UAAoD,EACpD,QAAsB;;YAEtB,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,kBAAkB;gBACvB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,MAAM,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM;oBAC1B,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,YAAY,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY;oBACtC,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;oBACxB,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK;iBACzB;aACF,CAAC;YAEF,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AA9ND,sBA8NC"}
@@ -1,7 +1,7 @@
1
1
  import * as Models from './models';
2
2
  import * as Parameters from './parameters';
3
- import { Client } from '../clients';
4
3
  import { Callback } from '../callback';
4
+ import { Client } from '../clients';
5
5
  export declare class Content {
6
6
  private client;
7
7
  constructor(client: Client);
@@ -60,7 +60,7 @@ export declare class Content {
60
60
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Archive' permission for each of the pages
61
61
  * in the corresponding space it belongs to.
62
62
  */
63
- archivePages<T = unknown>(parameters: Parameters.ArchivePages, callback: Callback<T>): Promise<void>;
63
+ archivePages<T = Models.LongTask>(parameters: Parameters.ArchivePages, callback: Callback<T>): Promise<void>;
64
64
  /**
65
65
  * Archives a list of pages. The pages to be archived are specified as a list of content IDs. This API accepts the
66
66
  * archival request and returns a task ID. The archival process happens asynchronously. Use the /longtask/<taskId>
@@ -72,7 +72,7 @@ export declare class Content {
72
72
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Archive' permission for each of the pages
73
73
  * in the corresponding space it belongs to.
74
74
  */
75
- archivePages<T = unknown>(parameters: Parameters.ArchivePages, callback?: never): Promise<T>;
75
+ archivePages<T = Models.LongTask>(parameters: Parameters.ArchivePages, callback?: never): Promise<T>;
76
76
  /**
77
77
  * Publishes a legacy draft of a page created from a blueprint. Legacy drafts will eventually be removed in favor of
78
78
  * shared drafts. For now, this method works the same as [Publish shared draft](#api-content-blueprint-instance-draftId-put).
@@ -188,7 +188,7 @@ export declare class Content {
188
188
  * - If the content's type is `comment` or `attachment`, it will be deleted permanently without being trashed.
189
189
  *
190
190
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Delete' permission for the space that the
191
- * content is in, and permission to edit the content.
191
+ * content is in.
192
192
  */
193
193
  deleteContent<T = void>(parameters: Parameters.DeleteContent, callback: Callback<T>): Promise<void>;
194
194
  /**
@@ -200,7 +200,7 @@ export declare class Content {
200
200
  * - If the content's type is `comment` or `attachment`, it will be deleted permanently without being trashed.
201
201
  *
202
202
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Delete' permission for the space that the
203
- * content is in, and permission to edit the content.
203
+ * content is in.
204
204
  */
205
205
  deleteContent<T = void>(parameters: Parameters.DeleteContent, callback?: never): Promise<T>;
206
206
  /**
@@ -7,7 +7,7 @@ class Content {
7
7
  this.client = client;
8
8
  }
9
9
  getContent(parameters, callback) {
10
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
10
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
11
11
  const config = {
12
12
  url: '/api/content',
13
13
  method: 'GET',
@@ -28,7 +28,7 @@ class Content {
28
28
  });
29
29
  }
30
30
  createContent(parameters, callback) {
31
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
31
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
32
32
  const config = {
33
33
  url: '/api/content',
34
34
  method: 'POST',
@@ -42,7 +42,7 @@ class Content {
42
42
  });
43
43
  }
44
44
  archivePages(parameters, callback) {
45
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
45
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
46
46
  const config = {
47
47
  url: '/api/content/archive',
48
48
  method: 'POST',
@@ -54,7 +54,7 @@ class Content {
54
54
  });
55
55
  }
56
56
  publishLegacyDraft(parameters, callback) {
57
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
57
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
58
58
  const config = {
59
59
  url: `/api/content/blueprint/instance/${parameters.draftId}`,
60
60
  method: 'POST',
@@ -67,7 +67,7 @@ class Content {
67
67
  });
68
68
  }
69
69
  publishSharedDraft(parameters, callback) {
70
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
70
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
71
71
  const config = {
72
72
  url: `/api/content/blueprint/instance/${parameters.draftId}`,
73
73
  method: 'PUT',
@@ -80,7 +80,7 @@ class Content {
80
80
  });
81
81
  }
82
82
  searchContentByCQL(parameters, callback) {
83
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
83
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
84
84
  const config = {
85
85
  url: '/api/content/search',
86
86
  method: 'GET',
@@ -95,7 +95,7 @@ class Content {
95
95
  });
96
96
  }
97
97
  getContentById(parameters, callback) {
98
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
98
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
99
99
  const config = {
100
100
  url: `/api/content/${parameters.id}`,
101
101
  method: 'GET',
@@ -111,7 +111,7 @@ class Content {
111
111
  });
112
112
  }
113
113
  updateContent(parameters, callback) {
114
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
114
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
115
115
  const config = {
116
116
  url: `/api/content/${parameters.id}`,
117
117
  method: 'PUT',
@@ -132,7 +132,7 @@ class Content {
132
132
  });
133
133
  }
134
134
  deleteContent(parameters, callback) {
135
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
135
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
136
136
  const config = {
137
137
  url: `/api/content/${parameters.id}`,
138
138
  method: 'DELETE',
@@ -144,7 +144,7 @@ class Content {
144
144
  });
145
145
  }
146
146
  getHistoryForContent(parameters, callback) {
147
- return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
147
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
148
148
  const config = {
149
149
  url: `/api/content/${parameters.id}/history`,
150
150
  method: 'GET',
@@ -157,3 +157,4 @@ class Content {
157
157
  }
158
158
  }
159
159
  exports.Content = Content;
160
+ //# sourceMappingURL=content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/api/content.ts"],"names":[],"mappings":"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"}
@@ -1,7 +1,8 @@
1
+ /// <reference types="node" />
1
2
  import * as Models from './models';
2
3
  import * as Parameters from './parameters';
3
- import { Client } from '../clients';
4
4
  import { Callback } from '../callback';
5
+ import { Client } from '../clients';
5
6
  export declare class ContentAttachments {
6
7
  private client;
7
8
  constructor(client: Client);
@@ -13,7 +14,7 @@ export declare class ContentAttachments {
13
14
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content. If the
14
15
  * content is a blog post, 'View' permission for the space is required.
15
16
  */
16
- getAttachments<T = Models.ContentArray>(parameters: Parameters.GetAttachments, callback: Callback<T>): Promise<void>;
17
+ getAttachments<T = Models.ContentArray<Models.Attachment>>(parameters: Parameters.GetAttachments, callback: Callback<T>): Promise<void>;
17
18
  /**
18
19
  * Returns the attachments for a piece of content.
19
20
  *
@@ -22,229 +23,69 @@ export declare class ContentAttachments {
22
23
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content. If the
23
24
  * content is a blog post, 'View' permission for the space is required.
24
25
  */
25
- getAttachments<T = Models.ContentArray>(parameters: Parameters.GetAttachments, callback?: never): Promise<T>;
26
+ getAttachments<T = Models.ContentArray<Models.Attachment>>(parameters: Parameters.GetAttachments, callback?: never): Promise<T>;
26
27
  /**
27
28
  * Adds an attachment to a piece of content. This method only adds a new attachment. If you want to update an existing
28
- * attachment, use [Create or update attachments](#api-content-id-child-attachment-put).
29
- *
30
- * Note, you must set a `X-Atlassian-Token: nocheck` header on the request for this method, otherwise it will be
31
- * blocked. This protects against XSRF attacks, which is necessary as this method accepts multipart/form-data.
32
- *
33
- * The media type 'multipart/form-data' is defined in [RFC 7578](https://www.ietf.org/rfc/rfc7578.txt). Most client
34
- * libraries have classes that make it easier to implement multipart posts, like the
35
- * [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/) Java class
36
- * provided by Apache HTTP Components.
37
- *
38
- * Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5), in the case where the form data is
39
- * text, the charset parameter for the "text/plain" Content-Type may be used to indicate the character encoding used
40
- * in that part. In the case of this API endpoint, the `comment` body parameter should be sent with `type=text/plain`
41
- * and `charset=utf-8` values. This will force the charset to be UTF-8.
42
- *
43
- * Example: This curl command attaches a file ('example.txt') to a container (id='123') with a comment and `minorEdits`=true.
44
- *
45
- * ```bash
46
- * curl -D- \
47
- * -u admin:admin \
48
- * -X POST \
49
- * -H 'X-Atlassian-Token: nocheck' \
50
- * -F 'file=@"example.txt"' \
51
- * -F 'minorEdit="true"' \
52
- * -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
53
- * http://myhost/rest/api/content/123/child/attachment
54
- * ```
29
+ * attachment, use [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put).
55
30
  *
56
31
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
57
32
  */
58
- createAttachments<T = Models.ContentArray>(parameters: Parameters.CreateAttachments, callback: Callback<T>): Promise<void>;
33
+ createAttachments<T = Models.ContentArray<Models.CreatedAttachment>>(parameters: Parameters.CreateAttachments, callback: Callback<T>): Promise<void>;
59
34
  /**
60
35
  * Adds an attachment to a piece of content. This method only adds a new attachment. If you want to update an existing
61
- * attachment, use [Create or update attachments](#api-content-id-child-attachment-put).
62
- *
63
- * Note, you must set a `X-Atlassian-Token: nocheck` header on the request for this method, otherwise it will be
64
- * blocked. This protects against XSRF attacks, which is necessary as this method accepts multipart/form-data.
65
- *
66
- * The media type 'multipart/form-data' is defined in [RFC 7578](https://www.ietf.org/rfc/rfc7578.txt). Most client
67
- * libraries have classes that make it easier to implement multipart posts, like the
68
- * [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/) Java class
69
- * provided by Apache HTTP Components.
70
- *
71
- * Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5), in the case where the form data is
72
- * text, the charset parameter for the "text/plain" Content-Type may be used to indicate the character encoding used
73
- * in that part. In the case of this API endpoint, the `comment` body parameter should be sent with `type=text/plain`
74
- * and `charset=utf-8` values. This will force the charset to be UTF-8.
75
- *
76
- * Example: This curl command attaches a file ('example.txt') to a container (id='123') with a comment and `minorEdits`=true.
77
- *
78
- * ```bash
79
- * curl -D- \
80
- * -u admin:admin \
81
- * -X POST \
82
- * -H 'X-Atlassian-Token: nocheck' \
83
- * -F 'file=@"example.txt"' \
84
- * -F 'minorEdit="true"' \
85
- * -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
86
- * http://myhost/rest/api/content/123/child/attachment
87
- * ```
36
+ * attachment, use [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put).
88
37
  *
89
38
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
90
39
  */
91
- createAttachments<T = Models.ContentArray>(parameters: Parameters.CreateAttachments, callback?: never): Promise<T>;
40
+ createAttachments<T = Models.ContentArray<Models.CreatedAttachment>>(parameters: Parameters.CreateAttachments, callback?: never): Promise<T>;
92
41
  /**
93
42
  * Adds an attachment to a piece of content. If the attachment already exists for the content, then the attachment is
94
43
  * updated (i.e. a new version of the attachment is created).
95
44
  *
96
- * Note, you must set a `X-Atlassian-Token: nocheck` header on the request for this method, otherwise it will be
97
- * blocked. This protects against XSRF attacks, which is necessary as this method accepts multipart/form-data.
98
- *
99
- * The media type 'multipart/form-data' is defined in [RFC 7578](https://www.ietf.org/rfc/rfc7578.txt). Most client
100
- * libraries have classes that make it easier to implement multipart posts, like the
101
- * [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/) Java class
102
- * provided by Apache HTTP Components.
103
- *
104
- * Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5), in the case where the form data is
105
- * text, the charset parameter for the "text/plain" Content-Type may be used to indicate the character encoding used
106
- * in that part. In the case of this API endpoint, the `comment` body parameter should be sent with `type=text/plain`
107
- * and `charset=utf-8` values. This will force the charset to be UTF-8.
108
- *
109
- * Example: This curl command attaches a file ('example.txt') to a piece of content (id='123') with a comment and
110
- * `minorEdits`=true. If the 'example.txt' file already exists, it will update it with a new version of the attachment.
111
- *
112
- * ```bash
113
- * curl -D- \
114
- * -u admin:admin \
115
- * -X PUT \
116
- * -H 'X-Atlassian-Token: nocheck' \
117
- * -F 'file=@"example.txt"' \
118
- * -F 'minorEdit="true"' \
119
- * -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
120
- * http://myhost/rest/api/content/123/child/attachment
121
- * ```
122
- *
123
45
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
124
46
  */
125
- createOrUpdateAttachments<T = Models.ContentArray>(parameters: Parameters.CreateOrUpdateAttachments, callback: Callback<T>): Promise<void>;
47
+ createOrUpdateAttachments<T = Models.ContentArray<Models.CreatedAttachment>>(parameters: Parameters.CreateOrUpdateAttachments, callback: Callback<T>): Promise<void>;
126
48
  /**
127
49
  * Adds an attachment to a piece of content. If the attachment already exists for the content, then the attachment is
128
50
  * updated (i.e. a new version of the attachment is created).
129
51
  *
130
- * Note, you must set a `X-Atlassian-Token: nocheck` header on the request for this method, otherwise it will be
131
- * blocked. This protects against XSRF attacks, which is necessary as this method accepts multipart/form-data.
132
- *
133
- * The media type 'multipart/form-data' is defined in [RFC 7578](https://www.ietf.org/rfc/rfc7578.txt). Most client
134
- * libraries have classes that make it easier to implement multipart posts, like the
135
- * [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/) Java class
136
- * provided by Apache HTTP Components.
137
- *
138
- * Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5), in the case where the form data is
139
- * text, the charset parameter for the "text/plain" Content-Type may be used to indicate the character encoding used
140
- * in that part. In the case of this API endpoint, the `comment` body parameter should be sent with `type=text/plain`
141
- * and `charset=utf-8` values. This will force the charset to be UTF-8.
142
- *
143
- * Example: This curl command attaches a file ('example.txt') to a piece of content (id='123') with a comment and
144
- * `minorEdits`=true. If the 'example.txt' file already exists, it will update it with a new version of the attachment.
145
- *
146
- * ```bash
147
- * curl -D- \
148
- * -u admin:admin \
149
- * -X PUT \
150
- * -H 'X-Atlassian-Token: nocheck' \
151
- * -F 'file=@"example.txt"' \
152
- * -F 'minorEdit="true"' \
153
- * -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
154
- * http://myhost/rest/api/content/123/child/attachment
155
- * ```
156
- *
157
52
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
158
53
  */
159
- createOrUpdateAttachments<T = Models.ContentArray>(parameters: Parameters.CreateOrUpdateAttachments, callback?: never): Promise<T>;
54
+ createOrUpdateAttachments<T = Models.ContentArray<Models.CreatedAttachment>>(parameters: Parameters.CreateOrUpdateAttachments, callback?: never): Promise<T>;
160
55
  /**
161
56
  * Updates the attachment properties, i.e. the non-binary data of an attachment like the filename, media-type,
162
57
  * comment, and parent container.
163
58
  *
164
59
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
165
60
  */
166
- updateAttachmentProperties<T = Models.Content>(parameters: Parameters.UpdateAttachmentProperties, callback: Callback<T>): Promise<void>;
61
+ updateAttachmentProperties<T = Models.CreatedAttachment>(parameters: Parameters.UpdateAttachmentProperties, callback: Callback<T>): Promise<void>;
167
62
  /**
168
63
  * Updates the attachment properties, i.e. the non-binary data of an attachment like the filename, media-type,
169
64
  * comment, and parent container.
170
65
  *
171
66
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
172
67
  */
173
- updateAttachmentProperties<T = Models.Content>(parameters: Parameters.UpdateAttachmentProperties, callback?: never): Promise<T>;
68
+ updateAttachmentProperties<T = Models.CreatedAttachment>(parameters: Parameters.UpdateAttachmentProperties, callback?: never): Promise<T>;
174
69
  /**
175
70
  * Updates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit field.
176
71
  *
177
- * This method is essentially the same as [Create or update attachments](#api-content-id-child-attachment-put), except
72
+ * This method is essentially the same as [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put), except
178
73
  * that it matches the attachment ID rather than the name.
179
74
  *
180
- * Note, you must set a `X-Atlassian-Token: nocheck` header on the request for this method, otherwise it will be
181
- * blocked. This protects against XSRF attacks, which is necessary as this method accepts multipart/form-data.
182
- *
183
- * The media type 'multipart/form-data' is defined in [RFC 7578](https://www.ietf.org/rfc/rfc7578.txt). Most client
184
- * libraries have classes that make it easier to implement multipart posts, like the
185
- * [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/) Java class
186
- * provided by Apache HTTP Components.
187
- *
188
- * Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5), in the case where the form data is
189
- * text, the charset parameter for the "text/plain" Content-Type may be used to indicate the character encoding used
190
- * in that part. In the case of this API endpoint, the `comment` body parameter should be sent with `type=text/plain`
191
- * and `charset=utf-8` values. This will force the charset to be UTF-8.
192
- *
193
- * Example: This curl command updates an attachment (id='att456') that is attached to a piece of content (id='123')
194
- * with a comment and `minorEdits`=true.
195
- *
196
- * ```bash
197
- * curl -D- \
198
- * -u admin:admin \
199
- * -X POST \
200
- * -H 'X-Atlassian-Token: nocheck' \
201
- * -F 'file=@"example.txt"' \
202
- * -F 'minorEdit="true"' \
203
- * -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
204
- * http://myhost/rest/api/content/123/child/attachment/att456/data
205
- * ```
206
- *
207
75
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
208
76
  */
209
- updateAttachmentData<T = Models.Content>(parameters: Parameters.UpdateAttachmentData, callback: Callback<T>): Promise<void>;
77
+ updateAttachmentData<T = Models.CreatedAttachment>(parameters: Parameters.UpdateAttachmentData, callback: Callback<T>): Promise<void>;
210
78
  /**
211
79
  * Updates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit field.
212
80
  *
213
- * This method is essentially the same as [Create or update attachments](#api-content-id-child-attachment-put), except
81
+ * This method is essentially the same as [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-wiki-rest-api-content-id-child-attachment-put), except
214
82
  * that it matches the attachment ID rather than the name.
215
83
  *
216
- * Note, you must set a `X-Atlassian-Token: nocheck` header on the request for this method, otherwise it will be
217
- * blocked. This protects against XSRF attacks, which is necessary as this method accepts multipart/form-data.
218
- *
219
- * The media type 'multipart/form-data' is defined in [RFC 7578](https://www.ietf.org/rfc/rfc7578.txt). Most client
220
- * libraries have classes that make it easier to implement multipart posts, like the
221
- * [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/) Java class
222
- * provided by Apache HTTP Components.
223
- *
224
- * Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5), in the case where the form data is
225
- * text, the charset parameter for the "text/plain" Content-Type may be used to indicate the character encoding used
226
- * in that part. In the case of this API endpoint, the `comment` body parameter should be sent with `type=text/plain`
227
- * and `charset=utf-8` values. This will force the charset to be UTF-8.
228
- *
229
- * Example: This curl command updates an attachment (id='att456') that is attached to a piece of content (id='123')
230
- * with a comment and `minorEdits`=true.
231
- *
232
- * ```bash
233
- * curl -D- \
234
- * -u admin:admin \
235
- * -X POST \
236
- * -H 'X-Atlassian-Token: nocheck' \
237
- * -F 'file=@"example.txt"' \
238
- * -F 'minorEdit="true"' \
239
- * -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
240
- * http://myhost/rest/api/content/123/child/attachment/att456/data
241
- * ```
242
- *
243
84
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
244
85
  */
245
- updateAttachmentData<T = Models.Content>(parameters: Parameters.UpdateAttachmentData, callback?: never): Promise<T>;
86
+ updateAttachmentData<T = Models.CreatedAttachment>(parameters: Parameters.UpdateAttachmentData, callback?: never): Promise<T>;
246
87
  /** Redirects the client to a URL that serves an attachment's binary data. */
247
- downloadAttachment<T = ArrayBuffer>(parameters: Parameters.DownloadAttachment, callback: Callback<T>): Promise<void>;
88
+ downloadAttachment<T = Buffer>(parameters: Parameters.DownloadAttachment, callback: Callback<T>): Promise<void>;
248
89
  /** Redirects the client to a URL that serves an attachment's binary data. */
249
- downloadAttachment<T = ArrayBuffer>(parameters: Parameters.DownloadAttachment, callback?: never): Promise<T>;
90
+ downloadAttachment<T = Buffer>(parameters: Parameters.DownloadAttachment, callback?: never): Promise<T>;
250
91
  }