@daghis/teamcity-mcp 0.1.2

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 (1133) hide show
  1. package/.commitlintrc.js +3 -0
  2. package/.eslintignore +16 -0
  3. package/.eslintrc.js +166 -0
  4. package/.github/settings.yml +7 -0
  5. package/.github/workflows/ci.yml +111 -0
  6. package/.github/workflows/codeql.yml +35 -0
  7. package/.github/workflows/commitlint.yml +20 -0
  8. package/.github/workflows/publish.yml +47 -0
  9. package/.github/workflows/release-please.yml +21 -0
  10. package/.nvmrc +1 -0
  11. package/.prettierignore +22 -0
  12. package/.prettierrc +28 -0
  13. package/AGENTS.md +68 -0
  14. package/ARCHITECTURE.md +66 -0
  15. package/CHANGELOG.md +8 -0
  16. package/CONTRIBUTING.md +68 -0
  17. package/LICENSE +22 -0
  18. package/README.md +256 -0
  19. package/TODO.md +80 -0
  20. package/dist/index.js +42216 -0
  21. package/dist/index.js.map +7 -0
  22. package/dist/src/api-client.d.ts +51 -0
  23. package/dist/src/api-client.d.ts.map +1 -0
  24. package/dist/src/config/index.d.ts +41 -0
  25. package/dist/src/config/index.d.ts.map +1 -0
  26. package/dist/src/errors/index.d.ts +2 -0
  27. package/dist/src/errors/index.d.ts.map +1 -0
  28. package/dist/src/formatters/build-step-formatter.d.ts +5 -0
  29. package/dist/src/formatters/build-step-formatter.d.ts.map +1 -0
  30. package/dist/src/formatters/trigger-formatter.d.ts +4 -0
  31. package/dist/src/formatters/trigger-formatter.d.ts.map +1 -0
  32. package/dist/src/index.d.ts +3 -0
  33. package/dist/src/index.d.ts.map +1 -0
  34. package/dist/src/middleware/error.d.ts +56 -0
  35. package/dist/src/middleware/error.d.ts.map +1 -0
  36. package/dist/src/middleware/global-error-handler.d.ts +22 -0
  37. package/dist/src/middleware/global-error-handler.d.ts.map +1 -0
  38. package/dist/src/middleware/index.d.ts +2 -0
  39. package/dist/src/middleware/index.d.ts.map +1 -0
  40. package/dist/src/server.d.ts +4 -0
  41. package/dist/src/server.d.ts.map +1 -0
  42. package/dist/src/swagger/index.d.ts +43 -0
  43. package/dist/src/swagger/index.d.ts.map +1 -0
  44. package/dist/src/swagger/swagger-cache.d.ts +23 -0
  45. package/dist/src/swagger/swagger-cache.d.ts.map +1 -0
  46. package/dist/src/swagger/swagger-fetcher.d.ts +24 -0
  47. package/dist/src/swagger/swagger-fetcher.d.ts.map +1 -0
  48. package/dist/src/swagger/swagger-validator.d.ts +17 -0
  49. package/dist/src/swagger/swagger-validator.d.ts.map +1 -0
  50. package/dist/src/teamcity/api-types.d.ts +224 -0
  51. package/dist/src/teamcity/api-types.d.ts.map +1 -0
  52. package/dist/src/teamcity/artifact-manager.d.ts +52 -0
  53. package/dist/src/teamcity/artifact-manager.d.ts.map +1 -0
  54. package/dist/src/teamcity/auth.d.ts +22 -0
  55. package/dist/src/teamcity/auth.d.ts.map +1 -0
  56. package/dist/src/teamcity/branch-discovery-manager.d.ts +39 -0
  57. package/dist/src/teamcity/branch-discovery-manager.d.ts.map +1 -0
  58. package/dist/src/teamcity/branch-filtering-service.d.ts +62 -0
  59. package/dist/src/teamcity/branch-filtering-service.d.ts.map +1 -0
  60. package/dist/src/teamcity/branch-specification-parser.d.ts +33 -0
  61. package/dist/src/teamcity/branch-specification-parser.d.ts.map +1 -0
  62. package/dist/src/teamcity/build-config-manager.d.ts +75 -0
  63. package/dist/src/teamcity/build-config-manager.d.ts.map +1 -0
  64. package/dist/src/teamcity/build-config-navigator.d.ts +89 -0
  65. package/dist/src/teamcity/build-config-navigator.d.ts.map +1 -0
  66. package/dist/src/teamcity/build-configuration-clone-manager.d.ts +49 -0
  67. package/dist/src/teamcity/build-configuration-clone-manager.d.ts.map +1 -0
  68. package/dist/src/teamcity/build-configuration-manager.d.ts +82 -0
  69. package/dist/src/teamcity/build-configuration-manager.d.ts.map +1 -0
  70. package/dist/src/teamcity/build-configuration-resolver.d.ts +95 -0
  71. package/dist/src/teamcity/build-configuration-resolver.d.ts.map +1 -0
  72. package/dist/src/teamcity/build-configuration-update-manager.d.ts +76 -0
  73. package/dist/src/teamcity/build-configuration-update-manager.d.ts.map +1 -0
  74. package/dist/src/teamcity/build-list-manager.d.ts +62 -0
  75. package/dist/src/teamcity/build-list-manager.d.ts.map +1 -0
  76. package/dist/src/teamcity/build-parameters-manager.d.ts +143 -0
  77. package/dist/src/teamcity/build-parameters-manager.d.ts.map +1 -0
  78. package/dist/src/teamcity/build-progress-tracker.d.ts +49 -0
  79. package/dist/src/teamcity/build-progress-tracker.d.ts.map +1 -0
  80. package/dist/src/teamcity/build-query-builder.d.ts +27 -0
  81. package/dist/src/teamcity/build-query-builder.d.ts.map +1 -0
  82. package/dist/src/teamcity/build-queue-manager.d.ts +102 -0
  83. package/dist/src/teamcity/build-queue-manager.d.ts.map +1 -0
  84. package/dist/src/teamcity/build-results-manager.d.ts +87 -0
  85. package/dist/src/teamcity/build-results-manager.d.ts.map +1 -0
  86. package/dist/src/teamcity/build-status-manager.d.ts +65 -0
  87. package/dist/src/teamcity/build-status-manager.d.ts.map +1 -0
  88. package/dist/src/teamcity/build-step-manager.d.ts +65 -0
  89. package/dist/src/teamcity/build-step-manager.d.ts.map +1 -0
  90. package/dist/src/teamcity/build-trigger-manager.d.ts +108 -0
  91. package/dist/src/teamcity/build-trigger-manager.d.ts.map +1 -0
  92. package/dist/src/teamcity/circuit-breaker.d.ts +47 -0
  93. package/dist/src/teamcity/circuit-breaker.d.ts.map +1 -0
  94. package/dist/src/teamcity/client-adapter.d.ts +12 -0
  95. package/dist/src/teamcity/client-adapter.d.ts.map +1 -0
  96. package/dist/src/teamcity/client.d.ts +49 -0
  97. package/dist/src/teamcity/client.d.ts.map +1 -0
  98. package/dist/src/teamcity/config.d.ts +41 -0
  99. package/dist/src/teamcity/config.d.ts.map +1 -0
  100. package/dist/src/teamcity/configuration-branch-matcher.d.ts +37 -0
  101. package/dist/src/teamcity/configuration-branch-matcher.d.ts.map +1 -0
  102. package/dist/src/teamcity/errors.d.ts +79 -0
  103. package/dist/src/teamcity/errors.d.ts.map +1 -0
  104. package/dist/src/teamcity/index.d.ts +48 -0
  105. package/dist/src/teamcity/index.d.ts.map +1 -0
  106. package/dist/src/teamcity/pagination.d.ts +32 -0
  107. package/dist/src/teamcity/pagination.d.ts.map +1 -0
  108. package/dist/src/teamcity/project-list-manager.d.ts +19 -0
  109. package/dist/src/teamcity/project-list-manager.d.ts.map +1 -0
  110. package/dist/src/teamcity/project-manager.d.ts +73 -0
  111. package/dist/src/teamcity/project-manager.d.ts.map +1 -0
  112. package/dist/src/teamcity/project-navigator.d.ts +100 -0
  113. package/dist/src/teamcity/project-navigator.d.ts.map +1 -0
  114. package/dist/src/teamcity/test-problem-reporter.d.ts +60 -0
  115. package/dist/src/teamcity/test-problem-reporter.d.ts.map +1 -0
  116. package/dist/src/teamcity/types/api-responses.d.ts +235 -0
  117. package/dist/src/teamcity/types/api-responses.d.ts.map +1 -0
  118. package/dist/src/teamcity-client/api/agent-api.d.ts +97 -0
  119. package/dist/src/teamcity-client/api/agent-api.d.ts.map +1 -0
  120. package/dist/src/teamcity-client/api/agent-pool-api.d.ts +92 -0
  121. package/dist/src/teamcity-client/api/agent-pool-api.d.ts.map +1 -0
  122. package/dist/src/teamcity-client/api/agent-type-api.d.ts +20 -0
  123. package/dist/src/teamcity-client/api/agent-type-api.d.ts.map +1 -0
  124. package/dist/src/teamcity-client/api/audit-api.d.ts +26 -0
  125. package/dist/src/teamcity-client/api/audit-api.d.ts.map +1 -0
  126. package/dist/src/teamcity-client/api/avatar-api.d.ts +34 -0
  127. package/dist/src/teamcity-client/api/avatar-api.d.ts.map +1 -0
  128. package/dist/src/teamcity-client/api/build-api.d.ts +315 -0
  129. package/dist/src/teamcity-client/api/build-api.d.ts.map +1 -0
  130. package/dist/src/teamcity-client/api/build-queue-api.d.ts +90 -0
  131. package/dist/src/teamcity-client/api/build-queue-api.d.ts.map +1 -0
  132. package/dist/src/teamcity-client/api/build-type-api.d.ts +585 -0
  133. package/dist/src/teamcity-client/api/build-type-api.d.ts.map +1 -0
  134. package/dist/src/teamcity-client/api/change-api.d.ts +71 -0
  135. package/dist/src/teamcity-client/api/change-api.d.ts.map +1 -0
  136. package/dist/src/teamcity-client/api/cloud-instance-api.d.ts +70 -0
  137. package/dist/src/teamcity-client/api/cloud-instance-api.d.ts.map +1 -0
  138. package/dist/src/teamcity-client/api/deployment-dashboard-api.d.ts +64 -0
  139. package/dist/src/teamcity-client/api/deployment-dashboard-api.d.ts.map +1 -0
  140. package/dist/src/teamcity-client/api/global-server-settings-api.d.ts +25 -0
  141. package/dist/src/teamcity-client/api/global-server-settings-api.d.ts.map +1 -0
  142. package/dist/src/teamcity-client/api/group-api.d.ts +99 -0
  143. package/dist/src/teamcity-client/api/group-api.d.ts.map +1 -0
  144. package/dist/src/teamcity-client/api/health-api.d.ts +38 -0
  145. package/dist/src/teamcity-client/api/health-api.d.ts.map +1 -0
  146. package/dist/src/teamcity-client/api/investigation-api.d.ts +46 -0
  147. package/dist/src/teamcity-client/api/investigation-api.d.ts.map +1 -0
  148. package/dist/src/teamcity-client/api/mute-api.d.ts +46 -0
  149. package/dist/src/teamcity-client/api/mute-api.d.ts.map +1 -0
  150. package/dist/src/teamcity-client/api/node-api.d.ts +49 -0
  151. package/dist/src/teamcity-client/api/node-api.d.ts.map +1 -0
  152. package/dist/src/teamcity-client/api/problem-api.d.ts +26 -0
  153. package/dist/src/teamcity-client/api/problem-api.d.ts.map +1 -0
  154. package/dist/src/teamcity-client/api/problem-occurrence-api.d.ts +26 -0
  155. package/dist/src/teamcity-client/api/problem-occurrence-api.d.ts.map +1 -0
  156. package/dist/src/teamcity-client/api/project-api.d.ts +271 -0
  157. package/dist/src/teamcity-client/api/project-api.d.ts.map +1 -0
  158. package/dist/src/teamcity-client/api/role-api.d.ts +56 -0
  159. package/dist/src/teamcity-client/api/role-api.d.ts.map +1 -0
  160. package/dist/src/teamcity-client/api/root-api.d.ts +35 -0
  161. package/dist/src/teamcity-client/api/root-api.d.ts.map +1 -0
  162. package/dist/src/teamcity-client/api/server-api.d.ts +112 -0
  163. package/dist/src/teamcity-client/api/server-api.d.ts.map +1 -0
  164. package/dist/src/teamcity-client/api/server-authentication-settings-api.d.ts +25 -0
  165. package/dist/src/teamcity-client/api/server-authentication-settings-api.d.ts.map +1 -0
  166. package/dist/src/teamcity-client/api/test-api.d.ts +26 -0
  167. package/dist/src/teamcity-client/api/test-api.d.ts.map +1 -0
  168. package/dist/src/teamcity-client/api/test-occurrence-api.d.ts +26 -0
  169. package/dist/src/teamcity-client/api/test-occurrence-api.d.ts.map +1 -0
  170. package/dist/src/teamcity-client/api/user-api.d.ts +164 -0
  171. package/dist/src/teamcity-client/api/user-api.d.ts.map +1 -0
  172. package/dist/src/teamcity-client/api/vcs-root-api.d.ts +88 -0
  173. package/dist/src/teamcity-client/api/vcs-root-api.d.ts.map +1 -0
  174. package/dist/src/teamcity-client/api/vcs-root-instance-api.d.ts +104 -0
  175. package/dist/src/teamcity-client/api/vcs-root-instance-api.d.ts.map +1 -0
  176. package/dist/src/teamcity-client/api/versioned-settings-api.d.ts +94 -0
  177. package/dist/src/teamcity-client/api/versioned-settings-api.d.ts.map +1 -0
  178. package/dist/src/teamcity-client/api.d.ts +31 -0
  179. package/dist/src/teamcity-client/api.d.ts.map +1 -0
  180. package/dist/src/teamcity-client/base.d.ts +32 -0
  181. package/dist/src/teamcity-client/base.d.ts.map +1 -0
  182. package/dist/src/teamcity-client/common.d.ts +14 -0
  183. package/dist/src/teamcity-client/common.d.ts.map +1 -0
  184. package/dist/src/teamcity-client/configuration.d.ts +23 -0
  185. package/dist/src/teamcity-client/configuration.d.ts.map +1 -0
  186. package/dist/src/teamcity-client/index.d.ts +4 -0
  187. package/dist/src/teamcity-client/index.d.ts.map +1 -0
  188. package/dist/src/teamcity-client/models/agent-locator.d.ts +34 -0
  189. package/dist/src/teamcity-client/models/agent-locator.d.ts.map +1 -0
  190. package/dist/src/teamcity-client/models/agent-pool-locator.d.ts +10 -0
  191. package/dist/src/teamcity-client/models/agent-pool-locator.d.ts.map +1 -0
  192. package/dist/src/teamcity-client/models/agent-pool.d.ts +16 -0
  193. package/dist/src/teamcity-client/models/agent-pool.d.ts.map +1 -0
  194. package/dist/src/teamcity-client/models/agent-pools.d.ts +9 -0
  195. package/dist/src/teamcity-client/models/agent-pools.d.ts.map +1 -0
  196. package/dist/src/teamcity-client/models/agent-requirement.d.ts +11 -0
  197. package/dist/src/teamcity-client/models/agent-requirement.d.ts.map +1 -0
  198. package/dist/src/teamcity-client/models/agent-requirements.d.ts +6 -0
  199. package/dist/src/teamcity-client/models/agent-requirements.d.ts.map +1 -0
  200. package/dist/src/teamcity-client/models/agent-type-locator.d.ts +8 -0
  201. package/dist/src/teamcity-client/models/agent-type-locator.d.ts.map +1 -0
  202. package/dist/src/teamcity-client/models/agent-type.d.ts +14 -0
  203. package/dist/src/teamcity-client/models/agent-type.d.ts.map +1 -0
  204. package/dist/src/teamcity-client/models/agent-types.d.ts +9 -0
  205. package/dist/src/teamcity-client/models/agent-types.d.ts.map +1 -0
  206. package/dist/src/teamcity-client/models/agent.d.ts +59 -0
  207. package/dist/src/teamcity-client/models/agent.d.ts.map +1 -0
  208. package/dist/src/teamcity-client/models/agents.d.ts +9 -0
  209. package/dist/src/teamcity-client/models/agents.d.ts.map +1 -0
  210. package/dist/src/teamcity-client/models/approvable-build.d.ts +6 -0
  211. package/dist/src/teamcity-client/models/approvable-build.d.ts.map +1 -0
  212. package/dist/src/teamcity-client/models/approval-info.d.ts +24 -0
  213. package/dist/src/teamcity-client/models/approval-info.d.ts.map +1 -0
  214. package/dist/src/teamcity-client/models/artifact-dependencies.d.ts +7 -0
  215. package/dist/src/teamcity-client/models/artifact-dependencies.d.ts.map +1 -0
  216. package/dist/src/teamcity-client/models/artifact-dependency.d.ts +13 -0
  217. package/dist/src/teamcity-client/models/artifact-dependency.d.ts.map +1 -0
  218. package/dist/src/teamcity-client/models/artifact-download-info.d.ts +5 -0
  219. package/dist/src/teamcity-client/models/artifact-download-info.d.ts.map +1 -0
  220. package/dist/src/teamcity-client/models/audit-action.d.ts +6 -0
  221. package/dist/src/teamcity-client/models/audit-action.d.ts.map +1 -0
  222. package/dist/src/teamcity-client/models/audit-event.d.ts +12 -0
  223. package/dist/src/teamcity-client/models/audit-event.d.ts.map +1 -0
  224. package/dist/src/teamcity-client/models/audit-events.d.ts +9 -0
  225. package/dist/src/teamcity-client/models/audit-events.d.ts.map +1 -0
  226. package/dist/src/teamcity-client/models/audit-locator.d.ts +245 -0
  227. package/dist/src/teamcity-client/models/audit-locator.d.ts.map +1 -0
  228. package/dist/src/teamcity-client/models/auth-module.d.ts +6 -0
  229. package/dist/src/teamcity-client/models/auth-module.d.ts.map +1 -0
  230. package/dist/src/teamcity-client/models/auth-modules.d.ts +5 -0
  231. package/dist/src/teamcity-client/models/auth-modules.d.ts.map +1 -0
  232. package/dist/src/teamcity-client/models/authorization-tokens-requirements.d.ts +5 -0
  233. package/dist/src/teamcity-client/models/authorization-tokens-requirements.d.ts.map +1 -0
  234. package/dist/src/teamcity-client/models/authorized-info.d.ts +6 -0
  235. package/dist/src/teamcity-client/models/authorized-info.d.ts.map +1 -0
  236. package/dist/src/teamcity-client/models/branch-locator.d.ts +40 -0
  237. package/dist/src/teamcity-client/models/branch-locator.d.ts.map +1 -0
  238. package/dist/src/teamcity-client/models/branch-version.d.ts +13 -0
  239. package/dist/src/teamcity-client/models/branch-version.d.ts.map +1 -0
  240. package/dist/src/teamcity-client/models/branch.d.ts +12 -0
  241. package/dist/src/teamcity-client/models/branch.d.ts.map +1 -0
  242. package/dist/src/teamcity-client/models/branches.d.ts +7 -0
  243. package/dist/src/teamcity-client/models/branches.d.ts.map +1 -0
  244. package/dist/src/teamcity-client/models/build-cancel-request.d.ts +5 -0
  245. package/dist/src/teamcity-client/models/build-cancel-request.d.ts.map +1 -0
  246. package/dist/src/teamcity-client/models/build-change.d.ts +6 -0
  247. package/dist/src/teamcity-client/models/build-change.d.ts.map +1 -0
  248. package/dist/src/teamcity-client/models/build-changes.d.ts +6 -0
  249. package/dist/src/teamcity-client/models/build-changes.d.ts.map +1 -0
  250. package/dist/src/teamcity-client/models/build-executor.d.ts +4 -0
  251. package/dist/src/teamcity-client/models/build-executor.d.ts.map +1 -0
  252. package/dist/src/teamcity-client/models/build-locator.d.ts +69 -0
  253. package/dist/src/teamcity-client/models/build-locator.d.ts.map +1 -0
  254. package/dist/src/teamcity-client/models/build-queue-locator.d.ts +14 -0
  255. package/dist/src/teamcity-client/models/build-queue-locator.d.ts.map +1 -0
  256. package/dist/src/teamcity-client/models/build-status-update.d.ts +5 -0
  257. package/dist/src/teamcity-client/models/build-status-update.d.ts.map +1 -0
  258. package/dist/src/teamcity-client/models/build-trigger-customization.d.ts +7 -0
  259. package/dist/src/teamcity-client/models/build-trigger-customization.d.ts.map +1 -0
  260. package/dist/src/teamcity-client/models/build-triggering-options.d.ts +12 -0
  261. package/dist/src/teamcity-client/models/build-triggering-options.d.ts.map +1 -0
  262. package/dist/src/teamcity-client/models/build-type-locator.d.ts +18 -0
  263. package/dist/src/teamcity-client/models/build-type-locator.d.ts.map +1 -0
  264. package/dist/src/teamcity-client/models/build-type.d.ts +64 -0
  265. package/dist/src/teamcity-client/models/build-type.d.ts.map +1 -0
  266. package/dist/src/teamcity-client/models/build-types.d.ts +9 -0
  267. package/dist/src/teamcity-client/models/build-types.d.ts.map +1 -0
  268. package/dist/src/teamcity-client/models/build.d.ts +127 -0
  269. package/dist/src/teamcity-client/models/build.d.ts.map +1 -0
  270. package/dist/src/teamcity-client/models/builds-with-reason.d.ts +6 -0
  271. package/dist/src/teamcity-client/models/builds-with-reason.d.ts.map +1 -0
  272. package/dist/src/teamcity-client/models/builds.d.ts +9 -0
  273. package/dist/src/teamcity-client/models/builds.d.ts.map +1 -0
  274. package/dist/src/teamcity-client/models/change-locator.d.ts +21 -0
  275. package/dist/src/teamcity-client/models/change-locator.d.ts.map +1 -0
  276. package/dist/src/teamcity-client/models/change-status.d.ts +19 -0
  277. package/dist/src/teamcity-client/models/change-status.d.ts.map +1 -0
  278. package/dist/src/teamcity-client/models/change.d.ts +35 -0
  279. package/dist/src/teamcity-client/models/change.d.ts.map +1 -0
  280. package/dist/src/teamcity-client/models/changes.d.ts +9 -0
  281. package/dist/src/teamcity-client/models/changes.d.ts.map +1 -0
  282. package/dist/src/teamcity-client/models/cleanup.d.ts +9 -0
  283. package/dist/src/teamcity-client/models/cleanup.d.ts.map +1 -0
  284. package/dist/src/teamcity-client/models/cloud-error.d.ts +5 -0
  285. package/dist/src/teamcity-client/models/cloud-error.d.ts.map +1 -0
  286. package/dist/src/teamcity-client/models/cloud-image-locator.d.ts +17 -0
  287. package/dist/src/teamcity-client/models/cloud-image-locator.d.ts.map +1 -0
  288. package/dist/src/teamcity-client/models/cloud-image.d.ts +18 -0
  289. package/dist/src/teamcity-client/models/cloud-image.d.ts.map +1 -0
  290. package/dist/src/teamcity-client/models/cloud-images.d.ts +9 -0
  291. package/dist/src/teamcity-client/models/cloud-images.d.ts.map +1 -0
  292. package/dist/src/teamcity-client/models/cloud-instance-locator.d.ts +13 -0
  293. package/dist/src/teamcity-client/models/cloud-instance-locator.d.ts.map +1 -0
  294. package/dist/src/teamcity-client/models/cloud-instance.d.ts +16 -0
  295. package/dist/src/teamcity-client/models/cloud-instance.d.ts.map +1 -0
  296. package/dist/src/teamcity-client/models/cloud-instances.d.ts +9 -0
  297. package/dist/src/teamcity-client/models/cloud-instances.d.ts.map +1 -0
  298. package/dist/src/teamcity-client/models/cloud-profile-locator.d.ts +13 -0
  299. package/dist/src/teamcity-client/models/cloud-profile-locator.d.ts.map +1 -0
  300. package/dist/src/teamcity-client/models/cloud-profile.d.ts +13 -0
  301. package/dist/src/teamcity-client/models/cloud-profile.d.ts.map +1 -0
  302. package/dist/src/teamcity-client/models/cloud-profiles.d.ts +9 -0
  303. package/dist/src/teamcity-client/models/cloud-profiles.d.ts.map +1 -0
  304. package/dist/src/teamcity-client/models/comment.d.ts +7 -0
  305. package/dist/src/teamcity-client/models/comment.d.ts.map +1 -0
  306. package/dist/src/teamcity-client/models/commiter.d.ts +6 -0
  307. package/dist/src/teamcity-client/models/commiter.d.ts.map +1 -0
  308. package/dist/src/teamcity-client/models/compatibilities.d.ts +6 -0
  309. package/dist/src/teamcity-client/models/compatibilities.d.ts.map +1 -0
  310. package/dist/src/teamcity-client/models/compatibility-policy.d.ts +6 -0
  311. package/dist/src/teamcity-client/models/compatibility-policy.d.ts.map +1 -0
  312. package/dist/src/teamcity-client/models/compatibility.d.ts +10 -0
  313. package/dist/src/teamcity-client/models/compatibility.d.ts.map +1 -0
  314. package/dist/src/teamcity-client/models/composite-approval-rule.d.ts +10 -0
  315. package/dist/src/teamcity-client/models/composite-approval-rule.d.ts.map +1 -0
  316. package/dist/src/teamcity-client/models/composite-approvals.d.ts +6 -0
  317. package/dist/src/teamcity-client/models/composite-approvals.d.ts.map +1 -0
  318. package/dist/src/teamcity-client/models/cron.d.ts +8 -0
  319. package/dist/src/teamcity-client/models/cron.d.ts.map +1 -0
  320. package/dist/src/teamcity-client/models/customizations.d.ts +15 -0
  321. package/dist/src/teamcity-client/models/customizations.d.ts.map +1 -0
  322. package/dist/src/teamcity-client/models/daily.d.ts +5 -0
  323. package/dist/src/teamcity-client/models/daily.d.ts.map +1 -0
  324. package/dist/src/teamcity-client/models/datas.d.ts +6 -0
  325. package/dist/src/teamcity-client/models/datas.d.ts.map +1 -0
  326. package/dist/src/teamcity-client/models/deployment-dashboard-locator.d.ts +9 -0
  327. package/dist/src/teamcity-client/models/deployment-dashboard-locator.d.ts.map +1 -0
  328. package/dist/src/teamcity-client/models/deployment-dashboard.d.ts +9 -0
  329. package/dist/src/teamcity-client/models/deployment-dashboard.d.ts.map +1 -0
  330. package/dist/src/teamcity-client/models/deployment-dashboards.d.ts +9 -0
  331. package/dist/src/teamcity-client/models/deployment-dashboards.d.ts.map +1 -0
  332. package/dist/src/teamcity-client/models/deployment-history.d.ts +6 -0
  333. package/dist/src/teamcity-client/models/deployment-history.d.ts.map +1 -0
  334. package/dist/src/teamcity-client/models/deployment-instance-locator.d.ts +16 -0
  335. package/dist/src/teamcity-client/models/deployment-instance-locator.d.ts.map +1 -0
  336. package/dist/src/teamcity-client/models/deployment-instance.d.ts +20 -0
  337. package/dist/src/teamcity-client/models/deployment-instance.d.ts.map +1 -0
  338. package/dist/src/teamcity-client/models/deployment-instances.d.ts +9 -0
  339. package/dist/src/teamcity-client/models/deployment-instances.d.ts.map +1 -0
  340. package/dist/src/teamcity-client/models/deployment-state-entries.d.ts +8 -0
  341. package/dist/src/teamcity-client/models/deployment-state-entries.d.ts.map +1 -0
  342. package/dist/src/teamcity-client/models/deployment-state-entry.d.ts +16 -0
  343. package/dist/src/teamcity-client/models/deployment-state-entry.d.ts.map +1 -0
  344. package/dist/src/teamcity-client/models/disabled-responsibilities.d.ts +6 -0
  345. package/dist/src/teamcity-client/models/disabled-responsibilities.d.ts.map +1 -0
  346. package/dist/src/teamcity-client/models/download-info.d.ts +8 -0
  347. package/dist/src/teamcity-client/models/download-info.d.ts.map +1 -0
  348. package/dist/src/teamcity-client/models/downloaded-artifacts.d.ts +7 -0
  349. package/dist/src/teamcity-client/models/downloaded-artifacts.d.ts.map +1 -0
  350. package/dist/src/teamcity-client/models/effective-responsibilities.d.ts +6 -0
  351. package/dist/src/teamcity-client/models/effective-responsibilities.d.ts.map +1 -0
  352. package/dist/src/teamcity-client/models/enabled-info.d.ts +7 -0
  353. package/dist/src/teamcity-client/models/enabled-info.d.ts.map +1 -0
  354. package/dist/src/teamcity-client/models/enabled-responsibilities.d.ts +6 -0
  355. package/dist/src/teamcity-client/models/enabled-responsibilities.d.ts.map +1 -0
  356. package/dist/src/teamcity-client/models/entries.d.ts +6 -0
  357. package/dist/src/teamcity-client/models/entries.d.ts.map +1 -0
  358. package/dist/src/teamcity-client/models/entry.d.ts +5 -0
  359. package/dist/src/teamcity-client/models/entry.d.ts.map +1 -0
  360. package/dist/src/teamcity-client/models/environment.d.ts +5 -0
  361. package/dist/src/teamcity-client/models/environment.d.ts.map +1 -0
  362. package/dist/src/teamcity-client/models/feature.d.ts +11 -0
  363. package/dist/src/teamcity-client/models/feature.d.ts.map +1 -0
  364. package/dist/src/teamcity-client/models/features.d.ts +6 -0
  365. package/dist/src/teamcity-client/models/features.d.ts.map +1 -0
  366. package/dist/src/teamcity-client/models/file-change.d.ts +10 -0
  367. package/dist/src/teamcity-client/models/file-change.d.ts.map +1 -0
  368. package/dist/src/teamcity-client/models/file-changes.d.ts +6 -0
  369. package/dist/src/teamcity-client/models/file-changes.d.ts.map +1 -0
  370. package/dist/src/teamcity-client/models/files.d.ts +6 -0
  371. package/dist/src/teamcity-client/models/files.d.ts.map +1 -0
  372. package/dist/src/teamcity-client/models/group-approval-rule.d.ts +8 -0
  373. package/dist/src/teamcity-client/models/group-approval-rule.d.ts.map +1 -0
  374. package/dist/src/teamcity-client/models/group-approvals.d.ts +6 -0
  375. package/dist/src/teamcity-client/models/group-approvals.d.ts.map +1 -0
  376. package/dist/src/teamcity-client/models/group.d.ts +16 -0
  377. package/dist/src/teamcity-client/models/group.d.ts.map +1 -0
  378. package/dist/src/teamcity-client/models/groups.d.ts +6 -0
  379. package/dist/src/teamcity-client/models/groups.d.ts.map +1 -0
  380. package/dist/src/teamcity-client/models/health-categories.d.ts +9 -0
  381. package/dist/src/teamcity-client/models/health-categories.d.ts.map +1 -0
  382. package/dist/src/teamcity-client/models/health-category.d.ts +7 -0
  383. package/dist/src/teamcity-client/models/health-category.d.ts.map +1 -0
  384. package/dist/src/teamcity-client/models/health-item.d.ts +13 -0
  385. package/dist/src/teamcity-client/models/health-item.d.ts.map +1 -0
  386. package/dist/src/teamcity-client/models/health-status-items.d.ts +9 -0
  387. package/dist/src/teamcity-client/models/health-status-items.d.ts.map +1 -0
  388. package/dist/src/teamcity-client/models/href.d.ts +4 -0
  389. package/dist/src/teamcity-client/models/href.d.ts.map +1 -0
  390. package/dist/src/teamcity-client/models/index.d.ts +230 -0
  391. package/dist/src/teamcity-client/models/index.d.ts.map +1 -0
  392. package/dist/src/teamcity-client/models/investigation-locator.d.ts +35 -0
  393. package/dist/src/teamcity-client/models/investigation-locator.d.ts.map +1 -0
  394. package/dist/src/teamcity-client/models/investigation.d.ts +24 -0
  395. package/dist/src/teamcity-client/models/investigation.d.ts.map +1 -0
  396. package/dist/src/teamcity-client/models/investigations.d.ts +9 -0
  397. package/dist/src/teamcity-client/models/investigations.d.ts.map +1 -0
  398. package/dist/src/teamcity-client/models/issue-usage.d.ts +7 -0
  399. package/dist/src/teamcity-client/models/issue-usage.d.ts.map +1 -0
  400. package/dist/src/teamcity-client/models/issue.d.ts +5 -0
  401. package/dist/src/teamcity-client/models/issue.d.ts.map +1 -0
  402. package/dist/src/teamcity-client/models/issues-usages.d.ts +7 -0
  403. package/dist/src/teamcity-client/models/issues-usages.d.ts.map +1 -0
  404. package/dist/src/teamcity-client/models/issues.d.ts +5 -0
  405. package/dist/src/teamcity-client/models/issues.d.ts.map +1 -0
  406. package/dist/src/teamcity-client/models/items.d.ts +4 -0
  407. package/dist/src/teamcity-client/models/items.d.ts.map +1 -0
  408. package/dist/src/teamcity-client/models/labeled-value.d.ts +5 -0
  409. package/dist/src/teamcity-client/models/labeled-value.d.ts.map +1 -0
  410. package/dist/src/teamcity-client/models/license-key.d.ts +29 -0
  411. package/dist/src/teamcity-client/models/license-key.d.ts.map +1 -0
  412. package/dist/src/teamcity-client/models/license-keys.d.ts +7 -0
  413. package/dist/src/teamcity-client/models/license-keys.d.ts.map +1 -0
  414. package/dist/src/teamcity-client/models/licensing-data.d.ts +26 -0
  415. package/dist/src/teamcity-client/models/licensing-data.d.ts.map +1 -0
  416. package/dist/src/teamcity-client/models/link.d.ts +6 -0
  417. package/dist/src/teamcity-client/models/link.d.ts.map +1 -0
  418. package/dist/src/teamcity-client/models/links.d.ts +6 -0
  419. package/dist/src/teamcity-client/models/links.d.ts.map +1 -0
  420. package/dist/src/teamcity-client/models/matrix-build-feature-descriptor.d.ts +8 -0
  421. package/dist/src/teamcity-client/models/matrix-build-feature-descriptor.d.ts.map +1 -0
  422. package/dist/src/teamcity-client/models/matrix-configuration.d.ts +9 -0
  423. package/dist/src/teamcity-client/models/matrix-configuration.d.ts.map +1 -0
  424. package/dist/src/teamcity-client/models/matrix-dependencies.d.ts +6 -0
  425. package/dist/src/teamcity-client/models/matrix-dependencies.d.ts.map +1 -0
  426. package/dist/src/teamcity-client/models/matrix-dependency.d.ts +7 -0
  427. package/dist/src/teamcity-client/models/matrix-dependency.d.ts.map +1 -0
  428. package/dist/src/teamcity-client/models/matrix-parameter-descriptor.d.ts +7 -0
  429. package/dist/src/teamcity-client/models/matrix-parameter-descriptor.d.ts.map +1 -0
  430. package/dist/src/teamcity-client/models/meta-data.d.ts +6 -0
  431. package/dist/src/teamcity-client/models/meta-data.d.ts.map +1 -0
  432. package/dist/src/teamcity-client/models/metric-tag.d.ts +5 -0
  433. package/dist/src/teamcity-client/models/metric-tag.d.ts.map +1 -0
  434. package/dist/src/teamcity-client/models/metric-tags.d.ts +6 -0
  435. package/dist/src/teamcity-client/models/metric-tags.d.ts.map +1 -0
  436. package/dist/src/teamcity-client/models/metric-value.d.ts +7 -0
  437. package/dist/src/teamcity-client/models/metric-value.d.ts.map +1 -0
  438. package/dist/src/teamcity-client/models/metric-values.d.ts +6 -0
  439. package/dist/src/teamcity-client/models/metric-values.d.ts.map +1 -0
  440. package/dist/src/teamcity-client/models/metric.d.ts +10 -0
  441. package/dist/src/teamcity-client/models/metric.d.ts.map +1 -0
  442. package/dist/src/teamcity-client/models/metrics.d.ts +6 -0
  443. package/dist/src/teamcity-client/models/metrics.d.ts.map +1 -0
  444. package/dist/src/teamcity-client/models/model-file.d.ts +13 -0
  445. package/dist/src/teamcity-client/models/model-file.d.ts.map +1 -0
  446. package/dist/src/teamcity-client/models/multiple-operation-result.d.ts +7 -0
  447. package/dist/src/teamcity-client/models/multiple-operation-result.d.ts.map +1 -0
  448. package/dist/src/teamcity-client/models/mute-locator.d.ts +26 -0
  449. package/dist/src/teamcity-client/models/mute-locator.d.ts.map +1 -0
  450. package/dist/src/teamcity-client/models/mute.d.ts +13 -0
  451. package/dist/src/teamcity-client/models/mute.d.ts.map +1 -0
  452. package/dist/src/teamcity-client/models/mutes.d.ts +9 -0
  453. package/dist/src/teamcity-client/models/mutes.d.ts.map +1 -0
  454. package/dist/src/teamcity-client/models/new-build-type-description.d.ts +13 -0
  455. package/dist/src/teamcity-client/models/new-build-type-description.d.ts.map +1 -0
  456. package/dist/src/teamcity-client/models/new-project-description.d.ts +15 -0
  457. package/dist/src/teamcity-client/models/new-project-description.d.ts.map +1 -0
  458. package/dist/src/teamcity-client/models/node.d.ts +21 -0
  459. package/dist/src/teamcity-client/models/node.d.ts.map +1 -0
  460. package/dist/src/teamcity-client/models/nodes.d.ts +6 -0
  461. package/dist/src/teamcity-client/models/nodes.d.ts.map +1 -0
  462. package/dist/src/teamcity-client/models/operation-result.d.ts +6 -0
  463. package/dist/src/teamcity-client/models/operation-result.d.ts.map +1 -0
  464. package/dist/src/teamcity-client/models/parsed-test-name.d.ts +10 -0
  465. package/dist/src/teamcity-client/models/parsed-test-name.d.ts.map +1 -0
  466. package/dist/src/teamcity-client/models/permission-assignment.d.ts +8 -0
  467. package/dist/src/teamcity-client/models/permission-assignment.d.ts.map +1 -0
  468. package/dist/src/teamcity-client/models/permission-assignments.d.ts +6 -0
  469. package/dist/src/teamcity-client/models/permission-assignments.d.ts.map +1 -0
  470. package/dist/src/teamcity-client/models/permission-restriction.d.ts +8 -0
  471. package/dist/src/teamcity-client/models/permission-restriction.d.ts.map +1 -0
  472. package/dist/src/teamcity-client/models/permission-restrictions.d.ts +6 -0
  473. package/dist/src/teamcity-client/models/permission-restrictions.d.ts.map +1 -0
  474. package/dist/src/teamcity-client/models/permission.d.ts +6 -0
  475. package/dist/src/teamcity-client/models/permission.d.ts.map +1 -0
  476. package/dist/src/teamcity-client/models/permissions.d.ts +6 -0
  477. package/dist/src/teamcity-client/models/permissions.d.ts.map +1 -0
  478. package/dist/src/teamcity-client/models/pin-info.d.ts +6 -0
  479. package/dist/src/teamcity-client/models/pin-info.d.ts.map +1 -0
  480. package/dist/src/teamcity-client/models/plugin.d.ts +9 -0
  481. package/dist/src/teamcity-client/models/plugin.d.ts.map +1 -0
  482. package/dist/src/teamcity-client/models/plugins.d.ts +6 -0
  483. package/dist/src/teamcity-client/models/plugins.d.ts.map +1 -0
  484. package/dist/src/teamcity-client/models/problem-locator.d.ts +15 -0
  485. package/dist/src/teamcity-client/models/problem-locator.d.ts.map +1 -0
  486. package/dist/src/teamcity-client/models/problem-occurrence-locator.d.ts +16 -0
  487. package/dist/src/teamcity-client/models/problem-occurrence-locator.d.ts.map +1 -0
  488. package/dist/src/teamcity-client/models/problem-occurrence.d.ts +20 -0
  489. package/dist/src/teamcity-client/models/problem-occurrence.d.ts.map +1 -0
  490. package/dist/src/teamcity-client/models/problem-occurrences.d.ts +14 -0
  491. package/dist/src/teamcity-client/models/problem-occurrences.d.ts.map +1 -0
  492. package/dist/src/teamcity-client/models/problem-scope.d.ts +9 -0
  493. package/dist/src/teamcity-client/models/problem-scope.d.ts.map +1 -0
  494. package/dist/src/teamcity-client/models/problem-target.d.ts +8 -0
  495. package/dist/src/teamcity-client/models/problem-target.d.ts.map +1 -0
  496. package/dist/src/teamcity-client/models/problem.d.ts +15 -0
  497. package/dist/src/teamcity-client/models/problem.d.ts.map +1 -0
  498. package/dist/src/teamcity-client/models/problems.d.ts +8 -0
  499. package/dist/src/teamcity-client/models/problems.d.ts.map +1 -0
  500. package/dist/src/teamcity-client/models/progress-info.d.ts +13 -0
  501. package/dist/src/teamcity-client/models/progress-info.d.ts.map +1 -0
  502. package/dist/src/teamcity-client/models/project-feature.d.ts +11 -0
  503. package/dist/src/teamcity-client/models/project-feature.d.ts.map +1 -0
  504. package/dist/src/teamcity-client/models/project-features.d.ts +7 -0
  505. package/dist/src/teamcity-client/models/project-features.d.ts.map +1 -0
  506. package/dist/src/teamcity-client/models/project-locator.d.ts +20 -0
  507. package/dist/src/teamcity-client/models/project-locator.d.ts.map +1 -0
  508. package/dist/src/teamcity-client/models/project.d.ts +39 -0
  509. package/dist/src/teamcity-client/models/project.d.ts.map +1 -0
  510. package/dist/src/teamcity-client/models/projects.d.ts +9 -0
  511. package/dist/src/teamcity-client/models/projects.d.ts.map +1 -0
  512. package/dist/src/teamcity-client/models/properties.d.ts +7 -0
  513. package/dist/src/teamcity-client/models/properties.d.ts.map +1 -0
  514. package/dist/src/teamcity-client/models/property.d.ts +8 -0
  515. package/dist/src/teamcity-client/models/property.d.ts.map +1 -0
  516. package/dist/src/teamcity-client/models/related-entities.d.ts +6 -0
  517. package/dist/src/teamcity-client/models/related-entities.d.ts.map +1 -0
  518. package/dist/src/teamcity-client/models/related-entity.d.ts +29 -0
  519. package/dist/src/teamcity-client/models/related-entity.d.ts.map +1 -0
  520. package/dist/src/teamcity-client/models/related.d.ts +5 -0
  521. package/dist/src/teamcity-client/models/related.d.ts.map +1 -0
  522. package/dist/src/teamcity-client/models/repository-state.d.ts +7 -0
  523. package/dist/src/teamcity-client/models/repository-state.d.ts.map +1 -0
  524. package/dist/src/teamcity-client/models/requirements.d.ts +4 -0
  525. package/dist/src/teamcity-client/models/requirements.d.ts.map +1 -0
  526. package/dist/src/teamcity-client/models/resolution.d.ts +11 -0
  527. package/dist/src/teamcity-client/models/resolution.d.ts.map +1 -0
  528. package/dist/src/teamcity-client/models/responsibility.d.ts +5 -0
  529. package/dist/src/teamcity-client/models/responsibility.d.ts.map +1 -0
  530. package/dist/src/teamcity-client/models/revision.d.ts +9 -0
  531. package/dist/src/teamcity-client/models/revision.d.ts.map +1 -0
  532. package/dist/src/teamcity-client/models/revisions.d.ts +7 -0
  533. package/dist/src/teamcity-client/models/revisions.d.ts.map +1 -0
  534. package/dist/src/teamcity-client/models/role.d.ts +6 -0
  535. package/dist/src/teamcity-client/models/role.d.ts.map +1 -0
  536. package/dist/src/teamcity-client/models/roles.d.ts +5 -0
  537. package/dist/src/teamcity-client/models/roles.d.ts.map +1 -0
  538. package/dist/src/teamcity-client/models/server-auth-settings.d.ts +12 -0
  539. package/dist/src/teamcity-client/models/server-auth-settings.d.ts.map +1 -0
  540. package/dist/src/teamcity-client/models/server-global-settings.d.ts +15 -0
  541. package/dist/src/teamcity-client/models/server-global-settings.d.ts.map +1 -0
  542. package/dist/src/teamcity-client/models/server.d.ts +26 -0
  543. package/dist/src/teamcity-client/models/server.d.ts.map +1 -0
  544. package/dist/src/teamcity-client/models/snapshot-dependencies.d.ts +6 -0
  545. package/dist/src/teamcity-client/models/snapshot-dependencies.d.ts.map +1 -0
  546. package/dist/src/teamcity-client/models/snapshot-dependency-link.d.ts +8 -0
  547. package/dist/src/teamcity-client/models/snapshot-dependency-link.d.ts.map +1 -0
  548. package/dist/src/teamcity-client/models/snapshot-dependency.d.ts +13 -0
  549. package/dist/src/teamcity-client/models/snapshot-dependency.d.ts.map +1 -0
  550. package/dist/src/teamcity-client/models/state-field.d.ts +5 -0
  551. package/dist/src/teamcity-client/models/state-field.d.ts.map +1 -0
  552. package/dist/src/teamcity-client/models/step.d.ts +12 -0
  553. package/dist/src/teamcity-client/models/step.d.ts.map +1 -0
  554. package/dist/src/teamcity-client/models/steps.d.ts +6 -0
  555. package/dist/src/teamcity-client/models/steps.d.ts.map +1 -0
  556. package/dist/src/teamcity-client/models/tag-locator.d.ts +6 -0
  557. package/dist/src/teamcity-client/models/tag-locator.d.ts.map +1 -0
  558. package/dist/src/teamcity-client/models/tag.d.ts +7 -0
  559. package/dist/src/teamcity-client/models/tag.d.ts.map +1 -0
  560. package/dist/src/teamcity-client/models/tags.d.ts +6 -0
  561. package/dist/src/teamcity-client/models/tags.d.ts.map +1 -0
  562. package/dist/src/teamcity-client/models/team-city-node-locator.d.ts +6 -0
  563. package/dist/src/teamcity-client/models/team-city-node-locator.d.ts.map +1 -0
  564. package/dist/src/teamcity-client/models/test-counters.d.ts +10 -0
  565. package/dist/src/teamcity-client/models/test-counters.d.ts.map +1 -0
  566. package/dist/src/teamcity-client/models/test-locator.d.ts +14 -0
  567. package/dist/src/teamcity-client/models/test-locator.d.ts.map +1 -0
  568. package/dist/src/teamcity-client/models/test-occurrence-locator.d.ts +31 -0
  569. package/dist/src/teamcity-client/models/test-occurrence-locator.d.ts.map +1 -0
  570. package/dist/src/teamcity-client/models/test-occurrence.d.ts +37 -0
  571. package/dist/src/teamcity-client/models/test-occurrence.d.ts.map +1 -0
  572. package/dist/src/teamcity-client/models/test-occurrences.d.ts +16 -0
  573. package/dist/src/teamcity-client/models/test-occurrences.d.ts.map +1 -0
  574. package/dist/src/teamcity-client/models/test-run-metadata.d.ts +6 -0
  575. package/dist/src/teamcity-client/models/test-run-metadata.d.ts.map +1 -0
  576. package/dist/src/teamcity-client/models/tests.d.ts +10 -0
  577. package/dist/src/teamcity-client/models/tests.d.ts.map +1 -0
  578. package/dist/src/teamcity-client/models/token.d.ts +9 -0
  579. package/dist/src/teamcity-client/models/token.d.ts.map +1 -0
  580. package/dist/src/teamcity-client/models/tokens.d.ts +6 -0
  581. package/dist/src/teamcity-client/models/tokens.d.ts.map +1 -0
  582. package/dist/src/teamcity-client/models/trigger.d.ts +13 -0
  583. package/dist/src/teamcity-client/models/trigger.d.ts.map +1 -0
  584. package/dist/src/teamcity-client/models/triggered-by.d.ts +16 -0
  585. package/dist/src/teamcity-client/models/triggered-by.d.ts.map +1 -0
  586. package/dist/src/teamcity-client/models/triggers.d.ts +6 -0
  587. package/dist/src/teamcity-client/models/triggers.d.ts.map +1 -0
  588. package/dist/src/teamcity-client/models/type.d.ts +4 -0
  589. package/dist/src/teamcity-client/models/type.d.ts.map +1 -0
  590. package/dist/src/teamcity-client/models/typed-value-set.d.ts +10 -0
  591. package/dist/src/teamcity-client/models/typed-value-set.d.ts.map +1 -0
  592. package/dist/src/teamcity-client/models/typed-value-sets.d.ts +6 -0
  593. package/dist/src/teamcity-client/models/typed-value-sets.d.ts.map +1 -0
  594. package/dist/src/teamcity-client/models/typed-value.d.ts +6 -0
  595. package/dist/src/teamcity-client/models/typed-value.d.ts.map +1 -0
  596. package/dist/src/teamcity-client/models/user-approval-rule.d.ts +6 -0
  597. package/dist/src/teamcity-client/models/user-approval-rule.d.ts.map +1 -0
  598. package/dist/src/teamcity-client/models/user-approvals.d.ts +6 -0
  599. package/dist/src/teamcity-client/models/user-approvals.d.ts.map +1 -0
  600. package/dist/src/teamcity-client/models/user-avatars.d.ts +10 -0
  601. package/dist/src/teamcity-client/models/user-avatars.d.ts.map +1 -0
  602. package/dist/src/teamcity-client/models/user-group-locator.d.ts +6 -0
  603. package/dist/src/teamcity-client/models/user-group-locator.d.ts.map +1 -0
  604. package/dist/src/teamcity-client/models/user-locator.d.ts +15 -0
  605. package/dist/src/teamcity-client/models/user-locator.d.ts.map +1 -0
  606. package/dist/src/teamcity-client/models/user.d.ts +22 -0
  607. package/dist/src/teamcity-client/models/user.d.ts.map +1 -0
  608. package/dist/src/teamcity-client/models/users.d.ts +6 -0
  609. package/dist/src/teamcity-client/models/users.d.ts.map +1 -0
  610. package/dist/src/teamcity-client/models/vcs-check-status.d.ts +6 -0
  611. package/dist/src/teamcity-client/models/vcs-check-status.d.ts.map +1 -0
  612. package/dist/src/teamcity-client/models/vcs-label.d.ts +18 -0
  613. package/dist/src/teamcity-client/models/vcs-label.d.ts.map +1 -0
  614. package/dist/src/teamcity-client/models/vcs-labels.d.ts +6 -0
  615. package/dist/src/teamcity-client/models/vcs-labels.d.ts.map +1 -0
  616. package/dist/src/teamcity-client/models/vcs-root-entries.d.ts +6 -0
  617. package/dist/src/teamcity-client/models/vcs-root-entries.d.ts.map +1 -0
  618. package/dist/src/teamcity-client/models/vcs-root-entry.d.ts +8 -0
  619. package/dist/src/teamcity-client/models/vcs-root-entry.d.ts.map +1 -0
  620. package/dist/src/teamcity-client/models/vcs-root-instance-locator.d.ts +38 -0
  621. package/dist/src/teamcity-client/models/vcs-root-instance-locator.d.ts.map +1 -0
  622. package/dist/src/teamcity-client/models/vcs-root-instance.d.ts +24 -0
  623. package/dist/src/teamcity-client/models/vcs-root-instance.d.ts.map +1 -0
  624. package/dist/src/teamcity-client/models/vcs-root-instances.d.ts +9 -0
  625. package/dist/src/teamcity-client/models/vcs-root-instances.d.ts.map +1 -0
  626. package/dist/src/teamcity-client/models/vcs-root-locator.d.ts +37 -0
  627. package/dist/src/teamcity-client/models/vcs-root-locator.d.ts.map +1 -0
  628. package/dist/src/teamcity-client/models/vcs-root.d.ts +20 -0
  629. package/dist/src/teamcity-client/models/vcs-root.d.ts.map +1 -0
  630. package/dist/src/teamcity-client/models/vcs-roots.d.ts +9 -0
  631. package/dist/src/teamcity-client/models/vcs-roots.d.ts.map +1 -0
  632. package/dist/src/teamcity-client/models/vcs-status.d.ts +6 -0
  633. package/dist/src/teamcity-client/models/vcs-status.d.ts.map +1 -0
  634. package/dist/src/teamcity-client/models/versioned-settings-config.d.ts +31 -0
  635. package/dist/src/teamcity-client/models/versioned-settings-config.d.ts.map +1 -0
  636. package/dist/src/teamcity-client/models/versioned-settings-context-parameter.d.ts +5 -0
  637. package/dist/src/teamcity-client/models/versioned-settings-context-parameter.d.ts.map +1 -0
  638. package/dist/src/teamcity-client/models/versioned-settings-context-parameters.d.ts +5 -0
  639. package/dist/src/teamcity-client/models/versioned-settings-context-parameters.d.ts.map +1 -0
  640. package/dist/src/teamcity-client/models/versioned-settings-error.d.ts +7 -0
  641. package/dist/src/teamcity-client/models/versioned-settings-error.d.ts.map +1 -0
  642. package/dist/src/teamcity-client/models/versioned-settings-status.d.ts +15 -0
  643. package/dist/src/teamcity-client/models/versioned-settings-status.d.ts.map +1 -0
  644. package/dist/src/teamcity-client/models/versioned-settings-token.d.ts +6 -0
  645. package/dist/src/teamcity-client/models/versioned-settings-token.d.ts.map +1 -0
  646. package/dist/src/teamcity-client/models/versioned-settings-tokens.d.ts +5 -0
  647. package/dist/src/teamcity-client/models/versioned-settings-tokens.d.ts.map +1 -0
  648. package/dist/src/tools/index.d.ts +2 -0
  649. package/dist/src/tools/index.d.ts.map +1 -0
  650. package/dist/src/tools.d.ts +22 -0
  651. package/dist/src/tools.d.ts.map +1 -0
  652. package/dist/src/types/config.d.ts +129 -0
  653. package/dist/src/types/config.d.ts.map +1 -0
  654. package/dist/src/types/index.d.ts +116 -0
  655. package/dist/src/types/index.d.ts.map +1 -0
  656. package/dist/src/types/mcp.d.ts +68 -0
  657. package/dist/src/types/mcp.d.ts.map +1 -0
  658. package/dist/src/types/project.d.ts +56 -0
  659. package/dist/src/types/project.d.ts.map +1 -0
  660. package/dist/src/types/teamcity.d.ts +258 -0
  661. package/dist/src/types/teamcity.d.ts.map +1 -0
  662. package/dist/src/utils/async/index.d.ts +90 -0
  663. package/dist/src/utils/async/index.d.ts.map +1 -0
  664. package/dist/src/utils/error-logger.d.ts +34 -0
  665. package/dist/src/utils/error-logger.d.ts.map +1 -0
  666. package/dist/src/utils/index.d.ts +23 -0
  667. package/dist/src/utils/index.d.ts.map +1 -0
  668. package/dist/src/utils/logger/index.d.ts +73 -0
  669. package/dist/src/utils/logger/index.d.ts.map +1 -0
  670. package/dist/src/utils/logger.d.ts +11 -0
  671. package/dist/src/utils/logger.d.ts.map +1 -0
  672. package/dist/src/utils/lru-cache.d.ts +20 -0
  673. package/dist/src/utils/lru-cache.d.ts.map +1 -0
  674. package/dist/src/utils/mcp.d.ts +18 -0
  675. package/dist/src/utils/mcp.d.ts.map +1 -0
  676. package/dist/src/utils/validation.d.ts +61 -0
  677. package/dist/src/utils/validation.d.ts.map +1 -0
  678. package/docs/TEAMCITY_MCP_TOOLS_GUIDE.md +1076 -0
  679. package/docs/mcp-tools-mode-matrix.md +68 -0
  680. package/docs/mcp-tools-reference.md +203 -0
  681. package/examples/list-build-configs-usage.ts +276 -0
  682. package/jest.ci.config.js +14 -0
  683. package/jest.config.js +108 -0
  684. package/jest.setup.js +24 -0
  685. package/openapi-generator-config.json +27 -0
  686. package/openapitools.json +7 -0
  687. package/package.json +101 -0
  688. package/scripts/build.cjs +87 -0
  689. package/scripts/debug-fetch-log.ts +52 -0
  690. package/scripts/emit-coverage-stats.js +42 -0
  691. package/scripts/fetch-swagger-spec.ts +140 -0
  692. package/scripts/interact.sh +23 -0
  693. package/scripts/print-builds.ts +21 -0
  694. package/scripts/verify-integration-env.cjs +29 -0
  695. package/src/api-client.ts +307 -0
  696. package/src/config/index.ts +286 -0
  697. package/src/errors/index.ts +25 -0
  698. package/src/formatters/build-step-formatter.ts +178 -0
  699. package/src/formatters/trigger-formatter.ts +207 -0
  700. package/src/index.ts +61 -0
  701. package/src/middleware/error.test.ts +274 -0
  702. package/src/middleware/error.ts +314 -0
  703. package/src/middleware/global-error-handler.test.ts +239 -0
  704. package/src/middleware/global-error-handler.ts +203 -0
  705. package/src/middleware/index.ts +5 -0
  706. package/src/server.ts +126 -0
  707. package/src/swagger/index.ts +220 -0
  708. package/src/swagger/swagger-cache.ts +220 -0
  709. package/src/swagger/swagger-fetcher.ts +126 -0
  710. package/src/swagger/swagger-validator.ts +212 -0
  711. package/src/teamcity/api-types.ts +387 -0
  712. package/src/teamcity/artifact-manager.ts +362 -0
  713. package/src/teamcity/auth.ts +215 -0
  714. package/src/teamcity/branch-discovery-manager.ts +311 -0
  715. package/src/teamcity/branch-filtering-service.ts +369 -0
  716. package/src/teamcity/branch-specification-parser.ts +238 -0
  717. package/src/teamcity/build-config-manager.ts +458 -0
  718. package/src/teamcity/build-config-navigator.ts +589 -0
  719. package/src/teamcity/build-configuration-clone-manager.ts +501 -0
  720. package/src/teamcity/build-configuration-manager.ts +447 -0
  721. package/src/teamcity/build-configuration-resolver.ts +725 -0
  722. package/src/teamcity/build-configuration-update-manager.ts +610 -0
  723. package/src/teamcity/build-list-manager.ts +313 -0
  724. package/src/teamcity/build-parameters-manager.ts +875 -0
  725. package/src/teamcity/build-progress-tracker.ts +514 -0
  726. package/src/teamcity/build-query-builder.ts +325 -0
  727. package/src/teamcity/build-queue-manager.ts +622 -0
  728. package/src/teamcity/build-results-manager.ts +589 -0
  729. package/src/teamcity/build-status-manager.ts +564 -0
  730. package/src/teamcity/build-step-manager.ts +508 -0
  731. package/src/teamcity/build-trigger-manager.ts +1083 -0
  732. package/src/teamcity/circuit-breaker.ts +219 -0
  733. package/src/teamcity/client-adapter.ts +35 -0
  734. package/src/teamcity/client.ts +269 -0
  735. package/src/teamcity/config.ts +188 -0
  736. package/src/teamcity/configuration-branch-matcher.ts +327 -0
  737. package/src/teamcity/errors.ts +351 -0
  738. package/src/teamcity/index.ts +266 -0
  739. package/src/teamcity/pagination.ts +209 -0
  740. package/src/teamcity/project-list-manager.ts +267 -0
  741. package/src/teamcity/project-manager.ts +493 -0
  742. package/src/teamcity/project-navigator.ts +664 -0
  743. package/src/teamcity/test-problem-reporter.ts +423 -0
  744. package/src/teamcity/types/api-responses.ts +314 -0
  745. package/src/teamcity-client/.openapi-generator/FILES +274 -0
  746. package/src/teamcity-client/.openapi-generator/VERSION +1 -0
  747. package/src/teamcity-client/.openapi-generator-ignore +23 -0
  748. package/src/teamcity-client/README.md +50 -0
  749. package/src/teamcity-client/api/agent-api.ts +2046 -0
  750. package/src/teamcity-client/api/agent-pool-api.ts +1877 -0
  751. package/src/teamcity-client/api/agent-type-api.ts +213 -0
  752. package/src/teamcity-client/api/audit-api.ts +341 -0
  753. package/src/teamcity-client/api/avatar-api.ts +569 -0
  754. package/src/teamcity-client/api/build-api.ts +7726 -0
  755. package/src/teamcity-client/api/build-queue-api.ts +1922 -0
  756. package/src/teamcity-client/api/build-type-api.ts +15502 -0
  757. package/src/teamcity-client/api/change-api.ts +1311 -0
  758. package/src/teamcity-client/api/cloud-instance-api.ts +1289 -0
  759. package/src/teamcity-client/api/deployment-dashboard-api.ts +1295 -0
  760. package/src/teamcity-client/api/global-server-settings-api.ts +286 -0
  761. package/src/teamcity-client/api/group-api.ts +2084 -0
  762. package/src/teamcity-client/api/health-api.ts +566 -0
  763. package/src/teamcity-client/api/investigation-api.ts +856 -0
  764. package/src/teamcity-client/api/mute-api.ts +824 -0
  765. package/src/teamcity-client/api/node-api.ts +877 -0
  766. package/src/teamcity-client/api/problem-api.ts +337 -0
  767. package/src/teamcity-client/api/problem-occurrence-api.ts +349 -0
  768. package/src/teamcity-client/api/project-api.ts +6511 -0
  769. package/src/teamcity-client/api/role-api.ts +1062 -0
  770. package/src/teamcity-client/api/root-api.ts +439 -0
  771. package/src/teamcity-client/api/server-api.ts +2306 -0
  772. package/src/teamcity-client/api/server-authentication-settings-api.ts +289 -0
  773. package/src/teamcity-client/api/test-api.ts +329 -0
  774. package/src/teamcity-client/api/test-occurrence-api.ts +340 -0
  775. package/src/teamcity-client/api/user-api.ts +3644 -0
  776. package/src/teamcity-client/api/vcs-root-api.ts +1837 -0
  777. package/src/teamcity-client/api/vcs-root-instance-api.ts +2479 -0
  778. package/src/teamcity-client/api/versioned-settings-api.ts +2025 -0
  779. package/src/teamcity-client/api.ts +44 -0
  780. package/src/teamcity-client/base.ts +91 -0
  781. package/src/teamcity-client/common.ts +197 -0
  782. package/src/teamcity-client/configuration.ts +130 -0
  783. package/src/teamcity-client/git_push.sh +57 -0
  784. package/src/teamcity-client/index.ts +17 -0
  785. package/src/teamcity-client/models/agent-locator.ts +124 -0
  786. package/src/teamcity-client/models/agent-pool-locator.ts +63 -0
  787. package/src/teamcity-client/models/agent-pool.ts +87 -0
  788. package/src/teamcity-client/models/agent-pools.ts +54 -0
  789. package/src/teamcity-client/models/agent-requirement.ts +66 -0
  790. package/src/teamcity-client/models/agent-requirements.ts +36 -0
  791. package/src/teamcity-client/models/agent-type-locator.ts +51 -0
  792. package/src/teamcity-client/models/agent-type.ts +81 -0
  793. package/src/teamcity-client/models/agent-types.ts +54 -0
  794. package/src/teamcity-client/models/agent.ts +295 -0
  795. package/src/teamcity-client/models/agents.ts +54 -0
  796. package/src/teamcity-client/models/approvable-build.ts +39 -0
  797. package/src/teamcity-client/models/approval-info.ts +100 -0
  798. package/src/teamcity-client/models/artifact-dependencies.ts +42 -0
  799. package/src/teamcity-client/models/artifact-dependency.ts +75 -0
  800. package/src/teamcity-client/models/artifact-download-info.ts +33 -0
  801. package/src/teamcity-client/models/audit-action.ts +39 -0
  802. package/src/teamcity-client/models/audit-event.ts +66 -0
  803. package/src/teamcity-client/models/audit-events.ts +54 -0
  804. package/src/teamcity-client/models/audit-locator.ts +315 -0
  805. package/src/teamcity-client/models/auth-module.ts +36 -0
  806. package/src/teamcity-client/models/auth-modules.ts +30 -0
  807. package/src/teamcity-client/models/authorization-tokens-requirements.ts +33 -0
  808. package/src/teamcity-client/models/authorized-info.ts +36 -0
  809. package/src/teamcity-client/models/branch-locator.ts +117 -0
  810. package/src/teamcity-client/models/branch-version.ts +78 -0
  811. package/src/teamcity-client/models/branch.ts +72 -0
  812. package/src/teamcity-client/models/branches.ts +42 -0
  813. package/src/teamcity-client/models/build-cancel-request.ts +33 -0
  814. package/src/teamcity-client/models/build-change.ts +36 -0
  815. package/src/teamcity-client/models/build-changes.ts +36 -0
  816. package/src/teamcity-client/models/build-executor.ts +27 -0
  817. package/src/teamcity-client/models/build-locator.ts +277 -0
  818. package/src/teamcity-client/models/build-queue-locator.ts +87 -0
  819. package/src/teamcity-client/models/build-status-update.ts +33 -0
  820. package/src/teamcity-client/models/build-trigger-customization.ts +42 -0
  821. package/src/teamcity-client/models/build-triggering-options.ts +72 -0
  822. package/src/teamcity-client/models/build-type-locator.ts +111 -0
  823. package/src/teamcity-client/models/build-type.ts +305 -0
  824. package/src/teamcity-client/models/build-types.ts +54 -0
  825. package/src/teamcity-client/models/build.ts +631 -0
  826. package/src/teamcity-client/models/builds-with-reason.ts +36 -0
  827. package/src/teamcity-client/models/builds.ts +54 -0
  828. package/src/teamcity-client/models/change-locator.ts +129 -0
  829. package/src/teamcity-client/models/change-status.ts +114 -0
  830. package/src/teamcity-client/models/change.ts +186 -0
  831. package/src/teamcity-client/models/changes.ts +54 -0
  832. package/src/teamcity-client/models/cleanup.ts +51 -0
  833. package/src/teamcity-client/models/cloud-error.ts +33 -0
  834. package/src/teamcity-client/models/cloud-image-locator.ts +105 -0
  835. package/src/teamcity-client/models/cloud-image.ts +102 -0
  836. package/src/teamcity-client/models/cloud-images.ts +54 -0
  837. package/src/teamcity-client/models/cloud-instance-locator.ts +81 -0
  838. package/src/teamcity-client/models/cloud-instance.ts +90 -0
  839. package/src/teamcity-client/models/cloud-instances.ts +54 -0
  840. package/src/teamcity-client/models/cloud-profile-locator.ts +81 -0
  841. package/src/teamcity-client/models/cloud-profile.ts +72 -0
  842. package/src/teamcity-client/models/cloud-profiles.ts +54 -0
  843. package/src/teamcity-client/models/comment.ts +42 -0
  844. package/src/teamcity-client/models/commiter.ts +36 -0
  845. package/src/teamcity-client/models/compatibilities.ts +36 -0
  846. package/src/teamcity-client/models/compatibility-policy.ts +36 -0
  847. package/src/teamcity-client/models/compatibility.ts +54 -0
  848. package/src/teamcity-client/models/composite-approval-rule.ts +54 -0
  849. package/src/teamcity-client/models/composite-approvals.ts +36 -0
  850. package/src/teamcity-client/models/cron.ts +51 -0
  851. package/src/teamcity-client/models/customizations.ts +45 -0
  852. package/src/teamcity-client/models/daily.ts +33 -0
  853. package/src/teamcity-client/models/datas.ts +36 -0
  854. package/src/teamcity-client/models/deployment-dashboard-locator.ts +57 -0
  855. package/src/teamcity-client/models/deployment-dashboard.ts +51 -0
  856. package/src/teamcity-client/models/deployment-dashboards.ts +54 -0
  857. package/src/teamcity-client/models/deployment-history.ts +36 -0
  858. package/src/teamcity-client/models/deployment-instance-locator.ts +62 -0
  859. package/src/teamcity-client/models/deployment-instance.ts +68 -0
  860. package/src/teamcity-client/models/deployment-instances.ts +54 -0
  861. package/src/teamcity-client/models/deployment-state-entries.ts +45 -0
  862. package/src/teamcity-client/models/deployment-state-entry.ts +59 -0
  863. package/src/teamcity-client/models/disabled-responsibilities.ts +36 -0
  864. package/src/teamcity-client/models/download-info.ts +45 -0
  865. package/src/teamcity-client/models/downloaded-artifacts.ts +42 -0
  866. package/src/teamcity-client/models/effective-responsibilities.ts +36 -0
  867. package/src/teamcity-client/models/enabled-info.ts +42 -0
  868. package/src/teamcity-client/models/enabled-responsibilities.ts +36 -0
  869. package/src/teamcity-client/models/entries.ts +36 -0
  870. package/src/teamcity-client/models/entry.ts +33 -0
  871. package/src/teamcity-client/models/environment.ts +33 -0
  872. package/src/teamcity-client/models/feature.ts +66 -0
  873. package/src/teamcity-client/models/features.ts +36 -0
  874. package/src/teamcity-client/models/file-change.ts +63 -0
  875. package/src/teamcity-client/models/file-changes.ts +36 -0
  876. package/src/teamcity-client/models/files.ts +39 -0
  877. package/src/teamcity-client/models/group-approval-rule.ts +45 -0
  878. package/src/teamcity-client/models/group-approvals.ts +36 -0
  879. package/src/teamcity-client/models/group.ts +87 -0
  880. package/src/teamcity-client/models/groups.ts +36 -0
  881. package/src/teamcity-client/models/health-categories.ts +54 -0
  882. package/src/teamcity-client/models/health-category.ts +45 -0
  883. package/src/teamcity-client/models/health-item.ts +51 -0
  884. package/src/teamcity-client/models/health-status-items.ts +54 -0
  885. package/src/teamcity-client/models/href.ts +27 -0
  886. package/src/teamcity-client/models/index.ts +229 -0
  887. package/src/teamcity-client/models/investigation-locator.ts +125 -0
  888. package/src/teamcity-client/models/investigation.ts +100 -0
  889. package/src/teamcity-client/models/investigations.ts +54 -0
  890. package/src/teamcity-client/models/issue-usage.ts +39 -0
  891. package/src/teamcity-client/models/issue.ts +33 -0
  892. package/src/teamcity-client/models/issues-usages.ts +42 -0
  893. package/src/teamcity-client/models/issues.ts +30 -0
  894. package/src/teamcity-client/models/items.ts +27 -0
  895. package/src/teamcity-client/models/labeled-value.ts +33 -0
  896. package/src/teamcity-client/models/license-key.ts +134 -0
  897. package/src/teamcity-client/models/license-keys.ts +42 -0
  898. package/src/teamcity-client/models/licensing-data.ts +114 -0
  899. package/src/teamcity-client/models/link.ts +39 -0
  900. package/src/teamcity-client/models/links.ts +36 -0
  901. package/src/teamcity-client/models/matrix-build-feature-descriptor.ts +48 -0
  902. package/src/teamcity-client/models/matrix-configuration.ts +51 -0
  903. package/src/teamcity-client/models/matrix-dependencies.ts +36 -0
  904. package/src/teamcity-client/models/matrix-dependency.ts +39 -0
  905. package/src/teamcity-client/models/matrix-parameter-descriptor.ts +42 -0
  906. package/src/teamcity-client/models/meta-data.ts +36 -0
  907. package/src/teamcity-client/models/metric-tag.ts +33 -0
  908. package/src/teamcity-client/models/metric-tags.ts +36 -0
  909. package/src/teamcity-client/models/metric-value.ts +42 -0
  910. package/src/teamcity-client/models/metric-values.ts +36 -0
  911. package/src/teamcity-client/models/metric.ts +57 -0
  912. package/src/teamcity-client/models/metrics.ts +36 -0
  913. package/src/teamcity-client/models/model-file.ts +75 -0
  914. package/src/teamcity-client/models/multiple-operation-result.ts +42 -0
  915. package/src/teamcity-client/models/mute-locator.ts +108 -0
  916. package/src/teamcity-client/models/mute.ts +69 -0
  917. package/src/teamcity-client/models/mutes.ts +54 -0
  918. package/src/teamcity-client/models/new-build-type-description.ts +75 -0
  919. package/src/teamcity-client/models/new-project-description.ts +87 -0
  920. package/src/teamcity-client/models/node.ts +87 -0
  921. package/src/teamcity-client/models/nodes.ts +36 -0
  922. package/src/teamcity-client/models/operation-result.ts +36 -0
  923. package/src/teamcity-client/models/parsed-test-name.ts +63 -0
  924. package/src/teamcity-client/models/permission-assignment.ts +45 -0
  925. package/src/teamcity-client/models/permission-assignments.ts +36 -0
  926. package/src/teamcity-client/models/permission-restriction.ts +45 -0
  927. package/src/teamcity-client/models/permission-restrictions.ts +36 -0
  928. package/src/teamcity-client/models/permission.ts +39 -0
  929. package/src/teamcity-client/models/permissions.ts +36 -0
  930. package/src/teamcity-client/models/pin-info.ts +36 -0
  931. package/src/teamcity-client/models/plugin.ts +54 -0
  932. package/src/teamcity-client/models/plugins.ts +36 -0
  933. package/src/teamcity-client/models/problem-locator.ts +93 -0
  934. package/src/teamcity-client/models/problem-occurrence-locator.ts +99 -0
  935. package/src/teamcity-client/models/problem-occurrence.ts +114 -0
  936. package/src/teamcity-client/models/problem-occurrences.ts +84 -0
  937. package/src/teamcity-client/models/problem-scope.ts +48 -0
  938. package/src/teamcity-client/models/problem-target.ts +45 -0
  939. package/src/teamcity-client/models/problem.ts +84 -0
  940. package/src/teamcity-client/models/problems.ts +48 -0
  941. package/src/teamcity-client/models/progress-info.ts +78 -0
  942. package/src/teamcity-client/models/project-feature.ts +66 -0
  943. package/src/teamcity-client/models/project-features.ts +42 -0
  944. package/src/teamcity-client/models/project-locator.ts +123 -0
  945. package/src/teamcity-client/models/project.ts +207 -0
  946. package/src/teamcity-client/models/projects.ts +54 -0
  947. package/src/teamcity-client/models/properties.ts +42 -0
  948. package/src/teamcity-client/models/property.ts +48 -0
  949. package/src/teamcity-client/models/related-entities.ts +36 -0
  950. package/src/teamcity-client/models/related-entity.ts +144 -0
  951. package/src/teamcity-client/models/related.ts +30 -0
  952. package/src/teamcity-client/models/repository-state.ts +42 -0
  953. package/src/teamcity-client/models/requirements.ts +27 -0
  954. package/src/teamcity-client/models/resolution.ts +41 -0
  955. package/src/teamcity-client/models/responsibility.ts +33 -0
  956. package/src/teamcity-client/models/revision.ts +54 -0
  957. package/src/teamcity-client/models/revisions.ts +42 -0
  958. package/src/teamcity-client/models/role.ts +39 -0
  959. package/src/teamcity-client/models/roles.ts +30 -0
  960. package/src/teamcity-client/models/server-auth-settings.ts +72 -0
  961. package/src/teamcity-client/models/server-global-settings.ts +93 -0
  962. package/src/teamcity-client/models/server.ts +156 -0
  963. package/src/teamcity-client/models/snapshot-dependencies.ts +36 -0
  964. package/src/teamcity-client/models/snapshot-dependency-link.ts +45 -0
  965. package/src/teamcity-client/models/snapshot-dependency.ts +75 -0
  966. package/src/teamcity-client/models/state-field.ts +33 -0
  967. package/src/teamcity-client/models/step.ts +72 -0
  968. package/src/teamcity-client/models/steps.ts +36 -0
  969. package/src/teamcity-client/models/tag-locator.ts +39 -0
  970. package/src/teamcity-client/models/tag.ts +42 -0
  971. package/src/teamcity-client/models/tags.ts +36 -0
  972. package/src/teamcity-client/models/team-city-node-locator.ts +39 -0
  973. package/src/teamcity-client/models/test-counters.ts +63 -0
  974. package/src/teamcity-client/models/test-locator.ts +87 -0
  975. package/src/teamcity-client/models/test-occurrence-locator.ts +147 -0
  976. package/src/teamcity-client/models/test-occurrence.ts +173 -0
  977. package/src/teamcity-client/models/test-occurrences.ts +93 -0
  978. package/src/teamcity-client/models/test-run-metadata.ts +36 -0
  979. package/src/teamcity-client/models/tests.ts +57 -0
  980. package/src/teamcity-client/models/token.ts +54 -0
  981. package/src/teamcity-client/models/tokens.ts +36 -0
  982. package/src/teamcity-client/models/trigger.ts +75 -0
  983. package/src/teamcity-client/models/triggered-by.ts +87 -0
  984. package/src/teamcity-client/models/triggers.ts +36 -0
  985. package/src/teamcity-client/models/type.ts +27 -0
  986. package/src/teamcity-client/models/typed-value-set.ts +60 -0
  987. package/src/teamcity-client/models/typed-value-sets.ts +36 -0
  988. package/src/teamcity-client/models/typed-value.ts +39 -0
  989. package/src/teamcity-client/models/user-approval-rule.ts +36 -0
  990. package/src/teamcity-client/models/user-approvals.ts +36 -0
  991. package/src/teamcity-client/models/user-avatars.ts +63 -0
  992. package/src/teamcity-client/models/user-group-locator.ts +39 -0
  993. package/src/teamcity-client/models/user-locator.ts +93 -0
  994. package/src/teamcity-client/models/user.ts +123 -0
  995. package/src/teamcity-client/models/users.ts +36 -0
  996. package/src/teamcity-client/models/vcs-check-status.ts +39 -0
  997. package/src/teamcity-client/models/vcs-label.ts +65 -0
  998. package/src/teamcity-client/models/vcs-labels.ts +36 -0
  999. package/src/teamcity-client/models/vcs-root-entries.ts +36 -0
  1000. package/src/teamcity-client/models/vcs-root-entry.ts +48 -0
  1001. package/src/teamcity-client/models/vcs-root-instance-locator.ts +124 -0
  1002. package/src/teamcity-client/models/vcs-root-instance.ts +132 -0
  1003. package/src/teamcity-client/models/vcs-root-instances.ts +54 -0
  1004. package/src/teamcity-client/models/vcs-root-locator.ts +118 -0
  1005. package/src/teamcity-client/models/vcs-root.ts +111 -0
  1006. package/src/teamcity-client/models/vcs-roots.ts +54 -0
  1007. package/src/teamcity-client/models/vcs-status.ts +36 -0
  1008. package/src/teamcity-client/models/versioned-settings-config.ts +111 -0
  1009. package/src/teamcity-client/models/versioned-settings-context-parameter.ts +33 -0
  1010. package/src/teamcity-client/models/versioned-settings-context-parameters.ts +30 -0
  1011. package/src/teamcity-client/models/versioned-settings-error.ts +45 -0
  1012. package/src/teamcity-client/models/versioned-settings-status.ts +68 -0
  1013. package/src/teamcity-client/models/versioned-settings-token.ts +39 -0
  1014. package/src/teamcity-client/models/versioned-settings-tokens.ts +30 -0
  1015. package/src/teamcity-client/package.json +33 -0
  1016. package/src/teamcity-client/tsconfig.esm.json +7 -0
  1017. package/src/teamcity-client/tsconfig.json +13 -0
  1018. package/src/teamcity-client-types.d.ts +27 -0
  1019. package/src/tools/index.ts +2 -0
  1020. package/src/tools.ts +2890 -0
  1021. package/src/types/config.ts +140 -0
  1022. package/src/types/index.ts +171 -0
  1023. package/src/types/mcp.ts +80 -0
  1024. package/src/types/project.ts +128 -0
  1025. package/src/types/teamcity.ts +289 -0
  1026. package/src/utils/async/index.test.ts +664 -0
  1027. package/src/utils/async/index.ts +578 -0
  1028. package/src/utils/error-logger.test.ts +173 -0
  1029. package/src/utils/error-logger.ts +145 -0
  1030. package/src/utils/index.ts +88 -0
  1031. package/src/utils/logger/index.test.ts +271 -0
  1032. package/src/utils/logger/index.ts +441 -0
  1033. package/src/utils/logger.ts +49 -0
  1034. package/src/utils/lru-cache.ts +105 -0
  1035. package/src/utils/mcp.ts +84 -0
  1036. package/src/utils/validation.ts +284 -0
  1037. package/tests/__mocks__/@modelcontextprotocol/sdk/server/index.js +31 -0
  1038. package/tests/__mocks__/@modelcontextprotocol/sdk/server/stdio.js +12 -0
  1039. package/tests/__mocks__/@modelcontextprotocol/sdk/types.js +16 -0
  1040. package/tests/development-tooling.test.ts +207 -0
  1041. package/tests/e2e/cleanup.ts +68 -0
  1042. package/tests/e2e/index.ts +166 -0
  1043. package/tests/e2e/mcp-client.ts +73 -0
  1044. package/tests/e2e/setup-playground.ts +67 -0
  1045. package/tests/integration/branches-and-queue-scenario.test.ts +108 -0
  1046. package/tests/integration/build-config-clone-update-scenario.test.ts +80 -0
  1047. package/tests/integration/build-results-and-logs-scenario.test.ts +136 -0
  1048. package/tests/integration/dev-tools-list.test.ts +103 -0
  1049. package/tests/integration/e2e-scenario.test.ts +147 -0
  1050. package/tests/integration/lib/mcp-runner.ts +59 -0
  1051. package/tests/integration/parameters-scenario.test.ts +85 -0
  1052. package/tests/integration/pause-configs-scenario.test.ts +74 -0
  1053. package/tests/integration/queue-maintenance-scenario.test.ts +132 -0
  1054. package/tests/integration/server-health-scenario.test.ts +59 -0
  1055. package/tests/integration/triggers-scenario.test.ts +80 -0
  1056. package/tests/integration/vcs-scenario.test.ts +78 -0
  1057. package/tests/jest.test.js +122 -0
  1058. package/tests/mcp-server.test.ts +378 -0
  1059. package/tests/setup.test.js +97 -0
  1060. package/tests/setup.ts +88 -0
  1061. package/tests/swagger/swagger-fetcher.test.ts +619 -0
  1062. package/tests/teamcity/auth.test.ts +276 -0
  1063. package/tests/teamcity/circuit-breaker.test.ts +304 -0
  1064. package/tests/teamcity/errors.test.ts +221 -0
  1065. package/tests/test-utils/mock-logger.ts +15 -0
  1066. package/tests/test-utils/mock-teamcity-client.ts +403 -0
  1067. package/tests/testing-infrastructure.test.ts +209 -0
  1068. package/tests/tooling.test.js +118 -0
  1069. package/tests/types/shims.d.ts +20 -0
  1070. package/tests/types/tool-results.ts +68 -0
  1071. package/tests/typescript.test.js +108 -0
  1072. package/tests/unit/mcp/server-lifecycle.test.ts +301 -0
  1073. package/tests/unit/middleware/error.test.ts +283 -0
  1074. package/tests/unit/server.test.ts +102 -0
  1075. package/tests/unit/swagger/swagger-manager.test.ts +89 -0
  1076. package/tests/unit/teamcity/artifact-manager.test.ts +450 -0
  1077. package/tests/unit/teamcity/branch-discovery-manager.test.ts +561 -0
  1078. package/tests/unit/teamcity/branch-filtering-service.test.ts +481 -0
  1079. package/tests/unit/teamcity/branch-specification-parser.test.ts +443 -0
  1080. package/tests/unit/teamcity/build-config-navigator-more.test.ts +245 -0
  1081. package/tests/unit/teamcity/build-config-navigator.test.ts +1452 -0
  1082. package/tests/unit/teamcity/build-configuration-manager.test.ts +750 -0
  1083. package/tests/unit/teamcity/build-configuration-resolver.test.ts +659 -0
  1084. package/tests/unit/teamcity/build-list-manager.test.ts +574 -0
  1085. package/tests/unit/teamcity/build-parameters-manager.test.ts +712 -0
  1086. package/tests/unit/teamcity/build-progress-tracker.test.ts +1030 -0
  1087. package/tests/unit/teamcity/build-query-builder.test.ts +311 -0
  1088. package/tests/unit/teamcity/build-queue-manager.test.ts +879 -0
  1089. package/tests/unit/teamcity/build-results-manager.test.ts +630 -0
  1090. package/tests/unit/teamcity/build-status-manager.test.ts +640 -0
  1091. package/tests/unit/teamcity/build-step-manager.test.ts +886 -0
  1092. package/tests/unit/teamcity/build-trigger-manager.test.ts +1052 -0
  1093. package/tests/unit/teamcity/configuration-branch-matcher.test.ts +692 -0
  1094. package/tests/unit/teamcity/pagination.test.ts +118 -0
  1095. package/tests/unit/teamcity/project-list-manager.test.ts +118 -0
  1096. package/tests/unit/teamcity/project-manager-branches.test.ts +176 -0
  1097. package/tests/unit/teamcity/project-manager-more.test.ts +90 -0
  1098. package/tests/unit/teamcity/project-manager.test.ts +189 -0
  1099. package/tests/unit/teamcity/project-navigator-branches.test.ts +168 -0
  1100. package/tests/unit/teamcity/project-navigator-more.test.ts +58 -0
  1101. package/tests/unit/teamcity/project-navigator.test.ts +791 -0
  1102. package/tests/unit/teamcity/test-problem-reporter-trend-patterns.test.ts +80 -0
  1103. package/tests/unit/teamcity/test-problem-reporter.test.ts +551 -0
  1104. package/tests/unit/tools/agent-vcs-admin.test.ts +121 -0
  1105. package/tests/unit/tools/availability-and-queue.test.ts +118 -0
  1106. package/tests/unit/tools/branches-vcs-agents.test.ts +119 -0
  1107. package/tests/unit/tools/build-actions-and-status.test.ts +125 -0
  1108. package/tests/unit/tools/bulk-surface-coverage.test.ts +116 -0
  1109. package/tests/unit/tools/compatibility-lookups.test.ts +150 -0
  1110. package/tests/unit/tools/fetch-build-log-ambiguity.test.ts +70 -0
  1111. package/tests/unit/tools/fetch-build-log-by-number.test.ts +66 -0
  1112. package/tests/unit/tools/fetch-build-log-pagination.test.ts +73 -0
  1113. package/tests/unit/tools/fetch-build-log-tail.test.ts +33 -0
  1114. package/tests/unit/tools/get-status-and-results.test.ts +67 -0
  1115. package/tests/unit/tools/list-branches-and-parameters.test.ts +36 -0
  1116. package/tests/unit/tools/list-build-configs-pagination.test.ts +39 -0
  1117. package/tests/unit/tools/list-builds-pagination.test.ts +45 -0
  1118. package/tests/unit/tools/list-pagination-all.test.ts +259 -0
  1119. package/tests/unit/tools/list-projects-pagination.test.ts +39 -0
  1120. package/tests/unit/tools/parameters-and-steps-triggers.test.ts +176 -0
  1121. package/tests/unit/tools/project-build-crud.test.ts +110 -0
  1122. package/tests/unit/tools/project-hierarchy.test.ts +46 -0
  1123. package/tests/unit/tools/queue-maintenance.test.ts +130 -0
  1124. package/tests/unit/tools/server-health-and-metrics.test.ts +134 -0
  1125. package/tests/unit/tools/simple-getters.test.ts +88 -0
  1126. package/tests/unit/tools/update_project_settings.test.ts +64 -0
  1127. package/tests/unit/utils/lru-cache.test.ts +77 -0
  1128. package/tests/unit/utils/mcp.test.ts +82 -0
  1129. package/tests/unit/utils/runTool.test.ts +38 -0
  1130. package/tests/unit/utils/validation.test.ts +168 -0
  1131. package/tsconfig.build.json +28 -0
  1132. package/tsconfig.json +60 -0
  1133. package/tsconfig.lint.json +13 -0
@@ -0,0 +1,1922 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * TeamCity REST API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2018.1 (current)
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import type { AxiosInstance, AxiosPromise, RawAxiosRequestConfig } from 'axios';
15
+ import globalAxios from 'axios';
16
+
17
+ // @ts-ignore
18
+ import {
19
+ BASE_PATH,
20
+ BaseAPI,
21
+ COLLECTION_FORMATS,
22
+ type RequestArgs,
23
+ RequiredError,
24
+ operationServerMap,
25
+ } from '../base';
26
+ // Some imports not used depending on template conditions
27
+ // @ts-ignore
28
+ import {
29
+ DUMMY_BASE_URL,
30
+ assertParamExists,
31
+ createRequestFunction,
32
+ serializeDataIfNeeded,
33
+ setApiKeyToObject,
34
+ setBasicAuthToObject,
35
+ setBearerAuthToObject,
36
+ setOAuthToObject,
37
+ setSearchParams,
38
+ toPathString,
39
+ } from '../common';
40
+ import type { Configuration } from '../configuration';
41
+ // @ts-ignore
42
+ import type { Agents } from '../models';
43
+ // @ts-ignore
44
+ import type { ApprovalInfo } from '../models';
45
+ // @ts-ignore
46
+ import type { Build } from '../models';
47
+ // @ts-ignore
48
+ import type { BuildCancelRequest } from '../models';
49
+ // @ts-ignore
50
+ import type { Builds } from '../models';
51
+ // @ts-ignore
52
+ import type { Tags } from '../models';
53
+
54
+ /**
55
+ * BuildQueueApi - axios parameter creator
56
+ * @export
57
+ */
58
+ export const BuildQueueApiAxiosParamCreator = function (configuration?: Configuration) {
59
+ return {
60
+ /**
61
+ *
62
+ * @summary Add a new build to the queue.
63
+ * @param {boolean} [moveToTop]
64
+ * @param {Build} [body]
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ addBuildToQueue: async (
69
+ moveToTop?: boolean,
70
+ body?: Build,
71
+ options: RawAxiosRequestConfig = {}
72
+ ): Promise<RequestArgs> => {
73
+ const localVarPath = `/app/rest/buildQueue`;
74
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
75
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
76
+ let baseOptions;
77
+ if (configuration) {
78
+ baseOptions = configuration.baseOptions;
79
+ }
80
+
81
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
82
+ const localVarHeaderParameter = {} as Record<string, string>;
83
+ const localVarQueryParameter = {} as Record<string, string>;
84
+
85
+ if (moveToTop !== undefined) {
86
+ localVarQueryParameter['moveToTop'] = String(moveToTop);
87
+ }
88
+
89
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
90
+
91
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
92
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
93
+ localVarRequestOptions.headers = {
94
+ ...localVarHeaderParameter,
95
+ ...headersFromBaseOptions,
96
+ ...options["headers"],
97
+ };
98
+ localVarRequestOptions.data = serializeDataIfNeeded(
99
+ body,
100
+ localVarRequestOptions,
101
+ configuration
102
+ );
103
+
104
+ return {
105
+ url: toPathString(localVarUrlObj),
106
+ options: localVarRequestOptions,
107
+ };
108
+ },
109
+ /**
110
+ *
111
+ * @summary Add tags to the matching build.
112
+ * @param {string} buildLocator
113
+ * @param {Tags} [body]
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ addTagsToBuildOfBuildQueue: async (
118
+ buildLocator: string,
119
+ body?: Tags,
120
+ options: RawAxiosRequestConfig = {}
121
+ ): Promise<RequestArgs> => {
122
+ // verify required parameter 'buildLocator' is not null or undefined
123
+ assertParamExists('addTagsToBuildOfBuildQueue', 'buildLocator', buildLocator);
124
+ const localVarPath = `/app/rest/buildQueue/{buildLocator}/tags`.replace(
125
+ `{${'buildLocator'}}`,
126
+ encodeURIComponent(String(buildLocator))
127
+ );
128
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
129
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
130
+ let baseOptions;
131
+ if (configuration) {
132
+ baseOptions = configuration.baseOptions;
133
+ }
134
+
135
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
136
+ const localVarHeaderParameter = {} as Record<string, string>;
137
+ const localVarQueryParameter = {} as Record<string, string>;
138
+
139
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
140
+
141
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
142
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
143
+ localVarRequestOptions.headers = {
144
+ ...localVarHeaderParameter,
145
+ ...headersFromBaseOptions,
146
+ ...options["headers"],
147
+ };
148
+ localVarRequestOptions.data = serializeDataIfNeeded(
149
+ body,
150
+ localVarRequestOptions,
151
+ configuration
152
+ );
153
+
154
+ return {
155
+ url: toPathString(localVarUrlObj),
156
+ options: localVarRequestOptions,
157
+ };
158
+ },
159
+ /**
160
+ *
161
+ * @summary Approve queued build with approval feature enabled.
162
+ * @param {string} buildLocator
163
+ * @param {string} [fields]
164
+ * @param {boolean} [approveAll]
165
+ * @param {string} [body]
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ approveQueuedBuild: async (
170
+ buildLocator: string,
171
+ fields?: string,
172
+ approveAll?: boolean,
173
+ body?: string,
174
+ options: RawAxiosRequestConfig = {}
175
+ ): Promise<RequestArgs> => {
176
+ // verify required parameter 'buildLocator' is not null or undefined
177
+ assertParamExists('approveQueuedBuild', 'buildLocator', buildLocator);
178
+ const localVarPath = `/app/rest/buildQueue/{buildLocator}/approve`.replace(
179
+ `{${'buildLocator'}}`,
180
+ encodeURIComponent(String(buildLocator))
181
+ );
182
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
183
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
184
+ let baseOptions;
185
+ if (configuration) {
186
+ baseOptions = configuration.baseOptions;
187
+ }
188
+
189
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
190
+ const localVarHeaderParameter = {} as Record<string, string>;
191
+ const localVarQueryParameter = {} as Record<string, string>;
192
+
193
+ if (fields !== undefined) {
194
+ localVarQueryParameter['fields'] = String(fields);
195
+ }
196
+
197
+ if (approveAll !== undefined) {
198
+ localVarQueryParameter['approveAll'] = String(approveAll);
199
+ }
200
+
201
+ localVarHeaderParameter['Content-Type'] = 'application/json';
202
+
203
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
204
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
205
+ localVarRequestOptions.headers = {
206
+ ...localVarHeaderParameter,
207
+ ...headersFromBaseOptions,
208
+ ...options["headers"],
209
+ };
210
+ localVarRequestOptions.data = serializeDataIfNeeded(
211
+ body,
212
+ localVarRequestOptions,
213
+ configuration
214
+ );
215
+
216
+ return {
217
+ url: toPathString(localVarUrlObj),
218
+ options: localVarRequestOptions,
219
+ };
220
+ },
221
+ /**
222
+ *
223
+ * @summary Cancel a queued matching build.
224
+ * @param {string} queuedBuildLocator
225
+ * @param {BuildCancelRequest} [body]
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ cancelQueuedBuild: async (
230
+ queuedBuildLocator: string,
231
+ body?: BuildCancelRequest,
232
+ options: RawAxiosRequestConfig = {}
233
+ ): Promise<RequestArgs> => {
234
+ // verify required parameter 'queuedBuildLocator' is not null or undefined
235
+ assertParamExists('cancelQueuedBuild', 'queuedBuildLocator', queuedBuildLocator);
236
+ const localVarPath = `/app/rest/buildQueue/{queuedBuildLocator}`.replace(
237
+ `{${'queuedBuildLocator'}}`,
238
+ encodeURIComponent(String(queuedBuildLocator))
239
+ );
240
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
241
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
242
+ let baseOptions;
243
+ if (configuration) {
244
+ baseOptions = configuration.baseOptions;
245
+ }
246
+
247
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
248
+ const localVarHeaderParameter = {} as Record<string, string>;
249
+ const localVarQueryParameter = {} as Record<string, string>;
250
+
251
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
252
+
253
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
254
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
255
+ localVarRequestOptions.headers = {
256
+ ...localVarHeaderParameter,
257
+ ...headersFromBaseOptions,
258
+ ...options["headers"],
259
+ };
260
+ localVarRequestOptions.data = serializeDataIfNeeded(
261
+ body,
262
+ localVarRequestOptions,
263
+ configuration
264
+ );
265
+
266
+ return {
267
+ url: toPathString(localVarUrlObj),
268
+ options: localVarRequestOptions,
269
+ };
270
+ },
271
+ /**
272
+ *
273
+ * @summary Delete all queued builds.
274
+ * @param {string} [locator]
275
+ * @param {string} [fields]
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ deleteAllQueuedBuilds: async (
280
+ locator?: string,
281
+ fields?: string,
282
+ options: RawAxiosRequestConfig = {}
283
+ ): Promise<RequestArgs> => {
284
+ const localVarPath = `/app/rest/buildQueue`;
285
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
+ let baseOptions;
288
+ if (configuration) {
289
+ baseOptions = configuration.baseOptions;
290
+ }
291
+
292
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
293
+ const localVarHeaderParameter = {} as Record<string, string>;
294
+ const localVarQueryParameter = {} as Record<string, string>;
295
+
296
+ if (locator !== undefined) {
297
+ localVarQueryParameter['locator'] = String(locator);
298
+ }
299
+
300
+ if (fields !== undefined) {
301
+ localVarQueryParameter['fields'] = String(fields);
302
+ }
303
+
304
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
305
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
306
+ localVarRequestOptions.headers = {
307
+ ...localVarHeaderParameter,
308
+ ...headersFromBaseOptions,
309
+ ...options["headers"],
310
+ };
311
+
312
+ return {
313
+ url: toPathString(localVarUrlObj),
314
+ options: localVarRequestOptions,
315
+ };
316
+ },
317
+ /**
318
+ *
319
+ * @summary Delete a queued matching build.
320
+ * @param {string} queuedBuildLocator
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ deleteQueuedBuild: async (
325
+ queuedBuildLocator: string,
326
+ options: RawAxiosRequestConfig = {}
327
+ ): Promise<RequestArgs> => {
328
+ // verify required parameter 'queuedBuildLocator' is not null or undefined
329
+ assertParamExists('deleteQueuedBuild', 'queuedBuildLocator', queuedBuildLocator);
330
+ const localVarPath = `/app/rest/buildQueue/{queuedBuildLocator}`.replace(
331
+ `{${'queuedBuildLocator'}}`,
332
+ encodeURIComponent(String(queuedBuildLocator))
333
+ );
334
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
335
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
336
+ let baseOptions;
337
+ if (configuration) {
338
+ baseOptions = configuration.baseOptions;
339
+ }
340
+
341
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
342
+ const localVarHeaderParameter = {} as Record<string, string>;
343
+ const localVarQueryParameter = {} as Record<string, string>;
344
+
345
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
346
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
347
+ localVarRequestOptions.headers = {
348
+ ...localVarHeaderParameter,
349
+ ...headersFromBaseOptions,
350
+ ...options["headers"],
351
+ };
352
+
353
+ return {
354
+ url: toPathString(localVarUrlObj),
355
+ options: localVarRequestOptions,
356
+ };
357
+ },
358
+ /**
359
+ *
360
+ * @summary Get all queued builds.
361
+ * @param {string} [locator]
362
+ * @param {string} [fields]
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ getAllQueuedBuilds: async (
367
+ locator?: string,
368
+ fields?: string,
369
+ options: RawAxiosRequestConfig = {}
370
+ ): Promise<RequestArgs> => {
371
+ const localVarPath = `/app/rest/buildQueue`;
372
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
373
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
374
+ let baseOptions;
375
+ if (configuration) {
376
+ baseOptions = configuration.baseOptions;
377
+ }
378
+
379
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
380
+ const localVarHeaderParameter = {} as Record<string, string>;
381
+ const localVarQueryParameter = {} as Record<string, string>;
382
+
383
+ if (locator !== undefined) {
384
+ localVarQueryParameter['locator'] = String(locator);
385
+ }
386
+
387
+ if (fields !== undefined) {
388
+ localVarQueryParameter['fields'] = String(fields);
389
+ }
390
+
391
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
392
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
393
+ localVarRequestOptions.headers = {
394
+ ...localVarHeaderParameter,
395
+ ...headersFromBaseOptions,
396
+ ...options["headers"],
397
+ };
398
+
399
+ return {
400
+ url: toPathString(localVarUrlObj),
401
+ options: localVarRequestOptions,
402
+ };
403
+ },
404
+ /**
405
+ *
406
+ * @summary Get approval info of a queued matching build.
407
+ * @param {string} buildLocator
408
+ * @param {string} [fields]
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ */
412
+ getApprovalInfo: async (
413
+ buildLocator: string,
414
+ fields?: string,
415
+ options: RawAxiosRequestConfig = {}
416
+ ): Promise<RequestArgs> => {
417
+ // verify required parameter 'buildLocator' is not null or undefined
418
+ assertParamExists('getApprovalInfo', 'buildLocator', buildLocator);
419
+ const localVarPath = `/app/rest/buildQueue/{buildLocator}/approvalInfo`.replace(
420
+ `{${'buildLocator'}}`,
421
+ encodeURIComponent(String(buildLocator))
422
+ );
423
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
424
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
425
+ let baseOptions;
426
+ if (configuration) {
427
+ baseOptions = configuration.baseOptions;
428
+ }
429
+
430
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
431
+ const localVarHeaderParameter = {} as Record<string, string>;
432
+ const localVarQueryParameter = {} as Record<string, string>;
433
+
434
+ if (fields !== undefined) {
435
+ localVarQueryParameter['fields'] = String(fields);
436
+ }
437
+
438
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
439
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
440
+ localVarRequestOptions.headers = {
441
+ ...localVarHeaderParameter,
442
+ ...headersFromBaseOptions,
443
+ ...options["headers"],
444
+ };
445
+
446
+ return {
447
+ url: toPathString(localVarUrlObj),
448
+ options: localVarRequestOptions,
449
+ };
450
+ },
451
+ /**
452
+ *
453
+ * @summary Get compatible agents for a queued matching build.
454
+ * @param {string} queuedBuildLocator
455
+ * @param {string} [fields]
456
+ * @param {*} [options] Override http request option.
457
+ * @throws {RequiredError}
458
+ */
459
+ getCompatibleAgentsForBuild: async (
460
+ queuedBuildLocator: string,
461
+ fields?: string,
462
+ options: RawAxiosRequestConfig = {}
463
+ ): Promise<RequestArgs> => {
464
+ // verify required parameter 'queuedBuildLocator' is not null or undefined
465
+ assertParamExists('getCompatibleAgentsForBuild', 'queuedBuildLocator', queuedBuildLocator);
466
+ const localVarPath = `/app/rest/buildQueue/{queuedBuildLocator}/compatibleAgents`.replace(
467
+ `{${'queuedBuildLocator'}}`,
468
+ encodeURIComponent(String(queuedBuildLocator))
469
+ );
470
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
471
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
472
+ let baseOptions;
473
+ if (configuration) {
474
+ baseOptions = configuration.baseOptions;
475
+ }
476
+
477
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
478
+ const localVarHeaderParameter = {} as Record<string, string>;
479
+ const localVarQueryParameter = {} as Record<string, string>;
480
+
481
+ if (fields !== undefined) {
482
+ localVarQueryParameter['fields'] = String(fields);
483
+ }
484
+
485
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
486
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
487
+ localVarRequestOptions.headers = {
488
+ ...localVarHeaderParameter,
489
+ ...headersFromBaseOptions,
490
+ ...options["headers"],
491
+ };
492
+
493
+ return {
494
+ url: toPathString(localVarUrlObj),
495
+ options: localVarRequestOptions,
496
+ };
497
+ },
498
+ /**
499
+ *
500
+ * @summary Get a queued matching build.
501
+ * @param {string} queuedBuildLocator
502
+ * @param {string} [fields]
503
+ * @param {*} [options] Override http request option.
504
+ * @throws {RequiredError}
505
+ */
506
+ getQueuedBuild: async (
507
+ queuedBuildLocator: string,
508
+ fields?: string,
509
+ options: RawAxiosRequestConfig = {}
510
+ ): Promise<RequestArgs> => {
511
+ // verify required parameter 'queuedBuildLocator' is not null or undefined
512
+ assertParamExists('getQueuedBuild', 'queuedBuildLocator', queuedBuildLocator);
513
+ const localVarPath = `/app/rest/buildQueue/{queuedBuildLocator}`.replace(
514
+ `{${'queuedBuildLocator'}}`,
515
+ encodeURIComponent(String(queuedBuildLocator))
516
+ );
517
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
518
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
519
+ let baseOptions;
520
+ if (configuration) {
521
+ baseOptions = configuration.baseOptions;
522
+ }
523
+
524
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
525
+ const localVarHeaderParameter = {} as Record<string, string>;
526
+ const localVarQueryParameter = {} as Record<string, string>;
527
+
528
+ if (fields !== undefined) {
529
+ localVarQueryParameter['fields'] = String(fields);
530
+ }
531
+
532
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
533
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
534
+ localVarRequestOptions.headers = {
535
+ ...localVarHeaderParameter,
536
+ ...headersFromBaseOptions,
537
+ ...options["headers"],
538
+ };
539
+
540
+ return {
541
+ url: toPathString(localVarUrlObj),
542
+ options: localVarRequestOptions,
543
+ };
544
+ },
545
+ /**
546
+ *
547
+ * @summary Get the queue position of a queued matching build.
548
+ * @param {string} queuePosition
549
+ * @param {string} [fields]
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ getQueuedBuildPosition: async (
554
+ queuePosition: string,
555
+ fields?: string,
556
+ options: RawAxiosRequestConfig = {}
557
+ ): Promise<RequestArgs> => {
558
+ // verify required parameter 'queuePosition' is not null or undefined
559
+ assertParamExists('getQueuedBuildPosition', 'queuePosition', queuePosition);
560
+ const localVarPath = `/app/rest/buildQueue/order/{queuePosition}`.replace(
561
+ `{${'queuePosition'}}`,
562
+ encodeURIComponent(String(queuePosition))
563
+ );
564
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
565
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
566
+ let baseOptions;
567
+ if (configuration) {
568
+ baseOptions = configuration.baseOptions;
569
+ }
570
+
571
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
572
+ const localVarHeaderParameter = {} as Record<string, string>;
573
+ const localVarQueryParameter = {} as Record<string, string>;
574
+
575
+ if (fields !== undefined) {
576
+ localVarQueryParameter['fields'] = String(fields);
577
+ }
578
+
579
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
580
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
581
+ localVarRequestOptions.headers = {
582
+ ...localVarHeaderParameter,
583
+ ...headersFromBaseOptions,
584
+ ...options["headers"],
585
+ };
586
+
587
+ return {
588
+ url: toPathString(localVarUrlObj),
589
+ options: localVarRequestOptions,
590
+ };
591
+ },
592
+ /**
593
+ *
594
+ * @summary Get tags of the queued matching build.
595
+ * @param {string} buildLocator
596
+ * @param {string} [locator]
597
+ * @param {string} [fields]
598
+ * @param {*} [options] Override http request option.
599
+ * @throws {RequiredError}
600
+ */
601
+ getQueuedBuildTags: async (
602
+ buildLocator: string,
603
+ locator?: string,
604
+ fields?: string,
605
+ options: RawAxiosRequestConfig = {}
606
+ ): Promise<RequestArgs> => {
607
+ // verify required parameter 'buildLocator' is not null or undefined
608
+ assertParamExists('getQueuedBuildTags', 'buildLocator', buildLocator);
609
+ const localVarPath = `/app/rest/buildQueue/{buildLocator}/tags`.replace(
610
+ `{${'buildLocator'}}`,
611
+ encodeURIComponent(String(buildLocator))
612
+ );
613
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
614
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
615
+ let baseOptions;
616
+ if (configuration) {
617
+ baseOptions = configuration.baseOptions;
618
+ }
619
+
620
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
621
+ const localVarHeaderParameter = {} as Record<string, string>;
622
+ const localVarQueryParameter = {} as Record<string, string>;
623
+
624
+ if (locator !== undefined) {
625
+ localVarQueryParameter['locator'] = String(locator);
626
+ }
627
+
628
+ if (fields !== undefined) {
629
+ localVarQueryParameter['fields'] = String(fields);
630
+ }
631
+
632
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
633
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
634
+ localVarRequestOptions.headers = {
635
+ ...localVarHeaderParameter,
636
+ ...headersFromBaseOptions,
637
+ ...options["headers"],
638
+ };
639
+
640
+ return {
641
+ url: toPathString(localVarUrlObj),
642
+ options: localVarRequestOptions,
643
+ };
644
+ },
645
+ /**
646
+ *
647
+ * @summary Update the queue position of a queued matching build.
648
+ * @param {string} queuePosition
649
+ * @param {string} [fields]
650
+ * @param {Build} [body]
651
+ * @param {*} [options] Override http request option.
652
+ * @throws {RequiredError}
653
+ */
654
+ setQueuedBuildPosition: async (
655
+ queuePosition: string,
656
+ fields?: string,
657
+ body?: Build,
658
+ options: RawAxiosRequestConfig = {}
659
+ ): Promise<RequestArgs> => {
660
+ // verify required parameter 'queuePosition' is not null or undefined
661
+ assertParamExists('setQueuedBuildPosition', 'queuePosition', queuePosition);
662
+ const localVarPath = `/app/rest/buildQueue/order/{queuePosition}`.replace(
663
+ `{${'queuePosition'}}`,
664
+ encodeURIComponent(String(queuePosition))
665
+ );
666
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
667
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
668
+ let baseOptions;
669
+ if (configuration) {
670
+ baseOptions = configuration.baseOptions;
671
+ }
672
+
673
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
674
+ const localVarHeaderParameter = {} as Record<string, string>;
675
+ const localVarQueryParameter = {} as Record<string, string>;
676
+
677
+ if (fields !== undefined) {
678
+ localVarQueryParameter['fields'] = String(fields);
679
+ }
680
+
681
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
682
+
683
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
684
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
685
+ localVarRequestOptions.headers = {
686
+ ...localVarHeaderParameter,
687
+ ...headersFromBaseOptions,
688
+ ...options["headers"],
689
+ };
690
+ localVarRequestOptions.data = serializeDataIfNeeded(
691
+ body,
692
+ localVarRequestOptions,
693
+ configuration
694
+ );
695
+
696
+ return {
697
+ url: toPathString(localVarUrlObj),
698
+ options: localVarRequestOptions,
699
+ };
700
+ },
701
+ /**
702
+ *
703
+ * @summary Update the build queue order.
704
+ * @param {string} [fields]
705
+ * @param {Builds} [body]
706
+ * @param {*} [options] Override http request option.
707
+ * @throws {RequiredError}
708
+ */
709
+ setQueuedBuildsOrder: async (
710
+ fields?: string,
711
+ body?: Builds,
712
+ options: RawAxiosRequestConfig = {}
713
+ ): Promise<RequestArgs> => {
714
+ const localVarPath = `/app/rest/buildQueue/order`;
715
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
716
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
717
+ let baseOptions;
718
+ if (configuration) {
719
+ baseOptions = configuration.baseOptions;
720
+ }
721
+
722
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
723
+ const localVarHeaderParameter = {} as Record<string, string>;
724
+ const localVarQueryParameter = {} as Record<string, string>;
725
+
726
+ if (fields !== undefined) {
727
+ localVarQueryParameter['fields'] = String(fields);
728
+ }
729
+
730
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
731
+
732
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
733
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
734
+ localVarRequestOptions.headers = {
735
+ ...localVarHeaderParameter,
736
+ ...headersFromBaseOptions,
737
+ ...options["headers"],
738
+ };
739
+ localVarRequestOptions.data = serializeDataIfNeeded(
740
+ body,
741
+ localVarRequestOptions,
742
+ configuration
743
+ );
744
+
745
+ return {
746
+ url: toPathString(localVarUrlObj),
747
+ options: localVarRequestOptions,
748
+ };
749
+ },
750
+ };
751
+ };
752
+
753
+ /**
754
+ * BuildQueueApi - functional programming interface
755
+ * @export
756
+ */
757
+ export const BuildQueueApiFp = function (configuration?: Configuration) {
758
+ const localVarAxiosParamCreator = BuildQueueApiAxiosParamCreator(configuration);
759
+ return {
760
+ /**
761
+ *
762
+ * @summary Add a new build to the queue.
763
+ * @param {boolean} [moveToTop]
764
+ * @param {Build} [body]
765
+ * @param {*} [options] Override http request option.
766
+ * @throws {RequiredError}
767
+ */
768
+ async addBuildToQueue(
769
+ moveToTop?: boolean,
770
+ body?: Build,
771
+ options?: RawAxiosRequestConfig
772
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Build>> {
773
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addBuildToQueue(
774
+ moveToTop,
775
+ body,
776
+ options
777
+ );
778
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
779
+ const localVarOperationServerBasePath =
780
+ operationServerMap['BuildQueueApi.addBuildToQueue']?.[localVarOperationServerIndex]?.url;
781
+ return (axios, basePath) =>
782
+ createRequestFunction(
783
+ localVarAxiosArgs,
784
+ globalAxios,
785
+ BASE_PATH,
786
+ configuration
787
+ )(axios, localVarOperationServerBasePath || basePath);
788
+ },
789
+ /**
790
+ *
791
+ * @summary Add tags to the matching build.
792
+ * @param {string} buildLocator
793
+ * @param {Tags} [body]
794
+ * @param {*} [options] Override http request option.
795
+ * @throws {RequiredError}
796
+ */
797
+ async addTagsToBuildOfBuildQueue(
798
+ buildLocator: string,
799
+ body?: Tags,
800
+ options?: RawAxiosRequestConfig
801
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
802
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addTagsToBuildOfBuildQueue(
803
+ buildLocator,
804
+ body,
805
+ options
806
+ );
807
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
808
+ const localVarOperationServerBasePath =
809
+ operationServerMap['BuildQueueApi.addTagsToBuildOfBuildQueue']?.[
810
+ localVarOperationServerIndex
811
+ ]?.url;
812
+ return (axios, basePath) =>
813
+ createRequestFunction(
814
+ localVarAxiosArgs,
815
+ globalAxios,
816
+ BASE_PATH,
817
+ configuration
818
+ )(axios, localVarOperationServerBasePath || basePath);
819
+ },
820
+ /**
821
+ *
822
+ * @summary Approve queued build with approval feature enabled.
823
+ * @param {string} buildLocator
824
+ * @param {string} [fields]
825
+ * @param {boolean} [approveAll]
826
+ * @param {string} [body]
827
+ * @param {*} [options] Override http request option.
828
+ * @throws {RequiredError}
829
+ */
830
+ async approveQueuedBuild(
831
+ buildLocator: string,
832
+ fields?: string,
833
+ approveAll?: boolean,
834
+ body?: string,
835
+ options?: RawAxiosRequestConfig
836
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApprovalInfo>> {
837
+ const localVarAxiosArgs = await localVarAxiosParamCreator.approveQueuedBuild(
838
+ buildLocator,
839
+ fields,
840
+ approveAll,
841
+ body,
842
+ options
843
+ );
844
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
845
+ const localVarOperationServerBasePath =
846
+ operationServerMap['BuildQueueApi.approveQueuedBuild']?.[localVarOperationServerIndex]?.url;
847
+ return (axios, basePath) =>
848
+ createRequestFunction(
849
+ localVarAxiosArgs,
850
+ globalAxios,
851
+ BASE_PATH,
852
+ configuration
853
+ )(axios, localVarOperationServerBasePath || basePath);
854
+ },
855
+ /**
856
+ *
857
+ * @summary Cancel a queued matching build.
858
+ * @param {string} queuedBuildLocator
859
+ * @param {BuildCancelRequest} [body]
860
+ * @param {*} [options] Override http request option.
861
+ * @throws {RequiredError}
862
+ */
863
+ async cancelQueuedBuild(
864
+ queuedBuildLocator: string,
865
+ body?: BuildCancelRequest,
866
+ options?: RawAxiosRequestConfig
867
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Build>> {
868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelQueuedBuild(
869
+ queuedBuildLocator,
870
+ body,
871
+ options
872
+ );
873
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
874
+ const localVarOperationServerBasePath =
875
+ operationServerMap['BuildQueueApi.cancelQueuedBuild']?.[localVarOperationServerIndex]?.url;
876
+ return (axios, basePath) =>
877
+ createRequestFunction(
878
+ localVarAxiosArgs,
879
+ globalAxios,
880
+ BASE_PATH,
881
+ configuration
882
+ )(axios, localVarOperationServerBasePath || basePath);
883
+ },
884
+ /**
885
+ *
886
+ * @summary Delete all queued builds.
887
+ * @param {string} [locator]
888
+ * @param {string} [fields]
889
+ * @param {*} [options] Override http request option.
890
+ * @throws {RequiredError}
891
+ */
892
+ async deleteAllQueuedBuilds(
893
+ locator?: string,
894
+ fields?: string,
895
+ options?: RawAxiosRequestConfig
896
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
897
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAllQueuedBuilds(
898
+ locator,
899
+ fields,
900
+ options
901
+ );
902
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
903
+ const localVarOperationServerBasePath =
904
+ operationServerMap['BuildQueueApi.deleteAllQueuedBuilds']?.[localVarOperationServerIndex]
905
+ ?.url;
906
+ return (axios, basePath) =>
907
+ createRequestFunction(
908
+ localVarAxiosArgs,
909
+ globalAxios,
910
+ BASE_PATH,
911
+ configuration
912
+ )(axios, localVarOperationServerBasePath || basePath);
913
+ },
914
+ /**
915
+ *
916
+ * @summary Delete a queued matching build.
917
+ * @param {string} queuedBuildLocator
918
+ * @param {*} [options] Override http request option.
919
+ * @throws {RequiredError}
920
+ */
921
+ async deleteQueuedBuild(
922
+ queuedBuildLocator: string,
923
+ options?: RawAxiosRequestConfig
924
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
925
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteQueuedBuild(
926
+ queuedBuildLocator,
927
+ options
928
+ );
929
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
930
+ const localVarOperationServerBasePath =
931
+ operationServerMap['BuildQueueApi.deleteQueuedBuild']?.[localVarOperationServerIndex]?.url;
932
+ return (axios, basePath) =>
933
+ createRequestFunction(
934
+ localVarAxiosArgs,
935
+ globalAxios,
936
+ BASE_PATH,
937
+ configuration
938
+ )(axios, localVarOperationServerBasePath || basePath);
939
+ },
940
+ /**
941
+ *
942
+ * @summary Get all queued builds.
943
+ * @param {string} [locator]
944
+ * @param {string} [fields]
945
+ * @param {*} [options] Override http request option.
946
+ * @throws {RequiredError}
947
+ */
948
+ async getAllQueuedBuilds(
949
+ locator?: string,
950
+ fields?: string,
951
+ options?: RawAxiosRequestConfig
952
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Builds>> {
953
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllQueuedBuilds(
954
+ locator,
955
+ fields,
956
+ options
957
+ );
958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
959
+ const localVarOperationServerBasePath =
960
+ operationServerMap['BuildQueueApi.getAllQueuedBuilds']?.[localVarOperationServerIndex]?.url;
961
+ return (axios, basePath) =>
962
+ createRequestFunction(
963
+ localVarAxiosArgs,
964
+ globalAxios,
965
+ BASE_PATH,
966
+ configuration
967
+ )(axios, localVarOperationServerBasePath || basePath);
968
+ },
969
+ /**
970
+ *
971
+ * @summary Get approval info of a queued matching build.
972
+ * @param {string} buildLocator
973
+ * @param {string} [fields]
974
+ * @param {*} [options] Override http request option.
975
+ * @throws {RequiredError}
976
+ */
977
+ async getApprovalInfo(
978
+ buildLocator: string,
979
+ fields?: string,
980
+ options?: RawAxiosRequestConfig
981
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApprovalInfo>> {
982
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getApprovalInfo(
983
+ buildLocator,
984
+ fields,
985
+ options
986
+ );
987
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
988
+ const localVarOperationServerBasePath =
989
+ operationServerMap['BuildQueueApi.getApprovalInfo']?.[localVarOperationServerIndex]?.url;
990
+ return (axios, basePath) =>
991
+ createRequestFunction(
992
+ localVarAxiosArgs,
993
+ globalAxios,
994
+ BASE_PATH,
995
+ configuration
996
+ )(axios, localVarOperationServerBasePath || basePath);
997
+ },
998
+ /**
999
+ *
1000
+ * @summary Get compatible agents for a queued matching build.
1001
+ * @param {string} queuedBuildLocator
1002
+ * @param {string} [fields]
1003
+ * @param {*} [options] Override http request option.
1004
+ * @throws {RequiredError}
1005
+ */
1006
+ async getCompatibleAgentsForBuild(
1007
+ queuedBuildLocator: string,
1008
+ fields?: string,
1009
+ options?: RawAxiosRequestConfig
1010
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Agents>> {
1011
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompatibleAgentsForBuild(
1012
+ queuedBuildLocator,
1013
+ fields,
1014
+ options
1015
+ );
1016
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1017
+ const localVarOperationServerBasePath =
1018
+ operationServerMap['BuildQueueApi.getCompatibleAgentsForBuild']?.[
1019
+ localVarOperationServerIndex
1020
+ ]?.url;
1021
+ return (axios, basePath) =>
1022
+ createRequestFunction(
1023
+ localVarAxiosArgs,
1024
+ globalAxios,
1025
+ BASE_PATH,
1026
+ configuration
1027
+ )(axios, localVarOperationServerBasePath || basePath);
1028
+ },
1029
+ /**
1030
+ *
1031
+ * @summary Get a queued matching build.
1032
+ * @param {string} queuedBuildLocator
1033
+ * @param {string} [fields]
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ */
1037
+ async getQueuedBuild(
1038
+ queuedBuildLocator: string,
1039
+ fields?: string,
1040
+ options?: RawAxiosRequestConfig
1041
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Build>> {
1042
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getQueuedBuild(
1043
+ queuedBuildLocator,
1044
+ fields,
1045
+ options
1046
+ );
1047
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1048
+ const localVarOperationServerBasePath =
1049
+ operationServerMap['BuildQueueApi.getQueuedBuild']?.[localVarOperationServerIndex]?.url;
1050
+ return (axios, basePath) =>
1051
+ createRequestFunction(
1052
+ localVarAxiosArgs,
1053
+ globalAxios,
1054
+ BASE_PATH,
1055
+ configuration
1056
+ )(axios, localVarOperationServerBasePath || basePath);
1057
+ },
1058
+ /**
1059
+ *
1060
+ * @summary Get the queue position of a queued matching build.
1061
+ * @param {string} queuePosition
1062
+ * @param {string} [fields]
1063
+ * @param {*} [options] Override http request option.
1064
+ * @throws {RequiredError}
1065
+ */
1066
+ async getQueuedBuildPosition(
1067
+ queuePosition: string,
1068
+ fields?: string,
1069
+ options?: RawAxiosRequestConfig
1070
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Build>> {
1071
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getQueuedBuildPosition(
1072
+ queuePosition,
1073
+ fields,
1074
+ options
1075
+ );
1076
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1077
+ const localVarOperationServerBasePath =
1078
+ operationServerMap['BuildQueueApi.getQueuedBuildPosition']?.[localVarOperationServerIndex]
1079
+ ?.url;
1080
+ return (axios, basePath) =>
1081
+ createRequestFunction(
1082
+ localVarAxiosArgs,
1083
+ globalAxios,
1084
+ BASE_PATH,
1085
+ configuration
1086
+ )(axios, localVarOperationServerBasePath || basePath);
1087
+ },
1088
+ /**
1089
+ *
1090
+ * @summary Get tags of the queued matching build.
1091
+ * @param {string} buildLocator
1092
+ * @param {string} [locator]
1093
+ * @param {string} [fields]
1094
+ * @param {*} [options] Override http request option.
1095
+ * @throws {RequiredError}
1096
+ */
1097
+ async getQueuedBuildTags(
1098
+ buildLocator: string,
1099
+ locator?: string,
1100
+ fields?: string,
1101
+ options?: RawAxiosRequestConfig
1102
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tags>> {
1103
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getQueuedBuildTags(
1104
+ buildLocator,
1105
+ locator,
1106
+ fields,
1107
+ options
1108
+ );
1109
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1110
+ const localVarOperationServerBasePath =
1111
+ operationServerMap['BuildQueueApi.getQueuedBuildTags']?.[localVarOperationServerIndex]?.url;
1112
+ return (axios, basePath) =>
1113
+ createRequestFunction(
1114
+ localVarAxiosArgs,
1115
+ globalAxios,
1116
+ BASE_PATH,
1117
+ configuration
1118
+ )(axios, localVarOperationServerBasePath || basePath);
1119
+ },
1120
+ /**
1121
+ *
1122
+ * @summary Update the queue position of a queued matching build.
1123
+ * @param {string} queuePosition
1124
+ * @param {string} [fields]
1125
+ * @param {Build} [body]
1126
+ * @param {*} [options] Override http request option.
1127
+ * @throws {RequiredError}
1128
+ */
1129
+ async setQueuedBuildPosition(
1130
+ queuePosition: string,
1131
+ fields?: string,
1132
+ body?: Build,
1133
+ options?: RawAxiosRequestConfig
1134
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Build>> {
1135
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setQueuedBuildPosition(
1136
+ queuePosition,
1137
+ fields,
1138
+ body,
1139
+ options
1140
+ );
1141
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1142
+ const localVarOperationServerBasePath =
1143
+ operationServerMap['BuildQueueApi.setQueuedBuildPosition']?.[localVarOperationServerIndex]
1144
+ ?.url;
1145
+ return (axios, basePath) =>
1146
+ createRequestFunction(
1147
+ localVarAxiosArgs,
1148
+ globalAxios,
1149
+ BASE_PATH,
1150
+ configuration
1151
+ )(axios, localVarOperationServerBasePath || basePath);
1152
+ },
1153
+ /**
1154
+ *
1155
+ * @summary Update the build queue order.
1156
+ * @param {string} [fields]
1157
+ * @param {Builds} [body]
1158
+ * @param {*} [options] Override http request option.
1159
+ * @throws {RequiredError}
1160
+ */
1161
+ async setQueuedBuildsOrder(
1162
+ fields?: string,
1163
+ body?: Builds,
1164
+ options?: RawAxiosRequestConfig
1165
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Builds>> {
1166
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setQueuedBuildsOrder(
1167
+ fields,
1168
+ body,
1169
+ options
1170
+ );
1171
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1172
+ const localVarOperationServerBasePath =
1173
+ operationServerMap['BuildQueueApi.setQueuedBuildsOrder']?.[localVarOperationServerIndex]
1174
+ ?.url;
1175
+ return (axios, basePath) =>
1176
+ createRequestFunction(
1177
+ localVarAxiosArgs,
1178
+ globalAxios,
1179
+ BASE_PATH,
1180
+ configuration
1181
+ )(axios, localVarOperationServerBasePath || basePath);
1182
+ },
1183
+ };
1184
+ };
1185
+
1186
+ /**
1187
+ * BuildQueueApi - factory interface
1188
+ * @export
1189
+ */
1190
+ export const BuildQueueApiFactory = function (
1191
+ configuration?: Configuration,
1192
+ basePath?: string,
1193
+ axios?: AxiosInstance
1194
+ ) {
1195
+ const localVarFp = BuildQueueApiFp(configuration);
1196
+ return {
1197
+ /**
1198
+ *
1199
+ * @summary Add a new build to the queue.
1200
+ * @param {boolean} [moveToTop]
1201
+ * @param {Build} [body]
1202
+ * @param {*} [options] Override http request option.
1203
+ * @throws {RequiredError}
1204
+ */
1205
+ addBuildToQueue(
1206
+ moveToTop?: boolean,
1207
+ body?: Build,
1208
+ options?: RawAxiosRequestConfig
1209
+ ): AxiosPromise<Build> {
1210
+ return localVarFp
1211
+ .addBuildToQueue(moveToTop, body, options)
1212
+ .then((request) => request(axios, basePath));
1213
+ },
1214
+ /**
1215
+ *
1216
+ * @summary Add tags to the matching build.
1217
+ * @param {string} buildLocator
1218
+ * @param {Tags} [body]
1219
+ * @param {*} [options] Override http request option.
1220
+ * @throws {RequiredError}
1221
+ */
1222
+ addTagsToBuildOfBuildQueue(
1223
+ buildLocator: string,
1224
+ body?: Tags,
1225
+ options?: RawAxiosRequestConfig
1226
+ ): AxiosPromise<void> {
1227
+ return localVarFp
1228
+ .addTagsToBuildOfBuildQueue(buildLocator, body, options)
1229
+ .then((request) => request(axios, basePath));
1230
+ },
1231
+ /**
1232
+ *
1233
+ * @summary Approve queued build with approval feature enabled.
1234
+ * @param {string} buildLocator
1235
+ * @param {string} [fields]
1236
+ * @param {boolean} [approveAll]
1237
+ * @param {string} [body]
1238
+ * @param {*} [options] Override http request option.
1239
+ * @throws {RequiredError}
1240
+ */
1241
+ approveQueuedBuild(
1242
+ buildLocator: string,
1243
+ fields?: string,
1244
+ approveAll?: boolean,
1245
+ body?: string,
1246
+ options?: RawAxiosRequestConfig
1247
+ ): AxiosPromise<ApprovalInfo> {
1248
+ return localVarFp
1249
+ .approveQueuedBuild(buildLocator, fields, approveAll, body, options)
1250
+ .then((request) => request(axios, basePath));
1251
+ },
1252
+ /**
1253
+ *
1254
+ * @summary Cancel a queued matching build.
1255
+ * @param {string} queuedBuildLocator
1256
+ * @param {BuildCancelRequest} [body]
1257
+ * @param {*} [options] Override http request option.
1258
+ * @throws {RequiredError}
1259
+ */
1260
+ cancelQueuedBuild(
1261
+ queuedBuildLocator: string,
1262
+ body?: BuildCancelRequest,
1263
+ options?: RawAxiosRequestConfig
1264
+ ): AxiosPromise<Build> {
1265
+ return localVarFp
1266
+ .cancelQueuedBuild(queuedBuildLocator, body, options)
1267
+ .then((request) => request(axios, basePath));
1268
+ },
1269
+ /**
1270
+ *
1271
+ * @summary Delete all queued builds.
1272
+ * @param {string} [locator]
1273
+ * @param {string} [fields]
1274
+ * @param {*} [options] Override http request option.
1275
+ * @throws {RequiredError}
1276
+ */
1277
+ deleteAllQueuedBuilds(
1278
+ locator?: string,
1279
+ fields?: string,
1280
+ options?: RawAxiosRequestConfig
1281
+ ): AxiosPromise<void> {
1282
+ return localVarFp
1283
+ .deleteAllQueuedBuilds(locator, fields, options)
1284
+ .then((request) => request(axios, basePath));
1285
+ },
1286
+ /**
1287
+ *
1288
+ * @summary Delete a queued matching build.
1289
+ * @param {string} queuedBuildLocator
1290
+ * @param {*} [options] Override http request option.
1291
+ * @throws {RequiredError}
1292
+ */
1293
+ deleteQueuedBuild(
1294
+ queuedBuildLocator: string,
1295
+ options?: RawAxiosRequestConfig
1296
+ ): AxiosPromise<void> {
1297
+ return localVarFp
1298
+ .deleteQueuedBuild(queuedBuildLocator, options)
1299
+ .then((request) => request(axios, basePath));
1300
+ },
1301
+ /**
1302
+ *
1303
+ * @summary Get all queued builds.
1304
+ * @param {string} [locator]
1305
+ * @param {string} [fields]
1306
+ * @param {*} [options] Override http request option.
1307
+ * @throws {RequiredError}
1308
+ */
1309
+ getAllQueuedBuilds(
1310
+ locator?: string,
1311
+ fields?: string,
1312
+ options?: RawAxiosRequestConfig
1313
+ ): AxiosPromise<Builds> {
1314
+ return localVarFp
1315
+ .getAllQueuedBuilds(locator, fields, options)
1316
+ .then((request) => request(axios, basePath));
1317
+ },
1318
+ /**
1319
+ *
1320
+ * @summary Get approval info of a queued matching build.
1321
+ * @param {string} buildLocator
1322
+ * @param {string} [fields]
1323
+ * @param {*} [options] Override http request option.
1324
+ * @throws {RequiredError}
1325
+ */
1326
+ getApprovalInfo(
1327
+ buildLocator: string,
1328
+ fields?: string,
1329
+ options?: RawAxiosRequestConfig
1330
+ ): AxiosPromise<ApprovalInfo> {
1331
+ return localVarFp
1332
+ .getApprovalInfo(buildLocator, fields, options)
1333
+ .then((request) => request(axios, basePath));
1334
+ },
1335
+ /**
1336
+ *
1337
+ * @summary Get compatible agents for a queued matching build.
1338
+ * @param {string} queuedBuildLocator
1339
+ * @param {string} [fields]
1340
+ * @param {*} [options] Override http request option.
1341
+ * @throws {RequiredError}
1342
+ */
1343
+ getCompatibleAgentsForBuild(
1344
+ queuedBuildLocator: string,
1345
+ fields?: string,
1346
+ options?: RawAxiosRequestConfig
1347
+ ): AxiosPromise<Agents> {
1348
+ return localVarFp
1349
+ .getCompatibleAgentsForBuild(queuedBuildLocator, fields, options)
1350
+ .then((request) => request(axios, basePath));
1351
+ },
1352
+ /**
1353
+ *
1354
+ * @summary Get a queued matching build.
1355
+ * @param {string} queuedBuildLocator
1356
+ * @param {string} [fields]
1357
+ * @param {*} [options] Override http request option.
1358
+ * @throws {RequiredError}
1359
+ */
1360
+ getQueuedBuild(
1361
+ queuedBuildLocator: string,
1362
+ fields?: string,
1363
+ options?: RawAxiosRequestConfig
1364
+ ): AxiosPromise<Build> {
1365
+ return localVarFp
1366
+ .getQueuedBuild(queuedBuildLocator, fields, options)
1367
+ .then((request) => request(axios, basePath));
1368
+ },
1369
+ /**
1370
+ *
1371
+ * @summary Get the queue position of a queued matching build.
1372
+ * @param {string} queuePosition
1373
+ * @param {string} [fields]
1374
+ * @param {*} [options] Override http request option.
1375
+ * @throws {RequiredError}
1376
+ */
1377
+ getQueuedBuildPosition(
1378
+ queuePosition: string,
1379
+ fields?: string,
1380
+ options?: RawAxiosRequestConfig
1381
+ ): AxiosPromise<Build> {
1382
+ return localVarFp
1383
+ .getQueuedBuildPosition(queuePosition, fields, options)
1384
+ .then((request) => request(axios, basePath));
1385
+ },
1386
+ /**
1387
+ *
1388
+ * @summary Get tags of the queued matching build.
1389
+ * @param {string} buildLocator
1390
+ * @param {string} [locator]
1391
+ * @param {string} [fields]
1392
+ * @param {*} [options] Override http request option.
1393
+ * @throws {RequiredError}
1394
+ */
1395
+ getQueuedBuildTags(
1396
+ buildLocator: string,
1397
+ locator?: string,
1398
+ fields?: string,
1399
+ options?: RawAxiosRequestConfig
1400
+ ): AxiosPromise<Tags> {
1401
+ return localVarFp
1402
+ .getQueuedBuildTags(buildLocator, locator, fields, options)
1403
+ .then((request) => request(axios, basePath));
1404
+ },
1405
+ /**
1406
+ *
1407
+ * @summary Update the queue position of a queued matching build.
1408
+ * @param {string} queuePosition
1409
+ * @param {string} [fields]
1410
+ * @param {Build} [body]
1411
+ * @param {*} [options] Override http request option.
1412
+ * @throws {RequiredError}
1413
+ */
1414
+ setQueuedBuildPosition(
1415
+ queuePosition: string,
1416
+ fields?: string,
1417
+ body?: Build,
1418
+ options?: RawAxiosRequestConfig
1419
+ ): AxiosPromise<Build> {
1420
+ return localVarFp
1421
+ .setQueuedBuildPosition(queuePosition, fields, body, options)
1422
+ .then((request) => request(axios, basePath));
1423
+ },
1424
+ /**
1425
+ *
1426
+ * @summary Update the build queue order.
1427
+ * @param {string} [fields]
1428
+ * @param {Builds} [body]
1429
+ * @param {*} [options] Override http request option.
1430
+ * @throws {RequiredError}
1431
+ */
1432
+ setQueuedBuildsOrder(
1433
+ fields?: string,
1434
+ body?: Builds,
1435
+ options?: RawAxiosRequestConfig
1436
+ ): AxiosPromise<Builds> {
1437
+ return localVarFp
1438
+ .setQueuedBuildsOrder(fields, body, options)
1439
+ .then((request) => request(axios, basePath));
1440
+ },
1441
+ };
1442
+ };
1443
+
1444
+ /**
1445
+ * BuildQueueApi - interface
1446
+ * @export
1447
+ * @interface BuildQueueApi
1448
+ */
1449
+ export interface BuildQueueApiInterface {
1450
+ /**
1451
+ *
1452
+ * @summary Add a new build to the queue.
1453
+ * @param {boolean} [moveToTop]
1454
+ * @param {Build} [body]
1455
+ * @param {*} [options] Override http request option.
1456
+ * @throws {RequiredError}
1457
+ * @memberof BuildQueueApiInterface
1458
+ */
1459
+ addBuildToQueue(
1460
+ moveToTop?: boolean,
1461
+ body?: Build,
1462
+ options?: RawAxiosRequestConfig
1463
+ ): AxiosPromise<Build>;
1464
+
1465
+ /**
1466
+ *
1467
+ * @summary Add tags to the matching build.
1468
+ * @param {string} buildLocator
1469
+ * @param {Tags} [body]
1470
+ * @param {*} [options] Override http request option.
1471
+ * @throws {RequiredError}
1472
+ * @memberof BuildQueueApiInterface
1473
+ */
1474
+ addTagsToBuildOfBuildQueue(
1475
+ buildLocator: string,
1476
+ body?: Tags,
1477
+ options?: RawAxiosRequestConfig
1478
+ ): AxiosPromise<void>;
1479
+
1480
+ /**
1481
+ *
1482
+ * @summary Approve queued build with approval feature enabled.
1483
+ * @param {string} buildLocator
1484
+ * @param {string} [fields]
1485
+ * @param {boolean} [approveAll]
1486
+ * @param {string} [body]
1487
+ * @param {*} [options] Override http request option.
1488
+ * @throws {RequiredError}
1489
+ * @memberof BuildQueueApiInterface
1490
+ */
1491
+ approveQueuedBuild(
1492
+ buildLocator: string,
1493
+ fields?: string,
1494
+ approveAll?: boolean,
1495
+ body?: string,
1496
+ options?: RawAxiosRequestConfig
1497
+ ): AxiosPromise<ApprovalInfo>;
1498
+
1499
+ /**
1500
+ *
1501
+ * @summary Cancel a queued matching build.
1502
+ * @param {string} queuedBuildLocator
1503
+ * @param {BuildCancelRequest} [body]
1504
+ * @param {*} [options] Override http request option.
1505
+ * @throws {RequiredError}
1506
+ * @memberof BuildQueueApiInterface
1507
+ */
1508
+ cancelQueuedBuild(
1509
+ queuedBuildLocator: string,
1510
+ body?: BuildCancelRequest,
1511
+ options?: RawAxiosRequestConfig
1512
+ ): AxiosPromise<Build>;
1513
+
1514
+ /**
1515
+ *
1516
+ * @summary Delete all queued builds.
1517
+ * @param {string} [locator]
1518
+ * @param {string} [fields]
1519
+ * @param {*} [options] Override http request option.
1520
+ * @throws {RequiredError}
1521
+ * @memberof BuildQueueApiInterface
1522
+ */
1523
+ deleteAllQueuedBuilds(
1524
+ locator?: string,
1525
+ fields?: string,
1526
+ options?: RawAxiosRequestConfig
1527
+ ): AxiosPromise<void>;
1528
+
1529
+ /**
1530
+ *
1531
+ * @summary Delete a queued matching build.
1532
+ * @param {string} queuedBuildLocator
1533
+ * @param {*} [options] Override http request option.
1534
+ * @throws {RequiredError}
1535
+ * @memberof BuildQueueApiInterface
1536
+ */
1537
+ deleteQueuedBuild(
1538
+ queuedBuildLocator: string,
1539
+ options?: RawAxiosRequestConfig
1540
+ ): AxiosPromise<void>;
1541
+
1542
+ /**
1543
+ *
1544
+ * @summary Get all queued builds.
1545
+ * @param {string} [locator]
1546
+ * @param {string} [fields]
1547
+ * @param {*} [options] Override http request option.
1548
+ * @throws {RequiredError}
1549
+ * @memberof BuildQueueApiInterface
1550
+ */
1551
+ getAllQueuedBuilds(
1552
+ locator?: string,
1553
+ fields?: string,
1554
+ options?: RawAxiosRequestConfig
1555
+ ): AxiosPromise<Builds>;
1556
+
1557
+ /**
1558
+ *
1559
+ * @summary Get approval info of a queued matching build.
1560
+ * @param {string} buildLocator
1561
+ * @param {string} [fields]
1562
+ * @param {*} [options] Override http request option.
1563
+ * @throws {RequiredError}
1564
+ * @memberof BuildQueueApiInterface
1565
+ */
1566
+ getApprovalInfo(
1567
+ buildLocator: string,
1568
+ fields?: string,
1569
+ options?: RawAxiosRequestConfig
1570
+ ): AxiosPromise<ApprovalInfo>;
1571
+
1572
+ /**
1573
+ *
1574
+ * @summary Get compatible agents for a queued matching build.
1575
+ * @param {string} queuedBuildLocator
1576
+ * @param {string} [fields]
1577
+ * @param {*} [options] Override http request option.
1578
+ * @throws {RequiredError}
1579
+ * @memberof BuildQueueApiInterface
1580
+ */
1581
+ getCompatibleAgentsForBuild(
1582
+ queuedBuildLocator: string,
1583
+ fields?: string,
1584
+ options?: RawAxiosRequestConfig
1585
+ ): AxiosPromise<Agents>;
1586
+
1587
+ /**
1588
+ *
1589
+ * @summary Get a queued matching build.
1590
+ * @param {string} queuedBuildLocator
1591
+ * @param {string} [fields]
1592
+ * @param {*} [options] Override http request option.
1593
+ * @throws {RequiredError}
1594
+ * @memberof BuildQueueApiInterface
1595
+ */
1596
+ getQueuedBuild(
1597
+ queuedBuildLocator: string,
1598
+ fields?: string,
1599
+ options?: RawAxiosRequestConfig
1600
+ ): AxiosPromise<Build>;
1601
+
1602
+ /**
1603
+ *
1604
+ * @summary Get the queue position of a queued matching build.
1605
+ * @param {string} queuePosition
1606
+ * @param {string} [fields]
1607
+ * @param {*} [options] Override http request option.
1608
+ * @throws {RequiredError}
1609
+ * @memberof BuildQueueApiInterface
1610
+ */
1611
+ getQueuedBuildPosition(
1612
+ queuePosition: string,
1613
+ fields?: string,
1614
+ options?: RawAxiosRequestConfig
1615
+ ): AxiosPromise<Build>;
1616
+
1617
+ /**
1618
+ *
1619
+ * @summary Get tags of the queued matching build.
1620
+ * @param {string} buildLocator
1621
+ * @param {string} [locator]
1622
+ * @param {string} [fields]
1623
+ * @param {*} [options] Override http request option.
1624
+ * @throws {RequiredError}
1625
+ * @memberof BuildQueueApiInterface
1626
+ */
1627
+ getQueuedBuildTags(
1628
+ buildLocator: string,
1629
+ locator?: string,
1630
+ fields?: string,
1631
+ options?: RawAxiosRequestConfig
1632
+ ): AxiosPromise<Tags>;
1633
+
1634
+ /**
1635
+ *
1636
+ * @summary Update the queue position of a queued matching build.
1637
+ * @param {string} queuePosition
1638
+ * @param {string} [fields]
1639
+ * @param {Build} [body]
1640
+ * @param {*} [options] Override http request option.
1641
+ * @throws {RequiredError}
1642
+ * @memberof BuildQueueApiInterface
1643
+ */
1644
+ setQueuedBuildPosition(
1645
+ queuePosition: string,
1646
+ fields?: string,
1647
+ body?: Build,
1648
+ options?: RawAxiosRequestConfig
1649
+ ): AxiosPromise<Build>;
1650
+
1651
+ /**
1652
+ *
1653
+ * @summary Update the build queue order.
1654
+ * @param {string} [fields]
1655
+ * @param {Builds} [body]
1656
+ * @param {*} [options] Override http request option.
1657
+ * @throws {RequiredError}
1658
+ * @memberof BuildQueueApiInterface
1659
+ */
1660
+ setQueuedBuildsOrder(
1661
+ fields?: string,
1662
+ body?: Builds,
1663
+ options?: RawAxiosRequestConfig
1664
+ ): AxiosPromise<Builds>;
1665
+ }
1666
+
1667
+ /**
1668
+ * BuildQueueApi - object-oriented interface
1669
+ * @export
1670
+ * @class BuildQueueApi
1671
+ * @extends {BaseAPI}
1672
+ */
1673
+ export class BuildQueueApi extends BaseAPI implements BuildQueueApiInterface {
1674
+ /**
1675
+ *
1676
+ * @summary Add a new build to the queue.
1677
+ * @param {boolean} [moveToTop]
1678
+ * @param {Build} [body]
1679
+ * @param {*} [options] Override http request option.
1680
+ * @throws {RequiredError}
1681
+ * @memberof BuildQueueApi
1682
+ */
1683
+ public addBuildToQueue(moveToTop?: boolean, body?: Build, options?: RawAxiosRequestConfig) {
1684
+ return BuildQueueApiFp(this.configuration)
1685
+ .addBuildToQueue(moveToTop, body, options)
1686
+ .then((request) => request(this.axios, this.basePath));
1687
+ }
1688
+
1689
+ /**
1690
+ *
1691
+ * @summary Add tags to the matching build.
1692
+ * @param {string} buildLocator
1693
+ * @param {Tags} [body]
1694
+ * @param {*} [options] Override http request option.
1695
+ * @throws {RequiredError}
1696
+ * @memberof BuildQueueApi
1697
+ */
1698
+ public addTagsToBuildOfBuildQueue(
1699
+ buildLocator: string,
1700
+ body?: Tags,
1701
+ options?: RawAxiosRequestConfig
1702
+ ) {
1703
+ return BuildQueueApiFp(this.configuration)
1704
+ .addTagsToBuildOfBuildQueue(buildLocator, body, options)
1705
+ .then((request) => request(this.axios, this.basePath));
1706
+ }
1707
+
1708
+ /**
1709
+ *
1710
+ * @summary Approve queued build with approval feature enabled.
1711
+ * @param {string} buildLocator
1712
+ * @param {string} [fields]
1713
+ * @param {boolean} [approveAll]
1714
+ * @param {string} [body]
1715
+ * @param {*} [options] Override http request option.
1716
+ * @throws {RequiredError}
1717
+ * @memberof BuildQueueApi
1718
+ */
1719
+ public approveQueuedBuild(
1720
+ buildLocator: string,
1721
+ fields?: string,
1722
+ approveAll?: boolean,
1723
+ body?: string,
1724
+ options?: RawAxiosRequestConfig
1725
+ ) {
1726
+ return BuildQueueApiFp(this.configuration)
1727
+ .approveQueuedBuild(buildLocator, fields, approveAll, body, options)
1728
+ .then((request) => request(this.axios, this.basePath));
1729
+ }
1730
+
1731
+ /**
1732
+ *
1733
+ * @summary Cancel a queued matching build.
1734
+ * @param {string} queuedBuildLocator
1735
+ * @param {BuildCancelRequest} [body]
1736
+ * @param {*} [options] Override http request option.
1737
+ * @throws {RequiredError}
1738
+ * @memberof BuildQueueApi
1739
+ */
1740
+ public cancelQueuedBuild(
1741
+ queuedBuildLocator: string,
1742
+ body?: BuildCancelRequest,
1743
+ options?: RawAxiosRequestConfig
1744
+ ) {
1745
+ return BuildQueueApiFp(this.configuration)
1746
+ .cancelQueuedBuild(queuedBuildLocator, body, options)
1747
+ .then((request) => request(this.axios, this.basePath));
1748
+ }
1749
+
1750
+ /**
1751
+ *
1752
+ * @summary Delete all queued builds.
1753
+ * @param {string} [locator]
1754
+ * @param {string} [fields]
1755
+ * @param {*} [options] Override http request option.
1756
+ * @throws {RequiredError}
1757
+ * @memberof BuildQueueApi
1758
+ */
1759
+ public deleteAllQueuedBuilds(locator?: string, fields?: string, options?: RawAxiosRequestConfig) {
1760
+ return BuildQueueApiFp(this.configuration)
1761
+ .deleteAllQueuedBuilds(locator, fields, options)
1762
+ .then((request) => request(this.axios, this.basePath));
1763
+ }
1764
+
1765
+ /**
1766
+ *
1767
+ * @summary Delete a queued matching build.
1768
+ * @param {string} queuedBuildLocator
1769
+ * @param {*} [options] Override http request option.
1770
+ * @throws {RequiredError}
1771
+ * @memberof BuildQueueApi
1772
+ */
1773
+ public deleteQueuedBuild(queuedBuildLocator: string, options?: RawAxiosRequestConfig) {
1774
+ return BuildQueueApiFp(this.configuration)
1775
+ .deleteQueuedBuild(queuedBuildLocator, options)
1776
+ .then((request) => request(this.axios, this.basePath));
1777
+ }
1778
+
1779
+ /**
1780
+ *
1781
+ * @summary Get all queued builds.
1782
+ * @param {string} [locator]
1783
+ * @param {string} [fields]
1784
+ * @param {*} [options] Override http request option.
1785
+ * @throws {RequiredError}
1786
+ * @memberof BuildQueueApi
1787
+ */
1788
+ public getAllQueuedBuilds(locator?: string, fields?: string, options?: RawAxiosRequestConfig) {
1789
+ return BuildQueueApiFp(this.configuration)
1790
+ .getAllQueuedBuilds(locator, fields, options)
1791
+ .then((request) => request(this.axios, this.basePath));
1792
+ }
1793
+
1794
+ /**
1795
+ *
1796
+ * @summary Get approval info of a queued matching build.
1797
+ * @param {string} buildLocator
1798
+ * @param {string} [fields]
1799
+ * @param {*} [options] Override http request option.
1800
+ * @throws {RequiredError}
1801
+ * @memberof BuildQueueApi
1802
+ */
1803
+ public getApprovalInfo(buildLocator: string, fields?: string, options?: RawAxiosRequestConfig) {
1804
+ return BuildQueueApiFp(this.configuration)
1805
+ .getApprovalInfo(buildLocator, fields, options)
1806
+ .then((request) => request(this.axios, this.basePath));
1807
+ }
1808
+
1809
+ /**
1810
+ *
1811
+ * @summary Get compatible agents for a queued matching build.
1812
+ * @param {string} queuedBuildLocator
1813
+ * @param {string} [fields]
1814
+ * @param {*} [options] Override http request option.
1815
+ * @throws {RequiredError}
1816
+ * @memberof BuildQueueApi
1817
+ */
1818
+ public getCompatibleAgentsForBuild(
1819
+ queuedBuildLocator: string,
1820
+ fields?: string,
1821
+ options?: RawAxiosRequestConfig
1822
+ ) {
1823
+ return BuildQueueApiFp(this.configuration)
1824
+ .getCompatibleAgentsForBuild(queuedBuildLocator, fields, options)
1825
+ .then((request) => request(this.axios, this.basePath));
1826
+ }
1827
+
1828
+ /**
1829
+ *
1830
+ * @summary Get a queued matching build.
1831
+ * @param {string} queuedBuildLocator
1832
+ * @param {string} [fields]
1833
+ * @param {*} [options] Override http request option.
1834
+ * @throws {RequiredError}
1835
+ * @memberof BuildQueueApi
1836
+ */
1837
+ public getQueuedBuild(
1838
+ queuedBuildLocator: string,
1839
+ fields?: string,
1840
+ options?: RawAxiosRequestConfig
1841
+ ) {
1842
+ return BuildQueueApiFp(this.configuration)
1843
+ .getQueuedBuild(queuedBuildLocator, fields, options)
1844
+ .then((request) => request(this.axios, this.basePath));
1845
+ }
1846
+
1847
+ /**
1848
+ *
1849
+ * @summary Get the queue position of a queued matching build.
1850
+ * @param {string} queuePosition
1851
+ * @param {string} [fields]
1852
+ * @param {*} [options] Override http request option.
1853
+ * @throws {RequiredError}
1854
+ * @memberof BuildQueueApi
1855
+ */
1856
+ public getQueuedBuildPosition(
1857
+ queuePosition: string,
1858
+ fields?: string,
1859
+ options?: RawAxiosRequestConfig
1860
+ ) {
1861
+ return BuildQueueApiFp(this.configuration)
1862
+ .getQueuedBuildPosition(queuePosition, fields, options)
1863
+ .then((request) => request(this.axios, this.basePath));
1864
+ }
1865
+
1866
+ /**
1867
+ *
1868
+ * @summary Get tags of the queued matching build.
1869
+ * @param {string} buildLocator
1870
+ * @param {string} [locator]
1871
+ * @param {string} [fields]
1872
+ * @param {*} [options] Override http request option.
1873
+ * @throws {RequiredError}
1874
+ * @memberof BuildQueueApi
1875
+ */
1876
+ public getQueuedBuildTags(
1877
+ buildLocator: string,
1878
+ locator?: string,
1879
+ fields?: string,
1880
+ options?: RawAxiosRequestConfig
1881
+ ) {
1882
+ return BuildQueueApiFp(this.configuration)
1883
+ .getQueuedBuildTags(buildLocator, locator, fields, options)
1884
+ .then((request) => request(this.axios, this.basePath));
1885
+ }
1886
+
1887
+ /**
1888
+ *
1889
+ * @summary Update the queue position of a queued matching build.
1890
+ * @param {string} queuePosition
1891
+ * @param {string} [fields]
1892
+ * @param {Build} [body]
1893
+ * @param {*} [options] Override http request option.
1894
+ * @throws {RequiredError}
1895
+ * @memberof BuildQueueApi
1896
+ */
1897
+ public setQueuedBuildPosition(
1898
+ queuePosition: string,
1899
+ fields?: string,
1900
+ body?: Build,
1901
+ options?: RawAxiosRequestConfig
1902
+ ) {
1903
+ return BuildQueueApiFp(this.configuration)
1904
+ .setQueuedBuildPosition(queuePosition, fields, body, options)
1905
+ .then((request) => request(this.axios, this.basePath));
1906
+ }
1907
+
1908
+ /**
1909
+ *
1910
+ * @summary Update the build queue order.
1911
+ * @param {string} [fields]
1912
+ * @param {Builds} [body]
1913
+ * @param {*} [options] Override http request option.
1914
+ * @throws {RequiredError}
1915
+ * @memberof BuildQueueApi
1916
+ */
1917
+ public setQueuedBuildsOrder(fields?: string, body?: Builds, options?: RawAxiosRequestConfig) {
1918
+ return BuildQueueApiFp(this.configuration)
1919
+ .setQueuedBuildsOrder(fields, body, options)
1920
+ .then((request) => request(this.axios, this.basePath));
1921
+ }
1922
+ }