@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,645 @@
|
|
|
1
|
+
import { type ZodTypeAny } from "zod";
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../core/CommonValidationSchemaStorage";
|
|
3
|
+
import { type ContentChildType, type ContentHistory, type ContentLookAndFeel, type ContentMetadata, type Embeddable, type GroupArray, type HeaderLookAndFeel, type HorizontalHeaderLookAndFeel, type MenusLookAndFeel, type SpaceDescriptionV1, type SpacePermissionV1, type SuperBatchWebResources, type UsersUserKeys } from "./content";
|
|
4
|
+
export interface AsyncId extends Record<string, unknown> {
|
|
5
|
+
asyncId: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Container for content. This can be either a space (containing a page or
|
|
9
|
+
* blogpost)
|
|
10
|
+
* or a page/blog post (containing an attachment or comment)
|
|
11
|
+
*/
|
|
12
|
+
export interface Container {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
/** Base object for all content types. */
|
|
16
|
+
export interface Content extends Record<string, unknown> {
|
|
17
|
+
id?: string;
|
|
18
|
+
/** Can be "page", "blogpost", "attachment" or "content" */
|
|
19
|
+
type: string;
|
|
20
|
+
status: string;
|
|
21
|
+
title?: string;
|
|
22
|
+
space?: Space | null;
|
|
23
|
+
history?: ContentHistory | null;
|
|
24
|
+
version?: VersionV1 | null;
|
|
25
|
+
ancestors?: (Content | null)[] | null;
|
|
26
|
+
operations?: OperationCheckResult[];
|
|
27
|
+
children?: ContentChildren;
|
|
28
|
+
/**
|
|
29
|
+
* Shows whether a piece of content has attachments, comments, or child
|
|
30
|
+
* pages/whiteboards.
|
|
31
|
+
* Note, this doesn't actually contain the child objects.
|
|
32
|
+
*/
|
|
33
|
+
childTypes?: ContentChildType;
|
|
34
|
+
descendants?: ContentChildren;
|
|
35
|
+
/**
|
|
36
|
+
* Container for content. This can be either a space (containing a page or
|
|
37
|
+
* blogpost)
|
|
38
|
+
* or a page/blog post (containing an attachment or comment)
|
|
39
|
+
*/
|
|
40
|
+
container?: Container | null;
|
|
41
|
+
body?: {
|
|
42
|
+
view?: ContentBody;
|
|
43
|
+
export_view?: ContentBody;
|
|
44
|
+
styled_view?: ContentBody;
|
|
45
|
+
storage?: ContentBody;
|
|
46
|
+
wiki?: ContentBody;
|
|
47
|
+
editor?: ContentBody;
|
|
48
|
+
editor2?: ContentBody;
|
|
49
|
+
anonymous_export_view?: ContentBody;
|
|
50
|
+
atlas_doc_format?: ContentBody;
|
|
51
|
+
dynamic?: ContentBody;
|
|
52
|
+
raw?: ContentBody;
|
|
53
|
+
_expandable?: {
|
|
54
|
+
editor?: string;
|
|
55
|
+
view?: string;
|
|
56
|
+
export_view?: string;
|
|
57
|
+
styled_view?: string;
|
|
58
|
+
storage?: string;
|
|
59
|
+
editor2?: string;
|
|
60
|
+
anonymous_export_view?: string;
|
|
61
|
+
atlas_doc_format?: string;
|
|
62
|
+
wiki?: string;
|
|
63
|
+
dynamic?: string;
|
|
64
|
+
raw?: string;
|
|
65
|
+
} & {
|
|
66
|
+
[key: string]: unknown;
|
|
67
|
+
};
|
|
68
|
+
} & {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
};
|
|
71
|
+
restrictions?: {
|
|
72
|
+
read?: ContentRestriction;
|
|
73
|
+
update?: ContentRestriction;
|
|
74
|
+
_expandable?: {
|
|
75
|
+
read?: string;
|
|
76
|
+
update?: string;
|
|
77
|
+
} & {
|
|
78
|
+
[key: string]: unknown;
|
|
79
|
+
};
|
|
80
|
+
_links?: GenericLinks;
|
|
81
|
+
} & {
|
|
82
|
+
[key: string]: unknown;
|
|
83
|
+
};
|
|
84
|
+
/** Metadata object for page, blogpost, comment content */
|
|
85
|
+
metadata?: ContentMetadata;
|
|
86
|
+
macroRenderedOutput?: {
|
|
87
|
+
[key: string]: {
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
extensions?: {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
_expandable?: {
|
|
95
|
+
childTypes?: string;
|
|
96
|
+
container?: string;
|
|
97
|
+
metadata?: string;
|
|
98
|
+
operations?: string;
|
|
99
|
+
children?: string;
|
|
100
|
+
restrictions?: string;
|
|
101
|
+
history?: string;
|
|
102
|
+
ancestors?: string;
|
|
103
|
+
body?: string;
|
|
104
|
+
version?: string;
|
|
105
|
+
descendants?: string;
|
|
106
|
+
space?: string;
|
|
107
|
+
extensions?: string;
|
|
108
|
+
schedulePublishDate?: string;
|
|
109
|
+
schedulePublishInfo?: string;
|
|
110
|
+
macroRenderedOutput?: string;
|
|
111
|
+
} & {
|
|
112
|
+
[key: string]: unknown;
|
|
113
|
+
};
|
|
114
|
+
_links?: GenericLinks;
|
|
115
|
+
}
|
|
116
|
+
export interface ContentArray extends Record<string, unknown> {
|
|
117
|
+
results: (Content | null)[];
|
|
118
|
+
start?: number;
|
|
119
|
+
limit?: number;
|
|
120
|
+
size: number;
|
|
121
|
+
_links: GenericLinks;
|
|
122
|
+
}
|
|
123
|
+
export interface ContentBody extends Record<string, unknown> {
|
|
124
|
+
value: string;
|
|
125
|
+
representation: "view" | "export_view" | "styled_view" | "storage" | "editor" | "editor2" | "anonymous_export_view" | "wiki" | "atlas_doc_format" | "raw";
|
|
126
|
+
embeddedContent?: EmbeddedContent[];
|
|
127
|
+
webresource?: WebResourceDependencies;
|
|
128
|
+
mediaToken?: {
|
|
129
|
+
collectionIds?: string[];
|
|
130
|
+
contentId?: string;
|
|
131
|
+
expiryDateTime?: string;
|
|
132
|
+
fileIds?: string[];
|
|
133
|
+
token?: string;
|
|
134
|
+
} & {
|
|
135
|
+
[key: string]: unknown;
|
|
136
|
+
};
|
|
137
|
+
_expandable?: {
|
|
138
|
+
content?: string;
|
|
139
|
+
embeddedContent?: string;
|
|
140
|
+
webresource?: string;
|
|
141
|
+
mediaToken?: string;
|
|
142
|
+
} & {
|
|
143
|
+
[key: string]: unknown;
|
|
144
|
+
};
|
|
145
|
+
_links?: GenericLinks;
|
|
146
|
+
}
|
|
147
|
+
/** This object is used when creating or updating content. */
|
|
148
|
+
export interface ContentBodyCreate extends Record<string, unknown> {
|
|
149
|
+
/** The body of the content in the relevant format. */
|
|
150
|
+
value: string;
|
|
151
|
+
/**
|
|
152
|
+
* The content format type. Set the value of this property to
|
|
153
|
+
* the name of the format being used, e.g. 'storage'.
|
|
154
|
+
*/
|
|
155
|
+
representation: "view" | "export_view" | "styled_view" | "storage" | "editor" | "editor2" | "anonymous_export_view" | "wiki" | "atlas_doc_format" | "plain" | "raw";
|
|
156
|
+
}
|
|
157
|
+
export interface ContentChildren extends Record<string, unknown> {
|
|
158
|
+
attachment?: ContentArray;
|
|
159
|
+
comment?: ContentArray;
|
|
160
|
+
page?: ContentArray;
|
|
161
|
+
whiteboard?: ContentArray;
|
|
162
|
+
database?: ContentArray;
|
|
163
|
+
embed?: ContentArray;
|
|
164
|
+
folder?: ContentArray;
|
|
165
|
+
_expandable?: {
|
|
166
|
+
attachment?: string;
|
|
167
|
+
comment?: string;
|
|
168
|
+
page?: string;
|
|
169
|
+
whiteboard?: string;
|
|
170
|
+
database?: string;
|
|
171
|
+
embed?: string;
|
|
172
|
+
folder?: string;
|
|
173
|
+
} & {
|
|
174
|
+
[key: string]: unknown;
|
|
175
|
+
};
|
|
176
|
+
_links?: GenericLinks;
|
|
177
|
+
}
|
|
178
|
+
export type ContentId = string;
|
|
179
|
+
export interface ContentRestriction extends Record<string, unknown> {
|
|
180
|
+
operation: "administer" | "copy" | "create" | "delete" | "export" | "move" | "purge" | "purge_version" | "read" | "restore" | "update" | "use";
|
|
181
|
+
restrictions?: {
|
|
182
|
+
user?: UserArray;
|
|
183
|
+
group?: GroupArray;
|
|
184
|
+
_expandable?: {
|
|
185
|
+
user?: string;
|
|
186
|
+
group?: string;
|
|
187
|
+
} & {
|
|
188
|
+
[key: string]: unknown;
|
|
189
|
+
};
|
|
190
|
+
} & {
|
|
191
|
+
[key: string]: unknown;
|
|
192
|
+
};
|
|
193
|
+
/** Base object for all content types. */
|
|
194
|
+
content?: Content | null;
|
|
195
|
+
_expandable: {
|
|
196
|
+
restrictions?: string;
|
|
197
|
+
content?: string;
|
|
198
|
+
} & {
|
|
199
|
+
[key: string]: unknown;
|
|
200
|
+
};
|
|
201
|
+
_links: GenericLinks;
|
|
202
|
+
}
|
|
203
|
+
export interface EmbeddedContent extends Record<string, unknown> {
|
|
204
|
+
entityId?: number;
|
|
205
|
+
entityType?: string;
|
|
206
|
+
entity?: Embeddable;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* The account ID of the user, which uniquely identifies the user across all
|
|
210
|
+
* Atlassian products.
|
|
211
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
212
|
+
*/
|
|
213
|
+
export type GenericAccountId = string;
|
|
214
|
+
export interface GenericLinks {
|
|
215
|
+
[key: string]: {
|
|
216
|
+
[key: string]: unknown;
|
|
217
|
+
} | string;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* This property is no longer available and will be removed from the documentation
|
|
221
|
+
* soon.
|
|
222
|
+
* Use `accountId` instead.
|
|
223
|
+
* See the [deprecation
|
|
224
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
225
|
+
* for details.
|
|
226
|
+
*/
|
|
227
|
+
export type GenericUserKey = string;
|
|
228
|
+
/**
|
|
229
|
+
* This property is no longer available and will be removed from the documentation
|
|
230
|
+
* soon.
|
|
231
|
+
* Use `accountId` instead.
|
|
232
|
+
* See the [deprecation
|
|
233
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
234
|
+
* for details.
|
|
235
|
+
*/
|
|
236
|
+
export type GenericUserName = string;
|
|
237
|
+
export interface Group extends Record<string, unknown> {
|
|
238
|
+
type: "group";
|
|
239
|
+
name: string;
|
|
240
|
+
id: string;
|
|
241
|
+
_links?: GenericLinks;
|
|
242
|
+
}
|
|
243
|
+
/** Same as GroupArray but with `_links` property. */
|
|
244
|
+
export interface GroupArrayWithLinks extends Record<string, unknown> {
|
|
245
|
+
results: Group[];
|
|
246
|
+
start: number;
|
|
247
|
+
limit: number;
|
|
248
|
+
size: number;
|
|
249
|
+
/**
|
|
250
|
+
* This property will return total count of the objects before pagination is
|
|
251
|
+
* applied.
|
|
252
|
+
* This value is returned if `shouldReturnTotalSize` is set to `true`.
|
|
253
|
+
*/
|
|
254
|
+
totalSize?: number;
|
|
255
|
+
_links: GenericLinks;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* This object represents an icon. If used as a profilePicture, this may be
|
|
259
|
+
* returned as null, depending on the user's privacy setting.
|
|
260
|
+
*/
|
|
261
|
+
export interface Icon extends Record<string, unknown> {
|
|
262
|
+
path: string;
|
|
263
|
+
width: number;
|
|
264
|
+
height: number;
|
|
265
|
+
isDefault: boolean;
|
|
266
|
+
}
|
|
267
|
+
export interface LabelArray extends Record<string, unknown> {
|
|
268
|
+
results: LabelV1[];
|
|
269
|
+
start?: number;
|
|
270
|
+
limit?: number;
|
|
271
|
+
size: number;
|
|
272
|
+
_links?: GenericLinks;
|
|
273
|
+
}
|
|
274
|
+
export interface LabelCreate extends Record<string, unknown> {
|
|
275
|
+
/** The prefix for the label. `global`, `my` `team`, etc. */
|
|
276
|
+
prefix: string;
|
|
277
|
+
/** The name of the label, which will be shown in the UI. */
|
|
278
|
+
name: string;
|
|
279
|
+
}
|
|
280
|
+
export interface LabelV1 extends Record<string, unknown> {
|
|
281
|
+
prefix: string;
|
|
282
|
+
name: string;
|
|
283
|
+
id: string;
|
|
284
|
+
label: string;
|
|
285
|
+
}
|
|
286
|
+
export interface LongTask extends Record<string, unknown> {
|
|
287
|
+
/** the ARI for the long task, based on its ID */
|
|
288
|
+
ari?: string;
|
|
289
|
+
/** a unique identifier for the long task */
|
|
290
|
+
id: string;
|
|
291
|
+
links: {
|
|
292
|
+
/** The URL to retrive status of long task. */
|
|
293
|
+
status?: string;
|
|
294
|
+
} & {
|
|
295
|
+
[key: string]: unknown;
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
export interface LookAndFeel extends Record<string, unknown> {
|
|
299
|
+
headings: {
|
|
300
|
+
color: string;
|
|
301
|
+
} & {
|
|
302
|
+
[key: string]: unknown;
|
|
303
|
+
};
|
|
304
|
+
links: {
|
|
305
|
+
color: string;
|
|
306
|
+
} & {
|
|
307
|
+
[key: string]: unknown;
|
|
308
|
+
};
|
|
309
|
+
menus: MenusLookAndFeel;
|
|
310
|
+
header: HeaderLookAndFeel;
|
|
311
|
+
horizontalHeader?: HorizontalHeaderLookAndFeel;
|
|
312
|
+
content: ContentLookAndFeel;
|
|
313
|
+
bordersAndDividers: {
|
|
314
|
+
color: string;
|
|
315
|
+
} & {
|
|
316
|
+
[key: string]: unknown;
|
|
317
|
+
};
|
|
318
|
+
spaceReference?: {
|
|
319
|
+
[key: string]: unknown;
|
|
320
|
+
} | null;
|
|
321
|
+
}
|
|
322
|
+
export interface Message extends Record<string, unknown> {
|
|
323
|
+
translation?: string;
|
|
324
|
+
args: (string | {
|
|
325
|
+
[key: string]: unknown;
|
|
326
|
+
})[];
|
|
327
|
+
}
|
|
328
|
+
/** An operation and the target entity that it applies to, e.g. create page. */
|
|
329
|
+
export interface OperationCheckResult extends Record<string, unknown> {
|
|
330
|
+
/** The operation itself. */
|
|
331
|
+
operation: "administer" | "archive" | "clear_permissions" | "copy" | "create" | "create_space" | "delete" | "export" | "move" | "purge" | "purge_version" | "read" | "restore" | "restrict_content" | "update" | "use";
|
|
332
|
+
/**
|
|
333
|
+
* The space or content type that the operation applies to. Could be one of- -
|
|
334
|
+
* application - page - blogpost - comment - attachment - space
|
|
335
|
+
*/
|
|
336
|
+
targetType: string;
|
|
337
|
+
}
|
|
338
|
+
export interface Space extends Record<string, unknown> {
|
|
339
|
+
id?: number;
|
|
340
|
+
key: string;
|
|
341
|
+
name: string;
|
|
342
|
+
/**
|
|
343
|
+
* This object represents an icon. If used as a profilePicture, this may be
|
|
344
|
+
* returned as null, depending on the user's privacy setting.
|
|
345
|
+
*/
|
|
346
|
+
icon?: Icon | null;
|
|
347
|
+
description?: {
|
|
348
|
+
plain?: SpaceDescriptionV1;
|
|
349
|
+
view?: SpaceDescriptionV1;
|
|
350
|
+
_expandable?: {
|
|
351
|
+
view?: string;
|
|
352
|
+
plain?: string;
|
|
353
|
+
} & {
|
|
354
|
+
[key: string]: unknown;
|
|
355
|
+
};
|
|
356
|
+
} & {
|
|
357
|
+
[key: string]: unknown;
|
|
358
|
+
};
|
|
359
|
+
/** Base object for all content types. */
|
|
360
|
+
homepage?: Content | null;
|
|
361
|
+
type: string;
|
|
362
|
+
metadata?: {
|
|
363
|
+
labels?: LabelArray;
|
|
364
|
+
_expandable?: {
|
|
365
|
+
[key: string]: unknown;
|
|
366
|
+
};
|
|
367
|
+
} & {
|
|
368
|
+
[key: string]: unknown;
|
|
369
|
+
};
|
|
370
|
+
operations?: OperationCheckResult[];
|
|
371
|
+
permissions?: SpacePermissionV1[];
|
|
372
|
+
status: string;
|
|
373
|
+
settings?: SpaceSettings | null;
|
|
374
|
+
theme?: Theme;
|
|
375
|
+
lookAndFeel?: LookAndFeel;
|
|
376
|
+
history?: {
|
|
377
|
+
createdDate: string;
|
|
378
|
+
createdBy?: User | null;
|
|
379
|
+
} & {
|
|
380
|
+
[key: string]: unknown;
|
|
381
|
+
};
|
|
382
|
+
_expandable: {
|
|
383
|
+
settings?: string;
|
|
384
|
+
metadata?: string;
|
|
385
|
+
operations?: string;
|
|
386
|
+
lookAndFeel?: string;
|
|
387
|
+
permissions?: string;
|
|
388
|
+
icon?: string;
|
|
389
|
+
description?: string;
|
|
390
|
+
theme?: string;
|
|
391
|
+
history?: string;
|
|
392
|
+
homepage?: string;
|
|
393
|
+
identifiers?: string;
|
|
394
|
+
} & {
|
|
395
|
+
[key: string]: unknown;
|
|
396
|
+
};
|
|
397
|
+
_links: GenericLinks;
|
|
398
|
+
}
|
|
399
|
+
export interface SpaceSettings extends Record<string, unknown> {
|
|
400
|
+
/**
|
|
401
|
+
* Defines whether an override for the space home should be used. This is
|
|
402
|
+
* used in conjunction with a space theme provided by an app. For
|
|
403
|
+
* example, if this property is set to true, a theme can display a page
|
|
404
|
+
* other than the space homepage when users visit the root URL for a
|
|
405
|
+
* space. This property allows apps to provide content-only theming
|
|
406
|
+
* without overriding the space home.
|
|
407
|
+
*/
|
|
408
|
+
routeOverrideEnabled: boolean;
|
|
409
|
+
editor?: {
|
|
410
|
+
page: string;
|
|
411
|
+
blogpost: string;
|
|
412
|
+
default: string;
|
|
413
|
+
} & {
|
|
414
|
+
[key: string]: unknown;
|
|
415
|
+
};
|
|
416
|
+
spaceKey?: string;
|
|
417
|
+
_links: GenericLinks;
|
|
418
|
+
}
|
|
419
|
+
export interface Theme extends Record<string, unknown> {
|
|
420
|
+
themeKey: string;
|
|
421
|
+
name?: string;
|
|
422
|
+
description?: string;
|
|
423
|
+
/**
|
|
424
|
+
* This object represents an icon. If used as a profilePicture, this may be
|
|
425
|
+
* returned as null, depending on the user's privacy setting.
|
|
426
|
+
*/
|
|
427
|
+
icon?: Icon | null;
|
|
428
|
+
_links?: GenericLinks;
|
|
429
|
+
}
|
|
430
|
+
export interface User extends Record<string, unknown> {
|
|
431
|
+
type: "known" | "unknown" | "anonymous" | "user";
|
|
432
|
+
/**
|
|
433
|
+
* This property is no longer available and will be removed from the documentation
|
|
434
|
+
* soon.
|
|
435
|
+
* Use `accountId` instead.
|
|
436
|
+
* See the [deprecation
|
|
437
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
438
|
+
* for details.
|
|
439
|
+
*/
|
|
440
|
+
username?: GenericUserName | null;
|
|
441
|
+
/**
|
|
442
|
+
* This property is no longer available and will be removed from the documentation
|
|
443
|
+
* soon.
|
|
444
|
+
* Use `accountId` instead.
|
|
445
|
+
* See the [deprecation
|
|
446
|
+
* notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
447
|
+
* for details.
|
|
448
|
+
*/
|
|
449
|
+
userKey?: GenericUserKey | null;
|
|
450
|
+
/**
|
|
451
|
+
* The account ID of the user, which uniquely identifies the user across all
|
|
452
|
+
* Atlassian products.
|
|
453
|
+
* For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.
|
|
454
|
+
*/
|
|
455
|
+
accountId?: GenericAccountId | null;
|
|
456
|
+
/**
|
|
457
|
+
* The account type of the user, may return empty string if unavailable. App is if
|
|
458
|
+
* the user is a bot user created on behalf of an Atlassian app.
|
|
459
|
+
*/
|
|
460
|
+
accountType?: "atlassian" | "app" | "";
|
|
461
|
+
/**
|
|
462
|
+
* The email address of the user. Depending on the user's privacy setting, this
|
|
463
|
+
* may return an empty string.
|
|
464
|
+
*/
|
|
465
|
+
email?: string | null;
|
|
466
|
+
/** The public name or nickname of the user. Will always contain a value. */
|
|
467
|
+
publicName?: string;
|
|
468
|
+
/**
|
|
469
|
+
* This object represents an icon. If used as a profilePicture, this may be
|
|
470
|
+
* returned as null, depending on the user's privacy setting.
|
|
471
|
+
*/
|
|
472
|
+
profilePicture?: Icon | null;
|
|
473
|
+
/**
|
|
474
|
+
* The displays name of the user. Depending on the user's privacy setting, this
|
|
475
|
+
* may be the same as publicName.
|
|
476
|
+
*/
|
|
477
|
+
displayName?: string | null;
|
|
478
|
+
/**
|
|
479
|
+
* This displays user time zone. Depending on the user's privacy setting, this may
|
|
480
|
+
* return null.
|
|
481
|
+
*/
|
|
482
|
+
timeZone?: string | null;
|
|
483
|
+
/** Whether the user is an external collaborator user */
|
|
484
|
+
isExternalCollaborator?: boolean;
|
|
485
|
+
/** Whether the user is an external collaborator user */
|
|
486
|
+
externalCollaborator?: boolean;
|
|
487
|
+
operations?: OperationCheckResult[] | null;
|
|
488
|
+
details?: UserDetails;
|
|
489
|
+
personalSpace?: Space | null;
|
|
490
|
+
_expandable?: {
|
|
491
|
+
operations?: string;
|
|
492
|
+
details?: string;
|
|
493
|
+
personalSpace?: string;
|
|
494
|
+
} & {
|
|
495
|
+
[key: string]: unknown;
|
|
496
|
+
};
|
|
497
|
+
_links?: GenericLinks;
|
|
498
|
+
}
|
|
499
|
+
export interface UserArray extends Record<string, unknown> {
|
|
500
|
+
results: (User | null)[];
|
|
501
|
+
start?: number;
|
|
502
|
+
limit?: number;
|
|
503
|
+
size?: number;
|
|
504
|
+
/**
|
|
505
|
+
* This property will return total count of the objects before pagination is
|
|
506
|
+
* applied.
|
|
507
|
+
* This value is returned if `shouldReturnTotalSize` is set to `true`.
|
|
508
|
+
*/
|
|
509
|
+
totalSize?: number;
|
|
510
|
+
_links?: GenericLinks;
|
|
511
|
+
}
|
|
512
|
+
export interface UserDetails extends Record<string, unknown> {
|
|
513
|
+
business?: {
|
|
514
|
+
/**
|
|
515
|
+
* This property has been deprecated due to privacy changes. There is no
|
|
516
|
+
* replacement. See the
|
|
517
|
+
* [migration
|
|
518
|
+
* guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
519
|
+
* for details.
|
|
520
|
+
*/
|
|
521
|
+
position?: string;
|
|
522
|
+
/**
|
|
523
|
+
* This property has been deprecated due to privacy changes. There is no
|
|
524
|
+
* replacement. See the
|
|
525
|
+
* [migration
|
|
526
|
+
* guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
527
|
+
* for details.
|
|
528
|
+
*/
|
|
529
|
+
department?: string;
|
|
530
|
+
/**
|
|
531
|
+
* This property has been deprecated due to privacy changes. There is no
|
|
532
|
+
* replacement. See the
|
|
533
|
+
* [migration
|
|
534
|
+
* guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
535
|
+
* for details.
|
|
536
|
+
*/
|
|
537
|
+
location?: string;
|
|
538
|
+
} & {
|
|
539
|
+
[key: string]: unknown;
|
|
540
|
+
};
|
|
541
|
+
personal?: {
|
|
542
|
+
/**
|
|
543
|
+
* This property has been deprecated due to privacy changes. There is no
|
|
544
|
+
* replacement. See the
|
|
545
|
+
* [migration
|
|
546
|
+
* guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
547
|
+
* for details.
|
|
548
|
+
*/
|
|
549
|
+
phone?: string;
|
|
550
|
+
/**
|
|
551
|
+
* This property has been deprecated due to privacy changes. There is no
|
|
552
|
+
* replacement. See the
|
|
553
|
+
* [migration
|
|
554
|
+
* guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
555
|
+
* for details.
|
|
556
|
+
*/
|
|
557
|
+
im?: string;
|
|
558
|
+
/**
|
|
559
|
+
* This property has been deprecated due to privacy changes. There is no
|
|
560
|
+
* replacement. See the
|
|
561
|
+
* [migration
|
|
562
|
+
* guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
563
|
+
* for details.
|
|
564
|
+
*/
|
|
565
|
+
website?: string;
|
|
566
|
+
/**
|
|
567
|
+
* This property has been deprecated due to privacy changes. Use the `User.email`
|
|
568
|
+
* property instead. See the
|
|
569
|
+
* [migration
|
|
570
|
+
* guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
|
|
571
|
+
* for details.
|
|
572
|
+
*/
|
|
573
|
+
email?: string;
|
|
574
|
+
} & {
|
|
575
|
+
[key: string]: unknown;
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
export interface VersionV1 extends Record<string, unknown> {
|
|
579
|
+
by?: User | null;
|
|
580
|
+
when: string | null;
|
|
581
|
+
friendlyWhen?: string | null;
|
|
582
|
+
message?: string | null;
|
|
583
|
+
/** Set this to the current version number incremented by one */
|
|
584
|
+
number: number;
|
|
585
|
+
/**
|
|
586
|
+
* If `minorEdit` is set to 'true', no notification email or activity
|
|
587
|
+
* stream will be generated for the change.
|
|
588
|
+
*/
|
|
589
|
+
minorEdit: boolean;
|
|
590
|
+
/** Base object for all content types. */
|
|
591
|
+
content?: Content | null;
|
|
592
|
+
collaborators?: UsersUserKeys | null;
|
|
593
|
+
_expandable?: {
|
|
594
|
+
content?: string;
|
|
595
|
+
collaborators?: string;
|
|
596
|
+
} & {
|
|
597
|
+
[key: string]: unknown;
|
|
598
|
+
};
|
|
599
|
+
_links?: GenericLinks;
|
|
600
|
+
/** True if content type is modifed in this version (e.g. page to blog) */
|
|
601
|
+
contentTypeModified?: boolean;
|
|
602
|
+
/** The revision id provided by confluence to be used as a revision in Synchrony */
|
|
603
|
+
confRev?: string | null;
|
|
604
|
+
/** The revision id provided by Synchrony */
|
|
605
|
+
syncRev?: string | null;
|
|
606
|
+
/** Source of the synchrony revision */
|
|
607
|
+
syncRevSource?: string | null;
|
|
608
|
+
}
|
|
609
|
+
export interface WebResourceDependencies extends Record<string, unknown> {
|
|
610
|
+
_expandable?: {
|
|
611
|
+
uris?: string | {
|
|
612
|
+
[key: string]: unknown;
|
|
613
|
+
};
|
|
614
|
+
} & {
|
|
615
|
+
[key: string]: unknown;
|
|
616
|
+
};
|
|
617
|
+
keys?: string[];
|
|
618
|
+
contexts?: string[];
|
|
619
|
+
uris?: {
|
|
620
|
+
all?: string[] | string;
|
|
621
|
+
css?: string[] | string;
|
|
622
|
+
js?: string[] | string;
|
|
623
|
+
_expandable?: {
|
|
624
|
+
css?: string[] | string;
|
|
625
|
+
js?: string[] | string;
|
|
626
|
+
} & {
|
|
627
|
+
[key: string]: unknown;
|
|
628
|
+
};
|
|
629
|
+
} & {
|
|
630
|
+
[key: string]: unknown;
|
|
631
|
+
};
|
|
632
|
+
tags?: {
|
|
633
|
+
all?: string;
|
|
634
|
+
css?: string;
|
|
635
|
+
data?: string;
|
|
636
|
+
js?: string;
|
|
637
|
+
_expandable?: {
|
|
638
|
+
[key: string]: unknown;
|
|
639
|
+
};
|
|
640
|
+
} & {
|
|
641
|
+
[key: string]: unknown;
|
|
642
|
+
};
|
|
643
|
+
superbatch?: SuperBatchWebResources;
|
|
644
|
+
}
|
|
645
|
+
export declare function registerCommonValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
|