@resolution/confluence-api-client 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE.md +19 -0
  3. package/README.md +12 -0
  4. package/lib/index.d.ts +36 -0
  5. package/lib/index.js +64 -0
  6. package/lib/index.js.map +1 -0
  7. package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +133 -0
  8. package/lib/openapi/v1/BaseConfluenceApiV1Client.js +122 -0
  9. package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -0
  10. package/lib/openapi/v1/core/CommonHttpClient.d.ts +196 -0
  11. package/lib/openapi/v1/core/CommonHttpClient.js +390 -0
  12. package/lib/openapi/v1/core/CommonHttpClient.js.map +1 -0
  13. package/lib/openapi/v1/core/CommonHttpService.d.ts +7 -0
  14. package/lib/openapi/v1/core/CommonHttpService.js +20 -0
  15. package/lib/openapi/v1/core/CommonHttpService.js.map +1 -0
  16. package/lib/openapi/v1/core/CommonValidationSchemaStorage.d.ts +35 -0
  17. package/lib/openapi/v1/core/CommonValidationSchemaStorage.js +65 -0
  18. package/lib/openapi/v1/core/CommonValidationSchemaStorage.js.map +1 -0
  19. package/lib/openapi/v1/models/audit.d.ts +151 -0
  20. package/lib/openapi/v1/models/audit.js +133 -0
  21. package/lib/openapi/v1/models/audit.js.map +1 -0
  22. package/lib/openapi/v1/models/common.d.ts +645 -0
  23. package/lib/openapi/v1/models/common.js +654 -0
  24. package/lib/openapi/v1/models/common.js.map +1 -0
  25. package/lib/openapi/v1/models/content.d.ts +554 -0
  26. package/lib/openapi/v1/models/content.js +613 -0
  27. package/lib/openapi/v1/models/content.js.map +1 -0
  28. package/lib/openapi/v1/models/contentAttachments.d.ts +26 -0
  29. package/lib/openapi/v1/models/contentAttachments.js +33 -0
  30. package/lib/openapi/v1/models/contentAttachments.js.map +1 -0
  31. package/lib/openapi/v1/models/contentBody.d.ts +36 -0
  32. package/lib/openapi/v1/models/contentBody.js +63 -0
  33. package/lib/openapi/v1/models/contentBody.js.map +1 -0
  34. package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +75 -0
  35. package/lib/openapi/v1/models/contentChildrenAndDescendants.js +66 -0
  36. package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -0
  37. package/lib/openapi/v1/models/contentLabels.d.ts +5 -0
  38. package/lib/openapi/v1/models/contentLabels.js +16 -0
  39. package/lib/openapi/v1/models/contentLabels.js.map +1 -0
  40. package/lib/openapi/v1/models/contentMacroBody.d.ts +12 -0
  41. package/lib/openapi/v1/models/contentMacroBody.js +22 -0
  42. package/lib/openapi/v1/models/contentMacroBody.js.map +1 -0
  43. package/lib/openapi/v1/models/contentPermissions.d.ts +41 -0
  44. package/lib/openapi/v1/models/contentPermissions.js +35 -0
  45. package/lib/openapi/v1/models/contentPermissions.js.map +1 -0
  46. package/lib/openapi/v1/models/contentProperties.d.ts +73 -0
  47. package/lib/openapi/v1/models/contentProperties.js +94 -0
  48. package/lib/openapi/v1/models/contentProperties.js.map +1 -0
  49. package/lib/openapi/v1/models/contentRestrictions.d.ts +65 -0
  50. package/lib/openapi/v1/models/contentRestrictions.js +78 -0
  51. package/lib/openapi/v1/models/contentRestrictions.js.map +1 -0
  52. package/lib/openapi/v1/models/contentStates.d.ts +75 -0
  53. package/lib/openapi/v1/models/contentStates.js +72 -0
  54. package/lib/openapi/v1/models/contentStates.js.map +1 -0
  55. package/lib/openapi/v1/models/contentVersions.d.ts +28 -0
  56. package/lib/openapi/v1/models/contentVersions.js +36 -0
  57. package/lib/openapi/v1/models/contentVersions.js.map +1 -0
  58. package/lib/openapi/v1/models/contentWatches.d.ts +89 -0
  59. package/lib/openapi/v1/models/contentWatches.js +81 -0
  60. package/lib/openapi/v1/models/contentWatches.js.map +1 -0
  61. package/lib/openapi/v1/models/dynamicModules.d.ts +62 -0
  62. package/lib/openapi/v1/models/dynamicModules.js +24 -0
  63. package/lib/openapi/v1/models/dynamicModules.js.map +1 -0
  64. package/lib/openapi/v1/models/group.d.ts +9 -0
  65. package/lib/openapi/v1/models/group.js +23 -0
  66. package/lib/openapi/v1/models/group.js.map +1 -0
  67. package/lib/openapi/v1/models/inlineTasks.d.ts +30 -0
  68. package/lib/openapi/v1/models/inlineTasks.js +48 -0
  69. package/lib/openapi/v1/models/inlineTasks.js.map +1 -0
  70. package/lib/openapi/v1/models/labelInfo.d.ts +21 -0
  71. package/lib/openapi/v1/models/labelInfo.js +42 -0
  72. package/lib/openapi/v1/models/labelInfo.js.map +1 -0
  73. package/lib/openapi/v1/models/longRunningTask.d.ts +116 -0
  74. package/lib/openapi/v1/models/longRunningTask.js +82 -0
  75. package/lib/openapi/v1/models/longRunningTask.js.map +1 -0
  76. package/lib/openapi/v1/models/relation.d.ts +30 -0
  77. package/lib/openapi/v1/models/relation.js +61 -0
  78. package/lib/openapi/v1/models/relation.js.map +1 -0
  79. package/lib/openapi/v1/models/search.d.ts +41 -0
  80. package/lib/openapi/v1/models/search.js +65 -0
  81. package/lib/openapi/v1/models/search.js.map +1 -0
  82. package/lib/openapi/v1/models/settings.d.ts +36 -0
  83. package/lib/openapi/v1/models/settings.js +50 -0
  84. package/lib/openapi/v1/models/settings.js.map +1 -0
  85. package/lib/openapi/v1/models/space.d.ts +118 -0
  86. package/lib/openapi/v1/models/space.js +94 -0
  87. package/lib/openapi/v1/models/space.js.map +1 -0
  88. package/lib/openapi/v1/models/spacePermissions.d.ts +128 -0
  89. package/lib/openapi/v1/models/spacePermissions.js +102 -0
  90. package/lib/openapi/v1/models/spacePermissions.js.map +1 -0
  91. package/lib/openapi/v1/models/spaceProperties.d.ts +96 -0
  92. package/lib/openapi/v1/models/spaceProperties.js +93 -0
  93. package/lib/openapi/v1/models/spaceProperties.js.map +1 -0
  94. package/lib/openapi/v1/models/spaceSettings.d.ts +14 -0
  95. package/lib/openapi/v1/models/spaceSettings.js +17 -0
  96. package/lib/openapi/v1/models/spaceSettings.js.map +1 -0
  97. package/lib/openapi/v1/models/template.d.ts +201 -0
  98. package/lib/openapi/v1/models/template.js +163 -0
  99. package/lib/openapi/v1/models/template.js.map +1 -0
  100. package/lib/openapi/v1/models/themes.d.ts +26 -0
  101. package/lib/openapi/v1/models/themes.js +38 -0
  102. package/lib/openapi/v1/models/themes.js.map +1 -0
  103. package/lib/openapi/v1/models/userProperties.d.ts +41 -0
  104. package/lib/openapi/v1/models/userProperties.js +50 -0
  105. package/lib/openapi/v1/models/userProperties.js.map +1 -0
  106. package/lib/openapi/v1/models/users.d.ts +98 -0
  107. package/lib/openapi/v1/models/users.js +87 -0
  108. package/lib/openapi/v1/models/users.js.map +1 -0
  109. package/lib/openapi/v1/services/AnalyticsService.d.ts +54 -0
  110. package/lib/openapi/v1/services/AnalyticsService.js +98 -0
  111. package/lib/openapi/v1/services/AnalyticsService.js.map +1 -0
  112. package/lib/openapi/v1/services/AuditService.d.ts +163 -0
  113. package/lib/openapi/v1/services/AuditService.js +269 -0
  114. package/lib/openapi/v1/services/AuditService.js.map +1 -0
  115. package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +332 -0
  116. package/lib/openapi/v1/services/ContentAttachmentsService.js +362 -0
  117. package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -0
  118. package/lib/openapi/v1/services/ContentBodyService.d.ts +227 -0
  119. package/lib/openapi/v1/services/ContentBodyService.js +178 -0
  120. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -0
  121. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +621 -0
  122. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +453 -0
  123. package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -0
  124. package/lib/openapi/v1/services/ContentCommentsService.d.ts +147 -0
  125. package/lib/openapi/v1/services/ContentCommentsService.js +72 -0
  126. package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -0
  127. package/lib/openapi/v1/services/ContentLabelsService.d.ts +122 -0
  128. package/lib/openapi/v1/services/ContentLabelsService.js +176 -0
  129. package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -0
  130. package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +268 -0
  131. package/lib/openapi/v1/services/ContentMacroBodyService.js +193 -0
  132. package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -0
  133. package/lib/openapi/v1/services/ContentPermissionsService.d.ts +34 -0
  134. package/lib/openapi/v1/services/ContentPermissionsService.js +72 -0
  135. package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -0
  136. package/lib/openapi/v1/services/ContentPropertiesService.d.ts +187 -0
  137. package/lib/openapi/v1/services/ContentPropertiesService.js +285 -0
  138. package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -0
  139. package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +503 -0
  140. package/lib/openapi/v1/services/ContentRestrictionsService.js +552 -0
  141. package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -0
  142. package/lib/openapi/v1/services/ContentService.d.ts +1012 -0
  143. package/lib/openapi/v1/services/ContentService.js +548 -0
  144. package/lib/openapi/v1/services/ContentService.js.map +1 -0
  145. package/lib/openapi/v1/services/ContentStatesService.d.ts +220 -0
  146. package/lib/openapi/v1/services/ContentStatesService.js +439 -0
  147. package/lib/openapi/v1/services/ContentStatesService.js.map +1 -0
  148. package/lib/openapi/v1/services/ContentVersionsService.d.ts +121 -0
  149. package/lib/openapi/v1/services/ContentVersionsService.js +181 -0
  150. package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -0
  151. package/lib/openapi/v1/services/ContentWatchesService.d.ts +550 -0
  152. package/lib/openapi/v1/services/ContentWatchesService.js +502 -0
  153. package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -0
  154. package/lib/openapi/v1/services/DynamicModulesService.d.ts +47 -0
  155. package/lib/openapi/v1/services/DynamicModulesService.js +92 -0
  156. package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -0
  157. package/lib/openapi/v1/services/ExperimentalService.d.ts +113 -0
  158. package/lib/openapi/v1/services/ExperimentalService.js +185 -0
  159. package/lib/openapi/v1/services/ExperimentalService.js.map +1 -0
  160. package/lib/openapi/v1/services/GroupService.d.ts +379 -0
  161. package/lib/openapi/v1/services/GroupService.js +515 -0
  162. package/lib/openapi/v1/services/GroupService.js.map +1 -0
  163. package/lib/openapi/v1/services/InlineTasksService.d.ts +91 -0
  164. package/lib/openapi/v1/services/InlineTasksService.js +155 -0
  165. package/lib/openapi/v1/services/InlineTasksService.js.map +1 -0
  166. package/lib/openapi/v1/services/LabelInfoService.d.ts +28 -0
  167. package/lib/openapi/v1/services/LabelInfoService.js +59 -0
  168. package/lib/openapi/v1/services/LabelInfoService.js.map +1 -0
  169. package/lib/openapi/v1/services/LongRunningTaskService.d.ts +43 -0
  170. package/lib/openapi/v1/services/LongRunningTaskService.js +96 -0
  171. package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -0
  172. package/lib/openapi/v1/services/RelationService.d.ts +404 -0
  173. package/lib/openapi/v1/services/RelationService.js +270 -0
  174. package/lib/openapi/v1/services/RelationService.js.map +1 -0
  175. package/lib/openapi/v1/services/SearchService.d.ts +175 -0
  176. package/lib/openapi/v1/services/SearchService.js +164 -0
  177. package/lib/openapi/v1/services/SearchService.js.map +1 -0
  178. package/lib/openapi/v1/services/SettingsService.d.ts +143 -0
  179. package/lib/openapi/v1/services/SettingsService.js +249 -0
  180. package/lib/openapi/v1/services/SettingsService.js.map +1 -0
  181. package/lib/openapi/v1/services/SpacePermissionsService.d.ts +68 -0
  182. package/lib/openapi/v1/services/SpacePermissionsService.js +121 -0
  183. package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -0
  184. package/lib/openapi/v1/services/SpacePropertiesService.d.ts +161 -0
  185. package/lib/openapi/v1/services/SpacePropertiesService.js +275 -0
  186. package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -0
  187. package/lib/openapi/v1/services/SpaceService.d.ts +479 -0
  188. package/lib/openapi/v1/services/SpaceService.js +394 -0
  189. package/lib/openapi/v1/services/SpaceService.js.map +1 -0
  190. package/lib/openapi/v1/services/SpaceSettingsService.d.ts +40 -0
  191. package/lib/openapi/v1/services/SpaceSettingsService.js +96 -0
  192. package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -0
  193. package/lib/openapi/v1/services/TemplateService.d.ts +163 -0
  194. package/lib/openapi/v1/services/TemplateService.js +259 -0
  195. package/lib/openapi/v1/services/TemplateService.js.map +1 -0
  196. package/lib/openapi/v1/services/ThemesService.d.ts +101 -0
  197. package/lib/openapi/v1/services/ThemesService.js +228 -0
  198. package/lib/openapi/v1/services/ThemesService.js.map +1 -0
  199. package/lib/openapi/v1/services/UserPropertiesService.d.ts +129 -0
  200. package/lib/openapi/v1/services/UserPropertiesService.js +192 -0
  201. package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -0
  202. package/lib/openapi/v1/services/UsersService.d.ts +181 -0
  203. package/lib/openapi/v1/services/UsersService.js +291 -0
  204. package/lib/openapi/v1/services/UsersService.js.map +1 -0
  205. package/lib/openapi/v1/validationSchemaStorage.d.ts +3 -0
  206. package/lib/openapi/v1/validationSchemaStorage.js +144 -0
  207. package/lib/openapi/v1/validationSchemaStorage.js.map +1 -0
  208. package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +88 -0
  209. package/lib/openapi/v2/BaseConfluenceApiV2Client.js +87 -0
  210. package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -0
  211. package/lib/openapi/v2/core/CommonHttpClient.d.ts +196 -0
  212. package/lib/openapi/v2/core/CommonHttpClient.js +390 -0
  213. package/lib/openapi/v2/core/CommonHttpClient.js.map +1 -0
  214. package/lib/openapi/v2/core/CommonHttpService.d.ts +7 -0
  215. package/lib/openapi/v2/core/CommonHttpService.js +20 -0
  216. package/lib/openapi/v2/core/CommonHttpService.js.map +1 -0
  217. package/lib/openapi/v2/core/CommonValidationSchemaStorage.d.ts +35 -0
  218. package/lib/openapi/v2/core/CommonValidationSchemaStorage.js +65 -0
  219. package/lib/openapi/v2/core/CommonValidationSchemaStorage.js.map +1 -0
  220. package/lib/openapi/v2/models/ancestors.d.ts +11 -0
  221. package/lib/openapi/v2/models/ancestors.js +21 -0
  222. package/lib/openapi/v2/models/ancestors.js.map +1 -0
  223. package/lib/openapi/v2/models/attachment.d.ts +148 -0
  224. package/lib/openapi/v2/models/attachment.js +116 -0
  225. package/lib/openapi/v2/models/attachment.js.map +1 -0
  226. package/lib/openapi/v2/models/blogPost.d.ts +106 -0
  227. package/lib/openapi/v2/models/blogPost.js +134 -0
  228. package/lib/openapi/v2/models/blogPost.js.map +1 -0
  229. package/lib/openapi/v2/models/children.d.ts +29 -0
  230. package/lib/openapi/v2/models/children.js +38 -0
  231. package/lib/openapi/v2/models/children.js.map +1 -0
  232. package/lib/openapi/v2/models/classificationLevel.d.ts +28 -0
  233. package/lib/openapi/v2/models/classificationLevel.js +45 -0
  234. package/lib/openapi/v2/models/classificationLevel.js.map +1 -0
  235. package/lib/openapi/v2/models/comment.d.ts +396 -0
  236. package/lib/openapi/v2/models/comment.js +378 -0
  237. package/lib/openapi/v2/models/comment.js.map +1 -0
  238. package/lib/openapi/v2/models/common.d.ts +200 -0
  239. package/lib/openapi/v2/models/common.js +225 -0
  240. package/lib/openapi/v2/models/common.js.map +1 -0
  241. package/lib/openapi/v2/models/content.d.ts +16 -0
  242. package/lib/openapi/v2/models/content.js +29 -0
  243. package/lib/openapi/v2/models/content.js.map +1 -0
  244. package/lib/openapi/v2/models/contentProperties.d.ts +33 -0
  245. package/lib/openapi/v2/models/contentProperties.js +33 -0
  246. package/lib/openapi/v2/models/contentProperties.js.map +1 -0
  247. package/lib/openapi/v2/models/customContent.d.ts +174 -0
  248. package/lib/openapi/v2/models/customContent.js +163 -0
  249. package/lib/openapi/v2/models/customContent.js.map +1 -0
  250. package/lib/openapi/v2/models/dataPolicies.d.ts +34 -0
  251. package/lib/openapi/v2/models/dataPolicies.js +38 -0
  252. package/lib/openapi/v2/models/dataPolicies.js.map +1 -0
  253. package/lib/openapi/v2/models/database.d.ts +35 -0
  254. package/lib/openapi/v2/models/database.js +38 -0
  255. package/lib/openapi/v2/models/database.js.map +1 -0
  256. package/lib/openapi/v2/models/operation.d.ts +8 -0
  257. package/lib/openapi/v2/models/operation.js +21 -0
  258. package/lib/openapi/v2/models/operation.js.map +1 -0
  259. package/lib/openapi/v2/models/page.d.ts +124 -0
  260. package/lib/openapi/v2/models/page.js +143 -0
  261. package/lib/openapi/v2/models/page.js.map +1 -0
  262. package/lib/openapi/v2/models/smartLink.d.ts +38 -0
  263. package/lib/openapi/v2/models/smartLink.js +38 -0
  264. package/lib/openapi/v2/models/smartLink.js.map +1 -0
  265. package/lib/openapi/v2/models/space.d.ts +87 -0
  266. package/lib/openapi/v2/models/space.js +100 -0
  267. package/lib/openapi/v2/models/space.js.map +1 -0
  268. package/lib/openapi/v2/models/spaceProperties.d.ts +27 -0
  269. package/lib/openapi/v2/models/spaceProperties.js +32 -0
  270. package/lib/openapi/v2/models/spaceProperties.js.map +1 -0
  271. package/lib/openapi/v2/models/task.d.ts +39 -0
  272. package/lib/openapi/v2/models/task.js +39 -0
  273. package/lib/openapi/v2/models/task.js.map +1 -0
  274. package/lib/openapi/v2/models/version.d.ts +139 -0
  275. package/lib/openapi/v2/models/version.js +91 -0
  276. package/lib/openapi/v2/models/version.js.map +1 -0
  277. package/lib/openapi/v2/models/whiteboard.d.ts +37 -0
  278. package/lib/openapi/v2/models/whiteboard.js +39 -0
  279. package/lib/openapi/v2/models/whiteboard.js.map +1 -0
  280. package/lib/openapi/v2/services/AncestorsService.d.ts +143 -0
  281. package/lib/openapi/v2/services/AncestorsService.js +245 -0
  282. package/lib/openapi/v2/services/AncestorsService.js.map +1 -0
  283. package/lib/openapi/v2/services/AttachmentService.d.ts +307 -0
  284. package/lib/openapi/v2/services/AttachmentService.js +370 -0
  285. package/lib/openapi/v2/services/AttachmentService.js.map +1 -0
  286. package/lib/openapi/v2/services/BlogPostService.d.ts +386 -0
  287. package/lib/openapi/v2/services/BlogPostService.js +379 -0
  288. package/lib/openapi/v2/services/BlogPostService.js.map +1 -0
  289. package/lib/openapi/v2/services/ChildrenService.d.ts +85 -0
  290. package/lib/openapi/v2/services/ChildrenService.js +127 -0
  291. package/lib/openapi/v2/services/ChildrenService.js.map +1 -0
  292. package/lib/openapi/v2/services/ClassificationLevelService.d.ts +213 -0
  293. package/lib/openapi/v2/services/ClassificationLevelService.js +340 -0
  294. package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -0
  295. package/lib/openapi/v2/services/CommentService.d.ts +713 -0
  296. package/lib/openapi/v2/services/CommentService.js +884 -0
  297. package/lib/openapi/v2/services/CommentService.js.map +1 -0
  298. package/lib/openapi/v2/services/ContentPropertiesService.d.ts +844 -0
  299. package/lib/openapi/v2/services/ContentPropertiesService.js +1514 -0
  300. package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -0
  301. package/lib/openapi/v2/services/ContentService.d.ts +31 -0
  302. package/lib/openapi/v2/services/ContentService.js +62 -0
  303. package/lib/openapi/v2/services/ContentService.js.map +1 -0
  304. package/lib/openapi/v2/services/CustomContentService.d.ts +427 -0
  305. package/lib/openapi/v2/services/CustomContentService.js +423 -0
  306. package/lib/openapi/v2/services/CustomContentService.js.map +1 -0
  307. package/lib/openapi/v2/services/DataPoliciesService.d.ts +64 -0
  308. package/lib/openapi/v2/services/DataPoliciesService.js +108 -0
  309. package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -0
  310. package/lib/openapi/v2/services/DatabaseService.d.ts +82 -0
  311. package/lib/openapi/v2/services/DatabaseService.js +135 -0
  312. package/lib/openapi/v2/services/DatabaseService.js.map +1 -0
  313. package/lib/openapi/v2/services/LabelService.d.ts +271 -0
  314. package/lib/openapi/v2/services/LabelService.js +384 -0
  315. package/lib/openapi/v2/services/LabelService.js.map +1 -0
  316. package/lib/openapi/v2/services/LikeService.d.ts +205 -0
  317. package/lib/openapi/v2/services/LikeService.js +358 -0
  318. package/lib/openapi/v2/services/LikeService.js.map +1 -0
  319. package/lib/openapi/v2/services/OperationService.d.ts +154 -0
  320. package/lib/openapi/v2/services/OperationService.js +374 -0
  321. package/lib/openapi/v2/services/OperationService.js.map +1 -0
  322. package/lib/openapi/v2/services/PageService.d.ts +408 -0
  323. package/lib/openapi/v2/services/PageService.js +381 -0
  324. package/lib/openapi/v2/services/PageService.js.map +1 -0
  325. package/lib/openapi/v2/services/SmartLinkService.d.ts +84 -0
  326. package/lib/openapi/v2/services/SmartLinkService.js +137 -0
  327. package/lib/openapi/v2/services/SmartLinkService.js.map +1 -0
  328. package/lib/openapi/v2/services/SpacePermissionsService.d.ts +36 -0
  329. package/lib/openapi/v2/services/SpacePermissionsService.js +66 -0
  330. package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -0
  331. package/lib/openapi/v2/services/SpacePropertiesService.d.ts +118 -0
  332. package/lib/openapi/v2/services/SpacePropertiesService.js +213 -0
  333. package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -0
  334. package/lib/openapi/v2/services/SpaceService.d.ts +141 -0
  335. package/lib/openapi/v2/services/SpaceService.js +133 -0
  336. package/lib/openapi/v2/services/SpaceService.js.map +1 -0
  337. package/lib/openapi/v2/services/TaskService.d.ts +184 -0
  338. package/lib/openapi/v2/services/TaskService.js +165 -0
  339. package/lib/openapi/v2/services/TaskService.js.map +1 -0
  340. package/lib/openapi/v2/services/UserService.d.ts +51 -0
  341. package/lib/openapi/v2/services/UserService.js +83 -0
  342. package/lib/openapi/v2/services/UserService.js.map +1 -0
  343. package/lib/openapi/v2/services/VersionService.d.ts +350 -0
  344. package/lib/openapi/v2/services/VersionService.js +541 -0
  345. package/lib/openapi/v2/services/VersionService.js.map +1 -0
  346. package/lib/openapi/v2/services/WhiteboardService.d.ts +82 -0
  347. package/lib/openapi/v2/services/WhiteboardService.js +135 -0
  348. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -0
  349. package/lib/openapi/v2/validationSchemaStorage.d.ts +3 -0
  350. package/lib/openapi/v2/validationSchemaStorage.js +144 -0
  351. package/lib/openapi/v2/validationSchemaStorage.js.map +1 -0
  352. package/package.json +44 -0
@@ -0,0 +1,220 @@
1
+ import { CommonHttpService } from "../core/CommonHttpService";
2
+ import { type AsyncId, type ContentArray } from "../models/common";
3
+ import { type AvailableContentStates, type ContentState, type ContentStateBulkSetTaskUpdate, type ContentStateResponse, type ContentStateRestInput, type ContentStateSettings } from "../models/contentStates";
4
+ export declare class ContentStatesService extends CommonHttpService {
5
+ /**
6
+ * Creates a long running task that Removes content state from draft or published
7
+ * versions of pages specified.
8
+ *
9
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**
10
+ * Content Edit Permission for a content to have its state removed via this
11
+ * endpoint.
12
+ *
13
+ * @deprecated
14
+ * @returns Returned if a task to remove content states is created. Returns the taskId.
15
+ * This task id can be passed into /wiki/rest/api/content-states/task/{taskId}
16
+ * @path {POST} /wiki/rest/api/content-states/delete
17
+ * @scopes-current write:confluence-content
18
+ * @scopes-beta write:content:confluence, read:content-details:confluence
19
+ */
20
+ bulkRemoveContentStates({ status, requestBody, }: {
21
+ /** Set status to one of [current,draft]. */
22
+ status: "current" | "draft";
23
+ requestBody: unknown;
24
+ }): Promise<AsyncId>;
25
+ /**
26
+ * Gets content states that are available for the content to be set as.
27
+ * Will return all enabled Space Content States.
28
+ * Will only return most the 3 most recently published custom content states to
29
+ * match UI editor list.
30
+ * To get all custom content states, use the /content-states endpoint.
31
+ *
32
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
33
+ * Permission to edit the content.
34
+ *
35
+ * @returns Returned if the content is found and permission is valid.
36
+ * @path {GET} /wiki/rest/api/content/{id}/state/available
37
+ * @scopes-current write:confluence-content
38
+ * @scopes-beta write:content:confluence
39
+ */
40
+ getAvailableContentStates({ id, }: {
41
+ /** id of content to get available states for */
42
+ id: string;
43
+ }): Promise<AvailableContentStates>;
44
+ /**
45
+ * Gets the current content state of the draft or current version of content. To
46
+ * specify the draft version, set
47
+ * the parameter status to draft, otherwise archived or current will get the
48
+ * relevant published state.
49
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
50
+ * Permission to view the content.
51
+ *
52
+ * @returns Returned if permission allows viewing of content.
53
+ * @path {GET} /wiki/rest/api/content/{id}/state
54
+ * @scopes-current read:confluence-content.summary
55
+ * @scopes-beta read:content-details:confluence
56
+ */
57
+ getContentState({ id, status, }: {
58
+ /** The id of the content whose content state is of interest. */
59
+ id: string;
60
+ /** Set status to one of [current,draft,archived]. Default value is current. */
61
+ status?: "current" | "draft" | "archived";
62
+ }): Promise<ContentStateResponse>;
63
+ /**
64
+ * Get object describing whether content states are allowed at all, if custom
65
+ * content states or space content states
66
+ * are restricted, and a list of space content states allowed for the space if
67
+ * they are not restricted.
68
+ *
69
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
70
+ * 'Admin' permission for the space.
71
+ *
72
+ * @returns Returned if the requested space exists, and user has space admin permission.
73
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/state/settings
74
+ * @scopes-current read:confluence-space.summary
75
+ * @scopes-beta read:space.setting:confluence
76
+ */
77
+ getContentStateSettings({ spaceKey, }: {
78
+ /** The key of the space to be queried for its content state settings. */
79
+ spaceKey: string;
80
+ }): Promise<ContentStateSettings>;
81
+ /**
82
+ * Returns all content that has the provided content state in a space.
83
+ *
84
+ * Starting on Dec 10, 2024, if the expand query parameter is used with the
85
+ * `body.export_view` and/or `body.styled_view` properties, then the query limit
86
+ * parameter will be restricted to a maximum value of 25.
87
+ *
88
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
89
+ * 'View' permission for the space.
90
+ *
91
+ * @returns Returned if search was successful.
92
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/state/content
93
+ * @scopes-current read:confluence-content.all
94
+ * @scopes-beta read:content:confluence
95
+ */
96
+ getContentsWithState({ spaceKey, stateId, expand, limit, start, }: {
97
+ /** The key of the space to be queried for its content state settings. */
98
+ spaceKey: string;
99
+ /** The id of the content state to filter content by */
100
+ stateId: number;
101
+ /**
102
+ * A multi-value parameter indicating which properties of the content to expand.
103
+ * Options include: space, version, history, children, etc.
104
+ *
105
+ * Ex: space,version
106
+ */
107
+ expand?: string[];
108
+ /** Maximum number of results to return */
109
+ limit?: number;
110
+ /** Number of result to start returning. (0 indexed) */
111
+ start?: number;
112
+ }): Promise<ContentArray>;
113
+ /**
114
+ * Get custom content states that authenticated user has created.
115
+ *
116
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**
117
+ * Must have user authentication.
118
+ *
119
+ * @returns Custom Content States that user has crated. Returned if user authenticated.
120
+ * @path {GET} /wiki/rest/api/content-states
121
+ * @scopes-current read:user.property:confluence
122
+ * @scopes-beta read:user.property:confluence
123
+ */
124
+ getCustomContentStates(): Promise<ContentState[]>;
125
+ /**
126
+ * Get content states that are suggested in the space.
127
+ *
128
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
129
+ * 'View' permission for the space.
130
+ *
131
+ * @returns Returned if the requested space exists, and user has space view permission.
132
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/state
133
+ * @scopes-current read:confluence-space.summary
134
+ * @scopes-beta read:space.setting:confluence
135
+ */
136
+ getSpaceContentStates({ spaceKey, }: {
137
+ /** The key of the space to be queried for its content state settings. */
138
+ spaceKey: string;
139
+ }): Promise<ContentState[]>;
140
+ /**
141
+ * Get Status of long running task that was previously created to remove content
142
+ * states from content.
143
+ * User must first create a task by passing in details to the
144
+ * /wiki/rest/api/content-states DELETE endpoint.
145
+ *
146
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**
147
+ * Must have created long running task
148
+ *
149
+ * @deprecated
150
+ * @returns Task found. State of task is returned
151
+ * @path {GET} /wiki/rest/api/content-states/task/{taskId}
152
+ * @scopes-current read:confluence-content
153
+ * @scopes-beta read:content:confluence
154
+ */
155
+ getTaskUpdate({ taskId, }: {
156
+ /** taskId returned by delete requests to /wiki/rest/api/content-states */
157
+ taskId: string;
158
+ }): Promise<ContentStateBulkSetTaskUpdate>;
159
+ /**
160
+ * Removes the content state of the content specified and creates a new version
161
+ * (publishes the content without changing the body) of the content with the new
162
+ * status.
163
+ *
164
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
165
+ * Permission to edit the content.
166
+ *
167
+ * @returns Returned if content state is removed from content.
168
+ * @path {DELETE} /wiki/rest/api/content/{id}/state
169
+ * @scopes-current write:confluence-content
170
+ * @scopes-beta write:content:confluence, read:content-details:confluence
171
+ */
172
+ removeContentState({ id, status, }: {
173
+ /** The Id of the content whose content state is to be set. */
174
+ id: string;
175
+ /** status of content state from which to delete state. Can be draft or archived */
176
+ status?: "current" | "draft";
177
+ }): Promise<ContentStateResponse>;
178
+ /**
179
+ * Sets the content state of the content specified and creates a new version
180
+ * (publishes the content without changing the body) of the content with the new
181
+ * state.
182
+ *
183
+ * You may pass in either an id of a state, or the name and color of a desired new
184
+ * state.
185
+ * If all 3 are passed in, id will be used.
186
+ * If the name and color passed in already exist under the current user's existing
187
+ * custom states, the existing state will be reused.
188
+ * If custom states are disabled in the space of the content (which can be
189
+ * determined by getting the content state space settings of the content's space)
190
+ * then this set will fail.
191
+ *
192
+ * You may not remove a content state via this PUT request. You must use the
193
+ * DELETE method. A specified state is required in the body of this request.
194
+ *
195
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
196
+ * Permission to edit the content.
197
+ *
198
+ * @returns Returned if content state is set successfully.
199
+ * @path {PUT} /wiki/rest/api/content/{id}/state
200
+ * @scopes-current write:confluence-content
201
+ * @scopes-beta write:content:confluence, read:content-details:confluence
202
+ */
203
+ setContentState({ id, status, contentStateRestInput, }: {
204
+ /** The Id of the content whose content state is to be set. */
205
+ id: string;
206
+ /**
207
+ * Status of content onto which state will be placed. If draft, then draft state
208
+ * will change.
209
+ * If current, state will be placed onto a new version of the content with same
210
+ * body as previous version.
211
+ */
212
+ status?: "current" | "draft";
213
+ /**
214
+ * Content state fields for state. Pass in id for an existing state, or new name
215
+ * and color for best matching existing state, or new state if allowed in space.
216
+ */
217
+ contentStateRestInput: ContentStateRestInput;
218
+ }): Promise<ContentStateResponse>;
219
+ static initialize(): void;
220
+ }
@@ -0,0 +1,439 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContentStatesService = void 0;
4
+ // DO NOT EDIT!
5
+ // This file is generated by "api-typescript-generator".
6
+ // To update this file run "yarn build:openapi".
7
+ const zod_1 = require("zod");
8
+ const commonHttpClient = require("../core/CommonHttpClient");
9
+ const CommonHttpService_1 = require("../core/CommonHttpService");
10
+ const common_1 = require("../models/common");
11
+ const contentStates_1 = require("../models/contentStates");
12
+ const validationSchemaStorage_1 = require("../validationSchemaStorage");
13
+ class ContentStatesService extends CommonHttpService_1.CommonHttpService {
14
+ /**
15
+ * Creates a long running task that Removes content state from draft or published
16
+ * versions of pages specified.
17
+ *
18
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**
19
+ * Content Edit Permission for a content to have its state removed via this
20
+ * endpoint.
21
+ *
22
+ * @deprecated
23
+ * @returns Returned if a task to remove content states is created. Returns the taskId.
24
+ * This task id can be passed into /wiki/rest/api/content-states/task/{taskId}
25
+ * @path {POST} /wiki/rest/api/content-states/delete
26
+ * @scopes-current write:confluence-content
27
+ * @scopes-beta write:content:confluence, read:content-details:confluence
28
+ */
29
+ bulkRemoveContentStates({ status, requestBody, }) {
30
+ return this.getClientInstance()
31
+ .request({
32
+ path: "/wiki/rest/api/content-states/delete",
33
+ method: "POST",
34
+ query: {
35
+ status,
36
+ },
37
+ headers: {
38
+ "Content-Type": "application/json",
39
+ },
40
+ body: requestBody,
41
+ })
42
+ .then(this.getClientInstance().responseHandler({
43
+ 200: {
44
+ "application/json": "json",
45
+ },
46
+ }))
47
+ .then(commonHttpClient.castResponse())
48
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.bulkRemoveContentStates.response"))
49
+ .then(commonHttpClient.getBody);
50
+ }
51
+ /**
52
+ * Gets content states that are available for the content to be set as.
53
+ * Will return all enabled Space Content States.
54
+ * Will only return most the 3 most recently published custom content states to
55
+ * match UI editor list.
56
+ * To get all custom content states, use the /content-states endpoint.
57
+ *
58
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
59
+ * Permission to edit the content.
60
+ *
61
+ * @returns Returned if the content is found and permission is valid.
62
+ * @path {GET} /wiki/rest/api/content/{id}/state/available
63
+ * @scopes-current write:confluence-content
64
+ * @scopes-beta write:content:confluence
65
+ */
66
+ getAvailableContentStates({ id, }) {
67
+ return this.getClientInstance()
68
+ .request({
69
+ path: "/wiki/rest/api/content/{id}/state/available",
70
+ method: "GET",
71
+ pathParams: {
72
+ id,
73
+ },
74
+ })
75
+ .then(this.getClientInstance().responseHandler({
76
+ 200: {
77
+ "application/json": "json",
78
+ },
79
+ }))
80
+ .then(commonHttpClient.castResponse())
81
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.getAvailableContentStates.response"))
82
+ .then(commonHttpClient.getBody);
83
+ }
84
+ /**
85
+ * Gets the current content state of the draft or current version of content. To
86
+ * specify the draft version, set
87
+ * the parameter status to draft, otherwise archived or current will get the
88
+ * relevant published state.
89
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
90
+ * Permission to view the content.
91
+ *
92
+ * @returns Returned if permission allows viewing of content.
93
+ * @path {GET} /wiki/rest/api/content/{id}/state
94
+ * @scopes-current read:confluence-content.summary
95
+ * @scopes-beta read:content-details:confluence
96
+ */
97
+ getContentState({ id, status, }) {
98
+ return this.getClientInstance()
99
+ .request({
100
+ path: "/wiki/rest/api/content/{id}/state",
101
+ method: "GET",
102
+ pathParams: {
103
+ id,
104
+ },
105
+ query: {
106
+ status,
107
+ },
108
+ })
109
+ .then(this.getClientInstance().responseHandler({
110
+ 200: {
111
+ "application/json": "json",
112
+ },
113
+ }))
114
+ .then(commonHttpClient.castResponse())
115
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.getContentState.response"))
116
+ .then(commonHttpClient.getBody);
117
+ }
118
+ /**
119
+ * Get object describing whether content states are allowed at all, if custom
120
+ * content states or space content states
121
+ * are restricted, and a list of space content states allowed for the space if
122
+ * they are not restricted.
123
+ *
124
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
125
+ * 'Admin' permission for the space.
126
+ *
127
+ * @returns Returned if the requested space exists, and user has space admin permission.
128
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/state/settings
129
+ * @scopes-current read:confluence-space.summary
130
+ * @scopes-beta read:space.setting:confluence
131
+ */
132
+ getContentStateSettings({ spaceKey, }) {
133
+ return this.getClientInstance()
134
+ .request({
135
+ path: "/wiki/rest/api/space/{spaceKey}/state/settings",
136
+ method: "GET",
137
+ pathParams: {
138
+ spaceKey,
139
+ },
140
+ })
141
+ .then(this.getClientInstance().responseHandler({
142
+ 200: {
143
+ "application/json": "json",
144
+ },
145
+ }))
146
+ .then(commonHttpClient.castResponse())
147
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.getContentStateSettings.response"))
148
+ .then(commonHttpClient.getBody);
149
+ }
150
+ /**
151
+ * Returns all content that has the provided content state in a space.
152
+ *
153
+ * Starting on Dec 10, 2024, if the expand query parameter is used with the
154
+ * `body.export_view` and/or `body.styled_view` properties, then the query limit
155
+ * parameter will be restricted to a maximum value of 25.
156
+ *
157
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
158
+ * 'View' permission for the space.
159
+ *
160
+ * @returns Returned if search was successful.
161
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/state/content
162
+ * @scopes-current read:confluence-content.all
163
+ * @scopes-beta read:content:confluence
164
+ */
165
+ getContentsWithState({ spaceKey, stateId, expand, limit, start, }) {
166
+ return this.getClientInstance()
167
+ .request({
168
+ path: "/wiki/rest/api/space/{spaceKey}/state/content",
169
+ method: "GET",
170
+ pathParams: {
171
+ spaceKey,
172
+ },
173
+ query: {
174
+ "state-id": stateId,
175
+ expand,
176
+ limit,
177
+ start,
178
+ },
179
+ })
180
+ .then(this.getClientInstance().responseHandler({
181
+ 200: {
182
+ "application/json": "json",
183
+ },
184
+ }))
185
+ .then(commonHttpClient.castResponse())
186
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.getContentsWithState.response"))
187
+ .then(commonHttpClient.getBody);
188
+ }
189
+ /**
190
+ * Get custom content states that authenticated user has created.
191
+ *
192
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**
193
+ * Must have user authentication.
194
+ *
195
+ * @returns Custom Content States that user has crated. Returned if user authenticated.
196
+ * @path {GET} /wiki/rest/api/content-states
197
+ * @scopes-current read:user.property:confluence
198
+ * @scopes-beta read:user.property:confluence
199
+ */
200
+ getCustomContentStates() {
201
+ return this.getClientInstance()
202
+ .request({
203
+ path: "/wiki/rest/api/content-states",
204
+ method: "GET",
205
+ })
206
+ .then(this.getClientInstance().responseHandler({
207
+ 200: {
208
+ "application/json": "json",
209
+ },
210
+ }))
211
+ .then(commonHttpClient.castResponse())
212
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.getCustomContentStates.response"))
213
+ .then(commonHttpClient.getBody);
214
+ }
215
+ /**
216
+ * Get content states that are suggested in the space.
217
+ *
218
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
219
+ * 'View' permission for the space.
220
+ *
221
+ * @returns Returned if the requested space exists, and user has space view permission.
222
+ * @path {GET} /wiki/rest/api/space/{spaceKey}/state
223
+ * @scopes-current read:confluence-space.summary
224
+ * @scopes-beta read:space.setting:confluence
225
+ */
226
+ getSpaceContentStates({ spaceKey, }) {
227
+ return this.getClientInstance()
228
+ .request({
229
+ path: "/wiki/rest/api/space/{spaceKey}/state",
230
+ method: "GET",
231
+ pathParams: {
232
+ spaceKey,
233
+ },
234
+ })
235
+ .then(this.getClientInstance().responseHandler({
236
+ 200: {
237
+ "application/json": "json",
238
+ },
239
+ }))
240
+ .then(commonHttpClient.castResponse())
241
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.getSpaceContentStates.response"))
242
+ .then(commonHttpClient.getBody);
243
+ }
244
+ /**
245
+ * Get Status of long running task that was previously created to remove content
246
+ * states from content.
247
+ * User must first create a task by passing in details to the
248
+ * /wiki/rest/api/content-states DELETE endpoint.
249
+ *
250
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**
251
+ * Must have created long running task
252
+ *
253
+ * @deprecated
254
+ * @returns Task found. State of task is returned
255
+ * @path {GET} /wiki/rest/api/content-states/task/{taskId}
256
+ * @scopes-current read:confluence-content
257
+ * @scopes-beta read:content:confluence
258
+ */
259
+ getTaskUpdate({ taskId, }) {
260
+ return this.getClientInstance()
261
+ .request({
262
+ path: "/wiki/rest/api/content-states/task/{taskId}",
263
+ method: "GET",
264
+ pathParams: {
265
+ taskId,
266
+ },
267
+ })
268
+ .then(this.getClientInstance().responseHandler({
269
+ 200: {
270
+ "application/json": "json",
271
+ },
272
+ }))
273
+ .then(commonHttpClient.castResponse())
274
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.getTaskUpdate.response"))
275
+ .then(commonHttpClient.getBody);
276
+ }
277
+ /**
278
+ * Removes the content state of the content specified and creates a new version
279
+ * (publishes the content without changing the body) of the content with the new
280
+ * status.
281
+ *
282
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
283
+ * Permission to edit the content.
284
+ *
285
+ * @returns Returned if content state is removed from content.
286
+ * @path {DELETE} /wiki/rest/api/content/{id}/state
287
+ * @scopes-current write:confluence-content
288
+ * @scopes-beta write:content:confluence, read:content-details:confluence
289
+ */
290
+ removeContentState({ id, status, }) {
291
+ return this.getClientInstance()
292
+ .request({
293
+ path: "/wiki/rest/api/content/{id}/state",
294
+ method: "DELETE",
295
+ pathParams: {
296
+ id,
297
+ },
298
+ query: {
299
+ status,
300
+ },
301
+ })
302
+ .then(this.getClientInstance().responseHandler({
303
+ 200: {
304
+ "application/json": "json",
305
+ },
306
+ }))
307
+ .then(commonHttpClient.castResponse())
308
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.removeContentState.response"))
309
+ .then(commonHttpClient.getBody);
310
+ }
311
+ /**
312
+ * Sets the content state of the content specified and creates a new version
313
+ * (publishes the content without changing the body) of the content with the new
314
+ * state.
315
+ *
316
+ * You may pass in either an id of a state, or the name and color of a desired new
317
+ * state.
318
+ * If all 3 are passed in, id will be used.
319
+ * If the name and color passed in already exist under the current user's existing
320
+ * custom states, the existing state will be reused.
321
+ * If custom states are disabled in the space of the content (which can be
322
+ * determined by getting the content state space settings of the content's space)
323
+ * then this set will fail.
324
+ *
325
+ * You may not remove a content state via this PUT request. You must use the
326
+ * DELETE method. A specified state is required in the body of this request.
327
+ *
328
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
329
+ * Permission to edit the content.
330
+ *
331
+ * @returns Returned if content state is set successfully.
332
+ * @path {PUT} /wiki/rest/api/content/{id}/state
333
+ * @scopes-current write:confluence-content
334
+ * @scopes-beta write:content:confluence, read:content-details:confluence
335
+ */
336
+ setContentState({ id, status, contentStateRestInput, }) {
337
+ return this.getClientInstance()
338
+ .request({
339
+ path: "/wiki/rest/api/content/{id}/state",
340
+ method: "PUT",
341
+ pathParams: {
342
+ id,
343
+ },
344
+ query: {
345
+ status,
346
+ },
347
+ headers: {
348
+ "Content-Type": "application/json",
349
+ },
350
+ body: contentStateRestInput,
351
+ })
352
+ .then(this.getClientInstance().responseHandler({
353
+ 200: {
354
+ "application/json": "json",
355
+ },
356
+ }))
357
+ .then(commonHttpClient.castResponse())
358
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ContentStatesService.setContentState.response"))
359
+ .then(commonHttpClient.getBody);
360
+ }
361
+ static initialize() {
362
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.getCustomContentStates.response", zod_1.z
363
+ .object({
364
+ status: zod_1.z.literal(200),
365
+ mediaType: zod_1.z.literal("application/json"),
366
+ body: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentState")),
367
+ })
368
+ .describe("ContentStatesService.getCustomContentStates.response"));
369
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.bulkRemoveContentStates.response", zod_1.z
370
+ .object({
371
+ status: zod_1.z.literal(200),
372
+ mediaType: zod_1.z.literal("application/json"),
373
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("AsyncId"),
374
+ })
375
+ .describe("ContentStatesService.bulkRemoveContentStates.response"));
376
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.getTaskUpdate.response", zod_1.z
377
+ .object({
378
+ status: zod_1.z.literal(200),
379
+ mediaType: zod_1.z.literal("application/json"),
380
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentStateBulkSetTaskUpdate"),
381
+ })
382
+ .describe("ContentStatesService.getTaskUpdate.response"));
383
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.getContentState.response", zod_1.z
384
+ .object({
385
+ status: zod_1.z.literal(200),
386
+ mediaType: zod_1.z.literal("application/json"),
387
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentStateResponse"),
388
+ })
389
+ .describe("ContentStatesService.getContentState.response"));
390
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.setContentState.response", zod_1.z
391
+ .object({
392
+ status: zod_1.z.literal(200),
393
+ mediaType: zod_1.z.literal("application/json"),
394
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentStateResponse"),
395
+ })
396
+ .describe("ContentStatesService.setContentState.response"));
397
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.removeContentState.response", zod_1.z
398
+ .object({
399
+ status: zod_1.z.literal(200),
400
+ mediaType: zod_1.z.literal("application/json"),
401
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentStateResponse"),
402
+ })
403
+ .describe("ContentStatesService.removeContentState.response"));
404
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.getAvailableContentStates.response", zod_1.z
405
+ .object({
406
+ status: zod_1.z.literal(200),
407
+ mediaType: zod_1.z.literal("application/json"),
408
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("AvailableContentStates"),
409
+ })
410
+ .describe("ContentStatesService.getAvailableContentStates.response"));
411
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.getSpaceContentStates.response", zod_1.z
412
+ .object({
413
+ status: zod_1.z.literal(200),
414
+ mediaType: zod_1.z.literal("application/json"),
415
+ body: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ContentState")),
416
+ })
417
+ .describe("ContentStatesService.getSpaceContentStates.response"));
418
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.getContentsWithState.response", zod_1.z
419
+ .object({
420
+ status: zod_1.z.literal(200),
421
+ mediaType: zod_1.z.literal("application/json"),
422
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray"),
423
+ })
424
+ .describe("ContentStatesService.getContentsWithState.response"));
425
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentStatesService.getContentStateSettings.response", zod_1.z
426
+ .object({
427
+ status: zod_1.z.literal(200),
428
+ mediaType: zod_1.z.literal("application/json"),
429
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentStateSettings"),
430
+ })
431
+ .describe("ContentStatesService.getContentStateSettings.response"));
432
+ validationSchemaStorage_1.validationSchemaStorage.registerOnce([
433
+ contentStates_1.registerContentStatesValidationSchemas,
434
+ common_1.registerCommonValidationSchemas,
435
+ ]);
436
+ }
437
+ }
438
+ exports.ContentStatesService = ContentStatesService;
439
+ //# sourceMappingURL=ContentStatesService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentStatesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentStatesService.ts"],"names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