@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,384 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LabelService = 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 common_1 = require("../models/common");
|
|
11
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
13
|
+
/**
|
|
14
|
+
* Returns the labels of specific attachment. The number of results is limited by
|
|
15
|
+
* the `limit` parameter and additional results (if available)
|
|
16
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
17
|
+
*
|
|
18
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
19
|
+
* Permission to view the parent content of the attachment and its corresponding
|
|
20
|
+
* space.
|
|
21
|
+
*
|
|
22
|
+
* @returns Returned if the requested labels are returned.
|
|
23
|
+
* @path {GET} /attachments/{id}/labels
|
|
24
|
+
* @scopes-current read:attachment:confluence
|
|
25
|
+
*/
|
|
26
|
+
getAttachmentLabels({ id, prefix, sort, cursor, limit, }) {
|
|
27
|
+
return this.getClientInstance()
|
|
28
|
+
.request({
|
|
29
|
+
path: "/attachments/{id}/labels",
|
|
30
|
+
method: "GET",
|
|
31
|
+
pathParams: {
|
|
32
|
+
id,
|
|
33
|
+
},
|
|
34
|
+
query: {
|
|
35
|
+
prefix,
|
|
36
|
+
sort,
|
|
37
|
+
cursor,
|
|
38
|
+
limit,
|
|
39
|
+
},
|
|
40
|
+
})
|
|
41
|
+
.then(this.getClientInstance().responseHandler({
|
|
42
|
+
200: {
|
|
43
|
+
"application/json": "json",
|
|
44
|
+
},
|
|
45
|
+
}))
|
|
46
|
+
.then(commonHttpClient.castResponse())
|
|
47
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getAttachmentLabels.response"))
|
|
48
|
+
.then(commonHttpClient.getBody);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns the labels of specific blog post. The number of results is limited by
|
|
52
|
+
* the `limit` parameter and additional results (if available)
|
|
53
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
54
|
+
*
|
|
55
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
56
|
+
* Permission to view the content of the blog post and its corresponding space.
|
|
57
|
+
*
|
|
58
|
+
* @returns Returned if the requested labels are returned.
|
|
59
|
+
* @path {GET} /blogposts/{id}/labels
|
|
60
|
+
* @scopes-current read:page:confluence
|
|
61
|
+
*/
|
|
62
|
+
getBlogPostLabels({ id, prefix, sort, cursor, limit, }) {
|
|
63
|
+
return this.getClientInstance()
|
|
64
|
+
.request({
|
|
65
|
+
path: "/blogposts/{id}/labels",
|
|
66
|
+
method: "GET",
|
|
67
|
+
pathParams: {
|
|
68
|
+
id,
|
|
69
|
+
},
|
|
70
|
+
query: {
|
|
71
|
+
prefix,
|
|
72
|
+
sort,
|
|
73
|
+
cursor,
|
|
74
|
+
limit,
|
|
75
|
+
},
|
|
76
|
+
})
|
|
77
|
+
.then(this.getClientInstance().responseHandler({
|
|
78
|
+
200: {
|
|
79
|
+
"application/json": "json",
|
|
80
|
+
},
|
|
81
|
+
}))
|
|
82
|
+
.then(commonHttpClient.castResponse())
|
|
83
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getBlogPostLabels.response"))
|
|
84
|
+
.then(commonHttpClient.getBody);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns the labels for a specific piece of custom content. The number of
|
|
88
|
+
* results is limited by the `limit` parameter and additional results (if
|
|
89
|
+
* available)
|
|
90
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
91
|
+
*
|
|
92
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
93
|
+
* Permission to view the custom content and its corresponding space.
|
|
94
|
+
*
|
|
95
|
+
* @returns Returned if the requested labels are returned.
|
|
96
|
+
* @path {GET} /custom-content/{id}/labels
|
|
97
|
+
* @scopes-current read:custom-content:confluence
|
|
98
|
+
*/
|
|
99
|
+
getCustomContentLabels({ id, prefix, sort, cursor, limit, }) {
|
|
100
|
+
return this.getClientInstance()
|
|
101
|
+
.request({
|
|
102
|
+
path: "/custom-content/{id}/labels",
|
|
103
|
+
method: "GET",
|
|
104
|
+
pathParams: {
|
|
105
|
+
id,
|
|
106
|
+
},
|
|
107
|
+
query: {
|
|
108
|
+
prefix,
|
|
109
|
+
sort,
|
|
110
|
+
cursor,
|
|
111
|
+
limit,
|
|
112
|
+
},
|
|
113
|
+
})
|
|
114
|
+
.then(this.getClientInstance().responseHandler({
|
|
115
|
+
200: {
|
|
116
|
+
"application/json": "json",
|
|
117
|
+
},
|
|
118
|
+
}))
|
|
119
|
+
.then(commonHttpClient.castResponse())
|
|
120
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getCustomContentLabels.response"))
|
|
121
|
+
.then(commonHttpClient.getBody);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Returns all labels. The number of results is limited by the `limit` parameter
|
|
125
|
+
* and additional results (if available)
|
|
126
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
127
|
+
*
|
|
128
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
129
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
130
|
+
* Only labels that the user has permission to view will be returned.
|
|
131
|
+
*
|
|
132
|
+
* @returns Returned if the requested labels are returned.
|
|
133
|
+
* @path {GET} /labels
|
|
134
|
+
* @scopes-current read:label:confluence
|
|
135
|
+
*/
|
|
136
|
+
getLabels({ labelId, prefix, cursor, sort, limit, }) {
|
|
137
|
+
return this.getClientInstance()
|
|
138
|
+
.request({
|
|
139
|
+
path: "/labels",
|
|
140
|
+
method: "GET",
|
|
141
|
+
query: {
|
|
142
|
+
"label-id": labelId,
|
|
143
|
+
prefix,
|
|
144
|
+
cursor,
|
|
145
|
+
sort,
|
|
146
|
+
limit,
|
|
147
|
+
},
|
|
148
|
+
})
|
|
149
|
+
.then(this.getClientInstance().responseHandler({
|
|
150
|
+
200: {
|
|
151
|
+
"application/json": "json",
|
|
152
|
+
},
|
|
153
|
+
}))
|
|
154
|
+
.then(commonHttpClient.castResponse())
|
|
155
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getLabels.response"))
|
|
156
|
+
.then(commonHttpClient.getBody);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Returns the labels of specific page. The number of results is limited by the
|
|
160
|
+
* `limit` parameter and additional results (if available)
|
|
161
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
162
|
+
*
|
|
163
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
164
|
+
* Permission to view the content of the page and its corresponding space.
|
|
165
|
+
*
|
|
166
|
+
* @returns Returned if the requested labels are returned.
|
|
167
|
+
* @path {GET} /pages/{id}/labels
|
|
168
|
+
* @scopes-current read:page:confluence
|
|
169
|
+
*/
|
|
170
|
+
getPageLabels({ id, prefix, sort, cursor, limit, }) {
|
|
171
|
+
return this.getClientInstance()
|
|
172
|
+
.request({
|
|
173
|
+
path: "/pages/{id}/labels",
|
|
174
|
+
method: "GET",
|
|
175
|
+
pathParams: {
|
|
176
|
+
id,
|
|
177
|
+
},
|
|
178
|
+
query: {
|
|
179
|
+
prefix,
|
|
180
|
+
sort,
|
|
181
|
+
cursor,
|
|
182
|
+
limit,
|
|
183
|
+
},
|
|
184
|
+
})
|
|
185
|
+
.then(this.getClientInstance().responseHandler({
|
|
186
|
+
200: {
|
|
187
|
+
"application/json": "json",
|
|
188
|
+
},
|
|
189
|
+
}))
|
|
190
|
+
.then(commonHttpClient.castResponse())
|
|
191
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getPageLabels.response"))
|
|
192
|
+
.then(commonHttpClient.getBody);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Returns the labels of space content (pages, blogposts etc). The number of
|
|
196
|
+
* results is limited by the `limit` parameter and additional results (if
|
|
197
|
+
* available)
|
|
198
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
199
|
+
*
|
|
200
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
201
|
+
* Permission to view the space.
|
|
202
|
+
*
|
|
203
|
+
* @returns Returned if the requested labels are returned.
|
|
204
|
+
* @path {GET} /spaces/{id}/content/labels
|
|
205
|
+
* @scopes-current read:space:confluence
|
|
206
|
+
*/
|
|
207
|
+
getSpaceContentLabels({ id, prefix, sort, cursor, limit, }) {
|
|
208
|
+
return this.getClientInstance()
|
|
209
|
+
.request({
|
|
210
|
+
path: "/spaces/{id}/content/labels",
|
|
211
|
+
method: "GET",
|
|
212
|
+
pathParams: {
|
|
213
|
+
id,
|
|
214
|
+
},
|
|
215
|
+
query: {
|
|
216
|
+
prefix,
|
|
217
|
+
sort,
|
|
218
|
+
cursor,
|
|
219
|
+
limit,
|
|
220
|
+
},
|
|
221
|
+
})
|
|
222
|
+
.then(this.getClientInstance().responseHandler({
|
|
223
|
+
200: {
|
|
224
|
+
"application/json": "json",
|
|
225
|
+
},
|
|
226
|
+
}))
|
|
227
|
+
.then(commonHttpClient.castResponse())
|
|
228
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getSpaceContentLabels.response"))
|
|
229
|
+
.then(commonHttpClient.getBody);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Returns the labels of specific space. The number of results is limited by the
|
|
233
|
+
* `limit` parameter and additional results (if available)
|
|
234
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
235
|
+
*
|
|
236
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
237
|
+
* Permission to view the space.
|
|
238
|
+
*
|
|
239
|
+
* @returns Returned if the requested labels are returned.
|
|
240
|
+
* @path {GET} /spaces/{id}/labels
|
|
241
|
+
* @scopes-current read:space:confluence
|
|
242
|
+
*/
|
|
243
|
+
getSpaceLabels({ id, prefix, sort, cursor, limit, }) {
|
|
244
|
+
return this.getClientInstance()
|
|
245
|
+
.request({
|
|
246
|
+
path: "/spaces/{id}/labels",
|
|
247
|
+
method: "GET",
|
|
248
|
+
pathParams: {
|
|
249
|
+
id,
|
|
250
|
+
},
|
|
251
|
+
query: {
|
|
252
|
+
prefix,
|
|
253
|
+
sort,
|
|
254
|
+
cursor,
|
|
255
|
+
limit,
|
|
256
|
+
},
|
|
257
|
+
})
|
|
258
|
+
.then(this.getClientInstance().responseHandler({
|
|
259
|
+
200: {
|
|
260
|
+
"application/json": "json",
|
|
261
|
+
},
|
|
262
|
+
}))
|
|
263
|
+
.then(commonHttpClient.castResponse())
|
|
264
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("LabelService.getSpaceLabels.response"))
|
|
265
|
+
.then(commonHttpClient.getBody);
|
|
266
|
+
}
|
|
267
|
+
static initialize() {
|
|
268
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getAttachmentLabels.response", zod_1.z
|
|
269
|
+
.object({
|
|
270
|
+
status: zod_1.z.literal(200),
|
|
271
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
272
|
+
body: zod_1.z
|
|
273
|
+
.object({
|
|
274
|
+
results: zod_1.z
|
|
275
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Label"))
|
|
276
|
+
.optional(),
|
|
277
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
278
|
+
.lazy("MultiEntityLinks")
|
|
279
|
+
.optional(),
|
|
280
|
+
})
|
|
281
|
+
.catchall(zod_1.z.unknown()),
|
|
282
|
+
})
|
|
283
|
+
.describe("LabelService.getAttachmentLabels.response"));
|
|
284
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getBlogPostLabels.response", zod_1.z
|
|
285
|
+
.object({
|
|
286
|
+
status: zod_1.z.literal(200),
|
|
287
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
288
|
+
body: zod_1.z
|
|
289
|
+
.object({
|
|
290
|
+
results: zod_1.z
|
|
291
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Label"))
|
|
292
|
+
.optional(),
|
|
293
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
294
|
+
.lazy("MultiEntityLinks")
|
|
295
|
+
.optional(),
|
|
296
|
+
})
|
|
297
|
+
.catchall(zod_1.z.unknown()),
|
|
298
|
+
})
|
|
299
|
+
.describe("LabelService.getBlogPostLabels.response"));
|
|
300
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getCustomContentLabels.response", zod_1.z
|
|
301
|
+
.object({
|
|
302
|
+
status: zod_1.z.literal(200),
|
|
303
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
304
|
+
body: zod_1.z
|
|
305
|
+
.object({
|
|
306
|
+
results: zod_1.z
|
|
307
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Label"))
|
|
308
|
+
.optional(),
|
|
309
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
310
|
+
.lazy("MultiEntityLinks")
|
|
311
|
+
.optional(),
|
|
312
|
+
})
|
|
313
|
+
.catchall(zod_1.z.unknown()),
|
|
314
|
+
})
|
|
315
|
+
.describe("LabelService.getCustomContentLabels.response"));
|
|
316
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getLabels.response", zod_1.z
|
|
317
|
+
.object({
|
|
318
|
+
status: zod_1.z.literal(200),
|
|
319
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
320
|
+
body: zod_1.z
|
|
321
|
+
.object({
|
|
322
|
+
results: zod_1.z
|
|
323
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Label"))
|
|
324
|
+
.optional(),
|
|
325
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
326
|
+
.lazy("MultiEntityLinks")
|
|
327
|
+
.optional(),
|
|
328
|
+
})
|
|
329
|
+
.catchall(zod_1.z.unknown()),
|
|
330
|
+
})
|
|
331
|
+
.describe("LabelService.getLabels.response"));
|
|
332
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getPageLabels.response", zod_1.z
|
|
333
|
+
.object({
|
|
334
|
+
status: zod_1.z.literal(200),
|
|
335
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
336
|
+
body: zod_1.z
|
|
337
|
+
.object({
|
|
338
|
+
results: zod_1.z
|
|
339
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Label"))
|
|
340
|
+
.optional(),
|
|
341
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
342
|
+
.lazy("MultiEntityLinks")
|
|
343
|
+
.optional(),
|
|
344
|
+
})
|
|
345
|
+
.catchall(zod_1.z.unknown()),
|
|
346
|
+
})
|
|
347
|
+
.describe("LabelService.getPageLabels.response"));
|
|
348
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getSpaceContentLabels.response", zod_1.z
|
|
349
|
+
.object({
|
|
350
|
+
status: zod_1.z.literal(200),
|
|
351
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
352
|
+
body: zod_1.z
|
|
353
|
+
.object({
|
|
354
|
+
results: zod_1.z
|
|
355
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Label"))
|
|
356
|
+
.optional(),
|
|
357
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
358
|
+
.lazy("MultiEntityLinks")
|
|
359
|
+
.optional(),
|
|
360
|
+
})
|
|
361
|
+
.catchall(zod_1.z.unknown()),
|
|
362
|
+
})
|
|
363
|
+
.describe("LabelService.getSpaceContentLabels.response"));
|
|
364
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LabelService.getSpaceLabels.response", zod_1.z
|
|
365
|
+
.object({
|
|
366
|
+
status: zod_1.z.literal(200),
|
|
367
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
368
|
+
body: zod_1.z
|
|
369
|
+
.object({
|
|
370
|
+
results: zod_1.z
|
|
371
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Label"))
|
|
372
|
+
.optional(),
|
|
373
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
374
|
+
.lazy("MultiEntityLinks")
|
|
375
|
+
.optional(),
|
|
376
|
+
})
|
|
377
|
+
.catchall(zod_1.z.unknown()),
|
|
378
|
+
})
|
|
379
|
+
.describe("LabelService.getSpaceLabels.response"));
|
|
380
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
exports.LabelService = LabelService;
|
|
384
|
+
//# sourceMappingURL=LabelService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LabelService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LabelService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AAC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AE,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC;qBACP,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;qBAC5C,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,sCAAsC,EACtC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC;qBACP,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;qBAC5C,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,sCAAsC,CAAC,CACpD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA/tBD,oCA+tBC"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type Like, type MultiEntityLinks } from "../models/common";
|
|
3
|
+
export declare class LikeService extends CommonHttpService {
|
|
4
|
+
/**
|
|
5
|
+
* Returns the count of likes of specific blog post.
|
|
6
|
+
*
|
|
7
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
8
|
+
* Permission to view the content of the blog post and its corresponding space.
|
|
9
|
+
*
|
|
10
|
+
* @returns Returned if the requested count is returned.
|
|
11
|
+
* @path {GET} /blogposts/{id}/likes/count
|
|
12
|
+
* @scopes-current read:page:confluence
|
|
13
|
+
*/
|
|
14
|
+
getBlogPostLikeCount({ id, }: {
|
|
15
|
+
/** The ID of the blog post for which like count should be returned. */
|
|
16
|
+
id: number;
|
|
17
|
+
}): Promise<{
|
|
18
|
+
/** The count number */
|
|
19
|
+
count?: number;
|
|
20
|
+
} & {
|
|
21
|
+
[key: string]: unknown;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the account IDs of likes of specific blog post.
|
|
25
|
+
*
|
|
26
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
27
|
+
* Permission to view the content of the blog post and its corresponding space.
|
|
28
|
+
*
|
|
29
|
+
* @returns Returned if the requested account IDs are returned.
|
|
30
|
+
* @path {GET} /blogposts/{id}/likes/users
|
|
31
|
+
* @scopes-current read:page:confluence
|
|
32
|
+
*/
|
|
33
|
+
getBlogPostLikeUsers({ id, cursor, limit, }: {
|
|
34
|
+
/** The ID of the blog post for which account IDs should be returned. */
|
|
35
|
+
id: number;
|
|
36
|
+
/**
|
|
37
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
38
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
39
|
+
* retrieve the `next` set of results.
|
|
40
|
+
*/
|
|
41
|
+
cursor?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Maximum number of account IDs per result to return. If more results exist, use
|
|
44
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
45
|
+
* results.
|
|
46
|
+
*/
|
|
47
|
+
limit?: number;
|
|
48
|
+
}): Promise<{
|
|
49
|
+
results?: Like[];
|
|
50
|
+
_links?: MultiEntityLinks;
|
|
51
|
+
} & {
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
}>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns the count of likes of specific footer comment.
|
|
56
|
+
*
|
|
57
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
58
|
+
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
59
|
+
*
|
|
60
|
+
* @returns Returned if the requested count is returned.
|
|
61
|
+
* @path {GET} /footer-comments/{id}/likes/count
|
|
62
|
+
* @scopes-current read:comment:confluence
|
|
63
|
+
*/
|
|
64
|
+
getFooterLikeCount({ id, }: {
|
|
65
|
+
/** The ID of the footer comment for which like count should be returned. */
|
|
66
|
+
id: number;
|
|
67
|
+
}): Promise<{
|
|
68
|
+
/** The count number */
|
|
69
|
+
count?: number;
|
|
70
|
+
} & {
|
|
71
|
+
[key: string]: unknown;
|
|
72
|
+
}>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the account IDs of likes of specific footer comment.
|
|
75
|
+
*
|
|
76
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
77
|
+
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
78
|
+
*
|
|
79
|
+
* @returns Returned if the requested account IDs are returned.
|
|
80
|
+
* @path {GET} /footer-comments/{id}/likes/users
|
|
81
|
+
* @scopes-current read:comment:confluence
|
|
82
|
+
*/
|
|
83
|
+
getFooterLikeUsers({ id, cursor, limit, }: {
|
|
84
|
+
/** The ID of the footer comment for which like count should be returned. */
|
|
85
|
+
id: number;
|
|
86
|
+
/**
|
|
87
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
88
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
89
|
+
* retrieve the `next` set of results.
|
|
90
|
+
*/
|
|
91
|
+
cursor?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum number of account IDs per result to return. If more results exist, use
|
|
94
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
95
|
+
* results.
|
|
96
|
+
*/
|
|
97
|
+
limit?: number;
|
|
98
|
+
}): Promise<{
|
|
99
|
+
results?: Like[];
|
|
100
|
+
_links?: MultiEntityLinks;
|
|
101
|
+
} & {
|
|
102
|
+
[key: string]: unknown;
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* Returns the count of likes of specific inline comment.
|
|
106
|
+
*
|
|
107
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
108
|
+
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
109
|
+
*
|
|
110
|
+
* @returns Returned if the requested count is returned.
|
|
111
|
+
* @path {GET} /inline-comments/{id}/likes/count
|
|
112
|
+
* @scopes-current read:comment:confluence
|
|
113
|
+
*/
|
|
114
|
+
getInlineLikeCount({ id, }: {
|
|
115
|
+
/** The ID of the inline comment for which like count should be returned. */
|
|
116
|
+
id: number;
|
|
117
|
+
}): Promise<{
|
|
118
|
+
/** The count number */
|
|
119
|
+
count?: number;
|
|
120
|
+
} & {
|
|
121
|
+
[key: string]: unknown;
|
|
122
|
+
}>;
|
|
123
|
+
/**
|
|
124
|
+
* Returns the account IDs of likes of specific inline comment.
|
|
125
|
+
*
|
|
126
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
127
|
+
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
128
|
+
*
|
|
129
|
+
* @returns Returned if the requested account IDs are returned.
|
|
130
|
+
* @path {GET} /inline-comments/{id}/likes/users
|
|
131
|
+
* @scopes-current read:comment:confluence
|
|
132
|
+
*/
|
|
133
|
+
getInlineLikeUsers({ id, cursor, limit, }: {
|
|
134
|
+
/** The ID of the inline comment for which like count should be returned. */
|
|
135
|
+
id: number;
|
|
136
|
+
/**
|
|
137
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
138
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
139
|
+
* retrieve the `next` set of results.
|
|
140
|
+
*/
|
|
141
|
+
cursor?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Maximum number of account IDs per result to return. If more results exist, use
|
|
144
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
145
|
+
* results.
|
|
146
|
+
*/
|
|
147
|
+
limit?: number;
|
|
148
|
+
}): Promise<{
|
|
149
|
+
results?: Like[];
|
|
150
|
+
_links?: MultiEntityLinks;
|
|
151
|
+
} & {
|
|
152
|
+
[key: string]: unknown;
|
|
153
|
+
}>;
|
|
154
|
+
/**
|
|
155
|
+
* Returns the count of likes of specific page.
|
|
156
|
+
*
|
|
157
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
158
|
+
* Permission to view the content of the page and its corresponding space.
|
|
159
|
+
*
|
|
160
|
+
* @returns Returned if the requested count is returned.
|
|
161
|
+
* @path {GET} /pages/{id}/likes/count
|
|
162
|
+
* @scopes-current read:page:confluence
|
|
163
|
+
*/
|
|
164
|
+
getPageLikeCount({ id, }: {
|
|
165
|
+
/** The ID of the page for which like count should be returned. */
|
|
166
|
+
id: number;
|
|
167
|
+
}): Promise<{
|
|
168
|
+
/** The count number */
|
|
169
|
+
count?: number;
|
|
170
|
+
} & {
|
|
171
|
+
[key: string]: unknown;
|
|
172
|
+
}>;
|
|
173
|
+
/**
|
|
174
|
+
* Returns the account IDs of likes of specific page.
|
|
175
|
+
*
|
|
176
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
177
|
+
* Permission to view the content of the page and its corresponding space.
|
|
178
|
+
*
|
|
179
|
+
* @returns Returned if the requested account IDs are returned.
|
|
180
|
+
* @path {GET} /pages/{id}/likes/users
|
|
181
|
+
* @scopes-current read:page:confluence
|
|
182
|
+
*/
|
|
183
|
+
getPageLikeUsers({ id, cursor, limit, }: {
|
|
184
|
+
/** The ID of the page for which like count should be returned. */
|
|
185
|
+
id: number;
|
|
186
|
+
/**
|
|
187
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
188
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
189
|
+
* retrieve the `next` set of results.
|
|
190
|
+
*/
|
|
191
|
+
cursor?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Maximum number of account IDs per result to return. If more results exist, use
|
|
194
|
+
* the `Link` header to retrieve a relative URL that will return the next set of
|
|
195
|
+
* results.
|
|
196
|
+
*/
|
|
197
|
+
limit?: number;
|
|
198
|
+
}): Promise<{
|
|
199
|
+
results?: Like[];
|
|
200
|
+
_links?: MultiEntityLinks;
|
|
201
|
+
} & {
|
|
202
|
+
[key: string]: unknown;
|
|
203
|
+
}>;
|
|
204
|
+
static initialize(): void;
|
|
205
|
+
}
|