@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,213 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type ClassificationLevel } from "../models/classificationLevel";
|
|
3
|
+
export declare class ClassificationLevelService extends CommonHttpService {
|
|
4
|
+
/**
|
|
5
|
+
* Returns the [default classification
|
|
6
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/)
|
|
7
|
+
* for a specific space.
|
|
8
|
+
*
|
|
9
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
10
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
11
|
+
* 'Admin' permission for the space.
|
|
12
|
+
*
|
|
13
|
+
* @path {DELETE} /spaces/{id}/classification-level/default
|
|
14
|
+
* @scopes-current read:space:confluence, write:space:confluence
|
|
15
|
+
*/
|
|
16
|
+
deleteSpaceDefaultClassificationLevel({ id, }: {
|
|
17
|
+
/** The ID of the space for which default classification level should be deleted. */
|
|
18
|
+
id: number;
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the [classification
|
|
22
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
23
|
+
* for a specific blog post.
|
|
24
|
+
*
|
|
25
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
26
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
27
|
+
* permission to view the blog post.
|
|
28
|
+
* 'Permission to edit the blog post is required if trying to view classification
|
|
29
|
+
* level for a draft.
|
|
30
|
+
*
|
|
31
|
+
* @returns Returned if the requested classification level for a blog post is returned.
|
|
32
|
+
* @path {GET} /blogposts/{id}/classification-level
|
|
33
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
34
|
+
*/
|
|
35
|
+
getBlogPostClassificationLevel({ id, status, }: {
|
|
36
|
+
/** The ID of the blog post for which classification level should be returned. */
|
|
37
|
+
id: number;
|
|
38
|
+
/** Status of blog post from which classification level will fetched. */
|
|
39
|
+
status?: "current" | "draft" | "archived";
|
|
40
|
+
}): Promise<ClassificationLevel>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns a list of [classification
|
|
43
|
+
* levels](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
44
|
+
* available.
|
|
45
|
+
*
|
|
46
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
47
|
+
* 'Permission to access the Confluence site ('Can use' global permission).
|
|
48
|
+
*
|
|
49
|
+
* @returns Returned if classifications levels are returned.
|
|
50
|
+
* @path {GET} /classification-levels
|
|
51
|
+
* @scopes-current read:configuration:confluence
|
|
52
|
+
*/
|
|
53
|
+
getClassificationLevels(): Promise<ClassificationLevel[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns the [classification
|
|
56
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
57
|
+
* for a specific page.
|
|
58
|
+
*
|
|
59
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
60
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
61
|
+
* permission to view the page.
|
|
62
|
+
* 'Permission to edit the page is required if trying to view classification level
|
|
63
|
+
* for a draft.
|
|
64
|
+
*
|
|
65
|
+
* @returns Returned if the requested classification level for a page is returned.
|
|
66
|
+
* @path {GET} /pages/{id}/classification-level
|
|
67
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
68
|
+
*/
|
|
69
|
+
getPageClassificationLevel({ id, status, }: {
|
|
70
|
+
/** The ID of the page for which classification level should be returned. */
|
|
71
|
+
id: number;
|
|
72
|
+
/** Status of page from which classification level will fetched. */
|
|
73
|
+
status?: "current" | "draft" | "archived";
|
|
74
|
+
}): Promise<ClassificationLevel>;
|
|
75
|
+
/**
|
|
76
|
+
* Returns the [default classification
|
|
77
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/)
|
|
78
|
+
* for a specific space.
|
|
79
|
+
*
|
|
80
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
81
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
82
|
+
* permission to view the space.
|
|
83
|
+
*
|
|
84
|
+
* @returns Returned if the requested default classification level for a space is returned.
|
|
85
|
+
* @path {GET} /spaces/{id}/classification-level/default
|
|
86
|
+
* @scopes-current read:space:confluence
|
|
87
|
+
*/
|
|
88
|
+
getSpaceDefaultClassificationLevel({ id, }: {
|
|
89
|
+
/** The ID of the space for which default classification level should be returned. */
|
|
90
|
+
id: number;
|
|
91
|
+
}): Promise<ClassificationLevel>;
|
|
92
|
+
/**
|
|
93
|
+
* Resets the [classification
|
|
94
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
95
|
+
* for a specific blog post to the space
|
|
96
|
+
* [default classification
|
|
97
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/).
|
|
98
|
+
*
|
|
99
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
100
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
101
|
+
* permission to view the blog post.
|
|
102
|
+
*
|
|
103
|
+
* @path {POST} /blogposts/{id}/classification-level/reset
|
|
104
|
+
* @scopes-current write:page:confluence
|
|
105
|
+
*/
|
|
106
|
+
postBlogPostClassificationLevel({ id, requestBody, }: {
|
|
107
|
+
/** The ID of the blog post for which classification level should be updated. */
|
|
108
|
+
id: number;
|
|
109
|
+
requestBody: {
|
|
110
|
+
/** Status of the content. */
|
|
111
|
+
status: "current" | "draft";
|
|
112
|
+
} & {
|
|
113
|
+
[key: string]: unknown;
|
|
114
|
+
};
|
|
115
|
+
}): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Resets the [classification
|
|
118
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
119
|
+
* for a specific page to the space
|
|
120
|
+
* [default classification
|
|
121
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/).
|
|
122
|
+
*
|
|
123
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
124
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
125
|
+
* permission to view the page.
|
|
126
|
+
*
|
|
127
|
+
* @path {POST} /pages/{id}/classification-level/reset
|
|
128
|
+
* @scopes-current write:page:confluence
|
|
129
|
+
*/
|
|
130
|
+
postPageClassificationLevel({ id, requestBody, }: {
|
|
131
|
+
/** The ID of the page for which classification level should be updated. */
|
|
132
|
+
id: number;
|
|
133
|
+
requestBody: {
|
|
134
|
+
/** Status of the content. */
|
|
135
|
+
status: "current" | "draft";
|
|
136
|
+
} & {
|
|
137
|
+
[key: string]: unknown;
|
|
138
|
+
};
|
|
139
|
+
}): Promise<void>;
|
|
140
|
+
/**
|
|
141
|
+
* Updates the [classification
|
|
142
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
143
|
+
* for a specific blog post.
|
|
144
|
+
*
|
|
145
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
146
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
147
|
+
* permission to edit the blog post.
|
|
148
|
+
*
|
|
149
|
+
* @path {PUT} /blogposts/{id}/classification-level
|
|
150
|
+
* @scopes-current write:page:confluence
|
|
151
|
+
*/
|
|
152
|
+
putBlogPostClassificationLevel({ id, requestBody, }: {
|
|
153
|
+
/** The ID of the blog post for which classification level should be updated. */
|
|
154
|
+
id: number;
|
|
155
|
+
requestBody: {
|
|
156
|
+
/** The ID of the classification level. */
|
|
157
|
+
id: string;
|
|
158
|
+
/** Status of the content. */
|
|
159
|
+
status: "current" | "draft";
|
|
160
|
+
} & {
|
|
161
|
+
[key: string]: unknown;
|
|
162
|
+
};
|
|
163
|
+
}): Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
* Updates the [classification
|
|
166
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
167
|
+
* for a specific page.
|
|
168
|
+
*
|
|
169
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
170
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
171
|
+
* permission to edit the page.
|
|
172
|
+
*
|
|
173
|
+
* @path {PUT} /pages/{id}/classification-level
|
|
174
|
+
* @scopes-current write:page:confluence
|
|
175
|
+
*/
|
|
176
|
+
putPageClassificationLevel({ id, requestBody, }: {
|
|
177
|
+
/** The ID of the page for which classification level should be updated. */
|
|
178
|
+
id: number;
|
|
179
|
+
requestBody: {
|
|
180
|
+
/** The ID of the classification level. */
|
|
181
|
+
id: string;
|
|
182
|
+
/** Status of the content. */
|
|
183
|
+
status: "current" | "draft";
|
|
184
|
+
} & {
|
|
185
|
+
[key: string]: unknown;
|
|
186
|
+
};
|
|
187
|
+
}): Promise<void>;
|
|
188
|
+
/**
|
|
189
|
+
* Update the [default classification
|
|
190
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/)
|
|
191
|
+
* for a specific space.
|
|
192
|
+
*
|
|
193
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
194
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
195
|
+
* 'Admin' permission for the space.
|
|
196
|
+
*
|
|
197
|
+
* @path {PUT} /spaces/{id}/classification-level/default
|
|
198
|
+
* @scopes-current read:space:confluence, write:space:confluence
|
|
199
|
+
*/
|
|
200
|
+
putSpaceDefaultClassificationLevel({ id, requestBody, }: {
|
|
201
|
+
/** The ID of the space for which default classification level should be updated. */
|
|
202
|
+
id: number;
|
|
203
|
+
requestBody: {
|
|
204
|
+
/** The ID of the classification level. */
|
|
205
|
+
id: string;
|
|
206
|
+
/** Status of the content. */
|
|
207
|
+
status: "current" | "draft";
|
|
208
|
+
} & {
|
|
209
|
+
[key: string]: unknown;
|
|
210
|
+
};
|
|
211
|
+
}): Promise<void>;
|
|
212
|
+
static initialize(): void;
|
|
213
|
+
}
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClassificationLevelService = 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 classificationLevel_1 = require("../models/classificationLevel");
|
|
11
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
class ClassificationLevelService extends CommonHttpService_1.CommonHttpService {
|
|
13
|
+
/**
|
|
14
|
+
* Returns the [default classification
|
|
15
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/)
|
|
16
|
+
* for a specific space.
|
|
17
|
+
*
|
|
18
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
19
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
20
|
+
* 'Admin' permission for the space.
|
|
21
|
+
*
|
|
22
|
+
* @path {DELETE} /spaces/{id}/classification-level/default
|
|
23
|
+
* @scopes-current read:space:confluence, write:space:confluence
|
|
24
|
+
*/
|
|
25
|
+
deleteSpaceDefaultClassificationLevel({ id, }) {
|
|
26
|
+
return this.getClientInstance()
|
|
27
|
+
.request({
|
|
28
|
+
path: "/spaces/{id}/classification-level/default",
|
|
29
|
+
method: "DELETE",
|
|
30
|
+
pathParams: {
|
|
31
|
+
id,
|
|
32
|
+
},
|
|
33
|
+
})
|
|
34
|
+
.then(commonHttpClient.discardResult);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns the [classification
|
|
38
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
39
|
+
* for a specific blog post.
|
|
40
|
+
*
|
|
41
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
42
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
43
|
+
* permission to view the blog post.
|
|
44
|
+
* 'Permission to edit the blog post is required if trying to view classification
|
|
45
|
+
* level for a draft.
|
|
46
|
+
*
|
|
47
|
+
* @returns Returned if the requested classification level for a blog post is returned.
|
|
48
|
+
* @path {GET} /blogposts/{id}/classification-level
|
|
49
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
50
|
+
*/
|
|
51
|
+
getBlogPostClassificationLevel({ id, status, }) {
|
|
52
|
+
return this.getClientInstance()
|
|
53
|
+
.request({
|
|
54
|
+
path: "/blogposts/{id}/classification-level",
|
|
55
|
+
method: "GET",
|
|
56
|
+
pathParams: {
|
|
57
|
+
id,
|
|
58
|
+
},
|
|
59
|
+
query: {
|
|
60
|
+
status,
|
|
61
|
+
},
|
|
62
|
+
})
|
|
63
|
+
.then(this.getClientInstance().responseHandler({
|
|
64
|
+
200: {
|
|
65
|
+
"application/json": "json",
|
|
66
|
+
},
|
|
67
|
+
}))
|
|
68
|
+
.then(commonHttpClient.castResponse())
|
|
69
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ClassificationLevelService.getBlogPostClassificationLevel.response"))
|
|
70
|
+
.then(commonHttpClient.getBody);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns a list of [classification
|
|
74
|
+
* levels](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
75
|
+
* available.
|
|
76
|
+
*
|
|
77
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
78
|
+
* 'Permission to access the Confluence site ('Can use' global permission).
|
|
79
|
+
*
|
|
80
|
+
* @returns Returned if classifications levels are returned.
|
|
81
|
+
* @path {GET} /classification-levels
|
|
82
|
+
* @scopes-current read:configuration:confluence
|
|
83
|
+
*/
|
|
84
|
+
getClassificationLevels() {
|
|
85
|
+
return this.getClientInstance()
|
|
86
|
+
.request({
|
|
87
|
+
path: "/classification-levels",
|
|
88
|
+
method: "GET",
|
|
89
|
+
})
|
|
90
|
+
.then(this.getClientInstance().responseHandler({
|
|
91
|
+
200: {
|
|
92
|
+
"application/json": "json",
|
|
93
|
+
},
|
|
94
|
+
}))
|
|
95
|
+
.then(commonHttpClient.castResponse())
|
|
96
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ClassificationLevelService.getClassificationLevels.response"))
|
|
97
|
+
.then(commonHttpClient.getBody);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Returns the [classification
|
|
101
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
102
|
+
* for a specific page.
|
|
103
|
+
*
|
|
104
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
105
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
106
|
+
* permission to view the page.
|
|
107
|
+
* 'Permission to edit the page is required if trying to view classification level
|
|
108
|
+
* for a draft.
|
|
109
|
+
*
|
|
110
|
+
* @returns Returned if the requested classification level for a page is returned.
|
|
111
|
+
* @path {GET} /pages/{id}/classification-level
|
|
112
|
+
* @scopes-current read:page:confluence, write:page:confluence
|
|
113
|
+
*/
|
|
114
|
+
getPageClassificationLevel({ id, status, }) {
|
|
115
|
+
return this.getClientInstance()
|
|
116
|
+
.request({
|
|
117
|
+
path: "/pages/{id}/classification-level",
|
|
118
|
+
method: "GET",
|
|
119
|
+
pathParams: {
|
|
120
|
+
id,
|
|
121
|
+
},
|
|
122
|
+
query: {
|
|
123
|
+
status,
|
|
124
|
+
},
|
|
125
|
+
})
|
|
126
|
+
.then(this.getClientInstance().responseHandler({
|
|
127
|
+
200: {
|
|
128
|
+
"application/json": "json",
|
|
129
|
+
},
|
|
130
|
+
}))
|
|
131
|
+
.then(commonHttpClient.castResponse())
|
|
132
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ClassificationLevelService.getPageClassificationLevel.response"))
|
|
133
|
+
.then(commonHttpClient.getBody);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Returns the [default classification
|
|
137
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/)
|
|
138
|
+
* for a specific space.
|
|
139
|
+
*
|
|
140
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
141
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
142
|
+
* permission to view the space.
|
|
143
|
+
*
|
|
144
|
+
* @returns Returned if the requested default classification level for a space is returned.
|
|
145
|
+
* @path {GET} /spaces/{id}/classification-level/default
|
|
146
|
+
* @scopes-current read:space:confluence
|
|
147
|
+
*/
|
|
148
|
+
getSpaceDefaultClassificationLevel({ id, }) {
|
|
149
|
+
return this.getClientInstance()
|
|
150
|
+
.request({
|
|
151
|
+
path: "/spaces/{id}/classification-level/default",
|
|
152
|
+
method: "GET",
|
|
153
|
+
pathParams: {
|
|
154
|
+
id,
|
|
155
|
+
},
|
|
156
|
+
})
|
|
157
|
+
.then(this.getClientInstance().responseHandler({
|
|
158
|
+
200: {
|
|
159
|
+
"application/json": "json",
|
|
160
|
+
},
|
|
161
|
+
}))
|
|
162
|
+
.then(commonHttpClient.castResponse())
|
|
163
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("ClassificationLevelService.getSpaceDefaultClassificationLevel.response"))
|
|
164
|
+
.then(commonHttpClient.getBody);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Resets the [classification
|
|
168
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
169
|
+
* for a specific blog post to the space
|
|
170
|
+
* [default classification
|
|
171
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/).
|
|
172
|
+
*
|
|
173
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
174
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
175
|
+
* permission to view the blog post.
|
|
176
|
+
*
|
|
177
|
+
* @path {POST} /blogposts/{id}/classification-level/reset
|
|
178
|
+
* @scopes-current write:page:confluence
|
|
179
|
+
*/
|
|
180
|
+
postBlogPostClassificationLevel({ id, requestBody, }) {
|
|
181
|
+
return this.getClientInstance()
|
|
182
|
+
.request({
|
|
183
|
+
path: "/blogposts/{id}/classification-level/reset",
|
|
184
|
+
method: "POST",
|
|
185
|
+
pathParams: {
|
|
186
|
+
id,
|
|
187
|
+
},
|
|
188
|
+
headers: {
|
|
189
|
+
"Content-Type": "application/json",
|
|
190
|
+
},
|
|
191
|
+
body: requestBody,
|
|
192
|
+
})
|
|
193
|
+
.then(commonHttpClient.discardResult);
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Resets the [classification
|
|
197
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
198
|
+
* for a specific page to the space
|
|
199
|
+
* [default classification
|
|
200
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/).
|
|
201
|
+
*
|
|
202
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
203
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
204
|
+
* permission to view the page.
|
|
205
|
+
*
|
|
206
|
+
* @path {POST} /pages/{id}/classification-level/reset
|
|
207
|
+
* @scopes-current write:page:confluence
|
|
208
|
+
*/
|
|
209
|
+
postPageClassificationLevel({ id, requestBody, }) {
|
|
210
|
+
return this.getClientInstance()
|
|
211
|
+
.request({
|
|
212
|
+
path: "/pages/{id}/classification-level/reset",
|
|
213
|
+
method: "POST",
|
|
214
|
+
pathParams: {
|
|
215
|
+
id,
|
|
216
|
+
},
|
|
217
|
+
headers: {
|
|
218
|
+
"Content-Type": "application/json",
|
|
219
|
+
},
|
|
220
|
+
body: requestBody,
|
|
221
|
+
})
|
|
222
|
+
.then(commonHttpClient.discardResult);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Updates the [classification
|
|
226
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
227
|
+
* for a specific blog post.
|
|
228
|
+
*
|
|
229
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
230
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
231
|
+
* permission to edit the blog post.
|
|
232
|
+
*
|
|
233
|
+
* @path {PUT} /blogposts/{id}/classification-level
|
|
234
|
+
* @scopes-current write:page:confluence
|
|
235
|
+
*/
|
|
236
|
+
putBlogPostClassificationLevel({ id, requestBody, }) {
|
|
237
|
+
return this.getClientInstance()
|
|
238
|
+
.request({
|
|
239
|
+
path: "/blogposts/{id}/classification-level",
|
|
240
|
+
method: "PUT",
|
|
241
|
+
pathParams: {
|
|
242
|
+
id,
|
|
243
|
+
},
|
|
244
|
+
headers: {
|
|
245
|
+
"Content-Type": "application/json",
|
|
246
|
+
},
|
|
247
|
+
body: requestBody,
|
|
248
|
+
})
|
|
249
|
+
.then(commonHttpClient.discardResult);
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Updates the [classification
|
|
253
|
+
* level](https://developer.atlassian.com/cloud/admin/dlp/rest/intro/#Classification%20level)
|
|
254
|
+
* for a specific page.
|
|
255
|
+
*
|
|
256
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
257
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
258
|
+
* permission to edit the page.
|
|
259
|
+
*
|
|
260
|
+
* @path {PUT} /pages/{id}/classification-level
|
|
261
|
+
* @scopes-current write:page:confluence
|
|
262
|
+
*/
|
|
263
|
+
putPageClassificationLevel({ id, requestBody, }) {
|
|
264
|
+
return this.getClientInstance()
|
|
265
|
+
.request({
|
|
266
|
+
path: "/pages/{id}/classification-level",
|
|
267
|
+
method: "PUT",
|
|
268
|
+
pathParams: {
|
|
269
|
+
id,
|
|
270
|
+
},
|
|
271
|
+
headers: {
|
|
272
|
+
"Content-Type": "application/json",
|
|
273
|
+
},
|
|
274
|
+
body: requestBody,
|
|
275
|
+
})
|
|
276
|
+
.then(commonHttpClient.discardResult);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Update the [default classification
|
|
280
|
+
* level](https://support.atlassian.com/security-and-access-policies/docs/what-is-a-default-classification-level/)
|
|
281
|
+
* for a specific space.
|
|
282
|
+
*
|
|
283
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
284
|
+
* 'Permission to access the Confluence site ('Can use' global permission) and
|
|
285
|
+
* 'Admin' permission for the space.
|
|
286
|
+
*
|
|
287
|
+
* @path {PUT} /spaces/{id}/classification-level/default
|
|
288
|
+
* @scopes-current read:space:confluence, write:space:confluence
|
|
289
|
+
*/
|
|
290
|
+
putSpaceDefaultClassificationLevel({ id, requestBody, }) {
|
|
291
|
+
return this.getClientInstance()
|
|
292
|
+
.request({
|
|
293
|
+
path: "/spaces/{id}/classification-level/default",
|
|
294
|
+
method: "PUT",
|
|
295
|
+
pathParams: {
|
|
296
|
+
id,
|
|
297
|
+
},
|
|
298
|
+
headers: {
|
|
299
|
+
"Content-Type": "application/json",
|
|
300
|
+
},
|
|
301
|
+
body: requestBody,
|
|
302
|
+
})
|
|
303
|
+
.then(commonHttpClient.discardResult);
|
|
304
|
+
}
|
|
305
|
+
static initialize() {
|
|
306
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ClassificationLevelService.getBlogPostClassificationLevel.response", zod_1.z
|
|
307
|
+
.object({
|
|
308
|
+
status: zod_1.z.literal(200),
|
|
309
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
310
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ClassificationLevel"),
|
|
311
|
+
})
|
|
312
|
+
.describe("ClassificationLevelService.getBlogPostClassificationLevel.response"));
|
|
313
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ClassificationLevelService.getClassificationLevels.response", zod_1.z
|
|
314
|
+
.object({
|
|
315
|
+
status: zod_1.z.literal(200),
|
|
316
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
317
|
+
body: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("ClassificationLevel")),
|
|
318
|
+
})
|
|
319
|
+
.describe("ClassificationLevelService.getClassificationLevels.response"));
|
|
320
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ClassificationLevelService.getPageClassificationLevel.response", zod_1.z
|
|
321
|
+
.object({
|
|
322
|
+
status: zod_1.z.literal(200),
|
|
323
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
324
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ClassificationLevel"),
|
|
325
|
+
})
|
|
326
|
+
.describe("ClassificationLevelService.getPageClassificationLevel.response"));
|
|
327
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ClassificationLevelService.getSpaceDefaultClassificationLevel.response", zod_1.z
|
|
328
|
+
.object({
|
|
329
|
+
status: zod_1.z.literal(200),
|
|
330
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
331
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ClassificationLevel"),
|
|
332
|
+
})
|
|
333
|
+
.describe("ClassificationLevelService.getSpaceDefaultClassificationLevel.response"));
|
|
334
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
335
|
+
classificationLevel_1.registerClassificationLevelValidationSchemas,
|
|
336
|
+
]);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
exports.ClassificationLevelService = ClassificationLevelService;
|
|
340
|
+
//# sourceMappingURL=ClassificationLevelService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassificationLevelService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/ClassificationLevelService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,uEAGuC;AACvC,wEAAqE;AACrE,MAAa,0BAA2B,SAAQ,qCAAiB;IAC/D;;;;;;;;;;;OAWG;IACH,qCAAqC,CAAC,EACpC,EAAE,GAIH;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,2CAA2C;YACjD,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,EAAE;aACH;SACF,CAAC;aACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;IACD;;;;;;;;;;;;;;OAcG;IACH,8BAA8B,CAAC,EAC7B,EAAE,EACF,MAAM,GAMP;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,sCAAsC;YAC5C,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,EAAE;aACH;YACD,KAAK,EAAE;gBACL,MAAM;aACP;SACF,CAAC;a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