@resolution/confluence-api-client 0.7.12 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +208 -213
- package/README.md +4 -4
- package/lib/openapi/core/CommonHttpClient.d.ts +46 -17
- package/lib/openapi/core/CommonHttpClient.js +175 -232
- package/lib/openapi/core/CommonHttpClient.js.map +1 -1
- package/lib/openapi/core/CommonHttpService.d.ts +1 -1
- package/lib/openapi/core/CommonHttpService.js.map +1 -1
- package/lib/openapi/core/CommonValidationSchemaStorage.d.ts +4 -4
- package/lib/openapi/core/CommonValidationSchemaStorage.js +2 -4
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -1
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +4 -4
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +38 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/audit.d.ts +2 -2
- package/lib/openapi/v1/models/audit.js +31 -90
- package/lib/openapi/v1/models/audit.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +2 -4
- package/lib/openapi/v1/models/common.js +188 -464
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/content.d.ts +2 -2
- package/lib/openapi/v1/models/content.js +205 -491
- package/lib/openapi/v1/models/content.js.map +1 -1
- package/lib/openapi/v1/models/contentAttachments.d.ts +1 -1
- package/lib/openapi/v1/models/contentAttachments.js +8 -19
- package/lib/openapi/v1/models/contentAttachments.js.map +1 -1
- package/lib/openapi/v1/models/contentBody.d.ts +2 -2
- package/lib/openapi/v1/models/contentBody.js +20 -59
- package/lib/openapi/v1/models/contentBody.js.map +1 -1
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +4 -2
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js +17 -40
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -1
- package/lib/openapi/v1/models/contentLabels.d.ts +1 -1
- package/lib/openapi/v1/models/contentLabels.js +2 -7
- package/lib/openapi/v1/models/contentLabels.js.map +1 -1
- package/lib/openapi/v1/models/contentMacroBody.d.ts +1 -1
- package/lib/openapi/v1/models/contentMacroBody.js +4 -10
- package/lib/openapi/v1/models/contentMacroBody.js.map +1 -1
- package/lib/openapi/v1/models/contentPermissions.d.ts +2 -2
- package/lib/openapi/v1/models/contentPermissions.js +10 -22
- package/lib/openapi/v1/models/contentPermissions.js.map +1 -1
- package/lib/openapi/v1/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v1/models/contentProperties.js +25 -71
- package/lib/openapi/v1/models/contentProperties.js.map +1 -1
- package/lib/openapi/v1/models/contentRestrictions.d.ts +2 -2
- package/lib/openapi/v1/models/contentRestrictions.js +17 -57
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -1
- package/lib/openapi/v1/models/contentStates.d.ts +1 -20
- package/lib/openapi/v1/models/contentStates.js +15 -55
- package/lib/openapi/v1/models/contentStates.js.map +1 -1
- package/lib/openapi/v1/models/contentVersions.d.ts +2 -2
- package/lib/openapi/v1/models/contentVersions.js +9 -20
- package/lib/openapi/v1/models/contentVersions.js.map +1 -1
- package/lib/openapi/v1/models/contentWatches.d.ts +2 -2
- package/lib/openapi/v1/models/contentWatches.js +21 -46
- package/lib/openapi/v1/models/contentWatches.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +33 -27
- package/lib/openapi/v1/models/dynamicModules.js +6 -15
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/group.d.ts +1 -1
- package/lib/openapi/v1/models/group.js +6 -15
- package/lib/openapi/v1/models/group.js.map +1 -1
- package/lib/openapi/v1/models/inlineTasks.d.ts +1 -1
- package/lib/openapi/v1/models/inlineTasks.js +10 -22
- package/lib/openapi/v1/models/inlineTasks.js.map +1 -1
- package/lib/openapi/v1/models/labelInfo.d.ts +1 -1
- package/lib/openapi/v1/models/labelInfo.js +11 -27
- package/lib/openapi/v1/models/labelInfo.js.map +1 -1
- package/lib/openapi/v1/models/longRunningTask.d.ts +2 -2
- package/lib/openapi/v1/models/longRunningTask.js +20 -42
- package/lib/openapi/v1/models/longRunningTask.js.map +1 -1
- package/lib/openapi/v1/models/relation.d.ts +2 -2
- package/lib/openapi/v1/models/relation.js +16 -45
- package/lib/openapi/v1/models/relation.js.map +1 -1
- package/lib/openapi/v1/models/search.d.ts +2 -2
- package/lib/openapi/v1/models/search.js +15 -34
- package/lib/openapi/v1/models/search.js.map +1 -1
- package/lib/openapi/v1/models/settings.d.ts +2 -2
- package/lib/openapi/v1/models/settings.js +13 -29
- package/lib/openapi/v1/models/settings.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +2 -2
- package/lib/openapi/v1/models/space.js +31 -69
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/models/spacePermissions.d.ts +1 -1
- package/lib/openapi/v1/models/spacePermissions.js +23 -86
- package/lib/openapi/v1/models/spacePermissions.js.map +1 -1
- package/lib/openapi/v1/models/spaceProperties.d.ts +2 -2
- package/lib/openapi/v1/models/spaceProperties.js +26 -71
- package/lib/openapi/v1/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v1/models/spaceSettings.d.ts +1 -1
- package/lib/openapi/v1/models/spaceSettings.js +3 -9
- package/lib/openapi/v1/models/spaceSettings.js.map +1 -1
- package/lib/openapi/v1/models/template.d.ts +2 -2
- package/lib/openapi/v1/models/template.js +45 -103
- package/lib/openapi/v1/models/template.js.map +1 -1
- package/lib/openapi/v1/models/themes.d.ts +1 -1
- package/lib/openapi/v1/models/themes.js +10 -22
- package/lib/openapi/v1/models/themes.js.map +1 -1
- package/lib/openapi/v1/models/userProperties.d.ts +1 -1
- package/lib/openapi/v1/models/userProperties.js +16 -33
- package/lib/openapi/v1/models/userProperties.js.map +1 -1
- package/lib/openapi/v1/models/users.d.ts +2 -2
- package/lib/openapi/v1/models/users.js +25 -57
- package/lib/openapi/v1/models/users.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +2 -2
- package/lib/openapi/v1/services/AnalyticsService.js +29 -47
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +6 -6
- package/lib/openapi/v1/services/AuditService.js +67 -109
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentAttachmentsService.js +72 -109
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentBodyService.js +67 -105
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +15 -15
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +110 -160
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentCommentsService.js +19 -26
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentLabelsService.js +36 -54
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentMacroBodyService.js +43 -67
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js +14 -23
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +7 -7
- package/lib/openapi/v1/services/ContentPropertiesService.js +73 -112
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentRestrictionsService.js +127 -184
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +18 -18
- package/lib/openapi/v1/services/ContentService.js +143 -211
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +13 -56
- package/lib/openapi/v1/services/ContentStatesService.js +99 -246
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +4 -4
- package/lib/openapi/v1/services/ContentVersionsService.js +53 -79
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +13 -13
- package/lib/openapi/v1/services/ContentWatchesService.js +113 -169
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +2 -2
- package/lib/openapi/v1/services/DynamicModulesService.js +24 -37
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +5 -5
- package/lib/openapi/v1/services/ExperimentalService.js +42 -65
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +10 -10
- package/lib/openapi/v1/services/GroupService.js +76 -117
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +4 -4
- package/lib/openapi/v1/services/InlineTasksService.js +36 -59
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +1 -1
- package/lib/openapi/v1/services/LabelInfoService.js +12 -19
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +2 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js +24 -40
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +38 -18
- package/lib/openapi/v1/services/RelationService.js +64 -94
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +5 -5
- package/lib/openapi/v1/services/SearchService.js +32 -46
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +6 -6
- package/lib/openapi/v1/services/SettingsService.js +61 -98
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +4 -4
- package/lib/openapi/v1/services/SpacePermissionsService.js +25 -38
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +7 -7
- package/lib/openapi/v1/services/SpacePropertiesService.js +73 -112
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +15 -15
- package/lib/openapi/v1/services/SpaceService.js +114 -175
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +2 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js +24 -38
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +7 -7
- package/lib/openapi/v1/services/TemplateService.js +67 -104
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +5 -5
- package/lib/openapi/v1/services/ThemesService.js +61 -101
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +6 -6
- package/lib/openapi/v1/services/UserPropertiesService.js +42 -64
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +9 -9
- package/lib/openapi/v1/services/UsersService.js +94 -146
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v1/validationSchemaStorage.d.ts +2 -2
- package/lib/openapi/v1/validationSchemaStorage.js +12 -22
- package/lib/openapi/v1/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +3 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/ancestors.d.ts +1 -1
- package/lib/openapi/v2/models/ancestors.js +4 -12
- package/lib/openapi/v2/models/ancestors.js.map +1 -1
- package/lib/openapi/v2/models/attachment.d.ts +2 -2
- package/lib/openapi/v2/models/attachment.js +26 -71
- package/lib/openapi/v2/models/attachment.js.map +1 -1
- package/lib/openapi/v2/models/blogPost.d.ts +2 -2
- package/lib/openapi/v2/models/blogPost.js +37 -102
- package/lib/openapi/v2/models/blogPost.js.map +1 -1
- package/lib/openapi/v2/models/children.d.ts +1 -1
- package/lib/openapi/v2/models/children.js +9 -24
- package/lib/openapi/v2/models/children.js.map +1 -1
- package/lib/openapi/v2/models/classificationLevel.d.ts +1 -1
- package/lib/openapi/v2/models/classificationLevel.js +6 -32
- package/lib/openapi/v2/models/classificationLevel.js.map +1 -1
- package/lib/openapi/v2/models/comment.d.ts +2 -2
- package/lib/openapi/v2/models/comment.js +107 -272
- package/lib/openapi/v2/models/comment.js.map +1 -1
- package/lib/openapi/v2/models/common.d.ts +1 -1
- package/lib/openapi/v2/models/common.js +84 -214
- package/lib/openapi/v2/models/common.js.map +1 -1
- package/lib/openapi/v2/models/content.d.ts +1 -1
- package/lib/openapi/v2/models/content.js +3 -21
- package/lib/openapi/v2/models/content.js.map +1 -1
- package/lib/openapi/v2/models/contentProperties.d.ts +1 -1
- package/lib/openapi/v2/models/contentProperties.js +8 -20
- package/lib/openapi/v2/models/contentProperties.js.map +1 -1
- package/lib/openapi/v2/models/customContent.d.ts +2 -2
- package/lib/openapi/v2/models/customContent.js +43 -121
- package/lib/openapi/v2/models/customContent.js.map +1 -1
- package/lib/openapi/v2/models/dataPolicies.d.ts +1 -1
- package/lib/openapi/v2/models/dataPolicies.js +11 -25
- package/lib/openapi/v2/models/dataPolicies.js.map +1 -1
- package/lib/openapi/v2/models/database.d.ts +1 -1
- package/lib/openapi/v2/models/database.js +8 -19
- package/lib/openapi/v2/models/database.js.map +1 -1
- package/lib/openapi/v2/models/eap.d.ts +1 -1
- package/lib/openapi/v2/models/eap.js +0 -3
- package/lib/openapi/v2/models/eap.js.map +1 -1
- package/lib/openapi/v2/models/folder.d.ts +1 -1
- package/lib/openapi/v2/models/folder.js +8 -19
- package/lib/openapi/v2/models/folder.js.map +1 -1
- package/lib/openapi/v2/models/operation.d.ts +1 -1
- package/lib/openapi/v2/models/operation.js +4 -12
- package/lib/openapi/v2/models/operation.js.map +1 -1
- package/lib/openapi/v2/models/page.d.ts +2 -2
- package/lib/openapi/v2/models/page.js +36 -101
- package/lib/openapi/v2/models/page.js.map +1 -1
- package/lib/openapi/v2/models/smartLink.d.ts +1 -1
- package/lib/openapi/v2/models/smartLink.js +8 -19
- package/lib/openapi/v2/models/smartLink.js.map +1 -1
- package/lib/openapi/v2/models/space.d.ts +2 -2
- package/lib/openapi/v2/models/space.js +21 -57
- package/lib/openapi/v2/models/space.js.map +1 -1
- package/lib/openapi/v2/models/spaceProperties.d.ts +1 -1
- package/lib/openapi/v2/models/spaceProperties.js +8 -20
- package/lib/openapi/v2/models/spaceProperties.js.map +1 -1
- package/lib/openapi/v2/models/task.d.ts +1 -1
- package/lib/openapi/v2/models/task.js +7 -16
- package/lib/openapi/v2/models/task.js.map +1 -1
- package/lib/openapi/v2/models/user.d.ts +1 -1
- package/lib/openapi/v2/models/user.js +7 -20
- package/lib/openapi/v2/models/user.js.map +1 -1
- package/lib/openapi/v2/models/version.d.ts +1 -1
- package/lib/openapi/v2/models/version.js +22 -46
- package/lib/openapi/v2/models/version.js.map +1 -1
- package/lib/openapi/v2/models/whiteboard.d.ts +1 -1
- package/lib/openapi/v2/models/whiteboard.js +8 -19
- package/lib/openapi/v2/models/whiteboard.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +5 -5
- package/lib/openapi/v2/services/AncestorsService.js +73 -133
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +8 -8
- package/lib/openapi/v2/services/AttachmentService.js +98 -180
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +9 -9
- package/lib/openapi/v2/services/BlogPostService.js +100 -180
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +2 -2
- package/lib/openapi/v2/services/ChildrenService.js +32 -61
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +15 -15
- package/lib/openapi/v2/services/ClassificationLevelService.js +127 -191
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +20 -20
- package/lib/openapi/v2/services/CommentService.js +250 -454
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +46 -46
- package/lib/openapi/v2/services/ContentPropertiesService.js +496 -820
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +1 -1
- package/lib/openapi/v2/services/ContentService.js +12 -19
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +14 -11
- package/lib/openapi/v2/services/CustomContentService.js +114 -207
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +2 -2
- package/lib/openapi/v2/services/DataPoliciesService.js +25 -48
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +3 -3
- package/lib/openapi/v2/services/DatabaseService.js +37 -63
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/EapService.d.ts +7 -7
- package/lib/openapi/v2/services/EapService.js +89 -165
- package/lib/openapi/v2/services/EapService.js.map +1 -1
- package/lib/openapi/v2/services/FolderService.d.ts +3 -3
- package/lib/openapi/v2/services/FolderService.js +36 -62
- package/lib/openapi/v2/services/FolderService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +7 -7
- package/lib/openapi/v2/services/LabelService.js +105 -196
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +8 -8
- package/lib/openapi/v2/services/LikeService.js +109 -189
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +11 -11
- package/lib/openapi/v2/services/OperationService.js +122 -199
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +9 -9
- package/lib/openapi/v2/services/PageService.js +100 -180
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +3 -3
- package/lib/openapi/v2/services/SmartLinkService.js +36 -62
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -3
- package/lib/openapi/v2/services/SpacePermissionsService.js +30 -56
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +6 -6
- package/lib/openapi/v2/services/SpacePropertiesService.js +56 -92
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceRolesService.d.ts +5 -5
- package/lib/openapi/v2/services/SpaceRolesService.js +60 -111
- package/lib/openapi/v2/services/SpaceRolesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +4 -4
- package/lib/openapi/v2/services/SpaceService.js +47 -87
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +4 -4
- package/lib/openapi/v2/services/TaskService.js +40 -68
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +3 -3
- package/lib/openapi/v2/services/UserService.js +33 -58
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +14 -14
- package/lib/openapi/v2/services/VersionService.js +158 -281
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +3 -3
- package/lib/openapi/v2/services/WhiteboardService.js +37 -63
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/lib/openapi/v2/validationSchemaStorage.d.ts +2 -2
- package/lib/openapi/v2/validationSchemaStorage.js +12 -22
- package/lib/openapi/v2/validationSchemaStorage.js.map +1 -1
- package/package.json +5 -4
|
@@ -4,11 +4,11 @@ exports.LikeService = void 0;
|
|
|
4
4
|
// DO NOT EDIT!
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
|
-
const zod_1 = require("zod");
|
|
8
7
|
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
8
|
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
9
|
const common_1 = require("../models/common");
|
|
11
10
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
11
|
+
const zod_1 = require("zod");
|
|
12
12
|
/**
|
|
13
13
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like
|
|
14
14
|
* @category Services
|
|
@@ -28,23 +28,18 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-count-get
|
|
29
29
|
* @param params
|
|
30
30
|
*/
|
|
31
|
-
this.getBlogPostLikeCount = ({ id
|
|
32
|
-
return this.getClientInstance()
|
|
33
|
-
.request({
|
|
31
|
+
this.getBlogPostLikeCount = ({ id }) => {
|
|
32
|
+
return this.getClientInstance().request({
|
|
34
33
|
path: "/blogposts/{id}/likes/count",
|
|
35
34
|
method: "GET",
|
|
36
35
|
pathParams: {
|
|
37
|
-
id
|
|
38
|
-
}
|
|
39
|
-
})
|
|
40
|
-
.then(this.getClientInstance().responseHandler({
|
|
36
|
+
id
|
|
37
|
+
}
|
|
38
|
+
}).then(this.getClientInstance().responseHandler({
|
|
41
39
|
200: {
|
|
42
|
-
"application/json": "json"
|
|
43
|
-
}
|
|
44
|
-
}))
|
|
45
|
-
.then(commonHttpClient.castResponse())
|
|
46
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeCount.response")))
|
|
47
|
-
.then(commonHttpClient.getBody);
|
|
40
|
+
"application/json": "json"
|
|
41
|
+
}
|
|
42
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeCount.response"))).then(commonHttpClient.getBody);
|
|
48
43
|
};
|
|
49
44
|
/**
|
|
50
45
|
* Returns the account IDs of likes of specific blog post.
|
|
@@ -58,27 +53,22 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
58
53
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-blogposts-id-likes-users-get
|
|
59
54
|
* @param params
|
|
60
55
|
*/
|
|
61
|
-
this.getBlogPostLikeUsers = ({ id, cursor, limit
|
|
62
|
-
return this.getClientInstance()
|
|
63
|
-
.request({
|
|
56
|
+
this.getBlogPostLikeUsers = ({ id, cursor, limit }) => {
|
|
57
|
+
return this.getClientInstance().request({
|
|
64
58
|
path: "/blogposts/{id}/likes/users",
|
|
65
59
|
method: "GET",
|
|
66
60
|
pathParams: {
|
|
67
|
-
id
|
|
61
|
+
id
|
|
68
62
|
},
|
|
69
63
|
query: {
|
|
70
64
|
cursor,
|
|
71
|
-
limit
|
|
72
|
-
}
|
|
73
|
-
})
|
|
74
|
-
.then(this.getClientInstance().responseHandler({
|
|
65
|
+
limit
|
|
66
|
+
}
|
|
67
|
+
}).then(this.getClientInstance().responseHandler({
|
|
75
68
|
200: {
|
|
76
|
-
"application/json": "json"
|
|
77
|
-
}
|
|
78
|
-
}))
|
|
79
|
-
.then(commonHttpClient.castResponse())
|
|
80
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeUsers.response")))
|
|
81
|
-
.then(commonHttpClient.getBody);
|
|
69
|
+
"application/json": "json"
|
|
70
|
+
}
|
|
71
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getBlogPostLikeUsers.response"))).then(commonHttpClient.getBody);
|
|
82
72
|
};
|
|
83
73
|
/**
|
|
84
74
|
* Returns the count of likes of specific footer comment.
|
|
@@ -92,23 +82,18 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
92
82
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-count-get
|
|
93
83
|
* @param params
|
|
94
84
|
*/
|
|
95
|
-
this.getFooterLikeCount = ({ id
|
|
96
|
-
return this.getClientInstance()
|
|
97
|
-
.request({
|
|
85
|
+
this.getFooterLikeCount = ({ id }) => {
|
|
86
|
+
return this.getClientInstance().request({
|
|
98
87
|
path: "/footer-comments/{id}/likes/count",
|
|
99
88
|
method: "GET",
|
|
100
89
|
pathParams: {
|
|
101
|
-
id
|
|
102
|
-
}
|
|
103
|
-
})
|
|
104
|
-
.then(this.getClientInstance().responseHandler({
|
|
90
|
+
id
|
|
91
|
+
}
|
|
92
|
+
}).then(this.getClientInstance().responseHandler({
|
|
105
93
|
200: {
|
|
106
|
-
"application/json": "json"
|
|
107
|
-
}
|
|
108
|
-
}))
|
|
109
|
-
.then(commonHttpClient.castResponse())
|
|
110
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeCount.response")))
|
|
111
|
-
.then(commonHttpClient.getBody);
|
|
94
|
+
"application/json": "json"
|
|
95
|
+
}
|
|
96
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeCount.response"))).then(commonHttpClient.getBody);
|
|
112
97
|
};
|
|
113
98
|
/**
|
|
114
99
|
* Returns the account IDs of likes of specific footer comment.
|
|
@@ -122,27 +107,22 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
122
107
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-footer-comments-id-likes-users-get
|
|
123
108
|
* @param params
|
|
124
109
|
*/
|
|
125
|
-
this.getFooterLikeUsers = ({ id, cursor, limit
|
|
126
|
-
return this.getClientInstance()
|
|
127
|
-
.request({
|
|
110
|
+
this.getFooterLikeUsers = ({ id, cursor, limit }) => {
|
|
111
|
+
return this.getClientInstance().request({
|
|
128
112
|
path: "/footer-comments/{id}/likes/users",
|
|
129
113
|
method: "GET",
|
|
130
114
|
pathParams: {
|
|
131
|
-
id
|
|
115
|
+
id
|
|
132
116
|
},
|
|
133
117
|
query: {
|
|
134
118
|
cursor,
|
|
135
|
-
limit
|
|
136
|
-
}
|
|
137
|
-
})
|
|
138
|
-
.then(this.getClientInstance().responseHandler({
|
|
119
|
+
limit
|
|
120
|
+
}
|
|
121
|
+
}).then(this.getClientInstance().responseHandler({
|
|
139
122
|
200: {
|
|
140
|
-
"application/json": "json"
|
|
141
|
-
}
|
|
142
|
-
}))
|
|
143
|
-
.then(commonHttpClient.castResponse())
|
|
144
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeUsers.response")))
|
|
145
|
-
.then(commonHttpClient.getBody);
|
|
123
|
+
"application/json": "json"
|
|
124
|
+
}
|
|
125
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getFooterLikeUsers.response"))).then(commonHttpClient.getBody);
|
|
146
126
|
};
|
|
147
127
|
/**
|
|
148
128
|
* Returns the count of likes of specific inline comment.
|
|
@@ -156,23 +136,18 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
156
136
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-count-get
|
|
157
137
|
* @param params
|
|
158
138
|
*/
|
|
159
|
-
this.getInlineLikeCount = ({ id
|
|
160
|
-
return this.getClientInstance()
|
|
161
|
-
.request({
|
|
139
|
+
this.getInlineLikeCount = ({ id }) => {
|
|
140
|
+
return this.getClientInstance().request({
|
|
162
141
|
path: "/inline-comments/{id}/likes/count",
|
|
163
142
|
method: "GET",
|
|
164
143
|
pathParams: {
|
|
165
|
-
id
|
|
166
|
-
}
|
|
167
|
-
})
|
|
168
|
-
.then(this.getClientInstance().responseHandler({
|
|
144
|
+
id
|
|
145
|
+
}
|
|
146
|
+
}).then(this.getClientInstance().responseHandler({
|
|
169
147
|
200: {
|
|
170
|
-
"application/json": "json"
|
|
171
|
-
}
|
|
172
|
-
}))
|
|
173
|
-
.then(commonHttpClient.castResponse())
|
|
174
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeCount.response")))
|
|
175
|
-
.then(commonHttpClient.getBody);
|
|
148
|
+
"application/json": "json"
|
|
149
|
+
}
|
|
150
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeCount.response"))).then(commonHttpClient.getBody);
|
|
176
151
|
};
|
|
177
152
|
/**
|
|
178
153
|
* Returns the account IDs of likes of specific inline comment.
|
|
@@ -186,27 +161,22 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
186
161
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-inline-comments-id-likes-users-get
|
|
187
162
|
* @param params
|
|
188
163
|
*/
|
|
189
|
-
this.getInlineLikeUsers = ({ id, cursor, limit
|
|
190
|
-
return this.getClientInstance()
|
|
191
|
-
.request({
|
|
164
|
+
this.getInlineLikeUsers = ({ id, cursor, limit }) => {
|
|
165
|
+
return this.getClientInstance().request({
|
|
192
166
|
path: "/inline-comments/{id}/likes/users",
|
|
193
167
|
method: "GET",
|
|
194
168
|
pathParams: {
|
|
195
|
-
id
|
|
169
|
+
id
|
|
196
170
|
},
|
|
197
171
|
query: {
|
|
198
172
|
cursor,
|
|
199
|
-
limit
|
|
200
|
-
}
|
|
201
|
-
})
|
|
202
|
-
.then(this.getClientInstance().responseHandler({
|
|
173
|
+
limit
|
|
174
|
+
}
|
|
175
|
+
}).then(this.getClientInstance().responseHandler({
|
|
203
176
|
200: {
|
|
204
|
-
"application/json": "json"
|
|
205
|
-
}
|
|
206
|
-
}))
|
|
207
|
-
.then(commonHttpClient.castResponse())
|
|
208
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeUsers.response")))
|
|
209
|
-
.then(commonHttpClient.getBody);
|
|
177
|
+
"application/json": "json"
|
|
178
|
+
}
|
|
179
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getInlineLikeUsers.response"))).then(commonHttpClient.getBody);
|
|
210
180
|
};
|
|
211
181
|
/**
|
|
212
182
|
* Returns the count of likes of specific page.
|
|
@@ -220,23 +190,18 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
220
190
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-count-get
|
|
221
191
|
* @param params
|
|
222
192
|
*/
|
|
223
|
-
this.getPageLikeCount = ({ id
|
|
224
|
-
return this.getClientInstance()
|
|
225
|
-
.request({
|
|
193
|
+
this.getPageLikeCount = ({ id }) => {
|
|
194
|
+
return this.getClientInstance().request({
|
|
226
195
|
path: "/pages/{id}/likes/count",
|
|
227
196
|
method: "GET",
|
|
228
197
|
pathParams: {
|
|
229
|
-
id
|
|
230
|
-
}
|
|
231
|
-
})
|
|
232
|
-
.then(this.getClientInstance().responseHandler({
|
|
198
|
+
id
|
|
199
|
+
}
|
|
200
|
+
}).then(this.getClientInstance().responseHandler({
|
|
233
201
|
200: {
|
|
234
|
-
"application/json": "json"
|
|
235
|
-
}
|
|
236
|
-
}))
|
|
237
|
-
.then(commonHttpClient.castResponse())
|
|
238
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeCount.response")))
|
|
239
|
-
.then(commonHttpClient.getBody);
|
|
202
|
+
"application/json": "json"
|
|
203
|
+
}
|
|
204
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeCount.response"))).then(commonHttpClient.getBody);
|
|
240
205
|
};
|
|
241
206
|
/**
|
|
242
207
|
* Returns the account IDs of likes of specific page.
|
|
@@ -250,130 +215,85 @@ class LikeService extends CommonHttpService_1.CommonHttpService {
|
|
|
250
215
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-like#api-pages-id-likes-users-get
|
|
251
216
|
* @param params
|
|
252
217
|
*/
|
|
253
|
-
this.getPageLikeUsers = ({ id, cursor, limit
|
|
254
|
-
return this.getClientInstance()
|
|
255
|
-
.request({
|
|
218
|
+
this.getPageLikeUsers = ({ id, cursor, limit }) => {
|
|
219
|
+
return this.getClientInstance().request({
|
|
256
220
|
path: "/pages/{id}/likes/users",
|
|
257
221
|
method: "GET",
|
|
258
222
|
pathParams: {
|
|
259
|
-
id
|
|
223
|
+
id
|
|
260
224
|
},
|
|
261
225
|
query: {
|
|
262
226
|
cursor,
|
|
263
|
-
limit
|
|
264
|
-
}
|
|
265
|
-
})
|
|
266
|
-
.then(this.getClientInstance().responseHandler({
|
|
227
|
+
limit
|
|
228
|
+
}
|
|
229
|
+
}).then(this.getClientInstance().responseHandler({
|
|
267
230
|
200: {
|
|
268
|
-
"application/json": "json"
|
|
269
|
-
}
|
|
270
|
-
}))
|
|
271
|
-
.then(commonHttpClient.castResponse())
|
|
272
|
-
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeUsers.response")))
|
|
273
|
-
.then(commonHttpClient.getBody);
|
|
231
|
+
"application/json": "json"
|
|
232
|
+
}
|
|
233
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("LikeService.getPageLikeUsers.response"))).then(commonHttpClient.getBody);
|
|
274
234
|
};
|
|
275
235
|
}
|
|
276
236
|
static initialize() {
|
|
277
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getBlogPostLikeCount.response", zod_1.z
|
|
278
|
-
.object({
|
|
237
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getBlogPostLikeCount.response", zod_1.z.object({
|
|
279
238
|
status: zod_1.z.literal(200),
|
|
280
239
|
mediaType: zod_1.z.literal("application/json"),
|
|
281
|
-
body: zod_1.z
|
|
282
|
-
.
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
})
|
|
287
|
-
.describe("LikeService.getBlogPostLikeCount.response"));
|
|
288
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getBlogPostLikeUsers.response", zod_1.z
|
|
289
|
-
.object({
|
|
240
|
+
body: zod_1.z.object({
|
|
241
|
+
count: zod_1.z.number().int().optional()
|
|
242
|
+
}).catchall(zod_1.z.unknown())
|
|
243
|
+
}).describe("LikeService.getBlogPostLikeCount.response"));
|
|
244
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getBlogPostLikeUsers.response", zod_1.z.object({
|
|
290
245
|
status: zod_1.z.literal(200),
|
|
291
246
|
mediaType: zod_1.z.literal("application/json"),
|
|
292
|
-
body: zod_1.z
|
|
293
|
-
.object({
|
|
247
|
+
body: zod_1.z.object({
|
|
294
248
|
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Like")).optional(),
|
|
295
|
-
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
.catchall(zod_1.z.unknown()),
|
|
300
|
-
})
|
|
301
|
-
.describe("LikeService.getBlogPostLikeUsers.response"));
|
|
302
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getFooterLikeCount.response", zod_1.z
|
|
303
|
-
.object({
|
|
249
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
250
|
+
}).catchall(zod_1.z.unknown())
|
|
251
|
+
}).describe("LikeService.getBlogPostLikeUsers.response"));
|
|
252
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getFooterLikeCount.response", zod_1.z.object({
|
|
304
253
|
status: zod_1.z.literal(200),
|
|
305
254
|
mediaType: zod_1.z.literal("application/json"),
|
|
306
|
-
body: zod_1.z
|
|
307
|
-
.
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
})
|
|
312
|
-
.describe("LikeService.getFooterLikeCount.response"));
|
|
313
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getFooterLikeUsers.response", zod_1.z
|
|
314
|
-
.object({
|
|
255
|
+
body: zod_1.z.object({
|
|
256
|
+
count: zod_1.z.number().int().optional()
|
|
257
|
+
}).catchall(zod_1.z.unknown())
|
|
258
|
+
}).describe("LikeService.getFooterLikeCount.response"));
|
|
259
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getFooterLikeUsers.response", zod_1.z.object({
|
|
315
260
|
status: zod_1.z.literal(200),
|
|
316
261
|
mediaType: zod_1.z.literal("application/json"),
|
|
317
|
-
body: zod_1.z
|
|
318
|
-
.object({
|
|
262
|
+
body: zod_1.z.object({
|
|
319
263
|
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Like")).optional(),
|
|
320
|
-
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
.catchall(zod_1.z.unknown()),
|
|
325
|
-
})
|
|
326
|
-
.describe("LikeService.getFooterLikeUsers.response"));
|
|
327
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getInlineLikeCount.response", zod_1.z
|
|
328
|
-
.object({
|
|
264
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
265
|
+
}).catchall(zod_1.z.unknown())
|
|
266
|
+
}).describe("LikeService.getFooterLikeUsers.response"));
|
|
267
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getInlineLikeCount.response", zod_1.z.object({
|
|
329
268
|
status: zod_1.z.literal(200),
|
|
330
269
|
mediaType: zod_1.z.literal("application/json"),
|
|
331
|
-
body: zod_1.z
|
|
332
|
-
.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
})
|
|
337
|
-
.describe("LikeService.getInlineLikeCount.response"));
|
|
338
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getInlineLikeUsers.response", zod_1.z
|
|
339
|
-
.object({
|
|
270
|
+
body: zod_1.z.object({
|
|
271
|
+
count: zod_1.z.number().int().optional()
|
|
272
|
+
}).catchall(zod_1.z.unknown())
|
|
273
|
+
}).describe("LikeService.getInlineLikeCount.response"));
|
|
274
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getInlineLikeUsers.response", zod_1.z.object({
|
|
340
275
|
status: zod_1.z.literal(200),
|
|
341
276
|
mediaType: zod_1.z.literal("application/json"),
|
|
342
|
-
body: zod_1.z
|
|
343
|
-
.object({
|
|
277
|
+
body: zod_1.z.object({
|
|
344
278
|
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Like")).optional(),
|
|
345
|
-
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
.catchall(zod_1.z.unknown()),
|
|
350
|
-
})
|
|
351
|
-
.describe("LikeService.getInlineLikeUsers.response"));
|
|
352
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getPageLikeCount.response", zod_1.z
|
|
353
|
-
.object({
|
|
279
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
280
|
+
}).catchall(zod_1.z.unknown())
|
|
281
|
+
}).describe("LikeService.getInlineLikeUsers.response"));
|
|
282
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getPageLikeCount.response", zod_1.z.object({
|
|
354
283
|
status: zod_1.z.literal(200),
|
|
355
284
|
mediaType: zod_1.z.literal("application/json"),
|
|
356
|
-
body: zod_1.z
|
|
357
|
-
.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
})
|
|
362
|
-
.describe("LikeService.getPageLikeCount.response"));
|
|
363
|
-
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getPageLikeUsers.response", zod_1.z
|
|
364
|
-
.object({
|
|
285
|
+
body: zod_1.z.object({
|
|
286
|
+
count: zod_1.z.number().int().optional()
|
|
287
|
+
}).catchall(zod_1.z.unknown())
|
|
288
|
+
}).describe("LikeService.getPageLikeCount.response"));
|
|
289
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("LikeService.getPageLikeUsers.response", zod_1.z.object({
|
|
365
290
|
status: zod_1.z.literal(200),
|
|
366
291
|
mediaType: zod_1.z.literal("application/json"),
|
|
367
|
-
body: zod_1.z
|
|
368
|
-
.object({
|
|
292
|
+
body: zod_1.z.object({
|
|
369
293
|
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Like")).optional(),
|
|
370
|
-
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
})
|
|
374
|
-
.catchall(zod_1.z.unknown()),
|
|
375
|
-
})
|
|
376
|
-
.describe("LikeService.getPageLikeUsers.response"));
|
|
294
|
+
_links: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiEntityLinks").optional()
|
|
295
|
+
}).catchall(zod_1.z.unknown())
|
|
296
|
+
}).describe("LikeService.getPageLikeUsers.response"));
|
|
377
297
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
|
|
378
298
|
}
|
|
379
299
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LikeService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LikeService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"LikeService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/LikeService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAqG;AACrG,wEAAqE;AACrE,6BAAwB;AACxB;;;GAGG;AACH,MAAa,WAAY,SAAQ,qCAAiB;IAAlD;;QACE;;;;;;;;;;;WAWG;QACH,yBAAoB,GAAG,CAAC,EACtB,EAAE,EAIH,EAKE,EAAE;YACH,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,6BAA6B;gBACnC,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,gBAAg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AY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AApeD,kCAoeC"}
|
|
@@ -18,7 +18,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
18
18
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-attachments-id-operations-get
|
|
19
19
|
* @param params
|
|
20
20
|
*/
|
|
21
|
-
getAttachmentOperations: ({ id
|
|
21
|
+
getAttachmentOperations: ({ id }: {
|
|
22
22
|
/** The ID of the attachment for which operations should be returned. */
|
|
23
23
|
id: string;
|
|
24
24
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -35,7 +35,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
35
35
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-blogposts-id-operations-get
|
|
36
36
|
* @param params
|
|
37
37
|
*/
|
|
38
|
-
getBlogPostOperations: ({ id
|
|
38
|
+
getBlogPostOperations: ({ id }: {
|
|
39
39
|
/** The ID of the blog post for which operations should be returned. */
|
|
40
40
|
id: number;
|
|
41
41
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -52,7 +52,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
52
52
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-custom-content-id-operations-get
|
|
53
53
|
* @param params
|
|
54
54
|
*/
|
|
55
|
-
getCustomContentOperations: ({ id
|
|
55
|
+
getCustomContentOperations: ({ id }: {
|
|
56
56
|
/** The ID of the custom content for which operations should be returned. */
|
|
57
57
|
id: number;
|
|
58
58
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -68,7 +68,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
68
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-databases-id-operations-get
|
|
69
69
|
* @param params
|
|
70
70
|
*/
|
|
71
|
-
getDatabaseOperations: ({ id
|
|
71
|
+
getDatabaseOperations: ({ id }: {
|
|
72
72
|
/** The ID of the database for which operations should be returned. */
|
|
73
73
|
id: number;
|
|
74
74
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -84,7 +84,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
84
84
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-folders-id-operations-get
|
|
85
85
|
* @param params
|
|
86
86
|
*/
|
|
87
|
-
getFolderOperations: ({ id
|
|
87
|
+
getFolderOperations: ({ id }: {
|
|
88
88
|
/** The ID of the folder for which operations should be returned. */
|
|
89
89
|
id: number;
|
|
90
90
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -101,7 +101,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
101
101
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-footer-comments-id-operations-get
|
|
102
102
|
* @param params
|
|
103
103
|
*/
|
|
104
|
-
getFooterCommentOperations: ({ id
|
|
104
|
+
getFooterCommentOperations: ({ id }: {
|
|
105
105
|
/** The ID of the footer comment for which operations should be returned. */
|
|
106
106
|
id: number;
|
|
107
107
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -118,7 +118,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
118
118
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-inline-comments-id-operations-get
|
|
119
119
|
* @param params
|
|
120
120
|
*/
|
|
121
|
-
getInlineCommentOperations: ({ id
|
|
121
|
+
getInlineCommentOperations: ({ id }: {
|
|
122
122
|
/** The ID of the inline comment for which operations should be returned. */
|
|
123
123
|
id: number;
|
|
124
124
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -134,7 +134,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
134
134
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-pages-id-operations-get
|
|
135
135
|
* @param params
|
|
136
136
|
*/
|
|
137
|
-
getPageOperations: ({ id
|
|
137
|
+
getPageOperations: ({ id }: {
|
|
138
138
|
/** The ID of the page for which operations should be returned. */
|
|
139
139
|
id: number;
|
|
140
140
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -151,7 +151,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
151
151
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-embeds-id-operations-get
|
|
152
152
|
* @param params
|
|
153
153
|
*/
|
|
154
|
-
getSmartLinkOperations: ({ id
|
|
154
|
+
getSmartLinkOperations: ({ id }: {
|
|
155
155
|
/**
|
|
156
156
|
* The ID of the Smart Link in the content tree for which operations should be
|
|
157
157
|
* returned.
|
|
@@ -170,7 +170,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
170
170
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-spaces-id-operations-get
|
|
171
171
|
* @param params
|
|
172
172
|
*/
|
|
173
|
-
getSpaceOperations: ({ id
|
|
173
|
+
getSpaceOperations: ({ id }: {
|
|
174
174
|
/** The ID of the space for which operations should be returned. */
|
|
175
175
|
id: number;
|
|
176
176
|
}) => Promise<PermittedOperationsResponse>;
|
|
@@ -186,7 +186,7 @@ export declare class OperationService extends CommonHttpService {
|
|
|
186
186
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-operation#api-whiteboards-id-operations-get
|
|
187
187
|
* @param params
|
|
188
188
|
*/
|
|
189
|
-
getWhiteboardOperations: ({ id
|
|
189
|
+
getWhiteboardOperations: ({ id }: {
|
|
190
190
|
/** The ID of the whiteboard for which operations should be returned. */
|
|
191
191
|
id: number;
|
|
192
192
|
}) => Promise<PermittedOperationsResponse>;
|