bitbucket-datacenter-mcp 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 +307 -0
- package/README.md +236 -0
- package/bin/run.js +7 -0
- package/build/__tests__/bitbucket-service.test.d.ts +2 -0
- package/build/__tests__/bitbucket-service.test.d.ts.map +1 -0
- package/build/__tests__/bitbucket-service.test.js +2824 -0
- package/build/__tests__/bitbucket-service.test.js.map +1 -0
- package/build/__tests__/bitbucket-token-optimization.test.d.ts +2 -0
- package/build/__tests__/bitbucket-token-optimization.test.d.ts.map +1 -0
- package/build/__tests__/bitbucket-token-optimization.test.js +391 -0
- package/build/__tests__/bitbucket-token-optimization.test.js.map +1 -0
- package/build/__tests__/config.test.d.ts +2 -0
- package/build/__tests__/config.test.d.ts.map +1 -0
- package/build/__tests__/config.test.js +49 -0
- package/build/__tests__/config.test.js.map +1 -0
- package/build/__tests__/inbox-pr-mapper.test.d.ts +2 -0
- package/build/__tests__/inbox-pr-mapper.test.d.ts.map +1 -0
- package/build/__tests__/inbox-pr-mapper.test.js +304 -0
- package/build/__tests__/inbox-pr-mapper.test.js.map +1 -0
- package/build/__tests__/pr-changes-mapper.test.d.ts +2 -0
- package/build/__tests__/pr-changes-mapper.test.d.ts.map +1 -0
- package/build/__tests__/pr-changes-mapper.test.js +396 -0
- package/build/__tests__/pr-changes-mapper.test.js.map +1 -0
- package/build/__tests__/pr-comment-mapper.test.d.ts +2 -0
- package/build/__tests__/pr-comment-mapper.test.d.ts.map +1 -0
- package/build/__tests__/pr-comment-mapper.test.js +490 -0
- package/build/__tests__/pr-comment-mapper.test.js.map +1 -0
- package/build/bitbucket-client/core/ApiError.d.ts +11 -0
- package/build/bitbucket-client/core/ApiError.d.ts.map +1 -0
- package/build/bitbucket-client/core/ApiError.js +17 -0
- package/build/bitbucket-client/core/ApiError.js.map +1 -0
- package/build/bitbucket-client/core/ApiRequestOptions.d.ts +14 -0
- package/build/bitbucket-client/core/ApiRequestOptions.d.ts.map +1 -0
- package/build/bitbucket-client/core/ApiRequestOptions.js +2 -0
- package/build/bitbucket-client/core/ApiRequestOptions.js.map +1 -0
- package/build/bitbucket-client/core/ApiResult.d.ts +8 -0
- package/build/bitbucket-client/core/ApiResult.d.ts.map +1 -0
- package/build/bitbucket-client/core/ApiResult.js +2 -0
- package/build/bitbucket-client/core/ApiResult.js.map +1 -0
- package/build/bitbucket-client/core/CancelablePromise.d.ts +21 -0
- package/build/bitbucket-client/core/CancelablePromise.d.ts.map +1 -0
- package/build/bitbucket-client/core/CancelablePromise.js +100 -0
- package/build/bitbucket-client/core/CancelablePromise.js.map +1 -0
- package/build/bitbucket-client/core/OpenAPI.d.ts +17 -0
- package/build/bitbucket-client/core/OpenAPI.d.ts.map +1 -0
- package/build/bitbucket-client/core/OpenAPI.js +12 -0
- package/build/bitbucket-client/core/OpenAPI.js.map +1 -0
- package/build/bitbucket-client/core/request.d.ts +31 -0
- package/build/bitbucket-client/core/request.d.ts.map +1 -0
- package/build/bitbucket-client/core/request.js +292 -0
- package/build/bitbucket-client/core/request.js.map +1 -0
- package/build/bitbucket-client/index.d.ts +297 -0
- package/build/bitbucket-client/index.d.ts.map +1 -0
- package/build/bitbucket-client/index.js +44 -0
- package/build/bitbucket-client/index.js.map +1 -0
- package/build/bitbucket-client/models/AdminPasswordUpdate.d.ts +6 -0
- package/build/bitbucket-client/models/AdminPasswordUpdate.d.ts.map +1 -0
- package/build/bitbucket-client/models/AdminPasswordUpdate.js +2 -0
- package/build/bitbucket-client/models/AdminPasswordUpdate.js.map +1 -0
- package/build/bitbucket-client/models/ApplicationId.d.ts +2 -0
- package/build/bitbucket-client/models/ApplicationId.d.ts.map +1 -0
- package/build/bitbucket-client/models/ApplicationId.js +2 -0
- package/build/bitbucket-client/models/ApplicationId.js.map +1 -0
- package/build/bitbucket-client/models/ApplicationUser.d.ts +2 -0
- package/build/bitbucket-client/models/ApplicationUser.d.ts.map +1 -0
- package/build/bitbucket-client/models/ApplicationUser.js +2 -0
- package/build/bitbucket-client/models/ApplicationUser.js.map +1 -0
- package/build/bitbucket-client/models/AuthenticationEntity.d.ts +9 -0
- package/build/bitbucket-client/models/AuthenticationEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/AuthenticationEntity.js +2 -0
- package/build/bitbucket-client/models/AuthenticationEntity.js.map +1 -0
- package/build/bitbucket-client/models/AuthenticationResponse.d.ts +2 -0
- package/build/bitbucket-client/models/AuthenticationResponse.d.ts.map +1 -0
- package/build/bitbucket-client/models/AuthenticationResponse.js +2 -0
- package/build/bitbucket-client/models/AuthenticationResponse.js.map +1 -0
- package/build/bitbucket-client/models/BasicAuthConfigEntity.d.ts +2 -0
- package/build/bitbucket-client/models/BasicAuthConfigEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/BasicAuthConfigEntity.js +2 -0
- package/build/bitbucket-client/models/BasicAuthConfigEntity.js.map +1 -0
- package/build/bitbucket-client/models/CaptchaDataEntity.d.ts +2 -0
- package/build/bitbucket-client/models/CaptchaDataEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/CaptchaDataEntity.js +2 -0
- package/build/bitbucket-client/models/CaptchaDataEntity.js.map +1 -0
- package/build/bitbucket-client/models/Comment.d.ts +33 -0
- package/build/bitbucket-client/models/Comment.d.ts.map +1 -0
- package/build/bitbucket-client/models/Comment.js +15 -0
- package/build/bitbucket-client/models/Comment.js.map +1 -0
- package/build/bitbucket-client/models/CommentOperations.d.ts +6 -0
- package/build/bitbucket-client/models/CommentOperations.d.ts.map +1 -0
- package/build/bitbucket-client/models/CommentOperations.js +2 -0
- package/build/bitbucket-client/models/CommentOperations.js.map +1 -0
- package/build/bitbucket-client/models/CommentThread.d.ts +17 -0
- package/build/bitbucket-client/models/CommentThread.d.ts.map +1 -0
- package/build/bitbucket-client/models/CommentThread.js +2 -0
- package/build/bitbucket-client/models/CommentThread.js.map +1 -0
- package/build/bitbucket-client/models/CommentThreadDiffAnchor.d.ts +41 -0
- package/build/bitbucket-client/models/CommentThreadDiffAnchor.d.ts.map +1 -0
- package/build/bitbucket-client/models/CommentThreadDiffAnchor.js +27 -0
- package/build/bitbucket-client/models/CommentThreadDiffAnchor.js.map +1 -0
- package/build/bitbucket-client/models/Commentable.d.ts +2 -0
- package/build/bitbucket-client/models/Commentable.d.ts.map +1 -0
- package/build/bitbucket-client/models/Commentable.js +2 -0
- package/build/bitbucket-client/models/Commentable.js.map +1 -0
- package/build/bitbucket-client/models/Context.d.ts +4 -0
- package/build/bitbucket-client/models/Context.d.ts.map +1 -0
- package/build/bitbucket-client/models/Context.js +2 -0
- package/build/bitbucket-client/models/Context.js.map +1 -0
- package/build/bitbucket-client/models/ConversationDTO.d.ts +4 -0
- package/build/bitbucket-client/models/ConversationDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/ConversationDTO.js +2 -0
- package/build/bitbucket-client/models/ConversationDTO.js.map +1 -0
- package/build/bitbucket-client/models/Credentials.d.ts +5 -0
- package/build/bitbucket-client/models/Credentials.d.ts.map +1 -0
- package/build/bitbucket-client/models/Credentials.js +2 -0
- package/build/bitbucket-client/models/Credentials.js.map +1 -0
- package/build/bitbucket-client/models/CredentialsCheckFailedDTO.d.ts +2 -0
- package/build/bitbucket-client/models/CredentialsCheckFailedDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/CredentialsCheckFailedDTO.js +2 -0
- package/build/bitbucket-client/models/CredentialsCheckFailedDTO.js.map +1 -0
- package/build/bitbucket-client/models/DiffContentFilter.d.ts +2 -0
- package/build/bitbucket-client/models/DiffContentFilter.d.ts.map +1 -0
- package/build/bitbucket-client/models/DiffContentFilter.js +2 -0
- package/build/bitbucket-client/models/DiffContentFilter.js.map +1 -0
- package/build/bitbucket-client/models/ElevationMethodRestDTO.d.ts +2 -0
- package/build/bitbucket-client/models/ElevationMethodRestDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/ElevationMethodRestDTO.js +2 -0
- package/build/bitbucket-client/models/ElevationMethodRestDTO.js.map +1 -0
- package/build/bitbucket-client/models/EnrichedRepository.d.ts +2 -0
- package/build/bitbucket-client/models/EnrichedRepository.d.ts.map +1 -0
- package/build/bitbucket-client/models/EnrichedRepository.js +2 -0
- package/build/bitbucket-client/models/EnrichedRepository.js.map +1 -0
- package/build/bitbucket-client/models/ErrorEntity.d.ts +2 -0
- package/build/bitbucket-client/models/ErrorEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/ErrorEntity.js +2 -0
- package/build/bitbucket-client/models/ErrorEntity.js.map +1 -0
- package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.d.ts +7 -0
- package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.js +2 -0
- package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.js.map +1 -0
- package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.d.ts +7 -0
- package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.js +2 -0
- package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.js.map +1 -0
- package/build/bitbucket-client/models/ExampleFiles.d.ts +2 -0
- package/build/bitbucket-client/models/ExampleFiles.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleFiles.js +2 -0
- package/build/bitbucket-client/models/ExampleFiles.js.map +1 -0
- package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.d.ts +2 -0
- package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.js +2 -0
- package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.js.map +1 -0
- package/build/bitbucket-client/models/ExampleMultipartFormData.d.ts +23 -0
- package/build/bitbucket-client/models/ExampleMultipartFormData.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleMultipartFormData.js +2 -0
- package/build/bitbucket-client/models/ExampleMultipartFormData.js.map +1 -0
- package/build/bitbucket-client/models/ExamplePostMultipartFormData.d.ts +19 -0
- package/build/bitbucket-client/models/ExamplePostMultipartFormData.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExamplePostMultipartFormData.js +2 -0
- package/build/bitbucket-client/models/ExamplePostMultipartFormData.js.map +1 -0
- package/build/bitbucket-client/models/ExamplePreviewMigration.d.ts +2 -0
- package/build/bitbucket-client/models/ExamplePreviewMigration.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExamplePreviewMigration.js +2 -0
- package/build/bitbucket-client/models/ExamplePreviewMigration.js.map +1 -0
- package/build/bitbucket-client/models/ExamplePutMultipartFormData.d.ts +15 -0
- package/build/bitbucket-client/models/ExamplePutMultipartFormData.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExamplePutMultipartFormData.js +2 -0
- package/build/bitbucket-client/models/ExamplePutMultipartFormData.js.map +1 -0
- package/build/bitbucket-client/models/ExampleRequirements.d.ts +2 -0
- package/build/bitbucket-client/models/ExampleRequirements.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleRequirements.js +2 -0
- package/build/bitbucket-client/models/ExampleRequirements.js.map +1 -0
- package/build/bitbucket-client/models/ExampleSettings.d.ts +2 -0
- package/build/bitbucket-client/models/ExampleSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleSettings.js +2 -0
- package/build/bitbucket-client/models/ExampleSettings.js.map +1 -0
- package/build/bitbucket-client/models/ExampleSettingsMap.d.ts +2 -0
- package/build/bitbucket-client/models/ExampleSettingsMap.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleSettingsMap.js +2 -0
- package/build/bitbucket-client/models/ExampleSettingsMap.js.map +1 -0
- package/build/bitbucket-client/models/ExampleSocketAddress.d.ts +2 -0
- package/build/bitbucket-client/models/ExampleSocketAddress.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleSocketAddress.js +2 -0
- package/build/bitbucket-client/models/ExampleSocketAddress.js.map +1 -0
- package/build/bitbucket-client/models/ExampleStatus.d.ts +2 -0
- package/build/bitbucket-client/models/ExampleStatus.d.ts.map +1 -0
- package/build/bitbucket-client/models/ExampleStatus.js +2 -0
- package/build/bitbucket-client/models/ExampleStatus.js.map +1 -0
- package/build/bitbucket-client/models/FileListResource.d.ts +2 -0
- package/build/bitbucket-client/models/FileListResource.d.ts.map +1 -0
- package/build/bitbucket-client/models/FileListResource.js +2 -0
- package/build/bitbucket-client/models/FileListResource.js.map +1 -0
- package/build/bitbucket-client/models/FilePart.d.ts +9 -0
- package/build/bitbucket-client/models/FilePart.d.ts.map +1 -0
- package/build/bitbucket-client/models/FilePart.js +2 -0
- package/build/bitbucket-client/models/FilePart.js.map +1 -0
- package/build/bitbucket-client/models/Group.d.ts +2 -0
- package/build/bitbucket-client/models/Group.d.ts.map +1 -0
- package/build/bitbucket-client/models/Group.js +2 -0
- package/build/bitbucket-client/models/Group.js.map +1 -0
- package/build/bitbucket-client/models/GroupAndUsers.d.ts +5 -0
- package/build/bitbucket-client/models/GroupAndUsers.d.ts.map +1 -0
- package/build/bitbucket-client/models/GroupAndUsers.js +2 -0
- package/build/bitbucket-client/models/GroupAndUsers.js.map +1 -0
- package/build/bitbucket-client/models/GroupPickerContext.d.ts +5 -0
- package/build/bitbucket-client/models/GroupPickerContext.d.ts.map +1 -0
- package/build/bitbucket-client/models/GroupPickerContext.js +2 -0
- package/build/bitbucket-client/models/GroupPickerContext.js.map +1 -0
- package/build/bitbucket-client/models/IdpConfigEntity.d.ts +2 -0
- package/build/bitbucket-client/models/IdpConfigEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/IdpConfigEntity.js +2 -0
- package/build/bitbucket-client/models/IdpConfigEntity.js.map +1 -0
- package/build/bitbucket-client/models/JitConfigEntity.d.ts +2 -0
- package/build/bitbucket-client/models/JitConfigEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/JitConfigEntity.js +2 -0
- package/build/bitbucket-client/models/JitConfigEntity.js.map +1 -0
- package/build/bitbucket-client/models/JitUserEntity.d.ts +2 -0
- package/build/bitbucket-client/models/JitUserEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/JitUserEntity.js +2 -0
- package/build/bitbucket-client/models/JitUserEntity.js.map +1 -0
- package/build/bitbucket-client/models/LineNumberRange.d.ts +6 -0
- package/build/bitbucket-client/models/LineNumberRange.d.ts.map +1 -0
- package/build/bitbucket-client/models/LineNumberRange.js +2 -0
- package/build/bitbucket-client/models/LineNumberRange.js.map +1 -0
- package/build/bitbucket-client/models/LoginOptionEntity.d.ts +2 -0
- package/build/bitbucket-client/models/LoginOptionEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/LoginOptionEntity.js +2 -0
- package/build/bitbucket-client/models/LoginOptionEntity.js.map +1 -0
- package/build/bitbucket-client/models/MethodStateDTO.d.ts +2 -0
- package/build/bitbucket-client/models/MethodStateDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/MethodStateDTO.js +2 -0
- package/build/bitbucket-client/models/MethodStateDTO.js.map +1 -0
- package/build/bitbucket-client/models/NextLoginStepDTO.d.ts +2 -0
- package/build/bitbucket-client/models/NextLoginStepDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/NextLoginStepDTO.js +2 -0
- package/build/bitbucket-client/models/NextLoginStepDTO.js.map +1 -0
- package/build/bitbucket-client/models/OptionalBodyBeanParam.d.ts +2 -0
- package/build/bitbucket-client/models/OptionalBodyBeanParam.d.ts.map +1 -0
- package/build/bitbucket-client/models/OptionalBodyBeanParam.js +2 -0
- package/build/bitbucket-client/models/OptionalBodyBeanParam.js.map +1 -0
- package/build/bitbucket-client/models/PageRequestImpl.d.ts +5 -0
- package/build/bitbucket-client/models/PageRequestImpl.d.ts.map +1 -0
- package/build/bitbucket-client/models/PageRequestImpl.js +2 -0
- package/build/bitbucket-client/models/PageRequestImpl.js.map +1 -0
- package/build/bitbucket-client/models/PasswordElevationRestDTO.d.ts +4 -0
- package/build/bitbucket-client/models/PasswordElevationRestDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/PasswordElevationRestDTO.js +2 -0
- package/build/bitbucket-client/models/PasswordElevationRestDTO.js.map +1 -0
- package/build/bitbucket-client/models/Project.d.ts +15 -0
- package/build/bitbucket-client/models/Project.d.ts.map +1 -0
- package/build/bitbucket-client/models/Project.js +9 -0
- package/build/bitbucket-client/models/Project.js.map +1 -0
- package/build/bitbucket-client/models/PropertyMap.d.ts +2 -0
- package/build/bitbucket-client/models/PropertyMap.d.ts.map +1 -0
- package/build/bitbucket-client/models/PropertyMap.js +2 -0
- package/build/bitbucket-client/models/PropertyMap.js.map +1 -0
- package/build/bitbucket-client/models/PullRequest.d.ts +31 -0
- package/build/bitbucket-client/models/PullRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/PullRequest.js +10 -0
- package/build/bitbucket-client/models/PullRequest.js.map +1 -0
- package/build/bitbucket-client/models/PullRequestParticipant.d.ts +23 -0
- package/build/bitbucket-client/models/PullRequestParticipant.d.ts.map +1 -0
- package/build/bitbucket-client/models/PullRequestParticipant.js +16 -0
- package/build/bitbucket-client/models/PullRequestParticipant.js.map +1 -0
- package/build/bitbucket-client/models/PullRequestRef.d.ts +10 -0
- package/build/bitbucket-client/models/PullRequestRef.d.ts.map +1 -0
- package/build/bitbucket-client/models/PullRequestRef.js +2 -0
- package/build/bitbucket-client/models/PullRequestRef.js.map +1 -0
- package/build/bitbucket-client/models/RefType.d.ts +2 -0
- package/build/bitbucket-client/models/RefType.d.ts.map +1 -0
- package/build/bitbucket-client/models/RefType.js +2 -0
- package/build/bitbucket-client/models/RefType.js.map +1 -0
- package/build/bitbucket-client/models/Repository.d.ts +31 -0
- package/build/bitbucket-client/models/Repository.d.ts.map +1 -0
- package/build/bitbucket-client/models/Repository.js +11 -0
- package/build/bitbucket-client/models/Repository.js.map +1 -0
- package/build/bitbucket-client/models/RepositoryHookDetails.d.ts +2 -0
- package/build/bitbucket-client/models/RepositoryHookDetails.d.ts.map +1 -0
- package/build/bitbucket-client/models/RepositoryHookDetails.js +2 -0
- package/build/bitbucket-client/models/RepositoryHookDetails.js.map +1 -0
- package/build/bitbucket-client/models/RestAccessToken.d.ts +2 -0
- package/build/bitbucket-client/models/RestAccessToken.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAccessToken.js +2 -0
- package/build/bitbucket-client/models/RestAccessToken.js.map +1 -0
- package/build/bitbucket-client/models/RestAccessTokenRequest.d.ts +6 -0
- package/build/bitbucket-client/models/RestAccessTokenRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAccessTokenRequest.js +2 -0
- package/build/bitbucket-client/models/RestAccessTokenRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestAggregateRejectCounter.d.ts +2 -0
- package/build/bitbucket-client/models/RestAggregateRejectCounter.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAggregateRejectCounter.js +2 -0
- package/build/bitbucket-client/models/RestAggregateRejectCounter.js.map +1 -0
- package/build/bitbucket-client/models/RestAnalyticsSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestAnalyticsSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAnalyticsSettings.js +2 -0
- package/build/bitbucket-client/models/RestAnalyticsSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestAnnouncementBanner.d.ts +2 -0
- package/build/bitbucket-client/models/RestAnnouncementBanner.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAnnouncementBanner.js +2 -0
- package/build/bitbucket-client/models/RestAnnouncementBanner.js.map +1 -0
- package/build/bitbucket-client/models/RestApplicationProperties.d.ts +2 -0
- package/build/bitbucket-client/models/RestApplicationProperties.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestApplicationProperties.js +2 -0
- package/build/bitbucket-client/models/RestApplicationProperties.js.map +1 -0
- package/build/bitbucket-client/models/RestApplicationUser.d.ts +2 -0
- package/build/bitbucket-client/models/RestApplicationUser.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestApplicationUser.js +2 -0
- package/build/bitbucket-client/models/RestApplicationUser.js.map +1 -0
- package/build/bitbucket-client/models/RestApplicationUserWithPermissions.d.ts +2 -0
- package/build/bitbucket-client/models/RestApplicationUserWithPermissions.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestApplicationUserWithPermissions.js +2 -0
- package/build/bitbucket-client/models/RestApplicationUserWithPermissions.js.map +1 -0
- package/build/bitbucket-client/models/RestApplySuggestionRequest.d.ts +7 -0
- package/build/bitbucket-client/models/RestApplySuggestionRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestApplySuggestionRequest.js +2 -0
- package/build/bitbucket-client/models/RestApplySuggestionRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestAttachmentMetadata.d.ts +2 -0
- package/build/bitbucket-client/models/RestAttachmentMetadata.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAttachmentMetadata.js +2 -0
- package/build/bitbucket-client/models/RestAttachmentMetadata.js.map +1 -0
- package/build/bitbucket-client/models/RestAuthenticationRequest.d.ts +6 -0
- package/build/bitbucket-client/models/RestAuthenticationRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAuthenticationRequest.js +2 -0
- package/build/bitbucket-client/models/RestAuthenticationRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettings.js +2 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.d.ts +5 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.js +2 -0
- package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeProcessingResult.d.ts +2 -0
- package/build/bitbucket-client/models/RestAutoMergeProcessingResult.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeProcessingResult.js +2 -0
- package/build/bitbucket-client/models/RestAutoMergeProcessingResult.js.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.d.ts +12 -0
- package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.js +10 -0
- package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeRequest.d.ts +2 -0
- package/build/bitbucket-client/models/RestAutoMergeRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeRequest.js +2 -0
- package/build/bitbucket-client/models/RestAutoMergeRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.js +2 -0
- package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.d.ts +4 -0
- package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.js +2 -0
- package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestBearerTokenCredentials.d.ts +4 -0
- package/build/bitbucket-client/models/RestBearerTokenCredentials.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBearerTokenCredentials.js +2 -0
- package/build/bitbucket-client/models/RestBearerTokenCredentials.js.map +1 -0
- package/build/bitbucket-client/models/RestBitbucketLicense.d.ts +2 -0
- package/build/bitbucket-client/models/RestBitbucketLicense.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBitbucketLicense.js +2 -0
- package/build/bitbucket-client/models/RestBitbucketLicense.js.map +1 -0
- package/build/bitbucket-client/models/RestBranch.d.ts +2 -0
- package/build/bitbucket-client/models/RestBranch.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBranch.js +2 -0
- package/build/bitbucket-client/models/RestBranch.js.map +1 -0
- package/build/bitbucket-client/models/RestBranchCreateRequest.d.ts +11 -0
- package/build/bitbucket-client/models/RestBranchCreateRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBranchCreateRequest.js +2 -0
- package/build/bitbucket-client/models/RestBranchCreateRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestBranchDeleteRequest.d.ts +15 -0
- package/build/bitbucket-client/models/RestBranchDeleteRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBranchDeleteRequest.js +2 -0
- package/build/bitbucket-client/models/RestBranchDeleteRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestBuildCapabilities.d.ts +2 -0
- package/build/bitbucket-client/models/RestBuildCapabilities.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBuildCapabilities.js +2 -0
- package/build/bitbucket-client/models/RestBuildCapabilities.js.map +1 -0
- package/build/bitbucket-client/models/RestBuildStats.d.ts +2 -0
- package/build/bitbucket-client/models/RestBuildStats.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBuildStats.js +2 -0
- package/build/bitbucket-client/models/RestBuildStats.js.map +1 -0
- package/build/bitbucket-client/models/RestBuildStatus.d.ts +2 -0
- package/build/bitbucket-client/models/RestBuildStatus.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBuildStatus.js +2 -0
- package/build/bitbucket-client/models/RestBuildStatus.js.map +1 -0
- package/build/bitbucket-client/models/RestBuildStatusSetRequest.d.ts +27 -0
- package/build/bitbucket-client/models/RestBuildStatusSetRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBuildStatusSetRequest.js +12 -0
- package/build/bitbucket-client/models/RestBuildStatusSetRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.d.ts +5 -0
- package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.js +2 -0
- package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.d.ts +9 -0
- package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.js +2 -0
- package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestChange.d.ts +2 -0
- package/build/bitbucket-client/models/RestChange.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestChange.js +2 -0
- package/build/bitbucket-client/models/RestChange.js.map +1 -0
- package/build/bitbucket-client/models/RestChangeset.d.ts +2 -0
- package/build/bitbucket-client/models/RestChangeset.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestChangeset.js +2 -0
- package/build/bitbucket-client/models/RestChangeset.js.map +1 -0
- package/build/bitbucket-client/models/RestClusterInformation.d.ts +2 -0
- package/build/bitbucket-client/models/RestClusterInformation.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestClusterInformation.js +2 -0
- package/build/bitbucket-client/models/RestClusterInformation.js.map +1 -0
- package/build/bitbucket-client/models/RestClusterNode.d.ts +2 -0
- package/build/bitbucket-client/models/RestClusterNode.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestClusterNode.js +2 -0
- package/build/bitbucket-client/models/RestClusterNode.js.map +1 -0
- package/build/bitbucket-client/models/RestComment.d.ts +2 -0
- package/build/bitbucket-client/models/RestComment.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestComment.js +2 -0
- package/build/bitbucket-client/models/RestComment.js.map +1 -0
- package/build/bitbucket-client/models/RestCommentJiraIssue.d.ts +2 -0
- package/build/bitbucket-client/models/RestCommentJiraIssue.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestCommentJiraIssue.js +2 -0
- package/build/bitbucket-client/models/RestCommentJiraIssue.js.map +1 -0
- package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.d.ts +2 -0
- package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.js +2 -0
- package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.js.map +1 -0
- package/build/bitbucket-client/models/RestCommit.d.ts +2 -0
- package/build/bitbucket-client/models/RestCommit.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestCommit.js +2 -0
- package/build/bitbucket-client/models/RestCommit.js.map +1 -0
- package/build/bitbucket-client/models/RestCommitMessageSuggestion.d.ts +2 -0
- package/build/bitbucket-client/models/RestCommitMessageSuggestion.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestCommitMessageSuggestion.js +2 -0
- package/build/bitbucket-client/models/RestCommitMessageSuggestion.js.map +1 -0
- package/build/bitbucket-client/models/RestConflict.d.ts +2 -0
- package/build/bitbucket-client/models/RestConflict.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestConflict.js +2 -0
- package/build/bitbucket-client/models/RestConflict.js.map +1 -0
- package/build/bitbucket-client/models/RestConflictChange.d.ts +2 -0
- package/build/bitbucket-client/models/RestConflictChange.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestConflictChange.js +2 -0
- package/build/bitbucket-client/models/RestConflictChange.js.map +1 -0
- package/build/bitbucket-client/models/RestConnectivitySummary.d.ts +2 -0
- package/build/bitbucket-client/models/RestConnectivitySummary.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestConnectivitySummary.js +2 -0
- package/build/bitbucket-client/models/RestConnectivitySummary.js.map +1 -0
- package/build/bitbucket-client/models/RestCreateBranchRequest.d.ts +6 -0
- package/build/bitbucket-client/models/RestCreateBranchRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestCreateBranchRequest.js +2 -0
- package/build/bitbucket-client/models/RestCreateBranchRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestCreateTagRequest.d.ts +6 -0
- package/build/bitbucket-client/models/RestCreateTagRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestCreateTagRequest.js +2 -0
- package/build/bitbucket-client/models/RestCreateTagRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestDefaultBranch.d.ts +4 -0
- package/build/bitbucket-client/models/RestDefaultBranch.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDefaultBranch.js +2 -0
- package/build/bitbucket-client/models/RestDefaultBranch.js.map +1 -0
- package/build/bitbucket-client/models/RestDefaultReviewersRequest.d.ts +33 -0
- package/build/bitbucket-client/models/RestDefaultReviewersRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDefaultReviewersRequest.js +12 -0
- package/build/bitbucket-client/models/RestDefaultReviewersRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestDefaultTask.d.ts +2 -0
- package/build/bitbucket-client/models/RestDefaultTask.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDefaultTask.js +2 -0
- package/build/bitbucket-client/models/RestDefaultTask.js.map +1 -0
- package/build/bitbucket-client/models/RestDefaultTaskRequest.d.ts +29 -0
- package/build/bitbucket-client/models/RestDefaultTaskRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDefaultTaskRequest.js +12 -0
- package/build/bitbucket-client/models/RestDefaultTaskRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestDelayedSyncRepository.d.ts +6 -0
- package/build/bitbucket-client/models/RestDelayedSyncRepository.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDelayedSyncRepository.js +2 -0
- package/build/bitbucket-client/models/RestDelayedSyncRepository.js.map +1 -0
- package/build/bitbucket-client/models/RestDeployment.d.ts +2 -0
- package/build/bitbucket-client/models/RestDeployment.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDeployment.js +2 -0
- package/build/bitbucket-client/models/RestDeployment.js.map +1 -0
- package/build/bitbucket-client/models/RestDeploymentEnvironment.d.ts +2 -0
- package/build/bitbucket-client/models/RestDeploymentEnvironment.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDeploymentEnvironment.js +2 -0
- package/build/bitbucket-client/models/RestDeploymentEnvironment.js.map +1 -0
- package/build/bitbucket-client/models/RestDeploymentSetRequest.d.ts +23 -0
- package/build/bitbucket-client/models/RestDeploymentSetRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDeploymentSetRequest.js +14 -0
- package/build/bitbucket-client/models/RestDeploymentSetRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestDetailedGroup.d.ts +2 -0
- package/build/bitbucket-client/models/RestDetailedGroup.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDetailedGroup.js +2 -0
- package/build/bitbucket-client/models/RestDetailedGroup.js.map +1 -0
- package/build/bitbucket-client/models/RestDetailedInvocation.d.ts +2 -0
- package/build/bitbucket-client/models/RestDetailedInvocation.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDetailedInvocation.js +2 -0
- package/build/bitbucket-client/models/RestDetailedInvocation.js.map +1 -0
- package/build/bitbucket-client/models/RestDetailedUser.d.ts +2 -0
- package/build/bitbucket-client/models/RestDetailedUser.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDetailedUser.js +2 -0
- package/build/bitbucket-client/models/RestDetailedUser.js.map +1 -0
- package/build/bitbucket-client/models/RestDiff.d.ts +2 -0
- package/build/bitbucket-client/models/RestDiff.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDiff.js +2 -0
- package/build/bitbucket-client/models/RestDiff.js.map +1 -0
- package/build/bitbucket-client/models/RestDiffHunk.d.ts +2 -0
- package/build/bitbucket-client/models/RestDiffHunk.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDiffHunk.js +2 -0
- package/build/bitbucket-client/models/RestDiffHunk.js.map +1 -0
- package/build/bitbucket-client/models/RestDiffLine.d.ts +2 -0
- package/build/bitbucket-client/models/RestDiffLine.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDiffLine.js +2 -0
- package/build/bitbucket-client/models/RestDiffLine.js.map +1 -0
- package/build/bitbucket-client/models/RestDiffSegment.d.ts +2 -0
- package/build/bitbucket-client/models/RestDiffSegment.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDiffSegment.js +2 -0
- package/build/bitbucket-client/models/RestDiffSegment.js.map +1 -0
- package/build/bitbucket-client/models/RestDiffStatsSummary.d.ts +2 -0
- package/build/bitbucket-client/models/RestDiffStatsSummary.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestDiffStatsSummary.js +2 -0
- package/build/bitbucket-client/models/RestDiffStatsSummary.js.map +1 -0
- package/build/bitbucket-client/models/RestEmoticon.d.ts +2 -0
- package/build/bitbucket-client/models/RestEmoticon.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestEmoticon.js +2 -0
- package/build/bitbucket-client/models/RestEmoticon.js.map +1 -0
- package/build/bitbucket-client/models/RestEnhancedEntityLink.d.ts +2 -0
- package/build/bitbucket-client/models/RestEnhancedEntityLink.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestEnhancedEntityLink.js +2 -0
- package/build/bitbucket-client/models/RestEnhancedEntityLink.js.map +1 -0
- package/build/bitbucket-client/models/RestErasedUser.d.ts +2 -0
- package/build/bitbucket-client/models/RestErasedUser.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestErasedUser.js +2 -0
- package/build/bitbucket-client/models/RestErasedUser.js.map +1 -0
- package/build/bitbucket-client/models/RestErrorMessage.d.ts +2 -0
- package/build/bitbucket-client/models/RestErrorMessage.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestErrorMessage.js +2 -0
- package/build/bitbucket-client/models/RestErrorMessage.js.map +1 -0
- package/build/bitbucket-client/models/RestErrors.d.ts +2 -0
- package/build/bitbucket-client/models/RestErrors.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestErrors.js +2 -0
- package/build/bitbucket-client/models/RestErrors.js.map +1 -0
- package/build/bitbucket-client/models/RestExportRequest.d.ts +8 -0
- package/build/bitbucket-client/models/RestExportRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestExportRequest.js +2 -0
- package/build/bitbucket-client/models/RestExportRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestFarmSynchronizationRequest.d.ts +13 -0
- package/build/bitbucket-client/models/RestFarmSynchronizationRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestFarmSynchronizationRequest.js +9 -0
- package/build/bitbucket-client/models/RestFarmSynchronizationRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestGitTagCreateRequest.d.ts +14 -0
- package/build/bitbucket-client/models/RestGitTagCreateRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestGitTagCreateRequest.js +9 -0
- package/build/bitbucket-client/models/RestGitTagCreateRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestGpgKey.d.ts +2 -0
- package/build/bitbucket-client/models/RestGpgKey.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestGpgKey.js +2 -0
- package/build/bitbucket-client/models/RestGpgKey.js.map +1 -0
- package/build/bitbucket-client/models/RestGpgSubKey.d.ts +2 -0
- package/build/bitbucket-client/models/RestGpgSubKey.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestGpgSubKey.js +2 -0
- package/build/bitbucket-client/models/RestGpgSubKey.js.map +1 -0
- package/build/bitbucket-client/models/RestHookScript.d.ts +2 -0
- package/build/bitbucket-client/models/RestHookScript.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestHookScript.js +2 -0
- package/build/bitbucket-client/models/RestHookScript.js.map +1 -0
- package/build/bitbucket-client/models/RestHookScriptConfig.d.ts +2 -0
- package/build/bitbucket-client/models/RestHookScriptConfig.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestHookScriptConfig.js +2 -0
- package/build/bitbucket-client/models/RestHookScriptConfig.js.map +1 -0
- package/build/bitbucket-client/models/RestHookScriptTriggers.d.ts +4 -0
- package/build/bitbucket-client/models/RestHookScriptTriggers.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestHookScriptTriggers.js +2 -0
- package/build/bitbucket-client/models/RestHookScriptTriggers.js.map +1 -0
- package/build/bitbucket-client/models/RestImportRequest.d.ts +4 -0
- package/build/bitbucket-client/models/RestImportRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestImportRequest.js +2 -0
- package/build/bitbucket-client/models/RestImportRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestInsightAnnotation.d.ts +2 -0
- package/build/bitbucket-client/models/RestInsightAnnotation.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestInsightAnnotation.js +2 -0
- package/build/bitbucket-client/models/RestInsightAnnotation.js.map +1 -0
- package/build/bitbucket-client/models/RestInsightAnnotationsResponse.d.ts +2 -0
- package/build/bitbucket-client/models/RestInsightAnnotationsResponse.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestInsightAnnotationsResponse.js +2 -0
- package/build/bitbucket-client/models/RestInsightAnnotationsResponse.js.map +1 -0
- package/build/bitbucket-client/models/RestInsightReport.d.ts +2 -0
- package/build/bitbucket-client/models/RestInsightReport.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestInsightReport.js +2 -0
- package/build/bitbucket-client/models/RestInsightReport.js.map +1 -0
- package/build/bitbucket-client/models/RestInsightReportData.d.ts +2 -0
- package/build/bitbucket-client/models/RestInsightReportData.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestInsightReportData.js +2 -0
- package/build/bitbucket-client/models/RestInsightReportData.js.map +1 -0
- package/build/bitbucket-client/models/RestInvocationHistory.d.ts +2 -0
- package/build/bitbucket-client/models/RestInvocationHistory.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestInvocationHistory.js +2 -0
- package/build/bitbucket-client/models/RestInvocationHistory.js.map +1 -0
- package/build/bitbucket-client/models/RestInvocationRequest.d.ts +2 -0
- package/build/bitbucket-client/models/RestInvocationRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestInvocationRequest.js +2 -0
- package/build/bitbucket-client/models/RestInvocationRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestInvocationResult.d.ts +2 -0
- package/build/bitbucket-client/models/RestInvocationResult.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestInvocationResult.js +2 -0
- package/build/bitbucket-client/models/RestInvocationResult.js.map +1 -0
- package/build/bitbucket-client/models/RestJiraIssue.d.ts +5 -0
- package/build/bitbucket-client/models/RestJiraIssue.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestJiraIssue.js +2 -0
- package/build/bitbucket-client/models/RestJiraIssue.js.map +1 -0
- package/build/bitbucket-client/models/RestJob.d.ts +2 -0
- package/build/bitbucket-client/models/RestJob.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestJob.js +2 -0
- package/build/bitbucket-client/models/RestJob.js.map +1 -0
- package/build/bitbucket-client/models/RestJobMessage.d.ts +2 -0
- package/build/bitbucket-client/models/RestJobMessage.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestJobMessage.js +2 -0
- package/build/bitbucket-client/models/RestJobMessage.js.map +1 -0
- package/build/bitbucket-client/models/RestLabel.d.ts +2 -0
- package/build/bitbucket-client/models/RestLabel.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestLabel.js +2 -0
- package/build/bitbucket-client/models/RestLabel.js.map +1 -0
- package/build/bitbucket-client/models/RestLabelable.d.ts +2 -0
- package/build/bitbucket-client/models/RestLabelable.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestLabelable.js +2 -0
- package/build/bitbucket-client/models/RestLabelable.js.map +1 -0
- package/build/bitbucket-client/models/RestLogLevel.d.ts +2 -0
- package/build/bitbucket-client/models/RestLogLevel.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestLogLevel.js +2 -0
- package/build/bitbucket-client/models/RestLogLevel.js.map +1 -0
- package/build/bitbucket-client/models/RestLoggingSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestLoggingSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestLoggingSettings.js +2 -0
- package/build/bitbucket-client/models/RestLoggingSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestMailConfiguration.d.ts +2 -0
- package/build/bitbucket-client/models/RestMailConfiguration.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMailConfiguration.js +2 -0
- package/build/bitbucket-client/models/RestMailConfiguration.js.map +1 -0
- package/build/bitbucket-client/models/RestMarkup.d.ts +2 -0
- package/build/bitbucket-client/models/RestMarkup.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMarkup.js +2 -0
- package/build/bitbucket-client/models/RestMarkup.js.map +1 -0
- package/build/bitbucket-client/models/RestMeshConnectivityReport.d.ts +2 -0
- package/build/bitbucket-client/models/RestMeshConnectivityReport.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMeshConnectivityReport.js +2 -0
- package/build/bitbucket-client/models/RestMeshConnectivityReport.js.map +1 -0
- package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.d.ts +2 -0
- package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.js +2 -0
- package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.js.map +1 -0
- package/build/bitbucket-client/models/RestMeshMigrationRequest.d.ts +10 -0
- package/build/bitbucket-client/models/RestMeshMigrationRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMeshMigrationRequest.js +2 -0
- package/build/bitbucket-client/models/RestMeshMigrationRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestMeshMigrationSummary.d.ts +2 -0
- package/build/bitbucket-client/models/RestMeshMigrationSummary.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMeshMigrationSummary.js +2 -0
- package/build/bitbucket-client/models/RestMeshMigrationSummary.js.map +1 -0
- package/build/bitbucket-client/models/RestMeshNode.d.ts +2 -0
- package/build/bitbucket-client/models/RestMeshNode.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMeshNode.js +2 -0
- package/build/bitbucket-client/models/RestMeshNode.js.map +1 -0
- package/build/bitbucket-client/models/RestMigrationRepository.d.ts +2 -0
- package/build/bitbucket-client/models/RestMigrationRepository.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMigrationRepository.js +2 -0
- package/build/bitbucket-client/models/RestMigrationRepository.js.map +1 -0
- package/build/bitbucket-client/models/RestMinimalCommit.d.ts +2 -0
- package/build/bitbucket-client/models/RestMinimalCommit.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMinimalCommit.js +2 -0
- package/build/bitbucket-client/models/RestMinimalCommit.js.map +1 -0
- package/build/bitbucket-client/models/RestMinimalRef.d.ts +2 -0
- package/build/bitbucket-client/models/RestMinimalRef.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMinimalRef.js +2 -0
- package/build/bitbucket-client/models/RestMinimalRef.js.map +1 -0
- package/build/bitbucket-client/models/RestMirrorHashes.d.ts +2 -0
- package/build/bitbucket-client/models/RestMirrorHashes.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMirrorHashes.js +2 -0
- package/build/bitbucket-client/models/RestMirrorHashes.js.map +1 -0
- package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.d.ts +2 -0
- package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.js +2 -0
- package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.js.map +1 -0
- package/build/bitbucket-client/models/RestMirrorServer.d.ts +2 -0
- package/build/bitbucket-client/models/RestMirrorServer.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMirrorServer.js +2 -0
- package/build/bitbucket-client/models/RestMirrorServer.js.map +1 -0
- package/build/bitbucket-client/models/RestMirrorUpgradeRequest.d.ts +5 -0
- package/build/bitbucket-client/models/RestMirrorUpgradeRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMirrorUpgradeRequest.js +2 -0
- package/build/bitbucket-client/models/RestMirrorUpgradeRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestMirroredRepository.d.ts +2 -0
- package/build/bitbucket-client/models/RestMirroredRepository.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMirroredRepository.js +2 -0
- package/build/bitbucket-client/models/RestMirroredRepository.js.map +1 -0
- package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.d.ts +2 -0
- package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.js +2 -0
- package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.js.map +1 -0
- package/build/bitbucket-client/models/RestMirroringRequest.d.ts +2 -0
- package/build/bitbucket-client/models/RestMirroringRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMirroringRequest.js +2 -0
- package/build/bitbucket-client/models/RestMirroringRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestMultilineCommentMarker.d.ts +2 -0
- package/build/bitbucket-client/models/RestMultilineCommentMarker.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMultilineCommentMarker.js +2 -0
- package/build/bitbucket-client/models/RestMultilineCommentMarker.js.map +1 -0
- package/build/bitbucket-client/models/RestMultilineCommentSpan.d.ts +2 -0
- package/build/bitbucket-client/models/RestMultilineCommentSpan.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMultilineCommentSpan.js +2 -0
- package/build/bitbucket-client/models/RestMultilineCommentSpan.js.map +1 -0
- package/build/bitbucket-client/models/RestMultipleBuildStats.d.ts +2 -0
- package/build/bitbucket-client/models/RestMultipleBuildStats.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestMultipleBuildStats.js +2 -0
- package/build/bitbucket-client/models/RestMultipleBuildStats.js.map +1 -0
- package/build/bitbucket-client/models/RestNamedLink.d.ts +2 -0
- package/build/bitbucket-client/models/RestNamedLink.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestNamedLink.js +2 -0
- package/build/bitbucket-client/models/RestNamedLink.js.map +1 -0
- package/build/bitbucket-client/models/RestNode.d.ts +2 -0
- package/build/bitbucket-client/models/RestNode.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestNode.js +2 -0
- package/build/bitbucket-client/models/RestNode.js.map +1 -0
- package/build/bitbucket-client/models/RestNodeConnectivityReport.d.ts +2 -0
- package/build/bitbucket-client/models/RestNodeConnectivityReport.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestNodeConnectivityReport.js +2 -0
- package/build/bitbucket-client/models/RestNodeConnectivityReport.js.map +1 -0
- package/build/bitbucket-client/models/RestNodeConnectivitySummary.d.ts +2 -0
- package/build/bitbucket-client/models/RestNodeConnectivitySummary.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestNodeConnectivitySummary.js +2 -0
- package/build/bitbucket-client/models/RestNodeConnectivitySummary.js.map +1 -0
- package/build/bitbucket-client/models/RestPageIdpConfigEntity.d.ts +9 -0
- package/build/bitbucket-client/models/RestPageIdpConfigEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPageIdpConfigEntity.js +2 -0
- package/build/bitbucket-client/models/RestPageIdpConfigEntity.js.map +1 -0
- package/build/bitbucket-client/models/RestPageLoginOptionEntity.d.ts +9 -0
- package/build/bitbucket-client/models/RestPageLoginOptionEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPageLoginOptionEntity.js +2 -0
- package/build/bitbucket-client/models/RestPageLoginOptionEntity.js.map +1 -0
- package/build/bitbucket-client/models/RestPageRestChange.d.ts +2 -0
- package/build/bitbucket-client/models/RestPageRestChange.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPageRestChange.js +2 -0
- package/build/bitbucket-client/models/RestPageRestChange.js.map +1 -0
- package/build/bitbucket-client/models/RestPath.d.ts +2 -0
- package/build/bitbucket-client/models/RestPath.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPath.js +2 -0
- package/build/bitbucket-client/models/RestPath.js.map +1 -0
- package/build/bitbucket-client/models/RestPermitted.d.ts +2 -0
- package/build/bitbucket-client/models/RestPermitted.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPermitted.js +2 -0
- package/build/bitbucket-client/models/RestPermitted.js.map +1 -0
- package/build/bitbucket-client/models/RestPermittedGroup.d.ts +2 -0
- package/build/bitbucket-client/models/RestPermittedGroup.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPermittedGroup.js +2 -0
- package/build/bitbucket-client/models/RestPermittedGroup.js.map +1 -0
- package/build/bitbucket-client/models/RestPermittedUser.d.ts +2 -0
- package/build/bitbucket-client/models/RestPermittedUser.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPermittedUser.js +2 -0
- package/build/bitbucket-client/models/RestPermittedUser.js.map +1 -0
- package/build/bitbucket-client/models/RestPerson.d.ts +2 -0
- package/build/bitbucket-client/models/RestPerson.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPerson.js +2 -0
- package/build/bitbucket-client/models/RestPerson.js.map +1 -0
- package/build/bitbucket-client/models/RestProgress.d.ts +2 -0
- package/build/bitbucket-client/models/RestProgress.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestProgress.js +2 -0
- package/build/bitbucket-client/models/RestProgress.js.map +1 -0
- package/build/bitbucket-client/models/RestProject.d.ts +2 -0
- package/build/bitbucket-client/models/RestProject.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestProject.js +2 -0
- package/build/bitbucket-client/models/RestProject.js.map +1 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestriction.d.ts +2 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestriction.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestriction.js +2 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestriction.js.map +1 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.d.ts +6 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.js +2 -0
- package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestProperties.d.ts +2 -0
- package/build/bitbucket-client/models/RestProperties.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestProperties.js +2 -0
- package/build/bitbucket-client/models/RestProperties.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequest.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequest.js +2 -0
- package/build/bitbucket-client/models/RestPullRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestActivity.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestActivity.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestActivity.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestActivity.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.d.ts +26 -0
- package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.js +15 -0
- package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.d.ts +12 -0
- package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.js +10 -0
- package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestCondition.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestCondition.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestCondition.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestCondition.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestDeclineRequest.d.ts +5 -0
- package/build/bitbucket-client/models/RestPullRequestDeclineRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestDeclineRequest.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestDeclineRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestDeleteRequest.d.ts +4 -0
- package/build/bitbucket-client/models/RestPullRequestDeleteRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestDeleteRequest.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestDeleteRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.d.ts +6 -0
- package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeConfig.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestMergeConfig.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeConfig.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestMergeConfig.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeRequest.d.ts +8 -0
- package/build/bitbucket-client/models/RestPullRequestMergeRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeRequest.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestMergeRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeStrategy.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestMergeStrategy.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeStrategy.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestMergeStrategy.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeability.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestMergeability.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestMergeability.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestMergeability.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestParticipant.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestParticipant.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestParticipant.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestParticipant.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseRequest.d.ts +4 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseRequest.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseResult.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseResult.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseResult.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseResult.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseability.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseability.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseability.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestRebaseability.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRef.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestRef.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestRef.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestRef.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestReopenRequest.d.ts +4 -0
- package/build/bitbucket-client/models/RestPullRequestReopenRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestReopenRequest.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestReopenRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestSettings.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestSuggestion.d.ts +2 -0
- package/build/bitbucket-client/models/RestPullRequestSuggestion.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPullRequestSuggestion.js +2 -0
- package/build/bitbucket-client/models/RestPullRequestSuggestion.js.map +1 -0
- package/build/bitbucket-client/models/RestPushRefChange.d.ts +2 -0
- package/build/bitbucket-client/models/RestPushRefChange.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestPushRefChange.js +2 -0
- package/build/bitbucket-client/models/RestPushRefChange.js.map +1 -0
- package/build/bitbucket-client/models/RestRateLimitSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestRateLimitSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRateLimitSettings.js +2 -0
- package/build/bitbucket-client/models/RestRateLimitSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestRawAccessToken.d.ts +2 -0
- package/build/bitbucket-client/models/RestRawAccessToken.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRawAccessToken.js +2 -0
- package/build/bitbucket-client/models/RestRawAccessToken.js.map +1 -0
- package/build/bitbucket-client/models/RestRefChange.d.ts +2 -0
- package/build/bitbucket-client/models/RestRefChange.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRefChange.js +2 -0
- package/build/bitbucket-client/models/RestRefChange.js.map +1 -0
- package/build/bitbucket-client/models/RestRefMatcher.d.ts +2 -0
- package/build/bitbucket-client/models/RestRefMatcher.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRefMatcher.js +2 -0
- package/build/bitbucket-client/models/RestRefMatcher.js.map +1 -0
- package/build/bitbucket-client/models/RestRefMatcherType.d.ts +2 -0
- package/build/bitbucket-client/models/RestRefMatcherType.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRefMatcherType.js +2 -0
- package/build/bitbucket-client/models/RestRefMatcherType.js.map +1 -0
- package/build/bitbucket-client/models/RestRefRestriction.d.ts +2 -0
- package/build/bitbucket-client/models/RestRefRestriction.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRefRestriction.js +2 -0
- package/build/bitbucket-client/models/RestRefRestriction.js.map +1 -0
- package/build/bitbucket-client/models/RestRefSyncQueue.d.ts +5 -0
- package/build/bitbucket-client/models/RestRefSyncQueue.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRefSyncQueue.js +2 -0
- package/build/bitbucket-client/models/RestRefSyncQueue.js.map +1 -0
- package/build/bitbucket-client/models/RestRefSyncRequest.d.ts +14 -0
- package/build/bitbucket-client/models/RestRefSyncRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRefSyncRequest.js +10 -0
- package/build/bitbucket-client/models/RestRefSyncRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestRefSyncStatus.d.ts +2 -0
- package/build/bitbucket-client/models/RestRefSyncStatus.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRefSyncStatus.js +2 -0
- package/build/bitbucket-client/models/RestRefSyncStatus.js.map +1 -0
- package/build/bitbucket-client/models/RestRejectedRef.d.ts +2 -0
- package/build/bitbucket-client/models/RestRejectedRef.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRejectedRef.js +2 -0
- package/build/bitbucket-client/models/RestRejectedRef.js.map +1 -0
- package/build/bitbucket-client/models/RestRelatedLinks.d.ts +2 -0
- package/build/bitbucket-client/models/RestRelatedLinks.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRelatedLinks.js +2 -0
- package/build/bitbucket-client/models/RestRelatedLinks.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoriesExportRequest.d.ts +5 -0
- package/build/bitbucket-client/models/RestRepositoriesExportRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoriesExportRequest.js +2 -0
- package/build/bitbucket-client/models/RestRepositoriesExportRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestRepository.d.ts +2 -0
- package/build/bitbucket-client/models/RestRepository.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepository.js +2 -0
- package/build/bitbucket-client/models/RestRepository.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryHook.d.ts +2 -0
- package/build/bitbucket-client/models/RestRepositoryHook.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryHook.js +2 -0
- package/build/bitbucket-client/models/RestRepositoryHook.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryHookVeto.d.ts +2 -0
- package/build/bitbucket-client/models/RestRepositoryHookVeto.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryHookVeto.js +2 -0
- package/build/bitbucket-client/models/RestRepositoryHookVeto.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryLockOwner.d.ts +2 -0
- package/build/bitbucket-client/models/RestRepositoryLockOwner.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryLockOwner.js +2 -0
- package/build/bitbucket-client/models/RestRepositoryLockOwner.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryMirrorEvent.d.ts +12 -0
- package/build/bitbucket-client/models/RestRepositoryMirrorEvent.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryMirrorEvent.js +9 -0
- package/build/bitbucket-client/models/RestRepositoryMirrorEvent.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryPolicy.d.ts +2 -0
- package/build/bitbucket-client/models/RestRepositoryPolicy.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryPolicy.js +2 -0
- package/build/bitbucket-client/models/RestRepositoryPolicy.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.js +2 -0
- package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.d.ts +2 -0
- package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.js +2 -0
- package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.js.map +1 -0
- package/build/bitbucket-client/models/RestRepositorySelector.d.ts +5 -0
- package/build/bitbucket-client/models/RestRepositorySelector.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRepositorySelector.js +2 -0
- package/build/bitbucket-client/models/RestRepositorySelector.js.map +1 -0
- package/build/bitbucket-client/models/RestRequiredBuildCondition.d.ts +2 -0
- package/build/bitbucket-client/models/RestRequiredBuildCondition.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRequiredBuildCondition.js +2 -0
- package/build/bitbucket-client/models/RestRequiredBuildCondition.js.map +1 -0
- package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.d.ts +26 -0
- package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.js +12 -0
- package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestRestrictionRequest.d.ts +39 -0
- package/build/bitbucket-client/models/RestRestrictionRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRestrictionRequest.js +18 -0
- package/build/bitbucket-client/models/RestRestrictionRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestReviewerGroup.d.ts +2 -0
- package/build/bitbucket-client/models/RestReviewerGroup.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestReviewerGroup.js +2 -0
- package/build/bitbucket-client/models/RestReviewerGroup.js.map +1 -0
- package/build/bitbucket-client/models/RestRollingUpgradeState.d.ts +2 -0
- package/build/bitbucket-client/models/RestRollingUpgradeState.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestRollingUpgradeState.js +2 -0
- package/build/bitbucket-client/models/RestRollingUpgradeState.js.map +1 -0
- package/build/bitbucket-client/models/RestScope.d.ts +2 -0
- package/build/bitbucket-client/models/RestScope.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestScope.js +2 -0
- package/build/bitbucket-client/models/RestScope.js.map +1 -0
- package/build/bitbucket-client/models/RestScopesExample.d.ts +2 -0
- package/build/bitbucket-client/models/RestScopesExample.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestScopesExample.js +2 -0
- package/build/bitbucket-client/models/RestScopesExample.js.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.d.ts +2 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.js +2 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.js.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.d.ts +15 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.js +2 -0
- package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningRule.d.ts +2 -0
- package/build/bitbucket-client/models/RestSecretScanningRule.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningRule.js +2 -0
- package/build/bitbucket-client/models/RestSecretScanningRule.js.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.d.ts +15 -0
- package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.js +2 -0
- package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestSetInsightReportRequest.d.ts +13 -0
- package/build/bitbucket-client/models/RestSetInsightReportRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSetInsightReportRequest.js +2 -0
- package/build/bitbucket-client/models/RestSetInsightReportRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.d.ts +10 -0
- package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.js +2 -0
- package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestSshAccessKey.d.ts +2 -0
- package/build/bitbucket-client/models/RestSshAccessKey.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSshAccessKey.js +2 -0
- package/build/bitbucket-client/models/RestSshAccessKey.js.map +1 -0
- package/build/bitbucket-client/models/RestSshAccessKeyLocations.d.ts +7 -0
- package/build/bitbucket-client/models/RestSshAccessKeyLocations.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSshAccessKeyLocations.js +2 -0
- package/build/bitbucket-client/models/RestSshAccessKeyLocations.js.map +1 -0
- package/build/bitbucket-client/models/RestSshCredentials.d.ts +12 -0
- package/build/bitbucket-client/models/RestSshCredentials.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSshCredentials.js +2 -0
- package/build/bitbucket-client/models/RestSshCredentials.js.map +1 -0
- package/build/bitbucket-client/models/RestSshKey.d.ts +2 -0
- package/build/bitbucket-client/models/RestSshKey.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSshKey.js +2 -0
- package/build/bitbucket-client/models/RestSshKey.js.map +1 -0
- package/build/bitbucket-client/models/RestSshKeySettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestSshKeySettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSshKeySettings.js +2 -0
- package/build/bitbucket-client/models/RestSshKeySettings.js.map +1 -0
- package/build/bitbucket-client/models/RestSshKeyTypeRestriction.d.ts +2 -0
- package/build/bitbucket-client/models/RestSshKeyTypeRestriction.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSshKeyTypeRestriction.js +2 -0
- package/build/bitbucket-client/models/RestSshKeyTypeRestriction.js.map +1 -0
- package/build/bitbucket-client/models/RestSshSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestSshSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSshSettings.js +2 -0
- package/build/bitbucket-client/models/RestSshSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestSyncProgress.d.ts +2 -0
- package/build/bitbucket-client/models/RestSyncProgress.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSyncProgress.js +2 -0
- package/build/bitbucket-client/models/RestSyncProgress.js.map +1 -0
- package/build/bitbucket-client/models/RestSystemSigningConfiguration.d.ts +2 -0
- package/build/bitbucket-client/models/RestSystemSigningConfiguration.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestSystemSigningConfiguration.js +2 -0
- package/build/bitbucket-client/models/RestSystemSigningConfiguration.js.map +1 -0
- package/build/bitbucket-client/models/RestTag.d.ts +2 -0
- package/build/bitbucket-client/models/RestTag.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestTag.js +2 -0
- package/build/bitbucket-client/models/RestTag.js.map +1 -0
- package/build/bitbucket-client/models/RestTestResults.d.ts +2 -0
- package/build/bitbucket-client/models/RestTestResults.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestTestResults.js +2 -0
- package/build/bitbucket-client/models/RestTestResults.js.map +1 -0
- package/build/bitbucket-client/models/RestTokenBucketSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestTokenBucketSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestTokenBucketSettings.js +2 -0
- package/build/bitbucket-client/models/RestTokenBucketSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestUpstreamServer.d.ts +2 -0
- package/build/bitbucket-client/models/RestUpstreamServer.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestUpstreamServer.js +2 -0
- package/build/bitbucket-client/models/RestUpstreamServer.js.map +1 -0
- package/build/bitbucket-client/models/RestUpstreamSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestUpstreamSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestUpstreamSettings.js +2 -0
- package/build/bitbucket-client/models/RestUpstreamSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestUserDirectory.d.ts +2 -0
- package/build/bitbucket-client/models/RestUserDirectory.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestUserDirectory.js +2 -0
- package/build/bitbucket-client/models/RestUserDirectory.js.map +1 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettings.d.ts +2 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettings.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettings.js +2 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettings.js.map +1 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.d.ts +8 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.js +2 -0
- package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.js.map +1 -0
- package/build/bitbucket-client/models/RestUserReaction.d.ts +2 -0
- package/build/bitbucket-client/models/RestUserReaction.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestUserReaction.js +2 -0
- package/build/bitbucket-client/models/RestUserReaction.js.map +1 -0
- package/build/bitbucket-client/models/RestUsernamePasswordCredentials.d.ts +5 -0
- package/build/bitbucket-client/models/RestUsernamePasswordCredentials.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestUsernamePasswordCredentials.js +2 -0
- package/build/bitbucket-client/models/RestUsernamePasswordCredentials.js.map +1 -0
- package/build/bitbucket-client/models/RestWebhook.d.ts +2 -0
- package/build/bitbucket-client/models/RestWebhook.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestWebhook.js +2 -0
- package/build/bitbucket-client/models/RestWebhook.js.map +1 -0
- package/build/bitbucket-client/models/RestWebhookCredentials.d.ts +2 -0
- package/build/bitbucket-client/models/RestWebhookCredentials.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestWebhookCredentials.js +2 -0
- package/build/bitbucket-client/models/RestWebhookCredentials.js.map +1 -0
- package/build/bitbucket-client/models/RestWebhookRequestResponse.d.ts +2 -0
- package/build/bitbucket-client/models/RestWebhookRequestResponse.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestWebhookRequestResponse.js +2 -0
- package/build/bitbucket-client/models/RestWebhookRequestResponse.js.map +1 -0
- package/build/bitbucket-client/models/RestWebhookScope.d.ts +2 -0
- package/build/bitbucket-client/models/RestWebhookScope.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestWebhookScope.js +2 -0
- package/build/bitbucket-client/models/RestWebhookScope.js.map +1 -0
- package/build/bitbucket-client/models/RestX509Certificate.d.ts +2 -0
- package/build/bitbucket-client/models/RestX509Certificate.d.ts.map +1 -0
- package/build/bitbucket-client/models/RestX509Certificate.js +2 -0
- package/build/bitbucket-client/models/RestX509Certificate.js.map +1 -0
- package/build/bitbucket-client/models/Scope.d.ts +12 -0
- package/build/bitbucket-client/models/Scope.d.ts.map +1 -0
- package/build/bitbucket-client/models/Scope.js +10 -0
- package/build/bitbucket-client/models/Scope.js.map +1 -0
- package/build/bitbucket-client/models/SimpleSshKeyFingerprint.d.ts +2 -0
- package/build/bitbucket-client/models/SimpleSshKeyFingerprint.d.ts.map +1 -0
- package/build/bitbucket-client/models/SimpleSshKeyFingerprint.js +2 -0
- package/build/bitbucket-client/models/SimpleSshKeyFingerprint.js.map +1 -0
- package/build/bitbucket-client/models/SsoConfigEntity.d.ts +2 -0
- package/build/bitbucket-client/models/SsoConfigEntity.d.ts.map +1 -0
- package/build/bitbucket-client/models/SsoConfigEntity.js +2 -0
- package/build/bitbucket-client/models/SsoConfigEntity.js.map +1 -0
- package/build/bitbucket-client/models/SsoManagementStatusDTO.d.ts +2 -0
- package/build/bitbucket-client/models/SsoManagementStatusDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/SsoManagementStatusDTO.js +2 -0
- package/build/bitbucket-client/models/SsoManagementStatusDTO.js.map +1 -0
- package/build/bitbucket-client/models/StatusDTO.d.ts +2 -0
- package/build/bitbucket-client/models/StatusDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/StatusDTO.js +2 -0
- package/build/bitbucket-client/models/StatusDTO.js.map +1 -0
- package/build/bitbucket-client/models/TotpCodeVerificationDTO.d.ts +5 -0
- package/build/bitbucket-client/models/TotpCodeVerificationDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/TotpCodeVerificationDTO.js +2 -0
- package/build/bitbucket-client/models/TotpCodeVerificationDTO.js.map +1 -0
- package/build/bitbucket-client/models/TotpElevationRestDTO.d.ts +4 -0
- package/build/bitbucket-client/models/TotpElevationRestDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/TotpElevationRestDTO.js +2 -0
- package/build/bitbucket-client/models/TotpElevationRestDTO.js.map +1 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.d.ts +5 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.js +2 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.js.map +1 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeDTO.d.ts +2 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeDTO.js +2 -0
- package/build/bitbucket-client/models/TotpRecoveryCodeDTO.js.map +1 -0
- package/build/bitbucket-client/models/TotpUserEnrollmentDTO.d.ts +2 -0
- package/build/bitbucket-client/models/TotpUserEnrollmentDTO.d.ts.map +1 -0
- package/build/bitbucket-client/models/TotpUserEnrollmentDTO.js +2 -0
- package/build/bitbucket-client/models/TotpUserEnrollmentDTO.js.map +1 -0
- package/build/bitbucket-client/models/UserAndGroups.d.ts +5 -0
- package/build/bitbucket-client/models/UserAndGroups.d.ts.map +1 -0
- package/build/bitbucket-client/models/UserAndGroups.js +2 -0
- package/build/bitbucket-client/models/UserAndGroups.js.map +1 -0
- package/build/bitbucket-client/models/UserPasswordUpdate.d.ts +6 -0
- package/build/bitbucket-client/models/UserPasswordUpdate.d.ts.map +1 -0
- package/build/bitbucket-client/models/UserPasswordUpdate.js +2 -0
- package/build/bitbucket-client/models/UserPasswordUpdate.js.map +1 -0
- package/build/bitbucket-client/models/UserPickerContext.d.ts +5 -0
- package/build/bitbucket-client/models/UserPickerContext.d.ts.map +1 -0
- package/build/bitbucket-client/models/UserPickerContext.js +2 -0
- package/build/bitbucket-client/models/UserPickerContext.js.map +1 -0
- package/build/bitbucket-client/models/UserRename.d.ts +5 -0
- package/build/bitbucket-client/models/UserRename.d.ts.map +1 -0
- package/build/bitbucket-client/models/UserRename.js +2 -0
- package/build/bitbucket-client/models/UserRename.js.map +1 -0
- package/build/bitbucket-client/models/UserUpdate.d.ts +6 -0
- package/build/bitbucket-client/models/UserUpdate.d.ts.map +1 -0
- package/build/bitbucket-client/models/UserUpdate.js +2 -0
- package/build/bitbucket-client/models/UserUpdate.js.map +1 -0
- package/build/bitbucket-client/models/UserUpdateWithCredentials.d.ts +10 -0
- package/build/bitbucket-client/models/UserUpdateWithCredentials.d.ts.map +1 -0
- package/build/bitbucket-client/models/UserUpdateWithCredentials.js +2 -0
- package/build/bitbucket-client/models/UserUpdateWithCredentials.js.map +1 -0
- package/build/bitbucket-client/services/AuthenticationService.d.ts +684 -0
- package/build/bitbucket-client/services/AuthenticationService.d.ts.map +1 -0
- package/build/bitbucket-client/services/AuthenticationService.js +1381 -0
- package/build/bitbucket-client/services/AuthenticationService.js.map +1 -0
- package/build/bitbucket-client/services/BuildsAndDeploymentsService.d.ts +364 -0
- package/build/bitbucket-client/services/BuildsAndDeploymentsService.d.ts.map +1 -0
- package/build/bitbucket-client/services/BuildsAndDeploymentsService.js +705 -0
- package/build/bitbucket-client/services/BuildsAndDeploymentsService.js.map +1 -0
- package/build/bitbucket-client/services/CapabilitiesService.d.ts +19 -0
- package/build/bitbucket-client/services/CapabilitiesService.d.ts.map +1 -0
- package/build/bitbucket-client/services/CapabilitiesService.js +32 -0
- package/build/bitbucket-client/services/CapabilitiesService.js.map +1 -0
- package/build/bitbucket-client/services/DashboardService.d.ts +46 -0
- package/build/bitbucket-client/services/DashboardService.d.ts.map +1 -0
- package/build/bitbucket-client/services/DashboardService.js +63 -0
- package/build/bitbucket-client/services/DashboardService.js.map +1 -0
- package/build/bitbucket-client/services/DefaultService.d.ts +21 -0
- package/build/bitbucket-client/services/DefaultService.d.ts.map +1 -0
- package/build/bitbucket-client/services/DefaultService.js +37 -0
- package/build/bitbucket-client/services/DefaultService.js.map +1 -0
- package/build/bitbucket-client/services/DeprecatedService.d.ts +185 -0
- package/build/bitbucket-client/services/DeprecatedService.d.ts.map +1 -0
- package/build/bitbucket-client/services/DeprecatedService.js +338 -0
- package/build/bitbucket-client/services/DeprecatedService.js.map +1 -0
- package/build/bitbucket-client/services/JiraIntegrationService.d.ts +64 -0
- package/build/bitbucket-client/services/JiraIntegrationService.d.ts.map +1 -0
- package/build/bitbucket-client/services/JiraIntegrationService.js +102 -0
- package/build/bitbucket-client/services/JiraIntegrationService.js.map +1 -0
- package/build/bitbucket-client/services/MarkupService.d.ts +19 -0
- package/build/bitbucket-client/services/MarkupService.d.ts.map +1 -0
- package/build/bitbucket-client/services/MarkupService.js +36 -0
- package/build/bitbucket-client/services/MarkupService.js.map +1 -0
- package/build/bitbucket-client/services/MirroringMirrorService.d.ts +182 -0
- package/build/bitbucket-client/services/MirroringMirrorService.d.ts.map +1 -0
- package/build/bitbucket-client/services/MirroringMirrorService.js +375 -0
- package/build/bitbucket-client/services/MirroringMirrorService.js.map +1 -0
- package/build/bitbucket-client/services/MirroringUpstreamService.d.ts +215 -0
- package/build/bitbucket-client/services/MirroringUpstreamService.d.ts.map +1 -0
- package/build/bitbucket-client/services/MirroringUpstreamService.js +405 -0
- package/build/bitbucket-client/services/MirroringUpstreamService.js.map +1 -0
- package/build/bitbucket-client/services/PermissionManagementService.d.ts +713 -0
- package/build/bitbucket-client/services/PermissionManagementService.d.ts.map +1 -0
- package/build/bitbucket-client/services/PermissionManagementService.js +1210 -0
- package/build/bitbucket-client/services/PermissionManagementService.js.map +1 -0
- package/build/bitbucket-client/services/ProjectService.d.ts +1082 -0
- package/build/bitbucket-client/services/ProjectService.d.ts.map +1 -0
- package/build/bitbucket-client/services/ProjectService.js +2096 -0
- package/build/bitbucket-client/services/ProjectService.js.map +1 -0
- package/build/bitbucket-client/services/PullRequestsService.d.ts +1370 -0
- package/build/bitbucket-client/services/PullRequestsService.d.ts.map +1 -0
- package/build/bitbucket-client/services/PullRequestsService.js +2481 -0
- package/build/bitbucket-client/services/PullRequestsService.js.map +1 -0
- package/build/bitbucket-client/services/RepositoryService.d.ts +1734 -0
- package/build/bitbucket-client/services/RepositoryService.d.ts.map +1 -0
- package/build/bitbucket-client/services/RepositoryService.js +3228 -0
- package/build/bitbucket-client/services/RepositoryService.js.map +1 -0
- package/build/bitbucket-client/services/SecurityService.d.ts +542 -0
- package/build/bitbucket-client/services/SecurityService.d.ts.map +1 -0
- package/build/bitbucket-client/services/SecurityService.js +1049 -0
- package/build/bitbucket-client/services/SecurityService.js.map +1 -0
- package/build/bitbucket-client/services/SystemMaintenanceService.d.ts +1174 -0
- package/build/bitbucket-client/services/SystemMaintenanceService.d.ts.map +1 -0
- package/build/bitbucket-client/services/SystemMaintenanceService.js +1996 -0
- package/build/bitbucket-client/services/SystemMaintenanceService.js.map +1 -0
- package/build/bitbucket-response-mapper.d.ts +8 -0
- package/build/bitbucket-response-mapper.d.ts.map +1 -0
- package/build/bitbucket-response-mapper.js +102 -0
- package/build/bitbucket-response-mapper.js.map +1 -0
- package/build/bitbucket-service.d.ts +1655 -0
- package/build/bitbucket-service.d.ts.map +1 -0
- package/build/bitbucket-service.js +2186 -0
- package/build/bitbucket-service.js.map +1 -0
- package/build/config.d.ts +6 -0
- package/build/config.d.ts.map +1 -0
- package/build/config.js +22 -0
- package/build/config.js.map +1 -0
- package/build/inbox-pr-mapper.d.ts +39 -0
- package/build/inbox-pr-mapper.d.ts.map +1 -0
- package/build/inbox-pr-mapper.js +76 -0
- package/build/inbox-pr-mapper.js.map +1 -0
- package/build/index.d.ts +2 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +332 -0
- package/build/index.js.map +1 -0
- package/build/pr-changes-mapper.d.ts +32 -0
- package/build/pr-changes-mapper.d.ts.map +1 -0
- package/build/pr-changes-mapper.js +111 -0
- package/build/pr-changes-mapper.js.map +1 -0
- package/build/pr-comment-mapper.d.ts +55 -0
- package/build/pr-comment-mapper.d.ts.map +1 -0
- package/build/pr-comment-mapper.js +182 -0
- package/build/pr-comment-mapper.js.map +1 -0
- package/build/setup.d.ts +2 -0
- package/build/setup.d.ts.map +1 -0
- package/build/setup.js +16 -0
- package/build/setup.js.map +1 -0
- package/jest.config.js +24 -0
- package/package.json +53 -0
- package/server.json +51 -0
- package/src/__tests__/bitbucket-service.test.ts +4626 -0
- package/src/__tests__/bitbucket-token-optimization.test.ts +429 -0
- package/src/__tests__/config.test.ts +64 -0
- package/src/__tests__/inbox-pr-mapper.test.ts +347 -0
- package/src/__tests__/pr-changes-mapper.test.ts +420 -0
- package/src/__tests__/pr-comment-mapper.test.ts +559 -0
- package/src/bitbucket-client/core/ApiError.ts +26 -0
- package/src/bitbucket-client/core/ApiRequestOptions.ts +17 -0
- package/src/bitbucket-client/core/ApiResult.ts +11 -0
- package/src/bitbucket-client/core/CancelablePromise.ts +131 -0
- package/src/bitbucket-client/core/OpenAPI.ts +33 -0
- package/src/bitbucket-client/core/request.ts +337 -0
- package/src/bitbucket-client/index.ts +303 -0
- package/src/bitbucket-client/models/AdminPasswordUpdate.ts +10 -0
- package/src/bitbucket-client/models/ApplicationId.ts +5 -0
- package/src/bitbucket-client/models/ApplicationUser.ts +7 -0
- package/src/bitbucket-client/models/AuthenticationEntity.ts +13 -0
- package/src/bitbucket-client/models/AuthenticationResponse.ts +7 -0
- package/src/bitbucket-client/models/BasicAuthConfigEntity.ts +7 -0
- package/src/bitbucket-client/models/CaptchaDataEntity.ts +7 -0
- package/src/bitbucket-client/models/Comment.ts +38 -0
- package/src/bitbucket-client/models/CommentOperations.ts +10 -0
- package/src/bitbucket-client/models/CommentThread.ts +22 -0
- package/src/bitbucket-client/models/CommentThreadDiffAnchor.ts +46 -0
- package/src/bitbucket-client/models/Commentable.ts +5 -0
- package/src/bitbucket-client/models/Context.ts +8 -0
- package/src/bitbucket-client/models/ConversationDTO.ts +8 -0
- package/src/bitbucket-client/models/Credentials.ts +10 -0
- package/src/bitbucket-client/models/CredentialsCheckFailedDTO.ts +7 -0
- package/src/bitbucket-client/models/DiffContentFilter.ts +5 -0
- package/src/bitbucket-client/models/ElevationMethodRestDTO.ts +7 -0
- package/src/bitbucket-client/models/EnrichedRepository.ts +7 -0
- package/src/bitbucket-client/models/ErrorEntity.ts +7 -0
- package/src/bitbucket-client/models/ExampleAvatarMultipartFormData.ts +11 -0
- package/src/bitbucket-client/models/ExampleCertificateMultipartFormData.ts +11 -0
- package/src/bitbucket-client/models/ExampleFiles.ts +7 -0
- package/src/bitbucket-client/models/ExampleJsonLastModifiedCallback.ts +7 -0
- package/src/bitbucket-client/models/ExampleMultipartFormData.ts +27 -0
- package/src/bitbucket-client/models/ExamplePostMultipartFormData.ts +23 -0
- package/src/bitbucket-client/models/ExamplePreviewMigration.ts +7 -0
- package/src/bitbucket-client/models/ExamplePutMultipartFormData.ts +19 -0
- package/src/bitbucket-client/models/ExampleRequirements.ts +7 -0
- package/src/bitbucket-client/models/ExampleSettings.ts +7 -0
- package/src/bitbucket-client/models/ExampleSettingsMap.ts +7 -0
- package/src/bitbucket-client/models/ExampleSocketAddress.ts +7 -0
- package/src/bitbucket-client/models/ExampleStatus.ts +7 -0
- package/src/bitbucket-client/models/FileListResource.ts +7 -0
- package/src/bitbucket-client/models/FilePart.ts +13 -0
- package/src/bitbucket-client/models/Group.ts +7 -0
- package/src/bitbucket-client/models/GroupAndUsers.ts +9 -0
- package/src/bitbucket-client/models/GroupPickerContext.ts +9 -0
- package/src/bitbucket-client/models/IdpConfigEntity.ts +7 -0
- package/src/bitbucket-client/models/JitConfigEntity.ts +7 -0
- package/src/bitbucket-client/models/JitUserEntity.ts +7 -0
- package/src/bitbucket-client/models/LineNumberRange.ts +10 -0
- package/src/bitbucket-client/models/LoginOptionEntity.ts +7 -0
- package/src/bitbucket-client/models/MethodStateDTO.ts +7 -0
- package/src/bitbucket-client/models/NextLoginStepDTO.ts +7 -0
- package/src/bitbucket-client/models/OptionalBodyBeanParam.ts +5 -0
- package/src/bitbucket-client/models/PageRequestImpl.ts +9 -0
- package/src/bitbucket-client/models/PasswordElevationRestDTO.ts +8 -0
- package/src/bitbucket-client/models/Project.ts +19 -0
- package/src/bitbucket-client/models/PropertyMap.ts +7 -0
- package/src/bitbucket-client/models/PullRequest.ts +36 -0
- package/src/bitbucket-client/models/PullRequestParticipant.ts +28 -0
- package/src/bitbucket-client/models/PullRequestRef.ts +15 -0
- package/src/bitbucket-client/models/RefType.ts +7 -0
- package/src/bitbucket-client/models/Repository.ts +36 -0
- package/src/bitbucket-client/models/RepositoryHookDetails.ts +7 -0
- package/src/bitbucket-client/models/RestAccessToken.ts +7 -0
- package/src/bitbucket-client/models/RestAccessTokenRequest.ts +10 -0
- package/src/bitbucket-client/models/RestAggregateRejectCounter.ts +7 -0
- package/src/bitbucket-client/models/RestAnalyticsSettings.ts +7 -0
- package/src/bitbucket-client/models/RestAnnouncementBanner.ts +7 -0
- package/src/bitbucket-client/models/RestApplicationProperties.ts +7 -0
- package/src/bitbucket-client/models/RestApplicationUser.ts +7 -0
- package/src/bitbucket-client/models/RestApplicationUserWithPermissions.ts +7 -0
- package/src/bitbucket-client/models/RestApplySuggestionRequest.ts +11 -0
- package/src/bitbucket-client/models/RestAttachmentMetadata.ts +7 -0
- package/src/bitbucket-client/models/RestAuthenticationRequest.ts +11 -0
- package/src/bitbucket-client/models/RestAutoDeclineSettings.ts +7 -0
- package/src/bitbucket-client/models/RestAutoDeclineSettingsRequest.ts +9 -0
- package/src/bitbucket-client/models/RestAutoMergeProcessingResult.ts +7 -0
- package/src/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.ts +16 -0
- package/src/bitbucket-client/models/RestAutoMergeRequest.ts +7 -0
- package/src/bitbucket-client/models/RestAutoMergeRestrictedSettings.ts +7 -0
- package/src/bitbucket-client/models/RestAutoMergeSettingsRequest.ts +8 -0
- package/src/bitbucket-client/models/RestBearerTokenCredentials.ts +8 -0
- package/src/bitbucket-client/models/RestBitbucketLicense.ts +7 -0
- package/src/bitbucket-client/models/RestBranch.ts +7 -0
- package/src/bitbucket-client/models/RestBranchCreateRequest.ts +15 -0
- package/src/bitbucket-client/models/RestBranchDeleteRequest.ts +19 -0
- package/src/bitbucket-client/models/RestBuildCapabilities.ts +7 -0
- package/src/bitbucket-client/models/RestBuildStats.ts +7 -0
- package/src/bitbucket-client/models/RestBuildStatus.ts +7 -0
- package/src/bitbucket-client/models/RestBuildStatusSetRequest.ts +31 -0
- package/src/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.ts +10 -0
- package/src/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.ts +13 -0
- package/src/bitbucket-client/models/RestChange.ts +7 -0
- package/src/bitbucket-client/models/RestChangeset.ts +7 -0
- package/src/bitbucket-client/models/RestClusterInformation.ts +7 -0
- package/src/bitbucket-client/models/RestClusterNode.ts +7 -0
- package/src/bitbucket-client/models/RestComment.ts +7 -0
- package/src/bitbucket-client/models/RestCommentJiraIssue.ts +7 -0
- package/src/bitbucket-client/models/RestCommentThreadDiffAnchor.ts +7 -0
- package/src/bitbucket-client/models/RestCommit.ts +7 -0
- package/src/bitbucket-client/models/RestCommitMessageSuggestion.ts +7 -0
- package/src/bitbucket-client/models/RestConflict.ts +7 -0
- package/src/bitbucket-client/models/RestConflictChange.ts +7 -0
- package/src/bitbucket-client/models/RestConnectivitySummary.ts +7 -0
- package/src/bitbucket-client/models/RestCreateBranchRequest.ts +10 -0
- package/src/bitbucket-client/models/RestCreateTagRequest.ts +10 -0
- package/src/bitbucket-client/models/RestDefaultBranch.ts +8 -0
- package/src/bitbucket-client/models/RestDefaultReviewersRequest.ts +38 -0
- package/src/bitbucket-client/models/RestDefaultTask.ts +7 -0
- package/src/bitbucket-client/models/RestDefaultTaskRequest.ts +33 -0
- package/src/bitbucket-client/models/RestDelayedSyncRepository.ts +10 -0
- package/src/bitbucket-client/models/RestDeployment.ts +7 -0
- package/src/bitbucket-client/models/RestDeploymentEnvironment.ts +7 -0
- package/src/bitbucket-client/models/RestDeploymentSetRequest.ts +28 -0
- package/src/bitbucket-client/models/RestDetailedGroup.ts +7 -0
- package/src/bitbucket-client/models/RestDetailedInvocation.ts +7 -0
- package/src/bitbucket-client/models/RestDetailedUser.ts +7 -0
- package/src/bitbucket-client/models/RestDiff.ts +7 -0
- package/src/bitbucket-client/models/RestDiffHunk.ts +7 -0
- package/src/bitbucket-client/models/RestDiffLine.ts +7 -0
- package/src/bitbucket-client/models/RestDiffSegment.ts +7 -0
- package/src/bitbucket-client/models/RestDiffStatsSummary.ts +7 -0
- package/src/bitbucket-client/models/RestEmoticon.ts +7 -0
- package/src/bitbucket-client/models/RestEnhancedEntityLink.ts +7 -0
- package/src/bitbucket-client/models/RestErasedUser.ts +7 -0
- package/src/bitbucket-client/models/RestErrorMessage.ts +7 -0
- package/src/bitbucket-client/models/RestErrors.ts +7 -0
- package/src/bitbucket-client/models/RestExportRequest.ts +13 -0
- package/src/bitbucket-client/models/RestFarmSynchronizationRequest.ts +17 -0
- package/src/bitbucket-client/models/RestGitTagCreateRequest.ts +18 -0
- package/src/bitbucket-client/models/RestGpgKey.ts +7 -0
- package/src/bitbucket-client/models/RestGpgSubKey.ts +7 -0
- package/src/bitbucket-client/models/RestHookScript.ts +7 -0
- package/src/bitbucket-client/models/RestHookScriptConfig.ts +7 -0
- package/src/bitbucket-client/models/RestHookScriptTriggers.ts +8 -0
- package/src/bitbucket-client/models/RestImportRequest.ts +8 -0
- package/src/bitbucket-client/models/RestInsightAnnotation.ts +7 -0
- package/src/bitbucket-client/models/RestInsightAnnotationsResponse.ts +7 -0
- package/src/bitbucket-client/models/RestInsightReport.ts +7 -0
- package/src/bitbucket-client/models/RestInsightReportData.ts +7 -0
- package/src/bitbucket-client/models/RestInvocationHistory.ts +7 -0
- package/src/bitbucket-client/models/RestInvocationRequest.ts +7 -0
- package/src/bitbucket-client/models/RestInvocationResult.ts +7 -0
- package/src/bitbucket-client/models/RestJiraIssue.ts +9 -0
- package/src/bitbucket-client/models/RestJob.ts +7 -0
- package/src/bitbucket-client/models/RestJobMessage.ts +7 -0
- package/src/bitbucket-client/models/RestLabel.ts +7 -0
- package/src/bitbucket-client/models/RestLabelable.ts +7 -0
- package/src/bitbucket-client/models/RestLogLevel.ts +7 -0
- package/src/bitbucket-client/models/RestLoggingSettings.ts +7 -0
- package/src/bitbucket-client/models/RestMailConfiguration.ts +7 -0
- package/src/bitbucket-client/models/RestMarkup.ts +7 -0
- package/src/bitbucket-client/models/RestMeshConnectivityReport.ts +7 -0
- package/src/bitbucket-client/models/RestMeshMigrationQueueStateCounts.ts +7 -0
- package/src/bitbucket-client/models/RestMeshMigrationRequest.ts +14 -0
- package/src/bitbucket-client/models/RestMeshMigrationSummary.ts +7 -0
- package/src/bitbucket-client/models/RestMeshNode.ts +7 -0
- package/src/bitbucket-client/models/RestMigrationRepository.ts +7 -0
- package/src/bitbucket-client/models/RestMinimalCommit.ts +7 -0
- package/src/bitbucket-client/models/RestMinimalRef.ts +7 -0
- package/src/bitbucket-client/models/RestMirrorHashes.ts +7 -0
- package/src/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.ts +7 -0
- package/src/bitbucket-client/models/RestMirrorServer.ts +7 -0
- package/src/bitbucket-client/models/RestMirrorUpgradeRequest.ts +9 -0
- package/src/bitbucket-client/models/RestMirroredRepository.ts +7 -0
- package/src/bitbucket-client/models/RestMirroredRepositoryDescriptor.ts +7 -0
- package/src/bitbucket-client/models/RestMirroringRequest.ts +7 -0
- package/src/bitbucket-client/models/RestMultilineCommentMarker.ts +7 -0
- package/src/bitbucket-client/models/RestMultilineCommentSpan.ts +7 -0
- package/src/bitbucket-client/models/RestMultipleBuildStats.ts +7 -0
- package/src/bitbucket-client/models/RestNamedLink.ts +7 -0
- package/src/bitbucket-client/models/RestNode.ts +7 -0
- package/src/bitbucket-client/models/RestNodeConnectivityReport.ts +7 -0
- package/src/bitbucket-client/models/RestNodeConnectivitySummary.ts +7 -0
- package/src/bitbucket-client/models/RestPageIdpConfigEntity.ts +14 -0
- package/src/bitbucket-client/models/RestPageLoginOptionEntity.ts +14 -0
- package/src/bitbucket-client/models/RestPageRestChange.ts +7 -0
- package/src/bitbucket-client/models/RestPath.ts +7 -0
- package/src/bitbucket-client/models/RestPermitted.ts +7 -0
- package/src/bitbucket-client/models/RestPermittedGroup.ts +7 -0
- package/src/bitbucket-client/models/RestPermittedUser.ts +7 -0
- package/src/bitbucket-client/models/RestPerson.ts +7 -0
- package/src/bitbucket-client/models/RestProgress.ts +7 -0
- package/src/bitbucket-client/models/RestProject.ts +7 -0
- package/src/bitbucket-client/models/RestProjectSettingsRestriction.ts +7 -0
- package/src/bitbucket-client/models/RestProjectSettingsRestrictionRequest.ts +10 -0
- package/src/bitbucket-client/models/RestProperties.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequest.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestActivity.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.ts +30 -0
- package/src/bitbucket-client/models/RestPullRequestAssignStatusRequest.ts +16 -0
- package/src/bitbucket-client/models/RestPullRequestCommitMessageTemplate.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestCondition.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestDeclineRequest.ts +9 -0
- package/src/bitbucket-client/models/RestPullRequestDeleteRequest.ts +8 -0
- package/src/bitbucket-client/models/RestPullRequestFinishReviewRequest.ts +10 -0
- package/src/bitbucket-client/models/RestPullRequestMergeConfig.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestMergeRequest.ts +12 -0
- package/src/bitbucket-client/models/RestPullRequestMergeStrategy.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestMergeability.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestParticipant.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestRebaseRequest.ts +8 -0
- package/src/bitbucket-client/models/RestPullRequestRebaseResult.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestRebaseability.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestRef.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestReopenRequest.ts +8 -0
- package/src/bitbucket-client/models/RestPullRequestSettings.ts +7 -0
- package/src/bitbucket-client/models/RestPullRequestSuggestion.ts +7 -0
- package/src/bitbucket-client/models/RestPushRefChange.ts +7 -0
- package/src/bitbucket-client/models/RestRateLimitSettings.ts +7 -0
- package/src/bitbucket-client/models/RestRawAccessToken.ts +7 -0
- package/src/bitbucket-client/models/RestRefChange.ts +7 -0
- package/src/bitbucket-client/models/RestRefMatcher.ts +7 -0
- package/src/bitbucket-client/models/RestRefMatcherType.ts +7 -0
- package/src/bitbucket-client/models/RestRefRestriction.ts +7 -0
- package/src/bitbucket-client/models/RestRefSyncQueue.ts +10 -0
- package/src/bitbucket-client/models/RestRefSyncRequest.ts +19 -0
- package/src/bitbucket-client/models/RestRefSyncStatus.ts +7 -0
- package/src/bitbucket-client/models/RestRejectedRef.ts +7 -0
- package/src/bitbucket-client/models/RestRelatedLinks.ts +7 -0
- package/src/bitbucket-client/models/RestRepositoriesExportRequest.ts +10 -0
- package/src/bitbucket-client/models/RestRepository.ts +7 -0
- package/src/bitbucket-client/models/RestRepositoryHook.ts +7 -0
- package/src/bitbucket-client/models/RestRepositoryHookVeto.ts +7 -0
- package/src/bitbucket-client/models/RestRepositoryLockOwner.ts +7 -0
- package/src/bitbucket-client/models/RestRepositoryMirrorEvent.ts +16 -0
- package/src/bitbucket-client/models/RestRepositoryPolicy.ts +7 -0
- package/src/bitbucket-client/models/RestRepositoryPullRequestSettings.ts +7 -0
- package/src/bitbucket-client/models/RestRepositoryRefChangeActivity.ts +7 -0
- package/src/bitbucket-client/models/RestRepositorySelector.ts +9 -0
- package/src/bitbucket-client/models/RestRequiredBuildCondition.ts +7 -0
- package/src/bitbucket-client/models/RestRequiredBuildConditionSetRequest.ts +31 -0
- package/src/bitbucket-client/models/RestRestrictionRequest.ts +44 -0
- package/src/bitbucket-client/models/RestReviewerGroup.ts +7 -0
- package/src/bitbucket-client/models/RestRollingUpgradeState.ts +7 -0
- package/src/bitbucket-client/models/RestScope.ts +7 -0
- package/src/bitbucket-client/models/RestScopesExample.ts +7 -0
- package/src/bitbucket-client/models/RestSecretScanningAllowlistRule.ts +7 -0
- package/src/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.ts +19 -0
- package/src/bitbucket-client/models/RestSecretScanningRule.ts +7 -0
- package/src/bitbucket-client/models/RestSecretScanningRuleSetRequest.ts +19 -0
- package/src/bitbucket-client/models/RestSetInsightReportRequest.ts +18 -0
- package/src/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.ts +14 -0
- package/src/bitbucket-client/models/RestSshAccessKey.ts +7 -0
- package/src/bitbucket-client/models/RestSshAccessKeyLocations.ts +12 -0
- package/src/bitbucket-client/models/RestSshCredentials.ts +16 -0
- package/src/bitbucket-client/models/RestSshKey.ts +7 -0
- package/src/bitbucket-client/models/RestSshKeySettings.ts +7 -0
- package/src/bitbucket-client/models/RestSshKeyTypeRestriction.ts +7 -0
- package/src/bitbucket-client/models/RestSshSettings.ts +7 -0
- package/src/bitbucket-client/models/RestSyncProgress.ts +7 -0
- package/src/bitbucket-client/models/RestSystemSigningConfiguration.ts +7 -0
- package/src/bitbucket-client/models/RestTag.ts +7 -0
- package/src/bitbucket-client/models/RestTestResults.ts +7 -0
- package/src/bitbucket-client/models/RestTokenBucketSettings.ts +7 -0
- package/src/bitbucket-client/models/RestUpstreamServer.ts +7 -0
- package/src/bitbucket-client/models/RestUpstreamSettings.ts +7 -0
- package/src/bitbucket-client/models/RestUserDirectory.ts +7 -0
- package/src/bitbucket-client/models/RestUserRateLimitSettings.ts +7 -0
- package/src/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.ts +12 -0
- package/src/bitbucket-client/models/RestUserReaction.ts +7 -0
- package/src/bitbucket-client/models/RestUsernamePasswordCredentials.ts +9 -0
- package/src/bitbucket-client/models/RestWebhook.ts +7 -0
- package/src/bitbucket-client/models/RestWebhookCredentials.ts +7 -0
- package/src/bitbucket-client/models/RestWebhookRequestResponse.ts +7 -0
- package/src/bitbucket-client/models/RestWebhookScope.ts +7 -0
- package/src/bitbucket-client/models/RestX509Certificate.ts +7 -0
- package/src/bitbucket-client/models/Scope.ts +16 -0
- package/src/bitbucket-client/models/SimpleSshKeyFingerprint.ts +7 -0
- package/src/bitbucket-client/models/SsoConfigEntity.ts +7 -0
- package/src/bitbucket-client/models/SsoManagementStatusDTO.ts +7 -0
- package/src/bitbucket-client/models/StatusDTO.ts +7 -0
- package/src/bitbucket-client/models/TotpCodeVerificationDTO.ts +9 -0
- package/src/bitbucket-client/models/TotpElevationRestDTO.ts +8 -0
- package/src/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.ts +9 -0
- package/src/bitbucket-client/models/TotpRecoveryCodeDTO.ts +7 -0
- package/src/bitbucket-client/models/TotpUserEnrollmentDTO.ts +7 -0
- package/src/bitbucket-client/models/UserAndGroups.ts +9 -0
- package/src/bitbucket-client/models/UserPasswordUpdate.ts +10 -0
- package/src/bitbucket-client/models/UserPickerContext.ts +9 -0
- package/src/bitbucket-client/models/UserRename.ts +9 -0
- package/src/bitbucket-client/models/UserUpdate.ts +10 -0
- package/src/bitbucket-client/models/UserUpdateWithCredentials.ts +14 -0
- package/src/bitbucket-client/services/AuthenticationService.ts +1652 -0
- package/src/bitbucket-client/services/BuildsAndDeploymentsService.ts +849 -0
- package/src/bitbucket-client/services/CapabilitiesService.ts +38 -0
- package/src/bitbucket-client/services/DashboardService.ts +96 -0
- package/src/bitbucket-client/services/DefaultService.ts +46 -0
- package/src/bitbucket-client/services/DeprecatedService.ts +396 -0
- package/src/bitbucket-client/services/JiraIntegrationService.ts +133 -0
- package/src/bitbucket-client/services/MarkupService.ts +48 -0
- package/src/bitbucket-client/services/MirroringMirrorService.ts +421 -0
- package/src/bitbucket-client/services/MirroringUpstreamService.ts +487 -0
- package/src/bitbucket-client/services/PermissionManagementService.ts +1484 -0
- package/src/bitbucket-client/services/ProjectService.ts +2502 -0
- package/src/bitbucket-client/services/PullRequestsService.ts +2997 -0
- package/src/bitbucket-client/services/RepositoryService.ts +3944 -0
- package/src/bitbucket-client/services/SecurityService.ts +1253 -0
- package/src/bitbucket-client/services/SystemMaintenanceService.ts +2279 -0
- package/src/bitbucket-response-mapper.ts +127 -0
- package/src/bitbucket-service.ts +3069 -0
- package/src/config.ts +29 -0
- package/src/inbox-pr-mapper.ts +183 -0
- package/src/index.ts +811 -0
- package/src/pr-changes-mapper.ts +216 -0
- package/src/pr-comment-mapper.ts +399 -0
- package/src/setup.ts +15 -0
- package/tsconfig.json +12 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,1370 @@
|
|
|
1
|
+
import type { RestApplicationUser } from '../models/RestApplicationUser.js';
|
|
2
|
+
import type { RestApplySuggestionRequest } from '../models/RestApplySuggestionRequest.js';
|
|
3
|
+
import type { RestAutoMergeProcessingResult } from '../models/RestAutoMergeProcessingResult.js';
|
|
4
|
+
import type { RestAutoMergeRequest } from '../models/RestAutoMergeRequest.js';
|
|
5
|
+
import type { RestChange } from '../models/RestChange.js';
|
|
6
|
+
import type { RestComment } from '../models/RestComment.js';
|
|
7
|
+
import type { RestCommit } from '../models/RestCommit.js';
|
|
8
|
+
import type { RestCommitMessageSuggestion } from '../models/RestCommitMessageSuggestion.js';
|
|
9
|
+
import type { RestDefaultReviewersRequest } from '../models/RestDefaultReviewersRequest.js';
|
|
10
|
+
import type { RestDiff } from '../models/RestDiff.js';
|
|
11
|
+
import type { RestDiffStatsSummary } from '../models/RestDiffStatsSummary.js';
|
|
12
|
+
import type { RestPullRequest } from '../models/RestPullRequest.js';
|
|
13
|
+
import type { RestPullRequestActivity } from '../models/RestPullRequestActivity.js';
|
|
14
|
+
import type { RestPullRequestAssignParticipantRoleRequest } from '../models/RestPullRequestAssignParticipantRoleRequest.js';
|
|
15
|
+
import type { RestPullRequestAssignStatusRequest } from '../models/RestPullRequestAssignStatusRequest.js';
|
|
16
|
+
import type { RestPullRequestCondition } from '../models/RestPullRequestCondition.js';
|
|
17
|
+
import type { RestPullRequestDeclineRequest } from '../models/RestPullRequestDeclineRequest.js';
|
|
18
|
+
import type { RestPullRequestDeleteRequest } from '../models/RestPullRequestDeleteRequest.js';
|
|
19
|
+
import type { RestPullRequestFinishReviewRequest } from '../models/RestPullRequestFinishReviewRequest.js';
|
|
20
|
+
import type { RestPullRequestMergeability } from '../models/RestPullRequestMergeability.js';
|
|
21
|
+
import type { RestPullRequestMergeConfig } from '../models/RestPullRequestMergeConfig.js';
|
|
22
|
+
import type { RestPullRequestMergeRequest } from '../models/RestPullRequestMergeRequest.js';
|
|
23
|
+
import type { RestPullRequestParticipant } from '../models/RestPullRequestParticipant.js';
|
|
24
|
+
import type { RestPullRequestRebaseability } from '../models/RestPullRequestRebaseability.js';
|
|
25
|
+
import type { RestPullRequestRebaseRequest } from '../models/RestPullRequestRebaseRequest.js';
|
|
26
|
+
import type { RestPullRequestRebaseResult } from '../models/RestPullRequestRebaseResult.js';
|
|
27
|
+
import type { RestPullRequestReopenRequest } from '../models/RestPullRequestReopenRequest.js';
|
|
28
|
+
import type { RestPullRequestSettings } from '../models/RestPullRequestSettings.js';
|
|
29
|
+
import type { RestReviewerGroup } from '../models/RestReviewerGroup.js';
|
|
30
|
+
import type { RestUserReaction } from '../models/RestUserReaction.js';
|
|
31
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
32
|
+
export declare class PullRequestsService {
|
|
33
|
+
/**
|
|
34
|
+
* Create default reviewer condition
|
|
35
|
+
* Create a default reviewer pull request condition for the given project.
|
|
36
|
+
* @param projectKey The project key.
|
|
37
|
+
* @param requestBody The details needed to create a default reviewer pull request condition.
|
|
38
|
+
* @returns RestPullRequestCondition The default reviewer pull request condition that was created.
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static createPullRequestCondition(projectKey: string, requestBody?: RestDefaultReviewersRequest): CancelablePromise<RestPullRequestCondition>;
|
|
42
|
+
/**
|
|
43
|
+
* Delete default reviewer condition
|
|
44
|
+
* Delete the default reviewer pull request condition associated with the given ID.
|
|
45
|
+
* @param projectKey The project key.
|
|
46
|
+
* @param id The ID of the pull request condition.
|
|
47
|
+
* @returns void
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static deletePullRequestCondition(projectKey: string, id: string): CancelablePromise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Update default reviewer condition
|
|
53
|
+
* Update the default reviewer pull request condition for the given ID.
|
|
54
|
+
* @param projectKey The project key.
|
|
55
|
+
* @param id The ID of the pull request condition.
|
|
56
|
+
* @param requestBody The new details for the default reviewer pull request condition.
|
|
57
|
+
* @returns RestPullRequestCondition The updated default reviewer pull request condition.
|
|
58
|
+
* @throws ApiError
|
|
59
|
+
*/
|
|
60
|
+
static updatePullRequestCondition(projectKey: string, id: string, requestBody?: RestDefaultReviewersRequest): CancelablePromise<RestPullRequestCondition>;
|
|
61
|
+
/**
|
|
62
|
+
* Get default reviewer conditions
|
|
63
|
+
* Return a page of default reviewer pull request conditions that have been configured for this project.
|
|
64
|
+
* @param projectKey The project key.
|
|
65
|
+
* @returns RestPullRequestCondition The default reviewer pull request conditions associated with the given project.
|
|
66
|
+
* @throws ApiError
|
|
67
|
+
*/
|
|
68
|
+
static getPullRequestConditions(projectKey: string): CancelablePromise<Array<RestPullRequestCondition>>;
|
|
69
|
+
/**
|
|
70
|
+
* Create default reviewer condition
|
|
71
|
+
* Create a default reviewer pull request condition for the given repository.
|
|
72
|
+
* @param projectKey The project key.
|
|
73
|
+
* @param repositorySlug The repository slug.
|
|
74
|
+
* @param requestBody The details needed to create a default reviewer pull request condition.
|
|
75
|
+
* @returns RestPullRequestCondition The default reviewer pull request condition that was created.
|
|
76
|
+
* @throws ApiError
|
|
77
|
+
*/
|
|
78
|
+
static createPullRequestCondition1(projectKey: string, repositorySlug: string, requestBody?: RestDefaultReviewersRequest): CancelablePromise<RestPullRequestCondition>;
|
|
79
|
+
/**
|
|
80
|
+
* Delete default reviewer condition
|
|
81
|
+
* Delete the default reviewer pull request condition associated with the given ID.
|
|
82
|
+
* @param projectKey The project key.
|
|
83
|
+
* @param id
|
|
84
|
+
* @param repositorySlug The repository slug.
|
|
85
|
+
* @returns void
|
|
86
|
+
* @throws ApiError
|
|
87
|
+
*/
|
|
88
|
+
static deletePullRequestCondition1(projectKey: string, id: number, repositorySlug: string): CancelablePromise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Update default reviewer condition
|
|
91
|
+
* Update the default reviewer pull request condition for the given ID.
|
|
92
|
+
* @param projectKey The project key.
|
|
93
|
+
* @param id The ID of the pull request condition
|
|
94
|
+
* @param repositorySlug The repository slug.
|
|
95
|
+
* @param requestBody
|
|
96
|
+
* @returns RestPullRequestCondition The updated default reviewer pull request condition.
|
|
97
|
+
* @throws ApiError
|
|
98
|
+
*/
|
|
99
|
+
static updatePullRequestCondition1(projectKey: string, id: string, repositorySlug: string, requestBody?: {
|
|
100
|
+
requiredApprovals?: number;
|
|
101
|
+
reviewerGroups?: Array<RestReviewerGroup>;
|
|
102
|
+
reviewers?: Array<RestApplicationUser>;
|
|
103
|
+
sourceMatcher?: {
|
|
104
|
+
displayId?: string;
|
|
105
|
+
id?: string;
|
|
106
|
+
type?: {
|
|
107
|
+
id?: 'ANY_REF' | 'BRANCH' | 'PATTERN' | 'MODEL_CATEGORY' | 'MODEL_BRANCH';
|
|
108
|
+
name?: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
targetMatcher?: {
|
|
112
|
+
displayId?: string;
|
|
113
|
+
id?: string;
|
|
114
|
+
type?: {
|
|
115
|
+
id?: 'ANY_REF' | 'BRANCH' | 'PATTERN' | 'MODEL_CATEGORY' | 'MODEL_BRANCH';
|
|
116
|
+
name?: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}): CancelablePromise<RestPullRequestCondition>;
|
|
120
|
+
/**
|
|
121
|
+
* Get default reviewer conditions
|
|
122
|
+
* Return a page of default reviewer pull request conditions that have been configured for this repository.
|
|
123
|
+
* @param projectKey The project key.
|
|
124
|
+
* @param repositorySlug The repository slug.
|
|
125
|
+
* @returns RestPullRequestCondition The default reviewer pull request conditions associated with the given repository.
|
|
126
|
+
* @throws ApiError
|
|
127
|
+
*/
|
|
128
|
+
static getPullRequestConditions1(projectKey: string, repositorySlug: string): CancelablePromise<Array<RestPullRequestCondition>>;
|
|
129
|
+
/**
|
|
130
|
+
* Get required reviewers for PR creation
|
|
131
|
+
* Return a set of users who are required reviewers for pull requests created from the given source repository and ref to the given target ref in this repository.
|
|
132
|
+
* @param projectKey The project key.
|
|
133
|
+
* @param repositorySlug The repository slug.
|
|
134
|
+
* @param targetRepoId The ID of the repository in which the target ref exists
|
|
135
|
+
* @param sourceRepoId The ID of the repository in which the source ref exists
|
|
136
|
+
* @param sourceRefId The ID of the source ref
|
|
137
|
+
* @param targetRefId The ID of the target ref
|
|
138
|
+
* @returns RestPullRequestCondition The default reviewer pull request conditions associated with the given repository.
|
|
139
|
+
* @throws ApiError
|
|
140
|
+
*/
|
|
141
|
+
static getReviewers(projectKey: string, repositorySlug: string, targetRepoId?: string, sourceRepoId?: string, sourceRefId?: string, targetRefId?: string): CancelablePromise<Array<RestPullRequestCondition>>;
|
|
142
|
+
/**
|
|
143
|
+
* Check PR rebase precondition
|
|
144
|
+
* Checks preconditions to determine whether the pull request can be rebased.
|
|
145
|
+
*
|
|
146
|
+
* Some of the preconditions are:
|
|
147
|
+
*
|
|
148
|
+
* - The pull request is between Git repositories
|
|
149
|
+
* - The pull request is currently open
|
|
150
|
+
* - The pull request's {@link PullRequest#getFromRef "from" ref} is a <i>branch</i>
|
|
151
|
+
* - In other words, the qualified ID for the "from" ref must start with <code>refs/heads/</code>
|
|
152
|
+
* - Tags, and other non-standard refs, cannot be rebased
|
|
153
|
+
* - The current user has an e-mail address
|
|
154
|
+
* - Pull requests cannot be rebased anonymously
|
|
155
|
+
* - `git rebase` records the current user as the committer for the rebased commits, which requires a name and e-mail address
|
|
156
|
+
* - The current user has <i>write</i> access to the {@link PullRequest#getFromRef "from" ref}'s repository
|
|
157
|
+
* - Note that in order to <i>view</i> a pull request a user is only required to have <i>read</i> access to the {@link PullRequest#getToRef toRef}'s repository, so just because a user can <i>see</i> a pull request does not mean they can request a rebase
|
|
158
|
+
*
|
|
159
|
+
*
|
|
160
|
+
* This list is not exhaustive, and the exact set of preconditions applied can be extended by third-party add-ons.
|
|
161
|
+
*
|
|
162
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
163
|
+
* @param projectKey The project key.
|
|
164
|
+
* @param pullRequestId The ID of the pull request within the repository.
|
|
165
|
+
* @param repositorySlug The repository slug.
|
|
166
|
+
* @returns RestPullRequestRebaseability The rebaseability status of the pull request.
|
|
167
|
+
* @throws ApiError
|
|
168
|
+
*/
|
|
169
|
+
static canRebase(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestPullRequestRebaseability>;
|
|
170
|
+
/**
|
|
171
|
+
* Rebase pull request
|
|
172
|
+
* Rebases the specified pull request, rewriting the incoming commits to start from the tip commit of the pull request's target branch. <i>This operation alters the pull request's source branch and cannot be undone.</i>
|
|
173
|
+
*
|
|
174
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets <i>and</i> <strong>REPO_WRITE</strong> permission for the pull request's source repository to call this resource.
|
|
175
|
+
* @param projectKey The project key.
|
|
176
|
+
* @param pullRequestId The ID of the pull request within the repository.
|
|
177
|
+
* @param repositorySlug The repository slug.
|
|
178
|
+
* @param requestBody The pull request rebase request.
|
|
179
|
+
* @returns RestPullRequestRebaseResult The merged pull request.
|
|
180
|
+
* @throws ApiError
|
|
181
|
+
*/
|
|
182
|
+
static rebase(projectKey: string, pullRequestId: string, repositorySlug: string, requestBody?: RestPullRequestRebaseRequest): CancelablePromise<RestPullRequestRebaseResult>;
|
|
183
|
+
/**
|
|
184
|
+
* Remove a reaction from a PR comment
|
|
185
|
+
* Remove an emoticon reaction from a pull request comment
|
|
186
|
+
* @param projectKey The project key.
|
|
187
|
+
* @param commentId The comment id.
|
|
188
|
+
* @param pullRequestId The pull request id.
|
|
189
|
+
* @param emoticon The emoticon to remove
|
|
190
|
+
* @param repositorySlug The repository slug.
|
|
191
|
+
* @returns void
|
|
192
|
+
* @throws ApiError
|
|
193
|
+
*/
|
|
194
|
+
static unReact1(projectKey: string, commentId: string, pullRequestId: string, emoticon: string, repositorySlug: string): CancelablePromise<void>;
|
|
195
|
+
/**
|
|
196
|
+
* React to a PR comment
|
|
197
|
+
* Add an emoticon reaction to a pull request comment
|
|
198
|
+
* @param projectKey The project key.
|
|
199
|
+
* @param commentId The comment id.
|
|
200
|
+
* @param pullRequestId The pull request id.
|
|
201
|
+
* @param emoticon The emoticon to add
|
|
202
|
+
* @param repositorySlug The repository slug.
|
|
203
|
+
* @returns RestUserReaction The added reaction
|
|
204
|
+
* @throws ApiError
|
|
205
|
+
*/
|
|
206
|
+
static react1(projectKey: string, commentId: string, pullRequestId: string, emoticon: string, repositorySlug: string): CancelablePromise<RestUserReaction>;
|
|
207
|
+
/**
|
|
208
|
+
* Get merge strategies
|
|
209
|
+
* Retrieve the merge strategies available for this instance.
|
|
210
|
+
*
|
|
211
|
+
* The user must be authenticated to call this resource.
|
|
212
|
+
* @param scmId the id of the scm to get strategies for
|
|
213
|
+
* @returns RestPullRequestMergeConfig The merge configuration of this instance.
|
|
214
|
+
* @throws ApiError
|
|
215
|
+
*/
|
|
216
|
+
static getMergeConfig(scmId: string): CancelablePromise<RestPullRequestMergeConfig>;
|
|
217
|
+
/**
|
|
218
|
+
* Update merge strategies
|
|
219
|
+
* Update the pull request merge strategies for the context repository.
|
|
220
|
+
*
|
|
221
|
+
* The authenticated user must have <strong>ADMIN</strong> permission to call this resource.
|
|
222
|
+
*
|
|
223
|
+
* Only the strategies provided will be enabled, only one may be set to default
|
|
224
|
+
*
|
|
225
|
+
* The commit message template will not be updated if not provided, and will be deleted if the `commitMessageTemplate` attribute is empty, i.e: `commitMessageTemplate: {}`.
|
|
226
|
+
*
|
|
227
|
+
* An explicitly set pull request merge strategy configuration can be deleted by POSTing a document with an empty `mergeConfig` attribute. i.e:
|
|
228
|
+
* ```
|
|
229
|
+
* {
|
|
230
|
+
* "mergeConfig": {}
|
|
231
|
+
* }
|
|
232
|
+
* ```
|
|
233
|
+
*
|
|
234
|
+
* Upon completion of this request, the effective configuration will be the default configuration.
|
|
235
|
+
* @param scmId the id of the scm to get strategies for
|
|
236
|
+
* @param requestBody the settings
|
|
237
|
+
* @returns RestPullRequestMergeConfig The repository pull request merge strategies for the context repository.
|
|
238
|
+
* @throws ApiError
|
|
239
|
+
*/
|
|
240
|
+
static setMergeConfig(scmId: string, requestBody?: RestPullRequestSettings): CancelablePromise<RestPullRequestMergeConfig>;
|
|
241
|
+
/**
|
|
242
|
+
* Get repository pull requests containing commit
|
|
243
|
+
* Retrieve a page of pull requests in the current repository that contain the given commit.
|
|
244
|
+
*
|
|
245
|
+
* The user must be authenticated and have access to the specified repository to call this resource.
|
|
246
|
+
* @param projectKey The project key
|
|
247
|
+
* @param commitId the commit ID
|
|
248
|
+
* @param repositorySlug The repository slug
|
|
249
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
250
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
251
|
+
* @returns any Return a page of pull requests in the current repository containing the given commit.
|
|
252
|
+
* @throws ApiError
|
|
253
|
+
*/
|
|
254
|
+
static getPullRequests(projectKey: string, commitId: string, repositorySlug: string, start?: number, limit?: number): CancelablePromise<{
|
|
255
|
+
isLastPage?: boolean;
|
|
256
|
+
limit?: number;
|
|
257
|
+
nextPageStart?: number;
|
|
258
|
+
size?: number;
|
|
259
|
+
start?: number;
|
|
260
|
+
values?: Array<RestPullRequest>;
|
|
261
|
+
}>;
|
|
262
|
+
/**
|
|
263
|
+
* Search pull request participants
|
|
264
|
+
* Retrieve a page of participant users for all the pull requests to or from the specified repository.
|
|
265
|
+
*
|
|
266
|
+
* Optionally clients can specify following filters.
|
|
267
|
+
* @param projectKey The project key.
|
|
268
|
+
* @param repositorySlug The repository slug.
|
|
269
|
+
* @param filter (optional) Return only users, whose username, name or email address <i>contain</i> the filter value
|
|
270
|
+
* @param role (optional) The role associated with the pull request participant. This must be one of AUTHOR, REVIEWER, or PARTICIPANT
|
|
271
|
+
* @param direction (optional), Defaults to <strong>INCOMING</strong>) the direction relative to the specified repository. Either <strong>INCOMING</strong> or <strong>OUTGOING</strong>.
|
|
272
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
273
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
274
|
+
* @returns any A page of users that match the search criteria.
|
|
275
|
+
* @throws ApiError
|
|
276
|
+
*/
|
|
277
|
+
static search(projectKey: string, repositorySlug: string, filter?: string, role?: string, direction?: string, start?: number, limit?: number): CancelablePromise<{
|
|
278
|
+
isLastPage?: boolean;
|
|
279
|
+
limit?: number;
|
|
280
|
+
nextPageStart?: number;
|
|
281
|
+
size?: number;
|
|
282
|
+
start?: number;
|
|
283
|
+
values?: Array<RestApplicationUser>;
|
|
284
|
+
}>;
|
|
285
|
+
/**
|
|
286
|
+
* Get pull requests for repository
|
|
287
|
+
* Retrieve a page of pull requests to or from the specified repository.
|
|
288
|
+
*
|
|
289
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource. Optionally clients can specify PR participant filters. Each filter has a mandatory username.N parameter, and the optional role.N and approved.N parameters.
|
|
290
|
+
*
|
|
291
|
+
* - username.N - the "root" of a single participant filter, where "N" is a natural number starting from 1. This allows clients to specify multiple participant filters, by providing consecutive filters as username.1, username.2 etc. Note that the filters numbering has to start with 1 and be continuous for all filters to be processed. The total allowed number of participant filters is 10 and all filters exceeding that limit will be dropped.
|
|
292
|
+
* - role.N(optional) the role associated with username.N. This must be one of AUTHOR, REVIEWER, or PARTICIPANT
|
|
293
|
+
* - approved.N (optional) the approved status associated with username.N. That is whether username.N has approved the PR. Either true, or false
|
|
294
|
+
*
|
|
295
|
+
* @param projectKey The project key.
|
|
296
|
+
* @param repositorySlug The repository slug.
|
|
297
|
+
* @param withAttributes (optional) defaults to true, whether to return additional pull request attributes
|
|
298
|
+
* @param at (optional) a <i>fully-qualified</i> branch ID to find pull requests to or from, such as refs/heads/master
|
|
299
|
+
* @param withProperties (optional) defaults to true, whether to return additional pull request properties
|
|
300
|
+
* @param draft (optional) If specified, only pull requests matching the supplied draft status will be returned.
|
|
301
|
+
* @param filterText (optional) If specified, only pull requests where the title or description contains the supplied string will be returned.
|
|
302
|
+
* @param state (optional, defaults to <strong>OPEN</strong>). Supply <strong>ALL</strong> to return pull request in any state. If a state is supplied only pull requests in the specified state will be returned. Either <strong>OPEN</strong>, <strong>DECLINED</strong> or <strong>MERGED</strong>.
|
|
303
|
+
* @param order (optional, defaults to <strong>NEWEST</strong>) the order to return pull requests in, either <strong>OLDEST</strong> (as in: "oldest first") or <strong>NEWEST</strong>.
|
|
304
|
+
* @param direction (optional, defaults to <strong>INCOMING</strong>) the direction relative to the specified repository. Either <strong>INCOMING</strong> or <strong>OUTGOING</strong>.
|
|
305
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
306
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
307
|
+
* @returns any A page of pull requests that match the search criteria.
|
|
308
|
+
* @throws ApiError
|
|
309
|
+
*/
|
|
310
|
+
static getPage(projectKey: string, repositorySlug: string, withAttributes?: string, at?: string, withProperties?: string, draft?: string, filterText?: string, state?: string, order?: string, direction?: string, start?: number, limit?: number): CancelablePromise<{
|
|
311
|
+
isLastPage?: boolean;
|
|
312
|
+
limit?: number;
|
|
313
|
+
nextPageStart?: number;
|
|
314
|
+
size?: number;
|
|
315
|
+
start?: number;
|
|
316
|
+
values?: Array<RestPullRequest>;
|
|
317
|
+
}>;
|
|
318
|
+
/**
|
|
319
|
+
* Create pull request
|
|
320
|
+
* Create a new pull request from a source branch or tag to a target branch. The source and target may be in the same repository, or different ones. (Note that different repositories must belong to the same <code>Repository#getHierarchyId()</code> hierarchy.)
|
|
321
|
+
*
|
|
322
|
+
* The <code>fromRef</code> may be a branch or a tag. The <code>toRef</code> is required to be a branch. Tags are not allowed as targets because tags are intended to be immutable and should not be changed after they are created.
|
|
323
|
+
*
|
|
324
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the <code>fromRef</code> and <code>toRef</code> repositories to call this resource.
|
|
325
|
+
* @param projectKey The project key.
|
|
326
|
+
* @param repositorySlug The repository slug.
|
|
327
|
+
* @param requestBody The pull request data
|
|
328
|
+
* @returns RestPullRequest The newly created pull request.
|
|
329
|
+
* @throws ApiError
|
|
330
|
+
*/
|
|
331
|
+
static create(projectKey: string, repositorySlug: string, requestBody?: RestPullRequest): CancelablePromise<RestPullRequest>;
|
|
332
|
+
/**
|
|
333
|
+
* Delete pull request
|
|
334
|
+
* Deletes a pull request.
|
|
335
|
+
*
|
|
336
|
+
* To call this resource, users must be authenticated and have permission to view the pull request. Additionally, they must:
|
|
337
|
+
*
|
|
338
|
+
* - be the pull request author, if the system is configured to allow authors to delete their own pull requests (this is the default) OR
|
|
339
|
+
* - have repository administrator permission for the repository the pull request is targeting
|
|
340
|
+
*
|
|
341
|
+
*
|
|
342
|
+
* A body containing the version of the pull request must be provided with this request.
|
|
343
|
+
*
|
|
344
|
+
* `{ "version": 1 }`
|
|
345
|
+
* @param projectKey The project key.
|
|
346
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
347
|
+
* @param repositorySlug The repository slug.
|
|
348
|
+
* @param requestBody A body containing the version of the pull request
|
|
349
|
+
* @returns void
|
|
350
|
+
* @throws ApiError
|
|
351
|
+
*/
|
|
352
|
+
static delete3(projectKey: string, pullRequestId: string, repositorySlug: string, requestBody?: RestPullRequestDeleteRequest): CancelablePromise<void>;
|
|
353
|
+
/**
|
|
354
|
+
* Get pull request
|
|
355
|
+
* Retrieve a pull request.
|
|
356
|
+
*
|
|
357
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
358
|
+
* @param projectKey The project key.
|
|
359
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
360
|
+
* @param repositorySlug The repository slug.
|
|
361
|
+
* @returns RestPullRequest The specified pull request.
|
|
362
|
+
* @throws ApiError
|
|
363
|
+
*/
|
|
364
|
+
static get3(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestPullRequest>;
|
|
365
|
+
/**
|
|
366
|
+
* Update pull request metadata
|
|
367
|
+
* Update the title, description, reviewers, destination branch or draft status of an existing pull request.
|
|
368
|
+
*
|
|
369
|
+
* **Note:** the <em>reviewers</em> list may be updated using this resource. However the <em>author</em> and <em>participants</em> list may not.
|
|
370
|
+
*
|
|
371
|
+
* The authenticated user must either:
|
|
372
|
+
*
|
|
373
|
+
* - be the author of the pull request and have the <strong>REPO_READ</strong> permission for the repository that this pull request targets; or
|
|
374
|
+
* - have the <strong>REPO_WRITE</strong> permission for the repository that this pull request targets
|
|
375
|
+
*
|
|
376
|
+
*
|
|
377
|
+
* to call this resource.
|
|
378
|
+
* @param projectKey The project key.
|
|
379
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
380
|
+
* @param repositorySlug The repository slug.
|
|
381
|
+
* @param requestBody The updated pull request
|
|
382
|
+
* @returns RestPullRequest The updated pull request.
|
|
383
|
+
* @throws ApiError
|
|
384
|
+
*/
|
|
385
|
+
static update(projectKey: string, pullRequestId: string, repositorySlug: string, requestBody?: RestPullRequest): CancelablePromise<RestPullRequest>;
|
|
386
|
+
/**
|
|
387
|
+
* Stream raw pull request diff
|
|
388
|
+
* Streams the raw diff for a pull request.
|
|
389
|
+
*
|
|
390
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
391
|
+
* @param projectKey The project key.
|
|
392
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
393
|
+
* @param repositorySlug The repository slug.
|
|
394
|
+
* @param contextLines The number of context lines to include around added/removed lines in the diff
|
|
395
|
+
* @param whitespace optional whitespace flag which can be set to <code>ignore-all</code>
|
|
396
|
+
* @returns any A raw diff for the specified pull request.
|
|
397
|
+
* @throws ApiError
|
|
398
|
+
*/
|
|
399
|
+
static streamRawDiff2(projectKey: string, pullRequestId: string, repositorySlug: string, contextLines?: string, whitespace?: string): CancelablePromise<any>;
|
|
400
|
+
/**
|
|
401
|
+
* Stream pull request as patch
|
|
402
|
+
* Streams a patch representing a pull request.
|
|
403
|
+
*
|
|
404
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
405
|
+
* @param projectKey The project key.
|
|
406
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
407
|
+
* @param repositorySlug The repository slug.
|
|
408
|
+
* @returns any A patch representing the specified pull request.
|
|
409
|
+
* @throws ApiError
|
|
410
|
+
*/
|
|
411
|
+
static streamPatch1(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<any>;
|
|
412
|
+
/**
|
|
413
|
+
* Get pull request activity
|
|
414
|
+
* Retrieve a page of activity associated with a pull request.
|
|
415
|
+
*
|
|
416
|
+
* Activity items include comments, approvals, rescopes (i.e. adding and removing of commits), merges and more.
|
|
417
|
+
*
|
|
418
|
+
* Different types of activity items may be introduced in newer versions of Stash or by user installed plugins, so clients should be flexible enough to handle unexpected entity shapes in the returned page.
|
|
419
|
+
*
|
|
420
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
421
|
+
* @param projectKey The project key.
|
|
422
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
423
|
+
* @param repositorySlug The repository slug.
|
|
424
|
+
* @param fromType (required if <strong>fromId</strong> is present) the type of the activity item specified by <strong>fromId</strong> (either <strong>COMMENT</strong> or <strong>ACTIVITY</strong>)
|
|
425
|
+
* @param fromId (optional) the ID of the activity item to use as the first item in the returned page
|
|
426
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
427
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
428
|
+
* @returns any A page of activity relating to the specified pull request.
|
|
429
|
+
* @throws ApiError
|
|
430
|
+
*/
|
|
431
|
+
static getActivities(projectKey: string, pullRequestId: string, repositorySlug: string, fromType?: string, fromId?: string, start?: number, limit?: number): CancelablePromise<{
|
|
432
|
+
isLastPage?: boolean;
|
|
433
|
+
limit?: number;
|
|
434
|
+
nextPageStart?: number;
|
|
435
|
+
size?: number;
|
|
436
|
+
start?: number;
|
|
437
|
+
values?: Array<RestPullRequestActivity>;
|
|
438
|
+
}>;
|
|
439
|
+
/**
|
|
440
|
+
* @deprecated
|
|
441
|
+
* Unapprove pull request
|
|
442
|
+
* Remove approval from a pull request as the current user. This does not remove the user as a participant.
|
|
443
|
+
*
|
|
444
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
445
|
+
*
|
|
446
|
+
* <strong>Deprecated since 4.2</strong>. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} instead
|
|
447
|
+
* @param projectKey The project key.
|
|
448
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
449
|
+
* @param repositorySlug The repository slug.
|
|
450
|
+
* @returns RestPullRequestParticipant Details of the updated participant.
|
|
451
|
+
* @throws ApiError
|
|
452
|
+
*/
|
|
453
|
+
static withdrawApproval(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestPullRequestParticipant>;
|
|
454
|
+
/**
|
|
455
|
+
* @deprecated
|
|
456
|
+
* Approve pull request
|
|
457
|
+
* Approve a pull request as the current user. Implicitly adds the user as a participant if they are not already.
|
|
458
|
+
*
|
|
459
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
460
|
+
*
|
|
461
|
+
* <strong>Deprecated since 4.2</strong>. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} instead
|
|
462
|
+
* @param projectKey The project key.
|
|
463
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
464
|
+
* @param repositorySlug The repository slug.
|
|
465
|
+
* @returns RestPullRequestParticipant Details of the new participant.
|
|
466
|
+
* @throws ApiError
|
|
467
|
+
*/
|
|
468
|
+
static approve(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestPullRequestParticipant>;
|
|
469
|
+
/**
|
|
470
|
+
* Cancel auto-merge for pull request
|
|
471
|
+
* Cancels a request to auto-merge the pull request, if the pull request was not merged yet.
|
|
472
|
+
*
|
|
473
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the repository that this pull request targets to call this resource.
|
|
474
|
+
* @param projectKey The project key.
|
|
475
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
476
|
+
* @param repositorySlug The repository slug.
|
|
477
|
+
* @returns void
|
|
478
|
+
* @throws ApiError
|
|
479
|
+
*/
|
|
480
|
+
static cancelAutoMerge(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<void>;
|
|
481
|
+
/**
|
|
482
|
+
* Get auto-merge request for pull request
|
|
483
|
+
* Returns an auto-merge request for the pull request, if requested.
|
|
484
|
+
*
|
|
485
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
486
|
+
* @param projectKey The project key.
|
|
487
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
488
|
+
* @param repositorySlug The repository slug.
|
|
489
|
+
* @returns RestAutoMergeRequest The auto-merge request.
|
|
490
|
+
* @throws ApiError
|
|
491
|
+
*/
|
|
492
|
+
static getAutoMergeRequest(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestAutoMergeRequest>;
|
|
493
|
+
/**
|
|
494
|
+
* Auto-merge pull request
|
|
495
|
+
* Requests the system to try merging the pull request if auto-merge was requested on it.
|
|
496
|
+
*
|
|
497
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the repository that this pull request targets to call this resource.
|
|
498
|
+
* @param projectKey The project key.
|
|
499
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
500
|
+
* @param repositorySlug The repository slug.
|
|
501
|
+
* @returns RestAutoMergeProcessingResult The result of trying to auto-merge the pull request.
|
|
502
|
+
* @throws ApiError
|
|
503
|
+
*/
|
|
504
|
+
static tryAutoMerge(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestAutoMergeProcessingResult>;
|
|
505
|
+
/**
|
|
506
|
+
* Search pull request comments
|
|
507
|
+
* Gets comments matching the given set of field values for the specified pull request. (Note this does <b>not</b> perform any kind of searching for comments by their text).
|
|
508
|
+
*
|
|
509
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
510
|
+
* @param projectKey The project key.
|
|
511
|
+
* @param pullRequestId The pull request ID.
|
|
512
|
+
* @param repositorySlug The repository slug.
|
|
513
|
+
* @param count If true only the count of the comments by state will be returned (and not the body of the comments).
|
|
514
|
+
* @param state
|
|
515
|
+
* @param states (optional). If supplied, only comments with a state in the given list will be returned. The state can be OPEN or RESOLVED.
|
|
516
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
517
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
518
|
+
* @returns any A page of Comments from the supplied pull request.
|
|
519
|
+
* @throws ApiError
|
|
520
|
+
*/
|
|
521
|
+
static getComments1(projectKey: string, pullRequestId: string, repositorySlug: string, count?: string, state?: Array<string>, states?: string, start?: number, limit?: number): CancelablePromise<{
|
|
522
|
+
isLastPage?: boolean;
|
|
523
|
+
limit?: number;
|
|
524
|
+
nextPageStart?: number;
|
|
525
|
+
size?: number;
|
|
526
|
+
start?: number;
|
|
527
|
+
values?: Array<RestComment>;
|
|
528
|
+
}>;
|
|
529
|
+
/**
|
|
530
|
+
* Add new blocker comment
|
|
531
|
+
* Add a new blocker comment.
|
|
532
|
+
*
|
|
533
|
+
* Comments can be added in a few places by setting different attributes:
|
|
534
|
+
*
|
|
535
|
+
* General pull request blocker comment:
|
|
536
|
+
* ```
|
|
537
|
+
*
|
|
538
|
+
* {
|
|
539
|
+
* "text": "A task on a pull request."
|
|
540
|
+
* }
|
|
541
|
+
* ```
|
|
542
|
+
*
|
|
543
|
+
* Blocker reply to a comment:
|
|
544
|
+
*
|
|
545
|
+
* ```
|
|
546
|
+
*
|
|
547
|
+
* {
|
|
548
|
+
* "text": "This reply is a task.",
|
|
549
|
+
* "parent": {
|
|
550
|
+
* "id": 1
|
|
551
|
+
* }
|
|
552
|
+
* }
|
|
553
|
+
* ```
|
|
554
|
+
*
|
|
555
|
+
* General blocker file comment:
|
|
556
|
+
*
|
|
557
|
+
* ```
|
|
558
|
+
*
|
|
559
|
+
* {
|
|
560
|
+
* "text": "A blocker comment on a file.",
|
|
561
|
+
* "anchor": {
|
|
562
|
+
* "diffType": "RANGE",
|
|
563
|
+
* "fromHash": "6df3858eeb9a53a911cd17e66a9174d44ffb02cd",
|
|
564
|
+
* "path": "path/to/file",
|
|
565
|
+
* "srcPath": "path/to/file",
|
|
566
|
+
* "toHash": "04c7c5c931b9418ca7b66f51fe934d0bd9b2ba4b"
|
|
567
|
+
* }
|
|
568
|
+
* }
|
|
569
|
+
* ```
|
|
570
|
+
*
|
|
571
|
+
* Blocker file line comment:
|
|
572
|
+
*
|
|
573
|
+
* ```
|
|
574
|
+
*
|
|
575
|
+
* {
|
|
576
|
+
* "text": "A task on a particular line within a file.",
|
|
577
|
+
* "anchor": {
|
|
578
|
+
* "diffType": "COMMIT",
|
|
579
|
+
* "line": 1,
|
|
580
|
+
* "lineType": "CONTEXT",
|
|
581
|
+
* "fileType": "FROM",
|
|
582
|
+
* "fromHash": "6df3858eeb9a53a911cd17e66a9174d44ffb02cd",
|
|
583
|
+
* "path": "path/to/file",
|
|
584
|
+
* "srcPath": "path/to/file",
|
|
585
|
+
* "toHash": "04c7c5c931b9418ca7b66f51fe934d0bd9b2ba4b"
|
|
586
|
+
* }
|
|
587
|
+
* }
|
|
588
|
+
* ```
|
|
589
|
+
*
|
|
590
|
+
* For file and line comments, 'path' refers to the path of the file to which the comment should be applied and 'srcPath' refers to the path the that file used to have (only required for copies and moves). Also, fromHash and toHash refer to the sinceId / untilId (respectively) used to produce the diff on which the comment was added. Finally diffType refers to the type of diff the comment was added on. For backwards compatibility purposes if no diffType is provided and no fromHash/toHash pair is provided the diffType will be resolved to 'EFFECTIVE'. In any other cases the diffType is REQUIRED.
|
|
591
|
+
*
|
|
592
|
+
* For line comments, 'line' refers to the line in the diff that the comment should apply to. 'lineType' refers to the type of diff hunk, which can be:
|
|
593
|
+
*
|
|
594
|
+
* - 'ADDED' - for an added line;
|
|
595
|
+
* - 'REMOVED' - for a removed line; or
|
|
596
|
+
* - 'CONTEXT' - for a line that was unmodified but is in the vicinity of the diff.
|
|
597
|
+
*
|
|
598
|
+
*
|
|
599
|
+
* 'fileType' refers to the file of the diff to which the anchor should be attached - which is of relevance when displaying the diff in a side-by-side way. Currently the supported values are:
|
|
600
|
+
*
|
|
601
|
+
* - 'FROM' - the source file of the diff
|
|
602
|
+
* - 'TO' - the destination file of the diff
|
|
603
|
+
*
|
|
604
|
+
*
|
|
605
|
+
* If the current user is not a participant the user is added as a watcher of the pull request.
|
|
606
|
+
*
|
|
607
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
608
|
+
* @param projectKey The project key.
|
|
609
|
+
* @param pullRequestId The pull request ID.
|
|
610
|
+
* @param repositorySlug The repository slug.
|
|
611
|
+
* @param requestBody The comment to add.
|
|
612
|
+
* @returns RestComment The newly created comment.
|
|
613
|
+
* @throws ApiError
|
|
614
|
+
*/
|
|
615
|
+
static createComment1(projectKey: string, pullRequestId: string, repositorySlug: string, requestBody?: RestComment): CancelablePromise<RestComment>;
|
|
616
|
+
/**
|
|
617
|
+
* Delete pull request comment
|
|
618
|
+
* Delete a pull request comment. Anyone can delete their own comment. Only users with <strong>REPO_ADMIN</strong> and above may delete comments created by other users.
|
|
619
|
+
*
|
|
620
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
621
|
+
* @param projectKey The project key.
|
|
622
|
+
* @param commentId The ID of the comment to retrieve.
|
|
623
|
+
* @param pullRequestId The pull request ID.
|
|
624
|
+
* @param repositorySlug The repository slug.
|
|
625
|
+
* @param version The expected version of the comment. This must match the server's version of the comment or the delete will fail. To determine the current version of the comment, the comment should be fetched from the server prior to the delete. Look for the 'version' attribute in the returned JSON structure.
|
|
626
|
+
* @returns void
|
|
627
|
+
* @throws ApiError
|
|
628
|
+
*/
|
|
629
|
+
static deleteComment1(projectKey: string, commentId: string, pullRequestId: string, repositorySlug: string, version?: string): CancelablePromise<void>;
|
|
630
|
+
/**
|
|
631
|
+
* Get pull request comment
|
|
632
|
+
* Retrieves a pull request comment.
|
|
633
|
+
*
|
|
634
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
635
|
+
* @param projectKey The project key.
|
|
636
|
+
* @param commentId The ID of the comment to retrieve
|
|
637
|
+
* @param pullRequestId The pull request ID.
|
|
638
|
+
* @param repositorySlug The repository slug.
|
|
639
|
+
* @returns RestComment The requested comment.
|
|
640
|
+
* @throws ApiError
|
|
641
|
+
*/
|
|
642
|
+
static getComment1(projectKey: string, commentId: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestComment>;
|
|
643
|
+
/**
|
|
644
|
+
* Update pull request comment
|
|
645
|
+
* Update a comment, with the following restrictions:
|
|
646
|
+
*
|
|
647
|
+
* - only the author of the comment may update the <i>text</i> of the comment
|
|
648
|
+
* - only the author of the comment, the author of the pull request or repository admins and above may update the other fields of a comment
|
|
649
|
+
*
|
|
650
|
+
*
|
|
651
|
+
* Convert a comment to a task or vice versa.
|
|
652
|
+
*
|
|
653
|
+
* Comments can be converted to tasks by setting the 'severity' attribute to 'BLOCKER':
|
|
654
|
+
* ```
|
|
655
|
+
*
|
|
656
|
+
* {
|
|
657
|
+
* "severity": "BLOCKER"
|
|
658
|
+
* }
|
|
659
|
+
*
|
|
660
|
+
* ```
|
|
661
|
+
*
|
|
662
|
+
* Tasks can be converted to comments by setting the 'severity' attribute to 'NORMAL': ```
|
|
663
|
+
*
|
|
664
|
+
* {
|
|
665
|
+
* "severity": "NORMAL"
|
|
666
|
+
* }
|
|
667
|
+
*
|
|
668
|
+
* ```
|
|
669
|
+
*
|
|
670
|
+
* Resolve a blocker comment.
|
|
671
|
+
*
|
|
672
|
+
* Blocker comments can be resolved by setting the 'state' attribute to 'RESOLVED': ```
|
|
673
|
+
*
|
|
674
|
+
* {
|
|
675
|
+
* "state": "RESOLVED"
|
|
676
|
+
* }
|
|
677
|
+
* ```
|
|
678
|
+
*
|
|
679
|
+
* <strong>Note:</strong> the supplied JSON object must contain a <code>version</code> that must match the server's version of the comment or the update will fail. To determine the current version of the comment, the comment should be fetched from the server prior to the update. Look for the 'version' attribute in the returned JSON structure.
|
|
680
|
+
*
|
|
681
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
682
|
+
* @param projectKey The project key.
|
|
683
|
+
* @param commentId The ID of the comment to retrieve.
|
|
684
|
+
* @param pullRequestId The pull request ID.
|
|
685
|
+
* @param repositorySlug The repository slug.
|
|
686
|
+
* @param requestBody The comment to add.
|
|
687
|
+
* @returns RestComment The newly updated comment.
|
|
688
|
+
* @throws ApiError
|
|
689
|
+
*/
|
|
690
|
+
static updateComment1(projectKey: string, commentId: string, pullRequestId: string, repositorySlug: string, requestBody?: RestComment): CancelablePromise<RestComment>;
|
|
691
|
+
/**
|
|
692
|
+
* Gets pull request changes
|
|
693
|
+
* Gets changes for the specified PullRequest.
|
|
694
|
+
*
|
|
695
|
+
* If the changeScope query parameter is set to 'UNREVIEWED', the application will attempt to stream unreviewed changes based on the lastReviewedCommit of the current user, which are the changes between the lastReviewedCommit and the latest commit of the source branch. The current user is considered to <i>not</i> have any unreviewed changes for the pull request when the lastReviewedCommit is either null (everything is unreviewed, so all changes are streamed), equal to the latest commit of the source branch (everything is reviewed), or no longer on the source branch (the source branch has been rebased). In these cases, the application will fall back to streaming all changes (the default), which is the effective diff for the pull request. The type of changes streamed can be determined by the changeScope parameter included in the properties map of the response.
|
|
696
|
+
*
|
|
697
|
+
* Note: This resource is currently <i>not paged</i>. The server will return at most one page. The server will truncate the number of changes to either the request's page limit or an internal maximum, whichever is smaller. The start parameter of the page request is also ignored.
|
|
698
|
+
*
|
|
699
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
700
|
+
* @param projectKey The project key.
|
|
701
|
+
* @param pullRequestId The pull request ID.
|
|
702
|
+
* @param repositorySlug The repository slug.
|
|
703
|
+
* @param sinceId The since commit hash to stream changes for a RANGE arbitrary change scope
|
|
704
|
+
* @param changeScope UNREVIEWED to stream the unreviewed changes for the current user (if they exist); RANGE to stream changes between two arbitrary commits (requires 'sinceId' and 'untilId'); otherwise ALL to stream all changes (the default)
|
|
705
|
+
* @param untilId The until commit hash to stream changes for a RANGE arbitrary change scope
|
|
706
|
+
* @param withComments true to apply comment counts in the changes (the default); otherwise, false to stream changes without comment counts
|
|
707
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
708
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
709
|
+
* @returns RestChange A page of unreviewed Changes for the current user from the supplied pull request, including the unreviewedCommits in the properties map.
|
|
710
|
+
* @throws ApiError
|
|
711
|
+
*/
|
|
712
|
+
static streamChanges1(projectKey: string, pullRequestId: string, repositorySlug: string, sinceId?: string, changeScope?: string, untilId?: string, withComments?: string, start?: number, limit?: number): CancelablePromise<RestChange>;
|
|
713
|
+
/**
|
|
714
|
+
* Get pull request comments for path
|
|
715
|
+
* Gets comments for the specified pull request and path.
|
|
716
|
+
*
|
|
717
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
718
|
+
* @param path The path to stream comments for a given path
|
|
719
|
+
* @param projectKey The project key.
|
|
720
|
+
* @param pullRequestId The pull request ID.
|
|
721
|
+
* @param repositorySlug The repository slug.
|
|
722
|
+
* @param fromHash The from commit hash to stream comments for a RANGE or COMMIT arbitrary change scope
|
|
723
|
+
* @param anchorState ACTIVE to stream the active comments; ORPHANED to stream the orphaned comments; ALL to stream both the active and the orphaned comments;
|
|
724
|
+
* @param diffType
|
|
725
|
+
* @param toHash The to commit hash to stream comments for a RANGE or COMMIT arbitrary change scope
|
|
726
|
+
* @param state
|
|
727
|
+
* @param diffTypes EFFECTIVE to stream the comments related to the effective diff of the pull request; RANGE to stream comments related to a commit range between two arbitrary commits (requires 'fromHash' and 'toHash'); COMMIT to stream comments related to a commit between two arbitrary commits (requires 'fromHash' and 'toHash')
|
|
728
|
+
* @param states (optional). If supplied, only comments with a state in the given list will be returned. The state can be OPEN or RESOLVED.
|
|
729
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
730
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
731
|
+
* @returns any A page of Comments from the supplied pull request.
|
|
732
|
+
* @throws ApiError
|
|
733
|
+
*/
|
|
734
|
+
static getComments2(path: string, projectKey: string, pullRequestId: string, repositorySlug: string, fromHash?: string, anchorState?: string, diffType?: Array<string>, toHash?: string, state?: Array<string>, diffTypes?: string, states?: string, start?: number, limit?: number): CancelablePromise<{
|
|
735
|
+
isLastPage?: boolean;
|
|
736
|
+
limit?: number;
|
|
737
|
+
nextPageStart?: number;
|
|
738
|
+
size?: number;
|
|
739
|
+
start?: number;
|
|
740
|
+
values?: Array<RestComment>;
|
|
741
|
+
}>;
|
|
742
|
+
/**
|
|
743
|
+
* Add pull request comment
|
|
744
|
+
* Add a new comment.
|
|
745
|
+
*
|
|
746
|
+
* Comments can be added in a few places by setting different attributes: </p>General pull request comment:
|
|
747
|
+
* <pre> {
|
|
748
|
+
* "text": "An insightful general comment on a pull request."
|
|
749
|
+
* }
|
|
750
|
+
* </pre> Reply to a comment: <pre> {
|
|
751
|
+
* "text": "A measured reply.",
|
|
752
|
+
* "parent": {
|
|
753
|
+
* "id": 1
|
|
754
|
+
* }
|
|
755
|
+
* }
|
|
756
|
+
* </pre> General file comment: <pre> {
|
|
757
|
+
* "text": "An insightful general comment on a file.",
|
|
758
|
+
* "anchor": {
|
|
759
|
+
* "diffType": "RANGE",
|
|
760
|
+
* "fromHash": "6df3858eeb9a53a911cd17e66a9174d44ffb02cd",
|
|
761
|
+
* "path": "path/to/file",
|
|
762
|
+
* "srcPath": "path/to/file",
|
|
763
|
+
* "toHash": "04c7c5c931b9418ca7b66f51fe934d0bd9b2ba4b"
|
|
764
|
+
* }
|
|
765
|
+
* }
|
|
766
|
+
* </pre> File line comment: <pre> {
|
|
767
|
+
* "text": "A pithy comment on a particular line within a file.",
|
|
768
|
+
* "anchor": {
|
|
769
|
+
* "diffType": "COMMIT",
|
|
770
|
+
* "line": 1,
|
|
771
|
+
* "lineType": "CONTEXT",
|
|
772
|
+
* "fileType": "FROM",
|
|
773
|
+
* "fromHash": "6df3858eeb9a53a911cd17e66a9174d44ffb02cd",
|
|
774
|
+
* "path": "path/to/file",
|
|
775
|
+
* "srcPath": "path/to/file",
|
|
776
|
+
* "toHash": "04c7c5c931b9418ca7b66f51fe934d0bd9b2ba4b"
|
|
777
|
+
* }
|
|
778
|
+
* }
|
|
779
|
+
* </pre>
|
|
780
|
+
*
|
|
781
|
+
* Add a new task.
|
|
782
|
+
*
|
|
783
|
+
* Tasks are just comments with the attribute 'severity' set to 'BLOCKER':
|
|
784
|
+
*
|
|
785
|
+
* General pull request task: <pre> {
|
|
786
|
+
* "text": "A task on a pull request.",
|
|
787
|
+
* "severity": "BLOCKER"
|
|
788
|
+
* }
|
|
789
|
+
* </pre>
|
|
790
|
+
*
|
|
791
|
+
* Add a pending comment.
|
|
792
|
+
*
|
|
793
|
+
* Pending comments are just comments with the attribute 'state' set to 'PENDING':
|
|
794
|
+
*
|
|
795
|
+
* Pending comment: <pre> {
|
|
796
|
+
* "text": "This is a pending comment",
|
|
797
|
+
* "state": "PENDING"
|
|
798
|
+
* }
|
|
799
|
+
* </pre>
|
|
800
|
+
*
|
|
801
|
+
* For file and line comments, 'path' refers to the path of the file to which the comment should be applied and 'srcPath' refers to the path the that file used to have (only required for copies and moves).
|
|
802
|
+
*
|
|
803
|
+
* fromHash and toHash refer to the sinceId / untilId (respectively) used to produce the diff on which the comment was added.
|
|
804
|
+
*
|
|
805
|
+
* For diffType 'COMMIT' or 'RANGE', you must specify both the fromHash and toHash. Note that this behaviour differs from `/commits/comments`
|
|
806
|
+
*
|
|
807
|
+
* Finally diffType refers to the type of diff the comment was added on. For backwards compatibility purposes if no diffType is provided and no fromHash/toHash pair is provided the diffType will be resolved to 'EFFECTIVE'. In any other cases the diffType is REQUIRED.
|
|
808
|
+
*
|
|
809
|
+
* For line comments, 'line' refers to the line in the diff that the comment should apply to. 'lineType' refers to the type of diff hunk, which can be:
|
|
810
|
+
*
|
|
811
|
+
* - 'ADDED' - for an added line;
|
|
812
|
+
* - 'REMOVED' - for a removed line; or
|
|
813
|
+
* - 'CONTEXT' - for a line that was unmodified but is in the vicinity of the diff.
|
|
814
|
+
* </ul>'fileType' refers to the file of the diff to which the anchor should be attached - which is of relevance when displaying the diff in a side-by-side way. Currently the supported values are:
|
|
815
|
+
*
|
|
816
|
+
* - 'FROM' - the source file of the diff
|
|
817
|
+
* - 'TO' - the destination file of the diff
|
|
818
|
+
* </ul>If the current user is not a participant the user is added as a watcher of the pull request.
|
|
819
|
+
*
|
|
820
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
821
|
+
* @param projectKey The project key.
|
|
822
|
+
* @param pullRequestId The pull request ID.
|
|
823
|
+
* @param repositorySlug The repository slug.
|
|
824
|
+
* @param requestBody The comment to add
|
|
825
|
+
* @returns RestComment The newly created comment.
|
|
826
|
+
* @throws ApiError
|
|
827
|
+
*/
|
|
828
|
+
static createComment2(projectKey: string, pullRequestId: string, repositorySlug: string, requestBody?: RestComment): CancelablePromise<RestComment>;
|
|
829
|
+
/**
|
|
830
|
+
* Delete a pull request comment
|
|
831
|
+
* Delete a pull request comment. Anyone can delete their own comment. Only users with <strong>REPO_ADMIN</strong> and above may delete comments created by other users.
|
|
832
|
+
*
|
|
833
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
834
|
+
* @param projectKey The project key.
|
|
835
|
+
* @param commentId The ID of the comment to retrieve.
|
|
836
|
+
* @param pullRequestId The pull request ID.
|
|
837
|
+
* @param repositorySlug The repository slug.
|
|
838
|
+
* @param version The expected version of the comment. This must match the server's version of the comment or the delete will fail. To determine the current version of the comment, the comment should be fetched from the server prior to the delete. Look for the 'version' attribute in the returned JSON structure.
|
|
839
|
+
* @returns void
|
|
840
|
+
* @throws ApiError
|
|
841
|
+
*/
|
|
842
|
+
static deleteComment2(projectKey: string, commentId: string, pullRequestId: string, repositorySlug: string, version?: string): CancelablePromise<void>;
|
|
843
|
+
/**
|
|
844
|
+
* Get a pull request comment
|
|
845
|
+
* Retrieves a pull request comment.
|
|
846
|
+
*
|
|
847
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
848
|
+
* @param projectKey The project key.
|
|
849
|
+
* @param commentId The ID of the comment to retrieve.
|
|
850
|
+
* @param pullRequestId The pull request ID.
|
|
851
|
+
* @param repositorySlug The repository slug.
|
|
852
|
+
* @returns RestComment The requested comment.
|
|
853
|
+
* @throws ApiError
|
|
854
|
+
*/
|
|
855
|
+
static getComment2(projectKey: string, commentId: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestComment>;
|
|
856
|
+
/**
|
|
857
|
+
* Update pull request comment
|
|
858
|
+
* Update a comment, with the following restrictions:
|
|
859
|
+
*
|
|
860
|
+
* - only the author of the comment may update the <i>text</i> of the comment
|
|
861
|
+
* - only the author of the comment, the author of the pull request or repository admins and above may update the other fields of a comment
|
|
862
|
+
* </ul>
|
|
863
|
+
*
|
|
864
|
+
* Convert a comment to a task or vice versa.
|
|
865
|
+
*
|
|
866
|
+
* Comments can be converted to tasks by setting the 'severity' attribute to 'BLOCKER':
|
|
867
|
+
* <pre> {
|
|
868
|
+
* "severity": "BLOCKER"
|
|
869
|
+
* }
|
|
870
|
+
* </pre>
|
|
871
|
+
*
|
|
872
|
+
* Tasks can be converted to comments by setting the 'severity' attribute to 'NORMAL': <pre> {
|
|
873
|
+
* "severity": "NORMAL"
|
|
874
|
+
* }
|
|
875
|
+
* </pre>
|
|
876
|
+
*
|
|
877
|
+
* Resolve a task.
|
|
878
|
+
*
|
|
879
|
+
* Tasks can be resolved by setting the 'state' attribute to 'RESOLVED': <pre> {
|
|
880
|
+
* "state": "RESOLVED"
|
|
881
|
+
* }
|
|
882
|
+
* </pre>
|
|
883
|
+
*
|
|
884
|
+
* <strong>Note:</strong> the supplied JSON object must contain a <code>version</code> that must match the server's version of the comment or the update will fail. To determine the current version of the comment, the comment should be fetched from the server prior to the update. Look for the 'version' attribute in the returned JSON structure.
|
|
885
|
+
*
|
|
886
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
887
|
+
* @param projectKey The project key.
|
|
888
|
+
* @param commentId The ID of the comment to retrieve.
|
|
889
|
+
* @param pullRequestId The pull request ID.
|
|
890
|
+
* @param repositorySlug The repository slug.
|
|
891
|
+
* @param requestBody The updated comment
|
|
892
|
+
* @returns RestComment The newly updated comment.
|
|
893
|
+
* @throws ApiError
|
|
894
|
+
*/
|
|
895
|
+
static updateComment2(projectKey: string, commentId: string, pullRequestId: string, repositorySlug: string, requestBody?: RestComment): CancelablePromise<RestComment>;
|
|
896
|
+
/**
|
|
897
|
+
* Apply pull request suggestion
|
|
898
|
+
* Apply a suggestion contained within a comment.
|
|
899
|
+
* @param projectKey The project key.
|
|
900
|
+
* @param commentId The ID of the comment to retrieve.
|
|
901
|
+
* @param pullRequestId The pull request ID.
|
|
902
|
+
* @param repositorySlug The repository slug.
|
|
903
|
+
* @param requestBody A request containing other parameters required to apply a suggestion - The given versions/hashes must match the server's version/hashes or the suggestion application will fail (in order to avoid applying the suggestion to the wrong place
|
|
904
|
+
* @returns void
|
|
905
|
+
* @throws ApiError
|
|
906
|
+
*/
|
|
907
|
+
static applySuggestion(projectKey: string, commentId: string, pullRequestId: string, repositorySlug: string, requestBody?: RestApplySuggestionRequest): CancelablePromise<void>;
|
|
908
|
+
/**
|
|
909
|
+
* Get commit message suggestion
|
|
910
|
+
* Retrieve a suggested commit message for the given Pull Request.
|
|
911
|
+
* @param projectKey The project key.
|
|
912
|
+
* @param pullRequestId The ID of the pull request to generate the suggestion for
|
|
913
|
+
* @param repositorySlug The repository slug.
|
|
914
|
+
* @returns RestCommitMessageSuggestion The suggested commit message
|
|
915
|
+
* @throws ApiError
|
|
916
|
+
*/
|
|
917
|
+
static getCommitMessageSuggestion(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestCommitMessageSuggestion>;
|
|
918
|
+
/**
|
|
919
|
+
* Get pull request commits
|
|
920
|
+
* Retrieve commits for the specified pull request.
|
|
921
|
+
*
|
|
922
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
923
|
+
* @param projectKey The project key.
|
|
924
|
+
* @param pullRequestId ID of the pullrequest, part of the path
|
|
925
|
+
* @param repositorySlug The repository slug.
|
|
926
|
+
* @param avatarScheme The desired scheme for the avatar URL. If the parameter is not present URLs will use the same scheme as this request
|
|
927
|
+
* @param withCounts If set to true, the service will add "authorCount" and "totalCount" at the end of the page. "authorCount" is the number of different authors and "totalCount" is the total number of commits.
|
|
928
|
+
* @param avatarSize If present the service adds avatar URLs for commit authors. Should be an integer specifying the desired size in pixels. If the parameter is not present, avatar URLs will not be setCOMMIT to stream comments related to a commit between two arbitrary commits (requires 'fromHash' and 'toHash')
|
|
929
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
930
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
931
|
+
* @returns any A page of commits from the supplied pull request.
|
|
932
|
+
* @throws ApiError
|
|
933
|
+
*/
|
|
934
|
+
static getCommits1(projectKey: string, pullRequestId: string, repositorySlug: string, avatarScheme?: string, withCounts?: string, avatarSize?: string, start?: number, limit?: number): CancelablePromise<{
|
|
935
|
+
isLastPage?: boolean;
|
|
936
|
+
limit?: number;
|
|
937
|
+
nextPageStart?: number;
|
|
938
|
+
size?: number;
|
|
939
|
+
start?: number;
|
|
940
|
+
values?: Array<RestCommit>;
|
|
941
|
+
}>;
|
|
942
|
+
/**
|
|
943
|
+
* Decline pull request
|
|
944
|
+
* Decline a pull request.
|
|
945
|
+
*
|
|
946
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
947
|
+
* @param projectKey The project key.
|
|
948
|
+
* @param pullRequestId The pullrequest ID provided by the path
|
|
949
|
+
* @param repositorySlug The repository slug.
|
|
950
|
+
* @param version The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure.
|
|
951
|
+
* @param requestBody Optional body
|
|
952
|
+
* @returns RestPullRequest The pull request was declined.
|
|
953
|
+
* @throws ApiError
|
|
954
|
+
*/
|
|
955
|
+
static decline(projectKey: string, pullRequestId: string, repositorySlug: string, version?: string, requestBody?: RestPullRequestDeclineRequest): CancelablePromise<RestPullRequest>;
|
|
956
|
+
/**
|
|
957
|
+
* Get diff stats summary for pull request
|
|
958
|
+
* Retrieve the diff stats summary for the given Pull Request.
|
|
959
|
+
*
|
|
960
|
+
* The stats summary include the total number of modified files, added lines, and deleted lines.
|
|
961
|
+
*
|
|
962
|
+
* Note: The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
963
|
+
* @param path Optional path to the file which should be diffed
|
|
964
|
+
* @param projectKey The project key.
|
|
965
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
966
|
+
* @param repositorySlug The repository slug.
|
|
967
|
+
* @param sinceId The since commit hash to stream a diff between two arbitrary hashes
|
|
968
|
+
* @param srcPath The previous path to the file, if the file has been copied, moved or renamed
|
|
969
|
+
* @param untilId The until commit hash to stream a diff between two arbitrary hashes
|
|
970
|
+
* @param whitespace Optional whitespace flag which can be set to <code>ignore-all</code>
|
|
971
|
+
* @returns RestDiffStatsSummary The diff stats summary
|
|
972
|
+
* @throws ApiError
|
|
973
|
+
*/
|
|
974
|
+
static getDiffStatsSummary2(path: string, projectKey: string, pullRequestId: string, repositorySlug: string, sinceId?: string, srcPath?: string, untilId?: string, whitespace?: string): CancelablePromise<RestDiffStatsSummary>;
|
|
975
|
+
/**
|
|
976
|
+
* Stream a diff within a pull request
|
|
977
|
+
* Streams a diff within a pull request.
|
|
978
|
+
*
|
|
979
|
+
* If the specified file has been copied, moved or renamed, the <code>srcPath</code> must also be specified to produce the correct diff.
|
|
980
|
+
*
|
|
981
|
+
* To stream a raw text representation of the diff, this endpoint can be called with the request header 'Accept: text/plain'.
|
|
982
|
+
*
|
|
983
|
+
* Note: This RESTful endpoint is currently <i>not paged</i>. The server will internally apply a hard cap to the streamed lines, and it is not possible to request subsequent pages if that cap is exceeded.
|
|
984
|
+
*
|
|
985
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
986
|
+
* @param path The path to the file which should be diffed (optional)
|
|
987
|
+
* @param projectKey The project key.
|
|
988
|
+
* @param pullRequestId The pull request ID.
|
|
989
|
+
* @param repositorySlug The repository slug.
|
|
990
|
+
* @param avatarScheme The security scheme for avatar URLs. If the scheme is not present then it is inherited from the request. It can be set to "https" to force the use of secure URLs. Not applicable if streaming raw diff
|
|
991
|
+
* @param contextLines The number of context lines to include around added/removed lines in the diff
|
|
992
|
+
* @param sinceId The since commit hash to stream a diff between two arbitrary hashes
|
|
993
|
+
* @param srcPath The previous path to the file, if the file has been copied, moved or renamed
|
|
994
|
+
* @param diffType The type of diff being requested. When withComments is true this works as a hint to the system to attach the correct set of comments to the diff. Not applicable if streaming raw diff
|
|
995
|
+
* @param untilId The until commit hash to stream a diff between two arbitrary hashes
|
|
996
|
+
* @param whitespace Optional whitespace flag which can be set to <code>ignore-all</code>
|
|
997
|
+
* @param withComments <code>true</code> to embed comments in the diff (the default); otherwise, <code>false</code> to stream the diff without comments. Not applicable if streaming raw diff
|
|
998
|
+
* @param avatarSize If present the service adds avatar URLs for comment authors where the provided value specifies the desired avatar size in pixels. Not applicable if streaming raw diff
|
|
999
|
+
* @returns RestDiff A page of differences from a pull request.
|
|
1000
|
+
* @throws ApiError
|
|
1001
|
+
*/
|
|
1002
|
+
static streamDiff2(path: string, projectKey: string, pullRequestId: string, repositorySlug: string, avatarScheme?: string, contextLines?: string, sinceId?: string, srcPath?: string, diffType?: string, untilId?: string, whitespace?: string, withComments?: string, avatarSize?: string): CancelablePromise<RestDiff>;
|
|
1003
|
+
/**
|
|
1004
|
+
* Test if pull request can be merged
|
|
1005
|
+
* Test whether a pull request can be merged.
|
|
1006
|
+
*
|
|
1007
|
+
* A pull request may not be merged if:
|
|
1008
|
+
*
|
|
1009
|
+
* - there are conflicts that need to be manually resolved before merging; and/or
|
|
1010
|
+
* - one or more merge checks have vetoed the merge.
|
|
1011
|
+
*
|
|
1012
|
+
*
|
|
1013
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
1014
|
+
* @param projectKey The project key.
|
|
1015
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1016
|
+
* @param repositorySlug The repository slug.
|
|
1017
|
+
* @returns RestPullRequestMergeability The mergeability status of the pull request.
|
|
1018
|
+
* @throws ApiError
|
|
1019
|
+
*/
|
|
1020
|
+
static canMerge(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestPullRequestMergeability>;
|
|
1021
|
+
/**
|
|
1022
|
+
* Merge pull request
|
|
1023
|
+
* Merge the specified pull request immediately or set the pull request to auto-merge when all the merge checks pass by setting <strong>autoMerge</strong> field in the request body.
|
|
1024
|
+
*
|
|
1025
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the repository that this pull request targets to call this resource.
|
|
1026
|
+
* @param projectKey The project key.
|
|
1027
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1028
|
+
* @param repositorySlug The repository slug.
|
|
1029
|
+
* @param version The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure.
|
|
1030
|
+
* @param requestBody The body holder
|
|
1031
|
+
* @returns RestPullRequest The merged pull request.
|
|
1032
|
+
* @throws ApiError
|
|
1033
|
+
*/
|
|
1034
|
+
static merge(projectKey: string, pullRequestId: string, repositorySlug: string, version?: string, requestBody?: RestPullRequestMergeRequest): CancelablePromise<RestPullRequest>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Get the common ancestor between the latest commits of the source and target branches of the pull request
|
|
1037
|
+
* Returns the best common ancestor between the latest commits of the source and target branches of the pull request.
|
|
1038
|
+
*
|
|
1039
|
+
* If more than one best common ancestor exists, only one will be returned. It is unspecified which will be returned.
|
|
1040
|
+
* @param projectKey The project key.
|
|
1041
|
+
* @param pullRequestId The pull request ID.
|
|
1042
|
+
* @param repositorySlug The repository slug.
|
|
1043
|
+
* @returns RestCommit The common ancestor of the latest commits in the source and target branches of this pull request
|
|
1044
|
+
* @throws ApiError
|
|
1045
|
+
*/
|
|
1046
|
+
static getMergeBase1(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<RestCommit>;
|
|
1047
|
+
/**
|
|
1048
|
+
* @deprecated
|
|
1049
|
+
* Unassign pull request participant
|
|
1050
|
+
* Unassigns a participant from the REVIEWER role they may have been given in a pull request.
|
|
1051
|
+
*
|
|
1052
|
+
* If the participant has no explicit role this method has no effect.
|
|
1053
|
+
*
|
|
1054
|
+
* Afterwards, the user will still remain a participant in the pull request but their role will be reduced to PARTICIPANT. This is because once made a participant of a pull request, a user will forever remain a participant. Only their role may be altered.
|
|
1055
|
+
*
|
|
1056
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the repository that this pull request targets to call this resource.
|
|
1057
|
+
*
|
|
1058
|
+
* <strong>Deprecated since 4.2</strong>. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} instead.
|
|
1059
|
+
* @param projectKey The project key.
|
|
1060
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1061
|
+
* @param repositorySlug The repository slug.
|
|
1062
|
+
* @param username
|
|
1063
|
+
* @returns void
|
|
1064
|
+
* @throws ApiError
|
|
1065
|
+
*/
|
|
1066
|
+
static unassignParticipantRole1(projectKey: string, pullRequestId: string, repositorySlug: string, username?: string): CancelablePromise<void>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Get pull request participants
|
|
1069
|
+
* Retrieves a page of the participants for a given pull request.
|
|
1070
|
+
*
|
|
1071
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
1072
|
+
* @param projectKey The project key.
|
|
1073
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1074
|
+
* @param repositorySlug The repository slug.
|
|
1075
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1076
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1077
|
+
* @returns any Details of the participants in this pull request.
|
|
1078
|
+
* @throws ApiError
|
|
1079
|
+
*/
|
|
1080
|
+
static listParticipants(projectKey: string, pullRequestId: string, repositorySlug: string, start?: number, limit?: number): CancelablePromise<{
|
|
1081
|
+
isLastPage?: boolean;
|
|
1082
|
+
limit?: number;
|
|
1083
|
+
nextPageStart?: number;
|
|
1084
|
+
size?: number;
|
|
1085
|
+
start?: number;
|
|
1086
|
+
values?: Array<RestPullRequestParticipant>;
|
|
1087
|
+
}>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Assign pull request participant role
|
|
1090
|
+
* Assigns a participant to an explicit role in pull request. Currently only the REVIEWER role may be assigned.
|
|
1091
|
+
*
|
|
1092
|
+
* If the user is not yet a participant in the pull request, they are made one and assigned the supplied role.
|
|
1093
|
+
*
|
|
1094
|
+
* If the user is already a participant in the pull request, their previous role is replaced with the supplied role unless they are already assigned the AUTHOR role which cannot be changed and will result in a Bad Request (400) response code.
|
|
1095
|
+
*
|
|
1096
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the repository that this pull request targets to call this resource.
|
|
1097
|
+
* @param projectKey The project key.
|
|
1098
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1099
|
+
* @param repositorySlug The repository slug.
|
|
1100
|
+
* @param requestBody The participant to be added to the pull request, includes the user and their role
|
|
1101
|
+
* @returns RestPullRequestParticipant Details of the participants in this pull request.
|
|
1102
|
+
* @throws ApiError
|
|
1103
|
+
*/
|
|
1104
|
+
static assignParticipantRole(projectKey: string, pullRequestId: string, repositorySlug: string, requestBody: RestPullRequestAssignParticipantRoleRequest): CancelablePromise<RestPullRequestParticipant>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Unassign pull request participant
|
|
1107
|
+
* Unassigns a participant from the REVIEWER role they may have been given in a pull request.
|
|
1108
|
+
*
|
|
1109
|
+
* If the participant has no explicit role this method has no effect.
|
|
1110
|
+
*
|
|
1111
|
+
* Afterwards, the user will still remain a participant in the pull request but their role will be reduced to PARTICIPANT. This is because once made a participant of a pull request, a user will forever remain a participant. Only their role may be altered.
|
|
1112
|
+
*
|
|
1113
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the repository that this pull request targets to call this resource.
|
|
1114
|
+
* @param projectKey The project key.
|
|
1115
|
+
* @param userSlug The slug for the user being unassigned
|
|
1116
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1117
|
+
* @param repositorySlug The repository slug.
|
|
1118
|
+
* @returns void
|
|
1119
|
+
* @throws ApiError
|
|
1120
|
+
*/
|
|
1121
|
+
static unassignParticipantRole(projectKey: string, userSlug: string, pullRequestId: string, repositorySlug: string): CancelablePromise<void>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Change pull request status
|
|
1124
|
+
* Change the current user's status for a pull request. Implicitly adds the user as a participant if they are not already. If the current user is the author, this method will fail.
|
|
1125
|
+
*
|
|
1126
|
+
* The possible values for {@code status} are <strong>UNAPPROVED</strong>, <strong>NEEDS_WORK</strong> (which is referred to as "Requested changes" in the frontend from 8.10 onward), or <strong>APPROVED</strong>.
|
|
1127
|
+
*
|
|
1128
|
+
* If the new {@code status} is <strong>NEEDS_WORK</strong> or <strong>APPROVED</strong> then the {@code lastReviewedCommit} for the participant will be updated to the latest commit of the source branch of the pull request.
|
|
1129
|
+
*
|
|
1130
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
1131
|
+
* @param projectKey The project key.
|
|
1132
|
+
* @param userSlug The slug for the user changing their status
|
|
1133
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1134
|
+
* @param repositorySlug The repository slug.
|
|
1135
|
+
* @param requestBody The participant representing the status to set, includes the status of the participant and last reviewed commit. If last reviewed commit is provided, it will be used to update the participant status. The operation will fail if the latest commit of the pull request does not match the provided last reviewed commit. If last reviewed commit is not provided, the latest commit of the pull request will be used for the update by default.
|
|
1136
|
+
* @param version The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure. Note: This parameter is deprecated. Use last reviewed commit in request body instead
|
|
1137
|
+
* @returns RestPullRequestParticipant Details of the new participant.
|
|
1138
|
+
* @throws ApiError
|
|
1139
|
+
*/
|
|
1140
|
+
static updateStatus(projectKey: string, userSlug: string, pullRequestId: string, repositorySlug: string, requestBody: RestPullRequestAssignStatusRequest, version?: string): CancelablePromise<RestPullRequestParticipant>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Re-open pull request
|
|
1143
|
+
* Re-open a declined pull request.
|
|
1144
|
+
*
|
|
1145
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
1146
|
+
* @param projectKey The project key.
|
|
1147
|
+
* @param pullRequestId The ID of the pull request within the repository
|
|
1148
|
+
* @param repositorySlug The repository slug.
|
|
1149
|
+
* @param version The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure.
|
|
1150
|
+
* @param requestBody The body holder
|
|
1151
|
+
* @returns RestPullRequest The merged pull request.
|
|
1152
|
+
* @throws ApiError
|
|
1153
|
+
*/
|
|
1154
|
+
static reopen(projectKey: string, pullRequestId: string, repositorySlug: string, version?: string, requestBody?: RestPullRequestReopenRequest): CancelablePromise<RestPullRequest>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Discard pull request review
|
|
1157
|
+
* Discard a pull request review for the authenticated user.
|
|
1158
|
+
*
|
|
1159
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository to call this resource.
|
|
1160
|
+
* @param projectKey The project key.
|
|
1161
|
+
* @param pullRequestId The pull request ID.
|
|
1162
|
+
* @param repositorySlug The repository slug.
|
|
1163
|
+
* @returns void
|
|
1164
|
+
* @throws ApiError
|
|
1165
|
+
*/
|
|
1166
|
+
static discardReview(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<void>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Get pull request comment thread
|
|
1169
|
+
* Get the <code>CommentThread</code> threads which have <code>Comment</code> comments that have a <code>CommentState#PENDING</code> pending state and are part of the pull request review for the authenticated user.
|
|
1170
|
+
* @param projectKey The project key.
|
|
1171
|
+
* @param pullRequestId The pull request ID.
|
|
1172
|
+
* @param repositorySlug The repository slug.
|
|
1173
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1174
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1175
|
+
* @returns any A page of Comments from the supplied pull request.
|
|
1176
|
+
* @throws ApiError
|
|
1177
|
+
*/
|
|
1178
|
+
static getReview(projectKey: string, pullRequestId: string, repositorySlug: string, start?: number, limit?: number): CancelablePromise<{
|
|
1179
|
+
isLastPage?: boolean;
|
|
1180
|
+
limit?: number;
|
|
1181
|
+
nextPageStart?: number;
|
|
1182
|
+
size?: number;
|
|
1183
|
+
start?: number;
|
|
1184
|
+
values?: Array<RestComment>;
|
|
1185
|
+
}>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Complete pull request review
|
|
1188
|
+
* Complete a review on a pull request.
|
|
1189
|
+
* @param projectKey The project key.
|
|
1190
|
+
* @param pullRequestId The pull request ID.
|
|
1191
|
+
* @param repositorySlug The repository slug.
|
|
1192
|
+
* @param version The current version of the pull request. If the server's version isn't the same as the specified version the operation will fail. To determine the current version of the pull request it should be fetched from the server prior to this operation. Look for the 'version' attribute in the returned JSON structure. Note: This parameter is deprecated. Use last reviewed commit in request body instead
|
|
1193
|
+
* @param requestBody The REST request which contains comment text, last reviewed commit and participant status. If last reviewed commit is provided, it will be used to update the participant status. The operation will fail if the latest commit of the pull request does not match the provided last reviewed commit. If last reviewed commit is not provided, the latest commit of the pull request will be used for the update by default.
|
|
1194
|
+
* @returns any Getting back the number of published comments and completing the review on a pull request.
|
|
1195
|
+
* @throws ApiError
|
|
1196
|
+
*/
|
|
1197
|
+
static finishReview(projectKey: string, pullRequestId: string, repositorySlug: string, version?: string, requestBody?: RestPullRequestFinishReviewRequest): CancelablePromise<any>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Stop watching pull request
|
|
1200
|
+
* Remove the authenticated user as a watcher for the specified pull request.
|
|
1201
|
+
*
|
|
1202
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
1203
|
+
* @param projectKey The project key.
|
|
1204
|
+
* @param pullRequestId The pull request ID.
|
|
1205
|
+
* @param repositorySlug The repository slug.
|
|
1206
|
+
* @returns void
|
|
1207
|
+
* @throws ApiError
|
|
1208
|
+
*/
|
|
1209
|
+
static unwatch1(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<void>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Watch pull request
|
|
1212
|
+
* Add the authenticated user as a watcher for the specified pull request.
|
|
1213
|
+
*
|
|
1214
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource.
|
|
1215
|
+
* @param projectKey The project key.
|
|
1216
|
+
* @param pullRequestId The pull request ID.
|
|
1217
|
+
* @param repositorySlug The repository slug.
|
|
1218
|
+
* @returns void
|
|
1219
|
+
* @throws ApiError
|
|
1220
|
+
*/
|
|
1221
|
+
static watch1(projectKey: string, pullRequestId: string, repositorySlug: string): CancelablePromise<void>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Get all reviewer groups
|
|
1224
|
+
* Retrieve a page of reviewer groups of a given scope.
|
|
1225
|
+
*
|
|
1226
|
+
* The authenticated user must have <b>REPO_READ</b> permission for the specified repository to call this resource.
|
|
1227
|
+
* @param projectKey The project key.
|
|
1228
|
+
* @param repositorySlug The repository slug.
|
|
1229
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1230
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1231
|
+
* @returns any A `page` of reviewer group(s) of the provided scope and its inherited scope.
|
|
1232
|
+
* @throws ApiError
|
|
1233
|
+
*/
|
|
1234
|
+
static getReviewerGroups1(projectKey: string, repositorySlug: string, start?: number, limit?: number): CancelablePromise<{
|
|
1235
|
+
isLastPage?: boolean;
|
|
1236
|
+
limit?: number;
|
|
1237
|
+
nextPageStart?: number;
|
|
1238
|
+
size?: number;
|
|
1239
|
+
start?: number;
|
|
1240
|
+
values?: Array<RestReviewerGroup>;
|
|
1241
|
+
}>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Create reviewer group
|
|
1244
|
+
* Create a reviewer group.
|
|
1245
|
+
*
|
|
1246
|
+
* The authenticated user must have <b>REPO_ADMIN</b> permission for the specified repository to call this resource.
|
|
1247
|
+
* @param projectKey The project key.
|
|
1248
|
+
* @param repositorySlug The repository slug.
|
|
1249
|
+
* @param requestBody The request containing the details of the reviewer group.
|
|
1250
|
+
* @returns RestReviewerGroup The newly created reviewer group.
|
|
1251
|
+
* @throws ApiError
|
|
1252
|
+
*/
|
|
1253
|
+
static create2(projectKey: string, repositorySlug: string, requestBody?: RestReviewerGroup): CancelablePromise<RestReviewerGroup>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Delete reviewer group
|
|
1256
|
+
* Deletes a reviewer group.
|
|
1257
|
+
*
|
|
1258
|
+
* The authenticated user must have <b>REPO_ADMIN</b> permission for the specified repository to call this resource.
|
|
1259
|
+
* @param projectKey The project key.
|
|
1260
|
+
* @param id The ID of the reviewer group to be deleted
|
|
1261
|
+
* @param repositorySlug The repository slug.
|
|
1262
|
+
* @returns void
|
|
1263
|
+
* @throws ApiError
|
|
1264
|
+
*/
|
|
1265
|
+
static delete7(projectKey: string, id: string, repositorySlug: string): CancelablePromise<void>;
|
|
1266
|
+
/**
|
|
1267
|
+
* Get reviewer group
|
|
1268
|
+
* Retrieve a reviewer group.
|
|
1269
|
+
*
|
|
1270
|
+
* The authenticated user must have <b>REPO_READ</b> permission for the specified repository to call this resource.
|
|
1271
|
+
* @param projectKey The project key.
|
|
1272
|
+
* @param id The ID of the reviewer group to be retrieved
|
|
1273
|
+
* @param repositorySlug The repository slug.
|
|
1274
|
+
* @returns RestReviewerGroup The reviewer group.
|
|
1275
|
+
* @throws ApiError
|
|
1276
|
+
*/
|
|
1277
|
+
static getReviewerGroup1(projectKey: string, id: string, repositorySlug: string): CancelablePromise<RestReviewerGroup>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Update reviewer group attributes
|
|
1280
|
+
* Update the attributes of a reviewer group.
|
|
1281
|
+
*
|
|
1282
|
+
* The authenticated user must have <b>REPO_ADMIN</b> permission for the specified repository to call this resource.
|
|
1283
|
+
* @param projectKey The project key.
|
|
1284
|
+
* @param id The ID of the reviewer group to be updated
|
|
1285
|
+
* @param repositorySlug The repository slug.
|
|
1286
|
+
* @param requestBody The request containing the attributes of the reviewer group to be updated. Only the attributes to be updated need to be present in this object.
|
|
1287
|
+
* @returns RestReviewerGroup The updated reviewer group.
|
|
1288
|
+
* @throws ApiError
|
|
1289
|
+
*/
|
|
1290
|
+
static update2(projectKey: string, id: string, repositorySlug: string, requestBody?: RestReviewerGroup): CancelablePromise<RestReviewerGroup>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Get reviewer group users
|
|
1293
|
+
* Retrieve a list of the users of a reviewer group.
|
|
1294
|
+
*
|
|
1295
|
+
* This does not return all the users of the group, only the users who are licensed and have <b>REPO_READ</b> permission for the specified repository.
|
|
1296
|
+
*
|
|
1297
|
+
* The authenticated user must have <b>REPO_READ</b> permission for the specified repository to call this resource.
|
|
1298
|
+
* @param projectKey The project key.
|
|
1299
|
+
* @param id The ID of the reviewer group to be retrieved
|
|
1300
|
+
* @param repositorySlug The repository slug.
|
|
1301
|
+
* @returns RestApplicationUser The list of users of a reviewer group.
|
|
1302
|
+
* @throws ApiError
|
|
1303
|
+
*/
|
|
1304
|
+
static getUsers(projectKey: string, id: string, repositorySlug: string): CancelablePromise<Array<RestApplicationUser>>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Get all reviewer groups
|
|
1307
|
+
* Retrieve a page of reviewer groups of a given scope.
|
|
1308
|
+
*
|
|
1309
|
+
* The authenticated user must have <b>PROJECT_READ</b> permission for the specified project to call this resource.
|
|
1310
|
+
* @param projectKey The project key.
|
|
1311
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1312
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1313
|
+
* @returns any A page of reviewer group(s) of the provided scope.
|
|
1314
|
+
* @throws ApiError
|
|
1315
|
+
*/
|
|
1316
|
+
static getReviewerGroups(projectKey: string, start?: number, limit?: number): CancelablePromise<{
|
|
1317
|
+
isLastPage?: boolean;
|
|
1318
|
+
limit?: number;
|
|
1319
|
+
nextPageStart?: number;
|
|
1320
|
+
size?: number;
|
|
1321
|
+
start?: number;
|
|
1322
|
+
values?: Array<RestReviewerGroup>;
|
|
1323
|
+
}>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Create reviewer group
|
|
1326
|
+
* Create a reviewer group.
|
|
1327
|
+
*
|
|
1328
|
+
* The authenticated user must have <b>PROJECT_ADMIN</b> permission for the specified project to call this resource.
|
|
1329
|
+
* @param projectKey The project key.
|
|
1330
|
+
* @param requestBody The reviewer group to be create
|
|
1331
|
+
* @returns RestReviewerGroup The newly created reviewer group.
|
|
1332
|
+
* @throws ApiError
|
|
1333
|
+
*/
|
|
1334
|
+
static create1(projectKey: string, requestBody?: RestReviewerGroup): CancelablePromise<RestReviewerGroup>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Delete reviewer group
|
|
1337
|
+
* Deletes a reviewer group.
|
|
1338
|
+
*
|
|
1339
|
+
* The authenticated user must have <b>PROJECT_ADMIN</b> permission for the specified project to call this resource.
|
|
1340
|
+
* @param projectKey The project key.
|
|
1341
|
+
* @param id The ID of the reviewer group to be deleted
|
|
1342
|
+
* @returns void
|
|
1343
|
+
* @throws ApiError
|
|
1344
|
+
*/
|
|
1345
|
+
static delete6(projectKey: string, id: string): CancelablePromise<void>;
|
|
1346
|
+
/**
|
|
1347
|
+
* Get reviewer group
|
|
1348
|
+
* Retrieve a reviewer group.
|
|
1349
|
+
*
|
|
1350
|
+
* The authenticated user must have <b>PROJECT_READ</b> permission for the specified project to call this resource.
|
|
1351
|
+
* @param projectKey The project key.
|
|
1352
|
+
* @param id The ID of the reviewer group to be retrieved
|
|
1353
|
+
* @returns RestReviewerGroup The reviewer group.
|
|
1354
|
+
* @throws ApiError
|
|
1355
|
+
*/
|
|
1356
|
+
static getReviewerGroup(projectKey: string, id: string): CancelablePromise<RestReviewerGroup>;
|
|
1357
|
+
/**
|
|
1358
|
+
* Update reviewer group attributes
|
|
1359
|
+
* Update the attributes of a reviewer group.
|
|
1360
|
+
*
|
|
1361
|
+
* The authenticated user must have <b>PROJECT_READ</b> permission for the specified project to call this resource.
|
|
1362
|
+
* @param projectKey The project key.
|
|
1363
|
+
* @param id The ID of the reviewer group to be updated
|
|
1364
|
+
* @param requestBody The request containing the attributes of the reviewer group to be updated. Only the attributes to be updated need to be present in this object.
|
|
1365
|
+
* @returns RestReviewerGroup A page of changes.
|
|
1366
|
+
* @throws ApiError
|
|
1367
|
+
*/
|
|
1368
|
+
static update1(projectKey: string, id: string, requestBody?: RestReviewerGroup): CancelablePromise<RestReviewerGroup>;
|
|
1369
|
+
}
|
|
1370
|
+
//# sourceMappingURL=PullRequestsService.d.ts.map
|