@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,12 +4,12 @@ exports.ContentChildrenAndDescendantsService = 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 common_1 = require("../models/common");
|
|
11
10
|
const contentChildrenAndDescendants_1 = require("../models/contentChildrenAndDescendants");
|
|
12
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
const zod_1 = require("zod");
|
|
13
13
|
/**
|
|
14
14
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants
|
|
15
15
|
* @category Services
|
|
@@ -43,37 +43,32 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
|
|
|
43
43
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-copy-post
|
|
44
44
|
* @param params
|
|
45
45
|
*/
|
|
46
|
-
this.copyPage = ({ id, expand, copyPageRequest
|
|
47
|
-
return this.getClientInstance()
|
|
48
|
-
.request({
|
|
46
|
+
this.copyPage = ({ id, expand, copyPageRequest }) => {
|
|
47
|
+
return this.getClientInstance().request({
|
|
49
48
|
path: "/wiki/rest/api/content/{id}/copy",
|
|
50
49
|
method: "POST",
|
|
51
50
|
pathParams: {
|
|
52
|
-
id
|
|
51
|
+
id
|
|
53
52
|
},
|
|
54
53
|
query: {
|
|
55
|
-
expand
|
|
54
|
+
expand
|
|
56
55
|
},
|
|
57
56
|
headers: {
|
|
58
|
-
"Content-Type": "application/json"
|
|
57
|
+
"Content-Type": "application/json"
|
|
59
58
|
},
|
|
60
59
|
parameters: {
|
|
61
60
|
query: {
|
|
62
61
|
expand: {
|
|
63
|
-
explode: false
|
|
64
|
-
}
|
|
65
|
-
}
|
|
62
|
+
explode: false
|
|
63
|
+
}
|
|
64
|
+
}
|
|
66
65
|
},
|
|
67
|
-
body: copyPageRequest
|
|
68
|
-
})
|
|
69
|
-
.then(this.getClientInstance().responseHandler({
|
|
66
|
+
body: copyPageRequest
|
|
67
|
+
}).then(this.getClientInstance().responseHandler({
|
|
70
68
|
200: {
|
|
71
|
-
"application/json;charset=UTF-8": "json"
|
|
72
|
-
}
|
|
73
|
-
}))
|
|
74
|
-
.then(commonHttpClient.castResponse())
|
|
75
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.copyPage.response")))
|
|
76
|
-
.then(commonHttpClient.getBody);
|
|
69
|
+
"application/json;charset=UTF-8": "json"
|
|
70
|
+
}
|
|
71
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.copyPage.response"))).then(commonHttpClient.getBody);
|
|
77
72
|
};
|
|
78
73
|
/**
|
|
79
74
|
* Copy page hierarchy allows the copying of an entire hierarchy of pages and
|
|
@@ -105,27 +100,22 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
|
|
|
105
100
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-pagehierarchy-copy-post
|
|
106
101
|
* @param params
|
|
107
102
|
*/
|
|
108
|
-
this.copyPageHierarchy = ({ id, copyPageHierarchyRequest
|
|
109
|
-
return this.getClientInstance()
|
|
110
|
-
.request({
|
|
103
|
+
this.copyPageHierarchy = ({ id, copyPageHierarchyRequest }) => {
|
|
104
|
+
return this.getClientInstance().request({
|
|
111
105
|
path: "/wiki/rest/api/content/{id}/pagehierarchy/copy",
|
|
112
106
|
method: "POST",
|
|
113
107
|
pathParams: {
|
|
114
|
-
id
|
|
108
|
+
id
|
|
115
109
|
},
|
|
116
110
|
headers: {
|
|
117
|
-
"Content-Type": "application/json"
|
|
111
|
+
"Content-Type": "application/json"
|
|
118
112
|
},
|
|
119
|
-
body: copyPageHierarchyRequest
|
|
120
|
-
})
|
|
121
|
-
.then(this.getClientInstance().responseHandler({
|
|
113
|
+
body: copyPageHierarchyRequest
|
|
114
|
+
}).then(this.getClientInstance().responseHandler({
|
|
122
115
|
202: {
|
|
123
|
-
"application/json": "json"
|
|
124
|
-
}
|
|
125
|
-
}))
|
|
126
|
-
.then(commonHttpClient.castResponse())
|
|
127
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.copyPageHierarchy.response")))
|
|
128
|
-
.then(commonHttpClient.getBody);
|
|
116
|
+
"application/json": "json"
|
|
117
|
+
}
|
|
118
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.copyPageHierarchy.response"))).then(commonHttpClient.getBody);
|
|
129
119
|
};
|
|
130
120
|
/**
|
|
131
121
|
* Deprecated, use [Confluence's v2
|
|
@@ -168,34 +158,29 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
|
|
|
168
158
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-get
|
|
169
159
|
* @param params
|
|
170
160
|
*/
|
|
171
|
-
this.getContentChildren = ({ id, expand, parentVersion
|
|
172
|
-
return this.getClientInstance()
|
|
173
|
-
.request({
|
|
161
|
+
this.getContentChildren = ({ id, expand, parentVersion }) => {
|
|
162
|
+
return this.getClientInstance().request({
|
|
174
163
|
path: "/wiki/rest/api/content/{id}/child",
|
|
175
164
|
method: "GET",
|
|
176
165
|
pathParams: {
|
|
177
|
-
id
|
|
166
|
+
id
|
|
178
167
|
},
|
|
179
168
|
query: {
|
|
180
169
|
expand,
|
|
181
|
-
parentVersion
|
|
170
|
+
parentVersion
|
|
182
171
|
},
|
|
183
172
|
parameters: {
|
|
184
173
|
query: {
|
|
185
174
|
expand: {
|
|
186
|
-
explode: false
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
})
|
|
191
|
-
.then(this.getClientInstance().responseHandler({
|
|
175
|
+
explode: false
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}).then(this.getClientInstance().responseHandler({
|
|
192
180
|
200: {
|
|
193
|
-
"application/json": "json"
|
|
194
|
-
}
|
|
195
|
-
}))
|
|
196
|
-
.then(commonHttpClient.castResponse())
|
|
197
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentChildren.response")))
|
|
198
|
-
.then(commonHttpClient.getBody);
|
|
181
|
+
"application/json": "json"
|
|
182
|
+
}
|
|
183
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentChildren.response"))).then(commonHttpClient.getBody);
|
|
199
184
|
};
|
|
200
185
|
/**
|
|
201
186
|
* Deprecated, use [Confluence's v2
|
|
@@ -239,37 +224,32 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
|
|
|
239
224
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-child-type-get
|
|
240
225
|
* @param params
|
|
241
226
|
*/
|
|
242
|
-
this.getContentChildrenByType = ({ id, type, expand, parentVersion, start, limit
|
|
243
|
-
return this.getClientInstance()
|
|
244
|
-
.request({
|
|
227
|
+
this.getContentChildrenByType = ({ id, type, expand, parentVersion, start, limit }) => {
|
|
228
|
+
return this.getClientInstance().request({
|
|
245
229
|
path: "/wiki/rest/api/content/{id}/child/{type}",
|
|
246
230
|
method: "GET",
|
|
247
231
|
pathParams: {
|
|
248
232
|
id,
|
|
249
|
-
type
|
|
233
|
+
type
|
|
250
234
|
},
|
|
251
235
|
query: {
|
|
252
236
|
expand,
|
|
253
237
|
parentVersion,
|
|
254
238
|
start,
|
|
255
|
-
limit
|
|
239
|
+
limit
|
|
256
240
|
},
|
|
257
241
|
parameters: {
|
|
258
242
|
query: {
|
|
259
243
|
expand: {
|
|
260
|
-
explode: false
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
})
|
|
265
|
-
.then(this.getClientInstance().responseHandler({
|
|
244
|
+
explode: false
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}).then(this.getClientInstance().responseHandler({
|
|
266
249
|
200: {
|
|
267
|
-
"application/json": "json"
|
|
268
|
-
}
|
|
269
|
-
}))
|
|
270
|
-
.then(commonHttpClient.castResponse())
|
|
271
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentChildrenByType.response")))
|
|
272
|
-
.then(commonHttpClient.getBody);
|
|
250
|
+
"application/json": "json"
|
|
251
|
+
}
|
|
252
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentChildrenByType.response"))).then(commonHttpClient.getBody);
|
|
273
253
|
};
|
|
274
254
|
/**
|
|
275
255
|
* Returns a map of the descendants of a piece of content. This is similar
|
|
@@ -308,33 +288,28 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
|
|
|
308
288
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-descendant-get
|
|
309
289
|
* @param params
|
|
310
290
|
*/
|
|
311
|
-
this.getContentDescendants = ({ id, expand
|
|
312
|
-
return this.getClientInstance()
|
|
313
|
-
.request({
|
|
291
|
+
this.getContentDescendants = ({ id, expand }) => {
|
|
292
|
+
return this.getClientInstance().request({
|
|
314
293
|
path: "/wiki/rest/api/content/{id}/descendant",
|
|
315
294
|
method: "GET",
|
|
316
295
|
pathParams: {
|
|
317
|
-
id
|
|
296
|
+
id
|
|
318
297
|
},
|
|
319
298
|
query: {
|
|
320
|
-
expand
|
|
299
|
+
expand
|
|
321
300
|
},
|
|
322
301
|
parameters: {
|
|
323
302
|
query: {
|
|
324
303
|
expand: {
|
|
325
|
-
explode: false
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
})
|
|
330
|
-
.then(this.getClientInstance().responseHandler({
|
|
304
|
+
explode: false
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}).then(this.getClientInstance().responseHandler({
|
|
331
309
|
200: {
|
|
332
|
-
"application/json": "json"
|
|
333
|
-
}
|
|
334
|
-
}))
|
|
335
|
-
.then(commonHttpClient.castResponse())
|
|
336
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentDescendants.response")))
|
|
337
|
-
.then(commonHttpClient.getBody);
|
|
310
|
+
"application/json": "json"
|
|
311
|
+
}
|
|
312
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getContentDescendants.response"))).then(commonHttpClient.getBody);
|
|
338
313
|
};
|
|
339
314
|
/**
|
|
340
315
|
* Returns all descendants of a given type, for a piece of content. This is
|
|
@@ -375,37 +350,32 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
|
|
|
375
350
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-id-descendant-type-get
|
|
376
351
|
* @param params
|
|
377
352
|
*/
|
|
378
|
-
this.getDescendantsOfType = ({ id, type, depth, expand, start, limit
|
|
379
|
-
return this.getClientInstance()
|
|
380
|
-
.request({
|
|
353
|
+
this.getDescendantsOfType = ({ id, type, depth, expand, start, limit }) => {
|
|
354
|
+
return this.getClientInstance().request({
|
|
381
355
|
path: "/wiki/rest/api/content/{id}/descendant/{type}",
|
|
382
356
|
method: "GET",
|
|
383
357
|
pathParams: {
|
|
384
358
|
id,
|
|
385
|
-
type
|
|
359
|
+
type
|
|
386
360
|
},
|
|
387
361
|
query: {
|
|
388
362
|
depth,
|
|
389
363
|
expand,
|
|
390
364
|
start,
|
|
391
|
-
limit
|
|
365
|
+
limit
|
|
392
366
|
},
|
|
393
367
|
parameters: {
|
|
394
368
|
query: {
|
|
395
369
|
expand: {
|
|
396
|
-
explode: false
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
})
|
|
401
|
-
.then(this.getClientInstance().responseHandler({
|
|
370
|
+
explode: false
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}).then(this.getClientInstance().responseHandler({
|
|
402
375
|
200: {
|
|
403
|
-
"application/json": "json"
|
|
404
|
-
}
|
|
405
|
-
}))
|
|
406
|
-
.then(commonHttpClient.castResponse())
|
|
407
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getDescendantsOfType.response")))
|
|
408
|
-
.then(commonHttpClient.getBody);
|
|
376
|
+
"application/json": "json"
|
|
377
|
+
}
|
|
378
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.getDescendantsOfType.response"))).then(commonHttpClient.getBody);
|
|
409
379
|
};
|
|
410
380
|
/**
|
|
411
381
|
* Move a page to a new location relative to a target page:
|
|
@@ -429,85 +399,61 @@ class ContentChildrenAndDescendantsService extends CommonHttpService_1.CommonHtt
|
|
|
429
399
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-children-and-descendants#api-wiki-rest-api-content-pageid-move-position-targetid-put
|
|
430
400
|
* @param params
|
|
431
401
|
*/
|
|
432
|
-
this.movePage = ({ pageId, position, targetId
|
|
433
|
-
return this.getClientInstance()
|
|
434
|
-
.request({
|
|
402
|
+
this.movePage = ({ pageId, position, targetId }) => {
|
|
403
|
+
return this.getClientInstance().request({
|
|
435
404
|
path: "/wiki/rest/api/content/{pageId}/move/{position}/{targetId}",
|
|
436
405
|
method: "PUT",
|
|
437
406
|
pathParams: {
|
|
438
407
|
pageId,
|
|
439
408
|
position,
|
|
440
|
-
targetId
|
|
441
|
-
}
|
|
442
|
-
})
|
|
443
|
-
.then(this.getClientInstance().responseHandler({
|
|
409
|
+
targetId
|
|
410
|
+
}
|
|
411
|
+
}).then(this.getClientInstance().responseHandler({
|
|
444
412
|
200: {
|
|
445
|
-
"application/json": "json"
|
|
446
|
-
}
|
|
447
|
-
}))
|
|
448
|
-
.then(commonHttpClient.castResponse())
|
|
449
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.movePage.response")))
|
|
450
|
-
.then(commonHttpClient.getBody);
|
|
413
|
+
"application/json": "json"
|
|
414
|
+
}
|
|
415
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentChildrenAndDescendantsService.movePage.response"))).then(commonHttpClient.getBody);
|
|
451
416
|
};
|
|
452
417
|
}
|
|
453
418
|
static initialize() {
|
|
454
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentChildren.response", zod_1.z
|
|
455
|
-
.object({
|
|
419
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentChildren.response", zod_1.z.object({
|
|
456
420
|
status: zod_1.z.literal(200),
|
|
457
421
|
mediaType: zod_1.z.literal("application/json"),
|
|
458
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentChildren")
|
|
459
|
-
})
|
|
460
|
-
|
|
461
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentChildrenByType.response", zod_1.z
|
|
462
|
-
.object({
|
|
422
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentChildren")
|
|
423
|
+
}).describe("ContentChildrenAndDescendantsService.getContentChildren.response"));
|
|
424
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentChildrenByType.response", zod_1.z.object({
|
|
463
425
|
status: zod_1.z.literal(200),
|
|
464
426
|
mediaType: zod_1.z.literal("application/json"),
|
|
465
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
466
|
-
})
|
|
467
|
-
|
|
468
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.copyPage.response", zod_1.z
|
|
469
|
-
.object({
|
|
427
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
428
|
+
}).describe("ContentChildrenAndDescendantsService.getContentChildrenByType.response"));
|
|
429
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.copyPage.response", zod_1.z.object({
|
|
470
430
|
status: zod_1.z.literal(200),
|
|
471
431
|
mediaType: zod_1.z.literal("application/json;charset=UTF-8"),
|
|
472
|
-
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("Content"))
|
|
473
|
-
})
|
|
474
|
-
|
|
475
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentDescendants.response", zod_1.z
|
|
476
|
-
.object({
|
|
432
|
+
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("Content"))
|
|
433
|
+
}).describe("ContentChildrenAndDescendantsService.copyPage.response"));
|
|
434
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getContentDescendants.response", zod_1.z.object({
|
|
477
435
|
status: zod_1.z.literal(200),
|
|
478
436
|
mediaType: zod_1.z.literal("application/json"),
|
|
479
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentChildren")
|
|
480
|
-
})
|
|
481
|
-
|
|
482
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getDescendantsOfType.response", zod_1.z
|
|
483
|
-
.object({
|
|
437
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentChildren")
|
|
438
|
+
}).describe("ContentChildrenAndDescendantsService.getContentDescendants.response"));
|
|
439
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.getDescendantsOfType.response", zod_1.z.object({
|
|
484
440
|
status: zod_1.z.literal(200),
|
|
485
441
|
mediaType: zod_1.z.literal("application/json"),
|
|
486
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
487
|
-
})
|
|
488
|
-
|
|
489
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.copyPageHierarchy.response", zod_1.z
|
|
490
|
-
.object({
|
|
442
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
443
|
+
}).describe("ContentChildrenAndDescendantsService.getDescendantsOfType.response"));
|
|
444
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.copyPageHierarchy.response", zod_1.z.object({
|
|
491
445
|
status: zod_1.z.literal(202),
|
|
492
446
|
mediaType: zod_1.z.literal("application/json"),
|
|
493
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTask")
|
|
494
|
-
})
|
|
495
|
-
|
|
496
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.movePage.response", zod_1.z
|
|
497
|
-
.object({
|
|
447
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTask")
|
|
448
|
+
}).describe("ContentChildrenAndDescendantsService.copyPageHierarchy.response"));
|
|
449
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentChildrenAndDescendantsService.movePage.response", zod_1.z.object({
|
|
498
450
|
status: zod_1.z.literal(200),
|
|
499
451
|
mediaType: zod_1.z.literal("application/json"),
|
|
500
|
-
body: zod_1.z
|
|
501
|
-
.
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
})
|
|
506
|
-
.describe("ContentChildrenAndDescendantsService.movePage.response"));
|
|
507
|
-
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
508
|
-
common_1.registerCommonValidationSchemas,
|
|
509
|
-
contentChildrenAndDescendants_1.registerContentChildrenAndDescendantsValidationSchemas,
|
|
510
|
-
]);
|
|
452
|
+
body: zod_1.z.object({
|
|
453
|
+
pageId: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentId").optional()
|
|
454
|
+
}).catchall(zod_1.z.unknown())
|
|
455
|
+
}).describe("ContentChildrenAndDescendantsService.movePage.response"));
|
|
456
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas, contentChildrenAndDescendants_1.registerContentChildrenAndDescendantsValidationSchemas]);
|
|
511
457
|
}
|
|
512
458
|
}
|
|
513
459
|
exports.ContentChildrenAndDescendantsService = ContentChildrenAndDescendantsService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentChildrenAndDescendantsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentChildrenAndDescendantsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"ContentChildrenAndDescendantsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentChildrenAndDescendantsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAyI;AACzI,2FAAsL;AACtL,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,oCAAqC,SAAQ,qCAAiB;IAA3E;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;WAyBG;QACH,aAAQ,GAAG,CAAC,EACV,EAAE,EACF,MAAM,EACN,eAAe,EAqGhB,EAA2B,EAAE;YAC5B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,kCAAkC;gBACxC,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,MAAM,EAAE;4BACN,OAAO,EAAE,KAAK;yBACf;qBACF;iBACF;gBACD,IAAI,EAAE,eAAe;aACtB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,gCAAgC,EAAE,MAAM;iBACzC;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAIlC,CAAC,CAAC,IAAI,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|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-comments#api-wiki-rest-api-content-id-child-comment-get
|
|
29
29
|
* @param params
|
|
30
30
|
*/
|
|
31
|
-
getContentComments: ({ id, expand, parentVersion, start, limit, location, depth
|
|
31
|
+
getContentComments: ({ id, expand, parentVersion, start, limit, location, depth }: {
|
|
32
32
|
/** The ID of the content to be queried for its comments. */
|
|
33
33
|
id: string;
|
|
34
34
|
/**
|
|
@@ -4,11 +4,11 @@ exports.ContentCommentsService = 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 common_1 = require("../models/common");
|
|
11
10
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
11
|
+
const zod_1 = require("zod");
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated
|
|
14
14
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-comments
|
|
@@ -39,13 +39,12 @@ class ContentCommentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
39
39
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-comments#api-wiki-rest-api-content-id-child-comment-get
|
|
40
40
|
* @param params
|
|
41
41
|
*/
|
|
42
|
-
this.getContentComments = ({ id, expand, parentVersion, start, limit, location, depth
|
|
43
|
-
return this.getClientInstance()
|
|
44
|
-
.request({
|
|
42
|
+
this.getContentComments = ({ id, expand, parentVersion, start, limit, location, depth }) => {
|
|
43
|
+
return this.getClientInstance().request({
|
|
45
44
|
path: "/wiki/rest/api/content/{id}/child/comment",
|
|
46
45
|
method: "GET",
|
|
47
46
|
pathParams: {
|
|
48
|
-
id
|
|
47
|
+
id
|
|
49
48
|
},
|
|
50
49
|
query: {
|
|
51
50
|
expand,
|
|
@@ -53,34 +52,28 @@ class ContentCommentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
53
52
|
start,
|
|
54
53
|
limit,
|
|
55
54
|
location,
|
|
56
|
-
depth
|
|
55
|
+
depth
|
|
57
56
|
},
|
|
58
57
|
parameters: {
|
|
59
58
|
query: {
|
|
60
59
|
expand: {
|
|
61
|
-
explode: false
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
})
|
|
66
|
-
.then(this.getClientInstance().responseHandler({
|
|
60
|
+
explode: false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}).then(this.getClientInstance().responseHandler({
|
|
67
65
|
200: {
|
|
68
|
-
"application/json": "json"
|
|
69
|
-
}
|
|
70
|
-
}))
|
|
71
|
-
.then(commonHttpClient.castResponse())
|
|
72
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentCommentsService.getContentComments.response")))
|
|
73
|
-
.then(commonHttpClient.getBody);
|
|
66
|
+
"application/json": "json"
|
|
67
|
+
}
|
|
68
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentCommentsService.getContentComments.response"))).then(commonHttpClient.getBody);
|
|
74
69
|
};
|
|
75
70
|
}
|
|
76
71
|
static initialize() {
|
|
77
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentCommentsService.getContentComments.response", zod_1.z
|
|
78
|
-
.object({
|
|
72
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentCommentsService.getContentComments.response", zod_1.z.object({
|
|
79
73
|
status: zod_1.z.literal(200),
|
|
80
74
|
mediaType: zod_1.z.literal("application/json"),
|
|
81
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
82
|
-
})
|
|
83
|
-
.describe("ContentCommentsService.getContentComments.response"));
|
|
75
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
76
|
+
}).describe("ContentCommentsService.getContentComments.response"));
|
|
84
77
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
|
|
85
78
|
}
|
|
86
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentCommentsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentCommentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"ContentCommentsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentCommentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAsF;AACtF,wEAAqE;AACrE,6BAAwB;AACxB;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAA7D;;QACE;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,uBAAkB,GAAG,CAAC,EACpB,EAAE,EACF,MAAM,EACN,aAAa,EACb,KAAK,EACL,KAAK,EACL,QAAQ,EACR,KAAK,EAyHN,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,2CAA2C;gBACjD,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,MAAM;oBACN,aAAa;oBACb,KAAK;oBACL,KAAK;oBACL,QAAQ;oBACR,KAAK;iBACN;gBACD,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,MAAM,EAAE;4BACN,OAAO,EAAE,KAAK;yBACf;qBACF;iBACF;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,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,oDAAoD,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC1K,CAAC,CAAC;IASJ,CAAC;IARW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CAAC,oDAAoD,EAAE,OAAC,CAAC,MAAM,CAAC;YACxG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;SACnD,CAAC,CAAC,QAAQ,CAAC,oDAAoD,CAAC,CAAC,CAAC;QACnE,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA/LD,wDA+LC"}
|
|
@@ -28,7 +28,7 @@ export declare class ContentLabelsService extends CommonHttpService {
|
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels#api-wiki-rest-api-content-id-label-post
|
|
29
29
|
* @param params
|
|
30
30
|
*/
|
|
31
|
-
addLabelsToContent: ({ id, requestBody
|
|
31
|
+
addLabelsToContent: ({ id, requestBody }: {
|
|
32
32
|
/** The ID of the content that will have labels added to it. */
|
|
33
33
|
id: string;
|
|
34
34
|
/** The labels to add to the content. */
|
|
@@ -52,7 +52,7 @@ export declare class ContentLabelsService extends CommonHttpService {
|
|
|
52
52
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels#api-wiki-rest-api-content-id-label-get
|
|
53
53
|
* @param params
|
|
54
54
|
*/
|
|
55
|
-
getLabelsForContent: ({ id, prefix, start, limit
|
|
55
|
+
getLabelsForContent: ({ id, prefix, start, limit }: {
|
|
56
56
|
/** The ID of the content to be queried for its labels. */
|
|
57
57
|
id: string;
|
|
58
58
|
/**
|
|
@@ -98,7 +98,7 @@ export declare class ContentLabelsService extends CommonHttpService {
|
|
|
98
98
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels#api-wiki-rest-api-content-id-label-label-delete
|
|
99
99
|
* @param params
|
|
100
100
|
*/
|
|
101
|
-
removeLabelFromContent: ({ id, label
|
|
101
|
+
removeLabelFromContent: ({ id, label }: {
|
|
102
102
|
/** The ID of the content that the label will be removed from. */
|
|
103
103
|
id: string;
|
|
104
104
|
/** The name of the label to be removed. */
|
|
@@ -124,7 +124,7 @@ export declare class ContentLabelsService extends CommonHttpService {
|
|
|
124
124
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-labels#api-wiki-rest-api-content-id-label-delete
|
|
125
125
|
* @param params
|
|
126
126
|
*/
|
|
127
|
-
removeLabelFromContentUsingQueryParameter: ({ id, name
|
|
127
|
+
removeLabelFromContentUsingQueryParameter: ({ id, name }: {
|
|
128
128
|
/** The ID of the content that the label will be removed from. */
|
|
129
129
|
id: string;
|
|
130
130
|
/** The name of the label to be removed. */
|