@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
2
|
+
import { type ContentTemplateUpdate, type ContentTemplate, type ContentTemplateCreate, type BlueprintTemplateArray, type ContentTemplateArray } from "../models/template";
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template
|
|
5
5
|
* @category Services
|
|
@@ -21,7 +21,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
21
21
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
|
|
22
22
|
* @param params
|
|
23
23
|
*/
|
|
24
|
-
createContentTemplate: ({ contentTemplateCreate
|
|
24
|
+
createContentTemplate: ({ contentTemplateCreate }: {
|
|
25
25
|
/**
|
|
26
26
|
* The content template to be created.
|
|
27
27
|
* The content body must be in 'storage' format.
|
|
@@ -47,7 +47,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
47
47
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
|
|
48
48
|
* @param params
|
|
49
49
|
*/
|
|
50
|
-
getBlueprintTemplates: ({ spaceKey, start, limit, expand
|
|
50
|
+
getBlueprintTemplates: ({ spaceKey, start, limit, expand }?: {
|
|
51
51
|
/**
|
|
52
52
|
* The key of the space to be queried for templates. If the `spaceKey`
|
|
53
53
|
* is not specified, global blueprint templates will be returned.
|
|
@@ -85,7 +85,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
85
85
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
|
|
86
86
|
* @param params
|
|
87
87
|
*/
|
|
88
|
-
getContentTemplate: ({ contentTemplateId
|
|
88
|
+
getContentTemplate: ({ contentTemplateId }: {
|
|
89
89
|
/** The ID of the content template to be returned. */
|
|
90
90
|
contentTemplateId: string;
|
|
91
91
|
}) => Promise<ContentTemplate>;
|
|
@@ -105,7 +105,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
105
105
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
|
|
106
106
|
* @param params
|
|
107
107
|
*/
|
|
108
|
-
getContentTemplates: ({ spaceKey, start, limit, expand
|
|
108
|
+
getContentTemplates: ({ spaceKey, start, limit, expand }?: {
|
|
109
109
|
/**
|
|
110
110
|
* The key of the space to be queried for templates. If the `spaceKey`
|
|
111
111
|
* is not specified, global templates will be returned.
|
|
@@ -149,7 +149,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
149
149
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
|
|
150
150
|
* @param params
|
|
151
151
|
*/
|
|
152
|
-
removeTemplate: ({ contentTemplateId
|
|
152
|
+
removeTemplate: ({ contentTemplateId }: {
|
|
153
153
|
/** The ID of the template to be deleted. */
|
|
154
154
|
contentTemplateId: string;
|
|
155
155
|
}) => Promise<void>;
|
|
@@ -169,7 +169,7 @@ export declare class TemplateService extends CommonHttpService {
|
|
|
169
169
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
|
|
170
170
|
* @param params
|
|
171
171
|
*/
|
|
172
|
-
updateContentTemplate: ({ contentTemplateUpdate
|
|
172
|
+
updateContentTemplate: ({ contentTemplateUpdate }: {
|
|
173
173
|
/** The updated content template. */
|
|
174
174
|
contentTemplateUpdate: ContentTemplateUpdate;
|
|
175
175
|
}) => Promise<ContentTemplate>;
|
|
@@ -4,11 +4,11 @@ exports.TemplateService = 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 template_1 = require("../models/template");
|
|
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-template
|
|
14
14
|
* @category Services
|
|
@@ -32,24 +32,19 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
32
32
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-post
|
|
33
33
|
* @param params
|
|
34
34
|
*/
|
|
35
|
-
this.createContentTemplate = ({ contentTemplateCreate
|
|
36
|
-
return this.getClientInstance()
|
|
37
|
-
.request({
|
|
35
|
+
this.createContentTemplate = ({ contentTemplateCreate }) => {
|
|
36
|
+
return this.getClientInstance().request({
|
|
38
37
|
path: "/wiki/rest/api/template",
|
|
39
38
|
method: "POST",
|
|
40
39
|
headers: {
|
|
41
|
-
"Content-Type": "application/json"
|
|
40
|
+
"Content-Type": "application/json"
|
|
42
41
|
},
|
|
43
|
-
body: contentTemplateCreate
|
|
44
|
-
})
|
|
45
|
-
.then(this.getClientInstance().responseHandler({
|
|
42
|
+
body: contentTemplateCreate
|
|
43
|
+
}).then(this.getClientInstance().responseHandler({
|
|
46
44
|
200: {
|
|
47
|
-
"application/json": "json"
|
|
48
|
-
}
|
|
49
|
-
}))
|
|
50
|
-
.then(commonHttpClient.castResponse())
|
|
51
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.createContentTemplate.response")))
|
|
52
|
-
.then(commonHttpClient.getBody);
|
|
45
|
+
"application/json": "json"
|
|
46
|
+
}
|
|
47
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.createContentTemplate.response"))).then(commonHttpClient.getBody);
|
|
53
48
|
};
|
|
54
49
|
/**
|
|
55
50
|
* Returns all templates provided by blueprints. Use this method to retrieve
|
|
@@ -70,33 +65,28 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
70
65
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-blueprint-get
|
|
71
66
|
* @param params
|
|
72
67
|
*/
|
|
73
|
-
this.getBlueprintTemplates = ({ spaceKey, start, limit, expand
|
|
74
|
-
return this.getClientInstance()
|
|
75
|
-
.request({
|
|
68
|
+
this.getBlueprintTemplates = ({ spaceKey, start, limit, expand } = {}) => {
|
|
69
|
+
return this.getClientInstance().request({
|
|
76
70
|
path: "/wiki/rest/api/template/blueprint",
|
|
77
71
|
method: "GET",
|
|
78
72
|
query: {
|
|
79
73
|
spaceKey,
|
|
80
74
|
start,
|
|
81
75
|
limit,
|
|
82
|
-
expand
|
|
76
|
+
expand
|
|
83
77
|
},
|
|
84
78
|
parameters: {
|
|
85
79
|
query: {
|
|
86
80
|
expand: {
|
|
87
|
-
explode: false
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
})
|
|
92
|
-
.then(this.getClientInstance().responseHandler({
|
|
81
|
+
explode: false
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}).then(this.getClientInstance().responseHandler({
|
|
93
86
|
200: {
|
|
94
|
-
"application/json": "json"
|
|
95
|
-
}
|
|
96
|
-
}))
|
|
97
|
-
.then(commonHttpClient.castResponse())
|
|
98
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getBlueprintTemplates.response")))
|
|
99
|
-
.then(commonHttpClient.getBody);
|
|
87
|
+
"application/json": "json"
|
|
88
|
+
}
|
|
89
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getBlueprintTemplates.response"))).then(commonHttpClient.getBody);
|
|
100
90
|
};
|
|
101
91
|
/**
|
|
102
92
|
* Returns a content template. This includes information about template,
|
|
@@ -115,23 +105,18 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
115
105
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-get
|
|
116
106
|
* @param params
|
|
117
107
|
*/
|
|
118
|
-
this.getContentTemplate = ({ contentTemplateId
|
|
119
|
-
return this.getClientInstance()
|
|
120
|
-
.request({
|
|
108
|
+
this.getContentTemplate = ({ contentTemplateId }) => {
|
|
109
|
+
return this.getClientInstance().request({
|
|
121
110
|
path: "/wiki/rest/api/template/{contentTemplateId}",
|
|
122
111
|
method: "GET",
|
|
123
112
|
pathParams: {
|
|
124
|
-
contentTemplateId
|
|
125
|
-
}
|
|
126
|
-
})
|
|
127
|
-
.then(this.getClientInstance().responseHandler({
|
|
113
|
+
contentTemplateId
|
|
114
|
+
}
|
|
115
|
+
}).then(this.getClientInstance().responseHandler({
|
|
128
116
|
200: {
|
|
129
|
-
"application/json": "json"
|
|
130
|
-
}
|
|
131
|
-
}))
|
|
132
|
-
.then(commonHttpClient.castResponse())
|
|
133
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplate.response")))
|
|
134
|
-
.then(commonHttpClient.getBody);
|
|
117
|
+
"application/json": "json"
|
|
118
|
+
}
|
|
119
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplate.response"))).then(commonHttpClient.getBody);
|
|
135
120
|
};
|
|
136
121
|
/**
|
|
137
122
|
* Returns all content templates. Use this method to retrieve all global
|
|
@@ -149,33 +134,28 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
149
134
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-page-get
|
|
150
135
|
* @param params
|
|
151
136
|
*/
|
|
152
|
-
this.getContentTemplates = ({ spaceKey, start, limit, expand
|
|
153
|
-
return this.getClientInstance()
|
|
154
|
-
.request({
|
|
137
|
+
this.getContentTemplates = ({ spaceKey, start, limit, expand } = {}) => {
|
|
138
|
+
return this.getClientInstance().request({
|
|
155
139
|
path: "/wiki/rest/api/template/page",
|
|
156
140
|
method: "GET",
|
|
157
141
|
query: {
|
|
158
142
|
spaceKey,
|
|
159
143
|
start,
|
|
160
144
|
limit,
|
|
161
|
-
expand
|
|
145
|
+
expand
|
|
162
146
|
},
|
|
163
147
|
parameters: {
|
|
164
148
|
query: {
|
|
165
149
|
expand: {
|
|
166
|
-
explode: false
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
})
|
|
171
|
-
.then(this.getClientInstance().responseHandler({
|
|
150
|
+
explode: false
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}).then(this.getClientInstance().responseHandler({
|
|
172
155
|
200: {
|
|
173
|
-
"application/json": "json"
|
|
174
|
-
}
|
|
175
|
-
}))
|
|
176
|
-
.then(commonHttpClient.castResponse())
|
|
177
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplates.response")))
|
|
178
|
-
.then(commonHttpClient.getBody);
|
|
156
|
+
"application/json": "json"
|
|
157
|
+
}
|
|
158
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.getContentTemplates.response"))).then(commonHttpClient.getBody);
|
|
179
159
|
};
|
|
180
160
|
/**
|
|
181
161
|
* Deletes a template. This results in different actions depending on the
|
|
@@ -200,16 +180,14 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
200
180
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-contenttemplateid-delete
|
|
201
181
|
* @param params
|
|
202
182
|
*/
|
|
203
|
-
this.removeTemplate = ({ contentTemplateId
|
|
204
|
-
return this.getClientInstance()
|
|
205
|
-
.request({
|
|
183
|
+
this.removeTemplate = ({ contentTemplateId }) => {
|
|
184
|
+
return this.getClientInstance().request({
|
|
206
185
|
path: "/wiki/rest/api/template/{contentTemplateId}",
|
|
207
186
|
method: "DELETE",
|
|
208
187
|
pathParams: {
|
|
209
|
-
contentTemplateId
|
|
210
|
-
}
|
|
211
|
-
})
|
|
212
|
-
.then(commonHttpClient.discardResult);
|
|
188
|
+
contentTemplateId
|
|
189
|
+
}
|
|
190
|
+
}).then(commonHttpClient.discardResult);
|
|
213
191
|
};
|
|
214
192
|
/**
|
|
215
193
|
* Updates a content template. Note, blueprint templates cannot be updated
|
|
@@ -227,62 +205,47 @@ class TemplateService extends CommonHttpService_1.CommonHttpService {
|
|
|
227
205
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-template#api-wiki-rest-api-template-put
|
|
228
206
|
* @param params
|
|
229
207
|
*/
|
|
230
|
-
this.updateContentTemplate = ({ contentTemplateUpdate
|
|
231
|
-
return this.getClientInstance()
|
|
232
|
-
.request({
|
|
208
|
+
this.updateContentTemplate = ({ contentTemplateUpdate }) => {
|
|
209
|
+
return this.getClientInstance().request({
|
|
233
210
|
path: "/wiki/rest/api/template",
|
|
234
211
|
method: "PUT",
|
|
235
212
|
headers: {
|
|
236
|
-
"Content-Type": "application/json"
|
|
213
|
+
"Content-Type": "application/json"
|
|
237
214
|
},
|
|
238
|
-
body: contentTemplateUpdate
|
|
239
|
-
})
|
|
240
|
-
.then(this.getClientInstance().responseHandler({
|
|
215
|
+
body: contentTemplateUpdate
|
|
216
|
+
}).then(this.getClientInstance().responseHandler({
|
|
241
217
|
200: {
|
|
242
|
-
"application/json": "json"
|
|
243
|
-
}
|
|
244
|
-
}))
|
|
245
|
-
.then(commonHttpClient.castResponse())
|
|
246
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.updateContentTemplate.response")))
|
|
247
|
-
.then(commonHttpClient.getBody);
|
|
218
|
+
"application/json": "json"
|
|
219
|
+
}
|
|
220
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("TemplateService.updateContentTemplate.response"))).then(commonHttpClient.getBody);
|
|
248
221
|
};
|
|
249
222
|
}
|
|
250
223
|
static initialize() {
|
|
251
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.updateContentTemplate.response", zod_1.z
|
|
252
|
-
.object({
|
|
224
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.updateContentTemplate.response", zod_1.z.object({
|
|
253
225
|
status: zod_1.z.literal(200),
|
|
254
226
|
mediaType: zod_1.z.literal("application/json"),
|
|
255
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
|
|
256
|
-
})
|
|
257
|
-
|
|
258
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.createContentTemplate.response", zod_1.z
|
|
259
|
-
.object({
|
|
227
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
|
|
228
|
+
}).describe("TemplateService.updateContentTemplate.response"));
|
|
229
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.createContentTemplate.response", zod_1.z.object({
|
|
260
230
|
status: zod_1.z.literal(200),
|
|
261
231
|
mediaType: zod_1.z.literal("application/json"),
|
|
262
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
|
|
263
|
-
})
|
|
264
|
-
|
|
265
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplate.response", zod_1.z
|
|
266
|
-
.object({
|
|
232
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
|
|
233
|
+
}).describe("TemplateService.createContentTemplate.response"));
|
|
234
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplate.response", zod_1.z.object({
|
|
267
235
|
status: zod_1.z.literal(200),
|
|
268
236
|
mediaType: zod_1.z.literal("application/json"),
|
|
269
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
|
|
270
|
-
})
|
|
271
|
-
|
|
272
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getBlueprintTemplates.response", zod_1.z
|
|
273
|
-
.object({
|
|
237
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplate")
|
|
238
|
+
}).describe("TemplateService.getContentTemplate.response"));
|
|
239
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getBlueprintTemplates.response", zod_1.z.object({
|
|
274
240
|
status: zod_1.z.literal(200),
|
|
275
241
|
mediaType: zod_1.z.literal("application/json"),
|
|
276
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("BlueprintTemplateArray")
|
|
277
|
-
})
|
|
278
|
-
|
|
279
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplates.response", zod_1.z
|
|
280
|
-
.object({
|
|
242
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("BlueprintTemplateArray")
|
|
243
|
+
}).describe("TemplateService.getBlueprintTemplates.response"));
|
|
244
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TemplateService.getContentTemplates.response", zod_1.z.object({
|
|
281
245
|
status: zod_1.z.literal(200),
|
|
282
246
|
mediaType: zod_1.z.literal("application/json"),
|
|
283
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplateArray")
|
|
284
|
-
})
|
|
285
|
-
.describe("TemplateService.getContentTemplates.response"));
|
|
247
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("ContentTemplateArray")
|
|
248
|
+
}).describe("TemplateService.getContentTemplates.response"));
|
|
286
249
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([template_1.registerTemplateValidationSchemas]);
|
|
287
250
|
}
|
|
288
251
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/TemplateService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"TemplateService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/TemplateService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,iDAA6M;AAC7M,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;WAeG;QACH,0BAAqB,GAAG,CAAC,EACvB,qBAAqB,EAOtB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,yBAAyB;gBAC/B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,q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AAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,sBAAsB,CAAC;SAC3D,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC,CAAC,CAAC;QAC7D,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AArUD,0CAqUC"}
|
|
@@ -33,7 +33,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
33
33
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-get
|
|
34
34
|
* @param params
|
|
35
35
|
*/
|
|
36
|
-
getSpaceTheme: ({ spaceKey
|
|
36
|
+
getSpaceTheme: ({ spaceKey }: {
|
|
37
37
|
/** The key of the space to be queried for its theme. */
|
|
38
38
|
spaceKey: string;
|
|
39
39
|
}) => Promise<Theme>;
|
|
@@ -50,7 +50,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
50
50
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-themekey-get
|
|
51
51
|
* @param params
|
|
52
52
|
*/
|
|
53
|
-
getTheme: ({ themeKey
|
|
53
|
+
getTheme: ({ themeKey }: {
|
|
54
54
|
/** The key of the theme to be returned. */
|
|
55
55
|
themeKey: string;
|
|
56
56
|
}) => Promise<Theme>;
|
|
@@ -66,7 +66,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
66
66
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-settings-theme-get
|
|
67
67
|
* @param params
|
|
68
68
|
*/
|
|
69
|
-
getThemes: ({ start, limit
|
|
69
|
+
getThemes: ({ start, limit }?: {
|
|
70
70
|
/** The starting index of the returned themes. */
|
|
71
71
|
start?: number | undefined;
|
|
72
72
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
88
88
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-delete
|
|
89
89
|
* @param params
|
|
90
90
|
*/
|
|
91
|
-
resetSpaceTheme: ({ spaceKey
|
|
91
|
+
resetSpaceTheme: ({ spaceKey }: {
|
|
92
92
|
/** The key of the space to reset the theme for. */
|
|
93
93
|
spaceKey: string;
|
|
94
94
|
}) => Promise<void>;
|
|
@@ -107,7 +107,7 @@ export declare class ThemesService extends CommonHttpService {
|
|
|
107
107
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-themes#api-wiki-rest-api-space-spacekey-theme-put
|
|
108
108
|
* @param params
|
|
109
109
|
*/
|
|
110
|
-
setSpaceTheme: ({ spaceKey, themeUpdate
|
|
110
|
+
setSpaceTheme: ({ spaceKey, themeUpdate }: {
|
|
111
111
|
/** The key of the space to set the theme for. */
|
|
112
112
|
spaceKey: string;
|
|
113
113
|
themeUpdate: ThemeUpdate;
|