@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.ContentAttachmentsService = 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
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments
|
|
14
14
|
* @category Services
|
|
@@ -62,30 +62,25 @@ class ContentAttachmentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
62
62
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments#api-wiki-rest-api-content-id-child-attachment-post
|
|
63
63
|
* @param params
|
|
64
64
|
*/
|
|
65
|
-
this.createAttachment = ({ id, status, requestBody
|
|
66
|
-
return this.getClientInstance()
|
|
67
|
-
.request({
|
|
65
|
+
this.createAttachment = ({ id, status, requestBody }) => {
|
|
66
|
+
return this.getClientInstance().request({
|
|
68
67
|
path: "/wiki/rest/api/content/{id}/child/attachment",
|
|
69
68
|
method: "POST",
|
|
70
69
|
pathParams: {
|
|
71
|
-
id
|
|
70
|
+
id
|
|
72
71
|
},
|
|
73
72
|
query: {
|
|
74
|
-
status
|
|
73
|
+
status
|
|
75
74
|
},
|
|
76
75
|
headers: {
|
|
77
|
-
"Content-Type": "multipart/form-data"
|
|
76
|
+
"Content-Type": "multipart/form-data"
|
|
78
77
|
},
|
|
79
|
-
body: requestBody
|
|
80
|
-
})
|
|
81
|
-
.then(this.getClientInstance().responseHandler({
|
|
78
|
+
body: requestBody
|
|
79
|
+
}).then(this.getClientInstance().responseHandler({
|
|
82
80
|
200: {
|
|
83
|
-
"application/json": "json"
|
|
84
|
-
}
|
|
85
|
-
}))
|
|
86
|
-
.then(commonHttpClient.castResponse())
|
|
87
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.createAttachment.response")))
|
|
88
|
-
.then(commonHttpClient.getBody);
|
|
81
|
+
"application/json": "json"
|
|
82
|
+
}
|
|
83
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.createAttachment.response"))).then(commonHttpClient.getBody);
|
|
89
84
|
};
|
|
90
85
|
/**
|
|
91
86
|
* Adds an attachment to a piece of content. If the attachment already exists
|
|
@@ -134,30 +129,25 @@ class ContentAttachmentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
134
129
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments#api-wiki-rest-api-content-id-child-attachment-put
|
|
135
130
|
* @param params
|
|
136
131
|
*/
|
|
137
|
-
this.createOrUpdateAttachments = ({ id, status, requestBody
|
|
138
|
-
return this.getClientInstance()
|
|
139
|
-
.request({
|
|
132
|
+
this.createOrUpdateAttachments = ({ id, status, requestBody }) => {
|
|
133
|
+
return this.getClientInstance().request({
|
|
140
134
|
path: "/wiki/rest/api/content/{id}/child/attachment",
|
|
141
135
|
method: "PUT",
|
|
142
136
|
pathParams: {
|
|
143
|
-
id
|
|
137
|
+
id
|
|
144
138
|
},
|
|
145
139
|
query: {
|
|
146
|
-
status
|
|
140
|
+
status
|
|
147
141
|
},
|
|
148
142
|
headers: {
|
|
149
|
-
"Content-Type": "multipart/form-data"
|
|
143
|
+
"Content-Type": "multipart/form-data"
|
|
150
144
|
},
|
|
151
|
-
body: requestBody
|
|
152
|
-
})
|
|
153
|
-
.then(this.getClientInstance().responseHandler({
|
|
145
|
+
body: requestBody
|
|
146
|
+
}).then(this.getClientInstance().responseHandler({
|
|
154
147
|
200: {
|
|
155
|
-
"application/json": "json"
|
|
156
|
-
}
|
|
157
|
-
}))
|
|
158
|
-
.then(commonHttpClient.castResponse())
|
|
159
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.createOrUpdateAttachments.response")))
|
|
160
|
-
.then(commonHttpClient.getBody);
|
|
148
|
+
"application/json": "json"
|
|
149
|
+
}
|
|
150
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.createOrUpdateAttachments.response"))).then(commonHttpClient.getBody);
|
|
161
151
|
};
|
|
162
152
|
/**
|
|
163
153
|
* Redirects the client to a URL that serves an attachment's binary data.
|
|
@@ -168,20 +158,18 @@ class ContentAttachmentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
168
158
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments#api-wiki-rest-api-content-id-child-attachment-attachmentid-download-get
|
|
169
159
|
* @param params
|
|
170
160
|
*/
|
|
171
|
-
this.downloadAttatchment = ({ id, attachmentId, version
|
|
172
|
-
return this.getClientInstance()
|
|
173
|
-
.request({
|
|
161
|
+
this.downloadAttatchment = ({ id, attachmentId, version }) => {
|
|
162
|
+
return this.getClientInstance().request({
|
|
174
163
|
path: "/wiki/rest/api/content/{id}/child/attachment/{attachmentId}/download",
|
|
175
164
|
method: "GET",
|
|
176
165
|
pathParams: {
|
|
177
166
|
id,
|
|
178
|
-
attachmentId
|
|
167
|
+
attachmentId
|
|
179
168
|
},
|
|
180
169
|
query: {
|
|
181
|
-
version
|
|
182
|
-
}
|
|
183
|
-
})
|
|
184
|
-
.then(commonHttpClient.discardResult);
|
|
170
|
+
version
|
|
171
|
+
}
|
|
172
|
+
}).then(commonHttpClient.discardResult);
|
|
185
173
|
};
|
|
186
174
|
/**
|
|
187
175
|
* Deprecated, use [Confluence's v2
|
|
@@ -203,37 +191,32 @@ class ContentAttachmentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
203
191
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments#api-wiki-rest-api-content-id-child-attachment-get
|
|
204
192
|
* @param params
|
|
205
193
|
*/
|
|
206
|
-
this.getAttachments = ({ id, expand, start, limit, filename, mediaType
|
|
207
|
-
return this.getClientInstance()
|
|
208
|
-
.request({
|
|
194
|
+
this.getAttachments = ({ id, expand, start, limit, filename, mediaType }) => {
|
|
195
|
+
return this.getClientInstance().request({
|
|
209
196
|
path: "/wiki/rest/api/content/{id}/child/attachment",
|
|
210
197
|
method: "GET",
|
|
211
198
|
pathParams: {
|
|
212
|
-
id
|
|
199
|
+
id
|
|
213
200
|
},
|
|
214
201
|
query: {
|
|
215
202
|
expand,
|
|
216
203
|
start,
|
|
217
204
|
limit,
|
|
218
205
|
filename,
|
|
219
|
-
mediaType
|
|
206
|
+
mediaType
|
|
220
207
|
},
|
|
221
208
|
parameters: {
|
|
222
209
|
query: {
|
|
223
210
|
expand: {
|
|
224
|
-
explode: false
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
})
|
|
229
|
-
.then(this.getClientInstance().responseHandler({
|
|
211
|
+
explode: false
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}).then(this.getClientInstance().responseHandler({
|
|
230
216
|
200: {
|
|
231
|
-
"application/json": "json"
|
|
232
|
-
}
|
|
233
|
-
}))
|
|
234
|
-
.then(commonHttpClient.castResponse())
|
|
235
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.getAttachments.response")))
|
|
236
|
-
.then(commonHttpClient.getBody);
|
|
217
|
+
"application/json": "json"
|
|
218
|
+
}
|
|
219
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.getAttachments.response"))).then(commonHttpClient.getBody);
|
|
237
220
|
};
|
|
238
221
|
/**
|
|
239
222
|
* Updates the binary data of an attachment, given the attachment ID, and
|
|
@@ -284,28 +267,23 @@ class ContentAttachmentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
284
267
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments#api-wiki-rest-api-content-id-child-attachment-attachmentid-data-post
|
|
285
268
|
* @param params
|
|
286
269
|
*/
|
|
287
|
-
this.updateAttachmentData = ({ id, attachmentId, requestBody
|
|
288
|
-
return this.getClientInstance()
|
|
289
|
-
.request({
|
|
270
|
+
this.updateAttachmentData = ({ id, attachmentId, requestBody }) => {
|
|
271
|
+
return this.getClientInstance().request({
|
|
290
272
|
path: "/wiki/rest/api/content/{id}/child/attachment/{attachmentId}/data",
|
|
291
273
|
method: "POST",
|
|
292
274
|
pathParams: {
|
|
293
275
|
id,
|
|
294
|
-
attachmentId
|
|
276
|
+
attachmentId
|
|
295
277
|
},
|
|
296
278
|
headers: {
|
|
297
|
-
"Content-Type": "multipart/form-data"
|
|
279
|
+
"Content-Type": "multipart/form-data"
|
|
298
280
|
},
|
|
299
|
-
body: requestBody
|
|
300
|
-
})
|
|
301
|
-
.then(this.getClientInstance().responseHandler({
|
|
281
|
+
body: requestBody
|
|
282
|
+
}).then(this.getClientInstance().responseHandler({
|
|
302
283
|
200: {
|
|
303
|
-
"application/json": "json"
|
|
304
|
-
}
|
|
305
|
-
}))
|
|
306
|
-
.then(commonHttpClient.castResponse())
|
|
307
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.updateAttachmentData.response")))
|
|
308
|
-
.then(commonHttpClient.getBody);
|
|
284
|
+
"application/json": "json"
|
|
285
|
+
}
|
|
286
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.updateAttachmentData.response"))).then(commonHttpClient.getBody);
|
|
309
287
|
};
|
|
310
288
|
/**
|
|
311
289
|
* Updates the attachment properties, i.e. the non-binary data of an attachment
|
|
@@ -321,66 +299,51 @@ class ContentAttachmentsService extends CommonHttpService_1.CommonHttpService {
|
|
|
321
299
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-attachments#api-wiki-rest-api-content-id-child-attachment-attachmentid-put
|
|
322
300
|
* @param params
|
|
323
301
|
*/
|
|
324
|
-
this.updateAttachmentProperties = ({ id, attachmentId, attachmentPropertiesUpdateBody
|
|
325
|
-
return this.getClientInstance()
|
|
326
|
-
.request({
|
|
302
|
+
this.updateAttachmentProperties = ({ id, attachmentId, attachmentPropertiesUpdateBody }) => {
|
|
303
|
+
return this.getClientInstance().request({
|
|
327
304
|
path: "/wiki/rest/api/content/{id}/child/attachment/{attachmentId}",
|
|
328
305
|
method: "PUT",
|
|
329
306
|
pathParams: {
|
|
330
307
|
id,
|
|
331
|
-
attachmentId
|
|
308
|
+
attachmentId
|
|
332
309
|
},
|
|
333
310
|
headers: {
|
|
334
|
-
"Content-Type": "application/json"
|
|
311
|
+
"Content-Type": "application/json"
|
|
335
312
|
},
|
|
336
|
-
body: attachmentPropertiesUpdateBody
|
|
337
|
-
})
|
|
338
|
-
.then(this.getClientInstance().responseHandler({
|
|
313
|
+
body: attachmentPropertiesUpdateBody
|
|
314
|
+
}).then(this.getClientInstance().responseHandler({
|
|
339
315
|
200: {
|
|
340
|
-
"application/json": "json"
|
|
341
|
-
}
|
|
342
|
-
}))
|
|
343
|
-
.then(commonHttpClient.castResponse())
|
|
344
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.updateAttachmentProperties.response")))
|
|
345
|
-
.then(commonHttpClient.getBody);
|
|
316
|
+
"application/json": "json"
|
|
317
|
+
}
|
|
318
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("ContentAttachmentsService.updateAttachmentProperties.response"))).then(commonHttpClient.getBody);
|
|
346
319
|
};
|
|
347
320
|
}
|
|
348
321
|
static initialize() {
|
|
349
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.getAttachments.response", zod_1.z
|
|
350
|
-
.object({
|
|
322
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.getAttachments.response", zod_1.z.object({
|
|
351
323
|
status: zod_1.z.literal(200),
|
|
352
324
|
mediaType: zod_1.z.literal("application/json"),
|
|
353
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
354
|
-
})
|
|
355
|
-
|
|
356
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.createOrUpdateAttachments.response", zod_1.z
|
|
357
|
-
.object({
|
|
325
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
326
|
+
}).describe("ContentAttachmentsService.getAttachments.response"));
|
|
327
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.createOrUpdateAttachments.response", zod_1.z.object({
|
|
358
328
|
status: zod_1.z.literal(200),
|
|
359
329
|
mediaType: zod_1.z.literal("application/json"),
|
|
360
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
361
|
-
})
|
|
362
|
-
|
|
363
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.createAttachment.response", zod_1.z
|
|
364
|
-
.object({
|
|
330
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
331
|
+
}).describe("ContentAttachmentsService.createOrUpdateAttachments.response"));
|
|
332
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.createAttachment.response", zod_1.z.object({
|
|
365
333
|
status: zod_1.z.literal(200),
|
|
366
334
|
mediaType: zod_1.z.literal("application/json"),
|
|
367
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
368
|
-
})
|
|
369
|
-
|
|
370
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.updateAttachmentProperties.response", zod_1.z
|
|
371
|
-
.object({
|
|
335
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentArray")
|
|
336
|
+
}).describe("ContentAttachmentsService.createAttachment.response"));
|
|
337
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.updateAttachmentProperties.response", zod_1.z.object({
|
|
372
338
|
status: zod_1.z.literal(200),
|
|
373
339
|
mediaType: zod_1.z.literal("application/json"),
|
|
374
|
-
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("Content"))
|
|
375
|
-
})
|
|
376
|
-
|
|
377
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.updateAttachmentData.response", zod_1.z
|
|
378
|
-
.object({
|
|
340
|
+
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("Content"))
|
|
341
|
+
}).describe("ContentAttachmentsService.updateAttachmentProperties.response"));
|
|
342
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ContentAttachmentsService.updateAttachmentData.response", zod_1.z.object({
|
|
379
343
|
status: zod_1.z.literal(200),
|
|
380
344
|
mediaType: zod_1.z.literal("application/json"),
|
|
381
|
-
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("Content"))
|
|
382
|
-
})
|
|
383
|
-
.describe("ContentAttachmentsService.updateAttachmentData.response"));
|
|
345
|
+
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("Content"))
|
|
346
|
+
}).describe("ContentAttachmentsService.updateAttachmentData.response"));
|
|
384
347
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
|
|
385
348
|
}
|
|
386
349
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentAttachmentsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentAttachmentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"ContentAttachmentsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentAttachmentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAoG;AAEpG,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,qCAAiB;IAAhE;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6CG;QACH,qBAAgB,GAAG,CAAC,EAClB,EAAE,EACF,MAAM,EACN,WAAW,EAOZ,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,8CAA8C;gBACpD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,cAAc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AE,OAAC,CAAC,MAAM,CAAC;YACnH,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,SAAS,CAAC,CAAC;SAC1D,CAAC,CAAC,QAAQ,CAAC,+DAA+D,CAAC,CAAC,CAAC;QAC9E,iDAAuB,CAAC,kBAAkB,CAAC,yDAAyD,EAAE,OAAC,CAAC,MAAM,CAAC;YAC7G,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,SAAS,CAAC,CAAC;SAC1D,CAAC,CAAC,QAAQ,CAAC,yDAAyD,CAAC,CAAC,CAAC;QACxE,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA5gBD,8DA4gBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
3
|
-
import { type AsyncContentBody, type AsyncContentBodyArray, type
|
|
2
|
+
import { type ContentBodyCreate, type ContentBody, type AsyncId } from "../models/common";
|
|
3
|
+
import { type AsyncContentBody, type AsyncContentBodyArray, type ContentBodyConversionInputArray, type AsyncIdArray } from "../models/contentBody";
|
|
4
4
|
/**
|
|
5
5
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body
|
|
6
6
|
* @category Services
|
|
@@ -31,7 +31,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
31
31
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-to-post
|
|
32
32
|
* @param params
|
|
33
33
|
*/
|
|
34
|
-
asyncConvertContentBodyRequest: ({ to, expand, spaceKeyContext, contentIdContext, allowCache, embeddedContentRender, contentBodyCreate
|
|
34
|
+
asyncConvertContentBodyRequest: ({ to, expand, spaceKeyContext, contentIdContext, allowCache, embeddedContentRender, contentBodyCreate }: {
|
|
35
35
|
/** The name of the target format for the content body. */
|
|
36
36
|
to: "export_view";
|
|
37
37
|
/**
|
|
@@ -136,7 +136,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
136
136
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-id-get
|
|
137
137
|
* @param params
|
|
138
138
|
*/
|
|
139
|
-
asyncConvertContentBodyResponse: ({ id
|
|
139
|
+
asyncConvertContentBodyResponse: ({ id }: {
|
|
140
140
|
/** The asyncId of the macro task to get the converted body. */
|
|
141
141
|
id: string;
|
|
142
142
|
}) => Promise<AsyncContentBody>;
|
|
@@ -167,7 +167,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
167
167
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-bulk-tasks-post
|
|
168
168
|
* @param params
|
|
169
169
|
*/
|
|
170
|
-
bulkAsyncConvertContentBodyRequest: ({ contentBodyConversionInputArray
|
|
170
|
+
bulkAsyncConvertContentBodyRequest: ({ contentBodyConversionInputArray }: {
|
|
171
171
|
/** An array of parameters to create content body conversion tasks. */
|
|
172
172
|
contentBodyConversionInputArray: ContentBodyConversionInputArray;
|
|
173
173
|
}) => Promise<AsyncIdArray>;
|
|
@@ -195,7 +195,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
195
195
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-async-bulk-tasks-get
|
|
196
196
|
* @param params
|
|
197
197
|
*/
|
|
198
|
-
bulkAsyncConvertContentBodyResponse: ({ ids
|
|
198
|
+
bulkAsyncConvertContentBodyResponse: ({ ids }: {
|
|
199
199
|
/** The asyncIds of the conversion tasks. */
|
|
200
200
|
ids: string[];
|
|
201
201
|
}) => Promise<AsyncContentBodyArray>;
|
|
@@ -228,7 +228,7 @@ export declare class ContentBodyService extends CommonHttpService {
|
|
|
228
228
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body#api-wiki-rest-api-contentbody-convert-to-post
|
|
229
229
|
* @param params
|
|
230
230
|
*/
|
|
231
|
-
convertContentBody: ({ to, spaceKeyContext, contentIdContext, embeddedContentRender, expand, contentBodyCreate
|
|
231
|
+
convertContentBody: ({ to, spaceKeyContext, contentIdContext, embeddedContentRender, expand, contentBodyCreate }: {
|
|
232
232
|
/** The name of the target format for the content body. */
|
|
233
233
|
to: string;
|
|
234
234
|
/**
|