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.
Files changed (1573) hide show
  1. package/CHANGELOG.md +307 -0
  2. package/README.md +236 -0
  3. package/bin/run.js +7 -0
  4. package/build/__tests__/bitbucket-service.test.d.ts +2 -0
  5. package/build/__tests__/bitbucket-service.test.d.ts.map +1 -0
  6. package/build/__tests__/bitbucket-service.test.js +2824 -0
  7. package/build/__tests__/bitbucket-service.test.js.map +1 -0
  8. package/build/__tests__/bitbucket-token-optimization.test.d.ts +2 -0
  9. package/build/__tests__/bitbucket-token-optimization.test.d.ts.map +1 -0
  10. package/build/__tests__/bitbucket-token-optimization.test.js +391 -0
  11. package/build/__tests__/bitbucket-token-optimization.test.js.map +1 -0
  12. package/build/__tests__/config.test.d.ts +2 -0
  13. package/build/__tests__/config.test.d.ts.map +1 -0
  14. package/build/__tests__/config.test.js +49 -0
  15. package/build/__tests__/config.test.js.map +1 -0
  16. package/build/__tests__/inbox-pr-mapper.test.d.ts +2 -0
  17. package/build/__tests__/inbox-pr-mapper.test.d.ts.map +1 -0
  18. package/build/__tests__/inbox-pr-mapper.test.js +304 -0
  19. package/build/__tests__/inbox-pr-mapper.test.js.map +1 -0
  20. package/build/__tests__/pr-changes-mapper.test.d.ts +2 -0
  21. package/build/__tests__/pr-changes-mapper.test.d.ts.map +1 -0
  22. package/build/__tests__/pr-changes-mapper.test.js +396 -0
  23. package/build/__tests__/pr-changes-mapper.test.js.map +1 -0
  24. package/build/__tests__/pr-comment-mapper.test.d.ts +2 -0
  25. package/build/__tests__/pr-comment-mapper.test.d.ts.map +1 -0
  26. package/build/__tests__/pr-comment-mapper.test.js +490 -0
  27. package/build/__tests__/pr-comment-mapper.test.js.map +1 -0
  28. package/build/bitbucket-client/core/ApiError.d.ts +11 -0
  29. package/build/bitbucket-client/core/ApiError.d.ts.map +1 -0
  30. package/build/bitbucket-client/core/ApiError.js +17 -0
  31. package/build/bitbucket-client/core/ApiError.js.map +1 -0
  32. package/build/bitbucket-client/core/ApiRequestOptions.d.ts +14 -0
  33. package/build/bitbucket-client/core/ApiRequestOptions.d.ts.map +1 -0
  34. package/build/bitbucket-client/core/ApiRequestOptions.js +2 -0
  35. package/build/bitbucket-client/core/ApiRequestOptions.js.map +1 -0
  36. package/build/bitbucket-client/core/ApiResult.d.ts +8 -0
  37. package/build/bitbucket-client/core/ApiResult.d.ts.map +1 -0
  38. package/build/bitbucket-client/core/ApiResult.js +2 -0
  39. package/build/bitbucket-client/core/ApiResult.js.map +1 -0
  40. package/build/bitbucket-client/core/CancelablePromise.d.ts +21 -0
  41. package/build/bitbucket-client/core/CancelablePromise.d.ts.map +1 -0
  42. package/build/bitbucket-client/core/CancelablePromise.js +100 -0
  43. package/build/bitbucket-client/core/CancelablePromise.js.map +1 -0
  44. package/build/bitbucket-client/core/OpenAPI.d.ts +17 -0
  45. package/build/bitbucket-client/core/OpenAPI.d.ts.map +1 -0
  46. package/build/bitbucket-client/core/OpenAPI.js +12 -0
  47. package/build/bitbucket-client/core/OpenAPI.js.map +1 -0
  48. package/build/bitbucket-client/core/request.d.ts +31 -0
  49. package/build/bitbucket-client/core/request.d.ts.map +1 -0
  50. package/build/bitbucket-client/core/request.js +292 -0
  51. package/build/bitbucket-client/core/request.js.map +1 -0
  52. package/build/bitbucket-client/index.d.ts +297 -0
  53. package/build/bitbucket-client/index.d.ts.map +1 -0
  54. package/build/bitbucket-client/index.js +44 -0
  55. package/build/bitbucket-client/index.js.map +1 -0
  56. package/build/bitbucket-client/models/AdminPasswordUpdate.d.ts +6 -0
  57. package/build/bitbucket-client/models/AdminPasswordUpdate.d.ts.map +1 -0
  58. package/build/bitbucket-client/models/AdminPasswordUpdate.js +2 -0
  59. package/build/bitbucket-client/models/AdminPasswordUpdate.js.map +1 -0
  60. package/build/bitbucket-client/models/ApplicationId.d.ts +2 -0
  61. package/build/bitbucket-client/models/ApplicationId.d.ts.map +1 -0
  62. package/build/bitbucket-client/models/ApplicationId.js +2 -0
  63. package/build/bitbucket-client/models/ApplicationId.js.map +1 -0
  64. package/build/bitbucket-client/models/ApplicationUser.d.ts +2 -0
  65. package/build/bitbucket-client/models/ApplicationUser.d.ts.map +1 -0
  66. package/build/bitbucket-client/models/ApplicationUser.js +2 -0
  67. package/build/bitbucket-client/models/ApplicationUser.js.map +1 -0
  68. package/build/bitbucket-client/models/AuthenticationEntity.d.ts +9 -0
  69. package/build/bitbucket-client/models/AuthenticationEntity.d.ts.map +1 -0
  70. package/build/bitbucket-client/models/AuthenticationEntity.js +2 -0
  71. package/build/bitbucket-client/models/AuthenticationEntity.js.map +1 -0
  72. package/build/bitbucket-client/models/AuthenticationResponse.d.ts +2 -0
  73. package/build/bitbucket-client/models/AuthenticationResponse.d.ts.map +1 -0
  74. package/build/bitbucket-client/models/AuthenticationResponse.js +2 -0
  75. package/build/bitbucket-client/models/AuthenticationResponse.js.map +1 -0
  76. package/build/bitbucket-client/models/BasicAuthConfigEntity.d.ts +2 -0
  77. package/build/bitbucket-client/models/BasicAuthConfigEntity.d.ts.map +1 -0
  78. package/build/bitbucket-client/models/BasicAuthConfigEntity.js +2 -0
  79. package/build/bitbucket-client/models/BasicAuthConfigEntity.js.map +1 -0
  80. package/build/bitbucket-client/models/CaptchaDataEntity.d.ts +2 -0
  81. package/build/bitbucket-client/models/CaptchaDataEntity.d.ts.map +1 -0
  82. package/build/bitbucket-client/models/CaptchaDataEntity.js +2 -0
  83. package/build/bitbucket-client/models/CaptchaDataEntity.js.map +1 -0
  84. package/build/bitbucket-client/models/Comment.d.ts +33 -0
  85. package/build/bitbucket-client/models/Comment.d.ts.map +1 -0
  86. package/build/bitbucket-client/models/Comment.js +15 -0
  87. package/build/bitbucket-client/models/Comment.js.map +1 -0
  88. package/build/bitbucket-client/models/CommentOperations.d.ts +6 -0
  89. package/build/bitbucket-client/models/CommentOperations.d.ts.map +1 -0
  90. package/build/bitbucket-client/models/CommentOperations.js +2 -0
  91. package/build/bitbucket-client/models/CommentOperations.js.map +1 -0
  92. package/build/bitbucket-client/models/CommentThread.d.ts +17 -0
  93. package/build/bitbucket-client/models/CommentThread.d.ts.map +1 -0
  94. package/build/bitbucket-client/models/CommentThread.js +2 -0
  95. package/build/bitbucket-client/models/CommentThread.js.map +1 -0
  96. package/build/bitbucket-client/models/CommentThreadDiffAnchor.d.ts +41 -0
  97. package/build/bitbucket-client/models/CommentThreadDiffAnchor.d.ts.map +1 -0
  98. package/build/bitbucket-client/models/CommentThreadDiffAnchor.js +27 -0
  99. package/build/bitbucket-client/models/CommentThreadDiffAnchor.js.map +1 -0
  100. package/build/bitbucket-client/models/Commentable.d.ts +2 -0
  101. package/build/bitbucket-client/models/Commentable.d.ts.map +1 -0
  102. package/build/bitbucket-client/models/Commentable.js +2 -0
  103. package/build/bitbucket-client/models/Commentable.js.map +1 -0
  104. package/build/bitbucket-client/models/Context.d.ts +4 -0
  105. package/build/bitbucket-client/models/Context.d.ts.map +1 -0
  106. package/build/bitbucket-client/models/Context.js +2 -0
  107. package/build/bitbucket-client/models/Context.js.map +1 -0
  108. package/build/bitbucket-client/models/ConversationDTO.d.ts +4 -0
  109. package/build/bitbucket-client/models/ConversationDTO.d.ts.map +1 -0
  110. package/build/bitbucket-client/models/ConversationDTO.js +2 -0
  111. package/build/bitbucket-client/models/ConversationDTO.js.map +1 -0
  112. package/build/bitbucket-client/models/Credentials.d.ts +5 -0
  113. package/build/bitbucket-client/models/Credentials.d.ts.map +1 -0
  114. package/build/bitbucket-client/models/Credentials.js +2 -0
  115. package/build/bitbucket-client/models/Credentials.js.map +1 -0
  116. package/build/bitbucket-client/models/CredentialsCheckFailedDTO.d.ts +2 -0
  117. package/build/bitbucket-client/models/CredentialsCheckFailedDTO.d.ts.map +1 -0
  118. package/build/bitbucket-client/models/CredentialsCheckFailedDTO.js +2 -0
  119. package/build/bitbucket-client/models/CredentialsCheckFailedDTO.js.map +1 -0
  120. package/build/bitbucket-client/models/DiffContentFilter.d.ts +2 -0
  121. package/build/bitbucket-client/models/DiffContentFilter.d.ts.map +1 -0
  122. package/build/bitbucket-client/models/DiffContentFilter.js +2 -0
  123. package/build/bitbucket-client/models/DiffContentFilter.js.map +1 -0
  124. package/build/bitbucket-client/models/ElevationMethodRestDTO.d.ts +2 -0
  125. package/build/bitbucket-client/models/ElevationMethodRestDTO.d.ts.map +1 -0
  126. package/build/bitbucket-client/models/ElevationMethodRestDTO.js +2 -0
  127. package/build/bitbucket-client/models/ElevationMethodRestDTO.js.map +1 -0
  128. package/build/bitbucket-client/models/EnrichedRepository.d.ts +2 -0
  129. package/build/bitbucket-client/models/EnrichedRepository.d.ts.map +1 -0
  130. package/build/bitbucket-client/models/EnrichedRepository.js +2 -0
  131. package/build/bitbucket-client/models/EnrichedRepository.js.map +1 -0
  132. package/build/bitbucket-client/models/ErrorEntity.d.ts +2 -0
  133. package/build/bitbucket-client/models/ErrorEntity.d.ts.map +1 -0
  134. package/build/bitbucket-client/models/ErrorEntity.js +2 -0
  135. package/build/bitbucket-client/models/ErrorEntity.js.map +1 -0
  136. package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.d.ts +7 -0
  137. package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.d.ts.map +1 -0
  138. package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.js +2 -0
  139. package/build/bitbucket-client/models/ExampleAvatarMultipartFormData.js.map +1 -0
  140. package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.d.ts +7 -0
  141. package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.d.ts.map +1 -0
  142. package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.js +2 -0
  143. package/build/bitbucket-client/models/ExampleCertificateMultipartFormData.js.map +1 -0
  144. package/build/bitbucket-client/models/ExampleFiles.d.ts +2 -0
  145. package/build/bitbucket-client/models/ExampleFiles.d.ts.map +1 -0
  146. package/build/bitbucket-client/models/ExampleFiles.js +2 -0
  147. package/build/bitbucket-client/models/ExampleFiles.js.map +1 -0
  148. package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.d.ts +2 -0
  149. package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.d.ts.map +1 -0
  150. package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.js +2 -0
  151. package/build/bitbucket-client/models/ExampleJsonLastModifiedCallback.js.map +1 -0
  152. package/build/bitbucket-client/models/ExampleMultipartFormData.d.ts +23 -0
  153. package/build/bitbucket-client/models/ExampleMultipartFormData.d.ts.map +1 -0
  154. package/build/bitbucket-client/models/ExampleMultipartFormData.js +2 -0
  155. package/build/bitbucket-client/models/ExampleMultipartFormData.js.map +1 -0
  156. package/build/bitbucket-client/models/ExamplePostMultipartFormData.d.ts +19 -0
  157. package/build/bitbucket-client/models/ExamplePostMultipartFormData.d.ts.map +1 -0
  158. package/build/bitbucket-client/models/ExamplePostMultipartFormData.js +2 -0
  159. package/build/bitbucket-client/models/ExamplePostMultipartFormData.js.map +1 -0
  160. package/build/bitbucket-client/models/ExamplePreviewMigration.d.ts +2 -0
  161. package/build/bitbucket-client/models/ExamplePreviewMigration.d.ts.map +1 -0
  162. package/build/bitbucket-client/models/ExamplePreviewMigration.js +2 -0
  163. package/build/bitbucket-client/models/ExamplePreviewMigration.js.map +1 -0
  164. package/build/bitbucket-client/models/ExamplePutMultipartFormData.d.ts +15 -0
  165. package/build/bitbucket-client/models/ExamplePutMultipartFormData.d.ts.map +1 -0
  166. package/build/bitbucket-client/models/ExamplePutMultipartFormData.js +2 -0
  167. package/build/bitbucket-client/models/ExamplePutMultipartFormData.js.map +1 -0
  168. package/build/bitbucket-client/models/ExampleRequirements.d.ts +2 -0
  169. package/build/bitbucket-client/models/ExampleRequirements.d.ts.map +1 -0
  170. package/build/bitbucket-client/models/ExampleRequirements.js +2 -0
  171. package/build/bitbucket-client/models/ExampleRequirements.js.map +1 -0
  172. package/build/bitbucket-client/models/ExampleSettings.d.ts +2 -0
  173. package/build/bitbucket-client/models/ExampleSettings.d.ts.map +1 -0
  174. package/build/bitbucket-client/models/ExampleSettings.js +2 -0
  175. package/build/bitbucket-client/models/ExampleSettings.js.map +1 -0
  176. package/build/bitbucket-client/models/ExampleSettingsMap.d.ts +2 -0
  177. package/build/bitbucket-client/models/ExampleSettingsMap.d.ts.map +1 -0
  178. package/build/bitbucket-client/models/ExampleSettingsMap.js +2 -0
  179. package/build/bitbucket-client/models/ExampleSettingsMap.js.map +1 -0
  180. package/build/bitbucket-client/models/ExampleSocketAddress.d.ts +2 -0
  181. package/build/bitbucket-client/models/ExampleSocketAddress.d.ts.map +1 -0
  182. package/build/bitbucket-client/models/ExampleSocketAddress.js +2 -0
  183. package/build/bitbucket-client/models/ExampleSocketAddress.js.map +1 -0
  184. package/build/bitbucket-client/models/ExampleStatus.d.ts +2 -0
  185. package/build/bitbucket-client/models/ExampleStatus.d.ts.map +1 -0
  186. package/build/bitbucket-client/models/ExampleStatus.js +2 -0
  187. package/build/bitbucket-client/models/ExampleStatus.js.map +1 -0
  188. package/build/bitbucket-client/models/FileListResource.d.ts +2 -0
  189. package/build/bitbucket-client/models/FileListResource.d.ts.map +1 -0
  190. package/build/bitbucket-client/models/FileListResource.js +2 -0
  191. package/build/bitbucket-client/models/FileListResource.js.map +1 -0
  192. package/build/bitbucket-client/models/FilePart.d.ts +9 -0
  193. package/build/bitbucket-client/models/FilePart.d.ts.map +1 -0
  194. package/build/bitbucket-client/models/FilePart.js +2 -0
  195. package/build/bitbucket-client/models/FilePart.js.map +1 -0
  196. package/build/bitbucket-client/models/Group.d.ts +2 -0
  197. package/build/bitbucket-client/models/Group.d.ts.map +1 -0
  198. package/build/bitbucket-client/models/Group.js +2 -0
  199. package/build/bitbucket-client/models/Group.js.map +1 -0
  200. package/build/bitbucket-client/models/GroupAndUsers.d.ts +5 -0
  201. package/build/bitbucket-client/models/GroupAndUsers.d.ts.map +1 -0
  202. package/build/bitbucket-client/models/GroupAndUsers.js +2 -0
  203. package/build/bitbucket-client/models/GroupAndUsers.js.map +1 -0
  204. package/build/bitbucket-client/models/GroupPickerContext.d.ts +5 -0
  205. package/build/bitbucket-client/models/GroupPickerContext.d.ts.map +1 -0
  206. package/build/bitbucket-client/models/GroupPickerContext.js +2 -0
  207. package/build/bitbucket-client/models/GroupPickerContext.js.map +1 -0
  208. package/build/bitbucket-client/models/IdpConfigEntity.d.ts +2 -0
  209. package/build/bitbucket-client/models/IdpConfigEntity.d.ts.map +1 -0
  210. package/build/bitbucket-client/models/IdpConfigEntity.js +2 -0
  211. package/build/bitbucket-client/models/IdpConfigEntity.js.map +1 -0
  212. package/build/bitbucket-client/models/JitConfigEntity.d.ts +2 -0
  213. package/build/bitbucket-client/models/JitConfigEntity.d.ts.map +1 -0
  214. package/build/bitbucket-client/models/JitConfigEntity.js +2 -0
  215. package/build/bitbucket-client/models/JitConfigEntity.js.map +1 -0
  216. package/build/bitbucket-client/models/JitUserEntity.d.ts +2 -0
  217. package/build/bitbucket-client/models/JitUserEntity.d.ts.map +1 -0
  218. package/build/bitbucket-client/models/JitUserEntity.js +2 -0
  219. package/build/bitbucket-client/models/JitUserEntity.js.map +1 -0
  220. package/build/bitbucket-client/models/LineNumberRange.d.ts +6 -0
  221. package/build/bitbucket-client/models/LineNumberRange.d.ts.map +1 -0
  222. package/build/bitbucket-client/models/LineNumberRange.js +2 -0
  223. package/build/bitbucket-client/models/LineNumberRange.js.map +1 -0
  224. package/build/bitbucket-client/models/LoginOptionEntity.d.ts +2 -0
  225. package/build/bitbucket-client/models/LoginOptionEntity.d.ts.map +1 -0
  226. package/build/bitbucket-client/models/LoginOptionEntity.js +2 -0
  227. package/build/bitbucket-client/models/LoginOptionEntity.js.map +1 -0
  228. package/build/bitbucket-client/models/MethodStateDTO.d.ts +2 -0
  229. package/build/bitbucket-client/models/MethodStateDTO.d.ts.map +1 -0
  230. package/build/bitbucket-client/models/MethodStateDTO.js +2 -0
  231. package/build/bitbucket-client/models/MethodStateDTO.js.map +1 -0
  232. package/build/bitbucket-client/models/NextLoginStepDTO.d.ts +2 -0
  233. package/build/bitbucket-client/models/NextLoginStepDTO.d.ts.map +1 -0
  234. package/build/bitbucket-client/models/NextLoginStepDTO.js +2 -0
  235. package/build/bitbucket-client/models/NextLoginStepDTO.js.map +1 -0
  236. package/build/bitbucket-client/models/OptionalBodyBeanParam.d.ts +2 -0
  237. package/build/bitbucket-client/models/OptionalBodyBeanParam.d.ts.map +1 -0
  238. package/build/bitbucket-client/models/OptionalBodyBeanParam.js +2 -0
  239. package/build/bitbucket-client/models/OptionalBodyBeanParam.js.map +1 -0
  240. package/build/bitbucket-client/models/PageRequestImpl.d.ts +5 -0
  241. package/build/bitbucket-client/models/PageRequestImpl.d.ts.map +1 -0
  242. package/build/bitbucket-client/models/PageRequestImpl.js +2 -0
  243. package/build/bitbucket-client/models/PageRequestImpl.js.map +1 -0
  244. package/build/bitbucket-client/models/PasswordElevationRestDTO.d.ts +4 -0
  245. package/build/bitbucket-client/models/PasswordElevationRestDTO.d.ts.map +1 -0
  246. package/build/bitbucket-client/models/PasswordElevationRestDTO.js +2 -0
  247. package/build/bitbucket-client/models/PasswordElevationRestDTO.js.map +1 -0
  248. package/build/bitbucket-client/models/Project.d.ts +15 -0
  249. package/build/bitbucket-client/models/Project.d.ts.map +1 -0
  250. package/build/bitbucket-client/models/Project.js +9 -0
  251. package/build/bitbucket-client/models/Project.js.map +1 -0
  252. package/build/bitbucket-client/models/PropertyMap.d.ts +2 -0
  253. package/build/bitbucket-client/models/PropertyMap.d.ts.map +1 -0
  254. package/build/bitbucket-client/models/PropertyMap.js +2 -0
  255. package/build/bitbucket-client/models/PropertyMap.js.map +1 -0
  256. package/build/bitbucket-client/models/PullRequest.d.ts +31 -0
  257. package/build/bitbucket-client/models/PullRequest.d.ts.map +1 -0
  258. package/build/bitbucket-client/models/PullRequest.js +10 -0
  259. package/build/bitbucket-client/models/PullRequest.js.map +1 -0
  260. package/build/bitbucket-client/models/PullRequestParticipant.d.ts +23 -0
  261. package/build/bitbucket-client/models/PullRequestParticipant.d.ts.map +1 -0
  262. package/build/bitbucket-client/models/PullRequestParticipant.js +16 -0
  263. package/build/bitbucket-client/models/PullRequestParticipant.js.map +1 -0
  264. package/build/bitbucket-client/models/PullRequestRef.d.ts +10 -0
  265. package/build/bitbucket-client/models/PullRequestRef.d.ts.map +1 -0
  266. package/build/bitbucket-client/models/PullRequestRef.js +2 -0
  267. package/build/bitbucket-client/models/PullRequestRef.js.map +1 -0
  268. package/build/bitbucket-client/models/RefType.d.ts +2 -0
  269. package/build/bitbucket-client/models/RefType.d.ts.map +1 -0
  270. package/build/bitbucket-client/models/RefType.js +2 -0
  271. package/build/bitbucket-client/models/RefType.js.map +1 -0
  272. package/build/bitbucket-client/models/Repository.d.ts +31 -0
  273. package/build/bitbucket-client/models/Repository.d.ts.map +1 -0
  274. package/build/bitbucket-client/models/Repository.js +11 -0
  275. package/build/bitbucket-client/models/Repository.js.map +1 -0
  276. package/build/bitbucket-client/models/RepositoryHookDetails.d.ts +2 -0
  277. package/build/bitbucket-client/models/RepositoryHookDetails.d.ts.map +1 -0
  278. package/build/bitbucket-client/models/RepositoryHookDetails.js +2 -0
  279. package/build/bitbucket-client/models/RepositoryHookDetails.js.map +1 -0
  280. package/build/bitbucket-client/models/RestAccessToken.d.ts +2 -0
  281. package/build/bitbucket-client/models/RestAccessToken.d.ts.map +1 -0
  282. package/build/bitbucket-client/models/RestAccessToken.js +2 -0
  283. package/build/bitbucket-client/models/RestAccessToken.js.map +1 -0
  284. package/build/bitbucket-client/models/RestAccessTokenRequest.d.ts +6 -0
  285. package/build/bitbucket-client/models/RestAccessTokenRequest.d.ts.map +1 -0
  286. package/build/bitbucket-client/models/RestAccessTokenRequest.js +2 -0
  287. package/build/bitbucket-client/models/RestAccessTokenRequest.js.map +1 -0
  288. package/build/bitbucket-client/models/RestAggregateRejectCounter.d.ts +2 -0
  289. package/build/bitbucket-client/models/RestAggregateRejectCounter.d.ts.map +1 -0
  290. package/build/bitbucket-client/models/RestAggregateRejectCounter.js +2 -0
  291. package/build/bitbucket-client/models/RestAggregateRejectCounter.js.map +1 -0
  292. package/build/bitbucket-client/models/RestAnalyticsSettings.d.ts +2 -0
  293. package/build/bitbucket-client/models/RestAnalyticsSettings.d.ts.map +1 -0
  294. package/build/bitbucket-client/models/RestAnalyticsSettings.js +2 -0
  295. package/build/bitbucket-client/models/RestAnalyticsSettings.js.map +1 -0
  296. package/build/bitbucket-client/models/RestAnnouncementBanner.d.ts +2 -0
  297. package/build/bitbucket-client/models/RestAnnouncementBanner.d.ts.map +1 -0
  298. package/build/bitbucket-client/models/RestAnnouncementBanner.js +2 -0
  299. package/build/bitbucket-client/models/RestAnnouncementBanner.js.map +1 -0
  300. package/build/bitbucket-client/models/RestApplicationProperties.d.ts +2 -0
  301. package/build/bitbucket-client/models/RestApplicationProperties.d.ts.map +1 -0
  302. package/build/bitbucket-client/models/RestApplicationProperties.js +2 -0
  303. package/build/bitbucket-client/models/RestApplicationProperties.js.map +1 -0
  304. package/build/bitbucket-client/models/RestApplicationUser.d.ts +2 -0
  305. package/build/bitbucket-client/models/RestApplicationUser.d.ts.map +1 -0
  306. package/build/bitbucket-client/models/RestApplicationUser.js +2 -0
  307. package/build/bitbucket-client/models/RestApplicationUser.js.map +1 -0
  308. package/build/bitbucket-client/models/RestApplicationUserWithPermissions.d.ts +2 -0
  309. package/build/bitbucket-client/models/RestApplicationUserWithPermissions.d.ts.map +1 -0
  310. package/build/bitbucket-client/models/RestApplicationUserWithPermissions.js +2 -0
  311. package/build/bitbucket-client/models/RestApplicationUserWithPermissions.js.map +1 -0
  312. package/build/bitbucket-client/models/RestApplySuggestionRequest.d.ts +7 -0
  313. package/build/bitbucket-client/models/RestApplySuggestionRequest.d.ts.map +1 -0
  314. package/build/bitbucket-client/models/RestApplySuggestionRequest.js +2 -0
  315. package/build/bitbucket-client/models/RestApplySuggestionRequest.js.map +1 -0
  316. package/build/bitbucket-client/models/RestAttachmentMetadata.d.ts +2 -0
  317. package/build/bitbucket-client/models/RestAttachmentMetadata.d.ts.map +1 -0
  318. package/build/bitbucket-client/models/RestAttachmentMetadata.js +2 -0
  319. package/build/bitbucket-client/models/RestAttachmentMetadata.js.map +1 -0
  320. package/build/bitbucket-client/models/RestAuthenticationRequest.d.ts +6 -0
  321. package/build/bitbucket-client/models/RestAuthenticationRequest.d.ts.map +1 -0
  322. package/build/bitbucket-client/models/RestAuthenticationRequest.js +2 -0
  323. package/build/bitbucket-client/models/RestAuthenticationRequest.js.map +1 -0
  324. package/build/bitbucket-client/models/RestAutoDeclineSettings.d.ts +2 -0
  325. package/build/bitbucket-client/models/RestAutoDeclineSettings.d.ts.map +1 -0
  326. package/build/bitbucket-client/models/RestAutoDeclineSettings.js +2 -0
  327. package/build/bitbucket-client/models/RestAutoDeclineSettings.js.map +1 -0
  328. package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.d.ts +5 -0
  329. package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.d.ts.map +1 -0
  330. package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.js +2 -0
  331. package/build/bitbucket-client/models/RestAutoDeclineSettingsRequest.js.map +1 -0
  332. package/build/bitbucket-client/models/RestAutoMergeProcessingResult.d.ts +2 -0
  333. package/build/bitbucket-client/models/RestAutoMergeProcessingResult.d.ts.map +1 -0
  334. package/build/bitbucket-client/models/RestAutoMergeProcessingResult.js +2 -0
  335. package/build/bitbucket-client/models/RestAutoMergeProcessingResult.js.map +1 -0
  336. package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.d.ts +12 -0
  337. package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.d.ts.map +1 -0
  338. package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.js +10 -0
  339. package/build/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.js.map +1 -0
  340. package/build/bitbucket-client/models/RestAutoMergeRequest.d.ts +2 -0
  341. package/build/bitbucket-client/models/RestAutoMergeRequest.d.ts.map +1 -0
  342. package/build/bitbucket-client/models/RestAutoMergeRequest.js +2 -0
  343. package/build/bitbucket-client/models/RestAutoMergeRequest.js.map +1 -0
  344. package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.d.ts +2 -0
  345. package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.d.ts.map +1 -0
  346. package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.js +2 -0
  347. package/build/bitbucket-client/models/RestAutoMergeRestrictedSettings.js.map +1 -0
  348. package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.d.ts +4 -0
  349. package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.d.ts.map +1 -0
  350. package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.js +2 -0
  351. package/build/bitbucket-client/models/RestAutoMergeSettingsRequest.js.map +1 -0
  352. package/build/bitbucket-client/models/RestBearerTokenCredentials.d.ts +4 -0
  353. package/build/bitbucket-client/models/RestBearerTokenCredentials.d.ts.map +1 -0
  354. package/build/bitbucket-client/models/RestBearerTokenCredentials.js +2 -0
  355. package/build/bitbucket-client/models/RestBearerTokenCredentials.js.map +1 -0
  356. package/build/bitbucket-client/models/RestBitbucketLicense.d.ts +2 -0
  357. package/build/bitbucket-client/models/RestBitbucketLicense.d.ts.map +1 -0
  358. package/build/bitbucket-client/models/RestBitbucketLicense.js +2 -0
  359. package/build/bitbucket-client/models/RestBitbucketLicense.js.map +1 -0
  360. package/build/bitbucket-client/models/RestBranch.d.ts +2 -0
  361. package/build/bitbucket-client/models/RestBranch.d.ts.map +1 -0
  362. package/build/bitbucket-client/models/RestBranch.js +2 -0
  363. package/build/bitbucket-client/models/RestBranch.js.map +1 -0
  364. package/build/bitbucket-client/models/RestBranchCreateRequest.d.ts +11 -0
  365. package/build/bitbucket-client/models/RestBranchCreateRequest.d.ts.map +1 -0
  366. package/build/bitbucket-client/models/RestBranchCreateRequest.js +2 -0
  367. package/build/bitbucket-client/models/RestBranchCreateRequest.js.map +1 -0
  368. package/build/bitbucket-client/models/RestBranchDeleteRequest.d.ts +15 -0
  369. package/build/bitbucket-client/models/RestBranchDeleteRequest.d.ts.map +1 -0
  370. package/build/bitbucket-client/models/RestBranchDeleteRequest.js +2 -0
  371. package/build/bitbucket-client/models/RestBranchDeleteRequest.js.map +1 -0
  372. package/build/bitbucket-client/models/RestBuildCapabilities.d.ts +2 -0
  373. package/build/bitbucket-client/models/RestBuildCapabilities.d.ts.map +1 -0
  374. package/build/bitbucket-client/models/RestBuildCapabilities.js +2 -0
  375. package/build/bitbucket-client/models/RestBuildCapabilities.js.map +1 -0
  376. package/build/bitbucket-client/models/RestBuildStats.d.ts +2 -0
  377. package/build/bitbucket-client/models/RestBuildStats.d.ts.map +1 -0
  378. package/build/bitbucket-client/models/RestBuildStats.js +2 -0
  379. package/build/bitbucket-client/models/RestBuildStats.js.map +1 -0
  380. package/build/bitbucket-client/models/RestBuildStatus.d.ts +2 -0
  381. package/build/bitbucket-client/models/RestBuildStatus.d.ts.map +1 -0
  382. package/build/bitbucket-client/models/RestBuildStatus.js +2 -0
  383. package/build/bitbucket-client/models/RestBuildStatus.js.map +1 -0
  384. package/build/bitbucket-client/models/RestBuildStatusSetRequest.d.ts +27 -0
  385. package/build/bitbucket-client/models/RestBuildStatusSetRequest.d.ts.map +1 -0
  386. package/build/bitbucket-client/models/RestBuildStatusSetRequest.js +12 -0
  387. package/build/bitbucket-client/models/RestBuildStatusSetRequest.js.map +1 -0
  388. package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.d.ts +5 -0
  389. package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.d.ts.map +1 -0
  390. package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.js +2 -0
  391. package/build/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.js.map +1 -0
  392. package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.d.ts +9 -0
  393. package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.d.ts.map +1 -0
  394. package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.js +2 -0
  395. package/build/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.js.map +1 -0
  396. package/build/bitbucket-client/models/RestChange.d.ts +2 -0
  397. package/build/bitbucket-client/models/RestChange.d.ts.map +1 -0
  398. package/build/bitbucket-client/models/RestChange.js +2 -0
  399. package/build/bitbucket-client/models/RestChange.js.map +1 -0
  400. package/build/bitbucket-client/models/RestChangeset.d.ts +2 -0
  401. package/build/bitbucket-client/models/RestChangeset.d.ts.map +1 -0
  402. package/build/bitbucket-client/models/RestChangeset.js +2 -0
  403. package/build/bitbucket-client/models/RestChangeset.js.map +1 -0
  404. package/build/bitbucket-client/models/RestClusterInformation.d.ts +2 -0
  405. package/build/bitbucket-client/models/RestClusterInformation.d.ts.map +1 -0
  406. package/build/bitbucket-client/models/RestClusterInformation.js +2 -0
  407. package/build/bitbucket-client/models/RestClusterInformation.js.map +1 -0
  408. package/build/bitbucket-client/models/RestClusterNode.d.ts +2 -0
  409. package/build/bitbucket-client/models/RestClusterNode.d.ts.map +1 -0
  410. package/build/bitbucket-client/models/RestClusterNode.js +2 -0
  411. package/build/bitbucket-client/models/RestClusterNode.js.map +1 -0
  412. package/build/bitbucket-client/models/RestComment.d.ts +2 -0
  413. package/build/bitbucket-client/models/RestComment.d.ts.map +1 -0
  414. package/build/bitbucket-client/models/RestComment.js +2 -0
  415. package/build/bitbucket-client/models/RestComment.js.map +1 -0
  416. package/build/bitbucket-client/models/RestCommentJiraIssue.d.ts +2 -0
  417. package/build/bitbucket-client/models/RestCommentJiraIssue.d.ts.map +1 -0
  418. package/build/bitbucket-client/models/RestCommentJiraIssue.js +2 -0
  419. package/build/bitbucket-client/models/RestCommentJiraIssue.js.map +1 -0
  420. package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.d.ts +2 -0
  421. package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.d.ts.map +1 -0
  422. package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.js +2 -0
  423. package/build/bitbucket-client/models/RestCommentThreadDiffAnchor.js.map +1 -0
  424. package/build/bitbucket-client/models/RestCommit.d.ts +2 -0
  425. package/build/bitbucket-client/models/RestCommit.d.ts.map +1 -0
  426. package/build/bitbucket-client/models/RestCommit.js +2 -0
  427. package/build/bitbucket-client/models/RestCommit.js.map +1 -0
  428. package/build/bitbucket-client/models/RestCommitMessageSuggestion.d.ts +2 -0
  429. package/build/bitbucket-client/models/RestCommitMessageSuggestion.d.ts.map +1 -0
  430. package/build/bitbucket-client/models/RestCommitMessageSuggestion.js +2 -0
  431. package/build/bitbucket-client/models/RestCommitMessageSuggestion.js.map +1 -0
  432. package/build/bitbucket-client/models/RestConflict.d.ts +2 -0
  433. package/build/bitbucket-client/models/RestConflict.d.ts.map +1 -0
  434. package/build/bitbucket-client/models/RestConflict.js +2 -0
  435. package/build/bitbucket-client/models/RestConflict.js.map +1 -0
  436. package/build/bitbucket-client/models/RestConflictChange.d.ts +2 -0
  437. package/build/bitbucket-client/models/RestConflictChange.d.ts.map +1 -0
  438. package/build/bitbucket-client/models/RestConflictChange.js +2 -0
  439. package/build/bitbucket-client/models/RestConflictChange.js.map +1 -0
  440. package/build/bitbucket-client/models/RestConnectivitySummary.d.ts +2 -0
  441. package/build/bitbucket-client/models/RestConnectivitySummary.d.ts.map +1 -0
  442. package/build/bitbucket-client/models/RestConnectivitySummary.js +2 -0
  443. package/build/bitbucket-client/models/RestConnectivitySummary.js.map +1 -0
  444. package/build/bitbucket-client/models/RestCreateBranchRequest.d.ts +6 -0
  445. package/build/bitbucket-client/models/RestCreateBranchRequest.d.ts.map +1 -0
  446. package/build/bitbucket-client/models/RestCreateBranchRequest.js +2 -0
  447. package/build/bitbucket-client/models/RestCreateBranchRequest.js.map +1 -0
  448. package/build/bitbucket-client/models/RestCreateTagRequest.d.ts +6 -0
  449. package/build/bitbucket-client/models/RestCreateTagRequest.d.ts.map +1 -0
  450. package/build/bitbucket-client/models/RestCreateTagRequest.js +2 -0
  451. package/build/bitbucket-client/models/RestCreateTagRequest.js.map +1 -0
  452. package/build/bitbucket-client/models/RestDefaultBranch.d.ts +4 -0
  453. package/build/bitbucket-client/models/RestDefaultBranch.d.ts.map +1 -0
  454. package/build/bitbucket-client/models/RestDefaultBranch.js +2 -0
  455. package/build/bitbucket-client/models/RestDefaultBranch.js.map +1 -0
  456. package/build/bitbucket-client/models/RestDefaultReviewersRequest.d.ts +33 -0
  457. package/build/bitbucket-client/models/RestDefaultReviewersRequest.d.ts.map +1 -0
  458. package/build/bitbucket-client/models/RestDefaultReviewersRequest.js +12 -0
  459. package/build/bitbucket-client/models/RestDefaultReviewersRequest.js.map +1 -0
  460. package/build/bitbucket-client/models/RestDefaultTask.d.ts +2 -0
  461. package/build/bitbucket-client/models/RestDefaultTask.d.ts.map +1 -0
  462. package/build/bitbucket-client/models/RestDefaultTask.js +2 -0
  463. package/build/bitbucket-client/models/RestDefaultTask.js.map +1 -0
  464. package/build/bitbucket-client/models/RestDefaultTaskRequest.d.ts +29 -0
  465. package/build/bitbucket-client/models/RestDefaultTaskRequest.d.ts.map +1 -0
  466. package/build/bitbucket-client/models/RestDefaultTaskRequest.js +12 -0
  467. package/build/bitbucket-client/models/RestDefaultTaskRequest.js.map +1 -0
  468. package/build/bitbucket-client/models/RestDelayedSyncRepository.d.ts +6 -0
  469. package/build/bitbucket-client/models/RestDelayedSyncRepository.d.ts.map +1 -0
  470. package/build/bitbucket-client/models/RestDelayedSyncRepository.js +2 -0
  471. package/build/bitbucket-client/models/RestDelayedSyncRepository.js.map +1 -0
  472. package/build/bitbucket-client/models/RestDeployment.d.ts +2 -0
  473. package/build/bitbucket-client/models/RestDeployment.d.ts.map +1 -0
  474. package/build/bitbucket-client/models/RestDeployment.js +2 -0
  475. package/build/bitbucket-client/models/RestDeployment.js.map +1 -0
  476. package/build/bitbucket-client/models/RestDeploymentEnvironment.d.ts +2 -0
  477. package/build/bitbucket-client/models/RestDeploymentEnvironment.d.ts.map +1 -0
  478. package/build/bitbucket-client/models/RestDeploymentEnvironment.js +2 -0
  479. package/build/bitbucket-client/models/RestDeploymentEnvironment.js.map +1 -0
  480. package/build/bitbucket-client/models/RestDeploymentSetRequest.d.ts +23 -0
  481. package/build/bitbucket-client/models/RestDeploymentSetRequest.d.ts.map +1 -0
  482. package/build/bitbucket-client/models/RestDeploymentSetRequest.js +14 -0
  483. package/build/bitbucket-client/models/RestDeploymentSetRequest.js.map +1 -0
  484. package/build/bitbucket-client/models/RestDetailedGroup.d.ts +2 -0
  485. package/build/bitbucket-client/models/RestDetailedGroup.d.ts.map +1 -0
  486. package/build/bitbucket-client/models/RestDetailedGroup.js +2 -0
  487. package/build/bitbucket-client/models/RestDetailedGroup.js.map +1 -0
  488. package/build/bitbucket-client/models/RestDetailedInvocation.d.ts +2 -0
  489. package/build/bitbucket-client/models/RestDetailedInvocation.d.ts.map +1 -0
  490. package/build/bitbucket-client/models/RestDetailedInvocation.js +2 -0
  491. package/build/bitbucket-client/models/RestDetailedInvocation.js.map +1 -0
  492. package/build/bitbucket-client/models/RestDetailedUser.d.ts +2 -0
  493. package/build/bitbucket-client/models/RestDetailedUser.d.ts.map +1 -0
  494. package/build/bitbucket-client/models/RestDetailedUser.js +2 -0
  495. package/build/bitbucket-client/models/RestDetailedUser.js.map +1 -0
  496. package/build/bitbucket-client/models/RestDiff.d.ts +2 -0
  497. package/build/bitbucket-client/models/RestDiff.d.ts.map +1 -0
  498. package/build/bitbucket-client/models/RestDiff.js +2 -0
  499. package/build/bitbucket-client/models/RestDiff.js.map +1 -0
  500. package/build/bitbucket-client/models/RestDiffHunk.d.ts +2 -0
  501. package/build/bitbucket-client/models/RestDiffHunk.d.ts.map +1 -0
  502. package/build/bitbucket-client/models/RestDiffHunk.js +2 -0
  503. package/build/bitbucket-client/models/RestDiffHunk.js.map +1 -0
  504. package/build/bitbucket-client/models/RestDiffLine.d.ts +2 -0
  505. package/build/bitbucket-client/models/RestDiffLine.d.ts.map +1 -0
  506. package/build/bitbucket-client/models/RestDiffLine.js +2 -0
  507. package/build/bitbucket-client/models/RestDiffLine.js.map +1 -0
  508. package/build/bitbucket-client/models/RestDiffSegment.d.ts +2 -0
  509. package/build/bitbucket-client/models/RestDiffSegment.d.ts.map +1 -0
  510. package/build/bitbucket-client/models/RestDiffSegment.js +2 -0
  511. package/build/bitbucket-client/models/RestDiffSegment.js.map +1 -0
  512. package/build/bitbucket-client/models/RestDiffStatsSummary.d.ts +2 -0
  513. package/build/bitbucket-client/models/RestDiffStatsSummary.d.ts.map +1 -0
  514. package/build/bitbucket-client/models/RestDiffStatsSummary.js +2 -0
  515. package/build/bitbucket-client/models/RestDiffStatsSummary.js.map +1 -0
  516. package/build/bitbucket-client/models/RestEmoticon.d.ts +2 -0
  517. package/build/bitbucket-client/models/RestEmoticon.d.ts.map +1 -0
  518. package/build/bitbucket-client/models/RestEmoticon.js +2 -0
  519. package/build/bitbucket-client/models/RestEmoticon.js.map +1 -0
  520. package/build/bitbucket-client/models/RestEnhancedEntityLink.d.ts +2 -0
  521. package/build/bitbucket-client/models/RestEnhancedEntityLink.d.ts.map +1 -0
  522. package/build/bitbucket-client/models/RestEnhancedEntityLink.js +2 -0
  523. package/build/bitbucket-client/models/RestEnhancedEntityLink.js.map +1 -0
  524. package/build/bitbucket-client/models/RestErasedUser.d.ts +2 -0
  525. package/build/bitbucket-client/models/RestErasedUser.d.ts.map +1 -0
  526. package/build/bitbucket-client/models/RestErasedUser.js +2 -0
  527. package/build/bitbucket-client/models/RestErasedUser.js.map +1 -0
  528. package/build/bitbucket-client/models/RestErrorMessage.d.ts +2 -0
  529. package/build/bitbucket-client/models/RestErrorMessage.d.ts.map +1 -0
  530. package/build/bitbucket-client/models/RestErrorMessage.js +2 -0
  531. package/build/bitbucket-client/models/RestErrorMessage.js.map +1 -0
  532. package/build/bitbucket-client/models/RestErrors.d.ts +2 -0
  533. package/build/bitbucket-client/models/RestErrors.d.ts.map +1 -0
  534. package/build/bitbucket-client/models/RestErrors.js +2 -0
  535. package/build/bitbucket-client/models/RestErrors.js.map +1 -0
  536. package/build/bitbucket-client/models/RestExportRequest.d.ts +8 -0
  537. package/build/bitbucket-client/models/RestExportRequest.d.ts.map +1 -0
  538. package/build/bitbucket-client/models/RestExportRequest.js +2 -0
  539. package/build/bitbucket-client/models/RestExportRequest.js.map +1 -0
  540. package/build/bitbucket-client/models/RestFarmSynchronizationRequest.d.ts +13 -0
  541. package/build/bitbucket-client/models/RestFarmSynchronizationRequest.d.ts.map +1 -0
  542. package/build/bitbucket-client/models/RestFarmSynchronizationRequest.js +9 -0
  543. package/build/bitbucket-client/models/RestFarmSynchronizationRequest.js.map +1 -0
  544. package/build/bitbucket-client/models/RestGitTagCreateRequest.d.ts +14 -0
  545. package/build/bitbucket-client/models/RestGitTagCreateRequest.d.ts.map +1 -0
  546. package/build/bitbucket-client/models/RestGitTagCreateRequest.js +9 -0
  547. package/build/bitbucket-client/models/RestGitTagCreateRequest.js.map +1 -0
  548. package/build/bitbucket-client/models/RestGpgKey.d.ts +2 -0
  549. package/build/bitbucket-client/models/RestGpgKey.d.ts.map +1 -0
  550. package/build/bitbucket-client/models/RestGpgKey.js +2 -0
  551. package/build/bitbucket-client/models/RestGpgKey.js.map +1 -0
  552. package/build/bitbucket-client/models/RestGpgSubKey.d.ts +2 -0
  553. package/build/bitbucket-client/models/RestGpgSubKey.d.ts.map +1 -0
  554. package/build/bitbucket-client/models/RestGpgSubKey.js +2 -0
  555. package/build/bitbucket-client/models/RestGpgSubKey.js.map +1 -0
  556. package/build/bitbucket-client/models/RestHookScript.d.ts +2 -0
  557. package/build/bitbucket-client/models/RestHookScript.d.ts.map +1 -0
  558. package/build/bitbucket-client/models/RestHookScript.js +2 -0
  559. package/build/bitbucket-client/models/RestHookScript.js.map +1 -0
  560. package/build/bitbucket-client/models/RestHookScriptConfig.d.ts +2 -0
  561. package/build/bitbucket-client/models/RestHookScriptConfig.d.ts.map +1 -0
  562. package/build/bitbucket-client/models/RestHookScriptConfig.js +2 -0
  563. package/build/bitbucket-client/models/RestHookScriptConfig.js.map +1 -0
  564. package/build/bitbucket-client/models/RestHookScriptTriggers.d.ts +4 -0
  565. package/build/bitbucket-client/models/RestHookScriptTriggers.d.ts.map +1 -0
  566. package/build/bitbucket-client/models/RestHookScriptTriggers.js +2 -0
  567. package/build/bitbucket-client/models/RestHookScriptTriggers.js.map +1 -0
  568. package/build/bitbucket-client/models/RestImportRequest.d.ts +4 -0
  569. package/build/bitbucket-client/models/RestImportRequest.d.ts.map +1 -0
  570. package/build/bitbucket-client/models/RestImportRequest.js +2 -0
  571. package/build/bitbucket-client/models/RestImportRequest.js.map +1 -0
  572. package/build/bitbucket-client/models/RestInsightAnnotation.d.ts +2 -0
  573. package/build/bitbucket-client/models/RestInsightAnnotation.d.ts.map +1 -0
  574. package/build/bitbucket-client/models/RestInsightAnnotation.js +2 -0
  575. package/build/bitbucket-client/models/RestInsightAnnotation.js.map +1 -0
  576. package/build/bitbucket-client/models/RestInsightAnnotationsResponse.d.ts +2 -0
  577. package/build/bitbucket-client/models/RestInsightAnnotationsResponse.d.ts.map +1 -0
  578. package/build/bitbucket-client/models/RestInsightAnnotationsResponse.js +2 -0
  579. package/build/bitbucket-client/models/RestInsightAnnotationsResponse.js.map +1 -0
  580. package/build/bitbucket-client/models/RestInsightReport.d.ts +2 -0
  581. package/build/bitbucket-client/models/RestInsightReport.d.ts.map +1 -0
  582. package/build/bitbucket-client/models/RestInsightReport.js +2 -0
  583. package/build/bitbucket-client/models/RestInsightReport.js.map +1 -0
  584. package/build/bitbucket-client/models/RestInsightReportData.d.ts +2 -0
  585. package/build/bitbucket-client/models/RestInsightReportData.d.ts.map +1 -0
  586. package/build/bitbucket-client/models/RestInsightReportData.js +2 -0
  587. package/build/bitbucket-client/models/RestInsightReportData.js.map +1 -0
  588. package/build/bitbucket-client/models/RestInvocationHistory.d.ts +2 -0
  589. package/build/bitbucket-client/models/RestInvocationHistory.d.ts.map +1 -0
  590. package/build/bitbucket-client/models/RestInvocationHistory.js +2 -0
  591. package/build/bitbucket-client/models/RestInvocationHistory.js.map +1 -0
  592. package/build/bitbucket-client/models/RestInvocationRequest.d.ts +2 -0
  593. package/build/bitbucket-client/models/RestInvocationRequest.d.ts.map +1 -0
  594. package/build/bitbucket-client/models/RestInvocationRequest.js +2 -0
  595. package/build/bitbucket-client/models/RestInvocationRequest.js.map +1 -0
  596. package/build/bitbucket-client/models/RestInvocationResult.d.ts +2 -0
  597. package/build/bitbucket-client/models/RestInvocationResult.d.ts.map +1 -0
  598. package/build/bitbucket-client/models/RestInvocationResult.js +2 -0
  599. package/build/bitbucket-client/models/RestInvocationResult.js.map +1 -0
  600. package/build/bitbucket-client/models/RestJiraIssue.d.ts +5 -0
  601. package/build/bitbucket-client/models/RestJiraIssue.d.ts.map +1 -0
  602. package/build/bitbucket-client/models/RestJiraIssue.js +2 -0
  603. package/build/bitbucket-client/models/RestJiraIssue.js.map +1 -0
  604. package/build/bitbucket-client/models/RestJob.d.ts +2 -0
  605. package/build/bitbucket-client/models/RestJob.d.ts.map +1 -0
  606. package/build/bitbucket-client/models/RestJob.js +2 -0
  607. package/build/bitbucket-client/models/RestJob.js.map +1 -0
  608. package/build/bitbucket-client/models/RestJobMessage.d.ts +2 -0
  609. package/build/bitbucket-client/models/RestJobMessage.d.ts.map +1 -0
  610. package/build/bitbucket-client/models/RestJobMessage.js +2 -0
  611. package/build/bitbucket-client/models/RestJobMessage.js.map +1 -0
  612. package/build/bitbucket-client/models/RestLabel.d.ts +2 -0
  613. package/build/bitbucket-client/models/RestLabel.d.ts.map +1 -0
  614. package/build/bitbucket-client/models/RestLabel.js +2 -0
  615. package/build/bitbucket-client/models/RestLabel.js.map +1 -0
  616. package/build/bitbucket-client/models/RestLabelable.d.ts +2 -0
  617. package/build/bitbucket-client/models/RestLabelable.d.ts.map +1 -0
  618. package/build/bitbucket-client/models/RestLabelable.js +2 -0
  619. package/build/bitbucket-client/models/RestLabelable.js.map +1 -0
  620. package/build/bitbucket-client/models/RestLogLevel.d.ts +2 -0
  621. package/build/bitbucket-client/models/RestLogLevel.d.ts.map +1 -0
  622. package/build/bitbucket-client/models/RestLogLevel.js +2 -0
  623. package/build/bitbucket-client/models/RestLogLevel.js.map +1 -0
  624. package/build/bitbucket-client/models/RestLoggingSettings.d.ts +2 -0
  625. package/build/bitbucket-client/models/RestLoggingSettings.d.ts.map +1 -0
  626. package/build/bitbucket-client/models/RestLoggingSettings.js +2 -0
  627. package/build/bitbucket-client/models/RestLoggingSettings.js.map +1 -0
  628. package/build/bitbucket-client/models/RestMailConfiguration.d.ts +2 -0
  629. package/build/bitbucket-client/models/RestMailConfiguration.d.ts.map +1 -0
  630. package/build/bitbucket-client/models/RestMailConfiguration.js +2 -0
  631. package/build/bitbucket-client/models/RestMailConfiguration.js.map +1 -0
  632. package/build/bitbucket-client/models/RestMarkup.d.ts +2 -0
  633. package/build/bitbucket-client/models/RestMarkup.d.ts.map +1 -0
  634. package/build/bitbucket-client/models/RestMarkup.js +2 -0
  635. package/build/bitbucket-client/models/RestMarkup.js.map +1 -0
  636. package/build/bitbucket-client/models/RestMeshConnectivityReport.d.ts +2 -0
  637. package/build/bitbucket-client/models/RestMeshConnectivityReport.d.ts.map +1 -0
  638. package/build/bitbucket-client/models/RestMeshConnectivityReport.js +2 -0
  639. package/build/bitbucket-client/models/RestMeshConnectivityReport.js.map +1 -0
  640. package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.d.ts +2 -0
  641. package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.d.ts.map +1 -0
  642. package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.js +2 -0
  643. package/build/bitbucket-client/models/RestMeshMigrationQueueStateCounts.js.map +1 -0
  644. package/build/bitbucket-client/models/RestMeshMigrationRequest.d.ts +10 -0
  645. package/build/bitbucket-client/models/RestMeshMigrationRequest.d.ts.map +1 -0
  646. package/build/bitbucket-client/models/RestMeshMigrationRequest.js +2 -0
  647. package/build/bitbucket-client/models/RestMeshMigrationRequest.js.map +1 -0
  648. package/build/bitbucket-client/models/RestMeshMigrationSummary.d.ts +2 -0
  649. package/build/bitbucket-client/models/RestMeshMigrationSummary.d.ts.map +1 -0
  650. package/build/bitbucket-client/models/RestMeshMigrationSummary.js +2 -0
  651. package/build/bitbucket-client/models/RestMeshMigrationSummary.js.map +1 -0
  652. package/build/bitbucket-client/models/RestMeshNode.d.ts +2 -0
  653. package/build/bitbucket-client/models/RestMeshNode.d.ts.map +1 -0
  654. package/build/bitbucket-client/models/RestMeshNode.js +2 -0
  655. package/build/bitbucket-client/models/RestMeshNode.js.map +1 -0
  656. package/build/bitbucket-client/models/RestMigrationRepository.d.ts +2 -0
  657. package/build/bitbucket-client/models/RestMigrationRepository.d.ts.map +1 -0
  658. package/build/bitbucket-client/models/RestMigrationRepository.js +2 -0
  659. package/build/bitbucket-client/models/RestMigrationRepository.js.map +1 -0
  660. package/build/bitbucket-client/models/RestMinimalCommit.d.ts +2 -0
  661. package/build/bitbucket-client/models/RestMinimalCommit.d.ts.map +1 -0
  662. package/build/bitbucket-client/models/RestMinimalCommit.js +2 -0
  663. package/build/bitbucket-client/models/RestMinimalCommit.js.map +1 -0
  664. package/build/bitbucket-client/models/RestMinimalRef.d.ts +2 -0
  665. package/build/bitbucket-client/models/RestMinimalRef.d.ts.map +1 -0
  666. package/build/bitbucket-client/models/RestMinimalRef.js +2 -0
  667. package/build/bitbucket-client/models/RestMinimalRef.js.map +1 -0
  668. package/build/bitbucket-client/models/RestMirrorHashes.d.ts +2 -0
  669. package/build/bitbucket-client/models/RestMirrorHashes.d.ts.map +1 -0
  670. package/build/bitbucket-client/models/RestMirrorHashes.js +2 -0
  671. package/build/bitbucket-client/models/RestMirrorHashes.js.map +1 -0
  672. package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.d.ts +2 -0
  673. package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.d.ts.map +1 -0
  674. package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.js +2 -0
  675. package/build/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.js.map +1 -0
  676. package/build/bitbucket-client/models/RestMirrorServer.d.ts +2 -0
  677. package/build/bitbucket-client/models/RestMirrorServer.d.ts.map +1 -0
  678. package/build/bitbucket-client/models/RestMirrorServer.js +2 -0
  679. package/build/bitbucket-client/models/RestMirrorServer.js.map +1 -0
  680. package/build/bitbucket-client/models/RestMirrorUpgradeRequest.d.ts +5 -0
  681. package/build/bitbucket-client/models/RestMirrorUpgradeRequest.d.ts.map +1 -0
  682. package/build/bitbucket-client/models/RestMirrorUpgradeRequest.js +2 -0
  683. package/build/bitbucket-client/models/RestMirrorUpgradeRequest.js.map +1 -0
  684. package/build/bitbucket-client/models/RestMirroredRepository.d.ts +2 -0
  685. package/build/bitbucket-client/models/RestMirroredRepository.d.ts.map +1 -0
  686. package/build/bitbucket-client/models/RestMirroredRepository.js +2 -0
  687. package/build/bitbucket-client/models/RestMirroredRepository.js.map +1 -0
  688. package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.d.ts +2 -0
  689. package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.d.ts.map +1 -0
  690. package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.js +2 -0
  691. package/build/bitbucket-client/models/RestMirroredRepositoryDescriptor.js.map +1 -0
  692. package/build/bitbucket-client/models/RestMirroringRequest.d.ts +2 -0
  693. package/build/bitbucket-client/models/RestMirroringRequest.d.ts.map +1 -0
  694. package/build/bitbucket-client/models/RestMirroringRequest.js +2 -0
  695. package/build/bitbucket-client/models/RestMirroringRequest.js.map +1 -0
  696. package/build/bitbucket-client/models/RestMultilineCommentMarker.d.ts +2 -0
  697. package/build/bitbucket-client/models/RestMultilineCommentMarker.d.ts.map +1 -0
  698. package/build/bitbucket-client/models/RestMultilineCommentMarker.js +2 -0
  699. package/build/bitbucket-client/models/RestMultilineCommentMarker.js.map +1 -0
  700. package/build/bitbucket-client/models/RestMultilineCommentSpan.d.ts +2 -0
  701. package/build/bitbucket-client/models/RestMultilineCommentSpan.d.ts.map +1 -0
  702. package/build/bitbucket-client/models/RestMultilineCommentSpan.js +2 -0
  703. package/build/bitbucket-client/models/RestMultilineCommentSpan.js.map +1 -0
  704. package/build/bitbucket-client/models/RestMultipleBuildStats.d.ts +2 -0
  705. package/build/bitbucket-client/models/RestMultipleBuildStats.d.ts.map +1 -0
  706. package/build/bitbucket-client/models/RestMultipleBuildStats.js +2 -0
  707. package/build/bitbucket-client/models/RestMultipleBuildStats.js.map +1 -0
  708. package/build/bitbucket-client/models/RestNamedLink.d.ts +2 -0
  709. package/build/bitbucket-client/models/RestNamedLink.d.ts.map +1 -0
  710. package/build/bitbucket-client/models/RestNamedLink.js +2 -0
  711. package/build/bitbucket-client/models/RestNamedLink.js.map +1 -0
  712. package/build/bitbucket-client/models/RestNode.d.ts +2 -0
  713. package/build/bitbucket-client/models/RestNode.d.ts.map +1 -0
  714. package/build/bitbucket-client/models/RestNode.js +2 -0
  715. package/build/bitbucket-client/models/RestNode.js.map +1 -0
  716. package/build/bitbucket-client/models/RestNodeConnectivityReport.d.ts +2 -0
  717. package/build/bitbucket-client/models/RestNodeConnectivityReport.d.ts.map +1 -0
  718. package/build/bitbucket-client/models/RestNodeConnectivityReport.js +2 -0
  719. package/build/bitbucket-client/models/RestNodeConnectivityReport.js.map +1 -0
  720. package/build/bitbucket-client/models/RestNodeConnectivitySummary.d.ts +2 -0
  721. package/build/bitbucket-client/models/RestNodeConnectivitySummary.d.ts.map +1 -0
  722. package/build/bitbucket-client/models/RestNodeConnectivitySummary.js +2 -0
  723. package/build/bitbucket-client/models/RestNodeConnectivitySummary.js.map +1 -0
  724. package/build/bitbucket-client/models/RestPageIdpConfigEntity.d.ts +9 -0
  725. package/build/bitbucket-client/models/RestPageIdpConfigEntity.d.ts.map +1 -0
  726. package/build/bitbucket-client/models/RestPageIdpConfigEntity.js +2 -0
  727. package/build/bitbucket-client/models/RestPageIdpConfigEntity.js.map +1 -0
  728. package/build/bitbucket-client/models/RestPageLoginOptionEntity.d.ts +9 -0
  729. package/build/bitbucket-client/models/RestPageLoginOptionEntity.d.ts.map +1 -0
  730. package/build/bitbucket-client/models/RestPageLoginOptionEntity.js +2 -0
  731. package/build/bitbucket-client/models/RestPageLoginOptionEntity.js.map +1 -0
  732. package/build/bitbucket-client/models/RestPageRestChange.d.ts +2 -0
  733. package/build/bitbucket-client/models/RestPageRestChange.d.ts.map +1 -0
  734. package/build/bitbucket-client/models/RestPageRestChange.js +2 -0
  735. package/build/bitbucket-client/models/RestPageRestChange.js.map +1 -0
  736. package/build/bitbucket-client/models/RestPath.d.ts +2 -0
  737. package/build/bitbucket-client/models/RestPath.d.ts.map +1 -0
  738. package/build/bitbucket-client/models/RestPath.js +2 -0
  739. package/build/bitbucket-client/models/RestPath.js.map +1 -0
  740. package/build/bitbucket-client/models/RestPermitted.d.ts +2 -0
  741. package/build/bitbucket-client/models/RestPermitted.d.ts.map +1 -0
  742. package/build/bitbucket-client/models/RestPermitted.js +2 -0
  743. package/build/bitbucket-client/models/RestPermitted.js.map +1 -0
  744. package/build/bitbucket-client/models/RestPermittedGroup.d.ts +2 -0
  745. package/build/bitbucket-client/models/RestPermittedGroup.d.ts.map +1 -0
  746. package/build/bitbucket-client/models/RestPermittedGroup.js +2 -0
  747. package/build/bitbucket-client/models/RestPermittedGroup.js.map +1 -0
  748. package/build/bitbucket-client/models/RestPermittedUser.d.ts +2 -0
  749. package/build/bitbucket-client/models/RestPermittedUser.d.ts.map +1 -0
  750. package/build/bitbucket-client/models/RestPermittedUser.js +2 -0
  751. package/build/bitbucket-client/models/RestPermittedUser.js.map +1 -0
  752. package/build/bitbucket-client/models/RestPerson.d.ts +2 -0
  753. package/build/bitbucket-client/models/RestPerson.d.ts.map +1 -0
  754. package/build/bitbucket-client/models/RestPerson.js +2 -0
  755. package/build/bitbucket-client/models/RestPerson.js.map +1 -0
  756. package/build/bitbucket-client/models/RestProgress.d.ts +2 -0
  757. package/build/bitbucket-client/models/RestProgress.d.ts.map +1 -0
  758. package/build/bitbucket-client/models/RestProgress.js +2 -0
  759. package/build/bitbucket-client/models/RestProgress.js.map +1 -0
  760. package/build/bitbucket-client/models/RestProject.d.ts +2 -0
  761. package/build/bitbucket-client/models/RestProject.d.ts.map +1 -0
  762. package/build/bitbucket-client/models/RestProject.js +2 -0
  763. package/build/bitbucket-client/models/RestProject.js.map +1 -0
  764. package/build/bitbucket-client/models/RestProjectSettingsRestriction.d.ts +2 -0
  765. package/build/bitbucket-client/models/RestProjectSettingsRestriction.d.ts.map +1 -0
  766. package/build/bitbucket-client/models/RestProjectSettingsRestriction.js +2 -0
  767. package/build/bitbucket-client/models/RestProjectSettingsRestriction.js.map +1 -0
  768. package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.d.ts +6 -0
  769. package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.d.ts.map +1 -0
  770. package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.js +2 -0
  771. package/build/bitbucket-client/models/RestProjectSettingsRestrictionRequest.js.map +1 -0
  772. package/build/bitbucket-client/models/RestProperties.d.ts +2 -0
  773. package/build/bitbucket-client/models/RestProperties.d.ts.map +1 -0
  774. package/build/bitbucket-client/models/RestProperties.js +2 -0
  775. package/build/bitbucket-client/models/RestProperties.js.map +1 -0
  776. package/build/bitbucket-client/models/RestPullRequest.d.ts +2 -0
  777. package/build/bitbucket-client/models/RestPullRequest.d.ts.map +1 -0
  778. package/build/bitbucket-client/models/RestPullRequest.js +2 -0
  779. package/build/bitbucket-client/models/RestPullRequest.js.map +1 -0
  780. package/build/bitbucket-client/models/RestPullRequestActivity.d.ts +2 -0
  781. package/build/bitbucket-client/models/RestPullRequestActivity.d.ts.map +1 -0
  782. package/build/bitbucket-client/models/RestPullRequestActivity.js +2 -0
  783. package/build/bitbucket-client/models/RestPullRequestActivity.js.map +1 -0
  784. package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.d.ts +26 -0
  785. package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.d.ts.map +1 -0
  786. package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.js +15 -0
  787. package/build/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.js.map +1 -0
  788. package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.d.ts +12 -0
  789. package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.d.ts.map +1 -0
  790. package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.js +10 -0
  791. package/build/bitbucket-client/models/RestPullRequestAssignStatusRequest.js.map +1 -0
  792. package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.d.ts +2 -0
  793. package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.d.ts.map +1 -0
  794. package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.js +2 -0
  795. package/build/bitbucket-client/models/RestPullRequestCommitMessageTemplate.js.map +1 -0
  796. package/build/bitbucket-client/models/RestPullRequestCondition.d.ts +2 -0
  797. package/build/bitbucket-client/models/RestPullRequestCondition.d.ts.map +1 -0
  798. package/build/bitbucket-client/models/RestPullRequestCondition.js +2 -0
  799. package/build/bitbucket-client/models/RestPullRequestCondition.js.map +1 -0
  800. package/build/bitbucket-client/models/RestPullRequestDeclineRequest.d.ts +5 -0
  801. package/build/bitbucket-client/models/RestPullRequestDeclineRequest.d.ts.map +1 -0
  802. package/build/bitbucket-client/models/RestPullRequestDeclineRequest.js +2 -0
  803. package/build/bitbucket-client/models/RestPullRequestDeclineRequest.js.map +1 -0
  804. package/build/bitbucket-client/models/RestPullRequestDeleteRequest.d.ts +4 -0
  805. package/build/bitbucket-client/models/RestPullRequestDeleteRequest.d.ts.map +1 -0
  806. package/build/bitbucket-client/models/RestPullRequestDeleteRequest.js +2 -0
  807. package/build/bitbucket-client/models/RestPullRequestDeleteRequest.js.map +1 -0
  808. package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.d.ts +6 -0
  809. package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.d.ts.map +1 -0
  810. package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.js +2 -0
  811. package/build/bitbucket-client/models/RestPullRequestFinishReviewRequest.js.map +1 -0
  812. package/build/bitbucket-client/models/RestPullRequestMergeConfig.d.ts +2 -0
  813. package/build/bitbucket-client/models/RestPullRequestMergeConfig.d.ts.map +1 -0
  814. package/build/bitbucket-client/models/RestPullRequestMergeConfig.js +2 -0
  815. package/build/bitbucket-client/models/RestPullRequestMergeConfig.js.map +1 -0
  816. package/build/bitbucket-client/models/RestPullRequestMergeRequest.d.ts +8 -0
  817. package/build/bitbucket-client/models/RestPullRequestMergeRequest.d.ts.map +1 -0
  818. package/build/bitbucket-client/models/RestPullRequestMergeRequest.js +2 -0
  819. package/build/bitbucket-client/models/RestPullRequestMergeRequest.js.map +1 -0
  820. package/build/bitbucket-client/models/RestPullRequestMergeStrategy.d.ts +2 -0
  821. package/build/bitbucket-client/models/RestPullRequestMergeStrategy.d.ts.map +1 -0
  822. package/build/bitbucket-client/models/RestPullRequestMergeStrategy.js +2 -0
  823. package/build/bitbucket-client/models/RestPullRequestMergeStrategy.js.map +1 -0
  824. package/build/bitbucket-client/models/RestPullRequestMergeability.d.ts +2 -0
  825. package/build/bitbucket-client/models/RestPullRequestMergeability.d.ts.map +1 -0
  826. package/build/bitbucket-client/models/RestPullRequestMergeability.js +2 -0
  827. package/build/bitbucket-client/models/RestPullRequestMergeability.js.map +1 -0
  828. package/build/bitbucket-client/models/RestPullRequestParticipant.d.ts +2 -0
  829. package/build/bitbucket-client/models/RestPullRequestParticipant.d.ts.map +1 -0
  830. package/build/bitbucket-client/models/RestPullRequestParticipant.js +2 -0
  831. package/build/bitbucket-client/models/RestPullRequestParticipant.js.map +1 -0
  832. package/build/bitbucket-client/models/RestPullRequestRebaseRequest.d.ts +4 -0
  833. package/build/bitbucket-client/models/RestPullRequestRebaseRequest.d.ts.map +1 -0
  834. package/build/bitbucket-client/models/RestPullRequestRebaseRequest.js +2 -0
  835. package/build/bitbucket-client/models/RestPullRequestRebaseRequest.js.map +1 -0
  836. package/build/bitbucket-client/models/RestPullRequestRebaseResult.d.ts +2 -0
  837. package/build/bitbucket-client/models/RestPullRequestRebaseResult.d.ts.map +1 -0
  838. package/build/bitbucket-client/models/RestPullRequestRebaseResult.js +2 -0
  839. package/build/bitbucket-client/models/RestPullRequestRebaseResult.js.map +1 -0
  840. package/build/bitbucket-client/models/RestPullRequestRebaseability.d.ts +2 -0
  841. package/build/bitbucket-client/models/RestPullRequestRebaseability.d.ts.map +1 -0
  842. package/build/bitbucket-client/models/RestPullRequestRebaseability.js +2 -0
  843. package/build/bitbucket-client/models/RestPullRequestRebaseability.js.map +1 -0
  844. package/build/bitbucket-client/models/RestPullRequestRef.d.ts +2 -0
  845. package/build/bitbucket-client/models/RestPullRequestRef.d.ts.map +1 -0
  846. package/build/bitbucket-client/models/RestPullRequestRef.js +2 -0
  847. package/build/bitbucket-client/models/RestPullRequestRef.js.map +1 -0
  848. package/build/bitbucket-client/models/RestPullRequestReopenRequest.d.ts +4 -0
  849. package/build/bitbucket-client/models/RestPullRequestReopenRequest.d.ts.map +1 -0
  850. package/build/bitbucket-client/models/RestPullRequestReopenRequest.js +2 -0
  851. package/build/bitbucket-client/models/RestPullRequestReopenRequest.js.map +1 -0
  852. package/build/bitbucket-client/models/RestPullRequestSettings.d.ts +2 -0
  853. package/build/bitbucket-client/models/RestPullRequestSettings.d.ts.map +1 -0
  854. package/build/bitbucket-client/models/RestPullRequestSettings.js +2 -0
  855. package/build/bitbucket-client/models/RestPullRequestSettings.js.map +1 -0
  856. package/build/bitbucket-client/models/RestPullRequestSuggestion.d.ts +2 -0
  857. package/build/bitbucket-client/models/RestPullRequestSuggestion.d.ts.map +1 -0
  858. package/build/bitbucket-client/models/RestPullRequestSuggestion.js +2 -0
  859. package/build/bitbucket-client/models/RestPullRequestSuggestion.js.map +1 -0
  860. package/build/bitbucket-client/models/RestPushRefChange.d.ts +2 -0
  861. package/build/bitbucket-client/models/RestPushRefChange.d.ts.map +1 -0
  862. package/build/bitbucket-client/models/RestPushRefChange.js +2 -0
  863. package/build/bitbucket-client/models/RestPushRefChange.js.map +1 -0
  864. package/build/bitbucket-client/models/RestRateLimitSettings.d.ts +2 -0
  865. package/build/bitbucket-client/models/RestRateLimitSettings.d.ts.map +1 -0
  866. package/build/bitbucket-client/models/RestRateLimitSettings.js +2 -0
  867. package/build/bitbucket-client/models/RestRateLimitSettings.js.map +1 -0
  868. package/build/bitbucket-client/models/RestRawAccessToken.d.ts +2 -0
  869. package/build/bitbucket-client/models/RestRawAccessToken.d.ts.map +1 -0
  870. package/build/bitbucket-client/models/RestRawAccessToken.js +2 -0
  871. package/build/bitbucket-client/models/RestRawAccessToken.js.map +1 -0
  872. package/build/bitbucket-client/models/RestRefChange.d.ts +2 -0
  873. package/build/bitbucket-client/models/RestRefChange.d.ts.map +1 -0
  874. package/build/bitbucket-client/models/RestRefChange.js +2 -0
  875. package/build/bitbucket-client/models/RestRefChange.js.map +1 -0
  876. package/build/bitbucket-client/models/RestRefMatcher.d.ts +2 -0
  877. package/build/bitbucket-client/models/RestRefMatcher.d.ts.map +1 -0
  878. package/build/bitbucket-client/models/RestRefMatcher.js +2 -0
  879. package/build/bitbucket-client/models/RestRefMatcher.js.map +1 -0
  880. package/build/bitbucket-client/models/RestRefMatcherType.d.ts +2 -0
  881. package/build/bitbucket-client/models/RestRefMatcherType.d.ts.map +1 -0
  882. package/build/bitbucket-client/models/RestRefMatcherType.js +2 -0
  883. package/build/bitbucket-client/models/RestRefMatcherType.js.map +1 -0
  884. package/build/bitbucket-client/models/RestRefRestriction.d.ts +2 -0
  885. package/build/bitbucket-client/models/RestRefRestriction.d.ts.map +1 -0
  886. package/build/bitbucket-client/models/RestRefRestriction.js +2 -0
  887. package/build/bitbucket-client/models/RestRefRestriction.js.map +1 -0
  888. package/build/bitbucket-client/models/RestRefSyncQueue.d.ts +5 -0
  889. package/build/bitbucket-client/models/RestRefSyncQueue.d.ts.map +1 -0
  890. package/build/bitbucket-client/models/RestRefSyncQueue.js +2 -0
  891. package/build/bitbucket-client/models/RestRefSyncQueue.js.map +1 -0
  892. package/build/bitbucket-client/models/RestRefSyncRequest.d.ts +14 -0
  893. package/build/bitbucket-client/models/RestRefSyncRequest.d.ts.map +1 -0
  894. package/build/bitbucket-client/models/RestRefSyncRequest.js +10 -0
  895. package/build/bitbucket-client/models/RestRefSyncRequest.js.map +1 -0
  896. package/build/bitbucket-client/models/RestRefSyncStatus.d.ts +2 -0
  897. package/build/bitbucket-client/models/RestRefSyncStatus.d.ts.map +1 -0
  898. package/build/bitbucket-client/models/RestRefSyncStatus.js +2 -0
  899. package/build/bitbucket-client/models/RestRefSyncStatus.js.map +1 -0
  900. package/build/bitbucket-client/models/RestRejectedRef.d.ts +2 -0
  901. package/build/bitbucket-client/models/RestRejectedRef.d.ts.map +1 -0
  902. package/build/bitbucket-client/models/RestRejectedRef.js +2 -0
  903. package/build/bitbucket-client/models/RestRejectedRef.js.map +1 -0
  904. package/build/bitbucket-client/models/RestRelatedLinks.d.ts +2 -0
  905. package/build/bitbucket-client/models/RestRelatedLinks.d.ts.map +1 -0
  906. package/build/bitbucket-client/models/RestRelatedLinks.js +2 -0
  907. package/build/bitbucket-client/models/RestRelatedLinks.js.map +1 -0
  908. package/build/bitbucket-client/models/RestRepositoriesExportRequest.d.ts +5 -0
  909. package/build/bitbucket-client/models/RestRepositoriesExportRequest.d.ts.map +1 -0
  910. package/build/bitbucket-client/models/RestRepositoriesExportRequest.js +2 -0
  911. package/build/bitbucket-client/models/RestRepositoriesExportRequest.js.map +1 -0
  912. package/build/bitbucket-client/models/RestRepository.d.ts +2 -0
  913. package/build/bitbucket-client/models/RestRepository.d.ts.map +1 -0
  914. package/build/bitbucket-client/models/RestRepository.js +2 -0
  915. package/build/bitbucket-client/models/RestRepository.js.map +1 -0
  916. package/build/bitbucket-client/models/RestRepositoryHook.d.ts +2 -0
  917. package/build/bitbucket-client/models/RestRepositoryHook.d.ts.map +1 -0
  918. package/build/bitbucket-client/models/RestRepositoryHook.js +2 -0
  919. package/build/bitbucket-client/models/RestRepositoryHook.js.map +1 -0
  920. package/build/bitbucket-client/models/RestRepositoryHookVeto.d.ts +2 -0
  921. package/build/bitbucket-client/models/RestRepositoryHookVeto.d.ts.map +1 -0
  922. package/build/bitbucket-client/models/RestRepositoryHookVeto.js +2 -0
  923. package/build/bitbucket-client/models/RestRepositoryHookVeto.js.map +1 -0
  924. package/build/bitbucket-client/models/RestRepositoryLockOwner.d.ts +2 -0
  925. package/build/bitbucket-client/models/RestRepositoryLockOwner.d.ts.map +1 -0
  926. package/build/bitbucket-client/models/RestRepositoryLockOwner.js +2 -0
  927. package/build/bitbucket-client/models/RestRepositoryLockOwner.js.map +1 -0
  928. package/build/bitbucket-client/models/RestRepositoryMirrorEvent.d.ts +12 -0
  929. package/build/bitbucket-client/models/RestRepositoryMirrorEvent.d.ts.map +1 -0
  930. package/build/bitbucket-client/models/RestRepositoryMirrorEvent.js +9 -0
  931. package/build/bitbucket-client/models/RestRepositoryMirrorEvent.js.map +1 -0
  932. package/build/bitbucket-client/models/RestRepositoryPolicy.d.ts +2 -0
  933. package/build/bitbucket-client/models/RestRepositoryPolicy.d.ts.map +1 -0
  934. package/build/bitbucket-client/models/RestRepositoryPolicy.js +2 -0
  935. package/build/bitbucket-client/models/RestRepositoryPolicy.js.map +1 -0
  936. package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.d.ts +2 -0
  937. package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.d.ts.map +1 -0
  938. package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.js +2 -0
  939. package/build/bitbucket-client/models/RestRepositoryPullRequestSettings.js.map +1 -0
  940. package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.d.ts +2 -0
  941. package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.d.ts.map +1 -0
  942. package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.js +2 -0
  943. package/build/bitbucket-client/models/RestRepositoryRefChangeActivity.js.map +1 -0
  944. package/build/bitbucket-client/models/RestRepositorySelector.d.ts +5 -0
  945. package/build/bitbucket-client/models/RestRepositorySelector.d.ts.map +1 -0
  946. package/build/bitbucket-client/models/RestRepositorySelector.js +2 -0
  947. package/build/bitbucket-client/models/RestRepositorySelector.js.map +1 -0
  948. package/build/bitbucket-client/models/RestRequiredBuildCondition.d.ts +2 -0
  949. package/build/bitbucket-client/models/RestRequiredBuildCondition.d.ts.map +1 -0
  950. package/build/bitbucket-client/models/RestRequiredBuildCondition.js +2 -0
  951. package/build/bitbucket-client/models/RestRequiredBuildCondition.js.map +1 -0
  952. package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.d.ts +26 -0
  953. package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.d.ts.map +1 -0
  954. package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.js +12 -0
  955. package/build/bitbucket-client/models/RestRequiredBuildConditionSetRequest.js.map +1 -0
  956. package/build/bitbucket-client/models/RestRestrictionRequest.d.ts +39 -0
  957. package/build/bitbucket-client/models/RestRestrictionRequest.d.ts.map +1 -0
  958. package/build/bitbucket-client/models/RestRestrictionRequest.js +18 -0
  959. package/build/bitbucket-client/models/RestRestrictionRequest.js.map +1 -0
  960. package/build/bitbucket-client/models/RestReviewerGroup.d.ts +2 -0
  961. package/build/bitbucket-client/models/RestReviewerGroup.d.ts.map +1 -0
  962. package/build/bitbucket-client/models/RestReviewerGroup.js +2 -0
  963. package/build/bitbucket-client/models/RestReviewerGroup.js.map +1 -0
  964. package/build/bitbucket-client/models/RestRollingUpgradeState.d.ts +2 -0
  965. package/build/bitbucket-client/models/RestRollingUpgradeState.d.ts.map +1 -0
  966. package/build/bitbucket-client/models/RestRollingUpgradeState.js +2 -0
  967. package/build/bitbucket-client/models/RestRollingUpgradeState.js.map +1 -0
  968. package/build/bitbucket-client/models/RestScope.d.ts +2 -0
  969. package/build/bitbucket-client/models/RestScope.d.ts.map +1 -0
  970. package/build/bitbucket-client/models/RestScope.js +2 -0
  971. package/build/bitbucket-client/models/RestScope.js.map +1 -0
  972. package/build/bitbucket-client/models/RestScopesExample.d.ts +2 -0
  973. package/build/bitbucket-client/models/RestScopesExample.d.ts.map +1 -0
  974. package/build/bitbucket-client/models/RestScopesExample.js +2 -0
  975. package/build/bitbucket-client/models/RestScopesExample.js.map +1 -0
  976. package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.d.ts +2 -0
  977. package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.d.ts.map +1 -0
  978. package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.js +2 -0
  979. package/build/bitbucket-client/models/RestSecretScanningAllowlistRule.js.map +1 -0
  980. package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.d.ts +15 -0
  981. package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.d.ts.map +1 -0
  982. package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.js +2 -0
  983. package/build/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.js.map +1 -0
  984. package/build/bitbucket-client/models/RestSecretScanningRule.d.ts +2 -0
  985. package/build/bitbucket-client/models/RestSecretScanningRule.d.ts.map +1 -0
  986. package/build/bitbucket-client/models/RestSecretScanningRule.js +2 -0
  987. package/build/bitbucket-client/models/RestSecretScanningRule.js.map +1 -0
  988. package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.d.ts +15 -0
  989. package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.d.ts.map +1 -0
  990. package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.js +2 -0
  991. package/build/bitbucket-client/models/RestSecretScanningRuleSetRequest.js.map +1 -0
  992. package/build/bitbucket-client/models/RestSetInsightReportRequest.d.ts +13 -0
  993. package/build/bitbucket-client/models/RestSetInsightReportRequest.d.ts.map +1 -0
  994. package/build/bitbucket-client/models/RestSetInsightReportRequest.js +2 -0
  995. package/build/bitbucket-client/models/RestSetInsightReportRequest.js.map +1 -0
  996. package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.d.ts +10 -0
  997. package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.d.ts.map +1 -0
  998. package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.js +2 -0
  999. package/build/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.js.map +1 -0
  1000. package/build/bitbucket-client/models/RestSshAccessKey.d.ts +2 -0
  1001. package/build/bitbucket-client/models/RestSshAccessKey.d.ts.map +1 -0
  1002. package/build/bitbucket-client/models/RestSshAccessKey.js +2 -0
  1003. package/build/bitbucket-client/models/RestSshAccessKey.js.map +1 -0
  1004. package/build/bitbucket-client/models/RestSshAccessKeyLocations.d.ts +7 -0
  1005. package/build/bitbucket-client/models/RestSshAccessKeyLocations.d.ts.map +1 -0
  1006. package/build/bitbucket-client/models/RestSshAccessKeyLocations.js +2 -0
  1007. package/build/bitbucket-client/models/RestSshAccessKeyLocations.js.map +1 -0
  1008. package/build/bitbucket-client/models/RestSshCredentials.d.ts +12 -0
  1009. package/build/bitbucket-client/models/RestSshCredentials.d.ts.map +1 -0
  1010. package/build/bitbucket-client/models/RestSshCredentials.js +2 -0
  1011. package/build/bitbucket-client/models/RestSshCredentials.js.map +1 -0
  1012. package/build/bitbucket-client/models/RestSshKey.d.ts +2 -0
  1013. package/build/bitbucket-client/models/RestSshKey.d.ts.map +1 -0
  1014. package/build/bitbucket-client/models/RestSshKey.js +2 -0
  1015. package/build/bitbucket-client/models/RestSshKey.js.map +1 -0
  1016. package/build/bitbucket-client/models/RestSshKeySettings.d.ts +2 -0
  1017. package/build/bitbucket-client/models/RestSshKeySettings.d.ts.map +1 -0
  1018. package/build/bitbucket-client/models/RestSshKeySettings.js +2 -0
  1019. package/build/bitbucket-client/models/RestSshKeySettings.js.map +1 -0
  1020. package/build/bitbucket-client/models/RestSshKeyTypeRestriction.d.ts +2 -0
  1021. package/build/bitbucket-client/models/RestSshKeyTypeRestriction.d.ts.map +1 -0
  1022. package/build/bitbucket-client/models/RestSshKeyTypeRestriction.js +2 -0
  1023. package/build/bitbucket-client/models/RestSshKeyTypeRestriction.js.map +1 -0
  1024. package/build/bitbucket-client/models/RestSshSettings.d.ts +2 -0
  1025. package/build/bitbucket-client/models/RestSshSettings.d.ts.map +1 -0
  1026. package/build/bitbucket-client/models/RestSshSettings.js +2 -0
  1027. package/build/bitbucket-client/models/RestSshSettings.js.map +1 -0
  1028. package/build/bitbucket-client/models/RestSyncProgress.d.ts +2 -0
  1029. package/build/bitbucket-client/models/RestSyncProgress.d.ts.map +1 -0
  1030. package/build/bitbucket-client/models/RestSyncProgress.js +2 -0
  1031. package/build/bitbucket-client/models/RestSyncProgress.js.map +1 -0
  1032. package/build/bitbucket-client/models/RestSystemSigningConfiguration.d.ts +2 -0
  1033. package/build/bitbucket-client/models/RestSystemSigningConfiguration.d.ts.map +1 -0
  1034. package/build/bitbucket-client/models/RestSystemSigningConfiguration.js +2 -0
  1035. package/build/bitbucket-client/models/RestSystemSigningConfiguration.js.map +1 -0
  1036. package/build/bitbucket-client/models/RestTag.d.ts +2 -0
  1037. package/build/bitbucket-client/models/RestTag.d.ts.map +1 -0
  1038. package/build/bitbucket-client/models/RestTag.js +2 -0
  1039. package/build/bitbucket-client/models/RestTag.js.map +1 -0
  1040. package/build/bitbucket-client/models/RestTestResults.d.ts +2 -0
  1041. package/build/bitbucket-client/models/RestTestResults.d.ts.map +1 -0
  1042. package/build/bitbucket-client/models/RestTestResults.js +2 -0
  1043. package/build/bitbucket-client/models/RestTestResults.js.map +1 -0
  1044. package/build/bitbucket-client/models/RestTokenBucketSettings.d.ts +2 -0
  1045. package/build/bitbucket-client/models/RestTokenBucketSettings.d.ts.map +1 -0
  1046. package/build/bitbucket-client/models/RestTokenBucketSettings.js +2 -0
  1047. package/build/bitbucket-client/models/RestTokenBucketSettings.js.map +1 -0
  1048. package/build/bitbucket-client/models/RestUpstreamServer.d.ts +2 -0
  1049. package/build/bitbucket-client/models/RestUpstreamServer.d.ts.map +1 -0
  1050. package/build/bitbucket-client/models/RestUpstreamServer.js +2 -0
  1051. package/build/bitbucket-client/models/RestUpstreamServer.js.map +1 -0
  1052. package/build/bitbucket-client/models/RestUpstreamSettings.d.ts +2 -0
  1053. package/build/bitbucket-client/models/RestUpstreamSettings.d.ts.map +1 -0
  1054. package/build/bitbucket-client/models/RestUpstreamSettings.js +2 -0
  1055. package/build/bitbucket-client/models/RestUpstreamSettings.js.map +1 -0
  1056. package/build/bitbucket-client/models/RestUserDirectory.d.ts +2 -0
  1057. package/build/bitbucket-client/models/RestUserDirectory.d.ts.map +1 -0
  1058. package/build/bitbucket-client/models/RestUserDirectory.js +2 -0
  1059. package/build/bitbucket-client/models/RestUserDirectory.js.map +1 -0
  1060. package/build/bitbucket-client/models/RestUserRateLimitSettings.d.ts +2 -0
  1061. package/build/bitbucket-client/models/RestUserRateLimitSettings.d.ts.map +1 -0
  1062. package/build/bitbucket-client/models/RestUserRateLimitSettings.js +2 -0
  1063. package/build/bitbucket-client/models/RestUserRateLimitSettings.js.map +1 -0
  1064. package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.d.ts +8 -0
  1065. package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.d.ts.map +1 -0
  1066. package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.js +2 -0
  1067. package/build/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.js.map +1 -0
  1068. package/build/bitbucket-client/models/RestUserReaction.d.ts +2 -0
  1069. package/build/bitbucket-client/models/RestUserReaction.d.ts.map +1 -0
  1070. package/build/bitbucket-client/models/RestUserReaction.js +2 -0
  1071. package/build/bitbucket-client/models/RestUserReaction.js.map +1 -0
  1072. package/build/bitbucket-client/models/RestUsernamePasswordCredentials.d.ts +5 -0
  1073. package/build/bitbucket-client/models/RestUsernamePasswordCredentials.d.ts.map +1 -0
  1074. package/build/bitbucket-client/models/RestUsernamePasswordCredentials.js +2 -0
  1075. package/build/bitbucket-client/models/RestUsernamePasswordCredentials.js.map +1 -0
  1076. package/build/bitbucket-client/models/RestWebhook.d.ts +2 -0
  1077. package/build/bitbucket-client/models/RestWebhook.d.ts.map +1 -0
  1078. package/build/bitbucket-client/models/RestWebhook.js +2 -0
  1079. package/build/bitbucket-client/models/RestWebhook.js.map +1 -0
  1080. package/build/bitbucket-client/models/RestWebhookCredentials.d.ts +2 -0
  1081. package/build/bitbucket-client/models/RestWebhookCredentials.d.ts.map +1 -0
  1082. package/build/bitbucket-client/models/RestWebhookCredentials.js +2 -0
  1083. package/build/bitbucket-client/models/RestWebhookCredentials.js.map +1 -0
  1084. package/build/bitbucket-client/models/RestWebhookRequestResponse.d.ts +2 -0
  1085. package/build/bitbucket-client/models/RestWebhookRequestResponse.d.ts.map +1 -0
  1086. package/build/bitbucket-client/models/RestWebhookRequestResponse.js +2 -0
  1087. package/build/bitbucket-client/models/RestWebhookRequestResponse.js.map +1 -0
  1088. package/build/bitbucket-client/models/RestWebhookScope.d.ts +2 -0
  1089. package/build/bitbucket-client/models/RestWebhookScope.d.ts.map +1 -0
  1090. package/build/bitbucket-client/models/RestWebhookScope.js +2 -0
  1091. package/build/bitbucket-client/models/RestWebhookScope.js.map +1 -0
  1092. package/build/bitbucket-client/models/RestX509Certificate.d.ts +2 -0
  1093. package/build/bitbucket-client/models/RestX509Certificate.d.ts.map +1 -0
  1094. package/build/bitbucket-client/models/RestX509Certificate.js +2 -0
  1095. package/build/bitbucket-client/models/RestX509Certificate.js.map +1 -0
  1096. package/build/bitbucket-client/models/Scope.d.ts +12 -0
  1097. package/build/bitbucket-client/models/Scope.d.ts.map +1 -0
  1098. package/build/bitbucket-client/models/Scope.js +10 -0
  1099. package/build/bitbucket-client/models/Scope.js.map +1 -0
  1100. package/build/bitbucket-client/models/SimpleSshKeyFingerprint.d.ts +2 -0
  1101. package/build/bitbucket-client/models/SimpleSshKeyFingerprint.d.ts.map +1 -0
  1102. package/build/bitbucket-client/models/SimpleSshKeyFingerprint.js +2 -0
  1103. package/build/bitbucket-client/models/SimpleSshKeyFingerprint.js.map +1 -0
  1104. package/build/bitbucket-client/models/SsoConfigEntity.d.ts +2 -0
  1105. package/build/bitbucket-client/models/SsoConfigEntity.d.ts.map +1 -0
  1106. package/build/bitbucket-client/models/SsoConfigEntity.js +2 -0
  1107. package/build/bitbucket-client/models/SsoConfigEntity.js.map +1 -0
  1108. package/build/bitbucket-client/models/SsoManagementStatusDTO.d.ts +2 -0
  1109. package/build/bitbucket-client/models/SsoManagementStatusDTO.d.ts.map +1 -0
  1110. package/build/bitbucket-client/models/SsoManagementStatusDTO.js +2 -0
  1111. package/build/bitbucket-client/models/SsoManagementStatusDTO.js.map +1 -0
  1112. package/build/bitbucket-client/models/StatusDTO.d.ts +2 -0
  1113. package/build/bitbucket-client/models/StatusDTO.d.ts.map +1 -0
  1114. package/build/bitbucket-client/models/StatusDTO.js +2 -0
  1115. package/build/bitbucket-client/models/StatusDTO.js.map +1 -0
  1116. package/build/bitbucket-client/models/TotpCodeVerificationDTO.d.ts +5 -0
  1117. package/build/bitbucket-client/models/TotpCodeVerificationDTO.d.ts.map +1 -0
  1118. package/build/bitbucket-client/models/TotpCodeVerificationDTO.js +2 -0
  1119. package/build/bitbucket-client/models/TotpCodeVerificationDTO.js.map +1 -0
  1120. package/build/bitbucket-client/models/TotpElevationRestDTO.d.ts +4 -0
  1121. package/build/bitbucket-client/models/TotpElevationRestDTO.d.ts.map +1 -0
  1122. package/build/bitbucket-client/models/TotpElevationRestDTO.js +2 -0
  1123. package/build/bitbucket-client/models/TotpElevationRestDTO.js.map +1 -0
  1124. package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.d.ts +5 -0
  1125. package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.d.ts.map +1 -0
  1126. package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.js +2 -0
  1127. package/build/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.js.map +1 -0
  1128. package/build/bitbucket-client/models/TotpRecoveryCodeDTO.d.ts +2 -0
  1129. package/build/bitbucket-client/models/TotpRecoveryCodeDTO.d.ts.map +1 -0
  1130. package/build/bitbucket-client/models/TotpRecoveryCodeDTO.js +2 -0
  1131. package/build/bitbucket-client/models/TotpRecoveryCodeDTO.js.map +1 -0
  1132. package/build/bitbucket-client/models/TotpUserEnrollmentDTO.d.ts +2 -0
  1133. package/build/bitbucket-client/models/TotpUserEnrollmentDTO.d.ts.map +1 -0
  1134. package/build/bitbucket-client/models/TotpUserEnrollmentDTO.js +2 -0
  1135. package/build/bitbucket-client/models/TotpUserEnrollmentDTO.js.map +1 -0
  1136. package/build/bitbucket-client/models/UserAndGroups.d.ts +5 -0
  1137. package/build/bitbucket-client/models/UserAndGroups.d.ts.map +1 -0
  1138. package/build/bitbucket-client/models/UserAndGroups.js +2 -0
  1139. package/build/bitbucket-client/models/UserAndGroups.js.map +1 -0
  1140. package/build/bitbucket-client/models/UserPasswordUpdate.d.ts +6 -0
  1141. package/build/bitbucket-client/models/UserPasswordUpdate.d.ts.map +1 -0
  1142. package/build/bitbucket-client/models/UserPasswordUpdate.js +2 -0
  1143. package/build/bitbucket-client/models/UserPasswordUpdate.js.map +1 -0
  1144. package/build/bitbucket-client/models/UserPickerContext.d.ts +5 -0
  1145. package/build/bitbucket-client/models/UserPickerContext.d.ts.map +1 -0
  1146. package/build/bitbucket-client/models/UserPickerContext.js +2 -0
  1147. package/build/bitbucket-client/models/UserPickerContext.js.map +1 -0
  1148. package/build/bitbucket-client/models/UserRename.d.ts +5 -0
  1149. package/build/bitbucket-client/models/UserRename.d.ts.map +1 -0
  1150. package/build/bitbucket-client/models/UserRename.js +2 -0
  1151. package/build/bitbucket-client/models/UserRename.js.map +1 -0
  1152. package/build/bitbucket-client/models/UserUpdate.d.ts +6 -0
  1153. package/build/bitbucket-client/models/UserUpdate.d.ts.map +1 -0
  1154. package/build/bitbucket-client/models/UserUpdate.js +2 -0
  1155. package/build/bitbucket-client/models/UserUpdate.js.map +1 -0
  1156. package/build/bitbucket-client/models/UserUpdateWithCredentials.d.ts +10 -0
  1157. package/build/bitbucket-client/models/UserUpdateWithCredentials.d.ts.map +1 -0
  1158. package/build/bitbucket-client/models/UserUpdateWithCredentials.js +2 -0
  1159. package/build/bitbucket-client/models/UserUpdateWithCredentials.js.map +1 -0
  1160. package/build/bitbucket-client/services/AuthenticationService.d.ts +684 -0
  1161. package/build/bitbucket-client/services/AuthenticationService.d.ts.map +1 -0
  1162. package/build/bitbucket-client/services/AuthenticationService.js +1381 -0
  1163. package/build/bitbucket-client/services/AuthenticationService.js.map +1 -0
  1164. package/build/bitbucket-client/services/BuildsAndDeploymentsService.d.ts +364 -0
  1165. package/build/bitbucket-client/services/BuildsAndDeploymentsService.d.ts.map +1 -0
  1166. package/build/bitbucket-client/services/BuildsAndDeploymentsService.js +705 -0
  1167. package/build/bitbucket-client/services/BuildsAndDeploymentsService.js.map +1 -0
  1168. package/build/bitbucket-client/services/CapabilitiesService.d.ts +19 -0
  1169. package/build/bitbucket-client/services/CapabilitiesService.d.ts.map +1 -0
  1170. package/build/bitbucket-client/services/CapabilitiesService.js +32 -0
  1171. package/build/bitbucket-client/services/CapabilitiesService.js.map +1 -0
  1172. package/build/bitbucket-client/services/DashboardService.d.ts +46 -0
  1173. package/build/bitbucket-client/services/DashboardService.d.ts.map +1 -0
  1174. package/build/bitbucket-client/services/DashboardService.js +63 -0
  1175. package/build/bitbucket-client/services/DashboardService.js.map +1 -0
  1176. package/build/bitbucket-client/services/DefaultService.d.ts +21 -0
  1177. package/build/bitbucket-client/services/DefaultService.d.ts.map +1 -0
  1178. package/build/bitbucket-client/services/DefaultService.js +37 -0
  1179. package/build/bitbucket-client/services/DefaultService.js.map +1 -0
  1180. package/build/bitbucket-client/services/DeprecatedService.d.ts +185 -0
  1181. package/build/bitbucket-client/services/DeprecatedService.d.ts.map +1 -0
  1182. package/build/bitbucket-client/services/DeprecatedService.js +338 -0
  1183. package/build/bitbucket-client/services/DeprecatedService.js.map +1 -0
  1184. package/build/bitbucket-client/services/JiraIntegrationService.d.ts +64 -0
  1185. package/build/bitbucket-client/services/JiraIntegrationService.d.ts.map +1 -0
  1186. package/build/bitbucket-client/services/JiraIntegrationService.js +102 -0
  1187. package/build/bitbucket-client/services/JiraIntegrationService.js.map +1 -0
  1188. package/build/bitbucket-client/services/MarkupService.d.ts +19 -0
  1189. package/build/bitbucket-client/services/MarkupService.d.ts.map +1 -0
  1190. package/build/bitbucket-client/services/MarkupService.js +36 -0
  1191. package/build/bitbucket-client/services/MarkupService.js.map +1 -0
  1192. package/build/bitbucket-client/services/MirroringMirrorService.d.ts +182 -0
  1193. package/build/bitbucket-client/services/MirroringMirrorService.d.ts.map +1 -0
  1194. package/build/bitbucket-client/services/MirroringMirrorService.js +375 -0
  1195. package/build/bitbucket-client/services/MirroringMirrorService.js.map +1 -0
  1196. package/build/bitbucket-client/services/MirroringUpstreamService.d.ts +215 -0
  1197. package/build/bitbucket-client/services/MirroringUpstreamService.d.ts.map +1 -0
  1198. package/build/bitbucket-client/services/MirroringUpstreamService.js +405 -0
  1199. package/build/bitbucket-client/services/MirroringUpstreamService.js.map +1 -0
  1200. package/build/bitbucket-client/services/PermissionManagementService.d.ts +713 -0
  1201. package/build/bitbucket-client/services/PermissionManagementService.d.ts.map +1 -0
  1202. package/build/bitbucket-client/services/PermissionManagementService.js +1210 -0
  1203. package/build/bitbucket-client/services/PermissionManagementService.js.map +1 -0
  1204. package/build/bitbucket-client/services/ProjectService.d.ts +1082 -0
  1205. package/build/bitbucket-client/services/ProjectService.d.ts.map +1 -0
  1206. package/build/bitbucket-client/services/ProjectService.js +2096 -0
  1207. package/build/bitbucket-client/services/ProjectService.js.map +1 -0
  1208. package/build/bitbucket-client/services/PullRequestsService.d.ts +1370 -0
  1209. package/build/bitbucket-client/services/PullRequestsService.d.ts.map +1 -0
  1210. package/build/bitbucket-client/services/PullRequestsService.js +2481 -0
  1211. package/build/bitbucket-client/services/PullRequestsService.js.map +1 -0
  1212. package/build/bitbucket-client/services/RepositoryService.d.ts +1734 -0
  1213. package/build/bitbucket-client/services/RepositoryService.d.ts.map +1 -0
  1214. package/build/bitbucket-client/services/RepositoryService.js +3228 -0
  1215. package/build/bitbucket-client/services/RepositoryService.js.map +1 -0
  1216. package/build/bitbucket-client/services/SecurityService.d.ts +542 -0
  1217. package/build/bitbucket-client/services/SecurityService.d.ts.map +1 -0
  1218. package/build/bitbucket-client/services/SecurityService.js +1049 -0
  1219. package/build/bitbucket-client/services/SecurityService.js.map +1 -0
  1220. package/build/bitbucket-client/services/SystemMaintenanceService.d.ts +1174 -0
  1221. package/build/bitbucket-client/services/SystemMaintenanceService.d.ts.map +1 -0
  1222. package/build/bitbucket-client/services/SystemMaintenanceService.js +1996 -0
  1223. package/build/bitbucket-client/services/SystemMaintenanceService.js.map +1 -0
  1224. package/build/bitbucket-response-mapper.d.ts +8 -0
  1225. package/build/bitbucket-response-mapper.d.ts.map +1 -0
  1226. package/build/bitbucket-response-mapper.js +102 -0
  1227. package/build/bitbucket-response-mapper.js.map +1 -0
  1228. package/build/bitbucket-service.d.ts +1655 -0
  1229. package/build/bitbucket-service.d.ts.map +1 -0
  1230. package/build/bitbucket-service.js +2186 -0
  1231. package/build/bitbucket-service.js.map +1 -0
  1232. package/build/config.d.ts +6 -0
  1233. package/build/config.d.ts.map +1 -0
  1234. package/build/config.js +22 -0
  1235. package/build/config.js.map +1 -0
  1236. package/build/inbox-pr-mapper.d.ts +39 -0
  1237. package/build/inbox-pr-mapper.d.ts.map +1 -0
  1238. package/build/inbox-pr-mapper.js +76 -0
  1239. package/build/inbox-pr-mapper.js.map +1 -0
  1240. package/build/index.d.ts +2 -0
  1241. package/build/index.d.ts.map +1 -0
  1242. package/build/index.js +332 -0
  1243. package/build/index.js.map +1 -0
  1244. package/build/pr-changes-mapper.d.ts +32 -0
  1245. package/build/pr-changes-mapper.d.ts.map +1 -0
  1246. package/build/pr-changes-mapper.js +111 -0
  1247. package/build/pr-changes-mapper.js.map +1 -0
  1248. package/build/pr-comment-mapper.d.ts +55 -0
  1249. package/build/pr-comment-mapper.d.ts.map +1 -0
  1250. package/build/pr-comment-mapper.js +182 -0
  1251. package/build/pr-comment-mapper.js.map +1 -0
  1252. package/build/setup.d.ts +2 -0
  1253. package/build/setup.d.ts.map +1 -0
  1254. package/build/setup.js +16 -0
  1255. package/build/setup.js.map +1 -0
  1256. package/jest.config.js +24 -0
  1257. package/package.json +53 -0
  1258. package/server.json +51 -0
  1259. package/src/__tests__/bitbucket-service.test.ts +4626 -0
  1260. package/src/__tests__/bitbucket-token-optimization.test.ts +429 -0
  1261. package/src/__tests__/config.test.ts +64 -0
  1262. package/src/__tests__/inbox-pr-mapper.test.ts +347 -0
  1263. package/src/__tests__/pr-changes-mapper.test.ts +420 -0
  1264. package/src/__tests__/pr-comment-mapper.test.ts +559 -0
  1265. package/src/bitbucket-client/core/ApiError.ts +26 -0
  1266. package/src/bitbucket-client/core/ApiRequestOptions.ts +17 -0
  1267. package/src/bitbucket-client/core/ApiResult.ts +11 -0
  1268. package/src/bitbucket-client/core/CancelablePromise.ts +131 -0
  1269. package/src/bitbucket-client/core/OpenAPI.ts +33 -0
  1270. package/src/bitbucket-client/core/request.ts +337 -0
  1271. package/src/bitbucket-client/index.ts +303 -0
  1272. package/src/bitbucket-client/models/AdminPasswordUpdate.ts +10 -0
  1273. package/src/bitbucket-client/models/ApplicationId.ts +5 -0
  1274. package/src/bitbucket-client/models/ApplicationUser.ts +7 -0
  1275. package/src/bitbucket-client/models/AuthenticationEntity.ts +13 -0
  1276. package/src/bitbucket-client/models/AuthenticationResponse.ts +7 -0
  1277. package/src/bitbucket-client/models/BasicAuthConfigEntity.ts +7 -0
  1278. package/src/bitbucket-client/models/CaptchaDataEntity.ts +7 -0
  1279. package/src/bitbucket-client/models/Comment.ts +38 -0
  1280. package/src/bitbucket-client/models/CommentOperations.ts +10 -0
  1281. package/src/bitbucket-client/models/CommentThread.ts +22 -0
  1282. package/src/bitbucket-client/models/CommentThreadDiffAnchor.ts +46 -0
  1283. package/src/bitbucket-client/models/Commentable.ts +5 -0
  1284. package/src/bitbucket-client/models/Context.ts +8 -0
  1285. package/src/bitbucket-client/models/ConversationDTO.ts +8 -0
  1286. package/src/bitbucket-client/models/Credentials.ts +10 -0
  1287. package/src/bitbucket-client/models/CredentialsCheckFailedDTO.ts +7 -0
  1288. package/src/bitbucket-client/models/DiffContentFilter.ts +5 -0
  1289. package/src/bitbucket-client/models/ElevationMethodRestDTO.ts +7 -0
  1290. package/src/bitbucket-client/models/EnrichedRepository.ts +7 -0
  1291. package/src/bitbucket-client/models/ErrorEntity.ts +7 -0
  1292. package/src/bitbucket-client/models/ExampleAvatarMultipartFormData.ts +11 -0
  1293. package/src/bitbucket-client/models/ExampleCertificateMultipartFormData.ts +11 -0
  1294. package/src/bitbucket-client/models/ExampleFiles.ts +7 -0
  1295. package/src/bitbucket-client/models/ExampleJsonLastModifiedCallback.ts +7 -0
  1296. package/src/bitbucket-client/models/ExampleMultipartFormData.ts +27 -0
  1297. package/src/bitbucket-client/models/ExamplePostMultipartFormData.ts +23 -0
  1298. package/src/bitbucket-client/models/ExamplePreviewMigration.ts +7 -0
  1299. package/src/bitbucket-client/models/ExamplePutMultipartFormData.ts +19 -0
  1300. package/src/bitbucket-client/models/ExampleRequirements.ts +7 -0
  1301. package/src/bitbucket-client/models/ExampleSettings.ts +7 -0
  1302. package/src/bitbucket-client/models/ExampleSettingsMap.ts +7 -0
  1303. package/src/bitbucket-client/models/ExampleSocketAddress.ts +7 -0
  1304. package/src/bitbucket-client/models/ExampleStatus.ts +7 -0
  1305. package/src/bitbucket-client/models/FileListResource.ts +7 -0
  1306. package/src/bitbucket-client/models/FilePart.ts +13 -0
  1307. package/src/bitbucket-client/models/Group.ts +7 -0
  1308. package/src/bitbucket-client/models/GroupAndUsers.ts +9 -0
  1309. package/src/bitbucket-client/models/GroupPickerContext.ts +9 -0
  1310. package/src/bitbucket-client/models/IdpConfigEntity.ts +7 -0
  1311. package/src/bitbucket-client/models/JitConfigEntity.ts +7 -0
  1312. package/src/bitbucket-client/models/JitUserEntity.ts +7 -0
  1313. package/src/bitbucket-client/models/LineNumberRange.ts +10 -0
  1314. package/src/bitbucket-client/models/LoginOptionEntity.ts +7 -0
  1315. package/src/bitbucket-client/models/MethodStateDTO.ts +7 -0
  1316. package/src/bitbucket-client/models/NextLoginStepDTO.ts +7 -0
  1317. package/src/bitbucket-client/models/OptionalBodyBeanParam.ts +5 -0
  1318. package/src/bitbucket-client/models/PageRequestImpl.ts +9 -0
  1319. package/src/bitbucket-client/models/PasswordElevationRestDTO.ts +8 -0
  1320. package/src/bitbucket-client/models/Project.ts +19 -0
  1321. package/src/bitbucket-client/models/PropertyMap.ts +7 -0
  1322. package/src/bitbucket-client/models/PullRequest.ts +36 -0
  1323. package/src/bitbucket-client/models/PullRequestParticipant.ts +28 -0
  1324. package/src/bitbucket-client/models/PullRequestRef.ts +15 -0
  1325. package/src/bitbucket-client/models/RefType.ts +7 -0
  1326. package/src/bitbucket-client/models/Repository.ts +36 -0
  1327. package/src/bitbucket-client/models/RepositoryHookDetails.ts +7 -0
  1328. package/src/bitbucket-client/models/RestAccessToken.ts +7 -0
  1329. package/src/bitbucket-client/models/RestAccessTokenRequest.ts +10 -0
  1330. package/src/bitbucket-client/models/RestAggregateRejectCounter.ts +7 -0
  1331. package/src/bitbucket-client/models/RestAnalyticsSettings.ts +7 -0
  1332. package/src/bitbucket-client/models/RestAnnouncementBanner.ts +7 -0
  1333. package/src/bitbucket-client/models/RestApplicationProperties.ts +7 -0
  1334. package/src/bitbucket-client/models/RestApplicationUser.ts +7 -0
  1335. package/src/bitbucket-client/models/RestApplicationUserWithPermissions.ts +7 -0
  1336. package/src/bitbucket-client/models/RestApplySuggestionRequest.ts +11 -0
  1337. package/src/bitbucket-client/models/RestAttachmentMetadata.ts +7 -0
  1338. package/src/bitbucket-client/models/RestAuthenticationRequest.ts +11 -0
  1339. package/src/bitbucket-client/models/RestAutoDeclineSettings.ts +7 -0
  1340. package/src/bitbucket-client/models/RestAutoDeclineSettingsRequest.ts +9 -0
  1341. package/src/bitbucket-client/models/RestAutoMergeProcessingResult.ts +7 -0
  1342. package/src/bitbucket-client/models/RestAutoMergeProjectSettingsRequest.ts +16 -0
  1343. package/src/bitbucket-client/models/RestAutoMergeRequest.ts +7 -0
  1344. package/src/bitbucket-client/models/RestAutoMergeRestrictedSettings.ts +7 -0
  1345. package/src/bitbucket-client/models/RestAutoMergeSettingsRequest.ts +8 -0
  1346. package/src/bitbucket-client/models/RestBearerTokenCredentials.ts +8 -0
  1347. package/src/bitbucket-client/models/RestBitbucketLicense.ts +7 -0
  1348. package/src/bitbucket-client/models/RestBranch.ts +7 -0
  1349. package/src/bitbucket-client/models/RestBranchCreateRequest.ts +15 -0
  1350. package/src/bitbucket-client/models/RestBranchDeleteRequest.ts +19 -0
  1351. package/src/bitbucket-client/models/RestBuildCapabilities.ts +7 -0
  1352. package/src/bitbucket-client/models/RestBuildStats.ts +7 -0
  1353. package/src/bitbucket-client/models/RestBuildStatus.ts +7 -0
  1354. package/src/bitbucket-client/models/RestBuildStatusSetRequest.ts +31 -0
  1355. package/src/bitbucket-client/models/RestBulkAddInsightAnnotationRequest.ts +10 -0
  1356. package/src/bitbucket-client/models/RestBulkUserRateLimitSettingsUpdateRequest.ts +13 -0
  1357. package/src/bitbucket-client/models/RestChange.ts +7 -0
  1358. package/src/bitbucket-client/models/RestChangeset.ts +7 -0
  1359. package/src/bitbucket-client/models/RestClusterInformation.ts +7 -0
  1360. package/src/bitbucket-client/models/RestClusterNode.ts +7 -0
  1361. package/src/bitbucket-client/models/RestComment.ts +7 -0
  1362. package/src/bitbucket-client/models/RestCommentJiraIssue.ts +7 -0
  1363. package/src/bitbucket-client/models/RestCommentThreadDiffAnchor.ts +7 -0
  1364. package/src/bitbucket-client/models/RestCommit.ts +7 -0
  1365. package/src/bitbucket-client/models/RestCommitMessageSuggestion.ts +7 -0
  1366. package/src/bitbucket-client/models/RestConflict.ts +7 -0
  1367. package/src/bitbucket-client/models/RestConflictChange.ts +7 -0
  1368. package/src/bitbucket-client/models/RestConnectivitySummary.ts +7 -0
  1369. package/src/bitbucket-client/models/RestCreateBranchRequest.ts +10 -0
  1370. package/src/bitbucket-client/models/RestCreateTagRequest.ts +10 -0
  1371. package/src/bitbucket-client/models/RestDefaultBranch.ts +8 -0
  1372. package/src/bitbucket-client/models/RestDefaultReviewersRequest.ts +38 -0
  1373. package/src/bitbucket-client/models/RestDefaultTask.ts +7 -0
  1374. package/src/bitbucket-client/models/RestDefaultTaskRequest.ts +33 -0
  1375. package/src/bitbucket-client/models/RestDelayedSyncRepository.ts +10 -0
  1376. package/src/bitbucket-client/models/RestDeployment.ts +7 -0
  1377. package/src/bitbucket-client/models/RestDeploymentEnvironment.ts +7 -0
  1378. package/src/bitbucket-client/models/RestDeploymentSetRequest.ts +28 -0
  1379. package/src/bitbucket-client/models/RestDetailedGroup.ts +7 -0
  1380. package/src/bitbucket-client/models/RestDetailedInvocation.ts +7 -0
  1381. package/src/bitbucket-client/models/RestDetailedUser.ts +7 -0
  1382. package/src/bitbucket-client/models/RestDiff.ts +7 -0
  1383. package/src/bitbucket-client/models/RestDiffHunk.ts +7 -0
  1384. package/src/bitbucket-client/models/RestDiffLine.ts +7 -0
  1385. package/src/bitbucket-client/models/RestDiffSegment.ts +7 -0
  1386. package/src/bitbucket-client/models/RestDiffStatsSummary.ts +7 -0
  1387. package/src/bitbucket-client/models/RestEmoticon.ts +7 -0
  1388. package/src/bitbucket-client/models/RestEnhancedEntityLink.ts +7 -0
  1389. package/src/bitbucket-client/models/RestErasedUser.ts +7 -0
  1390. package/src/bitbucket-client/models/RestErrorMessage.ts +7 -0
  1391. package/src/bitbucket-client/models/RestErrors.ts +7 -0
  1392. package/src/bitbucket-client/models/RestExportRequest.ts +13 -0
  1393. package/src/bitbucket-client/models/RestFarmSynchronizationRequest.ts +17 -0
  1394. package/src/bitbucket-client/models/RestGitTagCreateRequest.ts +18 -0
  1395. package/src/bitbucket-client/models/RestGpgKey.ts +7 -0
  1396. package/src/bitbucket-client/models/RestGpgSubKey.ts +7 -0
  1397. package/src/bitbucket-client/models/RestHookScript.ts +7 -0
  1398. package/src/bitbucket-client/models/RestHookScriptConfig.ts +7 -0
  1399. package/src/bitbucket-client/models/RestHookScriptTriggers.ts +8 -0
  1400. package/src/bitbucket-client/models/RestImportRequest.ts +8 -0
  1401. package/src/bitbucket-client/models/RestInsightAnnotation.ts +7 -0
  1402. package/src/bitbucket-client/models/RestInsightAnnotationsResponse.ts +7 -0
  1403. package/src/bitbucket-client/models/RestInsightReport.ts +7 -0
  1404. package/src/bitbucket-client/models/RestInsightReportData.ts +7 -0
  1405. package/src/bitbucket-client/models/RestInvocationHistory.ts +7 -0
  1406. package/src/bitbucket-client/models/RestInvocationRequest.ts +7 -0
  1407. package/src/bitbucket-client/models/RestInvocationResult.ts +7 -0
  1408. package/src/bitbucket-client/models/RestJiraIssue.ts +9 -0
  1409. package/src/bitbucket-client/models/RestJob.ts +7 -0
  1410. package/src/bitbucket-client/models/RestJobMessage.ts +7 -0
  1411. package/src/bitbucket-client/models/RestLabel.ts +7 -0
  1412. package/src/bitbucket-client/models/RestLabelable.ts +7 -0
  1413. package/src/bitbucket-client/models/RestLogLevel.ts +7 -0
  1414. package/src/bitbucket-client/models/RestLoggingSettings.ts +7 -0
  1415. package/src/bitbucket-client/models/RestMailConfiguration.ts +7 -0
  1416. package/src/bitbucket-client/models/RestMarkup.ts +7 -0
  1417. package/src/bitbucket-client/models/RestMeshConnectivityReport.ts +7 -0
  1418. package/src/bitbucket-client/models/RestMeshMigrationQueueStateCounts.ts +7 -0
  1419. package/src/bitbucket-client/models/RestMeshMigrationRequest.ts +14 -0
  1420. package/src/bitbucket-client/models/RestMeshMigrationSummary.ts +7 -0
  1421. package/src/bitbucket-client/models/RestMeshNode.ts +7 -0
  1422. package/src/bitbucket-client/models/RestMigrationRepository.ts +7 -0
  1423. package/src/bitbucket-client/models/RestMinimalCommit.ts +7 -0
  1424. package/src/bitbucket-client/models/RestMinimalRef.ts +7 -0
  1425. package/src/bitbucket-client/models/RestMirrorHashes.ts +7 -0
  1426. package/src/bitbucket-client/models/RestMirrorRepositorySynchronizationStatus.ts +7 -0
  1427. package/src/bitbucket-client/models/RestMirrorServer.ts +7 -0
  1428. package/src/bitbucket-client/models/RestMirrorUpgradeRequest.ts +9 -0
  1429. package/src/bitbucket-client/models/RestMirroredRepository.ts +7 -0
  1430. package/src/bitbucket-client/models/RestMirroredRepositoryDescriptor.ts +7 -0
  1431. package/src/bitbucket-client/models/RestMirroringRequest.ts +7 -0
  1432. package/src/bitbucket-client/models/RestMultilineCommentMarker.ts +7 -0
  1433. package/src/bitbucket-client/models/RestMultilineCommentSpan.ts +7 -0
  1434. package/src/bitbucket-client/models/RestMultipleBuildStats.ts +7 -0
  1435. package/src/bitbucket-client/models/RestNamedLink.ts +7 -0
  1436. package/src/bitbucket-client/models/RestNode.ts +7 -0
  1437. package/src/bitbucket-client/models/RestNodeConnectivityReport.ts +7 -0
  1438. package/src/bitbucket-client/models/RestNodeConnectivitySummary.ts +7 -0
  1439. package/src/bitbucket-client/models/RestPageIdpConfigEntity.ts +14 -0
  1440. package/src/bitbucket-client/models/RestPageLoginOptionEntity.ts +14 -0
  1441. package/src/bitbucket-client/models/RestPageRestChange.ts +7 -0
  1442. package/src/bitbucket-client/models/RestPath.ts +7 -0
  1443. package/src/bitbucket-client/models/RestPermitted.ts +7 -0
  1444. package/src/bitbucket-client/models/RestPermittedGroup.ts +7 -0
  1445. package/src/bitbucket-client/models/RestPermittedUser.ts +7 -0
  1446. package/src/bitbucket-client/models/RestPerson.ts +7 -0
  1447. package/src/bitbucket-client/models/RestProgress.ts +7 -0
  1448. package/src/bitbucket-client/models/RestProject.ts +7 -0
  1449. package/src/bitbucket-client/models/RestProjectSettingsRestriction.ts +7 -0
  1450. package/src/bitbucket-client/models/RestProjectSettingsRestrictionRequest.ts +10 -0
  1451. package/src/bitbucket-client/models/RestProperties.ts +7 -0
  1452. package/src/bitbucket-client/models/RestPullRequest.ts +7 -0
  1453. package/src/bitbucket-client/models/RestPullRequestActivity.ts +7 -0
  1454. package/src/bitbucket-client/models/RestPullRequestAssignParticipantRoleRequest.ts +30 -0
  1455. package/src/bitbucket-client/models/RestPullRequestAssignStatusRequest.ts +16 -0
  1456. package/src/bitbucket-client/models/RestPullRequestCommitMessageTemplate.ts +7 -0
  1457. package/src/bitbucket-client/models/RestPullRequestCondition.ts +7 -0
  1458. package/src/bitbucket-client/models/RestPullRequestDeclineRequest.ts +9 -0
  1459. package/src/bitbucket-client/models/RestPullRequestDeleteRequest.ts +8 -0
  1460. package/src/bitbucket-client/models/RestPullRequestFinishReviewRequest.ts +10 -0
  1461. package/src/bitbucket-client/models/RestPullRequestMergeConfig.ts +7 -0
  1462. package/src/bitbucket-client/models/RestPullRequestMergeRequest.ts +12 -0
  1463. package/src/bitbucket-client/models/RestPullRequestMergeStrategy.ts +7 -0
  1464. package/src/bitbucket-client/models/RestPullRequestMergeability.ts +7 -0
  1465. package/src/bitbucket-client/models/RestPullRequestParticipant.ts +7 -0
  1466. package/src/bitbucket-client/models/RestPullRequestRebaseRequest.ts +8 -0
  1467. package/src/bitbucket-client/models/RestPullRequestRebaseResult.ts +7 -0
  1468. package/src/bitbucket-client/models/RestPullRequestRebaseability.ts +7 -0
  1469. package/src/bitbucket-client/models/RestPullRequestRef.ts +7 -0
  1470. package/src/bitbucket-client/models/RestPullRequestReopenRequest.ts +8 -0
  1471. package/src/bitbucket-client/models/RestPullRequestSettings.ts +7 -0
  1472. package/src/bitbucket-client/models/RestPullRequestSuggestion.ts +7 -0
  1473. package/src/bitbucket-client/models/RestPushRefChange.ts +7 -0
  1474. package/src/bitbucket-client/models/RestRateLimitSettings.ts +7 -0
  1475. package/src/bitbucket-client/models/RestRawAccessToken.ts +7 -0
  1476. package/src/bitbucket-client/models/RestRefChange.ts +7 -0
  1477. package/src/bitbucket-client/models/RestRefMatcher.ts +7 -0
  1478. package/src/bitbucket-client/models/RestRefMatcherType.ts +7 -0
  1479. package/src/bitbucket-client/models/RestRefRestriction.ts +7 -0
  1480. package/src/bitbucket-client/models/RestRefSyncQueue.ts +10 -0
  1481. package/src/bitbucket-client/models/RestRefSyncRequest.ts +19 -0
  1482. package/src/bitbucket-client/models/RestRefSyncStatus.ts +7 -0
  1483. package/src/bitbucket-client/models/RestRejectedRef.ts +7 -0
  1484. package/src/bitbucket-client/models/RestRelatedLinks.ts +7 -0
  1485. package/src/bitbucket-client/models/RestRepositoriesExportRequest.ts +10 -0
  1486. package/src/bitbucket-client/models/RestRepository.ts +7 -0
  1487. package/src/bitbucket-client/models/RestRepositoryHook.ts +7 -0
  1488. package/src/bitbucket-client/models/RestRepositoryHookVeto.ts +7 -0
  1489. package/src/bitbucket-client/models/RestRepositoryLockOwner.ts +7 -0
  1490. package/src/bitbucket-client/models/RestRepositoryMirrorEvent.ts +16 -0
  1491. package/src/bitbucket-client/models/RestRepositoryPolicy.ts +7 -0
  1492. package/src/bitbucket-client/models/RestRepositoryPullRequestSettings.ts +7 -0
  1493. package/src/bitbucket-client/models/RestRepositoryRefChangeActivity.ts +7 -0
  1494. package/src/bitbucket-client/models/RestRepositorySelector.ts +9 -0
  1495. package/src/bitbucket-client/models/RestRequiredBuildCondition.ts +7 -0
  1496. package/src/bitbucket-client/models/RestRequiredBuildConditionSetRequest.ts +31 -0
  1497. package/src/bitbucket-client/models/RestRestrictionRequest.ts +44 -0
  1498. package/src/bitbucket-client/models/RestReviewerGroup.ts +7 -0
  1499. package/src/bitbucket-client/models/RestRollingUpgradeState.ts +7 -0
  1500. package/src/bitbucket-client/models/RestScope.ts +7 -0
  1501. package/src/bitbucket-client/models/RestScopesExample.ts +7 -0
  1502. package/src/bitbucket-client/models/RestSecretScanningAllowlistRule.ts +7 -0
  1503. package/src/bitbucket-client/models/RestSecretScanningAllowlistRuleSetRequest.ts +19 -0
  1504. package/src/bitbucket-client/models/RestSecretScanningRule.ts +7 -0
  1505. package/src/bitbucket-client/models/RestSecretScanningRuleSetRequest.ts +19 -0
  1506. package/src/bitbucket-client/models/RestSetInsightReportRequest.ts +18 -0
  1507. package/src/bitbucket-client/models/RestSingleAddInsightAnnotationRequest.ts +14 -0
  1508. package/src/bitbucket-client/models/RestSshAccessKey.ts +7 -0
  1509. package/src/bitbucket-client/models/RestSshAccessKeyLocations.ts +12 -0
  1510. package/src/bitbucket-client/models/RestSshCredentials.ts +16 -0
  1511. package/src/bitbucket-client/models/RestSshKey.ts +7 -0
  1512. package/src/bitbucket-client/models/RestSshKeySettings.ts +7 -0
  1513. package/src/bitbucket-client/models/RestSshKeyTypeRestriction.ts +7 -0
  1514. package/src/bitbucket-client/models/RestSshSettings.ts +7 -0
  1515. package/src/bitbucket-client/models/RestSyncProgress.ts +7 -0
  1516. package/src/bitbucket-client/models/RestSystemSigningConfiguration.ts +7 -0
  1517. package/src/bitbucket-client/models/RestTag.ts +7 -0
  1518. package/src/bitbucket-client/models/RestTestResults.ts +7 -0
  1519. package/src/bitbucket-client/models/RestTokenBucketSettings.ts +7 -0
  1520. package/src/bitbucket-client/models/RestUpstreamServer.ts +7 -0
  1521. package/src/bitbucket-client/models/RestUpstreamSettings.ts +7 -0
  1522. package/src/bitbucket-client/models/RestUserDirectory.ts +7 -0
  1523. package/src/bitbucket-client/models/RestUserRateLimitSettings.ts +7 -0
  1524. package/src/bitbucket-client/models/RestUserRateLimitSettingsUpdateRequest.ts +12 -0
  1525. package/src/bitbucket-client/models/RestUserReaction.ts +7 -0
  1526. package/src/bitbucket-client/models/RestUsernamePasswordCredentials.ts +9 -0
  1527. package/src/bitbucket-client/models/RestWebhook.ts +7 -0
  1528. package/src/bitbucket-client/models/RestWebhookCredentials.ts +7 -0
  1529. package/src/bitbucket-client/models/RestWebhookRequestResponse.ts +7 -0
  1530. package/src/bitbucket-client/models/RestWebhookScope.ts +7 -0
  1531. package/src/bitbucket-client/models/RestX509Certificate.ts +7 -0
  1532. package/src/bitbucket-client/models/Scope.ts +16 -0
  1533. package/src/bitbucket-client/models/SimpleSshKeyFingerprint.ts +7 -0
  1534. package/src/bitbucket-client/models/SsoConfigEntity.ts +7 -0
  1535. package/src/bitbucket-client/models/SsoManagementStatusDTO.ts +7 -0
  1536. package/src/bitbucket-client/models/StatusDTO.ts +7 -0
  1537. package/src/bitbucket-client/models/TotpCodeVerificationDTO.ts +9 -0
  1538. package/src/bitbucket-client/models/TotpElevationRestDTO.ts +8 -0
  1539. package/src/bitbucket-client/models/TotpRecoveryCodeAuthenticationDTO.ts +9 -0
  1540. package/src/bitbucket-client/models/TotpRecoveryCodeDTO.ts +7 -0
  1541. package/src/bitbucket-client/models/TotpUserEnrollmentDTO.ts +7 -0
  1542. package/src/bitbucket-client/models/UserAndGroups.ts +9 -0
  1543. package/src/bitbucket-client/models/UserPasswordUpdate.ts +10 -0
  1544. package/src/bitbucket-client/models/UserPickerContext.ts +9 -0
  1545. package/src/bitbucket-client/models/UserRename.ts +9 -0
  1546. package/src/bitbucket-client/models/UserUpdate.ts +10 -0
  1547. package/src/bitbucket-client/models/UserUpdateWithCredentials.ts +14 -0
  1548. package/src/bitbucket-client/services/AuthenticationService.ts +1652 -0
  1549. package/src/bitbucket-client/services/BuildsAndDeploymentsService.ts +849 -0
  1550. package/src/bitbucket-client/services/CapabilitiesService.ts +38 -0
  1551. package/src/bitbucket-client/services/DashboardService.ts +96 -0
  1552. package/src/bitbucket-client/services/DefaultService.ts +46 -0
  1553. package/src/bitbucket-client/services/DeprecatedService.ts +396 -0
  1554. package/src/bitbucket-client/services/JiraIntegrationService.ts +133 -0
  1555. package/src/bitbucket-client/services/MarkupService.ts +48 -0
  1556. package/src/bitbucket-client/services/MirroringMirrorService.ts +421 -0
  1557. package/src/bitbucket-client/services/MirroringUpstreamService.ts +487 -0
  1558. package/src/bitbucket-client/services/PermissionManagementService.ts +1484 -0
  1559. package/src/bitbucket-client/services/ProjectService.ts +2502 -0
  1560. package/src/bitbucket-client/services/PullRequestsService.ts +2997 -0
  1561. package/src/bitbucket-client/services/RepositoryService.ts +3944 -0
  1562. package/src/bitbucket-client/services/SecurityService.ts +1253 -0
  1563. package/src/bitbucket-client/services/SystemMaintenanceService.ts +2279 -0
  1564. package/src/bitbucket-response-mapper.ts +127 -0
  1565. package/src/bitbucket-service.ts +3069 -0
  1566. package/src/config.ts +29 -0
  1567. package/src/inbox-pr-mapper.ts +183 -0
  1568. package/src/index.ts +811 -0
  1569. package/src/pr-changes-mapper.ts +216 -0
  1570. package/src/pr-comment-mapper.ts +399 -0
  1571. package/src/setup.ts +15 -0
  1572. package/tsconfig.json +12 -0
  1573. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,2502 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ExampleAvatarMultipartFormData } from '../models/ExampleAvatarMultipartFormData.js';
6
+ import type { ExampleSettings } from '../models/ExampleSettings.js';
7
+ import type { RestApplicationUser } from '../models/RestApplicationUser.js';
8
+ import type { RestAutoDeclineSettings } from '../models/RestAutoDeclineSettings.js';
9
+ import type { RestAutoDeclineSettingsRequest } from '../models/RestAutoDeclineSettingsRequest.js';
10
+ import type { RestAutoMergeProjectSettingsRequest } from '../models/RestAutoMergeProjectSettingsRequest.js';
11
+ import type { RestAutoMergeRestrictedSettings } from '../models/RestAutoMergeRestrictedSettings.js';
12
+ import type { RestBranch } from '../models/RestBranch.js';
13
+ import type { RestDefaultTask } from '../models/RestDefaultTask.js';
14
+ import type { RestDefaultTaskRequest } from '../models/RestDefaultTaskRequest.js';
15
+ import type { RestDetailedGroup } from '../models/RestDetailedGroup.js';
16
+ import type { RestDetailedInvocation } from '../models/RestDetailedInvocation.js';
17
+ import type { RestHookScriptConfig } from '../models/RestHookScriptConfig.js';
18
+ import type { RestHookScriptTriggers } from '../models/RestHookScriptTriggers.js';
19
+ import type { RestInvocationHistory } from '../models/RestInvocationHistory.js';
20
+ import type { RestMinimalRef } from '../models/RestMinimalRef.js';
21
+ import type { RestPermitted } from '../models/RestPermitted.js';
22
+ import type { RestPermittedGroup } from '../models/RestPermittedGroup.js';
23
+ import type { RestPermittedUser } from '../models/RestPermittedUser.js';
24
+ import type { RestProject } from '../models/RestProject.js';
25
+ import type { RestProjectSettingsRestriction } from '../models/RestProjectSettingsRestriction.js';
26
+ import type { RestProjectSettingsRestrictionRequest } from '../models/RestProjectSettingsRestrictionRequest.js';
27
+ import type { RestPullRequestSettings } from '../models/RestPullRequestSettings.js';
28
+ import type { RestRefRestriction } from '../models/RestRefRestriction.js';
29
+ import type { RestRepository } from '../models/RestRepository.js';
30
+ import type { RestRepositoryHook } from '../models/RestRepositoryHook.js';
31
+ import type { RestRestrictionRequest } from '../models/RestRestrictionRequest.js';
32
+ import type { RestWebhook } from '../models/RestWebhook.js';
33
+ import type { RestWebhookCredentials } from '../models/RestWebhookCredentials.js';
34
+ import type { RestWebhookRequestResponse } from '../models/RestWebhookRequestResponse.js';
35
+ import type { CancelablePromise } from '../core/CancelablePromise.js';
36
+ import { OpenAPI } from '../core/OpenAPI.js';
37
+ import { request as __request } from '../core/request.js';
38
+ export class ProjectService {
39
+ /**
40
+ * Deletes all default tasks for the project
41
+ * Delete all the default tasks for the supplied project
42
+ *
43
+ * The authenticated user must have **PROJECT_ADMIN** permission for this project to call the resource.
44
+ * @param projectKey The project key.
45
+ * @returns void
46
+ * @throws ApiError
47
+ */
48
+ public static deleteAllDefaultTasks(
49
+ projectKey: string,
50
+ ): CancelablePromise<void> {
51
+ return __request(OpenAPI, {
52
+ method: 'DELETE',
53
+ url: '/default-tasks/latest/projects/{projectKey}/tasks',
54
+ path: {
55
+ 'projectKey': projectKey,
56
+ },
57
+ errors: {
58
+ 401: `The currently authenticated user has insufficient permissions to delete default tasks`,
59
+ 404: `The specified project does not exist`,
60
+ },
61
+ });
62
+ }
63
+ /**
64
+ * Get a page of default tasks
65
+ * Retrieves the default tasks for the supplied project.
66
+ *
67
+ * The authenticated user must have **PROJECT_VIEW** permission for this project to call the resource.
68
+ * @param projectKey The project key.
69
+ * @param markup If present or "true", includes a markup-rendered description
70
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
71
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
72
+ * @returns any A page of default tasks
73
+ * @throws ApiError
74
+ */
75
+ public static getDefaultTasks(
76
+ projectKey: string,
77
+ markup?: string,
78
+ start?: number,
79
+ limit?: number,
80
+ ): CancelablePromise<{
81
+ isLastPage?: boolean;
82
+ limit?: number;
83
+ nextPageStart?: number;
84
+ size?: number;
85
+ start?: number;
86
+ values?: Array<RestDefaultTask>;
87
+ }> {
88
+ return __request(OpenAPI, {
89
+ method: 'GET',
90
+ url: '/default-tasks/latest/projects/{projectKey}/tasks',
91
+ path: {
92
+ 'projectKey': projectKey,
93
+ },
94
+ query: {
95
+ 'markup': markup,
96
+ 'start': start,
97
+ 'limit': limit,
98
+ },
99
+ errors: {
100
+ 401: `The currently authenticated user has insufficient permissions to delete default tasks`,
101
+ 404: `The specified project does not exist`,
102
+ },
103
+ });
104
+ }
105
+ /**
106
+ * Add a default task
107
+ * Creates a default task for the project.
108
+ *
109
+ * The authenticated user must have **PROJECT_ADMIN** permission for this project to call the resource.
110
+ * @param projectKey The project key.
111
+ * @param requestBody The task to be added
112
+ * @returns RestDefaultTask The default task
113
+ * @throws ApiError
114
+ */
115
+ public static addDefaultTask(
116
+ projectKey: string,
117
+ requestBody: RestDefaultTaskRequest,
118
+ ): CancelablePromise<RestDefaultTask> {
119
+ return __request(OpenAPI, {
120
+ method: 'POST',
121
+ url: '/default-tasks/latest/projects/{projectKey}/tasks',
122
+ path: {
123
+ 'projectKey': projectKey,
124
+ },
125
+ body: requestBody,
126
+ mediaType: 'application/json',
127
+ errors: {
128
+ 400: `One or more of the following error cases occurred (check the error message for more details):
129
+ - the description is empty- the sourceMatcher or targetMatcher is invalid`,
130
+ 401: `The currently authenticated user has insufficient permissions to add a default task`,
131
+ 404: `The specified project does not exist`,
132
+ },
133
+ });
134
+ }
135
+ /**
136
+ * Delete a specific default task
137
+ * Delete a specific default task for a project.
138
+ *
139
+ * The authenticated user must have **PROJECT_ADMIN** permission for this project to call the resource.
140
+ * @param projectKey The project key.
141
+ * @param taskId The ID of the default task
142
+ * @returns void
143
+ * @throws ApiError
144
+ */
145
+ public static deleteDefaultTask(
146
+ projectKey: string,
147
+ taskId: string,
148
+ ): CancelablePromise<void> {
149
+ return __request(OpenAPI, {
150
+ method: 'DELETE',
151
+ url: '/default-tasks/latest/projects/{projectKey}/tasks/{taskId}',
152
+ path: {
153
+ 'projectKey': projectKey,
154
+ 'taskId': taskId,
155
+ },
156
+ errors: {
157
+ 401: `The currently authenticated user has insufficient permissions to delete default tasks`,
158
+ 404: `The specified project or task does not exist`,
159
+ },
160
+ });
161
+ }
162
+ /**
163
+ * Update a default task
164
+ * Updates a default task for the supplied project.
165
+ *
166
+ * The authenticated user must have **PROJECT_ADMIN** permission for this project to call the resource.
167
+ * @param projectKey The project key.
168
+ * @param taskId The ID of the default task
169
+ * @param requestBody The task to be updated
170
+ * @returns RestDefaultTask The default task
171
+ * @throws ApiError
172
+ */
173
+ public static updateDefaultTask(
174
+ projectKey: string,
175
+ taskId: string,
176
+ requestBody: RestDefaultTaskRequest,
177
+ ): CancelablePromise<RestDefaultTask> {
178
+ return __request(OpenAPI, {
179
+ method: 'PUT',
180
+ url: '/default-tasks/latest/projects/{projectKey}/tasks/{taskId}',
181
+ path: {
182
+ 'projectKey': projectKey,
183
+ 'taskId': taskId,
184
+ },
185
+ body: requestBody,
186
+ mediaType: 'application/json',
187
+ errors: {
188
+ 400: `One or more of the following error cases occurred (check the error message for more details):
189
+ - the provided taskId does not exist- the description is empty- the sourceMatcher or targetMatcher is invalid`,
190
+ 401: `The currently authenticated user has insufficient permissions to add a default task`,
191
+ 404: `The specified project does not exist`,
192
+ },
193
+ });
194
+ }
195
+ /**
196
+ * Search for ref restrictions
197
+ * Search for restrictions using the supplied parameters.
198
+ *
199
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission or higher to call this resource. Only authenticated users may call this resource.
200
+ * @param projectKey The project key.
201
+ * @param matcherType Matcher type to filter on
202
+ * @param matcherId Matcher id to filter on. Requires the matcherType parameter to be specified also.
203
+ * @param type Types of restrictions to filter on.
204
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
205
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
206
+ * @returns any A response containing a page of restrictions.
207
+ * @throws ApiError
208
+ */
209
+ public static getRestrictions(
210
+ projectKey: string,
211
+ matcherType?: 'BRANCH' | 'PATTERN' | 'MODEL_CATEGORY' | 'MODEL_BRANCH',
212
+ matcherId?: string,
213
+ type?: 'read-only' | 'no-deletes' | 'fast-forward-only' | 'pull-request-only' | 'no-creates',
214
+ start?: number,
215
+ limit?: number,
216
+ ): CancelablePromise<{
217
+ isLastPage?: boolean;
218
+ limit?: number;
219
+ nextPageStart?: number;
220
+ size?: number;
221
+ start?: number;
222
+ values?: Array<RestRefRestriction>;
223
+ }> {
224
+ return __request(OpenAPI, {
225
+ method: 'GET',
226
+ url: '/branch-permissions/latest/projects/{projectKey}/restrictions',
227
+ path: {
228
+ 'projectKey': projectKey,
229
+ },
230
+ query: {
231
+ 'matcherType': matcherType,
232
+ 'matcherId': matcherId,
233
+ 'type': type,
234
+ 'start': start,
235
+ 'limit': limit,
236
+ },
237
+ errors: {
238
+ 400: `The request has failed validation.`,
239
+ 401: `The currently authenticated user is not permitted to get restrictions on the provided project`,
240
+ 404: `No restriction exists for the provided ID.`,
241
+ },
242
+ });
243
+ }
244
+ /**
245
+ * Create multiple ref restrictions
246
+ * Allows creating multiple restrictions at once.
247
+ * @param projectKey The project key.
248
+ * @param requestBody The request containing a list of the details of the restrictions to create.
249
+ * @returns RestRefRestriction Response contains the ref restriction that was just created.
250
+ * @throws ApiError
251
+ */
252
+ public static createRestrictions(
253
+ projectKey: string,
254
+ requestBody?: Array<RestRestrictionRequest>,
255
+ ): CancelablePromise<RestRefRestriction> {
256
+ return __request(OpenAPI, {
257
+ method: 'POST',
258
+ url: '/branch-permissions/latest/projects/{projectKey}/restrictions',
259
+ path: {
260
+ 'projectKey': projectKey,
261
+ },
262
+ body: requestBody,
263
+ mediaType: 'application/vnd.atl.bitbucket.bulk+json',
264
+ errors: {
265
+ 400: `The request has failed validation.`,
266
+ 401: `The currently authenticated user has insufficient permissions to perform this operation.`,
267
+ },
268
+ });
269
+ }
270
+ /**
271
+ * Delete a ref restriction
272
+ * Deletes a restriction as specified by a restriction id.
273
+ *
274
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission or higher to call this resource. Only authenticated users may call this resource.
275
+ * @param projectKey The project key.
276
+ * @param id The restriction id.
277
+ * @returns void
278
+ * @throws ApiError
279
+ */
280
+ public static deleteRestriction(
281
+ projectKey: string,
282
+ id: string,
283
+ ): CancelablePromise<void> {
284
+ return __request(OpenAPI, {
285
+ method: 'DELETE',
286
+ url: '/branch-permissions/latest/projects/{projectKey}/restrictions/{id}',
287
+ path: {
288
+ 'projectKey': projectKey,
289
+ 'id': id,
290
+ },
291
+ errors: {
292
+ 400: `The request has failed validation.`,
293
+ 401: `The currently authenticated user is not permitted to delete restrictions on the provided project`,
294
+ },
295
+ });
296
+ }
297
+ /**
298
+ * Get a ref restriction
299
+ * Returns a restriction as specified by a restriction id.
300
+ *
301
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission or higher to call this resource. Only authenticated users may call this resource.
302
+ * @param projectKey The project key.
303
+ * @param id The restriction id.
304
+ * @returns RestRefRestriction A response containing the restriction.
305
+ * @throws ApiError
306
+ */
307
+ public static getRestriction(
308
+ projectKey: string,
309
+ id: string,
310
+ ): CancelablePromise<RestRefRestriction> {
311
+ return __request(OpenAPI, {
312
+ method: 'GET',
313
+ url: '/branch-permissions/latest/projects/{projectKey}/restrictions/{id}',
314
+ path: {
315
+ 'projectKey': projectKey,
316
+ 'id': id,
317
+ },
318
+ errors: {
319
+ 400: `The request has failed validation.`,
320
+ 401: `The currently authenticated user is not permitted to get restrictions on the provided project`,
321
+ 404: `No restriction exists for the provided ID.`,
322
+ },
323
+ });
324
+ }
325
+ /**
326
+ * Get project avatar
327
+ * Retrieve the avatar for the project matching the supplied <strong>moduleKey</strong>.
328
+ * @param hookKey The complete module key of the hook module.
329
+ * @param version (optional) Version used for HTTP caching only - any non-blank version will result in a large max-age Cache-Control header. Note that this does not affect the Last-Modified header.
330
+ * @returns any The avatar of the project matching the supplied <strong>moduleKey</strong>.
331
+ * @throws ApiError
332
+ */
333
+ public static getAvatar(
334
+ hookKey: string,
335
+ version?: string,
336
+ ): CancelablePromise<any> {
337
+ return __request(OpenAPI, {
338
+ method: 'GET',
339
+ url: '/api/latest/hooks/{hookKey}/avatar',
340
+ path: {
341
+ 'hookKey': hookKey,
342
+ },
343
+ query: {
344
+ 'version': version,
345
+ },
346
+ errors: {
347
+ 401: `The currently authenticated user has insufficient permissions to view the project.`,
348
+ 404: `The specified project does not exist.`,
349
+ },
350
+ });
351
+ }
352
+ /**
353
+ * Get projects
354
+ * Retrieve a page of projects.
355
+ *
356
+ * Only projects for which the authenticated user has the <strong>PROJECT_VIEW</strong> permission will be returned.
357
+ * @param name Name to filter by.
358
+ * @param permission Permission to filter by
359
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
360
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
361
+ * @returns any A page of projects.
362
+ * @throws ApiError
363
+ */
364
+ public static getProjects(
365
+ name?: string,
366
+ permission?: string,
367
+ start?: number,
368
+ limit?: number,
369
+ ): CancelablePromise<{
370
+ isLastPage?: boolean;
371
+ limit?: number;
372
+ nextPageStart?: number;
373
+ size?: number;
374
+ start?: number;
375
+ values?: Array<RestProject>;
376
+ }> {
377
+ return __request(OpenAPI, {
378
+ method: 'GET',
379
+ url: '/api/latest/projects',
380
+ query: {
381
+ 'name': name,
382
+ 'permission': permission,
383
+ 'start': start,
384
+ 'limit': limit,
385
+ },
386
+ errors: {
387
+ 400: `The permission level is unknown or not related to projects.`,
388
+ },
389
+ });
390
+ }
391
+ /**
392
+ * Create a new project
393
+ * Create a new project.
394
+ *
395
+ * To include a custom avatar for the project, the project definition should contain an additional attribute with the key <code>avatar</code> and the value a data URI containing Base64-encoded image data. The URI should be in the following format: <pre> data:(content type, e.g. image/png);base64,(data) </pre>If the data is not Base64-encoded, or if a character set is defined in the URI, or the URI is otherwise invalid, <em>project creation will fail</em>.
396
+ *
397
+ * The authenticated user must have <strong>PROJECT_CREATE</strong> permission to call this resource.
398
+ * @param requestBody The project.
399
+ * @returns RestProject The newly created project.
400
+ * @throws ApiError
401
+ */
402
+ public static createProject(
403
+ requestBody?: RestProject,
404
+ ): CancelablePromise<RestProject> {
405
+ return __request(OpenAPI, {
406
+ method: 'POST',
407
+ url: '/api/latest/projects',
408
+ body: requestBody,
409
+ mediaType: 'application/json',
410
+ errors: {
411
+ 400: `The currently authenticated user has insufficient permissions to update the project.`,
412
+ 401: `The currently authenticated user has insufficient permissions to create a project.`,
413
+ 409: `The project key or name is already in use.`,
414
+ },
415
+ });
416
+ }
417
+ /**
418
+ * Delete project
419
+ * Delete the project matching the supplied <strong>projectKey</strong>.
420
+ *
421
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
422
+ * @param projectKey The project key.
423
+ * @returns void
424
+ * @throws ApiError
425
+ */
426
+ public static deleteProject(
427
+ projectKey: string,
428
+ ): CancelablePromise<void> {
429
+ return __request(OpenAPI, {
430
+ method: 'DELETE',
431
+ url: '/api/latest/projects/{projectKey}',
432
+ path: {
433
+ 'projectKey': projectKey,
434
+ },
435
+ errors: {
436
+ 401: `The currently authenticated user has insufficient permissions to delete the project.`,
437
+ 404: `The specified project does not exist.`,
438
+ 409: `The project can not be deleted as it contains repositories.`,
439
+ },
440
+ });
441
+ }
442
+ /**
443
+ * Get a project
444
+ * Retrieve the project matching the supplied <strong>projectKey</strong>.
445
+ *
446
+ * The authenticated user must have <strong>PROJECT_VIEW</strong> permission for the specified project to call this resource.
447
+ * @param projectKey The project key.
448
+ * @returns RestProject The project matching the supplied <strong>projectKey</strong>.
449
+ * @throws ApiError
450
+ */
451
+ public static getProject(
452
+ projectKey: string,
453
+ ): CancelablePromise<RestProject> {
454
+ return __request(OpenAPI, {
455
+ method: 'GET',
456
+ url: '/api/latest/projects/{projectKey}',
457
+ path: {
458
+ 'projectKey': projectKey,
459
+ },
460
+ errors: {
461
+ 401: `The currently authenticated user has insufficient permissions to view the project.`,
462
+ 404: `The specified project does not exist.`,
463
+ },
464
+ });
465
+ }
466
+ /**
467
+ * Update project
468
+ * Update the project matching the <strong>projectKey</strong> supplied in the resource path.
469
+ *
470
+ * To include a custom avatar for the updated project, the project definition should contain an additional attribute with the key <code>avatar</code> and the value a data URI containing Base64-encoded image data. The URI should be in the following format:
471
+ * ``` data:(content type, e.g. image/png);base64,(data)```
472
+ *
473
+ * If the data is not Base64-encoded, or if a character set is defined in the URI, or the URI is otherwise invalid, <em>project creation will fail</em>.
474
+ *
475
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
476
+ * @param projectKey The project key.
477
+ * @param requestBody Project parameters to update.
478
+ * @returns RestProject The updated project. The project's key <strong>was not</strong> updated.
479
+ * @throws ApiError
480
+ */
481
+ public static updateProject(
482
+ projectKey: string,
483
+ requestBody?: RestProject,
484
+ ): CancelablePromise<RestProject> {
485
+ return __request(OpenAPI, {
486
+ method: 'PUT',
487
+ url: '/api/latest/projects/{projectKey}',
488
+ path: {
489
+ 'projectKey': projectKey,
490
+ },
491
+ body: requestBody,
492
+ mediaType: 'application/json',
493
+ errors: {
494
+ 400: `The project was not updated due to a validation error.`,
495
+ 401: `The currently authenticated user has insufficient permissions to update the project.`,
496
+ 404: `The specified project does not exist.`,
497
+ },
498
+ });
499
+ }
500
+ /**
501
+ * Get avatar for project
502
+ * Retrieve the avatar for the project matching the supplied <strong>projectKey</strong>.
503
+ *
504
+ * The authenticated user must have <strong>PROJECT_VIEW</strong> permission for the specified project to call this resource.
505
+ * @param projectKey The project key.
506
+ * @param s The desired size of the image. The server will return an image as close as possible to the specified size.
507
+ * @returns any The avatar of the project matching the supplied <strong>projectKey</strong>.
508
+ * @throws ApiError
509
+ */
510
+ public static getProjectAvatar(
511
+ projectKey: string,
512
+ s?: string,
513
+ ): CancelablePromise<any> {
514
+ return __request(OpenAPI, {
515
+ method: 'GET',
516
+ url: '/api/latest/projects/{projectKey}/avatar.png',
517
+ path: {
518
+ 'projectKey': projectKey,
519
+ },
520
+ query: {
521
+ 's': s,
522
+ },
523
+ errors: {
524
+ 401: `The currently authenticated user has insufficient permissions to view the project.`,
525
+ 404: `The specified project does not exist.`,
526
+ },
527
+ });
528
+ }
529
+ /**
530
+ * Update project avatar
531
+ * Update the avatar for the project matching the supplied <strong>projectKey</strong>.
532
+ *
533
+ * This resource accepts POST multipart form data, containing a single image in a form-field named 'avatar'.
534
+ *
535
+ * There are configurable server limits on both the dimensions (1024x1024 pixels by default) and uploaded file size (1MB by default). Several different image formats are supported, but <strong>PNG</strong> and <strong>JPEG</strong> are preferred due to the file size limit.
536
+ *
537
+ * This resource has Cross-Site Request Forgery (XSRF) protection. To allow the request to pass the XSRF check the caller needs to send an <code>X-Atlassian-Token</code> HTTP header with the value <code>no-check</code>.
538
+ *
539
+ * An example <a href="http://curl.haxx.se/">curl</a> request to upload an image name 'avatar.png' would be: ```curl -X POST -u username:password -H "X-Atlassian-Token: no-check" http://example.com/rest/api/1.0/projects/STASH/avatar.png -F avatar=@avatar.png ```
540
+ *
541
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
542
+ * @param projectKey The project key.
543
+ * @param formData The mutlipart form data containing the file.
544
+ * @returns any The avatar was uploaded successfully.
545
+ * @throws ApiError
546
+ */
547
+ public static uploadAvatar(
548
+ projectKey: string,
549
+ formData?: ExampleAvatarMultipartFormData,
550
+ ): CancelablePromise<any> {
551
+ return __request(OpenAPI, {
552
+ method: 'POST',
553
+ url: '/api/latest/projects/{projectKey}/avatar.png',
554
+ path: {
555
+ 'projectKey': projectKey,
556
+ },
557
+ formData: formData,
558
+ mediaType: 'multipart/form-data',
559
+ errors: {
560
+ 401: `The currently authenticated user has insufficient permissions to update the project.`,
561
+ 404: `The specified project does not exist.`,
562
+ },
563
+ });
564
+ }
565
+ /**
566
+ * Get configured hook scripts
567
+ * Return a page of hook scripts configured for the specified project.
568
+ *
569
+ * This endpoint requires **PROJECT_ADMIN** permission.
570
+ * @param projectKey The project key.
571
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
572
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
573
+ * @returns any A page of hook scripts.
574
+ * @throws ApiError
575
+ */
576
+ public static getConfigurations(
577
+ projectKey: string,
578
+ start?: number,
579
+ limit?: number,
580
+ ): CancelablePromise<{
581
+ isLastPage?: boolean;
582
+ limit?: number;
583
+ nextPageStart?: number;
584
+ size?: number;
585
+ start?: number;
586
+ values?: Array<RestHookScriptConfig>;
587
+ }> {
588
+ return __request(OpenAPI, {
589
+ method: 'GET',
590
+ url: '/api/latest/projects/{projectKey}/hook-scripts',
591
+ path: {
592
+ 'projectKey': projectKey,
593
+ },
594
+ query: {
595
+ 'start': start,
596
+ 'limit': limit,
597
+ },
598
+ errors: {
599
+ 401: `The currently authenticated user has insufficient permissions to view the specified project.`,
600
+ 404: `The specified project does not exist.`,
601
+ },
602
+ });
603
+ }
604
+ /**
605
+ * Remove a hook script
606
+ * Removes the hook script from the set of hook scripts configured to run in all repositories under the project.
607
+ *
608
+ * This endpoint requires **PROJECT_ADMIN** permission.
609
+ * @param projectKey The project key.
610
+ * @param scriptId The ID of the hook script
611
+ * @returns void
612
+ * @throws ApiError
613
+ */
614
+ public static removeConfiguration(
615
+ projectKey: string,
616
+ scriptId: string,
617
+ ): CancelablePromise<void> {
618
+ return __request(OpenAPI, {
619
+ method: 'DELETE',
620
+ url: '/api/latest/projects/{projectKey}/hook-scripts/{scriptId}',
621
+ path: {
622
+ 'projectKey': projectKey,
623
+ 'scriptId': scriptId,
624
+ },
625
+ errors: {
626
+ 401: `The currently authenticated user has insufficient permissions to view the specified project.`,
627
+ 404: `The project key or hook script ID supplied does not exist.`,
628
+ },
629
+ });
630
+ }
631
+ /**
632
+ * Create/update a hook script
633
+ * Creates/updates the hook script configuration for the provided hook script and project.
634
+ *
635
+ * This endpoint requires **PROJECT_ADMIN** permission.
636
+ * @param projectKey The project key.
637
+ * @param scriptId The ID of the hook script
638
+ * @param requestBody The hook triggers for which the hook script should be run
639
+ * @returns RestHookScriptConfig The updated hook script.
640
+ * @throws ApiError
641
+ */
642
+ public static setConfiguration(
643
+ projectKey: string,
644
+ scriptId: string,
645
+ requestBody?: RestHookScriptTriggers,
646
+ ): CancelablePromise<RestHookScriptConfig> {
647
+ return __request(OpenAPI, {
648
+ method: 'PUT',
649
+ url: '/api/latest/projects/{projectKey}/hook-scripts/{scriptId}',
650
+ path: {
651
+ 'projectKey': projectKey,
652
+ 'scriptId': scriptId,
653
+ },
654
+ body: requestBody,
655
+ mediaType: 'application/json',
656
+ errors: {
657
+ 400: `The hook script was not created/updated due to a validation error.`,
658
+ 401: `The currently authenticated user has insufficient permissions to view the specified project.`,
659
+ 404: `The project key supplied does not exist.`,
660
+ },
661
+ });
662
+ }
663
+ /**
664
+ * Revoke project permissions
665
+ * Revoke all permissions for the specified project for the given groups and users.
666
+ *
667
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
668
+ *
669
+ * In addition, a user may not revoke a group's permission if their own permission would be revoked as a result, nor may they revoke their own permission unless they have a global permission that already implies that permission.
670
+ * @param projectKey The project key
671
+ * @param user The names of the users
672
+ * @param group The names of the groups
673
+ * @returns void
674
+ * @throws ApiError
675
+ */
676
+ public static revokePermissions(
677
+ projectKey: string,
678
+ user?: string,
679
+ group?: string,
680
+ ): CancelablePromise<void> {
681
+ return __request(OpenAPI, {
682
+ method: 'DELETE',
683
+ url: '/api/latest/projects/{projectKey}/permissions',
684
+ path: {
685
+ 'projectKey': projectKey,
686
+ },
687
+ query: {
688
+ 'user': user,
689
+ 'group': group,
690
+ },
691
+ errors: {
692
+ 400: `No permissions were revoked because the request was invalid. No users or groups were provided.`,
693
+ 401: `The currently authenticated user is not an administrator for the specifiedspecified project.`,
694
+ 404: `The specified project does not exist, or one or more of the users or groups provided does not exist.`,
695
+ 409: `The action was disallowed as it would revoke the currently authenticated user's permission on the project.`,
696
+ },
697
+ });
698
+ }
699
+ /**
700
+ * Revoke group project permission
701
+ * Revoke all permissions for the specified project for a group.
702
+ *
703
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
704
+ *
705
+ * In addition, a user may not revoke a group's permissions if it will reduce their own permission level.
706
+ * @param projectKey The project key
707
+ * @param name The name of the group
708
+ * @returns void
709
+ * @throws ApiError
710
+ */
711
+ public static revokePermissionsForGroup1(
712
+ projectKey: string,
713
+ name?: string,
714
+ ): CancelablePromise<void> {
715
+ return __request(OpenAPI, {
716
+ method: 'DELETE',
717
+ url: '/api/latest/projects/{projectKey}/permissions/groups',
718
+ path: {
719
+ 'projectKey': projectKey,
720
+ },
721
+ query: {
722
+ 'name': name,
723
+ },
724
+ errors: {
725
+ 401: `The currently authenticated user is not an administrator for the specifiedspecified project.`,
726
+ 404: `The specified project does not exist.`,
727
+ 409: ` The action was disallowed as it would reduce the currently authenticated user'spermission level.`,
728
+ },
729
+ });
730
+ }
731
+ /**
732
+ * Get groups with permission to project
733
+ * Retrieve a page of groups that have been granted at least one permission for the specified project.
734
+ *
735
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
736
+ * @param projectKey The project key
737
+ * @param filter If specified only group names containing the supplied string will be returned
738
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
739
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
740
+ * @returns any A page of groups and their highest permissions for the specified project.
741
+ * @throws ApiError
742
+ */
743
+ public static getGroupsWithAnyPermission1(
744
+ projectKey: string,
745
+ filter?: string,
746
+ start?: number,
747
+ limit?: number,
748
+ ): CancelablePromise<{
749
+ isLastPage?: boolean;
750
+ limit?: number;
751
+ nextPageStart?: number;
752
+ size?: number;
753
+ start?: number;
754
+ values?: Array<RestPermittedGroup>;
755
+ }> {
756
+ return __request(OpenAPI, {
757
+ method: 'GET',
758
+ url: '/api/latest/projects/{projectKey}/permissions/groups',
759
+ path: {
760
+ 'projectKey': projectKey,
761
+ },
762
+ query: {
763
+ 'filter': filter,
764
+ 'start': start,
765
+ 'limit': limit,
766
+ },
767
+ errors: {
768
+ 401: `The currently authenticated user is not a project administrator for the specified project.`,
769
+ 404: `The specified project does not exist.`,
770
+ },
771
+ });
772
+ }
773
+ /**
774
+ * Update group project permission
775
+ * Promote or demote a group's permission level for the specified project.
776
+ *
777
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource. In addition, a user may not demote a group's permission level if theirown permission level would be reduced as a result.
778
+ * @param projectKey The project key
779
+ * @param name The names of the groups
780
+ * @param permission The permission to grant.See the [permissions documentation](https://confluence.atlassian.com/display/BitbucketServer/Using+project+permissions)for a detailed explanation of what each permission entails. Available project permissions are:
781
+ *
782
+ * - PROJECT_READ
783
+ * - PROJECT_WRITE
784
+ * - PROJECT_ADMIN
785
+ *
786
+ *
787
+ *
788
+ * @returns void
789
+ * @throws ApiError
790
+ */
791
+ public static setPermissionForGroups1(
792
+ projectKey: string,
793
+ name?: string,
794
+ permission?: string,
795
+ ): CancelablePromise<void> {
796
+ return __request(OpenAPI, {
797
+ method: 'PUT',
798
+ url: '/api/latest/projects/{projectKey}/permissions/groups',
799
+ path: {
800
+ 'projectKey': projectKey,
801
+ },
802
+ query: {
803
+ 'name': name,
804
+ 'permission': permission,
805
+ },
806
+ errors: {
807
+ 400: `The request was malformed or the specified permission does not exist.`,
808
+ 401: `The currently authenticated user is not an administrator for the specifiedspecified project.`,
809
+ 403: `The action was disallowed as it would reduce the currently authenticated user'spermission level.`,
810
+ 404: `The specified project does not exist.`,
811
+ },
812
+ });
813
+ }
814
+ /**
815
+ * Get groups without project permission
816
+ * Retrieve a page of groups that have no granted permissions for the specified project.
817
+ *
818
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher
819
+ * @param projectKey The project key
820
+ * @param filter If specified only group names containing the supplied string will be returned
821
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
822
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
823
+ * @returns any A page of groups that have not been granted any permissions for the specifiedproject.
824
+ * @throws ApiError
825
+ */
826
+ public static getGroupsWithoutAnyPermission1(
827
+ projectKey: string,
828
+ filter?: string,
829
+ start?: number,
830
+ limit?: number,
831
+ ): CancelablePromise<{
832
+ isLastPage?: boolean;
833
+ limit?: number;
834
+ nextPageStart?: number;
835
+ size?: number;
836
+ start?: number;
837
+ values?: Array<RestDetailedGroup>;
838
+ }> {
839
+ return __request(OpenAPI, {
840
+ method: 'GET',
841
+ url: '/api/latest/projects/{projectKey}/permissions/groups/none',
842
+ path: {
843
+ 'projectKey': projectKey,
844
+ },
845
+ query: {
846
+ 'filter': filter,
847
+ 'start': start,
848
+ 'limit': limit,
849
+ },
850
+ errors: {
851
+ 401: `The currently authenticated user is not a project administrator for thespecified project.`,
852
+ 404: `The specified project does not exist.`,
853
+ },
854
+ });
855
+ }
856
+ /**
857
+ * Search project permissions
858
+ * Search direct and implied permissions of principals (users and groups). This endpoint returns a superset of the results returned by the /users and /groups endpoints because it allows filtering by global permissions too.
859
+ *
860
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
861
+ * @param projectKey The project key
862
+ * @param permission Permissions to filter by. See the [permissions documentation](https://confluence.atlassian.com/display/BitbucketServer/Using+project+permissions)for a detailed explanation of what each permission entails. This parameter can be specified multiple times to filter by more than one permission, and can contain global and project permissions.
863
+ *
864
+ *
865
+ * @param filterText Name of the user or group to filter the name of
866
+ * @param type Type of entity (user or group)Valid entity types are:
867
+ *
868
+ * - USER- GROUP
869
+ * @returns any default response
870
+ * @throws ApiError
871
+ */
872
+ public static searchPermissions(
873
+ projectKey: string,
874
+ permission?: string,
875
+ filterText?: string,
876
+ type?: string,
877
+ ): CancelablePromise<any> {
878
+ return __request(OpenAPI, {
879
+ method: 'GET',
880
+ url: '/api/latest/projects/{projectKey}/permissions/search',
881
+ path: {
882
+ 'projectKey': projectKey,
883
+ },
884
+ query: {
885
+ 'permission': permission,
886
+ 'filterText': filterText,
887
+ 'type': type,
888
+ },
889
+ });
890
+ }
891
+ /**
892
+ * Revoke user project permission
893
+ * Revoke all permissions for the specified project for a user.
894
+ *
895
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
896
+ *
897
+ * In addition, a user may not revoke their own project permissions if they do not have a higher global permission.
898
+ * @param projectKey The project key
899
+ * @param name The name of the user
900
+ * @returns void
901
+ * @throws ApiError
902
+ */
903
+ public static revokePermissionsForUser1(
904
+ projectKey: string,
905
+ name?: string,
906
+ ): CancelablePromise<void> {
907
+ return __request(OpenAPI, {
908
+ method: 'DELETE',
909
+ url: '/api/latest/projects/{projectKey}/permissions/users',
910
+ path: {
911
+ 'projectKey': projectKey,
912
+ },
913
+ query: {
914
+ 'name': name,
915
+ },
916
+ errors: {
917
+ 401: `The currently authenticated user is not an administrator for the specifiedspecified project.`,
918
+ 404: `The specified project does not exist.`,
919
+ 409: ` The action was disallowed as it would reduce the currently authenticated user'spermission level.`,
920
+ },
921
+ });
922
+ }
923
+ /**
924
+ * Get users with permission to project
925
+ * Retrieve a page of users that have been granted at least one permission for the specified project.
926
+ *
927
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
928
+ * @param projectKey The project key
929
+ * @param filter If specified only user names containing the supplied string will be returned
930
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
931
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
932
+ * @returns any A page of users and their highest permissions for the specified project.
933
+ * @throws ApiError
934
+ */
935
+ public static getUsersWithAnyPermission1(
936
+ projectKey: string,
937
+ filter?: string,
938
+ start?: number,
939
+ limit?: number,
940
+ ): CancelablePromise<{
941
+ isLastPage?: boolean;
942
+ limit?: number;
943
+ nextPageStart?: number;
944
+ size?: number;
945
+ start?: number;
946
+ values?: Array<RestPermittedUser>;
947
+ }> {
948
+ return __request(OpenAPI, {
949
+ method: 'GET',
950
+ url: '/api/latest/projects/{projectKey}/permissions/users',
951
+ path: {
952
+ 'projectKey': projectKey,
953
+ },
954
+ query: {
955
+ 'filter': filter,
956
+ 'start': start,
957
+ 'limit': limit,
958
+ },
959
+ errors: {
960
+ 401: `The currently authenticated user is not a project administrator for thespecified project.`,
961
+ 404: `The specified project does not exist.`,
962
+ },
963
+ });
964
+ }
965
+ /**
966
+ * Update user project permission
967
+ * Promote or demote a user's permission level for the specified project.
968
+ *
969
+ *
970
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource. In addition, a user may not reduce their own permission level unless they have a global permission that already implies that permission.
971
+ * @param projectKey The project key
972
+ * @param name The names of the users
973
+ * @param permission The permission to grant.See the [permissions documentation](https://confluence.atlassian.com/display/BitbucketServer/Using+project+permissions)for a detailed explanation of what each permission entails. Available project permissions are:
974
+ *
975
+ * - PROJECT_READ
976
+ * - PROJECT_WRITE
977
+ * - PROJECT_ADMIN
978
+ *
979
+ *
980
+ *
981
+ * @returns void
982
+ * @throws ApiError
983
+ */
984
+ public static setPermissionForUsers1(
985
+ projectKey: string,
986
+ name?: string,
987
+ permission?: string,
988
+ ): CancelablePromise<void> {
989
+ return __request(OpenAPI, {
990
+ method: 'PUT',
991
+ url: '/api/latest/projects/{projectKey}/permissions/users',
992
+ path: {
993
+ 'projectKey': projectKey,
994
+ },
995
+ query: {
996
+ 'name': name,
997
+ 'permission': permission,
998
+ },
999
+ errors: {
1000
+ 400: `The request was malformed or the specified permission does not exist.`,
1001
+ 401: `The currently authenticated user is not an administrator for the specifiedspecified project.`,
1002
+ 403: `The action was disallowed as it would reduce the currently authenticated user'spermission level.`,
1003
+ 404: `The specified project does not exist.`,
1004
+ },
1005
+ });
1006
+ }
1007
+ /**
1008
+ * Get users without project permission
1009
+ * Retrieve a page of <i>licensed</i> users that have no granted permissions for the specified project.
1010
+ *
1011
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
1012
+ * @param projectKey The project key
1013
+ * @param filter If specified only user names containing the supplied string will be returned
1014
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
1015
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
1016
+ * @returns any A page of users that have not been granted any permissions for the specified project
1017
+ * @throws ApiError
1018
+ */
1019
+ public static getUsersWithoutPermission(
1020
+ projectKey: string,
1021
+ filter?: string,
1022
+ start?: number,
1023
+ limit?: number,
1024
+ ): CancelablePromise<{
1025
+ isLastPage?: boolean;
1026
+ limit?: number;
1027
+ nextPageStart?: number;
1028
+ size?: number;
1029
+ start?: number;
1030
+ values?: Array<RestApplicationUser>;
1031
+ }> {
1032
+ return __request(OpenAPI, {
1033
+ method: 'GET',
1034
+ url: '/api/latest/projects/{projectKey}/permissions/users/none',
1035
+ path: {
1036
+ 'projectKey': projectKey,
1037
+ },
1038
+ query: {
1039
+ 'filter': filter,
1040
+ 'start': start,
1041
+ 'limit': limit,
1042
+ },
1043
+ errors: {
1044
+ 401: `The currently authenticated user is not a project administrator for thespecified project.`,
1045
+ 404: `The specified project does not exist.`,
1046
+ },
1047
+ });
1048
+ }
1049
+ /**
1050
+ * Check default project permission
1051
+ * Check whether the specified permission is the default permission (granted to all users) for a project.
1052
+ *
1053
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher global permission to call this resource.
1054
+ * @param projectKey The project key
1055
+ * @param permission The permission to grant. Available project permissions are:
1056
+ *
1057
+ * - PROJECT_READ
1058
+ * - PROJECT_WRITE
1059
+ * - PROJECT_ADMIN
1060
+ *
1061
+ *
1062
+ *
1063
+ * @returns RestPermitted A simple entity indicating whether the specified permission is the defaultpermission for this project.
1064
+ * @throws ApiError
1065
+ */
1066
+ public static hasAllUserPermission(
1067
+ projectKey: string,
1068
+ permission: string,
1069
+ ): CancelablePromise<RestPermitted> {
1070
+ return __request(OpenAPI, {
1071
+ method: 'GET',
1072
+ url: '/api/latest/projects/{projectKey}/permissions/{permission}/all',
1073
+ path: {
1074
+ 'projectKey': projectKey,
1075
+ 'permission': permission,
1076
+ },
1077
+ errors: {
1078
+ 400: `The request was malformed or the specified permission does not exist.`,
1079
+ 401: `The currently authenticated user is not an administrator for the specifiedspecified project.`,
1080
+ 403: `The action was disallowed as it would reduce the currently authenticated user'spermission level.`,
1081
+ 404: `The specified project does not exist.`,
1082
+ },
1083
+ });
1084
+ }
1085
+ /**
1086
+ * Grant project permission
1087
+ * Grant or revoke a project permission to all users, i.e. set the default permission.
1088
+ *
1089
+ *
1090
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project or a higher
1091
+ * global permission to call this resource.
1092
+ * @param projectKey The project key
1093
+ * @param permission The permission to grant. Available project permissions are:
1094
+ *
1095
+ * - PROJECT_READ
1096
+ * - PROJECT_WRITE
1097
+ * - PROJECT_ADMIN
1098
+ *
1099
+ *
1100
+ *
1101
+ * @param allow <em>true</em> to grant the specified permission to all users, or <em>false</em> to revoke it
1102
+ * @returns void
1103
+ * @throws ApiError
1104
+ */
1105
+ public static modifyAllUserPermission(
1106
+ projectKey: string,
1107
+ permission: string,
1108
+ allow?: string,
1109
+ ): CancelablePromise<void> {
1110
+ return __request(OpenAPI, {
1111
+ method: 'POST',
1112
+ url: '/api/latest/projects/{projectKey}/permissions/{permission}/all',
1113
+ path: {
1114
+ 'projectKey': projectKey,
1115
+ 'permission': permission,
1116
+ },
1117
+ query: {
1118
+ 'allow': allow,
1119
+ },
1120
+ errors: {
1121
+ 400: `The request was malformed or the specified permission does not exist.`,
1122
+ 401: `The currently authenticated user is not an administrator for the specified project.`,
1123
+ 404: `The specified project does not exist.`,
1124
+ },
1125
+ });
1126
+ }
1127
+ /**
1128
+ * Get repositories for project
1129
+ * Retrieve repositories from the project corresponding to the supplied <strong>projectKey</strong>.
1130
+ *
1131
+ * The authenticated user must have <strong>PROJECT_READ</strong> permission for the specified project to call this resource.
1132
+ * @param projectKey The project key.
1133
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
1134
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
1135
+ * @returns any The repositories matching the supplied <strong>projectKey</strong>.
1136
+ * @throws ApiError
1137
+ */
1138
+ public static getRepositories(
1139
+ projectKey: string,
1140
+ start?: number,
1141
+ limit?: number,
1142
+ ): CancelablePromise<{
1143
+ isLastPage?: boolean;
1144
+ limit?: number;
1145
+ nextPageStart?: number;
1146
+ size?: number;
1147
+ start?: number;
1148
+ values?: Array<RestRepository>;
1149
+ }> {
1150
+ return __request(OpenAPI, {
1151
+ method: 'GET',
1152
+ url: '/api/latest/projects/{projectKey}/repos',
1153
+ path: {
1154
+ 'projectKey': projectKey,
1155
+ },
1156
+ query: {
1157
+ 'start': start,
1158
+ 'limit': limit,
1159
+ },
1160
+ errors: {
1161
+ 401: `The currently authenticated user has insufficient permissions to see the specified project.`,
1162
+ 404: `The specified project does not exist.`,
1163
+ },
1164
+ });
1165
+ }
1166
+ /**
1167
+ * Create repository
1168
+ * Create a new repository. Requires an existing project in which this repository will be created. The only parameters which will be used are name and scmId.
1169
+ *
1170
+ * The authenticated user must have <strong>REPO_CREATE</strong> permission or higher, for the context project to call this resource.
1171
+ * @param projectKey The project key.
1172
+ * @param requestBody The repository
1173
+ * @returns RestRepository The newly created repository.
1174
+ * @throws ApiError
1175
+ */
1176
+ public static createRepository(
1177
+ projectKey: string,
1178
+ requestBody?: RestRepository,
1179
+ ): CancelablePromise<RestRepository> {
1180
+ return __request(OpenAPI, {
1181
+ method: 'POST',
1182
+ url: '/api/latest/projects/{projectKey}/repos',
1183
+ path: {
1184
+ 'projectKey': projectKey,
1185
+ },
1186
+ body: requestBody,
1187
+ mediaType: 'application/json',
1188
+ errors: {
1189
+ 400: `The repository was not created due to a validation error.`,
1190
+ 401: `The currently authenticated user has insufficient permissions to create a repository.`,
1191
+ 409: `A repository with same name already exists.`,
1192
+ },
1193
+ });
1194
+ }
1195
+ /**
1196
+ * Delete repository
1197
+ * Schedule the repository matching the supplied <strong>projectKey</strong> and <strong>repositorySlug</strong> to be deleted.
1198
+ *
1199
+ * The authenticated user must have sufficient permissions specified by the repository delete policy to call this resource. The default permission required is <strong>REPO_ADMIN</strong> permission.
1200
+ * @param projectKey The project key.
1201
+ * @param repositorySlug The repository slug.
1202
+ * @returns any The repository has been scheduled for deletion.
1203
+ * @throws ApiError
1204
+ */
1205
+ public static deleteRepository(
1206
+ projectKey: string,
1207
+ repositorySlug: string,
1208
+ ): CancelablePromise<any> {
1209
+ return __request(OpenAPI, {
1210
+ method: 'DELETE',
1211
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}',
1212
+ path: {
1213
+ 'projectKey': projectKey,
1214
+ 'repositorySlug': repositorySlug,
1215
+ },
1216
+ errors: {
1217
+ 401: `The currently authenticated user has insufficient permissions to delete the repository.`,
1218
+ },
1219
+ });
1220
+ }
1221
+ /**
1222
+ * Get repository
1223
+ * Retrieve the repository matching the supplied <strong>projectKey</strong> and <strong>repositorySlug</strong>.
1224
+ *
1225
+ * The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
1226
+ * @param projectKey The project key.
1227
+ * @param repositorySlug The repository slug.
1228
+ * @returns RestRepository The repository which matches the supplied <strong>projectKey</strong> and <strong>repositorySlug</strong>.
1229
+ * @throws ApiError
1230
+ */
1231
+ public static getRepository(
1232
+ projectKey: string,
1233
+ repositorySlug: string,
1234
+ ): CancelablePromise<RestRepository> {
1235
+ return __request(OpenAPI, {
1236
+ method: 'GET',
1237
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}',
1238
+ path: {
1239
+ 'projectKey': projectKey,
1240
+ 'repositorySlug': repositorySlug,
1241
+ },
1242
+ errors: {
1243
+ 401: `The currently authenticated user has insufficient permissions to see the specified repository.`,
1244
+ 404: `The specified repository does not exist.`,
1245
+ },
1246
+ });
1247
+ }
1248
+ /**
1249
+ * Fork repository
1250
+ * Create a new repository forked from an existing repository.
1251
+ *
1252
+ * The JSON body for this <code>POST</code> is not required to contain <i>any</i> properties. Even the name may be omitted. The following properties will be used, if provided:
1253
+ *
1254
+ * - <code>"name":"Fork name"</code> - Specifies the forked repository's name
1255
+ * - Defaults to the name of the origin repository if not specified
1256
+ * - <code>"defaultBranch":"main"</code> - Specifies the forked repository's default branch
1257
+ * - Defaults to the origin repository's default branch if not specified
1258
+ * - <code>"project":{"key":"TARGET_KEY"}</code> - Specifies the forked repository's target project by key
1259
+ * - Defaults to the current user's personal project if not specified
1260
+ *
1261
+ *
1262
+ * The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository and <strong>PROJECT_ADMIN</strong> on the target project to call this resource. Note that users <i>always</i> have <b>PROJECT_ADMIN</b> permission on their personal projects.
1263
+ * @param projectKey The project key.
1264
+ * @param repositorySlug The repository slug.
1265
+ * @param requestBody The rest fork.
1266
+ * @returns RestRepository The newly created fork.
1267
+ * @throws ApiError
1268
+ */
1269
+ public static forkRepository(
1270
+ projectKey: string,
1271
+ repositorySlug: string,
1272
+ requestBody?: RestRepository,
1273
+ ): CancelablePromise<RestRepository> {
1274
+ return __request(OpenAPI, {
1275
+ method: 'POST',
1276
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}',
1277
+ path: {
1278
+ 'projectKey': projectKey,
1279
+ 'repositorySlug': repositorySlug,
1280
+ },
1281
+ body: requestBody,
1282
+ mediaType: 'application/json',
1283
+ errors: {
1284
+ 400: `A validation error prevented the fork from being created. Possible validation errors include: The name or slug for the fork collides with another repository in the target project; an SCM type was specified in the JSON body; a project was specified in the JSON body without a "key" property.`,
1285
+ 401: `The currently authenticated user has insufficient permissions to create a fork.`,
1286
+ 404: `The specified repository does not exist, or, if a target project was specified, the target project does not exist.`,
1287
+ },
1288
+ });
1289
+ }
1290
+ /**
1291
+ * Update repository
1292
+ * Update the repository matching the <strong>repositorySlug</strong> supplied in the resource path.
1293
+ *
1294
+ * The repository's slug is derived from its name. If the name changes the slug may also change.
1295
+ *
1296
+ * This resource can be used to change the repository's default branch by specifying a new default branch in the request. For example: <code>"defaultBranch":"main"</code>
1297
+ *
1298
+ * This resource can be used to move the repository to a different project by specifying a new project in the request. For example: <code>"project":{"key":"NEW_KEY"}</code>
1299
+ *
1300
+ * The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
1301
+ * @param projectKey The project key.
1302
+ * @param repositorySlug The repository slug.
1303
+ * @param requestBody The updated repository.
1304
+ * @returns RestRepository The updated repository.
1305
+ * @throws ApiError
1306
+ */
1307
+ public static updateRepository(
1308
+ projectKey: string,
1309
+ repositorySlug: string,
1310
+ requestBody?: RestRepository,
1311
+ ): CancelablePromise<RestRepository> {
1312
+ return __request(OpenAPI, {
1313
+ method: 'PUT',
1314
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}',
1315
+ path: {
1316
+ 'projectKey': projectKey,
1317
+ 'repositorySlug': repositorySlug,
1318
+ },
1319
+ body: requestBody,
1320
+ mediaType: 'application/json',
1321
+ errors: {
1322
+ 400: `The repository was not updated due to a validation error.`,
1323
+ 401: `The currently authenticated user has insufficient permissions to update a repository.`,
1324
+ 403: `Cannot archive repository because it has open pull requests.`,
1325
+ 404: `The specified repository does not exist.`,
1326
+ 409: `A repository with the same name as the target already exists, or the repository is archived.`,
1327
+ },
1328
+ });
1329
+ }
1330
+ /**
1331
+ * Get repository contributing guidelines
1332
+ * Retrieves the contributing guidelines for the repository, if they've been defined.
1333
+ *
1334
+ * This checks the repository for a CONTRIBUTING file, optionally with an md or txt extension, and, if found, streams it. By default, the <i>raw content</i> of the file is streamed. Appending <code>?markup</code> to the URL will stream an HTML-rendered version instead.
1335
+ *
1336
+ * The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
1337
+ * @param projectKey The project key.
1338
+ * @param repositorySlug The repository slug.
1339
+ * @param at A specific commit or ref to retrieve the guidelines at, or the default branch if not specified
1340
+ * @param markup If present or <code>"true"</code>, triggers the raw content to be markup-rendered and returned as HTML; otherwise, if not specified, or any value other than <code>"true"</code>, the content is streamed without markup
1341
+ * @param htmlEscape (Optional) true if HTML should be escaped in the input markup, false otherwise. If not specified, the value of the <code>markup.render.html.escape</code> property, which is <code>true</code> by default, will be used
1342
+ * @param includeHeadingId (Optional) true if headings should contain an ID based on the heading content. If not specified, the value of the <code>markup.render.headerids</code> property, which is false by default, will be used
1343
+ * @param hardwrap (Optional) Whether the markup implementation should convert newlines to breaks. If not specified, the value of the <code>markup.render.hardwrap</code> property, which is <code>true</code> by default, will be used
1344
+ * @returns any The contributing guidelines for the repository.
1345
+ * @throws ApiError
1346
+ */
1347
+ public static streamContributing(
1348
+ projectKey: string,
1349
+ repositorySlug: string,
1350
+ at?: string,
1351
+ markup?: string,
1352
+ htmlEscape?: string,
1353
+ includeHeadingId?: string,
1354
+ hardwrap?: string,
1355
+ ): CancelablePromise<any> {
1356
+ return __request(OpenAPI, {
1357
+ method: 'GET',
1358
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/contributing',
1359
+ path: {
1360
+ 'projectKey': projectKey,
1361
+ 'repositorySlug': repositorySlug,
1362
+ },
1363
+ query: {
1364
+ 'at': at,
1365
+ 'markup': markup,
1366
+ 'htmlEscape': htmlEscape,
1367
+ 'includeHeadingId': includeHeadingId,
1368
+ 'hardwrap': hardwrap,
1369
+ },
1370
+ errors: {
1371
+ 401: `The currently authenticated user has insufficient permissions to read the repository.`,
1372
+ 404: `The specified repository does not exist.`,
1373
+ },
1374
+ });
1375
+ }
1376
+ /**
1377
+ * Get repository default branch
1378
+ * Retrieves the repository's <i>configured</i> default branch.
1379
+ *
1380
+ * Every repository has a <i>configured</i> default branch, but that branch may not actually <i>exist</i> in the repository. For example, a newly-created repository will have a configured default branch even though no branches have been pushed yet.
1381
+ *
1382
+ * The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
1383
+ * @param projectKey The project key.
1384
+ * @param repositorySlug The repository slug.
1385
+ * @returns RestMinimalRef The configured default branch for the repository.
1386
+ * @throws ApiError
1387
+ */
1388
+ public static getDefaultBranch2(
1389
+ projectKey: string,
1390
+ repositorySlug: string,
1391
+ ): CancelablePromise<RestMinimalRef> {
1392
+ return __request(OpenAPI, {
1393
+ method: 'GET',
1394
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/default-branch',
1395
+ path: {
1396
+ 'projectKey': projectKey,
1397
+ 'repositorySlug': repositorySlug,
1398
+ },
1399
+ errors: {
1400
+ 401: `The currently authenticated user has insufficient permissions to read the repository.`,
1401
+ 404: `The specified repository does not exist, or its configured default branch does not exist.`,
1402
+ },
1403
+ });
1404
+ }
1405
+ /**
1406
+ * Update default branch for repository
1407
+ * Update the default branch of a repository.
1408
+ *
1409
+ * The authenticated user must have <strong>REPO_ADMIN</strong> permission for the specified repository to call this resource.
1410
+ * @param projectKey The project key.
1411
+ * @param repositorySlug The repository slug.
1412
+ * @param requestBody The branch to set as default
1413
+ * @returns void
1414
+ * @throws ApiError
1415
+ */
1416
+ public static setDefaultBranch2(
1417
+ projectKey: string,
1418
+ repositorySlug: string,
1419
+ requestBody?: RestBranch,
1420
+ ): CancelablePromise<void> {
1421
+ return __request(OpenAPI, {
1422
+ method: 'PUT',
1423
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/default-branch',
1424
+ path: {
1425
+ 'projectKey': projectKey,
1426
+ 'repositorySlug': repositorySlug,
1427
+ },
1428
+ body: requestBody,
1429
+ mediaType: 'application/json',
1430
+ errors: {
1431
+ 401: `The authenticated user does not have permission to modify the default branch.`,
1432
+ 404: `The specified repository does not exist.`,
1433
+ },
1434
+ });
1435
+ }
1436
+ /**
1437
+ * Get repository forks
1438
+ * Retrieve repositories which have been forked from this one. Unlike #getRelatedRepositories(Repository, PageRequest) related repositories, this only looks at a given repository's direct forks. If those forks have themselves been the origin of more forks, such "grandchildren" repositories will not be retrieved.
1439
+ *
1440
+ * Only repositories to which the authenticated user has <b>REPO_READ</b> permission will be included, even if other repositories have been forked from this one.
1441
+ * @param projectKey The project key.
1442
+ * @param repositorySlug The repository slug.
1443
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
1444
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
1445
+ * @returns any A page of repositories related to the request repository.
1446
+ * @throws ApiError
1447
+ */
1448
+ public static getForkedRepositories(
1449
+ projectKey: string,
1450
+ repositorySlug: string,
1451
+ start?: number,
1452
+ limit?: number,
1453
+ ): CancelablePromise<{
1454
+ isLastPage?: boolean;
1455
+ limit?: number;
1456
+ nextPageStart?: number;
1457
+ size?: number;
1458
+ start?: number;
1459
+ values?: Array<RestRepository>;
1460
+ }> {
1461
+ return __request(OpenAPI, {
1462
+ method: 'GET',
1463
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/forks',
1464
+ path: {
1465
+ 'projectKey': projectKey,
1466
+ 'repositorySlug': repositorySlug,
1467
+ },
1468
+ query: {
1469
+ 'start': start,
1470
+ 'limit': limit,
1471
+ },
1472
+ errors: {
1473
+ 401: `The currently authenticated user has insufficient permissions to see the request repository.`,
1474
+ 404: `The request repository does not exist.`,
1475
+ },
1476
+ });
1477
+ }
1478
+ /**
1479
+ * Get repository license
1480
+ * Retrieves the license for the repository, if it's been defined.
1481
+ *
1482
+ * This checks the repository for a <pre>LICENSE</pre> file, optionally with an <pre>md</pre> or <pre>txt</pre>extension, and, if found, streams it. By default, the <i>raw content</i> of the file is streamed. Appending <pre>?markup</pre> to the URL will stream an HTML-rendered version instead.
1483
+ *
1484
+ * The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
1485
+ * @param projectKey The project key.
1486
+ * @param repositorySlug The repository slug.
1487
+ * @param at A specific commit or ref to retrieve the guidelines at, or the default branch if not specified
1488
+ * @param markup If present or <code>"true"</code>, triggers the raw content to be markup-rendered and returned as HTML; otherwise, if not specified, or any value other than <code>"true"</code>, the content is streamed without markup
1489
+ * @param htmlEscape (Optional) true if HTML should be escaped in the input markup, false otherwise. If not specified, the value of the <code>markup.render.html.escape</code> property, which is <code>true</code> by default, will be used
1490
+ * @param includeHeadingId (Optional) true if headings should contain an ID based on the heading content. If not specified, the value of the <code>markup.render.headerids</code> property, which is false by default, will be used
1491
+ * @param hardwrap (Optional) Whether the markup implementation should convert newlines to breaks. If not specified, the value of the <code>markup.render.hardwrap</code> property, which is <code>true</code> by default, will be used
1492
+ * @returns any The license for the repository.
1493
+ * @throws ApiError
1494
+ */
1495
+ public static streamLicense(
1496
+ projectKey: string,
1497
+ repositorySlug: string,
1498
+ at?: string,
1499
+ markup?: string,
1500
+ htmlEscape?: string,
1501
+ includeHeadingId?: string,
1502
+ hardwrap?: string,
1503
+ ): CancelablePromise<any> {
1504
+ return __request(OpenAPI, {
1505
+ method: 'GET',
1506
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/license',
1507
+ path: {
1508
+ 'projectKey': projectKey,
1509
+ 'repositorySlug': repositorySlug,
1510
+ },
1511
+ query: {
1512
+ 'at': at,
1513
+ 'markup': markup,
1514
+ 'htmlEscape': htmlEscape,
1515
+ 'includeHeadingId': includeHeadingId,
1516
+ 'hardwrap': hardwrap,
1517
+ },
1518
+ errors: {
1519
+ 401: `The currently authenticated user has insufficient permissions to read the repository.`,
1520
+ 404: `The specified repository does not exist.`,
1521
+ },
1522
+ });
1523
+ }
1524
+ /**
1525
+ * Get repository readme
1526
+ * Retrieves the README for the repository, if it's been defined.
1527
+ *
1528
+ * This checks the repository for a <pre>README</pre> file, optionally with an <pre>md</pre> or <pre>txt</pre>extension, and, if found, streams it. By default, the <i>raw content</i> of the file is streamed. Appending <pre>?markup</pre> to the URL will stream an HTML-rendered version instead. Note that, when streaming HTML, relative URLs in the README will not work if applied relative to this URL.
1529
+ *
1530
+ * The authenticated user must have <strong>REPO_READ</strong> permission for the specified repository to call this resource.
1531
+ * @param projectKey The project key.
1532
+ * @param repositorySlug The repository slug.
1533
+ * @param at A specific commit or ref to retrieve the guidelines at, or the default branch if not specified
1534
+ * @param markup If present or <code>"true"</code>, triggers the raw content to be markup-rendered and returned as HTML; otherwise, if not specified, or any value other than <code>"true"</code>, the content is streamed without markup
1535
+ * @param htmlEscape (Optional) true if HTML should be escaped in the input markup, false otherwise. If not specified, the value of the <code>markup.render.html.escape</code> property, which is <code>true</code> by default, will be used
1536
+ * @param includeHeadingId (Optional) true if headings should contain an ID based on the heading content. If not specified, the value of the <code>markup.render.headerids</code> property, which is false by default, will be used
1537
+ * @param hardwrap (Optional) Whether the markup implementation should convert newlines to breaks. If not specified, the value of the <code>markup.render.hardwrap</code> property, which is <code>true</code> by default, will be used
1538
+ * @returns any The README for the repository.
1539
+ * @throws ApiError
1540
+ */
1541
+ public static streamReadme(
1542
+ projectKey: string,
1543
+ repositorySlug: string,
1544
+ at?: string,
1545
+ markup?: string,
1546
+ htmlEscape?: string,
1547
+ includeHeadingId?: string,
1548
+ hardwrap?: string,
1549
+ ): CancelablePromise<any> {
1550
+ return __request(OpenAPI, {
1551
+ method: 'GET',
1552
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/readme',
1553
+ path: {
1554
+ 'projectKey': projectKey,
1555
+ 'repositorySlug': repositorySlug,
1556
+ },
1557
+ query: {
1558
+ 'at': at,
1559
+ 'markup': markup,
1560
+ 'htmlEscape': htmlEscape,
1561
+ 'includeHeadingId': includeHeadingId,
1562
+ 'hardwrap': hardwrap,
1563
+ },
1564
+ errors: {
1565
+ 401: `The currently authenticated user has insufficient permissions to read the repository.`,
1566
+ 404: `The specified repository does not exist.`,
1567
+ },
1568
+ });
1569
+ }
1570
+ /**
1571
+ * Retry repository creation
1572
+ * If a create or fork operation fails, calling this method will clean up the broken repository and try again. The repository must be in an INITIALISATION_FAILED state.
1573
+ *
1574
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
1575
+ * @param projectKey The project key.
1576
+ * @param repositorySlug The repository slug.
1577
+ * @returns RestRepository The newly created repository.
1578
+ * @throws ApiError
1579
+ */
1580
+ public static retryCreateRepository(
1581
+ projectKey: string,
1582
+ repositorySlug: string,
1583
+ ): CancelablePromise<RestRepository> {
1584
+ return __request(OpenAPI, {
1585
+ method: 'POST',
1586
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/recreate',
1587
+ path: {
1588
+ 'projectKey': projectKey,
1589
+ 'repositorySlug': repositorySlug,
1590
+ },
1591
+ errors: {
1592
+ 400: `The repository was not created due to a validation error.`,
1593
+ 401: `The currently authenticated user has insufficient permissions to create a repository.`,
1594
+ 404: `The specified repository does not exist.`,
1595
+ },
1596
+ });
1597
+ }
1598
+ /**
1599
+ * Get related repository
1600
+ * Retrieve repositories which are related to this one. Related repositories are from the same Repository#getHierarchyId() hierarchy as this repository.
1601
+ *
1602
+ * Only repositories to which the authenticated user has <b>REPO_READ</b> permission will be included, even if more repositories are part of this repository's hierarchy.
1603
+ * @param projectKey The project key.
1604
+ * @param repositorySlug The repository slug.
1605
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
1606
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
1607
+ * @returns any A page of repositories related to the request repository.
1608
+ * @throws ApiError
1609
+ */
1610
+ public static getRelatedRepositories(
1611
+ projectKey: string,
1612
+ repositorySlug: string,
1613
+ start?: number,
1614
+ limit?: number,
1615
+ ): CancelablePromise<{
1616
+ isLastPage?: boolean;
1617
+ limit?: number;
1618
+ nextPageStart?: number;
1619
+ size?: number;
1620
+ start?: number;
1621
+ values?: Array<RestRepository>;
1622
+ }> {
1623
+ return __request(OpenAPI, {
1624
+ method: 'GET',
1625
+ url: '/api/latest/projects/{projectKey}/repos/{repositorySlug}/related',
1626
+ path: {
1627
+ 'projectKey': projectKey,
1628
+ 'repositorySlug': repositorySlug,
1629
+ },
1630
+ query: {
1631
+ 'start': start,
1632
+ 'limit': limit,
1633
+ },
1634
+ errors: {
1635
+ 401: `The currently authenticated user has insufficient permissions to see the request repository.`,
1636
+ 404: `The request repository does not exist.`,
1637
+ },
1638
+ });
1639
+ }
1640
+ /**
1641
+ * Stop enforcing project restriction
1642
+ * Delete a specified project settings restriction.
1643
+ *
1644
+ * If a restriction does not exist for the specified project, namespace, featureKey, and componentKey, the request will be ignored and a 204 response will be returned.
1645
+ *
1646
+ * The authenticated user must have **PROJECT_ADMIN** permission for the target project to delete a settings restriction.
1647
+ * @param projectKey The project key.
1648
+ * @param namespace A namespace used to identify the provider of the feature
1649
+ * @param featureKey A key to uniquely identify the feature within the provided namespace
1650
+ * @param componentKey A key to uniquely identify individually restrictable subcomponents of a feature within the provided feature key and namespace
1651
+ * @returns void
1652
+ * @throws ApiError
1653
+ */
1654
+ public static delete9(
1655
+ projectKey: string,
1656
+ namespace: string,
1657
+ featureKey: string,
1658
+ componentKey?: string,
1659
+ ): CancelablePromise<void> {
1660
+ return __request(OpenAPI, {
1661
+ method: 'DELETE',
1662
+ url: '/api/latest/projects/{projectKey}/settings-restriction',
1663
+ path: {
1664
+ 'projectKey': projectKey,
1665
+ },
1666
+ query: {
1667
+ 'namespace': namespace,
1668
+ 'componentKey': componentKey,
1669
+ 'featureKey': featureKey,
1670
+ },
1671
+ errors: {
1672
+ 400: `The settings restriction was not deleted because the request was invalid. Possible issues include:
1673
+ - The namespace was not provided, or longer than 255 characters
1674
+ - The featureKey was not provided, or longer than 255 characters
1675
+ - The provided componentKey was fewer than 2 characters, or longer than 255 characters`,
1676
+ 401: `The currently authenticated user has insufficient permissions to delete a settings restriction`,
1677
+ 404: `The specified project does not exist`,
1678
+ },
1679
+ });
1680
+ }
1681
+ /**
1682
+ * Get enforcing project setting
1683
+ * Get a specified project settings restriction for the given namespace, feature key and component key.
1684
+ * Note that not providing the component key will **not** return restrictions for the namespace and feature key with a component key set.
1685
+ *
1686
+ * The authenticated user must have **PROJECT_VIEW** permission for the target project to retrieve a settings restriction.
1687
+ * @param projectKey The project key.
1688
+ * @param namespace The namespace used to identify the provider of the feature
1689
+ * @param featureKey The feature key to uniquely identify the feature within the provided namespace
1690
+ * @param componentKey The component key to uniquely identify individually restrictable subcomponents of a feature within the provided feature key and namespace
1691
+ * @returns RestProjectSettingsRestriction The settings restriction associated with the provided namespace and feature key
1692
+ * @throws ApiError
1693
+ */
1694
+ public static get7(
1695
+ projectKey: string,
1696
+ namespace: string,
1697
+ featureKey: string,
1698
+ componentKey?: string,
1699
+ ): CancelablePromise<RestProjectSettingsRestriction> {
1700
+ return __request(OpenAPI, {
1701
+ method: 'GET',
1702
+ url: '/api/latest/projects/{projectKey}/settings-restriction',
1703
+ path: {
1704
+ 'projectKey': projectKey,
1705
+ },
1706
+ query: {
1707
+ 'namespace': namespace,
1708
+ 'componentKey': componentKey,
1709
+ 'featureKey': featureKey,
1710
+ },
1711
+ errors: {
1712
+ 400: `The settings restriction could not be retrieved because the provided parameters were invalid. Possible issues include:
1713
+ - The namespace was not provided, or longer than 255 characters
1714
+ - The featureKey was not provided, or longer than 255 characters
1715
+ - The provided componentKey was fewer than 2 characters, or longer than 255 characters`,
1716
+ 401: `The currently authenticated user has insufficient permissions to retrieve a settings restriction`,
1717
+ 404: `The specified project, or settings restriction does not exist`,
1718
+ },
1719
+ });
1720
+ }
1721
+ /**
1722
+ * Enforce project restriction
1723
+ * Create a new project settings restriction for the given project.
1724
+ *
1725
+ * The authenticated user must have **PROJECT_ADMIN** permission for the target project to create a settings restriction.
1726
+ * @param projectKey The project key.
1727
+ * @param requestBody The project settings restriction to create
1728
+ * @returns RestProjectSettingsRestriction The settings restriction was successfully created
1729
+ * @throws ApiError
1730
+ */
1731
+ public static create3(
1732
+ projectKey: string,
1733
+ requestBody: RestProjectSettingsRestrictionRequest,
1734
+ ): CancelablePromise<RestProjectSettingsRestriction> {
1735
+ return __request(OpenAPI, {
1736
+ method: 'POST',
1737
+ url: '/api/latest/projects/{projectKey}/settings-restriction',
1738
+ path: {
1739
+ 'projectKey': projectKey,
1740
+ },
1741
+ body: requestBody,
1742
+ mediaType: 'application/json',
1743
+ errors: {
1744
+ 400: `The settings restriction was not created because the request was invalid. Possible issues include:
1745
+ - The namespace was not provided, or longer than 255 characters
1746
+ - The featureKey was not provided, or longer than 255 characters
1747
+ - The provided componentKey was fewer than 2 characters, or longer than 255 characters`,
1748
+ 401: `The currently authenticated user has insufficient permissions to create a settings restriction`,
1749
+ 404: `The specified project does not exist`,
1750
+ 409: `A settings restriction with the same namespace, featureKey and componentKey already exists on this project`,
1751
+ },
1752
+ });
1753
+ }
1754
+ /**
1755
+ * Get all enforcing project settings
1756
+ * Get all project settings restrictions for the given namespace and feature key, including those with a component key set.
1757
+ *
1758
+ * The authenticated user must have **PROJECT_VIEW** permission for the target project to retrieve a settings restrictions.
1759
+ * @param projectKey The project key.
1760
+ * @param namespace A namespace used to identify the provider of the feature
1761
+ * @param featureKey A key to uniquely identify the feature within the provided namespace
1762
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
1763
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
1764
+ * @returns any A page of settings restrictions associated with the provided namespace and feature key
1765
+ * @throws ApiError
1766
+ */
1767
+ public static getAll(
1768
+ projectKey: string,
1769
+ namespace: string,
1770
+ featureKey: string,
1771
+ start?: number,
1772
+ limit?: number,
1773
+ ): CancelablePromise<{
1774
+ isLastPage?: boolean;
1775
+ limit?: number;
1776
+ nextPageStart?: number;
1777
+ size?: number;
1778
+ start?: number;
1779
+ values?: Array<RestProjectSettingsRestriction>;
1780
+ }> {
1781
+ return __request(OpenAPI, {
1782
+ method: 'GET',
1783
+ url: '/api/latest/projects/{projectKey}/settings-restriction/all',
1784
+ path: {
1785
+ 'projectKey': projectKey,
1786
+ },
1787
+ query: {
1788
+ 'namespace': namespace,
1789
+ 'featureKey': featureKey,
1790
+ 'start': start,
1791
+ 'limit': limit,
1792
+ },
1793
+ errors: {
1794
+ 400: `The settings restrictions could not be retrieved because the provided parameters were invalid. Possible issues include:
1795
+ - The namespace was not provided, or longer than 255 characters
1796
+ - The featureKey was not provided, or longer than 255 characters`,
1797
+ 401: `The currently authenticated user has insufficient permissions to retrieve project settings restrictions`,
1798
+ 404: `The specified project does not exist`,
1799
+ },
1800
+ });
1801
+ }
1802
+ /**
1803
+ * Delete auto decline settings
1804
+ * Delete auto decline settings for the supplied project.
1805
+ *
1806
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for this project to call the resource.
1807
+ * @param projectKey The project key
1808
+ * @returns void
1809
+ * @throws ApiError
1810
+ */
1811
+ public static deleteAutoDeclineSettings(
1812
+ projectKey: string,
1813
+ ): CancelablePromise<void> {
1814
+ return __request(OpenAPI, {
1815
+ method: 'DELETE',
1816
+ url: '/api/latest/projects/{projectKey}/settings/auto-decline',
1817
+ path: {
1818
+ 'projectKey': projectKey,
1819
+ },
1820
+ errors: {
1821
+ 401: `The currently authenticated user has insufficient permissions to delete the auto decline settings.`,
1822
+ 404: `The specified project does not exist.`,
1823
+ },
1824
+ });
1825
+ }
1826
+ /**
1827
+ * Get auto decline settings
1828
+ * Retrieves the auto decline settings for the supplied project. Default settings are returned if no explicit settings have been set for the project.
1829
+ * @param projectKey The project key
1830
+ * @returns RestAutoDeclineSettings The auto decline settings
1831
+ * @throws ApiError
1832
+ */
1833
+ public static getAutoDeclineSettings(
1834
+ projectKey: string,
1835
+ ): CancelablePromise<RestAutoDeclineSettings> {
1836
+ return __request(OpenAPI, {
1837
+ method: 'GET',
1838
+ url: '/api/latest/projects/{projectKey}/settings/auto-decline',
1839
+ path: {
1840
+ 'projectKey': projectKey,
1841
+ },
1842
+ errors: {
1843
+ 401: `The currently authenticated user has insufficient permissions to retrieve the auto decline settings.`,
1844
+ 404: `The specified project does not exist.`,
1845
+ },
1846
+ });
1847
+ }
1848
+ /**
1849
+ * Create/Update auto decline settings
1850
+ * Creates or updates the auto decline settings for the supplied project.
1851
+ *
1852
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for this project to call the resource.
1853
+ * @param projectKey The project key
1854
+ * @param requestBody The settings to create or update
1855
+ * @returns RestAutoDeclineSettings The auto decline settings
1856
+ * @throws ApiError
1857
+ */
1858
+ public static setAutoDeclineSettings(
1859
+ projectKey: string,
1860
+ requestBody?: RestAutoDeclineSettingsRequest,
1861
+ ): CancelablePromise<RestAutoDeclineSettings> {
1862
+ return __request(OpenAPI, {
1863
+ method: 'PUT',
1864
+ url: '/api/latest/projects/{projectKey}/settings/auto-decline',
1865
+ path: {
1866
+ 'projectKey': projectKey,
1867
+ },
1868
+ body: requestBody,
1869
+ mediaType: 'application/json',
1870
+ errors: {
1871
+ 400: `inactivityWeeks was not one of 1, 2, 4, 8, or, 12, or the enabled parameter was not included in the request.`,
1872
+ 401: `The currently authenticated user has insufficient permissions to create or update the auto decline settings.`,
1873
+ 404: `The specified project does not exist.`,
1874
+ },
1875
+ });
1876
+ }
1877
+ /**
1878
+ * Delete pull request auto-merge settings
1879
+ * Deletes pull request auto-merge settings for the supplied project.
1880
+ *
1881
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for this project to call the resource.
1882
+ * @param projectKey The project key
1883
+ * @returns void
1884
+ * @throws ApiError
1885
+ */
1886
+ public static delete4(
1887
+ projectKey: string,
1888
+ ): CancelablePromise<void> {
1889
+ return __request(OpenAPI, {
1890
+ method: 'DELETE',
1891
+ url: '/api/latest/projects/{projectKey}/settings/auto-merge',
1892
+ path: {
1893
+ 'projectKey': projectKey,
1894
+ },
1895
+ errors: {
1896
+ 401: `The currently authenticated user has insufficient permissions to delete the pull request auto-merge settings.`,
1897
+ 404: `The specified project does not exist.`,
1898
+ },
1899
+ });
1900
+ }
1901
+ /**
1902
+ * Get pull request auto-merge settings
1903
+ * Retrieves the pull request auto-merge settings for the supplied project. Default settings will be returned if no explicit settings have been set for the project
1904
+ *
1905
+ * The authenticated user must have <strong>PROJECT_VIEW</strong> permission for this project to call the resource.
1906
+ * @param projectKey The project key
1907
+ * @returns RestAutoMergeRestrictedSettings The pull request auto-merge settings
1908
+ * @throws ApiError
1909
+ */
1910
+ public static get4(
1911
+ projectKey: string,
1912
+ ): CancelablePromise<RestAutoMergeRestrictedSettings> {
1913
+ return __request(OpenAPI, {
1914
+ method: 'GET',
1915
+ url: '/api/latest/projects/{projectKey}/settings/auto-merge',
1916
+ path: {
1917
+ 'projectKey': projectKey,
1918
+ },
1919
+ errors: {
1920
+ 401: `The currently authenticated user has insufficient permissions to retrieve the pull request auto-merge settings.`,
1921
+ 404: `The specified project does not exist.`,
1922
+ },
1923
+ });
1924
+ }
1925
+ /**
1926
+ * Create or update the pull request auto-merge settings
1927
+ * Creates or updates the pull request auto-merge settings for the supplied project, and applies the restriction action specified in the request.
1928
+ *
1929
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for this project to call the resource.
1930
+ * @param projectKey The project key
1931
+ * @param requestBody The settings to create or update
1932
+ * @returns RestAutoMergeRestrictedSettings The pull request auto-merge settings
1933
+ * @throws ApiError
1934
+ */
1935
+ public static set(
1936
+ projectKey: string,
1937
+ requestBody?: RestAutoMergeProjectSettingsRequest,
1938
+ ): CancelablePromise<RestAutoMergeRestrictedSettings> {
1939
+ return __request(OpenAPI, {
1940
+ method: 'PUT',
1941
+ url: '/api/latest/projects/{projectKey}/settings/auto-merge',
1942
+ path: {
1943
+ 'projectKey': projectKey,
1944
+ },
1945
+ body: requestBody,
1946
+ mediaType: 'application/json',
1947
+ errors: {
1948
+ 400: `The 'enabled' and 'restrictionAction' fields were not provided correctly.`,
1949
+ 401: `The currently authenticated user has insufficient permissions to create or update the pull request auto-merge settings.`,
1950
+ 404: `The specified project does not exist.`,
1951
+ },
1952
+ });
1953
+ }
1954
+ /**
1955
+ * Get repository hooks
1956
+ * Retrieve a page of repository hooks for this project.
1957
+ *
1958
+ * The authenticated user must have <strong>PROJECT_READ</strong> permission for the specified project to call this resource.
1959
+ * @param projectKey The project key.
1960
+ * @param type The optional type to filter by.
1961
+ * @param start Start number for the page (inclusive). If not passed, first page is assumed.
1962
+ * @param limit Number of items to return. If not passed, a page size of 25 is used.
1963
+ * @returns any A page of repository hooks with their associated enabled state.
1964
+ * @throws ApiError
1965
+ */
1966
+ public static getRepositoryHooks(
1967
+ projectKey: string,
1968
+ type?: 'PRE_RECEIVE' | 'POST_RECEIVE',
1969
+ start?: number,
1970
+ limit?: number,
1971
+ ): CancelablePromise<{
1972
+ isLastPage?: boolean;
1973
+ limit?: number;
1974
+ nextPageStart?: number;
1975
+ size?: number;
1976
+ start?: number;
1977
+ values?: Array<RestRepositoryHook>;
1978
+ }> {
1979
+ return __request(OpenAPI, {
1980
+ method: 'GET',
1981
+ url: '/api/latest/projects/{projectKey}/settings/hooks',
1982
+ path: {
1983
+ 'projectKey': projectKey,
1984
+ },
1985
+ query: {
1986
+ 'type': type,
1987
+ 'start': start,
1988
+ 'limit': limit,
1989
+ },
1990
+ errors: {
1991
+ 401: `The currently authenticated user has insufficient permissions to retrieve the hooks.`,
1992
+ 404: `The specified project does not exist.`,
1993
+ },
1994
+ });
1995
+ }
1996
+ /**
1997
+ * Get a repository hook
1998
+ * Retrieve a repository hook for this project.
1999
+ *
2000
+ * The authenticated user must have <strong>PROJECT_READ</strong> permission for the specified project to call this resource.
2001
+ * @param projectKey The project key.
2002
+ * @param hookKey The hook key.
2003
+ * @returns RestRepositoryHook Returns the repository hooks with their associated enabled state for the supplied hookKey.
2004
+ * @throws ApiError
2005
+ */
2006
+ public static getRepositoryHook(
2007
+ projectKey: string,
2008
+ hookKey: string,
2009
+ ): CancelablePromise<RestRepositoryHook> {
2010
+ return __request(OpenAPI, {
2011
+ method: 'GET',
2012
+ url: '/api/latest/projects/{projectKey}/settings/hooks/{hookKey}',
2013
+ path: {
2014
+ 'projectKey': projectKey,
2015
+ 'hookKey': hookKey,
2016
+ },
2017
+ errors: {
2018
+ 401: `The currently authenticated user has insufficient permissions to enable the hook.`,
2019
+ 404: `The specified repository hook does not exist for the given project, or the project does not exist.`,
2020
+ },
2021
+ });
2022
+ }
2023
+ /**
2024
+ * Disable repository hook
2025
+ * Disable a repository hook for this project.
2026
+ *
2027
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2028
+ * @param projectKey The project key.
2029
+ * @param hookKey The hook key.
2030
+ * @returns RestRepositoryHook The repository hooks with their associated enabled state for the supplied hookKey.
2031
+ * @throws ApiError
2032
+ */
2033
+ public static disableHook(
2034
+ projectKey: string,
2035
+ hookKey: string,
2036
+ ): CancelablePromise<RestRepositoryHook> {
2037
+ return __request(OpenAPI, {
2038
+ method: 'DELETE',
2039
+ url: '/api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled',
2040
+ path: {
2041
+ 'projectKey': projectKey,
2042
+ 'hookKey': hookKey,
2043
+ },
2044
+ errors: {
2045
+ 401: `The currently authenticated user has insufficient permissions to disable the hook.`,
2046
+ 404: `The specified project or hook does not exist.`,
2047
+ },
2048
+ });
2049
+ }
2050
+ /**
2051
+ * Enable repository hook
2052
+ * Enable a repository hook for this project and optionally apply new configuration.
2053
+ *
2054
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2055
+ *
2056
+ * 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.
2057
+ * @param projectKey The project key.
2058
+ * @param hookKey The hook key.
2059
+ * @param contentLength The content length.
2060
+ * @returns RestRepositoryHook The repository hooks with their associated enabled state for the supplied hookKey.
2061
+ * @throws ApiError
2062
+ */
2063
+ public static enableHook(
2064
+ projectKey: string,
2065
+ hookKey: string,
2066
+ contentLength?: number,
2067
+ ): CancelablePromise<RestRepositoryHook> {
2068
+ return __request(OpenAPI, {
2069
+ method: 'PUT',
2070
+ url: '/api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled',
2071
+ path: {
2072
+ 'projectKey': projectKey,
2073
+ 'hookKey': hookKey,
2074
+ },
2075
+ headers: {
2076
+ 'Content-Length': contentLength,
2077
+ },
2078
+ errors: {
2079
+ 400: `The settings specified are invalid.`,
2080
+ 401: `The currently authenticated user has insufficient permissions to enable the hook.`,
2081
+ 404: `The specified project or hook does not exist.`,
2082
+ },
2083
+ });
2084
+ }
2085
+ /**
2086
+ * Get repository hook settings
2087
+ * Retrieve the settings for a repository hook for this project.
2088
+ *
2089
+ * The authenticated user must have <strong>PROJECT_READ</strong> permission for the specified project to call this resource.
2090
+ * @param projectKey The project key.
2091
+ * @param hookKey The hook key.
2092
+ * @returns ExampleSettings The settings for the hook.
2093
+ * @throws ApiError
2094
+ */
2095
+ public static getSettings(
2096
+ projectKey: string,
2097
+ hookKey: string,
2098
+ ): CancelablePromise<ExampleSettings> {
2099
+ return __request(OpenAPI, {
2100
+ method: 'GET',
2101
+ url: '/api/latest/projects/{projectKey}/settings/hooks/{hookKey}/settings',
2102
+ path: {
2103
+ 'projectKey': projectKey,
2104
+ 'hookKey': hookKey,
2105
+ },
2106
+ errors: {
2107
+ 401: `The currently authenticated user has insufficient permissions to retrieve the hook settings.`,
2108
+ 404: `The specified project or hook does not exist.`,
2109
+ },
2110
+ });
2111
+ }
2112
+ /**
2113
+ * Update repository hook settings
2114
+ * Modify the settings for a repository hook for this project.
2115
+ *
2116
+ * The service will reject any settings which are too large, the current limit is 32KB once serialized.
2117
+ *
2118
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2119
+ *
2120
+ * 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.
2121
+ * @param projectKey The project key.
2122
+ * @param hookKey The complete module key of the hook module.
2123
+ * @param requestBody The raw settings.
2124
+ * @returns ExampleSettings The settings for the hook.
2125
+ * @throws ApiError
2126
+ */
2127
+ public static setSettings(
2128
+ projectKey: string,
2129
+ hookKey: string,
2130
+ requestBody?: ExampleSettings,
2131
+ ): CancelablePromise<ExampleSettings> {
2132
+ return __request(OpenAPI, {
2133
+ method: 'PUT',
2134
+ url: '/api/latest/projects/{projectKey}/settings/hooks/{hookKey}/settings',
2135
+ path: {
2136
+ 'projectKey': projectKey,
2137
+ 'hookKey': hookKey,
2138
+ },
2139
+ body: requestBody,
2140
+ mediaType: 'application/json',
2141
+ errors: {
2142
+ 400: `The settings specified are invalid.`,
2143
+ 401: `The currently authenticated user has insufficient permissions to modify the hook settings.`,
2144
+ 404: `The specified project or hook does not exist.`,
2145
+ },
2146
+ });
2147
+ }
2148
+ /**
2149
+ * Get merge strategy
2150
+ * Retrieve the merge strategy configuration for this project and SCM.
2151
+ *
2152
+ * The authenticated user must have <strong>PROJECT_READ</strong> permission for the context repository to call this resource.
2153
+ * @param projectKey The project key.
2154
+ * @param scmId The SCM to get strategies for.
2155
+ * @returns RestPullRequestSettings The merge configuration of the request project.
2156
+ * @throws ApiError
2157
+ */
2158
+ public static getPullRequestSettings(
2159
+ projectKey: string,
2160
+ scmId: string,
2161
+ ): CancelablePromise<RestPullRequestSettings> {
2162
+ return __request(OpenAPI, {
2163
+ method: 'GET',
2164
+ url: '/api/latest/projects/{projectKey}/settings/pull-requests/{scmId}',
2165
+ path: {
2166
+ 'projectKey': projectKey,
2167
+ 'scmId': scmId,
2168
+ },
2169
+ errors: {
2170
+ 401: `The currently authenticated user has insufficient permissions to see the request repository.`,
2171
+ 404: `The request repository does not exist.`,
2172
+ },
2173
+ });
2174
+ }
2175
+ /**
2176
+ * Update merge strategy
2177
+ * Update the pull request merge strategy configuration for this project and SCM.
2178
+ *
2179
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the context repository to call this resource.
2180
+ *
2181
+ * Only the strategies provided will be enabled, the default must be set and included in the set of strategies.
2182
+ *
2183
+ * An explicitly set pull request merge strategy configuration can be deleted by POSTing a document with an empty "mergeConfig" attribute. i.e:
2184
+ * <pre>{
2185
+ * "mergeConfig": {}
2186
+ * }
2187
+ * </pre>
2188
+ *
2189
+ * Upon completion of this request, the effective configuration will be the configuration explicitly set for the SCM, or if no such explicit configuration is set then the default configuration will be used.
2190
+ * @param projectKey The project key.
2191
+ * @param scmId The SCM to get strategies for.
2192
+ * @param requestBody The settings.
2193
+ * @returns RestPullRequestSettings The merge configuration of the request project.
2194
+ * @throws ApiError
2195
+ */
2196
+ public static updatePullRequestSettings(
2197
+ projectKey: string,
2198
+ scmId: string,
2199
+ requestBody?: RestPullRequestSettings,
2200
+ ): CancelablePromise<RestPullRequestSettings> {
2201
+ return __request(OpenAPI, {
2202
+ method: 'POST',
2203
+ url: '/api/latest/projects/{projectKey}/settings/pull-requests/{scmId}',
2204
+ path: {
2205
+ 'projectKey': projectKey,
2206
+ 'scmId': scmId,
2207
+ },
2208
+ body: requestBody,
2209
+ mediaType: 'application/json',
2210
+ errors: {
2211
+ 400: `The repository pull request merge strategies were not updated due to a validation error.`,
2212
+ 401: `The currently authenticated user has insufficient permissions to administrate the specified repository.`,
2213
+ 404: `The specified repository does not exist.`,
2214
+ },
2215
+ });
2216
+ }
2217
+ /**
2218
+ * Find webhooks
2219
+ * Find webhooks in this project.
2220
+ *
2221
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2222
+ * @param projectKey The project key.
2223
+ * @param event List of <code>com.atlassian.webhooks.WebhookEvent</code> IDs to filter for
2224
+ * @param statistics <code>true</code> if statistics should be provided for all found webhooks
2225
+ * @returns any A page of webhooks.
2226
+ * @throws ApiError
2227
+ */
2228
+ public static findWebhooks(
2229
+ projectKey: string,
2230
+ event?: string,
2231
+ statistics?: boolean,
2232
+ ): CancelablePromise<any> {
2233
+ return __request(OpenAPI, {
2234
+ method: 'GET',
2235
+ url: '/api/latest/projects/{projectKey}/webhooks',
2236
+ path: {
2237
+ 'projectKey': projectKey,
2238
+ },
2239
+ query: {
2240
+ 'event': event,
2241
+ 'statistics': statistics,
2242
+ },
2243
+ errors: {
2244
+ 401: `The currently authenticated user has insufficient permissions to find webhooks in the project.`,
2245
+ 404: `The specified project does not exist.`,
2246
+ },
2247
+ });
2248
+ }
2249
+ /**
2250
+ * Create webhook
2251
+ * Create a webhook for the project specified via the URL.
2252
+ *
2253
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2254
+ * @param projectKey The project key.
2255
+ * @param requestBody The webhook to be created for this project.
2256
+ * @returns RestWebhook A created webhook.
2257
+ * @throws ApiError
2258
+ */
2259
+ public static createWebhook(
2260
+ projectKey: string,
2261
+ requestBody?: RestWebhook,
2262
+ ): CancelablePromise<RestWebhook> {
2263
+ return __request(OpenAPI, {
2264
+ method: 'POST',
2265
+ url: '/api/latest/projects/{projectKey}/webhooks',
2266
+ path: {
2267
+ 'projectKey': projectKey,
2268
+ },
2269
+ body: requestBody,
2270
+ mediaType: 'application/json',
2271
+ errors: {
2272
+ 400: `The webhook parameters were invalid or not supplied.`,
2273
+ 401: `The currently authenticated user has insufficient permissions to create webhooks in the project.`,
2274
+ 404: `The project does not exist.`,
2275
+ },
2276
+ });
2277
+ }
2278
+ /**
2279
+ * Test webhook
2280
+ * Test connectivity to a specific endpoint.
2281
+ *
2282
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2283
+ * @param projectKey The project key.
2284
+ * @param webhookId
2285
+ * @param sslVerificationRequired
2286
+ * @param url The url in which to connect to
2287
+ * @param requestBody Basic authentication credentials, if required.
2288
+ * @returns RestWebhookRequestResponse A webhook.
2289
+ * @throws ApiError
2290
+ */
2291
+ public static testWebhook(
2292
+ projectKey: string,
2293
+ webhookId?: number,
2294
+ sslVerificationRequired: boolean = true,
2295
+ url?: string,
2296
+ requestBody?: RestWebhookCredentials,
2297
+ ): CancelablePromise<RestWebhookRequestResponse> {
2298
+ return __request(OpenAPI, {
2299
+ method: 'POST',
2300
+ url: '/api/latest/projects/{projectKey}/webhooks/test',
2301
+ path: {
2302
+ 'projectKey': projectKey,
2303
+ },
2304
+ query: {
2305
+ 'webhookId': webhookId,
2306
+ 'sslVerificationRequired': sslVerificationRequired,
2307
+ 'url': url,
2308
+ },
2309
+ body: requestBody,
2310
+ mediaType: 'application/json',
2311
+ errors: {
2312
+ 401: `The currently authenticated user has insufficient permissions to test a connection.`,
2313
+ 404: `The specified project does not exist.`,
2314
+ },
2315
+ });
2316
+ }
2317
+ /**
2318
+ * Delete webhook
2319
+ * Delete a webhook for the project specified via the URL.
2320
+ *
2321
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2322
+ * @param projectKey The project key.
2323
+ * @param webhookId The ID of the webhook to be deleted.
2324
+ * @returns void
2325
+ * @throws ApiError
2326
+ */
2327
+ public static deleteWebhook(
2328
+ projectKey: string,
2329
+ webhookId: string,
2330
+ ): CancelablePromise<void> {
2331
+ return __request(OpenAPI, {
2332
+ method: 'DELETE',
2333
+ url: '/api/latest/projects/{projectKey}/webhooks/{webhookId}',
2334
+ path: {
2335
+ 'projectKey': projectKey,
2336
+ 'webhookId': webhookId,
2337
+ },
2338
+ errors: {
2339
+ 401: `The currently authenticated user has insufficient permissions to delete webhooks in the project.`,
2340
+ 404: `The specified project does not exist, or webhook does not exist in this project.`,
2341
+ },
2342
+ });
2343
+ }
2344
+ /**
2345
+ * Get webhook
2346
+ * Get a webhook by ID.
2347
+ *
2348
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2349
+ * @param projectKey The project key.
2350
+ * @param webhookId ID of the webhook
2351
+ * @param statistics <code>true</code> if statistics should be provided for the webhook
2352
+ * @returns RestWebhook A webhook.
2353
+ * @throws ApiError
2354
+ */
2355
+ public static getWebhook(
2356
+ projectKey: string,
2357
+ webhookId: string,
2358
+ statistics?: string,
2359
+ ): CancelablePromise<RestWebhook> {
2360
+ return __request(OpenAPI, {
2361
+ method: 'GET',
2362
+ url: '/api/latest/projects/{projectKey}/webhooks/{webhookId}',
2363
+ path: {
2364
+ 'projectKey': projectKey,
2365
+ 'webhookId': webhookId,
2366
+ },
2367
+ query: {
2368
+ 'statistics': statistics,
2369
+ },
2370
+ errors: {
2371
+ 401: `The currently authenticated user has insufficient permissions to get a webhook in the project.`,
2372
+ 404: `The project does not exist, or the webhook does not exist in the project.`,
2373
+ },
2374
+ });
2375
+ }
2376
+ /**
2377
+ * Update webhook
2378
+ * Update an existing webhook.
2379
+ *
2380
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2381
+ * @param projectKey The project key.
2382
+ * @param webhookId Id of the existing webhook
2383
+ * @param requestBody The representation of the updated values for the webhook
2384
+ * @returns RestWebhook A webhook.
2385
+ * @throws ApiError
2386
+ */
2387
+ public static updateWebhook(
2388
+ projectKey: string,
2389
+ webhookId: string,
2390
+ requestBody?: RestWebhook,
2391
+ ): CancelablePromise<RestWebhook> {
2392
+ return __request(OpenAPI, {
2393
+ method: 'PUT',
2394
+ url: '/api/latest/projects/{projectKey}/webhooks/{webhookId}',
2395
+ path: {
2396
+ 'projectKey': projectKey,
2397
+ 'webhookId': webhookId,
2398
+ },
2399
+ body: requestBody,
2400
+ mediaType: 'application/json',
2401
+ errors: {
2402
+ 401: `The currently authenticated user has insufficient permissions to update a webhook in this project.`,
2403
+ 404: `The project does not exist, or the webhook does not exist in the project.`,
2404
+ },
2405
+ });
2406
+ }
2407
+ /**
2408
+ * Get last webhook invocation details
2409
+ * Get the latest invocations for a specific webhook.
2410
+ *
2411
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2412
+ * @param projectKey The project key.
2413
+ * @param webhookId ID of the webhook
2414
+ * @param event The string ID of a specific event to retrieve the last invocation for.
2415
+ * @param outcome The outcome to filter for. Can be SUCCESS, FAILURE, ERROR. None specified means that the all will be considered
2416
+ * @returns RestDetailedInvocation A webhook invocation dataset.
2417
+ * @throws ApiError
2418
+ */
2419
+ public static getLatestInvocation(
2420
+ projectKey: string,
2421
+ webhookId: string,
2422
+ event?: string,
2423
+ outcome?: string,
2424
+ ): CancelablePromise<RestDetailedInvocation> {
2425
+ return __request(OpenAPI, {
2426
+ method: 'GET',
2427
+ url: '/api/latest/projects/{projectKey}/webhooks/{webhookId}/latest',
2428
+ path: {
2429
+ 'projectKey': projectKey,
2430
+ 'webhookId': webhookId,
2431
+ },
2432
+ query: {
2433
+ 'event': event,
2434
+ 'outcome': outcome,
2435
+ },
2436
+ errors: {
2437
+ 401: `The currently authenticated user has insufficient permissions to get webhook invocations in the project.`,
2438
+ 404: `The specified project does not exist, or the webhook does not exist in the project.`,
2439
+ },
2440
+ });
2441
+ }
2442
+ /**
2443
+ * Get webhook statistics
2444
+ * Get the statistics for a specific webhook.
2445
+ *
2446
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2447
+ * @param projectKey The project key.
2448
+ * @param webhookId ID of the webhook
2449
+ * @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
2450
+ * @returns RestInvocationHistory A webhook invocation dataset.
2451
+ * @throws ApiError
2452
+ */
2453
+ public static getStatistics(
2454
+ projectKey: string,
2455
+ webhookId: string,
2456
+ event?: string,
2457
+ ): CancelablePromise<RestInvocationHistory> {
2458
+ return __request(OpenAPI, {
2459
+ method: 'GET',
2460
+ url: '/api/latest/projects/{projectKey}/webhooks/{webhookId}/statistics',
2461
+ path: {
2462
+ 'projectKey': projectKey,
2463
+ 'webhookId': webhookId,
2464
+ },
2465
+ query: {
2466
+ 'event': event,
2467
+ },
2468
+ errors: {
2469
+ 401: `The currently authenticated user has insufficient permissions to get webhook statistics in the project.`,
2470
+ 404: `The specified project does not exist, or the webhook does not exist in the project.`,
2471
+ },
2472
+ });
2473
+ }
2474
+ /**
2475
+ * Get webhook statistics summary
2476
+ * Get the statistics summary for a specific webhook.
2477
+ *
2478
+ * The authenticated user must have <strong>PROJECT_ADMIN</strong> permission for the specified project to call this resource.
2479
+ * @param projectKey The project key.
2480
+ * @param webhookId ID of the webhook
2481
+ * @returns RestInvocationHistory A webhook invocation dataset.
2482
+ * @throws ApiError
2483
+ */
2484
+ public static getStatisticsSummary(
2485
+ projectKey: string,
2486
+ webhookId: string,
2487
+ ): CancelablePromise<RestInvocationHistory> {
2488
+ return __request(OpenAPI, {
2489
+ method: 'GET',
2490
+ url: '/api/latest/projects/{projectKey}/webhooks/{webhookId}/statistics/summary',
2491
+ path: {
2492
+ 'projectKey': projectKey,
2493
+ 'webhookId': webhookId,
2494
+ },
2495
+ errors: {
2496
+ 401: `The currently authenticated user has insufficient permissions to get webhook statistics summary in the project.`,
2497
+ 404: `The project does not exist, or the webhook does not exist in the project.`,
2498
+ },
2499
+ });
2500
+ }
2501
+ }
2502
+