@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 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterInformationService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/ClusterInformationService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,yBAAyB;IAClC;;;;;;;;;;OAUG;IACI,MAAM,CAAC,sBAAsB,CAChC,KAAc,EACd,KAAc;QAed,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yBAAyB;YAC9B,KAAK,EAAE;gBACH,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,8CAA8C;gBACnD,GAAG,EAAE,wEAAwE;aAChF;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Content } from '../models/Content.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class ContentBlueprintService {
|
|
4
|
+
/**
|
|
5
|
+
* Publish shared draft
|
|
6
|
+
* Publishes a shared draft of a Content created from a ContentBlueprint.
|
|
7
|
+
* @param draftId the id of the draft
|
|
8
|
+
* @param expand A comma separated list of properties to expand on the content. Default value: <code>body.storage,history,space,version,ancestors</code>
|
|
9
|
+
* @param status only support 'draft' status for now.
|
|
10
|
+
* @param requestBody he content to be created, where the status of the included content is "current",
|
|
11
|
+
* and the content has an ID (which will be the draft ID)
|
|
12
|
+
* @returns Content returns a JSON representation of the content
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static publishSharedDraft(draftId: string, expand?: string, status?: string, requestBody?: Content): CancelablePromise<Content>;
|
|
16
|
+
/**
|
|
17
|
+
* Publish legacy draft
|
|
18
|
+
* Publishes a legacy draft of a Content created from a ContentBlueprint.
|
|
19
|
+
* @param draftId the id of the draft
|
|
20
|
+
* @param expand A comma separated list of properties to expand on the content. Default value: <code>body.storage,history,space,version,ancestors</code>
|
|
21
|
+
* @param status only support 'draft' status for now.
|
|
22
|
+
* @param requestBody The content to be created, where the status of the included content is "current",
|
|
23
|
+
* and the content has an ID (which will be the draft ID)
|
|
24
|
+
* @returns Content returns a JSON representation of the content
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static publishLegacyDraft(draftId: string, expand?: string, status?: string, requestBody?: Content): CancelablePromise<Content>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=ContentBlueprintService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentBlueprintService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentBlueprintService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,uBAAuB;IAChC;;;;;;;;;;OAUG;WACW,kBAAkB,CAC5B,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,OAAO,GACtB,iBAAiB,CAAC,OAAO,CAAC;IAe7B;;;;;;;;;;OAUG;WACW,kBAAkB,CAC5B,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,OAAO,GACtB,iBAAiB,CAAC,OAAO,CAAC;CAehC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ContentBlueprintService {
|
|
4
|
+
/**
|
|
5
|
+
* Publish shared draft
|
|
6
|
+
* Publishes a shared draft of a Content created from a ContentBlueprint.
|
|
7
|
+
* @param draftId the id of the draft
|
|
8
|
+
* @param expand A comma separated list of properties to expand on the content. Default value: <code>body.storage,history,space,version,ancestors</code>
|
|
9
|
+
* @param status only support 'draft' status for now.
|
|
10
|
+
* @param requestBody he content to be created, where the status of the included content is "current",
|
|
11
|
+
* and the content has an ID (which will be the draft ID)
|
|
12
|
+
* @returns Content returns a JSON representation of the content
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static publishSharedDraft(draftId, expand, status, requestBody) {
|
|
16
|
+
return __request(OpenAPI, {
|
|
17
|
+
method: 'PUT',
|
|
18
|
+
url: '/rest/api/content/blueprint/instance/{draftId}',
|
|
19
|
+
path: {
|
|
20
|
+
'draftId': draftId,
|
|
21
|
+
},
|
|
22
|
+
query: {
|
|
23
|
+
'expand': expand,
|
|
24
|
+
'status': status,
|
|
25
|
+
},
|
|
26
|
+
body: requestBody,
|
|
27
|
+
mediaType: 'application/json',
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Publish legacy draft
|
|
32
|
+
* Publishes a legacy draft of a Content created from a ContentBlueprint.
|
|
33
|
+
* @param draftId the id of the draft
|
|
34
|
+
* @param expand A comma separated list of properties to expand on the content. Default value: <code>body.storage,history,space,version,ancestors</code>
|
|
35
|
+
* @param status only support 'draft' status for now.
|
|
36
|
+
* @param requestBody The content to be created, where the status of the included content is "current",
|
|
37
|
+
* and the content has an ID (which will be the draft ID)
|
|
38
|
+
* @returns Content returns a JSON representation of the content
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static publishLegacyDraft(draftId, expand, status, requestBody) {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'POST',
|
|
44
|
+
url: '/rest/api/content/blueprint/instance/{draftId}',
|
|
45
|
+
path: {
|
|
46
|
+
'draftId': draftId,
|
|
47
|
+
},
|
|
48
|
+
query: {
|
|
49
|
+
'expand': expand,
|
|
50
|
+
'status': status,
|
|
51
|
+
},
|
|
52
|
+
body: requestBody,
|
|
53
|
+
mediaType: 'application/json',
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=ContentBlueprintService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentBlueprintService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentBlueprintService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,uBAAuB;IAChC;;;;;;;;;;OAUG;IACI,MAAM,CAAC,kBAAkB,CAC5B,OAAe,EACf,MAAe,EACf,MAAe,EACf,WAAqB;QAErB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gDAAgD;YACrD,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;aACrB;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;OAUG;IACI,MAAM,CAAC,kBAAkB,CAC5B,OAAe,EACf,MAAe,EACf,MAAe,EACf,WAAqB;QAErB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,gDAAgD;YACrD,IAAI,EAAE;gBACF,SAAS,EAAE,OAAO;aACrB;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ContentBody } from '../models/ContentBody.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class ContentBodyService {
|
|
4
|
+
/**
|
|
5
|
+
* Convert body representation
|
|
6
|
+
* Converts between content body representations. Not all representations can be converted to/from other formats. Supported conversions:
|
|
7
|
+
*
|
|
8
|
+
* - `storage -> view,export_view,styled_view,editor`
|
|
9
|
+
* - `editor -> storage`
|
|
10
|
+
* - `view -> None`
|
|
11
|
+
* - `export_view -> None`
|
|
12
|
+
* - `styled_view -> None`
|
|
13
|
+
*
|
|
14
|
+
* Example request URI(s):
|
|
15
|
+
*
|
|
16
|
+
* - `http://example.com/confluence/rest/api/contentbody/convert/view`
|
|
17
|
+
* @param to the representation to convert to.
|
|
18
|
+
* @param expand A comma separated list of properties to expand on the content. Default value: <code>body.storage,history,space,version,ancestors</code>
|
|
19
|
+
* @param requestBody the body to convert from
|
|
20
|
+
* @returns ContentBody returns the converted body
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static convert(to: string, expand?: string, requestBody?: ContentBody): CancelablePromise<ContentBody>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=ContentBodyService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentBodyService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentBodyService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,kBAAkB;IAC3B;;;;;;;;;;;;;;;;;;OAkBG;WACW,OAAO,CACjB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GAC1B,iBAAiB,CAAC,WAAW,CAAC;CAcpC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ContentBodyService {
|
|
4
|
+
/**
|
|
5
|
+
* Convert body representation
|
|
6
|
+
* Converts between content body representations. Not all representations can be converted to/from other formats. Supported conversions:
|
|
7
|
+
*
|
|
8
|
+
* - `storage -> view,export_view,styled_view,editor`
|
|
9
|
+
* - `editor -> storage`
|
|
10
|
+
* - `view -> None`
|
|
11
|
+
* - `export_view -> None`
|
|
12
|
+
* - `styled_view -> None`
|
|
13
|
+
*
|
|
14
|
+
* Example request URI(s):
|
|
15
|
+
*
|
|
16
|
+
* - `http://example.com/confluence/rest/api/contentbody/convert/view`
|
|
17
|
+
* @param to the representation to convert to.
|
|
18
|
+
* @param expand A comma separated list of properties to expand on the content. Default value: <code>body.storage,history,space,version,ancestors</code>
|
|
19
|
+
* @param requestBody the body to convert from
|
|
20
|
+
* @returns ContentBody returns the converted body
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static convert(to, expand, requestBody) {
|
|
24
|
+
return __request(OpenAPI, {
|
|
25
|
+
method: 'POST',
|
|
26
|
+
url: '/rest/api/contentbody/convert/{to}',
|
|
27
|
+
path: {
|
|
28
|
+
'to': to,
|
|
29
|
+
},
|
|
30
|
+
query: {
|
|
31
|
+
'expand': expand,
|
|
32
|
+
},
|
|
33
|
+
body: requestBody,
|
|
34
|
+
mediaType: 'application/json',
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=ContentBodyService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentBodyService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentBodyService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,kBAAkB;IAC3B;;;;;;;;;;;;;;;;;;OAkBG;IACI,MAAM,CAAC,OAAO,CACjB,EAAU,EACV,MAAe,EACf,WAAyB;QAEzB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,oCAAoC;YACzC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { Content } from '../models/Content.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class ContentDescendantService {
|
|
4
|
+
/**
|
|
5
|
+
* Get Descendants
|
|
6
|
+
* Returns a map of the descendants of a piece of Content. Content can have multiple types of descendants - for example a Page can have descendants that are also Pages, but it can also have Comments and Attachments.
|
|
7
|
+
*
|
|
8
|
+
* The ContentType(s) of the descendants returned is specified by the `expand` query parameter in the request - this parameter can include expands for multiple descendant types. If no types are included in the expand parameter, the map returned will just list the descendant types that are available to be expanded for the Content referenced by the `id` path parameter.
|
|
9
|
+
*
|
|
10
|
+
* Currently the only supported descendants are comment descendants of non-comment Content.
|
|
11
|
+
*
|
|
12
|
+
* Example request URI(s):
|
|
13
|
+
*
|
|
14
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant`
|
|
15
|
+
*
|
|
16
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant?expand=comment.body.VIEW`
|
|
17
|
+
*
|
|
18
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant?expand=comment`
|
|
19
|
+
* @param id the ID of the Content the User is attempting to view the descendants for.
|
|
20
|
+
* @param expand a comma separated list of properties to expand on the descendants.
|
|
21
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content descendants,keyed by content type.
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static descendants(id: string, expand?: string): CancelablePromise<{
|
|
25
|
+
results?: Array<Content>;
|
|
26
|
+
totalCount?: number;
|
|
27
|
+
start?: number;
|
|
28
|
+
limit?: number;
|
|
29
|
+
size?: number;
|
|
30
|
+
_links?: {
|
|
31
|
+
base?: string;
|
|
32
|
+
context?: string;
|
|
33
|
+
self?: string;
|
|
34
|
+
next?: string;
|
|
35
|
+
prev?: string;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
/**
|
|
39
|
+
* Get descendants of type
|
|
40
|
+
* Returns the direct descendants of a piece of Content. The ContentType(s) of the descendants returned is specified by the `type` path parameter in the request. Currently the only supported descendants are comment descendants of non-comment Content.
|
|
41
|
+
*
|
|
42
|
+
* Example request URI(s):
|
|
43
|
+
*
|
|
44
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant/comment`
|
|
45
|
+
*
|
|
46
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant/comment?expand=body.VIEW`
|
|
47
|
+
*
|
|
48
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant/comment?start=20&limit=10`
|
|
49
|
+
* @param id the ID of the Content the User is attempting to view the descendants for.
|
|
50
|
+
* @param type content type to filter descendants on.
|
|
51
|
+
* @param expand a comma separated list of properties to expand on the descendants.
|
|
52
|
+
* @param limit (optional, default: site limit) how many items should be returned after the start index.
|
|
53
|
+
* @param start (optional, default: 0) the index of the first item within the result set that should be returned.
|
|
54
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content descendants, keyed by content type.
|
|
55
|
+
* @throws ApiError
|
|
56
|
+
*/
|
|
57
|
+
static descendantsOfType(id: string, type: string, expand?: string, limit?: string, start?: string): CancelablePromise<{
|
|
58
|
+
results?: Array<Content>;
|
|
59
|
+
totalCount?: number;
|
|
60
|
+
start?: number;
|
|
61
|
+
limit?: number;
|
|
62
|
+
size?: number;
|
|
63
|
+
_links?: {
|
|
64
|
+
base?: string;
|
|
65
|
+
context?: string;
|
|
66
|
+
self?: string;
|
|
67
|
+
next?: string;
|
|
68
|
+
prev?: string;
|
|
69
|
+
};
|
|
70
|
+
}>;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=ContentDescendantService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDescendantService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentDescendantService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,wBAAwB;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;WACW,WAAW,CACrB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,GAChB,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;IAeF;;;;;;;;;;;;;;;;;;OAkBG;WACW,iBAAiB,CAC3B,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACf,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;CAkBL"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ContentDescendantService {
|
|
4
|
+
/**
|
|
5
|
+
* Get Descendants
|
|
6
|
+
* Returns a map of the descendants of a piece of Content. Content can have multiple types of descendants - for example a Page can have descendants that are also Pages, but it can also have Comments and Attachments.
|
|
7
|
+
*
|
|
8
|
+
* The ContentType(s) of the descendants returned is specified by the `expand` query parameter in the request - this parameter can include expands for multiple descendant types. If no types are included in the expand parameter, the map returned will just list the descendant types that are available to be expanded for the Content referenced by the `id` path parameter.
|
|
9
|
+
*
|
|
10
|
+
* Currently the only supported descendants are comment descendants of non-comment Content.
|
|
11
|
+
*
|
|
12
|
+
* Example request URI(s):
|
|
13
|
+
*
|
|
14
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant`
|
|
15
|
+
*
|
|
16
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant?expand=comment.body.VIEW`
|
|
17
|
+
*
|
|
18
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant?expand=comment`
|
|
19
|
+
* @param id the ID of the Content the User is attempting to view the descendants for.
|
|
20
|
+
* @param expand a comma separated list of properties to expand on the descendants.
|
|
21
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content descendants,keyed by content type.
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static descendants(id, expand) {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '/rest/api/content/{id}/descendant',
|
|
28
|
+
path: {
|
|
29
|
+
'id': id,
|
|
30
|
+
},
|
|
31
|
+
query: {
|
|
32
|
+
'expand': expand,
|
|
33
|
+
},
|
|
34
|
+
errors: {
|
|
35
|
+
404: `Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Get descendants of type
|
|
41
|
+
* Returns the direct descendants of a piece of Content. The ContentType(s) of the descendants returned is specified by the `type` path parameter in the request. Currently the only supported descendants are comment descendants of non-comment Content.
|
|
42
|
+
*
|
|
43
|
+
* Example request URI(s):
|
|
44
|
+
*
|
|
45
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant/comment`
|
|
46
|
+
*
|
|
47
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant/comment?expand=body.VIEW`
|
|
48
|
+
*
|
|
49
|
+
* `http://example.com/confluence/rest/api/content/1234/descendant/comment?start=20&limit=10`
|
|
50
|
+
* @param id the ID of the Content the User is attempting to view the descendants for.
|
|
51
|
+
* @param type content type to filter descendants on.
|
|
52
|
+
* @param expand a comma separated list of properties to expand on the descendants.
|
|
53
|
+
* @param limit (optional, default: site limit) how many items should be returned after the start index.
|
|
54
|
+
* @param start (optional, default: 0) the index of the first item within the result set that should be returned.
|
|
55
|
+
* @returns any Returns a JSON map representing multiple ordered collections of content descendants, keyed by content type.
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static descendantsOfType(id, type, expand, limit, start) {
|
|
59
|
+
return __request(OpenAPI, {
|
|
60
|
+
method: 'GET',
|
|
61
|
+
url: '/rest/api/content/{id}/descendant/{type}',
|
|
62
|
+
path: {
|
|
63
|
+
'id': id,
|
|
64
|
+
'type': type,
|
|
65
|
+
},
|
|
66
|
+
query: {
|
|
67
|
+
'expand': expand,
|
|
68
|
+
'limit': limit,
|
|
69
|
+
'start': start,
|
|
70
|
+
},
|
|
71
|
+
errors: {
|
|
72
|
+
404: `Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=ContentDescendantService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDescendantService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentDescendantService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,wBAAwB;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;IACI,MAAM,CAAC,WAAW,CACrB,EAAU,EACV,MAAe;QAef,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,yHAAyH;aACjI;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;;;;;;;;;;;;OAkBG;IACI,MAAM,CAAC,iBAAiB,CAC3B,EAAU,EACV,IAAY,EACZ,MAAe,EACf,KAAc,EACd,KAAc;QAed,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0CAA0C;YAC/C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;gBACR,MAAM,EAAE,IAAI;aACf;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,yHAAyH;aACjI;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { Label } from '../models/Label.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class ContentLabelsService {
|
|
4
|
+
/**
|
|
5
|
+
* Get labels
|
|
6
|
+
* Returns the list of labels on a piece of Content. Example request URI(s):
|
|
7
|
+
*
|
|
8
|
+
* - `http://example.com/confluence/rest/api/content/1234/label`
|
|
9
|
+
* - `http://example.com/confluence/rest/api/content/1234/label?prefix=global&start=0&limit=200`
|
|
10
|
+
* @param id the id of the content to get the labels for
|
|
11
|
+
* @param prefix the prefixes to filter the labels with.
|
|
12
|
+
* @param limit the limit of the number of labels to return, this may be restricted by fixed system limits
|
|
13
|
+
* @param start he start point of the collection to return.
|
|
14
|
+
* @returns any returns a JSON representation of the existing labels on the content with the given id
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static labels(id: string, prefix?: string, limit?: string, start?: string): CancelablePromise<{
|
|
18
|
+
results?: Array<Label>;
|
|
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
|
+
* Add Labels
|
|
33
|
+
* Adds a list of labels to the specified content. The body is the json representation of the list.
|
|
34
|
+
* @param id the id of the content to get the labels for
|
|
35
|
+
* @param requestBody a single label object or a list of labels to add
|
|
36
|
+
* @returns any returns a JSON representation of the existing and added labels on the content with the given id, or a 404 NOT FOUND if there is no content with the given id or if the user is not permitted. An empty list will be returned if there are no labels on the given content
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static addLabels(id: string, requestBody?: Label): CancelablePromise<{
|
|
40
|
+
results?: Array<Label>;
|
|
41
|
+
totalCount?: number;
|
|
42
|
+
start?: number;
|
|
43
|
+
limit?: number;
|
|
44
|
+
size?: number;
|
|
45
|
+
_links?: {
|
|
46
|
+
base?: string;
|
|
47
|
+
context?: string;
|
|
48
|
+
self?: string;
|
|
49
|
+
next?: string;
|
|
50
|
+
prev?: string;
|
|
51
|
+
};
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete label with query param
|
|
55
|
+
* Deletes a labels to the specified content.
|
|
56
|
+
* @param id the id of the content to get the labels for
|
|
57
|
+
* @param name the name of the label to be removed from the content
|
|
58
|
+
* @returns void
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
static deleteLabelWithQueryParam(id: string, name?: string): CancelablePromise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Delete label
|
|
64
|
+
* Deletes a labels to the specified content. The body is the json representation of the list. When calling this method through REST the label parameter doesn't accept `/` characters in label names, because of security constraints. For this case please use the query parameter version of this method (`/content/{id}/label?name={label}`)
|
|
65
|
+
* @param id the id of the content to get the labels for
|
|
66
|
+
* @param label the name of the label to be removed from the content
|
|
67
|
+
* @returns void
|
|
68
|
+
* @throws ApiError
|
|
69
|
+
*/
|
|
70
|
+
static deleteLabel(id: string, label: string): CancelablePromise<void>;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=ContentLabelsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentLabelsService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentLabelsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,oBAAoB;IAC7B;;;;;;;;;;;;OAYG;WACW,MAAM,CAChB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACf,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QACvB,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;IAiBF;;;;;;;OAOG;WACW,SAAS,CACnB,EAAE,EAAE,MAAM,EACV,WAAW,CAAC,EAAE,KAAK,GACpB,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QACvB,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;IAcF;;;;;;;OAOG;WACW,yBAAyB,CACnC,EAAE,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,MAAM,GACd,iBAAiB,CAAC,IAAI,CAAC;IAgB1B;;;;;;;OAOG;WACW,WAAW,CACrB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,GACd,iBAAiB,CAAC,IAAI,CAAC;CAe7B"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class ContentLabelsService {
|
|
4
|
+
/**
|
|
5
|
+
* Get labels
|
|
6
|
+
* Returns the list of labels on a piece of Content. Example request URI(s):
|
|
7
|
+
*
|
|
8
|
+
* - `http://example.com/confluence/rest/api/content/1234/label`
|
|
9
|
+
* - `http://example.com/confluence/rest/api/content/1234/label?prefix=global&start=0&limit=200`
|
|
10
|
+
* @param id the id of the content to get the labels for
|
|
11
|
+
* @param prefix the prefixes to filter the labels with.
|
|
12
|
+
* @param limit the limit of the number of labels to return, this may be restricted by fixed system limits
|
|
13
|
+
* @param start he start point of the collection to return.
|
|
14
|
+
* @returns any returns a JSON representation of the existing labels on the content with the given id
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static labels(id, prefix, limit, start) {
|
|
18
|
+
return __request(OpenAPI, {
|
|
19
|
+
method: 'GET',
|
|
20
|
+
url: '/rest/api/content/{id}/label',
|
|
21
|
+
path: {
|
|
22
|
+
'id': id,
|
|
23
|
+
},
|
|
24
|
+
query: {
|
|
25
|
+
'prefix': prefix,
|
|
26
|
+
'limit': limit,
|
|
27
|
+
'start': start,
|
|
28
|
+
},
|
|
29
|
+
errors: {
|
|
30
|
+
404: ` Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Add Labels
|
|
36
|
+
* Adds a list of labels to the specified content. The body is the json representation of the list.
|
|
37
|
+
* @param id the id of the content to get the labels for
|
|
38
|
+
* @param requestBody a single label object or a list of labels to add
|
|
39
|
+
* @returns any returns a JSON representation of the existing and added labels on the content with the given id, or a 404 NOT FOUND if there is no content with the given id or if the user is not permitted. An empty list will be returned if there are no labels on the given content
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
static addLabels(id, requestBody) {
|
|
43
|
+
return __request(OpenAPI, {
|
|
44
|
+
method: 'POST',
|
|
45
|
+
url: '/rest/api/content/{id}/label',
|
|
46
|
+
path: {
|
|
47
|
+
'id': id,
|
|
48
|
+
},
|
|
49
|
+
body: requestBody,
|
|
50
|
+
mediaType: 'application/json',
|
|
51
|
+
errors: {
|
|
52
|
+
404: `Returned if there is no content with the given id, or if the calling user does not have permission to view the content.`,
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Delete label with query param
|
|
58
|
+
* Deletes a labels to the specified content.
|
|
59
|
+
* @param id the id of the content to get the labels for
|
|
60
|
+
* @param name the name of the label to be removed from the content
|
|
61
|
+
* @returns void
|
|
62
|
+
* @throws ApiError
|
|
63
|
+
*/
|
|
64
|
+
static deleteLabelWithQueryParam(id, name) {
|
|
65
|
+
return __request(OpenAPI, {
|
|
66
|
+
method: 'DELETE',
|
|
67
|
+
url: '/rest/api/content/{id}/label',
|
|
68
|
+
path: {
|
|
69
|
+
'id': id,
|
|
70
|
+
},
|
|
71
|
+
query: {
|
|
72
|
+
'name': name,
|
|
73
|
+
},
|
|
74
|
+
errors: {
|
|
75
|
+
403: ` Returned if user has view permission, but no edit permission to the content.permission to the content.`,
|
|
76
|
+
404: `Returned if content or label doesn't exist, or calling user doesn't have view permission to the content.permission to the content.`,
|
|
77
|
+
},
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Delete label
|
|
82
|
+
* Deletes a labels to the specified content. The body is the json representation of the list. When calling this method through REST the label parameter doesn't accept `/` characters in label names, because of security constraints. For this case please use the query parameter version of this method (`/content/{id}/label?name={label}`)
|
|
83
|
+
* @param id the id of the content to get the labels for
|
|
84
|
+
* @param label the name of the label to be removed from the content
|
|
85
|
+
* @returns void
|
|
86
|
+
* @throws ApiError
|
|
87
|
+
*/
|
|
88
|
+
static deleteLabel(id, label) {
|
|
89
|
+
return __request(OpenAPI, {
|
|
90
|
+
method: 'DELETE',
|
|
91
|
+
url: '/rest/api/content/{id}/label/{label}',
|
|
92
|
+
path: {
|
|
93
|
+
'id': id,
|
|
94
|
+
'label': label,
|
|
95
|
+
},
|
|
96
|
+
errors: {
|
|
97
|
+
400: `Returned if trying to delete a label with "/" in the name.permission to the content.`,
|
|
98
|
+
403: `Returned if user has view permission, but no edit permission to the content.permission to the content.`,
|
|
99
|
+
404: `Returned if content or label doesn't exist, or calling user doesn't have view permission to the content.`,
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=ContentLabelsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentLabelsService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentLabelsService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,oBAAoB;IAC7B;;;;;;;;;;;;OAYG;IACI,MAAM,CAAC,MAAM,CAChB,EAAU,EACV,MAAe,EACf,KAAc,EACd,KAAc;QAed,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,0HAA0H;aAClI;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,SAAS,CACnB,EAAU,EACV,WAAmB;QAenB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,yHAAyH;aACjI;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,yBAAyB,CACnC,EAAU,EACV,IAAa;QAEb,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,MAAM,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,yGAAyG;gBAC9G,GAAG,EAAE,oIAAoI;aAC5I;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,WAAW,CACrB,EAAU,EACV,KAAa;QAEb,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,sCAAsC;YAC3C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;gBACR,OAAO,EAAE,KAAK;aACjB;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,sFAAsF;gBAC3F,GAAG,EAAE,wGAAwG;gBAC7G,GAAG,EAAE,0GAA0G;aAClH;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { JsonContentProperty } from '../models/JsonContentProperty.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
export declare class ContentPropertyService {
|
|
4
|
+
/**
|
|
5
|
+
* Find all content properties
|
|
6
|
+
* Returns a paginated list of content properties. Example request URI(s):
|
|
7
|
+
*
|
|
8
|
+
* - `http://example.com/confluence/rest/api/content/1234/property?expand=content,version`
|
|
9
|
+
* @param id the id of the content
|
|
10
|
+
* @param expand a comma separated list of properties to expand on the content properties. Default value: <code>version</code>.
|
|
11
|
+
* @param limit the limit of the number of labels to return, this may be restricted by fixed system limits
|
|
12
|
+
* @param start the start point of the collection to return.
|
|
13
|
+
* @returns any returns a JSON representation of the content properties, or a 404 NOT FOUND if there is no content with the given id or if the user is not permitted..
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
static findAll(id: string, expand?: string, limit?: string, start?: string): CancelablePromise<{
|
|
17
|
+
results?: Array<JsonContentProperty>;
|
|
18
|
+
totalCount?: number;
|
|
19
|
+
start?: number;
|
|
20
|
+
limit?: number;
|
|
21
|
+
size?: number;
|
|
22
|
+
_links?: {
|
|
23
|
+
base?: string;
|
|
24
|
+
context?: string;
|
|
25
|
+
self?: string;
|
|
26
|
+
next?: string;
|
|
27
|
+
prev?: string;
|
|
28
|
+
};
|
|
29
|
+
}>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a content property
|
|
32
|
+
* Creates a new content property.
|
|
33
|
+
* @param id the id of the content
|
|
34
|
+
* @param requestBody content property to be created.
|
|
35
|
+
* @returns JsonContentProperty Returns a full JSON representation of the content property.
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static create1(id: string, requestBody?: JsonContentProperty): CancelablePromise<JsonContentProperty>;
|
|
39
|
+
/**
|
|
40
|
+
* Find content property by key
|
|
41
|
+
* Returns a content property. Example request URI(s):
|
|
42
|
+
*
|
|
43
|
+
* - `http://example.com/confluence/rest/api/content/1234/property/example-property-key?expand=content,version`
|
|
44
|
+
* @param id the id of the content
|
|
45
|
+
* @param key the key of the content property. Required.
|
|
46
|
+
* @param expand a comma separated list of properties to expand on the content properties. Default value: <code>version</code>.
|
|
47
|
+
* @param limit the limit of the number of labels to return, this may be restricted by fixed system limits
|
|
48
|
+
* @returns JsonContentProperty returns a JSON representation of the content property.
|
|
49
|
+
* @throws ApiError
|
|
50
|
+
*/
|
|
51
|
+
static findByKey(id: string, key: string, expand?: string, limit?: string): CancelablePromise<JsonContentProperty>;
|
|
52
|
+
/**
|
|
53
|
+
* Update content property
|
|
54
|
+
* Updates a content property. The body contains the representation of the content property. Must include the property id, and the new version number. Attempts to create a new content property if the given version number is `1`
|
|
55
|
+
* @param id the id of the content
|
|
56
|
+
* @param key the key of the content property. Required.
|
|
57
|
+
* @param expand a comma separated list of properties to expand on the content properties. Default value: <code>version</code>.
|
|
58
|
+
* @param requestBody the content property being updated
|
|
59
|
+
* @returns JsonContentProperty returns a JSON representation of the content property, or a 404 NOT FOUND if there is no content with the given id, or no property with the given key, or if the user is not permitted.
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
static update1(id: string, key: string, expand?: string, requestBody?: JsonContentProperty): CancelablePromise<JsonContentProperty>;
|
|
63
|
+
/**
|
|
64
|
+
* @param id the id of the content
|
|
65
|
+
* @param key
|
|
66
|
+
* @param requestBody
|
|
67
|
+
* @returns JsonContentProperty default response
|
|
68
|
+
* @throws ApiError
|
|
69
|
+
*/
|
|
70
|
+
static create2(id: string, key: string, requestBody?: JsonContentProperty): CancelablePromise<JsonContentProperty>;
|
|
71
|
+
/**
|
|
72
|
+
* Delete content property
|
|
73
|
+
* Deletes a content property.
|
|
74
|
+
* @param id the id of the content
|
|
75
|
+
* @param key the key of the content property. Required.
|
|
76
|
+
* @returns void
|
|
77
|
+
* @throws ApiError
|
|
78
|
+
*/
|
|
79
|
+
static delete2(id: string, key: string): CancelablePromise<void>;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=ContentPropertyService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentPropertyService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/ContentPropertyService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,sBAAsB;IAC/B;;;;;;;;;;;OAWG;WACW,OAAO,CACjB,EAAE,EAAE,MAAM,EACV,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACf,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACrC,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;IAiBF;;;;;;;OAOG;WACW,OAAO,CACjB,EAAE,EAAE,MAAM,EACV,WAAW,CAAC,EAAE,mBAAmB,GAClC,iBAAiB,CAAC,mBAAmB,CAAC;IAiBzC;;;;;;;;;;;OAWG;WACW,SAAS,CACnB,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,GACf,iBAAiB,CAAC,mBAAmB,CAAC;IAiBzC;;;;;;;;;OASG;WACW,OAAO,CACjB,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,mBAAmB,GAClC,iBAAiB,CAAC,mBAAmB,CAAC;IAsBzC;;;;;;OAMG;WACW,OAAO,CACjB,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,EACX,WAAW,CAAC,EAAE,mBAAmB,GAClC,iBAAiB,CAAC,mBAAmB,CAAC;IAYzC;;;;;;;OAOG;WACW,OAAO,CACjB,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,GACZ,iBAAiB,CAAC,IAAI,CAAC;CAa7B"}
|