@atlassian-dc-mcp/confluence 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/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,43 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AdminUsersService {
|
|
4
|
+
/**
|
|
5
|
+
* Get active users
|
|
6
|
+
* Gets a paginated collection of all active users (users which count into license usage).
|
|
7
|
+
* This will exclude users that are:
|
|
8
|
+
* - anonymous,
|
|
9
|
+
* - deactivated,
|
|
10
|
+
* - externally deleted,
|
|
11
|
+
* - shadowed
|
|
12
|
+
* - unlicensed
|
|
13
|
+
*
|
|
14
|
+
* This feature relies on search index and might not be accurate when site reindex is in progress.
|
|
15
|
+
*
|
|
16
|
+
* Example request URI(s):
|
|
17
|
+
* `http://example.com/confluence/rest/api/admin/users/list/active`
|
|
18
|
+
* `http://example.com/confluence/rest/api/admin/users/list/active?start=0`
|
|
19
|
+
* `http://example.com/confluence/rest/api/admin/users/list/active?start=0&limit=100`
|
|
20
|
+
* `http://example.com/confluence/rest/api/admin/users/list/active?start=0&limit=100&expand=status`
|
|
21
|
+
*
|
|
22
|
+
* @param expand properties to expand on the user.
|
|
23
|
+
* @param limit the limit of the number of users to return, this may be restricted by fixed system limits.
|
|
24
|
+
* @param start the start point of the collection to return. This must be non-negative. Default value is 0.
|
|
25
|
+
* @returns any returns a paginated collection of users.
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static getActiveUsers(expand, limit, start) {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'GET',
|
|
31
|
+
url: '/rest/api/admin/users/list/active',
|
|
32
|
+
query: {
|
|
33
|
+
'expand': expand,
|
|
34
|
+
'limit': limit,
|
|
35
|
+
'start': start,
|
|
36
|
+
},
|
|
37
|
+
errors: {
|
|
38
|
+
403: `Returned if the calling user does not have permission to view users. This is possible for anonymous or un-licensed users.`,
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=AdminUsersService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminUsersService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/AdminUsersService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,iBAAiB;IAC1B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACI,MAAM,CAAC,cAAc,CACxB,MAAe,EACf,KAAc,EACd,KAAc;QAed,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,2HAA2H;aACnI;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { Content } from '../models/Content.js';
|
|
2
|
+
import type { MockAttachmentRequest } from '../models/MockAttachmentRequest.js';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
export declare class AttachmentsService {
|
|
5
|
+
/**
|
|
6
|
+
* Get attachment
|
|
7
|
+
* Returns a paginated list of attachment Content entities within a single container.
|
|
8
|
+
* @param id The id of the content the attachment is on.
|
|
9
|
+
* @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
|
|
10
|
+
* @param filename (optional) filter parameter to return only the Attachment with the matching file name.
|
|
11
|
+
* @param limit (optional) how many items should be returned after the start index.
|
|
12
|
+
* @param start (optional) the index of the first item within the result set that should be returned.
|
|
13
|
+
* @param mediaType (optional) a comma separated list of properties to expand on the Attachments returned.
|
|
14
|
+
* @returns any Returns a JSON representation of a list of attachment Content entities.
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static getAttachments(id: string, expand?: string, filename?: string, limit?: string, start?: string, mediaType?: string): 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
|
+
* Create attachments
|
|
33
|
+
* Add one or more attachments to a Confluence Content entity, with optional comments.
|
|
34
|
+
*
|
|
35
|
+
* **Comments are optional**, but if included there must be as many comments as there are files, and the comments must be in the same order as the files.
|
|
36
|
+
*
|
|
37
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
|
|
38
|
+
*
|
|
39
|
+
* 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.
|
|
40
|
+
*
|
|
41
|
+
* The name of the multipart/form-data parameter that contains attachments must be 'file'.
|
|
42
|
+
* @param id The id of the content the attachment is on.
|
|
43
|
+
* @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
|
|
44
|
+
* @param allowDuplicated (optional) allows to upload an attachment with an existing filename.
|
|
45
|
+
* @param status a string containing the status of the attachments content container, supports current or draft, defaults to current
|
|
46
|
+
* @param formData The attachments to be added. The name of the multipart/form-data parameter that contains attachments must be 'file'.
|
|
47
|
+
* @returns Content returns a JSON representation of the attachments added.
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static createAttachments(id: string, expand?: string, allowDuplicated?: string, status?: string, formData?: MockAttachmentRequest): CancelablePromise<Content>;
|
|
51
|
+
/**
|
|
52
|
+
* Move attachment
|
|
53
|
+
* Move an attachment to a different content entity object.
|
|
54
|
+
*
|
|
55
|
+
* **When moving the attachment**, the name of the attachment can be updated as well.
|
|
56
|
+
*
|
|
57
|
+
* 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.
|
|
58
|
+
*
|
|
59
|
+
* A simple example to move an attachment with id "456" in a container with id "123" to a container with "789":
|
|
60
|
+
*
|
|
61
|
+
* `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789"`
|
|
62
|
+
*
|
|
63
|
+
* An example to move the same file, while also renaming it to "my-new-name":
|
|
64
|
+
*
|
|
65
|
+
* `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789&newName=my-new-name"`
|
|
66
|
+
*
|
|
67
|
+
* This can also be used to only rename an attachment:
|
|
68
|
+
*
|
|
69
|
+
* `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=123&newName=my-new-name"`
|
|
70
|
+
* @param attachmentId the id of the attachment to upload the new file for.
|
|
71
|
+
* @param id The id of the content the attachment is on.
|
|
72
|
+
* @param newName
|
|
73
|
+
* @param newContentId
|
|
74
|
+
* @returns void
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static move(attachmentId: string, id: string, newName?: string, newContentId?: string): CancelablePromise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Update non-binary data of an Attachment
|
|
80
|
+
* Update the non-binary data of an attachment.This resource can be used to update an attachment's filename, media-type, comment, and parent container.
|
|
81
|
+
* @param attachmentId the id of the attachment to update.
|
|
82
|
+
* @param id The id of the content the attachment is on.
|
|
83
|
+
* @param requestBody
|
|
84
|
+
* @returns Content returns a JSON representation of the attachment after being updated.
|
|
85
|
+
* @throws ApiError
|
|
86
|
+
*/
|
|
87
|
+
static update(attachmentId: string, id: string, requestBody?: Content): CancelablePromise<Content>;
|
|
88
|
+
/**
|
|
89
|
+
* Remove attachment
|
|
90
|
+
* This method will delete the attachment identified by attachmentId.
|
|
91
|
+
*
|
|
92
|
+
* It returns a boolean response indicating whether the operation was successful or not. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
|
|
93
|
+
* @param attachmentId the id of the attachment to be removed.
|
|
94
|
+
* @param id The id of the content the attachment is on.
|
|
95
|
+
* @returns void
|
|
96
|
+
* @throws ApiError
|
|
97
|
+
*/
|
|
98
|
+
static removeAttachment(attachmentId: string, id: string): CancelablePromise<void>;
|
|
99
|
+
/**
|
|
100
|
+
* Remove attachment version
|
|
101
|
+
* This method will delete the specified version of an attachment identified by attachmentId and version.
|
|
102
|
+
*
|
|
103
|
+
* If the operation is successful, it returns a response indicating that no content is returned. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
|
|
104
|
+
* @param attachmentId The id of the attachment to be removed.
|
|
105
|
+
* @param id The id of the content the attachment is on.
|
|
106
|
+
* @param version
|
|
107
|
+
* @returns void
|
|
108
|
+
* @throws ApiError
|
|
109
|
+
*/
|
|
110
|
+
static removeAttachmentVersion(attachmentId: string, id: string, version: number): CancelablePromise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* Update binary data of an attachment
|
|
113
|
+
* Update the binary data of an Attachment, and optionally the comment and the minor edit field.
|
|
114
|
+
*
|
|
115
|
+
* This adds a new version of the attachment, containing the new binary data, filename, and content-type.
|
|
116
|
+
*
|
|
117
|
+
* **When updating the binary data of an attachment**, the comment related to it together with the field that specifies if it's a minor edit can be updated as well, but are not required.
|
|
118
|
+
*
|
|
119
|
+
* If an update is considered to be a minor edit, notifications will not be sent to the watchers of that content.
|
|
120
|
+
*
|
|
121
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
|
|
122
|
+
*
|
|
123
|
+
* 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.
|
|
124
|
+
*
|
|
125
|
+
* The name of the multipart/form-data parameter that contains attachments must be 'file'.
|
|
126
|
+
* @param attachmentId the id of the attachment to upload the new file for.
|
|
127
|
+
* @param id The id of the content the attachment is on.
|
|
128
|
+
* @param formData The attachment to be updated.
|
|
129
|
+
* @returns Content returns JSON representation of the updated attachment.
|
|
130
|
+
* @throws ApiError
|
|
131
|
+
*/
|
|
132
|
+
static updateData(attachmentId: string, id: string, formData?: MockAttachmentRequest): CancelablePromise<Content>;
|
|
133
|
+
}
|
|
134
|
+
//# sourceMappingURL=AttachmentsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentsService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/AttachmentsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,kBAAkB;IAC3B;;;;;;;;;;;OAWG;WACW,cAAc,CACxB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,MAAM,GACnB,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,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;IAmBF;;;;;;;;;;;;;;;;;;OAkBG;WACW,iBAAiB,CAC3B,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,eAAe,CAAC,EAAE,MAAM,EACxB,MAAM,CAAC,EAAE,MAAM,EACf,QAAQ,CAAC,EAAE,qBAAqB,GACjC,iBAAiB,CAAC,OAAO,CAAC;IAoB7B;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;WACW,IAAI,CACd,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,MAAM,GACtB,iBAAiB,CAAC,IAAI,CAAC;IAkB1B;;;;;;;;OAQG;WACW,MAAM,CAChB,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,EACV,WAAW,CAAC,EAAE,OAAO,GACtB,iBAAiB,CAAC,OAAO,CAAC;IAkB7B;;;;;;;;;OASG;WACW,gBAAgB,CAC1B,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,GACX,iBAAiB,CAAC,IAAI,CAAC;IAc1B;;;;;;;;;;OAUG;WACW,uBAAuB,CACjC,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,GAChB,iBAAiB,CAAC,IAAI,CAAC;IAe1B;;;;;;;;;;;;;;;;;;;;OAoBG;WACW,UAAU,CACpB,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,EACV,QAAQ,CAAC,EAAE,qBAAqB,GACjC,iBAAiB,CAAC,OAAO,CAAC;CAgBhC"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class AttachmentsService {
|
|
4
|
+
/**
|
|
5
|
+
* Get attachment
|
|
6
|
+
* Returns a paginated list of attachment Content entities within a single container.
|
|
7
|
+
* @param id The id of the content the attachment is on.
|
|
8
|
+
* @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
|
|
9
|
+
* @param filename (optional) filter parameter to return only the Attachment with the matching file name.
|
|
10
|
+
* @param limit (optional) how many items should be returned after the start index.
|
|
11
|
+
* @param start (optional) the index of the first item within the result set that should be returned.
|
|
12
|
+
* @param mediaType (optional) a comma separated list of properties to expand on the Attachments returned.
|
|
13
|
+
* @returns any Returns a JSON representation of a list of attachment Content entities.
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
static getAttachments(id, expand, filename, limit, start, mediaType) {
|
|
17
|
+
return __request(OpenAPI, {
|
|
18
|
+
method: 'GET',
|
|
19
|
+
url: '/rest/api/content/{id}/child/attachment',
|
|
20
|
+
path: {
|
|
21
|
+
'id': id,
|
|
22
|
+
},
|
|
23
|
+
query: {
|
|
24
|
+
'expand': expand,
|
|
25
|
+
'filename': filename,
|
|
26
|
+
'limit': limit,
|
|
27
|
+
'start': start,
|
|
28
|
+
'mediaType': mediaType,
|
|
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
|
+
* Create attachments
|
|
37
|
+
* Add one or more attachments to a Confluence Content entity, with optional comments.
|
|
38
|
+
*
|
|
39
|
+
* **Comments are optional**, but if included there must be as many comments as there are files, and the comments must be in the same order as the files.
|
|
40
|
+
*
|
|
41
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
|
|
42
|
+
*
|
|
43
|
+
* 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.
|
|
44
|
+
*
|
|
45
|
+
* The name of the multipart/form-data parameter that contains attachments must be 'file'.
|
|
46
|
+
* @param id The id of the content the attachment is on.
|
|
47
|
+
* @param expand (optional) a comma separated list of properties to expand on the Attachments returned. Optional.
|
|
48
|
+
* @param allowDuplicated (optional) allows to upload an attachment with an existing filename.
|
|
49
|
+
* @param status a string containing the status of the attachments content container, supports current or draft, defaults to current
|
|
50
|
+
* @param formData The attachments to be added. The name of the multipart/form-data parameter that contains attachments must be 'file'.
|
|
51
|
+
* @returns Content returns a JSON representation of the attachments added.
|
|
52
|
+
* @throws ApiError
|
|
53
|
+
*/
|
|
54
|
+
static createAttachments(id, expand, allowDuplicated, status, formData) {
|
|
55
|
+
return __request(OpenAPI, {
|
|
56
|
+
method: 'POST',
|
|
57
|
+
url: '/rest/api/content/{id}/child/attachment',
|
|
58
|
+
path: {
|
|
59
|
+
'id': id,
|
|
60
|
+
},
|
|
61
|
+
query: {
|
|
62
|
+
'expand': expand,
|
|
63
|
+
'allowDuplicated': allowDuplicated,
|
|
64
|
+
'status': status,
|
|
65
|
+
},
|
|
66
|
+
formData: formData,
|
|
67
|
+
mediaType: 'multipart/form-data',
|
|
68
|
+
errors: {
|
|
69
|
+
403: `Returned if attachments is disabled or if you don't have permission to add attachments to this content.`,
|
|
70
|
+
404: ` Returned if the requested content is not found, the user does not have permission to view it, or if the attachments exceeds the maximum configured attachment size.`,
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Move attachment
|
|
76
|
+
* Move an attachment to a different content entity object.
|
|
77
|
+
*
|
|
78
|
+
* **When moving the attachment**, the name of the attachment can be updated as well.
|
|
79
|
+
*
|
|
80
|
+
* 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.
|
|
81
|
+
*
|
|
82
|
+
* A simple example to move an attachment with id "456" in a container with id "123" to a container with "789":
|
|
83
|
+
*
|
|
84
|
+
* `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789"`
|
|
85
|
+
*
|
|
86
|
+
* An example to move the same file, while also renaming it to "my-new-name":
|
|
87
|
+
*
|
|
88
|
+
* `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=789&newName=my-new-name"`
|
|
89
|
+
*
|
|
90
|
+
* This can also be used to only rename an attachment:
|
|
91
|
+
*
|
|
92
|
+
* `curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" "http://myhost/rest/api/content/123/child/attachment/456/move?newContentId=123&newName=my-new-name"`
|
|
93
|
+
* @param attachmentId the id of the attachment to upload the new file for.
|
|
94
|
+
* @param id The id of the content the attachment is on.
|
|
95
|
+
* @param newName
|
|
96
|
+
* @param newContentId
|
|
97
|
+
* @returns void
|
|
98
|
+
* @throws ApiError
|
|
99
|
+
*/
|
|
100
|
+
static move(attachmentId, id, newName, newContentId) {
|
|
101
|
+
return __request(OpenAPI, {
|
|
102
|
+
method: 'POST',
|
|
103
|
+
url: '/rest/api/content/{id}/child/attachment/{attachmentId}/move',
|
|
104
|
+
path: {
|
|
105
|
+
'attachmentId': attachmentId,
|
|
106
|
+
'id': id,
|
|
107
|
+
},
|
|
108
|
+
query: {
|
|
109
|
+
'newName': newName,
|
|
110
|
+
'newContentId': newContentId,
|
|
111
|
+
},
|
|
112
|
+
errors: {
|
|
113
|
+
400: ` Returned if the attachment id is invalid.`,
|
|
114
|
+
404: ` Returned if no attachment is found for the attachmentId.`,
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Update non-binary data of an Attachment
|
|
120
|
+
* Update the non-binary data of an attachment.This resource can be used to update an attachment's filename, media-type, comment, and parent container.
|
|
121
|
+
* @param attachmentId the id of the attachment to update.
|
|
122
|
+
* @param id The id of the content the attachment is on.
|
|
123
|
+
* @param requestBody
|
|
124
|
+
* @returns Content returns a JSON representation of the attachment after being updated.
|
|
125
|
+
* @throws ApiError
|
|
126
|
+
*/
|
|
127
|
+
static update(attachmentId, id, requestBody) {
|
|
128
|
+
return __request(OpenAPI, {
|
|
129
|
+
method: 'PUT',
|
|
130
|
+
url: '/rest/api/content/{id}/child/attachment/{attachmentId}',
|
|
131
|
+
path: {
|
|
132
|
+
'attachmentId': attachmentId,
|
|
133
|
+
'id': id,
|
|
134
|
+
},
|
|
135
|
+
body: requestBody,
|
|
136
|
+
mediaType: 'application/json',
|
|
137
|
+
errors: {
|
|
138
|
+
400: ` Returned if the attachment id or the attachment version number are invalid.`,
|
|
139
|
+
403: `Returned if you are not permitted to update or move the attachment to a different container.`,
|
|
140
|
+
404: ` Returned if no attachment is found for the attachmentId.`,
|
|
141
|
+
409: `Returned if the version of the supplied Attachment does not match the exact version of the Attachment stored in the database.`,
|
|
142
|
+
},
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Remove attachment
|
|
147
|
+
* This method will delete the attachment identified by attachmentId.
|
|
148
|
+
*
|
|
149
|
+
* It returns a boolean response indicating whether the operation was successful or not. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
|
|
150
|
+
* @param attachmentId the id of the attachment to be removed.
|
|
151
|
+
* @param id The id of the content the attachment is on.
|
|
152
|
+
* @returns void
|
|
153
|
+
* @throws ApiError
|
|
154
|
+
*/
|
|
155
|
+
static removeAttachment(attachmentId, id) {
|
|
156
|
+
return __request(OpenAPI, {
|
|
157
|
+
method: 'DELETE',
|
|
158
|
+
url: '/rest/api/content/{id}/child/attachment/{attachmentId}',
|
|
159
|
+
path: {
|
|
160
|
+
'attachmentId': attachmentId,
|
|
161
|
+
'id': id,
|
|
162
|
+
},
|
|
163
|
+
errors: {
|
|
164
|
+
400: `Returned if the user does not have permission to remove the attachment.`,
|
|
165
|
+
404: ` Returned if the specified attachment does not exist.`,
|
|
166
|
+
},
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Remove attachment version
|
|
171
|
+
* This method will delete the specified version of an attachment identified by attachmentId and version.
|
|
172
|
+
*
|
|
173
|
+
* If the operation is successful, it returns a response indicating that no content is returned. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
|
|
174
|
+
* @param attachmentId The id of the attachment to be removed.
|
|
175
|
+
* @param id The id of the content the attachment is on.
|
|
176
|
+
* @param version
|
|
177
|
+
* @returns void
|
|
178
|
+
* @throws ApiError
|
|
179
|
+
*/
|
|
180
|
+
static removeAttachmentVersion(attachmentId, id, version) {
|
|
181
|
+
return __request(OpenAPI, {
|
|
182
|
+
method: 'DELETE',
|
|
183
|
+
url: '/rest/api/content/{id}/child/attachment/{attachmentId}/version/{version}',
|
|
184
|
+
path: {
|
|
185
|
+
'attachmentId': attachmentId,
|
|
186
|
+
'id': id,
|
|
187
|
+
'version': version,
|
|
188
|
+
},
|
|
189
|
+
errors: {
|
|
190
|
+
400: `Returned if the user does not have permission to remove the attachment.`,
|
|
191
|
+
404: `Returned if the specified attachment or version does not exist.`,
|
|
192
|
+
},
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Update binary data of an attachment
|
|
197
|
+
* Update the binary data of an Attachment, and optionally the comment and the minor edit field.
|
|
198
|
+
*
|
|
199
|
+
* This adds a new version of the attachment, containing the new binary data, filename, and content-type.
|
|
200
|
+
*
|
|
201
|
+
* **When updating the binary data of an attachment**, the comment related to it together with the field that specifies if it's a minor edit can be updated as well, but are not required.
|
|
202
|
+
*
|
|
203
|
+
* If an update is considered to be a minor edit, notifications will not be sent to the watchers of that content.
|
|
204
|
+
*
|
|
205
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867. Most client libraries have classes that make dealing with multipart posts simple. For instance, in Java the Apache HTTP Components library provides a `MultiPartEntity` that makes it simple to submit a multipart POST.
|
|
206
|
+
*
|
|
207
|
+
* 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.
|
|
208
|
+
*
|
|
209
|
+
* The name of the multipart/form-data parameter that contains attachments must be 'file'.
|
|
210
|
+
* @param attachmentId the id of the attachment to upload the new file for.
|
|
211
|
+
* @param id The id of the content the attachment is on.
|
|
212
|
+
* @param formData The attachment to be updated.
|
|
213
|
+
* @returns Content returns JSON representation of the updated attachment.
|
|
214
|
+
* @throws ApiError
|
|
215
|
+
*/
|
|
216
|
+
static updateData(attachmentId, id, formData) {
|
|
217
|
+
return __request(OpenAPI, {
|
|
218
|
+
method: 'POST',
|
|
219
|
+
url: '/rest/api/content/{id}/child/attachment/{attachmentId}/data',
|
|
220
|
+
path: {
|
|
221
|
+
'attachmentId': attachmentId,
|
|
222
|
+
'id': id,
|
|
223
|
+
},
|
|
224
|
+
formData: formData,
|
|
225
|
+
mediaType: 'multipart/form-data',
|
|
226
|
+
errors: {
|
|
227
|
+
400: ` Returned if the attachment id is invalid.`,
|
|
228
|
+
404: ` Returned if no attachment is found for the attachmentId.`,
|
|
229
|
+
},
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
//# sourceMappingURL=AttachmentsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentsService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/AttachmentsService.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,kBAAkB;IAC3B;;;;;;;;;;;OAWG;IACI,MAAM,CAAC,cAAc,CACxB,EAAU,EACV,MAAe,EACf,QAAiB,EACjB,KAAc,EACd,KAAc,EACd,SAAkB;QAelB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,UAAU,EAAE,QAAQ;gBACpB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,SAAS;aACzB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,0HAA0H;aAClI;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;;OAkBG;IACI,MAAM,CAAC,iBAAiB,CAC3B,EAAU,EACV,MAAe,EACf,eAAwB,EACxB,MAAe,EACf,QAAgC;QAEhC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,iBAAiB,EAAE,eAAe;gBAClC,QAAQ,EAAE,MAAM;aACnB;YACD,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE;gBACJ,GAAG,EAAE,yGAAyG;gBAC9G,GAAG,EAAE,sKAAsK;aAC9K;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACI,MAAM,CAAC,IAAI,CACd,YAAoB,EACpB,EAAU,EACV,OAAgB,EAChB,YAAqB;QAErB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,6DAA6D;YAClE,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,SAAS,EAAE,OAAO;gBAClB,cAAc,EAAE,YAAY;aAC/B;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,4CAA4C;gBACjD,GAAG,EAAE,2DAA2D;aACnE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;OAQG;IACI,MAAM,CAAC,MAAM,CAChB,YAAoB,EACpB,EAAU,EACV,WAAqB;QAErB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wDAAwD;YAC7D,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,8EAA8E;gBACnF,GAAG,EAAE,8FAA8F;gBACnG,GAAG,EAAE,2DAA2D;gBAChE,GAAG,EAAE,+HAA+H;aACvI;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;OASG;IACI,MAAM,CAAC,gBAAgB,CAC1B,YAAoB,EACpB,EAAU;QAEV,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,wDAAwD;YAC7D,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE,EAAE;aACX;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,yEAAyE;gBAC9E,GAAG,EAAE,uDAAuD;aAC/D;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;OAUG;IACI,MAAM,CAAC,uBAAuB,CACjC,YAAoB,EACpB,EAAU,EACV,OAAe;QAEf,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,0EAA0E;YAC/E,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE,EAAE;gBACR,SAAS,EAAE,OAAO;aACrB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,yEAAyE;gBAC9E,GAAG,EAAE,iEAAiE;aACzE;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,MAAM,CAAC,UAAU,CACpB,YAAoB,EACpB,EAAU,EACV,QAAgC;QAEhC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,6DAA6D;YAClE,IAAI,EAAE;gBACF,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE,EAAE;aACX;YACD,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE;gBACJ,GAAG,EAAE,4CAA4C;gBACjD,GAAG,EAAE,2DAA2D;aACnE;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import type { ExampleMultipartFormData } from '../models/ExampleMultipartFormData.js';
|
|
2
|
+
import type { FileInfo } from '../models/FileInfo.js';
|
|
3
|
+
import type { JobDetails } from '../models/JobDetails.js';
|
|
4
|
+
import type { SiteBackupJobDetails } from '../models/SiteBackupJobDetails.js';
|
|
5
|
+
import type { SiteBackupSettings } from '../models/SiteBackupSettings.js';
|
|
6
|
+
import type { SiteRestoreJobDetails } from '../models/SiteRestoreJobDetails.js';
|
|
7
|
+
import type { SiteRestoreSettings } from '../models/SiteRestoreSettings.js';
|
|
8
|
+
import type { SpaceBackupJobDetails } from '../models/SpaceBackupJobDetails.js';
|
|
9
|
+
import type { SpaceBackupSettings } from '../models/SpaceBackupSettings.js';
|
|
10
|
+
import type { SpaceRestoreJobDetails } from '../models/SpaceRestoreJobDetails.js';
|
|
11
|
+
import type { SpaceRestoreSettings } from '../models/SpaceRestoreSettings.js';
|
|
12
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
13
|
+
export declare class BackupAndRestoreService {
|
|
14
|
+
/**
|
|
15
|
+
* Cancel all queued jobs
|
|
16
|
+
* Cancels all queued jobs. Does not affect jobs that are being processed at the moment.
|
|
17
|
+
* @returns any Returns the number of cancelled jobs. If no jobs were cancelled, 0 is returned.
|
|
18
|
+
* Example response: `1`
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static cancelAllQueuedJobs(): CancelablePromise<any>;
|
|
22
|
+
/**
|
|
23
|
+
* Cancel job
|
|
24
|
+
* Cancels the job. If the job is already cancelled or failed, the method will do nothing.
|
|
25
|
+
* @param jobId id of the backup/restore job
|
|
26
|
+
* @returns JobDetails Returns a JSON representation of the cancelled job.
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
static cancelJob(jobId: string): CancelablePromise<JobDetails>;
|
|
30
|
+
/**
|
|
31
|
+
* Create site backup job
|
|
32
|
+
* Starts the new site backup job.
|
|
33
|
+
* @param requestBody Site backup settings
|
|
34
|
+
* @returns SiteBackupJobDetails Returns a JSON representation of the site backup job details.
|
|
35
|
+
* @throws ApiError
|
|
36
|
+
*/
|
|
37
|
+
static createSiteBackupJob(requestBody?: SiteBackupSettings): CancelablePromise<SiteBackupJobDetails>;
|
|
38
|
+
/**
|
|
39
|
+
* Create site restore job
|
|
40
|
+
* Starts the new site restore job.
|
|
41
|
+
* @param requestBody space restore settings
|
|
42
|
+
* @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job.
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static createSiteRestoreJob(requestBody?: SiteRestoreSettings): CancelablePromise<SiteRestoreJobDetails>;
|
|
46
|
+
/**
|
|
47
|
+
* Create site restore job for upload backup file
|
|
48
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
|
|
49
|
+
*
|
|
50
|
+
* Most client libraries have classes that make dealing with multipart posts simple.
|
|
51
|
+
*
|
|
52
|
+
* For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
|
|
53
|
+
*
|
|
54
|
+
* 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.
|
|
55
|
+
*
|
|
56
|
+
* The name of the multipart/form-data parameter that contains attachments must be "file".
|
|
57
|
+
*
|
|
58
|
+
* An example to attach the file:
|
|
59
|
+
*
|
|
60
|
+
* 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
|
|
61
|
+
*
|
|
62
|
+
* .
|
|
63
|
+
* @param formData Backup file to be uploaded. Has to be a zip file.
|
|
64
|
+
* @returns SiteRestoreJobDetails Returns a JSON representation of the site restore job details.
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
static createSiteRestoreJobForUploadedBackupFile(formData?: ExampleMultipartFormData): CancelablePromise<SiteRestoreJobDetails>;
|
|
68
|
+
/**
|
|
69
|
+
* Create space backup job
|
|
70
|
+
* Creates new space backup job and adds it to the queue.
|
|
71
|
+
* @param requestBody Space backup settings
|
|
72
|
+
* @returns SpaceBackupJobDetails Returns a JSON representation of the space backup job
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
static createSpaceBackupJob(requestBody?: SpaceBackupSettings): CancelablePromise<SpaceBackupJobDetails>;
|
|
76
|
+
/**
|
|
77
|
+
* Create space restore job
|
|
78
|
+
* Creates new space restore job and adds it to the queue.
|
|
79
|
+
* @param requestBody space restore settings
|
|
80
|
+
* @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job.
|
|
81
|
+
* @throws ApiError
|
|
82
|
+
*/
|
|
83
|
+
static createSpaceRestoreJob(requestBody?: SpaceRestoreSettings): CancelablePromise<SpaceRestoreJobDetails>;
|
|
84
|
+
/**
|
|
85
|
+
* Create space restore job for upload backup file
|
|
86
|
+
* This resource expects a multipart post. The media-type multipart/form-data is defined in RFC 1867.
|
|
87
|
+
*
|
|
88
|
+
* Most client libraries have classes that make dealing with multipart posts simple.
|
|
89
|
+
*
|
|
90
|
+
* For instance, in Java the Apache HTTP Components library provides a MultiPartEntity that makes it simple to submit a multipart POST.
|
|
91
|
+
*
|
|
92
|
+
* 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.
|
|
93
|
+
*
|
|
94
|
+
* The name of the multipart/form-data parameter that contains attachments must be "file".
|
|
95
|
+
*
|
|
96
|
+
* An example to attach the file:
|
|
97
|
+
*
|
|
98
|
+
* 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
|
|
99
|
+
*
|
|
100
|
+
* .
|
|
101
|
+
* @param formData backup file uploaded. Has to be a zip file.
|
|
102
|
+
* @returns SpaceRestoreJobDetails Returns a JSON representation of the space restore job details.
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static createSpaceRestoreJobForUploadedBackupFile(formData?: ExampleMultipartFormData): CancelablePromise<SpaceRestoreJobDetails>;
|
|
106
|
+
/**
|
|
107
|
+
* Download backup file
|
|
108
|
+
* Downloads the backup file for the given job. Requires site admin or space export permissions for all spaces included in the backup job.
|
|
109
|
+
* @param jobId id of the backup/restore job
|
|
110
|
+
* @returns JobDetails Returns a data stream of the backup file content.
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
static downloadBackupFile(jobId: string): CancelablePromise<JobDetails>;
|
|
114
|
+
/**
|
|
115
|
+
* Find jobs by filters
|
|
116
|
+
* Returns jobs based on the filters provided. The user must have permission to see the jobs.
|
|
117
|
+
* @param owner userName of user who had created a job.
|
|
118
|
+
* @param spaceKey the key of the Space the User is attempting to view.
|
|
119
|
+
* @param fromDate minimum job creation date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
|
|
120
|
+
* @param jobStates list of job states. Acceptable values: "QUEUED", "PROCESSING", "FINISHED", "CANCELLING", "CANCELLED", "FAILED"
|
|
121
|
+
* @param toDate maximum job create date. Supported date format is `yyyy-MM-ddTHH:mm:ss.SSSZ`
|
|
122
|
+
* @param jobOperation job operation. Acceptable values: "BACKUP" and "RESTORE"
|
|
123
|
+
* @param limit amount of jobs that should be returned
|
|
124
|
+
* @param jobScope scope of the job. Acceptable values: "SPACE" and "SITE"
|
|
125
|
+
* @returns JobDetails Returns the List of backup/restore jobs visible to user based on the filter provided and the user's permissions.
|
|
126
|
+
* @throws ApiError
|
|
127
|
+
*/
|
|
128
|
+
static findJobs(owner?: string, spaceKey?: string, fromDate?: string, jobStates?: string, toDate?: string, jobOperation?: string, limit?: string, jobScope?: string): CancelablePromise<Array<JobDetails>>;
|
|
129
|
+
/**
|
|
130
|
+
* Get files in restore directory
|
|
131
|
+
* returns list of information on files in conf-home/restore/(jobScope).
|
|
132
|
+
* @param jobScope name of type of restore job (SITE or SPACE or null), if null, all backup files are listed
|
|
133
|
+
* @returns FileInfo Returns a list of FileInfo objects, containing fileName, fileCreationTime, fileSize, and jobScope.
|
|
134
|
+
* @throws ApiError
|
|
135
|
+
*/
|
|
136
|
+
static getFiles(jobScope?: string): CancelablePromise<Array<FileInfo>>;
|
|
137
|
+
/**
|
|
138
|
+
* Get job by ID
|
|
139
|
+
* Get job by id. The user must be a sysadmin or the owner of the job.
|
|
140
|
+
* @param jobId id of the backup/restore job
|
|
141
|
+
* @returns JobDetails Returns a JSON representation of the backup/restore job
|
|
142
|
+
* @throws ApiError
|
|
143
|
+
*/
|
|
144
|
+
static getJob(jobId: string): CancelablePromise<JobDetails>;
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=BackupAndRestoreService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BackupAndRestoreService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/BackupAndRestoreService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,uBAAuB;IAChC;;;;;;OAMG;WACW,mBAAmB,IAAI,iBAAiB,CAAC,GAAG,CAAC;IAS3D;;;;;;OAMG;WACW,SAAS,CACnB,KAAK,EAAE,MAAM,GACd,iBAAiB,CAAC,UAAU,CAAC;IAYhC;;;;;;OAMG;WACW,mBAAmB,CAC7B,WAAW,CAAC,EAAE,kBAAkB,GACjC,iBAAiB,CAAC,oBAAoB,CAAC;IAY1C;;;;;;OAMG;WACW,oBAAoB,CAC9B,WAAW,CAAC,EAAE,mBAAmB,GAClC,iBAAiB,CAAC,qBAAqB,CAAC;IAY3C;;;;;;;;;;;;;;;;;;;;OAoBG;WACW,yCAAyC,CACnD,QAAQ,CAAC,EAAE,wBAAwB,GACpC,iBAAiB,CAAC,qBAAqB,CAAC;IAY3C;;;;;;OAMG;WACW,oBAAoB,CAC9B,WAAW,CAAC,EAAE,mBAAmB,GAClC,iBAAiB,CAAC,qBAAqB,CAAC;IAa3C;;;;;;OAMG;WACW,qBAAqB,CAC/B,WAAW,CAAC,EAAE,oBAAoB,GACnC,iBAAiB,CAAC,sBAAsB,CAAC;IAY5C;;;;;;;;;;;;;;;;;;;;OAoBG;WACW,0CAA0C,CACpD,QAAQ,CAAC,EAAE,wBAAwB,GACpC,iBAAiB,CAAC,sBAAsB,CAAC;IAY5C;;;;;;OAMG;WACW,kBAAkB,CAC5B,KAAK,EAAE,MAAM,GACd,iBAAiB,CAAC,UAAU,CAAC;IAYhC;;;;;;;;;;;;;OAaG;WACW,QAAQ,CAClB,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,EACrB,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAmBvC;;;;;;OAMG;WACW,QAAQ,CAClB,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAYrC;;;;;;OAMG;WACW,MAAM,CAChB,KAAK,EAAE,MAAM,GACd,iBAAiB,CAAC,UAAU,CAAC;CAanC"}
|