@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
2
|
+
import { type AttachmentSortOrder, type AttachmentBulk, type AttachmentSingle } from "../models/attachment";
|
|
3
3
|
import { type MultiEntityLinks } from "../models/common";
|
|
4
4
|
/**
|
|
5
5
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment
|
|
@@ -24,7 +24,7 @@ export declare class AttachmentService extends CommonHttpService {
|
|
|
24
24
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-attachments-id-delete
|
|
25
25
|
* @param params
|
|
26
26
|
*/
|
|
27
|
-
deleteAttachment: ({ id, purge
|
|
27
|
+
deleteAttachment: ({ id, purge }: {
|
|
28
28
|
/** The ID of the attachment to be deleted. */
|
|
29
29
|
id: number;
|
|
30
30
|
/** If attempting to purge the attachment. */
|
|
@@ -42,7 +42,7 @@ export declare class AttachmentService extends CommonHttpService {
|
|
|
42
42
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-attachments-id-get
|
|
43
43
|
* @param params
|
|
44
44
|
*/
|
|
45
|
-
getAttachmentById: ({ id, version, includeLabels, includeProperties, includeOperations, includeVersions, includeVersion
|
|
45
|
+
getAttachmentById: ({ id, version, includeLabels, includeProperties, includeOperations, includeVersions, includeVersion }: {
|
|
46
46
|
/**
|
|
47
47
|
* The ID of the attachment to be returned. If you don't know the attachment's ID,
|
|
48
48
|
* use Get attachments for page/blogpost/custom content.
|
|
@@ -114,7 +114,7 @@ export declare class AttachmentService extends CommonHttpService {
|
|
|
114
114
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-attachments-get
|
|
115
115
|
* @param params
|
|
116
116
|
*/
|
|
117
|
-
getAttachments: ({ sort, cursor, status, mediaType, filename, limit
|
|
117
|
+
getAttachments: ({ sort, cursor, status, mediaType, filename, limit }?: {
|
|
118
118
|
/** Used to sort the result by a particular field. */
|
|
119
119
|
sort?: AttachmentSortOrder | undefined;
|
|
120
120
|
/**
|
|
@@ -158,7 +158,7 @@ export declare class AttachmentService extends CommonHttpService {
|
|
|
158
158
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-blogposts-id-attachments-get
|
|
159
159
|
* @param params
|
|
160
160
|
*/
|
|
161
|
-
getBlogpostAttachments: ({ id, sort, cursor, status, mediaType, filename, limit
|
|
161
|
+
getBlogpostAttachments: ({ id, sort, cursor, status, mediaType, filename, limit }: {
|
|
162
162
|
/** The ID of the blog post for which attachments should be returned. */
|
|
163
163
|
id: number;
|
|
164
164
|
/** Used to sort the result by a particular field. */
|
|
@@ -205,7 +205,7 @@ export declare class AttachmentService extends CommonHttpService {
|
|
|
205
205
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-custom-content-id-attachments-get
|
|
206
206
|
* @param params
|
|
207
207
|
*/
|
|
208
|
-
getCustomContentAttachments: ({ id, sort, cursor, status, mediaType, filename, limit
|
|
208
|
+
getCustomContentAttachments: ({ id, sort, cursor, status, mediaType, filename, limit }: {
|
|
209
209
|
/** The ID of the custom content for which attachments should be returned. */
|
|
210
210
|
id: number;
|
|
211
211
|
/** Used to sort the result by a particular field. */
|
|
@@ -251,7 +251,7 @@ export declare class AttachmentService extends CommonHttpService {
|
|
|
251
251
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-labels-id-attachments-get
|
|
252
252
|
* @param params
|
|
253
253
|
*/
|
|
254
|
-
getLabelAttachments: ({ id, sort, cursor, limit
|
|
254
|
+
getLabelAttachments: ({ id, sort, cursor, limit }: {
|
|
255
255
|
/** The ID of the label for which attachments should be returned. */
|
|
256
256
|
id: number;
|
|
257
257
|
/** Used to sort the result by a particular field. */
|
|
@@ -288,7 +288,7 @@ export declare class AttachmentService extends CommonHttpService {
|
|
|
288
288
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-pages-id-attachments-get
|
|
289
289
|
* @param params
|
|
290
290
|
*/
|
|
291
|
-
getPageAttachments: ({ id, sort, cursor, status, mediaType, filename, limit
|
|
291
|
+
getPageAttachments: ({ id, sort, cursor, status, mediaType, filename, limit }: {
|
|
292
292
|
/** The ID of the page for which attachments should be returned. */
|
|
293
293
|
id: number;
|
|
294
294
|
/** Used to sort the result by a particular field. */
|
|
@@ -4,12 +4,12 @@ exports.AttachmentService = 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 attachment_1 = require("../models/attachment");
|
|
11
10
|
const common_1 = require("../models/common");
|
|
12
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
const zod_1 = require("zod");
|
|
13
13
|
/**
|
|
14
14
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment
|
|
15
15
|
* @category Services
|
|
@@ -35,19 +35,17 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
35
35
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-attachments-id-delete
|
|
36
36
|
* @param params
|
|
37
37
|
*/
|
|
38
|
-
this.deleteAttachment = ({ id, purge
|
|
39
|
-
return this.getClientInstance()
|
|
40
|
-
.request({
|
|
38
|
+
this.deleteAttachment = ({ id, purge }) => {
|
|
39
|
+
return this.getClientInstance().request({
|
|
41
40
|
path: "/attachments/{id}",
|
|
42
41
|
method: "DELETE",
|
|
43
42
|
pathParams: {
|
|
44
|
-
id
|
|
43
|
+
id
|
|
45
44
|
},
|
|
46
45
|
query: {
|
|
47
|
-
purge
|
|
48
|
-
}
|
|
49
|
-
})
|
|
50
|
-
.then(commonHttpClient.discardResult);
|
|
46
|
+
purge
|
|
47
|
+
}
|
|
48
|
+
}).then(commonHttpClient.discardResult);
|
|
51
49
|
};
|
|
52
50
|
/**
|
|
53
51
|
* Returns a specific attachment.
|
|
@@ -61,13 +59,12 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
61
59
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-attachments-id-get
|
|
62
60
|
* @param params
|
|
63
61
|
*/
|
|
64
|
-
this.getAttachmentById = ({ id, version, includeLabels, includeProperties, includeOperations, includeVersions, includeVersion
|
|
65
|
-
return this.getClientInstance()
|
|
66
|
-
.request({
|
|
62
|
+
this.getAttachmentById = ({ id, version, includeLabels, includeProperties, includeOperations, includeVersions, includeVersion }) => {
|
|
63
|
+
return this.getClientInstance().request({
|
|
67
64
|
path: "/attachments/{id}",
|
|
68
65
|
method: "GET",
|
|
69
66
|
pathParams: {
|
|
70
|
-
id
|
|
67
|
+
id
|
|
71
68
|
},
|
|
72
69
|
query: {
|
|
73
70
|
version,
|
|
@@ -75,17 +72,13 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
75
72
|
"include-properties": includeProperties,
|
|
76
73
|
"include-operations": includeOperations,
|
|
77
74
|
"include-versions": includeVersions,
|
|
78
|
-
"include-version": includeVersion
|
|
79
|
-
}
|
|
80
|
-
})
|
|
81
|
-
.then(this.getClientInstance().responseHandler({
|
|
75
|
+
"include-version": includeVersion
|
|
76
|
+
}
|
|
77
|
+
}).then(this.getClientInstance().responseHandler({
|
|
82
78
|
200: {
|
|
83
|
-
"application/json": "json"
|
|
84
|
-
}
|
|
85
|
-
}))
|
|
86
|
-
.then(commonHttpClient.castResponse())
|
|
87
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getAttachmentById.response")))
|
|
88
|
-
.then(commonHttpClient.getBody);
|
|
79
|
+
"application/json": "json"
|
|
80
|
+
}
|
|
81
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getAttachmentById.response"))).then(commonHttpClient.getBody);
|
|
89
82
|
};
|
|
90
83
|
/**
|
|
91
84
|
* Returns all attachments. The number of results is limited by the `limit`
|
|
@@ -101,9 +94,8 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
101
94
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-attachments-get
|
|
102
95
|
* @param params
|
|
103
96
|
*/
|
|
104
|
-
this.getAttachments = ({ sort, cursor, status, mediaType, filename, limit
|
|
105
|
-
return this.getClientInstance()
|
|
106
|
-
.request({
|
|
97
|
+
this.getAttachments = ({ sort, cursor, status, mediaType, filename, limit } = {}) => {
|
|
98
|
+
return this.getClientInstance().request({
|
|
107
99
|
path: "/attachments",
|
|
108
100
|
method: "GET",
|
|
109
101
|
query: {
|
|
@@ -112,17 +104,13 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
112
104
|
status,
|
|
113
105
|
mediaType,
|
|
114
106
|
filename,
|
|
115
|
-
limit
|
|
116
|
-
}
|
|
117
|
-
})
|
|
118
|
-
.then(this.getClientInstance().responseHandler({
|
|
107
|
+
limit
|
|
108
|
+
}
|
|
109
|
+
}).then(this.getClientInstance().responseHandler({
|
|
119
110
|
200: {
|
|
120
|
-
"application/json": "json"
|
|
121
|
-
}
|
|
122
|
-
}))
|
|
123
|
-
.then(commonHttpClient.castResponse())
|
|
124
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getAttachments.response")))
|
|
125
|
-
.then(commonHttpClient.getBody);
|
|
111
|
+
"application/json": "json"
|
|
112
|
+
}
|
|
113
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getAttachments.response"))).then(commonHttpClient.getBody);
|
|
126
114
|
};
|
|
127
115
|
/**
|
|
128
116
|
* Returns the attachments of specific blog post. The number of results is limited
|
|
@@ -138,13 +126,12 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
138
126
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-blogposts-id-attachments-get
|
|
139
127
|
* @param params
|
|
140
128
|
*/
|
|
141
|
-
this.getBlogpostAttachments = ({ id, sort, cursor, status, mediaType, filename, limit
|
|
142
|
-
return this.getClientInstance()
|
|
143
|
-
.request({
|
|
129
|
+
this.getBlogpostAttachments = ({ id, sort, cursor, status, mediaType, filename, limit }) => {
|
|
130
|
+
return this.getClientInstance().request({
|
|
144
131
|
path: "/blogposts/{id}/attachments",
|
|
145
132
|
method: "GET",
|
|
146
133
|
pathParams: {
|
|
147
|
-
id
|
|
134
|
+
id
|
|
148
135
|
},
|
|
149
136
|
query: {
|
|
150
137
|
sort,
|
|
@@ -152,17 +139,13 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
152
139
|
status,
|
|
153
140
|
mediaType,
|
|
154
141
|
filename,
|
|
155
|
-
limit
|
|
156
|
-
}
|
|
157
|
-
})
|
|
158
|
-
.then(this.getClientInstance().responseHandler({
|
|
142
|
+
limit
|
|
143
|
+
}
|
|
144
|
+
}).then(this.getClientInstance().responseHandler({
|
|
159
145
|
200: {
|
|
160
|
-
"application/json": "json"
|
|
161
|
-
}
|
|
162
|
-
}))
|
|
163
|
-
.then(commonHttpClient.castResponse())
|
|
164
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getBlogpostAttachments.response")))
|
|
165
|
-
.then(commonHttpClient.getBody);
|
|
146
|
+
"application/json": "json"
|
|
147
|
+
}
|
|
148
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getBlogpostAttachments.response"))).then(commonHttpClient.getBody);
|
|
166
149
|
};
|
|
167
150
|
/**
|
|
168
151
|
* Returns the attachments of specific custom content. The number of results is
|
|
@@ -179,13 +162,12 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
179
162
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-custom-content-id-attachments-get
|
|
180
163
|
* @param params
|
|
181
164
|
*/
|
|
182
|
-
this.getCustomContentAttachments = ({ id, sort, cursor, status, mediaType, filename, limit
|
|
183
|
-
return this.getClientInstance()
|
|
184
|
-
.request({
|
|
165
|
+
this.getCustomContentAttachments = ({ id, sort, cursor, status, mediaType, filename, limit }) => {
|
|
166
|
+
return this.getClientInstance().request({
|
|
185
167
|
path: "/custom-content/{id}/attachments",
|
|
186
168
|
method: "GET",
|
|
187
169
|
pathParams: {
|
|
188
|
-
id
|
|
170
|
+
id
|
|
189
171
|
},
|
|
190
172
|
query: {
|
|
191
173
|
sort,
|
|
@@ -193,17 +175,13 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
193
175
|
status,
|
|
194
176
|
mediaType,
|
|
195
177
|
filename,
|
|
196
|
-
limit
|
|
197
|
-
}
|
|
198
|
-
})
|
|
199
|
-
.then(this.getClientInstance().responseHandler({
|
|
178
|
+
limit
|
|
179
|
+
}
|
|
180
|
+
}).then(this.getClientInstance().responseHandler({
|
|
200
181
|
200: {
|
|
201
|
-
"application/json": "json"
|
|
202
|
-
}
|
|
203
|
-
}))
|
|
204
|
-
.then(commonHttpClient.castResponse())
|
|
205
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getCustomContentAttachments.response")))
|
|
206
|
-
.then(commonHttpClient.getBody);
|
|
182
|
+
"application/json": "json"
|
|
183
|
+
}
|
|
184
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getCustomContentAttachments.response"))).then(commonHttpClient.getBody);
|
|
207
185
|
};
|
|
208
186
|
/**
|
|
209
187
|
* Returns the attachments of specified label. The number of results is limited by
|
|
@@ -219,28 +197,23 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
219
197
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-labels-id-attachments-get
|
|
220
198
|
* @param params
|
|
221
199
|
*/
|
|
222
|
-
this.getLabelAttachments = ({ id, sort, cursor, limit
|
|
223
|
-
return this.getClientInstance()
|
|
224
|
-
.request({
|
|
200
|
+
this.getLabelAttachments = ({ id, sort, cursor, limit }) => {
|
|
201
|
+
return this.getClientInstance().request({
|
|
225
202
|
path: "/labels/{id}/attachments",
|
|
226
203
|
method: "GET",
|
|
227
204
|
pathParams: {
|
|
228
|
-
id
|
|
205
|
+
id
|
|
229
206
|
},
|
|
230
207
|
query: {
|
|
231
208
|
sort,
|
|
232
209
|
cursor,
|
|
233
|
-
limit
|
|
234
|
-
}
|
|
235
|
-
})
|
|
236
|
-
.then(this.getClientInstance().responseHandler({
|
|
210
|
+
limit
|
|
211
|
+
}
|
|
212
|
+
}).then(this.getClientInstance().responseHandler({
|
|
237
213
|
200: {
|
|
238
|
-
"application/json": "json"
|
|
239
|
-
}
|
|
240
|
-
}))
|
|
241
|
-
.then(commonHttpClient.castResponse())
|
|
242
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getLabelAttachments.response")))
|
|
243
|
-
.then(commonHttpClient.getBody);
|
|
214
|
+
"application/json": "json"
|
|
215
|
+
}
|
|
216
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getLabelAttachments.response"))).then(commonHttpClient.getBody);
|
|
244
217
|
};
|
|
245
218
|
/**
|
|
246
219
|
* Returns the attachments of specific page. The number of results is limited by
|
|
@@ -256,13 +229,12 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
256
229
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-attachment#api-pages-id-attachments-get
|
|
257
230
|
* @param params
|
|
258
231
|
*/
|
|
259
|
-
this.getPageAttachments = ({ id, sort, cursor, status, mediaType, filename, limit
|
|
260
|
-
return this.getClientInstance()
|
|
261
|
-
.request({
|
|
232
|
+
this.getPageAttachments = ({ id, sort, cursor, status, mediaType, filename, limit }) => {
|
|
233
|
+
return this.getClientInstance().request({
|
|
262
234
|
path: "/pages/{id}/attachments",
|
|
263
235
|
method: "GET",
|
|
264
236
|
pathParams: {
|
|
265
|
-
id
|
|
237
|
+
id
|
|
266
238
|
},
|
|
267
239
|
query: {
|
|
268
240
|
sort,
|
|
@@ -270,120 +242,66 @@ class AttachmentService extends CommonHttpService_1.CommonHttpService {
|
|
|
270
242
|
status,
|
|
271
243
|
mediaType,
|
|
272
244
|
filename,
|
|
273
|
-
limit
|
|
274
|
-
}
|
|
275
|
-
})
|
|
276
|
-
.then(this.getClientInstance().responseHandler({
|
|
245
|
+
limit
|
|
246
|
+
}
|
|
247
|
+
}).then(this.getClientInstance().responseHandler({
|
|
277
248
|
200: {
|
|
278
|
-
"application/json": "json"
|
|
279
|
-
}
|
|
280
|
-
}))
|
|
281
|
-
.then(commonHttpClient.castResponse())
|
|
282
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getPageAttachments.response")))
|
|
283
|
-
.then(commonHttpClient.getBody);
|
|
249
|
+
"application/json": "json"
|
|
250
|
+
}
|
|
251
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("AttachmentService.getPageAttachments.response"))).then(commonHttpClient.getBody);
|
|
284
252
|
};
|
|
285
253
|
}
|
|
286
254
|
static initialize() {
|
|
287
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getAttachments.response", zod_1.z
|
|
288
|
-
.object({
|
|
255
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getAttachments.response", zod_1.z.object({
|
|
289
256
|
status: zod_1.z.literal(200),
|
|
290
257
|
mediaType: zod_1.z.literal("application/json"),
|
|
291
|
-
body: zod_1.z
|
|
292
|
-
.
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
.lazy("MultiEntityLinks")
|
|
298
|
-
.optional(),
|
|
299
|
-
})
|
|
300
|
-
.catchall(zod_1.z.unknown()),
|
|
301
|
-
})
|
|
302
|
-
.describe("AttachmentService.getAttachments.response"));
|
|
303
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getAttachmentById.response", zod_1.z
|
|
304
|
-
.object({
|
|
258
|
+
body: zod_1.z.object({
|
|
259
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("AttachmentBulk")).optional(),
|
|
260
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
261
|
+
}).catchall(zod_1.z.unknown())
|
|
262
|
+
}).describe("AttachmentService.getAttachments.response"));
|
|
263
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getAttachmentById.response", zod_1.z.object({
|
|
305
264
|
status: zod_1.z.literal(200),
|
|
306
265
|
mediaType: zod_1.z.literal("application/json"),
|
|
307
|
-
body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("AttachmentSingle"), zod_1.z
|
|
308
|
-
.object({
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
.optional(),
|
|
315
|
-
})
|
|
316
|
-
.catchall(zod_1.z.unknown())),
|
|
317
|
-
})
|
|
318
|
-
.describe("AttachmentService.getAttachmentById.response"));
|
|
319
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getBlogpostAttachments.response", zod_1.z
|
|
320
|
-
.object({
|
|
266
|
+
body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("AttachmentSingle"), zod_1.z.object({
|
|
267
|
+
_links: zod_1.z.object({
|
|
268
|
+
base: zod_1.z.string().optional()
|
|
269
|
+
}).catchall(zod_1.z.unknown()).optional()
|
|
270
|
+
}).catchall(zod_1.z.unknown()))
|
|
271
|
+
}).describe("AttachmentService.getAttachmentById.response"));
|
|
272
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getBlogpostAttachments.response", zod_1.z.object({
|
|
321
273
|
status: zod_1.z.literal(200),
|
|
322
274
|
mediaType: zod_1.z.literal("application/json"),
|
|
323
|
-
body: zod_1.z
|
|
324
|
-
.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
.lazy("MultiEntityLinks")
|
|
330
|
-
.optional(),
|
|
331
|
-
})
|
|
332
|
-
.catchall(zod_1.z.unknown()),
|
|
333
|
-
})
|
|
334
|
-
.describe("AttachmentService.getBlogpostAttachments.response"));
|
|
335
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getCustomContentAttachments.response", zod_1.z
|
|
336
|
-
.object({
|
|
275
|
+
body: zod_1.z.object({
|
|
276
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("AttachmentBulk")).optional(),
|
|
277
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
278
|
+
}).catchall(zod_1.z.unknown())
|
|
279
|
+
}).describe("AttachmentService.getBlogpostAttachments.response"));
|
|
280
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getCustomContentAttachments.response", zod_1.z.object({
|
|
337
281
|
status: zod_1.z.literal(200),
|
|
338
282
|
mediaType: zod_1.z.literal("application/json"),
|
|
339
|
-
body: zod_1.z
|
|
340
|
-
.
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
.lazy("MultiEntityLinks")
|
|
346
|
-
.optional(),
|
|
347
|
-
})
|
|
348
|
-
.catchall(zod_1.z.unknown()),
|
|
349
|
-
})
|
|
350
|
-
.describe("AttachmentService.getCustomContentAttachments.response"));
|
|
351
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getLabelAttachments.response", zod_1.z
|
|
352
|
-
.object({
|
|
283
|
+
body: zod_1.z.object({
|
|
284
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("AttachmentBulk")).optional(),
|
|
285
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
286
|
+
}).catchall(zod_1.z.unknown())
|
|
287
|
+
}).describe("AttachmentService.getCustomContentAttachments.response"));
|
|
288
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getLabelAttachments.response", zod_1.z.object({
|
|
353
289
|
status: zod_1.z.literal(200),
|
|
354
290
|
mediaType: zod_1.z.literal("application/json"),
|
|
355
|
-
body: zod_1.z
|
|
356
|
-
.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
.lazy("MultiEntityLinks")
|
|
362
|
-
.optional(),
|
|
363
|
-
})
|
|
364
|
-
.catchall(zod_1.z.unknown()),
|
|
365
|
-
})
|
|
366
|
-
.describe("AttachmentService.getLabelAttachments.response"));
|
|
367
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getPageAttachments.response", zod_1.z
|
|
368
|
-
.object({
|
|
291
|
+
body: zod_1.z.object({
|
|
292
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("AttachmentBulk")).optional(),
|
|
293
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
294
|
+
}).catchall(zod_1.z.unknown())
|
|
295
|
+
}).describe("AttachmentService.getLabelAttachments.response"));
|
|
296
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AttachmentService.getPageAttachments.response", zod_1.z.object({
|
|
369
297
|
status: zod_1.z.literal(200),
|
|
370
298
|
mediaType: zod_1.z.literal("application/json"),
|
|
371
|
-
body: zod_1.z
|
|
372
|
-
.
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
.lazy("MultiEntityLinks")
|
|
378
|
-
.optional(),
|
|
379
|
-
})
|
|
380
|
-
.catchall(zod_1.z.unknown()),
|
|
381
|
-
})
|
|
382
|
-
.describe("AttachmentService.getPageAttachments.response"));
|
|
383
|
-
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
384
|
-
attachment_1.registerAttachmentValidationSchemas,
|
|
385
|
-
common_1.registerCommonValidationSchemas,
|
|
386
|
-
]);
|
|
299
|
+
body: zod_1.z.object({
|
|
300
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("AttachmentBulk")).optional(),
|
|
301
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
302
|
+
}).catchall(zod_1.z.unknown())
|
|
303
|
+
}).describe("AttachmentService.getPageAttachments.response"));
|
|
304
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([attachment_1.registerAttachmentValidationSchemas, common_1.registerCommonValidationSchemas]);
|
|
387
305
|
}
|
|
388
306
|
}
|
|
389
307
|
exports.AttachmentService = AttachmentService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/AttachmentService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"AttachmentService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/AttachmentService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,qDAAiJ;AACjJ,6CAA0F;AAC1F,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,qCAAiB;IAAxD;;QACE;;;;;;;;;;;;;;;;;WAiBG;QACH,qBAAgB,GAAG,CAAC,EAClB,EAAE,EACF,KAAK,EAMN,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,mBAAmB;gBACzB,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,KAAK;iBACN;aACF,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;WAWG;QACH,sBAAiB,GAAG,CAAC,EACnB,EAAE,EACF,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,cAAc,EAiDf,EASG,EAAE;YACJ,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,mBAAmB;gBACzB,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KA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,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE;gBAC3E,MAAM,EAAE,iDAAuB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE;aACpE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC,CAAC,CAAC;QAC9D,iDAAuB,CAAC,YAAY,CAAC,CAAC,gDAAmC,EAAE,wCAA+B,CAAC,CAAC,CAAC;IAC/G,CAAC;CACF;AAplBD,8CAolBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type
|
|
3
|
-
import { type
|
|
2
|
+
import { type BlogPostSortOrder, type BlogPostBulk, type BlogPostBodyWrite, type BlogPostNestedBodyWrite, type BlogPostSingle } from "../models/blogPost";
|
|
3
|
+
import { type PrimaryBodyRepresentation, type MultiEntityLinks, type PrimaryBodyRepresentationSingle } from "../models/common";
|
|
4
4
|
/**
|
|
5
5
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post
|
|
6
6
|
* @category Services
|
|
@@ -22,7 +22,7 @@ export declare class BlogPostService extends CommonHttpService {
|
|
|
22
22
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post#api-blogposts-post
|
|
23
23
|
* @param params
|
|
24
24
|
*/
|
|
25
|
-
createBlogPost: ({ private: privateQuery, requestBody
|
|
25
|
+
createBlogPost: ({ private: privateQuery, requestBody }: {
|
|
26
26
|
/**
|
|
27
27
|
* The blog post will be private. Only the user who creates this blog post will
|
|
28
28
|
* have permission to view and edit one.
|
|
@@ -75,7 +75,7 @@ export declare class BlogPostService extends CommonHttpService {
|
|
|
75
75
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post#api-blogposts-id-delete
|
|
76
76
|
* @param params
|
|
77
77
|
*/
|
|
78
|
-
deleteBlogPost: ({ id, purge, draft
|
|
78
|
+
deleteBlogPost: ({ id, purge, draft }: {
|
|
79
79
|
/** The ID of the blog post to be deleted. */
|
|
80
80
|
id: number;
|
|
81
81
|
/** If attempting to purge the blog post. */
|
|
@@ -95,7 +95,7 @@ export declare class BlogPostService extends CommonHttpService {
|
|
|
95
95
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post#api-blogposts-id-get
|
|
96
96
|
* @param params
|
|
97
97
|
*/
|
|
98
|
-
getBlogPostById: ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus
|
|
98
|
+
getBlogPostById: ({ id, bodyFormat, getDraft, status, version, includeLabels, includeProperties, includeOperations, includeLikes, includeVersions, includeVersion, includeFavoritedByCurrentUserStatus }: {
|
|
99
99
|
/**
|
|
100
100
|
* The ID of the blog post to be returned. If you don't know the blog post ID, use
|
|
101
101
|
* Get blog posts and filter the results.
|
|
@@ -188,7 +188,7 @@ export declare class BlogPostService extends CommonHttpService {
|
|
|
188
188
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post#api-blogposts-get
|
|
189
189
|
* @param params
|
|
190
190
|
*/
|
|
191
|
-
getBlogPosts: ({ id, spaceId, sort, status, title, bodyFormat, cursor, limit
|
|
191
|
+
getBlogPosts: ({ id, spaceId, sort, status, title, bodyFormat, cursor, limit }?: {
|
|
192
192
|
/**
|
|
193
193
|
* Filter the results based on blog post ids. Multiple blog post ids can be
|
|
194
194
|
* specified as a comma-separated list.
|
|
@@ -248,7 +248,7 @@ export declare class BlogPostService extends CommonHttpService {
|
|
|
248
248
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post#api-spaces-id-blogposts-get
|
|
249
249
|
* @param params
|
|
250
250
|
*/
|
|
251
|
-
getBlogPostsInSpace: ({ id, sort, status, title, bodyFormat, cursor, limit
|
|
251
|
+
getBlogPostsInSpace: ({ id, sort, status, title, bodyFormat, cursor, limit }: {
|
|
252
252
|
/** The ID of the space for which blog posts should be returned. */
|
|
253
253
|
id: number;
|
|
254
254
|
/** Used to sort the result by a particular field. */
|
|
@@ -298,7 +298,7 @@ export declare class BlogPostService extends CommonHttpService {
|
|
|
298
298
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post#api-labels-id-blogposts-get
|
|
299
299
|
* @param params
|
|
300
300
|
*/
|
|
301
|
-
getLabelBlogPosts: ({ id, spaceId, bodyFormat, sort, cursor, limit
|
|
301
|
+
getLabelBlogPosts: ({ id, spaceId, bodyFormat, sort, cursor, limit }: {
|
|
302
302
|
/** The ID of the label for which blog posts should be returned. */
|
|
303
303
|
id: number;
|
|
304
304
|
/**
|
|
@@ -345,7 +345,7 @@ export declare class BlogPostService extends CommonHttpService {
|
|
|
345
345
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post#api-blogposts-id-put
|
|
346
346
|
* @param params
|
|
347
347
|
*/
|
|
348
|
-
updateBlogPost: ({ id, requestBody
|
|
348
|
+
updateBlogPost: ({ id, requestBody }: {
|
|
349
349
|
/**
|
|
350
350
|
* The ID of the blog post to be updated. If you don't know the blog post ID, use
|
|
351
351
|
* Get Blog Posts and filter the results.
|