@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE.md +19 -0
- package/README.md +12 -0
- package/lib/index.d.ts +36 -0
- package/lib/index.js +64 -0
- package/lib/index.js.map +1 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +133 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +122 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -0
- package/lib/openapi/v1/core/CommonHttpClient.d.ts +196 -0
- package/lib/openapi/v1/core/CommonHttpClient.js +390 -0
- package/lib/openapi/v1/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/v1/core/CommonHttpService.d.ts +7 -0
- package/lib/openapi/v1/core/CommonHttpService.js +20 -0
- package/lib/openapi/v1/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.d.ts +35 -0
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.js +65 -0
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/v1/models/audit.d.ts +151 -0
- package/lib/openapi/v1/models/audit.js +133 -0
- package/lib/openapi/v1/models/audit.js.map +1 -0
- package/lib/openapi/v1/models/common.d.ts +645 -0
- package/lib/openapi/v1/models/common.js +654 -0
- package/lib/openapi/v1/models/common.js.map +1 -0
- package/lib/openapi/v1/models/content.d.ts +554 -0
- package/lib/openapi/v1/models/content.js +613 -0
- package/lib/openapi/v1/models/content.js.map +1 -0
- package/lib/openapi/v1/models/contentAttachments.d.ts +26 -0
- package/lib/openapi/v1/models/contentAttachments.js +33 -0
- package/lib/openapi/v1/models/contentAttachments.js.map +1 -0
- package/lib/openapi/v1/models/contentBody.d.ts +36 -0
- package/lib/openapi/v1/models/contentBody.js +63 -0
- package/lib/openapi/v1/models/contentBody.js.map +1 -0
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +75 -0
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js +66 -0
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -0
- package/lib/openapi/v1/models/contentLabels.d.ts +5 -0
- package/lib/openapi/v1/models/contentLabels.js +16 -0
- package/lib/openapi/v1/models/contentLabels.js.map +1 -0
- package/lib/openapi/v1/models/contentMacroBody.d.ts +12 -0
- package/lib/openapi/v1/models/contentMacroBody.js +22 -0
- package/lib/openapi/v1/models/contentMacroBody.js.map +1 -0
- package/lib/openapi/v1/models/contentPermissions.d.ts +41 -0
- package/lib/openapi/v1/models/contentPermissions.js +35 -0
- package/lib/openapi/v1/models/contentPermissions.js.map +1 -0
- package/lib/openapi/v1/models/contentProperties.d.ts +73 -0
- package/lib/openapi/v1/models/contentProperties.js +94 -0
- package/lib/openapi/v1/models/contentProperties.js.map +1 -0
- package/lib/openapi/v1/models/contentRestrictions.d.ts +65 -0
- package/lib/openapi/v1/models/contentRestrictions.js +78 -0
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -0
- package/lib/openapi/v1/models/contentStates.d.ts +75 -0
- package/lib/openapi/v1/models/contentStates.js +72 -0
- package/lib/openapi/v1/models/contentStates.js.map +1 -0
- package/lib/openapi/v1/models/contentVersions.d.ts +28 -0
- package/lib/openapi/v1/models/contentVersions.js +36 -0
- package/lib/openapi/v1/models/contentVersions.js.map +1 -0
- package/lib/openapi/v1/models/contentWatches.d.ts +89 -0
- package/lib/openapi/v1/models/contentWatches.js +81 -0
- package/lib/openapi/v1/models/contentWatches.js.map +1 -0
- package/lib/openapi/v1/models/dynamicModules.d.ts +62 -0
- package/lib/openapi/v1/models/dynamicModules.js +24 -0
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -0
- package/lib/openapi/v1/models/group.d.ts +9 -0
- package/lib/openapi/v1/models/group.js +23 -0
- package/lib/openapi/v1/models/group.js.map +1 -0
- package/lib/openapi/v1/models/inlineTasks.d.ts +30 -0
- package/lib/openapi/v1/models/inlineTasks.js +48 -0
- package/lib/openapi/v1/models/inlineTasks.js.map +1 -0
- package/lib/openapi/v1/models/labelInfo.d.ts +21 -0
- package/lib/openapi/v1/models/labelInfo.js +42 -0
- package/lib/openapi/v1/models/labelInfo.js.map +1 -0
- package/lib/openapi/v1/models/longRunningTask.d.ts +116 -0
- package/lib/openapi/v1/models/longRunningTask.js +82 -0
- package/lib/openapi/v1/models/longRunningTask.js.map +1 -0
- package/lib/openapi/v1/models/relation.d.ts +30 -0
- package/lib/openapi/v1/models/relation.js +61 -0
- package/lib/openapi/v1/models/relation.js.map +1 -0
- package/lib/openapi/v1/models/search.d.ts +41 -0
- package/lib/openapi/v1/models/search.js +65 -0
- package/lib/openapi/v1/models/search.js.map +1 -0
- package/lib/openapi/v1/models/settings.d.ts +36 -0
- package/lib/openapi/v1/models/settings.js +50 -0
- package/lib/openapi/v1/models/settings.js.map +1 -0
- package/lib/openapi/v1/models/space.d.ts +118 -0
- package/lib/openapi/v1/models/space.js +94 -0
- package/lib/openapi/v1/models/space.js.map +1 -0
- package/lib/openapi/v1/models/spacePermissions.d.ts +128 -0
- package/lib/openapi/v1/models/spacePermissions.js +102 -0
- package/lib/openapi/v1/models/spacePermissions.js.map +1 -0
- package/lib/openapi/v1/models/spaceProperties.d.ts +96 -0
- package/lib/openapi/v1/models/spaceProperties.js +93 -0
- package/lib/openapi/v1/models/spaceProperties.js.map +1 -0
- package/lib/openapi/v1/models/spaceSettings.d.ts +14 -0
- package/lib/openapi/v1/models/spaceSettings.js +17 -0
- package/lib/openapi/v1/models/spaceSettings.js.map +1 -0
- package/lib/openapi/v1/models/template.d.ts +201 -0
- package/lib/openapi/v1/models/template.js +163 -0
- package/lib/openapi/v1/models/template.js.map +1 -0
- package/lib/openapi/v1/models/themes.d.ts +26 -0
- package/lib/openapi/v1/models/themes.js +38 -0
- package/lib/openapi/v1/models/themes.js.map +1 -0
- package/lib/openapi/v1/models/userProperties.d.ts +41 -0
- package/lib/openapi/v1/models/userProperties.js +50 -0
- package/lib/openapi/v1/models/userProperties.js.map +1 -0
- package/lib/openapi/v1/models/users.d.ts +98 -0
- package/lib/openapi/v1/models/users.js +87 -0
- package/lib/openapi/v1/models/users.js.map +1 -0
- package/lib/openapi/v1/services/AnalyticsService.d.ts +54 -0
- package/lib/openapi/v1/services/AnalyticsService.js +98 -0
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -0
- package/lib/openapi/v1/services/AuditService.d.ts +163 -0
- package/lib/openapi/v1/services/AuditService.js +269 -0
- package/lib/openapi/v1/services/AuditService.js.map +1 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +332 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js +362 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentBodyService.d.ts +227 -0
- package/lib/openapi/v1/services/ContentBodyService.js +178 -0
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +621 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +453 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +147 -0
- package/lib/openapi/v1/services/ContentCommentsService.js +72 -0
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +122 -0
- package/lib/openapi/v1/services/ContentLabelsService.js +176 -0
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +268 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js +193 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -0
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +34 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js +72 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +187 -0
- package/lib/openapi/v1/services/ContentPropertiesService.js +285 -0
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +503 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js +552 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentService.d.ts +1012 -0
- package/lib/openapi/v1/services/ContentService.js +548 -0
- package/lib/openapi/v1/services/ContentService.js.map +1 -0
- package/lib/openapi/v1/services/ContentStatesService.d.ts +220 -0
- package/lib/openapi/v1/services/ContentStatesService.js +439 -0
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -0
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +121 -0
- package/lib/openapi/v1/services/ContentVersionsService.js +181 -0
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +550 -0
- package/lib/openapi/v1/services/ContentWatchesService.js +502 -0
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -0
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +47 -0
- package/lib/openapi/v1/services/DynamicModulesService.js +92 -0
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -0
- package/lib/openapi/v1/services/ExperimentalService.d.ts +113 -0
- package/lib/openapi/v1/services/ExperimentalService.js +185 -0
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -0
- package/lib/openapi/v1/services/GroupService.d.ts +379 -0
- package/lib/openapi/v1/services/GroupService.js +515 -0
- package/lib/openapi/v1/services/GroupService.js.map +1 -0
- package/lib/openapi/v1/services/InlineTasksService.d.ts +91 -0
- package/lib/openapi/v1/services/InlineTasksService.js +155 -0
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -0
- package/lib/openapi/v1/services/LabelInfoService.d.ts +28 -0
- package/lib/openapi/v1/services/LabelInfoService.js +59 -0
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -0
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +43 -0
- package/lib/openapi/v1/services/LongRunningTaskService.js +96 -0
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -0
- package/lib/openapi/v1/services/RelationService.d.ts +404 -0
- package/lib/openapi/v1/services/RelationService.js +270 -0
- package/lib/openapi/v1/services/RelationService.js.map +1 -0
- package/lib/openapi/v1/services/SearchService.d.ts +175 -0
- package/lib/openapi/v1/services/SearchService.js +164 -0
- package/lib/openapi/v1/services/SearchService.js.map +1 -0
- package/lib/openapi/v1/services/SettingsService.d.ts +143 -0
- package/lib/openapi/v1/services/SettingsService.js +249 -0
- package/lib/openapi/v1/services/SettingsService.js.map +1 -0
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +68 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js +121 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -0
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +161 -0
- package/lib/openapi/v1/services/SpacePropertiesService.js +275 -0
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -0
- package/lib/openapi/v1/services/SpaceService.d.ts +479 -0
- package/lib/openapi/v1/services/SpaceService.js +394 -0
- package/lib/openapi/v1/services/SpaceService.js.map +1 -0
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +40 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js +96 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -0
- package/lib/openapi/v1/services/TemplateService.d.ts +163 -0
- package/lib/openapi/v1/services/TemplateService.js +259 -0
- package/lib/openapi/v1/services/TemplateService.js.map +1 -0
- package/lib/openapi/v1/services/ThemesService.d.ts +101 -0
- package/lib/openapi/v1/services/ThemesService.js +228 -0
- package/lib/openapi/v1/services/ThemesService.js.map +1 -0
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +129 -0
- package/lib/openapi/v1/services/UserPropertiesService.js +192 -0
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -0
- package/lib/openapi/v1/services/UsersService.d.ts +181 -0
- package/lib/openapi/v1/services/UsersService.js +291 -0
- package/lib/openapi/v1/services/UsersService.js.map +1 -0
- package/lib/openapi/v1/validationSchemaStorage.d.ts +3 -0
- package/lib/openapi/v1/validationSchemaStorage.js +144 -0
- package/lib/openapi/v1/validationSchemaStorage.js.map +1 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +88 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +87 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -0
- package/lib/openapi/v2/core/CommonHttpClient.d.ts +196 -0
- package/lib/openapi/v2/core/CommonHttpClient.js +390 -0
- package/lib/openapi/v2/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/v2/core/CommonHttpService.d.ts +7 -0
- package/lib/openapi/v2/core/CommonHttpService.js +20 -0
- package/lib/openapi/v2/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.d.ts +35 -0
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js +65 -0
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/v2/models/ancestors.d.ts +11 -0
- package/lib/openapi/v2/models/ancestors.js +21 -0
- package/lib/openapi/v2/models/ancestors.js.map +1 -0
- package/lib/openapi/v2/models/attachment.d.ts +148 -0
- package/lib/openapi/v2/models/attachment.js +116 -0
- package/lib/openapi/v2/models/attachment.js.map +1 -0
- package/lib/openapi/v2/models/blogPost.d.ts +106 -0
- package/lib/openapi/v2/models/blogPost.js +134 -0
- package/lib/openapi/v2/models/blogPost.js.map +1 -0
- package/lib/openapi/v2/models/children.d.ts +29 -0
- package/lib/openapi/v2/models/children.js +38 -0
- package/lib/openapi/v2/models/children.js.map +1 -0
- package/lib/openapi/v2/models/classificationLevel.d.ts +28 -0
- package/lib/openapi/v2/models/classificationLevel.js +45 -0
- package/lib/openapi/v2/models/classificationLevel.js.map +1 -0
- package/lib/openapi/v2/models/comment.d.ts +396 -0
- package/lib/openapi/v2/models/comment.js +378 -0
- package/lib/openapi/v2/models/comment.js.map +1 -0
- package/lib/openapi/v2/models/common.d.ts +200 -0
- package/lib/openapi/v2/models/common.js +225 -0
- package/lib/openapi/v2/models/common.js.map +1 -0
- package/lib/openapi/v2/models/content.d.ts +16 -0
- package/lib/openapi/v2/models/content.js +29 -0
- package/lib/openapi/v2/models/content.js.map +1 -0
- package/lib/openapi/v2/models/contentProperties.d.ts +33 -0
- package/lib/openapi/v2/models/contentProperties.js +33 -0
- package/lib/openapi/v2/models/contentProperties.js.map +1 -0
- package/lib/openapi/v2/models/customContent.d.ts +174 -0
- package/lib/openapi/v2/models/customContent.js +163 -0
- package/lib/openapi/v2/models/customContent.js.map +1 -0
- package/lib/openapi/v2/models/dataPolicies.d.ts +34 -0
- package/lib/openapi/v2/models/dataPolicies.js +38 -0
- package/lib/openapi/v2/models/dataPolicies.js.map +1 -0
- package/lib/openapi/v2/models/database.d.ts +35 -0
- package/lib/openapi/v2/models/database.js +38 -0
- package/lib/openapi/v2/models/database.js.map +1 -0
- package/lib/openapi/v2/models/operation.d.ts +8 -0
- package/lib/openapi/v2/models/operation.js +21 -0
- package/lib/openapi/v2/models/operation.js.map +1 -0
- package/lib/openapi/v2/models/page.d.ts +124 -0
- package/lib/openapi/v2/models/page.js +143 -0
- package/lib/openapi/v2/models/page.js.map +1 -0
- package/lib/openapi/v2/models/smartLink.d.ts +38 -0
- package/lib/openapi/v2/models/smartLink.js +38 -0
- package/lib/openapi/v2/models/smartLink.js.map +1 -0
- package/lib/openapi/v2/models/space.d.ts +87 -0
- package/lib/openapi/v2/models/space.js +100 -0
- package/lib/openapi/v2/models/space.js.map +1 -0
- package/lib/openapi/v2/models/spaceProperties.d.ts +27 -0
- package/lib/openapi/v2/models/spaceProperties.js +32 -0
- package/lib/openapi/v2/models/spaceProperties.js.map +1 -0
- package/lib/openapi/v2/models/task.d.ts +39 -0
- package/lib/openapi/v2/models/task.js +39 -0
- package/lib/openapi/v2/models/task.js.map +1 -0
- package/lib/openapi/v2/models/version.d.ts +139 -0
- package/lib/openapi/v2/models/version.js +91 -0
- package/lib/openapi/v2/models/version.js.map +1 -0
- package/lib/openapi/v2/models/whiteboard.d.ts +37 -0
- package/lib/openapi/v2/models/whiteboard.js +39 -0
- package/lib/openapi/v2/models/whiteboard.js.map +1 -0
- package/lib/openapi/v2/services/AncestorsService.d.ts +143 -0
- package/lib/openapi/v2/services/AncestorsService.js +245 -0
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -0
- package/lib/openapi/v2/services/AttachmentService.d.ts +307 -0
- package/lib/openapi/v2/services/AttachmentService.js +370 -0
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -0
- package/lib/openapi/v2/services/BlogPostService.d.ts +386 -0
- package/lib/openapi/v2/services/BlogPostService.js +379 -0
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -0
- package/lib/openapi/v2/services/ChildrenService.d.ts +85 -0
- package/lib/openapi/v2/services/ChildrenService.js +127 -0
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -0
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +213 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js +340 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -0
- package/lib/openapi/v2/services/CommentService.d.ts +713 -0
- package/lib/openapi/v2/services/CommentService.js +884 -0
- package/lib/openapi/v2/services/CommentService.js.map +1 -0
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +844 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js +1514 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -0
- package/lib/openapi/v2/services/ContentService.d.ts +31 -0
- package/lib/openapi/v2/services/ContentService.js +62 -0
- package/lib/openapi/v2/services/ContentService.js.map +1 -0
- package/lib/openapi/v2/services/CustomContentService.d.ts +427 -0
- package/lib/openapi/v2/services/CustomContentService.js +423 -0
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -0
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +64 -0
- package/lib/openapi/v2/services/DataPoliciesService.js +108 -0
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -0
- package/lib/openapi/v2/services/DatabaseService.d.ts +82 -0
- package/lib/openapi/v2/services/DatabaseService.js +135 -0
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -0
- package/lib/openapi/v2/services/LabelService.d.ts +271 -0
- package/lib/openapi/v2/services/LabelService.js +384 -0
- package/lib/openapi/v2/services/LabelService.js.map +1 -0
- package/lib/openapi/v2/services/LikeService.d.ts +205 -0
- package/lib/openapi/v2/services/LikeService.js +358 -0
- package/lib/openapi/v2/services/LikeService.js.map +1 -0
- package/lib/openapi/v2/services/OperationService.d.ts +154 -0
- package/lib/openapi/v2/services/OperationService.js +374 -0
- package/lib/openapi/v2/services/OperationService.js.map +1 -0
- package/lib/openapi/v2/services/PageService.d.ts +408 -0
- package/lib/openapi/v2/services/PageService.js +381 -0
- package/lib/openapi/v2/services/PageService.js.map +1 -0
- package/lib/openapi/v2/services/SmartLinkService.d.ts +84 -0
- package/lib/openapi/v2/services/SmartLinkService.js +137 -0
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -0
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +36 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js +66 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -0
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +118 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js +213 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -0
- package/lib/openapi/v2/services/SpaceService.d.ts +141 -0
- package/lib/openapi/v2/services/SpaceService.js +133 -0
- package/lib/openapi/v2/services/SpaceService.js.map +1 -0
- package/lib/openapi/v2/services/TaskService.d.ts +184 -0
- package/lib/openapi/v2/services/TaskService.js +165 -0
- package/lib/openapi/v2/services/TaskService.js.map +1 -0
- package/lib/openapi/v2/services/UserService.d.ts +51 -0
- package/lib/openapi/v2/services/UserService.js +83 -0
- package/lib/openapi/v2/services/UserService.js.map +1 -0
- package/lib/openapi/v2/services/VersionService.d.ts +350 -0
- package/lib/openapi/v2/services/VersionService.js +541 -0
- package/lib/openapi/v2/services/VersionService.js.map +1 -0
- package/lib/openapi/v2/services/WhiteboardService.d.ts +82 -0
- package/lib/openapi/v2/services/WhiteboardService.js +135 -0
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -0
- package/lib/openapi/v2/validationSchemaStorage.d.ts +3 -0
- package/lib/openapi/v2/validationSchemaStorage.js +144 -0
- package/lib/openapi/v2/validationSchemaStorage.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type AttachmentCommentModel, type BlogPostCommentModel, type BlogPostInlineCommentModel, type ChildrenCommentModel, type CommentSortOrder, type CreateFooterCommentModel, type CreateInlineCommentModel, type CustomContentCommentModel, type FooterCommentModel, type InlineCommentChildrenModel, type InlineCommentModel, type PageCommentModel, type PageInlineCommentModel, type UpdateFooterCommentModel, type UpdateInlineCommentModel } from "../models/comment";
|
|
3
|
+
import { type MultiEntityLinks, type PrimaryBodyRepresentation, type PrimaryBodyRepresentationSingle } from "../models/common";
|
|
4
|
+
export declare class CommentService extends CommonHttpService {
|
|
5
|
+
/**
|
|
6
|
+
* Create a footer comment.
|
|
7
|
+
*
|
|
8
|
+
* The footer comment can be made against several locations:
|
|
9
|
+
* - at the top level (specifying pageId or blogPostId in the request body)
|
|
10
|
+
* - as a reply (specifying parentCommentId in the request body)
|
|
11
|
+
* - against an attachment (note: this is different than the comments added via
|
|
12
|
+
* the attachment properties page on the UI, which are referred to as version
|
|
13
|
+
* comments)
|
|
14
|
+
* - against a custom content
|
|
15
|
+
*
|
|
16
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
17
|
+
* Permission to view the content of the page or blogpost and its corresponding
|
|
18
|
+
* space. Permission to create comments in the space.
|
|
19
|
+
*
|
|
20
|
+
* @returns Returned if the footer comment is created.
|
|
21
|
+
* @path {POST} /footer-comments
|
|
22
|
+
* @scopes-current write:comment:confluence
|
|
23
|
+
*/
|
|
24
|
+
createFooterComment({ createFooterCommentModel, }: {
|
|
25
|
+
/** The footer comment to be created */
|
|
26
|
+
createFooterCommentModel: CreateFooterCommentModel;
|
|
27
|
+
}): Promise<FooterCommentModel & ({
|
|
28
|
+
_links?: {
|
|
29
|
+
/** Base url of the Confluence site. */
|
|
30
|
+
base?: string;
|
|
31
|
+
} & {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
} & {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
})>;
|
|
37
|
+
/**
|
|
38
|
+
* Create an inline comment. This can be at the top level (specifying pageId or
|
|
39
|
+
* blogPostId in the request body)
|
|
40
|
+
* or as a reply (specifying parentCommentId in the request body). Note the
|
|
41
|
+
* inlineCommentProperties object in the
|
|
42
|
+
* request body is used to select the text the inline comment should be tied to.
|
|
43
|
+
* This is what determines the text
|
|
44
|
+
* highlighting when viewing a page in Confluence.
|
|
45
|
+
*
|
|
46
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
47
|
+
* Permission to view the content of the page or blogpost and its corresponding
|
|
48
|
+
* space. Permission to create comments in the space.
|
|
49
|
+
*
|
|
50
|
+
* @returns Returned if the inline comment is created.
|
|
51
|
+
* @path {POST} /inline-comments
|
|
52
|
+
* @scopes-current write:comment:confluence
|
|
53
|
+
*/
|
|
54
|
+
createInlineComment({ createInlineCommentModel, }: {
|
|
55
|
+
/** The inline comment to be created */
|
|
56
|
+
createInlineCommentModel: CreateInlineCommentModel;
|
|
57
|
+
}): Promise<InlineCommentModel & ({
|
|
58
|
+
_links?: {
|
|
59
|
+
/** Base url of the Confluence site. */
|
|
60
|
+
base?: string;
|
|
61
|
+
} & {
|
|
62
|
+
[key: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
} & {
|
|
65
|
+
[key: string]: unknown;
|
|
66
|
+
})>;
|
|
67
|
+
/**
|
|
68
|
+
* Deletes a footer comment. This is a permanent deletion and cannot be reverted.
|
|
69
|
+
*
|
|
70
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
71
|
+
* Permission to view the content of the page or blogpost and its corresponding
|
|
72
|
+
* space. Permission to delete comments in the space.
|
|
73
|
+
*
|
|
74
|
+
* @path {DELETE} /footer-comments/{comment-id}
|
|
75
|
+
* @scopes-current delete:comment:confluence
|
|
76
|
+
*/
|
|
77
|
+
deleteFooterComment({ commentId, }: {
|
|
78
|
+
/** The ID of the comment to be retrieved. */
|
|
79
|
+
commentId: number;
|
|
80
|
+
}): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Deletes an inline comment. This is a permanent deletion and cannot be reverted.
|
|
83
|
+
*
|
|
84
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
85
|
+
* Permission to view the content of the page or blogpost and its corresponding
|
|
86
|
+
* space. Permission to delete comments in the space.
|
|
87
|
+
*
|
|
88
|
+
* @path {DELETE} /inline-comments/{comment-id}
|
|
89
|
+
* @scopes-current delete:comment:confluence
|
|
90
|
+
*/
|
|
91
|
+
deleteInlineComment({ commentId, }: {
|
|
92
|
+
/** The ID of the comment to be deleted. */
|
|
93
|
+
commentId: number;
|
|
94
|
+
}): Promise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns the comments of the specific attachment.
|
|
97
|
+
* The number of results is limited by the `limit` parameter and additional
|
|
98
|
+
* results (if available) will be available through
|
|
99
|
+
* the `next` URL present in the `Link` response header.
|
|
100
|
+
*
|
|
101
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
102
|
+
* Permission to view the attachment and its corresponding containers.
|
|
103
|
+
*
|
|
104
|
+
* @returns Returned if the attachment comments were successfully retrieved
|
|
105
|
+
* @path {GET} /attachments/{id}/footer-comments
|
|
106
|
+
* @scopes-current read:comment:confluence
|
|
107
|
+
*/
|
|
108
|
+
getAttachmentComments({ id, bodyFormat, cursor, limit, sort, version, }: {
|
|
109
|
+
/** The ID of the attachment for which comments should be returned. */
|
|
110
|
+
id: string;
|
|
111
|
+
/**
|
|
112
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
113
|
+
* available, the representation will be available under a response field of the
|
|
114
|
+
* same name under the `body` field.
|
|
115
|
+
*/
|
|
116
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
117
|
+
/**
|
|
118
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
119
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
120
|
+
* retrieve the `next` set of results.
|
|
121
|
+
*/
|
|
122
|
+
cursor?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Maximum number of comments per result to return. If more results exist, use the
|
|
125
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
126
|
+
* results.
|
|
127
|
+
*/
|
|
128
|
+
limit?: number;
|
|
129
|
+
/** Used to sort the result by a particular field. */
|
|
130
|
+
sort?: CommentSortOrder;
|
|
131
|
+
/**
|
|
132
|
+
* Version number of the attachment to retrieve comments for. If no version
|
|
133
|
+
* provided, retrieves comments for the latest version.
|
|
134
|
+
*/
|
|
135
|
+
version?: number;
|
|
136
|
+
}): Promise<{
|
|
137
|
+
results?: AttachmentCommentModel[];
|
|
138
|
+
_links?: MultiEntityLinks;
|
|
139
|
+
} & {
|
|
140
|
+
[key: string]: unknown;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Returns the root footer comments of specific blog post. The number of results
|
|
144
|
+
* is limited by the `limit` parameter and additional results (if available)
|
|
145
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
146
|
+
*
|
|
147
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
148
|
+
* Permission to view the content of the blog post and its corresponding space.
|
|
149
|
+
*
|
|
150
|
+
* @returns Returned if the requested footer comments are returned.
|
|
151
|
+
* @path {GET} /blogposts/{id}/footer-comments
|
|
152
|
+
* @scopes-current read:comment:confluence
|
|
153
|
+
*/
|
|
154
|
+
getBlogPostFooterComments({ id, bodyFormat, sort, cursor, limit, }: {
|
|
155
|
+
/** The ID of the blog post for which footer comments should be returned. */
|
|
156
|
+
id: number;
|
|
157
|
+
/**
|
|
158
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
159
|
+
* available, the representation will be available under a response field of the
|
|
160
|
+
* same name under the `body` field.
|
|
161
|
+
*/
|
|
162
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
163
|
+
/** Used to sort the result by a particular field. */
|
|
164
|
+
sort?: CommentSortOrder;
|
|
165
|
+
/**
|
|
166
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
167
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
168
|
+
* retrieve the `next` set of results.
|
|
169
|
+
*/
|
|
170
|
+
cursor?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Maximum number of footer comments per result to return. If more results exist,
|
|
173
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
174
|
+
* of results.
|
|
175
|
+
*/
|
|
176
|
+
limit?: number;
|
|
177
|
+
}): Promise<{
|
|
178
|
+
results?: BlogPostCommentModel[];
|
|
179
|
+
_links?: MultiEntityLinks;
|
|
180
|
+
} & {
|
|
181
|
+
[key: string]: unknown;
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* Returns the root inline comments of specific blog post. The number of results
|
|
185
|
+
* is limited by the `limit` parameter and additional results (if available)
|
|
186
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
187
|
+
*
|
|
188
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
189
|
+
* Permission to view the content of the blog post and its corresponding space.
|
|
190
|
+
*
|
|
191
|
+
* @returns Returned if the requested inline comments are returned.
|
|
192
|
+
* @path {GET} /blogposts/{id}/inline-comments
|
|
193
|
+
* @scopes-current read:comment:confluence
|
|
194
|
+
*/
|
|
195
|
+
getBlogPostInlineComments({ id, bodyFormat, sort, cursor, limit, }: {
|
|
196
|
+
/** The ID of the blog post for which inline comments should be returned. */
|
|
197
|
+
id: number;
|
|
198
|
+
/**
|
|
199
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
200
|
+
* available, the representation will be available under a response field of the
|
|
201
|
+
* same name under the `body` field.
|
|
202
|
+
*/
|
|
203
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
204
|
+
/** Used to sort the result by a particular field. */
|
|
205
|
+
sort?: CommentSortOrder;
|
|
206
|
+
/**
|
|
207
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
208
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
209
|
+
* retrieve the `next` set of results.
|
|
210
|
+
*/
|
|
211
|
+
cursor?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Maximum number of inline comments per result to return. If more results exist,
|
|
214
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
215
|
+
* of results.
|
|
216
|
+
*/
|
|
217
|
+
limit?: number;
|
|
218
|
+
}): Promise<{
|
|
219
|
+
results?: BlogPostInlineCommentModel[];
|
|
220
|
+
_links?: MultiEntityLinks;
|
|
221
|
+
} & {
|
|
222
|
+
[key: string]: unknown;
|
|
223
|
+
}>;
|
|
224
|
+
/**
|
|
225
|
+
* Returns the comments of the specific custom content.
|
|
226
|
+
* The number of results is limited by the `limit` parameter and additional
|
|
227
|
+
* results (if available) will be available through
|
|
228
|
+
* the `next` URL present in the `Link` response header.
|
|
229
|
+
*
|
|
230
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
231
|
+
* Permission to view the custom content and its corresponding containers.
|
|
232
|
+
*
|
|
233
|
+
* @returns Returned if the custom content comments were successfully retrieved
|
|
234
|
+
* @path {GET} /custom-content/{id}/footer-comments
|
|
235
|
+
* @scopes-current read:comment:confluence
|
|
236
|
+
*/
|
|
237
|
+
getCustomContentComments({ id, bodyFormat, cursor, limit, sort, }: {
|
|
238
|
+
/** The ID of the custom content for which comments should be returned. */
|
|
239
|
+
id: number;
|
|
240
|
+
/**
|
|
241
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
242
|
+
* available, the representation will be available under a response field of the
|
|
243
|
+
* same name under the `body` field.
|
|
244
|
+
*/
|
|
245
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
246
|
+
/**
|
|
247
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
248
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
249
|
+
* retrieve the `next` set of results.
|
|
250
|
+
*/
|
|
251
|
+
cursor?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Maximum number of comments per result to return. If more results exist, use the
|
|
254
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
255
|
+
* results.
|
|
256
|
+
*/
|
|
257
|
+
limit?: number;
|
|
258
|
+
/** Used to sort the result by a particular field. */
|
|
259
|
+
sort?: CommentSortOrder;
|
|
260
|
+
}): Promise<{
|
|
261
|
+
results?: CustomContentCommentModel[];
|
|
262
|
+
_links?: MultiEntityLinks;
|
|
263
|
+
} & {
|
|
264
|
+
[key: string]: unknown;
|
|
265
|
+
}>;
|
|
266
|
+
/**
|
|
267
|
+
* Retrieves a footer comment by id
|
|
268
|
+
*
|
|
269
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
270
|
+
* Permission to view the content of the container and its corresponding space.
|
|
271
|
+
*
|
|
272
|
+
* @returns Returned if the footer comment is successfully retrieved.
|
|
273
|
+
* @path {GET} /footer-comments/{comment-id}
|
|
274
|
+
* @scopes-current read:comment:confluence
|
|
275
|
+
*/
|
|
276
|
+
getFooterCommentById({ commentId, bodyFormat, version, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, }: {
|
|
277
|
+
/** The ID of the comment to be retrieved. */
|
|
278
|
+
commentId: number;
|
|
279
|
+
/**
|
|
280
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
281
|
+
* available, the representation will be available under a response field of the
|
|
282
|
+
* same name under the `body` field.
|
|
283
|
+
*/
|
|
284
|
+
bodyFormat?: PrimaryBodyRepresentationSingle;
|
|
285
|
+
/**
|
|
286
|
+
* Allows you to retrieve a previously published version. Specify the previous
|
|
287
|
+
* version's number to retrieve its details.
|
|
288
|
+
*/
|
|
289
|
+
version?: number;
|
|
290
|
+
/**
|
|
291
|
+
* Includes content properties associated with this footer comment in the response.
|
|
292
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
293
|
+
* order.
|
|
294
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
295
|
+
* available and a link to retrieve the rest of the results.
|
|
296
|
+
*/
|
|
297
|
+
includeProperties?: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Includes operations associated with this footer comment in the response.
|
|
300
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
301
|
+
* order.
|
|
302
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
303
|
+
* available and a link to retrieve the rest of the results.
|
|
304
|
+
*/
|
|
305
|
+
includeOperations?: boolean;
|
|
306
|
+
/**
|
|
307
|
+
* Includes likes associated with this footer comment in the response.
|
|
308
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
309
|
+
* order.
|
|
310
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
311
|
+
* available and a link to retrieve the rest of the results.
|
|
312
|
+
*/
|
|
313
|
+
includeLikes?: boolean;
|
|
314
|
+
/**
|
|
315
|
+
* Includes versions associated with this footer comment in the response.
|
|
316
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
317
|
+
* order.
|
|
318
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
319
|
+
* available and a link to retrieve the rest of the results.
|
|
320
|
+
*/
|
|
321
|
+
includeVersions?: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Includes the current version associated with this footer comment in the
|
|
324
|
+
* response.
|
|
325
|
+
* By default this is included and can be omitted by setting the value to `false`.
|
|
326
|
+
*/
|
|
327
|
+
includeVersion?: boolean;
|
|
328
|
+
}): Promise<FooterCommentModel & ({
|
|
329
|
+
_links?: {
|
|
330
|
+
/** Base url of the Confluence site. */
|
|
331
|
+
base?: string;
|
|
332
|
+
} & {
|
|
333
|
+
[key: string]: unknown;
|
|
334
|
+
};
|
|
335
|
+
} & {
|
|
336
|
+
[key: string]: unknown;
|
|
337
|
+
})>;
|
|
338
|
+
/**
|
|
339
|
+
* Returns the children footer comments of specific comment. The number of results
|
|
340
|
+
* is limited by the `limit` parameter and additional results (if available)
|
|
341
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
342
|
+
*
|
|
343
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
344
|
+
* Permission to view the content of the page and its corresponding space.
|
|
345
|
+
*
|
|
346
|
+
* @returns Returned if the requested footer comments are returned.
|
|
347
|
+
* @path {GET} /footer-comments/{id}/children
|
|
348
|
+
* @scopes-current read:comment:confluence
|
|
349
|
+
*/
|
|
350
|
+
getFooterCommentChildren({ id, bodyFormat, sort, cursor, limit, }: {
|
|
351
|
+
/**
|
|
352
|
+
* The ID of the parent comment for which footer comment children should be
|
|
353
|
+
* returned.
|
|
354
|
+
*/
|
|
355
|
+
id: number;
|
|
356
|
+
/**
|
|
357
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
358
|
+
* available, the representation will be available under a response field of the
|
|
359
|
+
* same name under the `body` field.
|
|
360
|
+
*/
|
|
361
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
362
|
+
/** Used to sort the result by a particular field. */
|
|
363
|
+
sort?: CommentSortOrder;
|
|
364
|
+
/**
|
|
365
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
366
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
367
|
+
* retrieve the `next` set of results.
|
|
368
|
+
*/
|
|
369
|
+
cursor?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Maximum number of footer comments per result to return. If more results exist,
|
|
372
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
373
|
+
* of results.
|
|
374
|
+
*/
|
|
375
|
+
limit?: number;
|
|
376
|
+
}): Promise<{
|
|
377
|
+
results?: ChildrenCommentModel[];
|
|
378
|
+
_links?: MultiEntityLinks;
|
|
379
|
+
} & {
|
|
380
|
+
[key: string]: unknown;
|
|
381
|
+
}>;
|
|
382
|
+
/**
|
|
383
|
+
* Returns all footer comments. The number of results is limited by the `limit`
|
|
384
|
+
* parameter and additional results (if available)
|
|
385
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
386
|
+
*
|
|
387
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
388
|
+
* Permission to view the content of the container and its corresponding space.
|
|
389
|
+
*
|
|
390
|
+
* @returns Returned if the requested footer comments are returned.
|
|
391
|
+
* @path {GET} /footer-comments
|
|
392
|
+
* @scopes-current read:comment:confluence
|
|
393
|
+
*/
|
|
394
|
+
getFooterComments({ bodyFormat, sort, cursor, limit, }: {
|
|
395
|
+
/**
|
|
396
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
397
|
+
* available, the representation will be available under a response field of the
|
|
398
|
+
* same name under the `body` field.
|
|
399
|
+
*/
|
|
400
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
401
|
+
/** Used to sort the result by a particular field. */
|
|
402
|
+
sort?: CommentSortOrder;
|
|
403
|
+
/**
|
|
404
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
405
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
406
|
+
* retrieve the `next` set of results.
|
|
407
|
+
*/
|
|
408
|
+
cursor?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Maximum number of footer comments per result to return. If more results exist,
|
|
411
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
412
|
+
* of results.
|
|
413
|
+
*/
|
|
414
|
+
limit?: number;
|
|
415
|
+
}): Promise<{
|
|
416
|
+
results?: FooterCommentModel[];
|
|
417
|
+
_links?: MultiEntityLinks;
|
|
418
|
+
} & {
|
|
419
|
+
[key: string]: unknown;
|
|
420
|
+
}>;
|
|
421
|
+
/**
|
|
422
|
+
* Retrieves an inline comment by id
|
|
423
|
+
*
|
|
424
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
425
|
+
* Permission to view the content of the page or blogpost and its corresponding
|
|
426
|
+
* space.
|
|
427
|
+
*
|
|
428
|
+
* @returns Returned if the inline comment is successfully retrieved.
|
|
429
|
+
* @path {GET} /inline-comments/{comment-id}
|
|
430
|
+
* @scopes-current read:comment:confluence
|
|
431
|
+
*/
|
|
432
|
+
getInlineCommentById({ commentId, bodyFormat, version, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, }: {
|
|
433
|
+
/** The ID of the comment to be retrieved. */
|
|
434
|
+
commentId: number;
|
|
435
|
+
/**
|
|
436
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
437
|
+
* available, the representation will be available under a response field of the
|
|
438
|
+
* same name under the `body` field.
|
|
439
|
+
*/
|
|
440
|
+
bodyFormat?: PrimaryBodyRepresentationSingle;
|
|
441
|
+
/**
|
|
442
|
+
* Allows you to retrieve a previously published version. Specify the previous
|
|
443
|
+
* version's number to retrieve its details.
|
|
444
|
+
*/
|
|
445
|
+
version?: number;
|
|
446
|
+
/**
|
|
447
|
+
* Includes content properties associated with this inline comment in the response.
|
|
448
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
449
|
+
* order.
|
|
450
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
451
|
+
* available and a link to retrieve the rest of the results.
|
|
452
|
+
*/
|
|
453
|
+
includeProperties?: boolean;
|
|
454
|
+
/**
|
|
455
|
+
* Includes operations associated with this inline comment in the response.
|
|
456
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
457
|
+
* order.
|
|
458
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
459
|
+
* available and a link to retrieve the rest of the results.
|
|
460
|
+
*/
|
|
461
|
+
includeOperations?: boolean;
|
|
462
|
+
/**
|
|
463
|
+
* Includes likes associated with this inline comment in the response.
|
|
464
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
465
|
+
* order.
|
|
466
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
467
|
+
* available and a link to retrieve the rest of the results.
|
|
468
|
+
*/
|
|
469
|
+
includeLikes?: boolean;
|
|
470
|
+
/**
|
|
471
|
+
* Includes versions associated with this inline comment in the response.
|
|
472
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
473
|
+
* order.
|
|
474
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
475
|
+
* available and a link to retrieve the rest of the results.
|
|
476
|
+
*/
|
|
477
|
+
includeVersions?: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* Includes the current version associated with this inline comment in the
|
|
480
|
+
* response.
|
|
481
|
+
* By default this is included and can be omitted by setting the value to `false`.
|
|
482
|
+
*/
|
|
483
|
+
includeVersion?: boolean;
|
|
484
|
+
}): Promise<InlineCommentModel & ({
|
|
485
|
+
_links?: {
|
|
486
|
+
/** Base url of the Confluence site. */
|
|
487
|
+
base?: string;
|
|
488
|
+
} & {
|
|
489
|
+
[key: string]: unknown;
|
|
490
|
+
};
|
|
491
|
+
} & {
|
|
492
|
+
[key: string]: unknown;
|
|
493
|
+
})>;
|
|
494
|
+
/**
|
|
495
|
+
* Returns the children inline comments of specific comment. The number of results
|
|
496
|
+
* is limited by the `limit` parameter and additional results (if available)
|
|
497
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
498
|
+
*
|
|
499
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
500
|
+
* Permission to view the content of the page and its corresponding space.
|
|
501
|
+
*
|
|
502
|
+
* @returns Returned if the requested footer comments are returned.
|
|
503
|
+
* @path {GET} /inline-comments/{id}/children
|
|
504
|
+
* @scopes-current read:comment:confluence
|
|
505
|
+
*/
|
|
506
|
+
getInlineCommentChildren({ id, bodyFormat, sort, cursor, limit, }: {
|
|
507
|
+
/**
|
|
508
|
+
* The ID of the parent comment for which inline comment children should be
|
|
509
|
+
* returned.
|
|
510
|
+
*/
|
|
511
|
+
id: number;
|
|
512
|
+
/**
|
|
513
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
514
|
+
* available, the representation will be available under a response field of the
|
|
515
|
+
* same name under the `body` field.
|
|
516
|
+
*/
|
|
517
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
518
|
+
/** Used to sort the result by a particular field. */
|
|
519
|
+
sort?: CommentSortOrder;
|
|
520
|
+
/**
|
|
521
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
522
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
523
|
+
* retrieve the `next` set of results.
|
|
524
|
+
*/
|
|
525
|
+
cursor?: string;
|
|
526
|
+
/**
|
|
527
|
+
* Maximum number of footer comments per result to return. If more results exist,
|
|
528
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
529
|
+
* of results.
|
|
530
|
+
*/
|
|
531
|
+
limit?: number;
|
|
532
|
+
}): Promise<{
|
|
533
|
+
results?: InlineCommentChildrenModel[];
|
|
534
|
+
_links?: MultiEntityLinks;
|
|
535
|
+
} & {
|
|
536
|
+
[key: string]: unknown;
|
|
537
|
+
}>;
|
|
538
|
+
/**
|
|
539
|
+
* Returns all inline comments. The number of results is limited by the `limit`
|
|
540
|
+
* parameter and additional results (if available)
|
|
541
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
542
|
+
*
|
|
543
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
544
|
+
* Permission to view the content of the page and its corresponding space.
|
|
545
|
+
*
|
|
546
|
+
* @returns Returned if the requested inline comments are returned.
|
|
547
|
+
* @path {GET} /inline-comments
|
|
548
|
+
* @scopes-current read:comment:confluence
|
|
549
|
+
*/
|
|
550
|
+
getInlineComments({ bodyFormat, sort, cursor, limit, }: {
|
|
551
|
+
/**
|
|
552
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
553
|
+
* available, the representation will be available under a response field of the
|
|
554
|
+
* same name under the `body` field.
|
|
555
|
+
*/
|
|
556
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
557
|
+
/** Used to sort the result by a particular field. */
|
|
558
|
+
sort?: CommentSortOrder;
|
|
559
|
+
/**
|
|
560
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
561
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
562
|
+
* retrieve the `next` set of results.
|
|
563
|
+
*/
|
|
564
|
+
cursor?: string;
|
|
565
|
+
/**
|
|
566
|
+
* Maximum number of footer comments per result to return. If more results exist,
|
|
567
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
568
|
+
* of results.
|
|
569
|
+
*/
|
|
570
|
+
limit?: number;
|
|
571
|
+
}): Promise<{
|
|
572
|
+
results?: InlineCommentModel[];
|
|
573
|
+
_links?: MultiEntityLinks;
|
|
574
|
+
} & {
|
|
575
|
+
[key: string]: unknown;
|
|
576
|
+
}>;
|
|
577
|
+
/**
|
|
578
|
+
* Returns the root footer comments of specific page. The number of results is
|
|
579
|
+
* limited by the `limit` parameter and additional results (if available)
|
|
580
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
581
|
+
*
|
|
582
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
583
|
+
* Permission to view the content of the page and its corresponding space.
|
|
584
|
+
*
|
|
585
|
+
* @returns Returned if the requested footer comments are returned.
|
|
586
|
+
* @path {GET} /pages/{id}/footer-comments
|
|
587
|
+
* @scopes-current read:comment:confluence
|
|
588
|
+
*/
|
|
589
|
+
getPageFooterComments({ id, bodyFormat, sort, cursor, limit, }: {
|
|
590
|
+
/** The ID of the page for which footer comments should be returned. */
|
|
591
|
+
id: number;
|
|
592
|
+
/**
|
|
593
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
594
|
+
* available, the representation will be available under a response field of the
|
|
595
|
+
* same name under the `body` field.
|
|
596
|
+
*/
|
|
597
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
598
|
+
/** Used to sort the result by a particular field. */
|
|
599
|
+
sort?: CommentSortOrder;
|
|
600
|
+
/**
|
|
601
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
602
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
603
|
+
* retrieve the `next` set of results.
|
|
604
|
+
*/
|
|
605
|
+
cursor?: string;
|
|
606
|
+
/**
|
|
607
|
+
* Maximum number of footer comments per result to return. If more results exist,
|
|
608
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
609
|
+
* of results.
|
|
610
|
+
*/
|
|
611
|
+
limit?: number;
|
|
612
|
+
}): Promise<{
|
|
613
|
+
results?: PageCommentModel[];
|
|
614
|
+
_links?: MultiEntityLinks;
|
|
615
|
+
} & {
|
|
616
|
+
[key: string]: unknown;
|
|
617
|
+
}>;
|
|
618
|
+
/**
|
|
619
|
+
* Returns the root inline comments of specific page. The number of results is
|
|
620
|
+
* limited by the `limit` parameter and additional results (if available)
|
|
621
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
622
|
+
*
|
|
623
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
624
|
+
* Permission to view the content of the page and its corresponding space.
|
|
625
|
+
*
|
|
626
|
+
* @returns Returned if the requested inline comments are returned.
|
|
627
|
+
* @path {GET} /pages/{id}/inline-comments
|
|
628
|
+
* @scopes-current read:comment:confluence
|
|
629
|
+
*/
|
|
630
|
+
getPageInlineComments({ id, bodyFormat, sort, cursor, limit, }: {
|
|
631
|
+
/** The ID of the page for which inline comments should be returned. */
|
|
632
|
+
id: number;
|
|
633
|
+
/**
|
|
634
|
+
* The content format type to be returned in the `body` field of the response. If
|
|
635
|
+
* available, the representation will be available under a response field of the
|
|
636
|
+
* same name under the `body` field.
|
|
637
|
+
*/
|
|
638
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
639
|
+
/** Used to sort the result by a particular field. */
|
|
640
|
+
sort?: CommentSortOrder;
|
|
641
|
+
/**
|
|
642
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
643
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
644
|
+
* retrieve the `next` set of results.
|
|
645
|
+
*/
|
|
646
|
+
cursor?: string;
|
|
647
|
+
/**
|
|
648
|
+
* Maximum number of inline comments per result to return. If more results exist,
|
|
649
|
+
* use the `Link` header to retrieve a relative URL that will return the next set
|
|
650
|
+
* of results.
|
|
651
|
+
*/
|
|
652
|
+
limit?: number;
|
|
653
|
+
}): Promise<{
|
|
654
|
+
results?: PageInlineCommentModel[];
|
|
655
|
+
_links?: MultiEntityLinks;
|
|
656
|
+
} & {
|
|
657
|
+
[key: string]: unknown;
|
|
658
|
+
}>;
|
|
659
|
+
/**
|
|
660
|
+
* Update a footer comment. This can be used to update the body text of a comment.
|
|
661
|
+
*
|
|
662
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
663
|
+
* Permission to view the content of the page or blogpost and its corresponding
|
|
664
|
+
* space. Permission to create comments in the space.
|
|
665
|
+
*
|
|
666
|
+
* @returns Returned if the footer comment is updated successfully
|
|
667
|
+
* @path {PUT} /footer-comments/{comment-id}
|
|
668
|
+
* @scopes-current write:comment:confluence
|
|
669
|
+
*/
|
|
670
|
+
updateFooterComment({ commentId, requestBody, }: {
|
|
671
|
+
/** The ID of the comment to be retrieved. */
|
|
672
|
+
commentId: number;
|
|
673
|
+
/** The footer comment to be created */
|
|
674
|
+
requestBody: UpdateFooterCommentModel & ({
|
|
675
|
+
_links?: {
|
|
676
|
+
/** Base url of the Confluence site. */
|
|
677
|
+
base?: string;
|
|
678
|
+
} & {
|
|
679
|
+
[key: string]: unknown;
|
|
680
|
+
};
|
|
681
|
+
} & {
|
|
682
|
+
[key: string]: unknown;
|
|
683
|
+
});
|
|
684
|
+
}): Promise<FooterCommentModel>;
|
|
685
|
+
/**
|
|
686
|
+
* Update an inline comment. This can be used to update the body text of a comment
|
|
687
|
+
* and/or to resolve the comment
|
|
688
|
+
*
|
|
689
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
690
|
+
* Permission to view the content of the page or blogpost and its corresponding
|
|
691
|
+
* space. Permission to create comments in the space.
|
|
692
|
+
*
|
|
693
|
+
* @returns Returned if the inline comment is updated successfully.
|
|
694
|
+
* @path {PUT} /inline-comments/{comment-id}
|
|
695
|
+
* @scopes-current write:comment:confluence
|
|
696
|
+
*/
|
|
697
|
+
updateInlineComment({ commentId, updateInlineCommentModel, }: {
|
|
698
|
+
/** The ID of the comment to be retrieved. */
|
|
699
|
+
commentId: number;
|
|
700
|
+
/** The inline comment to be updated */
|
|
701
|
+
updateInlineCommentModel: UpdateInlineCommentModel;
|
|
702
|
+
}): Promise<InlineCommentModel & ({
|
|
703
|
+
_links?: {
|
|
704
|
+
/** Base url of the Confluence site. */
|
|
705
|
+
base?: string;
|
|
706
|
+
} & {
|
|
707
|
+
[key: string]: unknown;
|
|
708
|
+
};
|
|
709
|
+
} & {
|
|
710
|
+
[key: string]: unknown;
|
|
711
|
+
})>;
|
|
712
|
+
static initialize(): void;
|
|
713
|
+
}
|