@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,844 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type ContentProperty, type MultiEntityLinks } from "../models/common";
|
|
3
|
+
import type { ContentPropertyCreateRequest, ContentPropertySortOrder, ContentPropertyUpdateRequest } from "../models/contentProperties";
|
|
4
|
+
export declare class ContentPropertiesService extends CommonHttpService {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new content property for an attachment.
|
|
7
|
+
*
|
|
8
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
9
|
+
* Permission to update the attachment.
|
|
10
|
+
*
|
|
11
|
+
* @returns Returned if the content property was created successfully.
|
|
12
|
+
* @path {POST} /attachments/{attachment-id}/properties
|
|
13
|
+
* @scopes-current read:attachment:confluence, write:attachment:confluence
|
|
14
|
+
*/
|
|
15
|
+
createAttachmentProperty({ attachmentId, contentPropertyCreateRequest, }: {
|
|
16
|
+
/** The ID of the attachment to create a property for. */
|
|
17
|
+
attachmentId: string;
|
|
18
|
+
/** The content property to be created */
|
|
19
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
20
|
+
}): Promise<ContentProperty>;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new property for a blogpost.
|
|
23
|
+
*
|
|
24
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
25
|
+
* Permission to update the blog post.
|
|
26
|
+
*
|
|
27
|
+
* @returns Returned if the content property was created successfully.
|
|
28
|
+
* @path {POST} /blogposts/{blogpost-id}/properties
|
|
29
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
30
|
+
*/
|
|
31
|
+
createBlogpostProperty({ blogpostId, contentPropertyCreateRequest, }: {
|
|
32
|
+
/** The ID of the blog post to create a property for. */
|
|
33
|
+
blogpostId: number;
|
|
34
|
+
/** The content property to be created */
|
|
35
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
36
|
+
}): Promise<ContentProperty>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new content property for a comment.
|
|
39
|
+
*
|
|
40
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
41
|
+
* Permission to update the comment.
|
|
42
|
+
*
|
|
43
|
+
* @returns Returned if the content property was created successfully.
|
|
44
|
+
* @path {POST} /comments/{comment-id}/properties
|
|
45
|
+
* @scopes-current read:comment:confluence, write:comment:confluence
|
|
46
|
+
*/
|
|
47
|
+
createCommentProperty({ commentId, contentPropertyCreateRequest, }: {
|
|
48
|
+
/** The ID of the comment to create a property for. */
|
|
49
|
+
commentId: number;
|
|
50
|
+
/** The content property to be created */
|
|
51
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
52
|
+
}): Promise<ContentProperty>;
|
|
53
|
+
/**
|
|
54
|
+
* Creates a new content property for a piece of custom content.
|
|
55
|
+
*
|
|
56
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
57
|
+
* Permission to update the custom content.
|
|
58
|
+
*
|
|
59
|
+
* @returns Returned if the content property was created successfully.
|
|
60
|
+
* @path {POST} /custom-content/{custom-content-id}/properties
|
|
61
|
+
* @scopes-current read:custom-content:confluence, write:custom-content:confluence
|
|
62
|
+
*/
|
|
63
|
+
createCustomContentProperty({ customContentId, contentPropertyCreateRequest, }: {
|
|
64
|
+
/** The ID of the custom content to create a property for. */
|
|
65
|
+
customContentId: number;
|
|
66
|
+
/** The content property to be created */
|
|
67
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
68
|
+
}): Promise<ContentProperty>;
|
|
69
|
+
/**
|
|
70
|
+
* Creates a new content property for a database.
|
|
71
|
+
*
|
|
72
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
73
|
+
* Permission to update the database.
|
|
74
|
+
*
|
|
75
|
+
* @returns Returned if the content property was created successfully.
|
|
76
|
+
* @path {POST} /databases/{id}/properties
|
|
77
|
+
* @scopes-current read:database:confluence, write:database:confluence
|
|
78
|
+
*/
|
|
79
|
+
createDatabaseProperty({ id, contentPropertyCreateRequest, }: {
|
|
80
|
+
/** The ID of the database to create a property for. */
|
|
81
|
+
id: number;
|
|
82
|
+
/** The content property to be created */
|
|
83
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
84
|
+
}): Promise<ContentProperty>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates a new content property for a page.
|
|
87
|
+
*
|
|
88
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
89
|
+
* Permission to update the page.
|
|
90
|
+
*
|
|
91
|
+
* @returns Returned if the content property was created successfully.
|
|
92
|
+
* @path {POST} /pages/{page-id}/properties
|
|
93
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
94
|
+
*/
|
|
95
|
+
createPageProperty({ pageId, contentPropertyCreateRequest, }: {
|
|
96
|
+
/** The ID of the page to create a property for. */
|
|
97
|
+
pageId: number;
|
|
98
|
+
/** The content property to be created */
|
|
99
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
100
|
+
}): Promise<ContentProperty>;
|
|
101
|
+
/**
|
|
102
|
+
* Creates a new content property for a Smart Link in the content tree.
|
|
103
|
+
*
|
|
104
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
105
|
+
* Permission to update the Smart Link in the content tree.
|
|
106
|
+
*
|
|
107
|
+
* @returns Returned if the content property was created successfully.
|
|
108
|
+
* @path {POST} /embeds/{id}/properties
|
|
109
|
+
* @scopes-current read:embed:confluence, write:embed:confluence
|
|
110
|
+
*/
|
|
111
|
+
createSmartLinkProperty({ id, contentPropertyCreateRequest, }: {
|
|
112
|
+
/** The ID of the Smart Link in the content tree to create a property for. */
|
|
113
|
+
id: number;
|
|
114
|
+
/** The content property to be created */
|
|
115
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
116
|
+
}): Promise<ContentProperty>;
|
|
117
|
+
/**
|
|
118
|
+
* Creates a new content property for a whiteboard.
|
|
119
|
+
*
|
|
120
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
121
|
+
* Permission to update the whiteboard.
|
|
122
|
+
*
|
|
123
|
+
* @returns Returned if the content property was created successfully.
|
|
124
|
+
* @path {POST} /whiteboards/{id}/properties
|
|
125
|
+
* @scopes-current read:whiteboard:confluence, write:whiteboard:confluence
|
|
126
|
+
*/
|
|
127
|
+
createWhiteboardProperty({ id, contentPropertyCreateRequest, }: {
|
|
128
|
+
/** The ID of the whiteboard to create a property for. */
|
|
129
|
+
id: number;
|
|
130
|
+
/** The content property to be created */
|
|
131
|
+
contentPropertyCreateRequest: ContentPropertyCreateRequest;
|
|
132
|
+
}): Promise<ContentProperty>;
|
|
133
|
+
/**
|
|
134
|
+
* Deletes a content property for an attachment by its id.
|
|
135
|
+
*
|
|
136
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
137
|
+
* Permission to attachment the page.
|
|
138
|
+
*
|
|
139
|
+
* @path {DELETE} /attachments/{attachment-id}/properties/{property-id}
|
|
140
|
+
* @scopes-current read:attachment:confluence, write:attachment:confluence
|
|
141
|
+
*/
|
|
142
|
+
deleteAttachmentPropertyById({ attachmentId, propertyId, }: {
|
|
143
|
+
/** The ID of the attachment the property belongs to. */
|
|
144
|
+
attachmentId: string;
|
|
145
|
+
/** The ID of the property to be deleted. */
|
|
146
|
+
propertyId: number;
|
|
147
|
+
}): Promise<void>;
|
|
148
|
+
/**
|
|
149
|
+
* Deletes a content property for a blogpost by its id.
|
|
150
|
+
*
|
|
151
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
152
|
+
* Permission to edit the blog post.
|
|
153
|
+
*
|
|
154
|
+
* @path {DELETE} /blogposts/{blogpost-id}/properties/{property-id}
|
|
155
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
156
|
+
*/
|
|
157
|
+
deleteBlogpostPropertyById({ blogpostId, propertyId, }: {
|
|
158
|
+
/** The ID of the blog post the property belongs to. */
|
|
159
|
+
blogpostId: number;
|
|
160
|
+
/** The ID of the property to be deleted. */
|
|
161
|
+
propertyId: number;
|
|
162
|
+
}): Promise<void>;
|
|
163
|
+
/**
|
|
164
|
+
* Deletes a content property for a comment by its id.
|
|
165
|
+
*
|
|
166
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
167
|
+
* Permission to edit the comment.
|
|
168
|
+
*
|
|
169
|
+
* @path {DELETE} /comments/{comment-id}/properties/{property-id}
|
|
170
|
+
* @scopes-current read:comment:confluence, write:comment:confluence
|
|
171
|
+
*/
|
|
172
|
+
deleteCommentPropertyById({ commentId, propertyId, }: {
|
|
173
|
+
/** The ID of the comment the property belongs to. */
|
|
174
|
+
commentId: number;
|
|
175
|
+
/** The ID of the property to be deleted. */
|
|
176
|
+
propertyId: number;
|
|
177
|
+
}): Promise<void>;
|
|
178
|
+
/**
|
|
179
|
+
* Deletes a content property for a piece of custom content by its id.
|
|
180
|
+
*
|
|
181
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
182
|
+
* Permission to edit the custom content.
|
|
183
|
+
*
|
|
184
|
+
* @path {DELETE} /custom-content/{custom-content-id}/properties/{property-id}
|
|
185
|
+
* @scopes-current read:custom-content:confluence, write:custom-content:confluence
|
|
186
|
+
*/
|
|
187
|
+
deleteCustomContentPropertyById({ customContentId, propertyId, }: {
|
|
188
|
+
/** The ID of the custom content the property belongs to. */
|
|
189
|
+
customContentId: number;
|
|
190
|
+
/** The ID of the property to be deleted. */
|
|
191
|
+
propertyId: number;
|
|
192
|
+
}): Promise<void>;
|
|
193
|
+
/**
|
|
194
|
+
* Deletes a content property for a database by its id.
|
|
195
|
+
*
|
|
196
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
197
|
+
* Permission to edit the database.
|
|
198
|
+
*
|
|
199
|
+
* @path {DELETE} /databases/{database-id}/properties/{property-id}
|
|
200
|
+
* @scopes-current read:database:confluence, write:database:confluence
|
|
201
|
+
*/
|
|
202
|
+
deleteDatabasePropertyById({ databaseId, propertyId, }: {
|
|
203
|
+
/** The ID of the database the property belongs to. */
|
|
204
|
+
databaseId: number;
|
|
205
|
+
/** The ID of the property to be deleted. */
|
|
206
|
+
propertyId: number;
|
|
207
|
+
}): Promise<void>;
|
|
208
|
+
/**
|
|
209
|
+
* Deletes a content property for a page by its id.
|
|
210
|
+
*
|
|
211
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
212
|
+
* Permission to edit the page.
|
|
213
|
+
*
|
|
214
|
+
* @path {DELETE} /pages/{page-id}/properties/{property-id}
|
|
215
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
216
|
+
*/
|
|
217
|
+
deletePagePropertyById({ pageId, propertyId, }: {
|
|
218
|
+
/** The ID of the page the property belongs to. */
|
|
219
|
+
pageId: number;
|
|
220
|
+
/** The ID of the property to be deleted. */
|
|
221
|
+
propertyId: number;
|
|
222
|
+
}): Promise<void>;
|
|
223
|
+
/**
|
|
224
|
+
* Deletes a content property for a Smart Link in the content tree by its id.
|
|
225
|
+
*
|
|
226
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
227
|
+
* Permission to edit the Smart Link in the content tree.
|
|
228
|
+
*
|
|
229
|
+
* @path {DELETE} /embeds/{embed-id}/properties/{property-id}
|
|
230
|
+
* @scopes-current read:embed:confluence, write:embed:confluence
|
|
231
|
+
*/
|
|
232
|
+
deleteSmartLinkPropertyById({ embedId, propertyId, }: {
|
|
233
|
+
/** The ID of the Smart Link in the content tree the property belongs to. */
|
|
234
|
+
embedId: number;
|
|
235
|
+
/** The ID of the property to be deleted. */
|
|
236
|
+
propertyId: number;
|
|
237
|
+
}): Promise<void>;
|
|
238
|
+
/**
|
|
239
|
+
* Deletes a content property for a whiteboard by its id.
|
|
240
|
+
*
|
|
241
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
242
|
+
* Permission to edit the whiteboard.
|
|
243
|
+
*
|
|
244
|
+
* @path {DELETE} /whiteboards/{whiteboard-id}/properties/{property-id}
|
|
245
|
+
* @scopes-current read:whiteboard:confluence, write:whiteboard:confluence
|
|
246
|
+
*/
|
|
247
|
+
deleteWhiteboardPropertyById({ whiteboardId, propertyId, }: {
|
|
248
|
+
/** The ID of the whiteboard the property belongs to. */
|
|
249
|
+
whiteboardId: number;
|
|
250
|
+
/** The ID of the property to be deleted. */
|
|
251
|
+
propertyId: number;
|
|
252
|
+
}): Promise<void>;
|
|
253
|
+
/**
|
|
254
|
+
* Retrieves all Content Properties tied to a specified attachment.
|
|
255
|
+
*
|
|
256
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
257
|
+
* Permission to view the attachment.
|
|
258
|
+
*
|
|
259
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
260
|
+
* @path {GET} /attachments/{attachment-id}/properties
|
|
261
|
+
* @scopes-current read:attachment:confluence
|
|
262
|
+
*/
|
|
263
|
+
getAttachmentContentProperties({ attachmentId, key, sort, cursor, limit, }: {
|
|
264
|
+
/** The ID of the attachment for which content properties should be returned. */
|
|
265
|
+
attachmentId: string;
|
|
266
|
+
/**
|
|
267
|
+
* Filters the response to return a specific content property with matching key
|
|
268
|
+
* (case sensitive).
|
|
269
|
+
*/
|
|
270
|
+
key?: string;
|
|
271
|
+
/** Used to sort the result by a particular field. */
|
|
272
|
+
sort?: ContentPropertySortOrder;
|
|
273
|
+
/**
|
|
274
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
275
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
276
|
+
* retrieve the `next` set of results.
|
|
277
|
+
*/
|
|
278
|
+
cursor?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
281
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
282
|
+
* results.
|
|
283
|
+
*/
|
|
284
|
+
limit?: number;
|
|
285
|
+
}): Promise<{
|
|
286
|
+
results?: ContentProperty[];
|
|
287
|
+
_links?: MultiEntityLinks;
|
|
288
|
+
} & {
|
|
289
|
+
[key: string]: unknown;
|
|
290
|
+
}>;
|
|
291
|
+
/**
|
|
292
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
293
|
+
* attachment.
|
|
294
|
+
*
|
|
295
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
296
|
+
* Permission to view the attachment.
|
|
297
|
+
*
|
|
298
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
299
|
+
* @path {GET} /attachments/{attachment-id}/properties/{property-id}
|
|
300
|
+
* @scopes-current read:attachment:confluence
|
|
301
|
+
*/
|
|
302
|
+
getAttachmentContentPropertiesById({ attachmentId, propertyId, }: {
|
|
303
|
+
/** The ID of the attachment for which content properties should be returned. */
|
|
304
|
+
attachmentId: string;
|
|
305
|
+
/** The ID of the content property to be returned */
|
|
306
|
+
propertyId: number;
|
|
307
|
+
}): Promise<ContentProperty>;
|
|
308
|
+
/**
|
|
309
|
+
* Retrieves all Content Properties tied to a specified blog post.
|
|
310
|
+
*
|
|
311
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
312
|
+
* Permission to view the blog post.
|
|
313
|
+
*
|
|
314
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
315
|
+
* @path {GET} /blogposts/{blogpost-id}/properties
|
|
316
|
+
* @scopes-current read:page:confluence
|
|
317
|
+
*/
|
|
318
|
+
getBlogpostContentProperties({ blogpostId, key, sort, cursor, limit, }: {
|
|
319
|
+
/** The ID of the blog post for which content properties should be returned. */
|
|
320
|
+
blogpostId: number;
|
|
321
|
+
/**
|
|
322
|
+
* Filters the response to return a specific content property with matching key
|
|
323
|
+
* (case sensitive).
|
|
324
|
+
*/
|
|
325
|
+
key?: string;
|
|
326
|
+
/** Used to sort the result by a particular field. */
|
|
327
|
+
sort?: ContentPropertySortOrder;
|
|
328
|
+
/**
|
|
329
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
330
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
331
|
+
* retrieve the `next` set of results.
|
|
332
|
+
*/
|
|
333
|
+
cursor?: string;
|
|
334
|
+
/**
|
|
335
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
336
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
337
|
+
* results.
|
|
338
|
+
*/
|
|
339
|
+
limit?: number;
|
|
340
|
+
}): Promise<{
|
|
341
|
+
results?: ContentProperty[];
|
|
342
|
+
_links?: MultiEntityLinks;
|
|
343
|
+
} & {
|
|
344
|
+
[key: string]: unknown;
|
|
345
|
+
}>;
|
|
346
|
+
/**
|
|
347
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
348
|
+
* blog post.
|
|
349
|
+
*
|
|
350
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
351
|
+
* Permission to view the blog post.
|
|
352
|
+
*
|
|
353
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
354
|
+
* @path {GET} /blogposts/{blogpost-id}/properties/{property-id}
|
|
355
|
+
* @scopes-current read:page:confluence
|
|
356
|
+
*/
|
|
357
|
+
getBlogpostContentPropertiesById({ blogpostId, propertyId, }: {
|
|
358
|
+
/** The ID of the blog post for which content properties should be returned. */
|
|
359
|
+
blogpostId: number;
|
|
360
|
+
/** The ID of the property being requested */
|
|
361
|
+
propertyId: number;
|
|
362
|
+
}): Promise<ContentProperty>;
|
|
363
|
+
/**
|
|
364
|
+
* Retrieves Content Properties attached to a specified comment.
|
|
365
|
+
*
|
|
366
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
367
|
+
* Permission to view the comment.
|
|
368
|
+
*
|
|
369
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
370
|
+
* @path {GET} /comments/{comment-id}/properties
|
|
371
|
+
* @scopes-current read:comment:confluence
|
|
372
|
+
*/
|
|
373
|
+
getCommentContentProperties({ commentId, key, sort, cursor, limit, }: {
|
|
374
|
+
/** The ID of the comment for which content properties should be returned. */
|
|
375
|
+
commentId: number;
|
|
376
|
+
/**
|
|
377
|
+
* Filters the response to return a specific content property with matching key
|
|
378
|
+
* (case sensitive).
|
|
379
|
+
*/
|
|
380
|
+
key?: string;
|
|
381
|
+
/** Used to sort the result by a particular field. */
|
|
382
|
+
sort?: ContentPropertySortOrder;
|
|
383
|
+
/**
|
|
384
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
385
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
386
|
+
* retrieve the `next` set of results.
|
|
387
|
+
*/
|
|
388
|
+
cursor?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
391
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
392
|
+
* results.
|
|
393
|
+
*/
|
|
394
|
+
limit?: number;
|
|
395
|
+
}): Promise<{
|
|
396
|
+
results?: ContentProperty[];
|
|
397
|
+
_links?: MultiEntityLinks;
|
|
398
|
+
} & {
|
|
399
|
+
[key: string]: unknown;
|
|
400
|
+
}>;
|
|
401
|
+
/**
|
|
402
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
403
|
+
* comment.
|
|
404
|
+
*
|
|
405
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
406
|
+
* Permission to view the comment.
|
|
407
|
+
*
|
|
408
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
409
|
+
* @path {GET} /comments/{comment-id}/properties/{property-id}
|
|
410
|
+
* @scopes-current read:comment:confluence
|
|
411
|
+
*/
|
|
412
|
+
getCommentContentPropertiesById({ commentId, propertyId, }: {
|
|
413
|
+
/** The ID of the comment for which content properties should be returned. */
|
|
414
|
+
commentId: number;
|
|
415
|
+
/** The ID of the content property being requested. */
|
|
416
|
+
propertyId: number;
|
|
417
|
+
}): Promise<ContentProperty>;
|
|
418
|
+
/**
|
|
419
|
+
* Retrieves Content Properties tied to a specified custom content.
|
|
420
|
+
*
|
|
421
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
422
|
+
* Permission to view the custom content.
|
|
423
|
+
*
|
|
424
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
425
|
+
* @path {GET} /custom-content/{custom-content-id}/properties
|
|
426
|
+
* @scopes-current read:custom-content:confluence
|
|
427
|
+
*/
|
|
428
|
+
getCustomContentContentProperties({ customContentId, key, sort, cursor, limit, }: {
|
|
429
|
+
/** The ID of the custom content for which content properties should be returned. */
|
|
430
|
+
customContentId: number;
|
|
431
|
+
/**
|
|
432
|
+
* Filters the response to return a specific content property with matching key
|
|
433
|
+
* (case sensitive).
|
|
434
|
+
*/
|
|
435
|
+
key?: string;
|
|
436
|
+
/** Used to sort the result by a particular field. */
|
|
437
|
+
sort?: ContentPropertySortOrder;
|
|
438
|
+
/**
|
|
439
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
440
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
441
|
+
* retrieve the `next` set of results.
|
|
442
|
+
*/
|
|
443
|
+
cursor?: string;
|
|
444
|
+
/**
|
|
445
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
446
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
447
|
+
* results.
|
|
448
|
+
*/
|
|
449
|
+
limit?: number;
|
|
450
|
+
}): Promise<{
|
|
451
|
+
results?: ContentProperty[];
|
|
452
|
+
_links?: MultiEntityLinks;
|
|
453
|
+
} & {
|
|
454
|
+
[key: string]: unknown;
|
|
455
|
+
}>;
|
|
456
|
+
/**
|
|
457
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
458
|
+
* custom content.
|
|
459
|
+
*
|
|
460
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
461
|
+
* Permission to view the page.
|
|
462
|
+
*
|
|
463
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
464
|
+
* @path {GET} /custom-content/{custom-content-id}/properties/{property-id}
|
|
465
|
+
* @scopes-current read:custom-content:confluence
|
|
466
|
+
*/
|
|
467
|
+
getCustomContentContentPropertiesById({ customContentId, propertyId, }: {
|
|
468
|
+
/** The ID of the custom content for which content properties should be returned. */
|
|
469
|
+
customContentId: number;
|
|
470
|
+
/** The ID of the content property being requested. */
|
|
471
|
+
propertyId: number;
|
|
472
|
+
}): Promise<ContentProperty>;
|
|
473
|
+
/**
|
|
474
|
+
* Retrieves Content Properties tied to a specified database.
|
|
475
|
+
*
|
|
476
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
477
|
+
* Permission to view the database.
|
|
478
|
+
*
|
|
479
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
480
|
+
* @path {GET} /databases/{id}/properties
|
|
481
|
+
* @scopes-current read:database:confluence
|
|
482
|
+
*/
|
|
483
|
+
getDatabaseContentProperties({ id, key, sort, cursor, limit, }: {
|
|
484
|
+
/** The ID of the database for which content properties should be returned. */
|
|
485
|
+
id: number;
|
|
486
|
+
/**
|
|
487
|
+
* Filters the response to return a specific content property with matching key
|
|
488
|
+
* (case sensitive).
|
|
489
|
+
*/
|
|
490
|
+
key?: string;
|
|
491
|
+
/** Used to sort the result by a particular field. */
|
|
492
|
+
sort?: ContentPropertySortOrder;
|
|
493
|
+
/**
|
|
494
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
495
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
496
|
+
* retrieve the `next` set of results.
|
|
497
|
+
*/
|
|
498
|
+
cursor?: string;
|
|
499
|
+
/**
|
|
500
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
501
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
502
|
+
* results.
|
|
503
|
+
*/
|
|
504
|
+
limit?: number;
|
|
505
|
+
}): Promise<{
|
|
506
|
+
results?: ContentProperty[];
|
|
507
|
+
_links?: MultiEntityLinks;
|
|
508
|
+
} & {
|
|
509
|
+
[key: string]: unknown;
|
|
510
|
+
}>;
|
|
511
|
+
/**
|
|
512
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
513
|
+
* database.
|
|
514
|
+
*
|
|
515
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
516
|
+
* Permission to view the database.
|
|
517
|
+
*
|
|
518
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
519
|
+
* @path {GET} /databases/{database-id}/properties/{property-id}
|
|
520
|
+
* @scopes-current read:database:confluence
|
|
521
|
+
*/
|
|
522
|
+
getDatabaseContentPropertiesById({ databaseId, propertyId, }: {
|
|
523
|
+
/** The ID of the database for which content properties should be returned. */
|
|
524
|
+
databaseId: number;
|
|
525
|
+
/** The ID of the content property being requested. */
|
|
526
|
+
propertyId: number;
|
|
527
|
+
}): Promise<ContentProperty>;
|
|
528
|
+
/**
|
|
529
|
+
* Retrieves Content Properties tied to a specified page.
|
|
530
|
+
*
|
|
531
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
532
|
+
* Permission to view the page.
|
|
533
|
+
*
|
|
534
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
535
|
+
* @path {GET} /pages/{page-id}/properties
|
|
536
|
+
* @scopes-current read:page:confluence
|
|
537
|
+
*/
|
|
538
|
+
getPageContentProperties({ pageId, key, sort, cursor, limit, }: {
|
|
539
|
+
/** The ID of the page for which content properties should be returned. */
|
|
540
|
+
pageId: number;
|
|
541
|
+
/**
|
|
542
|
+
* Filters the response to return a specific content property with matching key
|
|
543
|
+
* (case sensitive).
|
|
544
|
+
*/
|
|
545
|
+
key?: string;
|
|
546
|
+
/** Used to sort the result by a particular field. */
|
|
547
|
+
sort?: ContentPropertySortOrder;
|
|
548
|
+
/**
|
|
549
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
550
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
551
|
+
* retrieve the `next` set of results.
|
|
552
|
+
*/
|
|
553
|
+
cursor?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
556
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
557
|
+
* results.
|
|
558
|
+
*/
|
|
559
|
+
limit?: number;
|
|
560
|
+
}): Promise<{
|
|
561
|
+
results?: ContentProperty[];
|
|
562
|
+
_links?: MultiEntityLinks;
|
|
563
|
+
} & {
|
|
564
|
+
[key: string]: unknown;
|
|
565
|
+
}>;
|
|
566
|
+
/**
|
|
567
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
568
|
+
* page.
|
|
569
|
+
*
|
|
570
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
571
|
+
* Permission to view the page.
|
|
572
|
+
*
|
|
573
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
574
|
+
* @path {GET} /pages/{page-id}/properties/{property-id}
|
|
575
|
+
* @scopes-current read:page:confluence
|
|
576
|
+
*/
|
|
577
|
+
getPageContentPropertiesById({ pageId, propertyId, }: {
|
|
578
|
+
/** The ID of the page for which content properties should be returned. */
|
|
579
|
+
pageId: number;
|
|
580
|
+
/** The ID of the content property being requested. */
|
|
581
|
+
propertyId: number;
|
|
582
|
+
}): Promise<ContentProperty>;
|
|
583
|
+
/**
|
|
584
|
+
* Retrieves Content Properties tied to a specified Smart Link in the content tree.
|
|
585
|
+
*
|
|
586
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
587
|
+
* Permission to view the Smart Link in the content tree.
|
|
588
|
+
*
|
|
589
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
590
|
+
* @path {GET} /embeds/{id}/properties
|
|
591
|
+
* @scopes-current read:embed:confluence
|
|
592
|
+
*/
|
|
593
|
+
getSmartLinkContentProperties({ id, key, sort, cursor, limit, }: {
|
|
594
|
+
/**
|
|
595
|
+
* The ID of the Smart Link in the content tree for which content properties
|
|
596
|
+
* should be returned.
|
|
597
|
+
*/
|
|
598
|
+
id: number;
|
|
599
|
+
/**
|
|
600
|
+
* Filters the response to return a specific content property with matching key
|
|
601
|
+
* (case sensitive).
|
|
602
|
+
*/
|
|
603
|
+
key?: string;
|
|
604
|
+
/** Used to sort the result by a particular field. */
|
|
605
|
+
sort?: ContentPropertySortOrder;
|
|
606
|
+
/**
|
|
607
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
608
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
609
|
+
* retrieve the `next` set of results.
|
|
610
|
+
*/
|
|
611
|
+
cursor?: string;
|
|
612
|
+
/**
|
|
613
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
614
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
615
|
+
* results.
|
|
616
|
+
*/
|
|
617
|
+
limit?: number;
|
|
618
|
+
}): Promise<{
|
|
619
|
+
results?: ContentProperty[];
|
|
620
|
+
_links?: MultiEntityLinks;
|
|
621
|
+
} & {
|
|
622
|
+
[key: string]: unknown;
|
|
623
|
+
}>;
|
|
624
|
+
/**
|
|
625
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
626
|
+
* Smart Link in the content tree.
|
|
627
|
+
*
|
|
628
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
629
|
+
* Permission to view the Smart Link in the content tree.
|
|
630
|
+
*
|
|
631
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
632
|
+
* @path {GET} /embeds/{embed-id}/properties/{property-id}
|
|
633
|
+
* @scopes-current read:embed:confluence
|
|
634
|
+
*/
|
|
635
|
+
getSmartLinkContentPropertiesById({ embedId, propertyId, }: {
|
|
636
|
+
/**
|
|
637
|
+
* The ID of the Smart Link in the content tree for which content properties
|
|
638
|
+
* should be returned.
|
|
639
|
+
*/
|
|
640
|
+
embedId: number;
|
|
641
|
+
/** The ID of the content property being requested. */
|
|
642
|
+
propertyId: number;
|
|
643
|
+
}): Promise<ContentProperty>;
|
|
644
|
+
/**
|
|
645
|
+
* Retrieves Content Properties tied to a specified whiteboard.
|
|
646
|
+
*
|
|
647
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
648
|
+
* Permission to view the whiteboard.
|
|
649
|
+
*
|
|
650
|
+
* @returns Returned if the requested content properties are successfully retrieved.
|
|
651
|
+
* @path {GET} /whiteboards/{id}/properties
|
|
652
|
+
* @scopes-current read:whiteboard:confluence
|
|
653
|
+
*/
|
|
654
|
+
getWhiteboardContentProperties({ id, key, sort, cursor, limit, }: {
|
|
655
|
+
/** The ID of the whiteboard for which content properties should be returned. */
|
|
656
|
+
id: number;
|
|
657
|
+
/**
|
|
658
|
+
* Filters the response to return a specific content property with matching key
|
|
659
|
+
* (case sensitive).
|
|
660
|
+
*/
|
|
661
|
+
key?: string;
|
|
662
|
+
/** Used to sort the result by a particular field. */
|
|
663
|
+
sort?: ContentPropertySortOrder;
|
|
664
|
+
/**
|
|
665
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
666
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
667
|
+
* retrieve the `next` set of results.
|
|
668
|
+
*/
|
|
669
|
+
cursor?: string;
|
|
670
|
+
/**
|
|
671
|
+
* Maximum number of attachments per result to return. If more results exist, use
|
|
672
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
673
|
+
* results.
|
|
674
|
+
*/
|
|
675
|
+
limit?: number;
|
|
676
|
+
}): Promise<{
|
|
677
|
+
results?: ContentProperty[];
|
|
678
|
+
_links?: MultiEntityLinks;
|
|
679
|
+
} & {
|
|
680
|
+
[key: string]: unknown;
|
|
681
|
+
}>;
|
|
682
|
+
/**
|
|
683
|
+
* Retrieves a specific Content Property by ID that is attached to a specified
|
|
684
|
+
* whiteboard.
|
|
685
|
+
*
|
|
686
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
687
|
+
* Permission to view the whiteboard.
|
|
688
|
+
*
|
|
689
|
+
* @returns Returned if the requested content property is successfully retrieved.
|
|
690
|
+
* @path {GET} /whiteboards/{whiteboard-id}/properties/{property-id}
|
|
691
|
+
* @scopes-current read:whiteboard:confluence
|
|
692
|
+
*/
|
|
693
|
+
getWhiteboardContentPropertiesById({ whiteboardId, propertyId, }: {
|
|
694
|
+
/** The ID of the whiteboard for which content properties should be returned. */
|
|
695
|
+
whiteboardId: number;
|
|
696
|
+
/** The ID of the content property being requested. */
|
|
697
|
+
propertyId: number;
|
|
698
|
+
}): Promise<ContentProperty>;
|
|
699
|
+
/**
|
|
700
|
+
* Update a content property for attachment by its id.
|
|
701
|
+
*
|
|
702
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
703
|
+
* Permission to edit the attachment.
|
|
704
|
+
*
|
|
705
|
+
* @returns Returned if the content property was updated successfully.
|
|
706
|
+
* @path {PUT} /attachments/{attachment-id}/properties/{property-id}
|
|
707
|
+
* @scopes-current read:attachment:confluence, write:attachment:confluence
|
|
708
|
+
*/
|
|
709
|
+
updateAttachmentPropertyById({ attachmentId, propertyId, contentPropertyUpdateRequest, }: {
|
|
710
|
+
/** The ID of the attachment the property belongs to. */
|
|
711
|
+
attachmentId: string;
|
|
712
|
+
/** The ID of the property to be updated. */
|
|
713
|
+
propertyId: number;
|
|
714
|
+
/** The content property to be updated. */
|
|
715
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
716
|
+
}): Promise<ContentProperty>;
|
|
717
|
+
/**
|
|
718
|
+
* Update a content property for blog post by its id.
|
|
719
|
+
*
|
|
720
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
721
|
+
* Permission to edit the blog post.
|
|
722
|
+
*
|
|
723
|
+
* @returns Returned if the content property was updated successfully.
|
|
724
|
+
* @path {PUT} /blogposts/{blogpost-id}/properties/{property-id}
|
|
725
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
726
|
+
*/
|
|
727
|
+
updateBlogpostPropertyById({ blogpostId, propertyId, contentPropertyUpdateRequest, }: {
|
|
728
|
+
/** The ID of the blog post the property belongs to. */
|
|
729
|
+
blogpostId: number;
|
|
730
|
+
/** The ID of the property to be updated. */
|
|
731
|
+
propertyId: number;
|
|
732
|
+
/** The content property to be updated. */
|
|
733
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
734
|
+
}): Promise<ContentProperty>;
|
|
735
|
+
/**
|
|
736
|
+
* Update a content property for a comment by its id.
|
|
737
|
+
*
|
|
738
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
739
|
+
* Permission to edit the comment.
|
|
740
|
+
*
|
|
741
|
+
* @returns Returned if the content property was updated successfully.
|
|
742
|
+
* @path {PUT} /comments/{comment-id}/properties/{property-id}
|
|
743
|
+
* @scopes-current read:comment:confluence, write:comment:confluence
|
|
744
|
+
*/
|
|
745
|
+
updateCommentPropertyById({ commentId, propertyId, contentPropertyUpdateRequest, }: {
|
|
746
|
+
/** The ID of the comment the property belongs to. */
|
|
747
|
+
commentId: number;
|
|
748
|
+
/** The ID of the property to be updated. */
|
|
749
|
+
propertyId: number;
|
|
750
|
+
/** The content property to be updated. */
|
|
751
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
752
|
+
}): Promise<ContentProperty>;
|
|
753
|
+
/**
|
|
754
|
+
* Update a content property for a piece of custom content by its id.
|
|
755
|
+
*
|
|
756
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
757
|
+
* Permission to edit the custom content.
|
|
758
|
+
*
|
|
759
|
+
* @returns Returned if the content property was updated successfully.
|
|
760
|
+
* @path {PUT} /custom-content/{custom-content-id}/properties/{property-id}
|
|
761
|
+
* @scopes-current read:custom-content:confluence, write:custom-content:confluence
|
|
762
|
+
*/
|
|
763
|
+
updateCustomContentPropertyById({ customContentId, propertyId, contentPropertyUpdateRequest, }: {
|
|
764
|
+
/** The ID of the custom content the property belongs to. */
|
|
765
|
+
customContentId: number;
|
|
766
|
+
/** The ID of the property to be updated. */
|
|
767
|
+
propertyId: number;
|
|
768
|
+
/** The content property to be updated. */
|
|
769
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
770
|
+
}): Promise<ContentProperty>;
|
|
771
|
+
/**
|
|
772
|
+
* Update a content property for a database by its id.
|
|
773
|
+
*
|
|
774
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
775
|
+
* Permission to edit the database.
|
|
776
|
+
*
|
|
777
|
+
* @returns Returned if the content property was updated successfully.
|
|
778
|
+
* @path {PUT} /databases/{database-id}/properties/{property-id}
|
|
779
|
+
* @scopes-current read:database:confluence, write:database:confluence
|
|
780
|
+
*/
|
|
781
|
+
updateDatabasePropertyById({ databaseId, propertyId, contentPropertyUpdateRequest, }: {
|
|
782
|
+
/** The ID of the database the property belongs to. */
|
|
783
|
+
databaseId: number;
|
|
784
|
+
/** The ID of the property to be updated. */
|
|
785
|
+
propertyId: number;
|
|
786
|
+
/** The content property to be updated. */
|
|
787
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
788
|
+
}): Promise<ContentProperty>;
|
|
789
|
+
/**
|
|
790
|
+
* Update a content property for a page by its id.
|
|
791
|
+
*
|
|
792
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
793
|
+
* Permission to edit the page.
|
|
794
|
+
*
|
|
795
|
+
* @returns Returned if the content property was updated successfully.
|
|
796
|
+
* @path {PUT} /pages/{page-id}/properties/{property-id}
|
|
797
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
798
|
+
*/
|
|
799
|
+
updatePagePropertyById({ pageId, propertyId, contentPropertyUpdateRequest, }: {
|
|
800
|
+
/** The ID of the page the property belongs to. */
|
|
801
|
+
pageId: number;
|
|
802
|
+
/** The ID of the property to be updated. */
|
|
803
|
+
propertyId: number;
|
|
804
|
+
/** The content property to be updated. */
|
|
805
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
806
|
+
}): Promise<ContentProperty>;
|
|
807
|
+
/**
|
|
808
|
+
* Update a content property for a Smart Link in the content tree by its id.
|
|
809
|
+
*
|
|
810
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
811
|
+
* Permission to edit the Smart Link in the content tree.
|
|
812
|
+
*
|
|
813
|
+
* @returns Returned if the content property was updated successfully.
|
|
814
|
+
* @path {PUT} /embeds/{embed-id}/properties/{property-id}
|
|
815
|
+
* @scopes-current read:embed:confluence, write:embed:confluence
|
|
816
|
+
*/
|
|
817
|
+
updateSmartLinkPropertyById({ embedId, propertyId, contentPropertyUpdateRequest, }: {
|
|
818
|
+
/** The ID of the Smart Link in the content tree the property belongs to. */
|
|
819
|
+
embedId: number;
|
|
820
|
+
/** The ID of the property to be updated. */
|
|
821
|
+
propertyId: number;
|
|
822
|
+
/** The content property to be updated. */
|
|
823
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
824
|
+
}): Promise<ContentProperty>;
|
|
825
|
+
/**
|
|
826
|
+
* Update a content property for a whiteboard by its id.
|
|
827
|
+
*
|
|
828
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
829
|
+
* Permission to edit the whiteboard.
|
|
830
|
+
*
|
|
831
|
+
* @returns Returned if the content property was updated successfully.
|
|
832
|
+
* @path {PUT} /whiteboards/{whiteboard-id}/properties/{property-id}
|
|
833
|
+
* @scopes-current read:whiteboard:confluence, write:whiteboard:confluence
|
|
834
|
+
*/
|
|
835
|
+
updateWhiteboardPropertyById({ whiteboardId, propertyId, contentPropertyUpdateRequest, }: {
|
|
836
|
+
/** The ID of the whiteboard the property belongs to. */
|
|
837
|
+
whiteboardId: number;
|
|
838
|
+
/** The ID of the property to be updated. */
|
|
839
|
+
propertyId: number;
|
|
840
|
+
/** The content property to be updated. */
|
|
841
|
+
contentPropertyUpdateRequest: ContentPropertyUpdateRequest;
|
|
842
|
+
}): Promise<ContentProperty>;
|
|
843
|
+
static initialize(): void;
|
|
844
|
+
}
|