@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,408 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type MultiEntityLinks, type PrimaryBodyRepresentation, type PrimaryBodyRepresentationSingle } from "../models/common";
|
|
3
|
+
import { type PageBodyWrite, type PageBulk, type PageNestedBodyWrite, type PageSingle, type PageSortOrder } from "../models/page";
|
|
4
|
+
export declare class PageService extends CommonHttpService {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a page in the space.
|
|
7
|
+
*
|
|
8
|
+
* Pages are created as published by default unless specified as a draft in the
|
|
9
|
+
* status field. If creating a published page, the title must be specified.
|
|
10
|
+
*
|
|
11
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
12
|
+
* Permission to view the corresponding space. Permission to create a page in the
|
|
13
|
+
* space.
|
|
14
|
+
*
|
|
15
|
+
* @returns Returned if the page was successfully created.
|
|
16
|
+
* @path {POST} /pages
|
|
17
|
+
* @scopes-current write:page:confluence
|
|
18
|
+
*/
|
|
19
|
+
createPage({ embedded, private: privateQuery, rootLevel, requestBody, }: {
|
|
20
|
+
/** Tag the content as embedded and content will be created in NCS. */
|
|
21
|
+
embedded?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The page will be private. Only the user who creates this page will have
|
|
24
|
+
* permission to view and edit one.
|
|
25
|
+
*/
|
|
26
|
+
private?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The page will be created at the root level of the space (outside the space
|
|
29
|
+
* homepage tree).
|
|
30
|
+
*/
|
|
31
|
+
rootLevel?: boolean;
|
|
32
|
+
requestBody: {
|
|
33
|
+
/** ID of the space. */
|
|
34
|
+
spaceId: string;
|
|
35
|
+
/** The status of the page, published or draft. */
|
|
36
|
+
status?: "current" | "draft";
|
|
37
|
+
/** Title of the page, required if page status is not draft. */
|
|
38
|
+
title?: string;
|
|
39
|
+
/** The parent content ID of the page. */
|
|
40
|
+
parentId?: string;
|
|
41
|
+
body?: PageBodyWrite | PageNestedBodyWrite;
|
|
42
|
+
} & {
|
|
43
|
+
[key: string]: unknown;
|
|
44
|
+
};
|
|
45
|
+
}): Promise<PageSingle & ({
|
|
46
|
+
_links?: {
|
|
47
|
+
/** Base url of the Confluence site. */
|
|
48
|
+
base?: string;
|
|
49
|
+
} & {
|
|
50
|
+
[key: string]: unknown;
|
|
51
|
+
};
|
|
52
|
+
} & {
|
|
53
|
+
[key: string]: unknown;
|
|
54
|
+
})>;
|
|
55
|
+
/**
|
|
56
|
+
* Delete a page by id.
|
|
57
|
+
*
|
|
58
|
+
* By default this will delete pages that are non-drafts. To delete a page that is
|
|
59
|
+
* a draft, the endpoint must be called on a
|
|
60
|
+
* draft with the following param `draft=true`. Discarded drafts are not sent to
|
|
61
|
+
* the trash and are permanently deleted.
|
|
62
|
+
*
|
|
63
|
+
* Deleting a page moves the page to the trash, where it can be restored later. To
|
|
64
|
+
* permanently delete a page (or "purge" it),
|
|
65
|
+
* the endpoint must be called on a **trashed** page with the following param
|
|
66
|
+
* `purge=true`.
|
|
67
|
+
*
|
|
68
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
69
|
+
* Permission to view the page and its corresponding space.
|
|
70
|
+
* Permission to delete pages in the space.
|
|
71
|
+
* Permission to administer the space (if attempting to purge).
|
|
72
|
+
*
|
|
73
|
+
* @path {DELETE} /pages/{id}
|
|
74
|
+
* @scopes-current delete:page:confluence
|
|
75
|
+
*/
|
|
76
|
+
deletePage({ id, purge, draft, }: {
|
|
77
|
+
/** The ID of the page to be deleted. */
|
|
78
|
+
id: number;
|
|
79
|
+
/** If attempting to purge the page. */
|
|
80
|
+
purge?: boolean;
|
|
81
|
+
/** If attempting to delete a page that is a draft. */
|
|
82
|
+
draft?: boolean;
|
|
83
|
+
}): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Returns the pages of specified label. The number of results is limited by the
|
|
86
|
+
* `limit` parameter and additional results (if available)
|
|
87
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
88
|
+
*
|
|
89
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
90
|
+
* Permission to view the content of the page and its corresponding space.
|
|
91
|
+
*
|
|
92
|
+
* @returns Returned if the requested pages for specified label were successfully fetched.
|
|
93
|
+
* @path {GET} /labels/{id}/pages
|
|
94
|
+
* @scopes-current read:page:confluence
|
|
95
|
+
*/
|
|
96
|
+
getLabelPages({ id, spaceId, bodyFormat, sort, cursor, limit, }: {
|
|
97
|
+
/** The ID of the label for which pages should be returned. */
|
|
98
|
+
id: number;
|
|
99
|
+
/**
|
|
100
|
+
* Filter the results based on space ids. Multiple space ids can be specified as a
|
|
101
|
+
* comma-separated list.
|
|
102
|
+
*/
|
|
103
|
+
spaceId?: number[];
|
|
104
|
+
/**
|
|
105
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
106
|
+
* available, the representation will be available under a response field of the
|
|
107
|
+
* same name under the `body` field.
|
|
108
|
+
*/
|
|
109
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
110
|
+
/** Used to sort the result by a particular field. */
|
|
111
|
+
sort?: PageSortOrder;
|
|
112
|
+
/**
|
|
113
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
114
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
115
|
+
* retrieve the `next` set of results.
|
|
116
|
+
*/
|
|
117
|
+
cursor?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Maximum number of pages per result to return. If more results exist, use the
|
|
120
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
121
|
+
* results.
|
|
122
|
+
*/
|
|
123
|
+
limit?: number;
|
|
124
|
+
}): Promise<{
|
|
125
|
+
results?: PageBulk[];
|
|
126
|
+
_links?: MultiEntityLinks;
|
|
127
|
+
} & {
|
|
128
|
+
[key: string]: unknown;
|
|
129
|
+
}>;
|
|
130
|
+
/**
|
|
131
|
+
* Returns a specific page.
|
|
132
|
+
*
|
|
133
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
134
|
+
* Permission to view the page and its corresponding space.
|
|
135
|
+
*
|
|
136
|
+
* @returns Returned if the requested page is returned.
|
|
137
|
+
* @path {GET} /pages/{id}
|
|
138
|
+
* @scopes-current read:page:confluence
|
|
139
|
+
*/
|
|
140
|
+
getPageById({ id, bodyFormat, getDraft, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus, }: {
|
|
141
|
+
/**
|
|
142
|
+
* The ID of the page to be returned. If you don't know the page ID, use Get pages
|
|
143
|
+
* and filter the results.
|
|
144
|
+
*/
|
|
145
|
+
id: number;
|
|
146
|
+
/**
|
|
147
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
148
|
+
* available, the representation will be available under a response field of the
|
|
149
|
+
* same name under the `body` field.
|
|
150
|
+
*/
|
|
151
|
+
bodyFormat?: PrimaryBodyRepresentationSingle;
|
|
152
|
+
/** Retrieve the draft version of this page. */
|
|
153
|
+
getDraft?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Allows you to retrieve a previously published version. Specify the previous
|
|
156
|
+
* version's number to retrieve its details.
|
|
157
|
+
*/
|
|
158
|
+
version?: number;
|
|
159
|
+
/**
|
|
160
|
+
* Includes labels associated with this page in the response.
|
|
161
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
162
|
+
* order.
|
|
163
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
164
|
+
* available and a link to retrieve the rest of the results.
|
|
165
|
+
*/
|
|
166
|
+
includeLabels?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Includes content properties associated with this page in the response.
|
|
169
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
170
|
+
* order.
|
|
171
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
172
|
+
* available and a link to retrieve the rest of the results.
|
|
173
|
+
*/
|
|
174
|
+
includeProperties?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Includes operations associated with this page in the response.
|
|
177
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
178
|
+
* order.
|
|
179
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
180
|
+
* available and a link to retrieve the rest of the results.
|
|
181
|
+
*/
|
|
182
|
+
includeOperations?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* Includes likes associated with this page in the response.
|
|
185
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
186
|
+
* order.
|
|
187
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
188
|
+
* available and a link to retrieve the rest of the results.
|
|
189
|
+
*/
|
|
190
|
+
includeLikes?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Includes versions associated with this page in the response.
|
|
193
|
+
* The number of results will be limited to 50 and sorted in the default sort
|
|
194
|
+
* order.
|
|
195
|
+
* A `meta` and `_links` property will be present to indicate if more results are
|
|
196
|
+
* available and a link to retrieve the rest of the results.
|
|
197
|
+
*/
|
|
198
|
+
includeVersions?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Includes the current version associated with this page in the response.
|
|
201
|
+
* By default this is included and can be omitted by setting the value to `false`.
|
|
202
|
+
*/
|
|
203
|
+
includeVersion?: boolean;
|
|
204
|
+
/** Includes whether this page has been favorited by the current user. */
|
|
205
|
+
includeFavoritedByCurrentUserStatus?: boolean;
|
|
206
|
+
}): Promise<PageSingle & ({
|
|
207
|
+
_links?: {
|
|
208
|
+
/** Base url of the Confluence site. */
|
|
209
|
+
base?: string;
|
|
210
|
+
} & {
|
|
211
|
+
[key: string]: unknown;
|
|
212
|
+
};
|
|
213
|
+
} & {
|
|
214
|
+
[key: string]: unknown;
|
|
215
|
+
})>;
|
|
216
|
+
/**
|
|
217
|
+
* Returns all pages. The number of results is limited by the `limit` parameter
|
|
218
|
+
* and additional results (if available)
|
|
219
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
220
|
+
*
|
|
221
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
222
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
223
|
+
* Only pages that the user has permission to view will be returned.
|
|
224
|
+
*
|
|
225
|
+
* @returns Returned if the requested pages are returned.
|
|
226
|
+
* @path {GET} /pages
|
|
227
|
+
* @scopes-current read:page:confluence
|
|
228
|
+
*/
|
|
229
|
+
getPages({ id, spaceId, sort, status, title, bodyFormat, cursor, limit, }: {
|
|
230
|
+
/**
|
|
231
|
+
* Filter the results based on page ids. Multiple page ids can be specified as a
|
|
232
|
+
* comma-separated list.
|
|
233
|
+
*/
|
|
234
|
+
id?: number[];
|
|
235
|
+
/**
|
|
236
|
+
* Filter the results based on space ids. Multiple space ids can be specified as a
|
|
237
|
+
* comma-separated list.
|
|
238
|
+
*/
|
|
239
|
+
spaceId?: number[];
|
|
240
|
+
/** Used to sort the result by a particular field. */
|
|
241
|
+
sort?: PageSortOrder;
|
|
242
|
+
/**
|
|
243
|
+
* Filter the results to pages based on their status. By default, `current` and
|
|
244
|
+
* `archived` are used.
|
|
245
|
+
*/
|
|
246
|
+
status?: ("current" | "archived" | "deleted" | "trashed")[];
|
|
247
|
+
/** Filter the results to pages based on their title. */
|
|
248
|
+
title?: string;
|
|
249
|
+
/**
|
|
250
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
251
|
+
* available, the representation will be available under a response field of the
|
|
252
|
+
* same name under the `body` field.
|
|
253
|
+
*/
|
|
254
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
255
|
+
/**
|
|
256
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
257
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
258
|
+
* retrieve the `next` set of results.
|
|
259
|
+
*/
|
|
260
|
+
cursor?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Maximum number of pages per result to return. If more results exist, use the
|
|
263
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
264
|
+
* results.
|
|
265
|
+
*/
|
|
266
|
+
limit?: number;
|
|
267
|
+
}): Promise<{
|
|
268
|
+
results?: PageBulk[];
|
|
269
|
+
_links?: MultiEntityLinks;
|
|
270
|
+
} & {
|
|
271
|
+
[key: string]: unknown;
|
|
272
|
+
}>;
|
|
273
|
+
/**
|
|
274
|
+
* Returns all pages in a space. The number of results is limited by the `limit`
|
|
275
|
+
* parameter and additional results (if available)
|
|
276
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
277
|
+
*
|
|
278
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
279
|
+
* Permission to access the Confluence site ('Can use' global permission) and
|
|
280
|
+
* 'View' permission for the space.
|
|
281
|
+
* Only pages that the user has permission to view will be returned.
|
|
282
|
+
*
|
|
283
|
+
* @returns Returned if the requested pages are returned.
|
|
284
|
+
* @path {GET} /spaces/{id}/pages
|
|
285
|
+
* @scopes-current read:page:confluence
|
|
286
|
+
*/
|
|
287
|
+
getPagesInSpace({ id, depth, sort, status, title, bodyFormat, cursor, limit, }: {
|
|
288
|
+
/** The ID of the space for which pages should be returned. */
|
|
289
|
+
id: number;
|
|
290
|
+
/**
|
|
291
|
+
* Filter the results to pages at the root level of the space or to all pages in
|
|
292
|
+
* the space.
|
|
293
|
+
*/
|
|
294
|
+
depth?: "all" | "root";
|
|
295
|
+
/** Used to sort the result by a particular field. */
|
|
296
|
+
sort?: PageSortOrder;
|
|
297
|
+
/**
|
|
298
|
+
* Filter the results to pages based on their status. By default, `current` and
|
|
299
|
+
* `archived` are used.
|
|
300
|
+
*/
|
|
301
|
+
status?: ("current" | "archived" | "deleted" | "trashed")[];
|
|
302
|
+
/** Filter the results to pages based on their title. */
|
|
303
|
+
title?: string;
|
|
304
|
+
/**
|
|
305
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
306
|
+
* available, the representation will be available under a response field of the
|
|
307
|
+
* same name under the `body` field.
|
|
308
|
+
*/
|
|
309
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
310
|
+
/**
|
|
311
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
312
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
313
|
+
* retrieve the `next` set of results.
|
|
314
|
+
*/
|
|
315
|
+
cursor?: string;
|
|
316
|
+
/**
|
|
317
|
+
* Maximum number of pages per result to return. If more results exist, use the
|
|
318
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
319
|
+
* results.
|
|
320
|
+
*/
|
|
321
|
+
limit?: number;
|
|
322
|
+
}): Promise<{
|
|
323
|
+
results?: PageBulk[];
|
|
324
|
+
_links?: MultiEntityLinks;
|
|
325
|
+
} & {
|
|
326
|
+
[key: string]: unknown;
|
|
327
|
+
}>;
|
|
328
|
+
/**
|
|
329
|
+
* Update a page by id.
|
|
330
|
+
*
|
|
331
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
332
|
+
* Permission to view the page and its corresponding space. Permission to update
|
|
333
|
+
* pages in the space.
|
|
334
|
+
*
|
|
335
|
+
* @returns Returned if the requested page is successfully updated.
|
|
336
|
+
* @path {PUT} /pages/{id}
|
|
337
|
+
* @scopes-current write:page:confluence
|
|
338
|
+
*/
|
|
339
|
+
updatePage({ id, requestBody, }: {
|
|
340
|
+
/**
|
|
341
|
+
* The ID of the page to be updated. If you don't know the page ID, use Get Pages
|
|
342
|
+
* and filter the results.
|
|
343
|
+
*/
|
|
344
|
+
id: number;
|
|
345
|
+
requestBody: {
|
|
346
|
+
/** Id of the page. */
|
|
347
|
+
id: string;
|
|
348
|
+
/**
|
|
349
|
+
* The updated status of the page.
|
|
350
|
+
*
|
|
351
|
+
* Note, if you change the status of a page from 'current' to 'draft' and it has
|
|
352
|
+
* an existing draft, the existing draft will be deleted in favor of the updated
|
|
353
|
+
* draft.
|
|
354
|
+
* Additionally, this endpoint can be used to restore a 'trashed' or 'deleted'
|
|
355
|
+
* page to 'current' status. For restoration, page contents will not be updated
|
|
356
|
+
* and only the page status will be changed.
|
|
357
|
+
*/
|
|
358
|
+
status: "current" | "draft";
|
|
359
|
+
/** Title of the page. */
|
|
360
|
+
title: string;
|
|
361
|
+
/**
|
|
362
|
+
* ID of the containing space.
|
|
363
|
+
*
|
|
364
|
+
* This currently **does not support moving the page to a different space**.
|
|
365
|
+
*/
|
|
366
|
+
spaceId?: unknown;
|
|
367
|
+
/**
|
|
368
|
+
* ID of the parent page.
|
|
369
|
+
*
|
|
370
|
+
* This allows the page to be moved under a different parent within the same space.
|
|
371
|
+
*/
|
|
372
|
+
parentId?: unknown;
|
|
373
|
+
/**
|
|
374
|
+
* Account ID of the page owner.
|
|
375
|
+
*
|
|
376
|
+
* This allows page ownership to be transferred to another user.
|
|
377
|
+
*/
|
|
378
|
+
ownerId?: unknown;
|
|
379
|
+
body: PageBodyWrite | PageNestedBodyWrite;
|
|
380
|
+
version: {
|
|
381
|
+
/**
|
|
382
|
+
* The new version of the updated page.
|
|
383
|
+
* Set this to the current version number plus one, unless you are updating the
|
|
384
|
+
* status to 'draft' which requires a version number of 1.
|
|
385
|
+
*
|
|
386
|
+
* If you don't know the current version number, use Get page by id.
|
|
387
|
+
*/
|
|
388
|
+
number?: number;
|
|
389
|
+
/** An optional message to be stored with the version. */
|
|
390
|
+
message?: string;
|
|
391
|
+
} & {
|
|
392
|
+
[key: string]: unknown;
|
|
393
|
+
};
|
|
394
|
+
} & {
|
|
395
|
+
[key: string]: unknown;
|
|
396
|
+
};
|
|
397
|
+
}): Promise<PageSingle & ({
|
|
398
|
+
_links?: {
|
|
399
|
+
/** Base url of the Confluence site. */
|
|
400
|
+
base?: string;
|
|
401
|
+
} & {
|
|
402
|
+
[key: string]: unknown;
|
|
403
|
+
};
|
|
404
|
+
} & {
|
|
405
|
+
[key: string]: unknown;
|
|
406
|
+
})>;
|
|
407
|
+
static initialize(): void;
|
|
408
|
+
}
|