@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":"SpaceSettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceSettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAG0B;AAE1B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE;;;;;;;;;;;;;WAaG;QACH,qBAAgB,GAAG,CAAC,EAClB,QAAQ,GAIT,EAAiC,EAAE;YAClC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,QAAQ;iBACT;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,gDAAgD,CACjD,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,wBAAmB,GAAG,CAAC,EACrB,QAAQ,EACR,mBAAmB,GAMpB,EAAiC,EAAE;YAClC,OAAO,IAAI,CAAC,iBAA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CAAC,mDAAmD,CAAC,CACjE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AArID,oDAqIC"}
1
+ {"version":3,"file":"SpaceSettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SpaceSettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAuF;AAEvF,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE;;;;;;;;;;;;;WAaG;QACH,qBAAgB,GAAG,CAAC,EAClB,QAAQ,EAIT,EAAiC,EAAE;YAClC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,QAAQ;iBACT;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,gDAAgD,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACtK,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,wBAAmB,GAAG,CAAC,EACrB,QAAQ,EACR,mBAAmB,EAMpB,EAAiC,EAAE;YAClC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,KAAK;gBACb,UAAU,EAA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C,CAAC,CAAC;IAC1E,CAAC;CACF;AA7FD,oDA6FC"}
@@ -1,5 +1,5 @@
1
1
  import { CommonHttpService } from "../../core/CommonHttpService";
2
- import { type BlueprintTemplateArray, type ContentTemplate, type ContentTemplateArray, type ContentTemplateCreate, type ContentTemplateUpdate } from "../models/template";
2
+ import { type ContentTemplateUpdate, type ContentTemplate, type ContentTemplateCreate, type BlueprintTemplateArray, type ContentTemplateArray } from "../models/template";
3
3
  /**
4
4
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template
5
5
  * @category Services
@@ -21,7 +21,7 @@ export declare class TemplateService extends CommonHttpService {
21
21
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
22
22
  * @param params
23
23
  */
24
- createContentTemplate: ({ contentTemplateCreate, }: {
24
+ createContentTemplate: ({ contentTemplateCreate }: {
25
25
  /**
26
26
  * The content template to be created.
27
27
  * The content body must be in 'storage' format.
@@ -47,7 +47,7 @@ export declare class TemplateService extends CommonHttpService {
47
47
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
48
48
  * @param params
49
49
  */
50
- getBlueprintTemplates: ({ spaceKey, start, limit, expand, }?: {
50
+ getBlueprintTemplates: ({ spaceKey, start, limit, expand }?: {
51
51
  /**
52
52
  * The key of the space to be queried for templates. If the `spaceKey`
53
53
  * is not specified, global blueprint templates will be returned.
@@ -85,7 +85,7 @@ export declare class TemplateService extends CommonHttpService {
85
85
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
86
86
  * @param params
87
87
  */
88
- getContentTemplate: ({ contentTemplateId, }: {
88
+ getContentTemplate: ({ contentTemplateId }: {
89
89
  /** The ID of the content template to be returned. */
90
90
  contentTemplateId: string;
91
91
  }) => Promise<ContentTemplate>;
@@ -105,7 +105,7 @@ export declare class TemplateService extends CommonHttpService {
105
105
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
106
106
  * @param params
107
107
  */
108
- getContentTemplates: ({ spaceKey, start, limit, expand, }?: {
108
+ getContentTemplates: ({ spaceKey, start, limit, expand }?: {
109
109
  /**
110
110
  * The key of the space to be queried for templates. If the `spaceKey`
111
111
  * is not specified, global templates will be returned.
@@ -149,7 +149,7 @@ export declare class TemplateService extends CommonHttpService {
149
149
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
150
150
  * @param params
151
151
  */
152
- removeTemplate: ({ contentTemplateId, }: {
152
+ removeTemplate: ({ contentTemplateId }: {
153
153
  /** The ID of the template to be deleted. */
154
154
  contentTemplateId: string;
155
155
  }) => Promise<void>;
@@ -169,7 +169,7 @@ export declare class TemplateService extends CommonHttpService {
169
169
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
170
170
  * @param params
171
171
  */
172
- updateContentTemplate: ({ contentTemplateUpdate, }: {
172
+ updateContentTemplate: ({ contentTemplateUpdate }: {
173
173
  /** The updated content template. */
174
174
  contentTemplateUpdate: ContentTemplateUpdate;
175
175
  }) => Promise<ContentTemplate>;
@@ -4,11 +4,11 @@ exports.TemplateService = 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 template_1 = require("../models/template");
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-template
14
14
  * @category Services
@@ -32,24 +32,19 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
32
32
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
33
33
  * @param params
34
34
  */
35
- this.createContentTemplate = ({ contentTemplateCreate, }) => {
36
- return this.getClientInstance()
37
- .request({
35
+ this.createContentTemplate = ({ contentTemplateCreate }) => {
36
+ return this.getClientInstance().request({
38
37
  path: "/wiki/rest/api/template",
39
38
  method: "POST",
40
39
  headers: {
41
- "Content-Type": "application/json",
40
+ "Content-Type": "application/json"
42
41
  },
43
- body: contentTemplateCreate,
44
- })
45
- .then(this.getClientInstance().responseHandler({
42
+ body: contentTemplateCreate
43
+ }).then(this.getClientInstance().responseHandler({
46
44
  200: {
47
- "application/json": "json",
48
- },
49
- }))
50
- .then(commonHttpClient.castResponse())
51
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.createContentTemplate.response")))
52
- .then(commonHttpClient.getBody);
45
+ "application/json": "json"
46
+ }
47
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.createContentTemplate.response"))).then(commonHttpClient.getBody);
53
48
  };
54
49
  /**
55
50
  * Returns all templates provided by blueprints. Use this method to retrieve
@@ -70,33 +65,28 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
70
65
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
71
66
  * @param params
72
67
  */
73
- this.getBlueprintTemplates = ({ spaceKey, start, limit, expand, } = {}) => {
74
- return this.getClientInstance()
75
- .request({
68
+ this.getBlueprintTemplates = ({ spaceKey, start, limit, expand } = {}) => {
69
+ return this.getClientInstance().request({
76
70
  path: "/wiki/rest/api/template/blueprint",
77
71
  method: "GET",
78
72
  query: {
79
73
  spaceKey,
80
74
  start,
81
75
  limit,
82
- expand,
76
+ expand
83
77
  },
84
78
  parameters: {
85
79
  query: {
86
80
  expand: {
87
- explode: false,
88
- },
89
- },
90
- },
91
- })
92
- .then(this.getClientInstance().responseHandler({
81
+ explode: false
82
+ }
83
+ }
84
+ }
85
+ }).then(this.getClientInstance().responseHandler({
93
86
  200: {
94
- "application/json": "json",
95
- },
96
- }))
97
- .then(commonHttpClient.castResponse())
98
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getBlueprintTemplates.response")))
99
- .then(commonHttpClient.getBody);
87
+ "application/json": "json"
88
+ }
89
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getBlueprintTemplates.response"))).then(commonHttpClient.getBody);
100
90
  };
101
91
  /**
102
92
  * Returns a content template. This includes information about template,
@@ -115,23 +105,18 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
115
105
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
116
106
  * @param params
117
107
  */
118
- this.getContentTemplate = ({ contentTemplateId, }) => {
119
- return this.getClientInstance()
120
- .request({
108
+ this.getContentTemplate = ({ contentTemplateId }) => {
109
+ return this.getClientInstance().request({
121
110
  path: "/wiki/rest/api/template/{contentTemplateId}",
122
111
  method: "GET",
123
112
  pathParams: {
124
- contentTemplateId,
125
- },
126
- })
127
- .then(this.getClientInstance().responseHandler({
113
+ contentTemplateId
114
+ }
115
+ }).then(this.getClientInstance().responseHandler({
128
116
  200: {
129
- "application/json": "json",
130
- },
131
- }))
132
- .then(commonHttpClient.castResponse())
133
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplate.response")))
134
- .then(commonHttpClient.getBody);
117
+ "application/json": "json"
118
+ }
119
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplate.response"))).then(commonHttpClient.getBody);
135
120
  };
136
121
  /**
137
122
  * Returns all content templates. Use this method to retrieve all global
@@ -149,33 +134,28 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
149
134
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
150
135
  * @param params
151
136
  */
152
- this.getContentTemplates = ({ spaceKey, start, limit, expand, } = {}) => {
153
- return this.getClientInstance()
154
- .request({
137
+ this.getContentTemplates = ({ spaceKey, start, limit, expand } = {}) => {
138
+ return this.getClientInstance().request({
155
139
  path: "/wiki/rest/api/template/page",
156
140
  method: "GET",
157
141
  query: {
158
142
  spaceKey,
159
143
  start,
160
144
  limit,
161
- expand,
145
+ expand
162
146
  },
163
147
  parameters: {
164
148
  query: {
165
149
  expand: {
166
- explode: false,
167
- },
168
- },
169
- },
170
- })
171
- .then(this.getClientInstance().responseHandler({
150
+ explode: false
151
+ }
152
+ }
153
+ }
154
+ }).then(this.getClientInstance().responseHandler({
172
155
  200: {
173
- "application/json": "json",
174
- },
175
- }))
176
- .then(commonHttpClient.castResponse())
177
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplates.response")))
178
- .then(commonHttpClient.getBody);
156
+ "application/json": "json"
157
+ }
158
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplates.response"))).then(commonHttpClient.getBody);
179
159
  };
180
160
  /**
181
161
  * Deletes a template. This results in different actions depending on the
@@ -200,16 +180,14 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
200
180
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
201
181
  * @param params
202
182
  */
203
- this.removeTemplate = ({ contentTemplateId, }) => {
204
- return this.getClientInstance()
205
- .request({
183
+ this.removeTemplate = ({ contentTemplateId }) => {
184
+ return this.getClientInstance().request({
206
185
  path: "/wiki/rest/api/template/{contentTemplateId}",
207
186
  method: "DELETE",
208
187
  pathParams: {
209
- contentTemplateId,
210
- },
211
- })
212
- .then(commonHttpClient.discardResult);
188
+ contentTemplateId
189
+ }
190
+ }).then(commonHttpClient.discardResult);
213
191
  };
214
192
  /**
215
193
  * Updates a content template. Note, blueprint templates cannot be updated
@@ -227,62 +205,47 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
227
205
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
228
206
  * @param params
229
207
  */
230
- this.updateContentTemplate = ({ contentTemplateUpdate, }) => {
231
- return this.getClientInstance()
232
- .request({
208
+ this.updateContentTemplate = ({ contentTemplateUpdate }) => {
209
+ return this.getClientInstance().request({
233
210
  path: "/wiki/rest/api/template",
234
211
  method: "PUT",
235
212
  headers: {
236
- "Content-Type": "application/json",
213
+ "Content-Type": "application/json"
237
214
  },
238
- body: contentTemplateUpdate,
239
- })
240
- .then(this.getClientInstance().responseHandler({
215
+ body: contentTemplateUpdate
216
+ }).then(this.getClientInstance().responseHandler({
241
217
  200: {
242
- "application/json": "json",
243
- },
244
- }))
245
- .then(commonHttpClient.castResponse())
246
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.updateContentTemplate.response")))
247
- .then(commonHttpClient.getBody);
218
+ "application/json": "json"
219
+ }
220
+ })).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.updateContentTemplate.response"))).then(commonHttpClient.getBody);
248
221
  };
249
222
  }
250
223
  static initialize() {
251
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.updateContentTemplate.response", zod_1.z
252
- .object({
224
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.updateContentTemplate.response", zod_1.z.object({
253
225
  status: zod_1.z.literal(200),
254
226
  mediaType: zod_1.z.literal("application/json"),
255
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate"),
256
- })
257
- .describe("TemplateService.updateContentTemplate.response"));
258
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.createContentTemplate.response", zod_1.z
259
- .object({
227
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
228
+ }).describe("TemplateService.updateContentTemplate.response"));
229
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.createContentTemplate.response", zod_1.z.object({
260
230
  status: zod_1.z.literal(200),
261
231
  mediaType: zod_1.z.literal("application/json"),
262
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate"),
263
- })
264
- .describe("TemplateService.createContentTemplate.response"));
265
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplate.response", zod_1.z
266
- .object({
232
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
233
+ }).describe("TemplateService.createContentTemplate.response"));
234
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplate.response", zod_1.z.object({
267
235
  status: zod_1.z.literal(200),
268
236
  mediaType: zod_1.z.literal("application/json"),
269
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate"),
270
- })
271
- .describe("TemplateService.getContentTemplate.response"));
272
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getBlueprintTemplates.response", zod_1.z
273
- .object({
237
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
238
+ }).describe("TemplateService.getContentTemplate.response"));
239
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getBlueprintTemplates.response", zod_1.z.object({
274
240
  status: zod_1.z.literal(200),
275
241
  mediaType: zod_1.z.literal("application/json"),
276
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("BlueprintTemplateArray"),
277
- })
278
- .describe("TemplateService.getBlueprintTemplates.response"));
279
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplates.response", zod_1.z
280
- .object({
242
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("BlueprintTemplateArray")
243
+ }).describe("TemplateService.getBlueprintTemplates.response"));
244
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplates.response", zod_1.z.object({
281
245
  status: zod_1.z.literal(200),
282
246
  mediaType: zod_1.z.literal("application/json"),
283
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplateArray"),
284
- })
285
- .describe("TemplateService.getContentTemplates.response"));
247
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplateArray")
248
+ }).describe("TemplateService.getContentTemplates.response"));
286
249
  validationSchemaStorage_1.validationSchemaStorage.registerOnce([template_1.registerTemplateValidationSchemas]);
287
250
  }
288
251
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TemplateService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/TemplateService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,iDAO4B;AAC5B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,0BAAqB,GAAG,CAAC,EACvB,qBAAqB,GAOtB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yBAAyB;gBAC/B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,qBAAqB;aAC5B,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,gDAAgD,CACjD,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAA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AO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,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,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,gDAAgD,EAChD,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,wBAAwB,CAAC;SAC7D,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,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,sBAAsB,CAAC;SAC3D,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AA3aD,0CA2aC"}
1
+ {"version":3,"file":"TemplateService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/TemplateService.ts"],"names":[],"mappings":";;;AAAA,e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AC,6CAA6C,CAAC,CAAC,CAAC;QAC5D,iDAAuB,CAAC,kBAAkB,CAAC,gDAAgD,EAAE,OAAC,CAAC,MAAM,CAAC;YACpG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,wBAAwB,CAAC;SAC7D,CAAC,CAAC,QAAQ,CAAC,gDAAgD,CAAC,CAAC,CAAC;QAC/D,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,sBAAsB,CAAC;SAC3D,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC,CAAC,CAAC;QAC7D,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AArUD,0CAqUC"}
@@ -33,7 +33,7 @@ export declare class ThemesService extends CommonHttpService {
33
33
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-get
34
34
  * @param params
35
35
  */
36
- getSpaceTheme: ({ spaceKey, }: {
36
+ getSpaceTheme: ({ spaceKey }: {
37
37
  /** The key of the space to be queried for its theme. */
38
38
  spaceKey: string;
39
39
  }) => Promise<Theme>;
@@ -50,7 +50,7 @@ export declare class ThemesService extends CommonHttpService {
50
50
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-themekey-get
51
51
  * @param params
52
52
  */
53
- getTheme: ({ themeKey, }: {
53
+ getTheme: ({ themeKey }: {
54
54
  /** The key of the theme to be returned. */
55
55
  themeKey: string;
56
56
  }) => Promise<Theme>;
@@ -66,7 +66,7 @@ export declare class ThemesService extends CommonHttpService {
66
66
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-get
67
67
  * @param params
68
68
  */
69
- getThemes: ({ start, limit, }?: {
69
+ getThemes: ({ start, limit }?: {
70
70
  /** The starting index of the returned themes. */
71
71
  start?: number | undefined;
72
72
  /**
@@ -88,7 +88,7 @@ export declare class ThemesService extends CommonHttpService {
88
88
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-delete
89
89
  * @param params
90
90
  */
91
- resetSpaceTheme: ({ spaceKey, }: {
91
+ resetSpaceTheme: ({ spaceKey }: {
92
92
  /** The key of the space to reset the theme for. */
93
93
  spaceKey: string;
94
94
  }) => Promise<void>;
@@ -107,7 +107,7 @@ export declare class ThemesService extends CommonHttpService {
107
107
  * @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-put
108
108
  * @param params
109
109
  */
110
- setSpaceTheme: ({ spaceKey, themeUpdate, }: {
110
+ setSpaceTheme: ({ spaceKey, themeUpdate }: {
111
111
  /** The key of the space to set the theme for. */
112
112
  spaceKey: string;
113
113
  themeUpdate: ThemeUpdate;