@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,65 @@
1
+ import { type ZodTypeAny } from "zod";
2
+ import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
3
+ import { type Content, type ContentRestriction, type GenericLinks, type User, type UserArray } from "./common";
4
+ export type ContentRestrictionAddOrUpdateArray = ({
5
+ results: ContentRestrictionUpdate[];
6
+ start?: number;
7
+ limit?: number;
8
+ size?: number;
9
+ /**
10
+ * This property is used by the UI to figure out whether a set of restrictions
11
+ * has changed.
12
+ */
13
+ restrictionsHash?: string;
14
+ _links?: GenericLinks;
15
+ } & {
16
+ [key: string]: unknown;
17
+ }) | ContentRestrictionUpdate[];
18
+ export interface ContentRestrictionArray extends Record<string, unknown> {
19
+ results: ContentRestriction[];
20
+ start: number;
21
+ limit: number;
22
+ size: number;
23
+ /**
24
+ * This property is used by the UI to figure out whether a set of restrictions
25
+ * has changed.
26
+ */
27
+ restrictionsHash: string;
28
+ _links: GenericLinks;
29
+ }
30
+ export interface ContentRestrictionUpdate extends Record<string, unknown> {
31
+ /** The restriction operation applied to content. */
32
+ operation: "administer" | "copy" | "create" | "delete" | "export" | "move" | "purge" | "purge_version" | "read" | "restore" | "update" | "use";
33
+ /**
34
+ * The users/groups that the restrictions will be applied to. At least one of
35
+ * `user` or `group` must be specified for this object.
36
+ */
37
+ restrictions: {
38
+ /**
39
+ * The groups that the restrictions will be applied to. This array must
40
+ * have at least one item, otherwise it should be omitted. At least one of `name`
41
+ * or `id` is required,
42
+ * and `id` should be used where possible in advance of the `name` deprecation.
43
+ */
44
+ group?: ({
45
+ /** Set to 'group'. */
46
+ type: "group";
47
+ /**
48
+ * The name of the group.
49
+ *
50
+ * @deprecated
51
+ */
52
+ name?: string;
53
+ /** The id of the group. */
54
+ id?: string;
55
+ } & {
56
+ [key: string]: unknown;
57
+ })[];
58
+ user?: (User | null)[] | UserArray;
59
+ } & {
60
+ [key: string]: unknown;
61
+ };
62
+ /** Base object for all content types. */
63
+ content?: Content | null;
64
+ }
65
+ export declare function registerContentRestrictionsValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerContentRestrictionsValidationSchemas = 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 common_1 = require("./common");
9
+ function registerContentRestrictionsValidationSchemas(validationSchemaStorage) {
10
+ validationSchemaStorage.register("ContentRestrictionAddOrUpdateArray", zod_1.z
11
+ .union([
12
+ zod_1.z
13
+ .object({
14
+ results: zod_1.z.array(validationSchemaStorage.lazy("ContentRestrictionUpdate")),
15
+ start: zod_1.z.number().int().optional(),
16
+ limit: zod_1.z.number().int().optional(),
17
+ size: zod_1.z.number().int().optional(),
18
+ restrictionsHash: zod_1.z.string().optional(),
19
+ _links: validationSchemaStorage.lazy("GenericLinks").optional(),
20
+ })
21
+ .catchall(zod_1.z.unknown()),
22
+ zod_1.z.array(validationSchemaStorage.lazy("ContentRestrictionUpdate")),
23
+ ])
24
+ .describe("ContentRestrictionAddOrUpdateArray"));
25
+ validationSchemaStorage.register("ContentRestrictionArray", zod_1.z
26
+ .object({
27
+ results: zod_1.z.array(validationSchemaStorage.lazy("ContentRestriction")),
28
+ start: zod_1.z.number().int(),
29
+ limit: zod_1.z.number().int(),
30
+ size: zod_1.z.number().int(),
31
+ restrictionsHash: zod_1.z.string(),
32
+ _links: validationSchemaStorage.lazy("GenericLinks"),
33
+ })
34
+ .catchall(zod_1.z.unknown())
35
+ .describe("ContentRestrictionArray"));
36
+ validationSchemaStorage.register("ContentRestrictionUpdate", zod_1.z
37
+ .object({
38
+ operation: zod_1.z.enum([
39
+ "administer",
40
+ "copy",
41
+ "create",
42
+ "delete",
43
+ "export",
44
+ "move",
45
+ "purge",
46
+ "purge_version",
47
+ "read",
48
+ "restore",
49
+ "update",
50
+ "use",
51
+ ]),
52
+ restrictions: zod_1.z
53
+ .object({
54
+ group: zod_1.z
55
+ .array(zod_1.z
56
+ .object({
57
+ type: zod_1.z.enum(["group"]),
58
+ name: zod_1.z.string().optional(),
59
+ id: zod_1.z.string().optional(),
60
+ })
61
+ .catchall(zod_1.z.unknown()))
62
+ .optional(),
63
+ user: zod_1.z
64
+ .union([
65
+ zod_1.z.array(zod_1.z.nullable(validationSchemaStorage.lazy("User"))),
66
+ validationSchemaStorage.lazy("UserArray"),
67
+ ])
68
+ .optional(),
69
+ })
70
+ .catchall(zod_1.z.unknown()),
71
+ content: zod_1.z.nullable(validationSchemaStorage.lazy("Content")).optional(),
72
+ })
73
+ .catchall(zod_1.z.unknown())
74
+ .describe("ContentRestrictionUpdate"));
75
+ validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
76
+ }
77
+ exports.registerContentRestrictionsValidationSchemas = registerContentRestrictionsValidationSchemas;
78
+ //# sourceMappingURL=contentRestrictions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentRestrictions.js","sourceRoot":"","sources":["../../../../src/openapi/v1/models/contentRestrictions.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAOkB;AA4ElB,SAAgB,4CAA4C,CAC1D,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,oCAAoC,EACpC,OAAC;SACE,KAAK,CAAC;QACL,OAAC;aACE,MAAM,CAAC;YACN,OAAO,EAAE,OAAC,CAAC,KAAK,CACd,uBAAuB,CAAC,IAAI,CAAC,0BAA0B,CAAC,CACzD;YACD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;YAClC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,C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Q;YACR,KAAK;SACN,CAAC;QACF,YAAY,EAAE,OAAC;aACZ,MAAM,CAAC;YACN,KAAK,EAAE,OAAC;iBACL,KAAK,CACJ,OAAC;iBACE,MAAM,CAAC;gBACN,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;gBACvB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;gBAC3B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;aAC1B,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CACzB;iBACA,QAAQ,EAAE;YACb,IAAI,EAAE,OAAC;iBACJ,KAAK,CAAC;gBACL,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;gBACzD,uBAAuB,CAAC,IAAI,CAAC,WAAW,CAAC;aAC1C,CAAC;iBACD,QAAQ,EAAE;SACd,CAAC;aACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;QACxB,OAAO,EAAE,OAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE;KACxE,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,0BAA0B,CAAC,CACxC,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AAlFD,oGAkFC"}
@@ -0,0 +1,75 @@
1
+ import { type ZodTypeAny } from "zod";
2
+ import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
3
+ import { type ContentId } from "./common";
4
+ export interface AvailableContentStates extends Record<string, unknown> {
5
+ /**
6
+ * Space suggested content states that can be used in the space.
7
+ * This list can be empty if there are no space content states defined in the
8
+ * space or if space content states are disabled in the space.
9
+ * All spaces start with 4 default space content states, and this can be modified
10
+ * in the UI under space settings.
11
+ */
12
+ spaceContentStates: ContentState[];
13
+ /**
14
+ * Custom content states that can be used by the user on the content of this call.
15
+ * This list can be empty if there are no custom content states defined by the
16
+ * user or if custom content states are disabled in the space of the content.
17
+ * This will at most have 3 of the most recently published content states.
18
+ * Only the calling user has access to place these states on content, but all
19
+ * users can see these states once they are placed.
20
+ */
21
+ customContentStates: ContentState[];
22
+ }
23
+ export interface ContentState extends Record<string, unknown> {
24
+ /** identifier of content state. If 0, 1, or 2, this is a default space state */
25
+ id: number;
26
+ /** name of content state. */
27
+ name: string;
28
+ /** hex string representing color of state */
29
+ color: string;
30
+ }
31
+ export interface ContentStateBulkSetTaskUpdate extends Record<string, unknown> {
32
+ set: ContentId[];
33
+ failed: ContentStateFailure[];
34
+ percentage: number;
35
+ message?: string;
36
+ state?: ContentState;
37
+ success: boolean;
38
+ }
39
+ /** Object describing why a content state set failed */
40
+ export interface ContentStateFailure extends Record<string, unknown> {
41
+ contentId: ContentId;
42
+ failureReason: string;
43
+ }
44
+ export interface ContentStateResponse extends Record<string, unknown> {
45
+ contentState?: ContentState;
46
+ /** Timestamp of last publish event where content state changed */
47
+ lastUpdated?: string;
48
+ }
49
+ export interface ContentStateRestInput extends Record<string, unknown> {
50
+ /** Name of content state. Maximum 20 characters. */
51
+ name?: string;
52
+ /**
53
+ * Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors
54
+ * offered in the UI are:
55
+ * #ff7452 (red),
56
+ * #2684ff (blue),
57
+ * #ffc400 (yellow),
58
+ * #57d9a3 (green), and
59
+ * #8777d9 (purple)
60
+ */
61
+ color?: string;
62
+ /** id of state. This can be 0,1, or 2 if you wish to specify a default space state. */
63
+ id?: number;
64
+ }
65
+ export interface ContentStateSettings extends Record<string, unknown> {
66
+ /** Whether users can place any content states on content */
67
+ contentStatesAllowed: boolean;
68
+ /** Whether users can place their custom states on content */
69
+ customContentStatesAllowed: boolean;
70
+ /** Whether users can place space suggested states on content */
71
+ spaceContentStatesAllowed: boolean;
72
+ /** space suggested content states that users can choose from */
73
+ spaceContentStates?: ContentState[];
74
+ }
75
+ export declare function registerContentStatesValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerContentStatesValidationSchemas = 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 common_1 = require("./common");
9
+ function registerContentStatesValidationSchemas(validationSchemaStorage) {
10
+ validationSchemaStorage.register("AvailableContentStates", zod_1.z
11
+ .object({
12
+ spaceContentStates: zod_1.z.array(validationSchemaStorage.lazy("ContentState")),
13
+ customContentStates: zod_1.z.array(validationSchemaStorage.lazy("ContentState")),
14
+ })
15
+ .catchall(zod_1.z.unknown())
16
+ .describe("AvailableContentStates"));
17
+ validationSchemaStorage.register("ContentState", zod_1.z
18
+ .object({
19
+ id: zod_1.z.number().int(),
20
+ name: zod_1.z.string(),
21
+ color: zod_1.z.string(),
22
+ })
23
+ .catchall(zod_1.z.unknown())
24
+ .describe("ContentState"));
25
+ validationSchemaStorage.register("ContentStateBulkSetTaskUpdate", zod_1.z
26
+ .object({
27
+ set: zod_1.z.array(validationSchemaStorage.lazy("ContentId")),
28
+ failed: zod_1.z.array(validationSchemaStorage.lazy("ContentStateFailure")),
29
+ percentage: zod_1.z.number().int(),
30
+ message: zod_1.z.string().optional(),
31
+ state: validationSchemaStorage.lazy("ContentState").optional(),
32
+ success: zod_1.z.boolean(),
33
+ })
34
+ .catchall(zod_1.z.unknown())
35
+ .describe("ContentStateBulkSetTaskUpdate"));
36
+ validationSchemaStorage.register("ContentStateFailure", zod_1.z
37
+ .object({
38
+ contentId: validationSchemaStorage.lazy("ContentId"),
39
+ failureReason: zod_1.z.string(),
40
+ })
41
+ .catchall(zod_1.z.unknown())
42
+ .describe("ContentStateFailure"));
43
+ validationSchemaStorage.register("ContentStateResponse", zod_1.z
44
+ .object({
45
+ contentState: validationSchemaStorage.lazy("ContentState").optional(),
46
+ lastUpdated: zod_1.z.string().optional(),
47
+ })
48
+ .catchall(zod_1.z.unknown())
49
+ .describe("ContentStateResponse"));
50
+ validationSchemaStorage.register("ContentStateRestInput", zod_1.z
51
+ .object({
52
+ name: zod_1.z.string().optional(),
53
+ color: zod_1.z.string().optional(),
54
+ id: zod_1.z.number().int().optional(),
55
+ })
56
+ .catchall(zod_1.z.unknown())
57
+ .describe("ContentStateRestInput"));
58
+ validationSchemaStorage.register("ContentStateSettings", zod_1.z
59
+ .object({
60
+ contentStatesAllowed: zod_1.z.boolean(),
61
+ customContentStatesAllowed: zod_1.z.boolean(),
62
+ spaceContentStatesAllowed: zod_1.z.boolean(),
63
+ spaceContentStates: zod_1.z
64
+ .array(validationSchemaStorage.lazy("ContentState"))
65
+ .optional(),
66
+ })
67
+ .catchall(zod_1.z.unknown())
68
+ .describe("ContentStateSettings"));
69
+ validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
70
+ }
71
+ exports.registerContentStatesValidationSchemas = registerContentStatesValidationSchemas;
72
+ //# sourceMappingURL=contentStates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentStates.js","sourceRoot":"","sources":["../../../../src/openapi/v1/models/contentStates.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAA2E;AAwE3E,SAAgB,sCAAsC,CACpD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,wBAAwB,EACxB,OAAC;SACE,MAAM,CAAC;QACN,kBAAkB,EAAE,OAAC,CAAC,KAAK,CACzB,uBAAuB,CAAC,IAAI,CAAC,cAAc,CAAC,CAC7C;QACD,mBAAmB,EAAE,OAAC,CAAC,KAAK,CAC1B,uBAAuB,CAAC,IAAI,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wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AAxFD,wFAwFC"}
@@ -0,0 +1,28 @@
1
+ import { type ZodTypeAny } from "zod";
2
+ import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
3
+ import { type GenericLinks, type VersionV1 } from "./common";
4
+ export interface VersionArray extends Record<string, unknown> {
5
+ results: (VersionV1 | null)[];
6
+ start: number;
7
+ limit: number;
8
+ size: number;
9
+ _links: GenericLinks;
10
+ }
11
+ export interface VersionRestore extends Record<string, unknown> {
12
+ /** Set to 'restore'. */
13
+ operationKey: "restore";
14
+ params: {
15
+ /** The version number to be restored. */
16
+ versionNumber: number;
17
+ /** Description for the version. */
18
+ message: string;
19
+ /**
20
+ * If true, the content title will be the same as the title from the version
21
+ * restored. Defaults to `false`.
22
+ */
23
+ restoreTitle?: boolean;
24
+ } & {
25
+ [key: string]: unknown;
26
+ };
27
+ }
28
+ export declare function registerContentVersionsValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerContentVersionsValidationSchemas = 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 common_1 = require("./common");
9
+ function registerContentVersionsValidationSchemas(validationSchemaStorage) {
10
+ validationSchemaStorage.register("VersionArray", zod_1.z
11
+ .object({
12
+ results: zod_1.z.array(zod_1.z.nullable(validationSchemaStorage.lazy("VersionV1"))),
13
+ start: zod_1.z.number().int(),
14
+ limit: zod_1.z.number().int(),
15
+ size: zod_1.z.number().int(),
16
+ _links: validationSchemaStorage.lazy("GenericLinks"),
17
+ })
18
+ .catchall(zod_1.z.unknown())
19
+ .describe("VersionArray"));
20
+ validationSchemaStorage.register("VersionRestore", zod_1.z
21
+ .object({
22
+ operationKey: zod_1.z.enum(["restore"]),
23
+ params: zod_1.z
24
+ .object({
25
+ versionNumber: zod_1.z.number().int(),
26
+ message: zod_1.z.string(),
27
+ restoreTitle: zod_1.z.boolean().optional(),
28
+ })
29
+ .catchall(zod_1.z.unknown()),
30
+ })
31
+ .catchall(zod_1.z.unknown())
32
+ .describe("VersionRestore"));
33
+ validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
34
+ }
35
+ exports.registerContentVersionsValidationSchemas = registerContentVersionsValidationSchemas;
36
+ //# sourceMappingURL=contentVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentVersions.js","sourceRoot":"","sources":["../../../../src/openapi/v1/models/contentVersions.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAIkB;AAyBlB,SAAgB,wCAAwC,CACtD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,cAAc,EACd,OAAC;SACE,MAAM,CAAC;QACN,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QACvE,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACvB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACvB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACtB,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;KACrD,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,cAAc,CAAC,CAC5B,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9B,gBAAgB,EAChB,OAAC;SACE,MAAM,CAAC;QACN,YAAY,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC;QACjC,MAAM,EAAE,OAAC;aACN,MAAM,CAAC;YACN,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;YAC/B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;YACnB,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SACrC,CAAC;aACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;KACzB,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,gBAAgB,CAAC,CAC9B,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AAjCD,4FAiCC"}
@@ -0,0 +1,89 @@
1
+ import { type ZodTypeAny } from "zod";
2
+ import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
3
+ import { type GenericAccountId, type GenericLinks, type GenericUserKey, type GenericUserName, type Icon, type OperationCheckResult, type UserDetails } from "./common";
4
+ export interface SpaceWatch extends Record<string, unknown> {
5
+ type: string;
6
+ /**
7
+ * This essentially the same as the `User` object, but no `_links` property and
8
+ * no `_expandable` property (therefore, different required fields).
9
+ */
10
+ watcher: WatchUser;
11
+ spaceKey?: string;
12
+ labelName?: string;
13
+ prefix?: string;
14
+ }
15
+ export interface SpaceWatchArray extends Record<string, unknown> {
16
+ results: SpaceWatch[];
17
+ start: number;
18
+ limit: number;
19
+ size: number;
20
+ _links?: GenericLinks;
21
+ }
22
+ export interface UserWatch extends Record<string, unknown> {
23
+ watching: boolean;
24
+ }
25
+ export interface Watch extends Record<string, unknown> {
26
+ type: string;
27
+ /**
28
+ * This essentially the same as the `User` object, but no `_links` property and
29
+ * no `_expandable` property (therefore, different required fields).
30
+ */
31
+ watcher: WatchUser;
32
+ contentId: number;
33
+ }
34
+ export interface WatchArray extends Record<string, unknown> {
35
+ results: Watch[];
36
+ start: number;
37
+ limit: number;
38
+ size: number;
39
+ _links: GenericLinks;
40
+ }
41
+ /**
42
+ * This essentially the same as the `User` object, but no `_links` property and
43
+ * no `_expandable` property (therefore, different required fields).
44
+ */
45
+ export interface WatchUser extends Record<string, unknown> {
46
+ type: string;
47
+ /**
48
+ * This property is no longer available and will be removed from the documentation
49
+ * soon.
50
+ * Use `accountId` instead.
51
+ * See the [deprecation
52
+ * notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
53
+ * for details.
54
+ */
55
+ username?: GenericUserName | null;
56
+ /**
57
+ * This property is no longer available and will be removed from the documentation
58
+ * soon.
59
+ * Use `accountId` instead.
60
+ * See the [deprecation
61
+ * notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
62
+ * for details.
63
+ */
64
+ userKey?: GenericUserKey | null;
65
+ /**
66
+ * The account ID of the user, which uniquely identifies the user across all
67
+ * Atlassian products.
68
+ * For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
69
+ */
70
+ accountId: GenericAccountId | null;
71
+ /**
72
+ * This object represents an icon. If used as a profilePicture, this may be
73
+ * returned as null, depending on the user's privacy setting.
74
+ */
75
+ profilePicture: Icon | null;
76
+ displayName: string;
77
+ timeZone?: string | null;
78
+ operations: OperationCheckResult[] | null;
79
+ isExternalCollaborator: boolean;
80
+ details?: UserDetails;
81
+ accountType: string;
82
+ email: string;
83
+ publicName: string;
84
+ personalSpace: {
85
+ [key: string]: unknown;
86
+ } | null;
87
+ externalCollaborator: boolean;
88
+ }
89
+ export declare function registerContentWatchesValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerContentWatchesValidationSchemas = 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 common_1 = require("./common");
9
+ function registerContentWatchesValidationSchemas(validationSchemaStorage) {
10
+ validationSchemaStorage.register("SpaceWatch", zod_1.z
11
+ .object({
12
+ type: zod_1.z.string(),
13
+ watcher: validationSchemaStorage.lazy("WatchUser"),
14
+ spaceKey: zod_1.z.string().optional(),
15
+ labelName: zod_1.z.string().optional(),
16
+ prefix: zod_1.z.string().optional(),
17
+ })
18
+ .catchall(zod_1.z.unknown())
19
+ .describe("SpaceWatch"));
20
+ validationSchemaStorage.register("SpaceWatchArray", zod_1.z
21
+ .object({
22
+ results: zod_1.z.array(validationSchemaStorage.lazy("SpaceWatch")),
23
+ start: zod_1.z.number().int(),
24
+ limit: zod_1.z.number().int(),
25
+ size: zod_1.z.number().int(),
26
+ _links: validationSchemaStorage.lazy("GenericLinks").optional(),
27
+ })
28
+ .catchall(zod_1.z.unknown())
29
+ .describe("SpaceWatchArray"));
30
+ validationSchemaStorage.register("UserWatch", zod_1.z
31
+ .object({
32
+ watching: zod_1.z.boolean(),
33
+ })
34
+ .catchall(zod_1.z.unknown())
35
+ .describe("UserWatch"));
36
+ validationSchemaStorage.register("Watch", zod_1.z
37
+ .object({
38
+ type: zod_1.z.string(),
39
+ watcher: validationSchemaStorage.lazy("WatchUser"),
40
+ contentId: zod_1.z.number().int(),
41
+ })
42
+ .catchall(zod_1.z.unknown())
43
+ .describe("Watch"));
44
+ validationSchemaStorage.register("WatchArray", zod_1.z
45
+ .object({
46
+ results: zod_1.z.array(validationSchemaStorage.lazy("Watch")),
47
+ start: zod_1.z.number().int(),
48
+ limit: zod_1.z.number().int(),
49
+ size: zod_1.z.number().int(),
50
+ _links: validationSchemaStorage.lazy("GenericLinks"),
51
+ })
52
+ .catchall(zod_1.z.unknown())
53
+ .describe("WatchArray"));
54
+ validationSchemaStorage.register("WatchUser", zod_1.z
55
+ .object({
56
+ type: zod_1.z.string(),
57
+ username: zod_1.z
58
+ .nullable(validationSchemaStorage.lazy("GenericUserName"))
59
+ .optional(),
60
+ userKey: zod_1.z
61
+ .nullable(validationSchemaStorage.lazy("GenericUserKey"))
62
+ .optional(),
63
+ accountId: zod_1.z.nullable(validationSchemaStorage.lazy("GenericAccountId")),
64
+ profilePicture: zod_1.z.nullable(validationSchemaStorage.lazy("Icon")),
65
+ displayName: zod_1.z.string(),
66
+ timeZone: zod_1.z.nullable(zod_1.z.string()).optional(),
67
+ operations: zod_1.z.nullable(zod_1.z.array(validationSchemaStorage.lazy("OperationCheckResult"))),
68
+ isExternalCollaborator: zod_1.z.boolean(),
69
+ details: validationSchemaStorage.lazy("UserDetails").optional(),
70
+ accountType: zod_1.z.string(),
71
+ email: zod_1.z.string(),
72
+ publicName: zod_1.z.string(),
73
+ personalSpace: zod_1.z.nullable(zod_1.z.object({}).catchall(zod_1.z.unknown())),
74
+ externalCollaborator: zod_1.z.boolean(),
75
+ })
76
+ .catchall(zod_1.z.unknown())
77
+ .describe("WatchUser"));
78
+ validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
79
+ }
80
+ exports.registerContentWatchesValidationSchemas = registerContentWatchesValidationSchemas;
81
+ //# sourceMappingURL=contentWatches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentWatches.js","sourceRoot":"","sources":["../../../../src/openapi/v1/models/contentWatches.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCASkB;AAsFlB,SAAgB,uCAAuC,CACrD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,YAAY,EACZ,OAAC;SACE,MAAM,CAAC;QACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAC,WAAW,CAAC;QAClD,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC;SACD,QAAQ,CAAC,OAAC,CAA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I,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE;QAC/D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;QACtB,aAAa,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAC7D,oBAAoB,EAAE,OAAC,CAAC,OAAO,EAAE;KAClC,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,WAAW,CAAC,CACzB,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AA5FD,0FA4FC"}
@@ -0,0 +1,62 @@
1
+ import { type ZodTypeAny } from "zod";
2
+ import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
3
+ /**
4
+ * A [Connect
5
+ * module](https://developer.atlassian.com/cloud/confluence/modules/admin-page/)
6
+ * in the same format as in the
7
+ * [app
8
+ * descriptor](https://developer.atlassian.com/cloud/confluence/app-descriptor/).
9
+ *
10
+ * @example {
11
+ * "key": "my-webitem",
12
+ * "location": "system.admin/globalsettings",
13
+ * "url": "/my-web-item",
14
+ * "name": {
15
+ * "value": "My Web Item"
16
+ * }
17
+ * }
18
+ */
19
+ export interface ConnectModule {
20
+ [key: string]: unknown;
21
+ }
22
+ /**
23
+ * @example {
24
+ * "webItems": [
25
+ * {
26
+ * "key": "my-webitem",
27
+ * "location": "system.admin/globalsettings",
28
+ * "url": "/my-web-item",
29
+ * "name": {
30
+ * "value": "My Web Item"
31
+ * }
32
+ * }
33
+ * ],
34
+ * "adminPages": [
35
+ * {
36
+ * "key": "my-admin-page",
37
+ * "name": {
38
+ * "value": "My Admin Page"
39
+ * },
40
+ * "url": "/my-admin-page"
41
+ * }
42
+ * ]
43
+ * }
44
+ */
45
+ export interface ConnectModules extends Record<string, unknown> {
46
+ /**
47
+ * A list of app modules in the same format as the `modules` property in the
48
+ * [app
49
+ * descriptor](https://developer.atlassian.com/cloud/confluence/app-descriptor/).
50
+ */
51
+ modules: ConnectModule[];
52
+ }
53
+ /**
54
+ * @example {
55
+ * "message": "The request is not from a Connect app."
56
+ * }
57
+ */
58
+ export interface DynamicModulesErrorMessage extends Record<string, unknown> {
59
+ /** The error message. */
60
+ message: string;
61
+ }
62
+ export declare function registerDynamicModulesValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerDynamicModulesValidationSchemas = 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
+ function registerDynamicModulesValidationSchemas(validationSchemaStorage) {
9
+ validationSchemaStorage.register("ConnectModule", zod_1.z.object({}).catchall(zod_1.z.unknown()).describe("ConnectModule"));
10
+ validationSchemaStorage.register("ConnectModules", zod_1.z
11
+ .object({
12
+ modules: zod_1.z.array(validationSchemaStorage.lazy("ConnectModule")),
13
+ })
14
+ .catchall(zod_1.z.unknown())
15
+ .describe("ConnectModules"));
16
+ validationSchemaStorage.register("DynamicModulesErrorMessage", zod_1.z
17
+ .object({
18
+ message: zod_1.z.string(),
19
+ })
20
+ .catchall(zod_1.z.unknown())
21
+ .describe("DynamicModulesErrorMessage"));
22
+ }
23
+ exports.registerDynamicModulesValidationSchemas = registerDynamicModulesValidationSchemas;
24
+ //# sourceMappingURL=dynamicModules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamicModules.js","sourceRoot":"","sources":["../../../../src/openapi/v1/models/dynamicModules.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AA8DzC,SAAgB,uCAAuC,CACrD,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,eAAe,EACf,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,CAC7D,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9B,gBAAgB,EAChB,OAAC;SACE,MAAM,CAAC;QACN,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;KAChE,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,gBAAgB,CAAC,CAC9B,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9B,4BAA4B,EAC5B,OAAC;SACE,MAAM,CAAC;QACN,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;KACpB,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,4BAA4B,CAAC,CAC1C,CAAC;AACJ,CAAC;AAzBD,0FAyBC"}
@@ -0,0 +1,9 @@
1
+ import { type ZodTypeAny } from "zod";
2
+ import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
3
+ export interface AccountId extends Record<string, unknown> {
4
+ accountId: string;
5
+ }
6
+ export interface GroupName extends Record<string, unknown> {
7
+ name: string;
8
+ }
9
+ export declare function registerGroupValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;