@resolution/confluence-api-client 0.5.2 → 0.5.4
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 +22 -0
- package/README.md +33 -1
- package/lib/openapi/{v1/core → core}/CommonHttpClient.d.ts +54 -3
- package/lib/openapi/{v2/core → core}/CommonHttpClient.js +14 -0
- package/lib/openapi/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/{v2/core → core}/CommonHttpService.d.ts +17 -0
- package/lib/openapi/{v1/core → core}/CommonHttpService.js +11 -0
- package/lib/openapi/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +2 -2
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +2 -2
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/audit.d.ts +1 -1
- package/lib/openapi/v1/models/common.d.ts +2 -1
- package/lib/openapi/v1/models/common.js +1 -0
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +1 -1
- package/lib/openapi/v1/models/contentAttachments.d.ts +1 -1
- package/lib/openapi/v1/models/contentBody.d.ts +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +1 -1
- package/lib/openapi/v1/models/contentLabels.d.ts +1 -1
- package/lib/openapi/v1/models/contentMacroBody.d.ts +1 -1
- package/lib/openapi/v1/models/contentPermissions.d.ts +1 -1
- package/lib/openapi/v1/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v1/models/contentRestrictions.d.ts +1 -1
- package/lib/openapi/v1/models/contentStates.d.ts +1 -1
- package/lib/openapi/v1/models/contentVersions.d.ts +1 -1
- package/lib/openapi/v1/models/contentWatches.d.ts +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +7 -4
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/group.d.ts +1 -1
- package/lib/openapi/v1/models/inlineTasks.d.ts +1 -1
- package/lib/openapi/v1/models/labelInfo.d.ts +1 -1
- package/lib/openapi/v1/models/longRunningTask.d.ts +1 -1
- package/lib/openapi/v1/models/relation.d.ts +1 -1
- package/lib/openapi/v1/models/search.d.ts +1 -1
- package/lib/openapi/v1/models/settings.d.ts +1 -1
- package/lib/openapi/v1/models/space.d.ts +11 -4
- package/lib/openapi/v1/models/space.js +2 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/models/spacePermissions.d.ts +1 -1
- package/lib/openapi/v1/models/spaceProperties.d.ts +1 -1
- package/lib/openapi/v1/models/spaceSettings.d.ts +1 -1
- package/lib/openapi/v1/models/template.d.ts +1 -1
- package/lib/openapi/v1/models/themes.d.ts +1 -1
- package/lib/openapi/v1/models/userProperties.d.ts +1 -1
- package/lib/openapi/v1/models/users.d.ts +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +9 -5
- package/lib/openapi/v1/services/AnalyticsService.js +6 -4
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +15 -9
- package/lib/openapi/v1/services/AuditService.js +15 -9
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentAttachmentsService.js +14 -8
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +8 -6
- package/lib/openapi/v1/services/ContentBodyService.js +9 -7
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +18 -10
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +19 -11
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentCommentsService.js +4 -3
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentLabelsService.js +10 -6
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +7 -6
- package/lib/openapi/v1/services/ContentMacroBodyService.js +8 -7
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +4 -3
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentPropertiesService.js +14 -8
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +31 -22
- package/lib/openapi/v1/services/ContentRestrictionsService.js +32 -23
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +21 -11
- package/lib/openapi/v1/services/ContentService.js +22 -12
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +21 -12
- package/lib/openapi/v1/services/ContentStatesService.js +22 -13
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentVersionsService.js +10 -6
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +25 -13
- package/lib/openapi/v1/services/ContentWatchesService.js +26 -14
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/v1/services/DynamicModulesService.js +7 -5
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +13 -9
- package/lib/openapi/v1/services/ExperimentalService.js +14 -10
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +31 -16
- package/lib/openapi/v1/services/GroupService.js +32 -17
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +7 -4
- package/lib/openapi/v1/services/InlineTasksService.js +8 -5
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +3 -2
- package/lib/openapi/v1/services/LabelInfoService.js +4 -3
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +5 -3
- package/lib/openapi/v1/services/LongRunningTaskService.js +6 -4
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +12 -13
- package/lib/openapi/v1/services/RelationService.js +13 -14
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +5 -3
- package/lib/openapi/v1/services/SearchService.js +6 -4
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +14 -11
- package/lib/openapi/v1/services/SettingsService.js +15 -12
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +7 -4
- package/lib/openapi/v1/services/SpacePermissionsService.js +8 -5
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/SpacePropertiesService.js +14 -8
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +20 -15
- package/lib/openapi/v1/services/SpaceService.js +21 -16
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +5 -3
- package/lib/openapi/v1/services/SpaceSettingsService.js +6 -4
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +15 -11
- package/lib/openapi/v1/services/TemplateService.js +16 -12
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +12 -7
- package/lib/openapi/v1/services/ThemesService.js +13 -8
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +11 -6
- package/lib/openapi/v1/services/UserPropertiesService.js +12 -7
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +15 -8
- package/lib/openapi/v1/services/UsersService.js +16 -9
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v1/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/v1/validationSchemaStorage.js +1 -1
- package/lib/openapi/v1/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +2 -2
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +2 -2
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/ancestors.d.ts +1 -1
- package/lib/openapi/v2/models/attachment.d.ts +1 -1
- package/lib/openapi/v2/models/blogPost.d.ts +1 -1
- package/lib/openapi/v2/models/children.d.ts +1 -1
- package/lib/openapi/v2/models/classificationLevel.d.ts +1 -1
- package/lib/openapi/v2/models/comment.d.ts +1 -1
- package/lib/openapi/v2/models/common.d.ts +1 -1
- package/lib/openapi/v2/models/content.d.ts +1 -1
- package/lib/openapi/v2/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v2/models/customContent.d.ts +1 -1
- package/lib/openapi/v2/models/dataPolicies.d.ts +1 -1
- package/lib/openapi/v2/models/database.d.ts +1 -1
- package/lib/openapi/v2/models/operation.d.ts +1 -1
- package/lib/openapi/v2/models/page.d.ts +1 -1
- package/lib/openapi/v2/models/smartLink.d.ts +1 -1
- package/lib/openapi/v2/models/space.d.ts +1 -1
- package/lib/openapi/v2/models/spaceProperties.d.ts +1 -1
- package/lib/openapi/v2/models/task.d.ts +1 -1
- package/lib/openapi/v2/models/user.d.ts +1 -1
- package/lib/openapi/v2/models/version.d.ts +1 -1
- package/lib/openapi/v2/models/whiteboard.d.ts +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +9 -5
- package/lib/openapi/v2/services/AncestorsService.js +10 -6
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +16 -10
- package/lib/openapi/v2/services/AttachmentService.js +17 -11
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +16 -10
- package/lib/openapi/v2/services/BlogPostService.js +17 -11
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +5 -3
- package/lib/openapi/v2/services/ChildrenService.js +6 -4
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +20 -11
- package/lib/openapi/v2/services/ClassificationLevelService.js +21 -12
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +37 -19
- package/lib/openapi/v2/services/CommentService.js +38 -20
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +81 -41
- package/lib/openapi/v2/services/ContentPropertiesService.js +82 -42
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +4 -4
- package/lib/openapi/v2/services/ContentService.js +5 -5
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +17 -9
- package/lib/openapi/v2/services/CustomContentService.js +18 -10
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +4 -3
- package/lib/openapi/v2/services/DataPoliciesService.js +5 -4
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +7 -4
- package/lib/openapi/v2/services/DatabaseService.js +8 -5
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +15 -8
- package/lib/openapi/v2/services/LabelService.js +16 -9
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +17 -9
- package/lib/openapi/v2/services/LikeService.js +18 -10
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +21 -11
- package/lib/openapi/v2/services/OperationService.js +22 -12
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +24 -10
- package/lib/openapi/v2/services/PageService.js +16 -9
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +7 -4
- package/lib/openapi/v2/services/SmartLinkService.js +8 -5
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -2
- package/lib/openapi/v2/services/SpacePermissionsService.js +4 -3
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +12 -8
- package/lib/openapi/v2/services/SpacePropertiesService.js +13 -9
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +5 -3
- package/lib/openapi/v2/services/SpaceService.js +6 -4
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +7 -4
- package/lib/openapi/v2/services/TaskService.js +8 -5
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +8 -6
- package/lib/openapi/v2/services/UserService.js +9 -7
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +25 -13
- package/lib/openapi/v2/services/VersionService.js +26 -14
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +7 -4
- package/lib/openapi/v2/services/WhiteboardService.js +8 -5
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/lib/openapi/v2/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/v2/validationSchemaStorage.js +1 -1
- package/lib/openapi/v2/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/v1/core/CommonHttpClient.js +0 -390
- package/lib/openapi/v1/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/v1/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/v1/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/v2/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/v2/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/v2/core/CommonHttpService.js +0 -29
- package/lib/openapi/v2/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js.map +0 -1
- /package/lib/openapi/{v1/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
- /package/lib/openapi/{v1/core → core}/CommonValidationSchemaStorage.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type MultiEntityLinks, type SpaceSortOrder } from "../models/common";
|
|
3
3
|
import { type SpaceBulk, type SpaceDescriptionBodyRepresentation, type SpaceSingle } from "../models/space";
|
|
4
4
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space */
|
|
@@ -10,9 +10,10 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
10
10
|
* Permission to view the space.
|
|
11
11
|
*
|
|
12
12
|
* @returns Returned if the requested space is returned.
|
|
13
|
-
* @path
|
|
13
|
+
* @path GET `/spaces/{id}`
|
|
14
14
|
* @scopes-current read:space:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-id-get
|
|
16
|
+
* @param params
|
|
16
17
|
*/
|
|
17
18
|
getSpaceById: ({ id, descriptionFormat, includeIcon, includeOperations, includeProperties, includePermissions, includeLabels, }: {
|
|
18
19
|
/** The ID of the space to be returned. */
|
|
@@ -78,9 +79,10 @@ export declare class SpaceService extends CommonHttpService {
|
|
|
78
79
|
* Only spaces that the user has permission to view will be returned.
|
|
79
80
|
*
|
|
80
81
|
* @returns Returned if the requested spaces are returned.
|
|
81
|
-
* @path
|
|
82
|
+
* @path GET `/spaces`
|
|
82
83
|
* @scopes-current read:space:confluence
|
|
83
84
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-get
|
|
85
|
+
* @param params
|
|
84
86
|
*/
|
|
85
87
|
getSpaces: ({ ids, keys, type, status, labels, favoritedBy, notFavoritedBy, sort, descriptionFormat, includeIcon, cursor, limit, }?: {
|
|
86
88
|
/**
|
|
@@ -5,8 +5,8 @@ exports.SpaceService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const space_1 = require("../models/space");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -21,9 +21,10 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* Permission to view the space.
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the requested space is returned.
|
|
24
|
-
* @path
|
|
24
|
+
* @path GET `/spaces/{id}`
|
|
25
25
|
* @scopes-current read:space:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-id-get
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
this.getSpaceById = ({ id, descriptionFormat, includeIcon, includeOperations, includeProperties, includePermissions, includeLabels, }) => {
|
|
29
30
|
return this.getClientInstance()
|
|
@@ -62,9 +63,10 @@ class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
|
62
63
|
* Only spaces that the user has permission to view will be returned.
|
|
63
64
|
*
|
|
64
65
|
* @returns Returned if the requested spaces are returned.
|
|
65
|
-
* @path
|
|
66
|
+
* @path GET `/spaces`
|
|
66
67
|
* @scopes-current read:space:confluence
|
|
67
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-get
|
|
69
|
+
* @param params
|
|
68
70
|
*/
|
|
69
71
|
this.getSpaces = ({ ids, keys, type, status, labels, favoritedBy, notFavoritedBy, sort, descriptionFormat, includeIcon, cursor, limit, } = {}) => {
|
|
70
72
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpaceService.ts"],"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AAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,oCAAoC,EACpC,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,CAAC,YAAY,CAClB,iDAAuB,CAAC,IAAI,CAAC,aAAa,CAAC,EAC3C,OAAC;iBACE,MAAM,CAAC;gBACN,MAAM,EAAE,OAAC;qBACN,MAAM,CAAC;oBACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;iBAC5B,CAAC;qBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;qBACrB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CACzB;SACF,CAAC;aACD,QAAQ,CAAC,oCAAoC,CAAC,CAClD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,sCAA8B;YAC9B,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AA5SD,oCA4SC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type MultiEntityLinks, type PrimaryBodyRepresentation } from "../models/common";
|
|
3
3
|
import { type Task } from "../models/task";
|
|
4
4
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task */
|
|
@@ -10,9 +10,10 @@ export declare class TaskService extends CommonHttpService {
|
|
|
10
10
|
* Permission to view the containing page or blog post and its corresponding space.
|
|
11
11
|
*
|
|
12
12
|
* @returns Returned if the requested task is returned.
|
|
13
|
-
* @path
|
|
13
|
+
* @path GET `/tasks/{id}`
|
|
14
14
|
* @scopes-current read:task:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task#api-tasks-id-get
|
|
16
|
+
* @param params
|
|
16
17
|
*/
|
|
17
18
|
getTaskById: ({ id, bodyFormat, }: {
|
|
18
19
|
/**
|
|
@@ -37,9 +38,10 @@ export declare class TaskService extends CommonHttpService {
|
|
|
37
38
|
* Only tasks that the user has permission to view will be returned.
|
|
38
39
|
*
|
|
39
40
|
* @returns Returned if the requested tasks are returned.
|
|
40
|
-
* @path
|
|
41
|
+
* @path GET `/tasks`
|
|
41
42
|
* @scopes-current read:task:confluence
|
|
42
43
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task#api-tasks-get
|
|
44
|
+
* @param params
|
|
43
45
|
*/
|
|
44
46
|
getTasks: ({ bodyFormat, includeBlankTasks, status, taskId, spaceId, pageId, blogpostId, createdBy, assignedTo, completedBy, createdAtFrom, createdAtTo, dueAtFrom, dueAtTo, completedAtFrom, completedAtTo, cursor, limit, }?: {
|
|
45
47
|
/**
|
|
@@ -137,9 +139,10 @@ export declare class TaskService extends CommonHttpService {
|
|
|
137
139
|
* space.
|
|
138
140
|
*
|
|
139
141
|
* @returns Returned if the requested task is updated.
|
|
140
|
-
* @path
|
|
142
|
+
* @path PUT `/tasks/{id}`
|
|
141
143
|
* @scopes-current write:task:confluence
|
|
142
144
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task#api-tasks-id-put
|
|
145
|
+
* @param params
|
|
143
146
|
*/
|
|
144
147
|
updateTask: ({ id, bodyFormat, requestBody, }: {
|
|
145
148
|
/**
|
|
@@ -5,8 +5,8 @@ exports.TaskService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const task_1 = require("../models/task");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -21,9 +21,10 @@ class TaskService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* Permission to view the containing page or blog post and its corresponding space.
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the requested task is returned.
|
|
24
|
-
* @path
|
|
24
|
+
* @path GET `/tasks/{id}`
|
|
25
25
|
* @scopes-current read:task:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task#api-tasks-id-get
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
this.getTaskById = ({ id, bodyFormat, }) => {
|
|
29
30
|
return this.getClientInstance()
|
|
@@ -56,9 +57,10 @@ class TaskService extends CommonHttpService_1.CommonHttpService {
|
|
|
56
57
|
* Only tasks that the user has permission to view will be returned.
|
|
57
58
|
*
|
|
58
59
|
* @returns Returned if the requested tasks are returned.
|
|
59
|
-
* @path
|
|
60
|
+
* @path GET `/tasks`
|
|
60
61
|
* @scopes-current read:task:confluence
|
|
61
62
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task#api-tasks-get
|
|
63
|
+
* @param params
|
|
62
64
|
*/
|
|
63
65
|
this.getTasks = ({ bodyFormat, includeBlankTasks, status, taskId, spaceId, pageId, blogpostId, createdBy, assignedTo, completedBy, createdAtFrom, createdAtTo, dueAtFrom, dueAtTo, completedAtFrom, completedAtTo, cursor, limit, } = {}) => {
|
|
64
66
|
return this.getClientInstance()
|
|
@@ -103,9 +105,10 @@ class TaskService extends CommonHttpService_1.CommonHttpService {
|
|
|
103
105
|
* space.
|
|
104
106
|
*
|
|
105
107
|
* @returns Returned if the requested task is updated.
|
|
106
|
-
* @path
|
|
108
|
+
* @path PUT `/tasks/{id}`
|
|
107
109
|
* @scopes-current write:task:confluence
|
|
108
110
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-task#api-tasks-id-put
|
|
111
|
+
* @param params
|
|
109
112
|
*/
|
|
110
113
|
this.updateTask = ({ id, bodyFormat, requestBody, }) => {
|
|
111
114
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/TaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"TaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/TaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAI0B;AAC1B,yCAA0E;AAC1E,wEAAqE;AACrE,mFAAmF;AACnF,MAAa,WAAY,SAAQ,qCAAiB;IAAlD;;QACE;;;;;;;;;;;WAWG;QACH,gBAAW,GAAG,CAAC,EACb,EAAE,EACF,UAAU,GAaX,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,aAAa;gBACnB,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,aAAa,EAAE,UAAU;iBAC1B;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAAC,kCAAkC,CAAC,CACtE;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;WAcG;QACH,aAAQ,GAAG,CAAC,EACV,UAAU,EACV,iBAAi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,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;SAC3C,CAAC;aACD,QAAQ,CAAC,kCAAkC,CAAC,CAChD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,iCAAiC,EACjC,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,iDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;SAC3C,CAAC;aACD,QAAQ,CAAC,iCAAiC,CAAC,CAC/C,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oCAA6B;YAC7B,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AA/WD,kCA+WC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type MultiEntityLinks } from "../models/common";
|
|
3
3
|
import { type User } from "../models/user";
|
|
4
4
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user */
|
|
@@ -10,9 +10,10 @@ export declare class UserService extends CommonHttpService {
|
|
|
10
10
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
11
11
|
*
|
|
12
12
|
* @returns Returns object with list of emails without access to site.
|
|
13
|
-
* @path
|
|
13
|
+
* @path POST `/user/access/check-access-by-email`
|
|
14
14
|
* @scopes-current read:configuration:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user#api-user-access-check-access-by-email-post
|
|
16
|
+
* @param params
|
|
16
17
|
*/
|
|
17
18
|
checkAccessByEmail: ({ requestBody, }: {
|
|
18
19
|
requestBody: {
|
|
@@ -36,11 +37,11 @@ export declare class UserService extends CommonHttpService {
|
|
|
36
37
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
37
38
|
* The user must be able to view user profiles in the Confluence site.
|
|
38
39
|
*
|
|
39
|
-
* @returns Returned if the user info is returned for the account IDs. `results` may be
|
|
40
|
-
*
|
|
41
|
-
* @path {POST} /users-bulk
|
|
40
|
+
* @returns Returned if the user info is returned for the account IDs. `results` may be empty if no account IDs were found.
|
|
41
|
+
* @path POST `/users-bulk`
|
|
42
42
|
* @scopes-current read:user:confluence
|
|
43
43
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user#api-users-bulk-post
|
|
44
|
+
* @param params
|
|
44
45
|
*/
|
|
45
46
|
createBulkUserLookup: ({ requestBody, }: {
|
|
46
47
|
requestBody: {
|
|
@@ -66,9 +67,10 @@ export declare class UserService extends CommonHttpService {
|
|
|
66
67
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
67
68
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
68
69
|
*
|
|
69
|
-
* @path
|
|
70
|
+
* @path POST `/user/access/invite-by-email`
|
|
70
71
|
* @scopes-current read:configuration:confluence
|
|
71
72
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user#api-user-access-invite-by-email-post
|
|
73
|
+
* @param params
|
|
72
74
|
*/
|
|
73
75
|
inviteByEmail: ({ requestBody, }: {
|
|
74
76
|
requestBody: {
|
|
@@ -5,8 +5,8 @@ exports.UserService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const user_1 = require("../models/user");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -21,9 +21,10 @@ class UserService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
22
22
|
*
|
|
23
23
|
* @returns Returns object with list of emails without access to site.
|
|
24
|
-
* @path
|
|
24
|
+
* @path POST `/user/access/check-access-by-email`
|
|
25
25
|
* @scopes-current read:configuration:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user#api-user-access-check-access-by-email-post
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
this.checkAccessByEmail = ({ requestBody, }) => {
|
|
29
30
|
return this.getClientInstance()
|
|
@@ -51,11 +52,11 @@ class UserService extends CommonHttpService_1.CommonHttpService {
|
|
|
51
52
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
52
53
|
* The user must be able to view user profiles in the Confluence site.
|
|
53
54
|
*
|
|
54
|
-
* @returns Returned if the user info is returned for the account IDs. `results` may be
|
|
55
|
-
*
|
|
56
|
-
* @path {POST} /users-bulk
|
|
55
|
+
* @returns Returned if the user info is returned for the account IDs. `results` may be empty if no account IDs were found.
|
|
56
|
+
* @path POST `/users-bulk`
|
|
57
57
|
* @scopes-current read:user:confluence
|
|
58
58
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user#api-users-bulk-post
|
|
59
|
+
* @param params
|
|
59
60
|
*/
|
|
60
61
|
this.createBulkUserLookup = ({ requestBody, }) => {
|
|
61
62
|
return this.getClientInstance()
|
|
@@ -87,9 +88,10 @@ class UserService extends CommonHttpService_1.CommonHttpService {
|
|
|
87
88
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
88
89
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
89
90
|
*
|
|
90
|
-
* @path
|
|
91
|
+
* @path POST `/user/access/invite-by-email`
|
|
91
92
|
* @scopes-current read:configuration:confluence
|
|
92
93
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user#api-user-access-invite-by-email-post
|
|
94
|
+
* @param params
|
|
93
95
|
*/
|
|
94
96
|
this.inviteByEmail = ({ requestBody, }) => {
|
|
95
97
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/UserService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"UserService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/UserService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAG0B;AAC1B,yCAA0E;AAC1E,wEAAqE;AACrE,mFAAmF;AACnF,MAAa,WAAY,SAAQ,qCAAiB;IAAlD;;QACE;;;;;;;;;;;WAWG;QACH,uBAAkB,GAAG,CAAC,EACpB,WAAW,GAQZ,EASC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,oCAAoC;gBAC1C,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EASzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,yCAAyC,CAC1C,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;WAYG;QACH,yBAAoB,GAAG,CAAC,EACtB,W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Q,EAAE;gBACnD,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;aAC9C,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,yCAAyC,CAAC,CACvD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,2CAA2C,EAC3C,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,CAAC,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;gBACjE,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,2CAA2C,CAAC,CACzD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oCAA6B;YAC7B,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AA/MD,kCA+MC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type CustomContentBodyRepresentation, type MultiEntityLinks, type PrimaryBodyRepresentation } from "../models/common";
|
|
3
3
|
import { type AttachmentVersion, type BlogPostVersion, type CommentVersion, type CustomContentVersion, type DetailedVersion, type PageVersion, type VersionSortOrder } from "../models/version";
|
|
4
4
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version */
|
|
@@ -10,9 +10,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
10
10
|
* Permission to view the attachment.
|
|
11
11
|
*
|
|
12
12
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
13
|
-
* @path
|
|
13
|
+
* @path GET `/attachments/{attachment-id}/versions/{version-number}`
|
|
14
14
|
* @scopes-current read:attachment:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-attachments-attachment-id-versions-version-number-get
|
|
16
|
+
* @param params
|
|
16
17
|
*/
|
|
17
18
|
getAttachmentVersionDetails: ({ attachmentId, versionNumber, }: {
|
|
18
19
|
/** The ID of the attachment for which version details should be returned. */
|
|
@@ -27,9 +28,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
27
28
|
* Permission to view the attachment and its corresponding space.
|
|
28
29
|
*
|
|
29
30
|
* @returns Returned if the requested attachment versions are returned.
|
|
30
|
-
* @path
|
|
31
|
+
* @path GET `/attachments/{id}/versions`
|
|
31
32
|
* @scopes-current read:attachment:confluence
|
|
32
33
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-attachments-id-versions-get
|
|
34
|
+
* @param params
|
|
33
35
|
*/
|
|
34
36
|
getAttachmentVersions: ({ id, cursor, limit, sort, }: {
|
|
35
37
|
/**
|
|
@@ -64,9 +66,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
64
66
|
* Permission to view the blog post.
|
|
65
67
|
*
|
|
66
68
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
67
|
-
* @path
|
|
69
|
+
* @path GET `/blogposts/{blogpost-id}/versions/{version-number}`
|
|
68
70
|
* @scopes-current read:page:confluence
|
|
69
71
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-blogposts-blogpost-id-versions-version-number-get
|
|
72
|
+
* @param params
|
|
70
73
|
*/
|
|
71
74
|
getBlogPostVersionDetails: ({ blogpostId, versionNumber, }: {
|
|
72
75
|
/** The ID of the blog post for which version details should be returned. */
|
|
@@ -81,9 +84,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
81
84
|
* Permission to view the blog post and its corresponding space.
|
|
82
85
|
*
|
|
83
86
|
* @returns Returned if the requested blog post versions are returned.
|
|
84
|
-
* @path
|
|
87
|
+
* @path GET `/blogposts/{id}/versions`
|
|
85
88
|
* @scopes-current read:page:confluence
|
|
86
89
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-blogposts-id-versions-get
|
|
90
|
+
* @param params
|
|
87
91
|
*/
|
|
88
92
|
getBlogPostVersions: ({ id, bodyFormat, cursor, limit, sort, }: {
|
|
89
93
|
/**
|
|
@@ -124,9 +128,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
124
128
|
* Permission to view the page.
|
|
125
129
|
*
|
|
126
130
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
127
|
-
* @path
|
|
131
|
+
* @path GET `/custom-content/{custom-content-id}/versions/{version-number}`
|
|
128
132
|
* @scopes-current read:custom-content:confluence
|
|
129
133
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-custom-content-custom-content-id-versions-version-number-get
|
|
134
|
+
* @param params
|
|
130
135
|
*/
|
|
131
136
|
getCustomContentVersionDetails: ({ customContentId, versionNumber, }: {
|
|
132
137
|
/** The ID of the custom content for which version details should be returned. */
|
|
@@ -141,9 +146,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
141
146
|
* Permission to view the custom content and its corresponding page and space.
|
|
142
147
|
*
|
|
143
148
|
* @returns Returned if the requested custom content versions are returned.
|
|
144
|
-
* @path
|
|
149
|
+
* @path GET `/custom-content/{custom-content-id}/versions`
|
|
145
150
|
* @scopes-current read:custom-content:confluence
|
|
146
151
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-custom-content-custom-content-id-versions-get
|
|
152
|
+
* @param params
|
|
147
153
|
*/
|
|
148
154
|
getCustomContentVersions: ({ customContentId, bodyFormat, cursor, limit, sort, }: {
|
|
149
155
|
/**
|
|
@@ -189,9 +195,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
189
195
|
* space.
|
|
190
196
|
*
|
|
191
197
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
192
|
-
* @path
|
|
198
|
+
* @path GET `/footer-comments/{id}/versions/{version-number}`
|
|
193
199
|
* @scopes-current read:comment:confluence
|
|
194
200
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-footer-comments-id-versions-version-number-get
|
|
201
|
+
* @param params
|
|
195
202
|
*/
|
|
196
203
|
getFooterCommentVersionDetails: ({ id, versionNumber, }: {
|
|
197
204
|
/** The ID of the footer comment for which version details should be returned. */
|
|
@@ -207,9 +214,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
207
214
|
* space.
|
|
208
215
|
*
|
|
209
216
|
* @returns Returned if the requested footer comment versions are returned.
|
|
210
|
-
* @path
|
|
217
|
+
* @path GET `/footer-comments/{id}/versions`
|
|
211
218
|
* @scopes-current read:comment:confluence
|
|
212
219
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-footer-comments-id-versions-get
|
|
220
|
+
* @param params
|
|
213
221
|
*/
|
|
214
222
|
getFooterCommentVersions: ({ id, bodyFormat, cursor, limit, sort, }: {
|
|
215
223
|
/** The ID of the footer comment for which versions should be returned */
|
|
@@ -248,9 +256,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
248
256
|
* space.
|
|
249
257
|
*
|
|
250
258
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
251
|
-
* @path
|
|
259
|
+
* @path GET `/inline-comments/{id}/versions/{version-number}`
|
|
252
260
|
* @scopes-current read:comment:confluence
|
|
253
261
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-inline-comments-id-versions-version-number-get
|
|
262
|
+
* @param params
|
|
254
263
|
*/
|
|
255
264
|
getInlineCommentVersionDetails: ({ id, versionNumber, }: {
|
|
256
265
|
/** The ID of the inline comment for which version details should be returned. */
|
|
@@ -266,9 +275,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
266
275
|
* space.
|
|
267
276
|
*
|
|
268
277
|
* @returns Returned if the requested inline comment versions are returned.
|
|
269
|
-
* @path
|
|
278
|
+
* @path GET `/inline-comments/{id}/versions`
|
|
270
279
|
* @scopes-current read:comment:confluence
|
|
271
280
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-inline-comments-id-versions-get
|
|
281
|
+
* @param params
|
|
272
282
|
*/
|
|
273
283
|
getInlineCommentVersions: ({ id, bodyFormat, cursor, limit, sort, }: {
|
|
274
284
|
/** The ID of the inline comment for which versions should be returned */
|
|
@@ -306,9 +316,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
306
316
|
* Permission to view the page.
|
|
307
317
|
*
|
|
308
318
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
309
|
-
* @path
|
|
319
|
+
* @path GET `/pages/{page-id}/versions/{version-number}`
|
|
310
320
|
* @scopes-current read:page:confluence
|
|
311
321
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-pages-page-id-versions-version-number-get
|
|
322
|
+
* @param params
|
|
312
323
|
*/
|
|
313
324
|
getPageVersionDetails: ({ pageId, versionNumber, }: {
|
|
314
325
|
/** The ID of the page for which version details should be returned. */
|
|
@@ -323,9 +334,10 @@ export declare class VersionService extends CommonHttpService {
|
|
|
323
334
|
* Permission to view the page and its corresponding space.
|
|
324
335
|
*
|
|
325
336
|
* @returns Returned if the requested page versions are returned.
|
|
326
|
-
* @path
|
|
337
|
+
* @path GET `/pages/{id}/versions`
|
|
327
338
|
* @scopes-current read:page:confluence
|
|
328
339
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-pages-id-versions-get
|
|
340
|
+
* @param params
|
|
329
341
|
*/
|
|
330
342
|
getPageVersions: ({ id, bodyFormat, cursor, limit, sort, }: {
|
|
331
343
|
/**
|
|
@@ -5,8 +5,8 @@ exports.VersionService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const version_1 = require("../models/version");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -21,9 +21,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* Permission to view the attachment.
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
24
|
-
* @path
|
|
24
|
+
* @path GET `/attachments/{attachment-id}/versions/{version-number}`
|
|
25
25
|
* @scopes-current read:attachment:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-attachments-attachment-id-versions-version-number-get
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
this.getAttachmentVersionDetails = ({ attachmentId, versionNumber, }) => {
|
|
29
30
|
return this.getClientInstance()
|
|
@@ -51,9 +52,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
51
52
|
* Permission to view the attachment and its corresponding space.
|
|
52
53
|
*
|
|
53
54
|
* @returns Returned if the requested attachment versions are returned.
|
|
54
|
-
* @path
|
|
55
|
+
* @path GET `/attachments/{id}/versions`
|
|
55
56
|
* @scopes-current read:attachment:confluence
|
|
56
57
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-attachments-id-versions-get
|
|
58
|
+
* @param params
|
|
57
59
|
*/
|
|
58
60
|
this.getAttachmentVersions = ({ id, cursor, limit, sort, }) => {
|
|
59
61
|
return this.getClientInstance()
|
|
@@ -85,9 +87,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
85
87
|
* Permission to view the blog post.
|
|
86
88
|
*
|
|
87
89
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
88
|
-
* @path
|
|
90
|
+
* @path GET `/blogposts/{blogpost-id}/versions/{version-number}`
|
|
89
91
|
* @scopes-current read:page:confluence
|
|
90
92
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-blogposts-blogpost-id-versions-version-number-get
|
|
93
|
+
* @param params
|
|
91
94
|
*/
|
|
92
95
|
this.getBlogPostVersionDetails = ({ blogpostId, versionNumber, }) => {
|
|
93
96
|
return this.getClientInstance()
|
|
@@ -115,9 +118,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
115
118
|
* Permission to view the blog post and its corresponding space.
|
|
116
119
|
*
|
|
117
120
|
* @returns Returned if the requested blog post versions are returned.
|
|
118
|
-
* @path
|
|
121
|
+
* @path GET `/blogposts/{id}/versions`
|
|
119
122
|
* @scopes-current read:page:confluence
|
|
120
123
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-blogposts-id-versions-get
|
|
124
|
+
* @param params
|
|
121
125
|
*/
|
|
122
126
|
this.getBlogPostVersions = ({ id, bodyFormat, cursor, limit, sort, }) => {
|
|
123
127
|
return this.getClientInstance()
|
|
@@ -150,9 +154,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
150
154
|
* Permission to view the page.
|
|
151
155
|
*
|
|
152
156
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
153
|
-
* @path
|
|
157
|
+
* @path GET `/custom-content/{custom-content-id}/versions/{version-number}`
|
|
154
158
|
* @scopes-current read:custom-content:confluence
|
|
155
159
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-custom-content-custom-content-id-versions-version-number-get
|
|
160
|
+
* @param params
|
|
156
161
|
*/
|
|
157
162
|
this.getCustomContentVersionDetails = ({ customContentId, versionNumber, }) => {
|
|
158
163
|
return this.getClientInstance()
|
|
@@ -180,9 +185,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
180
185
|
* Permission to view the custom content and its corresponding page and space.
|
|
181
186
|
*
|
|
182
187
|
* @returns Returned if the requested custom content versions are returned.
|
|
183
|
-
* @path
|
|
188
|
+
* @path GET `/custom-content/{custom-content-id}/versions`
|
|
184
189
|
* @scopes-current read:custom-content:confluence
|
|
185
190
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-custom-content-custom-content-id-versions-get
|
|
191
|
+
* @param params
|
|
186
192
|
*/
|
|
187
193
|
this.getCustomContentVersions = ({ customContentId, bodyFormat, cursor, limit, sort, }) => {
|
|
188
194
|
return this.getClientInstance()
|
|
@@ -216,9 +222,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
216
222
|
* space.
|
|
217
223
|
*
|
|
218
224
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
219
|
-
* @path
|
|
225
|
+
* @path GET `/footer-comments/{id}/versions/{version-number}`
|
|
220
226
|
* @scopes-current read:comment:confluence
|
|
221
227
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-footer-comments-id-versions-version-number-get
|
|
228
|
+
* @param params
|
|
222
229
|
*/
|
|
223
230
|
this.getFooterCommentVersionDetails = ({ id, versionNumber, }) => {
|
|
224
231
|
return this.getClientInstance()
|
|
@@ -247,9 +254,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
247
254
|
* space.
|
|
248
255
|
*
|
|
249
256
|
* @returns Returned if the requested footer comment versions are returned.
|
|
250
|
-
* @path
|
|
257
|
+
* @path GET `/footer-comments/{id}/versions`
|
|
251
258
|
* @scopes-current read:comment:confluence
|
|
252
259
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-footer-comments-id-versions-get
|
|
260
|
+
* @param params
|
|
253
261
|
*/
|
|
254
262
|
this.getFooterCommentVersions = ({ id, bodyFormat, cursor, limit, sort, }) => {
|
|
255
263
|
return this.getClientInstance()
|
|
@@ -283,9 +291,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
283
291
|
* space.
|
|
284
292
|
*
|
|
285
293
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
286
|
-
* @path
|
|
294
|
+
* @path GET `/inline-comments/{id}/versions/{version-number}`
|
|
287
295
|
* @scopes-current read:comment:confluence
|
|
288
296
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-inline-comments-id-versions-version-number-get
|
|
297
|
+
* @param params
|
|
289
298
|
*/
|
|
290
299
|
this.getInlineCommentVersionDetails = ({ id, versionNumber, }) => {
|
|
291
300
|
return this.getClientInstance()
|
|
@@ -314,9 +323,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
314
323
|
* space.
|
|
315
324
|
*
|
|
316
325
|
* @returns Returned if the requested inline comment versions are returned.
|
|
317
|
-
* @path
|
|
326
|
+
* @path GET `/inline-comments/{id}/versions`
|
|
318
327
|
* @scopes-current read:comment:confluence
|
|
319
328
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-inline-comments-id-versions-get
|
|
329
|
+
* @param params
|
|
320
330
|
*/
|
|
321
331
|
this.getInlineCommentVersions = ({ id, bodyFormat, cursor, limit, sort, }) => {
|
|
322
332
|
return this.getClientInstance()
|
|
@@ -349,9 +359,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
349
359
|
* Permission to view the page.
|
|
350
360
|
*
|
|
351
361
|
* @returns Returned if the requested version details are successfully retrieved.
|
|
352
|
-
* @path
|
|
362
|
+
* @path GET `/pages/{page-id}/versions/{version-number}`
|
|
353
363
|
* @scopes-current read:page:confluence
|
|
354
364
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-pages-page-id-versions-version-number-get
|
|
365
|
+
* @param params
|
|
355
366
|
*/
|
|
356
367
|
this.getPageVersionDetails = ({ pageId, versionNumber, }) => {
|
|
357
368
|
return this.getClientInstance()
|
|
@@ -379,9 +390,10 @@ class VersionService extends CommonHttpService_1.CommonHttpService {
|
|
|
379
390
|
* Permission to view the page and its corresponding space.
|
|
380
391
|
*
|
|
381
392
|
* @returns Returned if the requested page versions are returned.
|
|
382
|
-
* @path
|
|
393
|
+
* @path GET `/pages/{id}/versions`
|
|
383
394
|
* @scopes-current read:page:confluence
|
|
384
395
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version#api-pages-id-versions-get
|
|
396
|
+
* @param params
|
|
385
397
|
*/
|
|
386
398
|
this.getPageVersions = ({ id, bodyFormat, cursor, limit, sort, }) => {
|
|
387
399
|
return this.getClientInstance()
|