@resolution/confluence-api-client 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +360 -0
- package/lib/openapi/core/CommonHttpClient.d.ts +19 -19
- package/lib/openapi/core/CommonHttpClient.js +148 -233
- package/lib/openapi/core/CommonHttpClient.js.map +1 -1
- package/lib/openapi/core/CommonHttpService.d.ts +1 -1
- package/lib/openapi/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/core/CommonValidationSchemaStorage.d.ts +4 -4
- package/lib/openapi/core/CommonValidationSchemaStorage.js +2 -4
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +3 -3
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/audit.d.ts +2 -2
- package/lib/openapi/v1/models/audit.js +31 -90
- package/lib/openapi/v1/models/audit.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +2 -2
- package/lib/openapi/v1/models/common.js +188 -463
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +2 -2
- package/lib/openapi/v1/models/content.js +205 -491
- package/lib/openapi/v1/models/content.js.map +1 -1
- package/lib/openapi/v1/models/contentAttachments.d.ts +1 -1
- package/lib/openapi/v1/models/contentAttachments.js +8 -19
- package/lib/openapi/v1/models/contentAttachments.js.map +1 -1
- package/lib/openapi/v1/models/contentBody.d.ts +2 -2
- package/lib/openapi/v1/models/contentBody.js +20 -59
- package/lib/openapi/v1/models/contentBody.js.map +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js +16 -40
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -1
- package/lib/openapi/v1/models/contentLabels.d.ts +1 -1
- package/lib/openapi/v1/models/contentLabels.js +2 -7
- package/lib/openapi/v1/models/contentLabels.js.map +1 -1
- package/lib/openapi/v1/models/contentMacroBody.d.ts +1 -1
- package/lib/openapi/v1/models/contentMacroBody.js +4 -10
- package/lib/openapi/v1/models/contentMacroBody.js.map +1 -1
- package/lib/openapi/v1/models/contentPermissions.d.ts +2 -2
- package/lib/openapi/v1/models/contentPermissions.js +10 -22
- package/lib/openapi/v1/models/contentPermissions.js.map +1 -1
- package/lib/openapi/v1/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v1/models/contentProperties.js +25 -71
- package/lib/openapi/v1/models/contentProperties.js.map +1 -1
- package/lib/openapi/v1/models/contentRestrictions.d.ts +2 -2
- package/lib/openapi/v1/models/contentRestrictions.js +17 -57
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
- package/lib/openapi/v1/models/contentStates.d.ts +1 -1
- package/lib/openapi/v1/models/contentStates.js +15 -35
- package/lib/openapi/v1/models/contentStates.js.map +1 -1
- package/lib/openapi/v1/models/contentVersions.d.ts +2 -2
- package/lib/openapi/v1/models/contentVersions.js +9 -20
- package/lib/openapi/v1/models/contentVersions.js.map +1 -1
- package/lib/openapi/v1/models/contentWatches.d.ts +2 -2
- package/lib/openapi/v1/models/contentWatches.js +21 -46
- package/lib/openapi/v1/models/contentWatches.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +1 -1
- package/lib/openapi/v1/models/dynamicModules.js +6 -15
- 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/group.js +6 -15
- package/lib/openapi/v1/models/group.js.map +1 -1
- package/lib/openapi/v1/models/inlineTasks.d.ts +1 -1
- package/lib/openapi/v1/models/inlineTasks.js +10 -22
- package/lib/openapi/v1/models/inlineTasks.js.map +1 -1
- package/lib/openapi/v1/models/labelInfo.d.ts +1 -1
- package/lib/openapi/v1/models/labelInfo.js +11 -27
- package/lib/openapi/v1/models/labelInfo.js.map +1 -1
- package/lib/openapi/v1/models/longRunningTask.d.ts +2 -2
- package/lib/openapi/v1/models/longRunningTask.js +20 -42
- package/lib/openapi/v1/models/longRunningTask.js.map +1 -1
- package/lib/openapi/v1/models/relation.d.ts +2 -2
- package/lib/openapi/v1/models/relation.js +16 -45
- package/lib/openapi/v1/models/relation.js.map +1 -1
- package/lib/openapi/v1/models/search.d.ts +2 -2
- package/lib/openapi/v1/models/search.js +15 -34
- package/lib/openapi/v1/models/search.js.map +1 -1
- package/lib/openapi/v1/models/settings.d.ts +2 -2
- package/lib/openapi/v1/models/settings.js +13 -29
- package/lib/openapi/v1/models/settings.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +2 -2
- package/lib/openapi/v1/models/space.js +31 -69
- 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/spacePermissions.js +23 -86
- package/lib/openapi/v1/models/spacePermissions.js.map +1 -1
- package/lib/openapi/v1/models/spaceProperties.d.ts +2 -2
- package/lib/openapi/v1/models/spaceProperties.js +26 -71
- package/lib/openapi/v1/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v1/models/spaceSettings.d.ts +1 -1
- package/lib/openapi/v1/models/spaceSettings.js +3 -9
- package/lib/openapi/v1/models/spaceSettings.js.map +1 -1
- package/lib/openapi/v1/models/template.d.ts +2 -2
- package/lib/openapi/v1/models/template.js +45 -103
- package/lib/openapi/v1/models/template.js.map +1 -1
- package/lib/openapi/v1/models/themes.d.ts +1 -1
- package/lib/openapi/v1/models/themes.js +10 -22
- package/lib/openapi/v1/models/themes.js.map +1 -1
- package/lib/openapi/v1/models/userProperties.d.ts +1 -1
- package/lib/openapi/v1/models/userProperties.js +16 -33
- package/lib/openapi/v1/models/userProperties.js.map +1 -1
- package/lib/openapi/v1/models/users.d.ts +2 -2
- package/lib/openapi/v1/models/users.js +25 -57
- package/lib/openapi/v1/models/users.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +2 -2
- package/lib/openapi/v1/services/AnalyticsService.js +29 -47
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +6 -6
- package/lib/openapi/v1/services/AuditService.js +67 -109
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentAttachmentsService.js +72 -109
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentBodyService.js +67 -105
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +9 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +103 -157
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.js +16 -23
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentLabelsService.js +36 -54
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentMacroBodyService.js +43 -67
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js +14 -23
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentPropertiesService.js +73 -112
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentRestrictionsService.js +127 -184
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +12 -12
- package/lib/openapi/v1/services/ContentService.js +137 -205
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +8 -8
- package/lib/openapi/v1/services/ContentStatesService.js +96 -155
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentVersionsService.js +53 -79
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentWatchesService.js +113 -169
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +2 -2
- package/lib/openapi/v1/services/DynamicModulesService.js +24 -37
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +5 -5
- package/lib/openapi/v1/services/ExperimentalService.js +42 -65
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +10 -10
- package/lib/openapi/v1/services/GroupService.js +76 -117
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +4 -4
- package/lib/openapi/v1/services/InlineTasksService.js +36 -59
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +1 -1
- package/lib/openapi/v1/services/LabelInfoService.js +12 -19
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +2 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js +24 -40
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +6 -6
- package/lib/openapi/v1/services/RelationService.js +64 -94
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +2 -2
- package/lib/openapi/v1/services/SearchService.js +29 -43
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +6 -6
- package/lib/openapi/v1/services/SettingsService.js +61 -98
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +4 -4
- package/lib/openapi/v1/services/SpacePermissionsService.js +25 -38
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +7 -7
- package/lib/openapi/v1/services/SpacePropertiesService.js +73 -112
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +9 -9
- package/lib/openapi/v1/services/SpaceService.js +108 -169
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +2 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js +24 -38
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +7 -7
- package/lib/openapi/v1/services/TemplateService.js +67 -104
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +5 -5
- package/lib/openapi/v1/services/ThemesService.js +61 -101
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +6 -6
- package/lib/openapi/v1/services/UserPropertiesService.js +42 -64
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +9 -9
- package/lib/openapi/v1/services/UsersService.js +94 -146
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v1/validationSchemaStorage.d.ts +2 -2
- package/lib/openapi/v1/validationSchemaStorage.js +12 -22
- package/lib/openapi/v1/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +1 -1
- 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/ancestors.js +4 -12
- package/lib/openapi/v2/models/ancestors.js.map +1 -1
- package/lib/openapi/v2/models/attachment.d.ts +2 -2
- package/lib/openapi/v2/models/attachment.js +26 -71
- package/lib/openapi/v2/models/attachment.js.map +1 -1
- package/lib/openapi/v2/models/blogPost.d.ts +2 -2
- package/lib/openapi/v2/models/blogPost.js +37 -102
- package/lib/openapi/v2/models/blogPost.js.map +1 -1
- package/lib/openapi/v2/models/children.d.ts +1 -1
- package/lib/openapi/v2/models/children.js +9 -24
- package/lib/openapi/v2/models/children.js.map +1 -1
- package/lib/openapi/v2/models/classificationLevel.d.ts +1 -1
- package/lib/openapi/v2/models/classificationLevel.js +6 -32
- package/lib/openapi/v2/models/classificationLevel.js.map +1 -1
- package/lib/openapi/v2/models/comment.d.ts +2 -2
- package/lib/openapi/v2/models/comment.js +107 -272
- package/lib/openapi/v2/models/comment.js.map +1 -1
- package/lib/openapi/v2/models/common.d.ts +1 -1
- package/lib/openapi/v2/models/common.js +84 -214
- package/lib/openapi/v2/models/common.js.map +1 -1
- package/lib/openapi/v2/models/content.d.ts +1 -1
- package/lib/openapi/v2/models/content.js +3 -21
- package/lib/openapi/v2/models/content.js.map +1 -1
- package/lib/openapi/v2/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v2/models/contentProperties.js +8 -20
- package/lib/openapi/v2/models/contentProperties.js.map +1 -1
- package/lib/openapi/v2/models/customContent.d.ts +2 -2
- package/lib/openapi/v2/models/customContent.js +43 -121
- package/lib/openapi/v2/models/customContent.js.map +1 -1
- package/lib/openapi/v2/models/dataPolicies.d.ts +1 -1
- package/lib/openapi/v2/models/dataPolicies.js +11 -25
- package/lib/openapi/v2/models/dataPolicies.js.map +1 -1
- package/lib/openapi/v2/models/database.d.ts +1 -1
- package/lib/openapi/v2/models/database.js +8 -19
- package/lib/openapi/v2/models/database.js.map +1 -1
- package/lib/openapi/v2/models/eap.d.ts +1 -1
- package/lib/openapi/v2/models/eap.js +0 -3
- package/lib/openapi/v2/models/eap.js.map +1 -1
- package/lib/openapi/v2/models/folder.d.ts +1 -1
- package/lib/openapi/v2/models/folder.js +8 -19
- package/lib/openapi/v2/models/folder.js.map +1 -1
- package/lib/openapi/v2/models/operation.d.ts +1 -1
- package/lib/openapi/v2/models/operation.js +4 -12
- package/lib/openapi/v2/models/operation.js.map +1 -1
- package/lib/openapi/v2/models/page.d.ts +2 -2
- package/lib/openapi/v2/models/page.js +36 -101
- package/lib/openapi/v2/models/page.js.map +1 -1
- package/lib/openapi/v2/models/smartLink.d.ts +1 -1
- package/lib/openapi/v2/models/smartLink.js +8 -19
- package/lib/openapi/v2/models/smartLink.js.map +1 -1
- package/lib/openapi/v2/models/space.d.ts +2 -2
- package/lib/openapi/v2/models/space.js +21 -57
- package/lib/openapi/v2/models/space.js.map +1 -1
- package/lib/openapi/v2/models/spaceProperties.d.ts +1 -1
- package/lib/openapi/v2/models/spaceProperties.js +8 -20
- package/lib/openapi/v2/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v2/models/task.d.ts +1 -1
- package/lib/openapi/v2/models/task.js +7 -16
- package/lib/openapi/v2/models/task.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +1 -1
- package/lib/openapi/v2/models/user.js +7 -20
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/models/version.d.ts +1 -1
- package/lib/openapi/v2/models/version.js +22 -46
- package/lib/openapi/v2/models/version.js.map +1 -1
- package/lib/openapi/v2/models/whiteboard.d.ts +1 -1
- package/lib/openapi/v2/models/whiteboard.js +8 -19
- package/lib/openapi/v2/models/whiteboard.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +5 -5
- package/lib/openapi/v2/services/AncestorsService.js +73 -133
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +8 -8
- package/lib/openapi/v2/services/AttachmentService.js +98 -180
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +9 -9
- package/lib/openapi/v2/services/BlogPostService.js +100 -180
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +2 -2
- package/lib/openapi/v2/services/ChildrenService.js +32 -61
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +15 -15
- package/lib/openapi/v2/services/ClassificationLevelService.js +127 -191
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +20 -20
- package/lib/openapi/v2/services/CommentService.js +250 -454
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +46 -46
- package/lib/openapi/v2/services/ContentPropertiesService.js +496 -820
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +1 -1
- package/lib/openapi/v2/services/ContentService.js +12 -19
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +9 -9
- package/lib/openapi/v2/services/CustomContentService.js +114 -207
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +2 -2
- package/lib/openapi/v2/services/DataPoliciesService.js +25 -48
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +3 -3
- package/lib/openapi/v2/services/DatabaseService.js +37 -63
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/EapService.d.ts +7 -7
- package/lib/openapi/v2/services/EapService.js +89 -165
- package/lib/openapi/v2/services/EapService.js.map +1 -1
- package/lib/openapi/v2/services/FolderService.d.ts +3 -3
- package/lib/openapi/v2/services/FolderService.js +36 -62
- package/lib/openapi/v2/services/FolderService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +7 -7
- package/lib/openapi/v2/services/LabelService.js +105 -196
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +8 -8
- package/lib/openapi/v2/services/LikeService.js +109 -189
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +11 -11
- package/lib/openapi/v2/services/OperationService.js +122 -199
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +9 -9
- package/lib/openapi/v2/services/PageService.js +100 -180
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +3 -3
- package/lib/openapi/v2/services/SmartLinkService.js +36 -62
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -3
- package/lib/openapi/v2/services/SpacePermissionsService.js +30 -56
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +6 -6
- package/lib/openapi/v2/services/SpacePropertiesService.js +56 -92
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceRolesService.d.ts +5 -5
- package/lib/openapi/v2/services/SpaceRolesService.js +60 -111
- package/lib/openapi/v2/services/SpaceRolesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -4
- package/lib/openapi/v2/services/SpaceService.js +47 -87
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +4 -4
- package/lib/openapi/v2/services/TaskService.js +40 -68
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +3 -3
- package/lib/openapi/v2/services/UserService.js +33 -58
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +14 -14
- package/lib/openapi/v2/services/VersionService.js +158 -281
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +3 -3
- package/lib/openapi/v2/services/WhiteboardService.js +37 -63
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/lib/openapi/v2/validationSchemaStorage.d.ts +2 -2
- package/lib/openapi/v2/validationSchemaStorage.js +12 -22
- package/lib/openapi/v2/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
|
@@ -4,11 +4,11 @@ exports.OperationService = void 0;
|
|
|
4
4
|
// DO NOT EDIT!
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
|
-
const zod_1 = require("zod");
|
|
8
7
|
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
8
|
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
9
|
const operation_1 = require("../models/operation");
|
|
11
10
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
11
|
+
const zod_1 = require("zod");
|
|
12
12
|
/**
|
|
13
13
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation
|
|
14
14
|
* @category Services
|
|
@@ -29,23 +29,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
29
29
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-attachments-id-operations-get
|
|
30
30
|
* @param params
|
|
31
31
|
*/
|
|
32
|
-
this.getAttachmentOperations = ({ id
|
|
33
|
-
return this.getClientInstance()
|
|
34
|
-
.request({
|
|
32
|
+
this.getAttachmentOperations = ({ id }) => {
|
|
33
|
+
return this.getClientInstance().request({
|
|
35
34
|
path: "/attachments/{id}/operations",
|
|
36
35
|
method: "GET",
|
|
37
36
|
pathParams: {
|
|
38
|
-
id
|
|
39
|
-
}
|
|
40
|
-
})
|
|
41
|
-
.then(this.getClientInstance().responseHandler({
|
|
37
|
+
id
|
|
38
|
+
}
|
|
39
|
+
}).then(this.getClientInstance().responseHandler({
|
|
42
40
|
200: {
|
|
43
|
-
"application/json": "json"
|
|
44
|
-
}
|
|
45
|
-
}))
|
|
46
|
-
.then(commonHttpClient.castResponse())
|
|
47
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getAttachmentOperations.response")))
|
|
48
|
-
.then(commonHttpClient.getBody);
|
|
41
|
+
"application/json": "json"
|
|
42
|
+
}
|
|
43
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getAttachmentOperations.response"))).then(commonHttpClient.getBody);
|
|
49
44
|
};
|
|
50
45
|
/**
|
|
51
46
|
* Returns the permitted operations on specific blog post.
|
|
@@ -60,23 +55,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
60
55
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-blogposts-id-operations-get
|
|
61
56
|
* @param params
|
|
62
57
|
*/
|
|
63
|
-
this.getBlogPostOperations = ({ id
|
|
64
|
-
return this.getClientInstance()
|
|
65
|
-
.request({
|
|
58
|
+
this.getBlogPostOperations = ({ id }) => {
|
|
59
|
+
return this.getClientInstance().request({
|
|
66
60
|
path: "/blogposts/{id}/operations",
|
|
67
61
|
method: "GET",
|
|
68
62
|
pathParams: {
|
|
69
|
-
id
|
|
70
|
-
}
|
|
71
|
-
})
|
|
72
|
-
.then(this.getClientInstance().responseHandler({
|
|
63
|
+
id
|
|
64
|
+
}
|
|
65
|
+
}).then(this.getClientInstance().responseHandler({
|
|
73
66
|
200: {
|
|
74
|
-
"application/json": "json"
|
|
75
|
-
}
|
|
76
|
-
}))
|
|
77
|
-
.then(commonHttpClient.castResponse())
|
|
78
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getBlogPostOperations.response")))
|
|
79
|
-
.then(commonHttpClient.getBody);
|
|
67
|
+
"application/json": "json"
|
|
68
|
+
}
|
|
69
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getBlogPostOperations.response"))).then(commonHttpClient.getBody);
|
|
80
70
|
};
|
|
81
71
|
/**
|
|
82
72
|
* Returns the permitted operations on specific custom content.
|
|
@@ -91,23 +81,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
91
81
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-custom-content-id-operations-get
|
|
92
82
|
* @param params
|
|
93
83
|
*/
|
|
94
|
-
this.getCustomContentOperations = ({ id
|
|
95
|
-
return this.getClientInstance()
|
|
96
|
-
.request({
|
|
84
|
+
this.getCustomContentOperations = ({ id }) => {
|
|
85
|
+
return this.getClientInstance().request({
|
|
97
86
|
path: "/custom-content/{id}/operations",
|
|
98
87
|
method: "GET",
|
|
99
88
|
pathParams: {
|
|
100
|
-
id
|
|
101
|
-
}
|
|
102
|
-
})
|
|
103
|
-
.then(this.getClientInstance().responseHandler({
|
|
89
|
+
id
|
|
90
|
+
}
|
|
91
|
+
}).then(this.getClientInstance().responseHandler({
|
|
104
92
|
200: {
|
|
105
|
-
"application/json": "json"
|
|
106
|
-
}
|
|
107
|
-
}))
|
|
108
|
-
.then(commonHttpClient.castResponse())
|
|
109
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getCustomContentOperations.response")))
|
|
110
|
-
.then(commonHttpClient.getBody);
|
|
93
|
+
"application/json": "json"
|
|
94
|
+
}
|
|
95
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getCustomContentOperations.response"))).then(commonHttpClient.getBody);
|
|
111
96
|
};
|
|
112
97
|
/**
|
|
113
98
|
* Returns the permitted operations on specific database.
|
|
@@ -121,23 +106,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
121
106
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-databases-id-operations-get
|
|
122
107
|
* @param params
|
|
123
108
|
*/
|
|
124
|
-
this.getDatabaseOperations = ({ id
|
|
125
|
-
return this.getClientInstance()
|
|
126
|
-
.request({
|
|
109
|
+
this.getDatabaseOperations = ({ id }) => {
|
|
110
|
+
return this.getClientInstance().request({
|
|
127
111
|
path: "/databases/{id}/operations",
|
|
128
112
|
method: "GET",
|
|
129
113
|
pathParams: {
|
|
130
|
-
id
|
|
131
|
-
}
|
|
132
|
-
})
|
|
133
|
-
.then(this.getClientInstance().responseHandler({
|
|
114
|
+
id
|
|
115
|
+
}
|
|
116
|
+
}).then(this.getClientInstance().responseHandler({
|
|
134
117
|
200: {
|
|
135
|
-
"application/json": "json"
|
|
136
|
-
}
|
|
137
|
-
}))
|
|
138
|
-
.then(commonHttpClient.castResponse())
|
|
139
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getDatabaseOperations.response")))
|
|
140
|
-
.then(commonHttpClient.getBody);
|
|
118
|
+
"application/json": "json"
|
|
119
|
+
}
|
|
120
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getDatabaseOperations.response"))).then(commonHttpClient.getBody);
|
|
141
121
|
};
|
|
142
122
|
/**
|
|
143
123
|
* Returns the permitted operations on specific folder.
|
|
@@ -151,23 +131,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
151
131
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-folders-id-operations-get
|
|
152
132
|
* @param params
|
|
153
133
|
*/
|
|
154
|
-
this.getFolderOperations = ({ id
|
|
155
|
-
return this.getClientInstance()
|
|
156
|
-
.request({
|
|
134
|
+
this.getFolderOperations = ({ id }) => {
|
|
135
|
+
return this.getClientInstance().request({
|
|
157
136
|
path: "/folders/{id}/operations",
|
|
158
137
|
method: "GET",
|
|
159
138
|
pathParams: {
|
|
160
|
-
id
|
|
161
|
-
}
|
|
162
|
-
})
|
|
163
|
-
.then(this.getClientInstance().responseHandler({
|
|
139
|
+
id
|
|
140
|
+
}
|
|
141
|
+
}).then(this.getClientInstance().responseHandler({
|
|
164
142
|
200: {
|
|
165
|
-
"application/json": "json"
|
|
166
|
-
}
|
|
167
|
-
}))
|
|
168
|
-
.then(commonHttpClient.castResponse())
|
|
169
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getFolderOperations.response")))
|
|
170
|
-
.then(commonHttpClient.getBody);
|
|
143
|
+
"application/json": "json"
|
|
144
|
+
}
|
|
145
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getFolderOperations.response"))).then(commonHttpClient.getBody);
|
|
171
146
|
};
|
|
172
147
|
/**
|
|
173
148
|
* Returns the permitted operations on specific footer comment.
|
|
@@ -182,23 +157,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
182
157
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-footer-comments-id-operations-get
|
|
183
158
|
* @param params
|
|
184
159
|
*/
|
|
185
|
-
this.getFooterCommentOperations = ({ id
|
|
186
|
-
return this.getClientInstance()
|
|
187
|
-
.request({
|
|
160
|
+
this.getFooterCommentOperations = ({ id }) => {
|
|
161
|
+
return this.getClientInstance().request({
|
|
188
162
|
path: "/footer-comments/{id}/operations",
|
|
189
163
|
method: "GET",
|
|
190
164
|
pathParams: {
|
|
191
|
-
id
|
|
192
|
-
}
|
|
193
|
-
})
|
|
194
|
-
.then(this.getClientInstance().responseHandler({
|
|
165
|
+
id
|
|
166
|
+
}
|
|
167
|
+
}).then(this.getClientInstance().responseHandler({
|
|
195
168
|
200: {
|
|
196
|
-
"application/json": "json"
|
|
197
|
-
}
|
|
198
|
-
}))
|
|
199
|
-
.then(commonHttpClient.castResponse())
|
|
200
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getFooterCommentOperations.response")))
|
|
201
|
-
.then(commonHttpClient.getBody);
|
|
169
|
+
"application/json": "json"
|
|
170
|
+
}
|
|
171
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getFooterCommentOperations.response"))).then(commonHttpClient.getBody);
|
|
202
172
|
};
|
|
203
173
|
/**
|
|
204
174
|
* Returns the permitted operations on specific inline comment.
|
|
@@ -213,23 +183,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
213
183
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-inline-comments-id-operations-get
|
|
214
184
|
* @param params
|
|
215
185
|
*/
|
|
216
|
-
this.getInlineCommentOperations = ({ id
|
|
217
|
-
return this.getClientInstance()
|
|
218
|
-
.request({
|
|
186
|
+
this.getInlineCommentOperations = ({ id }) => {
|
|
187
|
+
return this.getClientInstance().request({
|
|
219
188
|
path: "/inline-comments/{id}/operations",
|
|
220
189
|
method: "GET",
|
|
221
190
|
pathParams: {
|
|
222
|
-
id
|
|
223
|
-
}
|
|
224
|
-
})
|
|
225
|
-
.then(this.getClientInstance().responseHandler({
|
|
191
|
+
id
|
|
192
|
+
}
|
|
193
|
+
}).then(this.getClientInstance().responseHandler({
|
|
226
194
|
200: {
|
|
227
|
-
"application/json": "json"
|
|
228
|
-
}
|
|
229
|
-
}))
|
|
230
|
-
.then(commonHttpClient.castResponse())
|
|
231
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getInlineCommentOperations.response")))
|
|
232
|
-
.then(commonHttpClient.getBody);
|
|
195
|
+
"application/json": "json"
|
|
196
|
+
}
|
|
197
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getInlineCommentOperations.response"))).then(commonHttpClient.getBody);
|
|
233
198
|
};
|
|
234
199
|
/**
|
|
235
200
|
* Returns the permitted operations on specific page.
|
|
@@ -243,23 +208,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
243
208
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-pages-id-operations-get
|
|
244
209
|
* @param params
|
|
245
210
|
*/
|
|
246
|
-
this.getPageOperations = ({ id
|
|
247
|
-
return this.getClientInstance()
|
|
248
|
-
.request({
|
|
211
|
+
this.getPageOperations = ({ id }) => {
|
|
212
|
+
return this.getClientInstance().request({
|
|
249
213
|
path: "/pages/{id}/operations",
|
|
250
214
|
method: "GET",
|
|
251
215
|
pathParams: {
|
|
252
|
-
id
|
|
253
|
-
}
|
|
254
|
-
})
|
|
255
|
-
.then(this.getClientInstance().responseHandler({
|
|
216
|
+
id
|
|
217
|
+
}
|
|
218
|
+
}).then(this.getClientInstance().responseHandler({
|
|
256
219
|
200: {
|
|
257
|
-
"application/json": "json"
|
|
258
|
-
}
|
|
259
|
-
}))
|
|
260
|
-
.then(commonHttpClient.castResponse())
|
|
261
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getPageOperations.response")))
|
|
262
|
-
.then(commonHttpClient.getBody);
|
|
220
|
+
"application/json": "json"
|
|
221
|
+
}
|
|
222
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getPageOperations.response"))).then(commonHttpClient.getBody);
|
|
263
223
|
};
|
|
264
224
|
/**
|
|
265
225
|
* Returns the permitted operations on specific Smart Link in the content tree.
|
|
@@ -274,23 +234,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
274
234
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-embeds-id-operations-get
|
|
275
235
|
* @param params
|
|
276
236
|
*/
|
|
277
|
-
this.getSmartLinkOperations = ({ id
|
|
278
|
-
return this.getClientInstance()
|
|
279
|
-
.request({
|
|
237
|
+
this.getSmartLinkOperations = ({ id }) => {
|
|
238
|
+
return this.getClientInstance().request({
|
|
280
239
|
path: "/embeds/{id}/operations",
|
|
281
240
|
method: "GET",
|
|
282
241
|
pathParams: {
|
|
283
|
-
id
|
|
284
|
-
}
|
|
285
|
-
})
|
|
286
|
-
.then(this.getClientInstance().responseHandler({
|
|
242
|
+
id
|
|
243
|
+
}
|
|
244
|
+
}).then(this.getClientInstance().responseHandler({
|
|
287
245
|
200: {
|
|
288
|
-
"application/json": "json"
|
|
289
|
-
}
|
|
290
|
-
}))
|
|
291
|
-
.then(commonHttpClient.castResponse())
|
|
292
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getSmartLinkOperations.response")))
|
|
293
|
-
.then(commonHttpClient.getBody);
|
|
246
|
+
"application/json": "json"
|
|
247
|
+
}
|
|
248
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getSmartLinkOperations.response"))).then(commonHttpClient.getBody);
|
|
294
249
|
};
|
|
295
250
|
/**
|
|
296
251
|
* Returns the permitted operations on specific space.
|
|
@@ -304,23 +259,18 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
304
259
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-spaces-id-operations-get
|
|
305
260
|
* @param params
|
|
306
261
|
*/
|
|
307
|
-
this.getSpaceOperations = ({ id
|
|
308
|
-
return this.getClientInstance()
|
|
309
|
-
.request({
|
|
262
|
+
this.getSpaceOperations = ({ id }) => {
|
|
263
|
+
return this.getClientInstance().request({
|
|
310
264
|
path: "/spaces/{id}/operations",
|
|
311
265
|
method: "GET",
|
|
312
266
|
pathParams: {
|
|
313
|
-
id
|
|
314
|
-
}
|
|
315
|
-
})
|
|
316
|
-
.then(this.getClientInstance().responseHandler({
|
|
267
|
+
id
|
|
268
|
+
}
|
|
269
|
+
}).then(this.getClientInstance().responseHandler({
|
|
317
270
|
200: {
|
|
318
|
-
"application/json": "json"
|
|
319
|
-
}
|
|
320
|
-
}))
|
|
321
|
-
.then(commonHttpClient.castResponse())
|
|
322
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getSpaceOperations.response")))
|
|
323
|
-
.then(commonHttpClient.getBody);
|
|
271
|
+
"application/json": "json"
|
|
272
|
+
}
|
|
273
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getSpaceOperations.response"))).then(commonHttpClient.getBody);
|
|
324
274
|
};
|
|
325
275
|
/**
|
|
326
276
|
* Returns the permitted operations on specific whiteboard.
|
|
@@ -334,103 +284,76 @@ class OperationService extends CommonHttpService_1.CommonHttpService {
|
|
|
334
284
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-whiteboards-id-operations-get
|
|
335
285
|
* @param params
|
|
336
286
|
*/
|
|
337
|
-
this.getWhiteboardOperations = ({ id
|
|
338
|
-
return this.getClientInstance()
|
|
339
|
-
.request({
|
|
287
|
+
this.getWhiteboardOperations = ({ id }) => {
|
|
288
|
+
return this.getClientInstance().request({
|
|
340
289
|
path: "/whiteboards/{id}/operations",
|
|
341
290
|
method: "GET",
|
|
342
291
|
pathParams: {
|
|
343
|
-
id
|
|
344
|
-
}
|
|
345
|
-
})
|
|
346
|
-
.then(this.getClientInstance().responseHandler({
|
|
292
|
+
id
|
|
293
|
+
}
|
|
294
|
+
}).then(this.getClientInstance().responseHandler({
|
|
347
295
|
200: {
|
|
348
|
-
"application/json": "json"
|
|
349
|
-
}
|
|
350
|
-
}))
|
|
351
|
-
.then(commonHttpClient.castResponse())
|
|
352
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getWhiteboardOperations.response")))
|
|
353
|
-
.then(commonHttpClient.getBody);
|
|
296
|
+
"application/json": "json"
|
|
297
|
+
}
|
|
298
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("OperationService.getWhiteboardOperations.response"))).then(commonHttpClient.getBody);
|
|
354
299
|
};
|
|
355
300
|
}
|
|
356
301
|
static initialize() {
|
|
357
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getAttachmentOperations.response", zod_1.z
|
|
358
|
-
.object({
|
|
302
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getAttachmentOperations.response", zod_1.z.object({
|
|
359
303
|
status: zod_1.z.literal(200),
|
|
360
304
|
mediaType: zod_1.z.literal("application/json"),
|
|
361
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
362
|
-
})
|
|
363
|
-
|
|
364
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getBlogPostOperations.response", zod_1.z
|
|
365
|
-
.object({
|
|
305
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
306
|
+
}).describe("OperationService.getAttachmentOperations.response"));
|
|
307
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getBlogPostOperations.response", zod_1.z.object({
|
|
366
308
|
status: zod_1.z.literal(200),
|
|
367
309
|
mediaType: zod_1.z.literal("application/json"),
|
|
368
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
369
|
-
})
|
|
370
|
-
|
|
371
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getCustomContentOperations.response", zod_1.z
|
|
372
|
-
.object({
|
|
310
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
311
|
+
}).describe("OperationService.getBlogPostOperations.response"));
|
|
312
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getCustomContentOperations.response", zod_1.z.object({
|
|
373
313
|
status: zod_1.z.literal(200),
|
|
374
314
|
mediaType: zod_1.z.literal("application/json"),
|
|
375
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
376
|
-
})
|
|
377
|
-
|
|
378
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getDatabaseOperations.response", zod_1.z
|
|
379
|
-
.object({
|
|
315
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
316
|
+
}).describe("OperationService.getCustomContentOperations.response"));
|
|
317
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getDatabaseOperations.response", zod_1.z.object({
|
|
380
318
|
status: zod_1.z.literal(200),
|
|
381
319
|
mediaType: zod_1.z.literal("application/json"),
|
|
382
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
383
|
-
})
|
|
384
|
-
|
|
385
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getSmartLinkOperations.response", zod_1.z
|
|
386
|
-
.object({
|
|
320
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
321
|
+
}).describe("OperationService.getDatabaseOperations.response"));
|
|
322
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getSmartLinkOperations.response", zod_1.z.object({
|
|
387
323
|
status: zod_1.z.literal(200),
|
|
388
324
|
mediaType: zod_1.z.literal("application/json"),
|
|
389
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
390
|
-
})
|
|
391
|
-
|
|
392
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getFolderOperations.response", zod_1.z
|
|
393
|
-
.object({
|
|
325
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
326
|
+
}).describe("OperationService.getSmartLinkOperations.response"));
|
|
327
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getFolderOperations.response", zod_1.z.object({
|
|
394
328
|
status: zod_1.z.literal(200),
|
|
395
329
|
mediaType: zod_1.z.literal("application/json"),
|
|
396
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
397
|
-
})
|
|
398
|
-
|
|
399
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getFooterCommentOperations.response", zod_1.z
|
|
400
|
-
.object({
|
|
330
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
331
|
+
}).describe("OperationService.getFolderOperations.response"));
|
|
332
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getFooterCommentOperations.response", zod_1.z.object({
|
|
401
333
|
status: zod_1.z.literal(200),
|
|
402
334
|
mediaType: zod_1.z.literal("application/json"),
|
|
403
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
404
|
-
})
|
|
405
|
-
|
|
406
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getInlineCommentOperations.response", zod_1.z
|
|
407
|
-
.object({
|
|
335
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
336
|
+
}).describe("OperationService.getFooterCommentOperations.response"));
|
|
337
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getInlineCommentOperations.response", zod_1.z.object({
|
|
408
338
|
status: zod_1.z.literal(200),
|
|
409
339
|
mediaType: zod_1.z.literal("application/json"),
|
|
410
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
411
|
-
})
|
|
412
|
-
|
|
413
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getPageOperations.response", zod_1.z
|
|
414
|
-
.object({
|
|
340
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
341
|
+
}).describe("OperationService.getInlineCommentOperations.response"));
|
|
342
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getPageOperations.response", zod_1.z.object({
|
|
415
343
|
status: zod_1.z.literal(200),
|
|
416
344
|
mediaType: zod_1.z.literal("application/json"),
|
|
417
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
418
|
-
})
|
|
419
|
-
|
|
420
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getSpaceOperations.response", zod_1.z
|
|
421
|
-
.object({
|
|
345
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
346
|
+
}).describe("OperationService.getPageOperations.response"));
|
|
347
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getSpaceOperations.response", zod_1.z.object({
|
|
422
348
|
status: zod_1.z.literal(200),
|
|
423
349
|
mediaType: zod_1.z.literal("application/json"),
|
|
424
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
425
|
-
})
|
|
426
|
-
|
|
427
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getWhiteboardOperations.response", zod_1.z
|
|
428
|
-
.object({
|
|
350
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
351
|
+
}).describe("OperationService.getSpaceOperations.response"));
|
|
352
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationService.getWhiteboardOperations.response", zod_1.z.object({
|
|
429
353
|
status: zod_1.z.literal(200),
|
|
430
354
|
mediaType: zod_1.z.literal("application/json"),
|
|
431
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
432
|
-
})
|
|
433
|
-
.describe("OperationService.getWhiteboardOperations.response"));
|
|
355
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PermittedOperationsResponse")
|
|
356
|
+
}).describe("OperationService.getWhiteboardOperations.response"));
|
|
434
357
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([operation_1.registerOperationValidationSchemas]);
|
|
435
358
|
}
|
|
436
359
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/OperationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"OperationService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/OperationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,mDAA2G;AAC3G,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,qCAAiB;IAAvD;;QACE;;;;;;;;;;;;WAYG;QACH,4BAAuB,GAAG,CAAC,EACzB,EAAE,EAIH,EAAwC,EAAE;YACzC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,8BAA8B;gBACpC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;aACF,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAIlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,i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C;SAClE,CAAC,CAAC,QAAQ,CAAC,sDAAsD,CAAC,CAAC,CAAC;QACrE,iDAAuB,CAAC,kBAAkB,CAAC,6CAA6C,EAAE,OAAC,CAAC,MAAM,CAAC;YACjG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,6BAA6B,CAAC;SAClE,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC,CAAC,CAAC;QAC5D,iDAAuB,CAAC,kBAAkB,CAAC,8CAA8C,EAAE,OAAC,CAAC,MAAM,CAAC;YAClG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,6BAA6B,CAAC;SAClE,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC,CAAC,CAAC;QAC7D,iDAAuB,CAAC,kBAAkB,CAAC,mDAAmD,EAAE,OAAC,CAAC,MAAM,CAAC;YACvG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,6BAA6B,CAAC;SAClE,CAAC,CAAC,QAAQ,CAAC,mDAAmD,CAAC,CAAC,CAAC;QAClE,iDAAuB,CAAC,YAAY,CAAC,CAAC,8CAAkC,CAAC,CAAC,CAAC;IAC7E,CAAC;CACF;AA1bD,4CA0bC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
3
|
-
import { type
|
|
2
|
+
import { type PrimaryBodyRepresentation, type MultiEntityLinks, type PrimaryBodyRepresentationSingle } from "../models/common";
|
|
3
|
+
import { type PageSortOrder, type PageBulk, type PageBodyWrite, type PageNestedBodyWrite, type PageSingle } from "../models/page";
|
|
4
4
|
/**
|
|
5
5
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page
|
|
6
6
|
* @category Services
|
|
@@ -22,7 +22,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
22
22
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-post
|
|
23
23
|
* @param params
|
|
24
24
|
*/
|
|
25
|
-
createPage: ({ embedded, private: privateQuery, rootLevel, requestBody
|
|
25
|
+
createPage: ({ embedded, private: privateQuery, rootLevel, requestBody }: {
|
|
26
26
|
/** Tag the content as embedded and content will be created in NCS. */
|
|
27
27
|
embedded?: boolean | undefined;
|
|
28
28
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
88
88
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-delete
|
|
89
89
|
* @param params
|
|
90
90
|
*/
|
|
91
|
-
deletePage: ({ id, purge, draft
|
|
91
|
+
deletePage: ({ id, purge, draft }: {
|
|
92
92
|
/** The ID of the page to be deleted. */
|
|
93
93
|
id: number;
|
|
94
94
|
/** If attempting to purge the page. */
|
|
@@ -110,7 +110,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
110
110
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-labels-id-pages-get
|
|
111
111
|
* @param params
|
|
112
112
|
*/
|
|
113
|
-
getLabelPages: ({ id, spaceId, bodyFormat, sort, cursor, limit
|
|
113
|
+
getLabelPages: ({ id, spaceId, bodyFormat, sort, cursor, limit }: {
|
|
114
114
|
/** The ID of the label for which pages should be returned. */
|
|
115
115
|
id: number;
|
|
116
116
|
/**
|
|
@@ -156,7 +156,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
156
156
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-get
|
|
157
157
|
* @param params
|
|
158
158
|
*/
|
|
159
|
-
getPageById: ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus
|
|
159
|
+
getPageById: ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus }: {
|
|
160
160
|
/**
|
|
161
161
|
* The ID of the page to be returned. If you don't know the page ID, use Get pages
|
|
162
162
|
* and filter the results.
|
|
@@ -249,7 +249,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
249
249
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-get
|
|
250
250
|
* @param params
|
|
251
251
|
*/
|
|
252
|
-
getPages: ({ id, spaceId, sort, status, title, bodyFormat, cursor, limit
|
|
252
|
+
getPages: ({ id, spaceId, sort, status, title, bodyFormat, cursor, limit }?: {
|
|
253
253
|
/**
|
|
254
254
|
* Filter the results based on page ids. Multiple page ids can be specified as a
|
|
255
255
|
* comma-separated list.
|
|
@@ -309,7 +309,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
309
309
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-spaces-id-pages-get
|
|
310
310
|
* @param params
|
|
311
311
|
*/
|
|
312
|
-
getPagesInSpace: ({ id, depth, sort, status, title, bodyFormat, cursor, limit
|
|
312
|
+
getPagesInSpace: ({ id, depth, sort, status, title, bodyFormat, cursor, limit }: {
|
|
313
313
|
/** The ID of the space for which pages should be returned. */
|
|
314
314
|
id: number;
|
|
315
315
|
/**
|
|
@@ -363,7 +363,7 @@ export declare class PageService extends CommonHttpService {
|
|
|
363
363
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page#api-pages-id-put
|
|
364
364
|
* @param params
|
|
365
365
|
*/
|
|
366
|
-
updatePage: ({ id, requestBody
|
|
366
|
+
updatePage: ({ id, requestBody }: {
|
|
367
367
|
/**
|
|
368
368
|
* The ID of the page to be updated. If you don't know the page ID, use Get Pages
|
|
369
369
|
* and filter the results.
|