@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,350 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type CustomContentBodyRepresentation, type MultiEntityLinks, type PrimaryBodyRepresentation } from "../models/common";
|
|
3
|
+
import { type AttachmentVersion, type BlogPostVersion, type CommentVersion, type CustomContentVersion, type DetailedVersion, type PageVersion, type VersionSortOrder } from "../models/version";
|
|
4
|
+
export declare class VersionService extends CommonHttpService {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves version details for the specified attachment and version number.
|
|
7
|
+
*
|
|
8
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
9
|
+
* Permission to view the attachment.
|
|
10
|
+
*
|
|
11
|
+
* @returns Returned if the requested version details are successfully retrieved.
|
|
12
|
+
* @path {GET} /attachments/{attachment-id}/versions/{version-number}
|
|
13
|
+
* @scopes-current read:attachment:confluence
|
|
14
|
+
*/
|
|
15
|
+
getAttachmentVersionDetails({ attachmentId, versionNumber, }: {
|
|
16
|
+
/** The ID of the attachment for which version details should be returned. */
|
|
17
|
+
attachmentId: string;
|
|
18
|
+
/** The version number of the attachment to be returned. */
|
|
19
|
+
versionNumber: number;
|
|
20
|
+
}): Promise<DetailedVersion>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the versions of specific attachment.
|
|
23
|
+
*
|
|
24
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
25
|
+
* Permission to view the attachment and its corresponding space.
|
|
26
|
+
*
|
|
27
|
+
* @returns Returned if the requested attachment versions are returned.
|
|
28
|
+
* @path {GET} /attachments/{id}/versions
|
|
29
|
+
* @scopes-current read:attachment:confluence
|
|
30
|
+
*/
|
|
31
|
+
getAttachmentVersions({ id, cursor, limit, sort, }: {
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the attachment to be queried for its versions. If you don't know the
|
|
34
|
+
* attachment ID, use Get attachments and filter the results.
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
/**
|
|
38
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
39
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
40
|
+
* retrieve the `next` set of results.
|
|
41
|
+
*/
|
|
42
|
+
cursor?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Maximum number of versions per result to return. If more results exist, use the
|
|
45
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
46
|
+
* results.
|
|
47
|
+
*/
|
|
48
|
+
limit?: number;
|
|
49
|
+
/** Used to sort the result by a particular field. */
|
|
50
|
+
sort?: VersionSortOrder;
|
|
51
|
+
}): Promise<{
|
|
52
|
+
results?: AttachmentVersion[];
|
|
53
|
+
_links?: MultiEntityLinks;
|
|
54
|
+
} & {
|
|
55
|
+
[key: string]: unknown;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves version details for the specified blog post and version number.
|
|
59
|
+
*
|
|
60
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
61
|
+
* Permission to view the blog post.
|
|
62
|
+
*
|
|
63
|
+
* @returns Returned if the requested version details are successfully retrieved.
|
|
64
|
+
* @path {GET} /blogposts/{blogpost-id}/versions/{version-number}
|
|
65
|
+
* @scopes-current read:page:confluence
|
|
66
|
+
*/
|
|
67
|
+
getBlogPostVersionDetails({ blogpostId, versionNumber, }: {
|
|
68
|
+
/** The ID of the blog post for which version details should be returned. */
|
|
69
|
+
blogpostId: number;
|
|
70
|
+
/** The version number of the blog post to be returned. */
|
|
71
|
+
versionNumber: number;
|
|
72
|
+
}): Promise<DetailedVersion>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the versions of specific blog post.
|
|
75
|
+
*
|
|
76
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
77
|
+
* Permission to view the blog post and its corresponding space.
|
|
78
|
+
*
|
|
79
|
+
* @returns Returned if the requested blog post versions are returned.
|
|
80
|
+
* @path {GET} /blogposts/{id}/versions
|
|
81
|
+
* @scopes-current read:page:confluence
|
|
82
|
+
*/
|
|
83
|
+
getBlogPostVersions({ id, bodyFormat, cursor, limit, sort, }: {
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the blog post to be queried for its versions. If you don't know the
|
|
86
|
+
* blog post ID, use Get blog posts and filter the results.
|
|
87
|
+
*/
|
|
88
|
+
id: number;
|
|
89
|
+
/**
|
|
90
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
91
|
+
* available, the representation will be available under a response field of the
|
|
92
|
+
* same name under the `body` field.
|
|
93
|
+
*/
|
|
94
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
95
|
+
/**
|
|
96
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
97
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
98
|
+
* retrieve the `next` set of results.
|
|
99
|
+
*/
|
|
100
|
+
cursor?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Maximum number of versions per result to return. If more results exist, use the
|
|
103
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
104
|
+
* results.
|
|
105
|
+
*/
|
|
106
|
+
limit?: number;
|
|
107
|
+
/** Used to sort the result by a particular field. */
|
|
108
|
+
sort?: VersionSortOrder;
|
|
109
|
+
}): Promise<{
|
|
110
|
+
results?: BlogPostVersion[];
|
|
111
|
+
_links?: MultiEntityLinks;
|
|
112
|
+
} & {
|
|
113
|
+
[key: string]: unknown;
|
|
114
|
+
}>;
|
|
115
|
+
/**
|
|
116
|
+
* Retrieves version details for the specified custom content and version number.
|
|
117
|
+
*
|
|
118
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
119
|
+
* Permission to view the page.
|
|
120
|
+
*
|
|
121
|
+
* @returns Returned if the requested version details are successfully retrieved.
|
|
122
|
+
* @path {GET} /custom-content/{custom-content-id}/versions/{version-number}
|
|
123
|
+
* @scopes-current read:custom-content:confluence
|
|
124
|
+
*/
|
|
125
|
+
getCustomContentVersionDetails({ customContentId, versionNumber, }: {
|
|
126
|
+
/** The ID of the custom content for which version details should be returned. */
|
|
127
|
+
customContentId: number;
|
|
128
|
+
/** The version number of the custom content to be returned. */
|
|
129
|
+
versionNumber: number;
|
|
130
|
+
}): Promise<DetailedVersion>;
|
|
131
|
+
/**
|
|
132
|
+
* Returns the versions of specific custom content.
|
|
133
|
+
*
|
|
134
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
135
|
+
* Permission to view the custom content and its corresponding page and space.
|
|
136
|
+
*
|
|
137
|
+
* @returns Returned if the requested custom content versions are returned.
|
|
138
|
+
* @path {GET} /custom-content/{custom-content-id}/versions
|
|
139
|
+
* @scopes-current read:custom-content:confluence
|
|
140
|
+
*/
|
|
141
|
+
getCustomContentVersions({ customContentId, bodyFormat, cursor, limit, sort, }: {
|
|
142
|
+
/**
|
|
143
|
+
* The ID of the custom content to be queried for its versions. If you don't know
|
|
144
|
+
* the custom content ID, use Get custom-content by type and filter the results.
|
|
145
|
+
*/
|
|
146
|
+
customContentId: number;
|
|
147
|
+
/**
|
|
148
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
149
|
+
* available, the representation will be available under a response field of the
|
|
150
|
+
* same name under the `body` field.
|
|
151
|
+
*
|
|
152
|
+
* Note: If the custom content body type is `storage`, the `storage` and
|
|
153
|
+
* `atlas_doc_format` body formats are able to be returned. If the custom content
|
|
154
|
+
* body type is `raw`, only the `raw` body format is able to be returned.
|
|
155
|
+
*/
|
|
156
|
+
bodyFormat?: CustomContentBodyRepresentation;
|
|
157
|
+
/**
|
|
158
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
159
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
160
|
+
* retrieve the `next` set of results.
|
|
161
|
+
*/
|
|
162
|
+
cursor?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Maximum number of versions per result to return. If more results exist, use the
|
|
165
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
166
|
+
* results.
|
|
167
|
+
*/
|
|
168
|
+
limit?: number;
|
|
169
|
+
/** Used to sort the result by a particular field. */
|
|
170
|
+
sort?: VersionSortOrder;
|
|
171
|
+
}): Promise<{
|
|
172
|
+
results?: CustomContentVersion[];
|
|
173
|
+
_links?: MultiEntityLinks;
|
|
174
|
+
} & {
|
|
175
|
+
[key: string]: unknown;
|
|
176
|
+
}>;
|
|
177
|
+
/**
|
|
178
|
+
* Retrieves version details for the specified footer comment version.
|
|
179
|
+
*
|
|
180
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
181
|
+
* Permission to view the content of the page or blog post and its corresponding
|
|
182
|
+
* space.
|
|
183
|
+
*
|
|
184
|
+
* @returns Returned if the requested version details are successfully retrieved.
|
|
185
|
+
* @path {GET} /footer-comments/{id}/versions/{version-number}
|
|
186
|
+
* @scopes-current read:comment:confluence
|
|
187
|
+
*/
|
|
188
|
+
getFooterCommentVersionDetails({ id, versionNumber, }: {
|
|
189
|
+
/** The ID of the footer comment for which version details should be returned. */
|
|
190
|
+
id: number;
|
|
191
|
+
/** The version number of the footer comment to be returned. */
|
|
192
|
+
versionNumber: number;
|
|
193
|
+
}): Promise<DetailedVersion>;
|
|
194
|
+
/**
|
|
195
|
+
* Retrieves the versions of the specified footer comment.
|
|
196
|
+
*
|
|
197
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
198
|
+
* Permission to view the content of the page or blog post and its corresponding
|
|
199
|
+
* space.
|
|
200
|
+
*
|
|
201
|
+
* @returns Returned if the requested footer comment versions are returned.
|
|
202
|
+
* @path {GET} /footer-comments/{id}/versions
|
|
203
|
+
* @scopes-current read:comment:confluence
|
|
204
|
+
*/
|
|
205
|
+
getFooterCommentVersions({ id, bodyFormat, cursor, limit, sort, }: {
|
|
206
|
+
/** The ID of the footer comment for which versions should be returned */
|
|
207
|
+
id: number;
|
|
208
|
+
/**
|
|
209
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
210
|
+
* available, the representation will be available under a response field of the
|
|
211
|
+
* same name under the `body` field.
|
|
212
|
+
*/
|
|
213
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
214
|
+
/**
|
|
215
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
216
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
217
|
+
* retrieve the `next` set of results.
|
|
218
|
+
*/
|
|
219
|
+
cursor?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Maximum number of versions per result to return. If more results exist, use the
|
|
222
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
223
|
+
* results.
|
|
224
|
+
*/
|
|
225
|
+
limit?: number;
|
|
226
|
+
/** Used to sort the result by a particular field. */
|
|
227
|
+
sort?: VersionSortOrder;
|
|
228
|
+
}): Promise<{
|
|
229
|
+
results?: CommentVersion[];
|
|
230
|
+
_links?: MultiEntityLinks;
|
|
231
|
+
} & {
|
|
232
|
+
[key: string]: unknown;
|
|
233
|
+
}>;
|
|
234
|
+
/**
|
|
235
|
+
* Retrieves version details for the specified inline comment version.
|
|
236
|
+
*
|
|
237
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
238
|
+
* Permission to view the content of the page or blog post and its corresponding
|
|
239
|
+
* space.
|
|
240
|
+
*
|
|
241
|
+
* @returns Returned if the requested version details are successfully retrieved.
|
|
242
|
+
* @path {GET} /inline-comments/{id}/versions/{version-number}
|
|
243
|
+
* @scopes-current read:comment:confluence
|
|
244
|
+
*/
|
|
245
|
+
getInlineCommentVersionDetails({ id, versionNumber, }: {
|
|
246
|
+
/** The ID of the inline comment for which version details should be returned. */
|
|
247
|
+
id: number;
|
|
248
|
+
/** The version number of the inline comment to be returned. */
|
|
249
|
+
versionNumber: number;
|
|
250
|
+
}): Promise<DetailedVersion>;
|
|
251
|
+
/**
|
|
252
|
+
* Retrieves the versions of the specified inline comment.
|
|
253
|
+
*
|
|
254
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
255
|
+
* Permission to view the content of the page or blog post and its corresponding
|
|
256
|
+
* space.
|
|
257
|
+
*
|
|
258
|
+
* @returns Returned if the requested inline comment versions are returned.
|
|
259
|
+
* @path {GET} /inline-comments/{id}/versions
|
|
260
|
+
* @scopes-current read:comment:confluence
|
|
261
|
+
*/
|
|
262
|
+
getInlineCommentVersions({ id, bodyFormat, cursor, limit, sort, }: {
|
|
263
|
+
/** The ID of the inline comment for which versions should be returned */
|
|
264
|
+
id: number;
|
|
265
|
+
/**
|
|
266
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
267
|
+
* available, the representation will be available under a response field of the
|
|
268
|
+
* same name under the `body` field.
|
|
269
|
+
*/
|
|
270
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
271
|
+
/**
|
|
272
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
273
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
274
|
+
* retrieve the `next` set of results.
|
|
275
|
+
*/
|
|
276
|
+
cursor?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Maximum number of versions per result to return. If more results exist, use the
|
|
279
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
280
|
+
* results.
|
|
281
|
+
*/
|
|
282
|
+
limit?: number;
|
|
283
|
+
/** Used to sort the result by a particular field. */
|
|
284
|
+
sort?: VersionSortOrder;
|
|
285
|
+
}): Promise<{
|
|
286
|
+
results?: CommentVersion[];
|
|
287
|
+
_links?: MultiEntityLinks;
|
|
288
|
+
} & {
|
|
289
|
+
[key: string]: unknown;
|
|
290
|
+
}>;
|
|
291
|
+
/**
|
|
292
|
+
* Retrieves version details for the specified page and version number.
|
|
293
|
+
*
|
|
294
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
295
|
+
* Permission to view the page.
|
|
296
|
+
*
|
|
297
|
+
* @returns Returned if the requested version details are successfully retrieved.
|
|
298
|
+
* @path {GET} /pages/{page-id}/versions/{version-number}
|
|
299
|
+
* @scopes-current read:page:confluence
|
|
300
|
+
*/
|
|
301
|
+
getPageVersionDetails({ pageId, versionNumber, }: {
|
|
302
|
+
/** The ID of the page for which version details should be returned. */
|
|
303
|
+
pageId: number;
|
|
304
|
+
/** The version number of the page to be returned. */
|
|
305
|
+
versionNumber: number;
|
|
306
|
+
}): Promise<DetailedVersion>;
|
|
307
|
+
/**
|
|
308
|
+
* Returns the versions of specific page.
|
|
309
|
+
*
|
|
310
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
311
|
+
* Permission to view the page and its corresponding space.
|
|
312
|
+
*
|
|
313
|
+
* @returns Returned if the requested page versions are returned.
|
|
314
|
+
* @path {GET} /pages/{id}/versions
|
|
315
|
+
* @scopes-current read:page:confluence
|
|
316
|
+
*/
|
|
317
|
+
getPageVersions({ id, bodyFormat, cursor, limit, sort, }: {
|
|
318
|
+
/**
|
|
319
|
+
* The ID of the page to be queried for its versions. If you don't know the page
|
|
320
|
+
* ID, use Get pages and filter the results.
|
|
321
|
+
*/
|
|
322
|
+
id: number;
|
|
323
|
+
/**
|
|
324
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
325
|
+
* available, the representation will be available under a response field of the
|
|
326
|
+
* same name under the `body` field.
|
|
327
|
+
*/
|
|
328
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
329
|
+
/**
|
|
330
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
331
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
332
|
+
* retrieve the `next` set of results.
|
|
333
|
+
*/
|
|
334
|
+
cursor?: string;
|
|
335
|
+
/**
|
|
336
|
+
* Maximum number of versions per result to return. If more results exist, use the
|
|
337
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
338
|
+
* results.
|
|
339
|
+
*/
|
|
340
|
+
limit?: number;
|
|
341
|
+
/** Used to sort the result by a particular field. */
|
|
342
|
+
sort?: VersionSortOrder;
|
|
343
|
+
}): Promise<{
|
|
344
|
+
results?: PageVersion[];
|
|
345
|
+
_links?: MultiEntityLinks;
|
|
346
|
+
} & {
|
|
347
|
+
[key: string]: unknown;
|
|
348
|
+
}>;
|
|
349
|
+
static initialize(): void;
|
|
350
|
+
}
|