@atlassian-dc-mcp/confluence 0.1.3 → 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 +19 -0
- package/build/confluence-client/core/ApiError.d.ts +11 -0
- package/build/confluence-client/core/ApiError.d.ts.map +1 -0
- package/build/confluence-client/core/ApiError.js +17 -0
- package/build/confluence-client/core/ApiError.js.map +1 -0
- package/build/confluence-client/core/ApiRequestOptions.d.ts +14 -0
- package/build/confluence-client/core/ApiRequestOptions.d.ts.map +1 -0
- package/build/confluence-client/core/ApiRequestOptions.js +2 -0
- package/build/confluence-client/core/ApiRequestOptions.js.map +1 -0
- package/build/confluence-client/core/ApiResult.d.ts +8 -0
- package/build/confluence-client/core/ApiResult.d.ts.map +1 -0
- package/build/confluence-client/core/ApiResult.js +2 -0
- package/build/confluence-client/core/ApiResult.js.map +1 -0
- package/build/confluence-client/core/CancelablePromise.d.ts +21 -0
- package/build/confluence-client/core/CancelablePromise.d.ts.map +1 -0
- package/build/confluence-client/core/CancelablePromise.js +100 -0
- package/build/confluence-client/core/CancelablePromise.js.map +1 -0
- package/build/confluence-client/core/OpenAPI.d.ts +17 -0
- package/build/confluence-client/core/OpenAPI.d.ts.map +1 -0
- package/build/confluence-client/core/OpenAPI.js +12 -0
- package/build/confluence-client/core/OpenAPI.js.map +1 -0
- package/build/confluence-client/core/request.d.ts +31 -0
- package/build/confluence-client/core/request.d.ts.map +1 -0
- package/build/confluence-client/core/request.js +273 -0
- package/build/confluence-client/core/request.js.map +1 -0
- package/build/confluence-client/index.d.ts +165 -0
- package/build/confluence-client/index.d.ts.map +1 -0
- package/build/confluence-client/index.js +47 -0
- package/build/confluence-client/index.js.map +1 -0
- package/build/confluence-client/models/Anonymous.d.ts +2 -0
- package/build/confluence-client/models/Anonymous.d.ts.map +1 -0
- package/build/confluence-client/models/Anonymous.js +2 -0
- package/build/confluence-client/models/Anonymous.js.map +1 -0
- package/build/confluence-client/models/ColorSchemeModel.d.ts +2 -0
- package/build/confluence-client/models/ColorSchemeModel.d.ts.map +1 -0
- package/build/confluence-client/models/ColorSchemeModel.js +2 -0
- package/build/confluence-client/models/ColorSchemeModel.js.map +1 -0
- package/build/confluence-client/models/ColorSchemeThemeBasedModel.d.ts +2 -0
- package/build/confluence-client/models/ColorSchemeThemeBasedModel.d.ts.map +1 -0
- package/build/confluence-client/models/ColorSchemeThemeBasedModel.js +2 -0
- package/build/confluence-client/models/ColorSchemeThemeBasedModel.js.map +1 -0
- package/build/confluence-client/models/Container.d.ts +2 -0
- package/build/confluence-client/models/Container.d.ts.map +1 -0
- package/build/confluence-client/models/Container.js +2 -0
- package/build/confluence-client/models/Container.js.map +1 -0
- package/build/confluence-client/models/ContainerSummary.d.ts +2 -0
- package/build/confluence-client/models/ContainerSummary.d.ts.map +1 -0
- package/build/confluence-client/models/ContainerSummary.js +2 -0
- package/build/confluence-client/models/ContainerSummary.js.map +1 -0
- package/build/confluence-client/models/Content.d.ts +2 -0
- package/build/confluence-client/models/Content.d.ts.map +1 -0
- package/build/confluence-client/models/Content.js +2 -0
- package/build/confluence-client/models/Content.js.map +1 -0
- package/build/confluence-client/models/ContentBody.d.ts +2 -0
- package/build/confluence-client/models/ContentBody.d.ts.map +1 -0
- package/build/confluence-client/models/ContentBody.js +2 -0
- package/build/confluence-client/models/ContentBody.js.map +1 -0
- package/build/confluence-client/models/ContentRestriction.d.ts +2 -0
- package/build/confluence-client/models/ContentRestriction.d.ts.map +1 -0
- package/build/confluence-client/models/ContentRestriction.js +2 -0
- package/build/confluence-client/models/ContentRestriction.js.map +1 -0
- package/build/confluence-client/models/ContentSearchResult.d.ts +2 -0
- package/build/confluence-client/models/ContentSearchResult.d.ts.map +1 -0
- package/build/confluence-client/models/ContentSearchResult.js +2 -0
- package/build/confluence-client/models/ContentSearchResult.js.map +1 -0
- package/build/confluence-client/models/ContentWatch.d.ts +2 -0
- package/build/confluence-client/models/ContentWatch.d.ts.map +1 -0
- package/build/confluence-client/models/ContentWatch.js +2 -0
- package/build/confluence-client/models/ContentWatch.js.map +1 -0
- package/build/confluence-client/models/Credentials.d.ts +4 -0
- package/build/confluence-client/models/Credentials.d.ts.map +1 -0
- package/build/confluence-client/models/Credentials.js +2 -0
- package/build/confluence-client/models/Credentials.js.map +1 -0
- package/build/confluence-client/models/Cursor.d.ts +2 -0
- package/build/confluence-client/models/Cursor.d.ts.map +1 -0
- package/build/confluence-client/models/Cursor.js +2 -0
- package/build/confluence-client/models/Cursor.js.map +1 -0
- package/build/confluence-client/models/DetailedInvocation.d.ts +2 -0
- package/build/confluence-client/models/DetailedInvocation.d.ts.map +1 -0
- package/build/confluence-client/models/DetailedInvocation.js +2 -0
- package/build/confluence-client/models/DetailedInvocation.js.map +1 -0
- package/build/confluence-client/models/DetailedInvocationRequest.d.ts +2 -0
- package/build/confluence-client/models/DetailedInvocationRequest.d.ts.map +1 -0
- package/build/confluence-client/models/DetailedInvocationRequest.js +2 -0
- package/build/confluence-client/models/DetailedInvocationRequest.js.map +1 -0
- package/build/confluence-client/models/DetailedInvocationResult.d.ts +2 -0
- package/build/confluence-client/models/DetailedInvocationResult.d.ts.map +1 -0
- package/build/confluence-client/models/DetailedInvocationResult.js +2 -0
- package/build/confluence-client/models/DetailedInvocationResult.js.map +1 -0
- package/build/confluence-client/models/ExampleMultipartFormData.d.ts +7 -0
- package/build/confluence-client/models/ExampleMultipartFormData.d.ts.map +1 -0
- package/build/confluence-client/models/ExampleMultipartFormData.js +2 -0
- package/build/confluence-client/models/ExampleMultipartFormData.js.map +1 -0
- package/build/confluence-client/models/Expandable.d.ts +2 -0
- package/build/confluence-client/models/Expandable.d.ts.map +1 -0
- package/build/confluence-client/models/Expandable.js +2 -0
- package/build/confluence-client/models/Expandable.js.map +1 -0
- package/build/confluence-client/models/FileInfo.d.ts +13 -0
- package/build/confluence-client/models/FileInfo.d.ts.map +1 -0
- package/build/confluence-client/models/FileInfo.js +9 -0
- package/build/confluence-client/models/FileInfo.js.map +1 -0
- package/build/confluence-client/models/FilePart.d.ts +9 -0
- package/build/confluence-client/models/FilePart.d.ts.map +1 -0
- package/build/confluence-client/models/FilePart.js +2 -0
- package/build/confluence-client/models/FilePart.js.map +1 -0
- package/build/confluence-client/models/FormattedBody.d.ts +2 -0
- package/build/confluence-client/models/FormattedBody.d.ts.map +1 -0
- package/build/confluence-client/models/FormattedBody.js +2 -0
- package/build/confluence-client/models/FormattedBody.js.map +1 -0
- package/build/confluence-client/models/GlobalPermission.d.ts +7 -0
- package/build/confluence-client/models/GlobalPermission.d.ts.map +1 -0
- package/build/confluence-client/models/GlobalPermission.js +2 -0
- package/build/confluence-client/models/GlobalPermission.js.map +1 -0
- package/build/confluence-client/models/Group.d.ts +2 -0
- package/build/confluence-client/models/Group.d.ts.map +1 -0
- package/build/confluence-client/models/Group.js +2 -0
- package/build/confluence-client/models/Group.js.map +1 -0
- package/build/confluence-client/models/History.d.ts +2 -0
- package/build/confluence-client/models/History.d.ts.map +1 -0
- package/build/confluence-client/models/History.js +2 -0
- package/build/confluence-client/models/History.js.map +1 -0
- package/build/confluence-client/models/Icon.d.ts +2 -0
- package/build/confluence-client/models/Icon.d.ts.map +1 -0
- package/build/confluence-client/models/Icon.js +2 -0
- package/build/confluence-client/models/Icon.js.map +1 -0
- package/build/confluence-client/models/InstanceMetrics.d.ts +2 -0
- package/build/confluence-client/models/InstanceMetrics.d.ts.map +1 -0
- package/build/confluence-client/models/InstanceMetrics.js +2 -0
- package/build/confluence-client/models/InstanceMetrics.js.map +1 -0
- package/build/confluence-client/models/JobDetails.d.ts +2 -0
- package/build/confluence-client/models/JobDetails.d.ts.map +1 -0
- package/build/confluence-client/models/JobDetails.js +2 -0
- package/build/confluence-client/models/JobDetails.js.map +1 -0
- package/build/confluence-client/models/JobStatistics.d.ts +2 -0
- package/build/confluence-client/models/JobStatistics.d.ts.map +1 -0
- package/build/confluence-client/models/JobStatistics.js +2 -0
- package/build/confluence-client/models/JobStatistics.js.map +1 -0
- package/build/confluence-client/models/JsonContentProperty.d.ts +2 -0
- package/build/confluence-client/models/JsonContentProperty.d.ts.map +1 -0
- package/build/confluence-client/models/JsonContentProperty.js +2 -0
- package/build/confluence-client/models/JsonContentProperty.js.map +1 -0
- package/build/confluence-client/models/JsonSpaceProperty.d.ts +2 -0
- package/build/confluence-client/models/JsonSpaceProperty.d.ts.map +1 -0
- package/build/confluence-client/models/JsonSpaceProperty.js +2 -0
- package/build/confluence-client/models/JsonSpaceProperty.js.map +1 -0
- package/build/confluence-client/models/JsonString.d.ts +2 -0
- package/build/confluence-client/models/JsonString.d.ts.map +1 -0
- package/build/confluence-client/models/JsonString.js +2 -0
- package/build/confluence-client/models/JsonString.js.map +1 -0
- package/build/confluence-client/models/KnownUser.d.ts +2 -0
- package/build/confluence-client/models/KnownUser.d.ts.map +1 -0
- package/build/confluence-client/models/KnownUser.js +2 -0
- package/build/confluence-client/models/KnownUser.js.map +1 -0
- package/build/confluence-client/models/Label.d.ts +2 -0
- package/build/confluence-client/models/Label.d.ts.map +1 -0
- package/build/confluence-client/models/Label.js +2 -0
- package/build/confluence-client/models/Label.js.map +1 -0
- package/build/confluence-client/models/Link.d.ts +2 -0
- package/build/confluence-client/models/Link.d.ts.map +1 -0
- package/build/confluence-client/models/Link.js +2 -0
- package/build/confluence-client/models/Link.js.map +1 -0
- package/build/confluence-client/models/Links.d.ts +2 -0
- package/build/confluence-client/models/Links.d.ts.map +1 -0
- package/build/confluence-client/models/Links.js +2 -0
- package/build/confluence-client/models/Links.js.map +1 -0
- package/build/confluence-client/models/LongTaskStatus.d.ts +2 -0
- package/build/confluence-client/models/LongTaskStatus.d.ts.map +1 -0
- package/build/confluence-client/models/LongTaskStatus.js +2 -0
- package/build/confluence-client/models/LongTaskStatus.js.map +1 -0
- package/build/confluence-client/models/LongTaskSubmission.d.ts +2 -0
- package/build/confluence-client/models/LongTaskSubmission.d.ts.map +1 -0
- package/build/confluence-client/models/LongTaskSubmission.js +2 -0
- package/build/confluence-client/models/LongTaskSubmission.js.map +1 -0
- package/build/confluence-client/models/MacroInstance.d.ts +2 -0
- package/build/confluence-client/models/MacroInstance.d.ts.map +1 -0
- package/build/confluence-client/models/MacroInstance.js +2 -0
- package/build/confluence-client/models/MacroInstance.js.map +1 -0
- package/build/confluence-client/models/MacroParameterInstance.d.ts +2 -0
- package/build/confluence-client/models/MacroParameterInstance.d.ts.map +1 -0
- package/build/confluence-client/models/MacroParameterInstance.js +2 -0
- package/build/confluence-client/models/MacroParameterInstance.js.map +1 -0
- package/build/confluence-client/models/Message.d.ts +2 -0
- package/build/confluence-client/models/Message.d.ts.map +1 -0
- package/build/confluence-client/models/Message.js +2 -0
- package/build/confluence-client/models/Message.js.map +1 -0
- package/build/confluence-client/models/MockAttachmentRequest.d.ts +19 -0
- package/build/confluence-client/models/MockAttachmentRequest.d.ts.map +1 -0
- package/build/confluence-client/models/MockAttachmentRequest.js +2 -0
- package/build/confluence-client/models/MockAttachmentRequest.js.map +1 -0
- package/build/confluence-client/models/MockRestrictionsResponse.d.ts +2 -0
- package/build/confluence-client/models/MockRestrictionsResponse.d.ts.map +1 -0
- package/build/confluence-client/models/MockRestrictionsResponse.js +2 -0
- package/build/confluence-client/models/MockRestrictionsResponse.js.map +1 -0
- package/build/confluence-client/models/NodeStatus.d.ts +2 -0
- package/build/confluence-client/models/NodeStatus.d.ts.map +1 -0
- package/build/confluence-client/models/NodeStatus.js +2 -0
- package/build/confluence-client/models/NodeStatus.js.map +1 -0
- package/build/confluence-client/models/OperationCheckResult.d.ts +2 -0
- package/build/confluence-client/models/OperationCheckResult.d.ts.map +1 -0
- package/build/confluence-client/models/OperationCheckResult.js +2 -0
- package/build/confluence-client/models/OperationCheckResult.js.map +1 -0
- package/build/confluence-client/models/OperationDescription.d.ts +5 -0
- package/build/confluence-client/models/OperationDescription.d.ts.map +1 -0
- package/build/confluence-client/models/OperationDescription.js +2 -0
- package/build/confluence-client/models/OperationDescription.js.map +1 -0
- package/build/confluence-client/models/OperationRestriction.d.ts +2 -0
- package/build/confluence-client/models/OperationRestriction.d.ts.map +1 -0
- package/build/confluence-client/models/OperationRestriction.js +2 -0
- package/build/confluence-client/models/OperationRestriction.js.map +1 -0
- package/build/confluence-client/models/PageRequest.d.ts +2 -0
- package/build/confluence-client/models/PageRequest.d.ts.map +1 -0
- package/build/confluence-client/models/PageRequest.js +2 -0
- package/build/confluence-client/models/PageRequest.js.map +1 -0
- package/build/confluence-client/models/PageResponseContent.d.ts +2 -0
- package/build/confluence-client/models/PageResponseContent.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseContent.js +2 -0
- package/build/confluence-client/models/PageResponseContent.js.map +1 -0
- package/build/confluence-client/models/PageResponseContentRestriction.d.ts +11 -0
- package/build/confluence-client/models/PageResponseContentRestriction.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseContentRestriction.js +2 -0
- package/build/confluence-client/models/PageResponseContentRestriction.js.map +1 -0
- package/build/confluence-client/models/PageResponseGroup.d.ts +11 -0
- package/build/confluence-client/models/PageResponseGroup.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseGroup.js +2 -0
- package/build/confluence-client/models/PageResponseGroup.js.map +1 -0
- package/build/confluence-client/models/PageResponseJsonContentProperty.d.ts +11 -0
- package/build/confluence-client/models/PageResponseJsonContentProperty.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseJsonContentProperty.js +2 -0
- package/build/confluence-client/models/PageResponseJsonContentProperty.js.map +1 -0
- package/build/confluence-client/models/PageResponseJsonSpaceProperty.d.ts +11 -0
- package/build/confluence-client/models/PageResponseJsonSpaceProperty.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseJsonSpaceProperty.js +2 -0
- package/build/confluence-client/models/PageResponseJsonSpaceProperty.js.map +1 -0
- package/build/confluence-client/models/PageResponseLabel.d.ts +11 -0
- package/build/confluence-client/models/PageResponseLabel.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseLabel.js +2 -0
- package/build/confluence-client/models/PageResponseLabel.js.map +1 -0
- package/build/confluence-client/models/PageResponseLongTaskStatus.d.ts +11 -0
- package/build/confluence-client/models/PageResponseLongTaskStatus.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseLongTaskStatus.js +2 -0
- package/build/confluence-client/models/PageResponseLongTaskStatus.js.map +1 -0
- package/build/confluence-client/models/PageResponseNodeStatus.d.ts +11 -0
- package/build/confluence-client/models/PageResponseNodeStatus.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseNodeStatus.js +2 -0
- package/build/confluence-client/models/PageResponseNodeStatus.js.map +1 -0
- package/build/confluence-client/models/PageResponseObject.d.ts +2 -0
- package/build/confluence-client/models/PageResponseObject.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseObject.js +2 -0
- package/build/confluence-client/models/PageResponseObject.js.map +1 -0
- package/build/confluence-client/models/PageResponsePerson.d.ts +11 -0
- package/build/confluence-client/models/PageResponsePerson.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponsePerson.js +2 -0
- package/build/confluence-client/models/PageResponsePerson.js.map +1 -0
- package/build/confluence-client/models/PageResponseSpace.d.ts +11 -0
- package/build/confluence-client/models/PageResponseSpace.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseSpace.js +2 -0
- package/build/confluence-client/models/PageResponseSpace.js.map +1 -0
- package/build/confluence-client/models/PageResponseSubject.d.ts +2 -0
- package/build/confluence-client/models/PageResponseSubject.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseSubject.js +2 -0
- package/build/confluence-client/models/PageResponseSubject.js.map +1 -0
- package/build/confluence-client/models/PageResponseUser.d.ts +11 -0
- package/build/confluence-client/models/PageResponseUser.d.ts.map +1 -0
- package/build/confluence-client/models/PageResponseUser.js +2 -0
- package/build/confluence-client/models/PageResponseUser.js.map +1 -0
- package/build/confluence-client/models/PasswordChangeDetails.d.ts +5 -0
- package/build/confluence-client/models/PasswordChangeDetails.d.ts.map +1 -0
- package/build/confluence-client/models/PasswordChangeDetails.js +2 -0
- package/build/confluence-client/models/PasswordChangeDetails.js.map +1 -0
- package/build/confluence-client/models/Person.d.ts +2 -0
- package/build/confluence-client/models/Person.d.ts.map +1 -0
- package/build/confluence-client/models/Person.js +2 -0
- package/build/confluence-client/models/Person.js.map +1 -0
- package/build/confluence-client/models/PersonalSpaceDetailsForCreation.d.ts +6 -0
- package/build/confluence-client/models/PersonalSpaceDetailsForCreation.d.ts.map +1 -0
- package/build/confluence-client/models/PersonalSpaceDetailsForCreation.js +2 -0
- package/build/confluence-client/models/PersonalSpaceDetailsForCreation.js.map +1 -0
- package/build/confluence-client/models/ReferenceContainer.d.ts +2 -0
- package/build/confluence-client/models/ReferenceContainer.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceContainer.js +2 -0
- package/build/confluence-client/models/ReferenceContainer.js.map +1 -0
- package/build/confluence-client/models/ReferenceContainerSummary.d.ts +2 -0
- package/build/confluence-client/models/ReferenceContainerSummary.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceContainerSummary.js +2 -0
- package/build/confluence-client/models/ReferenceContainerSummary.js.map +1 -0
- package/build/confluence-client/models/ReferenceContent.d.ts +2 -0
- package/build/confluence-client/models/ReferenceContent.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceContent.js +2 -0
- package/build/confluence-client/models/ReferenceContent.js.map +1 -0
- package/build/confluence-client/models/ReferenceContributors.d.ts +2 -0
- package/build/confluence-client/models/ReferenceContributors.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceContributors.js +2 -0
- package/build/confluence-client/models/ReferenceContributors.js.map +1 -0
- package/build/confluence-client/models/ReferenceHistory.d.ts +2 -0
- package/build/confluence-client/models/ReferenceHistory.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceHistory.js +2 -0
- package/build/confluence-client/models/ReferenceHistory.js.map +1 -0
- package/build/confluence-client/models/ReferenceIcon.d.ts +2 -0
- package/build/confluence-client/models/ReferenceIcon.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceIcon.js +2 -0
- package/build/confluence-client/models/ReferenceIcon.js.map +1 -0
- package/build/confluence-client/models/ReferenceObject.d.ts +2 -0
- package/build/confluence-client/models/ReferenceObject.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceObject.js +2 -0
- package/build/confluence-client/models/ReferenceObject.js.map +1 -0
- package/build/confluence-client/models/ReferenceRelevantViewRestrictions.d.ts +2 -0
- package/build/confluence-client/models/ReferenceRelevantViewRestrictions.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceRelevantViewRestrictions.js +2 -0
- package/build/confluence-client/models/ReferenceRelevantViewRestrictions.js.map +1 -0
- package/build/confluence-client/models/ReferenceSpace.d.ts +2 -0
- package/build/confluence-client/models/ReferenceSpace.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceSpace.js +2 -0
- package/build/confluence-client/models/ReferenceSpace.js.map +1 -0
- package/build/confluence-client/models/ReferenceSpacePermissionContainer.d.ts +2 -0
- package/build/confluence-client/models/ReferenceSpacePermissionContainer.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceSpacePermissionContainer.js +2 -0
- package/build/confluence-client/models/ReferenceSpacePermissionContainer.js.map +1 -0
- package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.d.ts +2 -0
- package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.js +2 -0
- package/build/confluence-client/models/ReferenceSpaceRetentionPolicy.js.map +1 -0
- package/build/confluence-client/models/ReferenceString.d.ts +2 -0
- package/build/confluence-client/models/ReferenceString.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceString.js +2 -0
- package/build/confluence-client/models/ReferenceString.js.map +1 -0
- package/build/confluence-client/models/ReferenceUser.d.ts +2 -0
- package/build/confluence-client/models/ReferenceUser.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceUser.js +2 -0
- package/build/confluence-client/models/ReferenceUser.js.map +1 -0
- package/build/confluence-client/models/ReferenceUserStatus.d.ts +2 -0
- package/build/confluence-client/models/ReferenceUserStatus.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceUserStatus.js +2 -0
- package/build/confluence-client/models/ReferenceUserStatus.js.map +1 -0
- package/build/confluence-client/models/ReferenceVersion.d.ts +2 -0
- package/build/confluence-client/models/ReferenceVersion.d.ts.map +1 -0
- package/build/confluence-client/models/ReferenceVersion.js +2 -0
- package/build/confluence-client/models/ReferenceVersion.js.map +1 -0
- package/build/confluence-client/models/RelevantViewRestrictions.d.ts +5 -0
- package/build/confluence-client/models/RelevantViewRestrictions.d.ts.map +1 -0
- package/build/confluence-client/models/RelevantViewRestrictions.js +2 -0
- package/build/confluence-client/models/RelevantViewRestrictions.js.map +1 -0
- package/build/confluence-client/models/ResourceType.d.ts +2 -0
- package/build/confluence-client/models/ResourceType.d.ts.map +1 -0
- package/build/confluence-client/models/ResourceType.js +2 -0
- package/build/confluence-client/models/ResourceType.js.map +1 -0
- package/build/confluence-client/models/RestError.d.ts +2 -0
- package/build/confluence-client/models/RestError.d.ts.map +1 -0
- package/build/confluence-client/models/RestError.js +2 -0
- package/build/confluence-client/models/RestError.js.map +1 -0
- package/build/confluence-client/models/RestInvocationHistory.d.ts +2 -0
- package/build/confluence-client/models/RestInvocationHistory.d.ts.map +1 -0
- package/build/confluence-client/models/RestInvocationHistory.js +2 -0
- package/build/confluence-client/models/RestInvocationHistory.js.map +1 -0
- package/build/confluence-client/models/RestListContent.d.ts +3 -0
- package/build/confluence-client/models/RestListContent.d.ts.map +1 -0
- package/build/confluence-client/models/RestListContent.js +2 -0
- package/build/confluence-client/models/RestListContent.js.map +1 -0
- package/build/confluence-client/models/RestListJsonContentProperty.d.ts +3 -0
- package/build/confluence-client/models/RestListJsonContentProperty.d.ts.map +1 -0
- package/build/confluence-client/models/RestListJsonContentProperty.js +2 -0
- package/build/confluence-client/models/RestListJsonContentProperty.js.map +1 -0
- package/build/confluence-client/models/RestListLabel.d.ts +3 -0
- package/build/confluence-client/models/RestListLabel.d.ts.map +1 -0
- package/build/confluence-client/models/RestListLabel.js +2 -0
- package/build/confluence-client/models/RestListLabel.js.map +1 -0
- package/build/confluence-client/models/RestListLongTaskStatus.d.ts +3 -0
- package/build/confluence-client/models/RestListLongTaskStatus.d.ts.map +1 -0
- package/build/confluence-client/models/RestListLongTaskStatus.js +2 -0
- package/build/confluence-client/models/RestListLongTaskStatus.js.map +1 -0
- package/build/confluence-client/models/RestListNodeStatus.d.ts +3 -0
- package/build/confluence-client/models/RestListNodeStatus.d.ts.map +1 -0
- package/build/confluence-client/models/RestListNodeStatus.js +2 -0
- package/build/confluence-client/models/RestListNodeStatus.js.map +1 -0
- package/build/confluence-client/models/RestListUser.d.ts +3 -0
- package/build/confluence-client/models/RestListUser.d.ts.map +1 -0
- package/build/confluence-client/models/RestListUser.js +2 -0
- package/build/confluence-client/models/RestListUser.js.map +1 -0
- package/build/confluence-client/models/RestWebhook.d.ts +2 -0
- package/build/confluence-client/models/RestWebhook.d.ts.map +1 -0
- package/build/confluence-client/models/RestWebhook.js +2 -0
- package/build/confluence-client/models/RestWebhook.js.map +1 -0
- package/build/confluence-client/models/RestWebhookCredentials.d.ts +2 -0
- package/build/confluence-client/models/RestWebhookCredentials.d.ts.map +1 -0
- package/build/confluence-client/models/RestWebhookCredentials.js +2 -0
- package/build/confluence-client/models/RestWebhookCredentials.js.map +1 -0
- package/build/confluence-client/models/Restrictions.d.ts +2 -0
- package/build/confluence-client/models/Restrictions.d.ts.map +1 -0
- package/build/confluence-client/models/Restrictions.js +2 -0
- package/build/confluence-client/models/Restrictions.js.map +1 -0
- package/build/confluence-client/models/SearchPageResponseSearchResult.d.ts +16 -0
- package/build/confluence-client/models/SearchPageResponseSearchResult.d.ts.map +1 -0
- package/build/confluence-client/models/SearchPageResponseSearchResult.js +2 -0
- package/build/confluence-client/models/SearchPageResponseSearchResult.js.map +1 -0
- package/build/confluence-client/models/SearchResult.d.ts +2 -0
- package/build/confluence-client/models/SearchResult.d.ts.map +1 -0
- package/build/confluence-client/models/SearchResult.js +2 -0
- package/build/confluence-client/models/SearchResult.js.map +1 -0
- package/build/confluence-client/models/ServerInformation.d.ts +2 -0
- package/build/confluence-client/models/ServerInformation.d.ts.map +1 -0
- package/build/confluence-client/models/ServerInformation.js +2 -0
- package/build/confluence-client/models/ServerInformation.js.map +1 -0
- package/build/confluence-client/models/SiteBackupJobDetails.d.ts +2 -0
- package/build/confluence-client/models/SiteBackupJobDetails.d.ts.map +1 -0
- package/build/confluence-client/models/SiteBackupJobDetails.js +2 -0
- package/build/confluence-client/models/SiteBackupJobDetails.js.map +1 -0
- package/build/confluence-client/models/SiteBackupSettings.d.ts +2 -0
- package/build/confluence-client/models/SiteBackupSettings.d.ts.map +1 -0
- package/build/confluence-client/models/SiteBackupSettings.js +2 -0
- package/build/confluence-client/models/SiteBackupSettings.js.map +1 -0
- package/build/confluence-client/models/SiteRestoreJobDetails.d.ts +2 -0
- package/build/confluence-client/models/SiteRestoreJobDetails.d.ts.map +1 -0
- package/build/confluence-client/models/SiteRestoreJobDetails.js +2 -0
- package/build/confluence-client/models/SiteRestoreJobDetails.js.map +1 -0
- package/build/confluence-client/models/SiteRestoreSettings.d.ts +2 -0
- package/build/confluence-client/models/SiteRestoreSettings.d.ts.map +1 -0
- package/build/confluence-client/models/SiteRestoreSettings.js +2 -0
- package/build/confluence-client/models/SiteRestoreSettings.js.map +1 -0
- package/build/confluence-client/models/Space.d.ts +2 -0
- package/build/confluence-client/models/Space.d.ts.map +1 -0
- package/build/confluence-client/models/Space.js +2 -0
- package/build/confluence-client/models/Space.js.map +1 -0
- package/build/confluence-client/models/SpaceBackupJobDetails.d.ts +2 -0
- package/build/confluence-client/models/SpaceBackupJobDetails.d.ts.map +1 -0
- package/build/confluence-client/models/SpaceBackupJobDetails.js +2 -0
- package/build/confluence-client/models/SpaceBackupJobDetails.js.map +1 -0
- package/build/confluence-client/models/SpaceBackupSettings.d.ts +2 -0
- package/build/confluence-client/models/SpaceBackupSettings.d.ts.map +1 -0
- package/build/confluence-client/models/SpaceBackupSettings.js +2 -0
- package/build/confluence-client/models/SpaceBackupSettings.js.map +1 -0
- package/build/confluence-client/models/SpaceColorSchemeTypeModel.d.ts +2 -0
- package/build/confluence-client/models/SpaceColorSchemeTypeModel.d.ts.map +1 -0
- package/build/confluence-client/models/SpaceColorSchemeTypeModel.js +2 -0
- package/build/confluence-client/models/SpaceColorSchemeTypeModel.js.map +1 -0
- package/build/confluence-client/models/SpacePermission.d.ts +9 -0
- package/build/confluence-client/models/SpacePermission.d.ts.map +1 -0
- package/build/confluence-client/models/SpacePermission.js +2 -0
- package/build/confluence-client/models/SpacePermission.js.map +1 -0
- package/build/confluence-client/models/SpacePermissionsForSubject.d.ts +7 -0
- package/build/confluence-client/models/SpacePermissionsForSubject.d.ts.map +1 -0
- package/build/confluence-client/models/SpacePermissionsForSubject.js +2 -0
- package/build/confluence-client/models/SpacePermissionsForSubject.js.map +1 -0
- package/build/confluence-client/models/SpaceRestoreJobDetails.d.ts +2 -0
- package/build/confluence-client/models/SpaceRestoreJobDetails.d.ts.map +1 -0
- package/build/confluence-client/models/SpaceRestoreJobDetails.js +2 -0
- package/build/confluence-client/models/SpaceRestoreJobDetails.js.map +1 -0
- package/build/confluence-client/models/SpaceRestoreSettings.d.ts +2 -0
- package/build/confluence-client/models/SpaceRestoreSettings.d.ts.map +1 -0
- package/build/confluence-client/models/SpaceRestoreSettings.js +2 -0
- package/build/confluence-client/models/SpaceRestoreSettings.js.map +1 -0
- package/build/confluence-client/models/SpaceSearchResult.d.ts +2 -0
- package/build/confluence-client/models/SpaceSearchResult.d.ts.map +1 -0
- package/build/confluence-client/models/SpaceSearchResult.js +2 -0
- package/build/confluence-client/models/SpaceSearchResult.js.map +1 -0
- package/build/confluence-client/models/SpaceWatch.d.ts +2 -0
- package/build/confluence-client/models/SpaceWatch.d.ts.map +1 -0
- package/build/confluence-client/models/SpaceWatch.js +2 -0
- package/build/confluence-client/models/SpaceWatch.js.map +1 -0
- package/build/confluence-client/models/Subject.d.ts +2 -0
- package/build/confluence-client/models/Subject.d.ts.map +1 -0
- package/build/confluence-client/models/Subject.js +2 -0
- package/build/confluence-client/models/Subject.js.map +1 -0
- package/build/confluence-client/models/SuperBatchWebResources.d.ts +2 -0
- package/build/confluence-client/models/SuperBatchWebResources.d.ts.map +1 -0
- package/build/confluence-client/models/SuperBatchWebResources.js +2 -0
- package/build/confluence-client/models/SuperBatchWebResources.js.map +1 -0
- package/build/confluence-client/models/UnknownUser.d.ts +2 -0
- package/build/confluence-client/models/UnknownUser.d.ts.map +1 -0
- package/build/confluence-client/models/UnknownUser.js +2 -0
- package/build/confluence-client/models/UnknownUser.js.map +1 -0
- package/build/confluence-client/models/User.d.ts +2 -0
- package/build/confluence-client/models/User.d.ts.map +1 -0
- package/build/confluence-client/models/User.js +2 -0
- package/build/confluence-client/models/User.js.map +1 -0
- package/build/confluence-client/models/UserDetailsForCreation.d.ts +8 -0
- package/build/confluence-client/models/UserDetailsForCreation.d.ts.map +1 -0
- package/build/confluence-client/models/UserDetailsForCreation.js +2 -0
- package/build/confluence-client/models/UserDetailsForCreation.js.map +1 -0
- package/build/confluence-client/models/UserDetailsForUpdate.d.ts +6 -0
- package/build/confluence-client/models/UserDetailsForUpdate.d.ts.map +1 -0
- package/build/confluence-client/models/UserDetailsForUpdate.js +2 -0
- package/build/confluence-client/models/UserDetailsForUpdate.js.map +1 -0
- package/build/confluence-client/models/UserKey.d.ts +2 -0
- package/build/confluence-client/models/UserKey.d.ts.map +1 -0
- package/build/confluence-client/models/UserKey.js +2 -0
- package/build/confluence-client/models/UserKey.js.map +1 -0
- package/build/confluence-client/models/UserSearchResult.d.ts +2 -0
- package/build/confluence-client/models/UserSearchResult.d.ts.map +1 -0
- package/build/confluence-client/models/UserSearchResult.js +2 -0
- package/build/confluence-client/models/UserSearchResult.js.map +1 -0
- package/build/confluence-client/models/ValidationResult.d.ts +2 -0
- package/build/confluence-client/models/ValidationResult.d.ts.map +1 -0
- package/build/confluence-client/models/ValidationResult.js +2 -0
- package/build/confluence-client/models/ValidationResult.js.map +1 -0
- package/build/confluence-client/models/Version.d.ts +2 -0
- package/build/confluence-client/models/Version.d.ts.map +1 -0
- package/build/confluence-client/models/Version.js +2 -0
- package/build/confluence-client/models/Version.js.map +1 -0
- package/build/confluence-client/models/WebResourceDependencies.d.ts +2 -0
- package/build/confluence-client/models/WebResourceDependencies.d.ts.map +1 -0
- package/build/confluence-client/models/WebResourceDependencies.js +2 -0
- package/build/confluence-client/models/WebResourceDependencies.js.map +1 -0
- package/build/confluence-client/models/Webhook.d.ts +2 -0
- package/build/confluence-client/models/Webhook.d.ts.map +1 -0
- package/build/confluence-client/models/Webhook.js +2 -0
- package/build/confluence-client/models/Webhook.js.map +1 -0
- package/build/confluence-client/models/WebhookCredentials.d.ts +2 -0
- package/build/confluence-client/models/WebhookCredentials.d.ts.map +1 -0
- package/build/confluence-client/models/WebhookCredentials.js +2 -0
- package/build/confluence-client/models/WebhookCredentials.js.map +1 -0
- package/build/confluence-client/models/WebhookEvent.d.ts +2 -0
- package/build/confluence-client/models/WebhookEvent.d.ts.map +1 -0
- package/build/confluence-client/models/WebhookEvent.js +2 -0
- package/build/confluence-client/models/WebhookEvent.js.map +1 -0
- package/build/confluence-client/models/WebhookScope.d.ts +2 -0
- package/build/confluence-client/models/WebhookScope.d.ts.map +1 -0
- package/build/confluence-client/models/WebhookScope.js +2 -0
- package/build/confluence-client/models/WebhookScope.js.map +1 -0
- package/build/confluence-client/services/AccessModeService.d.ts +11 -0
- package/build/confluence-client/services/AccessModeService.d.ts.map +1 -0
- package/build/confluence-client/services/AccessModeService.js +17 -0
- package/build/confluence-client/services/AccessModeService.js.map +1 -0
- package/build/confluence-client/services/AdminGroupService.d.ts +21 -0
- package/build/confluence-client/services/AdminGroupService.d.ts.map +1 -0
- package/build/confluence-client/services/AdminGroupService.js +46 -0
- package/build/confluence-client/services/AdminGroupService.js.map +1 -0
- package/build/confluence-client/services/AdminSpaceService.d.ts +19 -0
- package/build/confluence-client/services/AdminSpaceService.d.ts.map +1 -0
- package/build/confluence-client/services/AdminSpaceService.js +34 -0
- package/build/confluence-client/services/AdminSpaceService.js.map +1 -0
- package/build/confluence-client/services/AdminUserService.d.ts +102 -0
- package/build/confluence-client/services/AdminUserService.d.ts.map +1 -0
- package/build/confluence-client/services/AdminUserService.js +181 -0
- package/build/confluence-client/services/AdminUserService.js.map +1 -0
- package/build/confluence-client/services/AdminUsersService.d.ts +43 -0
- package/build/confluence-client/services/AdminUsersService.d.ts.map +1 -0
- package/build/confluence-client/services/AdminUsersService.js +43 -0
- package/build/confluence-client/services/AdminUsersService.js.map +1 -0
- package/build/confluence-client/services/AttachmentsService.d.ts +134 -0
- package/build/confluence-client/services/AttachmentsService.d.ts.map +1 -0
- package/build/confluence-client/services/AttachmentsService.js +233 -0
- package/build/confluence-client/services/AttachmentsService.js.map +1 -0
- package/build/confluence-client/services/BackupAndRestoreService.d.ts +146 -0
- package/build/confluence-client/services/BackupAndRestoreService.d.ts.map +1 -0
- package/build/confluence-client/services/BackupAndRestoreService.js +274 -0
- package/build/confluence-client/services/BackupAndRestoreService.js.map +1 -0
- package/build/confluence-client/services/CategoryService.d.ts +29 -0
- package/build/confluence-client/services/CategoryService.d.ts.map +1 -0
- package/build/confluence-client/services/CategoryService.js +58 -0
- package/build/confluence-client/services/CategoryService.js.map +1 -0
- package/build/confluence-client/services/ChildContentService.d.ts +92 -0
- package/build/confluence-client/services/ChildContentService.d.ts.map +1 -0
- package/build/confluence-client/services/ChildContentService.js +108 -0
- package/build/confluence-client/services/ChildContentService.js.map +1 -0
- package/build/confluence-client/services/ClusterInformationService.d.ts +30 -0
- package/build/confluence-client/services/ClusterInformationService.d.ts.map +1 -0
- package/build/confluence-client/services/ClusterInformationService.js +30 -0
- package/build/confluence-client/services/ClusterInformationService.js.map +1 -0
- package/build/confluence-client/services/ContentBlueprintService.d.ts +29 -0
- package/build/confluence-client/services/ContentBlueprintService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentBlueprintService.js +57 -0
- package/build/confluence-client/services/ContentBlueprintService.js.map +1 -0
- package/build/confluence-client/services/ContentBodyService.d.ts +25 -0
- package/build/confluence-client/services/ContentBodyService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentBodyService.js +38 -0
- package/build/confluence-client/services/ContentBodyService.js.map +1 -0
- package/build/confluence-client/services/ContentDescendantService.d.ts +72 -0
- package/build/confluence-client/services/ContentDescendantService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentDescendantService.js +77 -0
- package/build/confluence-client/services/ContentDescendantService.js.map +1 -0
- package/build/confluence-client/services/ContentLabelsService.d.ts +72 -0
- package/build/confluence-client/services/ContentLabelsService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentLabelsService.js +104 -0
- package/build/confluence-client/services/ContentLabelsService.js.map +1 -0
- package/build/confluence-client/services/ContentPropertyService.d.ts +81 -0
- package/build/confluence-client/services/ContentPropertyService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentPropertyService.js +160 -0
- package/build/confluence-client/services/ContentPropertyService.js.map +1 -0
- package/build/confluence-client/services/ContentResourceService.d.ts +314 -0
- package/build/confluence-client/services/ContentResourceService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentResourceService.js +426 -0
- package/build/confluence-client/services/ContentResourceService.js.map +1 -0
- package/build/confluence-client/services/ContentRestrictionsService.d.ts +90 -0
- package/build/confluence-client/services/ContentRestrictionsService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentRestrictionsService.js +134 -0
- package/build/confluence-client/services/ContentRestrictionsService.js.map +1 -0
- package/build/confluence-client/services/ContentVersionService.d.ts +13 -0
- package/build/confluence-client/services/ContentVersionService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentVersionService.js +28 -0
- package/build/confluence-client/services/ContentVersionService.js.map +1 -0
- package/build/confluence-client/services/ContentWatchersService.d.ts +28 -0
- package/build/confluence-client/services/ContentWatchersService.d.ts.map +1 -0
- package/build/confluence-client/services/ContentWatchersService.js +33 -0
- package/build/confluence-client/services/ContentWatchersService.js.map +1 -0
- package/build/confluence-client/services/DefaultService.d.ts +10 -0
- package/build/confluence-client/services/DefaultService.d.ts.map +1 -0
- package/build/confluence-client/services/DefaultService.js +16 -0
- package/build/confluence-client/services/DefaultService.js.map +1 -0
- package/build/confluence-client/services/GlobalColorSchemeService.d.ts +42 -0
- package/build/confluence-client/services/GlobalColorSchemeService.d.ts.map +1 -0
- package/build/confluence-client/services/GlobalColorSchemeService.js +71 -0
- package/build/confluence-client/services/GlobalColorSchemeService.js.map +1 -0
- package/build/confluence-client/services/GlobalPermissionsService.d.ts +281 -0
- package/build/confluence-client/services/GlobalPermissionsService.d.ts.map +1 -0
- package/build/confluence-client/services/GlobalPermissionsService.js +457 -0
- package/build/confluence-client/services/GlobalPermissionsService.js.map +1 -0
- package/build/confluence-client/services/GroupService.d.ts +86 -0
- package/build/confluence-client/services/GroupService.d.ts.map +1 -0
- package/build/confluence-client/services/GroupService.js +105 -0
- package/build/confluence-client/services/GroupService.js.map +1 -0
- package/build/confluence-client/services/InstanceMetricsService.d.ts +12 -0
- package/build/confluence-client/services/InstanceMetricsService.d.ts.map +1 -0
- package/build/confluence-client/services/InstanceMetricsService.js +21 -0
- package/build/confluence-client/services/InstanceMetricsService.js.map +1 -0
- package/build/confluence-client/services/LabelService.d.ts +119 -0
- package/build/confluence-client/services/LabelService.d.ts.map +1 -0
- package/build/confluence-client/services/LabelService.js +124 -0
- package/build/confluence-client/services/LabelService.js.map +1 -0
- package/build/confluence-client/services/LongTaskService.d.ts +37 -0
- package/build/confluence-client/services/LongTaskService.d.ts.map +1 -0
- package/build/confluence-client/services/LongTaskService.js +48 -0
- package/build/confluence-client/services/LongTaskService.js.map +1 -0
- package/build/confluence-client/services/SearchService.d.ts +39 -0
- package/build/confluence-client/services/SearchService.d.ts.map +1 -0
- package/build/confluence-client/services/SearchService.js +45 -0
- package/build/confluence-client/services/SearchService.js.map +1 -0
- package/build/confluence-client/services/ServerInformationService.d.ts +12 -0
- package/build/confluence-client/services/ServerInformationService.d.ts.map +1 -0
- package/build/confluence-client/services/ServerInformationService.js +20 -0
- package/build/confluence-client/services/ServerInformationService.js.map +1 -0
- package/build/confluence-client/services/SpaceColorSchemeService.d.ts +58 -0
- package/build/confluence-client/services/SpaceColorSchemeService.d.ts.map +1 -0
- package/build/confluence-client/services/SpaceColorSchemeService.js +123 -0
- package/build/confluence-client/services/SpaceColorSchemeService.js.map +1 -0
- package/build/confluence-client/services/SpaceLabelService.d.ts +111 -0
- package/build/confluence-client/services/SpaceLabelService.d.ts.map +1 -0
- package/build/confluence-client/services/SpaceLabelService.js +124 -0
- package/build/confluence-client/services/SpaceLabelService.js.map +1 -0
- package/build/confluence-client/services/SpacePermissionsService.d.ts +257 -0
- package/build/confluence-client/services/SpacePermissionsService.d.ts.map +1 -0
- package/build/confluence-client/services/SpacePermissionsService.js +421 -0
- package/build/confluence-client/services/SpacePermissionsService.js.map +1 -0
- package/build/confluence-client/services/SpacePropertyService.d.ts +91 -0
- package/build/confluence-client/services/SpacePropertyService.d.ts.map +1 -0
- package/build/confluence-client/services/SpacePropertyService.js +172 -0
- package/build/confluence-client/services/SpacePropertyService.js.map +1 -0
- package/build/confluence-client/services/SpaceService.d.ts +220 -0
- package/build/confluence-client/services/SpaceService.d.ts.map +1 -0
- package/build/confluence-client/services/SpaceService.js +340 -0
- package/build/confluence-client/services/SpaceService.js.map +1 -0
- package/build/confluence-client/services/SpaceWatchersService.d.ts +28 -0
- package/build/confluence-client/services/SpaceWatchersService.d.ts.map +1 -0
- package/build/confluence-client/services/SpaceWatchersService.js +32 -0
- package/build/confluence-client/services/SpaceWatchersService.js.map +1 -0
- package/build/confluence-client/services/UserGroupService.d.ts +26 -0
- package/build/confluence-client/services/UserGroupService.d.ts.map +1 -0
- package/build/confluence-client/services/UserGroupService.js +45 -0
- package/build/confluence-client/services/UserGroupService.js.map +1 -0
- package/build/confluence-client/services/UserService.d.ts +138 -0
- package/build/confluence-client/services/UserService.d.ts.map +1 -0
- package/build/confluence-client/services/UserService.js +200 -0
- package/build/confluence-client/services/UserService.js.map +1 -0
- package/build/confluence-client/services/UserWatchService.d.ts +108 -0
- package/build/confluence-client/services/UserWatchService.d.ts.map +1 -0
- package/build/confluence-client/services/UserWatchService.js +200 -0
- package/build/confluence-client/services/UserWatchService.js.map +1 -0
- package/build/confluence-client/services/WebhooksService.d.ts +102 -0
- package/build/confluence-client/services/WebhooksService.d.ts.map +1 -0
- package/build/confluence-client/services/WebhooksService.js +208 -0
- package/build/confluence-client/services/WebhooksService.js.map +1 -0
- package/build/confluence-service.d.ts +54 -7
- package/build/confluence-service.d.ts.map +1 -1
- package/build/confluence-service.js +47 -62
- package/build/confluence-service.js.map +1 -1
- package/build/index.js +4 -0
- package/build/index.js.map +1 -1
- package/package.json +3 -3
- package/src/confluence-client/core/ApiError.ts +26 -0
- package/src/confluence-client/core/ApiRequestOptions.ts +17 -0
- package/src/confluence-client/core/ApiResult.ts +11 -0
- package/src/confluence-client/core/CancelablePromise.ts +131 -0
- package/src/confluence-client/core/OpenAPI.ts +33 -0
- package/src/confluence-client/core/request.ts +319 -0
- package/src/confluence-client/fix-imports.ps1 +29 -0
- package/src/confluence-client/index.ts +170 -0
- package/src/confluence-client/models/Anonymous.ts +7 -0
- package/src/confluence-client/models/ColorSchemeModel.ts +7 -0
- package/src/confluence-client/models/ColorSchemeThemeBasedModel.ts +7 -0
- package/src/confluence-client/models/Container.ts +7 -0
- package/src/confluence-client/models/ContainerSummary.ts +7 -0
- package/src/confluence-client/models/Content.ts +7 -0
- package/src/confluence-client/models/ContentBody.ts +7 -0
- package/src/confluence-client/models/ContentRestriction.ts +7 -0
- package/src/confluence-client/models/ContentSearchResult.ts +7 -0
- package/src/confluence-client/models/ContentWatch.ts +7 -0
- package/src/confluence-client/models/Credentials.ts +8 -0
- package/src/confluence-client/models/Cursor.ts +7 -0
- package/src/confluence-client/models/DetailedInvocation.ts +7 -0
- package/src/confluence-client/models/DetailedInvocationRequest.ts +7 -0
- package/src/confluence-client/models/DetailedInvocationResult.ts +7 -0
- package/src/confluence-client/models/ExampleMultipartFormData.ts +11 -0
- package/src/confluence-client/models/Expandable.ts +7 -0
- package/src/confluence-client/models/FileInfo.ts +17 -0
- package/src/confluence-client/models/FilePart.ts +13 -0
- package/src/confluence-client/models/FormattedBody.ts +7 -0
- package/src/confluence-client/models/GlobalPermission.ts +12 -0
- package/src/confluence-client/models/Group.ts +7 -0
- package/src/confluence-client/models/History.ts +7 -0
- package/src/confluence-client/models/Icon.ts +7 -0
- package/src/confluence-client/models/InstanceMetrics.ts +7 -0
- package/src/confluence-client/models/JobDetails.ts +7 -0
- package/src/confluence-client/models/JobStatistics.ts +7 -0
- package/src/confluence-client/models/JsonContentProperty.ts +7 -0
- package/src/confluence-client/models/JsonSpaceProperty.ts +7 -0
- package/src/confluence-client/models/JsonString.ts +7 -0
- package/src/confluence-client/models/KnownUser.ts +7 -0
- package/src/confluence-client/models/Label.ts +7 -0
- package/src/confluence-client/models/Link.ts +7 -0
- package/src/confluence-client/models/Links.ts +7 -0
- package/src/confluence-client/models/LongTaskStatus.ts +7 -0
- package/src/confluence-client/models/LongTaskSubmission.ts +7 -0
- package/src/confluence-client/models/MacroInstance.ts +7 -0
- package/src/confluence-client/models/MacroParameterInstance.ts +7 -0
- package/src/confluence-client/models/Message.ts +7 -0
- package/src/confluence-client/models/MockAttachmentRequest.ts +23 -0
- package/src/confluence-client/models/MockRestrictionsResponse.ts +7 -0
- package/src/confluence-client/models/NodeStatus.ts +7 -0
- package/src/confluence-client/models/OperationCheckResult.ts +7 -0
- package/src/confluence-client/models/OperationDescription.ts +9 -0
- package/src/confluence-client/models/OperationRestriction.ts +7 -0
- package/src/confluence-client/models/PageRequest.ts +7 -0
- package/src/confluence-client/models/PageResponseContent.ts +7 -0
- package/src/confluence-client/models/PageResponseContentRestriction.ts +16 -0
- package/src/confluence-client/models/PageResponseGroup.ts +16 -0
- package/src/confluence-client/models/PageResponseJsonContentProperty.ts +16 -0
- package/src/confluence-client/models/PageResponseJsonSpaceProperty.ts +16 -0
- package/src/confluence-client/models/PageResponseLabel.ts +16 -0
- package/src/confluence-client/models/PageResponseLongTaskStatus.ts +16 -0
- package/src/confluence-client/models/PageResponseNodeStatus.ts +16 -0
- package/src/confluence-client/models/PageResponseObject.ts +7 -0
- package/src/confluence-client/models/PageResponsePerson.ts +16 -0
- package/src/confluence-client/models/PageResponseSpace.ts +16 -0
- package/src/confluence-client/models/PageResponseSubject.ts +7 -0
- package/src/confluence-client/models/PageResponseUser.ts +16 -0
- package/src/confluence-client/models/PasswordChangeDetails.ts +9 -0
- package/src/confluence-client/models/Person.ts +7 -0
- package/src/confluence-client/models/PersonalSpaceDetailsForCreation.ts +10 -0
- package/src/confluence-client/models/ReferenceContainer.ts +7 -0
- package/src/confluence-client/models/ReferenceContainerSummary.ts +7 -0
- package/src/confluence-client/models/ReferenceContent.ts +7 -0
- package/src/confluence-client/models/ReferenceContributors.ts +7 -0
- package/src/confluence-client/models/ReferenceHistory.ts +7 -0
- package/src/confluence-client/models/ReferenceIcon.ts +7 -0
- package/src/confluence-client/models/ReferenceObject.ts +7 -0
- package/src/confluence-client/models/ReferenceRelevantViewRestrictions.ts +7 -0
- package/src/confluence-client/models/ReferenceSpace.ts +7 -0
- package/src/confluence-client/models/ReferenceSpacePermissionContainer.ts +7 -0
- package/src/confluence-client/models/ReferenceSpaceRetentionPolicy.ts +7 -0
- package/src/confluence-client/models/ReferenceString.ts +7 -0
- package/src/confluence-client/models/ReferenceUser.ts +7 -0
- package/src/confluence-client/models/ReferenceUserStatus.ts +7 -0
- package/src/confluence-client/models/ReferenceVersion.ts +7 -0
- package/src/confluence-client/models/RelevantViewRestrictions.ts +10 -0
- package/src/confluence-client/models/ResourceType.ts +7 -0
- package/src/confluence-client/models/RestError.ts +7 -0
- package/src/confluence-client/models/RestInvocationHistory.ts +7 -0
- package/src/confluence-client/models/RestListContent.ts +7 -0
- package/src/confluence-client/models/RestListJsonContentProperty.ts +7 -0
- package/src/confluence-client/models/RestListLabel.ts +7 -0
- package/src/confluence-client/models/RestListLongTaskStatus.ts +7 -0
- package/src/confluence-client/models/RestListNodeStatus.ts +7 -0
- package/src/confluence-client/models/RestListUser.ts +7 -0
- package/src/confluence-client/models/RestWebhook.ts +7 -0
- package/src/confluence-client/models/RestWebhookCredentials.ts +7 -0
- package/src/confluence-client/models/Restrictions.ts +7 -0
- package/src/confluence-client/models/SearchPageResponseSearchResult.ts +21 -0
- package/src/confluence-client/models/SearchResult.ts +7 -0
- package/src/confluence-client/models/ServerInformation.ts +7 -0
- package/src/confluence-client/models/SiteBackupJobDetails.ts +7 -0
- package/src/confluence-client/models/SiteBackupSettings.ts +7 -0
- package/src/confluence-client/models/SiteRestoreJobDetails.ts +7 -0
- package/src/confluence-client/models/SiteRestoreSettings.ts +7 -0
- package/src/confluence-client/models/Space.ts +7 -0
- package/src/confluence-client/models/SpaceBackupJobDetails.ts +7 -0
- package/src/confluence-client/models/SpaceBackupSettings.ts +7 -0
- package/src/confluence-client/models/SpaceColorSchemeTypeModel.ts +7 -0
- package/src/confluence-client/models/SpacePermission.ts +14 -0
- package/src/confluence-client/models/SpacePermissionsForSubject.ts +12 -0
- package/src/confluence-client/models/SpaceRestoreJobDetails.ts +7 -0
- package/src/confluence-client/models/SpaceRestoreSettings.ts +7 -0
- package/src/confluence-client/models/SpaceSearchResult.ts +7 -0
- package/src/confluence-client/models/SpaceWatch.ts +7 -0
- package/src/confluence-client/models/Subject.ts +7 -0
- package/src/confluence-client/models/SuperBatchWebResources.ts +7 -0
- package/src/confluence-client/models/UnknownUser.ts +7 -0
- package/src/confluence-client/models/User.ts +7 -0
- package/src/confluence-client/models/UserDetailsForCreation.ts +12 -0
- package/src/confluence-client/models/UserDetailsForUpdate.ts +10 -0
- package/src/confluence-client/models/UserKey.ts +7 -0
- package/src/confluence-client/models/UserSearchResult.ts +7 -0
- package/src/confluence-client/models/ValidationResult.ts +7 -0
- package/src/confluence-client/models/Version.ts +7 -0
- package/src/confluence-client/models/WebResourceDependencies.ts +7 -0
- package/src/confluence-client/models/Webhook.ts +7 -0
- package/src/confluence-client/models/WebhookCredentials.ts +7 -0
- package/src/confluence-client/models/WebhookEvent.ts +7 -0
- package/src/confluence-client/models/WebhookScope.ts +7 -0
- package/src/confluence-client/services/AccessModeService.ts +23 -0
- package/src/confluence-client/services/AdminGroupService.ts +57 -0
- package/src/confluence-client/services/AdminSpaceService.ts +45 -0
- package/src/confluence-client/services/AdminUserService.ts +206 -0
- package/src/confluence-client/services/AdminUsersService.ts +67 -0
- package/src/confluence-client/services/AttachmentsService.ts +287 -0
- package/src/confluence-client/services/BackupAndRestoreService.ts +320 -0
- package/src/confluence-client/services/CategoryService.ts +70 -0
- package/src/confluence-client/services/ChildContentService.ts +175 -0
- package/src/confluence-client/services/ClusterInformationService.ts +53 -0
- package/src/confluence-client/services/ContentBlueprintService.ts +74 -0
- package/src/confluence-client/services/ContentBodyService.ts +49 -0
- package/src/confluence-client/services/ContentDescendantService.ts +119 -0
- package/src/confluence-client/services/ContentLabelsService.ts +151 -0
- package/src/confluence-client/services/ContentPropertyService.ts +205 -0
- package/src/confluence-client/services/ContentResourceService.ts +528 -0
- package/src/confluence-client/services/ContentRestrictionsService.ts +176 -0
- package/src/confluence-client/services/ContentVersionService.ts +37 -0
- package/src/confluence-client/services/ContentWatchersService.ts +57 -0
- package/src/confluence-client/services/DefaultService.ts +22 -0
- package/src/confluence-client/services/GlobalColorSchemeService.ts +80 -0
- package/src/confluence-client/services/GlobalPermissionsService.ts +492 -0
- package/src/confluence-client/services/GroupService.ts +169 -0
- package/src/confluence-client/services/InstanceMetricsService.ts +28 -0
- package/src/confluence-client/services/LabelService.ts +200 -0
- package/src/confluence-client/services/LongTaskService.ts +75 -0
- package/src/confluence-client/services/SearchService.ts +74 -0
- package/src/confluence-client/services/ServerInformationService.ts +27 -0
- package/src/confluence-client/services/SpaceColorSchemeService.ts +143 -0
- package/src/confluence-client/services/SpaceLabelService.ts +200 -0
- package/src/confluence-client/services/SpacePermissionsService.ts +465 -0
- package/src/confluence-client/services/SpacePropertyService.ts +217 -0
- package/src/confluence-client/services/SpaceService.ts +458 -0
- package/src/confluence-client/services/SpaceWatchersService.ts +56 -0
- package/src/confluence-client/services/UserGroupService.ts +57 -0
- package/src/confluence-client/services/UserService.ts +257 -0
- package/src/confluence-client/services/UserWatchService.ts +235 -0
- package/src/confluence-client/services/WebhooksService.ts +258 -0
- package/src/confluence-service.ts +65 -70
- package/src/index.ts +13 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class BackupAndRestoreService {
|
|
4
|
+
/**
|
|
5
|
+
* Cancel all queued jobs
|
|
6
|
+
* Cancels all queued jobs. Does not affect jobs that are being processed at the moment.
|
|
7
|
+
* @returns any Returns the number of cancelled jobs. If no jobs were cancelled, 0 is returned.
|
|
8
|
+
* Example response: `1`
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static cancelAllQueuedJobs() {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'PUT',
|
|
14
|
+
url: '/rest/api/backup-restore/jobs/clear-queue',
|
|
15
|
+
errors: {
|
|
16
|
+
403: `Returned if user doesn't have permission to cancel jobs`,
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Cancel job
|
|
22
|
+
* Cancels the job. If the job is already cancelled or failed, the method will do nothing.
|
|
23
|
+
* @param jobId id of the backup/restore job
|
|
24
|
+
* @returns JobDetails Returns a JSON representation of the cancelled job.
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static cancelJob(jobId) {
|
|
28
|
+
return __request(OpenAPI, {
|
|
29
|
+
method: 'PUT',
|
|
30
|
+
url: '/rest/api/backup-restore/jobs/{jobId}/cancel',
|
|
31
|
+
path: {
|
|
32
|
+
'jobId': jobId,
|
|
33
|
+
},
|
|
34
|
+
errors: {
|
|
35
|
+
404: `Returned if job not found or user doesn't have permission to cancel it`,
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Create site backup job
|
|
41
|
+
* Starts the new site backup job.
|
|
42
|
+
* @param requestBody Site backup settings
|
|
43
|
+
* @returns SiteBackupJobDetails Returns a JSON representation of the site backup job details.
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static createSiteBackupJob(requestBody) {
|
|
47
|
+
return __request(OpenAPI, {
|
|
48
|
+
method: 'POST',
|
|
49
|
+
url: '/rest/api/backup-restore/backup/site',
|
|
50
|
+
body: requestBody,
|
|
51
|
+
mediaType: 'application/json',
|
|
52
|
+
errors: {
|
|
53
|
+
400: ` Returned if invalid settings provided`,
|
|
54
|
+
409: `Returned if user doesn't have permission to create site backups`,
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create site restore job
|
|
60
|
+
* Starts the new site restore job.
|
|
61
|
+
* @param requestBody space restore settings
|
|
62
|
+
* @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job.
|
|
63
|
+
* @throws ApiError
|
|
64
|
+
*/
|
|
65
|
+
static createSiteRestoreJob(requestBody) {
|
|
66
|
+
return __request(OpenAPI, {
|
|
67
|
+
method: 'POST',
|
|
68
|
+
url: '/rest/api/backup-restore/restore/site',
|
|
69
|
+
body: requestBody,
|
|
70
|
+
mediaType: 'application/json',
|
|
71
|
+
errors: {
|
|
72
|
+
400: ` Returned if invalid filename provided`,
|
|
73
|
+
403: `Returned if user doesn't have permission to restore site`,
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Create site restore job for upload backup file
|
|
79
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
|
|
80
|
+
*
|
|
81
|
+
* Most client libraries have classes that make dealing with multipart posts simple.
|
|
82
|
+
*
|
|
83
|
+
* For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
|
|
84
|
+
*
|
|
85
|
+
* In order to protect against XSRF attacks, because this method accepts multipart/form-data, it has XSRF protection on it. This means you must submit a header of X-Atlassian-Token: nocheck with the request, otherwise it will be blocked.
|
|
86
|
+
*
|
|
87
|
+
* The name of the multipart/form-data parameter that contains attachments must be "file".
|
|
88
|
+
*
|
|
89
|
+
* An example to attach the file:
|
|
90
|
+
*
|
|
91
|
+
* curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" -F file=@myfile.zip http://myhost/rest/api/backup-restore/restore/space/upload
|
|
92
|
+
*
|
|
93
|
+
* .
|
|
94
|
+
* @param formData Backup file to be uploaded. Has to be a zip file.
|
|
95
|
+
* @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job details.
|
|
96
|
+
* @throws ApiError
|
|
97
|
+
*/
|
|
98
|
+
static createSiteRestoreJobForUploadedBackupFile(formData) {
|
|
99
|
+
return __request(OpenAPI, {
|
|
100
|
+
method: 'POST',
|
|
101
|
+
url: '/rest/api/backup-restore/restore/site/upload',
|
|
102
|
+
formData: formData,
|
|
103
|
+
mediaType: 'multipart/form-data',
|
|
104
|
+
errors: {
|
|
105
|
+
400: ` Returned if the uploaded file is not a zip file`,
|
|
106
|
+
403: ` Returned if user doesn't have permission to restore space`,
|
|
107
|
+
},
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Create space backup job
|
|
112
|
+
* Creates new space backup job and adds it to the queue.
|
|
113
|
+
* @param requestBody Space backup settings
|
|
114
|
+
* @returns SpaceBackupJobDetails Returns a JSON representation of the space backup job
|
|
115
|
+
* @throws ApiError
|
|
116
|
+
*/
|
|
117
|
+
static createSpaceBackupJob(requestBody) {
|
|
118
|
+
return __request(OpenAPI, {
|
|
119
|
+
method: 'POST',
|
|
120
|
+
url: '/rest/api/backup-restore/backup/space',
|
|
121
|
+
body: requestBody,
|
|
122
|
+
mediaType: 'application/json',
|
|
123
|
+
errors: {
|
|
124
|
+
400: `Returned if invalid settings provided`,
|
|
125
|
+
403: `Returned if user doesn't have permission to create space backups`,
|
|
126
|
+
409: `Returned if backup with the same spaces selected is already in PROGRESS or QUEUED`,
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Create space restore job
|
|
132
|
+
* Creates new space restore job and adds it to the queue.
|
|
133
|
+
* @param requestBody space restore settings
|
|
134
|
+
* @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job.
|
|
135
|
+
* @throws ApiError
|
|
136
|
+
*/
|
|
137
|
+
static createSpaceRestoreJob(requestBody) {
|
|
138
|
+
return __request(OpenAPI, {
|
|
139
|
+
method: 'POST',
|
|
140
|
+
url: '/rest/api/backup-restore/restore/space',
|
|
141
|
+
body: requestBody,
|
|
142
|
+
mediaType: 'application/json',
|
|
143
|
+
errors: {
|
|
144
|
+
400: ` Returned if invalid filename provided`,
|
|
145
|
+
403: `Returned if user doesn't have permission to restore spaces`,
|
|
146
|
+
},
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Create space restore job for upload backup file
|
|
151
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
|
|
152
|
+
*
|
|
153
|
+
* Most client libraries have classes that make dealing with multipart posts simple.
|
|
154
|
+
*
|
|
155
|
+
* For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
|
|
156
|
+
*
|
|
157
|
+
* In order to protect against XSRF attacks, because this method accepts multipart/form-data, it has XSRF protection on it. This means you must submit a header of X-Atlassian-Token: nocheck with the request, otherwise it will be blocked.
|
|
158
|
+
*
|
|
159
|
+
* The name of the multipart/form-data parameter that contains attachments must be "file".
|
|
160
|
+
*
|
|
161
|
+
* An example to attach the file:
|
|
162
|
+
*
|
|
163
|
+
* curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" -F file=@myfile.zip http://myhost/rest/api/backup-restore/restore/space/upload
|
|
164
|
+
*
|
|
165
|
+
* .
|
|
166
|
+
* @param formData backup file uploaded. Has to be a zip file.
|
|
167
|
+
* @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job details.
|
|
168
|
+
* @throws ApiError
|
|
169
|
+
*/
|
|
170
|
+
static createSpaceRestoreJobForUploadedBackupFile(formData) {
|
|
171
|
+
return __request(OpenAPI, {
|
|
172
|
+
method: 'POST',
|
|
173
|
+
url: '/rest/api/backup-restore/restore/space/upload',
|
|
174
|
+
formData: formData,
|
|
175
|
+
mediaType: 'multipart/form-data',
|
|
176
|
+
errors: {
|
|
177
|
+
400: ` Returned if the uploaded file is not a zip file`,
|
|
178
|
+
403: ` Returned if user doesn't have permission to restore space`,
|
|
179
|
+
},
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Download backup file
|
|
184
|
+
* Downloads the backup file for the given job. Requires site admin or space export permissions for all spaces included in the backup job.
|
|
185
|
+
* @param jobId id of the backup/restore job
|
|
186
|
+
* @returns JobDetails Returns a data stream of the backup file content.
|
|
187
|
+
* @throws ApiError
|
|
188
|
+
*/
|
|
189
|
+
static downloadBackupFile(jobId) {
|
|
190
|
+
return __request(OpenAPI, {
|
|
191
|
+
method: 'GET',
|
|
192
|
+
url: '/rest/api/backup-restore/jobs/{jobId}/download',
|
|
193
|
+
path: {
|
|
194
|
+
'jobId': jobId,
|
|
195
|
+
},
|
|
196
|
+
errors: {
|
|
197
|
+
404: `Returned if job not found or user doesn't have permissions for the job or the file is missing`,
|
|
198
|
+
},
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Find jobs by filters
|
|
203
|
+
* Returns jobs based on the filters provided. The user must have permission to see the jobs.
|
|
204
|
+
* @param owner userName of user who had created a job.
|
|
205
|
+
* @param spaceKey the key of the Space the User is attempting to view.
|
|
206
|
+
* @param fromDate minimum job creation date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
|
|
207
|
+
* @param jobStates list of job states. Acceptable values: "QUEUED", "PROCESSING", "FINISHED", "CANCELLING", "CANCELLED", "FAILED"
|
|
208
|
+
* @param toDate maximum job create date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
|
|
209
|
+
* @param jobOperation job operation. Acceptable values: "BACKUP" and "RESTORE"
|
|
210
|
+
* @param limit amount of jobs that should be returned
|
|
211
|
+
* @param jobScope scope of the job. Acceptable values: "SPACE" and "SITE"
|
|
212
|
+
* @returns JobDetails Returns the List of backup/restore jobs visible to user based on the filter provided and the user's permissions.
|
|
213
|
+
* @throws ApiError
|
|
214
|
+
*/
|
|
215
|
+
static findJobs(owner, spaceKey, fromDate, jobStates, toDate, jobOperation, limit, jobScope) {
|
|
216
|
+
return __request(OpenAPI, {
|
|
217
|
+
method: 'GET',
|
|
218
|
+
url: '/rest/api/backup-restore/jobs',
|
|
219
|
+
query: {
|
|
220
|
+
'owner': owner,
|
|
221
|
+
'spaceKey': spaceKey,
|
|
222
|
+
'fromDate': fromDate,
|
|
223
|
+
'jobStates': jobStates,
|
|
224
|
+
'toDate': toDate,
|
|
225
|
+
'jobOperation': jobOperation,
|
|
226
|
+
'limit': limit,
|
|
227
|
+
'jobScope': jobScope,
|
|
228
|
+
},
|
|
229
|
+
errors: {
|
|
230
|
+
400: `Returned if invalid filter parameters were passed`,
|
|
231
|
+
},
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Get files in restore directory
|
|
236
|
+
* returns list of information on files in conf-home/restore/(jobScope).
|
|
237
|
+
* @param jobScope name of type of restore job (SITE or SPACE or null), if null, all backup files are listed
|
|
238
|
+
* @returns FileInfo Returns a list of FileInfo objects, containing fileName, fileCreationTime, fileSize, and jobScope.
|
|
239
|
+
* @throws ApiError
|
|
240
|
+
*/
|
|
241
|
+
static getFiles(jobScope) {
|
|
242
|
+
return __request(OpenAPI, {
|
|
243
|
+
method: 'GET',
|
|
244
|
+
url: '/rest/api/backup-restore/restore/files',
|
|
245
|
+
query: {
|
|
246
|
+
'jobScope': jobScope,
|
|
247
|
+
},
|
|
248
|
+
errors: {
|
|
249
|
+
400: `Returned if user is not a system administrator`,
|
|
250
|
+
},
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Get job by ID
|
|
255
|
+
* Get job by id. The user must be a sysadmin or the owner of the job.
|
|
256
|
+
* @param jobId id of the backup/restore job
|
|
257
|
+
* @returns JobDetails Returns a JSON representation of the backup/restore job
|
|
258
|
+
* @throws ApiError
|
|
259
|
+
*/
|
|
260
|
+
static getJob(jobId) {
|
|
261
|
+
return __request(OpenAPI, {
|
|
262
|
+
method: 'GET',
|
|
263
|
+
url: '/rest/api/backup-restore/jobs/{jobId}',
|
|
264
|
+
path: {
|
|
265
|
+
'jobId': jobId,
|
|
266
|
+
},
|
|
267
|
+
errors: {
|
|
268
|
+
400: ` Returned if jobId is null`,
|
|
269
|
+
403: ` Returned if job not found or user doesn't have permission to see it`,
|
|
270
|
+
},
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
//# sourceMappingURL=BackupAndRestoreService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackupAndRestoreService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/BackupAndRestoreService.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,uBAAuB;IAChC;;;;;;OAMG;IACI,MAAM,CAAC,mBAAmB;QAC7B,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2CA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js';
|
|
2
|
+
export declare class CategoryService {
|
|
3
|
+
/**
|
|
4
|
+
* Add a category to a space
|
|
5
|
+
* Adds a category the description of a given {@link Space} identified by spaceKey.
|
|
6
|
+
*
|
|
7
|
+
* Example request URI to add space category 'testCategory' to space with space key TEST:
|
|
8
|
+
*
|
|
9
|
+
* `https://example.com/confluence/rest/api/space/TEST/category/testCategory`
|
|
10
|
+
* @param spaceKey a string containing the key of the space
|
|
11
|
+
* @param labelName the name of the label to be added (do not include any prefix, team: prefix assumed)
|
|
12
|
+
* @returns void
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static add(spaceKey: string, labelName: string): CancelablePromise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Remove a category from a space
|
|
18
|
+
* Removes a category from a space, identified by spaceKey.
|
|
19
|
+
*
|
|
20
|
+
* Example request URI:
|
|
21
|
+
* `https://example.com/confluence/rest/api/space/TEST/category/example-category`
|
|
22
|
+
* @param spaceKey The key of the space to remove the category from
|
|
23
|
+
* @param categoryName The name of the category to remove
|
|
24
|
+
* @returns void
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static removeCategory(spaceKey: string, categoryName: string): CancelablePromise<void>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=CategoryService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/CategoryService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,eAAe;IACxB;;;;;;;;;;;OAWG;WACW,GAAG,CACb,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAClB,iBAAiB,CAAC,IAAI,CAAC;IAe1B;;;;;;;;;;OAUG;WACW,cAAc,CACxB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,iBAAiB,CAAC,IAAI,CAAC;CAe7B"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class CategoryService {
|
|
4
|
+
/**
|
|
5
|
+
* Add a category to a space
|
|
6
|
+
* Adds a category the description of a given {@link Space} identified by spaceKey.
|
|
7
|
+
*
|
|
8
|
+
* Example request URI to add space category 'testCategory' to space with space key TEST:
|
|
9
|
+
*
|
|
10
|
+
* `https://example.com/confluence/rest/api/space/TEST/category/testCategory`
|
|
11
|
+
* @param spaceKey a string containing the key of the space
|
|
12
|
+
* @param labelName the name of the label to be added (do not include any prefix, team: prefix assumed)
|
|
13
|
+
* @returns void
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
static add(spaceKey, labelName) {
|
|
17
|
+
return __request(OpenAPI, {
|
|
18
|
+
method: 'POST',
|
|
19
|
+
url: '/rest/api/space/{spaceKey}/category/{labelName}',
|
|
20
|
+
path: {
|
|
21
|
+
'spaceKey': spaceKey,
|
|
22
|
+
'labelName': labelName,
|
|
23
|
+
},
|
|
24
|
+
errors: {
|
|
25
|
+
401: `Returned if the calling user is not authenticated.`,
|
|
26
|
+
403: `If the calling user does not have permission to add any label to the given space.`,
|
|
27
|
+
404: `Returned if there is no space with the given spaceKey.`,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Remove a category from a space
|
|
33
|
+
* Removes a category from a space, identified by spaceKey.
|
|
34
|
+
*
|
|
35
|
+
* Example request URI:
|
|
36
|
+
* `https://example.com/confluence/rest/api/space/TEST/category/example-category`
|
|
37
|
+
* @param spaceKey The key of the space to remove the category from
|
|
38
|
+
* @param categoryName The name of the category to remove
|
|
39
|
+
* @returns void
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
static removeCategory(spaceKey, categoryName) {
|
|
43
|
+
return __request(OpenAPI, {
|
|
44
|
+
method: 'DELETE',
|
|
45
|
+
url: '/rest/api/space/{spaceKey}/category/{categoryName}',
|
|
46
|
+
path: {
|
|
47
|
+
'spaceKey': spaceKey,
|
|
48
|
+
'categoryName': categoryName,
|
|
49
|
+
},
|
|
50
|
+
errors: {
|
|
51
|
+
401: `Returned if the calling user is not authenticated.`,
|
|
52
|
+
403: `Returned if the calling user does not have permission to edit the Space.`,
|
|
53
|
+
404: `Returned if there is no space with the given key`,
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=CategoryService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/CategoryService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,eAAe;IACxB;;;;;;;;;;;OAWG;IACI,MAAM,CAAC,GAAG,CACb,QAAgB,EAChB,SAAiB;QAEjB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,iDAAiD;YACtD,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,SAAS;aACzB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,oDAAoD;gBACzD,GAAG,EAAE,mFAAmF;gBACxF,GAAG,EAAE,wDAAwD;aAChE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;OAUG;IACI,MAAM,CAAC,cAAc,CACxB,QAAgB,EAChB,YAAoB;QAEpB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,oDAAoD;YACzD,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;gBACpB,cAAc,EAAE,YAAY;aAC/B;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,oDAAoD;gBACzD,GAAG,EAAE,0EAA0E;gBAC/E,GAAG,EAAE,kDAAkD;aAC1D;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { Content } from '../models/Content.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class ChildContentService {
|
|
4
|
+
/**
|
|
5
|
+
* Get children of content
|
|
6
|
+
* Returns a map of the direct children of a piece of Content. Content can have multiple types of children. For example, a Page can have children that are also Pages, but it can also have Comments and Attachments.
|
|
7
|
+
*
|
|
8
|
+
* The types of the children returned is specified by the `expand` query parameter in the request. This parameter can include expands for multiple child types. If no types are included in the `expand` parameter, the map returned will just list the child types that are available to be expanded for the content referenced by the `id` path parameter.
|
|
9
|
+
* @param id The id of the content to retrieve children for
|
|
10
|
+
* @param expand a comma separated list of properties to expand on the children
|
|
11
|
+
* @param limit how many items should be returned after the start index
|
|
12
|
+
* @param start the index of the first item within the result set that should be returned
|
|
13
|
+
* @param parentVersion
|
|
14
|
+
* @returns any Returned if the children are successfully retrieved. The response body contains a JSON map representing multiple ordered collections of content children, keyed by content type.
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static children(id: string, expand?: string, limit?: string, start?: string, parentVersion?: number): CancelablePromise<{
|
|
18
|
+
results?: Array<Content>;
|
|
19
|
+
totalCount?: number;
|
|
20
|
+
start?: number;
|
|
21
|
+
limit?: number;
|
|
22
|
+
size?: number;
|
|
23
|
+
_links?: {
|
|
24
|
+
base?: string;
|
|
25
|
+
context?: string;
|
|
26
|
+
self?: string;
|
|
27
|
+
next?: string;
|
|
28
|
+
prev?: string;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
/**
|
|
32
|
+
* Get children of content by type
|
|
33
|
+
* Returns the direct children of a piece of Content, limited to a single child type.The types of the children returned is specified by the "type" path parameter in the request.
|
|
34
|
+
* @param id The id of the content to retrieve children for
|
|
35
|
+
* @param type a content type to filter children on.
|
|
36
|
+
* @param expand a comma separated list of properties to expand on the children
|
|
37
|
+
* @param limit how many items should be returned after the start index
|
|
38
|
+
* @param start the index of the first item within the result set that should be returned
|
|
39
|
+
* @param parentVersion
|
|
40
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
static childrenOfType(id: string, type: string, expand?: string, limit?: string, start?: string, parentVersion?: number): CancelablePromise<{
|
|
44
|
+
results?: Array<Content>;
|
|
45
|
+
totalCount?: number;
|
|
46
|
+
start?: number;
|
|
47
|
+
limit?: number;
|
|
48
|
+
size?: number;
|
|
49
|
+
_links?: {
|
|
50
|
+
base?: string;
|
|
51
|
+
context?: string;
|
|
52
|
+
self?: string;
|
|
53
|
+
next?: string;
|
|
54
|
+
prev?: string;
|
|
55
|
+
};
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Get comments of content
|
|
59
|
+
* Returns the comments of a piece of Content. Example request URI(s):
|
|
60
|
+
*
|
|
61
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment`
|
|
62
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=body.view`
|
|
63
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?start=20&limit=10`
|
|
64
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?location=footer&location=inline&location=resolved`
|
|
65
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=extensions.inlineProperties,extensions.resolution`
|
|
66
|
+
* @param id The id of the content to retrieve children for
|
|
67
|
+
* @param expand a comma separated list of properties to expand on the children
|
|
68
|
+
* @param depth (optional, default: "") the depth of the comments. Possible values are: "" (ROOT only), "all"
|
|
69
|
+
* @param limit how many items should be returned after the start index
|
|
70
|
+
* @param start the index of the first item within the result set that should be returned
|
|
71
|
+
* @param location (optional, default: "" means all) the location of the comments. Possible values are: "inline", "footer", "resolved".
|
|
72
|
+
* You can define multiple location params. The results will be the comments matched by any location.
|
|
73
|
+
* @param parentVersion
|
|
74
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static commentsOfContent(id: string, expand?: string, depth?: string, limit?: string, start?: string, location?: string, parentVersion?: number): CancelablePromise<{
|
|
78
|
+
results?: Array<Content>;
|
|
79
|
+
totalCount?: number;
|
|
80
|
+
start?: number;
|
|
81
|
+
limit?: number;
|
|
82
|
+
size?: number;
|
|
83
|
+
_links?: {
|
|
84
|
+
base?: string;
|
|
85
|
+
context?: string;
|
|
86
|
+
self?: string;
|
|
87
|
+
next?: string;
|
|
88
|
+
prev?: string;
|
|
89
|
+
};
|
|
90
|
+
}>;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=ChildContentService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChildContentService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ChildContentService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,mBAAmB;IAC5B;;;;;;;;;;;;OAYG;WACW,QAAQ,CAClB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,aAAa,CAAC,EAAE,MAAM,GACvB,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAA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M,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE;YACL,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;CAqBL"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ChildContentService {
|
|
4
|
+
/**
|
|
5
|
+
* Get children of content
|
|
6
|
+
* Returns a map of the direct children of a piece of Content. Content can have multiple types of children. For example, a Page can have children that are also Pages, but it can also have Comments and Attachments.
|
|
7
|
+
*
|
|
8
|
+
* The types of the children returned is specified by the `expand` query parameter in the request. This parameter can include expands for multiple child types. If no types are included in the `expand` parameter, the map returned will just list the child types that are available to be expanded for the content referenced by the `id` path parameter.
|
|
9
|
+
* @param id The id of the content to retrieve children for
|
|
10
|
+
* @param expand a comma separated list of properties to expand on the children
|
|
11
|
+
* @param limit how many items should be returned after the start index
|
|
12
|
+
* @param start the index of the first item within the result set that should be returned
|
|
13
|
+
* @param parentVersion
|
|
14
|
+
* @returns any Returned if the children are successfully retrieved. The response body contains a JSON map representing multiple ordered collections of content children, keyed by content type.
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static children(id, expand, limit, start, parentVersion) {
|
|
18
|
+
return __request(OpenAPI, {
|
|
19
|
+
method: 'GET',
|
|
20
|
+
url: '/rest/api/content/{id}/child',
|
|
21
|
+
path: {
|
|
22
|
+
'id': id,
|
|
23
|
+
},
|
|
24
|
+
query: {
|
|
25
|
+
'expand': expand,
|
|
26
|
+
'limit': limit,
|
|
27
|
+
'start': start,
|
|
28
|
+
'parentVersion': parentVersion,
|
|
29
|
+
},
|
|
30
|
+
errors: {
|
|
31
|
+
404: ` Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get children of content by type
|
|
37
|
+
* Returns the direct children of a piece of Content, limited to a single child type.The types of the children returned is specified by the "type" path parameter in the request.
|
|
38
|
+
* @param id The id of the content to retrieve children for
|
|
39
|
+
* @param type a content type to filter children on.
|
|
40
|
+
* @param expand a comma separated list of properties to expand on the children
|
|
41
|
+
* @param limit how many items should be returned after the start index
|
|
42
|
+
* @param start the index of the first item within the result set that should be returned
|
|
43
|
+
* @param parentVersion
|
|
44
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static childrenOfType(id, type, expand, limit, start, parentVersion) {
|
|
48
|
+
return __request(OpenAPI, {
|
|
49
|
+
method: 'GET',
|
|
50
|
+
url: '/rest/api/content/{id}/child/{type}',
|
|
51
|
+
path: {
|
|
52
|
+
'id': id,
|
|
53
|
+
'type': type,
|
|
54
|
+
},
|
|
55
|
+
query: {
|
|
56
|
+
'expand': expand,
|
|
57
|
+
'limit': limit,
|
|
58
|
+
'start': start,
|
|
59
|
+
'parentVersion': parentVersion,
|
|
60
|
+
},
|
|
61
|
+
errors: {
|
|
62
|
+
404: ` Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get comments of content
|
|
68
|
+
* Returns the comments of a piece of Content. Example request URI(s):
|
|
69
|
+
*
|
|
70
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment`
|
|
71
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=body.view`
|
|
72
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?start=20&limit=10`
|
|
73
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?location=footer&location=inline&location=resolved`
|
|
74
|
+
* - `http://example.com/confluence/rest/api/content/1234/child/comment?expand=extensions.inlineProperties,extensions.resolution`
|
|
75
|
+
* @param id The id of the content to retrieve children for
|
|
76
|
+
* @param expand a comma separated list of properties to expand on the children
|
|
77
|
+
* @param depth (optional, default: "") the depth of the comments. Possible values are: "" (ROOT only), "all"
|
|
78
|
+
* @param limit how many items should be returned after the start index
|
|
79
|
+
* @param start the index of the first item within the result set that should be returned
|
|
80
|
+
* @param location (optional, default: "" means all) the location of the comments. Possible values are: "inline", "footer", "resolved".
|
|
81
|
+
* You can define multiple location params. The results will be the comments matched by any location.
|
|
82
|
+
* @param parentVersion
|
|
83
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content children, keyed by content type
|
|
84
|
+
* @throws ApiError
|
|
85
|
+
*/
|
|
86
|
+
static commentsOfContent(id, expand, depth, limit, start, location, parentVersion) {
|
|
87
|
+
return __request(OpenAPI, {
|
|
88
|
+
method: 'GET',
|
|
89
|
+
url: '/rest/api/content/{id}/child/comment',
|
|
90
|
+
path: {
|
|
91
|
+
'id': id,
|
|
92
|
+
},
|
|
93
|
+
query: {
|
|
94
|
+
'expand': expand,
|
|
95
|
+
'depth': depth,
|
|
96
|
+
'limit': limit,
|
|
97
|
+
'start': start,
|
|
98
|
+
'location': location,
|
|
99
|
+
'parentVersion': parentVersion,
|
|
100
|
+
},
|
|
101
|
+
errors: {
|
|
102
|
+
404: `Returned if there is no content with the given id, or if the calling user does not have permission to
|
|
103
|
+
view the content.`,
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=ChildContentService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChildContentService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/ChildContentService.ts"],"names":[],"m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AAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sCAAsC;YAC3C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,QAAQ;gBACpB,eAAe,EAAE,aAAa;aACjC;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE;kCACa;aACrB;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { NodeStatus } from '../models/NodeStatus.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class ClusterInformationService {
|
|
4
|
+
/**
|
|
5
|
+
* Get node statuses in a cluster
|
|
6
|
+
* Returns a paginated list of information about each node in a cluster. Example request URI(s):
|
|
7
|
+
* - `https://example.com/confluence/rest/api/cluster/nodes`
|
|
8
|
+
* - `https://example.com/confluence/rest/api/cluster/nodes?start=0&limit=10`
|
|
9
|
+
*
|
|
10
|
+
* @param limit The limit of the number of node statuses to return, this may be restricted by fixed system limit.
|
|
11
|
+
* @param start The start point of the collection to return.
|
|
12
|
+
* @returns any Return a list of nodes and their status.
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static getClusterNodeStatuses(limit?: string, start?: string): CancelablePromise<{
|
|
16
|
+
results?: Array<NodeStatus>;
|
|
17
|
+
totalCount?: number;
|
|
18
|
+
start?: number;
|
|
19
|
+
limit?: number;
|
|
20
|
+
size?: number;
|
|
21
|
+
_links?: {
|
|
22
|
+
base?: string;
|
|
23
|
+
context?: string;
|
|
24
|
+
self?: string;
|
|
25
|
+
next?: string;
|
|
26
|
+
prev?: string;
|
|
27
|
+
};
|
|
28
|
+
}>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=ClusterInformationService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterInformationService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ClusterInformationService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,yBAAyB;IAClC;;;;;;;;;;OAUG;WACW,sBAAsB,CAChC,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACf,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE;YACL,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;CAcL"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ClusterInformationService {
|
|
4
|
+
/**
|
|
5
|
+
* Get node statuses in a cluster
|
|
6
|
+
* Returns a paginated list of information about each node in a cluster. Example request URI(s):
|
|
7
|
+
* - `https://example.com/confluence/rest/api/cluster/nodes`
|
|
8
|
+
* - `https://example.com/confluence/rest/api/cluster/nodes?start=0&limit=10`
|
|
9
|
+
*
|
|
10
|
+
* @param limit The limit of the number of node statuses to return, this may be restricted by fixed system limit.
|
|
11
|
+
* @param start The start point of the collection to return.
|
|
12
|
+
* @returns any Return a list of nodes and their status.
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static getClusterNodeStatuses(limit, start) {
|
|
16
|
+
return __request(OpenAPI, {
|
|
17
|
+
method: 'GET',
|
|
18
|
+
url: '/rest/api/cluster/nodes',
|
|
19
|
+
query: {
|
|
20
|
+
'limit': limit,
|
|
21
|
+
'start': start,
|
|
22
|
+
},
|
|
23
|
+
errors: {
|
|
24
|
+
401: `Returned if user has not been authenticated.`,
|
|
25
|
+
403: `Returned if user does not have permission to view cluster information.`,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=ClusterInformationService.js.map
|