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,1734 @@
|
|
|
1
|
+
import type { ExampleFiles } from '../models/ExampleFiles.js';
|
|
2
|
+
import type { ExampleMultipartFormData } from '../models/ExampleMultipartFormData.js';
|
|
3
|
+
import type { ExampleSettings } from '../models/ExampleSettings.js';
|
|
4
|
+
import type { FileListResource } from '../models/FileListResource.js';
|
|
5
|
+
import type { RestAttachmentMetadata } from '../models/RestAttachmentMetadata.js';
|
|
6
|
+
import type { RestAutoDeclineSettings } from '../models/RestAutoDeclineSettings.js';
|
|
7
|
+
import type { RestAutoDeclineSettingsRequest } from '../models/RestAutoDeclineSettingsRequest.js';
|
|
8
|
+
import type { RestAutoMergeRestrictedSettings } from '../models/RestAutoMergeRestrictedSettings.js';
|
|
9
|
+
import type { RestAutoMergeSettingsRequest } from '../models/RestAutoMergeSettingsRequest.js';
|
|
10
|
+
import type { RestBranch } from '../models/RestBranch.js';
|
|
11
|
+
import type { RestBranchCreateRequest } from '../models/RestBranchCreateRequest.js';
|
|
12
|
+
import type { RestBranchDeleteRequest } from '../models/RestBranchDeleteRequest.js';
|
|
13
|
+
import type { RestChange } from '../models/RestChange.js';
|
|
14
|
+
import type { RestComment } from '../models/RestComment.js';
|
|
15
|
+
import type { RestCommit } from '../models/RestCommit.js';
|
|
16
|
+
import type { RestCreateBranchRequest } from '../models/RestCreateBranchRequest.js';
|
|
17
|
+
import type { RestCreateTagRequest } from '../models/RestCreateTagRequest.js';
|
|
18
|
+
import type { RestDefaultTask } from '../models/RestDefaultTask.js';
|
|
19
|
+
import type { RestDefaultTaskRequest } from '../models/RestDefaultTaskRequest.js';
|
|
20
|
+
import type { RestDetailedInvocation } from '../models/RestDetailedInvocation.js';
|
|
21
|
+
import type { RestDiff } from '../models/RestDiff.js';
|
|
22
|
+
import type { RestDiffStatsSummary } from '../models/RestDiffStatsSummary.js';
|
|
23
|
+
import type { RestGitTagCreateRequest } from '../models/RestGitTagCreateRequest.js';
|
|
24
|
+
import type { RestHookScriptConfig } from '../models/RestHookScriptConfig.js';
|
|
25
|
+
import type { RestHookScriptTriggers } from '../models/RestHookScriptTriggers.js';
|
|
26
|
+
import type { RestInvocationHistory } from '../models/RestInvocationHistory.js';
|
|
27
|
+
import type { RestLabel } from '../models/RestLabel.js';
|
|
28
|
+
import type { RestMinimalRef } from '../models/RestMinimalRef.js';
|
|
29
|
+
import type { RestRefRestriction } from '../models/RestRefRestriction.js';
|
|
30
|
+
import type { RestRefSyncRequest } from '../models/RestRefSyncRequest.js';
|
|
31
|
+
import type { RestRefSyncStatus } from '../models/RestRefSyncStatus.js';
|
|
32
|
+
import type { RestRejectedRef } from '../models/RestRejectedRef.js';
|
|
33
|
+
import type { RestRepository } from '../models/RestRepository.js';
|
|
34
|
+
import type { RestRepositoryHook } from '../models/RestRepositoryHook.js';
|
|
35
|
+
import type { RestRepositoryPullRequestSettings } from '../models/RestRepositoryPullRequestSettings.js';
|
|
36
|
+
import type { RestRepositoryRefChangeActivity } from '../models/RestRepositoryRefChangeActivity.js';
|
|
37
|
+
import type { RestRestrictionRequest } from '../models/RestRestrictionRequest.js';
|
|
38
|
+
import type { RestTag } from '../models/RestTag.js';
|
|
39
|
+
import type { RestUserReaction } from '../models/RestUserReaction.js';
|
|
40
|
+
import type { RestWebhook } from '../models/RestWebhook.js';
|
|
41
|
+
import type { RestWebhookCredentials } from '../models/RestWebhookCredentials.js';
|
|
42
|
+
import type { RestWebhookRequestResponse } from '../models/RestWebhookRequestResponse.js';
|
|
43
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
44
|
+
export declare class RepositoryService {
|
|
45
|
+
/**
|
|
46
|
+
* Delete branch
|
|
47
|
+
* Deletes a branch in the specified repository.
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* If the branch does not exist, this operation will not raise an error. In other words after calling this resource
|
|
51
|
+
* and receiving a 204 response the branch provided in the request is guaranteed to not exist in the specified
|
|
52
|
+
* repository any more, regardless of its existence beforehand.
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* The optional 'endPoint' parameter of the request may contain a commit ID that the provided ref name is
|
|
56
|
+
* expected to point to. Should the ref point to a different commit ID, a 400 response will be returned with
|
|
57
|
+
* appropriate error details.
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
* The authenticated user must have an effective <strong>REPO_WRITE</strong> permission to call this resource. If
|
|
61
|
+
* branch permissions are set up in the repository, the authenticated user must also have access to the branch name
|
|
62
|
+
* that is to be deleted.
|
|
63
|
+
* @param projectKey The project key.
|
|
64
|
+
* @param repositorySlug The repository slug.
|
|
65
|
+
* @param requestBody Branch delete request
|
|
66
|
+
* @returns void
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
static deleteBranch(projectKey: string, repositorySlug: string, requestBody?: RestBranchDeleteRequest): CancelablePromise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Create branch
|
|
72
|
+
* Creates a branch in the specified repository.
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* The authenticated user must have an effective <strong>REPO_WRITE</strong> permission to call this resource. If
|
|
76
|
+
* branch permissions are set up in the repository, the authenticated user must also have access to the branch name
|
|
77
|
+
* that is to be created.
|
|
78
|
+
* @param projectKey The project key.
|
|
79
|
+
* @param repositorySlug The repository slug.
|
|
80
|
+
* @param requestBody
|
|
81
|
+
* @returns RestBranch JSON representation of the newly created branch
|
|
82
|
+
* @throws ApiError
|
|
83
|
+
*/
|
|
84
|
+
static createBranch(projectKey: string, repositorySlug: string, requestBody: RestBranchCreateRequest): CancelablePromise<RestBranch>;
|
|
85
|
+
/**
|
|
86
|
+
* Get branch
|
|
87
|
+
* Gets the branch information associated with a single commit from a given repository.
|
|
88
|
+
* @param projectKey The project key.
|
|
89
|
+
* @param commitId
|
|
90
|
+
* @param repositorySlug The repository slug.
|
|
91
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
92
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
93
|
+
* @returns any A page of branch refs associated with the commit
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static findByCommit(projectKey: string, commitId: any, repositorySlug: string, start?: number, limit?: number): CancelablePromise<{
|
|
97
|
+
isLastPage?: boolean;
|
|
98
|
+
limit?: number;
|
|
99
|
+
nextPageStart?: number;
|
|
100
|
+
size?: number;
|
|
101
|
+
start?: number;
|
|
102
|
+
values?: Array<RestMinimalRef>;
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* Deletes all default tasks for the repository
|
|
106
|
+
* Delete all the default tasks for the supplied repository
|
|
107
|
+
*
|
|
108
|
+
* The authenticated user must have **REPO_ADMIN** permission for this repository to call the resource.
|
|
109
|
+
* @param projectKey The project key.
|
|
110
|
+
* @param repositorySlug The repository slug.
|
|
111
|
+
* @returns void
|
|
112
|
+
* @throws ApiError
|
|
113
|
+
*/
|
|
114
|
+
static deleteAllDefaultTasks1(projectKey: string, repositorySlug: string): CancelablePromise<void>;
|
|
115
|
+
/**
|
|
116
|
+
* Get a page of default tasks
|
|
117
|
+
* Retrieves the default tasks for the supplied repository.
|
|
118
|
+
*
|
|
119
|
+
* The authenticated user must have **REPO_VIEW** permission for this repository to call the resource.
|
|
120
|
+
* @param projectKey The project key.
|
|
121
|
+
* @param repositorySlug The repository slug.
|
|
122
|
+
* @param markup If present or `"true"`, includes a markup-rendered description
|
|
123
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
124
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
125
|
+
* @returns any A page of default tasks
|
|
126
|
+
* @throws ApiError
|
|
127
|
+
*/
|
|
128
|
+
static getDefaultTasks1(projectKey: string, repositorySlug: string, markup?: string, start?: number, limit?: number): CancelablePromise<{
|
|
129
|
+
isLastPage?: boolean;
|
|
130
|
+
limit?: number;
|
|
131
|
+
nextPageStart?: number;
|
|
132
|
+
size?: number;
|
|
133
|
+
start?: number;
|
|
134
|
+
values?: Array<RestDefaultTask>;
|
|
135
|
+
}>;
|
|
136
|
+
/**
|
|
137
|
+
* Add a default task
|
|
138
|
+
* Creates a default task for the supplied repository.
|
|
139
|
+
*
|
|
140
|
+
* The authenticated user must have **REPO_ADMIN** permission for this repository to call the resource.
|
|
141
|
+
* @param projectKey The project key.
|
|
142
|
+
* @param repositorySlug The repository slug.
|
|
143
|
+
* @param requestBody The task to be added
|
|
144
|
+
* @returns RestDefaultTask The default task
|
|
145
|
+
* @throws ApiError
|
|
146
|
+
*/
|
|
147
|
+
static addDefaultTask1(projectKey: string, repositorySlug: string, requestBody: RestDefaultTaskRequest): CancelablePromise<RestDefaultTask>;
|
|
148
|
+
/**
|
|
149
|
+
* Delete a specific default task
|
|
150
|
+
* Delete a specific default task for a repository.
|
|
151
|
+
*
|
|
152
|
+
* The authenticated user must have **REPO_ADMIN** permission for this repository to call the resource.
|
|
153
|
+
* @param projectKey The project key.
|
|
154
|
+
* @param repositorySlug The repository slug.
|
|
155
|
+
* @param taskId The ID of the default task
|
|
156
|
+
* @returns void
|
|
157
|
+
* @throws ApiError
|
|
158
|
+
*/
|
|
159
|
+
static deleteDefaultTask1(projectKey: string, repositorySlug: string, taskId: string): CancelablePromise<void>;
|
|
160
|
+
/**
|
|
161
|
+
* Update a default task
|
|
162
|
+
* Updates a default task for the supplied repository.
|
|
163
|
+
*
|
|
164
|
+
* The authenticated user must have **REPO_ADMIN** permission for this repository to call the resource.
|
|
165
|
+
* @param projectKey The project key.
|
|
166
|
+
* @param repositorySlug The repository slug.
|
|
167
|
+
* @param taskId The ID of the default task
|
|
168
|
+
* @param requestBody The task to be updated
|
|
169
|
+
* @returns RestDefaultTask The default task
|
|
170
|
+
* @throws ApiError
|
|
171
|
+
*/
|
|
172
|
+
static updateDefaultTask1(projectKey: string, repositorySlug: string, taskId: string, requestBody: RestDefaultTaskRequest): CancelablePromise<RestDefaultTask>;
|
|
173
|
+
/**
|
|
174
|
+
* Create tag
|
|
175
|
+
* Creates a tag in the specified repository.
|
|
176
|
+
*
|
|
177
|
+
* The authenticated user must have an effective <strong>REPO_WRITE</strong> permission to call this resource.
|
|
178
|
+
*
|
|
179
|
+
* 'LIGHTWEIGHT' and 'ANNOTATED' are the two type of tags that can be created. The 'startPoint' can either be a ref or a 'commit'.
|
|
180
|
+
* @param projectKey The project key.
|
|
181
|
+
* @param repositorySlug The repository slug.
|
|
182
|
+
* @param requestBody The create git tag request.
|
|
183
|
+
* @returns RestTag A JSON representation of the newly created tag.
|
|
184
|
+
* @throws ApiError
|
|
185
|
+
*/
|
|
186
|
+
static createTag(projectKey: string, repositorySlug: string, requestBody?: RestGitTagCreateRequest): CancelablePromise<RestTag>;
|
|
187
|
+
/**
|
|
188
|
+
* Delete tag
|
|
189
|
+
* Deletes a tag in the specified repository.
|
|
190
|
+
*
|
|
191
|
+
* The authenticated user must have an effective <strong>REPO_WRITE</strong> permission to call this resource.
|
|
192
|
+
* @param projectKey The project key.
|
|
193
|
+
* @param name The name of the tag to be deleted.
|
|
194
|
+
* @param repositorySlug The repository slug.
|
|
195
|
+
* @returns void
|
|
196
|
+
* @throws ApiError
|
|
197
|
+
*/
|
|
198
|
+
static deleteTag(projectKey: string, name: string, repositorySlug: string): CancelablePromise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* Remove a reaction from comment
|
|
201
|
+
* Remove an emoticon reaction from a comment
|
|
202
|
+
* @param projectKey The project key.
|
|
203
|
+
* @param commentId The comment id
|
|
204
|
+
* @param commitId The commit id
|
|
205
|
+
* @param emoticon The emoticon to remove
|
|
206
|
+
* @param repositorySlug The repository slug.
|
|
207
|
+
* @returns void
|
|
208
|
+
* @throws ApiError
|
|
209
|
+
*/
|
|
210
|
+
static unReact(projectKey: string, commentId: string, commitId: string, emoticon: string, repositorySlug: string): CancelablePromise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* React to a comment
|
|
213
|
+
* Add an emoticon reaction to a comment
|
|
214
|
+
* @param projectKey The project key.
|
|
215
|
+
* @param commentId The comment id
|
|
216
|
+
* @param commitId The commit id
|
|
217
|
+
* @param emoticon The emoticon to add
|
|
218
|
+
* @param repositorySlug The repository slug.
|
|
219
|
+
* @returns RestUserReaction The added reaction
|
|
220
|
+
* @throws ApiError
|
|
221
|
+
*/
|
|
222
|
+
static react(projectKey: string, commentId: string, commitId: string, emoticon: string, repositorySlug: string): CancelablePromise<RestUserReaction>;
|
|
223
|
+
/**
|
|
224
|
+
* Search for ref restrictions
|
|
225
|
+
* Search for restrictions using the supplied parameters.
|
|
226
|
+
*
|
|
227
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission or higher to call this resource. Only authenticated users may call this resource.
|
|
228
|
+
* @param projectKey The project key.
|
|
229
|
+
* @param repositorySlug The repository slug.
|
|
230
|
+
* @param matcherType Matcher type to filter on
|
|
231
|
+
* @param matcherId Matcher id to filter on. Requires the matcherType parameter to be specified also.
|
|
232
|
+
* @param type Types of restrictions to filter on.
|
|
233
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
234
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
235
|
+
* @returns any A response containing a page of restrictions.
|
|
236
|
+
* @throws ApiError
|
|
237
|
+
*/
|
|
238
|
+
static getRestrictions1(projectKey: string, repositorySlug: string, matcherType?: 'BRANCH' | 'PATTERN' | 'MODEL_CATEGORY' | 'MODEL_BRANCH', matcherId?: string, type?: 'read-only' | 'no-deletes' | 'fast-forward-only' | 'pull-request-only' | 'no-creates', start?: number, limit?: number): CancelablePromise<{
|
|
239
|
+
isLastPage?: boolean;
|
|
240
|
+
limit?: number;
|
|
241
|
+
nextPageStart?: number;
|
|
242
|
+
size?: number;
|
|
243
|
+
start?: number;
|
|
244
|
+
values?: Array<RestRefRestriction>;
|
|
245
|
+
}>;
|
|
246
|
+
/**
|
|
247
|
+
* Create multiple ref restrictions
|
|
248
|
+
* Allows creating multiple restrictions at once.
|
|
249
|
+
* @param projectKey The project key.
|
|
250
|
+
* @param repositorySlug The repository slug.
|
|
251
|
+
* @param requestBody The request containing a list of the details of the restrictions to create.
|
|
252
|
+
* @returns RestRefRestriction Response contains the ref restriction that was just created.
|
|
253
|
+
* @throws ApiError
|
|
254
|
+
*/
|
|
255
|
+
static createRestrictions1(projectKey: string, repositorySlug: string, requestBody?: Array<RestRestrictionRequest>): CancelablePromise<RestRefRestriction>;
|
|
256
|
+
/**
|
|
257
|
+
* Delete a ref restriction
|
|
258
|
+
* Deletes a restriction as specified by a restriction id.
|
|
259
|
+
*
|
|
260
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission or higher to call this resource. Only authenticated users may call this resource.
|
|
261
|
+
* @param projectKey The project key.
|
|
262
|
+
* @param id The restriction id.
|
|
263
|
+
* @param repositorySlug The repository slug.
|
|
264
|
+
* @returns void
|
|
265
|
+
* @throws ApiError
|
|
266
|
+
*/
|
|
267
|
+
static deleteRestriction1(projectKey: string, id: string, repositorySlug: string): CancelablePromise<void>;
|
|
268
|
+
/**
|
|
269
|
+
* Get a ref restriction
|
|
270
|
+
* Returns a restriction as specified by a restriction id.
|
|
271
|
+
*
|
|
272
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission or higher to call this resource. Only authenticated users may call this resource.
|
|
273
|
+
* @param projectKey The project key.
|
|
274
|
+
* @param id The restriction id.
|
|
275
|
+
* @param repositorySlug The repository slug.
|
|
276
|
+
* @returns RestRefRestriction A response containing the restriction.
|
|
277
|
+
* @throws ApiError
|
|
278
|
+
*/
|
|
279
|
+
static getRestriction1(projectKey: string, id: string, repositorySlug: string): CancelablePromise<RestRefRestriction>;
|
|
280
|
+
/**
|
|
281
|
+
* Get synchronization status
|
|
282
|
+
* Retrieves the synchronization status for the specified repository. In addition to listing refs which cannot be synchronized, if any, the status also provides the timestamp for the most recent synchronization and indicates whether synchronization is available and enabled. If "?at" is specified in the URL, the synchronization status for the specified ref is returned, rather than the complete repository status.
|
|
283
|
+
*
|
|
284
|
+
* The authenticated user must have <b>REPO_READ</b> permission for the repository, or it must be public if the request is anonymous. Additionally, after synchronization is enabled for a repository, meaning synchronization was available at that time, permission changes and other actions can cause it to become unavailable. Even when synchronization is enabled, if it is no longer available for the repository it will not be performed.
|
|
285
|
+
* @param projectKey The project key.
|
|
286
|
+
* @param repositorySlug The repository slug.
|
|
287
|
+
* @param at Retrieves the synchronization status for the specified ref within the repository, rather than for the entire repository
|
|
288
|
+
* @returns RestRefSyncStatus Synchronization status for the specified repository, or specific ref within that repository.
|
|
289
|
+
* @throws ApiError
|
|
290
|
+
*/
|
|
291
|
+
static getStatus(projectKey: string, repositorySlug: string, at?: string): CancelablePromise<RestRefSyncStatus>;
|
|
292
|
+
/**
|
|
293
|
+
* Disable synchronization
|
|
294
|
+
* Enables or disables synchronization for the specified repository. When synchronization is enabled, branches within the repository are immediately synchronized and the status is updated with the outcome. That initial synchronization is performed before the REST request returns, allowing it to return the updated status.
|
|
295
|
+
*
|
|
296
|
+
* The authenticated user must have <b>REPO_ADMIN</b> permission for the specified repository. Anonymous users cannot manage synchronization, even on public repositories. Additionally, synchronization must be available for the specified repository. Synchronization is only available if:
|
|
297
|
+
*
|
|
298
|
+
* - The repository is a fork, since its origin is used as upstream
|
|
299
|
+
* - The owning user still has access to the fork's origin, if the repository is a <i>personalfork</i>
|
|
300
|
+
* @param projectKey The project key.
|
|
301
|
+
* @param repositorySlug The repository slug.
|
|
302
|
+
* @param requestBody
|
|
303
|
+
* @returns RestRefSyncStatus The updated synchronization status for the repository, after enabling synchronization. 204 NO CONTENT is returned instead after disabling synchronization.
|
|
304
|
+
* @throws ApiError
|
|
305
|
+
*/
|
|
306
|
+
static setEnabled(projectKey: string, repositorySlug: string, requestBody?: RestRefSyncStatus): CancelablePromise<RestRefSyncStatus>;
|
|
307
|
+
/**
|
|
308
|
+
* Manual synchronization
|
|
309
|
+
* Allows developers to apply a manual operation to bring a ref back in sync with upstream when it becomes out of sync due to conflicting changes. The following actions are supported:
|
|
310
|
+
*
|
|
311
|
+
* - <tt>MERGE</tt>: Merges in commits from the upstream ref. After applying this action, the synchronized ref will be <tt>AHEAD</tt> (as it still includes commits that do not exist upstream.
|
|
312
|
+
* - This action is only supported for <tt>DIVERGED</tt> refs
|
|
313
|
+
* - If a "commitMessage" is provided in the context, it will be used on the merge commit. Otherwise a default message is used.
|
|
314
|
+
* - <tt>DISCARD</tt>: <i>Throws away</i> local changes in favour of those made upstream. This is a <i>destructive</i> operation where commits in the local repository are lost.
|
|
315
|
+
* - No context entries are supported for this action
|
|
316
|
+
* - If the upstream ref has been deleted, the local ref is deleted as well
|
|
317
|
+
* - Otherwise, the local ref is updated to reference the same commit as upstream, even if the update is not fast-forward (similar to a forced push)
|
|
318
|
+
*
|
|
319
|
+
*
|
|
320
|
+
* The authenticated user must have <b>REPO_WRITE</b> permission for the specified repository. Anonymous users cannot synchronize refs, even on public repositories. Additionally, synchronization must be <i>enabled</i> and <i>available</i> for the specified repository.
|
|
321
|
+
* @param projectKey The project key.
|
|
322
|
+
* @param repositorySlug The repository slug.
|
|
323
|
+
* @param requestBody
|
|
324
|
+
* @returns RestRejectedRef The requested action was successfully performed, and has updated the ref's state, but the ref if is still not in sync with upstream. For example, after applying the <tt>MERGE</tt> action, the ref will still be <tt>AHEAD</tt> of upstream. If the action brings the ref in sync with upstream, 204 NO CONTENT is returned instead.
|
|
325
|
+
* @throws ApiError
|
|
326
|
+
*/
|
|
327
|
+
static synchronize(projectKey: string, repositorySlug: string, requestBody?: RestRefSyncRequest): CancelablePromise<RestRejectedRef>;
|
|
328
|
+
/**
|
|
329
|
+
* Get recently accessed repositories
|
|
330
|
+
* Retrieve a page of recently accessed repositories for the currently authenticated user.
|
|
331
|
+
*
|
|
332
|
+
* Repositories are ordered from most recently to least recently accessed. <p>Only authenticated users may call this resource.
|
|
333
|
+
* @param permission (optional) If specified, it must be a valid repository permission level name and will limit the resulting repository list to ones that the requesting user has the specified permission level to. If not specified, the default <code>REPO_READ</code> permission level will be assumed.
|
|
334
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
335
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
336
|
+
* @returns any A page of recently accessed repositories.
|
|
337
|
+
* @throws ApiError
|
|
338
|
+
*/
|
|
339
|
+
static getRepositoriesRecentlyAccessed(permission?: string, start?: number, limit?: number): CancelablePromise<{
|
|
340
|
+
isLastPage?: boolean;
|
|
341
|
+
limit?: number;
|
|
342
|
+
nextPageStart?: number;
|
|
343
|
+
size?: number;
|
|
344
|
+
start?: number;
|
|
345
|
+
values?: Array<RestRepository>;
|
|
346
|
+
}>;
|
|
347
|
+
/**
|
|
348
|
+
* Stream archive of repository
|
|
349
|
+
* Streams an archive of the repository's contents at the requested commit. If no `at=` commit is requested, an archive of the default branch is streamed.
|
|
350
|
+
*
|
|
351
|
+
* The <code>filename=</code> query parameter may be used to specify the exact filename to include in the "Content-Disposition" header. If an explicit filename is not provided, one will be automatically generated based on what is being archived. Its format depends on the at= value:
|
|
352
|
+
*
|
|
353
|
+
* - No <code>at=</code> commit: <slug>-<default-branch-name>@<commit>.<format>; e.g. example-master@43c2f8a0fe8.zip
|
|
354
|
+
* - <code>at=</code>sha: <slug>-<at>.<format>; e.g. example-09bcbb00100cfbb5310fb6834a1d5ce6cac253e9.tar.gz
|
|
355
|
+
* - <code>at=</code>branchOrTag: <slug>-<branchOrTag>@<commit>.<format>; e.g. example-feature@bbb225f16e1.tar
|
|
356
|
+
*
|
|
357
|
+
* - If the branch or tag is qualified (e.g. refs/heads/master, the short name (master) will be included in the filename
|
|
358
|
+
* - If the branch or tag's <i>short name</i> includes slashes (e.g. release/4.6), they will be converted to hyphens in the filename (release-4.5)
|
|
359
|
+
*
|
|
360
|
+
*
|
|
361
|
+
*
|
|
362
|
+
*
|
|
363
|
+
* Archives may be requested in the following formats by adding the <code>format=</code> query parameter:
|
|
364
|
+
*
|
|
365
|
+
* - zip: A zip file using standard compression (Default)
|
|
366
|
+
* - tar: An uncompressed tarball
|
|
367
|
+
* - tar.gz or tgz: A GZip-compressed tarball
|
|
368
|
+
*
|
|
369
|
+
*
|
|
370
|
+
* The contents of the archive may be filtered by using the <code>path=</code> query parameter to specify paths to include. <code>path=</code> may be specified multiple times to include multiple paths.
|
|
371
|
+
*
|
|
372
|
+
* The <code>prefix=</code> query parameter may be used to define a directory (or multiple directories) where the archive's contents should be placed. If the prefix does not end with /, one will be added automatically. The prefix is <i>always</i> treated as a directory; it is not possible to use it to prepend characters to the entries in the archive.
|
|
373
|
+
*
|
|
374
|
+
* Archives of public repositories may be streamed by any authenticated or anonymous user. Streaming archives for non-public repositories requires an <i>authenticated user</i> with at least <b>REPO_READ</b> permission.
|
|
375
|
+
* @param projectKey The project key.
|
|
376
|
+
* @param repositorySlug The repository slug.
|
|
377
|
+
* @param path Paths to include in the streamed archive; may be repeated to include multiple paths
|
|
378
|
+
* @param filename A filename to include the "Content-Disposition" header
|
|
379
|
+
* @param at The commit to stream an archive of; if not supplied, an archive of the default branch is streamed
|
|
380
|
+
* @param prefix A prefix to apply to all entries in the streamed archive; if the supplied prefix does not end with a trailing /, one will be added automatically
|
|
381
|
+
* @param format The format to stream the archive in; must be one of: zip, tar, tar.gz or tgz
|
|
382
|
+
* @returns any An archive or the requested commit, in zip, tar or gzipped-tar format.
|
|
383
|
+
* @throws ApiError
|
|
384
|
+
*/
|
|
385
|
+
static getArchive(projectKey: string, repositorySlug: string, path?: string, filename?: string, at?: string, prefix?: string, format?: string): CancelablePromise<any>;
|
|
386
|
+
/**
|
|
387
|
+
* Delete an attachment
|
|
388
|
+
* Delete an attachment.
|
|
389
|
+
*
|
|
390
|
+
* The user must be authenticated and have <strong>REPO_ADMIN</strong> permission for the specified repository.
|
|
391
|
+
* @param projectKey The project key
|
|
392
|
+
* @param attachmentId the attachment ID
|
|
393
|
+
* @param repositorySlug The repository slug
|
|
394
|
+
* @returns void
|
|
395
|
+
* @throws ApiError
|
|
396
|
+
*/
|
|
397
|
+
static deleteAttachment(projectKey: string, attachmentId: string, repositorySlug: string): CancelablePromise<void>;
|
|
398
|
+
/**
|
|
399
|
+
* Get an attachment
|
|
400
|
+
* Retrieve the attachment.
|
|
401
|
+
*
|
|
402
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository that is associated to the attachment.
|
|
403
|
+
*
|
|
404
|
+
* Range requests (see IETF RFC7233) are supported. However only a single range issupported. If multiple ranges are passed the ranges will be ignored and the entire content will be returned in the response.
|
|
405
|
+
* @param projectKey The project key
|
|
406
|
+
* @param attachmentId the attachment ID
|
|
407
|
+
* @param repositorySlug The repository slug
|
|
408
|
+
* @param userAgent
|
|
409
|
+
* @param range
|
|
410
|
+
* @returns any the attachment
|
|
411
|
+
* @throws ApiError
|
|
412
|
+
*/
|
|
413
|
+
static getAttachment(projectKey: string, attachmentId: string, repositorySlug: string, userAgent?: string, range?: string): CancelablePromise<any>;
|
|
414
|
+
/**
|
|
415
|
+
* Delete attachment metadata
|
|
416
|
+
* Delete attachment metadata.
|
|
417
|
+
*
|
|
418
|
+
* The user must be authenticated and have <strong>REPO_ADMIN</strong> permission for the specified repository.
|
|
419
|
+
* @param projectKey The project key
|
|
420
|
+
* @param attachmentId the attachment ID
|
|
421
|
+
* @param repositorySlug The repository slug
|
|
422
|
+
* @returns void
|
|
423
|
+
* @throws ApiError
|
|
424
|
+
*/
|
|
425
|
+
static deleteAttachmentMetadata(projectKey: string, attachmentId: string, repositorySlug: string): CancelablePromise<void>;
|
|
426
|
+
/**
|
|
427
|
+
* Get attachment metadata
|
|
428
|
+
* Retrieve the attachment metadata.
|
|
429
|
+
*
|
|
430
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository that is associated to the attachment that has the attachment metadata.
|
|
431
|
+
* @param projectKey The project key
|
|
432
|
+
* @param attachmentId the attachment ID
|
|
433
|
+
* @param repositorySlug The repository slug
|
|
434
|
+
* @returns RestAttachmentMetadata The attachment metadata
|
|
435
|
+
* @throws ApiError
|
|
436
|
+
*/
|
|
437
|
+
static getAttachmentMetadata(projectKey: string, attachmentId: string, repositorySlug: string): CancelablePromise<RestAttachmentMetadata>;
|
|
438
|
+
/**
|
|
439
|
+
* Save attachment metadata
|
|
440
|
+
* Save attachment metadata.
|
|
441
|
+
*
|
|
442
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository that is associated to the attachment that has the attachment metadata.
|
|
443
|
+
* @param projectKey The project key
|
|
444
|
+
* @param attachmentId the attachment ID
|
|
445
|
+
* @param repositorySlug The repository slug
|
|
446
|
+
* @param requestBody The attachment metadata can be any valid JSON content
|
|
447
|
+
* @returns any The attachment metadata
|
|
448
|
+
* @throws ApiError
|
|
449
|
+
*/
|
|
450
|
+
static saveAttachmentMetadata(projectKey: string, attachmentId: string, repositorySlug: string, requestBody?: string): CancelablePromise<any>;
|
|
451
|
+
/**
|
|
452
|
+
* Find branches
|
|
453
|
+
* Retrieve the branches matching the supplied <strong>filterText</strong> param.
|
|
454
|
+
*
|
|
455
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
456
|
+
* @param projectKey The project key.
|
|
457
|
+
* @param repositorySlug The repository slug.
|
|
458
|
+
* @param boostMatches Controls whether exact and prefix matches will be boosted to the top
|
|
459
|
+
* @param context
|
|
460
|
+
* @param orderBy Ordering of refs either ALPHABETICAL (by name) or MODIFICATION (last updated)
|
|
461
|
+
* @param details Whether to retrieve plugin-provided metadata about each branch
|
|
462
|
+
* @param filterText The text to match on
|
|
463
|
+
* @param base Base branch or tag to compare each branch to (for the metadata providers that uses that information
|
|
464
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
465
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
466
|
+
* @returns any The branches matching the supplied <strong>filterText</strong>.
|
|
467
|
+
* @throws ApiError
|
|
468
|
+
*/
|
|
469
|
+
static getBranches(projectKey: string, repositorySlug: string, boostMatches?: boolean, context?: string, orderBy?: 'ALPHABETICAL' | 'MODIFICATION', details?: boolean, filterText?: string, base?: string, start?: number, limit?: number): CancelablePromise<{
|
|
470
|
+
isLastPage?: boolean;
|
|
471
|
+
limit?: number;
|
|
472
|
+
nextPageStart?: number;
|
|
473
|
+
size?: number;
|
|
474
|
+
start?: number;
|
|
475
|
+
values?: Array<RestBranch>;
|
|
476
|
+
}>;
|
|
477
|
+
/**
|
|
478
|
+
* Create branch
|
|
479
|
+
* Creates a branch using the information provided in the RestCreateBranchRequest request
|
|
480
|
+
*
|
|
481
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the context repository to call this resource.
|
|
482
|
+
* @param projectKey The project key.
|
|
483
|
+
* @param repositorySlug The repository slug.
|
|
484
|
+
* @param requestBody The request to create a branch containing a <strong>name</strong>, <strong>startPoint</strong>, and optionally a <strong>message</strong>
|
|
485
|
+
* @returns RestBranch The created branch.
|
|
486
|
+
* @throws ApiError
|
|
487
|
+
*/
|
|
488
|
+
static createBranchForRepository(projectKey: string, repositorySlug: string, requestBody?: RestCreateBranchRequest): CancelablePromise<RestBranch>;
|
|
489
|
+
/**
|
|
490
|
+
* @deprecated
|
|
491
|
+
* Get default branch
|
|
492
|
+
* Retrieves the repository's default branch, if it has been created. If the repository is empty, 204 No Content will be returned. For non-empty repositories, if the configured default branch has not yet been created a 404 Not Found will be returned.
|
|
493
|
+
*
|
|
494
|
+
* This URL is deprecated. Callers should use <code>GET /projects/{key}/repos/{slug}/default-branch</code> instead, which allows retrieving the <i>configured</i> default branch even if the ref has not been created yet.
|
|
495
|
+
*
|
|
496
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
497
|
+
* @param projectKey The project key.
|
|
498
|
+
* @param repositorySlug The repository slug.
|
|
499
|
+
* @returns RestBranch The configured default branch for the repository.
|
|
500
|
+
* @throws ApiError
|
|
501
|
+
*/
|
|
502
|
+
static getDefaultBranch1(projectKey: string, repositorySlug: string): CancelablePromise<RestBranch>;
|
|
503
|
+
/**
|
|
504
|
+
* @deprecated
|
|
505
|
+
* Update default branch
|
|
506
|
+
* Update the default branch of a repository.
|
|
507
|
+
*
|
|
508
|
+
* This URL is deprecated. Callers should use <code>PUT /projects/{key}/repos/{slug}/default-branch</code> instead.
|
|
509
|
+
*
|
|
510
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
511
|
+
* @param projectKey The project key.
|
|
512
|
+
* @param repositorySlug The repository slug.
|
|
513
|
+
* @param requestBody The branch to set as default
|
|
514
|
+
* @returns void
|
|
515
|
+
* @throws ApiError
|
|
516
|
+
*/
|
|
517
|
+
static setDefaultBranch1(projectKey: string, repositorySlug: string, requestBody?: RestBranch): CancelablePromise<void>;
|
|
518
|
+
/**
|
|
519
|
+
* Get file content at revision
|
|
520
|
+
* Retrieve a page of content for a file path at a specified revision.
|
|
521
|
+
*
|
|
522
|
+
* Responses from this endpoint vary widely depending on the query parameters. The example JSON is for a request that does not use size, type, blame or noContent.
|
|
523
|
+
*
|
|
524
|
+
* 1. size will return a response like {"size":10000}
|
|
525
|
+
* 2. type will return a response like {"type":"FILE"}, where possible values are "DIRECTORY", "FILE" and "SUBMODULE"
|
|
526
|
+
* 3. blame <i>without</i> noContent will include blame for the lines of content returned on the page
|
|
527
|
+
* 4. blame <i>with</i> noContent will omit file contents and only return blame for the requested lines
|
|
528
|
+
* 5. noContent without blame is ignored and does nothing
|
|
529
|
+
*
|
|
530
|
+
*
|
|
531
|
+
* The various parameters are "processed" in the above order. That means ?size=true&type=truewill return a size response, not a type one; the type parameter will be ignored.
|
|
532
|
+
*
|
|
533
|
+
* The blame and noContent query parameters are handled differently from size and type. For blame and noContent, the <i>presence</i> of the parameter implies "true" if no value is specified; size and and type both require an explicit=true or they're treated as "false".
|
|
534
|
+
*
|
|
535
|
+
* - ?blame is the same as ?blame=true
|
|
536
|
+
* - ?blame&noContent is the same as ?blame=true&noContent=true
|
|
537
|
+
* - ?size is the same as ?size=false
|
|
538
|
+
* - ?type is the same as ?type=false
|
|
539
|
+
*
|
|
540
|
+
*
|
|
541
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
542
|
+
* @param projectKey The project key.
|
|
543
|
+
* @param repositorySlug The repository slug.
|
|
544
|
+
* @param noContent If blame&noContent only the blame is retrieved instead of the contents
|
|
545
|
+
* @param at The commit ID or ref to retrieve the content for
|
|
546
|
+
* @param size If true only the size will be returned for the file path instead of the contents
|
|
547
|
+
* @param blame If present and not equal to 'false', the blame will be returned for the file as well
|
|
548
|
+
* @param type If true only the type will be returned for the file path instead of the contents
|
|
549
|
+
* @returns any A page of contents from a file.
|
|
550
|
+
* @throws ApiError
|
|
551
|
+
*/
|
|
552
|
+
static getContent(projectKey: string, repositorySlug: string, noContent?: string, at?: string, size?: string, blame?: string, type?: string): CancelablePromise<any>;
|
|
553
|
+
/**
|
|
554
|
+
* Get file content
|
|
555
|
+
* Retrieve a page of content for a file path at a specified revision.
|
|
556
|
+
*
|
|
557
|
+
* Responses from this endpoint vary widely depending on the query parameters. The example JSON is for a request that does not use size, type, blame or noContent.
|
|
558
|
+
*
|
|
559
|
+
* 1. size will return a response like {"size":10000}
|
|
560
|
+
* 2. type will return a response like {"type":"FILE"}, where possible values are "DIRECTORY", "FILE" and "SUBMODULE"
|
|
561
|
+
* 3. blame <i>without</i> noContent will include blame for the lines of content returned on the page
|
|
562
|
+
* 4. blame <i>with</i> noContent will omit file contents and only return blame for the requested lines
|
|
563
|
+
* 5. noContent without blame is ignored and does nothing
|
|
564
|
+
*
|
|
565
|
+
*
|
|
566
|
+
* The various parameters are "processed" in the above order. That means ?size=true&type=truewill return a size response, not a type one; the type parameter will be ignored.
|
|
567
|
+
*
|
|
568
|
+
* The blame and noContent query parameters are handled differently from size and type. For blame and noContent, the <i>presence</i> of the parameter implies "true" if no value is specified; size and and type both require an explicit=true or they're treated as "false".
|
|
569
|
+
*
|
|
570
|
+
* - ?blame is the same as ?blame=true
|
|
571
|
+
* - ?blame&noContent is the same as ?blame=true&noContent=true
|
|
572
|
+
* - ?size is the same as ?size=false
|
|
573
|
+
* - ?type is the same as ?type=false
|
|
574
|
+
*
|
|
575
|
+
*
|
|
576
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
577
|
+
* @param path The file path to retrieve content from
|
|
578
|
+
* @param projectKey The project key.
|
|
579
|
+
* @param repositorySlug The repository slug.
|
|
580
|
+
* @param noContent If blame&noContent only the blame is retrieved instead of the contents
|
|
581
|
+
* @param at The commit ID or ref to retrieve the content for
|
|
582
|
+
* @param size If true only the size will be returned for the file path instead of the contents
|
|
583
|
+
* @param blame If present and not equal to 'false', the blame will be returned for the file as well
|
|
584
|
+
* @param type If true only the type will be returned for the file path instead of the contents
|
|
585
|
+
* @returns any A page of contents from a file.
|
|
586
|
+
* @throws ApiError
|
|
587
|
+
*/
|
|
588
|
+
static getContent1(path: string, projectKey: string, repositorySlug: string, noContent?: string, at?: string, size?: string, blame?: string, type?: string): CancelablePromise<any>;
|
|
589
|
+
/**
|
|
590
|
+
* Edit file
|
|
591
|
+
* Update the content of path, on the given repository and branch.
|
|
592
|
+
*
|
|
593
|
+
* This resource accepts PUT multipart form data, containing the file in a form-field named content.
|
|
594
|
+
*
|
|
595
|
+
* An example <a href="http://curl.haxx.se/">curl</a> request to update 'README.md' would be:
|
|
596
|
+
*
|
|
597
|
+
* ```curl -X PUT -u username:password -F content=@README.md -F 'message=Updated using file-edit REST API' -F branch=master -F sourceCommitId=5636641a50b http://example.com/rest/api/latest/projects/PROJECT_1/repos/repo_1/browse/README.md ```
|
|
598
|
+
*
|
|
599
|
+
* - branch: the branch on which the path should be modified or created
|
|
600
|
+
* - content: the full content of the file at path
|
|
601
|
+
* - message: the message associated with this change, to be used as the commit message. Or null if the default message should be used.
|
|
602
|
+
* - sourceCommitId: the commit ID of the file before it was edited, used to identify if content has changed. Or null if this is a new file
|
|
603
|
+
*
|
|
604
|
+
*
|
|
605
|
+
* The file can be updated or created on a new branch. In this case, the sourceBranch parameter should be provided to identify the starting point for the new branch and the branch parameter identifies the branch to create the new commit on.
|
|
606
|
+
* @param path The path of the file that is to be modified or created
|
|
607
|
+
* @param projectKey The project key.
|
|
608
|
+
* @param repositorySlug The repository slug.
|
|
609
|
+
* @param formData The multipart form data containing the file
|
|
610
|
+
* @returns RestCommit The newly created commit.
|
|
611
|
+
* @throws ApiError
|
|
612
|
+
*/
|
|
613
|
+
static editFile(path: string, projectKey: string, repositorySlug: string, formData?: ExampleMultipartFormData): CancelablePromise<RestCommit>;
|
|
614
|
+
/**
|
|
615
|
+
* Get changes made in commit
|
|
616
|
+
* Retrieve a page of changes made in a specified commit.
|
|
617
|
+
*
|
|
618
|
+
* <strong>Note:</strong> The implementation will apply a hard cap ({@code page.max.changes}) and it is not possible to request subsequent content when that cap is exceeded.
|
|
619
|
+
*
|
|
620
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
621
|
+
* @param projectKey The project key.
|
|
622
|
+
* @param repositorySlug The repository slug.
|
|
623
|
+
* @param until The commit to retrieve changes for
|
|
624
|
+
* @param since The commit to which <code>until</code> should be compared to produce a page of changes. If not specified the commit's first parent is assumed (if one exists)
|
|
625
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
626
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
627
|
+
* @returns any A page of changes
|
|
628
|
+
* @throws ApiError
|
|
629
|
+
*/
|
|
630
|
+
static getChanges1(projectKey: string, repositorySlug: string, until?: string, since?: string, start?: number, limit?: number): CancelablePromise<{
|
|
631
|
+
isLastPage?: boolean;
|
|
632
|
+
limit?: number;
|
|
633
|
+
nextPageStart?: number;
|
|
634
|
+
size?: number;
|
|
635
|
+
start?: number;
|
|
636
|
+
values?: Array<RestChange>;
|
|
637
|
+
}>;
|
|
638
|
+
/**
|
|
639
|
+
* Get commits
|
|
640
|
+
* Retrieve a page of commits from a given starting commit or "between" two commits. If no explicit commit is specified, the tip of the repository's default branch is assumed. commits may be identified by branch or tag name or by ID. A path may be supplied to restrict the returned commits to only those which affect that path.
|
|
641
|
+
*
|
|
642
|
+
* The authenticated user must have <b>REPO_READ</b> permission for the specified repository to call this resource.
|
|
643
|
+
* @param projectKey The project key
|
|
644
|
+
* @param repositorySlug The repository slug
|
|
645
|
+
* @param avatarScheme The desired scheme for the avatar URL. If the parameter is not present URLs will use the same scheme as this request
|
|
646
|
+
* @param path An optional path to filter commits by
|
|
647
|
+
* @param withCounts Optionally include the total number of commits and total number of unique authors
|
|
648
|
+
* @param followRenames If <code>true</code>, the commit history of the specified file will be followed past renames. Only valid for a path to a single file.
|
|
649
|
+
* @param until The commit ID (SHA1) or ref (inclusively) to retrieve commits before
|
|
650
|
+
* @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 set
|
|
651
|
+
* @param since The commit ID or ref (exclusively) to retrieve commits after
|
|
652
|
+
* @param merges If present, controls how merge commits should be filtered. Can be either <code>exclude</code>, to exclude merge commits, <code>include</code>, to include both merge commits and non-merge commits or <code>only</code>, to only return merge commits.
|
|
653
|
+
* @param ignoreMissing <code>true</code> to ignore missing commits, <code>false</code> otherwise
|
|
654
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
655
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
656
|
+
* @returns any A page of commits
|
|
657
|
+
* @throws ApiError
|
|
658
|
+
*/
|
|
659
|
+
static getCommits(projectKey: string, repositorySlug: string, avatarScheme?: string, path?: string, withCounts?: string, followRenames?: string, until?: string, avatarSize?: string, since?: string, merges?: string, ignoreMissing?: string, start?: number, limit?: number): CancelablePromise<{
|
|
660
|
+
isLastPage?: boolean;
|
|
661
|
+
limit?: number;
|
|
662
|
+
nextPageStart?: number;
|
|
663
|
+
size?: number;
|
|
664
|
+
start?: number;
|
|
665
|
+
values?: Array<RestCommit>;
|
|
666
|
+
}>;
|
|
667
|
+
/**
|
|
668
|
+
* Get commit by ID
|
|
669
|
+
* Retrieve a single commit <i>identified by its ID</i>. In general, that ID is a SHA1. <u>From 2.11, ref names like "refs/heads/master" are no longer accepted by this resource.</u>
|
|
670
|
+
*
|
|
671
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
672
|
+
* @param projectKey The project key
|
|
673
|
+
* @param commitId The commit ID to retrieve
|
|
674
|
+
* @param repositorySlug The repository slug
|
|
675
|
+
* @param path An optional path to filter the commit by. If supplied the details returned <i>may not</i> be for the specified commit. Instead, starting from the specified commit, they will be the details for the first commit affecting the specified path.
|
|
676
|
+
* @returns RestCommit A commit
|
|
677
|
+
* @throws ApiError
|
|
678
|
+
*/
|
|
679
|
+
static getCommit(projectKey: string, commitId: string, repositorySlug: string, path?: string): CancelablePromise<RestCommit>;
|
|
680
|
+
/**
|
|
681
|
+
* Get changes in commit
|
|
682
|
+
* Retrieve a page of changes made in a specified commit.
|
|
683
|
+
*
|
|
684
|
+
* <strong>Note:</strong> The implementation will apply a hard cap (<code>page.max.changes</code>) and it is not possible to request subsequent content when that cap is exceeded.
|
|
685
|
+
*
|
|
686
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
687
|
+
* @param projectKey The project key
|
|
688
|
+
* @param commitId The commit to retrieve changes for
|
|
689
|
+
* @param repositorySlug The repository slug
|
|
690
|
+
* @param withComments <code>true</code> to apply comment counts in the changes (the default); otherwise, <code>false</code> to stream changes without comment counts
|
|
691
|
+
* @param since The commit to which <code>until</code> should be compared to produce a page of changes. If not specified the commit's first parent is assumed (if one exists)
|
|
692
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
693
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
694
|
+
* @returns any A page of changes
|
|
695
|
+
* @throws ApiError
|
|
696
|
+
*/
|
|
697
|
+
static getChanges(projectKey: string, commitId: string, repositorySlug: string, withComments?: string, since?: string, start?: number, limit?: number): CancelablePromise<{
|
|
698
|
+
isLastPage?: boolean;
|
|
699
|
+
limit?: number;
|
|
700
|
+
nextPageStart?: number;
|
|
701
|
+
size?: number;
|
|
702
|
+
start?: number;
|
|
703
|
+
values?: Array<RestChange>;
|
|
704
|
+
}>;
|
|
705
|
+
/**
|
|
706
|
+
* Search for commit comments
|
|
707
|
+
* Retrieves the commit discussion comments that match the specified search criteria.
|
|
708
|
+
*
|
|
709
|
+
* It is possible to retrieve commit discussion comments that are anchored to a range of commits by providing the sinceId that the comments anchored from.
|
|
710
|
+
*
|
|
711
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that the commit is in to call this resource.
|
|
712
|
+
* @param projectKey The project key
|
|
713
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
714
|
+
* @param repositorySlug The repository slug
|
|
715
|
+
* @param path The path to the file on which comments were made
|
|
716
|
+
* @param since For a merge commit, a parent can be provided to specify which diff the comments are on. For a commit range, a sinceId can be provided to specify where the comments are anchored from.
|
|
717
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
718
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
719
|
+
* @returns any A page of comments that match the search criteria
|
|
720
|
+
* @throws ApiError
|
|
721
|
+
*/
|
|
722
|
+
static getComments(projectKey: string, commitId: string, repositorySlug: string, path?: string, since?: string, start?: number, limit?: number): CancelablePromise<{
|
|
723
|
+
isLastPage?: boolean;
|
|
724
|
+
limit?: number;
|
|
725
|
+
nextPageStart?: number;
|
|
726
|
+
size?: number;
|
|
727
|
+
start?: number;
|
|
728
|
+
values?: Array<RestComment>;
|
|
729
|
+
}>;
|
|
730
|
+
/**
|
|
731
|
+
* Add a new commit comment
|
|
732
|
+
* Add a new comment.
|
|
733
|
+
*
|
|
734
|
+
* Comments can be added in a few places by setting different attributes:
|
|
735
|
+
*
|
|
736
|
+
* General commit comment:
|
|
737
|
+
*
|
|
738
|
+
* ```{
|
|
739
|
+
* "text": "An insightful general comment on a commit."
|
|
740
|
+
* }
|
|
741
|
+
*
|
|
742
|
+
* </pre>
|
|
743
|
+
* Reply to a comment:
|
|
744
|
+
* <pre>{
|
|
745
|
+
* "text": "A measured reply.",
|
|
746
|
+
* "parent": {
|
|
747
|
+
* "id": 1
|
|
748
|
+
* }
|
|
749
|
+
* }
|
|
750
|
+
* </pre>
|
|
751
|
+
* General file comment:
|
|
752
|
+
* <pre>{
|
|
753
|
+
* "text": "An insightful general comment on a file.",
|
|
754
|
+
* "anchor": {
|
|
755
|
+
* "diffType": "COMMIT",
|
|
756
|
+
* "fromHash": "6df3858eeb9a53a911cd17e66a9174d44ffb02cd",
|
|
757
|
+
* "path": "path/to/file",
|
|
758
|
+
* "srcPath": "path/to/file",
|
|
759
|
+
* "toHash": "04c7c5c931b9418ca7b66f51fe934d0bd9b2ba4b"
|
|
760
|
+
* }
|
|
761
|
+
* }
|
|
762
|
+
* </pre>
|
|
763
|
+
* File line comment:
|
|
764
|
+
* <pre>{
|
|
765
|
+
* "text": "A pithy comment on a particular line within a file.",
|
|
766
|
+
* "anchor": {
|
|
767
|
+
* "diffType": "COMMIT",
|
|
768
|
+
* "line": 1,
|
|
769
|
+
* "lineType": "CONTEXT",
|
|
770
|
+
* "fileType": "FROM",
|
|
771
|
+
* "fromHash": "6df3858eeb9a53a911cd17e66a9174d44ffb02cd",
|
|
772
|
+
* "path": "path/to/file",
|
|
773
|
+
* "srcPath": "path/to/file",
|
|
774
|
+
* "toHash": "04c7c5c931b9418ca7b66f51fe934d0bd9b2ba4b"
|
|
775
|
+
* }
|
|
776
|
+
* }
|
|
777
|
+
* ```
|
|
778
|
+
*
|
|
779
|
+
* Note: general file comments are an experimental feature and may change in the near future!
|
|
780
|
+
*
|
|
781
|
+
* 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. fromHash will be resolved automatically as first parent if not specified. Note that this behaviour differs from `/pull-requests/comments`
|
|
782
|
+
*
|
|
783
|
+
* Finally diffType refers to the type of diff the comment was added on.
|
|
784
|
+
*
|
|
785
|
+
* 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:- 'ADDED' - for an added line;</li>- 'REMOVED' - for a removed line; or</li>- 'CONTEXT' - for a line that was unmodified but is in the vicinity of the diff.</li>'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:- 'FROM' - the source file of the diff</li>- 'TO' - the destination file of the diff</li>If the current user is not a participant the user is added as one and updated to watch the commit.
|
|
786
|
+
*
|
|
787
|
+
* The authenticated user must have REPO_READ permission for the repository that the commit is in to call this resource.
|
|
788
|
+
* @param projectKey The project key
|
|
789
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
790
|
+
* @param repositorySlug The repository slug
|
|
791
|
+
* @param since For a merge commit, a parent can be provided to specify which diff the comments should be on. For a commit range, a sinceId can be provided to specify where the comments should be anchored from.
|
|
792
|
+
* @param requestBody the comment
|
|
793
|
+
* @returns RestComment The newly created comment.
|
|
794
|
+
* @throws ApiError
|
|
795
|
+
*/
|
|
796
|
+
static createComment(projectKey: string, commitId: string, repositorySlug: string, since?: string, requestBody?: RestComment): CancelablePromise<RestComment>;
|
|
797
|
+
/**
|
|
798
|
+
* Delete a commit comment
|
|
799
|
+
* Delete a commit comment. Anyone can delete their own comment. Only users with <strong>REPO_ADMIN</strong> and above may delete comments created by other users. Comments which have replies <i>may not be deleted</i>, regardless of the user's granted permissions.
|
|
800
|
+
*
|
|
801
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that the commit is in to call this resource.
|
|
802
|
+
* @param projectKey The project key
|
|
803
|
+
* @param commentId the comment
|
|
804
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
805
|
+
* @param repositorySlug The repository slug
|
|
806
|
+
* @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.
|
|
807
|
+
* @returns void
|
|
808
|
+
* @throws ApiError
|
|
809
|
+
*/
|
|
810
|
+
static deleteComment(projectKey: string, commentId: string, commitId: string, repositorySlug: string, version?: string): CancelablePromise<void>;
|
|
811
|
+
/**
|
|
812
|
+
* Get a commit comment
|
|
813
|
+
* Retrieves a commit discussion comment.
|
|
814
|
+
*
|
|
815
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that the commit is in to call this resource.
|
|
816
|
+
* @param projectKey The project key
|
|
817
|
+
* @param commentId The ID of the comment to retrieve
|
|
818
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
819
|
+
* @param repositorySlug The repository slug
|
|
820
|
+
* @returns RestComment The requested comment.
|
|
821
|
+
* @throws ApiError
|
|
822
|
+
*/
|
|
823
|
+
static getComment(projectKey: string, commentId: string, commitId: string, repositorySlug: string): CancelablePromise<RestComment>;
|
|
824
|
+
/**
|
|
825
|
+
* Update a commit comment
|
|
826
|
+
* Update a comment, with the following restrictions:
|
|
827
|
+
*
|
|
828
|
+
* - only the author of the comment may update the <i>text</i> of the comment
|
|
829
|
+
* - only the author of the comment or repository admins and above may update the other fields of a comment
|
|
830
|
+
*
|
|
831
|
+
*
|
|
832
|
+
* <strong>Note:</strong> the supplied 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.
|
|
833
|
+
*
|
|
834
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository that the commit is in to call this resource.
|
|
835
|
+
* @param projectKey The project key
|
|
836
|
+
* @param commentId The ID of the comment to retrieve
|
|
837
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
838
|
+
* @param repositorySlug The repository slug
|
|
839
|
+
* @param requestBody The comment to update
|
|
840
|
+
* @returns RestComment The newly updated comment.
|
|
841
|
+
* @throws ApiError
|
|
842
|
+
*/
|
|
843
|
+
static updateComment(projectKey: string, commentId: string, commitId: string, repositorySlug: string, requestBody?: RestComment): CancelablePromise<RestComment>;
|
|
844
|
+
/**
|
|
845
|
+
* Get diff stats summary between revisions
|
|
846
|
+
* Retrieve the diff stats summary for a commit.
|
|
847
|
+
*
|
|
848
|
+
* The stats summary include the total number of modified files, added lines, and deleted lines.
|
|
849
|
+
*
|
|
850
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
851
|
+
* @param path The path to the file which should be diffed (optional)
|
|
852
|
+
* @param projectKey The project key
|
|
853
|
+
* @param commitId The commit ID to diff to.
|
|
854
|
+
* @param repositorySlug The repository slug
|
|
855
|
+
* @param srcPath The source path for the file, if it was copied, moved or renamed
|
|
856
|
+
* @param autoSrcPath <code>true</code> to automatically try to find the source path when it's not provided, <code>false</code> otherwise. Requires the path to be provided.
|
|
857
|
+
* @param whitespace Optional whitespace flag which can be set to ignore-all
|
|
858
|
+
* @param since The base revision to diff from. If omitted the parent revision of the commit ID is used
|
|
859
|
+
* @returns RestDiffStatsSummary The diff stats summary for a commit.
|
|
860
|
+
* @throws ApiError
|
|
861
|
+
*/
|
|
862
|
+
static getDiffStatsSummary(path: string, projectKey: string, commitId: string, repositorySlug: string, srcPath?: string, autoSrcPath?: string, whitespace?: string, since?: string): CancelablePromise<RestDiffStatsSummary>;
|
|
863
|
+
/**
|
|
864
|
+
* Get diff between revisions
|
|
865
|
+
* Retrieve the diff between two provided revisions.
|
|
866
|
+
*
|
|
867
|
+
* To stream a raw text representation of the diff, this endpoint can be called with the request header 'Accept: text/plain'.
|
|
868
|
+
*
|
|
869
|
+
* Note:</strong> This resource 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. In the event that the cap is reached, the diff will be cut short and one or more {@code truncated} flags will be set to true on the "segments", "hunks" and "diffs" properties, as well as the top-level object, in the returned JSON response.
|
|
870
|
+
*
|
|
871
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
872
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
873
|
+
* @param repositorySlug The repository slug
|
|
874
|
+
* @param path The path to the file which should be diffed (optional)
|
|
875
|
+
* @param projectKey The project key
|
|
876
|
+
* @param srcPath The source path for the file, if it was copied, moved or renamed
|
|
877
|
+
* @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
|
|
878
|
+
* @param filter Text used to filter files and lines (optional). Not applicable if streaming raw diff
|
|
879
|
+
* @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
|
|
880
|
+
* @param contextLines The number of context lines to include around added/removed lines in the diff.Not applicable if streaming raw diff
|
|
881
|
+
* @param autoSrcPath <code>true</code> to automatically try to find the source path when it's not provided, <code>false</code> otherwise. Requires the path to be provided.
|
|
882
|
+
* @param whitespace Optional whitespace flag which can be set to ignore-all
|
|
883
|
+
* @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
|
|
884
|
+
* @param since The base revision to diff from. If omitted the parent revision of the until revision is used
|
|
885
|
+
* @returns RestDiff A diff between two revisions.
|
|
886
|
+
* @throws ApiError
|
|
887
|
+
*/
|
|
888
|
+
static streamDiff(commitId: string, repositorySlug: string, path: string, projectKey: string, srcPath?: string, avatarSize?: string, filter?: string, avatarScheme?: string, contextLines?: string, autoSrcPath?: string, whitespace?: string, withComments?: string, since?: string): CancelablePromise<RestDiff>;
|
|
889
|
+
/**
|
|
890
|
+
* Get the common ancestor between two commits
|
|
891
|
+
* Returns the best common ancestor between two commits.
|
|
892
|
+
*
|
|
893
|
+
* If more than one best common ancestor exists, only one will be returned. It is unspecified which will be returned.
|
|
894
|
+
* @param projectKey The project key
|
|
895
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
896
|
+
* @param repositorySlug The repository slug
|
|
897
|
+
* @param otherCommitId The other commit id to calculate the merge-base on
|
|
898
|
+
* @returns RestCommit The common ancestor of the two given commits
|
|
899
|
+
* @throws ApiError
|
|
900
|
+
*/
|
|
901
|
+
static getMergeBase(projectKey: string, commitId: string, repositorySlug: string, otherCommitId?: string): CancelablePromise<RestCommit>;
|
|
902
|
+
/**
|
|
903
|
+
* Stop watching commit
|
|
904
|
+
* Remove the authenticated user as a watcher for the specified commit.
|
|
905
|
+
*
|
|
906
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository containing the commit to call this resource.
|
|
907
|
+
* @param projectKey The project key
|
|
908
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
909
|
+
* @param repositorySlug The repository slug
|
|
910
|
+
* @returns void
|
|
911
|
+
* @throws ApiError
|
|
912
|
+
*/
|
|
913
|
+
static unwatch(projectKey: string, commitId: string, repositorySlug: string): CancelablePromise<void>;
|
|
914
|
+
/**
|
|
915
|
+
* Watch commit
|
|
916
|
+
* Add the authenticated user as a watcher for the specified commit.
|
|
917
|
+
*
|
|
918
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository containing the commit to call this resource.
|
|
919
|
+
* @param projectKey The project key
|
|
920
|
+
* @param commitId The <i>full ID</i> of the commit within the repository
|
|
921
|
+
* @param repositorySlug The repository slug
|
|
922
|
+
* @returns void
|
|
923
|
+
* @throws ApiError
|
|
924
|
+
*/
|
|
925
|
+
static watch(projectKey: string, commitId: string, repositorySlug: string): CancelablePromise<void>;
|
|
926
|
+
/**
|
|
927
|
+
* Compare commits
|
|
928
|
+
* Gets the file changes available in the <code> from</code> commit but not in the <code> to</code> commit.
|
|
929
|
+
*
|
|
930
|
+
*
|
|
931
|
+
* If either the <code> from</code> or <code> to</code> commit are not specified, they will be replaced by the default branch of their containing repository.
|
|
932
|
+
* @param projectKey The project key.
|
|
933
|
+
* @param repositorySlug The repository slug.
|
|
934
|
+
* @param fromRepo an optional parameter specifying the source repository containing the source commit if that commit is not present in the current repository; the repository can be specified by either its ID <em>fromRepo=42</em> or by its project key plus its repo slug separated by a slash: <em>fromRepo=projectKey/repoSlug</em>
|
|
935
|
+
* @param from the source commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
936
|
+
* @param to the target commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
937
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
938
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
939
|
+
* @returns any A page of changes.
|
|
940
|
+
* @throws ApiError
|
|
941
|
+
*/
|
|
942
|
+
static streamChanges(projectKey: string, repositorySlug: string, fromRepo?: string, from?: string, to?: string, start?: number, limit?: number): CancelablePromise<{
|
|
943
|
+
isLastPage?: boolean;
|
|
944
|
+
limit?: number;
|
|
945
|
+
nextPageStart?: number;
|
|
946
|
+
size?: number;
|
|
947
|
+
start?: number;
|
|
948
|
+
values?: Array<RestChange>;
|
|
949
|
+
}>;
|
|
950
|
+
/**
|
|
951
|
+
* Get accessible commits
|
|
952
|
+
* Gets the commits accessible from the <code>from</code> commit but not in the <code>to</code> commit.
|
|
953
|
+
*
|
|
954
|
+
* If either the <code>from</code> or <code>to</code> commit are not specified, they will be replaced by the default branch of their containing repository.
|
|
955
|
+
* @param projectKey The project key.
|
|
956
|
+
* @param repositorySlug The repository slug.
|
|
957
|
+
* @param fromRepo an optional parameter specifying the source repository containing the source commit if that commit is not present in the current repository; the repository can be specified by either its ID <em>fromRepo=42</em> or by its project key plus its repo slug separated by a slash: <em>fromRepo=projectKey/repoSlug</em>
|
|
958
|
+
* @param from the source commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
959
|
+
* @param to the target commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
960
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
961
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
962
|
+
* @returns any A page of commits.
|
|
963
|
+
* @throws ApiError
|
|
964
|
+
*/
|
|
965
|
+
static streamCommits(projectKey: string, repositorySlug: string, fromRepo?: string, from?: string, to?: string, start?: number, limit?: number): CancelablePromise<{
|
|
966
|
+
isLastPage?: boolean;
|
|
967
|
+
limit?: number;
|
|
968
|
+
nextPageStart?: number;
|
|
969
|
+
size?: number;
|
|
970
|
+
start?: number;
|
|
971
|
+
values?: Array<RestCommit>;
|
|
972
|
+
}>;
|
|
973
|
+
/**
|
|
974
|
+
* Retrieve the diff stats summary between commits
|
|
975
|
+
* Retrieve the diff stats summary of the changes available in the <code>from</code> commit but not in the <code> to</code> commit.
|
|
976
|
+
*
|
|
977
|
+
* If either the <code> from</code> or <code> to</code> commit are not specified, they will be replaced by the default branch of their containing repository.
|
|
978
|
+
* @param path the path to the file to diff (optional)
|
|
979
|
+
* @param projectKey The project key.
|
|
980
|
+
* @param repositorySlug The repository slug.
|
|
981
|
+
* @param fromRepo an optional parameter specifying the source repository containing the source commit if that commit is not present in the current repository; the repository can be specified by either its ID <em>fromRepo=42</em> or by its project key plus its repo slug separated by a slash: <em>fromRepo=projectKey/repoSlug</em>
|
|
982
|
+
* @param srcPath source path
|
|
983
|
+
* @param from the source commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
984
|
+
* @param to the target commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
985
|
+
* @param whitespace an optional whitespace flag which can be set to <code>ignore-all</code>
|
|
986
|
+
* @returns RestDiff The diff stats summary for the changes.
|
|
987
|
+
* @throws ApiError
|
|
988
|
+
*/
|
|
989
|
+
static getDiffStatsSummary1(path: string, projectKey: string, repositorySlug: string, fromRepo?: string, srcPath?: string, from?: string, to?: string, whitespace?: string): CancelablePromise<RestDiff>;
|
|
990
|
+
/**
|
|
991
|
+
* Get diff between commits
|
|
992
|
+
* Gets a diff of the changes available in the <code>from</code> commit but not in the <code> to</code> commit.
|
|
993
|
+
*
|
|
994
|
+
* If either the <code> from</code> or <code> to</code> commit are not specified, they will be replaced by the default branch of their containing repository.
|
|
995
|
+
* @param path the path to the file to diff (optional)
|
|
996
|
+
* @param projectKey The project key.
|
|
997
|
+
* @param repositorySlug The repository slug.
|
|
998
|
+
* @param contextLines an optional number of context lines to include around each added or removed lines in the diff
|
|
999
|
+
* @param fromRepo an optional parameter specifying the source repository containing the source commit if that commit is not present in the current repository; the repository can be specified by either its ID <em>fromRepo=42</em> or by its project key plus its repo slug separated by a slash: <em>fromRepo=projectKey/repoSlug</em>
|
|
1000
|
+
* @param srcPath source path
|
|
1001
|
+
* @param from the source commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
1002
|
+
* @param to the target commit (can be a partial/full commit ID or qualified/unqualified ref name)
|
|
1003
|
+
* @param whitespace an optional whitespace flag which can be set to <code>ignore-all</code>
|
|
1004
|
+
* @returns RestDiff The diff of the changes.
|
|
1005
|
+
* @throws ApiError
|
|
1006
|
+
*/
|
|
1007
|
+
static streamDiff1(path: string, projectKey: string, repositorySlug: string, contextLines?: string, fromRepo?: string, srcPath?: string, from?: string, to?: string, whitespace?: string): CancelablePromise<RestDiff>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Get raw diff for path
|
|
1010
|
+
* Stream the raw diff between two provided revisions.
|
|
1011
|
+
*
|
|
1012
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
1013
|
+
* @param projectKey The project key.
|
|
1014
|
+
* @param repositorySlug The repository slug.
|
|
1015
|
+
* @param contextLines The number of context lines to include around added/removed lines in the diff
|
|
1016
|
+
* @param srcPath The source path for the file, if it was copied, moved or renamed
|
|
1017
|
+
* @param until The target revision to diff to (required)
|
|
1018
|
+
* @param whitespace Optional whitespace flag which can be set to <code>ignore-all</code>
|
|
1019
|
+
* @param since The base revision to diff from. If omitted the parent revision of the until revision is used
|
|
1020
|
+
* @returns any A raw diff between two revisions.
|
|
1021
|
+
* @throws ApiError
|
|
1022
|
+
*/
|
|
1023
|
+
static streamRawDiff(projectKey: string, repositorySlug: string, contextLines?: string, srcPath?: string, until?: string, whitespace?: string, since?: string): CancelablePromise<any>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Get raw diff for path
|
|
1026
|
+
* Stream the raw diff between two provided revisions.
|
|
1027
|
+
*
|
|
1028
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
1029
|
+
* @param path The path to the file which should be diffed (required)
|
|
1030
|
+
* @param projectKey The project key.
|
|
1031
|
+
* @param repositorySlug The repository slug.
|
|
1032
|
+
* @param contextLines The number of context lines to include around added/removed lines in the diff
|
|
1033
|
+
* @param srcPath The source path for the file, if it was copied, moved or renamed
|
|
1034
|
+
* @param until The target revision to diff to (required)
|
|
1035
|
+
* @param whitespace Optional whitespace flag which can be set to <code>ignore-all</code>
|
|
1036
|
+
* @param since The base revision to diff from. If omitted the parent revision of the until revision is used
|
|
1037
|
+
* @returns any A raw diff between two revisions.
|
|
1038
|
+
* @throws ApiError
|
|
1039
|
+
*/
|
|
1040
|
+
static streamRawDiff1(path: string, projectKey: string, repositorySlug: string, contextLines?: string, srcPath?: string, until?: string, whitespace?: string, since?: string): CancelablePromise<any>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Get files in directory
|
|
1043
|
+
* Retrieve a page of files from particular directory of a repository. The search is done recursively, so all files from any sub-directory of the specified directory will be returned.
|
|
1044
|
+
*
|
|
1045
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
1046
|
+
* @param projectKey The project key.
|
|
1047
|
+
* @param repositorySlug The repository slug.
|
|
1048
|
+
* @param at The commit ID or ref (e.g. a branch or tag) to list the files at. If not specified the default branch will be used instead.
|
|
1049
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1050
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1051
|
+
* @returns any A page of files.
|
|
1052
|
+
* @throws ApiError
|
|
1053
|
+
*/
|
|
1054
|
+
static streamFiles(projectKey: string, repositorySlug: string, at?: string, start?: number, limit?: number): CancelablePromise<{
|
|
1055
|
+
isLastPage?: boolean;
|
|
1056
|
+
limit?: number;
|
|
1057
|
+
nextPageStart?: number;
|
|
1058
|
+
size?: number;
|
|
1059
|
+
start?: number;
|
|
1060
|
+
values?: Array<FileListResource>;
|
|
1061
|
+
}>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Get files in directory
|
|
1064
|
+
* Retrieve a page of files from particular directory of a repository. The search is done recursively, so all files from any sub-directory of the specified directory will be returned.
|
|
1065
|
+
*
|
|
1066
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
1067
|
+
* @param path The directory to list files for.
|
|
1068
|
+
* @param projectKey The project key.
|
|
1069
|
+
* @param repositorySlug The repository slug.
|
|
1070
|
+
* @param at The commit ID or ref (e.g. a branch or tag) to list the files at. If not specified the default branch will be used instead.
|
|
1071
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1072
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1073
|
+
* @returns any A page of files.
|
|
1074
|
+
* @throws ApiError
|
|
1075
|
+
*/
|
|
1076
|
+
static streamFiles1(path: string, projectKey: string, repositorySlug: string, at?: string, start?: number, limit?: number): CancelablePromise<{
|
|
1077
|
+
isLastPage?: boolean;
|
|
1078
|
+
limit?: number;
|
|
1079
|
+
nextPageStart?: number;
|
|
1080
|
+
size?: number;
|
|
1081
|
+
start?: number;
|
|
1082
|
+
values?: Array<FileListResource>;
|
|
1083
|
+
}>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Get hook scripts
|
|
1086
|
+
* Return a page of hook scripts configured for the specified repository.
|
|
1087
|
+
*
|
|
1088
|
+
* This endpoint requires **REPO_ADMIN** permission.
|
|
1089
|
+
* @param projectKey The project key.
|
|
1090
|
+
* @param repositorySlug The repository slug.
|
|
1091
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1092
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1093
|
+
* @returns any A page of hook scripts.
|
|
1094
|
+
* @throws ApiError
|
|
1095
|
+
*/
|
|
1096
|
+
static getConfigurations1(projectKey: string, repositorySlug: string, start?: number, limit?: number): CancelablePromise<{
|
|
1097
|
+
isLastPage?: boolean;
|
|
1098
|
+
limit?: number;
|
|
1099
|
+
nextPageStart?: number;
|
|
1100
|
+
size?: number;
|
|
1101
|
+
start?: number;
|
|
1102
|
+
values?: Array<RestHookScriptConfig>;
|
|
1103
|
+
}>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Remove a hook script
|
|
1106
|
+
* Removes the hook script from the set of hook scripts configured to run in the repository.
|
|
1107
|
+
*
|
|
1108
|
+
* This endpoint requires **REPO_ADMIN** permission.
|
|
1109
|
+
* @param projectKey The project key.
|
|
1110
|
+
* @param scriptId The ID of the hook script
|
|
1111
|
+
* @param repositorySlug The repository slug.
|
|
1112
|
+
* @returns void
|
|
1113
|
+
* @throws ApiError
|
|
1114
|
+
*/
|
|
1115
|
+
static removeConfiguration1(projectKey: string, scriptId: string, repositorySlug: string): CancelablePromise<void>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Create/update a hook script
|
|
1118
|
+
* Creates/updates the hook script configuration for the provided hook script and repository.
|
|
1119
|
+
*
|
|
1120
|
+
* This endpoint requires **REPO_ADMIN** permission.
|
|
1121
|
+
* @param projectKey The project key.
|
|
1122
|
+
* @param scriptId The ID of the hook script
|
|
1123
|
+
* @param repositorySlug The repository slug.
|
|
1124
|
+
* @param requestBody The hook triggers for which the hook script should be run
|
|
1125
|
+
* @returns RestHookScriptConfig The updated hook script.
|
|
1126
|
+
* @throws ApiError
|
|
1127
|
+
*/
|
|
1128
|
+
static setConfiguration1(projectKey: string, scriptId: string, repositorySlug: string, requestBody?: RestHookScriptTriggers): CancelablePromise<RestHookScriptConfig>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Get repository labels
|
|
1131
|
+
* Get all labels applied to the given repository.
|
|
1132
|
+
*
|
|
1133
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository.
|
|
1134
|
+
* @param projectKey The project key.
|
|
1135
|
+
* @param repositorySlug The repository slug.
|
|
1136
|
+
* @returns RestLabel The applied label.
|
|
1137
|
+
* @throws ApiError
|
|
1138
|
+
*/
|
|
1139
|
+
static getAllLabelsForRepository(projectKey: string, repositorySlug: string): CancelablePromise<RestLabel>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Add repository label
|
|
1142
|
+
* Applies a label to the repository.
|
|
1143
|
+
*
|
|
1144
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository.
|
|
1145
|
+
* @param projectKey The project key.
|
|
1146
|
+
* @param repositorySlug The repository slug.
|
|
1147
|
+
* @param requestBody The label to apply
|
|
1148
|
+
* @returns RestLabel The applied label.
|
|
1149
|
+
* @throws ApiError
|
|
1150
|
+
*/
|
|
1151
|
+
static addLabel(projectKey: string, repositorySlug: string, requestBody?: RestLabel): CancelablePromise<RestLabel>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Remove repository label
|
|
1154
|
+
* Remove label that is applied to the given repository.
|
|
1155
|
+
*
|
|
1156
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository.
|
|
1157
|
+
* @param projectKey The project key.
|
|
1158
|
+
* @param labelName The label to remove
|
|
1159
|
+
* @param repositorySlug The repository slug.
|
|
1160
|
+
* @returns void
|
|
1161
|
+
* @throws ApiError
|
|
1162
|
+
*/
|
|
1163
|
+
static removeLabel(projectKey: string, labelName: string, repositorySlug: string): CancelablePromise<void>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Stream files
|
|
1166
|
+
* Streams files from the repository's root with the last commit to modify each file. Commit modifications are traversed starting from the <code>at</code> commit or, if not specified, from the tip of the default branch.
|
|
1167
|
+
*
|
|
1168
|
+
* Unless the repository is public, the authenticated user must have <b>REPO_READ</b> access to call this resource.
|
|
1169
|
+
* @param projectKey The project key
|
|
1170
|
+
* @param repositorySlug The repository slug
|
|
1171
|
+
* @param at The commit to use as the starting point when listing files and calculating modifications
|
|
1172
|
+
* @returns ExampleFiles A map of files to the last commit that modified them, and the latest commit to the repository (by nature, any commit to a repository modifies its root).
|
|
1173
|
+
* @throws ApiError
|
|
1174
|
+
*/
|
|
1175
|
+
static stream(projectKey: string, repositorySlug: string, at?: string): CancelablePromise<ExampleFiles>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Stream files with last modified commit in path
|
|
1178
|
+
* Streams files in the requested <code>path</code> with the last commit to modify each file. Commit modifications are traversed starting from the <code>at</code> commit or, if not specified, from the tip of the default branch.
|
|
1179
|
+
*
|
|
1180
|
+
* Unless the repository is public, the authenticated user must have <b>REPO_READ</b> access to call this resource.
|
|
1181
|
+
* @param path The path within the repository whose files should be streamed
|
|
1182
|
+
* @param projectKey The project key
|
|
1183
|
+
* @param repositorySlug The repository slug
|
|
1184
|
+
* @param at The commit to use as the starting point when listing files and calculating modifications
|
|
1185
|
+
* @returns ExampleFiles A map of files to the last commit that modified them, and the latest commit to update the requested path.
|
|
1186
|
+
* @throws ApiError
|
|
1187
|
+
*/
|
|
1188
|
+
static stream1(path: string, projectKey: string, repositorySlug: string, at?: string): CancelablePromise<ExampleFiles>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Get patch content at revision
|
|
1191
|
+
* Retrieve the patch content for a repository at a specified revision.
|
|
1192
|
+
*
|
|
1193
|
+
* Cache headers are added to the response (only if full commit hashes are used, not in the case of short hashes).
|
|
1194
|
+
*
|
|
1195
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
1196
|
+
* @param projectKey The project key.
|
|
1197
|
+
* @param repositorySlug The repository slug.
|
|
1198
|
+
* @param until The target revision from which to generate the patch (required)
|
|
1199
|
+
* @param allAncestors indicates whether or not to generate a patch which includes all the ancestors of the 'until' revision. If true, the value provided by 'since' is ignored.
|
|
1200
|
+
* @param since The base revision from which to generate the patch. This is only applicable when 'allAncestors' is false. If omitted the patch will represent one single commit, the 'until'.
|
|
1201
|
+
* @returns any The patch contents from a repository.
|
|
1202
|
+
* @throws ApiError
|
|
1203
|
+
*/
|
|
1204
|
+
static streamPatch(projectKey: string, repositorySlug: string, until?: string, allAncestors?: string, since?: string): CancelablePromise<any>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Get raw content of a file at revision
|
|
1207
|
+
* Retrieve the raw content for a file path at a specified revision.
|
|
1208
|
+
*
|
|
1209
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
|
|
1210
|
+
* @param path The file path to retrieve content from
|
|
1211
|
+
* @param projectKey The project key.
|
|
1212
|
+
* @param repositorySlug The repository slug.
|
|
1213
|
+
* @param at A specific commit or ref to retrieve the raw content at, or the default branch if not specified
|
|
1214
|
+
* @param markup If present or "true", triggers the raw content to be markup-rendered and returned as HTML; otherwise, if not specified, or any value other than "true", the content is streamed without markup
|
|
1215
|
+
* @param htmlEscape (Optional) true if HTML should be escaped in the input markup, false otherwise. If not specified, the value of the markup.render.html.escape property, which is true by default, will be used
|
|
1216
|
+
* @param includeHeadingId (Optional) true if headings should contain an ID based on the heading content. If not specified, the value of the markup.render.headerids property, which is false by default, will be used
|
|
1217
|
+
* @param hardwrap (Optional) Whether the markup implementation should convert newlines to breaks. If not specified, the value of the markup.render.hardwrap property, which is true by default, will be used
|
|
1218
|
+
* @returns any The raw contents from a file.
|
|
1219
|
+
* @throws ApiError
|
|
1220
|
+
*/
|
|
1221
|
+
static streamRaw(path: string, projectKey: string, repositorySlug: string, at?: string, markup?: string, htmlEscape?: string, includeHeadingId?: string, hardwrap?: string): CancelablePromise<any>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Get ref change activity
|
|
1224
|
+
* Retrieve a page of repository ref change activity.
|
|
1225
|
+
*
|
|
1226
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission to call this resource.
|
|
1227
|
+
* @param projectKey The project key.
|
|
1228
|
+
* @param repositorySlug The repository slug.
|
|
1229
|
+
* @param ref (optional) exact match for a ref ID to filter ref change activity for
|
|
1230
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1231
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1232
|
+
* @returns any A page of ref change activity.
|
|
1233
|
+
* @throws ApiError
|
|
1234
|
+
*/
|
|
1235
|
+
static getRefChangeActivity(projectKey: string, repositorySlug: string, ref?: string, start?: number, limit?: number): CancelablePromise<{
|
|
1236
|
+
isLastPage?: boolean;
|
|
1237
|
+
limit?: number;
|
|
1238
|
+
nextPageStart?: number;
|
|
1239
|
+
size?: number;
|
|
1240
|
+
start?: number;
|
|
1241
|
+
values?: Array<RestRepositoryRefChangeActivity>;
|
|
1242
|
+
}>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Get branches with ref change activities for repository
|
|
1245
|
+
* Retrieve a page of branches with ref change activities for a specific repository.
|
|
1246
|
+
*
|
|
1247
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission to call this resource.
|
|
1248
|
+
* @param projectKey The project key.
|
|
1249
|
+
* @param repositorySlug The repository slug.
|
|
1250
|
+
* @param filterText (optional) Partial match for a ref ID to filter minimal refs for
|
|
1251
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1252
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1253
|
+
* @returns any A page of branches with ref change activities.
|
|
1254
|
+
* @throws ApiError
|
|
1255
|
+
*/
|
|
1256
|
+
static findBranches(projectKey: string, repositorySlug: string, filterText?: string, start?: number, limit?: number): CancelablePromise<{
|
|
1257
|
+
isLastPage?: boolean;
|
|
1258
|
+
limit?: number;
|
|
1259
|
+
nextPageStart?: number;
|
|
1260
|
+
size?: number;
|
|
1261
|
+
start?: number;
|
|
1262
|
+
values?: Array<RestMinimalRef>;
|
|
1263
|
+
}>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Delete auto decline settings
|
|
1266
|
+
* Delete auto decline settings for the supplied repository.
|
|
1267
|
+
*
|
|
1268
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for this repository to call the resource.
|
|
1269
|
+
* @param projectKey The project key
|
|
1270
|
+
* @param repositorySlug The repository slug
|
|
1271
|
+
* @returns void
|
|
1272
|
+
* @throws ApiError
|
|
1273
|
+
*/
|
|
1274
|
+
static deleteAutoDeclineSettings1(projectKey: string, repositorySlug: string): CancelablePromise<void>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Get auto decline settings
|
|
1277
|
+
* Retrieves the auto decline settings for the supplied repository. Project settings will be returned if no explicit settings have been set for the repository. In the case that there are no project settings, the default settings will be returned.
|
|
1278
|
+
*
|
|
1279
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for this repository to call the resource.
|
|
1280
|
+
* @param projectKey The project key
|
|
1281
|
+
* @param repositorySlug The repository slug
|
|
1282
|
+
* @returns RestAutoDeclineSettings The auto decline settings
|
|
1283
|
+
* @throws ApiError
|
|
1284
|
+
*/
|
|
1285
|
+
static getAutoDeclineSettings1(projectKey: string, repositorySlug: string): CancelablePromise<RestAutoDeclineSettings>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Create auto decline settings
|
|
1288
|
+
* Creates or updates the auto decline settings for the supplied repository.
|
|
1289
|
+
*
|
|
1290
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for this repository to call the resource
|
|
1291
|
+
* @param projectKey The project key
|
|
1292
|
+
* @param repositorySlug The repository slug
|
|
1293
|
+
* @param requestBody The settings to create or update
|
|
1294
|
+
* @returns RestAutoDeclineSettings The auto decline settings
|
|
1295
|
+
* @throws ApiError
|
|
1296
|
+
*/
|
|
1297
|
+
static setAutoDeclineSettings1(projectKey: string, repositorySlug: string, requestBody?: RestAutoDeclineSettingsRequest): CancelablePromise<RestAutoDeclineSettings>;
|
|
1298
|
+
/**
|
|
1299
|
+
* Delete pull request auto-merge settings
|
|
1300
|
+
* Deletes pull request auto-merge settings for the supplied repository.
|
|
1301
|
+
*
|
|
1302
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for this repository to call the resource.
|
|
1303
|
+
* @param projectKey The project key
|
|
1304
|
+
* @param repositorySlug The repository slug
|
|
1305
|
+
* @returns void
|
|
1306
|
+
* @throws ApiError
|
|
1307
|
+
*/
|
|
1308
|
+
static delete5(projectKey: string, repositorySlug: string): CancelablePromise<void>;
|
|
1309
|
+
/**
|
|
1310
|
+
* Get pull request auto-merge settings
|
|
1311
|
+
* Retrieves the pull request auto-merge settings for the supplied repository. Project settings will be returned if no explicit settings have been set for the repository. In the case that there are no project settings, the default settings will be returned. If the repository's project has restricted its auto-merge settings, then the settings of the project will be returned.
|
|
1312
|
+
*
|
|
1313
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for this repository to call the resource.
|
|
1314
|
+
* @param projectKey The project key
|
|
1315
|
+
* @param repositorySlug The repository slug
|
|
1316
|
+
* @returns RestAutoMergeRestrictedSettings The pull request auto-merge settings
|
|
1317
|
+
* @throws ApiError
|
|
1318
|
+
*/
|
|
1319
|
+
static get5(projectKey: string, repositorySlug: string): CancelablePromise<RestAutoMergeRestrictedSettings>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Create or update the pull request auto-merge settings
|
|
1322
|
+
* Creates or updates the pull request auto-merge settings for the supplied repository.
|
|
1323
|
+
*
|
|
1324
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for this repository to call the resource.
|
|
1325
|
+
* @param projectKey The project key
|
|
1326
|
+
* @param repositorySlug The repository slug
|
|
1327
|
+
* @param requestBody The settings to create or update
|
|
1328
|
+
* @returns RestAutoMergeRestrictedSettings The pull request auto-merge settings
|
|
1329
|
+
* @throws ApiError
|
|
1330
|
+
*/
|
|
1331
|
+
static set1(projectKey: string, repositorySlug: string, requestBody?: RestAutoMergeSettingsRequest): CancelablePromise<RestAutoMergeRestrictedSettings>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Get repository hooks
|
|
1334
|
+
* Retrieve a page of repository hooks for this repository.
|
|
1335
|
+
*
|
|
1336
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1337
|
+
* @param projectKey The project key.
|
|
1338
|
+
* @param repositorySlug The repository slug.
|
|
1339
|
+
* @param type The optional type to filter by.
|
|
1340
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1341
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1342
|
+
* @returns any A page of repository hooks with their associated enabled state.
|
|
1343
|
+
* @throws ApiError
|
|
1344
|
+
*/
|
|
1345
|
+
static getRepositoryHooks1(projectKey: string, repositorySlug: string, type?: 'PRE_RECEIVE' | 'POST_RECEIVE', start?: number, limit?: number): CancelablePromise<{
|
|
1346
|
+
isLastPage?: boolean;
|
|
1347
|
+
limit?: number;
|
|
1348
|
+
nextPageStart?: number;
|
|
1349
|
+
size?: number;
|
|
1350
|
+
start?: number;
|
|
1351
|
+
values?: Array<RestRepositoryHook>;
|
|
1352
|
+
}>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Delete repository hook
|
|
1355
|
+
* Delete repository hook configuration for the supplied <strong>hookKey</strong> and <strong>repositorySlug</strong>
|
|
1356
|
+
*
|
|
1357
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1358
|
+
* @param projectKey The project key.
|
|
1359
|
+
* @param hookKey The hook key.
|
|
1360
|
+
* @param repositorySlug The repository slug.
|
|
1361
|
+
* @returns void
|
|
1362
|
+
* @throws ApiError
|
|
1363
|
+
*/
|
|
1364
|
+
static deleteRepositoryHook(projectKey: string, hookKey: string, repositorySlug: string): CancelablePromise<void>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Get repository hook
|
|
1367
|
+
* Retrieve a repository hook for this repository.
|
|
1368
|
+
*
|
|
1369
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1370
|
+
* @param projectKey The project key.
|
|
1371
|
+
* @param hookKey The hook key.
|
|
1372
|
+
* @param repositorySlug The repository slug.
|
|
1373
|
+
* @returns RestRepositoryHook The repository hooks with their associated enabled state for the supplied hookKey.
|
|
1374
|
+
* @throws ApiError
|
|
1375
|
+
*/
|
|
1376
|
+
static getRepositoryHook1(projectKey: string, hookKey: string, repositorySlug: string): CancelablePromise<RestRepositoryHook>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Disable repository hook
|
|
1379
|
+
* Disable a repository hook for this repository.
|
|
1380
|
+
*
|
|
1381
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1382
|
+
* @param projectKey The project key.
|
|
1383
|
+
* @param hookKey The hook key.
|
|
1384
|
+
* @param repositorySlug The repository slug.
|
|
1385
|
+
* @returns RestRepositoryHook The repository hooks with their associated enabled state for the supplied hookKey.
|
|
1386
|
+
* @throws ApiError
|
|
1387
|
+
*/
|
|
1388
|
+
static disableHook1(projectKey: string, hookKey: string, repositorySlug: string): CancelablePromise<RestRepositoryHook>;
|
|
1389
|
+
/**
|
|
1390
|
+
* Enable repository hook
|
|
1391
|
+
* Enable a repository hook for this repository and optionally apply new configuration.
|
|
1392
|
+
*
|
|
1393
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1394
|
+
*
|
|
1395
|
+
* A JSON document may be provided to use as the settings for the hook. These structure and validity of the document is decided by the plugin providing the hook.
|
|
1396
|
+
* @param projectKey The project key.
|
|
1397
|
+
* @param hookKey The hook key.
|
|
1398
|
+
* @param repositorySlug The repository slug.
|
|
1399
|
+
* @param contentLength The content length.
|
|
1400
|
+
* @returns RestRepositoryHook The repository hooks with their associated enabled state for the supplied hookKey.
|
|
1401
|
+
* @throws ApiError
|
|
1402
|
+
*/
|
|
1403
|
+
static enableHook1(projectKey: string, hookKey: string, repositorySlug: string, contentLength?: string): CancelablePromise<RestRepositoryHook>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Get repository hook settings
|
|
1406
|
+
* Retrieve the settings for a repository hook for this repository.
|
|
1407
|
+
*
|
|
1408
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1409
|
+
* @param projectKey The project key.
|
|
1410
|
+
* @param hookKey The hook key.
|
|
1411
|
+
* @param repositorySlug The repository slug.
|
|
1412
|
+
* @returns ExampleSettings The settings for the hook.
|
|
1413
|
+
* @throws ApiError
|
|
1414
|
+
*/
|
|
1415
|
+
static getSettings1(projectKey: string, hookKey: string, repositorySlug: string): CancelablePromise<ExampleSettings>;
|
|
1416
|
+
/**
|
|
1417
|
+
* Update repository hook settings
|
|
1418
|
+
* Modify the settings for a repository hook for this repository.
|
|
1419
|
+
*
|
|
1420
|
+
* The service will reject any settings which are too large, the current limit is 32KB once serialized.
|
|
1421
|
+
*
|
|
1422
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1423
|
+
*
|
|
1424
|
+
* A JSON document can be provided to use as the settings for the hook. These structure and validity of the document is decided by the plugin providing the hook.
|
|
1425
|
+
* @param projectKey The project key.
|
|
1426
|
+
* @param hookKey The hook key.
|
|
1427
|
+
* @param repositorySlug The repository slug.
|
|
1428
|
+
* @param requestBody The raw settings.
|
|
1429
|
+
* @returns ExampleSettings The settings for the hook.
|
|
1430
|
+
* @throws ApiError
|
|
1431
|
+
*/
|
|
1432
|
+
static setSettings1(projectKey: string, hookKey: string, repositorySlug: string, requestBody?: ExampleSettings): CancelablePromise<ExampleSettings>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Get pull request settings
|
|
1435
|
+
* Retrieve the pull request settings for the context repository.
|
|
1436
|
+
*
|
|
1437
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the context repository to call this resource.
|
|
1438
|
+
*
|
|
1439
|
+
* This resource will call all RestFragments that are registered with the key <strong>bitbucket.repository.settings.pullRequests</strong>. If any fragment fails validations by returning a non-empty Map of errors, then no fragments will execute.
|
|
1440
|
+
*
|
|
1441
|
+
* The property keys for the settings that are bundled with the application are
|
|
1442
|
+
*
|
|
1443
|
+
* - mergeConfig - the merge strategy configuration for pull requests
|
|
1444
|
+
* - requiredApprovers - (Deprecated, please use com.atlassian.bitbucket.server.bundled-hooks.requiredApproversMergeHook instead) the number of approvals required on a pull request for it to be mergeable, or 0 if the merge check is disabled
|
|
1445
|
+
* - com.atlassian.bitbucket.server.bundled-hooks.requiredApproversMergeHook - the merge check configuration for required approvers
|
|
1446
|
+
* - requiredAllApprovers - whether or not all approvers must approve a pull request for it to be mergeable
|
|
1447
|
+
* - requiredAllTasksComplete - whether or not all tasks on a pull request need to be completed for it to be mergeable
|
|
1448
|
+
* - requiredSuccessfulBuilds - (Deprecated, please use com.atlassian.bitbucket.server.bitbucket-build.requiredBuildsMergeCheck instead) the number of successful builds on a pull request for it to be mergeable, or 0 if the merge check is disabled
|
|
1449
|
+
* - com.atlassian.bitbucket.server.bitbucket-build.requiredBuildsMergeCheck - the merge check configuration for required builds
|
|
1450
|
+
*
|
|
1451
|
+
*
|
|
1452
|
+
*
|
|
1453
|
+
* @param projectKey The project key.
|
|
1454
|
+
* @param repositorySlug The repository slug.
|
|
1455
|
+
* @returns RestRepositoryPullRequestSettings The repository pull request settings for the context repository.
|
|
1456
|
+
* @throws ApiError
|
|
1457
|
+
*/
|
|
1458
|
+
static getPullRequestSettings1(projectKey: string, repositorySlug: string): CancelablePromise<RestRepositoryPullRequestSettings>;
|
|
1459
|
+
/**
|
|
1460
|
+
* Update pull request settings
|
|
1461
|
+
* Update the pull request settings for the context repository.
|
|
1462
|
+
*
|
|
1463
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the context repository to call this resource.
|
|
1464
|
+
*
|
|
1465
|
+
* This resource will call all RestFragments that are registered with the key <strong>bitbucket.repository.settings.pullRequests</strong>. If any fragment fails validations by returning a non-empty Map of errors, then no fragments will execute.
|
|
1466
|
+
*
|
|
1467
|
+
* Only the settings that should be updated need to be included in the request.
|
|
1468
|
+
*
|
|
1469
|
+
* The property keys for the settings that are bundled with the application are
|
|
1470
|
+
*
|
|
1471
|
+
* - mergeConfig - the merge strategy configuration for pull requests
|
|
1472
|
+
* - requiredApprovers - (Deprecated, please use com.atlassian.bitbucket.server.bundled-hooks.requiredApproversMergeHook instead) the number of approvals required on a pull request for it to be mergeable, or 0 to disable the merge check
|
|
1473
|
+
* - com.atlassian.bitbucket.server.bundled-hooks.requiredApproversMergeHook - a json map containing the keys 'enabled' (a boolean to enable or disable this merge check) and 'count' (an integer to set the number of required approvals)
|
|
1474
|
+
* - requiredAllApprovers - whether or not all approvers must approve a pull request for it to be mergeable
|
|
1475
|
+
* - requiredAllTasksComplete - whether or not all tasks on a pull request need to be completed for it to be mergeable
|
|
1476
|
+
* - requiredSuccessfulBuilds - (Deprecated, please use com.atlassian.bitbucket.server.bitbucket-build.requiredBuildsMergeCheck instead) the number of successful builds on a pull request for it to be mergeable, or 0 to disable the merge check
|
|
1477
|
+
* - com.atlassian.bitbucket.server.bitbucket-build.requiredBuildsMergeCheck - a json map containing the keys 'enabled' (a boolean to enable or disable this merge check) and 'count' (an integer to set the number of required builds)
|
|
1478
|
+
*
|
|
1479
|
+
*
|
|
1480
|
+
* <strong>Merge strategy configuration deletion:</strong>
|
|
1481
|
+
*
|
|
1482
|
+
* An explicitly set pull request merge strategy configuration can be deleted by POSTing a document with an empty "mergeConfig" attribute. i.e:
|
|
1483
|
+
*
|
|
1484
|
+
*
|
|
1485
|
+
* ```{
|
|
1486
|
+
* "mergeConfig": {
|
|
1487
|
+
* }
|
|
1488
|
+
* }
|
|
1489
|
+
* ```
|
|
1490
|
+
*
|
|
1491
|
+
* Upon completion of this request, the effective configuration will be:
|
|
1492
|
+
*
|
|
1493
|
+
* - The configuration set for this repository's SCM type as set at the project level, if present, otherwise
|
|
1494
|
+
* - the configuration set for this repository's SCM type as set at the instance level, if present, otherwise
|
|
1495
|
+
* - the default configuration for this repository's SCM type
|
|
1496
|
+
*
|
|
1497
|
+
*
|
|
1498
|
+
*
|
|
1499
|
+
* @param projectKey The project key.
|
|
1500
|
+
* @param repositorySlug The repository slug.
|
|
1501
|
+
* @param requestBody The updated settings.
|
|
1502
|
+
* @returns RestRepositoryPullRequestSettings The repository pull request settings for the context repository.
|
|
1503
|
+
* @throws ApiError
|
|
1504
|
+
*/
|
|
1505
|
+
static updatePullRequestSettings1(projectKey: string, repositorySlug: string, requestBody?: RestRepositoryPullRequestSettings): CancelablePromise<RestRepositoryPullRequestSettings>;
|
|
1506
|
+
/**
|
|
1507
|
+
* Find tag
|
|
1508
|
+
* Retrieve the tags matching the supplied <strong>filterText</strong> param.
|
|
1509
|
+
*
|
|
1510
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the context repository to call this resource.
|
|
1511
|
+
* @param projectKey The project key.
|
|
1512
|
+
* @param repositorySlug The repository slug.
|
|
1513
|
+
* @param orderBy Ordering of refs either ALPHABETICAL (by name) or MODIFICATION (last updated)
|
|
1514
|
+
* @param filterText The text to match on.
|
|
1515
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1516
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1517
|
+
* @returns any The tags matching the supplied <strong>filterText</strong>.
|
|
1518
|
+
* @throws ApiError
|
|
1519
|
+
*/
|
|
1520
|
+
static getTags(projectKey: string, repositorySlug: string, orderBy?: string, filterText?: string, start?: number, limit?: number): CancelablePromise<{
|
|
1521
|
+
isLastPage?: boolean;
|
|
1522
|
+
limit?: number;
|
|
1523
|
+
nextPageStart?: number;
|
|
1524
|
+
size?: number;
|
|
1525
|
+
start?: number;
|
|
1526
|
+
values?: Array<RestTag>;
|
|
1527
|
+
}>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Create tag
|
|
1530
|
+
* Creates a tag using the information provided in the RestCreateTagRequest request
|
|
1531
|
+
*
|
|
1532
|
+
* The authenticated user must have <strong>REPO_WRITE</strong> permission for the context repository to call this resource.
|
|
1533
|
+
* @param projectKey The project key.
|
|
1534
|
+
* @param repositorySlug The repository slug.
|
|
1535
|
+
* @param requestBody The request to create a tag containing a <strong>name</strong>, <strong>startPoint</strong>, and optionally a <strong>message</strong>
|
|
1536
|
+
* @returns RestTag The created tag.
|
|
1537
|
+
* @throws ApiError
|
|
1538
|
+
*/
|
|
1539
|
+
static createTagForRepository(projectKey: string, repositorySlug: string, requestBody?: RestCreateTagRequest): CancelablePromise<RestTag>;
|
|
1540
|
+
/**
|
|
1541
|
+
* Get tag
|
|
1542
|
+
* Retrieve a tag in the specified repository.
|
|
1543
|
+
*
|
|
1544
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the context repository to call this resource.
|
|
1545
|
+
* @param projectKey The project key.
|
|
1546
|
+
* @param name The name of the tag to be retrieved.
|
|
1547
|
+
* @param repositorySlug The repository slug.
|
|
1548
|
+
* @returns RestTag The tag which matches the supplied <strong>name</strong>.
|
|
1549
|
+
* @throws ApiError
|
|
1550
|
+
*/
|
|
1551
|
+
static getTag(projectKey: string, name: string, repositorySlug: string): CancelablePromise<RestTag>;
|
|
1552
|
+
/**
|
|
1553
|
+
* Stop watching repository
|
|
1554
|
+
* Remove the authenticated user as a watcher for the specified repository.
|
|
1555
|
+
*
|
|
1556
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository to call this resource.
|
|
1557
|
+
* @param projectKey The project key.
|
|
1558
|
+
* @param repositorySlug The repository slug.
|
|
1559
|
+
* @returns void
|
|
1560
|
+
* @throws ApiError
|
|
1561
|
+
*/
|
|
1562
|
+
static unwatch2(projectKey: string, repositorySlug: string): CancelablePromise<void>;
|
|
1563
|
+
/**
|
|
1564
|
+
* Watch repository
|
|
1565
|
+
* Add the authenticated user as a watcher for the specified repository.
|
|
1566
|
+
*
|
|
1567
|
+
* The authenticated user must have <strong>REPO_READ</strong> permission for the repository to call this resource.
|
|
1568
|
+
* @param projectKey The project key.
|
|
1569
|
+
* @param repositorySlug The repository slug.
|
|
1570
|
+
* @param requestBody The repository to watch.
|
|
1571
|
+
* @returns void
|
|
1572
|
+
* @throws ApiError
|
|
1573
|
+
*/
|
|
1574
|
+
static watch2(projectKey: string, repositorySlug: string, requestBody?: RestRepository): CancelablePromise<void>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Find webhooks
|
|
1577
|
+
* Find webhooks in this repository.
|
|
1578
|
+
*
|
|
1579
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1580
|
+
* @param projectKey The project key.
|
|
1581
|
+
* @param repositorySlug The repository slug.
|
|
1582
|
+
* @param event List of <code>com.atlassian.webhooks.WebhookEvent</code> IDs to filter for
|
|
1583
|
+
* @param statistics <code>true</code> if statistics should be provided for all found webhooks
|
|
1584
|
+
* @returns any A page of webhooks.
|
|
1585
|
+
* @throws ApiError
|
|
1586
|
+
*/
|
|
1587
|
+
static findWebhooks1(projectKey: string, repositorySlug: string, event?: string, statistics?: boolean): CancelablePromise<any>;
|
|
1588
|
+
/**
|
|
1589
|
+
* Create webhook
|
|
1590
|
+
* Create a webhook for the repository specified via the URL.
|
|
1591
|
+
*
|
|
1592
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1593
|
+
* @param projectKey The project key.
|
|
1594
|
+
* @param repositorySlug The repository slug.
|
|
1595
|
+
* @param requestBody The webhook to be created for this repository.
|
|
1596
|
+
* @returns RestWebhook A created webhook.
|
|
1597
|
+
* @throws ApiError
|
|
1598
|
+
*/
|
|
1599
|
+
static createWebhook1(projectKey: string, repositorySlug: string, requestBody?: RestWebhook): CancelablePromise<RestWebhook>;
|
|
1600
|
+
/**
|
|
1601
|
+
* Search webhooks
|
|
1602
|
+
* Search webhooks in this repository and parent project. This endpoint returns a superset of the results returned by the /webhooks endpoint because it allows filtering by project scope too, not just repository webhooks.
|
|
1603
|
+
*
|
|
1604
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1605
|
+
* @param projectKey The project key.
|
|
1606
|
+
* @param repositorySlug The repository slug.
|
|
1607
|
+
* @param scopeType Scopes to filter by. This parameter can be specified once e.g. "scopeType=repository", or twice e.g. "scopeType=repository&scopeType=project", to filter by more than one scope level.
|
|
1608
|
+
* @param event List of <code>com.atlassian.webhooks.WebhookEvent</code> ids to filter for
|
|
1609
|
+
* @param statistics <code>true</code> if statistics should be provided for all found webhooks
|
|
1610
|
+
* @returns any A page of webhooks.
|
|
1611
|
+
* @throws ApiError
|
|
1612
|
+
*/
|
|
1613
|
+
static searchWebhooks(projectKey: string, repositorySlug: string, scopeType?: string, event?: string, statistics?: boolean): CancelablePromise<any>;
|
|
1614
|
+
/**
|
|
1615
|
+
* Test webhook
|
|
1616
|
+
* Test connectivity to a specific endpoint.
|
|
1617
|
+
*
|
|
1618
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1619
|
+
* @param projectKey The project key.
|
|
1620
|
+
* @param repositorySlug The repository slug.
|
|
1621
|
+
* @param webhookId
|
|
1622
|
+
* @param sslVerificationRequired Whether SSL verification is required for the specified webhook URL. Default value is <code>true</code>.
|
|
1623
|
+
* @param url The url in which to connect to
|
|
1624
|
+
* @param requestBody Basic authentication credentials, if required.
|
|
1625
|
+
* @returns RestWebhookRequestResponse A webhook.
|
|
1626
|
+
* @throws ApiError
|
|
1627
|
+
*/
|
|
1628
|
+
static testWebhook1(projectKey: string, repositorySlug: string, webhookId?: number, sslVerificationRequired?: string, url?: string, requestBody?: RestWebhookCredentials): CancelablePromise<RestWebhookRequestResponse>;
|
|
1629
|
+
/**
|
|
1630
|
+
* Delete webhook
|
|
1631
|
+
* Delete a webhook for the repository specified via the URL.
|
|
1632
|
+
*
|
|
1633
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1634
|
+
* @param projectKey The project key.
|
|
1635
|
+
* @param webhookId The ID of the webhook to be deleted.
|
|
1636
|
+
* @param repositorySlug The repository slug.
|
|
1637
|
+
* @returns void
|
|
1638
|
+
* @throws ApiError
|
|
1639
|
+
*/
|
|
1640
|
+
static deleteWebhook1(projectKey: string, webhookId: string, repositorySlug: string): CancelablePromise<void>;
|
|
1641
|
+
/**
|
|
1642
|
+
* Get webhook
|
|
1643
|
+
* Get a webhook by ID.
|
|
1644
|
+
*
|
|
1645
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1646
|
+
* @param projectKey The project key.
|
|
1647
|
+
* @param webhookId ID of the webhook
|
|
1648
|
+
* @param repositorySlug The repository slug.
|
|
1649
|
+
* @param statistics <code>true</code> if statistics should be provided for the webhook
|
|
1650
|
+
* @returns RestWebhook A webhook.
|
|
1651
|
+
* @throws ApiError
|
|
1652
|
+
*/
|
|
1653
|
+
static getWebhook1(projectKey: string, webhookId: string, repositorySlug: string, statistics?: string): CancelablePromise<RestWebhook>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Update webhook
|
|
1656
|
+
* Update an existing webhook.
|
|
1657
|
+
*
|
|
1658
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1659
|
+
* @param projectKey The project key.
|
|
1660
|
+
* @param webhookId Id of the existing webhook
|
|
1661
|
+
* @param repositorySlug The repository slug.
|
|
1662
|
+
* @param requestBody The representation of the updated values for the webhook
|
|
1663
|
+
* @returns RestWebhook A webhook.
|
|
1664
|
+
* @throws ApiError
|
|
1665
|
+
*/
|
|
1666
|
+
static updateWebhook1(projectKey: string, webhookId: string, repositorySlug: string, requestBody?: RestWebhook): CancelablePromise<RestWebhook>;
|
|
1667
|
+
/**
|
|
1668
|
+
* Get last webhook invocation details
|
|
1669
|
+
* Get the latest invocations for a specific webhook.
|
|
1670
|
+
*
|
|
1671
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1672
|
+
* @param projectKey The project key.
|
|
1673
|
+
* @param webhookId ID of the webhook
|
|
1674
|
+
* @param repositorySlug The repository slug.
|
|
1675
|
+
* @param event The string ID of a specific event to retrieve the last invocation for.
|
|
1676
|
+
* @param outcome The outcome to filter for. Can be SUCCESS, FAILURE, ERROR. None specified means that the all will be considered
|
|
1677
|
+
* @returns RestDetailedInvocation A webhook invocation dataset.
|
|
1678
|
+
* @throws ApiError
|
|
1679
|
+
*/
|
|
1680
|
+
static getLatestInvocation1(projectKey: string, webhookId: string, repositorySlug: string, event?: string, outcome?: string): CancelablePromise<RestDetailedInvocation>;
|
|
1681
|
+
/**
|
|
1682
|
+
* Get webhook statistics
|
|
1683
|
+
* Get the statistics for a specific webhook.
|
|
1684
|
+
*
|
|
1685
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1686
|
+
* @param projectKey The project key.
|
|
1687
|
+
* @param webhookId ID of the webhook
|
|
1688
|
+
* @param repositorySlug The repository slug.
|
|
1689
|
+
* @param event The string ID of a specific event to retrieve the last invocation for. May be empty, in which case all events are considered
|
|
1690
|
+
* @returns RestInvocationHistory A webhook invocation dataset.
|
|
1691
|
+
* @throws ApiError
|
|
1692
|
+
*/
|
|
1693
|
+
static getStatistics1(projectKey: string, webhookId: string, repositorySlug: string, event?: string): CancelablePromise<RestInvocationHistory>;
|
|
1694
|
+
/**
|
|
1695
|
+
* Get webhook statistics summary
|
|
1696
|
+
* Get the statistics summary for a specific webhook.
|
|
1697
|
+
*
|
|
1698
|
+
* The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
|
|
1699
|
+
* @param projectKey The project key.
|
|
1700
|
+
* @param webhookId ID of the webhook
|
|
1701
|
+
* @param repositorySlug The repository slug.
|
|
1702
|
+
* @returns RestInvocationHistory A webhook invocation dataset.
|
|
1703
|
+
* @throws ApiError
|
|
1704
|
+
*/
|
|
1705
|
+
static getStatisticsSummary1(projectKey: string, webhookId: string, repositorySlug: string): CancelablePromise<RestInvocationHistory>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Search for repositories
|
|
1708
|
+
* Retrieve a page of repositories based on query parameters that control the search. See the documentation of the parameters for more details.
|
|
1709
|
+
*
|
|
1710
|
+
* This resource is anonymously accessible, if anonymous access is enabled.
|
|
1711
|
+
*
|
|
1712
|
+
* <b>Note on permissions.</b> In absence of the <code>permission</code> query parameter the implicit 'read' permission is assumed. Please note that this permission is lower than the <tt>REPO_READ</tt> permission rather than being equal to it. The implicit 'read' permission for a given repository is assigned to any user that has any of the higher permissions, such as <tt>REPO_READ</tt>, as well as to anonymous users if the repository is marked as public. The important implication of the above is that an anonymous request to this resource with a permission level <tt>REPO_READ</tt> is guaranteed to receive an empty list of repositories as a result. For anonymous requests it is therefore recommended to not specify the <tt>permission</tt> parameter at all.
|
|
1713
|
+
* @param archived (optional) if specified, this will limit the resulting repository list to ones whose are <tt>ACTIVE</tt>, <tt>ARCHIVED</tt> or <tt>ALL</tt> for both. The match performed is case-insensitive. This filter defaults to <tt>ACTIVE</tt> when not set. <em>Available since 8.0</em>
|
|
1714
|
+
* @param projectname (optional) if specified, this will limit the resulting repository list to ones whose project's name matches this parameter's value. The match performed is case-insensitive and any leading and/or trailing whitespace characters on the <code>projectname</code> parameter will be stripped.
|
|
1715
|
+
* @param projectkey (optional) if specified, this will limit the resulting repository list to ones whose project's key matches this parameter's value. The match performed is case-insensitive and any leading and/or trailing whitespace characters on the <code>projectKey</code> parameter will be stripped. <em>Available since 8.0</em>
|
|
1716
|
+
* @param visibility (optional) if specified, this will limit the resulting repository list based on the repositories visibility. Valid values are <em>public</em> or <em>private</em>.
|
|
1717
|
+
* @param name (optional) if specified, this will limit the resulting repository list to ones whose name matches this parameter's value. The match performed is case-insensitive and any leading and/or trailing whitespace characters on the <code>name</code> parameter will be stripped.
|
|
1718
|
+
* @param permission (optional) if specified, it must be a valid repository permission level name and will limit the resulting repository list to ones that the requesting user has the specified permission level to. If not specified, the default implicit 'read' permission level will be assumed. The currently supported explicit permission values are <tt>REPO_READ</tt>, <tt>REPO_WRITE</tt> and <tt>REPO_ADMIN</tt>.
|
|
1719
|
+
* @param state (optional) if specified, it must be a valid repository state name and will limit the resulting repository list to ones that are in the specified state. The currently supported explicit state values are <tt>AVAILABLE</tt>, <tt>INITIALISING</tt> and <tt>INITIALISATION_FAILED</tt>. Filtering by <tt>OFFLINE</tt> repositories is not supported.<br><em>Available since 5.13</em>
|
|
1720
|
+
* @param start Start number for the page (inclusive). If not passed, first page is assumed.
|
|
1721
|
+
* @param limit Number of items to return. If not passed, a page size of 25 is used.
|
|
1722
|
+
* @returns any A page of repositories.
|
|
1723
|
+
* @throws ApiError
|
|
1724
|
+
*/
|
|
1725
|
+
static getRepositories1(archived?: string, projectname?: string, projectkey?: string, visibility?: 'public' | 'private', name?: string, permission?: 'REPO_READ' | 'REPO_WRITE' | 'REPO_ADMIN', state?: 'AVAILABLE' | 'INITIALISING' | 'INITIALISATION_FAILED', start?: number, limit?: number): CancelablePromise<{
|
|
1726
|
+
isLastPage?: boolean;
|
|
1727
|
+
limit?: number;
|
|
1728
|
+
nextPageStart?: number;
|
|
1729
|
+
size?: number;
|
|
1730
|
+
start?: number;
|
|
1731
|
+
values?: Array<RestRepository>;
|
|
1732
|
+
}>;
|
|
1733
|
+
}
|
|
1734
|
+
//# sourceMappingURL=RepositoryService.d.ts.map
|