@resolution/confluence-api-client 0.5.5 → 0.5.6
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/lib/index.d.ts +24 -5
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +110 -26
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +110 -26
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/audit.d.ts +6 -0
- package/lib/openapi/v1/models/audit.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +53 -4
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +34 -2
- package/lib/openapi/v1/models/content.js.map +1 -1
- package/lib/openapi/v1/models/contentAttachments.d.ts +1 -0
- package/lib/openapi/v1/models/contentAttachments.js.map +1 -1
- package/lib/openapi/v1/models/contentBody.d.ts +1 -0
- package/lib/openapi/v1/models/contentBody.js.map +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +9 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -1
- package/lib/openapi/v1/models/contentLabels.d.ts +1 -0
- package/lib/openapi/v1/models/contentLabels.js.map +1 -1
- package/lib/openapi/v1/models/contentMacroBody.d.ts +1 -0
- package/lib/openapi/v1/models/contentMacroBody.js.map +1 -1
- package/lib/openapi/v1/models/contentPermissions.d.ts +12 -2
- package/lib/openapi/v1/models/contentPermissions.js.map +1 -1
- package/lib/openapi/v1/models/contentProperties.d.ts +5 -0
- package/lib/openapi/v1/models/contentProperties.js.map +1 -1
- package/lib/openapi/v1/models/contentRestrictions.d.ts +3 -0
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
- package/lib/openapi/v1/models/contentStates.d.ts +11 -1
- package/lib/openapi/v1/models/contentStates.js.map +1 -1
- package/lib/openapi/v1/models/contentVersions.d.ts +2 -0
- package/lib/openapi/v1/models/contentVersions.js.map +1 -1
- package/lib/openapi/v1/models/contentWatches.d.ts +7 -0
- package/lib/openapi/v1/models/contentWatches.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +3 -0
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/group.d.ts +2 -0
- package/lib/openapi/v1/models/group.js.map +1 -1
- package/lib/openapi/v1/models/inlineTasks.d.ts +3 -0
- package/lib/openapi/v1/models/inlineTasks.js.map +1 -1
- package/lib/openapi/v1/models/labelInfo.d.ts +4 -0
- package/lib/openapi/v1/models/labelInfo.js.map +1 -1
- package/lib/openapi/v1/models/longRunningTask.d.ts +5 -0
- package/lib/openapi/v1/models/longRunningTask.js.map +1 -1
- package/lib/openapi/v1/models/relation.d.ts +3 -0
- package/lib/openapi/v1/models/relation.js.map +1 -1
- package/lib/openapi/v1/models/search.d.ts +4 -0
- package/lib/openapi/v1/models/search.js.map +1 -1
- package/lib/openapi/v1/models/settings.d.ts +12 -2
- package/lib/openapi/v1/models/settings.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +20 -3
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/models/spacePermissions.d.ts +11 -1
- package/lib/openapi/v1/models/spacePermissions.js.map +1 -1
- package/lib/openapi/v1/models/spaceProperties.d.ts +7 -0
- package/lib/openapi/v1/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v1/models/spaceSettings.d.ts +1 -0
- package/lib/openapi/v1/models/spaceSettings.js.map +1 -1
- package/lib/openapi/v1/models/template.d.ts +18 -2
- package/lib/openapi/v1/models/template.js.map +1 -1
- package/lib/openapi/v1/models/themes.d.ts +7 -1
- package/lib/openapi/v1/models/themes.js.map +1 -1
- package/lib/openapi/v1/models/userProperties.d.ts +4 -0
- package/lib/openapi/v1/models/userProperties.js.map +1 -1
- package/lib/openapi/v1/models/users.d.ts +5 -0
- package/lib/openapi/v1/models/users.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +4 -1
- package/lib/openapi/v1/services/AnalyticsService.js +4 -1
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +4 -1
- package/lib/openapi/v1/services/AuditService.js +4 -1
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.js +4 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentBodyService.js +4 -1
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +4 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +1 -0
- package/lib/openapi/v1/services/ContentCommentsService.js +1 -0
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentLabelsService.js +4 -1
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.js +4 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js +4 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +1 -0
- package/lib/openapi/v1/services/ContentPropertiesService.js +1 -0
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.js +4 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentService.js +4 -1
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentStatesService.js +4 -1
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentVersionsService.js +4 -1
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +4 -1
- package/lib/openapi/v1/services/ContentWatchesService.js +4 -1
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +4 -1
- package/lib/openapi/v1/services/DynamicModulesService.js +4 -1
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +1 -0
- package/lib/openapi/v1/services/ExperimentalService.js +1 -0
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +1 -0
- package/lib/openapi/v1/services/GroupService.js +1 -0
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +1 -0
- package/lib/openapi/v1/services/InlineTasksService.js +1 -0
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +4 -1
- package/lib/openapi/v1/services/LabelInfoService.js +4 -1
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +4 -1
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -1
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +4 -1
- package/lib/openapi/v1/services/RelationService.js +4 -1
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +4 -1
- package/lib/openapi/v1/services/SearchService.js +4 -1
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +4 -1
- package/lib/openapi/v1/services/SettingsService.js +4 -1
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +4 -1
- package/lib/openapi/v1/services/SpacePermissionsService.js +4 -1
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +1 -0
- package/lib/openapi/v1/services/SpacePropertiesService.js +1 -0
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +4 -1
- package/lib/openapi/v1/services/SpaceService.js +4 -1
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +4 -1
- package/lib/openapi/v1/services/SpaceSettingsService.js +4 -1
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +4 -1
- package/lib/openapi/v1/services/TemplateService.js +4 -1
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +4 -1
- package/lib/openapi/v1/services/ThemesService.js +4 -1
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +4 -1
- package/lib/openapi/v1/services/UserPropertiesService.js +4 -1
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +4 -1
- package/lib/openapi/v1/services/UsersService.js +4 -1
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +92 -23
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +92 -23
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/ancestors.d.ts +6 -1
- package/lib/openapi/v2/models/ancestors.js.map +1 -1
- package/lib/openapi/v2/models/attachment.d.ts +5 -0
- package/lib/openapi/v2/models/attachment.js.map +1 -1
- package/lib/openapi/v2/models/blogPost.d.ts +12 -1
- package/lib/openapi/v2/models/blogPost.js.map +1 -1
- package/lib/openapi/v2/models/children.d.ts +7 -1
- package/lib/openapi/v2/models/children.js.map +1 -1
- package/lib/openapi/v2/models/classificationLevel.d.ts +4 -0
- package/lib/openapi/v2/models/classificationLevel.js.map +1 -1
- package/lib/openapi/v2/models/comment.d.ts +26 -1
- package/lib/openapi/v2/models/comment.js.map +1 -1
- package/lib/openapi/v2/models/common.d.ts +51 -6
- package/lib/openapi/v2/models/common.js.map +1 -1
- package/lib/openapi/v2/models/content.d.ts +1 -0
- package/lib/openapi/v2/models/content.js.map +1 -1
- package/lib/openapi/v2/models/contentProperties.d.ts +4 -0
- package/lib/openapi/v2/models/contentProperties.js.map +1 -1
- package/lib/openapi/v2/models/customContent.d.ts +20 -2
- package/lib/openapi/v2/models/customContent.js.map +1 -1
- package/lib/openapi/v2/models/dataPolicies.d.ts +6 -1
- package/lib/openapi/v2/models/dataPolicies.js.map +1 -1
- package/lib/openapi/v2/models/database.d.ts +2 -0
- package/lib/openapi/v2/models/database.js.map +1 -1
- package/lib/openapi/v2/models/operation.d.ts +5 -1
- package/lib/openapi/v2/models/operation.js.map +1 -1
- package/lib/openapi/v2/models/page.d.ts +7 -0
- package/lib/openapi/v2/models/page.js.map +1 -1
- package/lib/openapi/v2/models/smartLink.d.ts +2 -0
- package/lib/openapi/v2/models/smartLink.js.map +1 -1
- package/lib/openapi/v2/models/space.d.ts +14 -2
- package/lib/openapi/v2/models/space.js.map +1 -1
- package/lib/openapi/v2/models/spaceProperties.d.ts +2 -0
- package/lib/openapi/v2/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v2/models/task.d.ts +6 -1
- package/lib/openapi/v2/models/task.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +13 -2
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/models/version.d.ts +9 -0
- package/lib/openapi/v2/models/version.js.map +1 -1
- package/lib/openapi/v2/models/whiteboard.d.ts +2 -0
- package/lib/openapi/v2/models/whiteboard.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +4 -1
- package/lib/openapi/v2/services/AncestorsService.js +4 -1
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +4 -1
- package/lib/openapi/v2/services/AttachmentService.js +4 -1
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +4 -1
- package/lib/openapi/v2/services/BlogPostService.js +4 -1
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +4 -1
- package/lib/openapi/v2/services/ChildrenService.js +4 -1
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +146 -1
- package/lib/openapi/v2/services/ClassificationLevelService.js +204 -1
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +4 -1
- package/lib/openapi/v2/services/CommentService.js +4 -1
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +4 -1
- package/lib/openapi/v2/services/ContentPropertiesService.js +4 -1
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +4 -1
- package/lib/openapi/v2/services/ContentService.js +4 -1
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +4 -1
- package/lib/openapi/v2/services/CustomContentService.js +4 -1
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +4 -1
- package/lib/openapi/v2/services/DataPoliciesService.js +4 -1
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +4 -1
- package/lib/openapi/v2/services/DatabaseService.js +4 -1
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +4 -1
- package/lib/openapi/v2/services/LabelService.js +4 -1
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +4 -1
- package/lib/openapi/v2/services/LikeService.js +4 -1
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +4 -1
- package/lib/openapi/v2/services/OperationService.js +4 -1
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +4 -1
- package/lib/openapi/v2/services/PageService.js +4 -1
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +4 -1
- package/lib/openapi/v2/services/SmartLinkService.js +4 -1
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +4 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js +4 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +4 -1
- package/lib/openapi/v2/services/SpacePropertiesService.js +4 -1
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -1
- package/lib/openapi/v2/services/SpaceService.js +4 -1
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +4 -1
- package/lib/openapi/v2/services/TaskService.js +4 -1
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +4 -1
- package/lib/openapi/v2/services/UserService.js +4 -1
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +4 -1
- package/lib/openapi/v2/services/VersionService.js +4 -1
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +4 -1
- package/lib/openapi/v2/services/WhiteboardService.js +4 -1
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.5.6](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.5...v0.5.6) (2024-07-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* confluence api constructor options, improve docs ([194e14f](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/194e14fe351b6a17a442105f6b27931ee7e6cf27))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.5.5](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.4...v0.5.5) (2024-07-02)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @resolution/confluence-api-client
|
package/lib/index.d.ts
CHANGED
|
@@ -1,36 +1,55 @@
|
|
|
1
|
-
import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions,
|
|
1
|
+
import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, type ApiClientForgeBridgeConfluenceOptions, ApiError } from "@resolution/atlassian-api-common";
|
|
2
2
|
import { BaseConfluenceApiV1Client } from "./openapi/v1/BaseConfluenceApiV1Client";
|
|
3
3
|
import { BaseConfluenceApiV2Client } from "./openapi/v2/BaseConfluenceApiV2Client";
|
|
4
4
|
export * from "./openapi/v1/BaseConfluenceApiV1Client";
|
|
5
5
|
export * from "./openapi/v2/BaseConfluenceApiV2Client";
|
|
6
6
|
export { ApiError };
|
|
7
|
+
export { ApiClientForgeApiOptions, ApiClientForgeApiExternalOptions, ApiClientForgeBridgeConfluenceOptions, ApiClientAceOptions, ApiClientApOptions, };
|
|
7
8
|
/**
|
|
8
9
|
* The Confluence REST API V2 Client.
|
|
10
|
+
*
|
|
11
|
+
* @category API Clients
|
|
9
12
|
*/
|
|
10
13
|
export declare class ConfluenceApiV2 extends BaseConfluenceApiV2Client {
|
|
11
|
-
protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions |
|
|
12
|
-
|
|
14
|
+
protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions;
|
|
15
|
+
/**
|
|
16
|
+
* @category Constructor
|
|
17
|
+
*/
|
|
18
|
+
constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions);
|
|
13
19
|
/**
|
|
14
20
|
* Switches the API client to the app context.
|
|
21
|
+
*
|
|
22
|
+
* @category Impersonalization
|
|
15
23
|
*/
|
|
16
24
|
asApp: () => ConfluenceApiV2;
|
|
17
25
|
/**
|
|
18
26
|
* Switches the API client to the user context.
|
|
27
|
+
*
|
|
28
|
+
* @category Impersonalization
|
|
19
29
|
*/
|
|
20
30
|
asUser: (userAccountId: string) => ConfluenceApiV2;
|
|
21
31
|
}
|
|
22
32
|
/**
|
|
23
33
|
* The Confluence REST API V1 Client.
|
|
34
|
+
*
|
|
35
|
+
* @category API Clients
|
|
24
36
|
*/
|
|
25
37
|
export declare class ConfluenceApiV1 extends BaseConfluenceApiV1Client {
|
|
26
|
-
protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions |
|
|
27
|
-
|
|
38
|
+
protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions;
|
|
39
|
+
/**
|
|
40
|
+
* @category Constructor
|
|
41
|
+
*/
|
|
42
|
+
constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeConfluenceOptions | ApiClientAceOptions | ApiClientApOptions);
|
|
28
43
|
/**
|
|
29
44
|
* Switches the API client to the app context.
|
|
45
|
+
*
|
|
46
|
+
* @category Impersonalization
|
|
30
47
|
*/
|
|
31
48
|
asApp: () => ConfluenceApiV1;
|
|
32
49
|
/**
|
|
33
50
|
* Switches the API client to the user context.
|
|
51
|
+
*
|
|
52
|
+
* @category Impersonalization
|
|
34
53
|
*/
|
|
35
54
|
asUser: (userAccountId: string) => ConfluenceApiV1;
|
|
36
55
|
}
|
package/lib/index.js
CHANGED
|
@@ -27,17 +27,26 @@ validationSchemaStorage_2.validationSchemaStorage.setErrorClass(atlassian_api_co
|
|
|
27
27
|
validationSchemaStorage_1.validationSchemaStorage.setErrorClass(atlassian_api_common_1.ApiError);
|
|
28
28
|
/**
|
|
29
29
|
* The Confluence REST API V2 Client.
|
|
30
|
+
*
|
|
31
|
+
* @category API Clients
|
|
30
32
|
*/
|
|
31
33
|
class ConfluenceApiV2 extends BaseConfluenceApiV2Client_1.BaseConfluenceApiV2Client {
|
|
34
|
+
/**
|
|
35
|
+
* @category Constructor
|
|
36
|
+
*/
|
|
32
37
|
constructor(options) {
|
|
33
38
|
super((0, atlassian_api_common_1.getApiClientOptions)(Object.assign(Object.assign({}, options), { basePath: "/wiki/api/v2" })));
|
|
34
39
|
this.options = options;
|
|
35
40
|
/**
|
|
36
41
|
* Switches the API client to the app context.
|
|
42
|
+
*
|
|
43
|
+
* @category Impersonalization
|
|
37
44
|
*/
|
|
38
45
|
this.asApp = (0, atlassian_api_common_1.createAsAppMethod)();
|
|
39
46
|
/**
|
|
40
47
|
* Switches the API client to the user context.
|
|
48
|
+
*
|
|
49
|
+
* @category Impersonalization
|
|
41
50
|
*/
|
|
42
51
|
this.asUser = (0, atlassian_api_common_1.createAsUserMethod)();
|
|
43
52
|
}
|
|
@@ -45,17 +54,26 @@ class ConfluenceApiV2 extends BaseConfluenceApiV2Client_1.BaseConfluenceApiV2Cli
|
|
|
45
54
|
exports.ConfluenceApiV2 = ConfluenceApiV2;
|
|
46
55
|
/**
|
|
47
56
|
* The Confluence REST API V1 Client.
|
|
57
|
+
*
|
|
58
|
+
* @category API Clients
|
|
48
59
|
*/
|
|
49
60
|
class ConfluenceApiV1 extends BaseConfluenceApiV1Client_1.BaseConfluenceApiV1Client {
|
|
61
|
+
/**
|
|
62
|
+
* @category Constructor
|
|
63
|
+
*/
|
|
50
64
|
constructor(options) {
|
|
51
65
|
super((0, atlassian_api_common_1.getApiClientOptions)(options));
|
|
52
66
|
this.options = options;
|
|
53
67
|
/**
|
|
54
68
|
* Switches the API client to the app context.
|
|
69
|
+
*
|
|
70
|
+
* @category Impersonalization
|
|
55
71
|
*/
|
|
56
72
|
this.asApp = (0, atlassian_api_common_1.createAsAppMethod)();
|
|
57
73
|
/**
|
|
58
74
|
* Switches the API client to the user context.
|
|
75
|
+
*
|
|
76
|
+
* @category Impersonalization
|
|
59
77
|
*/
|
|
60
78
|
this.asUser = (0, atlassian_api_common_1.createAsUserMethod)();
|
|
61
79
|
}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAU0C;AAQjC,yFAZP,+BAAQ,OAYO;AANjB,sFAAmF;AACnF,sFAAmF;AAEnF,yEAAuD;AACvD,yEAAuD;AAYvD,kFAAkH;AAClH,kFAAkH;AAElH,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACxD,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAExD;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,kCAAM,OAAO,KAAE,QAAQ,EAAE,cAAc,IAAG,CAAC,CAAC;QAP3D,YAAO,GAAP,OAAO,CAKK;QAKxB;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAbtD,CAAC;CAcF;AA3BD,0CA2BC;AAED;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAZtD,CAAC;CAaF;AA1BD,0CA0BC"}
|
|
@@ -82,48 +82,93 @@ type BaseConfluenceApiV1ClientOptions = Partial<commonHttpClient.CommonHttpClien
|
|
|
82
82
|
export declare class BaseConfluenceApiV1Client extends CommonHttpService {
|
|
83
83
|
protected client: commonHttpClient.CommonHttpClient;
|
|
84
84
|
protected getClient: () => commonHttpClient.CommonHttpClient;
|
|
85
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics
|
|
87
|
+
* @category Services
|
|
88
|
+
*/
|
|
86
89
|
get analytics(): AnalyticsService;
|
|
87
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit
|
|
92
|
+
* @category Services
|
|
93
|
+
*/
|
|
88
94
|
get audit(): AuditService;
|
|
89
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments
|
|
97
|
+
* @category Services
|
|
98
|
+
*/
|
|
90
99
|
get contentAttachments(): ContentAttachmentsService;
|
|
91
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body
|
|
102
|
+
* @category Services
|
|
103
|
+
*/
|
|
92
104
|
get contentBody(): ContentBodyService;
|
|
93
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants
|
|
107
|
+
* @category Services
|
|
108
|
+
*/
|
|
94
109
|
get contentChildrenAndDescendants(): ContentChildrenAndDescendantsService;
|
|
95
110
|
/**
|
|
96
111
|
* @deprecated
|
|
97
112
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-comments
|
|
113
|
+
* @category Services
|
|
98
114
|
*/
|
|
99
115
|
get contentComments(): ContentCommentsService;
|
|
100
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels
|
|
118
|
+
* @category Services
|
|
119
|
+
*/
|
|
101
120
|
get contentLabels(): ContentLabelsService;
|
|
102
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-macro-body
|
|
123
|
+
* @category Services
|
|
124
|
+
*/
|
|
103
125
|
get contentMacroBody(): ContentMacroBodyService;
|
|
104
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-permissions
|
|
128
|
+
* @category Services
|
|
129
|
+
*/
|
|
105
130
|
get contentPermissions(): ContentPermissionsService;
|
|
106
131
|
/**
|
|
107
132
|
* @deprecated
|
|
108
133
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-properties
|
|
134
|
+
* @category Services
|
|
109
135
|
*/
|
|
110
136
|
get contentProperties(): ContentPropertiesService;
|
|
111
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions
|
|
139
|
+
* @category Services
|
|
140
|
+
*/
|
|
112
141
|
get contentRestrictions(): ContentRestrictionsService;
|
|
113
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content
|
|
144
|
+
* @category Services
|
|
145
|
+
*/
|
|
114
146
|
get content(): ContentService;
|
|
115
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-states
|
|
149
|
+
* @category Services
|
|
150
|
+
*/
|
|
116
151
|
get contentStates(): ContentStatesService;
|
|
117
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions
|
|
154
|
+
* @category Services
|
|
155
|
+
*/
|
|
118
156
|
get contentVersions(): ContentVersionsService;
|
|
119
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches
|
|
159
|
+
* @category Services
|
|
160
|
+
*/
|
|
120
161
|
get contentWatches(): ContentWatchesService;
|
|
121
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules
|
|
164
|
+
* @category Services
|
|
165
|
+
*/
|
|
122
166
|
get dynamicModules(): DynamicModulesService;
|
|
123
167
|
/**
|
|
124
168
|
* APIs in this section can change without any prior deprecation notice.
|
|
125
169
|
*
|
|
126
170
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental
|
|
171
|
+
* @category Services
|
|
127
172
|
*/
|
|
128
173
|
get experimental(): ExperimentalService;
|
|
129
174
|
/**
|
|
@@ -133,41 +178,80 @@ export declare class BaseConfluenceApiV1Client extends CommonHttpService {
|
|
|
133
178
|
* group jira-software-users or rename it to jsw-users at any point.
|
|
134
179
|
*
|
|
135
180
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group
|
|
181
|
+
* @category Services
|
|
136
182
|
*/
|
|
137
183
|
get group(): GroupService;
|
|
138
184
|
/**
|
|
139
185
|
* @deprecated
|
|
140
186
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-inline-tasks
|
|
187
|
+
* @category Services
|
|
141
188
|
*/
|
|
142
189
|
get inlineTasks(): InlineTasksService;
|
|
143
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-label-info
|
|
192
|
+
* @category Services
|
|
193
|
+
*/
|
|
144
194
|
get labelInfo(): LabelInfoService;
|
|
145
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task
|
|
197
|
+
* @category Services
|
|
198
|
+
*/
|
|
146
199
|
get longRunningTask(): LongRunningTaskService;
|
|
147
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation
|
|
202
|
+
* @category Services
|
|
203
|
+
*/
|
|
148
204
|
get relation(): RelationService;
|
|
149
|
-
/**
|
|
205
|
+
/**
|
|
206
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search
|
|
207
|
+
* @category Services
|
|
208
|
+
*/
|
|
150
209
|
get search(): SearchService;
|
|
151
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings
|
|
212
|
+
* @category Services
|
|
213
|
+
*/
|
|
152
214
|
get settings(): SettingsService;
|
|
153
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions
|
|
217
|
+
* @category Services
|
|
218
|
+
*/
|
|
154
219
|
get spacePermissions(): SpacePermissionsService;
|
|
155
220
|
/**
|
|
156
221
|
* @deprecated
|
|
157
222
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties
|
|
223
|
+
* @category Services
|
|
158
224
|
*/
|
|
159
225
|
get spaceProperties(): SpacePropertiesService;
|
|
160
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space
|
|
228
|
+
* @category Services
|
|
229
|
+
*/
|
|
161
230
|
get space(): SpaceService;
|
|
162
|
-
/**
|
|
231
|
+
/**
|
|
232
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings
|
|
233
|
+
* @category Services
|
|
234
|
+
*/
|
|
163
235
|
get spaceSettings(): SpaceSettingsService;
|
|
164
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template
|
|
238
|
+
* @category Services
|
|
239
|
+
*/
|
|
165
240
|
get template(): TemplateService;
|
|
166
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes
|
|
243
|
+
* @category Services
|
|
244
|
+
*/
|
|
167
245
|
get themes(): ThemesService;
|
|
168
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties
|
|
248
|
+
* @category Services
|
|
249
|
+
*/
|
|
169
250
|
get userProperties(): UserPropertiesService;
|
|
170
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users
|
|
253
|
+
* @category Services
|
|
254
|
+
*/
|
|
171
255
|
get users(): UsersService;
|
|
172
256
|
constructor(options?: BaseConfluenceApiV1ClientOptions);
|
|
173
257
|
}
|
|
@@ -63,73 +63,117 @@ class BaseConfluenceApiV1ClientError extends commonHttpClient.CommonHttpClientEr
|
|
|
63
63
|
* @internal
|
|
64
64
|
*/
|
|
65
65
|
class BaseConfluenceApiV1Client extends CommonHttpService_1.CommonHttpService {
|
|
66
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics
|
|
68
|
+
* @category Services
|
|
69
|
+
*/
|
|
67
70
|
get analytics() {
|
|
68
71
|
return this.getServiceInstance(AnalyticsService_1.AnalyticsService);
|
|
69
72
|
}
|
|
70
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-audit
|
|
75
|
+
* @category Services
|
|
76
|
+
*/
|
|
71
77
|
get audit() {
|
|
72
78
|
return this.getServiceInstance(AuditService_1.AuditService);
|
|
73
79
|
}
|
|
74
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments
|
|
82
|
+
* @category Services
|
|
83
|
+
*/
|
|
75
84
|
get contentAttachments() {
|
|
76
85
|
return this.getServiceInstance(ContentAttachmentsService_1.ContentAttachmentsService);
|
|
77
86
|
}
|
|
78
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body
|
|
89
|
+
* @category Services
|
|
90
|
+
*/
|
|
79
91
|
get contentBody() {
|
|
80
92
|
return this.getServiceInstance(ContentBodyService_1.ContentBodyService);
|
|
81
93
|
}
|
|
82
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants
|
|
96
|
+
* @category Services
|
|
97
|
+
*/
|
|
83
98
|
get contentChildrenAndDescendants() {
|
|
84
99
|
return this.getServiceInstance(ContentChildrenAndDescendantsService_1.ContentChildrenAndDescendantsService);
|
|
85
100
|
}
|
|
86
101
|
/**
|
|
87
102
|
* @deprecated
|
|
88
103
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-comments
|
|
104
|
+
* @category Services
|
|
89
105
|
*/
|
|
90
106
|
get contentComments() {
|
|
91
107
|
return this.getServiceInstance(ContentCommentsService_1.ContentCommentsService);
|
|
92
108
|
}
|
|
93
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels
|
|
111
|
+
* @category Services
|
|
112
|
+
*/
|
|
94
113
|
get contentLabels() {
|
|
95
114
|
return this.getServiceInstance(ContentLabelsService_1.ContentLabelsService);
|
|
96
115
|
}
|
|
97
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-macro-body
|
|
118
|
+
* @category Services
|
|
119
|
+
*/
|
|
98
120
|
get contentMacroBody() {
|
|
99
121
|
return this.getServiceInstance(ContentMacroBodyService_1.ContentMacroBodyService);
|
|
100
122
|
}
|
|
101
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-permissions
|
|
125
|
+
* @category Services
|
|
126
|
+
*/
|
|
102
127
|
get contentPermissions() {
|
|
103
128
|
return this.getServiceInstance(ContentPermissionsService_1.ContentPermissionsService);
|
|
104
129
|
}
|
|
105
130
|
/**
|
|
106
131
|
* @deprecated
|
|
107
132
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-properties
|
|
133
|
+
* @category Services
|
|
108
134
|
*/
|
|
109
135
|
get contentProperties() {
|
|
110
136
|
return this.getServiceInstance(ContentPropertiesService_1.ContentPropertiesService);
|
|
111
137
|
}
|
|
112
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions
|
|
140
|
+
* @category Services
|
|
141
|
+
*/
|
|
113
142
|
get contentRestrictions() {
|
|
114
143
|
return this.getServiceInstance(ContentRestrictionsService_1.ContentRestrictionsService);
|
|
115
144
|
}
|
|
116
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content
|
|
147
|
+
* @category Services
|
|
148
|
+
*/
|
|
117
149
|
get content() {
|
|
118
150
|
return this.getServiceInstance(ContentService_1.ContentService);
|
|
119
151
|
}
|
|
120
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-states
|
|
154
|
+
* @category Services
|
|
155
|
+
*/
|
|
121
156
|
get contentStates() {
|
|
122
157
|
return this.getServiceInstance(ContentStatesService_1.ContentStatesService);
|
|
123
158
|
}
|
|
124
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions
|
|
161
|
+
* @category Services
|
|
162
|
+
*/
|
|
125
163
|
get contentVersions() {
|
|
126
164
|
return this.getServiceInstance(ContentVersionsService_1.ContentVersionsService);
|
|
127
165
|
}
|
|
128
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches
|
|
168
|
+
* @category Services
|
|
169
|
+
*/
|
|
129
170
|
get contentWatches() {
|
|
130
171
|
return this.getServiceInstance(ContentWatchesService_1.ContentWatchesService);
|
|
131
172
|
}
|
|
132
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules
|
|
175
|
+
* @category Services
|
|
176
|
+
*/
|
|
133
177
|
get dynamicModules() {
|
|
134
178
|
return this.getServiceInstance(DynamicModulesService_1.DynamicModulesService);
|
|
135
179
|
}
|
|
@@ -137,6 +181,7 @@ class BaseConfluenceApiV1Client extends CommonHttpService_1.CommonHttpService {
|
|
|
137
181
|
* APIs in this section can change without any prior deprecation notice.
|
|
138
182
|
*
|
|
139
183
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental
|
|
184
|
+
* @category Services
|
|
140
185
|
*/
|
|
141
186
|
get experimental() {
|
|
142
187
|
return this.getServiceInstance(ExperimentalService_1.ExperimentalService);
|
|
@@ -148,6 +193,7 @@ class BaseConfluenceApiV1Client extends CommonHttpService_1.CommonHttpService {
|
|
|
148
193
|
* group jira-software-users or rename it to jsw-users at any point.
|
|
149
194
|
*
|
|
150
195
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group
|
|
196
|
+
* @category Services
|
|
151
197
|
*/
|
|
152
198
|
get group() {
|
|
153
199
|
return this.getServiceInstance(GroupService_1.GroupService);
|
|
@@ -155,62 +201,100 @@ class BaseConfluenceApiV1Client extends CommonHttpService_1.CommonHttpService {
|
|
|
155
201
|
/**
|
|
156
202
|
* @deprecated
|
|
157
203
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-inline-tasks
|
|
204
|
+
* @category Services
|
|
158
205
|
*/
|
|
159
206
|
get inlineTasks() {
|
|
160
207
|
return this.getServiceInstance(InlineTasksService_1.InlineTasksService);
|
|
161
208
|
}
|
|
162
|
-
/**
|
|
209
|
+
/**
|
|
210
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-label-info
|
|
211
|
+
* @category Services
|
|
212
|
+
*/
|
|
163
213
|
get labelInfo() {
|
|
164
214
|
return this.getServiceInstance(LabelInfoService_1.LabelInfoService);
|
|
165
215
|
}
|
|
166
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task
|
|
218
|
+
* @category Services
|
|
219
|
+
*/
|
|
167
220
|
get longRunningTask() {
|
|
168
221
|
return this.getServiceInstance(LongRunningTaskService_1.LongRunningTaskService);
|
|
169
222
|
}
|
|
170
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation
|
|
225
|
+
* @category Services
|
|
226
|
+
*/
|
|
171
227
|
get relation() {
|
|
172
228
|
return this.getServiceInstance(RelationService_1.RelationService);
|
|
173
229
|
}
|
|
174
|
-
/**
|
|
230
|
+
/**
|
|
231
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search
|
|
232
|
+
* @category Services
|
|
233
|
+
*/
|
|
175
234
|
get search() {
|
|
176
235
|
return this.getServiceInstance(SearchService_1.SearchService);
|
|
177
236
|
}
|
|
178
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings
|
|
239
|
+
* @category Services
|
|
240
|
+
*/
|
|
179
241
|
get settings() {
|
|
180
242
|
return this.getServiceInstance(SettingsService_1.SettingsService);
|
|
181
243
|
}
|
|
182
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions
|
|
246
|
+
* @category Services
|
|
247
|
+
*/
|
|
183
248
|
get spacePermissions() {
|
|
184
249
|
return this.getServiceInstance(SpacePermissionsService_1.SpacePermissionsService);
|
|
185
250
|
}
|
|
186
251
|
/**
|
|
187
252
|
* @deprecated
|
|
188
253
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-properties
|
|
254
|
+
* @category Services
|
|
189
255
|
*/
|
|
190
256
|
get spaceProperties() {
|
|
191
257
|
return this.getServiceInstance(SpacePropertiesService_1.SpacePropertiesService);
|
|
192
258
|
}
|
|
193
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space
|
|
261
|
+
* @category Services
|
|
262
|
+
*/
|
|
194
263
|
get space() {
|
|
195
264
|
return this.getServiceInstance(SpaceService_1.SpaceService);
|
|
196
265
|
}
|
|
197
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-settings
|
|
268
|
+
* @category Services
|
|
269
|
+
*/
|
|
198
270
|
get spaceSettings() {
|
|
199
271
|
return this.getServiceInstance(SpaceSettingsService_1.SpaceSettingsService);
|
|
200
272
|
}
|
|
201
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template
|
|
275
|
+
* @category Services
|
|
276
|
+
*/
|
|
202
277
|
get template() {
|
|
203
278
|
return this.getServiceInstance(TemplateService_1.TemplateService);
|
|
204
279
|
}
|
|
205
|
-
/**
|
|
280
|
+
/**
|
|
281
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes
|
|
282
|
+
* @category Services
|
|
283
|
+
*/
|
|
206
284
|
get themes() {
|
|
207
285
|
return this.getServiceInstance(ThemesService_1.ThemesService);
|
|
208
286
|
}
|
|
209
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-user-properties
|
|
289
|
+
* @category Services
|
|
290
|
+
*/
|
|
210
291
|
get userProperties() {
|
|
211
292
|
return this.getServiceInstance(UserPropertiesService_1.UserPropertiesService);
|
|
212
293
|
}
|
|
213
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-users
|
|
296
|
+
* @category Services
|
|
297
|
+
*/
|
|
214
298
|
get users() {
|
|
215
299
|
return this.getServiceInstance(UsersService_1.UsersService);
|
|
216
300
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseConfluenceApiV1Client.js","sourceRoot":"","sources":["../../../src/openapi/v1/BaseConfluenceApiV1Client.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6DAA6D;AAC7D,iEAA8D;AAoM9D,kEAA+D;AAC/D,0DAAuD;AACvD,oFAAiF;AACjF,sEAAmE;AACnE,0GAAuG;AACvG,8EAA2E;AAC3E,0EAAuE;AACvE,gFAA6E;AAC7E,oFAAiF;AACjF,kFAA+E;AAC/E,sFAAmF;AACnF,8DAA2D;AAC3D,0EAAuE;AACvE,8EAA2E;AAC3E,4EAAyE;AACzE,4EAAyE;AACzE,wEAAqE;AACrE,0DAAuD;AACvD,sEAAmE;AACnE,kEAA+D;AAC/D,8EAA2E;AAC3E,gEAA6D;AAC7D,4DAAyD;AACzD,gEAA6D;AAC7D,gFAA6E;AAC7E,8EAA2E;AAC3E,0DAAuD;AACvD,0EAAuE;AACvE,gEAA6D;AAC7D,4DAAyD;AACzD,4EAAyE;AACzE,0DAAuD;AACvD,uEAAoE;AAGpE,gCAAgC;AAChC,MAAM,8BAA+B,SAAQ,gBAAgB,CAAC,qBAAqB;IAAnF;;QACE,SAAI,GAAG,gCAAgC,CAAC;IAC1C,CAAC;CAAA;AACD;;;;;;;;;;;;;;;GAeG;AACH,MAAa,yBAA0B,SAAQ,qCAAiB;IAO9D
|
|
1
|
+
{"version":3,"file":"BaseConfluenceApiV1Client.js","sourceRoot":"","sources":["../../../src/openapi/v1/BaseConfluenceApiV1Client.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6DAA6D;AAC7D,iEAA8D;AAoM9D,kEAA+D;AAC/D,0DAAuD;AACvD,oFAAiF;AACjF,sEAAmE;AACnE,0GAAuG;AACvG,8EAA2E;AAC3E,0EAAuE;AACvE,gFAA6E;AAC7E,oFAAiF;AACjF,kFAA+E;AAC/E,sFAAmF;AACnF,8DAA2D;AAC3D,0EAAuE;AACvE,8EAA2E;AAC3E,4EAAyE;AACzE,4EAAyE;AACzE,wEAAqE;AACrE,0DAAuD;AACvD,sEAAmE;AACnE,kEAA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