@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,200 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class UserService {
|
|
4
|
+
/**
|
|
5
|
+
* Change password
|
|
6
|
+
* Change the password for the current user.
|
|
7
|
+
*
|
|
8
|
+
* Validation Rules:
|
|
9
|
+
*
|
|
10
|
+
* - New password supplied cannot be null or blank
|
|
11
|
+
*
|
|
12
|
+
* Example request URI(s):
|
|
13
|
+
*
|
|
14
|
+
* `http://example.com/confluence/rest/api/user/current/password`
|
|
15
|
+
* @param requestBody password change details
|
|
16
|
+
* @returns void
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static changePassword1(requestBody) {
|
|
20
|
+
return __request(OpenAPI, {
|
|
21
|
+
method: 'POST',
|
|
22
|
+
url: '/rest/api/user/current/password',
|
|
23
|
+
body: requestBody,
|
|
24
|
+
mediaType: 'application/json',
|
|
25
|
+
errors: {
|
|
26
|
+
400: ` returned if any error occurs while changing user password. Refer the validation rules above.`,
|
|
27
|
+
401: `returned if the user is not authenticated.`,
|
|
28
|
+
403: `returned if current password is wrong or if the user has exceeded number of allowed failed login attempts
|
|
29
|
+
.`,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get information about anonymous user type
|
|
35
|
+
* Get information about how anonymous is represented in Confluence. Example request URI(s):
|
|
36
|
+
*
|
|
37
|
+
* `http://example.com/confluence/rest/api/user/anonymous`
|
|
38
|
+
* @param expand properties to expand on the user.
|
|
39
|
+
* @returns Person Returns a full JSON representation of a user.
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
static getAnonymous(expand) {
|
|
43
|
+
return __request(OpenAPI, {
|
|
44
|
+
method: 'GET',
|
|
45
|
+
url: '/rest/api/user/anonymous',
|
|
46
|
+
query: {
|
|
47
|
+
'expand': expand,
|
|
48
|
+
},
|
|
49
|
+
errors: {
|
|
50
|
+
403: `Returned if the calling user does not have permission to use confluence.`,
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get current user
|
|
56
|
+
* Get information about the current logged in user. Example request URI(s):
|
|
57
|
+
*
|
|
58
|
+
* `http://example.com/confluence/rest/api/user/current`
|
|
59
|
+
* @param expand properties to expand on the user.
|
|
60
|
+
* @returns Person Returns a full JSON representation of a user.
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static getCurrent(expand) {
|
|
64
|
+
return __request(OpenAPI, {
|
|
65
|
+
method: 'GET',
|
|
66
|
+
url: '/rest/api/user/current',
|
|
67
|
+
query: {
|
|
68
|
+
'expand': expand,
|
|
69
|
+
},
|
|
70
|
+
errors: {
|
|
71
|
+
403: `Returned if the calling user does not have permission to use confluence.`,
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Update details of the current user
|
|
77
|
+
* Change the current user's details.
|
|
78
|
+
*
|
|
79
|
+
* Validation Rules:
|
|
80
|
+
* - Full name cannot be blank, containing <> characters or be reserved by Confluence.
|
|
81
|
+
* - Email must be a valid email address.
|
|
82
|
+
* - Current password must be supplied for changing email address.
|
|
83
|
+
*
|
|
84
|
+
* Example PUT request URI(s):
|
|
85
|
+
* `http://example.com/confluence/rest/api/user/current`
|
|
86
|
+
*
|
|
87
|
+
* @param requestBody User details
|
|
88
|
+
* @returns void
|
|
89
|
+
* @throws ApiError
|
|
90
|
+
*/
|
|
91
|
+
static updateUser1(requestBody) {
|
|
92
|
+
return __request(OpenAPI, {
|
|
93
|
+
method: 'PUT',
|
|
94
|
+
url: '/rest/api/user/current',
|
|
95
|
+
body: requestBody,
|
|
96
|
+
mediaType: 'application/json',
|
|
97
|
+
errors: {
|
|
98
|
+
400: ` Returned if any error occurs while updating user details. Refer the validation rules above.`,
|
|
99
|
+
401: `Returned if the user is not authenticated.`,
|
|
100
|
+
403: `Returned if current password is wrong or if the user has exceeded number of allowed failed login attempts
|
|
101
|
+
.`,
|
|
102
|
+
},
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Get groups
|
|
107
|
+
* Get a paginated collection of groups that the given user is a member of. Example request URI(s):
|
|
108
|
+
*
|
|
109
|
+
* `http://example.com/confluence/rest/api/user/memberof?username=jblogs`
|
|
110
|
+
* `http://example.com/confluence/rest/api/user/memberof?key=402880824ff933a4014ff9345d7c0002`
|
|
111
|
+
* @param expand properties to expand on the user.
|
|
112
|
+
* @param limit the limit of the number of users to return, this may be restricted by fixed system limits.
|
|
113
|
+
* @param start the start point of the collection to return. This must be non-negative. Default value is 0.
|
|
114
|
+
* @param key userkey of the user to request from this resource
|
|
115
|
+
* @param username userName of the user to get the groups for.
|
|
116
|
+
* @returns any Returns a full JSON representation of a user.
|
|
117
|
+
* @throws ApiError
|
|
118
|
+
*/
|
|
119
|
+
static getGroups1(expand, limit, start, key, username) {
|
|
120
|
+
return __request(OpenAPI, {
|
|
121
|
+
method: 'GET',
|
|
122
|
+
url: '/rest/api/user/memberof',
|
|
123
|
+
query: {
|
|
124
|
+
'expand': expand,
|
|
125
|
+
'limit': limit,
|
|
126
|
+
'start': start,
|
|
127
|
+
'key': key,
|
|
128
|
+
'username': username,
|
|
129
|
+
},
|
|
130
|
+
errors: {
|
|
131
|
+
403: `Returned if the calling user does not have permission to use confluence.`,
|
|
132
|
+
},
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Get user
|
|
137
|
+
* Get information about a user identified by either user key or username. Example request URI(s):
|
|
138
|
+
*
|
|
139
|
+
* `http://example.com/confluence/rest/api/user?username=jblogs`
|
|
140
|
+
* `http://example.com/confluence/rest/api/user?key=402880824ff933a4014ff9345d7c0002`
|
|
141
|
+
* @param expand properties to expand on the user.
|
|
142
|
+
* @param key userkey of the user to request from this resource.
|
|
143
|
+
* @param username userName of the user to create the new watcher for.
|
|
144
|
+
* @returns Person Returns a full JSON representation of a user
|
|
145
|
+
* @throws ApiError
|
|
146
|
+
*/
|
|
147
|
+
static getUser(expand, key, username) {
|
|
148
|
+
return __request(OpenAPI, {
|
|
149
|
+
method: 'GET',
|
|
150
|
+
url: '/rest/api/user',
|
|
151
|
+
query: {
|
|
152
|
+
'expand': expand,
|
|
153
|
+
'key': key,
|
|
154
|
+
'username': username,
|
|
155
|
+
},
|
|
156
|
+
errors: {
|
|
157
|
+
403: `Returned if the calling user does not have permission to view users.`,
|
|
158
|
+
404: `Returned if a user with the given username or userkey does not exist.`,
|
|
159
|
+
},
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Get registered users
|
|
164
|
+
* Gets a paginated collection of all registered users, including but not limited to:
|
|
165
|
+
*
|
|
166
|
+
* - Disabled users
|
|
167
|
+
* - Enabled users
|
|
168
|
+
* - Enabled users which count towards the license count on the site
|
|
169
|
+
* - Enabled users which do not count towards the license count on the site
|
|
170
|
+
* - Enabled users which have "can use" global permissions
|
|
171
|
+
* - Enabled users which do not have "can use" global permissions
|
|
172
|
+
*
|
|
173
|
+
* Example request URI(s):
|
|
174
|
+
*
|
|
175
|
+
* `http://example.com/confluence/rest/api/user/list`
|
|
176
|
+
* `http://example.com/confluence/rest/api/user/list?start=0`
|
|
177
|
+
* `http://example.com/confluence/rest/api/user/list?start=0&limit=100`
|
|
178
|
+
* `http://example.com/confluence/rest/api/user/list?start=0&limit=100&expand=status`
|
|
179
|
+
* @param expand properties to expand on the user.
|
|
180
|
+
* @param limit the limit of the number of users to return, this may be restricted by fixed system limits.
|
|
181
|
+
* @param start the start point of the collection to return. This must be non-negative. Default value is 0.
|
|
182
|
+
* @returns any returns a paginated collection of users.
|
|
183
|
+
* @throws ApiError
|
|
184
|
+
*/
|
|
185
|
+
static getUsers(expand, limit, start) {
|
|
186
|
+
return __request(OpenAPI, {
|
|
187
|
+
method: 'GET',
|
|
188
|
+
url: '/rest/api/user/list',
|
|
189
|
+
query: {
|
|
190
|
+
'expand': expand,
|
|
191
|
+
'limit': limit,
|
|
192
|
+
'start': start,
|
|
193
|
+
},
|
|
194
|
+
errors: {
|
|
195
|
+
403: `Returned if the calling user does not have permission to view users. This is possible for anonymous or un-licensed users.`,
|
|
196
|
+
},
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
//# sourceMappingURL=UserService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/UserService.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { ContentWatch } from '../models/ContentWatch.js';
|
|
2
|
+
import type { SpaceWatch } from '../models/SpaceWatch.js';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
export declare class UserWatchService {
|
|
5
|
+
/**
|
|
6
|
+
* Get information about content watcher
|
|
7
|
+
* Get information about whether a user is watching a specified content. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
8
|
+
*
|
|
9
|
+
* Example request URI(s):
|
|
10
|
+
*
|
|
11
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213`
|
|
12
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?username=jblogs`
|
|
13
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000`
|
|
14
|
+
* @param contentId id of the content.
|
|
15
|
+
* @param key userkey of the user to check for watching state.
|
|
16
|
+
* @param username username of the user to check for watching state.
|
|
17
|
+
* @returns any Returns a JSON representation containing the watching state.
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static isWatchingContent(contentId: string, key?: string, username?: string): CancelablePromise<any>;
|
|
21
|
+
/**
|
|
22
|
+
* Add content watcher
|
|
23
|
+
* Create a new watcher for the given user and content id. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
24
|
+
*
|
|
25
|
+
* Example request URI(s):
|
|
26
|
+
*
|
|
27
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213`
|
|
28
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?username=jblogs`
|
|
29
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000`
|
|
30
|
+
* @param contentId id of the content.
|
|
31
|
+
* @param key userkey of the user to check for watching state.
|
|
32
|
+
* @param username username of the user to check for watching state.
|
|
33
|
+
* @returns ContentWatch Returned if the watcher was successfully created.
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
static addContentWatcher(contentId: string, key?: string, username?: string): CancelablePromise<ContentWatch>;
|
|
37
|
+
/**
|
|
38
|
+
* Remove content watcher
|
|
39
|
+
* Delete an existing watcher for the given user and content id. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
40
|
+
*
|
|
41
|
+
* Example request URI(s):
|
|
42
|
+
*
|
|
43
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213`
|
|
44
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?username=jblogs`
|
|
45
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000`
|
|
46
|
+
* @param contentId id of the content.
|
|
47
|
+
* @param key userkey of the user to check for watching state.
|
|
48
|
+
* @param username username of the user to check for watching state.
|
|
49
|
+
* @returns void
|
|
50
|
+
* @throws ApiError
|
|
51
|
+
*/
|
|
52
|
+
static removeContentWatcher(contentId: string, key?: string, username?: string): CancelablePromise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Get information about space watcher
|
|
55
|
+
* Get information about whether a user is watching a specified space. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
56
|
+
*
|
|
57
|
+
* Example request URI(s):
|
|
58
|
+
*
|
|
59
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY`
|
|
60
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?username=jblogs`
|
|
61
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000`
|
|
62
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?contentType=blostpost`
|
|
63
|
+
* @param spaceKey
|
|
64
|
+
* @param contentType an optional content type to check for watching state.
|
|
65
|
+
* @param key userkey of the user to check for watching state.
|
|
66
|
+
* @param username username of the user to check for watching state.
|
|
67
|
+
* @returns any Returns a JSON representation containing the watching state.
|
|
68
|
+
* @throws ApiError
|
|
69
|
+
*/
|
|
70
|
+
static isWatchingSpace(spaceKey: string, contentType?: string, key?: string, username?: string): CancelablePromise<any>;
|
|
71
|
+
/**
|
|
72
|
+
* Add space watcher
|
|
73
|
+
* Create a new watcher for the given user and space key. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
74
|
+
*
|
|
75
|
+
* Example request URI(s):
|
|
76
|
+
*
|
|
77
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY`
|
|
78
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?username=jblogs`
|
|
79
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000`
|
|
80
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?contentType=blogpost`
|
|
81
|
+
* @param spaceKey
|
|
82
|
+
* @param contentType the optional content type to delete the watcher for.
|
|
83
|
+
* @param key userKey of the user to create the new watcher for.
|
|
84
|
+
* @param username userName of the user to create the new watcher for.
|
|
85
|
+
* @returns SpaceWatch Returned if the watcher was successfully created
|
|
86
|
+
* @throws ApiError
|
|
87
|
+
*/
|
|
88
|
+
static addSpaceWatch(spaceKey: string, contentType?: string, key?: string, username?: string): CancelablePromise<SpaceWatch>;
|
|
89
|
+
/**
|
|
90
|
+
* Remove space watcher
|
|
91
|
+
* Delete an existing watcher for the given user and space key. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
92
|
+
*
|
|
93
|
+
* Example request URI(s):
|
|
94
|
+
*
|
|
95
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY`
|
|
96
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?username=jblogs`
|
|
97
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000`
|
|
98
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?contentType=blogpost`
|
|
99
|
+
* @param spaceKey
|
|
100
|
+
* @param contentType the optional content type to delete the watcher for.
|
|
101
|
+
* @param key userkey of the user to delete the watcher for.
|
|
102
|
+
* @param username username of the user to delete the watcher for.
|
|
103
|
+
* @returns void
|
|
104
|
+
* @throws ApiError
|
|
105
|
+
*/
|
|
106
|
+
static removeSpaceWatch(spaceKey: string, contentType?: string, key?: string, username?: string): CancelablePromise<void>;
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=UserWatchService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserWatchService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/UserWatchService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,gBAAgB;IACzB;;;;;;;;;;;;;;OAcG;WACW,iBAAiB,CAC3B,SAAS,EAAE,MAAM,EACjB,GAAG,CAAC,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,GAAG,CAAC;IAgBzB;;;;;;;;;;;;;;OAcG;WACW,iBAAiB,CAC3B,SAAS,EAAE,MAAM,EACjB,GAAG,CAAC,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,YAAY,CAAC;IAgBlC;;;;;;;;;;;;;;OAcG;WACW,oBAAoB,CAC9B,SAAS,EAAE,MAAM,EACjB,GAAG,CAAC,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,IAAI,CAAC;IAgB1B;;;;;;;;;;;;;;;;OAgBG;WACW,eAAe,CACzB,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,GAAG,CAAC;IAiBzB;;;;;;;;;;;;;;;;OAgBG;WACW,aAAa,CACvB,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,UAAU,CAAC;IAiBhC;;;;;;;;;;;;;;;;OAgBG;WACW,gBAAgB,CAC1B,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,GAClB,iBAAiB,CAAC,IAAI,CAAC;CAiB7B"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class UserWatchService {
|
|
4
|
+
/**
|
|
5
|
+
* Get information about content watcher
|
|
6
|
+
* Get information about whether a user is watching a specified content. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
7
|
+
*
|
|
8
|
+
* Example request URI(s):
|
|
9
|
+
*
|
|
10
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213`
|
|
11
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?username=jblogs`
|
|
12
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000`
|
|
13
|
+
* @param contentId id of the content.
|
|
14
|
+
* @param key userkey of the user to check for watching state.
|
|
15
|
+
* @param username username of the user to check for watching state.
|
|
16
|
+
* @returns any Returns a JSON representation containing the watching state.
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static isWatchingContent(contentId, key, username) {
|
|
20
|
+
return __request(OpenAPI, {
|
|
21
|
+
method: 'GET',
|
|
22
|
+
url: '/rest/api/user/watch/content/{contentId}',
|
|
23
|
+
path: {
|
|
24
|
+
'contentId': contentId,
|
|
25
|
+
},
|
|
26
|
+
query: {
|
|
27
|
+
'key': key,
|
|
28
|
+
'username': username,
|
|
29
|
+
},
|
|
30
|
+
errors: {
|
|
31
|
+
404: `Returned if no content exists for the specified content id or calling user does not have permission to perform the operation`,
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Add content watcher
|
|
37
|
+
* Create a new watcher for the given user and content id. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
38
|
+
*
|
|
39
|
+
* Example request URI(s):
|
|
40
|
+
*
|
|
41
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213`
|
|
42
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?username=jblogs`
|
|
43
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000`
|
|
44
|
+
* @param contentId id of the content.
|
|
45
|
+
* @param key userkey of the user to check for watching state.
|
|
46
|
+
* @param username username of the user to check for watching state.
|
|
47
|
+
* @returns ContentWatch Returned if the watcher was successfully created.
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static addContentWatcher(contentId, key, username) {
|
|
51
|
+
return __request(OpenAPI, {
|
|
52
|
+
method: 'POST',
|
|
53
|
+
url: '/rest/api/user/watch/content/{contentId}',
|
|
54
|
+
path: {
|
|
55
|
+
'contentId': contentId,
|
|
56
|
+
},
|
|
57
|
+
query: {
|
|
58
|
+
'key': key,
|
|
59
|
+
'username': username,
|
|
60
|
+
},
|
|
61
|
+
errors: {
|
|
62
|
+
404: `Returned if no content exists for the specified content id or the calling user does not have permission to perform the operation.`,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Remove content watcher
|
|
68
|
+
* Delete an existing watcher for the given user and content id. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
69
|
+
*
|
|
70
|
+
* Example request URI(s):
|
|
71
|
+
*
|
|
72
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213`
|
|
73
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?username=jblogs`
|
|
74
|
+
* `http://example.com/confluence/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000`
|
|
75
|
+
* @param contentId id of the content.
|
|
76
|
+
* @param key userkey of the user to check for watching state.
|
|
77
|
+
* @param username username of the user to check for watching state.
|
|
78
|
+
* @returns void
|
|
79
|
+
* @throws ApiError
|
|
80
|
+
*/
|
|
81
|
+
static removeContentWatcher(contentId, key, username) {
|
|
82
|
+
return __request(OpenAPI, {
|
|
83
|
+
method: 'DELETE',
|
|
84
|
+
url: '/rest/api/user/watch/content/{contentId}',
|
|
85
|
+
path: {
|
|
86
|
+
'contentId': contentId,
|
|
87
|
+
},
|
|
88
|
+
query: {
|
|
89
|
+
'key': key,
|
|
90
|
+
'username': username,
|
|
91
|
+
},
|
|
92
|
+
errors: {
|
|
93
|
+
404: `Returned if no content exists for the specified content id or the calling user does not have permission to perform the operation`,
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Get information about space watcher
|
|
99
|
+
* Get information about whether a user is watching a specified space. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
100
|
+
*
|
|
101
|
+
* Example request URI(s):
|
|
102
|
+
*
|
|
103
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY`
|
|
104
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?username=jblogs`
|
|
105
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000`
|
|
106
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?contentType=blostpost`
|
|
107
|
+
* @param spaceKey
|
|
108
|
+
* @param contentType an optional content type to check for watching state.
|
|
109
|
+
* @param key userkey of the user to check for watching state.
|
|
110
|
+
* @param username username of the user to check for watching state.
|
|
111
|
+
* @returns any Returns a JSON representation containing the watching state.
|
|
112
|
+
* @throws ApiError
|
|
113
|
+
*/
|
|
114
|
+
static isWatchingSpace(spaceKey, contentType, key, username) {
|
|
115
|
+
return __request(OpenAPI, {
|
|
116
|
+
method: 'GET',
|
|
117
|
+
url: '/rest/api/user/watch/space/{spaceKey}',
|
|
118
|
+
path: {
|
|
119
|
+
'spaceKey': spaceKey,
|
|
120
|
+
},
|
|
121
|
+
query: {
|
|
122
|
+
'contentType': contentType,
|
|
123
|
+
'key': key,
|
|
124
|
+
'username': username,
|
|
125
|
+
},
|
|
126
|
+
errors: {
|
|
127
|
+
404: `Returned if no space exists for the specified space key or the calling user does not have permission to perform the operation.`,
|
|
128
|
+
},
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Add space watcher
|
|
133
|
+
* Create a new watcher for the given user and space key. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
134
|
+
*
|
|
135
|
+
* Example request URI(s):
|
|
136
|
+
*
|
|
137
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY`
|
|
138
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?username=jblogs`
|
|
139
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000`
|
|
140
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?contentType=blogpost`
|
|
141
|
+
* @param spaceKey
|
|
142
|
+
* @param contentType the optional content type to delete the watcher for.
|
|
143
|
+
* @param key userKey of the user to create the new watcher for.
|
|
144
|
+
* @param username userName of the user to create the new watcher for.
|
|
145
|
+
* @returns SpaceWatch Returned if the watcher was successfully created
|
|
146
|
+
* @throws ApiError
|
|
147
|
+
*/
|
|
148
|
+
static addSpaceWatch(spaceKey, contentType, key, username) {
|
|
149
|
+
return __request(OpenAPI, {
|
|
150
|
+
method: 'POST',
|
|
151
|
+
url: '/rest/api/user/watch/space/{spaceKey}',
|
|
152
|
+
path: {
|
|
153
|
+
'spaceKey': spaceKey,
|
|
154
|
+
},
|
|
155
|
+
query: {
|
|
156
|
+
'contentType': contentType,
|
|
157
|
+
'key': key,
|
|
158
|
+
'username': username,
|
|
159
|
+
},
|
|
160
|
+
errors: {
|
|
161
|
+
404: `Returned if no content exists for the specified space key or the calling user does not have permission to perform the operation`,
|
|
162
|
+
},
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Remove space watcher
|
|
167
|
+
* Delete an existing watcher for the given user and space key. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.
|
|
168
|
+
*
|
|
169
|
+
* Example request URI(s):
|
|
170
|
+
*
|
|
171
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY`
|
|
172
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?username=jblogs`
|
|
173
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?key=ff8080815a58e24c015a58e263710000`
|
|
174
|
+
* `http://example.com/confluence/rest/api/user/watch/space/SPACEKEY?contentType=blogpost`
|
|
175
|
+
* @param spaceKey
|
|
176
|
+
* @param contentType the optional content type to delete the watcher for.
|
|
177
|
+
* @param key userkey of the user to delete the watcher for.
|
|
178
|
+
* @param username username of the user to delete the watcher for.
|
|
179
|
+
* @returns void
|
|
180
|
+
* @throws ApiError
|
|
181
|
+
*/
|
|
182
|
+
static removeSpaceWatch(spaceKey, contentType, key, username) {
|
|
183
|
+
return __request(OpenAPI, {
|
|
184
|
+
method: 'DELETE',
|
|
185
|
+
url: '/rest/api/user/watch/space/{spaceKey}',
|
|
186
|
+
path: {
|
|
187
|
+
'spaceKey': spaceKey,
|
|
188
|
+
},
|
|
189
|
+
query: {
|
|
190
|
+
'contentType': contentType,
|
|
191
|
+
'key': key,
|
|
192
|
+
'username': username,
|
|
193
|
+
},
|
|
194
|
+
errors: {
|
|
195
|
+
404: `Returned if no content exists for the specified space key or the calling user does not have permission to perform the operation`,
|
|
196
|
+
},
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
//# sourceMappingURL=UserWatchService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserWatchService.js","sourceRoot":"","sources":["../../../src/confluence-client/services/UserWatchService.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { DetailedInvocation } from '../models/DetailedInvocation.js';
|
|
2
|
+
import type { RestInvocationHistory } from '../models/RestInvocationHistory.js';
|
|
3
|
+
import type { RestWebhook } from '../models/RestWebhook.js';
|
|
4
|
+
import type { Webhook } from '../models/Webhook.js';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
6
|
+
export declare class WebhooksService {
|
|
7
|
+
/**
|
|
8
|
+
* Find webhooks
|
|
9
|
+
* Find webhooks. The authenticated user must be an administrator to call this resource.
|
|
10
|
+
* @param limit the limit of the number of items to return, this may be restricted by fixed system limits.
|
|
11
|
+
* @param start the start point of the collection to return
|
|
12
|
+
* @param event list of webhook event ids to filter for
|
|
13
|
+
* @param statistics if statistics should be provided for all found webhooks.
|
|
14
|
+
* @returns any returns a list of webhooks.
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static findWebhooks(limit?: string, start?: string, event?: string, statistics?: string): CancelablePromise<{
|
|
18
|
+
results?: Array<RestWebhook>;
|
|
19
|
+
totalCount?: number;
|
|
20
|
+
start?: number;
|
|
21
|
+
limit?: number;
|
|
22
|
+
size?: number;
|
|
23
|
+
_links?: {
|
|
24
|
+
base?: string;
|
|
25
|
+
context?: string;
|
|
26
|
+
self?: string;
|
|
27
|
+
next?: string;
|
|
28
|
+
prev?: string;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
/**
|
|
32
|
+
* Create webhook
|
|
33
|
+
* Create a webhook via the URL. The authenticated user must be an administrator to call this resource.
|
|
34
|
+
* @param requestBody the webhook to be created.
|
|
35
|
+
* @returns Webhook returns a created webhook.
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static createWebhook(requestBody: RestWebhook): CancelablePromise<Webhook>;
|
|
39
|
+
/**
|
|
40
|
+
* Get webhook
|
|
41
|
+
* Get a webhook by id. The authenticated user must be an administrator to call this resource.
|
|
42
|
+
* @param webhookId id of the webhook
|
|
43
|
+
* @param statistics
|
|
44
|
+
* @returns RestWebhook returns a webhook.
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static getWebhook(webhookId: string, statistics?: boolean): CancelablePromise<RestWebhook>;
|
|
48
|
+
/**
|
|
49
|
+
* Update webhook
|
|
50
|
+
* Update an existing webhook. The authenticated user must be an administrator to call this resource.
|
|
51
|
+
* @param webhookId the existing webhook id
|
|
52
|
+
* @param requestBody the representation of the updated values for the webhook
|
|
53
|
+
* @returns RestWebhook returns a webhook.
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
static updateWebhook(webhookId: string, requestBody: RestWebhook): CancelablePromise<RestWebhook>;
|
|
57
|
+
/**
|
|
58
|
+
* Delete webhook
|
|
59
|
+
* Delete a webhook via the URL. The authenticated user must be an administrator to call this resource.
|
|
60
|
+
* @param webhookId the id of the webhook to be deleted.
|
|
61
|
+
* @returns void
|
|
62
|
+
* @throws ApiError
|
|
63
|
+
*/
|
|
64
|
+
static deleteWebhook(webhookId: string): CancelablePromise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Get latest invocations
|
|
67
|
+
* Get the latest invocations for a specific webhook. The authenticated user must be an administrator to call this resource.
|
|
68
|
+
* @param webhookId id of the webhook
|
|
69
|
+
* @param outcomes the outcome to filter for. Can be SUCCESS, FAILURE, ERROR. None specified means that the all will be considered.
|
|
70
|
+
* @param event the string id of a specific event to retrieve the last invocation for.
|
|
71
|
+
* @param outcome
|
|
72
|
+
* @returns DetailedInvocation returns a webhook invocation dataset.
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
static getLatestInvocation(webhookId: string, outcomes?: string, event?: string, outcome?: Array<string>): CancelablePromise<DetailedInvocation>;
|
|
76
|
+
/**
|
|
77
|
+
* Get statistic
|
|
78
|
+
* Get the statistics for a specific webhook. The authenticated user must be an administrator to call this resource.
|
|
79
|
+
* @param webhookId id of the webhook
|
|
80
|
+
* @param event the string id of a specific event to retrieve the last invocation for.
|
|
81
|
+
* @returns RestInvocationHistory returns a webhook invocation dataset.
|
|
82
|
+
* @throws ApiError
|
|
83
|
+
*/
|
|
84
|
+
static getStatistics(webhookId: string, event?: string): CancelablePromise<RestInvocationHistory>;
|
|
85
|
+
/**
|
|
86
|
+
* Get statistics summary
|
|
87
|
+
* Get the statistics summary for a specific webhook. The authenticated user must be an administrator to call this resource.
|
|
88
|
+
* @param webhookId id of the webhook
|
|
89
|
+
* @returns RestInvocationHistory returns a webhook invocation dataset.
|
|
90
|
+
* @throws ApiError
|
|
91
|
+
*/
|
|
92
|
+
static getStatisticsSummary(webhookId: string): CancelablePromise<RestInvocationHistory>;
|
|
93
|
+
/**
|
|
94
|
+
* Test webhook
|
|
95
|
+
* Test connectivity to a specific endpoint. The authenticated user must be an administrator to call this resource.
|
|
96
|
+
* @param url the url in which to connect to
|
|
97
|
+
* @returns any returns a webhook.
|
|
98
|
+
* @throws ApiError
|
|
99
|
+
*/
|
|
100
|
+
static testWebhook(url: string): CancelablePromise<any>;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=WebhooksService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebhooksService.d.ts","sourceRoot":"","sources":["../../../src/confluence-client/services/WebhooksService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,eAAe;IACxB;;;;;;;;;OASG;WACW,YAAY,CACtB,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,EACd,UAAU,CAAC,EAAE,MAAM,GACpB,iBAAiB,CAAC;QACjB,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;QAC7B,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;;;;;;OAMG;WACW,aAAa,CACvB,WAAW,EAAE,WAAW,GACzB,iBAAiB,CAAC,OAAO,CAAC;IAY7B;;;;;;;OAOG;WACW,UAAU,CACpB,SAAS,EAAE,MAAM,EACjB,UAAU,GAAE,OAAe,GAC5B,iBAAiB,CAAC,WAAW,CAAC;IAgBjC;;;;;;;OAOG;WACW,aAAa,CACvB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,WAAW,GACzB,iBAAiB,CAAC,WAAW,CAAC;IAejC;;;;;;OAMG;WACW,aAAa,CACvB,SAAS,EAAE,MAAM,GAClB,iBAAiB,CAAC,IAAI,CAAC;IAa1B;;;;;;;;;OASG;WACW,mBAAmB,CAC7B,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GACxB,iBAAiB,CAAC,kBAAkB,CAAC;IAkBxC;;;;;;;OAOG;WACW,aAAa,CACvB,SAAS,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,MAAM,GACf,iBAAiB,CAAC,qBAAqB,CAAC;IAgB3C;;;;;;OAMG;WACW,oBAAoB,CAC9B,SAAS,EAAE,MAAM,GAClB,iBAAiB,CAAC,qBAAqB,CAAC;IAa3C;;;;;;OAMG;WACW,WAAW,CACrB,GAAG,EAAE,MAAM,GACZ,iBAAiB,CAAC,GAAG,CAAC;CAa5B"}
|