@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,550 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type SpaceWatchArray, type UserWatch, type WatchArray } from "../models/contentWatches";
|
|
3
|
+
export declare class ContentWatchesService extends CommonHttpService {
|
|
4
|
+
/**
|
|
5
|
+
* Adds a user as a watcher to a piece of content. Choose the user by doing
|
|
6
|
+
* one of the following:
|
|
7
|
+
*
|
|
8
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
9
|
+
* user.
|
|
10
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
11
|
+
*
|
|
12
|
+
* Note, you must add the `X-Atlassian-Token: no-check` header when making a
|
|
13
|
+
* request, as this operation has XSRF protection.
|
|
14
|
+
*
|
|
15
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
16
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
17
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
18
|
+
*
|
|
19
|
+
* @path {POST} /wiki/rest/api/user/watch/content/{contentId}
|
|
20
|
+
* @scopes-current write:confluence-content
|
|
21
|
+
* @scopes-beta write:watcher:confluence
|
|
22
|
+
*/
|
|
23
|
+
addContentWatcher({ contentId, key, username, accountId, }: {
|
|
24
|
+
/** The ID of the content to add the watcher to. */
|
|
25
|
+
contentId: string;
|
|
26
|
+
/**
|
|
27
|
+
* This parameter is no longer available and will be removed from the
|
|
28
|
+
* documentation soon.
|
|
29
|
+
* Use `accountId` instead.
|
|
30
|
+
* See the [deprecation
|
|
31
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
32
|
+
* for details.
|
|
33
|
+
*
|
|
34
|
+
* @deprecated
|
|
35
|
+
*/
|
|
36
|
+
key?: string;
|
|
37
|
+
/**
|
|
38
|
+
* This parameter is no longer available and will be removed from the
|
|
39
|
+
* documentation soon.
|
|
40
|
+
* Use `accountId` instead.
|
|
41
|
+
* See the [deprecation
|
|
42
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
43
|
+
* for details.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated
|
|
46
|
+
*/
|
|
47
|
+
username?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
50
|
+
* all Atlassian products.
|
|
51
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
52
|
+
*/
|
|
53
|
+
accountId?: string;
|
|
54
|
+
}): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Adds a user as a watcher to a label. Choose the user by doing one of the
|
|
57
|
+
* following:
|
|
58
|
+
*
|
|
59
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
60
|
+
* user.
|
|
61
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
62
|
+
*
|
|
63
|
+
* Note, you must add the `X-Atlassian-Token: no-check` header when making a
|
|
64
|
+
* request, as this operation has XSRF protection.
|
|
65
|
+
*
|
|
66
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
67
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
68
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
69
|
+
*
|
|
70
|
+
* @path {POST} /wiki/rest/api/user/watch/label/{labelName}
|
|
71
|
+
* @scopes-current write:confluence-content
|
|
72
|
+
* @scopes-beta write:watcher:confluence
|
|
73
|
+
*/
|
|
74
|
+
addLabelWatcher({ labelName, key, username, accountId, xAtlassianToken, }: {
|
|
75
|
+
/** The name of the label to add the watcher to. */
|
|
76
|
+
labelName: string;
|
|
77
|
+
/**
|
|
78
|
+
* This parameter is no longer available and will be removed from the
|
|
79
|
+
* documentation soon.
|
|
80
|
+
* Use `accountId` instead.
|
|
81
|
+
* See the [deprecation
|
|
82
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
83
|
+
* for details.
|
|
84
|
+
*
|
|
85
|
+
* @deprecated
|
|
86
|
+
*/
|
|
87
|
+
key?: string;
|
|
88
|
+
/**
|
|
89
|
+
* This parameter is no longer available and will be removed from the
|
|
90
|
+
* documentation soon.
|
|
91
|
+
* Use `accountId` instead.
|
|
92
|
+
* See the [deprecation
|
|
93
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
94
|
+
* for details.
|
|
95
|
+
*
|
|
96
|
+
* @deprecated
|
|
97
|
+
*/
|
|
98
|
+
username?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
101
|
+
* all Atlassian products.
|
|
102
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
103
|
+
*/
|
|
104
|
+
accountId?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Note, you must add header when making a
|
|
107
|
+
* request, as this operation has XSRF protection.
|
|
108
|
+
*/
|
|
109
|
+
xAtlassianToken: string;
|
|
110
|
+
}): Promise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* Adds a user as a watcher to a space. Choose the user by doing one of the
|
|
113
|
+
* following:
|
|
114
|
+
*
|
|
115
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
116
|
+
* user.
|
|
117
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
118
|
+
*
|
|
119
|
+
* Note, you must add the `X-Atlassian-Token: no-check` header when making a
|
|
120
|
+
* request, as this operation has XSRF protection.
|
|
121
|
+
*
|
|
122
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
123
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
124
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
125
|
+
*
|
|
126
|
+
* @path {POST} /wiki/rest/api/user/watch/space/{spaceKey}
|
|
127
|
+
* @scopes-current write:confluence-content
|
|
128
|
+
* @scopes-beta write:watcher:confluence
|
|
129
|
+
*/
|
|
130
|
+
addSpaceWatcher({ spaceKey, key, username, accountId, xAtlassianToken, }: {
|
|
131
|
+
/** The key of the space to add the watcher to. */
|
|
132
|
+
spaceKey: string;
|
|
133
|
+
/**
|
|
134
|
+
* This parameter is no longer available and will be removed from the
|
|
135
|
+
* documentation soon.
|
|
136
|
+
* Use `accountId` instead.
|
|
137
|
+
* See the [deprecation
|
|
138
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
139
|
+
* for details.
|
|
140
|
+
*
|
|
141
|
+
* @deprecated
|
|
142
|
+
*/
|
|
143
|
+
key?: string;
|
|
144
|
+
/**
|
|
145
|
+
* This parameter is no longer available and will be removed from the
|
|
146
|
+
* documentation soon.
|
|
147
|
+
* Use `accountId` instead.
|
|
148
|
+
* See the [deprecation
|
|
149
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
150
|
+
* for details.
|
|
151
|
+
*
|
|
152
|
+
* @deprecated
|
|
153
|
+
*/
|
|
154
|
+
username?: string;
|
|
155
|
+
/**
|
|
156
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
157
|
+
* all Atlassian products.
|
|
158
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
159
|
+
*/
|
|
160
|
+
accountId?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Note, you must add header when making a
|
|
163
|
+
* request, as this operation has XSRF protection.
|
|
164
|
+
*/
|
|
165
|
+
xAtlassianToken: string;
|
|
166
|
+
}): Promise<void>;
|
|
167
|
+
/**
|
|
168
|
+
* Returns whether a user is watching a piece of content. Choose the user by
|
|
169
|
+
* doing one of the following:
|
|
170
|
+
*
|
|
171
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
172
|
+
* user.
|
|
173
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
174
|
+
*
|
|
175
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
176
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
177
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
178
|
+
*
|
|
179
|
+
* @returns Returned if the requested watch status is returned.
|
|
180
|
+
* @path {GET} /wiki/rest/api/user/watch/content/{contentId}
|
|
181
|
+
* @scopes-current read:confluence-content.summary
|
|
182
|
+
* @scopes-beta read:watcher:confluence
|
|
183
|
+
*/
|
|
184
|
+
getContentWatchStatus({ contentId, key, username, accountId, }: {
|
|
185
|
+
/**
|
|
186
|
+
* The ID of the content to be queried for whether the specified user is
|
|
187
|
+
* watching it.
|
|
188
|
+
*/
|
|
189
|
+
contentId: string;
|
|
190
|
+
/**
|
|
191
|
+
* This parameter is no longer available and will be removed from the
|
|
192
|
+
* documentation soon.
|
|
193
|
+
* Use `accountId` instead.
|
|
194
|
+
* See the [deprecation
|
|
195
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
196
|
+
* for details.
|
|
197
|
+
*
|
|
198
|
+
* @deprecated
|
|
199
|
+
*/
|
|
200
|
+
key?: string;
|
|
201
|
+
/**
|
|
202
|
+
* This parameter is no longer available and will be removed from the
|
|
203
|
+
* documentation soon.
|
|
204
|
+
* Use `accountId` instead.
|
|
205
|
+
* See the [deprecation
|
|
206
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
207
|
+
* for details.
|
|
208
|
+
*
|
|
209
|
+
* @deprecated
|
|
210
|
+
*/
|
|
211
|
+
username?: string;
|
|
212
|
+
/**
|
|
213
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
214
|
+
* all Atlassian products.
|
|
215
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
216
|
+
*/
|
|
217
|
+
accountId?: string;
|
|
218
|
+
}): Promise<UserWatch>;
|
|
219
|
+
/**
|
|
220
|
+
* Returns a list of watchers of a space
|
|
221
|
+
*
|
|
222
|
+
* @returns Returned if watchers list is returned.
|
|
223
|
+
* @path {GET} /wiki/rest/api/space/{spaceKey}/watch
|
|
224
|
+
* @scopes-current read:watcher:confluence, read:user:confluence
|
|
225
|
+
*/
|
|
226
|
+
getWatchersForSpace({ spaceKey, start, limit, }: {
|
|
227
|
+
/** The key of the space to get watchers. */
|
|
228
|
+
spaceKey: string;
|
|
229
|
+
/** The start point of the collection to return. */
|
|
230
|
+
start?: string;
|
|
231
|
+
/**
|
|
232
|
+
* The limit of the number of items to return, this may be restricted by fixed
|
|
233
|
+
* system limits.
|
|
234
|
+
*/
|
|
235
|
+
limit?: string;
|
|
236
|
+
}): Promise<SpaceWatchArray>;
|
|
237
|
+
/**
|
|
238
|
+
* Returns the watches for a page. A user that watches a page will receive
|
|
239
|
+
* receive notifications when the page is updated.
|
|
240
|
+
*
|
|
241
|
+
* If you want to manage watches for a page, use the following `user` methods:
|
|
242
|
+
*
|
|
243
|
+
* - [Get content watch status for user](#api-user-watch-content-contentId-get)
|
|
244
|
+
* - [Add content watch](#api-user-watch-content-contentId-post)
|
|
245
|
+
* - [Remove content watch](#api-user-watch-content-contentId-delete)
|
|
246
|
+
*
|
|
247
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
248
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
249
|
+
*
|
|
250
|
+
* @returns Returned if the requested watches are returned.
|
|
251
|
+
* @path {GET} /wiki/rest/api/content/{id}/notification/child-created
|
|
252
|
+
* @scopes-current read:confluence-content.summary
|
|
253
|
+
* @scopes-beta read:watcher:confluence, read:user:confluence
|
|
254
|
+
*/
|
|
255
|
+
getWatchesForPage({ id, start, limit, }: {
|
|
256
|
+
/** The ID of the content to be queried for its watches. */
|
|
257
|
+
id: string;
|
|
258
|
+
/** The starting index of the returned watches. */
|
|
259
|
+
start?: number;
|
|
260
|
+
/**
|
|
261
|
+
* The maximum number of watches to return per page.
|
|
262
|
+
* Note, this may be restricted by fixed system limits.
|
|
263
|
+
*/
|
|
264
|
+
limit?: number;
|
|
265
|
+
}): Promise<WatchArray>;
|
|
266
|
+
/**
|
|
267
|
+
* Returns all space watches for the space that the content is in. A user that
|
|
268
|
+
* watches a space will receive receive notifications when any content in the
|
|
269
|
+
* space is updated.
|
|
270
|
+
*
|
|
271
|
+
* If you want to manage watches for a space, use the following `user` methods:
|
|
272
|
+
*
|
|
273
|
+
* - [Get space watch status for user](#api-user-watch-space-spaceKey-get)
|
|
274
|
+
* - [Add space watch](#api-user-watch-space-spaceKey-post)
|
|
275
|
+
* - [Remove space watch](#api-user-watch-space-spaceKey-delete)
|
|
276
|
+
*
|
|
277
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
278
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
279
|
+
*
|
|
280
|
+
* @returns Returned if the requested watches are returned.
|
|
281
|
+
* @path {GET} /wiki/rest/api/content/{id}/notification/created
|
|
282
|
+
* @scopes-current read:confluence-content.summary
|
|
283
|
+
* @scopes-beta read:watcher:confluence, read:user:confluence
|
|
284
|
+
*/
|
|
285
|
+
getWatchesForSpace({ id, start, limit, }: {
|
|
286
|
+
/** The ID of the content to be queried for its watches. */
|
|
287
|
+
id: string;
|
|
288
|
+
/** The starting index of the returned watches. */
|
|
289
|
+
start?: number;
|
|
290
|
+
/**
|
|
291
|
+
* The maximum number of watches to return per page.
|
|
292
|
+
* Note, this may be restricted by fixed system limits.
|
|
293
|
+
*/
|
|
294
|
+
limit?: number;
|
|
295
|
+
}): Promise<SpaceWatchArray>;
|
|
296
|
+
/**
|
|
297
|
+
* Returns whether a user is watching a label. Choose the user by doing one
|
|
298
|
+
* of the following:
|
|
299
|
+
*
|
|
300
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
301
|
+
* user.
|
|
302
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
303
|
+
*
|
|
304
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
305
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
306
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
307
|
+
*
|
|
308
|
+
* @returns Returned if the requested watch status is returned.
|
|
309
|
+
* @path {GET} /wiki/rest/api/user/watch/label/{labelName}
|
|
310
|
+
* @scopes-current read:confluence-content.summary
|
|
311
|
+
* @scopes-beta read:watcher:confluence
|
|
312
|
+
*/
|
|
313
|
+
isWatchingLabel({ labelName, key, username, accountId, }: {
|
|
314
|
+
/**
|
|
315
|
+
* The name of the label to be queried for whether the specified user is
|
|
316
|
+
* watching it.
|
|
317
|
+
*/
|
|
318
|
+
labelName: string;
|
|
319
|
+
/**
|
|
320
|
+
* This parameter is no longer available and will be removed from the
|
|
321
|
+
* documentation soon.
|
|
322
|
+
* Use `accountId` instead.
|
|
323
|
+
* See the [deprecation
|
|
324
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
325
|
+
* for details.
|
|
326
|
+
*
|
|
327
|
+
* @deprecated
|
|
328
|
+
*/
|
|
329
|
+
key?: string;
|
|
330
|
+
/**
|
|
331
|
+
* This parameter is no longer available and will be removed from the
|
|
332
|
+
* documentation soon.
|
|
333
|
+
* Use `accountId` instead.
|
|
334
|
+
* See the [deprecation
|
|
335
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
336
|
+
* for details.
|
|
337
|
+
*
|
|
338
|
+
* @deprecated
|
|
339
|
+
*/
|
|
340
|
+
username?: string;
|
|
341
|
+
/**
|
|
342
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
343
|
+
* all Atlassian products.
|
|
344
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
345
|
+
*/
|
|
346
|
+
accountId?: string;
|
|
347
|
+
}): Promise<UserWatch>;
|
|
348
|
+
/**
|
|
349
|
+
* Returns whether a user is watching a space. Choose the user by
|
|
350
|
+
* doing one of the following:
|
|
351
|
+
*
|
|
352
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
353
|
+
* user.
|
|
354
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
355
|
+
*
|
|
356
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
357
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
358
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
359
|
+
*
|
|
360
|
+
* @returns Returned if the requested watch status is returned.
|
|
361
|
+
* @path {GET} /wiki/rest/api/user/watch/space/{spaceKey}
|
|
362
|
+
* @scopes-current read:confluence-content.summary
|
|
363
|
+
* @scopes-beta read:watcher:confluence
|
|
364
|
+
*/
|
|
365
|
+
isWatchingSpace({ spaceKey, key, username, accountId, }: {
|
|
366
|
+
/**
|
|
367
|
+
* The key of the space to be queried for whether the specified user is
|
|
368
|
+
* watching it.
|
|
369
|
+
*/
|
|
370
|
+
spaceKey: string;
|
|
371
|
+
/**
|
|
372
|
+
* This parameter is no longer available and will be removed from the
|
|
373
|
+
* documentation soon.
|
|
374
|
+
* Use `accountId` instead.
|
|
375
|
+
* See the [deprecation
|
|
376
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
377
|
+
* for details.
|
|
378
|
+
*
|
|
379
|
+
* @deprecated
|
|
380
|
+
*/
|
|
381
|
+
key?: string;
|
|
382
|
+
/**
|
|
383
|
+
* This parameter is no longer available and will be removed from the
|
|
384
|
+
* documentation soon.
|
|
385
|
+
* Use `accountId` instead.
|
|
386
|
+
* See the [deprecation
|
|
387
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
388
|
+
* for details.
|
|
389
|
+
*
|
|
390
|
+
* @deprecated
|
|
391
|
+
*/
|
|
392
|
+
username?: string;
|
|
393
|
+
/**
|
|
394
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
395
|
+
* all Atlassian products.
|
|
396
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
397
|
+
*/
|
|
398
|
+
accountId?: string;
|
|
399
|
+
}): Promise<UserWatch>;
|
|
400
|
+
/**
|
|
401
|
+
* Removes a user as a watcher from a piece of content. Choose the user by
|
|
402
|
+
* doing one of the following:
|
|
403
|
+
*
|
|
404
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
405
|
+
* user.
|
|
406
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
407
|
+
*
|
|
408
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
409
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
410
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
411
|
+
*
|
|
412
|
+
* @path {DELETE} /wiki/rest/api/user/watch/content/{contentId}
|
|
413
|
+
* @scopes-current write:confluence-content
|
|
414
|
+
* @scopes-beta write:watcher:confluence
|
|
415
|
+
*/
|
|
416
|
+
removeContentWatcher({ contentId, key, username, accountId, xAtlassianToken, }: {
|
|
417
|
+
/** The ID of the content to remove the watcher from. */
|
|
418
|
+
contentId: string;
|
|
419
|
+
/**
|
|
420
|
+
* This parameter is no longer available and will be removed from the
|
|
421
|
+
* documentation soon.
|
|
422
|
+
* Use `accountId` instead.
|
|
423
|
+
* See the [deprecation
|
|
424
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
425
|
+
* for details.
|
|
426
|
+
*
|
|
427
|
+
* @deprecated
|
|
428
|
+
*/
|
|
429
|
+
key?: string;
|
|
430
|
+
/**
|
|
431
|
+
* This parameter is no longer available and will be removed from the
|
|
432
|
+
* documentation soon.
|
|
433
|
+
* Use `accountId` instead.
|
|
434
|
+
* See the [deprecation
|
|
435
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
436
|
+
* for details.
|
|
437
|
+
*
|
|
438
|
+
* @deprecated
|
|
439
|
+
*/
|
|
440
|
+
username?: string;
|
|
441
|
+
/**
|
|
442
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
443
|
+
* all Atlassian products.
|
|
444
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
445
|
+
*/
|
|
446
|
+
accountId?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Note, you must add header when making a
|
|
449
|
+
* request, as this operation has XSRF protection.
|
|
450
|
+
*/
|
|
451
|
+
xAtlassianToken: string;
|
|
452
|
+
}): Promise<void>;
|
|
453
|
+
/**
|
|
454
|
+
* Removes a user as a watcher from a label. Choose the user by doing one of
|
|
455
|
+
* the following:
|
|
456
|
+
*
|
|
457
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
458
|
+
* user.
|
|
459
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
460
|
+
*
|
|
461
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
462
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
463
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
464
|
+
*
|
|
465
|
+
* @path {DELETE} /wiki/rest/api/user/watch/label/{labelName}
|
|
466
|
+
* @scopes-current write:confluence-content
|
|
467
|
+
* @scopes-beta write:watcher:confluence
|
|
468
|
+
*/
|
|
469
|
+
removeLabelWatcher({ labelName, key, username, accountId, }: {
|
|
470
|
+
/** The name of the label to remove the watcher from. */
|
|
471
|
+
labelName: string;
|
|
472
|
+
/**
|
|
473
|
+
* This parameter is no longer available and will be removed from the
|
|
474
|
+
* documentation soon.
|
|
475
|
+
* Use `accountId` instead.
|
|
476
|
+
* See the [deprecation
|
|
477
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
478
|
+
* for details.
|
|
479
|
+
*
|
|
480
|
+
* @deprecated
|
|
481
|
+
*/
|
|
482
|
+
key?: string;
|
|
483
|
+
/**
|
|
484
|
+
* This parameter is no longer available and will be removed from the
|
|
485
|
+
* documentation soon.
|
|
486
|
+
* Use `accountId` instead.
|
|
487
|
+
* See the [deprecation
|
|
488
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
489
|
+
* for details.
|
|
490
|
+
*
|
|
491
|
+
* @deprecated
|
|
492
|
+
*/
|
|
493
|
+
username?: string;
|
|
494
|
+
/**
|
|
495
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
496
|
+
* all Atlassian products.
|
|
497
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
498
|
+
*/
|
|
499
|
+
accountId?: string;
|
|
500
|
+
}): Promise<void>;
|
|
501
|
+
/**
|
|
502
|
+
* Removes a user as a watcher from a space. Choose the user by doing one of
|
|
503
|
+
* the following:
|
|
504
|
+
*
|
|
505
|
+
* - Specify a user via a query parameter: Use the `accountId` to identify the
|
|
506
|
+
* user.
|
|
507
|
+
* - Do not specify a user: The currently logged-in user will be used.
|
|
508
|
+
*
|
|
509
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
510
|
+
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
511
|
+
* permission to access the Confluence site ('Can use' global permission).
|
|
512
|
+
*
|
|
513
|
+
* @path {DELETE} /wiki/rest/api/user/watch/space/{spaceKey}
|
|
514
|
+
* @scopes-current write:confluence-content
|
|
515
|
+
* @scopes-beta write:watcher:confluence
|
|
516
|
+
*/
|
|
517
|
+
removeSpaceWatch({ spaceKey, key, username, accountId, }: {
|
|
518
|
+
/** The key of the space to remove the watcher from. */
|
|
519
|
+
spaceKey: string;
|
|
520
|
+
/**
|
|
521
|
+
* This parameter is no longer available and will be removed from the
|
|
522
|
+
* documentation soon.
|
|
523
|
+
* Use `accountId` instead.
|
|
524
|
+
* See the [deprecation
|
|
525
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
526
|
+
* for details.
|
|
527
|
+
*
|
|
528
|
+
* @deprecated
|
|
529
|
+
*/
|
|
530
|
+
key?: string;
|
|
531
|
+
/**
|
|
532
|
+
* This parameter is no longer available and will be removed from the
|
|
533
|
+
* documentation soon.
|
|
534
|
+
* Use `accountId` instead.
|
|
535
|
+
* See the [deprecation
|
|
536
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
537
|
+
* for details.
|
|
538
|
+
*
|
|
539
|
+
* @deprecated
|
|
540
|
+
*/
|
|
541
|
+
username?: string;
|
|
542
|
+
/**
|
|
543
|
+
* The account ID of the user. The accountId uniquely identifies the user across
|
|
544
|
+
* all Atlassian products.
|
|
545
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
546
|
+
*/
|
|
547
|
+
accountId?: string;
|
|
548
|
+
}): Promise<void>;
|
|
549
|
+
static initialize(): void;
|
|
550
|
+
}
|