@resolution/confluence-api-client 0.7.12 → 0.11.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 (356) hide show
  1. package/CHANGELOG.md +208 -213
  2. package/README.md +4 -4
  3. package/lib/openapi/core/CommonHttpClient.d.ts +46 -17
  4. package/lib/openapi/core/CommonHttpClient.js +175 -232
  5. package/lib/openapi/core/CommonHttpClient.js.map +1 -1
  6. package/lib/openapi/core/CommonHttpService.d.ts +1 -1
  7. package/lib/openapi/core/CommonHttpService.js.map +1 -1
  8. package/lib/openapi/core/CommonValidationSchemaStorage.d.ts +4 -4
  9. package/lib/openapi/core/CommonValidationSchemaStorage.js +2 -4
  10. package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -1
  11. package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +4 -4
  12. package/lib/openapi/v1/BaseConfluenceApiV1Client.js +38 -0
  13. package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
  14. package/lib/openapi/v1/models/audit.d.ts +2 -2
  15. package/lib/openapi/v1/models/audit.js +31 -90
  16. package/lib/openapi/v1/models/audit.js.map +1 -1
  17. package/lib/openapi/v1/models/common.d.ts +2 -4
  18. package/lib/openapi/v1/models/common.js +188 -464
  19. package/lib/openapi/v1/models/common.js.map +1 -1
  20. package/lib/openapi/v1/models/content.d.ts +2 -2
  21. package/lib/openapi/v1/models/content.js +205 -491
  22. package/lib/openapi/v1/models/content.js.map +1 -1
  23. package/lib/openapi/v1/models/contentAttachments.d.ts +1 -1
  24. package/lib/openapi/v1/models/contentAttachments.js +8 -19
  25. package/lib/openapi/v1/models/contentAttachments.js.map +1 -1
  26. package/lib/openapi/v1/models/contentBody.d.ts +2 -2
  27. package/lib/openapi/v1/models/contentBody.js +20 -59
  28. package/lib/openapi/v1/models/contentBody.js.map +1 -1
  29. package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +4 -2
  30. package/lib/openapi/v1/models/contentChildrenAndDescendants.js +17 -40
  31. package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -1
  32. package/lib/openapi/v1/models/contentLabels.d.ts +1 -1
  33. package/lib/openapi/v1/models/contentLabels.js +2 -7
  34. package/lib/openapi/v1/models/contentLabels.js.map +1 -1
  35. package/lib/openapi/v1/models/contentMacroBody.d.ts +1 -1
  36. package/lib/openapi/v1/models/contentMacroBody.js +4 -10
  37. package/lib/openapi/v1/models/contentMacroBody.js.map +1 -1
  38. package/lib/openapi/v1/models/contentPermissions.d.ts +2 -2
  39. package/lib/openapi/v1/models/contentPermissions.js +10 -22
  40. package/lib/openapi/v1/models/contentPermissions.js.map +1 -1
  41. package/lib/openapi/v1/models/contentProperties.d.ts +1 -1
  42. package/lib/openapi/v1/models/contentProperties.js +25 -71
  43. package/lib/openapi/v1/models/contentProperties.js.map +1 -1
  44. package/lib/openapi/v1/models/contentRestrictions.d.ts +2 -2
  45. package/lib/openapi/v1/models/contentRestrictions.js +17 -57
  46. package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
  47. package/lib/openapi/v1/models/contentStates.d.ts +1 -20
  48. package/lib/openapi/v1/models/contentStates.js +15 -55
  49. package/lib/openapi/v1/models/contentStates.js.map +1 -1
  50. package/lib/openapi/v1/models/contentVersions.d.ts +2 -2
  51. package/lib/openapi/v1/models/contentVersions.js +9 -20
  52. package/lib/openapi/v1/models/contentVersions.js.map +1 -1
  53. package/lib/openapi/v1/models/contentWatches.d.ts +2 -2
  54. package/lib/openapi/v1/models/contentWatches.js +21 -46
  55. package/lib/openapi/v1/models/contentWatches.js.map +1 -1
  56. package/lib/openapi/v1/models/dynamicModules.d.ts +33 -27
  57. package/lib/openapi/v1/models/dynamicModules.js +6 -15
  58. package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
  59. package/lib/openapi/v1/models/group.d.ts +1 -1
  60. package/lib/openapi/v1/models/group.js +6 -15
  61. package/lib/openapi/v1/models/group.js.map +1 -1
  62. package/lib/openapi/v1/models/inlineTasks.d.ts +1 -1
  63. package/lib/openapi/v1/models/inlineTasks.js +10 -22
  64. package/lib/openapi/v1/models/inlineTasks.js.map +1 -1
  65. package/lib/openapi/v1/models/labelInfo.d.ts +1 -1
  66. package/lib/openapi/v1/models/labelInfo.js +11 -27
  67. package/lib/openapi/v1/models/labelInfo.js.map +1 -1
  68. package/lib/openapi/v1/models/longRunningTask.d.ts +2 -2
  69. package/lib/openapi/v1/models/longRunningTask.js +20 -42
  70. package/lib/openapi/v1/models/longRunningTask.js.map +1 -1
  71. package/lib/openapi/v1/models/relation.d.ts +2 -2
  72. package/lib/openapi/v1/models/relation.js +16 -45
  73. package/lib/openapi/v1/models/relation.js.map +1 -1
  74. package/lib/openapi/v1/models/search.d.ts +2 -2
  75. package/lib/openapi/v1/models/search.js +15 -34
  76. package/lib/openapi/v1/models/search.js.map +1 -1
  77. package/lib/openapi/v1/models/settings.d.ts +2 -2
  78. package/lib/openapi/v1/models/settings.js +13 -29
  79. package/lib/openapi/v1/models/settings.js.map +1 -1
  80. package/lib/openapi/v1/models/space.d.ts +2 -2
  81. package/lib/openapi/v1/models/space.js +31 -69
  82. package/lib/openapi/v1/models/space.js.map +1 -1
  83. package/lib/openapi/v1/models/spacePermissions.d.ts +1 -1
  84. package/lib/openapi/v1/models/spacePermissions.js +23 -86
  85. package/lib/openapi/v1/models/spacePermissions.js.map +1 -1
  86. package/lib/openapi/v1/models/spaceProperties.d.ts +2 -2
  87. package/lib/openapi/v1/models/spaceProperties.js +26 -71
  88. package/lib/openapi/v1/models/spaceProperties.js.map +1 -1
  89. package/lib/openapi/v1/models/spaceSettings.d.ts +1 -1
  90. package/lib/openapi/v1/models/spaceSettings.js +3 -9
  91. package/lib/openapi/v1/models/spaceSettings.js.map +1 -1
  92. package/lib/openapi/v1/models/template.d.ts +2 -2
  93. package/lib/openapi/v1/models/template.js +45 -103
  94. package/lib/openapi/v1/models/template.js.map +1 -1
  95. package/lib/openapi/v1/models/themes.d.ts +1 -1
  96. package/lib/openapi/v1/models/themes.js +10 -22
  97. package/lib/openapi/v1/models/themes.js.map +1 -1
  98. package/lib/openapi/v1/models/userProperties.d.ts +1 -1
  99. package/lib/openapi/v1/models/userProperties.js +16 -33
  100. package/lib/openapi/v1/models/userProperties.js.map +1 -1
  101. package/lib/openapi/v1/models/users.d.ts +2 -2
  102. package/lib/openapi/v1/models/users.js +25 -57
  103. package/lib/openapi/v1/models/users.js.map +1 -1
  104. package/lib/openapi/v1/services/AnalyticsService.d.ts +2 -2
  105. package/lib/openapi/v1/services/AnalyticsService.js +29 -47
  106. package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
  107. package/lib/openapi/v1/services/AuditService.d.ts +6 -6
  108. package/lib/openapi/v1/services/AuditService.js +67 -109
  109. package/lib/openapi/v1/services/AuditService.js.map +1 -1
  110. package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +7 -7
  111. package/lib/openapi/v1/services/ContentAttachmentsService.js +72 -109
  112. package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
  113. package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -7
  114. package/lib/openapi/v1/services/ContentBodyService.js +67 -105
  115. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
  116. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +15 -15
  117. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +110 -160
  118. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
  119. package/lib/openapi/v1/services/ContentCommentsService.d.ts +4 -4
  120. package/lib/openapi/v1/services/ContentCommentsService.js +19 -26
  121. package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
  122. package/lib/openapi/v1/services/ContentLabelsService.d.ts +4 -4
  123. package/lib/openapi/v1/services/ContentLabelsService.js +36 -54
  124. package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
  125. package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +4 -4
  126. package/lib/openapi/v1/services/ContentMacroBodyService.js +43 -67
  127. package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
  128. package/lib/openapi/v1/services/ContentPermissionsService.d.ts +1 -1
  129. package/lib/openapi/v1/services/ContentPermissionsService.js +14 -23
  130. package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
  131. package/lib/openapi/v1/services/ContentPropertiesService.d.ts +7 -7
  132. package/lib/openapi/v1/services/ContentPropertiesService.js +73 -112
  133. package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
  134. package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +13 -13
  135. package/lib/openapi/v1/services/ContentRestrictionsService.js +127 -184
  136. package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
  137. package/lib/openapi/v1/services/ContentService.d.ts +18 -18
  138. package/lib/openapi/v1/services/ContentService.js +143 -211
  139. package/lib/openapi/v1/services/ContentService.js.map +1 -1
  140. package/lib/openapi/v1/services/ContentStatesService.d.ts +13 -56
  141. package/lib/openapi/v1/services/ContentStatesService.js +99 -246
  142. package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
  143. package/lib/openapi/v1/services/ContentVersionsService.d.ts +4 -4
  144. package/lib/openapi/v1/services/ContentVersionsService.js +53 -79
  145. package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
  146. package/lib/openapi/v1/services/ContentWatchesService.d.ts +13 -13
  147. package/lib/openapi/v1/services/ContentWatchesService.js +113 -169
  148. package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
  149. package/lib/openapi/v1/services/DynamicModulesService.d.ts +2 -2
  150. package/lib/openapi/v1/services/DynamicModulesService.js +24 -37
  151. package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
  152. package/lib/openapi/v1/services/ExperimentalService.d.ts +5 -5
  153. package/lib/openapi/v1/services/ExperimentalService.js +42 -65
  154. package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
  155. package/lib/openapi/v1/services/GroupService.d.ts +10 -10
  156. package/lib/openapi/v1/services/GroupService.js +76 -117
  157. package/lib/openapi/v1/services/GroupService.js.map +1 -1
  158. package/lib/openapi/v1/services/InlineTasksService.d.ts +4 -4
  159. package/lib/openapi/v1/services/InlineTasksService.js +36 -59
  160. package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
  161. package/lib/openapi/v1/services/LabelInfoService.d.ts +1 -1
  162. package/lib/openapi/v1/services/LabelInfoService.js +12 -19
  163. package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
  164. package/lib/openapi/v1/services/LongRunningTaskService.d.ts +2 -2
  165. package/lib/openapi/v1/services/LongRunningTaskService.js +24 -40
  166. package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
  167. package/lib/openapi/v1/services/RelationService.d.ts +38 -18
  168. package/lib/openapi/v1/services/RelationService.js +64 -94
  169. package/lib/openapi/v1/services/RelationService.js.map +1 -1
  170. package/lib/openapi/v1/services/SearchService.d.ts +5 -5
  171. package/lib/openapi/v1/services/SearchService.js +32 -46
  172. package/lib/openapi/v1/services/SearchService.js.map +1 -1
  173. package/lib/openapi/v1/services/SettingsService.d.ts +6 -6
  174. package/lib/openapi/v1/services/SettingsService.js +61 -98
  175. package/lib/openapi/v1/services/SettingsService.js.map +1 -1
  176. package/lib/openapi/v1/services/SpacePermissionsService.d.ts +4 -4
  177. package/lib/openapi/v1/services/SpacePermissionsService.js +25 -38
  178. package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
  179. package/lib/openapi/v1/services/SpacePropertiesService.d.ts +7 -7
  180. package/lib/openapi/v1/services/SpacePropertiesService.js +73 -112
  181. package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
  182. package/lib/openapi/v1/services/SpaceService.d.ts +15 -15
  183. package/lib/openapi/v1/services/SpaceService.js +114 -175
  184. package/lib/openapi/v1/services/SpaceService.js.map +1 -1
  185. package/lib/openapi/v1/services/SpaceSettingsService.d.ts +2 -2
  186. package/lib/openapi/v1/services/SpaceSettingsService.js +24 -38
  187. package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
  188. package/lib/openapi/v1/services/TemplateService.d.ts +7 -7
  189. package/lib/openapi/v1/services/TemplateService.js +67 -104
  190. package/lib/openapi/v1/services/TemplateService.js.map +1 -1
  191. package/lib/openapi/v1/services/ThemesService.d.ts +5 -5
  192. package/lib/openapi/v1/services/ThemesService.js +61 -101
  193. package/lib/openapi/v1/services/ThemesService.js.map +1 -1
  194. package/lib/openapi/v1/services/UserPropertiesService.d.ts +6 -6
  195. package/lib/openapi/v1/services/UserPropertiesService.js +42 -64
  196. package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
  197. package/lib/openapi/v1/services/UsersService.d.ts +9 -9
  198. package/lib/openapi/v1/services/UsersService.js +94 -146
  199. package/lib/openapi/v1/services/UsersService.js.map +1 -1
  200. package/lib/openapi/v1/validationSchemaStorage.d.ts +2 -2
  201. package/lib/openapi/v1/validationSchemaStorage.js +12 -22
  202. package/lib/openapi/v1/validationSchemaStorage.js.map +1 -1
  203. package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +1 -1
  204. package/lib/openapi/v2/BaseConfluenceApiV2Client.js +3 -1
  205. package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
  206. package/lib/openapi/v2/models/ancestors.d.ts +1 -1
  207. package/lib/openapi/v2/models/ancestors.js +4 -12
  208. package/lib/openapi/v2/models/ancestors.js.map +1 -1
  209. package/lib/openapi/v2/models/attachment.d.ts +2 -2
  210. package/lib/openapi/v2/models/attachment.js +26 -71
  211. package/lib/openapi/v2/models/attachment.js.map +1 -1
  212. package/lib/openapi/v2/models/blogPost.d.ts +2 -2
  213. package/lib/openapi/v2/models/blogPost.js +37 -102
  214. package/lib/openapi/v2/models/blogPost.js.map +1 -1
  215. package/lib/openapi/v2/models/children.d.ts +1 -1
  216. package/lib/openapi/v2/models/children.js +9 -24
  217. package/lib/openapi/v2/models/children.js.map +1 -1
  218. package/lib/openapi/v2/models/classificationLevel.d.ts +1 -1
  219. package/lib/openapi/v2/models/classificationLevel.js +6 -32
  220. package/lib/openapi/v2/models/classificationLevel.js.map +1 -1
  221. package/lib/openapi/v2/models/comment.d.ts +2 -2
  222. package/lib/openapi/v2/models/comment.js +107 -272
  223. package/lib/openapi/v2/models/comment.js.map +1 -1
  224. package/lib/openapi/v2/models/common.d.ts +1 -1
  225. package/lib/openapi/v2/models/common.js +84 -214
  226. package/lib/openapi/v2/models/common.js.map +1 -1
  227. package/lib/openapi/v2/models/content.d.ts +1 -1
  228. package/lib/openapi/v2/models/content.js +3 -21
  229. package/lib/openapi/v2/models/content.js.map +1 -1
  230. package/lib/openapi/v2/models/contentProperties.d.ts +1 -1
  231. package/lib/openapi/v2/models/contentProperties.js +8 -20
  232. package/lib/openapi/v2/models/contentProperties.js.map +1 -1
  233. package/lib/openapi/v2/models/customContent.d.ts +2 -2
  234. package/lib/openapi/v2/models/customContent.js +43 -121
  235. package/lib/openapi/v2/models/customContent.js.map +1 -1
  236. package/lib/openapi/v2/models/dataPolicies.d.ts +1 -1
  237. package/lib/openapi/v2/models/dataPolicies.js +11 -25
  238. package/lib/openapi/v2/models/dataPolicies.js.map +1 -1
  239. package/lib/openapi/v2/models/database.d.ts +1 -1
  240. package/lib/openapi/v2/models/database.js +8 -19
  241. package/lib/openapi/v2/models/database.js.map +1 -1
  242. package/lib/openapi/v2/models/eap.d.ts +1 -1
  243. package/lib/openapi/v2/models/eap.js +0 -3
  244. package/lib/openapi/v2/models/eap.js.map +1 -1
  245. package/lib/openapi/v2/models/folder.d.ts +1 -1
  246. package/lib/openapi/v2/models/folder.js +8 -19
  247. package/lib/openapi/v2/models/folder.js.map +1 -1
  248. package/lib/openapi/v2/models/operation.d.ts +1 -1
  249. package/lib/openapi/v2/models/operation.js +4 -12
  250. package/lib/openapi/v2/models/operation.js.map +1 -1
  251. package/lib/openapi/v2/models/page.d.ts +2 -2
  252. package/lib/openapi/v2/models/page.js +36 -101
  253. package/lib/openapi/v2/models/page.js.map +1 -1
  254. package/lib/openapi/v2/models/smartLink.d.ts +1 -1
  255. package/lib/openapi/v2/models/smartLink.js +8 -19
  256. package/lib/openapi/v2/models/smartLink.js.map +1 -1
  257. package/lib/openapi/v2/models/space.d.ts +2 -2
  258. package/lib/openapi/v2/models/space.js +21 -57
  259. package/lib/openapi/v2/models/space.js.map +1 -1
  260. package/lib/openapi/v2/models/spaceProperties.d.ts +1 -1
  261. package/lib/openapi/v2/models/spaceProperties.js +8 -20
  262. package/lib/openapi/v2/models/spaceProperties.js.map +1 -1
  263. package/lib/openapi/v2/models/task.d.ts +1 -1
  264. package/lib/openapi/v2/models/task.js +7 -16
  265. package/lib/openapi/v2/models/task.js.map +1 -1
  266. package/lib/openapi/v2/models/user.d.ts +1 -1
  267. package/lib/openapi/v2/models/user.js +7 -20
  268. package/lib/openapi/v2/models/user.js.map +1 -1
  269. package/lib/openapi/v2/models/version.d.ts +1 -1
  270. package/lib/openapi/v2/models/version.js +22 -46
  271. package/lib/openapi/v2/models/version.js.map +1 -1
  272. package/lib/openapi/v2/models/whiteboard.d.ts +1 -1
  273. package/lib/openapi/v2/models/whiteboard.js +8 -19
  274. package/lib/openapi/v2/models/whiteboard.js.map +1 -1
  275. package/lib/openapi/v2/services/AncestorsService.d.ts +5 -5
  276. package/lib/openapi/v2/services/AncestorsService.js +73 -133
  277. package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
  278. package/lib/openapi/v2/services/AttachmentService.d.ts +8 -8
  279. package/lib/openapi/v2/services/AttachmentService.js +98 -180
  280. package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
  281. package/lib/openapi/v2/services/BlogPostService.d.ts +9 -9
  282. package/lib/openapi/v2/services/BlogPostService.js +100 -180
  283. package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
  284. package/lib/openapi/v2/services/ChildrenService.d.ts +2 -2
  285. package/lib/openapi/v2/services/ChildrenService.js +32 -61
  286. package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
  287. package/lib/openapi/v2/services/ClassificationLevelService.d.ts +15 -15
  288. package/lib/openapi/v2/services/ClassificationLevelService.js +127 -191
  289. package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
  290. package/lib/openapi/v2/services/CommentService.d.ts +20 -20
  291. package/lib/openapi/v2/services/CommentService.js +250 -454
  292. package/lib/openapi/v2/services/CommentService.js.map +1 -1
  293. package/lib/openapi/v2/services/ContentPropertiesService.d.ts +46 -46
  294. package/lib/openapi/v2/services/ContentPropertiesService.js +496 -820
  295. package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
  296. package/lib/openapi/v2/services/ContentService.d.ts +1 -1
  297. package/lib/openapi/v2/services/ContentService.js +12 -19
  298. package/lib/openapi/v2/services/ContentService.js.map +1 -1
  299. package/lib/openapi/v2/services/CustomContentService.d.ts +14 -11
  300. package/lib/openapi/v2/services/CustomContentService.js +114 -207
  301. package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
  302. package/lib/openapi/v2/services/DataPoliciesService.d.ts +2 -2
  303. package/lib/openapi/v2/services/DataPoliciesService.js +25 -48
  304. package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
  305. package/lib/openapi/v2/services/DatabaseService.d.ts +3 -3
  306. package/lib/openapi/v2/services/DatabaseService.js +37 -63
  307. package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
  308. package/lib/openapi/v2/services/EapService.d.ts +7 -7
  309. package/lib/openapi/v2/services/EapService.js +89 -165
  310. package/lib/openapi/v2/services/EapService.js.map +1 -1
  311. package/lib/openapi/v2/services/FolderService.d.ts +3 -3
  312. package/lib/openapi/v2/services/FolderService.js +36 -62
  313. package/lib/openapi/v2/services/FolderService.js.map +1 -1
  314. package/lib/openapi/v2/services/LabelService.d.ts +7 -7
  315. package/lib/openapi/v2/services/LabelService.js +105 -196
  316. package/lib/openapi/v2/services/LabelService.js.map +1 -1
  317. package/lib/openapi/v2/services/LikeService.d.ts +8 -8
  318. package/lib/openapi/v2/services/LikeService.js +109 -189
  319. package/lib/openapi/v2/services/LikeService.js.map +1 -1
  320. package/lib/openapi/v2/services/OperationService.d.ts +11 -11
  321. package/lib/openapi/v2/services/OperationService.js +122 -199
  322. package/lib/openapi/v2/services/OperationService.js.map +1 -1
  323. package/lib/openapi/v2/services/PageService.d.ts +9 -9
  324. package/lib/openapi/v2/services/PageService.js +100 -180
  325. package/lib/openapi/v2/services/PageService.js.map +1 -1
  326. package/lib/openapi/v2/services/SmartLinkService.d.ts +3 -3
  327. package/lib/openapi/v2/services/SmartLinkService.js +36 -62
  328. package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
  329. package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -3
  330. package/lib/openapi/v2/services/SpacePermissionsService.js +30 -56
  331. package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
  332. package/lib/openapi/v2/services/SpacePropertiesService.d.ts +6 -6
  333. package/lib/openapi/v2/services/SpacePropertiesService.js +56 -92
  334. package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
  335. package/lib/openapi/v2/services/SpaceRolesService.d.ts +5 -5
  336. package/lib/openapi/v2/services/SpaceRolesService.js +60 -111
  337. package/lib/openapi/v2/services/SpaceRolesService.js.map +1 -1
  338. package/lib/openapi/v2/services/SpaceService.d.ts +4 -4
  339. package/lib/openapi/v2/services/SpaceService.js +47 -87
  340. package/lib/openapi/v2/services/SpaceService.js.map +1 -1
  341. package/lib/openapi/v2/services/TaskService.d.ts +4 -4
  342. package/lib/openapi/v2/services/TaskService.js +40 -68
  343. package/lib/openapi/v2/services/TaskService.js.map +1 -1
  344. package/lib/openapi/v2/services/UserService.d.ts +3 -3
  345. package/lib/openapi/v2/services/UserService.js +33 -58
  346. package/lib/openapi/v2/services/UserService.js.map +1 -1
  347. package/lib/openapi/v2/services/VersionService.d.ts +14 -14
  348. package/lib/openapi/v2/services/VersionService.js +158 -281
  349. package/lib/openapi/v2/services/VersionService.js.map +1 -1
  350. package/lib/openapi/v2/services/WhiteboardService.d.ts +3 -3
  351. package/lib/openapi/v2/services/WhiteboardService.js +37 -63
  352. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
  353. package/lib/openapi/v2/validationSchemaStorage.d.ts +2 -2
  354. package/lib/openapi/v2/validationSchemaStorage.js +12 -22
  355. package/lib/openapi/v2/validationSchemaStorage.js.map +1 -1
  356. package/package.json +5 -4
@@ -1 +1 @@
1
- {"version":3,"file":"LabelInfoService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LabelInfoService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,mDAG6B;AAC7B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,qCAAiB;IAAvD;;QACE;;;;;;;;;;;;;;WAcG;QACH,uBAAkB,GAAG,CAAC,EACpB,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,GAUN,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,IAAI;oBACJ,IAAI;oBACJ,KAAK;oBACL,KAAK;iBACN;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,8CAA8C,CAC/C,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAcJ,CAAC;IAbW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,8CAA8C,EAC9C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;SACnD,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,8CAAkC,CAAC,CAAC,CAAC;IAC7E,CAAC;CACF;AA9ED,4CA8EC"}
1
+ {"version":3,"file":"LabelInfoService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LabelInfoService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,mDAA4F;AAC5F,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,qCAAiB;IAAvD;;QACE;;;;;;;;;;;;;;WAcG;QACH,uBAAkB,GAAG,CAAC,EACpB,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EAUN,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,IAAI;oBACJ,IAAI;oBACJ,KAAK;oBACL,KAAK;iBACN;aACF,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAIlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,8CAA8C,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpK,CAAC,CAAC;IASJ,CAAC;IARW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CAAC,8CAA8C,EAAE,OAAC,CAAC,MAAM,CAAC;YAClG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;SACnD,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC,CAAC,CAAC;QAC7D,iDAAuB,CAAC,YAAY,CAAC,CAAC,8CAAkC,CAAC,CAAC,CAAC;IAC7E,CAAC;CACF;AA1DD,4CA0DC"}
@@ -20,7 +20,7 @@ export declare class LongRunningTaskService extends CommonHttpService {
20
20
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-id-get
21
21
  * @param params
22
22
  */
23
- getTask: ({ id, }: {
23
+ getTask: ({ id }: {
24
24
  /** The ID of the task. */
25
25
  id: string;
26
26
  }) => Promise<LongTaskStatusWithLinks>;
@@ -38,7 +38,7 @@ export declare class LongRunningTaskService extends CommonHttpService {
38
38
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-get
39
39
  * @param params
40
40
  */
41
- getTasks: ({ key, start, limit, }?: {
41
+ getTasks: ({ key, start, limit }?: {
42
42
  /** The key of the tasks. */
43
43
  key?: string | undefined;
44
44
  /** The starting index of the returned tasks. */
@@ -4,11 +4,11 @@ exports.LongRunningTaskService = void 0;
4
4
  // DO NOT EDIT!
5
5
  // This file is generated by "api-typescript-generator".
6
6
  // To update this file run "yarn build:openapi".
7
- const zod_1 = require("zod");
8
7
  const commonHttpClient = require("../../core/CommonHttpClient");
9
8
  const CommonHttpService_1 = require("../../core/CommonHttpService");
10
9
  const longRunningTask_1 = require("../models/longRunningTask");
11
10
  const validationSchemaStorage_1 = require("../validationSchemaStorage");
11
+ const zod_1 = require("zod");
12
12
  /**
13
13
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task
14
14
  * @category Services
@@ -31,23 +31,18 @@ class LongRunningTaskService extends CommonHttpService_1.CommonHttpService {
31
31
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-id-get
32
32
  * @param params
33
33
  */
34
- this.getTask = ({ id, }) => {
35
- return this.getClientInstance()
36
- .request({
34
+ this.getTask = ({ id }) => {
35
+ return this.getClientInstance().request({
37
36
  path: "/wiki/rest/api/longtask/{id}",
38
37
  method: "GET",
39
38
  pathParams: {
40
- id,
41
- },
42
- })
43
- .then(this.getClientInstance().responseHandler({
39
+ id
40
+ }
41
+ }).then(this.getClientInstance().responseHandler({
44
42
  200: {
45
- "application/json": "json",
46
- },
47
- }))
48
- .then(commonHttpClient.castResponse())
49
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTask.response")))
50
- .then(commonHttpClient.getBody);
43
+ "application/json": "json"
44
+ }
45
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTask.response"))).then(commonHttpClient.getBody);
51
46
  };
52
47
  /**
53
48
  * Returns information about all active long-running tasks (e.g. space export),
@@ -63,45 +58,34 @@ class LongRunningTaskService extends CommonHttpService_1.CommonHttpService {
63
58
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-get
64
59
  * @param params
65
60
  */
66
- this.getTasks = ({ key, start, limit, } = {}) => {
67
- return this.getClientInstance()
68
- .request({
61
+ this.getTasks = ({ key, start, limit } = {}) => {
62
+ return this.getClientInstance().request({
69
63
  path: "/wiki/rest/api/longtask",
70
64
  method: "GET",
71
65
  query: {
72
66
  key,
73
67
  start,
74
- limit,
75
- },
76
- })
77
- .then(this.getClientInstance().responseHandler({
68
+ limit
69
+ }
70
+ }).then(this.getClientInstance().responseHandler({
78
71
  200: {
79
- "application/json": "json",
80
- },
81
- }))
82
- .then(commonHttpClient.castResponse())
83
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTasks.response")))
84
- .then(commonHttpClient.getBody);
72
+ "application/json": "json"
73
+ }
74
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTasks.response"))).then(commonHttpClient.getBody);
85
75
  };
86
76
  }
87
77
  static initialize() {
88
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTasks.response", zod_1.z
89
- .object({
78
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTasks.response", zod_1.z.object({
90
79
  status: zod_1.z.literal(200),
91
80
  mediaType: zod_1.z.literal("application/json"),
92
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusArray"),
93
- })
94
- .describe("LongRunningTaskService.getTasks.response"));
95
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTask.response", zod_1.z
96
- .object({
81
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusArray")
82
+ }).describe("LongRunningTaskService.getTasks.response"));
83
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTask.response", zod_1.z.object({
97
84
  status: zod_1.z.literal(200),
98
85
  mediaType: zod_1.z.literal("application/json"),
99
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusWithLinks"),
100
- })
101
- .describe("LongRunningTaskService.getTask.response"));
102
- validationSchemaStorage_1.validationSchemaStorage.registerOnce([
103
- longRunningTask_1.registerLongRunningTaskValidationSchemas,
104
- ]);
86
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusWithLinks")
87
+ }).describe("LongRunningTaskService.getTask.response"));
88
+ validationSchemaStorage_1.validationSchemaStorage.registerOnce([longRunningTask_1.registerLongRunningTaskValidationSchemas]);
105
89
  }
106
90
  }
107
91
  exports.LongRunningTaskService = LongRunningTaskService;
@@ -1 +1 @@
1
- {"version":3,"file":"LongRunningTaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LongRunningTaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,+DAImC;AACnC,wEAAqE;AACrE;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAA7D;;QACE;;;;;;;;;;;;;;WAcG;QACH,YAAO,GAAG,CAAC,EACT,EAAE,GAIH,EAAoC,EAAE;YACrC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,8BAA8B;gBACpC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,yCAAyC,CAC1C,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,aAAQ,GAAG,CAAC,EACV,GAAG,EACH,KAAK,EACL,KAAK,MAWH,EAAE,EAAgC,EAAE;YACtC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO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 {"version":3,"file":"LongRunningTaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LongRunningTaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,+DAA6I;AAC7I,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAA7D;;QACE;;;;;;;;;;;;;;WAcG;QACH,YAAO,GAAG,CAAC,EACT,EAAE,EAIH,EAAoC,EAAE;YACrC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,8BAA8B;gBACpC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;aACF,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAIlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,yCAAyC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC/J,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,aAAQ,GAAG,CAAC,EACV,GAAG,EACH,KAAK,EACL,KAAK,KAWH,EAAE,EAAgC,EAAE;YACtC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,yBAAyB;gBAC/B,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,GAAG;oBACH,KAAK;oBACL,KAAK;iBACN;aACF,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAIlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,0CAA0C,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAChK,CAAC,CAAC;IAcJ,CAAC;IAbW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CAAC,0CAA0C,EAAE,OAAC,CAAC,MAAM,CAAC;YAC9F,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,qBAAqB,CAAC;SAC1D,CAAC,CAAC,QAAQ,CAAC,0CAA0C,CAAC,CAAC,CAAC;QACzD,iDAAuB,CAAC,kBAAkB,CAAC,yCAAyC,EAAE,OAAC,CAAC,MAAM,CAAC;YAC7F,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,yBAAyB,CAAC;SAC9D,CAAC,CAAC,QAAQ,CAAC,yCAAyC,CAAC,CAAC,CAAC;QACxD,iDAAuB,CAAC,YAAY,CAAC,CAAC,0DAAwC,CAAC,CAAC,CAAC;IACnF,CAAC;CACF;AAlGD,wDAkGC"}
@@ -1,5 +1,5 @@
1
1
  import { CommonHttpService } from "../../core/CommonHttpService";
2
- import { type Relation, type RelationArray } from "../models/relation";
2
+ import { type RelationArray, type Relation } from "../models/relation";
3
3
  /**
4
4
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation
5
5
  * @category Services
@@ -24,7 +24,7 @@ export declare class RelationService extends CommonHttpService {
24
24
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put
25
25
  * @param params
26
26
  */
27
- createRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }: {
27
+ createRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }: {
28
28
  /**
29
29
  * The name of the relationship. This method supports the 'favourite'
30
30
  * (i.e. 'save for later') relationship. You can also specify any other
@@ -39,8 +39,13 @@ export declare class RelationService extends CommonHttpService {
39
39
  /**
40
40
  * - The identifier for the source entity:
41
41
  *
42
- * - If `sourceType` is 'user', then specify either 'current' (logged-in
43
- * user) or the user key.
42
+ * - If `sourceType` is `user`, then specify either `current` (logged-in user),
43
+ * the user key of the user, or
44
+ * the account ID of the user. Note that the user key has been deprecated in favor
45
+ * of the account ID for this parameter. See the
46
+ * [migration
47
+ * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
48
+ * for details.
44
49
  * - If `sourceType` is 'content', then specify the content ID.
45
50
  * - If `sourceType` is 'space', then specify the space key.
46
51
  */
@@ -53,10 +58,15 @@ export declare class RelationService extends CommonHttpService {
53
58
  /**
54
59
  * - The identifier for the target entity:
55
60
  *
56
- * - If `sourceType` is 'user', then specify either 'current' (logged-in
57
- * user) or the user key.
58
- * - If `sourceType` is 'content', then specify the content ID.
59
- * - If `sourceType` is 'space', then specify the space key.
61
+ * - If `targetType` is `user`, then specify either `current` (logged-in user),
62
+ * the user key of the user, or
63
+ * the account ID of the user. Note that the user key has been deprecated in favor
64
+ * of the account ID for this parameter. See the
65
+ * [migration
66
+ * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
67
+ * for details.
68
+ * - If `targetType` is 'content', then specify the content ID.
69
+ * - If `targetType` is 'space', then specify the space key.
60
70
  */
61
71
  targetKey: string;
62
72
  /**
@@ -95,7 +105,7 @@ export declare class RelationService extends CommonHttpService {
95
105
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-delete
96
106
  * @param params
97
107
  */
98
- deleteRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }: {
108
+ deleteRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }: {
99
109
  /** The name of the relationship. */
100
110
  relationName: string;
101
111
  /**
@@ -106,8 +116,13 @@ export declare class RelationService extends CommonHttpService {
106
116
  /**
107
117
  * - The identifier for the source entity:
108
118
  *
109
- * - If `sourceType` is 'user', then specify either 'current' (logged-in
110
- * user) or the user key.
119
+ * - If `sourceType` is `user`, then specify either `current` (logged-in user),
120
+ * the user key of the user, or
121
+ * the account ID of the user. Note that the user key has been deprecated in favor
122
+ * of the account ID for this parameter. See the
123
+ * [migration
124
+ * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
125
+ * for details.
111
126
  * - If `sourceType` is 'content', then specify the content ID.
112
127
  * - If `sourceType` is 'space', then specify the space key.
113
128
  */
@@ -120,10 +135,15 @@ export declare class RelationService extends CommonHttpService {
120
135
  /**
121
136
  * - The identifier for the target entity:
122
137
  *
123
- * - If `sourceType` is 'user', then specify either 'current' (logged-in
124
- * user) or the user key.
125
- * - If `sourceType` is 'content', then specify the content ID.
126
- * - If `sourceType` is 'space', then specify the space key.
138
+ * - If `targetType` is `user`, then specify either `current` (logged-in user),
139
+ * the user key of the user, or
140
+ * the account ID of the user. Note that the user key has been deprecated in favor
141
+ * of the account ID for this parameter. See the
142
+ * [migration
143
+ * guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
144
+ * for details.
145
+ * - If `targetType` is 'content', then specify the content ID.
146
+ * - If `targetType` is 'space', then specify the space key.
127
147
  */
128
148
  targetKey: string;
129
149
  /**
@@ -166,7 +186,7 @@ export declare class RelationService extends CommonHttpService {
166
186
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-to-targettype-targetkey-from-sourcetype-get
167
187
  * @param params
168
188
  */
169
- findSourcesForTarget: ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }: {
189
+ findSourcesForTarget: ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }: {
170
190
  /**
171
191
  * The name of the relationship. This method supports relationships created via
172
192
  * [Create
@@ -249,7 +269,7 @@ export declare class RelationService extends CommonHttpService {
249
269
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-get
250
270
  * @param params
251
271
  */
252
- findTargetFromSource: ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }: {
272
+ findTargetFromSource: ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }: {
253
273
  /**
254
274
  * The name of the relationship. This method supports relationships created via
255
275
  * [Create
@@ -331,7 +351,7 @@ export declare class RelationService extends CommonHttpService {
331
351
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-get
332
352
  * @param params
333
353
  */
334
- getRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, }: {
354
+ getRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand }: {
335
355
  /**
336
356
  * The name of the relationship. This method supports the 'favourite'
337
357
  * (i.e. 'save for later') relationship as well as any other relationship
@@ -4,11 +4,11 @@ exports.RelationService = void 0;
4
4
  // DO NOT EDIT!
5
5
  // This file is generated by "api-typescript-generator".
6
6
  // To update this file run "yarn build:openapi".
7
- const zod_1 = require("zod");
8
7
  const commonHttpClient = require("../../core/CommonHttpClient");
9
8
  const CommonHttpService_1 = require("../../core/CommonHttpService");
10
9
  const relation_1 = require("../models/relation");
11
10
  const validationSchemaStorage_1 = require("../validationSchemaStorage");
11
+ const zod_1 = require("zod");
12
12
  /**
13
13
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation
14
14
  * @category Services
@@ -35,9 +35,8 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
35
35
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put
36
36
  * @param params
37
37
  */
38
- this.createRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }) => {
39
- return this.getClientInstance()
40
- .request({
38
+ this.createRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }) => {
39
+ return this.getClientInstance().request({
41
40
  path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}",
42
41
  method: "PUT",
43
42
  pathParams: {
@@ -45,23 +44,19 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
45
44
  sourceType,
46
45
  sourceKey,
47
46
  targetType,
48
- targetKey,
47
+ targetKey
49
48
  },
50
49
  query: {
51
50
  sourceStatus,
52
51
  targetStatus,
53
52
  sourceVersion,
54
- targetVersion,
55
- },
56
- })
57
- .then(this.getClientInstance().responseHandler({
53
+ targetVersion
54
+ }
55
+ }).then(this.getClientInstance().responseHandler({
58
56
  200: {
59
- "application/json": "json",
60
- },
61
- }))
62
- .then(commonHttpClient.castResponse())
63
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.createRelationship.response")))
64
- .then(commonHttpClient.getBody);
57
+ "application/json": "json"
58
+ }
59
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.createRelationship.response"))).then(commonHttpClient.getBody);
65
60
  };
66
61
  /**
67
62
  * Deletes a relationship between two entities (user, space, content).
@@ -78,9 +73,8 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
78
73
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-delete
79
74
  * @param params
80
75
  */
81
- this.deleteRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, }) => {
82
- return this.getClientInstance()
83
- .request({
76
+ this.deleteRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }) => {
77
+ return this.getClientInstance().request({
84
78
  path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}",
85
79
  method: "DELETE",
86
80
  pathParams: {
@@ -88,16 +82,15 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
88
82
  sourceType,
89
83
  sourceKey,
90
84
  targetType,
91
- targetKey,
85
+ targetKey
92
86
  },
93
87
  query: {
94
88
  sourceStatus,
95
89
  targetStatus,
96
90
  sourceVersion,
97
- targetVersion,
98
- },
99
- })
100
- .then(commonHttpClient.discardResult);
91
+ targetVersion
92
+ }
93
+ }).then(commonHttpClient.discardResult);
101
94
  };
102
95
  /**
103
96
  * Returns all target entities that have a particular relationship to the
@@ -118,16 +111,15 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
118
111
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-to-targettype-targetkey-from-sourcetype-get
119
112
  * @param params
120
113
  */
121
- this.findSourcesForTarget = ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }) => {
122
- return this.getClientInstance()
123
- .request({
114
+ this.findSourcesForTarget = ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }) => {
115
+ return this.getClientInstance().request({
124
116
  path: "/wiki/rest/api/relation/{relationName}/to/{targetType}/{targetKey}/from/{sourceType}",
125
117
  method: "GET",
126
118
  pathParams: {
127
119
  relationName,
128
120
  sourceType,
129
121
  targetType,
130
- targetKey,
122
+ targetKey
131
123
  },
132
124
  query: {
133
125
  sourceStatus,
@@ -136,24 +128,20 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
136
128
  targetVersion,
137
129
  expand,
138
130
  start,
139
- limit,
131
+ limit
140
132
  },
141
133
  parameters: {
142
134
  query: {
143
135
  expand: {
144
- explode: false,
145
- },
146
- },
147
- },
148
- })
149
- .then(this.getClientInstance().responseHandler({
136
+ explode: false
137
+ }
138
+ }
139
+ }
140
+ }).then(this.getClientInstance().responseHandler({
150
141
  200: {
151
- "application/json": "json",
152
- },
153
- }))
154
- .then(commonHttpClient.castResponse())
155
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findSourcesForTarget.response")))
156
- .then(commonHttpClient.getBody);
142
+ "application/json": "json"
143
+ }
144
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findSourcesForTarget.response"))).then(commonHttpClient.getBody);
157
145
  };
158
146
  /**
159
147
  * Returns all target entities that have a particular relationship to the
@@ -174,16 +162,15 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
174
162
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-get
175
163
  * @param params
176
164
  */
177
- this.findTargetFromSource = ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit, }) => {
178
- return this.getClientInstance()
179
- .request({
165
+ this.findTargetFromSource = ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }) => {
166
+ return this.getClientInstance().request({
180
167
  path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}",
181
168
  method: "GET",
182
169
  pathParams: {
183
170
  relationName,
184
171
  sourceType,
185
172
  sourceKey,
186
- targetType,
173
+ targetType
187
174
  },
188
175
  query: {
189
176
  sourceStatus,
@@ -192,24 +179,20 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
192
179
  targetVersion,
193
180
  expand,
194
181
  start,
195
- limit,
182
+ limit
196
183
  },
197
184
  parameters: {
198
185
  query: {
199
186
  expand: {
200
- explode: false,
201
- },
202
- },
203
- },
204
- })
205
- .then(this.getClientInstance().responseHandler({
187
+ explode: false
188
+ }
189
+ }
190
+ }
191
+ }).then(this.getClientInstance().responseHandler({
206
192
  200: {
207
- "application/json": "json",
208
- },
209
- }))
210
- .then(commonHttpClient.castResponse())
211
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findTargetFromSource.response")))
212
- .then(commonHttpClient.getBody);
193
+ "application/json": "json"
194
+ }
195
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findTargetFromSource.response"))).then(commonHttpClient.getBody);
213
196
  };
214
197
  /**
215
198
  * Find whether a particular type of relationship exists from a source
@@ -229,9 +212,8 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
229
212
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-get
230
213
  * @param params
231
214
  */
232
- this.getRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, }) => {
233
- return this.getClientInstance()
234
- .request({
215
+ this.getRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand }) => {
216
+ return this.getClientInstance().request({
235
217
  path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}",
236
218
  method: "GET",
237
219
  pathParams: {
@@ -239,62 +221,50 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
239
221
  sourceType,
240
222
  sourceKey,
241
223
  targetType,
242
- targetKey,
224
+ targetKey
243
225
  },
244
226
  query: {
245
227
  sourceStatus,
246
228
  targetStatus,
247
229
  sourceVersion,
248
230
  targetVersion,
249
- expand,
231
+ expand
250
232
  },
251
233
  parameters: {
252
234
  query: {
253
235
  expand: {
254
- explode: false,
255
- },
256
- },
257
- },
258
- })
259
- .then(this.getClientInstance().responseHandler({
236
+ explode: false
237
+ }
238
+ }
239
+ }
240
+ }).then(this.getClientInstance().responseHandler({
260
241
  200: {
261
- "application/json": "json",
262
- },
263
- }))
264
- .then(commonHttpClient.castResponse())
265
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.getRelationship.response")))
266
- .then(commonHttpClient.getBody);
242
+ "application/json": "json"
243
+ }
244
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.getRelationship.response"))).then(commonHttpClient.getBody);
267
245
  };
268
246
  }
269
247
  static initialize() {
270
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findTargetFromSource.response", zod_1.z
271
- .object({
248
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findTargetFromSource.response", zod_1.z.object({
272
249
  status: zod_1.z.literal(200),
273
250
  mediaType: zod_1.z.literal("application/json"),
274
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray"),
275
- })
276
- .describe("RelationService.findTargetFromSource.response"));
277
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.getRelationship.response", zod_1.z
278
- .object({
251
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray")
252
+ }).describe("RelationService.findTargetFromSource.response"));
253
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.getRelationship.response", zod_1.z.object({
279
254
  status: zod_1.z.literal(200),
280
255
  mediaType: zod_1.z.literal("application/json"),
281
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation"),
282
- })
283
- .describe("RelationService.getRelationship.response"));
284
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.createRelationship.response", zod_1.z
285
- .object({
256
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation")
257
+ }).describe("RelationService.getRelationship.response"));
258
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.createRelationship.response", zod_1.z.object({
286
259
  status: zod_1.z.literal(200),
287
260
  mediaType: zod_1.z.literal("application/json"),
288
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation"),
289
- })
290
- .describe("RelationService.createRelationship.response"));
291
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findSourcesForTarget.response", zod_1.z
292
- .object({
261
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation")
262
+ }).describe("RelationService.createRelationship.response"));
263
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findSourcesForTarget.response", zod_1.z.object({
293
264
  status: zod_1.z.literal(200),
294
265
  mediaType: zod_1.z.literal("application/json"),
295
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray"),
296
- })
297
- .describe("RelationService.findSourcesForTarget.response"));
266
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray")
267
+ }).describe("RelationService.findSourcesForTarget.response"));
298
268
  validationSchemaStorage_1.validationSchemaStorage.registerOnce([relation_1.registerRelationValidationSchemas]);
299
269
  }
300
270
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,iDAI4B;AAC5B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;;;;WAkBG;QACH,uBAAkB,GAAG,CAAC,EACpB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,GAwDd,EAAqB,EAAE;YACtB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,kGAAkG;gBACxG,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,YAAY;oBACZ,UAAU;oBACV,SAAS;oBACT,UAAU;oBACV,SAAS;iBACV;gBACD,KAAK,EAAE;oBACL,YAAY;oBACZ,YAAY;oBACZ,aAAa;oBACb,aAAa;iBACd;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,6CAA6C,CAC9C,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;WAcG;QACH,uBAAkB,GAAG,CAAC,EACpB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,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OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,UAAU,CAAC;SAC/C,CAAC;aACD,QAAQ,CAAC,0CAA0C,CAAC,CACxD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,6CAA6C,EAC7C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,UAAU,CAAC;SAC/C,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,+CAA+C,EAC/C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,eAAe,CAAC;SACpD,CAAC;aACD,QAAQ,CAAC,+CAA+C,CAAC,CAC7D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AAxsBD,0CAwsBC"}
1
+ {"version":3,"file":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,iDAA0G;AAC1G,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;;;;WAkBG;QACH,uBAAkB,GAAG,CAAC,EACpB,YAAY,EACZ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OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,UAAU,CAAC;SAC/C,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC,CAAC,CAAC;QAC5D,iDAAuB,CAAC,kBAAkB,CAAC,+CAA+C,EAAE,OAAC,CAAC,MAAM,CAAC;YACnG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,eAAe,CAAC;SACpD,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC,CAAC,CAAC;QAC9D,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AA1oBD,0CA0oBC"}
@@ -55,9 +55,9 @@ export declare class SearchService extends CommonHttpService {
55
55
  * The response to this will have a `prev` URL similar to the `next` in the
56
56
  * example response.
57
57
  *
58
- * Starting on Dec 10, 2024, if the expand query parameter is used with the
59
- * `body.export_view` and/or `body.styled_view` properties, then the query limit
60
- * parameter will be restricted to a maximum value of 25.
58
+ * If the expand query parameter is used with the `body.export_view` and/or
59
+ * `body.styled_view` properties, then the query limit parameter will be
60
+ * restricted to a maximum value of 25.
61
61
  *
62
62
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
63
63
  * Permission to view the entities. Note, only entities that the user has
@@ -70,7 +70,7 @@ export declare class SearchService extends CommonHttpService {
70
70
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-get
71
71
  * @param params
72
72
  */
73
- searchByCql: ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand, }: {
73
+ searchByCql: ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand }: {
74
74
  /**
75
75
  * The CQL query to be used for the search. See
76
76
  * [Advanced Searching using
@@ -139,7 +139,7 @@ export declare class SearchService extends CommonHttpService {
139
139
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-user-get
140
140
  * @param params
141
141
  */
142
- searchUser: ({ cql, start, limit, expand, sitePermissionTypeFilter, }: {
142
+ searchUser: ({ cql, start, limit, expand, sitePermissionTypeFilter }: {
143
143
  /**
144
144
  * The CQL query to be used for the search. See
145
145
  * [Advanced Searching using