@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelInfoService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LabelInfoService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"LabelInfoService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LabelInfoService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,mDAA4F;AAC5F,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,qCAAiB;IAAvD;;QACE;;;;;;;;;;;;;;WAcG;QACH,uBAAkB,GAAG,CAAC,EACpB,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EAUN,EAAyB,EAAE;YAC1B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,IAAI;oBACJ,IAAI;oBACJ,KAAK;oBACL,KAAK;iBACN;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,8CAA8C,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpK,CAAC,CAAC;IASJ,CAAC;IARW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CAAC,8CAA8C,EAAE,OAAC,CAAC,MAAM,CAAC;YAClG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;SACnD,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC,CAAC,CAAC;QAC7D,iDAAuB,CAAC,YAAY,CAAC,CAAC,8CAAkC,CAAC,CAAC,CAAC;IAC7E,CAAC;CACF;AA1DD,4CA0DC"}
|
|
@@ -20,7 +20,7 @@ export declare class LongRunningTaskService extends CommonHttpService {
|
|
|
20
20
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-id-get
|
|
21
21
|
* @param params
|
|
22
22
|
*/
|
|
23
|
-
getTask: ({ id
|
|
23
|
+
getTask: ({ id }: {
|
|
24
24
|
/** The ID of the task. */
|
|
25
25
|
id: string;
|
|
26
26
|
}) => Promise<LongTaskStatusWithLinks>;
|
|
@@ -38,7 +38,7 @@ export declare class LongRunningTaskService extends CommonHttpService {
|
|
|
38
38
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-get
|
|
39
39
|
* @param params
|
|
40
40
|
*/
|
|
41
|
-
getTasks: ({ key, start, limit
|
|
41
|
+
getTasks: ({ key, start, limit }?: {
|
|
42
42
|
/** The key of the tasks. */
|
|
43
43
|
key?: string | undefined;
|
|
44
44
|
/** The starting index of the returned tasks. */
|
|
@@ -4,11 +4,11 @@ exports.LongRunningTaskService = 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 longRunningTask_1 = require("../models/longRunningTask");
|
|
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-long-running-task
|
|
14
14
|
* @category Services
|
|
@@ -31,23 +31,18 @@ class LongRunningTaskService extends CommonHttpService_1.CommonHttpService {
|
|
|
31
31
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-id-get
|
|
32
32
|
* @param params
|
|
33
33
|
*/
|
|
34
|
-
this.getTask = ({ id
|
|
35
|
-
return this.getClientInstance()
|
|
36
|
-
.request({
|
|
34
|
+
this.getTask = ({ id }) => {
|
|
35
|
+
return this.getClientInstance().request({
|
|
37
36
|
path: "/wiki/rest/api/longtask/{id}",
|
|
38
37
|
method: "GET",
|
|
39
38
|
pathParams: {
|
|
40
|
-
id
|
|
41
|
-
}
|
|
42
|
-
})
|
|
43
|
-
.then(this.getClientInstance().responseHandler({
|
|
39
|
+
id
|
|
40
|
+
}
|
|
41
|
+
}).then(this.getClientInstance().responseHandler({
|
|
44
42
|
200: {
|
|
45
|
-
"application/json": "json"
|
|
46
|
-
}
|
|
47
|
-
}))
|
|
48
|
-
.then(commonHttpClient.castResponse())
|
|
49
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTask.response")))
|
|
50
|
-
.then(commonHttpClient.getBody);
|
|
43
|
+
"application/json": "json"
|
|
44
|
+
}
|
|
45
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTask.response"))).then(commonHttpClient.getBody);
|
|
51
46
|
};
|
|
52
47
|
/**
|
|
53
48
|
* Returns information about all active long-running tasks (e.g. space export),
|
|
@@ -63,45 +58,34 @@ class LongRunningTaskService extends CommonHttpService_1.CommonHttpService {
|
|
|
63
58
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-long-running-task#api-wiki-rest-api-longtask-get
|
|
64
59
|
* @param params
|
|
65
60
|
*/
|
|
66
|
-
this.getTasks = ({ key, start, limit
|
|
67
|
-
return this.getClientInstance()
|
|
68
|
-
.request({
|
|
61
|
+
this.getTasks = ({ key, start, limit } = {}) => {
|
|
62
|
+
return this.getClientInstance().request({
|
|
69
63
|
path: "/wiki/rest/api/longtask",
|
|
70
64
|
method: "GET",
|
|
71
65
|
query: {
|
|
72
66
|
key,
|
|
73
67
|
start,
|
|
74
|
-
limit
|
|
75
|
-
}
|
|
76
|
-
})
|
|
77
|
-
.then(this.getClientInstance().responseHandler({
|
|
68
|
+
limit
|
|
69
|
+
}
|
|
70
|
+
}).then(this.getClientInstance().responseHandler({
|
|
78
71
|
200: {
|
|
79
|
-
"application/json": "json"
|
|
80
|
-
}
|
|
81
|
-
}))
|
|
82
|
-
.then(commonHttpClient.castResponse())
|
|
83
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTasks.response")))
|
|
84
|
-
.then(commonHttpClient.getBody);
|
|
72
|
+
"application/json": "json"
|
|
73
|
+
}
|
|
74
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LongRunningTaskService.getTasks.response"))).then(commonHttpClient.getBody);
|
|
85
75
|
};
|
|
86
76
|
}
|
|
87
77
|
static initialize() {
|
|
88
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTasks.response", zod_1.z
|
|
89
|
-
.object({
|
|
78
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTasks.response", zod_1.z.object({
|
|
90
79
|
status: zod_1.z.literal(200),
|
|
91
80
|
mediaType: zod_1.z.literal("application/json"),
|
|
92
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusArray")
|
|
93
|
-
})
|
|
94
|
-
|
|
95
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTask.response", zod_1.z
|
|
96
|
-
.object({
|
|
81
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusArray")
|
|
82
|
+
}).describe("LongRunningTaskService.getTasks.response"));
|
|
83
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LongRunningTaskService.getTask.response", zod_1.z.object({
|
|
97
84
|
status: zod_1.z.literal(200),
|
|
98
85
|
mediaType: zod_1.z.literal("application/json"),
|
|
99
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusWithLinks")
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
103
|
-
longRunningTask_1.registerLongRunningTaskValidationSchemas,
|
|
104
|
-
]);
|
|
86
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("LongTaskStatusWithLinks")
|
|
87
|
+
}).describe("LongRunningTaskService.getTask.response"));
|
|
88
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([longRunningTask_1.registerLongRunningTaskValidationSchemas]);
|
|
105
89
|
}
|
|
106
90
|
}
|
|
107
91
|
exports.LongRunningTaskService = LongRunningTaskService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LongRunningTaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LongRunningTaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"LongRunningTaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/LongRunningTaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,+DAA6I;AAC7I,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAA7D;;QACE;;;;;;;;;;;;;;WAcG;QACH,YAAO,GAAG,CAAC,EACT,EAAE,EAIH,EAAoC,EAAE;YACrC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,8BAA8B;gBACpC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;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,yCAAyC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAC/J,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,aAAQ,GAAG,CAAC,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yC,CAAC,CAAC,CAAC;QACxD,iDAAuB,CAAC,YAAY,CAAC,CAAC,0DAAwC,CAAC,CAAC,CAAC;IACnF,CAAC;CACF;AAlGD,wDAkGC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
2
|
+
import { type RelationArray, type Relation } from "../models/relation";
|
|
3
3
|
/**
|
|
4
4
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation
|
|
5
5
|
* @category Services
|
|
@@ -24,7 +24,7 @@ export declare class RelationService extends CommonHttpService {
|
|
|
24
24
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put
|
|
25
25
|
* @param params
|
|
26
26
|
*/
|
|
27
|
-
createRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion
|
|
27
|
+
createRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }: {
|
|
28
28
|
/**
|
|
29
29
|
* The name of the relationship. This method supports the 'favourite'
|
|
30
30
|
* (i.e. 'save for later') relationship. You can also specify any other
|
|
@@ -105,7 +105,7 @@ export declare class RelationService extends CommonHttpService {
|
|
|
105
105
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-delete
|
|
106
106
|
* @param params
|
|
107
107
|
*/
|
|
108
|
-
deleteRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion
|
|
108
|
+
deleteRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }: {
|
|
109
109
|
/** The name of the relationship. */
|
|
110
110
|
relationName: string;
|
|
111
111
|
/**
|
|
@@ -186,7 +186,7 @@ export declare class RelationService extends CommonHttpService {
|
|
|
186
186
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-to-targettype-targetkey-from-sourcetype-get
|
|
187
187
|
* @param params
|
|
188
188
|
*/
|
|
189
|
-
findSourcesForTarget: ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit
|
|
189
|
+
findSourcesForTarget: ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }: {
|
|
190
190
|
/**
|
|
191
191
|
* The name of the relationship. This method supports relationships created via
|
|
192
192
|
* [Create
|
|
@@ -269,7 +269,7 @@ export declare class RelationService extends CommonHttpService {
|
|
|
269
269
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-get
|
|
270
270
|
* @param params
|
|
271
271
|
*/
|
|
272
|
-
findTargetFromSource: ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit
|
|
272
|
+
findTargetFromSource: ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }: {
|
|
273
273
|
/**
|
|
274
274
|
* The name of the relationship. This method supports relationships created via
|
|
275
275
|
* [Create
|
|
@@ -351,7 +351,7 @@ export declare class RelationService extends CommonHttpService {
|
|
|
351
351
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-get
|
|
352
352
|
* @param params
|
|
353
353
|
*/
|
|
354
|
-
getRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand
|
|
354
|
+
getRelationship: ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand }: {
|
|
355
355
|
/**
|
|
356
356
|
* The name of the relationship. This method supports the 'favourite'
|
|
357
357
|
* (i.e. 'save for later') relationship as well as any other relationship
|
|
@@ -4,11 +4,11 @@ exports.RelationService = 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 relation_1 = require("../models/relation");
|
|
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-relation
|
|
14
14
|
* @category Services
|
|
@@ -35,9 +35,8 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
35
35
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-put
|
|
36
36
|
* @param params
|
|
37
37
|
*/
|
|
38
|
-
this.createRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion
|
|
39
|
-
return this.getClientInstance()
|
|
40
|
-
.request({
|
|
38
|
+
this.createRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }) => {
|
|
39
|
+
return this.getClientInstance().request({
|
|
41
40
|
path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}",
|
|
42
41
|
method: "PUT",
|
|
43
42
|
pathParams: {
|
|
@@ -45,23 +44,19 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
45
44
|
sourceType,
|
|
46
45
|
sourceKey,
|
|
47
46
|
targetType,
|
|
48
|
-
targetKey
|
|
47
|
+
targetKey
|
|
49
48
|
},
|
|
50
49
|
query: {
|
|
51
50
|
sourceStatus,
|
|
52
51
|
targetStatus,
|
|
53
52
|
sourceVersion,
|
|
54
|
-
targetVersion
|
|
55
|
-
}
|
|
56
|
-
})
|
|
57
|
-
.then(this.getClientInstance().responseHandler({
|
|
53
|
+
targetVersion
|
|
54
|
+
}
|
|
55
|
+
}).then(this.getClientInstance().responseHandler({
|
|
58
56
|
200: {
|
|
59
|
-
"application/json": "json"
|
|
60
|
-
}
|
|
61
|
-
}))
|
|
62
|
-
.then(commonHttpClient.castResponse())
|
|
63
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.createRelationship.response")))
|
|
64
|
-
.then(commonHttpClient.getBody);
|
|
57
|
+
"application/json": "json"
|
|
58
|
+
}
|
|
59
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.createRelationship.response"))).then(commonHttpClient.getBody);
|
|
65
60
|
};
|
|
66
61
|
/**
|
|
67
62
|
* Deletes a relationship between two entities (user, space, content).
|
|
@@ -78,9 +73,8 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
78
73
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-delete
|
|
79
74
|
* @param params
|
|
80
75
|
*/
|
|
81
|
-
this.deleteRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion
|
|
82
|
-
return this.getClientInstance()
|
|
83
|
-
.request({
|
|
76
|
+
this.deleteRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion }) => {
|
|
77
|
+
return this.getClientInstance().request({
|
|
84
78
|
path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}",
|
|
85
79
|
method: "DELETE",
|
|
86
80
|
pathParams: {
|
|
@@ -88,16 +82,15 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
88
82
|
sourceType,
|
|
89
83
|
sourceKey,
|
|
90
84
|
targetType,
|
|
91
|
-
targetKey
|
|
85
|
+
targetKey
|
|
92
86
|
},
|
|
93
87
|
query: {
|
|
94
88
|
sourceStatus,
|
|
95
89
|
targetStatus,
|
|
96
90
|
sourceVersion,
|
|
97
|
-
targetVersion
|
|
98
|
-
}
|
|
99
|
-
})
|
|
100
|
-
.then(commonHttpClient.discardResult);
|
|
91
|
+
targetVersion
|
|
92
|
+
}
|
|
93
|
+
}).then(commonHttpClient.discardResult);
|
|
101
94
|
};
|
|
102
95
|
/**
|
|
103
96
|
* Returns all target entities that have a particular relationship to the
|
|
@@ -118,16 +111,15 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
118
111
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-to-targettype-targetkey-from-sourcetype-get
|
|
119
112
|
* @param params
|
|
120
113
|
*/
|
|
121
|
-
this.findSourcesForTarget = ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit
|
|
122
|
-
return this.getClientInstance()
|
|
123
|
-
.request({
|
|
114
|
+
this.findSourcesForTarget = ({ relationName, sourceType, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }) => {
|
|
115
|
+
return this.getClientInstance().request({
|
|
124
116
|
path: "/wiki/rest/api/relation/{relationName}/to/{targetType}/{targetKey}/from/{sourceType}",
|
|
125
117
|
method: "GET",
|
|
126
118
|
pathParams: {
|
|
127
119
|
relationName,
|
|
128
120
|
sourceType,
|
|
129
121
|
targetType,
|
|
130
|
-
targetKey
|
|
122
|
+
targetKey
|
|
131
123
|
},
|
|
132
124
|
query: {
|
|
133
125
|
sourceStatus,
|
|
@@ -136,24 +128,20 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
136
128
|
targetVersion,
|
|
137
129
|
expand,
|
|
138
130
|
start,
|
|
139
|
-
limit
|
|
131
|
+
limit
|
|
140
132
|
},
|
|
141
133
|
parameters: {
|
|
142
134
|
query: {
|
|
143
135
|
expand: {
|
|
144
|
-
explode: false
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
})
|
|
149
|
-
.then(this.getClientInstance().responseHandler({
|
|
136
|
+
explode: false
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}).then(this.getClientInstance().responseHandler({
|
|
150
141
|
200: {
|
|
151
|
-
"application/json": "json"
|
|
152
|
-
}
|
|
153
|
-
}))
|
|
154
|
-
.then(commonHttpClient.castResponse())
|
|
155
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findSourcesForTarget.response")))
|
|
156
|
-
.then(commonHttpClient.getBody);
|
|
142
|
+
"application/json": "json"
|
|
143
|
+
}
|
|
144
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findSourcesForTarget.response"))).then(commonHttpClient.getBody);
|
|
157
145
|
};
|
|
158
146
|
/**
|
|
159
147
|
* Returns all target entities that have a particular relationship to the
|
|
@@ -174,16 +162,15 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
174
162
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-get
|
|
175
163
|
* @param params
|
|
176
164
|
*/
|
|
177
|
-
this.findTargetFromSource = ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit
|
|
178
|
-
return this.getClientInstance()
|
|
179
|
-
.request({
|
|
165
|
+
this.findTargetFromSource = ({ relationName, sourceType, sourceKey, targetType, sourceStatus, targetStatus, sourceVersion, targetVersion, expand, start, limit }) => {
|
|
166
|
+
return this.getClientInstance().request({
|
|
180
167
|
path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}",
|
|
181
168
|
method: "GET",
|
|
182
169
|
pathParams: {
|
|
183
170
|
relationName,
|
|
184
171
|
sourceType,
|
|
185
172
|
sourceKey,
|
|
186
|
-
targetType
|
|
173
|
+
targetType
|
|
187
174
|
},
|
|
188
175
|
query: {
|
|
189
176
|
sourceStatus,
|
|
@@ -192,24 +179,20 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
192
179
|
targetVersion,
|
|
193
180
|
expand,
|
|
194
181
|
start,
|
|
195
|
-
limit
|
|
182
|
+
limit
|
|
196
183
|
},
|
|
197
184
|
parameters: {
|
|
198
185
|
query: {
|
|
199
186
|
expand: {
|
|
200
|
-
explode: false
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
})
|
|
205
|
-
.then(this.getClientInstance().responseHandler({
|
|
187
|
+
explode: false
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}).then(this.getClientInstance().responseHandler({
|
|
206
192
|
200: {
|
|
207
|
-
"application/json": "json"
|
|
208
|
-
}
|
|
209
|
-
}))
|
|
210
|
-
.then(commonHttpClient.castResponse())
|
|
211
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findTargetFromSource.response")))
|
|
212
|
-
.then(commonHttpClient.getBody);
|
|
193
|
+
"application/json": "json"
|
|
194
|
+
}
|
|
195
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.findTargetFromSource.response"))).then(commonHttpClient.getBody);
|
|
213
196
|
};
|
|
214
197
|
/**
|
|
215
198
|
* Find whether a particular type of relationship exists from a source
|
|
@@ -229,9 +212,8 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
229
212
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-relation#api-wiki-rest-api-relation-relationname-from-sourcetype-sourcekey-to-targettype-targetkey-get
|
|
230
213
|
* @param params
|
|
231
214
|
*/
|
|
232
|
-
this.getRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand
|
|
233
|
-
return this.getClientInstance()
|
|
234
|
-
.request({
|
|
215
|
+
this.getRelationship = ({ relationName, sourceType, sourceKey, targetType, targetKey, sourceStatus, targetStatus, sourceVersion, targetVersion, expand }) => {
|
|
216
|
+
return this.getClientInstance().request({
|
|
235
217
|
path: "/wiki/rest/api/relation/{relationName}/from/{sourceType}/{sourceKey}/to/{targetType}/{targetKey}",
|
|
236
218
|
method: "GET",
|
|
237
219
|
pathParams: {
|
|
@@ -239,62 +221,50 @@ class RelationService extends CommonHttpService_1.CommonHttpService {
|
|
|
239
221
|
sourceType,
|
|
240
222
|
sourceKey,
|
|
241
223
|
targetType,
|
|
242
|
-
targetKey
|
|
224
|
+
targetKey
|
|
243
225
|
},
|
|
244
226
|
query: {
|
|
245
227
|
sourceStatus,
|
|
246
228
|
targetStatus,
|
|
247
229
|
sourceVersion,
|
|
248
230
|
targetVersion,
|
|
249
|
-
expand
|
|
231
|
+
expand
|
|
250
232
|
},
|
|
251
233
|
parameters: {
|
|
252
234
|
query: {
|
|
253
235
|
expand: {
|
|
254
|
-
explode: false
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
})
|
|
259
|
-
.then(this.getClientInstance().responseHandler({
|
|
236
|
+
explode: false
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}).then(this.getClientInstance().responseHandler({
|
|
260
241
|
200: {
|
|
261
|
-
"application/json": "json"
|
|
262
|
-
}
|
|
263
|
-
}))
|
|
264
|
-
.then(commonHttpClient.castResponse())
|
|
265
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.getRelationship.response")))
|
|
266
|
-
.then(commonHttpClient.getBody);
|
|
242
|
+
"application/json": "json"
|
|
243
|
+
}
|
|
244
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("RelationService.getRelationship.response"))).then(commonHttpClient.getBody);
|
|
267
245
|
};
|
|
268
246
|
}
|
|
269
247
|
static initialize() {
|
|
270
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findTargetFromSource.response", zod_1.z
|
|
271
|
-
.object({
|
|
248
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findTargetFromSource.response", zod_1.z.object({
|
|
272
249
|
status: zod_1.z.literal(200),
|
|
273
250
|
mediaType: zod_1.z.literal("application/json"),
|
|
274
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray")
|
|
275
|
-
})
|
|
276
|
-
|
|
277
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.getRelationship.response", zod_1.z
|
|
278
|
-
.object({
|
|
251
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray")
|
|
252
|
+
}).describe("RelationService.findTargetFromSource.response"));
|
|
253
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.getRelationship.response", zod_1.z.object({
|
|
279
254
|
status: zod_1.z.literal(200),
|
|
280
255
|
mediaType: zod_1.z.literal("application/json"),
|
|
281
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation")
|
|
282
|
-
})
|
|
283
|
-
|
|
284
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.createRelationship.response", zod_1.z
|
|
285
|
-
.object({
|
|
256
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation")
|
|
257
|
+
}).describe("RelationService.getRelationship.response"));
|
|
258
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.createRelationship.response", zod_1.z.object({
|
|
286
259
|
status: zod_1.z.literal(200),
|
|
287
260
|
mediaType: zod_1.z.literal("application/json"),
|
|
288
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation")
|
|
289
|
-
})
|
|
290
|
-
|
|
291
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findSourcesForTarget.response", zod_1.z
|
|
292
|
-
.object({
|
|
261
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("Relation")
|
|
262
|
+
}).describe("RelationService.createRelationship.response"));
|
|
263
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("RelationService.findSourcesForTarget.response", zod_1.z.object({
|
|
293
264
|
status: zod_1.z.literal(200),
|
|
294
265
|
mediaType: zod_1.z.literal("application/json"),
|
|
295
|
-
body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray")
|
|
296
|
-
})
|
|
297
|
-
.describe("RelationService.findSourcesForTarget.response"));
|
|
266
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("RelationArray")
|
|
267
|
+
}).describe("RelationService.findSourcesForTarget.response"));
|
|
298
268
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([relation_1.registerRelationValidationSchemas]);
|
|
299
269
|
}
|
|
300
270
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"RelationService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/RelationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,iDAA0G;AAC1G,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,eAAgB,SAAQ,qCAAiB;IAAtD;;QACE;;;;;;;;;;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AAE,OAAC,CAAC,MAAM,CAAC;YACjG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,UAAU,CAAC;SAC/C,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC,CAAC,CAAC;QAC5D,iDAAuB,CAAC,kBAAkB,CAAC,+CAA+C,EAAE,OAAC,CAAC,MAAM,CAAC;YACnG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,eAAe,CAAC;SACpD,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC,CAAC,CAAC;QAC9D,iDAAuB,CAAC,YAAY,CAAC,CAAC,4CAAiC,CAAC,CAAC,CAAC;IAC5E,CAAC;CACF;AA1oBD,0CA0oBC"}
|
|
@@ -70,7 +70,7 @@ export declare class SearchService extends CommonHttpService {
|
|
|
70
70
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-get
|
|
71
71
|
* @param params
|
|
72
72
|
*/
|
|
73
|
-
searchByCql: ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand
|
|
73
|
+
searchByCql: ({ cql, cqlcontext, cursor, next, prev, limit, start, includeArchivedSpaces, excludeCurrentSpaces, excerpt, sitePermissionTypeFilter, _, expand }: {
|
|
74
74
|
/**
|
|
75
75
|
* The CQL query to be used for the search. See
|
|
76
76
|
* [Advanced Searching using
|
|
@@ -139,7 +139,7 @@ export declare class SearchService extends CommonHttpService {
|
|
|
139
139
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search#api-wiki-rest-api-search-user-get
|
|
140
140
|
* @param params
|
|
141
141
|
*/
|
|
142
|
-
searchUser: ({ cql, start, limit, expand, sitePermissionTypeFilter
|
|
142
|
+
searchUser: ({ cql, start, limit, expand, sitePermissionTypeFilter }: {
|
|
143
143
|
/**
|
|
144
144
|
* The CQL query to be used for the search. See
|
|
145
145
|
* [Advanced Searching using
|