@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.ContentVersionsService = 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 contentVersions_1 = require("../models/contentVersions");
|
|
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-versions
|
|
15
15
|
* @category Services
|
|
@@ -31,17 +31,15 @@ class ContentVersionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
31
31
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions#api-wiki-rest-api-content-id-version-versionnumber-delete
|
|
32
32
|
* @param params
|
|
33
33
|
*/
|
|
34
|
-
this.deleteContentVersion = ({ id, versionNumber
|
|
35
|
-
return this.getClientInstance()
|
|
36
|
-
.request({
|
|
34
|
+
this.deleteContentVersion = ({ id, versionNumber }) => {
|
|
35
|
+
return this.getClientInstance().request({
|
|
37
36
|
path: "/wiki/rest/api/content/{id}/version/{versionNumber}",
|
|
38
37
|
method: "DELETE",
|
|
39
38
|
pathParams: {
|
|
40
39
|
id,
|
|
41
|
-
versionNumber
|
|
42
|
-
}
|
|
43
|
-
})
|
|
44
|
-
.then(commonHttpClient.discardResult);
|
|
40
|
+
versionNumber
|
|
41
|
+
}
|
|
42
|
+
}).then(commonHttpClient.discardResult);
|
|
45
43
|
};
|
|
46
44
|
/**
|
|
47
45
|
* Deprecated, use [Confluence's v2
|
|
@@ -61,34 +59,29 @@ class ContentVersionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
61
59
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions#api-wiki-rest-api-content-id-version-versionnumber-get
|
|
62
60
|
* @param params
|
|
63
61
|
*/
|
|
64
|
-
this.getContentVersion = ({ id, versionNumber, expand
|
|
65
|
-
return this.getClientInstance()
|
|
66
|
-
.request({
|
|
62
|
+
this.getContentVersion = ({ id, versionNumber, expand }) => {
|
|
63
|
+
return this.getClientInstance().request({
|
|
67
64
|
path: "/wiki/rest/api/content/{id}/version/{versionNumber}",
|
|
68
65
|
method: "GET",
|
|
69
66
|
pathParams: {
|
|
70
67
|
id,
|
|
71
|
-
versionNumber
|
|
68
|
+
versionNumber
|
|
72
69
|
},
|
|
73
70
|
query: {
|
|
74
|
-
expand
|
|
71
|
+
expand
|
|
75
72
|
},
|
|
76
73
|
parameters: {
|
|
77
74
|
query: {
|
|
78
75
|
expand: {
|
|
79
|
-
explode: false
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
})
|
|
84
|
-
.then(this.getClientInstance().responseHandler({
|
|
76
|
+
explode: false
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}).then(this.getClientInstance().responseHandler({
|
|
85
81
|
200: {
|
|
86
|
-
"application/json": "json"
|
|
87
|
-
}
|
|
88
|
-
}))
|
|
89
|
-
.then(commonHttpClient.castResponse())
|
|
90
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentVersionsService.getContentVersion.response")))
|
|
91
|
-
.then(commonHttpClient.getBody);
|
|
82
|
+
"application/json": "json"
|
|
83
|
+
}
|
|
84
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentVersionsService.getContentVersion.response"))).then(commonHttpClient.getBody);
|
|
92
85
|
};
|
|
93
86
|
/**
|
|
94
87
|
* Deprecated, use [Confluence's v2
|
|
@@ -108,35 +101,30 @@ class ContentVersionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
108
101
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions#api-wiki-rest-api-content-id-version-get
|
|
109
102
|
* @param params
|
|
110
103
|
*/
|
|
111
|
-
this.getContentVersions = ({ id, start, limit, expand
|
|
112
|
-
return this.getClientInstance()
|
|
113
|
-
.request({
|
|
104
|
+
this.getContentVersions = ({ id, start, limit, expand }) => {
|
|
105
|
+
return this.getClientInstance().request({
|
|
114
106
|
path: "/wiki/rest/api/content/{id}/version",
|
|
115
107
|
method: "GET",
|
|
116
108
|
pathParams: {
|
|
117
|
-
id
|
|
109
|
+
id
|
|
118
110
|
},
|
|
119
111
|
query: {
|
|
120
112
|
start,
|
|
121
113
|
limit,
|
|
122
|
-
expand
|
|
114
|
+
expand
|
|
123
115
|
},
|
|
124
116
|
parameters: {
|
|
125
117
|
query: {
|
|
126
118
|
expand: {
|
|
127
|
-
explode: false
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
})
|
|
132
|
-
.then(this.getClientInstance().responseHandler({
|
|
119
|
+
explode: false
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}).then(this.getClientInstance().responseHandler({
|
|
133
124
|
200: {
|
|
134
|
-
"application/json": "json"
|
|
135
|
-
}
|
|
136
|
-
}))
|
|
137
|
-
.then(commonHttpClient.castResponse())
|
|
138
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentVersionsService.getContentVersions.response")))
|
|
139
|
-
.then(commonHttpClient.getBody);
|
|
125
|
+
"application/json": "json"
|
|
126
|
+
}
|
|
127
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentVersionsService.getContentVersions.response"))).then(commonHttpClient.getBody);
|
|
140
128
|
};
|
|
141
129
|
/**
|
|
142
130
|
* Restores a historical version to be the latest version. That is, a new version
|
|
@@ -152,65 +140,51 @@ class ContentVersionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
152
140
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-versions#api-wiki-rest-api-content-id-version-post
|
|
153
141
|
* @param params
|
|
154
142
|
*/
|
|
155
|
-
this.restoreContentVersion = ({ id, expand, versionRestore
|
|
156
|
-
return this.getClientInstance()
|
|
157
|
-
.request({
|
|
143
|
+
this.restoreContentVersion = ({ id, expand, versionRestore }) => {
|
|
144
|
+
return this.getClientInstance().request({
|
|
158
145
|
path: "/wiki/rest/api/content/{id}/version",
|
|
159
146
|
method: "POST",
|
|
160
147
|
pathParams: {
|
|
161
|
-
id
|
|
148
|
+
id
|
|
162
149
|
},
|
|
163
150
|
query: {
|
|
164
|
-
expand
|
|
151
|
+
expand
|
|
165
152
|
},
|
|
166
153
|
headers: {
|
|
167
|
-
"Content-Type": "application/json"
|
|
154
|
+
"Content-Type": "application/json"
|
|
168
155
|
},
|
|
169
156
|
parameters: {
|
|
170
157
|
query: {
|
|
171
158
|
expand: {
|
|
172
|
-
explode: false
|
|
173
|
-
}
|
|
174
|
-
}
|
|
159
|
+
explode: false
|
|
160
|
+
}
|
|
161
|
+
}
|
|
175
162
|
},
|
|
176
|
-
body: versionRestore
|
|
177
|
-
})
|
|
178
|
-
.then(this.getClientInstance().responseHandler({
|
|
163
|
+
body: versionRestore
|
|
164
|
+
}).then(this.getClientInstance().responseHandler({
|
|
179
165
|
200: {
|
|
180
|
-
"application/json": "json"
|
|
181
|
-
}
|
|
182
|
-
}))
|
|
183
|
-
.then(commonHttpClient.castResponse())
|
|
184
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentVersionsService.restoreContentVersion.response")))
|
|
185
|
-
.then(commonHttpClient.getBody);
|
|
166
|
+
"application/json": "json"
|
|
167
|
+
}
|
|
168
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentVersionsService.restoreContentVersion.response"))).then(commonHttpClient.getBody);
|
|
186
169
|
};
|
|
187
170
|
}
|
|
188
171
|
static initialize() {
|
|
189
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentVersionsService.getContentVersions.response", zod_1.z
|
|
190
|
-
.object({
|
|
172
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentVersionsService.getContentVersions.response", zod_1.z.object({
|
|
191
173
|
status: zod_1.z.literal(200),
|
|
192
174
|
mediaType: zod_1.z.literal("application/json"),
|
|
193
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("VersionArray")
|
|
194
|
-
})
|
|
195
|
-
|
|
196
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentVersionsService.restoreContentVersion.response", zod_1.z
|
|
197
|
-
.object({
|
|
175
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("VersionArray")
|
|
176
|
+
}).describe("ContentVersionsService.getContentVersions.response"));
|
|
177
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentVersionsService.restoreContentVersion.response", zod_1.z.object({
|
|
198
178
|
status: zod_1.z.literal(200),
|
|
199
179
|
mediaType: zod_1.z.literal("application/json"),
|
|
200
|
-
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("VersionV1"))
|
|
201
|
-
})
|
|
202
|
-
|
|
203
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentVersionsService.getContentVersion.response", zod_1.z
|
|
204
|
-
.object({
|
|
180
|
+
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("VersionV1"))
|
|
181
|
+
}).describe("ContentVersionsService.restoreContentVersion.response"));
|
|
182
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentVersionsService.getContentVersion.response", zod_1.z.object({
|
|
205
183
|
status: zod_1.z.literal(200),
|
|
206
184
|
mediaType: zod_1.z.literal("application/json"),
|
|
207
|
-
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("VersionV1"))
|
|
208
|
-
})
|
|
209
|
-
|
|
210
|
-
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
211
|
-
contentVersions_1.registerContentVersionsValidationSchemas,
|
|
212
|
-
common_1.registerCommonValidationSchemas,
|
|
213
|
-
]);
|
|
185
|
+
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("VersionV1"))
|
|
186
|
+
}).describe("ContentVersionsService.getContentVersion.response"));
|
|
187
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([contentVersions_1.registerContentVersionsValidationSchemas, common_1.registerCommonValidationSchemas]);
|
|
214
188
|
}
|
|
215
189
|
}
|
|
216
190
|
exports.ContentVersionsService = ContentVersionsService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentVersionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentVersionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"ContentVersionsService.js","sourceR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,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,OAAC,CAAC,QAAQ,CAAC,iDAAuB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAC5D,CAAC,CAAC,QAAQ,CAAC,mDAAmD,CAAC,CAAC,CAAC;QAClE,iDAAuB,CAAC,YAAY,CAAC,CAAC,0DAAwC,EAAE,wCAA+B,CAAC,CAAC,CAAC;IACpH,CAAC;CACF;AA5PD,wDA4PC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
2
|
+
import { type WatchArray, type SpaceWatchArray, type UserWatch } from "../models/contentWatches";
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches
|
|
5
5
|
* @category Services
|
|
@@ -26,7 +26,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
26
26
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-post
|
|
27
27
|
* @param params
|
|
28
28
|
*/
|
|
29
|
-
addContentWatcher: ({ contentId, key, username, accountId
|
|
29
|
+
addContentWatcher: ({ contentId, key, username, accountId }: {
|
|
30
30
|
/** The ID of the content to add the watcher to. */
|
|
31
31
|
contentId: string;
|
|
32
32
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
79
79
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-post
|
|
80
80
|
* @param params
|
|
81
81
|
*/
|
|
82
|
-
addLabelWatcher: ({ labelName, key, username, accountId, xAtlassianToken
|
|
82
|
+
addLabelWatcher: ({ labelName, key, username, accountId, xAtlassianToken }: {
|
|
83
83
|
/** The name of the label to add the watcher to. */
|
|
84
84
|
labelName: string;
|
|
85
85
|
/**
|
|
@@ -137,7 +137,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
137
137
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-post
|
|
138
138
|
* @param params
|
|
139
139
|
*/
|
|
140
|
-
addSpaceWatcher: ({ spaceKey, key, username, accountId, xAtlassianToken
|
|
140
|
+
addSpaceWatcher: ({ spaceKey, key, username, accountId, xAtlassianToken }: {
|
|
141
141
|
/** The key of the space to add the watcher to. */
|
|
142
142
|
spaceKey: string;
|
|
143
143
|
/**
|
|
@@ -193,7 +193,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
193
193
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-get
|
|
194
194
|
* @param params
|
|
195
195
|
*/
|
|
196
|
-
getContentWatchStatus: ({ contentId, key, username, accountId
|
|
196
|
+
getContentWatchStatus: ({ contentId, key, username, accountId }: {
|
|
197
197
|
/**
|
|
198
198
|
* The ID of the content to be queried for whether the specified user is
|
|
199
199
|
* watching it.
|
|
@@ -237,7 +237,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
237
237
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-space-spacekey-watch-get
|
|
238
238
|
* @param params
|
|
239
239
|
*/
|
|
240
|
-
getWatchersForSpace: ({ spaceKey, start, limit
|
|
240
|
+
getWatchersForSpace: ({ spaceKey, start, limit }: {
|
|
241
241
|
/** The key of the space to get watchers. */
|
|
242
242
|
spaceKey: string;
|
|
243
243
|
/** The start point of the collection to return. */
|
|
@@ -268,7 +268,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
268
268
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-content-id-notification-child-created-get
|
|
269
269
|
* @param params
|
|
270
270
|
*/
|
|
271
|
-
getWatchesForPage: ({ id, start, limit
|
|
271
|
+
getWatchesForPage: ({ id, start, limit }: {
|
|
272
272
|
/** The ID of the content to be queried for its watches. */
|
|
273
273
|
id: string;
|
|
274
274
|
/** The starting index of the returned watches. */
|
|
@@ -300,7 +300,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
300
300
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-content-id-notification-created-get
|
|
301
301
|
* @param params
|
|
302
302
|
*/
|
|
303
|
-
getWatchesForSpace: ({ id, start, limit
|
|
303
|
+
getWatchesForSpace: ({ id, start, limit }: {
|
|
304
304
|
/** The ID of the content to be queried for its watches. */
|
|
305
305
|
id: string;
|
|
306
306
|
/** The starting index of the returned watches. */
|
|
@@ -330,7 +330,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
330
330
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-get
|
|
331
331
|
* @param params
|
|
332
332
|
*/
|
|
333
|
-
isWatchingLabel: ({ labelName, key, username, accountId
|
|
333
|
+
isWatchingLabel: ({ labelName, key, username, accountId }: {
|
|
334
334
|
/**
|
|
335
335
|
* The name of the label to be queried for whether the specified user is
|
|
336
336
|
* watching it.
|
|
@@ -384,7 +384,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
384
384
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-get
|
|
385
385
|
* @param params
|
|
386
386
|
*/
|
|
387
|
-
isWatchingSpace: ({ spaceKey, key, username, accountId
|
|
387
|
+
isWatchingSpace: ({ spaceKey, key, username, accountId }: {
|
|
388
388
|
/**
|
|
389
389
|
* The key of the space to be queried for whether the specified user is
|
|
390
390
|
* watching it.
|
|
@@ -437,7 +437,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
437
437
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-delete
|
|
438
438
|
* @param params
|
|
439
439
|
*/
|
|
440
|
-
removeContentWatcher: ({ contentId, key, username, accountId, xAtlassianToken
|
|
440
|
+
removeContentWatcher: ({ contentId, key, username, accountId, xAtlassianToken }: {
|
|
441
441
|
/** The ID of the content to remove the watcher from. */
|
|
442
442
|
contentId: string;
|
|
443
443
|
/**
|
|
@@ -492,7 +492,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
492
492
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-delete
|
|
493
493
|
* @param params
|
|
494
494
|
*/
|
|
495
|
-
removeLabelWatcher: ({ labelName, key, username, accountId
|
|
495
|
+
removeLabelWatcher: ({ labelName, key, username, accountId }: {
|
|
496
496
|
/** The name of the label to remove the watcher from. */
|
|
497
497
|
labelName: string;
|
|
498
498
|
/**
|
|
@@ -542,7 +542,7 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
542
542
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-delete
|
|
543
543
|
* @param params
|
|
544
544
|
*/
|
|
545
|
-
removeSpaceWatch: ({ spaceKey, key, username, accountId
|
|
545
|
+
removeSpaceWatch: ({ spaceKey, key, username, accountId }: {
|
|
546
546
|
/** The key of the space to remove the watcher from. */
|
|
547
547
|
spaceKey: string;
|
|
548
548
|
/**
|