@resolution/confluence-api-client 0.7.12 → 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 +208 -213
- package/README.md +4 -4
- package/lib/openapi/core/CommonHttpClient.d.ts +46 -17
- package/lib/openapi/core/CommonHttpClient.js +175 -232
- 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 +4 -4
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +38 -0
- 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 -4
- package/lib/openapi/v1/models/common.js +188 -464
- 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 +4 -2
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js +17 -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 -20
- package/lib/openapi/v1/models/contentStates.js +15 -55
- 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 +33 -27
- 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 +15 -15
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +110 -160
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentCommentsService.js +19 -26
- 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 +18 -18
- package/lib/openapi/v1/services/ContentService.js +143 -211
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +13 -56
- package/lib/openapi/v1/services/ContentStatesService.js +99 -246
- 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 +38 -18
- 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 +5 -5
- package/lib/openapi/v1/services/SearchService.js +32 -46
- 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 +15 -15
- package/lib/openapi/v1/services/SpaceService.js +114 -175
- 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 +3 -1
- 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 +14 -11
- 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 +5 -4
|
@@ -4,11 +4,11 @@ exports.SearchService = 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 search_1 = require("../models/search");
|
|
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-search
|
|
14
14
|
* @category Services
|
|
@@ -66,9 +66,9 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
66
66
|
* The response to this will have a `prev` URL similar to the `next` in the
|
|
67
67
|
* example response.
|
|
68
68
|
*
|
|
69
|
-
*
|
|
70
|
-
* `body.
|
|
71
|
-
*
|
|
69
|
+
* If the expand query parameter is used with the `body.export_view` and/or
|
|
70
|
+
* `body.styled_view` properties, then the query limit parameter will be
|
|
71
|
+
* restricted to a maximum value of 25.
|
|
72
72
|
*
|
|
73
73
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
74
74
|
* Permission to view the entities. Note, only entities that the user has
|
|
@@ -81,9 +81,8 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
81
81
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-get
|
|
82
82
|
* @param params
|
|
83
83
|
*/
|
|
84
|
-
this.searchByCql = ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand
|
|
85
|
-
return this.getClientInstance()
|
|
86
|
-
.request({
|
|
84
|
+
this.searchByCql = ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand }) => {
|
|
85
|
+
return this.getClientInstance().request({
|
|
87
86
|
path: "/wiki/rest/api/search",
|
|
88
87
|
method: "GET",
|
|
89
88
|
query: {
|
|
@@ -99,24 +98,20 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
99
98
|
excerpt,
|
|
100
99
|
sitePermissionTypeFilter,
|
|
101
100
|
_,
|
|
102
|
-
expand
|
|
101
|
+
expand
|
|
103
102
|
},
|
|
104
103
|
parameters: {
|
|
105
104
|
query: {
|
|
106
105
|
expand: {
|
|
107
|
-
explode: false
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
})
|
|
112
|
-
.then(this.getClientInstance().responseHandler({
|
|
106
|
+
explode: false
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}).then(this.getClientInstance().responseHandler({
|
|
113
111
|
200: {
|
|
114
|
-
"application/json": "json"
|
|
115
|
-
}
|
|
116
|
-
}))
|
|
117
|
-
.then(commonHttpClient.castResponse())
|
|
118
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SearchService.searchByCQL.response")))
|
|
119
|
-
.then(commonHttpClient.getBody);
|
|
112
|
+
"application/json": "json"
|
|
113
|
+
}
|
|
114
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SearchService.searchByCQL.response"))).then(commonHttpClient.getBody);
|
|
120
115
|
};
|
|
121
116
|
/**
|
|
122
117
|
* Searches for users using user-specific queries from the
|
|
@@ -137,9 +132,8 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
137
132
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-user-get
|
|
138
133
|
* @param params
|
|
139
134
|
*/
|
|
140
|
-
this.searchUser = ({ cql, start, limit, expand, sitePermissionTypeFilter
|
|
141
|
-
return this.getClientInstance()
|
|
142
|
-
.request({
|
|
135
|
+
this.searchUser = ({ cql, start, limit, expand, sitePermissionTypeFilter }) => {
|
|
136
|
+
return this.getClientInstance().request({
|
|
143
137
|
path: "/wiki/rest/api/search/user",
|
|
144
138
|
method: "GET",
|
|
145
139
|
query: {
|
|
@@ -147,41 +141,33 @@ class SearchService extends CommonHttpService_1.CommonHttpService {
|
|
|
147
141
|
start,
|
|
148
142
|
limit,
|
|
149
143
|
expand,
|
|
150
|
-
sitePermissionTypeFilter
|
|
144
|
+
sitePermissionTypeFilter
|
|
151
145
|
},
|
|
152
146
|
parameters: {
|
|
153
147
|
query: {
|
|
154
148
|
expand: {
|
|
155
|
-
explode: false
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
})
|
|
160
|
-
.then(this.getClientInstance().responseHandler({
|
|
149
|
+
explode: false
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}).then(this.getClientInstance().responseHandler({
|
|
161
154
|
200: {
|
|
162
|
-
"application/json": "json"
|
|
163
|
-
}
|
|
164
|
-
}))
|
|
165
|
-
.then(commonHttpClient.castResponse())
|
|
166
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SearchService.searchUser.response")))
|
|
167
|
-
.then(commonHttpClient.getBody);
|
|
155
|
+
"application/json": "json"
|
|
156
|
+
}
|
|
157
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SearchService.searchUser.response"))).then(commonHttpClient.getBody);
|
|
168
158
|
};
|
|
169
159
|
}
|
|
170
160
|
static initialize() {
|
|
171
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SearchService.searchByCQL.response", zod_1.z
|
|
172
|
-
.object({
|
|
161
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SearchService.searchByCQL.response", zod_1.z.object({
|
|
173
162
|
status: zod_1.z.literal(200),
|
|
174
163
|
mediaType: zod_1.z.literal("application/json"),
|
|
175
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SearchPageResponseSearchResult")
|
|
176
|
-
})
|
|
177
|
-
|
|
178
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SearchService.searchUser.response", zod_1.z
|
|
179
|
-
.object({
|
|
164
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SearchPageResponseSearchResult")
|
|
165
|
+
}).describe("SearchService.searchByCQL.response"));
|
|
166
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SearchService.searchUser.response", zod_1.z.object({
|
|
180
167
|
status: zod_1.z.literal(200),
|
|
181
168
|
mediaType: zod_1.z.literal("application/json"),
|
|
182
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SearchPageResponseSearchResult")
|
|
183
|
-
})
|
|
184
|
-
.describe("SearchService.searchUser.response"));
|
|
169
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SearchPageResponseSearchResult")
|
|
170
|
+
}).describe("SearchService.searchUser.response"));
|
|
185
171
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([search_1.registerSearchValidationSchemas]);
|
|
186
172
|
}
|
|
187
173
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SearchService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"SearchService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SearchService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAwG;AACxG,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgEG;QACH,gBAAW,GAAG,CAAC,EACb,GAAG,EACH,UAAU,EACV,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EACL,qBAAqB,EACrB,oBAAoB,EACpB,OAAO,EACP,wBAAwB,EACxB,CAAC,EACD,MAAM,EAkDP,EAA2C,EAAE;YAC5C,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,uBAAuB;gBAC7B,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,GAAG;oBACH,UAAU;oBACV,MAAM;oBACN,IAAI;oBACJ,IAAI;oBACJ,KAAK;oBACL,KAAK;oBACL,qBAAqB;oBACrB,oBAAoB;oBACpB,OAAO;oBACP,wBAAwB;oBACxB,CAAC;oBACD,MAAM;iBACP;gBACD,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,MAAM,EAAE;4BACN,OAAO,EAAE,KAAK;yBACf;qBACF;iBACF;aACF,CAAC,CAAC,IAAI,CAA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B,CAAC,oCAAoC,EAAE,OAAC,CAAC,MAAM,CAAC;YACxF,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gCAAgC,CAAC;SACrE,CAAC,CAAC,QAAQ,CAAC,oCAAoC,CAAC,CAAC,CAAC;QACnD,iDAAuB,CAAC,kBAAkB,CAAC,mCAAmC,EAAE,OAAC,CAAC,MAAM,CAAC;YACvF,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gCAAgC,CAAC;SACrE,CAAC,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC,CAAC;QAClD,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA9QD,sCA8QC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import type { LookAndFeel } from "../models/common";
|
|
3
|
-
import { type
|
|
3
|
+
import { type LookAndFeelSettings, type LookAndFeelSelection, type LookAndFeelWithLinks, type SystemInfoEntity } from "../models/settings";
|
|
4
4
|
/**
|
|
5
5
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings
|
|
6
6
|
* @category Services
|
|
@@ -23,7 +23,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
23
23
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-get
|
|
24
24
|
* @param params
|
|
25
25
|
*/
|
|
26
|
-
getLookAndFeelSettings: ({ spaceKey
|
|
26
|
+
getLookAndFeelSettings: ({ spaceKey }?: {
|
|
27
27
|
/**
|
|
28
28
|
* The key of the space for which the look and feel settings will be
|
|
29
29
|
* returned. If this is not set, only the global look and feel settings
|
|
@@ -62,7 +62,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
62
62
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-delete
|
|
63
63
|
* @param params
|
|
64
64
|
*/
|
|
65
|
-
resetLookAndFeelSettings: ({ spaceKey
|
|
65
|
+
resetLookAndFeelSettings: ({ spaceKey }?: {
|
|
66
66
|
/**
|
|
67
67
|
* The key of the space for which the look and feel settings will be
|
|
68
68
|
* reset. If this is not set, the global look and feel settings will
|
|
@@ -86,7 +86,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
86
86
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-selected-put
|
|
87
87
|
* @param params
|
|
88
88
|
*/
|
|
89
|
-
setLookAndFeelSettings: ({ spaceKey, requestBody
|
|
89
|
+
setLookAndFeelSettings: ({ spaceKey, requestBody }: {
|
|
90
90
|
/**
|
|
91
91
|
* The key of the space for which the look and feel settings will be
|
|
92
92
|
* set. If this is not set, the global look and feel settings will be
|
|
@@ -113,7 +113,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
113
113
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-put
|
|
114
114
|
* @param params
|
|
115
115
|
*/
|
|
116
|
-
updateLookAndFeel: ({ lookAndFeelSelection
|
|
116
|
+
updateLookAndFeel: ({ lookAndFeelSelection }: {
|
|
117
117
|
/** The look and feel type to be set. */
|
|
118
118
|
lookAndFeelSelection: LookAndFeelSelection;
|
|
119
119
|
}) => Promise<LookAndFeelSelection>;
|
|
@@ -135,7 +135,7 @@ export declare class SettingsService extends CommonHttpService {
|
|
|
135
135
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-post
|
|
136
136
|
* @param params
|
|
137
137
|
*/
|
|
138
|
-
updateLookAndFeelSettings: ({ spaceKey, lookAndFeel
|
|
138
|
+
updateLookAndFeelSettings: ({ spaceKey, lookAndFeel }: {
|
|
139
139
|
/**
|
|
140
140
|
* The key of the space for which the look and feel settings will be
|
|
141
141
|
* updated. If this is not set, the global look and feel settings will
|
|
@@ -4,11 +4,11 @@ exports.SettingsService = 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 settings_1 = require("../models/settings");
|
|
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-settings
|
|
14
14
|
* @category Services
|
|
@@ -33,23 +33,18 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
33
33
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-get
|
|
34
34
|
* @param params
|
|
35
35
|
*/
|
|
36
|
-
this.getLookAndFeelSettings = ({ spaceKey
|
|
37
|
-
return this.getClientInstance()
|
|
38
|
-
.request({
|
|
36
|
+
this.getLookAndFeelSettings = ({ spaceKey } = {}) => {
|
|
37
|
+
return this.getClientInstance().request({
|
|
39
38
|
path: "/wiki/rest/api/settings/lookandfeel",
|
|
40
39
|
method: "GET",
|
|
41
40
|
query: {
|
|
42
|
-
spaceKey
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
.then(this.getClientInstance().responseHandler({
|
|
41
|
+
spaceKey
|
|
42
|
+
}
|
|
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("SettingsService.getLookAndFeelSettings.response")))
|
|
52
|
-
.then(commonHttpClient.getBody);
|
|
45
|
+
"application/json": "json"
|
|
46
|
+
}
|
|
47
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.getLookAndFeelSettings.response"))).then(commonHttpClient.getBody);
|
|
53
48
|
};
|
|
54
49
|
/**
|
|
55
50
|
* Returns the system information for the Confluence Cloud tenant. This
|
|
@@ -66,19 +61,14 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
66
61
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-systeminfo-get
|
|
67
62
|
*/
|
|
68
63
|
this.getSystemInfo = () => {
|
|
69
|
-
return this.getClientInstance()
|
|
70
|
-
.request({
|
|
64
|
+
return this.getClientInstance().request({
|
|
71
65
|
path: "/wiki/rest/api/settings/systemInfo",
|
|
72
|
-
method: "GET"
|
|
73
|
-
})
|
|
74
|
-
.then(this.getClientInstance().responseHandler({
|
|
66
|
+
method: "GET"
|
|
67
|
+
}).then(this.getClientInstance().responseHandler({
|
|
75
68
|
200: {
|
|
76
|
-
"application/json": "json"
|
|
77
|
-
}
|
|
78
|
-
}))
|
|
79
|
-
.then(commonHttpClient.castResponse())
|
|
80
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.getSystemInfo.response")))
|
|
81
|
-
.then(commonHttpClient.getBody);
|
|
69
|
+
"application/json": "json"
|
|
70
|
+
}
|
|
71
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.getSystemInfo.response"))).then(commonHttpClient.getBody);
|
|
82
72
|
};
|
|
83
73
|
/**
|
|
84
74
|
* Resets the custom look and feel settings for the site or a single space.
|
|
@@ -96,16 +86,14 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
96
86
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-delete
|
|
97
87
|
* @param params
|
|
98
88
|
*/
|
|
99
|
-
this.resetLookAndFeelSettings = ({ spaceKey
|
|
100
|
-
return this.getClientInstance()
|
|
101
|
-
.request({
|
|
89
|
+
this.resetLookAndFeelSettings = ({ spaceKey } = {}) => {
|
|
90
|
+
return this.getClientInstance().request({
|
|
102
91
|
path: "/wiki/rest/api/settings/lookandfeel/custom",
|
|
103
92
|
method: "DELETE",
|
|
104
93
|
query: {
|
|
105
|
-
spaceKey
|
|
106
|
-
}
|
|
107
|
-
})
|
|
108
|
-
.then(commonHttpClient.discardResult);
|
|
94
|
+
spaceKey
|
|
95
|
+
}
|
|
96
|
+
}).then(commonHttpClient.discardResult);
|
|
109
97
|
};
|
|
110
98
|
/**
|
|
111
99
|
* Sets the look and feel settings to either the default settings or the
|
|
@@ -123,27 +111,22 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
123
111
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-selected-put
|
|
124
112
|
* @param params
|
|
125
113
|
*/
|
|
126
|
-
this.setLookAndFeelSettings = ({ spaceKey, requestBody
|
|
127
|
-
return this.getClientInstance()
|
|
128
|
-
.request({
|
|
114
|
+
this.setLookAndFeelSettings = ({ spaceKey, requestBody }) => {
|
|
115
|
+
return this.getClientInstance().request({
|
|
129
116
|
path: "/wiki/rest/api/settings/lookandfeel/selected",
|
|
130
117
|
method: "PUT",
|
|
131
118
|
query: {
|
|
132
|
-
spaceKey
|
|
119
|
+
spaceKey
|
|
133
120
|
},
|
|
134
121
|
headers: {
|
|
135
|
-
"Content-Type": "application/json"
|
|
122
|
+
"Content-Type": "application/json"
|
|
136
123
|
},
|
|
137
|
-
body: requestBody
|
|
138
|
-
})
|
|
139
|
-
.then(this.getClientInstance().responseHandler({
|
|
124
|
+
body: requestBody
|
|
125
|
+
}).then(this.getClientInstance().responseHandler({
|
|
140
126
|
200: {
|
|
141
|
-
"application/json": "json"
|
|
142
|
-
}
|
|
143
|
-
}))
|
|
144
|
-
.then(commonHttpClient.castResponse())
|
|
145
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.setLookAndFeelSettings.response")))
|
|
146
|
-
.then(commonHttpClient.getBody);
|
|
127
|
+
"application/json": "json"
|
|
128
|
+
}
|
|
129
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.setLookAndFeelSettings.response"))).then(commonHttpClient.getBody);
|
|
147
130
|
};
|
|
148
131
|
/**
|
|
149
132
|
* Sets the look and feel settings to the default (global) settings, the
|
|
@@ -162,24 +145,19 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
162
145
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-put
|
|
163
146
|
* @param params
|
|
164
147
|
*/
|
|
165
|
-
this.updateLookAndFeel = ({ lookAndFeelSelection
|
|
166
|
-
return this.getClientInstance()
|
|
167
|
-
.request({
|
|
148
|
+
this.updateLookAndFeel = ({ lookAndFeelSelection }) => {
|
|
149
|
+
return this.getClientInstance().request({
|
|
168
150
|
path: "/wiki/rest/api/settings/lookandfeel",
|
|
169
151
|
method: "PUT",
|
|
170
152
|
headers: {
|
|
171
|
-
"Content-Type": "application/json"
|
|
153
|
+
"Content-Type": "application/json"
|
|
172
154
|
},
|
|
173
|
-
body: lookAndFeelSelection
|
|
174
|
-
})
|
|
175
|
-
.then(this.getClientInstance().responseHandler({
|
|
155
|
+
body: lookAndFeelSelection
|
|
156
|
+
}).then(this.getClientInstance().responseHandler({
|
|
176
157
|
200: {
|
|
177
|
-
"application/json": "json"
|
|
178
|
-
}
|
|
179
|
-
}))
|
|
180
|
-
.then(commonHttpClient.castResponse())
|
|
181
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.updateLookAndFeel.response")))
|
|
182
|
-
.then(commonHttpClient.getBody);
|
|
158
|
+
"application/json": "json"
|
|
159
|
+
}
|
|
160
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.updateLookAndFeel.response"))).then(commonHttpClient.getBody);
|
|
183
161
|
};
|
|
184
162
|
/**
|
|
185
163
|
* Updates the look and feel settings for the site or for a single space.
|
|
@@ -199,65 +177,50 @@ class SettingsService extends CommonHttpService_1.CommonHttpService {
|
|
|
199
177
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-settings#api-wiki-rest-api-settings-lookandfeel-custom-post
|
|
200
178
|
* @param params
|
|
201
179
|
*/
|
|
202
|
-
this.updateLookAndFeelSettings = ({ spaceKey, lookAndFeel
|
|
203
|
-
return this.getClientInstance()
|
|
204
|
-
.request({
|
|
180
|
+
this.updateLookAndFeelSettings = ({ spaceKey, lookAndFeel }) => {
|
|
181
|
+
return this.getClientInstance().request({
|
|
205
182
|
path: "/wiki/rest/api/settings/lookandfeel/custom",
|
|
206
183
|
method: "POST",
|
|
207
184
|
query: {
|
|
208
|
-
spaceKey
|
|
185
|
+
spaceKey
|
|
209
186
|
},
|
|
210
187
|
headers: {
|
|
211
|
-
"Content-Type": "application/json"
|
|
188
|
+
"Content-Type": "application/json"
|
|
212
189
|
},
|
|
213
|
-
body: lookAndFeel
|
|
214
|
-
})
|
|
215
|
-
.then(this.getClientInstance().responseHandler({
|
|
190
|
+
body: lookAndFeel
|
|
191
|
+
}).then(this.getClientInstance().responseHandler({
|
|
216
192
|
200: {
|
|
217
|
-
"application/json": "json"
|
|
218
|
-
}
|
|
219
|
-
}))
|
|
220
|
-
.then(commonHttpClient.castResponse())
|
|
221
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.updateLookAndFeelSettings.response")))
|
|
222
|
-
.then(commonHttpClient.getBody);
|
|
193
|
+
"application/json": "json"
|
|
194
|
+
}
|
|
195
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SettingsService.updateLookAndFeelSettings.response"))).then(commonHttpClient.getBody);
|
|
223
196
|
};
|
|
224
197
|
}
|
|
225
198
|
static initialize() {
|
|
226
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.getLookAndFeelSettings.response", zod_1.z
|
|
227
|
-
.object({
|
|
199
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.getLookAndFeelSettings.response", zod_1.z.object({
|
|
228
200
|
status: zod_1.z.literal(200),
|
|
229
201
|
mediaType: zod_1.z.literal("application/json"),
|
|
230
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LookAndFeelSettings")
|
|
231
|
-
})
|
|
232
|
-
|
|
233
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.updateLookAndFeel.response", zod_1.z
|
|
234
|
-
.object({
|
|
202
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LookAndFeelSettings")
|
|
203
|
+
}).describe("SettingsService.getLookAndFeelSettings.response"));
|
|
204
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.updateLookAndFeel.response", zod_1.z.object({
|
|
235
205
|
status: zod_1.z.literal(200),
|
|
236
206
|
mediaType: zod_1.z.literal("application/json"),
|
|
237
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LookAndFeelSelection")
|
|
238
|
-
})
|
|
239
|
-
|
|
240
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.updateLookAndFeelSettings.response", zod_1.z
|
|
241
|
-
.object({
|
|
207
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LookAndFeelSelection")
|
|
208
|
+
}).describe("SettingsService.updateLookAndFeel.response"));
|
|
209
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.updateLookAndFeelSettings.response", zod_1.z.object({
|
|
242
210
|
status: zod_1.z.literal(200),
|
|
243
211
|
mediaType: zod_1.z.literal("application/json"),
|
|
244
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LookAndFeelWithLinks")
|
|
245
|
-
})
|
|
246
|
-
|
|
247
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.setLookAndFeelSettings.response", zod_1.z
|
|
248
|
-
.object({
|
|
212
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LookAndFeelWithLinks")
|
|
213
|
+
}).describe("SettingsService.updateLookAndFeelSettings.response"));
|
|
214
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.setLookAndFeelSettings.response", zod_1.z.object({
|
|
249
215
|
status: zod_1.z.literal(200),
|
|
250
216
|
mediaType: zod_1.z.literal("application/json"),
|
|
251
|
-
body: zod_1.z.string()
|
|
252
|
-
})
|
|
253
|
-
|
|
254
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.getSystemInfo.response", zod_1.z
|
|
255
|
-
.object({
|
|
217
|
+
body: zod_1.z.string()
|
|
218
|
+
}).describe("SettingsService.setLookAndFeelSettings.response"));
|
|
219
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SettingsService.getSystemInfo.response", zod_1.z.object({
|
|
256
220
|
status: zod_1.z.literal(200),
|
|
257
221
|
mediaType: zod_1.z.literal("application/json"),
|
|
258
|
-
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("SystemInfoEntity"))
|
|
259
|
-
})
|
|
260
|
-
.describe("SettingsService.getSystemInfo.response"));
|
|
222
|
+
body: zod_1.z.nullable(validationSchemaStorage_1.validationSchemaStorage.lazy("SystemInfoEntity"))
|
|
223
|
+
}).describe("SettingsService.getSystemInfo.response"));
|
|
261
224
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([settings_1.registerSettingsValidationSchemas]);
|
|
262
225
|
}
|
|
263
226
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"SettingsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/SettingsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AAEjE,iDAA8K;AAC9K,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;;;;;;;WAgBG;QACH,2BAAsB,GAAG,CAAC,EACxB,QAAQ,KAQN,EAAE,EAAgC,EAAE;YACtC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,qCAAqC;gBAC3C,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,QAAQ;iBACT;aACF,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAIlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,iDAAiD,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC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,MAAM,EAAE,OAAC,CAAC,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,oDAAoD,CAAC,CAAC,CAAC;QACnE,iDAAuB,CAAC,kBAAkB,CAAC,iDAAiD,EAAE,OAAC,CAAC,MAAM,CAAC;YACrG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;SACjB,CAAC,CAAC,QAAQ,CAAC,iDAAiD,CAAC,CAAC,CAAC;QAChE,iDAAuB,CAAC,kBAAkB,CAAC,wCAAwC,EAAE,OAAC,CAAC,MAAM,CAAC;YAC5F,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,kBAAkB,CAAC,CAAC;SACnE,CAAC,CAAC,QAAQ,CAAC,wCAAwC,CAAC,CAAC,CAAC;QACvD,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AAzRD,0CAyRC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
2
|
+
import { type SpacePermissionRequest, type SpacePermissionV2, type SpacePermissionCustomContent } from "../models/spacePermissions";
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions
|
|
5
5
|
* @category Services
|
|
@@ -22,7 +22,7 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
22
22
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-custom-content-post
|
|
23
23
|
* @param params
|
|
24
24
|
*/
|
|
25
|
-
addCustomContentPermissions: ({ spaceKey, spacePermissionCustomContent
|
|
25
|
+
addCustomContentPermissions: ({ spaceKey, spacePermissionCustomContent }: {
|
|
26
26
|
/** The key of the space to be queried for its content. */
|
|
27
27
|
spaceKey: string;
|
|
28
28
|
/** The permissions to be created. */
|
|
@@ -46,7 +46,7 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
46
46
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-post
|
|
47
47
|
* @param params
|
|
48
48
|
*/
|
|
49
|
-
addPermissionToSpace: ({ spaceKey, spacePermissionRequest
|
|
49
|
+
addPermissionToSpace: ({ spaceKey, spacePermissionRequest }: {
|
|
50
50
|
/** The key of the space to be queried for its content. */
|
|
51
51
|
spaceKey: string;
|
|
52
52
|
/** The permission to be created. */
|
|
@@ -68,7 +68,7 @@ export declare class SpacePermissionsService extends CommonHttpService {
|
|
|
68
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions#api-wiki-rest-api-space-spacekey-permission-id-delete
|
|
69
69
|
* @param params
|
|
70
70
|
*/
|
|
71
|
-
removePermission: ({ spaceKey, id
|
|
71
|
+
removePermission: ({ spaceKey, id }: {
|
|
72
72
|
/** The key of the space to be queried for its content. */
|
|
73
73
|
spaceKey: string;
|
|
74
74
|
/** Id of the permission to be deleted. */
|