@resolution/confluence-api-client 0.2.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 +11 -0
- package/LICENSE.md +19 -0
- package/README.md +12 -0
- package/lib/index.d.ts +36 -0
- package/lib/index.js +64 -0
- package/lib/index.js.map +1 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +133 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +122 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -0
- package/lib/openapi/v1/core/CommonHttpClient.d.ts +196 -0
- package/lib/openapi/v1/core/CommonHttpClient.js +390 -0
- package/lib/openapi/v1/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/v1/core/CommonHttpService.d.ts +7 -0
- package/lib/openapi/v1/core/CommonHttpService.js +20 -0
- package/lib/openapi/v1/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.d.ts +35 -0
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.js +65 -0
- package/lib/openapi/v1/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/v1/models/audit.d.ts +151 -0
- package/lib/openapi/v1/models/audit.js +133 -0
- package/lib/openapi/v1/models/audit.js.map +1 -0
- package/lib/openapi/v1/models/common.d.ts +645 -0
- package/lib/openapi/v1/models/common.js +654 -0
- package/lib/openapi/v1/models/common.js.map +1 -0
- package/lib/openapi/v1/models/content.d.ts +554 -0
- package/lib/openapi/v1/models/content.js +613 -0
- package/lib/openapi/v1/models/content.js.map +1 -0
- package/lib/openapi/v1/models/contentAttachments.d.ts +26 -0
- package/lib/openapi/v1/models/contentAttachments.js +33 -0
- package/lib/openapi/v1/models/contentAttachments.js.map +1 -0
- package/lib/openapi/v1/models/contentBody.d.ts +36 -0
- package/lib/openapi/v1/models/contentBody.js +63 -0
- package/lib/openapi/v1/models/contentBody.js.map +1 -0
- package/lib/openapi/v1/models/contentChildrenAndDescendants.d.ts +75 -0
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js +66 -0
- package/lib/openapi/v1/models/contentChildrenAndDescendants.js.map +1 -0
- package/lib/openapi/v1/models/contentLabels.d.ts +5 -0
- package/lib/openapi/v1/models/contentLabels.js +16 -0
- package/lib/openapi/v1/models/contentLabels.js.map +1 -0
- package/lib/openapi/v1/models/contentMacroBody.d.ts +12 -0
- package/lib/openapi/v1/models/contentMacroBody.js +22 -0
- package/lib/openapi/v1/models/contentMacroBody.js.map +1 -0
- package/lib/openapi/v1/models/contentPermissions.d.ts +41 -0
- package/lib/openapi/v1/models/contentPermissions.js +35 -0
- package/lib/openapi/v1/models/contentPermissions.js.map +1 -0
- package/lib/openapi/v1/models/contentProperties.d.ts +73 -0
- package/lib/openapi/v1/models/contentProperties.js +94 -0
- package/lib/openapi/v1/models/contentProperties.js.map +1 -0
- package/lib/openapi/v1/models/contentRestrictions.d.ts +65 -0
- package/lib/openapi/v1/models/contentRestrictions.js +78 -0
- package/lib/openapi/v1/models/contentRestrictions.js.map +1 -0
- package/lib/openapi/v1/models/contentStates.d.ts +75 -0
- package/lib/openapi/v1/models/contentStates.js +72 -0
- package/lib/openapi/v1/models/contentStates.js.map +1 -0
- package/lib/openapi/v1/models/contentVersions.d.ts +28 -0
- package/lib/openapi/v1/models/contentVersions.js +36 -0
- package/lib/openapi/v1/models/contentVersions.js.map +1 -0
- package/lib/openapi/v1/models/contentWatches.d.ts +89 -0
- package/lib/openapi/v1/models/contentWatches.js +81 -0
- package/lib/openapi/v1/models/contentWatches.js.map +1 -0
- package/lib/openapi/v1/models/dynamicModules.d.ts +62 -0
- package/lib/openapi/v1/models/dynamicModules.js +24 -0
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -0
- package/lib/openapi/v1/models/group.d.ts +9 -0
- package/lib/openapi/v1/models/group.js +23 -0
- package/lib/openapi/v1/models/group.js.map +1 -0
- package/lib/openapi/v1/models/inlineTasks.d.ts +30 -0
- package/lib/openapi/v1/models/inlineTasks.js +48 -0
- package/lib/openapi/v1/models/inlineTasks.js.map +1 -0
- package/lib/openapi/v1/models/labelInfo.d.ts +21 -0
- package/lib/openapi/v1/models/labelInfo.js +42 -0
- package/lib/openapi/v1/models/labelInfo.js.map +1 -0
- package/lib/openapi/v1/models/longRunningTask.d.ts +116 -0
- package/lib/openapi/v1/models/longRunningTask.js +82 -0
- package/lib/openapi/v1/models/longRunningTask.js.map +1 -0
- package/lib/openapi/v1/models/relation.d.ts +30 -0
- package/lib/openapi/v1/models/relation.js +61 -0
- package/lib/openapi/v1/models/relation.js.map +1 -0
- package/lib/openapi/v1/models/search.d.ts +41 -0
- package/lib/openapi/v1/models/search.js +65 -0
- package/lib/openapi/v1/models/search.js.map +1 -0
- package/lib/openapi/v1/models/settings.d.ts +36 -0
- package/lib/openapi/v1/models/settings.js +50 -0
- package/lib/openapi/v1/models/settings.js.map +1 -0
- package/lib/openapi/v1/models/space.d.ts +118 -0
- package/lib/openapi/v1/models/space.js +94 -0
- package/lib/openapi/v1/models/space.js.map +1 -0
- package/lib/openapi/v1/models/spacePermissions.d.ts +128 -0
- package/lib/openapi/v1/models/spacePermissions.js +102 -0
- package/lib/openapi/v1/models/spacePermissions.js.map +1 -0
- package/lib/openapi/v1/models/spaceProperties.d.ts +96 -0
- package/lib/openapi/v1/models/spaceProperties.js +93 -0
- package/lib/openapi/v1/models/spaceProperties.js.map +1 -0
- package/lib/openapi/v1/models/spaceSettings.d.ts +14 -0
- package/lib/openapi/v1/models/spaceSettings.js +17 -0
- package/lib/openapi/v1/models/spaceSettings.js.map +1 -0
- package/lib/openapi/v1/models/template.d.ts +201 -0
- package/lib/openapi/v1/models/template.js +163 -0
- package/lib/openapi/v1/models/template.js.map +1 -0
- package/lib/openapi/v1/models/themes.d.ts +26 -0
- package/lib/openapi/v1/models/themes.js +38 -0
- package/lib/openapi/v1/models/themes.js.map +1 -0
- package/lib/openapi/v1/models/userProperties.d.ts +41 -0
- package/lib/openapi/v1/models/userProperties.js +50 -0
- package/lib/openapi/v1/models/userProperties.js.map +1 -0
- package/lib/openapi/v1/models/users.d.ts +98 -0
- package/lib/openapi/v1/models/users.js +87 -0
- package/lib/openapi/v1/models/users.js.map +1 -0
- package/lib/openapi/v1/services/AnalyticsService.d.ts +54 -0
- package/lib/openapi/v1/services/AnalyticsService.js +98 -0
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -0
- package/lib/openapi/v1/services/AuditService.d.ts +163 -0
- package/lib/openapi/v1/services/AuditService.js +269 -0
- package/lib/openapi/v1/services/AuditService.js.map +1 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +332 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js +362 -0
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentBodyService.d.ts +227 -0
- package/lib/openapi/v1/services/ContentBodyService.js +178 -0
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +621 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +453 -0
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +147 -0
- package/lib/openapi/v1/services/ContentCommentsService.js +72 -0
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +122 -0
- package/lib/openapi/v1/services/ContentLabelsService.js +176 -0
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +268 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js +193 -0
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -0
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +34 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js +72 -0
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +187 -0
- package/lib/openapi/v1/services/ContentPropertiesService.js +285 -0
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +503 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js +552 -0
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentService.d.ts +1012 -0
- package/lib/openapi/v1/services/ContentService.js +548 -0
- package/lib/openapi/v1/services/ContentService.js.map +1 -0
- package/lib/openapi/v1/services/ContentStatesService.d.ts +220 -0
- package/lib/openapi/v1/services/ContentStatesService.js +439 -0
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -0
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +121 -0
- package/lib/openapi/v1/services/ContentVersionsService.js +181 -0
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -0
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +550 -0
- package/lib/openapi/v1/services/ContentWatchesService.js +502 -0
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -0
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +47 -0
- package/lib/openapi/v1/services/DynamicModulesService.js +92 -0
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -0
- package/lib/openapi/v1/services/ExperimentalService.d.ts +113 -0
- package/lib/openapi/v1/services/ExperimentalService.js +185 -0
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -0
- package/lib/openapi/v1/services/GroupService.d.ts +379 -0
- package/lib/openapi/v1/services/GroupService.js +515 -0
- package/lib/openapi/v1/services/GroupService.js.map +1 -0
- package/lib/openapi/v1/services/InlineTasksService.d.ts +91 -0
- package/lib/openapi/v1/services/InlineTasksService.js +155 -0
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -0
- package/lib/openapi/v1/services/LabelInfoService.d.ts +28 -0
- package/lib/openapi/v1/services/LabelInfoService.js +59 -0
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -0
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +43 -0
- package/lib/openapi/v1/services/LongRunningTaskService.js +96 -0
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -0
- package/lib/openapi/v1/services/RelationService.d.ts +404 -0
- package/lib/openapi/v1/services/RelationService.js +270 -0
- package/lib/openapi/v1/services/RelationService.js.map +1 -0
- package/lib/openapi/v1/services/SearchService.d.ts +175 -0
- package/lib/openapi/v1/services/SearchService.js +164 -0
- package/lib/openapi/v1/services/SearchService.js.map +1 -0
- package/lib/openapi/v1/services/SettingsService.d.ts +143 -0
- package/lib/openapi/v1/services/SettingsService.js +249 -0
- package/lib/openapi/v1/services/SettingsService.js.map +1 -0
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +68 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js +121 -0
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -0
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +161 -0
- package/lib/openapi/v1/services/SpacePropertiesService.js +275 -0
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -0
- package/lib/openapi/v1/services/SpaceService.d.ts +479 -0
- package/lib/openapi/v1/services/SpaceService.js +394 -0
- package/lib/openapi/v1/services/SpaceService.js.map +1 -0
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +40 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js +96 -0
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -0
- package/lib/openapi/v1/services/TemplateService.d.ts +163 -0
- package/lib/openapi/v1/services/TemplateService.js +259 -0
- package/lib/openapi/v1/services/TemplateService.js.map +1 -0
- package/lib/openapi/v1/services/ThemesService.d.ts +101 -0
- package/lib/openapi/v1/services/ThemesService.js +228 -0
- package/lib/openapi/v1/services/ThemesService.js.map +1 -0
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +129 -0
- package/lib/openapi/v1/services/UserPropertiesService.js +192 -0
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -0
- package/lib/openapi/v1/services/UsersService.d.ts +181 -0
- package/lib/openapi/v1/services/UsersService.js +291 -0
- package/lib/openapi/v1/services/UsersService.js.map +1 -0
- package/lib/openapi/v1/validationSchemaStorage.d.ts +3 -0
- package/lib/openapi/v1/validationSchemaStorage.js +144 -0
- package/lib/openapi/v1/validationSchemaStorage.js.map +1 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +88 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +87 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -0
- package/lib/openapi/v2/core/CommonHttpClient.d.ts +196 -0
- package/lib/openapi/v2/core/CommonHttpClient.js +390 -0
- package/lib/openapi/v2/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/v2/core/CommonHttpService.d.ts +7 -0
- package/lib/openapi/v2/core/CommonHttpService.js +20 -0
- package/lib/openapi/v2/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.d.ts +35 -0
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js +65 -0
- package/lib/openapi/v2/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/v2/models/ancestors.d.ts +11 -0
- package/lib/openapi/v2/models/ancestors.js +21 -0
- package/lib/openapi/v2/models/ancestors.js.map +1 -0
- package/lib/openapi/v2/models/attachment.d.ts +148 -0
- package/lib/openapi/v2/models/attachment.js +116 -0
- package/lib/openapi/v2/models/attachment.js.map +1 -0
- package/lib/openapi/v2/models/blogPost.d.ts +106 -0
- package/lib/openapi/v2/models/blogPost.js +134 -0
- package/lib/openapi/v2/models/blogPost.js.map +1 -0
- package/lib/openapi/v2/models/children.d.ts +29 -0
- package/lib/openapi/v2/models/children.js +38 -0
- package/lib/openapi/v2/models/children.js.map +1 -0
- package/lib/openapi/v2/models/classificationLevel.d.ts +28 -0
- package/lib/openapi/v2/models/classificationLevel.js +45 -0
- package/lib/openapi/v2/models/classificationLevel.js.map +1 -0
- package/lib/openapi/v2/models/comment.d.ts +396 -0
- package/lib/openapi/v2/models/comment.js +378 -0
- package/lib/openapi/v2/models/comment.js.map +1 -0
- package/lib/openapi/v2/models/common.d.ts +200 -0
- package/lib/openapi/v2/models/common.js +225 -0
- package/lib/openapi/v2/models/common.js.map +1 -0
- package/lib/openapi/v2/models/content.d.ts +16 -0
- package/lib/openapi/v2/models/content.js +29 -0
- package/lib/openapi/v2/models/content.js.map +1 -0
- package/lib/openapi/v2/models/contentProperties.d.ts +33 -0
- package/lib/openapi/v2/models/contentProperties.js +33 -0
- package/lib/openapi/v2/models/contentProperties.js.map +1 -0
- package/lib/openapi/v2/models/customContent.d.ts +174 -0
- package/lib/openapi/v2/models/customContent.js +163 -0
- package/lib/openapi/v2/models/customContent.js.map +1 -0
- package/lib/openapi/v2/models/dataPolicies.d.ts +34 -0
- package/lib/openapi/v2/models/dataPolicies.js +38 -0
- package/lib/openapi/v2/models/dataPolicies.js.map +1 -0
- package/lib/openapi/v2/models/database.d.ts +35 -0
- package/lib/openapi/v2/models/database.js +38 -0
- package/lib/openapi/v2/models/database.js.map +1 -0
- package/lib/openapi/v2/models/operation.d.ts +8 -0
- package/lib/openapi/v2/models/operation.js +21 -0
- package/lib/openapi/v2/models/operation.js.map +1 -0
- package/lib/openapi/v2/models/page.d.ts +124 -0
- package/lib/openapi/v2/models/page.js +143 -0
- package/lib/openapi/v2/models/page.js.map +1 -0
- package/lib/openapi/v2/models/smartLink.d.ts +38 -0
- package/lib/openapi/v2/models/smartLink.js +38 -0
- package/lib/openapi/v2/models/smartLink.js.map +1 -0
- package/lib/openapi/v2/models/space.d.ts +87 -0
- package/lib/openapi/v2/models/space.js +100 -0
- package/lib/openapi/v2/models/space.js.map +1 -0
- package/lib/openapi/v2/models/spaceProperties.d.ts +27 -0
- package/lib/openapi/v2/models/spaceProperties.js +32 -0
- package/lib/openapi/v2/models/spaceProperties.js.map +1 -0
- package/lib/openapi/v2/models/task.d.ts +39 -0
- package/lib/openapi/v2/models/task.js +39 -0
- package/lib/openapi/v2/models/task.js.map +1 -0
- package/lib/openapi/v2/models/version.d.ts +139 -0
- package/lib/openapi/v2/models/version.js +91 -0
- package/lib/openapi/v2/models/version.js.map +1 -0
- package/lib/openapi/v2/models/whiteboard.d.ts +37 -0
- package/lib/openapi/v2/models/whiteboard.js +39 -0
- package/lib/openapi/v2/models/whiteboard.js.map +1 -0
- package/lib/openapi/v2/services/AncestorsService.d.ts +143 -0
- package/lib/openapi/v2/services/AncestorsService.js +245 -0
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -0
- package/lib/openapi/v2/services/AttachmentService.d.ts +307 -0
- package/lib/openapi/v2/services/AttachmentService.js +370 -0
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -0
- package/lib/openapi/v2/services/BlogPostService.d.ts +386 -0
- package/lib/openapi/v2/services/BlogPostService.js +379 -0
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -0
- package/lib/openapi/v2/services/ChildrenService.d.ts +85 -0
- package/lib/openapi/v2/services/ChildrenService.js +127 -0
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -0
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +213 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js +340 -0
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -0
- package/lib/openapi/v2/services/CommentService.d.ts +713 -0
- package/lib/openapi/v2/services/CommentService.js +884 -0
- package/lib/openapi/v2/services/CommentService.js.map +1 -0
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +844 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js +1514 -0
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -0
- package/lib/openapi/v2/services/ContentService.d.ts +31 -0
- package/lib/openapi/v2/services/ContentService.js +62 -0
- package/lib/openapi/v2/services/ContentService.js.map +1 -0
- package/lib/openapi/v2/services/CustomContentService.d.ts +427 -0
- package/lib/openapi/v2/services/CustomContentService.js +423 -0
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -0
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +64 -0
- package/lib/openapi/v2/services/DataPoliciesService.js +108 -0
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -0
- package/lib/openapi/v2/services/DatabaseService.d.ts +82 -0
- package/lib/openapi/v2/services/DatabaseService.js +135 -0
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -0
- package/lib/openapi/v2/services/LabelService.d.ts +271 -0
- package/lib/openapi/v2/services/LabelService.js +384 -0
- package/lib/openapi/v2/services/LabelService.js.map +1 -0
- package/lib/openapi/v2/services/LikeService.d.ts +205 -0
- package/lib/openapi/v2/services/LikeService.js +358 -0
- package/lib/openapi/v2/services/LikeService.js.map +1 -0
- package/lib/openapi/v2/services/OperationService.d.ts +154 -0
- package/lib/openapi/v2/services/OperationService.js +374 -0
- package/lib/openapi/v2/services/OperationService.js.map +1 -0
- package/lib/openapi/v2/services/PageService.d.ts +408 -0
- package/lib/openapi/v2/services/PageService.js +381 -0
- package/lib/openapi/v2/services/PageService.js.map +1 -0
- package/lib/openapi/v2/services/SmartLinkService.d.ts +84 -0
- package/lib/openapi/v2/services/SmartLinkService.js +137 -0
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -0
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +36 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js +66 -0
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -0
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +118 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js +213 -0
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -0
- package/lib/openapi/v2/services/SpaceService.d.ts +141 -0
- package/lib/openapi/v2/services/SpaceService.js +133 -0
- package/lib/openapi/v2/services/SpaceService.js.map +1 -0
- package/lib/openapi/v2/services/TaskService.d.ts +184 -0
- package/lib/openapi/v2/services/TaskService.js +165 -0
- package/lib/openapi/v2/services/TaskService.js.map +1 -0
- package/lib/openapi/v2/services/UserService.d.ts +51 -0
- package/lib/openapi/v2/services/UserService.js +83 -0
- package/lib/openapi/v2/services/UserService.js.map +1 -0
- package/lib/openapi/v2/services/VersionService.d.ts +350 -0
- package/lib/openapi/v2/services/VersionService.js +541 -0
- package/lib/openapi/v2/services/VersionService.js.map +1 -0
- package/lib/openapi/v2/services/WhiteboardService.d.ts +82 -0
- package/lib/openapi/v2/services/WhiteboardService.js +135 -0
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -0
- package/lib/openapi/v2/validationSchemaStorage.d.ts +3 -0
- package/lib/openapi/v2/validationSchemaStorage.js +144 -0
- package/lib/openapi/v2/validationSchemaStorage.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpaceService = void 0;
|
|
4
|
+
// DO NOT EDIT!
|
|
5
|
+
// This file is generated by "api-typescript-generator".
|
|
6
|
+
// To update this file run "yarn build:openapi".
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
const commonHttpClient = require("../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
|
+
const common_1 = require("../models/common");
|
|
11
|
+
const space_1 = require("../models/space");
|
|
12
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
13
|
+
class SpaceService extends CommonHttpService_1.CommonHttpService {
|
|
14
|
+
/**
|
|
15
|
+
* Returns a specific space.
|
|
16
|
+
*
|
|
17
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
18
|
+
* Permission to view the space.
|
|
19
|
+
*
|
|
20
|
+
* @returns Returned if the requested space is returned.
|
|
21
|
+
* @path {GET} /spaces/{id}
|
|
22
|
+
* @scopes-current read:space:confluence
|
|
23
|
+
*/
|
|
24
|
+
getSpaceById({ id, descriptionFormat, includeIcon, includeOperations, includeProperties, includePermissions, includeLabels, }) {
|
|
25
|
+
return this.getClientInstance()
|
|
26
|
+
.request({
|
|
27
|
+
path: "/spaces/{id}",
|
|
28
|
+
method: "GET",
|
|
29
|
+
pathParams: {
|
|
30
|
+
id,
|
|
31
|
+
},
|
|
32
|
+
query: {
|
|
33
|
+
"description-format": descriptionFormat,
|
|
34
|
+
"include-icon": includeIcon,
|
|
35
|
+
"include-operations": includeOperations,
|
|
36
|
+
"include-properties": includeProperties,
|
|
37
|
+
"include-permissions": includePermissions,
|
|
38
|
+
"include-labels": includeLabels,
|
|
39
|
+
},
|
|
40
|
+
})
|
|
41
|
+
.then(this.getClientInstance().responseHandler({
|
|
42
|
+
200: {
|
|
43
|
+
"application/json": "json",
|
|
44
|
+
},
|
|
45
|
+
}))
|
|
46
|
+
.then(commonHttpClient.castResponse())
|
|
47
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceService.getSpaceById.response"))
|
|
48
|
+
.then(commonHttpClient.getBody);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns all spaces. The results will be sorted by id ascending. The number of
|
|
52
|
+
* results is limited by the `limit` parameter and
|
|
53
|
+
* additional results (if available) will be available through the `next` URL
|
|
54
|
+
* present in the `Link` response header.
|
|
55
|
+
*
|
|
56
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
57
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
58
|
+
* Only spaces that the user has permission to view will be returned.
|
|
59
|
+
*
|
|
60
|
+
* @returns Returned if the requested spaces are returned.
|
|
61
|
+
* @path {GET} /spaces
|
|
62
|
+
* @scopes-current read:space:confluence
|
|
63
|
+
*/
|
|
64
|
+
getSpaces({ ids, keys, type, status, labels, favoritedBy, notFavoritedBy, sort, descriptionFormat, includeIcon, cursor, limit, }) {
|
|
65
|
+
return this.getClientInstance()
|
|
66
|
+
.request({
|
|
67
|
+
path: "/spaces",
|
|
68
|
+
method: "GET",
|
|
69
|
+
query: {
|
|
70
|
+
ids,
|
|
71
|
+
keys,
|
|
72
|
+
type,
|
|
73
|
+
status,
|
|
74
|
+
labels,
|
|
75
|
+
"favorited-by": favoritedBy,
|
|
76
|
+
"not-favorited-by": notFavoritedBy,
|
|
77
|
+
sort,
|
|
78
|
+
"description-format": descriptionFormat,
|
|
79
|
+
"include-icon": includeIcon,
|
|
80
|
+
cursor,
|
|
81
|
+
limit,
|
|
82
|
+
},
|
|
83
|
+
})
|
|
84
|
+
.then(this.getClientInstance().responseHandler({
|
|
85
|
+
200: {
|
|
86
|
+
"application/json": "json",
|
|
87
|
+
},
|
|
88
|
+
}))
|
|
89
|
+
.then(commonHttpClient.castResponse())
|
|
90
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceService.getSpaces.response"))
|
|
91
|
+
.then(commonHttpClient.getBody);
|
|
92
|
+
}
|
|
93
|
+
static initialize() {
|
|
94
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceService.getSpaces.response", zod_1.z
|
|
95
|
+
.object({
|
|
96
|
+
status: zod_1.z.literal(200),
|
|
97
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
98
|
+
body: zod_1.z
|
|
99
|
+
.object({
|
|
100
|
+
results: zod_1.z
|
|
101
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceBulk"))
|
|
102
|
+
.optional(),
|
|
103
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
104
|
+
.lazy("MultiEntityLinks")
|
|
105
|
+
.optional(),
|
|
106
|
+
})
|
|
107
|
+
.catchall(zod_1.z.unknown()),
|
|
108
|
+
})
|
|
109
|
+
.describe("SpaceService.getSpaces.response"));
|
|
110
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceService.getSpaceById.response", zod_1.z
|
|
111
|
+
.object({
|
|
112
|
+
status: zod_1.z.literal(200),
|
|
113
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
114
|
+
body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceSingle"), zod_1.z
|
|
115
|
+
.object({
|
|
116
|
+
_links: zod_1.z
|
|
117
|
+
.object({
|
|
118
|
+
base: zod_1.z.string().optional(),
|
|
119
|
+
})
|
|
120
|
+
.catchall(zod_1.z.unknown())
|
|
121
|
+
.optional(),
|
|
122
|
+
})
|
|
123
|
+
.catchall(zod_1.z.unknown())),
|
|
124
|
+
})
|
|
125
|
+
.describe("SpaceService.getSpaceById.response"));
|
|
126
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
127
|
+
space_1.registerSpaceValidationSchemas,
|
|
128
|
+
common_1.registerCommonValidationSchemas,
|
|
129
|
+
]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.SpaceService = SpaceService;
|
|
133
|
+
//# sourceMappingURL=SpaceService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpaceService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpaceService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,2CAKyB;AACzB,wEAAqE;AACrE,MAAa,YAAa,SAAQ,qCAAiB;IACjD;;;;;;;;;OASG;IACH,YAAY,CAAC,EACX,EAAE,EACF,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,GA4Cd;QAaC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,cAAc;YACpB,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,EAAE;aACH;YACD,KAAK,EAAE;gBACL,oBAAoB,EAAE,iBAAiB;gBACvC,cAAc,EAAE,WAAW;gBAC3B,oBAAoB,EAAE,iBAAiB;gBACvC,oBAAoB,EAAE,i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xSD,oCAwSC"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
import { type MultiEntityLinks, type PrimaryBodyRepresentation } from "../models/common";
|
|
3
|
+
import { type Task } from "../models/task";
|
|
4
|
+
export declare class TaskService extends CommonHttpService {
|
|
5
|
+
/**
|
|
6
|
+
* Returns a specific task.
|
|
7
|
+
*
|
|
8
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
9
|
+
* Permission to view the containing page or blog post and its corresponding space.
|
|
10
|
+
*
|
|
11
|
+
* @returns Returned if the requested task is returned.
|
|
12
|
+
* @path {GET} /tasks/{id}
|
|
13
|
+
* @scopes-current read:task:confluence
|
|
14
|
+
*/
|
|
15
|
+
getTaskById({ id, bodyFormat, }: {
|
|
16
|
+
/**
|
|
17
|
+
* The ID of the task to be returned. If you don't know the task ID, use Get tasks
|
|
18
|
+
* and filter the results.
|
|
19
|
+
*/
|
|
20
|
+
id: number;
|
|
21
|
+
/**
|
|
22
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
23
|
+
* available, the representation will be available under a response field of the
|
|
24
|
+
* same name under the `body` field.
|
|
25
|
+
*/
|
|
26
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
27
|
+
}): Promise<Task>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns all tasks. The number of results is limited by the `limit` parameter
|
|
30
|
+
* and additional results (if available)
|
|
31
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
32
|
+
*
|
|
33
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
34
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
35
|
+
* Only tasks that the user has permission to view will be returned.
|
|
36
|
+
*
|
|
37
|
+
* @returns Returned if the requested tasks are returned.
|
|
38
|
+
* @path {GET} /tasks
|
|
39
|
+
* @scopes-current read:task:confluence
|
|
40
|
+
*/
|
|
41
|
+
getTasks({ bodyFormat, includeBlankTasks, status, taskId, spaceId, pageId, blogpostId, createdBy, assignedTo, completedBy, createdAtFrom, createdAtTo, dueAtFrom, dueAtTo, completedAtFrom, completedAtTo, cursor, limit, }: {
|
|
42
|
+
/**
|
|
43
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
44
|
+
* available, the representation will be available under a response field of the
|
|
45
|
+
* same name under the `body` field.
|
|
46
|
+
*/
|
|
47
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
48
|
+
/** Specifies whether to include blank tasks in the response. Defaults to `true`. */
|
|
49
|
+
includeBlankTasks?: boolean;
|
|
50
|
+
/** Filters on the status of the task. */
|
|
51
|
+
status?: "complete" | "incomplete";
|
|
52
|
+
/** Filters on task ID. Multiple IDs can be specified. */
|
|
53
|
+
taskId?: number[];
|
|
54
|
+
/** Filters on the space ID of the task. Multiple IDs can be specified. */
|
|
55
|
+
spaceId?: number[];
|
|
56
|
+
/**
|
|
57
|
+
* Filters on the page ID of the task. Multiple IDs can be specified. Note - page
|
|
58
|
+
* and blog post filters can be used in conjunction.
|
|
59
|
+
*/
|
|
60
|
+
pageId?: number[];
|
|
61
|
+
/**
|
|
62
|
+
* Filters on the blog post ID of the task. Multiple IDs can be specified. Note -
|
|
63
|
+
* page and blog post filters can be used in conjunction.
|
|
64
|
+
*/
|
|
65
|
+
blogpostId?: number[];
|
|
66
|
+
/**
|
|
67
|
+
* Filters on the Account ID of the user who created this task. Multiple IDs can
|
|
68
|
+
* be specified.
|
|
69
|
+
*/
|
|
70
|
+
createdBy?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* Filters on the Account ID of the user to whom this task is assigned. Multiple
|
|
73
|
+
* IDs can be specified.
|
|
74
|
+
*/
|
|
75
|
+
assignedTo?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Filters on the Account ID of the user who completed this task. Multiple IDs can
|
|
78
|
+
* be specified.
|
|
79
|
+
*/
|
|
80
|
+
completedBy?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Filters on start of date-time range of task based on creation date (inclusive).
|
|
83
|
+
* Input is epoch time in milliseconds.
|
|
84
|
+
*/
|
|
85
|
+
createdAtFrom?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Filters on end of date-time range of task based on creation date (inclusive).
|
|
88
|
+
* Input is epoch time in milliseconds.
|
|
89
|
+
*/
|
|
90
|
+
createdAtTo?: number;
|
|
91
|
+
/**
|
|
92
|
+
* Filters on start of date-time range of task based on due date (inclusive).
|
|
93
|
+
* Input is epoch time in milliseconds.
|
|
94
|
+
*/
|
|
95
|
+
dueAtFrom?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Filters on end of date-time range of task based on due date (inclusive). Input
|
|
98
|
+
* is epoch time in milliseconds.
|
|
99
|
+
*/
|
|
100
|
+
dueAtTo?: number;
|
|
101
|
+
/**
|
|
102
|
+
* Filters on start of date-time range of task based on completion date
|
|
103
|
+
* (inclusive). Input is epoch time in milliseconds.
|
|
104
|
+
*/
|
|
105
|
+
completedAtFrom?: number;
|
|
106
|
+
/**
|
|
107
|
+
* Filters on end of date-time range of task based on completion date (inclusive).
|
|
108
|
+
* Input is epoch time in milliseconds.
|
|
109
|
+
*/
|
|
110
|
+
completedAtTo?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
113
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
114
|
+
* retrieve the `next` set of results.
|
|
115
|
+
*/
|
|
116
|
+
cursor?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Maximum number of tasks per result to return. If more results exist, use the
|
|
119
|
+
* `Link` header to retrieve a relative URL that will return the next set of
|
|
120
|
+
* results.
|
|
121
|
+
*/
|
|
122
|
+
limit?: number;
|
|
123
|
+
}): Promise<{
|
|
124
|
+
results?: Task[];
|
|
125
|
+
_links?: MultiEntityLinks;
|
|
126
|
+
} & {
|
|
127
|
+
[key: string]: unknown;
|
|
128
|
+
}>;
|
|
129
|
+
/**
|
|
130
|
+
* Update a task by id.
|
|
131
|
+
*
|
|
132
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
133
|
+
* Permission to edit the containing page or blog post and view its corresponding
|
|
134
|
+
* space.
|
|
135
|
+
*
|
|
136
|
+
* @returns Returned if the requested task is updated.
|
|
137
|
+
* @path {PUT} /tasks/{id}
|
|
138
|
+
* @scopes-current write:task:confluence
|
|
139
|
+
*/
|
|
140
|
+
updateTask({ id, bodyFormat, requestBody, }: {
|
|
141
|
+
/**
|
|
142
|
+
* The ID of the task to be updated. If you don't know the task ID, use Get tasks
|
|
143
|
+
* and filter the results.
|
|
144
|
+
*/
|
|
145
|
+
id: number;
|
|
146
|
+
/**
|
|
147
|
+
* The content format types to be returned in the `body` field of the response. If
|
|
148
|
+
* available, the representation will be available under a response field of the
|
|
149
|
+
* same name under the `body` field.
|
|
150
|
+
*/
|
|
151
|
+
bodyFormat?: PrimaryBodyRepresentation;
|
|
152
|
+
requestBody: {
|
|
153
|
+
/** ID of the task. */
|
|
154
|
+
id?: string;
|
|
155
|
+
/** Local ID of the task. This ID is local to the corresponding page or blog post. */
|
|
156
|
+
localId?: string;
|
|
157
|
+
/** ID of the space the task is in. */
|
|
158
|
+
spaceId?: string;
|
|
159
|
+
/** ID of the page the task is in. */
|
|
160
|
+
pageId?: string;
|
|
161
|
+
/** ID of the blog post the task is in. */
|
|
162
|
+
blogPostId?: string;
|
|
163
|
+
/** Status of the task. */
|
|
164
|
+
status: "complete" | "incomplete";
|
|
165
|
+
/** Account ID of the user who created this task. */
|
|
166
|
+
createdBy?: string;
|
|
167
|
+
/** Account ID of the user to whom this task is assigned. */
|
|
168
|
+
assignedTo?: string;
|
|
169
|
+
/** Account ID of the user who completed this task. */
|
|
170
|
+
completedBy?: string;
|
|
171
|
+
/** Date and time when the task was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ". */
|
|
172
|
+
createdAt?: string;
|
|
173
|
+
/** Date and time when the task was updated. In format "YYYY-MM-DDTHH:mm:ss.sssZ". */
|
|
174
|
+
updatedAt?: string;
|
|
175
|
+
/** Date and time when the task is due. In format "YYYY-MM-DDTHH:mm:ss.sssZ". */
|
|
176
|
+
dueAt?: string;
|
|
177
|
+
/** Date and time when the task was completed. In format "YYYY-MM-DDTHH:mm:ss.sssZ". */
|
|
178
|
+
completedAt?: string;
|
|
179
|
+
} & {
|
|
180
|
+
[key: string]: unknown;
|
|
181
|
+
};
|
|
182
|
+
}): Promise<Task>;
|
|
183
|
+
static initialize(): void;
|
|
184
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskService = void 0;
|
|
4
|
+
// DO NOT EDIT!
|
|
5
|
+
// This file is generated by "api-typescript-generator".
|
|
6
|
+
// To update this file run "yarn build:openapi".
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
const commonHttpClient = require("../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
|
+
const common_1 = require("../models/common");
|
|
11
|
+
const task_1 = require("../models/task");
|
|
12
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
13
|
+
class TaskService extends CommonHttpService_1.CommonHttpService {
|
|
14
|
+
/**
|
|
15
|
+
* Returns a specific task.
|
|
16
|
+
*
|
|
17
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
18
|
+
* Permission to view the containing page or blog post and its corresponding space.
|
|
19
|
+
*
|
|
20
|
+
* @returns Returned if the requested task is returned.
|
|
21
|
+
* @path {GET} /tasks/{id}
|
|
22
|
+
* @scopes-current read:task:confluence
|
|
23
|
+
*/
|
|
24
|
+
getTaskById({ id, bodyFormat, }) {
|
|
25
|
+
return this.getClientInstance()
|
|
26
|
+
.request({
|
|
27
|
+
path: "/tasks/{id}",
|
|
28
|
+
method: "GET",
|
|
29
|
+
pathParams: {
|
|
30
|
+
id,
|
|
31
|
+
},
|
|
32
|
+
query: {
|
|
33
|
+
"body-format": bodyFormat,
|
|
34
|
+
},
|
|
35
|
+
})
|
|
36
|
+
.then(this.getClientInstance().responseHandler({
|
|
37
|
+
200: {
|
|
38
|
+
"application/json": "json",
|
|
39
|
+
},
|
|
40
|
+
}))
|
|
41
|
+
.then(commonHttpClient.castResponse())
|
|
42
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("TaskService.getTaskById.response"))
|
|
43
|
+
.then(commonHttpClient.getBody);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns all tasks. The number of results is limited by the `limit` parameter
|
|
47
|
+
* and additional results (if available)
|
|
48
|
+
* will be available through the `next` URL present in the `Link` response header.
|
|
49
|
+
*
|
|
50
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
51
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
52
|
+
* Only tasks that the user has permission to view will be returned.
|
|
53
|
+
*
|
|
54
|
+
* @returns Returned if the requested tasks are returned.
|
|
55
|
+
* @path {GET} /tasks
|
|
56
|
+
* @scopes-current read:task:confluence
|
|
57
|
+
*/
|
|
58
|
+
getTasks({ bodyFormat, includeBlankTasks, status, taskId, spaceId, pageId, blogpostId, createdBy, assignedTo, completedBy, createdAtFrom, createdAtTo, dueAtFrom, dueAtTo, completedAtFrom, completedAtTo, cursor, limit, }) {
|
|
59
|
+
return this.getClientInstance()
|
|
60
|
+
.request({
|
|
61
|
+
path: "/tasks",
|
|
62
|
+
method: "GET",
|
|
63
|
+
query: {
|
|
64
|
+
"body-format": bodyFormat,
|
|
65
|
+
"include-blank-tasks": includeBlankTasks,
|
|
66
|
+
status,
|
|
67
|
+
"task-id": taskId,
|
|
68
|
+
"space-id": spaceId,
|
|
69
|
+
"page-id": pageId,
|
|
70
|
+
"blogpost-id": blogpostId,
|
|
71
|
+
"created-by": createdBy,
|
|
72
|
+
"assigned-to": assignedTo,
|
|
73
|
+
"completed-by": completedBy,
|
|
74
|
+
"created-at-from": createdAtFrom,
|
|
75
|
+
"created-at-to": createdAtTo,
|
|
76
|
+
"due-at-from": dueAtFrom,
|
|
77
|
+
"due-at-to": dueAtTo,
|
|
78
|
+
"completed-at-from": completedAtFrom,
|
|
79
|
+
"completed-at-to": completedAtTo,
|
|
80
|
+
cursor,
|
|
81
|
+
limit,
|
|
82
|
+
},
|
|
83
|
+
})
|
|
84
|
+
.then(this.getClientInstance().responseHandler({
|
|
85
|
+
200: {
|
|
86
|
+
"application/json": "json",
|
|
87
|
+
},
|
|
88
|
+
}))
|
|
89
|
+
.then(commonHttpClient.castResponse())
|
|
90
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("TaskService.getTasks.response"))
|
|
91
|
+
.then(commonHttpClient.getBody);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Update a task by id.
|
|
95
|
+
*
|
|
96
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
97
|
+
* Permission to edit the containing page or blog post and view its corresponding
|
|
98
|
+
* space.
|
|
99
|
+
*
|
|
100
|
+
* @returns Returned if the requested task is updated.
|
|
101
|
+
* @path {PUT} /tasks/{id}
|
|
102
|
+
* @scopes-current write:task:confluence
|
|
103
|
+
*/
|
|
104
|
+
updateTask({ id, bodyFormat, requestBody, }) {
|
|
105
|
+
return this.getClientInstance()
|
|
106
|
+
.request({
|
|
107
|
+
path: "/tasks/{id}",
|
|
108
|
+
method: "PUT",
|
|
109
|
+
pathParams: {
|
|
110
|
+
id,
|
|
111
|
+
},
|
|
112
|
+
query: {
|
|
113
|
+
"body-format": bodyFormat,
|
|
114
|
+
},
|
|
115
|
+
headers: {
|
|
116
|
+
"Content-Type": "application/json",
|
|
117
|
+
},
|
|
118
|
+
body: requestBody,
|
|
119
|
+
})
|
|
120
|
+
.then(this.getClientInstance().responseHandler({
|
|
121
|
+
200: {
|
|
122
|
+
"application/json": "json",
|
|
123
|
+
},
|
|
124
|
+
}))
|
|
125
|
+
.then(commonHttpClient.castResponse())
|
|
126
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("TaskService.updateTask.response"))
|
|
127
|
+
.then(commonHttpClient.getBody);
|
|
128
|
+
}
|
|
129
|
+
static initialize() {
|
|
130
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TaskService.getTasks.response", zod_1.z
|
|
131
|
+
.object({
|
|
132
|
+
status: zod_1.z.literal(200),
|
|
133
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
134
|
+
body: zod_1.z
|
|
135
|
+
.object({
|
|
136
|
+
results: zod_1.z.array(validationSchemaStorage_1.validationSchemaStorage.lazy("Task")).optional(),
|
|
137
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
138
|
+
.lazy("MultiEntityLinks")
|
|
139
|
+
.optional(),
|
|
140
|
+
})
|
|
141
|
+
.catchall(zod_1.z.unknown()),
|
|
142
|
+
})
|
|
143
|
+
.describe("TaskService.getTasks.response"));
|
|
144
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TaskService.getTaskById.response", zod_1.z
|
|
145
|
+
.object({
|
|
146
|
+
status: zod_1.z.literal(200),
|
|
147
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
148
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("Task"),
|
|
149
|
+
})
|
|
150
|
+
.describe("TaskService.getTaskById.response"));
|
|
151
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("TaskService.updateTask.response", zod_1.z
|
|
152
|
+
.object({
|
|
153
|
+
status: zod_1.z.literal(200),
|
|
154
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
155
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("Task"),
|
|
156
|
+
})
|
|
157
|
+
.describe("TaskService.updateTask.response"));
|
|
158
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([
|
|
159
|
+
task_1.registerTaskValidationSchemas,
|
|
160
|
+
common_1.registerCommonValidationSchemas,
|
|
161
|
+
]);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.TaskService = TaskService;
|
|
165
|
+
//# sourceMappingURL=TaskService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/TaskService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAI0B;AAC1B,yCAA0E;AAC1E,wEAAqE;AACrE,MAAa,WAAY,SAAQ,qCAAiB;IAChD;;;;;;;;;OASG;IACH,WAAW,CAAC,EACV,EAAE,EACF,UAAU,GAaX;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,EAAE;aACH;YACD,KAAK,EAAE;gBACL,aAAa,EAAE,UAAU;aAC1B;SACF,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAAC,kCAAkC,CAAC,CACtE;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EACP,UAAU,EACV,iBAAiB,EACjB,MAAM,EACN,MAAM,EACN,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,aAAa,EACb,WAAW,EACX,SAAS,EACT,OAAO,EACP,eAAe,EACf,aAAa,EACb,MAAM,EACN,KAAK,GAmFN;QAQC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OA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,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,MAAM,CAAC;SAC3C,CAAC;aACD,QAAQ,CAAC,iCAAiC,CAAC,CAC/C,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oCAA6B;YAC7B,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AAzWD,kCAyWC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/CommonHttpService";
|
|
2
|
+
export declare class UserService extends CommonHttpService {
|
|
3
|
+
/**
|
|
4
|
+
* Returns the list of emails from the input list that do not have access to site.
|
|
5
|
+
*
|
|
6
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
7
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
8
|
+
*
|
|
9
|
+
* @returns Returns object with list of emails without access to site.
|
|
10
|
+
* @path {POST} /user/access/check-access-by-email
|
|
11
|
+
* @scopes-current read:configuration:confluence
|
|
12
|
+
*/
|
|
13
|
+
checkAccessByEmail({ requestBody, }: {
|
|
14
|
+
requestBody: {
|
|
15
|
+
/** List of emails to check access to site. */
|
|
16
|
+
emails: string[];
|
|
17
|
+
} & {
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
}): Promise<{
|
|
21
|
+
/** List of emails that do not have access to site. */
|
|
22
|
+
emailsWithoutAccess?: string[];
|
|
23
|
+
/** List of invalid emails provided in the request. */
|
|
24
|
+
invalidEmails?: string[];
|
|
25
|
+
} & {
|
|
26
|
+
[key: string]: unknown;
|
|
27
|
+
}>;
|
|
28
|
+
/**
|
|
29
|
+
* Invite a list of emails to the site.
|
|
30
|
+
*
|
|
31
|
+
* Ignores all invalid emails and no action is taken for the emails that already
|
|
32
|
+
* have access to the site.
|
|
33
|
+
*
|
|
34
|
+
* <b>NOTE:</b> This API is asynchronous and may take some time to complete.
|
|
35
|
+
*
|
|
36
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
37
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
38
|
+
*
|
|
39
|
+
* @path {POST} /user/access/invite-by-email
|
|
40
|
+
* @scopes-current read:configuration:confluence
|
|
41
|
+
*/
|
|
42
|
+
inviteByEmail({ requestBody, }: {
|
|
43
|
+
requestBody: {
|
|
44
|
+
/** List of emails to check access to site. */
|
|
45
|
+
emails: string[];
|
|
46
|
+
} & {
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
}): Promise<void>;
|
|
50
|
+
static initialize(): void;
|
|
51
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserService = void 0;
|
|
4
|
+
// DO NOT EDIT!
|
|
5
|
+
// This file is generated by "api-typescript-generator".
|
|
6
|
+
// To update this file run "yarn build:openapi".
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
const commonHttpClient = require("../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../core/CommonHttpService");
|
|
10
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
11
|
+
class UserService extends CommonHttpService_1.CommonHttpService {
|
|
12
|
+
/**
|
|
13
|
+
* Returns the list of emails from the input list that do not have access to site.
|
|
14
|
+
*
|
|
15
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
16
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
17
|
+
*
|
|
18
|
+
* @returns Returns object with list of emails without access to site.
|
|
19
|
+
* @path {POST} /user/access/check-access-by-email
|
|
20
|
+
* @scopes-current read:configuration:confluence
|
|
21
|
+
*/
|
|
22
|
+
checkAccessByEmail({ requestBody, }) {
|
|
23
|
+
return this.getClientInstance()
|
|
24
|
+
.request({
|
|
25
|
+
path: "/user/access/check-access-by-email",
|
|
26
|
+
method: "POST",
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/json",
|
|
29
|
+
},
|
|
30
|
+
body: requestBody,
|
|
31
|
+
})
|
|
32
|
+
.then(this.getClientInstance().responseHandler({
|
|
33
|
+
200: {
|
|
34
|
+
"application/json": "json",
|
|
35
|
+
},
|
|
36
|
+
}))
|
|
37
|
+
.then(commonHttpClient.castResponse())
|
|
38
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("UserService.checkAccessByEmail.response"))
|
|
39
|
+
.then(commonHttpClient.getBody);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Invite a list of emails to the site.
|
|
43
|
+
*
|
|
44
|
+
* Ignores all invalid emails and no action is taken for the emails that already
|
|
45
|
+
* have access to the site.
|
|
46
|
+
*
|
|
47
|
+
* <b>NOTE:</b> This API is asynchronous and may take some time to complete.
|
|
48
|
+
*
|
|
49
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
50
|
+
* Permission to access the Confluence site ('Can use' global permission).
|
|
51
|
+
*
|
|
52
|
+
* @path {POST} /user/access/invite-by-email
|
|
53
|
+
* @scopes-current read:configuration:confluence
|
|
54
|
+
*/
|
|
55
|
+
inviteByEmail({ requestBody, }) {
|
|
56
|
+
return this.getClientInstance()
|
|
57
|
+
.request({
|
|
58
|
+
path: "/user/access/invite-by-email",
|
|
59
|
+
method: "POST",
|
|
60
|
+
headers: {
|
|
61
|
+
"Content-Type": "application/json",
|
|
62
|
+
},
|
|
63
|
+
body: requestBody,
|
|
64
|
+
})
|
|
65
|
+
.then(commonHttpClient.discardResult);
|
|
66
|
+
}
|
|
67
|
+
static initialize() {
|
|
68
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UserService.checkAccessByEmail.response", zod_1.z
|
|
69
|
+
.object({
|
|
70
|
+
status: zod_1.z.literal(200),
|
|
71
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
72
|
+
body: zod_1.z
|
|
73
|
+
.object({
|
|
74
|
+
emailsWithoutAccess: zod_1.z.array(zod_1.z.string()).optional(),
|
|
75
|
+
invalidEmails: zod_1.z.array(zod_1.z.string()).optional(),
|
|
76
|
+
})
|
|
77
|
+
.catchall(zod_1.z.unknown()),
|
|
78
|
+
})
|
|
79
|
+
.describe("UserService.checkAccessByEmail.response"));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.UserService = UserService;
|
|
83
|
+
//# sourceMappingURL=UserService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/UserService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,wEAAqE;AACrE,MAAa,WAAY,SAAQ,qCAAiB;IAChD;;;;;;;;;OASG;IACH,kBAAkB,CAAC,EACjB,WAAW,GAQZ;QAUC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,oCAAoC;YAC1C,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,WAAW;SAClB,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EASzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,yCAAyC,CAC1C,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;;OAaG;IACH,aAAa,CAAC,EACZ,WAAW,GAQZ;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,8BAA8B;YACpC,M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