@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,269 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuditService = void 0;
|
|
4
|
+
// DO NOT EDIT!
|
|
5
|
+
// This file is generated by "api-typescript-generator".
|
|
6
|
+
// To update this file run "yarn build:openapi".
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
const commonHttpClient = require("../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
|
+
const audit_1 = require("../models/audit");
|
|
11
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
class AuditService extends CommonHttpService_1.CommonHttpService {
|
|
13
|
+
/**
|
|
14
|
+
* Creates a record in the audit log.
|
|
15
|
+
*
|
|
16
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
17
|
+
* 'Confluence Administrator' global permission.
|
|
18
|
+
*
|
|
19
|
+
* @returns Returned if the record is created in the audit log.
|
|
20
|
+
* @path {POST} /wiki/rest/api/audit
|
|
21
|
+
* @scopes-current read:audit-log:confluence, write:audit-log:confluence
|
|
22
|
+
*/
|
|
23
|
+
createAuditRecord({ auditRecordCreate, }) {
|
|
24
|
+
return this.getClientInstance()
|
|
25
|
+
.request({
|
|
26
|
+
path: "/wiki/rest/api/audit",
|
|
27
|
+
method: "POST",
|
|
28
|
+
headers: {
|
|
29
|
+
"Content-Type": "application/json",
|
|
30
|
+
},
|
|
31
|
+
body: auditRecordCreate,
|
|
32
|
+
})
|
|
33
|
+
.then(this.getClientInstance().responseHandler({
|
|
34
|
+
200: {
|
|
35
|
+
"application/json": "json",
|
|
36
|
+
},
|
|
37
|
+
}))
|
|
38
|
+
.then(commonHttpClient.castResponse())
|
|
39
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditService.createAuditRecord.response"))
|
|
40
|
+
.then(commonHttpClient.getBody);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Exports audit records as a CSV file or ZIP file.
|
|
44
|
+
*
|
|
45
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
46
|
+
* 'Confluence Administrator' global permission.
|
|
47
|
+
*
|
|
48
|
+
* @returns * status: 200, mediaType: application/zip
|
|
49
|
+
*
|
|
50
|
+
* Returned if the requested export of the audit records is returned.
|
|
51
|
+
*
|
|
52
|
+
* * status: 200, mediaType: text/csv
|
|
53
|
+
*
|
|
54
|
+
* Returned if the requested export of the audit records is returned.
|
|
55
|
+
* @path {GET} /wiki/rest/api/audit/export
|
|
56
|
+
* @scopes-current read:audit-log:confluence
|
|
57
|
+
*/
|
|
58
|
+
exportAuditRecords({ startDate, endDate, searchString, format, }) {
|
|
59
|
+
return this.getClientInstance()
|
|
60
|
+
.request({
|
|
61
|
+
path: "/wiki/rest/api/audit/export",
|
|
62
|
+
method: "GET",
|
|
63
|
+
query: {
|
|
64
|
+
startDate,
|
|
65
|
+
endDate,
|
|
66
|
+
searchString,
|
|
67
|
+
format,
|
|
68
|
+
},
|
|
69
|
+
})
|
|
70
|
+
.then(this.getClientInstance().responseHandler({
|
|
71
|
+
200: {
|
|
72
|
+
"application/zip": "blob",
|
|
73
|
+
"text/csv": "blob",
|
|
74
|
+
},
|
|
75
|
+
}))
|
|
76
|
+
.then(commonHttpClient.castResponse())
|
|
77
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditService.exportAuditRecords.response"));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns all records in the audit log, optionally for a certain date range.
|
|
81
|
+
* This contains information about events like space exports, group membership
|
|
82
|
+
* changes, app installations, etc. For more information, see
|
|
83
|
+
* [Audit log](https://confluence.atlassian.com/confcloud/audit-log-802164269.html)
|
|
84
|
+
* in the Confluence administrator's guide.
|
|
85
|
+
*
|
|
86
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
87
|
+
* 'Confluence Administrator' global permission.
|
|
88
|
+
*
|
|
89
|
+
* @returns Returned if the requested records are returned.
|
|
90
|
+
* @path {GET} /wiki/rest/api/audit
|
|
91
|
+
* @scopes-current read:audit-log:confluence
|
|
92
|
+
*/
|
|
93
|
+
getAuditRecords({ startDate, endDate, searchString, start, limit, }) {
|
|
94
|
+
return this.getClientInstance()
|
|
95
|
+
.request({
|
|
96
|
+
path: "/wiki/rest/api/audit",
|
|
97
|
+
method: "GET",
|
|
98
|
+
query: {
|
|
99
|
+
startDate,
|
|
100
|
+
endDate,
|
|
101
|
+
searchString,
|
|
102
|
+
start,
|
|
103
|
+
limit,
|
|
104
|
+
},
|
|
105
|
+
})
|
|
106
|
+
.then(this.getClientInstance().responseHandler({
|
|
107
|
+
200: {
|
|
108
|
+
"application/json": "json",
|
|
109
|
+
},
|
|
110
|
+
}))
|
|
111
|
+
.then(commonHttpClient.castResponse())
|
|
112
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditService.getAuditRecords.response"))
|
|
113
|
+
.then(commonHttpClient.getBody);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Returns records from the audit log, for a time period back from the current
|
|
117
|
+
* date. For example, you can use this method to get the last 3 months of records.
|
|
118
|
+
*
|
|
119
|
+
* This contains information about events like space exports, group membership
|
|
120
|
+
* changes, app installations, etc. For more information, see
|
|
121
|
+
* [Audit log](https://confluence.atlassian.com/confcloud/audit-log-802164269.html)
|
|
122
|
+
* in the Confluence administrator's guide.
|
|
123
|
+
*
|
|
124
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
125
|
+
* 'Confluence Administrator' global permission.
|
|
126
|
+
*
|
|
127
|
+
* @returns Returned if the requested records are returned.
|
|
128
|
+
* @path {GET} /wiki/rest/api/audit/since
|
|
129
|
+
* @scopes-current read:audit-log:confluence
|
|
130
|
+
*/
|
|
131
|
+
getAuditRecordsForTimePeriod({ number, units, searchString, start, limit, }) {
|
|
132
|
+
return this.getClientInstance()
|
|
133
|
+
.request({
|
|
134
|
+
path: "/wiki/rest/api/audit/since",
|
|
135
|
+
method: "GET",
|
|
136
|
+
query: {
|
|
137
|
+
number,
|
|
138
|
+
units,
|
|
139
|
+
searchString,
|
|
140
|
+
start,
|
|
141
|
+
limit,
|
|
142
|
+
},
|
|
143
|
+
})
|
|
144
|
+
.then(this.getClientInstance().responseHandler({
|
|
145
|
+
200: {
|
|
146
|
+
"application/json": "json",
|
|
147
|
+
},
|
|
148
|
+
}))
|
|
149
|
+
.then(commonHttpClient.castResponse())
|
|
150
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditService.getAuditRecordsForTimePeriod.response"))
|
|
151
|
+
.then(commonHttpClient.getBody);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Returns the retention period for records in the audit log. The retention
|
|
155
|
+
* period is how long an audit record is kept for, from creation date until
|
|
156
|
+
* it is deleted.
|
|
157
|
+
*
|
|
158
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
159
|
+
* 'Confluence Administrator' global permission.
|
|
160
|
+
*
|
|
161
|
+
* @returns Returned if the requested retention period is returned.
|
|
162
|
+
* @path {GET} /wiki/rest/api/audit/retention
|
|
163
|
+
* @scopes-current read:audit-log:confluence
|
|
164
|
+
*/
|
|
165
|
+
getRetentionPeriod() {
|
|
166
|
+
return this.getClientInstance()
|
|
167
|
+
.request({
|
|
168
|
+
path: "/wiki/rest/api/audit/retention",
|
|
169
|
+
method: "GET",
|
|
170
|
+
})
|
|
171
|
+
.then(this.getClientInstance().responseHandler({
|
|
172
|
+
200: {
|
|
173
|
+
"application/json": "json",
|
|
174
|
+
},
|
|
175
|
+
}))
|
|
176
|
+
.then(commonHttpClient.castResponse())
|
|
177
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditService.getRetentionPeriod.response"))
|
|
178
|
+
.then(commonHttpClient.getBody);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Sets the retention period for records in the audit log. The retention period
|
|
182
|
+
* can be set to a maximum of 1 year.
|
|
183
|
+
*
|
|
184
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
185
|
+
* 'Confluence Administrator' global permission.
|
|
186
|
+
*
|
|
187
|
+
* @returns Returned if the retention period is updated.
|
|
188
|
+
* @path {PUT} /wiki/rest/api/audit/retention
|
|
189
|
+
* @scopes-current write:audit-log:confluence
|
|
190
|
+
*/
|
|
191
|
+
setRetentionPeriod({ retentionPeriod, }) {
|
|
192
|
+
return this.getClientInstance()
|
|
193
|
+
.request({
|
|
194
|
+
path: "/wiki/rest/api/audit/retention",
|
|
195
|
+
method: "PUT",
|
|
196
|
+
headers: {
|
|
197
|
+
"Content-Type": "application/json",
|
|
198
|
+
},
|
|
199
|
+
body: retentionPeriod,
|
|
200
|
+
})
|
|
201
|
+
.then(this.getClientInstance().responseHandler({
|
|
202
|
+
200: {
|
|
203
|
+
"application/json": "json",
|
|
204
|
+
},
|
|
205
|
+
}))
|
|
206
|
+
.then(commonHttpClient.castResponse())
|
|
207
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditService.setRetentionPeriod.response"))
|
|
208
|
+
.then(commonHttpClient.getBody);
|
|
209
|
+
}
|
|
210
|
+
static initialize() {
|
|
211
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AuditService.getAuditRecords.response", zod_1.z
|
|
212
|
+
.object({
|
|
213
|
+
status: zod_1.z.literal(200),
|
|
214
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
215
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("AuditRecordArray"),
|
|
216
|
+
})
|
|
217
|
+
.describe("AuditService.getAuditRecords.response"));
|
|
218
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AuditService.createAuditRecord.response", zod_1.z
|
|
219
|
+
.object({
|
|
220
|
+
status: zod_1.z.literal(200),
|
|
221
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
222
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("AuditRecord"),
|
|
223
|
+
})
|
|
224
|
+
.describe("AuditService.createAuditRecord.response"));
|
|
225
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AuditService.exportAuditRecords.response", zod_1.z
|
|
226
|
+
.object({
|
|
227
|
+
status: zod_1.z.number(),
|
|
228
|
+
mediaType: zod_1.z.string(),
|
|
229
|
+
body: zod_1.z.unknown(),
|
|
230
|
+
})
|
|
231
|
+
.superRefine(({ mediaType: mediaType }, ctx) => {
|
|
232
|
+
if (mediaType === "application/zip" || mediaType === "text/csv") {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
ctx.addIssue({
|
|
237
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
238
|
+
path: ["mediaType"],
|
|
239
|
+
message: `Unexpected media type: ${mediaType}`,
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
})
|
|
243
|
+
.describe("AuditService.exportAuditRecords.response"));
|
|
244
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AuditService.getRetentionPeriod.response", zod_1.z
|
|
245
|
+
.object({
|
|
246
|
+
status: zod_1.z.literal(200),
|
|
247
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
248
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("RetentionPeriod"),
|
|
249
|
+
})
|
|
250
|
+
.describe("AuditService.getRetentionPeriod.response"));
|
|
251
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AuditService.setRetentionPeriod.response", zod_1.z
|
|
252
|
+
.object({
|
|
253
|
+
status: zod_1.z.literal(200),
|
|
254
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
255
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("RetentionPeriod"),
|
|
256
|
+
})
|
|
257
|
+
.describe("AuditService.setRetentionPeriod.response"));
|
|
258
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AuditService.getAuditRecordsForTimePeriod.response", zod_1.z
|
|
259
|
+
.object({
|
|
260
|
+
status: zod_1.z.literal(200),
|
|
261
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
262
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("AuditRecordArray"),
|
|
263
|
+
})
|
|
264
|
+
.describe("AuditService.getAuditRecordsForTimePeriod.response"));
|
|
265
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([audit_1.registerAuditValidationSchemas]);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
exports.AuditService = AuditService;
|
|
269
|
+
//# sourceMappingURL=AuditService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/AuditService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,2CAMyB;AACzB,wEAAqE;AACrE,MAAa,YAAa,SAAQ,qCAAiB;IACjD;;;;;;;;;OASG;IACH,iBAAiB,CAAC,EAChB,iBAAiB,GAIlB;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5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SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,0CAA0C,CAAC,CACxD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,oDAAoD,EACpD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,kBAAkB,CAAC;SACvD,CAAC;aACD,QAAQ,CAAC,oDAAoD,CAAC,CAClE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,sCAA8B,CAAC,CAAC,CAAC;IACzE,CAAC;CACF;AApcD,oCAocC"}
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type Content, type ContentArray } from "../models/common";
|
|
3
|
+
import type { AttachmentPropertiesUpdateBody } from "../models/contentAttachments";
|
|
4
|
+
export declare class ContentAttachmentsService extends CommonHttpService {
|
|
5
|
+
/**
|
|
6
|
+
* Adds an attachment to a piece of content. This method only adds a new
|
|
7
|
+
* attachment. If you want to update an existing attachment, use
|
|
8
|
+
* [Create or update attachments](#api-content-id-child-attachment-put).
|
|
9
|
+
*
|
|
10
|
+
* Note, you must set a `X-Atlassian-Token: nocheck` header on the request
|
|
11
|
+
* for this method, otherwise it will be blocked. This protects against XSRF
|
|
12
|
+
* attacks, which is necessary as this method accepts multipart/form-data.
|
|
13
|
+
*
|
|
14
|
+
* The media type 'multipart/form-data' is defined in [RFC
|
|
15
|
+
* 7578](https://www.ietf.org/rfc/rfc7578.txt).
|
|
16
|
+
* Most client libraries have classes that make it easier to implement
|
|
17
|
+
* multipart posts, like the
|
|
18
|
+
* [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/)
|
|
19
|
+
* Java class provided by Apache HTTP Components.
|
|
20
|
+
*
|
|
21
|
+
* Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5),
|
|
22
|
+
* in the case where the form data is text,
|
|
23
|
+
* the charset parameter for the "text/plain" Content-Type may be used to
|
|
24
|
+
* indicate the character encoding used in that part. In the case of this
|
|
25
|
+
* API endpoint, the `comment` body parameter should be sent with `type=text/plain`
|
|
26
|
+
* and `charset=utf-8` values. This will force the charset to be UTF-8.
|
|
27
|
+
*
|
|
28
|
+
* Example: This curl command attaches a file ('example.txt') to a container
|
|
29
|
+
* (id='123') with a comment and `minorEdits`=true.
|
|
30
|
+
*
|
|
31
|
+
* ``` bash
|
|
32
|
+
* curl -D- \
|
|
33
|
+
* -u admin:admin \
|
|
34
|
+
* -X POST \
|
|
35
|
+
* -H 'X-Atlassian-Token: nocheck' \
|
|
36
|
+
* -F 'file=@"example.txt"' \
|
|
37
|
+
* -F 'minorEdit="true"' \
|
|
38
|
+
* -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
|
|
39
|
+
* http://myhost/rest/api/content/123/child/attachment
|
|
40
|
+
* ```
|
|
41
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
42
|
+
* Permission to update the content.
|
|
43
|
+
*
|
|
44
|
+
* @returns Returned if the attachments were added to the content.
|
|
45
|
+
* @path {POST} /wiki/rest/api/content/{id}/child/attachment
|
|
46
|
+
* @scopes-current write:confluence-file
|
|
47
|
+
* @scopes-beta read:content-details:confluence, write:attachment:confluence
|
|
48
|
+
*/
|
|
49
|
+
createAttachment({ id, status, requestBody, }: {
|
|
50
|
+
/** The ID of the content to add the attachment to. */
|
|
51
|
+
id: string;
|
|
52
|
+
/** The status of the content that the attachment is being added to. */
|
|
53
|
+
status?: "current" | "draft";
|
|
54
|
+
requestBody: unknown;
|
|
55
|
+
}): Promise<ContentArray>;
|
|
56
|
+
/**
|
|
57
|
+
* Adds an attachment to a piece of content. If the attachment already exists
|
|
58
|
+
* for the content, then the attachment is updated (i.e. a new version of the
|
|
59
|
+
* attachment is created).
|
|
60
|
+
*
|
|
61
|
+
* Note, you must set a `X-Atlassian-Token: nocheck` header on the request
|
|
62
|
+
* for this method, otherwise it will be blocked. This protects against XSRF
|
|
63
|
+
* attacks, which is necessary as this method accepts multipart/form-data.
|
|
64
|
+
*
|
|
65
|
+
* The media type 'multipart/form-data' is defined in [RFC
|
|
66
|
+
* 7578](https://www.ietf.org/rfc/rfc7578.txt).
|
|
67
|
+
* Most client libraries have classes that make it easier to implement
|
|
68
|
+
* multipart posts, like the
|
|
69
|
+
* [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/)
|
|
70
|
+
* Java class provided by Apache HTTP Components.
|
|
71
|
+
*
|
|
72
|
+
* Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5),
|
|
73
|
+
* in the case where the form data is text,
|
|
74
|
+
* the charset parameter for the "text/plain" Content-Type may be used to
|
|
75
|
+
* indicate the character encoding used in that part. In the case of this
|
|
76
|
+
* API endpoint, the `comment` body parameter should be sent with `type=text/plain`
|
|
77
|
+
* and `charset=utf-8` values. This will force the charset to be UTF-8.
|
|
78
|
+
*
|
|
79
|
+
* Example: This curl command attaches a file ('example.txt') to a piece of
|
|
80
|
+
* content (id='123') with a comment and `minorEdits`=true. If the 'example.txt'
|
|
81
|
+
* file already exists, it will update it with a new version of the attachment.
|
|
82
|
+
*
|
|
83
|
+
* ``` bash
|
|
84
|
+
* curl -D- \
|
|
85
|
+
* -u admin:admin \
|
|
86
|
+
* -X PUT \
|
|
87
|
+
* -H 'X-Atlassian-Token: nocheck' \
|
|
88
|
+
* -F 'file=@"example.txt"' \
|
|
89
|
+
* -F 'minorEdit="true"' \
|
|
90
|
+
* -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
|
|
91
|
+
* http://myhost/rest/api/content/123/child/attachment
|
|
92
|
+
* ```
|
|
93
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
94
|
+
* Permission to update the content.
|
|
95
|
+
*
|
|
96
|
+
* @returns Returned if the attachments were added to the content.
|
|
97
|
+
* @path {PUT} /wiki/rest/api/content/{id}/child/attachment
|
|
98
|
+
* @scopes-current write:confluence-file
|
|
99
|
+
* @scopes-beta read:content-details:confluence, write:attachment:confluence
|
|
100
|
+
*/
|
|
101
|
+
createOrUpdateAttachments({ id, status, requestBody, }: {
|
|
102
|
+
/** The ID of the content to add the attachment to. */
|
|
103
|
+
id: string;
|
|
104
|
+
/**
|
|
105
|
+
* The status of the content that the attachment is being added to.
|
|
106
|
+
* This should always be set to 'current'.
|
|
107
|
+
*/
|
|
108
|
+
status?: "current" | "draft";
|
|
109
|
+
requestBody: unknown;
|
|
110
|
+
}): Promise<ContentArray>;
|
|
111
|
+
/**
|
|
112
|
+
* Redirects the client to a URL that serves an attachment's binary data.
|
|
113
|
+
*
|
|
114
|
+
* @path {GET} /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/download
|
|
115
|
+
* @scopes-current readonly:content.attachment:confluence
|
|
116
|
+
* @scopes-beta read:attachment:confluence
|
|
117
|
+
*/
|
|
118
|
+
downloadAttatchment({ id, attachmentId, version, }: {
|
|
119
|
+
/** The ID of the content that the attachment is attached to. */
|
|
120
|
+
id: string;
|
|
121
|
+
/** The ID of the attachment to download. */
|
|
122
|
+
attachmentId: string;
|
|
123
|
+
/**
|
|
124
|
+
* The version of the attachment. If this parameter is absent, the redirect URI
|
|
125
|
+
* will download the latest version of the attachment.
|
|
126
|
+
*/
|
|
127
|
+
version?: number;
|
|
128
|
+
}): Promise<void>;
|
|
129
|
+
/**
|
|
130
|
+
* Deprecated, use [Confluence's v2
|
|
131
|
+
* API](https://developer.atlassian.com/cloud/confluence/rest/v2/intro/).
|
|
132
|
+
*
|
|
133
|
+
* Returns the attachments for a piece of content.
|
|
134
|
+
*
|
|
135
|
+
* By default, the following objects are expanded: `metadata`.
|
|
136
|
+
*
|
|
137
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
138
|
+
* Permission to view the content. If the content is a blog post, 'View' permission
|
|
139
|
+
* for the space is required.
|
|
140
|
+
*
|
|
141
|
+
* @deprecated
|
|
142
|
+
* @returns Returned if the requested attachments are returned.
|
|
143
|
+
* @path {GET} /wiki/rest/api/content/{id}/child/attachment
|
|
144
|
+
* @scopes-current read:confluence-content.summary
|
|
145
|
+
* @scopes-beta read:content-details:confluence
|
|
146
|
+
*/
|
|
147
|
+
getAttachments({ id, expand, start, limit, filename, mediaType, }: {
|
|
148
|
+
/** The ID of the content to be queried for its attachments. */
|
|
149
|
+
id: string;
|
|
150
|
+
/**
|
|
151
|
+
* A multi-value parameter indicating which properties of the content to expand.
|
|
152
|
+
*
|
|
153
|
+
* - `childTypes.all` returns whether the content has attachments, comments, or
|
|
154
|
+
* child pages/whiteboards.
|
|
155
|
+
* Use this if you only need to check whether the content has children of a
|
|
156
|
+
* particular type.
|
|
157
|
+
* - `childTypes.attachment` returns whether the content has attachments.
|
|
158
|
+
* - `childTypes.comment` returns whether the content has comments.
|
|
159
|
+
* - `childTypes.page` returns whether the content has child pages.
|
|
160
|
+
* - `childTypes.whiteboard` returns whether the content has child whiteboards.
|
|
161
|
+
* - `childTypes.database` returns whether the content has child databases.
|
|
162
|
+
* - `childTypes.embed` returns whether the content has child embeds (smartlinks).
|
|
163
|
+
* - `childTypes.folder` returns whether the content has child folders.
|
|
164
|
+
* - `container` returns the space that the content is in. This is the same as the
|
|
165
|
+
* information
|
|
166
|
+
* returned by [Get space](#api-space-spaceKey-get).
|
|
167
|
+
* - `metadata.currentuser` returns information about the current user in relation
|
|
168
|
+
* to the content,
|
|
169
|
+
* including when they last viewed it, modified it, contributed to it, or added it
|
|
170
|
+
* as a favorite.
|
|
171
|
+
* - `metadata.properties` returns content properties that have been set via the
|
|
172
|
+
* Confluence REST API.
|
|
173
|
+
* - `metadata.labels` returns the labels that have been added to the content.
|
|
174
|
+
* - `metadata.frontend` this property is only used by Atlassian.
|
|
175
|
+
* - `operations` returns the operations for the content, which are used when
|
|
176
|
+
* setting permissions.
|
|
177
|
+
* - `children.page` returns pages that are descendants at the level immediately
|
|
178
|
+
* below the content.
|
|
179
|
+
* - `children.whiteboard` returns whiteboards that are descendants at the level
|
|
180
|
+
* immediately below the content.
|
|
181
|
+
* - `children.database` returns databases that are descendants at the level
|
|
182
|
+
* immediately below the content.
|
|
183
|
+
* - `children.embed` returns embeds (smartlinks) that are descendants at the
|
|
184
|
+
* level immediately below the content.
|
|
185
|
+
* - `children.folder` returns folders that are descendants at the level
|
|
186
|
+
* immediately below the content.
|
|
187
|
+
* - `children.attachment` returns all attachments for the content.
|
|
188
|
+
* - `children.comment` returns all comments on the content.
|
|
189
|
+
* - `restrictions.read.restrictions.user` returns the users that have permission
|
|
190
|
+
* to read the content.
|
|
191
|
+
* - `restrictions.read.restrictions.group` returns the groups that have
|
|
192
|
+
* permission to read the content. Note that
|
|
193
|
+
* this may return deleted groups, because deleting a group doesn't remove
|
|
194
|
+
* associated restrictions.
|
|
195
|
+
* - `restrictions.update.restrictions.user` returns the users that have
|
|
196
|
+
* permission to update the content.
|
|
197
|
+
* - `restrictions.update.restrictions.group` returns the groups that have
|
|
198
|
+
* permission to update the content. Note that
|
|
199
|
+
* this may return deleted groups because deleting a group doesn't remove
|
|
200
|
+
* associated restrictions.
|
|
201
|
+
* - `history` returns the history of the content, including the date it was
|
|
202
|
+
* created.
|
|
203
|
+
* - `history.lastUpdated` returns information about the most recent update of the
|
|
204
|
+
* content, including
|
|
205
|
+
* who updated it and when it was updated.
|
|
206
|
+
* - `history.previousVersion` returns information about the update prior to the
|
|
207
|
+
* current content update.
|
|
208
|
+
* - `history.contributors` returns all of the users who have contributed to the
|
|
209
|
+
* content.
|
|
210
|
+
* - `history.nextVersion` returns information about the update after to the
|
|
211
|
+
* current content update.
|
|
212
|
+
* - `ancestors` returns the parent content, if the content is a page or
|
|
213
|
+
* whiteboard.
|
|
214
|
+
* - `body` returns the body of the content in different formats, including the
|
|
215
|
+
* editor format,
|
|
216
|
+
* view format, and export format.
|
|
217
|
+
* - `body.storage` returns the body of content in storage format.
|
|
218
|
+
* - `body.view` returns the body of content in view format.
|
|
219
|
+
* - `version` returns information about the most recent update of the content,
|
|
220
|
+
* including who updated it
|
|
221
|
+
* and when it was updated.
|
|
222
|
+
* - `descendants.page` returns pages that are descendants at any level below the
|
|
223
|
+
* content.
|
|
224
|
+
* - `descendants.whiteboard` returns whiteboards that are descendants at any
|
|
225
|
+
* level below the content.
|
|
226
|
+
* - `descendants.database` returns databases that are descendants at any level
|
|
227
|
+
* below the content.
|
|
228
|
+
* - `descendants.embed` returns embeds (smartlinks) that are descendants at any
|
|
229
|
+
* level below the content.
|
|
230
|
+
* - `descendants.folder` returns folders that are descendants at any level below
|
|
231
|
+
* the content.
|
|
232
|
+
* - `descendants.attachment` returns all attachments for the content, same as
|
|
233
|
+
* `children.attachment`.
|
|
234
|
+
* - `descendants.comment` returns all comments on the content, same as
|
|
235
|
+
* `children.comment`.
|
|
236
|
+
* - `space` returns the space that the content is in. This is the same as the
|
|
237
|
+
* information returned by
|
|
238
|
+
* [Get space](#api-space-spaceKey-get).
|
|
239
|
+
*
|
|
240
|
+
* In addition, the following comment-specific expansions can be used:
|
|
241
|
+
* - `extensions.inlineProperties` returns inline comment-specific properties.
|
|
242
|
+
* - `extensions.resolution` returns the resolution status of each comment.
|
|
243
|
+
*/
|
|
244
|
+
expand?: string[];
|
|
245
|
+
/** The starting index of the returned attachments. */
|
|
246
|
+
start?: number;
|
|
247
|
+
/**
|
|
248
|
+
* The maximum number of attachments to return per page.
|
|
249
|
+
* Note, this may be restricted by fixed system limits.
|
|
250
|
+
*/
|
|
251
|
+
limit?: number;
|
|
252
|
+
/** Filter the results to attachments that match the filename. */
|
|
253
|
+
filename?: string;
|
|
254
|
+
/** Filter the results to attachments that match the media type. */
|
|
255
|
+
mediaType?: string;
|
|
256
|
+
}): Promise<ContentArray>;
|
|
257
|
+
/**
|
|
258
|
+
* Updates the binary data of an attachment, given the attachment ID, and
|
|
259
|
+
* optionally the comment and the minor edit field.
|
|
260
|
+
*
|
|
261
|
+
* This method is essentially the same as [Create or update
|
|
262
|
+
* attachments](#api-content-id-child-attachment-put),
|
|
263
|
+
* except that it matches the attachment ID rather than the name.
|
|
264
|
+
*
|
|
265
|
+
* Note, you must set a `X-Atlassian-Token: nocheck` header on the request
|
|
266
|
+
* for this method, otherwise it will be blocked. This protects against XSRF
|
|
267
|
+
* attacks, which is necessary as this method accepts multipart/form-data.
|
|
268
|
+
*
|
|
269
|
+
* The media type 'multipart/form-data' is defined in [RFC
|
|
270
|
+
* 7578](https://www.ietf.org/rfc/rfc7578.txt).
|
|
271
|
+
* Most client libraries have classes that make it easier to implement
|
|
272
|
+
* multipart posts, like the
|
|
273
|
+
* [MultipartEntityBuilder](https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5/apidocs/)
|
|
274
|
+
* Java class provided by Apache HTTP Components.
|
|
275
|
+
*
|
|
276
|
+
* Note, according to [RFC 7578](https://tools.ietf.org/html/rfc7578#section-4.5),
|
|
277
|
+
* in the case where the form data is text,
|
|
278
|
+
* the charset parameter for the "text/plain" Content-Type may be used to
|
|
279
|
+
* indicate the character encoding used in that part. In the case of this
|
|
280
|
+
* API endpoint, the `comment` body parameter should be sent with `type=text/plain`
|
|
281
|
+
* and `charset=utf-8` values. This will force the charset to be UTF-8.
|
|
282
|
+
*
|
|
283
|
+
* Example: This curl command updates an attachment (id='att456') that is attached
|
|
284
|
+
* to a piece of content (id='123') with a comment and `minorEdits`=true.
|
|
285
|
+
*
|
|
286
|
+
* ``` bash
|
|
287
|
+
* curl -D- \
|
|
288
|
+
* -u admin:admin \
|
|
289
|
+
* -X POST \
|
|
290
|
+
* -H 'X-Atlassian-Token: nocheck' \
|
|
291
|
+
* -F 'file=@"example.txt"' \
|
|
292
|
+
* -F 'minorEdit="true"' \
|
|
293
|
+
* -F 'comment="Example attachment comment"; type=text/plain; charset=utf-8' \
|
|
294
|
+
* http://myhost/rest/api/content/123/child/attachment/att456/data
|
|
295
|
+
* ```
|
|
296
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
297
|
+
* Permission to update the content.
|
|
298
|
+
*
|
|
299
|
+
* @returns Returned if the attachment is updated.
|
|
300
|
+
* @path {POST} /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/data
|
|
301
|
+
* @scopes-current write:confluence-file
|
|
302
|
+
* @scopes-beta read:content-details:confluence, write:attachment:confluence
|
|
303
|
+
*/
|
|
304
|
+
updateAttachmentData({ id, attachmentId, requestBody, }: {
|
|
305
|
+
/** The ID of the content that the attachment is attached to. */
|
|
306
|
+
id: string;
|
|
307
|
+
/** The ID of the attachment to update. */
|
|
308
|
+
attachmentId: string;
|
|
309
|
+
requestBody: unknown;
|
|
310
|
+
}): Promise<Content | null>;
|
|
311
|
+
/**
|
|
312
|
+
* Updates the attachment properties, i.e. the non-binary data of an attachment
|
|
313
|
+
* like the filename, media-type, comment, and parent container.
|
|
314
|
+
*
|
|
315
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
316
|
+
* Permission to update the content.
|
|
317
|
+
*
|
|
318
|
+
* @returns Returned if the attachment is updated.
|
|
319
|
+
* @path {PUT} /wiki/rest/api/content/{id}/child/attachment/{attachmentId}
|
|
320
|
+
* @scopes-current write:confluence-file, write:confluence-props
|
|
321
|
+
* @scopes-beta read:content-details:confluence, write:attachment:confluence
|
|
322
|
+
*/
|
|
323
|
+
updateAttachmentProperties({ id, attachmentId, attachmentPropertiesUpdateBody, }: {
|
|
324
|
+
/** The ID of the content that the attachment is attached to. */
|
|
325
|
+
id: string;
|
|
326
|
+
/** The ID of the attachment to update. */
|
|
327
|
+
attachmentId: string;
|
|
328
|
+
/** The details of the attachment to be updated. */
|
|
329
|
+
attachmentPropertiesUpdateBody: AttachmentPropertiesUpdateBody;
|
|
330
|
+
}): Promise<Content | null>;
|
|
331
|
+
static initialize(): void;
|
|
332
|
+
}
|