@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
|
@@ -5,8 +5,8 @@ exports.LabelService = 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 validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label */
|
|
@@ -23,9 +23,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
23
23
|
* space.
|
|
24
24
|
*
|
|
25
25
|
* @returns Returned if the requested labels are returned.
|
|
26
|
-
* @path
|
|
26
|
+
* @path GET `/attachments/{id}/labels`
|
|
27
27
|
* @scopes-current read:attachment:confluence
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-attachments-id-labels-get
|
|
29
|
+
* @param params
|
|
29
30
|
*/
|
|
30
31
|
this.getAttachmentLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
31
32
|
return this.getClientInstance()
|
|
@@ -60,9 +61,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
60
61
|
* Permission to view the content of the blog post and its corresponding space.
|
|
61
62
|
*
|
|
62
63
|
* @returns Returned if the requested labels are returned.
|
|
63
|
-
* @path
|
|
64
|
+
* @path GET `/blogposts/{id}/labels`
|
|
64
65
|
* @scopes-current read:page:confluence
|
|
65
66
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-blogposts-id-labels-get
|
|
67
|
+
* @param params
|
|
66
68
|
*/
|
|
67
69
|
this.getBlogPostLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
68
70
|
return this.getClientInstance()
|
|
@@ -98,9 +100,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
98
100
|
* Permission to view the custom content and its corresponding space.
|
|
99
101
|
*
|
|
100
102
|
* @returns Returned if the requested labels are returned.
|
|
101
|
-
* @path
|
|
103
|
+
* @path GET `/custom-content/{id}/labels`
|
|
102
104
|
* @scopes-current read:custom-content:confluence
|
|
103
105
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-custom-content-id-labels-get
|
|
106
|
+
* @param params
|
|
104
107
|
*/
|
|
105
108
|
this.getCustomContentLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
106
109
|
return this.getClientInstance()
|
|
@@ -136,9 +139,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
136
139
|
* Only labels that the user has permission to view will be returned.
|
|
137
140
|
*
|
|
138
141
|
* @returns Returned if the requested labels are returned.
|
|
139
|
-
* @path
|
|
142
|
+
* @path GET `/labels`
|
|
140
143
|
* @scopes-current read:label:confluence
|
|
141
144
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-labels-get
|
|
145
|
+
* @param params
|
|
142
146
|
*/
|
|
143
147
|
this.getLabels = ({ labelId, prefix, cursor, sort, limit, } = {}) => {
|
|
144
148
|
return this.getClientInstance()
|
|
@@ -171,9 +175,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
171
175
|
* Permission to view the content of the page and its corresponding space.
|
|
172
176
|
*
|
|
173
177
|
* @returns Returned if the requested labels are returned.
|
|
174
|
-
* @path
|
|
178
|
+
* @path GET `/pages/{id}/labels`
|
|
175
179
|
* @scopes-current read:page:confluence
|
|
176
180
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-pages-id-labels-get
|
|
181
|
+
* @param params
|
|
177
182
|
*/
|
|
178
183
|
this.getPageLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
179
184
|
return this.getClientInstance()
|
|
@@ -209,9 +214,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
209
214
|
* Permission to view the space.
|
|
210
215
|
*
|
|
211
216
|
* @returns Returned if the requested labels are returned.
|
|
212
|
-
* @path
|
|
217
|
+
* @path GET `/spaces/{id}/content/labels`
|
|
213
218
|
* @scopes-current read:space:confluence
|
|
214
219
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-content-labels-get
|
|
220
|
+
* @param params
|
|
215
221
|
*/
|
|
216
222
|
this.getSpaceContentLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
217
223
|
return this.getClientInstance()
|
|
@@ -246,9 +252,10 @@ class LabelService extends CommonHttpService_1.CommonHttpService {
|
|
|
246
252
|
* Permission to view the space.
|
|
247
253
|
*
|
|
248
254
|
* @returns Returned if the requested labels are returned.
|
|
249
|
-
* @path
|
|
255
|
+
* @path GET `/spaces/{id}/labels`
|
|
250
256
|
* @scopes-current read:space:confluence
|
|
251
257
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label#api-spaces-id-labels-get
|
|
258
|
+
* @param params
|
|
252
259
|
*/
|
|
253
260
|
this.getSpaceLabels = ({ id, prefix, sort, cursor, limit, }) => {
|
|
254
261
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LabelService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"LabelService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LabelService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAI0B;AAC1B,wEAAqE;AACrE,oFAAoF;AACpF,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;;;;;WAcG;QACH,wBAAmB,GAAG,CAAC,EACrB,EAAE,EACF,MAAM,EACN,IAAI,EACJ,MAAM,EACN,KAAK,GAoBN,EAOC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBA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AAI,EAAE,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC;qBACP,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;qBAC5C,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,sCAAsC,EACtC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC;qBACP,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;qBAC5C,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,sCAAsC,CAAC,CACpD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA7uBD,oCA6uBC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type Like, type MultiEntityLinks } from "../models/common";
|
|
3
3
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like */
|
|
4
4
|
export declare class LikeService extends CommonHttpService {
|
|
@@ -9,9 +9,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
9
9
|
* Permission to view the content of the blog post and its corresponding space.
|
|
10
10
|
*
|
|
11
11
|
* @returns Returned if the requested count is returned.
|
|
12
|
-
* @path
|
|
12
|
+
* @path GET `/blogposts/{id}/likes/count`
|
|
13
13
|
* @scopes-current read:page:confluence
|
|
14
14
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-count-get
|
|
15
|
+
* @param params
|
|
15
16
|
*/
|
|
16
17
|
getBlogPostLikeCount: ({ id, }: {
|
|
17
18
|
/** The ID of the blog post for which like count should be returned. */
|
|
@@ -29,9 +30,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
29
30
|
* Permission to view the content of the blog post and its corresponding space.
|
|
30
31
|
*
|
|
31
32
|
* @returns Returned if the requested account IDs are returned.
|
|
32
|
-
* @path
|
|
33
|
+
* @path GET `/blogposts/{id}/likes/users`
|
|
33
34
|
* @scopes-current read:page:confluence
|
|
34
35
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-users-get
|
|
36
|
+
* @param params
|
|
35
37
|
*/
|
|
36
38
|
getBlogPostLikeUsers: ({ id, cursor, limit, }: {
|
|
37
39
|
/** The ID of the blog post for which account IDs should be returned. */
|
|
@@ -61,9 +63,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
61
63
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
62
64
|
*
|
|
63
65
|
* @returns Returned if the requested count is returned.
|
|
64
|
-
* @path
|
|
66
|
+
* @path GET `/footer-comments/{id}/likes/count`
|
|
65
67
|
* @scopes-current read:comment:confluence
|
|
66
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-count-get
|
|
69
|
+
* @param params
|
|
67
70
|
*/
|
|
68
71
|
getFooterLikeCount: ({ id, }: {
|
|
69
72
|
/** The ID of the footer comment for which like count should be returned. */
|
|
@@ -81,9 +84,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
81
84
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
82
85
|
*
|
|
83
86
|
* @returns Returned if the requested account IDs are returned.
|
|
84
|
-
* @path
|
|
87
|
+
* @path GET `/footer-comments/{id}/likes/users`
|
|
85
88
|
* @scopes-current read:comment:confluence
|
|
86
89
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-users-get
|
|
90
|
+
* @param params
|
|
87
91
|
*/
|
|
88
92
|
getFooterLikeUsers: ({ id, cursor, limit, }: {
|
|
89
93
|
/** The ID of the footer comment for which like count should be returned. */
|
|
@@ -113,9 +117,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
113
117
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
114
118
|
*
|
|
115
119
|
* @returns Returned if the requested count is returned.
|
|
116
|
-
* @path
|
|
120
|
+
* @path GET `/inline-comments/{id}/likes/count`
|
|
117
121
|
* @scopes-current read:comment:confluence
|
|
118
122
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-count-get
|
|
123
|
+
* @param params
|
|
119
124
|
*/
|
|
120
125
|
getInlineLikeCount: ({ id, }: {
|
|
121
126
|
/** The ID of the inline comment for which like count should be returned. */
|
|
@@ -133,9 +138,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
133
138
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
134
139
|
*
|
|
135
140
|
* @returns Returned if the requested account IDs are returned.
|
|
136
|
-
* @path
|
|
141
|
+
* @path GET `/inline-comments/{id}/likes/users`
|
|
137
142
|
* @scopes-current read:comment:confluence
|
|
138
143
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-users-get
|
|
144
|
+
* @param params
|
|
139
145
|
*/
|
|
140
146
|
getInlineLikeUsers: ({ id, cursor, limit, }: {
|
|
141
147
|
/** The ID of the inline comment for which like count should be returned. */
|
|
@@ -165,9 +171,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
165
171
|
* Permission to view the content of the page and its corresponding space.
|
|
166
172
|
*
|
|
167
173
|
* @returns Returned if the requested count is returned.
|
|
168
|
-
* @path
|
|
174
|
+
* @path GET `/pages/{id}/likes/count`
|
|
169
175
|
* @scopes-current read:page:confluence
|
|
170
176
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-count-get
|
|
177
|
+
* @param params
|
|
171
178
|
*/
|
|
172
179
|
getPageLikeCount: ({ id, }: {
|
|
173
180
|
/** The ID of the page for which like count should be returned. */
|
|
@@ -185,9 +192,10 @@ export declare class LikeService extends CommonHttpService {
|
|
|
185
192
|
* Permission to view the content of the page and its corresponding space.
|
|
186
193
|
*
|
|
187
194
|
* @returns Returned if the requested account IDs are returned.
|
|
188
|
-
* @path
|
|
195
|
+
* @path GET `/pages/{id}/likes/users`
|
|
189
196
|
* @scopes-current read:page:confluence
|
|
190
197
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-users-get
|
|
198
|
+
* @param params
|
|
191
199
|
*/
|
|
192
200
|
getPageLikeUsers: ({ id, cursor, limit, }: {
|
|
193
201
|
/** The ID of the page for which like count should be returned. */
|
|
@@ -5,8 +5,8 @@ exports.LikeService = 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 validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like */
|
|
@@ -20,9 +20,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
20
20
|
* Permission to view the content of the blog post and its corresponding space.
|
|
21
21
|
*
|
|
22
22
|
* @returns Returned if the requested count is returned.
|
|
23
|
-
* @path
|
|
23
|
+
* @path GET `/blogposts/{id}/likes/count`
|
|
24
24
|
* @scopes-current read:page:confluence
|
|
25
25
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-count-get
|
|
26
|
+
* @param params
|
|
26
27
|
*/
|
|
27
28
|
this.getBlogPostLikeCount = ({ id, }) => {
|
|
28
29
|
return this.getClientInstance()
|
|
@@ -49,9 +50,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
49
50
|
* Permission to view the content of the blog post and its corresponding space.
|
|
50
51
|
*
|
|
51
52
|
* @returns Returned if the requested account IDs are returned.
|
|
52
|
-
* @path
|
|
53
|
+
* @path GET `/blogposts/{id}/likes/users`
|
|
53
54
|
* @scopes-current read:page:confluence
|
|
54
55
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-users-get
|
|
56
|
+
* @param params
|
|
55
57
|
*/
|
|
56
58
|
this.getBlogPostLikeUsers = ({ id, cursor, limit, }) => {
|
|
57
59
|
return this.getClientInstance()
|
|
@@ -82,9 +84,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
82
84
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
83
85
|
*
|
|
84
86
|
* @returns Returned if the requested count is returned.
|
|
85
|
-
* @path
|
|
87
|
+
* @path GET `/footer-comments/{id}/likes/count`
|
|
86
88
|
* @scopes-current read:comment:confluence
|
|
87
89
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-count-get
|
|
90
|
+
* @param params
|
|
88
91
|
*/
|
|
89
92
|
this.getFooterLikeCount = ({ id, }) => {
|
|
90
93
|
return this.getClientInstance()
|
|
@@ -111,9 +114,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
111
114
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
112
115
|
*
|
|
113
116
|
* @returns Returned if the requested account IDs are returned.
|
|
114
|
-
* @path
|
|
117
|
+
* @path GET `/footer-comments/{id}/likes/users`
|
|
115
118
|
* @scopes-current read:comment:confluence
|
|
116
119
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-users-get
|
|
120
|
+
* @param params
|
|
117
121
|
*/
|
|
118
122
|
this.getFooterLikeUsers = ({ id, cursor, limit, }) => {
|
|
119
123
|
return this.getClientInstance()
|
|
@@ -144,9 +148,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
144
148
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
145
149
|
*
|
|
146
150
|
* @returns Returned if the requested count is returned.
|
|
147
|
-
* @path
|
|
151
|
+
* @path GET `/inline-comments/{id}/likes/count`
|
|
148
152
|
* @scopes-current read:comment:confluence
|
|
149
153
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-count-get
|
|
154
|
+
* @param params
|
|
150
155
|
*/
|
|
151
156
|
this.getInlineLikeCount = ({ id, }) => {
|
|
152
157
|
return this.getClientInstance()
|
|
@@ -173,9 +178,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
173
178
|
* Permission to view the content of the page/blogpost and its corresponding space.
|
|
174
179
|
*
|
|
175
180
|
* @returns Returned if the requested account IDs are returned.
|
|
176
|
-
* @path
|
|
181
|
+
* @path GET `/inline-comments/{id}/likes/users`
|
|
177
182
|
* @scopes-current read:comment:confluence
|
|
178
183
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-users-get
|
|
184
|
+
* @param params
|
|
179
185
|
*/
|
|
180
186
|
this.getInlineLikeUsers = ({ id, cursor, limit, }) => {
|
|
181
187
|
return this.getClientInstance()
|
|
@@ -206,9 +212,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
206
212
|
* Permission to view the content of the page and its corresponding space.
|
|
207
213
|
*
|
|
208
214
|
* @returns Returned if the requested count is returned.
|
|
209
|
-
* @path
|
|
215
|
+
* @path GET `/pages/{id}/likes/count`
|
|
210
216
|
* @scopes-current read:page:confluence
|
|
211
217
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-count-get
|
|
218
|
+
* @param params
|
|
212
219
|
*/
|
|
213
220
|
this.getPageLikeCount = ({ id, }) => {
|
|
214
221
|
return this.getClientInstance()
|
|
@@ -235,9 +242,10 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
235
242
|
* Permission to view the content of the page and its corresponding space.
|
|
236
243
|
*
|
|
237
244
|
* @returns Returned if the requested account IDs are returned.
|
|
238
|
-
* @path
|
|
245
|
+
* @path GET `/pages/{id}/likes/users`
|
|
239
246
|
* @scopes-current read:page:confluence
|
|
240
247
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-users-get
|
|
248
|
+
* @param params
|
|
241
249
|
*/
|
|
242
250
|
this.getPageLikeUsers = ({ id, cursor, limit, }) => {
|
|
243
251
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LikeService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LikeService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"LikeService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LikeService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAI0B;AAC1B,wEAAqE;AACrE,mFAAmF;AACnF,MAAa,WAAY,SAAQ,qCAAiB;IAAlD;;QACE;;;;;;;;;;;WAWG;QACH,yBAAoB,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HttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type PermittedOperationsResponse } from "../models/operation";
|
|
3
3
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation */
|
|
4
4
|
export declare class OperationService extends CommonHttpService {
|
|
@@ -10,9 +10,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
10
10
|
* space.
|
|
11
11
|
*
|
|
12
12
|
* @returns Returned if the requested operations are returned.
|
|
13
|
-
* @path
|
|
13
|
+
* @path GET `/attachments/{id}/operations`
|
|
14
14
|
* @scopes-current read:attachment:confluence
|
|
15
15
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-attachments-id-operations-get
|
|
16
|
+
* @param params
|
|
16
17
|
*/
|
|
17
18
|
getAttachmentOperations: ({ id, }: {
|
|
18
19
|
/** The ID of the attachment for which operations should be returned. */
|
|
@@ -26,9 +27,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
26
27
|
* space.
|
|
27
28
|
*
|
|
28
29
|
* @returns Returned if the requested operations are returned.
|
|
29
|
-
* @path
|
|
30
|
+
* @path GET `/blogposts/{id}/operations`
|
|
30
31
|
* @scopes-current read:page:confluence
|
|
31
32
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-blogposts-id-operations-get
|
|
33
|
+
* @param params
|
|
32
34
|
*/
|
|
33
35
|
getBlogPostOperations: ({ id, }: {
|
|
34
36
|
/** The ID of the blog post for which operations should be returned. */
|
|
@@ -42,9 +44,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
42
44
|
* corresponding space.
|
|
43
45
|
*
|
|
44
46
|
* @returns Returned if the requested operations are returned.
|
|
45
|
-
* @path
|
|
47
|
+
* @path GET `/custom-content/{id}/operations`
|
|
46
48
|
* @scopes-current read:custom-content:confluence
|
|
47
49
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-custom-content-id-operations-get
|
|
50
|
+
* @param params
|
|
48
51
|
*/
|
|
49
52
|
getCustomContentOperations: ({ id, }: {
|
|
50
53
|
/** The ID of the custom content for which operations should be returned. */
|
|
@@ -57,9 +60,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
57
60
|
* Permission to view the database and its corresponding space.
|
|
58
61
|
*
|
|
59
62
|
* @returns Returned if the requested operations are returned.
|
|
60
|
-
* @path
|
|
63
|
+
* @path GET `/databases/{id}/operations`
|
|
61
64
|
* @scopes-current read:database:confluence
|
|
62
65
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-databases-id-operations-get
|
|
66
|
+
* @param params
|
|
63
67
|
*/
|
|
64
68
|
getDatabaseOperations: ({ id, }: {
|
|
65
69
|
/** The ID of the database for which operations should be returned. */
|
|
@@ -73,9 +77,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
73
77
|
* corresponding space.
|
|
74
78
|
*
|
|
75
79
|
* @returns Returned if the requested operations are returned.
|
|
76
|
-
* @path
|
|
80
|
+
* @path GET `/footer-comments/{id}/operations`
|
|
77
81
|
* @scopes-current read:comment:confluence
|
|
78
82
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-footer-comments-id-operations-get
|
|
83
|
+
* @param params
|
|
79
84
|
*/
|
|
80
85
|
getFooterCommentOperations: ({ id, }: {
|
|
81
86
|
/** The ID of the footer comment for which operations should be returned. */
|
|
@@ -89,9 +94,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
89
94
|
* corresponding space.
|
|
90
95
|
*
|
|
91
96
|
* @returns Returned if the requested operations are returned.
|
|
92
|
-
* @path
|
|
97
|
+
* @path GET `/inline-comments/{id}/operations`
|
|
93
98
|
* @scopes-current read:comment:confluence
|
|
94
99
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-inline-comments-id-operations-get
|
|
100
|
+
* @param params
|
|
95
101
|
*/
|
|
96
102
|
getInlineCommentOperations: ({ id, }: {
|
|
97
103
|
/** The ID of the inline comment for which operations should be returned. */
|
|
@@ -104,9 +110,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
104
110
|
* Permission to view the parent content of the page and its corresponding space.
|
|
105
111
|
*
|
|
106
112
|
* @returns Returned if the requested operations are returned.
|
|
107
|
-
* @path
|
|
113
|
+
* @path GET `/pages/{id}/operations`
|
|
108
114
|
* @scopes-current read:page:confluence
|
|
109
115
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-pages-id-operations-get
|
|
116
|
+
* @param params
|
|
110
117
|
*/
|
|
111
118
|
getPageOperations: ({ id, }: {
|
|
112
119
|
/** The ID of the page for which operations should be returned. */
|
|
@@ -120,9 +127,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
120
127
|
* space.
|
|
121
128
|
*
|
|
122
129
|
* @returns Returned if the requested operations are returned.
|
|
123
|
-
* @path
|
|
130
|
+
* @path GET `/embeds/{id}/operations`
|
|
124
131
|
* @scopes-current read:embed:confluence
|
|
125
132
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-embeds-id-operations-get
|
|
133
|
+
* @param params
|
|
126
134
|
*/
|
|
127
135
|
getSmartLinkOperations: ({ id, }: {
|
|
128
136
|
/**
|
|
@@ -138,9 +146,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
138
146
|
* Permission to view the corresponding space.
|
|
139
147
|
*
|
|
140
148
|
* @returns Returned if the requested operations are returned.
|
|
141
|
-
* @path
|
|
149
|
+
* @path GET `/spaces/{id}/operations`
|
|
142
150
|
* @scopes-current read:space:confluence
|
|
143
151
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-spaces-id-operations-get
|
|
152
|
+
* @param params
|
|
144
153
|
*/
|
|
145
154
|
getSpaceOperations: ({ id, }: {
|
|
146
155
|
/** The ID of the space for which operations should be returned. */
|
|
@@ -153,9 +162,10 @@ export declare class OperationService extends CommonHttpService {
|
|
|
153
162
|
* Permission to view the whiteboard and its corresponding space.
|
|
154
163
|
*
|
|
155
164
|
* @returns Returned if the requested operations are returned.
|
|
156
|
-
* @path
|
|
165
|
+
* @path GET `/whiteboards/{id}/operations`
|
|
157
166
|
* @scopes-current read:whiteboard:confluence
|
|
158
167
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-whiteboards-id-operations-get
|
|
168
|
+
* @param params
|
|
159
169
|
*/
|
|
160
170
|
getWhiteboardOperations: ({ id, }: {
|
|
161
171
|
/** The ID of the whiteboard for which operations should be returned. */
|
|
@@ -5,8 +5,8 @@ exports.OperationService = 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 operation_1 = require("../models/operation");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/** @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation */
|
|
@@ -21,9 +21,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
21
21
|
* space.
|
|
22
22
|
*
|
|
23
23
|
* @returns Returned if the requested operations are returned.
|
|
24
|
-
* @path
|
|
24
|
+
* @path GET `/attachments/{id}/operations`
|
|
25
25
|
* @scopes-current read:attachment:confluence
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-attachments-id-operations-get
|
|
27
|
+
* @param params
|
|
27
28
|
*/
|
|
28
29
|
this.getAttachmentOperations = ({ id, }) => {
|
|
29
30
|
return this.getClientInstance()
|
|
@@ -51,9 +52,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
51
52
|
* space.
|
|
52
53
|
*
|
|
53
54
|
* @returns Returned if the requested operations are returned.
|
|
54
|
-
* @path
|
|
55
|
+
* @path GET `/blogposts/{id}/operations`
|
|
55
56
|
* @scopes-current read:page:confluence
|
|
56
57
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-blogposts-id-operations-get
|
|
58
|
+
* @param params
|
|
57
59
|
*/
|
|
58
60
|
this.getBlogPostOperations = ({ id, }) => {
|
|
59
61
|
return this.getClientInstance()
|
|
@@ -81,9 +83,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
81
83
|
* corresponding space.
|
|
82
84
|
*
|
|
83
85
|
* @returns Returned if the requested operations are returned.
|
|
84
|
-
* @path
|
|
86
|
+
* @path GET `/custom-content/{id}/operations`
|
|
85
87
|
* @scopes-current read:custom-content:confluence
|
|
86
88
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-custom-content-id-operations-get
|
|
89
|
+
* @param params
|
|
87
90
|
*/
|
|
88
91
|
this.getCustomContentOperations = ({ id, }) => {
|
|
89
92
|
return this.getClientInstance()
|
|
@@ -110,9 +113,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
110
113
|
* Permission to view the database and its corresponding space.
|
|
111
114
|
*
|
|
112
115
|
* @returns Returned if the requested operations are returned.
|
|
113
|
-
* @path
|
|
116
|
+
* @path GET `/databases/{id}/operations`
|
|
114
117
|
* @scopes-current read:database:confluence
|
|
115
118
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-databases-id-operations-get
|
|
119
|
+
* @param params
|
|
116
120
|
*/
|
|
117
121
|
this.getDatabaseOperations = ({ id, }) => {
|
|
118
122
|
return this.getClientInstance()
|
|
@@ -140,9 +144,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
140
144
|
* corresponding space.
|
|
141
145
|
*
|
|
142
146
|
* @returns Returned if the requested operations are returned.
|
|
143
|
-
* @path
|
|
147
|
+
* @path GET `/footer-comments/{id}/operations`
|
|
144
148
|
* @scopes-current read:comment:confluence
|
|
145
149
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-footer-comments-id-operations-get
|
|
150
|
+
* @param params
|
|
146
151
|
*/
|
|
147
152
|
this.getFooterCommentOperations = ({ id, }) => {
|
|
148
153
|
return this.getClientInstance()
|
|
@@ -170,9 +175,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
170
175
|
* corresponding space.
|
|
171
176
|
*
|
|
172
177
|
* @returns Returned if the requested operations are returned.
|
|
173
|
-
* @path
|
|
178
|
+
* @path GET `/inline-comments/{id}/operations`
|
|
174
179
|
* @scopes-current read:comment:confluence
|
|
175
180
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-inline-comments-id-operations-get
|
|
181
|
+
* @param params
|
|
176
182
|
*/
|
|
177
183
|
this.getInlineCommentOperations = ({ id, }) => {
|
|
178
184
|
return this.getClientInstance()
|
|
@@ -199,9 +205,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
199
205
|
* Permission to view the parent content of the page and its corresponding space.
|
|
200
206
|
*
|
|
201
207
|
* @returns Returned if the requested operations are returned.
|
|
202
|
-
* @path
|
|
208
|
+
* @path GET `/pages/{id}/operations`
|
|
203
209
|
* @scopes-current read:page:confluence
|
|
204
210
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-pages-id-operations-get
|
|
211
|
+
* @param params
|
|
205
212
|
*/
|
|
206
213
|
this.getPageOperations = ({ id, }) => {
|
|
207
214
|
return this.getClientInstance()
|
|
@@ -229,9 +236,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
229
236
|
* space.
|
|
230
237
|
*
|
|
231
238
|
* @returns Returned if the requested operations are returned.
|
|
232
|
-
* @path
|
|
239
|
+
* @path GET `/embeds/{id}/operations`
|
|
233
240
|
* @scopes-current read:embed:confluence
|
|
234
241
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-embeds-id-operations-get
|
|
242
|
+
* @param params
|
|
235
243
|
*/
|
|
236
244
|
this.getSmartLinkOperations = ({ id, }) => {
|
|
237
245
|
return this.getClientInstance()
|
|
@@ -258,9 +266,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
258
266
|
* Permission to view the corresponding space.
|
|
259
267
|
*
|
|
260
268
|
* @returns Returned if the requested operations are returned.
|
|
261
|
-
* @path
|
|
269
|
+
* @path GET `/spaces/{id}/operations`
|
|
262
270
|
* @scopes-current read:space:confluence
|
|
263
271
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-spaces-id-operations-get
|
|
272
|
+
* @param params
|
|
264
273
|
*/
|
|
265
274
|
this.getSpaceOperations = ({ id, }) => {
|
|
266
275
|
return this.getClientInstance()
|
|
@@ -287,9 +296,10 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
287
296
|
* Permission to view the whiteboard and its corresponding space.
|
|
288
297
|
*
|
|
289
298
|
* @returns Returned if the requested operations are returned.
|
|
290
|
-
* @path
|
|
299
|
+
* @path GET `/whiteboards/{id}/operations`
|
|
291
300
|
* @scopes-current read:whiteboard:confluence
|
|
292
301
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-whiteboards-id-operations-get
|
|
302
|
+
* @param params
|
|
293
303
|
*/
|
|
294
304
|
this.getWhiteboardOperations = ({ id, }) => {
|
|
295
305
|
return this.getClientInstance()
|