@daghis/teamcity-mcp 0.9.0 → 0.9.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 (1132) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/index.js +1707 -16780
  3. package/dist/index.js.map +4 -4
  4. package/package.json +1 -1
  5. package/.commitlintrc.mjs +0 -25
  6. package/.eslintignore +0 -16
  7. package/.eslintrc.js +0 -166
  8. package/.github/dependabot.yml +0 -38
  9. package/.github/settings.yml +0 -7
  10. package/.github/workflows/ci.yml +0 -115
  11. package/.github/workflows/codeql.yml +0 -35
  12. package/.github/workflows/commitlint.yml +0 -20
  13. package/.github/workflows/publish.yml +0 -67
  14. package/.github/workflows/release-please.yml +0 -21
  15. package/.nvmrc +0 -1
  16. package/.prettierignore +0 -22
  17. package/.prettierrc +0 -28
  18. package/AGENTS.md +0 -129
  19. package/ARCHITECTURE.md +0 -66
  20. package/CONTRIBUTING.md +0 -68
  21. package/dist/src/api-client.d.ts +0 -51
  22. package/dist/src/api-client.d.ts.map +0 -1
  23. package/dist/src/config/index.d.ts +0 -41
  24. package/dist/src/config/index.d.ts.map +0 -1
  25. package/dist/src/errors/index.d.ts +0 -2
  26. package/dist/src/errors/index.d.ts.map +0 -1
  27. package/dist/src/formatters/build-step-formatter.d.ts +0 -5
  28. package/dist/src/formatters/build-step-formatter.d.ts.map +0 -1
  29. package/dist/src/formatters/trigger-formatter.d.ts +0 -4
  30. package/dist/src/formatters/trigger-formatter.d.ts.map +0 -1
  31. package/dist/src/index.d.ts +0 -3
  32. package/dist/src/index.d.ts.map +0 -1
  33. package/dist/src/middleware/error.d.ts +0 -56
  34. package/dist/src/middleware/error.d.ts.map +0 -1
  35. package/dist/src/middleware/global-error-handler.d.ts +0 -22
  36. package/dist/src/middleware/global-error-handler.d.ts.map +0 -1
  37. package/dist/src/middleware/index.d.ts +0 -2
  38. package/dist/src/middleware/index.d.ts.map +0 -1
  39. package/dist/src/server.d.ts +0 -4
  40. package/dist/src/server.d.ts.map +0 -1
  41. package/dist/src/swagger/index.d.ts +0 -43
  42. package/dist/src/swagger/index.d.ts.map +0 -1
  43. package/dist/src/swagger/swagger-cache.d.ts +0 -23
  44. package/dist/src/swagger/swagger-cache.d.ts.map +0 -1
  45. package/dist/src/swagger/swagger-fetcher.d.ts +0 -24
  46. package/dist/src/swagger/swagger-fetcher.d.ts.map +0 -1
  47. package/dist/src/swagger/swagger-validator.d.ts +0 -17
  48. package/dist/src/swagger/swagger-validator.d.ts.map +0 -1
  49. package/dist/src/teamcity/api-types.d.ts +0 -224
  50. package/dist/src/teamcity/api-types.d.ts.map +0 -1
  51. package/dist/src/teamcity/artifact-manager.d.ts +0 -52
  52. package/dist/src/teamcity/artifact-manager.d.ts.map +0 -1
  53. package/dist/src/teamcity/auth.d.ts +0 -22
  54. package/dist/src/teamcity/auth.d.ts.map +0 -1
  55. package/dist/src/teamcity/branch-discovery-manager.d.ts +0 -39
  56. package/dist/src/teamcity/branch-discovery-manager.d.ts.map +0 -1
  57. package/dist/src/teamcity/branch-filtering-service.d.ts +0 -62
  58. package/dist/src/teamcity/branch-filtering-service.d.ts.map +0 -1
  59. package/dist/src/teamcity/branch-specification-parser.d.ts +0 -33
  60. package/dist/src/teamcity/branch-specification-parser.d.ts.map +0 -1
  61. package/dist/src/teamcity/build-config-manager.d.ts +0 -75
  62. package/dist/src/teamcity/build-config-manager.d.ts.map +0 -1
  63. package/dist/src/teamcity/build-config-navigator.d.ts +0 -89
  64. package/dist/src/teamcity/build-config-navigator.d.ts.map +0 -1
  65. package/dist/src/teamcity/build-configuration-clone-manager.d.ts +0 -49
  66. package/dist/src/teamcity/build-configuration-clone-manager.d.ts.map +0 -1
  67. package/dist/src/teamcity/build-configuration-manager.d.ts +0 -82
  68. package/dist/src/teamcity/build-configuration-manager.d.ts.map +0 -1
  69. package/dist/src/teamcity/build-configuration-resolver.d.ts +0 -95
  70. package/dist/src/teamcity/build-configuration-resolver.d.ts.map +0 -1
  71. package/dist/src/teamcity/build-configuration-update-manager.d.ts +0 -76
  72. package/dist/src/teamcity/build-configuration-update-manager.d.ts.map +0 -1
  73. package/dist/src/teamcity/build-list-manager.d.ts +0 -62
  74. package/dist/src/teamcity/build-list-manager.d.ts.map +0 -1
  75. package/dist/src/teamcity/build-parameters-manager.d.ts +0 -143
  76. package/dist/src/teamcity/build-parameters-manager.d.ts.map +0 -1
  77. package/dist/src/teamcity/build-progress-tracker.d.ts +0 -49
  78. package/dist/src/teamcity/build-progress-tracker.d.ts.map +0 -1
  79. package/dist/src/teamcity/build-query-builder.d.ts +0 -27
  80. package/dist/src/teamcity/build-query-builder.d.ts.map +0 -1
  81. package/dist/src/teamcity/build-queue-manager.d.ts +0 -102
  82. package/dist/src/teamcity/build-queue-manager.d.ts.map +0 -1
  83. package/dist/src/teamcity/build-results-manager.d.ts +0 -87
  84. package/dist/src/teamcity/build-results-manager.d.ts.map +0 -1
  85. package/dist/src/teamcity/build-status-manager.d.ts +0 -65
  86. package/dist/src/teamcity/build-status-manager.d.ts.map +0 -1
  87. package/dist/src/teamcity/build-step-manager.d.ts +0 -65
  88. package/dist/src/teamcity/build-step-manager.d.ts.map +0 -1
  89. package/dist/src/teamcity/build-trigger-manager.d.ts +0 -108
  90. package/dist/src/teamcity/build-trigger-manager.d.ts.map +0 -1
  91. package/dist/src/teamcity/circuit-breaker.d.ts +0 -47
  92. package/dist/src/teamcity/circuit-breaker.d.ts.map +0 -1
  93. package/dist/src/teamcity/client-adapter.d.ts +0 -12
  94. package/dist/src/teamcity/client-adapter.d.ts.map +0 -1
  95. package/dist/src/teamcity/client.d.ts +0 -49
  96. package/dist/src/teamcity/client.d.ts.map +0 -1
  97. package/dist/src/teamcity/config.d.ts +0 -41
  98. package/dist/src/teamcity/config.d.ts.map +0 -1
  99. package/dist/src/teamcity/configuration-branch-matcher.d.ts +0 -37
  100. package/dist/src/teamcity/configuration-branch-matcher.d.ts.map +0 -1
  101. package/dist/src/teamcity/errors.d.ts +0 -79
  102. package/dist/src/teamcity/errors.d.ts.map +0 -1
  103. package/dist/src/teamcity/index.d.ts +0 -48
  104. package/dist/src/teamcity/index.d.ts.map +0 -1
  105. package/dist/src/teamcity/pagination.d.ts +0 -32
  106. package/dist/src/teamcity/pagination.d.ts.map +0 -1
  107. package/dist/src/teamcity/project-list-manager.d.ts +0 -19
  108. package/dist/src/teamcity/project-list-manager.d.ts.map +0 -1
  109. package/dist/src/teamcity/project-manager.d.ts +0 -73
  110. package/dist/src/teamcity/project-manager.d.ts.map +0 -1
  111. package/dist/src/teamcity/project-navigator.d.ts +0 -100
  112. package/dist/src/teamcity/project-navigator.d.ts.map +0 -1
  113. package/dist/src/teamcity/test-problem-reporter.d.ts +0 -60
  114. package/dist/src/teamcity/test-problem-reporter.d.ts.map +0 -1
  115. package/dist/src/teamcity/types/api-responses.d.ts +0 -235
  116. package/dist/src/teamcity/types/api-responses.d.ts.map +0 -1
  117. package/dist/src/teamcity-client/api/agent-api.d.ts +0 -97
  118. package/dist/src/teamcity-client/api/agent-api.d.ts.map +0 -1
  119. package/dist/src/teamcity-client/api/agent-pool-api.d.ts +0 -92
  120. package/dist/src/teamcity-client/api/agent-pool-api.d.ts.map +0 -1
  121. package/dist/src/teamcity-client/api/agent-type-api.d.ts +0 -20
  122. package/dist/src/teamcity-client/api/agent-type-api.d.ts.map +0 -1
  123. package/dist/src/teamcity-client/api/audit-api.d.ts +0 -26
  124. package/dist/src/teamcity-client/api/audit-api.d.ts.map +0 -1
  125. package/dist/src/teamcity-client/api/avatar-api.d.ts +0 -34
  126. package/dist/src/teamcity-client/api/avatar-api.d.ts.map +0 -1
  127. package/dist/src/teamcity-client/api/build-api.d.ts +0 -315
  128. package/dist/src/teamcity-client/api/build-api.d.ts.map +0 -1
  129. package/dist/src/teamcity-client/api/build-queue-api.d.ts +0 -90
  130. package/dist/src/teamcity-client/api/build-queue-api.d.ts.map +0 -1
  131. package/dist/src/teamcity-client/api/build-type-api.d.ts +0 -585
  132. package/dist/src/teamcity-client/api/build-type-api.d.ts.map +0 -1
  133. package/dist/src/teamcity-client/api/change-api.d.ts +0 -71
  134. package/dist/src/teamcity-client/api/change-api.d.ts.map +0 -1
  135. package/dist/src/teamcity-client/api/cloud-instance-api.d.ts +0 -70
  136. package/dist/src/teamcity-client/api/cloud-instance-api.d.ts.map +0 -1
  137. package/dist/src/teamcity-client/api/deployment-dashboard-api.d.ts +0 -64
  138. package/dist/src/teamcity-client/api/deployment-dashboard-api.d.ts.map +0 -1
  139. package/dist/src/teamcity-client/api/global-server-settings-api.d.ts +0 -25
  140. package/dist/src/teamcity-client/api/global-server-settings-api.d.ts.map +0 -1
  141. package/dist/src/teamcity-client/api/group-api.d.ts +0 -99
  142. package/dist/src/teamcity-client/api/group-api.d.ts.map +0 -1
  143. package/dist/src/teamcity-client/api/health-api.d.ts +0 -38
  144. package/dist/src/teamcity-client/api/health-api.d.ts.map +0 -1
  145. package/dist/src/teamcity-client/api/investigation-api.d.ts +0 -46
  146. package/dist/src/teamcity-client/api/investigation-api.d.ts.map +0 -1
  147. package/dist/src/teamcity-client/api/mute-api.d.ts +0 -46
  148. package/dist/src/teamcity-client/api/mute-api.d.ts.map +0 -1
  149. package/dist/src/teamcity-client/api/node-api.d.ts +0 -49
  150. package/dist/src/teamcity-client/api/node-api.d.ts.map +0 -1
  151. package/dist/src/teamcity-client/api/problem-api.d.ts +0 -26
  152. package/dist/src/teamcity-client/api/problem-api.d.ts.map +0 -1
  153. package/dist/src/teamcity-client/api/problem-occurrence-api.d.ts +0 -26
  154. package/dist/src/teamcity-client/api/problem-occurrence-api.d.ts.map +0 -1
  155. package/dist/src/teamcity-client/api/project-api.d.ts +0 -271
  156. package/dist/src/teamcity-client/api/project-api.d.ts.map +0 -1
  157. package/dist/src/teamcity-client/api/role-api.d.ts +0 -56
  158. package/dist/src/teamcity-client/api/role-api.d.ts.map +0 -1
  159. package/dist/src/teamcity-client/api/root-api.d.ts +0 -35
  160. package/dist/src/teamcity-client/api/root-api.d.ts.map +0 -1
  161. package/dist/src/teamcity-client/api/server-api.d.ts +0 -112
  162. package/dist/src/teamcity-client/api/server-api.d.ts.map +0 -1
  163. package/dist/src/teamcity-client/api/server-authentication-settings-api.d.ts +0 -25
  164. package/dist/src/teamcity-client/api/server-authentication-settings-api.d.ts.map +0 -1
  165. package/dist/src/teamcity-client/api/test-api.d.ts +0 -26
  166. package/dist/src/teamcity-client/api/test-api.d.ts.map +0 -1
  167. package/dist/src/teamcity-client/api/test-occurrence-api.d.ts +0 -26
  168. package/dist/src/teamcity-client/api/test-occurrence-api.d.ts.map +0 -1
  169. package/dist/src/teamcity-client/api/user-api.d.ts +0 -164
  170. package/dist/src/teamcity-client/api/user-api.d.ts.map +0 -1
  171. package/dist/src/teamcity-client/api/vcs-root-api.d.ts +0 -88
  172. package/dist/src/teamcity-client/api/vcs-root-api.d.ts.map +0 -1
  173. package/dist/src/teamcity-client/api/vcs-root-instance-api.d.ts +0 -104
  174. package/dist/src/teamcity-client/api/vcs-root-instance-api.d.ts.map +0 -1
  175. package/dist/src/teamcity-client/api/versioned-settings-api.d.ts +0 -94
  176. package/dist/src/teamcity-client/api/versioned-settings-api.d.ts.map +0 -1
  177. package/dist/src/teamcity-client/api.d.ts +0 -31
  178. package/dist/src/teamcity-client/api.d.ts.map +0 -1
  179. package/dist/src/teamcity-client/base.d.ts +0 -32
  180. package/dist/src/teamcity-client/base.d.ts.map +0 -1
  181. package/dist/src/teamcity-client/common.d.ts +0 -14
  182. package/dist/src/teamcity-client/common.d.ts.map +0 -1
  183. package/dist/src/teamcity-client/configuration.d.ts +0 -23
  184. package/dist/src/teamcity-client/configuration.d.ts.map +0 -1
  185. package/dist/src/teamcity-client/index.d.ts +0 -4
  186. package/dist/src/teamcity-client/index.d.ts.map +0 -1
  187. package/dist/src/teamcity-client/models/agent-locator.d.ts +0 -34
  188. package/dist/src/teamcity-client/models/agent-locator.d.ts.map +0 -1
  189. package/dist/src/teamcity-client/models/agent-pool-locator.d.ts +0 -10
  190. package/dist/src/teamcity-client/models/agent-pool-locator.d.ts.map +0 -1
  191. package/dist/src/teamcity-client/models/agent-pool.d.ts +0 -16
  192. package/dist/src/teamcity-client/models/agent-pool.d.ts.map +0 -1
  193. package/dist/src/teamcity-client/models/agent-pools.d.ts +0 -9
  194. package/dist/src/teamcity-client/models/agent-pools.d.ts.map +0 -1
  195. package/dist/src/teamcity-client/models/agent-requirement.d.ts +0 -11
  196. package/dist/src/teamcity-client/models/agent-requirement.d.ts.map +0 -1
  197. package/dist/src/teamcity-client/models/agent-requirements.d.ts +0 -6
  198. package/dist/src/teamcity-client/models/agent-requirements.d.ts.map +0 -1
  199. package/dist/src/teamcity-client/models/agent-type-locator.d.ts +0 -8
  200. package/dist/src/teamcity-client/models/agent-type-locator.d.ts.map +0 -1
  201. package/dist/src/teamcity-client/models/agent-type.d.ts +0 -14
  202. package/dist/src/teamcity-client/models/agent-type.d.ts.map +0 -1
  203. package/dist/src/teamcity-client/models/agent-types.d.ts +0 -9
  204. package/dist/src/teamcity-client/models/agent-types.d.ts.map +0 -1
  205. package/dist/src/teamcity-client/models/agent.d.ts +0 -59
  206. package/dist/src/teamcity-client/models/agent.d.ts.map +0 -1
  207. package/dist/src/teamcity-client/models/agents.d.ts +0 -9
  208. package/dist/src/teamcity-client/models/agents.d.ts.map +0 -1
  209. package/dist/src/teamcity-client/models/approvable-build.d.ts +0 -6
  210. package/dist/src/teamcity-client/models/approvable-build.d.ts.map +0 -1
  211. package/dist/src/teamcity-client/models/approval-info.d.ts +0 -24
  212. package/dist/src/teamcity-client/models/approval-info.d.ts.map +0 -1
  213. package/dist/src/teamcity-client/models/artifact-dependencies.d.ts +0 -7
  214. package/dist/src/teamcity-client/models/artifact-dependencies.d.ts.map +0 -1
  215. package/dist/src/teamcity-client/models/artifact-dependency.d.ts +0 -13
  216. package/dist/src/teamcity-client/models/artifact-dependency.d.ts.map +0 -1
  217. package/dist/src/teamcity-client/models/artifact-download-info.d.ts +0 -5
  218. package/dist/src/teamcity-client/models/artifact-download-info.d.ts.map +0 -1
  219. package/dist/src/teamcity-client/models/audit-action.d.ts +0 -6
  220. package/dist/src/teamcity-client/models/audit-action.d.ts.map +0 -1
  221. package/dist/src/teamcity-client/models/audit-event.d.ts +0 -12
  222. package/dist/src/teamcity-client/models/audit-event.d.ts.map +0 -1
  223. package/dist/src/teamcity-client/models/audit-events.d.ts +0 -9
  224. package/dist/src/teamcity-client/models/audit-events.d.ts.map +0 -1
  225. package/dist/src/teamcity-client/models/audit-locator.d.ts +0 -245
  226. package/dist/src/teamcity-client/models/audit-locator.d.ts.map +0 -1
  227. package/dist/src/teamcity-client/models/auth-module.d.ts +0 -6
  228. package/dist/src/teamcity-client/models/auth-module.d.ts.map +0 -1
  229. package/dist/src/teamcity-client/models/auth-modules.d.ts +0 -5
  230. package/dist/src/teamcity-client/models/auth-modules.d.ts.map +0 -1
  231. package/dist/src/teamcity-client/models/authorization-tokens-requirements.d.ts +0 -5
  232. package/dist/src/teamcity-client/models/authorization-tokens-requirements.d.ts.map +0 -1
  233. package/dist/src/teamcity-client/models/authorized-info.d.ts +0 -6
  234. package/dist/src/teamcity-client/models/authorized-info.d.ts.map +0 -1
  235. package/dist/src/teamcity-client/models/branch-locator.d.ts +0 -40
  236. package/dist/src/teamcity-client/models/branch-locator.d.ts.map +0 -1
  237. package/dist/src/teamcity-client/models/branch-version.d.ts +0 -13
  238. package/dist/src/teamcity-client/models/branch-version.d.ts.map +0 -1
  239. package/dist/src/teamcity-client/models/branch.d.ts +0 -12
  240. package/dist/src/teamcity-client/models/branch.d.ts.map +0 -1
  241. package/dist/src/teamcity-client/models/branches.d.ts +0 -7
  242. package/dist/src/teamcity-client/models/branches.d.ts.map +0 -1
  243. package/dist/src/teamcity-client/models/build-cancel-request.d.ts +0 -5
  244. package/dist/src/teamcity-client/models/build-cancel-request.d.ts.map +0 -1
  245. package/dist/src/teamcity-client/models/build-change.d.ts +0 -6
  246. package/dist/src/teamcity-client/models/build-change.d.ts.map +0 -1
  247. package/dist/src/teamcity-client/models/build-changes.d.ts +0 -6
  248. package/dist/src/teamcity-client/models/build-changes.d.ts.map +0 -1
  249. package/dist/src/teamcity-client/models/build-executor.d.ts +0 -4
  250. package/dist/src/teamcity-client/models/build-executor.d.ts.map +0 -1
  251. package/dist/src/teamcity-client/models/build-locator.d.ts +0 -69
  252. package/dist/src/teamcity-client/models/build-locator.d.ts.map +0 -1
  253. package/dist/src/teamcity-client/models/build-queue-locator.d.ts +0 -14
  254. package/dist/src/teamcity-client/models/build-queue-locator.d.ts.map +0 -1
  255. package/dist/src/teamcity-client/models/build-status-update.d.ts +0 -5
  256. package/dist/src/teamcity-client/models/build-status-update.d.ts.map +0 -1
  257. package/dist/src/teamcity-client/models/build-trigger-customization.d.ts +0 -7
  258. package/dist/src/teamcity-client/models/build-trigger-customization.d.ts.map +0 -1
  259. package/dist/src/teamcity-client/models/build-triggering-options.d.ts +0 -12
  260. package/dist/src/teamcity-client/models/build-triggering-options.d.ts.map +0 -1
  261. package/dist/src/teamcity-client/models/build-type-locator.d.ts +0 -18
  262. package/dist/src/teamcity-client/models/build-type-locator.d.ts.map +0 -1
  263. package/dist/src/teamcity-client/models/build-type.d.ts +0 -64
  264. package/dist/src/teamcity-client/models/build-type.d.ts.map +0 -1
  265. package/dist/src/teamcity-client/models/build-types.d.ts +0 -9
  266. package/dist/src/teamcity-client/models/build-types.d.ts.map +0 -1
  267. package/dist/src/teamcity-client/models/build.d.ts +0 -127
  268. package/dist/src/teamcity-client/models/build.d.ts.map +0 -1
  269. package/dist/src/teamcity-client/models/builds-with-reason.d.ts +0 -6
  270. package/dist/src/teamcity-client/models/builds-with-reason.d.ts.map +0 -1
  271. package/dist/src/teamcity-client/models/builds.d.ts +0 -9
  272. package/dist/src/teamcity-client/models/builds.d.ts.map +0 -1
  273. package/dist/src/teamcity-client/models/change-locator.d.ts +0 -21
  274. package/dist/src/teamcity-client/models/change-locator.d.ts.map +0 -1
  275. package/dist/src/teamcity-client/models/change-status.d.ts +0 -19
  276. package/dist/src/teamcity-client/models/change-status.d.ts.map +0 -1
  277. package/dist/src/teamcity-client/models/change.d.ts +0 -35
  278. package/dist/src/teamcity-client/models/change.d.ts.map +0 -1
  279. package/dist/src/teamcity-client/models/changes.d.ts +0 -9
  280. package/dist/src/teamcity-client/models/changes.d.ts.map +0 -1
  281. package/dist/src/teamcity-client/models/cleanup.d.ts +0 -9
  282. package/dist/src/teamcity-client/models/cleanup.d.ts.map +0 -1
  283. package/dist/src/teamcity-client/models/cloud-error.d.ts +0 -5
  284. package/dist/src/teamcity-client/models/cloud-error.d.ts.map +0 -1
  285. package/dist/src/teamcity-client/models/cloud-image-locator.d.ts +0 -17
  286. package/dist/src/teamcity-client/models/cloud-image-locator.d.ts.map +0 -1
  287. package/dist/src/teamcity-client/models/cloud-image.d.ts +0 -18
  288. package/dist/src/teamcity-client/models/cloud-image.d.ts.map +0 -1
  289. package/dist/src/teamcity-client/models/cloud-images.d.ts +0 -9
  290. package/dist/src/teamcity-client/models/cloud-images.d.ts.map +0 -1
  291. package/dist/src/teamcity-client/models/cloud-instance-locator.d.ts +0 -13
  292. package/dist/src/teamcity-client/models/cloud-instance-locator.d.ts.map +0 -1
  293. package/dist/src/teamcity-client/models/cloud-instance.d.ts +0 -16
  294. package/dist/src/teamcity-client/models/cloud-instance.d.ts.map +0 -1
  295. package/dist/src/teamcity-client/models/cloud-instances.d.ts +0 -9
  296. package/dist/src/teamcity-client/models/cloud-instances.d.ts.map +0 -1
  297. package/dist/src/teamcity-client/models/cloud-profile-locator.d.ts +0 -13
  298. package/dist/src/teamcity-client/models/cloud-profile-locator.d.ts.map +0 -1
  299. package/dist/src/teamcity-client/models/cloud-profile.d.ts +0 -13
  300. package/dist/src/teamcity-client/models/cloud-profile.d.ts.map +0 -1
  301. package/dist/src/teamcity-client/models/cloud-profiles.d.ts +0 -9
  302. package/dist/src/teamcity-client/models/cloud-profiles.d.ts.map +0 -1
  303. package/dist/src/teamcity-client/models/comment.d.ts +0 -7
  304. package/dist/src/teamcity-client/models/comment.d.ts.map +0 -1
  305. package/dist/src/teamcity-client/models/commiter.d.ts +0 -6
  306. package/dist/src/teamcity-client/models/commiter.d.ts.map +0 -1
  307. package/dist/src/teamcity-client/models/compatibilities.d.ts +0 -6
  308. package/dist/src/teamcity-client/models/compatibilities.d.ts.map +0 -1
  309. package/dist/src/teamcity-client/models/compatibility-policy.d.ts +0 -6
  310. package/dist/src/teamcity-client/models/compatibility-policy.d.ts.map +0 -1
  311. package/dist/src/teamcity-client/models/compatibility.d.ts +0 -10
  312. package/dist/src/teamcity-client/models/compatibility.d.ts.map +0 -1
  313. package/dist/src/teamcity-client/models/composite-approval-rule.d.ts +0 -10
  314. package/dist/src/teamcity-client/models/composite-approval-rule.d.ts.map +0 -1
  315. package/dist/src/teamcity-client/models/composite-approvals.d.ts +0 -6
  316. package/dist/src/teamcity-client/models/composite-approvals.d.ts.map +0 -1
  317. package/dist/src/teamcity-client/models/cron.d.ts +0 -8
  318. package/dist/src/teamcity-client/models/cron.d.ts.map +0 -1
  319. package/dist/src/teamcity-client/models/customizations.d.ts +0 -15
  320. package/dist/src/teamcity-client/models/customizations.d.ts.map +0 -1
  321. package/dist/src/teamcity-client/models/daily.d.ts +0 -5
  322. package/dist/src/teamcity-client/models/daily.d.ts.map +0 -1
  323. package/dist/src/teamcity-client/models/datas.d.ts +0 -6
  324. package/dist/src/teamcity-client/models/datas.d.ts.map +0 -1
  325. package/dist/src/teamcity-client/models/deployment-dashboard-locator.d.ts +0 -9
  326. package/dist/src/teamcity-client/models/deployment-dashboard-locator.d.ts.map +0 -1
  327. package/dist/src/teamcity-client/models/deployment-dashboard.d.ts +0 -9
  328. package/dist/src/teamcity-client/models/deployment-dashboard.d.ts.map +0 -1
  329. package/dist/src/teamcity-client/models/deployment-dashboards.d.ts +0 -9
  330. package/dist/src/teamcity-client/models/deployment-dashboards.d.ts.map +0 -1
  331. package/dist/src/teamcity-client/models/deployment-history.d.ts +0 -6
  332. package/dist/src/teamcity-client/models/deployment-history.d.ts.map +0 -1
  333. package/dist/src/teamcity-client/models/deployment-instance-locator.d.ts +0 -16
  334. package/dist/src/teamcity-client/models/deployment-instance-locator.d.ts.map +0 -1
  335. package/dist/src/teamcity-client/models/deployment-instance.d.ts +0 -20
  336. package/dist/src/teamcity-client/models/deployment-instance.d.ts.map +0 -1
  337. package/dist/src/teamcity-client/models/deployment-instances.d.ts +0 -9
  338. package/dist/src/teamcity-client/models/deployment-instances.d.ts.map +0 -1
  339. package/dist/src/teamcity-client/models/deployment-state-entries.d.ts +0 -8
  340. package/dist/src/teamcity-client/models/deployment-state-entries.d.ts.map +0 -1
  341. package/dist/src/teamcity-client/models/deployment-state-entry.d.ts +0 -16
  342. package/dist/src/teamcity-client/models/deployment-state-entry.d.ts.map +0 -1
  343. package/dist/src/teamcity-client/models/disabled-responsibilities.d.ts +0 -6
  344. package/dist/src/teamcity-client/models/disabled-responsibilities.d.ts.map +0 -1
  345. package/dist/src/teamcity-client/models/download-info.d.ts +0 -8
  346. package/dist/src/teamcity-client/models/download-info.d.ts.map +0 -1
  347. package/dist/src/teamcity-client/models/downloaded-artifacts.d.ts +0 -7
  348. package/dist/src/teamcity-client/models/downloaded-artifacts.d.ts.map +0 -1
  349. package/dist/src/teamcity-client/models/effective-responsibilities.d.ts +0 -6
  350. package/dist/src/teamcity-client/models/effective-responsibilities.d.ts.map +0 -1
  351. package/dist/src/teamcity-client/models/enabled-info.d.ts +0 -7
  352. package/dist/src/teamcity-client/models/enabled-info.d.ts.map +0 -1
  353. package/dist/src/teamcity-client/models/enabled-responsibilities.d.ts +0 -6
  354. package/dist/src/teamcity-client/models/enabled-responsibilities.d.ts.map +0 -1
  355. package/dist/src/teamcity-client/models/entries.d.ts +0 -6
  356. package/dist/src/teamcity-client/models/entries.d.ts.map +0 -1
  357. package/dist/src/teamcity-client/models/entry.d.ts +0 -5
  358. package/dist/src/teamcity-client/models/entry.d.ts.map +0 -1
  359. package/dist/src/teamcity-client/models/environment.d.ts +0 -5
  360. package/dist/src/teamcity-client/models/environment.d.ts.map +0 -1
  361. package/dist/src/teamcity-client/models/feature.d.ts +0 -11
  362. package/dist/src/teamcity-client/models/feature.d.ts.map +0 -1
  363. package/dist/src/teamcity-client/models/features.d.ts +0 -6
  364. package/dist/src/teamcity-client/models/features.d.ts.map +0 -1
  365. package/dist/src/teamcity-client/models/file-change.d.ts +0 -10
  366. package/dist/src/teamcity-client/models/file-change.d.ts.map +0 -1
  367. package/dist/src/teamcity-client/models/file-changes.d.ts +0 -6
  368. package/dist/src/teamcity-client/models/file-changes.d.ts.map +0 -1
  369. package/dist/src/teamcity-client/models/files.d.ts +0 -6
  370. package/dist/src/teamcity-client/models/files.d.ts.map +0 -1
  371. package/dist/src/teamcity-client/models/group-approval-rule.d.ts +0 -8
  372. package/dist/src/teamcity-client/models/group-approval-rule.d.ts.map +0 -1
  373. package/dist/src/teamcity-client/models/group-approvals.d.ts +0 -6
  374. package/dist/src/teamcity-client/models/group-approvals.d.ts.map +0 -1
  375. package/dist/src/teamcity-client/models/group.d.ts +0 -16
  376. package/dist/src/teamcity-client/models/group.d.ts.map +0 -1
  377. package/dist/src/teamcity-client/models/groups.d.ts +0 -6
  378. package/dist/src/teamcity-client/models/groups.d.ts.map +0 -1
  379. package/dist/src/teamcity-client/models/health-categories.d.ts +0 -9
  380. package/dist/src/teamcity-client/models/health-categories.d.ts.map +0 -1
  381. package/dist/src/teamcity-client/models/health-category.d.ts +0 -7
  382. package/dist/src/teamcity-client/models/health-category.d.ts.map +0 -1
  383. package/dist/src/teamcity-client/models/health-item.d.ts +0 -13
  384. package/dist/src/teamcity-client/models/health-item.d.ts.map +0 -1
  385. package/dist/src/teamcity-client/models/health-status-items.d.ts +0 -9
  386. package/dist/src/teamcity-client/models/health-status-items.d.ts.map +0 -1
  387. package/dist/src/teamcity-client/models/href.d.ts +0 -4
  388. package/dist/src/teamcity-client/models/href.d.ts.map +0 -1
  389. package/dist/src/teamcity-client/models/index.d.ts +0 -230
  390. package/dist/src/teamcity-client/models/index.d.ts.map +0 -1
  391. package/dist/src/teamcity-client/models/investigation-locator.d.ts +0 -35
  392. package/dist/src/teamcity-client/models/investigation-locator.d.ts.map +0 -1
  393. package/dist/src/teamcity-client/models/investigation.d.ts +0 -24
  394. package/dist/src/teamcity-client/models/investigation.d.ts.map +0 -1
  395. package/dist/src/teamcity-client/models/investigations.d.ts +0 -9
  396. package/dist/src/teamcity-client/models/investigations.d.ts.map +0 -1
  397. package/dist/src/teamcity-client/models/issue-usage.d.ts +0 -7
  398. package/dist/src/teamcity-client/models/issue-usage.d.ts.map +0 -1
  399. package/dist/src/teamcity-client/models/issue.d.ts +0 -5
  400. package/dist/src/teamcity-client/models/issue.d.ts.map +0 -1
  401. package/dist/src/teamcity-client/models/issues-usages.d.ts +0 -7
  402. package/dist/src/teamcity-client/models/issues-usages.d.ts.map +0 -1
  403. package/dist/src/teamcity-client/models/issues.d.ts +0 -5
  404. package/dist/src/teamcity-client/models/issues.d.ts.map +0 -1
  405. package/dist/src/teamcity-client/models/items.d.ts +0 -4
  406. package/dist/src/teamcity-client/models/items.d.ts.map +0 -1
  407. package/dist/src/teamcity-client/models/labeled-value.d.ts +0 -5
  408. package/dist/src/teamcity-client/models/labeled-value.d.ts.map +0 -1
  409. package/dist/src/teamcity-client/models/license-key.d.ts +0 -29
  410. package/dist/src/teamcity-client/models/license-key.d.ts.map +0 -1
  411. package/dist/src/teamcity-client/models/license-keys.d.ts +0 -7
  412. package/dist/src/teamcity-client/models/license-keys.d.ts.map +0 -1
  413. package/dist/src/teamcity-client/models/licensing-data.d.ts +0 -26
  414. package/dist/src/teamcity-client/models/licensing-data.d.ts.map +0 -1
  415. package/dist/src/teamcity-client/models/link.d.ts +0 -6
  416. package/dist/src/teamcity-client/models/link.d.ts.map +0 -1
  417. package/dist/src/teamcity-client/models/links.d.ts +0 -6
  418. package/dist/src/teamcity-client/models/links.d.ts.map +0 -1
  419. package/dist/src/teamcity-client/models/matrix-build-feature-descriptor.d.ts +0 -8
  420. package/dist/src/teamcity-client/models/matrix-build-feature-descriptor.d.ts.map +0 -1
  421. package/dist/src/teamcity-client/models/matrix-configuration.d.ts +0 -9
  422. package/dist/src/teamcity-client/models/matrix-configuration.d.ts.map +0 -1
  423. package/dist/src/teamcity-client/models/matrix-dependencies.d.ts +0 -6
  424. package/dist/src/teamcity-client/models/matrix-dependencies.d.ts.map +0 -1
  425. package/dist/src/teamcity-client/models/matrix-dependency.d.ts +0 -7
  426. package/dist/src/teamcity-client/models/matrix-dependency.d.ts.map +0 -1
  427. package/dist/src/teamcity-client/models/matrix-parameter-descriptor.d.ts +0 -7
  428. package/dist/src/teamcity-client/models/matrix-parameter-descriptor.d.ts.map +0 -1
  429. package/dist/src/teamcity-client/models/meta-data.d.ts +0 -6
  430. package/dist/src/teamcity-client/models/meta-data.d.ts.map +0 -1
  431. package/dist/src/teamcity-client/models/metric-tag.d.ts +0 -5
  432. package/dist/src/teamcity-client/models/metric-tag.d.ts.map +0 -1
  433. package/dist/src/teamcity-client/models/metric-tags.d.ts +0 -6
  434. package/dist/src/teamcity-client/models/metric-tags.d.ts.map +0 -1
  435. package/dist/src/teamcity-client/models/metric-value.d.ts +0 -7
  436. package/dist/src/teamcity-client/models/metric-value.d.ts.map +0 -1
  437. package/dist/src/teamcity-client/models/metric-values.d.ts +0 -6
  438. package/dist/src/teamcity-client/models/metric-values.d.ts.map +0 -1
  439. package/dist/src/teamcity-client/models/metric.d.ts +0 -10
  440. package/dist/src/teamcity-client/models/metric.d.ts.map +0 -1
  441. package/dist/src/teamcity-client/models/metrics.d.ts +0 -6
  442. package/dist/src/teamcity-client/models/metrics.d.ts.map +0 -1
  443. package/dist/src/teamcity-client/models/model-file.d.ts +0 -13
  444. package/dist/src/teamcity-client/models/model-file.d.ts.map +0 -1
  445. package/dist/src/teamcity-client/models/multiple-operation-result.d.ts +0 -7
  446. package/dist/src/teamcity-client/models/multiple-operation-result.d.ts.map +0 -1
  447. package/dist/src/teamcity-client/models/mute-locator.d.ts +0 -26
  448. package/dist/src/teamcity-client/models/mute-locator.d.ts.map +0 -1
  449. package/dist/src/teamcity-client/models/mute.d.ts +0 -13
  450. package/dist/src/teamcity-client/models/mute.d.ts.map +0 -1
  451. package/dist/src/teamcity-client/models/mutes.d.ts +0 -9
  452. package/dist/src/teamcity-client/models/mutes.d.ts.map +0 -1
  453. package/dist/src/teamcity-client/models/new-build-type-description.d.ts +0 -13
  454. package/dist/src/teamcity-client/models/new-build-type-description.d.ts.map +0 -1
  455. package/dist/src/teamcity-client/models/new-project-description.d.ts +0 -15
  456. package/dist/src/teamcity-client/models/new-project-description.d.ts.map +0 -1
  457. package/dist/src/teamcity-client/models/node.d.ts +0 -21
  458. package/dist/src/teamcity-client/models/node.d.ts.map +0 -1
  459. package/dist/src/teamcity-client/models/nodes.d.ts +0 -6
  460. package/dist/src/teamcity-client/models/nodes.d.ts.map +0 -1
  461. package/dist/src/teamcity-client/models/operation-result.d.ts +0 -6
  462. package/dist/src/teamcity-client/models/operation-result.d.ts.map +0 -1
  463. package/dist/src/teamcity-client/models/parsed-test-name.d.ts +0 -10
  464. package/dist/src/teamcity-client/models/parsed-test-name.d.ts.map +0 -1
  465. package/dist/src/teamcity-client/models/permission-assignment.d.ts +0 -8
  466. package/dist/src/teamcity-client/models/permission-assignment.d.ts.map +0 -1
  467. package/dist/src/teamcity-client/models/permission-assignments.d.ts +0 -6
  468. package/dist/src/teamcity-client/models/permission-assignments.d.ts.map +0 -1
  469. package/dist/src/teamcity-client/models/permission-restriction.d.ts +0 -8
  470. package/dist/src/teamcity-client/models/permission-restriction.d.ts.map +0 -1
  471. package/dist/src/teamcity-client/models/permission-restrictions.d.ts +0 -6
  472. package/dist/src/teamcity-client/models/permission-restrictions.d.ts.map +0 -1
  473. package/dist/src/teamcity-client/models/permission.d.ts +0 -6
  474. package/dist/src/teamcity-client/models/permission.d.ts.map +0 -1
  475. package/dist/src/teamcity-client/models/permissions.d.ts +0 -6
  476. package/dist/src/teamcity-client/models/permissions.d.ts.map +0 -1
  477. package/dist/src/teamcity-client/models/pin-info.d.ts +0 -6
  478. package/dist/src/teamcity-client/models/pin-info.d.ts.map +0 -1
  479. package/dist/src/teamcity-client/models/plugin.d.ts +0 -9
  480. package/dist/src/teamcity-client/models/plugin.d.ts.map +0 -1
  481. package/dist/src/teamcity-client/models/plugins.d.ts +0 -6
  482. package/dist/src/teamcity-client/models/plugins.d.ts.map +0 -1
  483. package/dist/src/teamcity-client/models/problem-locator.d.ts +0 -15
  484. package/dist/src/teamcity-client/models/problem-locator.d.ts.map +0 -1
  485. package/dist/src/teamcity-client/models/problem-occurrence-locator.d.ts +0 -16
  486. package/dist/src/teamcity-client/models/problem-occurrence-locator.d.ts.map +0 -1
  487. package/dist/src/teamcity-client/models/problem-occurrence.d.ts +0 -20
  488. package/dist/src/teamcity-client/models/problem-occurrence.d.ts.map +0 -1
  489. package/dist/src/teamcity-client/models/problem-occurrences.d.ts +0 -14
  490. package/dist/src/teamcity-client/models/problem-occurrences.d.ts.map +0 -1
  491. package/dist/src/teamcity-client/models/problem-scope.d.ts +0 -9
  492. package/dist/src/teamcity-client/models/problem-scope.d.ts.map +0 -1
  493. package/dist/src/teamcity-client/models/problem-target.d.ts +0 -8
  494. package/dist/src/teamcity-client/models/problem-target.d.ts.map +0 -1
  495. package/dist/src/teamcity-client/models/problem.d.ts +0 -15
  496. package/dist/src/teamcity-client/models/problem.d.ts.map +0 -1
  497. package/dist/src/teamcity-client/models/problems.d.ts +0 -8
  498. package/dist/src/teamcity-client/models/problems.d.ts.map +0 -1
  499. package/dist/src/teamcity-client/models/progress-info.d.ts +0 -13
  500. package/dist/src/teamcity-client/models/progress-info.d.ts.map +0 -1
  501. package/dist/src/teamcity-client/models/project-feature.d.ts +0 -11
  502. package/dist/src/teamcity-client/models/project-feature.d.ts.map +0 -1
  503. package/dist/src/teamcity-client/models/project-features.d.ts +0 -7
  504. package/dist/src/teamcity-client/models/project-features.d.ts.map +0 -1
  505. package/dist/src/teamcity-client/models/project-locator.d.ts +0 -20
  506. package/dist/src/teamcity-client/models/project-locator.d.ts.map +0 -1
  507. package/dist/src/teamcity-client/models/project.d.ts +0 -39
  508. package/dist/src/teamcity-client/models/project.d.ts.map +0 -1
  509. package/dist/src/teamcity-client/models/projects.d.ts +0 -9
  510. package/dist/src/teamcity-client/models/projects.d.ts.map +0 -1
  511. package/dist/src/teamcity-client/models/properties.d.ts +0 -7
  512. package/dist/src/teamcity-client/models/properties.d.ts.map +0 -1
  513. package/dist/src/teamcity-client/models/property.d.ts +0 -8
  514. package/dist/src/teamcity-client/models/property.d.ts.map +0 -1
  515. package/dist/src/teamcity-client/models/related-entities.d.ts +0 -6
  516. package/dist/src/teamcity-client/models/related-entities.d.ts.map +0 -1
  517. package/dist/src/teamcity-client/models/related-entity.d.ts +0 -29
  518. package/dist/src/teamcity-client/models/related-entity.d.ts.map +0 -1
  519. package/dist/src/teamcity-client/models/related.d.ts +0 -5
  520. package/dist/src/teamcity-client/models/related.d.ts.map +0 -1
  521. package/dist/src/teamcity-client/models/repository-state.d.ts +0 -7
  522. package/dist/src/teamcity-client/models/repository-state.d.ts.map +0 -1
  523. package/dist/src/teamcity-client/models/requirements.d.ts +0 -4
  524. package/dist/src/teamcity-client/models/requirements.d.ts.map +0 -1
  525. package/dist/src/teamcity-client/models/resolution.d.ts +0 -11
  526. package/dist/src/teamcity-client/models/resolution.d.ts.map +0 -1
  527. package/dist/src/teamcity-client/models/responsibility.d.ts +0 -5
  528. package/dist/src/teamcity-client/models/responsibility.d.ts.map +0 -1
  529. package/dist/src/teamcity-client/models/revision.d.ts +0 -9
  530. package/dist/src/teamcity-client/models/revision.d.ts.map +0 -1
  531. package/dist/src/teamcity-client/models/revisions.d.ts +0 -7
  532. package/dist/src/teamcity-client/models/revisions.d.ts.map +0 -1
  533. package/dist/src/teamcity-client/models/role.d.ts +0 -6
  534. package/dist/src/teamcity-client/models/role.d.ts.map +0 -1
  535. package/dist/src/teamcity-client/models/roles.d.ts +0 -5
  536. package/dist/src/teamcity-client/models/roles.d.ts.map +0 -1
  537. package/dist/src/teamcity-client/models/server-auth-settings.d.ts +0 -12
  538. package/dist/src/teamcity-client/models/server-auth-settings.d.ts.map +0 -1
  539. package/dist/src/teamcity-client/models/server-global-settings.d.ts +0 -15
  540. package/dist/src/teamcity-client/models/server-global-settings.d.ts.map +0 -1
  541. package/dist/src/teamcity-client/models/server.d.ts +0 -26
  542. package/dist/src/teamcity-client/models/server.d.ts.map +0 -1
  543. package/dist/src/teamcity-client/models/snapshot-dependencies.d.ts +0 -6
  544. package/dist/src/teamcity-client/models/snapshot-dependencies.d.ts.map +0 -1
  545. package/dist/src/teamcity-client/models/snapshot-dependency-link.d.ts +0 -8
  546. package/dist/src/teamcity-client/models/snapshot-dependency-link.d.ts.map +0 -1
  547. package/dist/src/teamcity-client/models/snapshot-dependency.d.ts +0 -13
  548. package/dist/src/teamcity-client/models/snapshot-dependency.d.ts.map +0 -1
  549. package/dist/src/teamcity-client/models/state-field.d.ts +0 -5
  550. package/dist/src/teamcity-client/models/state-field.d.ts.map +0 -1
  551. package/dist/src/teamcity-client/models/step.d.ts +0 -12
  552. package/dist/src/teamcity-client/models/step.d.ts.map +0 -1
  553. package/dist/src/teamcity-client/models/steps.d.ts +0 -6
  554. package/dist/src/teamcity-client/models/steps.d.ts.map +0 -1
  555. package/dist/src/teamcity-client/models/tag-locator.d.ts +0 -6
  556. package/dist/src/teamcity-client/models/tag-locator.d.ts.map +0 -1
  557. package/dist/src/teamcity-client/models/tag.d.ts +0 -7
  558. package/dist/src/teamcity-client/models/tag.d.ts.map +0 -1
  559. package/dist/src/teamcity-client/models/tags.d.ts +0 -6
  560. package/dist/src/teamcity-client/models/tags.d.ts.map +0 -1
  561. package/dist/src/teamcity-client/models/team-city-node-locator.d.ts +0 -6
  562. package/dist/src/teamcity-client/models/team-city-node-locator.d.ts.map +0 -1
  563. package/dist/src/teamcity-client/models/test-counters.d.ts +0 -10
  564. package/dist/src/teamcity-client/models/test-counters.d.ts.map +0 -1
  565. package/dist/src/teamcity-client/models/test-locator.d.ts +0 -14
  566. package/dist/src/teamcity-client/models/test-locator.d.ts.map +0 -1
  567. package/dist/src/teamcity-client/models/test-occurrence-locator.d.ts +0 -31
  568. package/dist/src/teamcity-client/models/test-occurrence-locator.d.ts.map +0 -1
  569. package/dist/src/teamcity-client/models/test-occurrence.d.ts +0 -37
  570. package/dist/src/teamcity-client/models/test-occurrence.d.ts.map +0 -1
  571. package/dist/src/teamcity-client/models/test-occurrences.d.ts +0 -16
  572. package/dist/src/teamcity-client/models/test-occurrences.d.ts.map +0 -1
  573. package/dist/src/teamcity-client/models/test-run-metadata.d.ts +0 -6
  574. package/dist/src/teamcity-client/models/test-run-metadata.d.ts.map +0 -1
  575. package/dist/src/teamcity-client/models/tests.d.ts +0 -10
  576. package/dist/src/teamcity-client/models/tests.d.ts.map +0 -1
  577. package/dist/src/teamcity-client/models/token.d.ts +0 -9
  578. package/dist/src/teamcity-client/models/token.d.ts.map +0 -1
  579. package/dist/src/teamcity-client/models/tokens.d.ts +0 -6
  580. package/dist/src/teamcity-client/models/tokens.d.ts.map +0 -1
  581. package/dist/src/teamcity-client/models/trigger.d.ts +0 -13
  582. package/dist/src/teamcity-client/models/trigger.d.ts.map +0 -1
  583. package/dist/src/teamcity-client/models/triggered-by.d.ts +0 -16
  584. package/dist/src/teamcity-client/models/triggered-by.d.ts.map +0 -1
  585. package/dist/src/teamcity-client/models/triggers.d.ts +0 -6
  586. package/dist/src/teamcity-client/models/triggers.d.ts.map +0 -1
  587. package/dist/src/teamcity-client/models/type.d.ts +0 -4
  588. package/dist/src/teamcity-client/models/type.d.ts.map +0 -1
  589. package/dist/src/teamcity-client/models/typed-value-set.d.ts +0 -10
  590. package/dist/src/teamcity-client/models/typed-value-set.d.ts.map +0 -1
  591. package/dist/src/teamcity-client/models/typed-value-sets.d.ts +0 -6
  592. package/dist/src/teamcity-client/models/typed-value-sets.d.ts.map +0 -1
  593. package/dist/src/teamcity-client/models/typed-value.d.ts +0 -6
  594. package/dist/src/teamcity-client/models/typed-value.d.ts.map +0 -1
  595. package/dist/src/teamcity-client/models/user-approval-rule.d.ts +0 -6
  596. package/dist/src/teamcity-client/models/user-approval-rule.d.ts.map +0 -1
  597. package/dist/src/teamcity-client/models/user-approvals.d.ts +0 -6
  598. package/dist/src/teamcity-client/models/user-approvals.d.ts.map +0 -1
  599. package/dist/src/teamcity-client/models/user-avatars.d.ts +0 -10
  600. package/dist/src/teamcity-client/models/user-avatars.d.ts.map +0 -1
  601. package/dist/src/teamcity-client/models/user-group-locator.d.ts +0 -6
  602. package/dist/src/teamcity-client/models/user-group-locator.d.ts.map +0 -1
  603. package/dist/src/teamcity-client/models/user-locator.d.ts +0 -15
  604. package/dist/src/teamcity-client/models/user-locator.d.ts.map +0 -1
  605. package/dist/src/teamcity-client/models/user.d.ts +0 -22
  606. package/dist/src/teamcity-client/models/user.d.ts.map +0 -1
  607. package/dist/src/teamcity-client/models/users.d.ts +0 -6
  608. package/dist/src/teamcity-client/models/users.d.ts.map +0 -1
  609. package/dist/src/teamcity-client/models/vcs-check-status.d.ts +0 -6
  610. package/dist/src/teamcity-client/models/vcs-check-status.d.ts.map +0 -1
  611. package/dist/src/teamcity-client/models/vcs-label.d.ts +0 -18
  612. package/dist/src/teamcity-client/models/vcs-label.d.ts.map +0 -1
  613. package/dist/src/teamcity-client/models/vcs-labels.d.ts +0 -6
  614. package/dist/src/teamcity-client/models/vcs-labels.d.ts.map +0 -1
  615. package/dist/src/teamcity-client/models/vcs-root-entries.d.ts +0 -6
  616. package/dist/src/teamcity-client/models/vcs-root-entries.d.ts.map +0 -1
  617. package/dist/src/teamcity-client/models/vcs-root-entry.d.ts +0 -8
  618. package/dist/src/teamcity-client/models/vcs-root-entry.d.ts.map +0 -1
  619. package/dist/src/teamcity-client/models/vcs-root-instance-locator.d.ts +0 -38
  620. package/dist/src/teamcity-client/models/vcs-root-instance-locator.d.ts.map +0 -1
  621. package/dist/src/teamcity-client/models/vcs-root-instance.d.ts +0 -24
  622. package/dist/src/teamcity-client/models/vcs-root-instance.d.ts.map +0 -1
  623. package/dist/src/teamcity-client/models/vcs-root-instances.d.ts +0 -9
  624. package/dist/src/teamcity-client/models/vcs-root-instances.d.ts.map +0 -1
  625. package/dist/src/teamcity-client/models/vcs-root-locator.d.ts +0 -37
  626. package/dist/src/teamcity-client/models/vcs-root-locator.d.ts.map +0 -1
  627. package/dist/src/teamcity-client/models/vcs-root.d.ts +0 -20
  628. package/dist/src/teamcity-client/models/vcs-root.d.ts.map +0 -1
  629. package/dist/src/teamcity-client/models/vcs-roots.d.ts +0 -9
  630. package/dist/src/teamcity-client/models/vcs-roots.d.ts.map +0 -1
  631. package/dist/src/teamcity-client/models/vcs-status.d.ts +0 -6
  632. package/dist/src/teamcity-client/models/vcs-status.d.ts.map +0 -1
  633. package/dist/src/teamcity-client/models/versioned-settings-config.d.ts +0 -31
  634. package/dist/src/teamcity-client/models/versioned-settings-config.d.ts.map +0 -1
  635. package/dist/src/teamcity-client/models/versioned-settings-context-parameter.d.ts +0 -5
  636. package/dist/src/teamcity-client/models/versioned-settings-context-parameter.d.ts.map +0 -1
  637. package/dist/src/teamcity-client/models/versioned-settings-context-parameters.d.ts +0 -5
  638. package/dist/src/teamcity-client/models/versioned-settings-context-parameters.d.ts.map +0 -1
  639. package/dist/src/teamcity-client/models/versioned-settings-error.d.ts +0 -7
  640. package/dist/src/teamcity-client/models/versioned-settings-error.d.ts.map +0 -1
  641. package/dist/src/teamcity-client/models/versioned-settings-status.d.ts +0 -15
  642. package/dist/src/teamcity-client/models/versioned-settings-status.d.ts.map +0 -1
  643. package/dist/src/teamcity-client/models/versioned-settings-token.d.ts +0 -6
  644. package/dist/src/teamcity-client/models/versioned-settings-token.d.ts.map +0 -1
  645. package/dist/src/teamcity-client/models/versioned-settings-tokens.d.ts +0 -5
  646. package/dist/src/teamcity-client/models/versioned-settings-tokens.d.ts.map +0 -1
  647. package/dist/src/tools/index.d.ts +0 -2
  648. package/dist/src/tools/index.d.ts.map +0 -1
  649. package/dist/src/tools.d.ts +0 -22
  650. package/dist/src/tools.d.ts.map +0 -1
  651. package/dist/src/types/config.d.ts +0 -129
  652. package/dist/src/types/config.d.ts.map +0 -1
  653. package/dist/src/types/index.d.ts +0 -116
  654. package/dist/src/types/index.d.ts.map +0 -1
  655. package/dist/src/types/mcp.d.ts +0 -68
  656. package/dist/src/types/mcp.d.ts.map +0 -1
  657. package/dist/src/types/project.d.ts +0 -56
  658. package/dist/src/types/project.d.ts.map +0 -1
  659. package/dist/src/types/teamcity.d.ts +0 -258
  660. package/dist/src/types/teamcity.d.ts.map +0 -1
  661. package/dist/src/utils/async/index.d.ts +0 -90
  662. package/dist/src/utils/async/index.d.ts.map +0 -1
  663. package/dist/src/utils/error-logger.d.ts +0 -34
  664. package/dist/src/utils/error-logger.d.ts.map +0 -1
  665. package/dist/src/utils/index.d.ts +0 -23
  666. package/dist/src/utils/index.d.ts.map +0 -1
  667. package/dist/src/utils/logger/index.d.ts +0 -73
  668. package/dist/src/utils/logger/index.d.ts.map +0 -1
  669. package/dist/src/utils/logger.d.ts +0 -11
  670. package/dist/src/utils/logger.d.ts.map +0 -1
  671. package/dist/src/utils/lru-cache.d.ts +0 -20
  672. package/dist/src/utils/lru-cache.d.ts.map +0 -1
  673. package/dist/src/utils/mcp.d.ts +0 -18
  674. package/dist/src/utils/mcp.d.ts.map +0 -1
  675. package/dist/src/utils/validation.d.ts +0 -61
  676. package/dist/src/utils/validation.d.ts.map +0 -1
  677. package/docs/TEAMCITY_MCP_TOOLS_GUIDE.md +0 -1076
  678. package/docs/mcp-tools-mode-matrix.md +0 -68
  679. package/docs/mcp-tools-reference.md +0 -203
  680. package/examples/list-build-configs-usage.ts +0 -276
  681. package/jest.ci.config.js +0 -14
  682. package/jest.config.js +0 -108
  683. package/jest.setup.js +0 -24
  684. package/openapi-generator-config.json +0 -27
  685. package/openapitools.json +0 -7
  686. package/scripts/build.cjs +0 -106
  687. package/scripts/debug-fetch-log.ts +0 -52
  688. package/scripts/emit-coverage-stats.js +0 -42
  689. package/scripts/fetch-swagger-spec.ts +0 -140
  690. package/scripts/generate-third-party-notices.cjs +0 -71
  691. package/scripts/interact.sh +0 -23
  692. package/scripts/print-builds.ts +0 -21
  693. package/scripts/verify-integration-env.cjs +0 -29
  694. package/src/api-client.ts +0 -307
  695. package/src/config/index.ts +0 -286
  696. package/src/errors/index.ts +0 -25
  697. package/src/formatters/build-step-formatter.ts +0 -178
  698. package/src/formatters/trigger-formatter.ts +0 -207
  699. package/src/index.ts +0 -61
  700. package/src/middleware/error.test.ts +0 -274
  701. package/src/middleware/error.ts +0 -314
  702. package/src/middleware/global-error-handler.test.ts +0 -239
  703. package/src/middleware/global-error-handler.ts +0 -214
  704. package/src/middleware/index.ts +0 -5
  705. package/src/server.ts +0 -126
  706. package/src/swagger/index.ts +0 -220
  707. package/src/swagger/swagger-cache.ts +0 -220
  708. package/src/swagger/swagger-fetcher.ts +0 -126
  709. package/src/swagger/swagger-validator.ts +0 -212
  710. package/src/teamcity/api-types.ts +0 -387
  711. package/src/teamcity/artifact-manager.ts +0 -362
  712. package/src/teamcity/auth.ts +0 -219
  713. package/src/teamcity/branch-discovery-manager.ts +0 -311
  714. package/src/teamcity/branch-filtering-service.ts +0 -369
  715. package/src/teamcity/branch-specification-parser.ts +0 -238
  716. package/src/teamcity/build-config-manager.ts +0 -458
  717. package/src/teamcity/build-config-navigator.ts +0 -589
  718. package/src/teamcity/build-configuration-clone-manager.ts +0 -501
  719. package/src/teamcity/build-configuration-manager.ts +0 -447
  720. package/src/teamcity/build-configuration-resolver.ts +0 -725
  721. package/src/teamcity/build-configuration-update-manager.ts +0 -610
  722. package/src/teamcity/build-list-manager.ts +0 -313
  723. package/src/teamcity/build-parameters-manager.ts +0 -875
  724. package/src/teamcity/build-progress-tracker.ts +0 -514
  725. package/src/teamcity/build-query-builder.ts +0 -325
  726. package/src/teamcity/build-queue-manager.ts +0 -622
  727. package/src/teamcity/build-results-manager.ts +0 -589
  728. package/src/teamcity/build-status-manager.ts +0 -564
  729. package/src/teamcity/build-step-manager.ts +0 -508
  730. package/src/teamcity/build-trigger-manager.ts +0 -1083
  731. package/src/teamcity/circuit-breaker.ts +0 -219
  732. package/src/teamcity/client-adapter.ts +0 -35
  733. package/src/teamcity/client.ts +0 -269
  734. package/src/teamcity/config.ts +0 -188
  735. package/src/teamcity/configuration-branch-matcher.ts +0 -327
  736. package/src/teamcity/errors.ts +0 -351
  737. package/src/teamcity/index.ts +0 -266
  738. package/src/teamcity/pagination.ts +0 -209
  739. package/src/teamcity/project-list-manager.ts +0 -267
  740. package/src/teamcity/project-manager.ts +0 -493
  741. package/src/teamcity/project-navigator.ts +0 -664
  742. package/src/teamcity/test-problem-reporter.ts +0 -423
  743. package/src/teamcity/types/api-responses.ts +0 -314
  744. package/src/teamcity-client/.openapi-generator/FILES +0 -274
  745. package/src/teamcity-client/.openapi-generator/VERSION +0 -1
  746. package/src/teamcity-client/.openapi-generator-ignore +0 -23
  747. package/src/teamcity-client/README.md +0 -50
  748. package/src/teamcity-client/api/agent-api.ts +0 -2046
  749. package/src/teamcity-client/api/agent-pool-api.ts +0 -1877
  750. package/src/teamcity-client/api/agent-type-api.ts +0 -213
  751. package/src/teamcity-client/api/audit-api.ts +0 -341
  752. package/src/teamcity-client/api/avatar-api.ts +0 -569
  753. package/src/teamcity-client/api/build-api.ts +0 -7726
  754. package/src/teamcity-client/api/build-queue-api.ts +0 -1922
  755. package/src/teamcity-client/api/build-type-api.ts +0 -15502
  756. package/src/teamcity-client/api/change-api.ts +0 -1311
  757. package/src/teamcity-client/api/cloud-instance-api.ts +0 -1289
  758. package/src/teamcity-client/api/deployment-dashboard-api.ts +0 -1295
  759. package/src/teamcity-client/api/global-server-settings-api.ts +0 -286
  760. package/src/teamcity-client/api/group-api.ts +0 -2084
  761. package/src/teamcity-client/api/health-api.ts +0 -566
  762. package/src/teamcity-client/api/investigation-api.ts +0 -856
  763. package/src/teamcity-client/api/mute-api.ts +0 -824
  764. package/src/teamcity-client/api/node-api.ts +0 -877
  765. package/src/teamcity-client/api/problem-api.ts +0 -337
  766. package/src/teamcity-client/api/problem-occurrence-api.ts +0 -349
  767. package/src/teamcity-client/api/project-api.ts +0 -6511
  768. package/src/teamcity-client/api/role-api.ts +0 -1062
  769. package/src/teamcity-client/api/root-api.ts +0 -439
  770. package/src/teamcity-client/api/server-api.ts +0 -2306
  771. package/src/teamcity-client/api/server-authentication-settings-api.ts +0 -289
  772. package/src/teamcity-client/api/test-api.ts +0 -329
  773. package/src/teamcity-client/api/test-occurrence-api.ts +0 -340
  774. package/src/teamcity-client/api/user-api.ts +0 -3644
  775. package/src/teamcity-client/api/vcs-root-api.ts +0 -1837
  776. package/src/teamcity-client/api/vcs-root-instance-api.ts +0 -2479
  777. package/src/teamcity-client/api/versioned-settings-api.ts +0 -2025
  778. package/src/teamcity-client/api.ts +0 -44
  779. package/src/teamcity-client/base.ts +0 -91
  780. package/src/teamcity-client/common.ts +0 -197
  781. package/src/teamcity-client/configuration.ts +0 -130
  782. package/src/teamcity-client/git_push.sh +0 -57
  783. package/src/teamcity-client/index.ts +0 -17
  784. package/src/teamcity-client/models/agent-locator.ts +0 -124
  785. package/src/teamcity-client/models/agent-pool-locator.ts +0 -63
  786. package/src/teamcity-client/models/agent-pool.ts +0 -87
  787. package/src/teamcity-client/models/agent-pools.ts +0 -54
  788. package/src/teamcity-client/models/agent-requirement.ts +0 -66
  789. package/src/teamcity-client/models/agent-requirements.ts +0 -36
  790. package/src/teamcity-client/models/agent-type-locator.ts +0 -51
  791. package/src/teamcity-client/models/agent-type.ts +0 -81
  792. package/src/teamcity-client/models/agent-types.ts +0 -54
  793. package/src/teamcity-client/models/agent.ts +0 -295
  794. package/src/teamcity-client/models/agents.ts +0 -54
  795. package/src/teamcity-client/models/approvable-build.ts +0 -39
  796. package/src/teamcity-client/models/approval-info.ts +0 -100
  797. package/src/teamcity-client/models/artifact-dependencies.ts +0 -42
  798. package/src/teamcity-client/models/artifact-dependency.ts +0 -75
  799. package/src/teamcity-client/models/artifact-download-info.ts +0 -33
  800. package/src/teamcity-client/models/audit-action.ts +0 -39
  801. package/src/teamcity-client/models/audit-event.ts +0 -66
  802. package/src/teamcity-client/models/audit-events.ts +0 -54
  803. package/src/teamcity-client/models/audit-locator.ts +0 -315
  804. package/src/teamcity-client/models/auth-module.ts +0 -36
  805. package/src/teamcity-client/models/auth-modules.ts +0 -30
  806. package/src/teamcity-client/models/authorization-tokens-requirements.ts +0 -33
  807. package/src/teamcity-client/models/authorized-info.ts +0 -36
  808. package/src/teamcity-client/models/branch-locator.ts +0 -117
  809. package/src/teamcity-client/models/branch-version.ts +0 -78
  810. package/src/teamcity-client/models/branch.ts +0 -72
  811. package/src/teamcity-client/models/branches.ts +0 -42
  812. package/src/teamcity-client/models/build-cancel-request.ts +0 -33
  813. package/src/teamcity-client/models/build-change.ts +0 -36
  814. package/src/teamcity-client/models/build-changes.ts +0 -36
  815. package/src/teamcity-client/models/build-executor.ts +0 -27
  816. package/src/teamcity-client/models/build-locator.ts +0 -277
  817. package/src/teamcity-client/models/build-queue-locator.ts +0 -87
  818. package/src/teamcity-client/models/build-status-update.ts +0 -33
  819. package/src/teamcity-client/models/build-trigger-customization.ts +0 -42
  820. package/src/teamcity-client/models/build-triggering-options.ts +0 -72
  821. package/src/teamcity-client/models/build-type-locator.ts +0 -111
  822. package/src/teamcity-client/models/build-type.ts +0 -305
  823. package/src/teamcity-client/models/build-types.ts +0 -54
  824. package/src/teamcity-client/models/build.ts +0 -631
  825. package/src/teamcity-client/models/builds-with-reason.ts +0 -36
  826. package/src/teamcity-client/models/builds.ts +0 -54
  827. package/src/teamcity-client/models/change-locator.ts +0 -129
  828. package/src/teamcity-client/models/change-status.ts +0 -114
  829. package/src/teamcity-client/models/change.ts +0 -186
  830. package/src/teamcity-client/models/changes.ts +0 -54
  831. package/src/teamcity-client/models/cleanup.ts +0 -51
  832. package/src/teamcity-client/models/cloud-error.ts +0 -33
  833. package/src/teamcity-client/models/cloud-image-locator.ts +0 -105
  834. package/src/teamcity-client/models/cloud-image.ts +0 -102
  835. package/src/teamcity-client/models/cloud-images.ts +0 -54
  836. package/src/teamcity-client/models/cloud-instance-locator.ts +0 -81
  837. package/src/teamcity-client/models/cloud-instance.ts +0 -90
  838. package/src/teamcity-client/models/cloud-instances.ts +0 -54
  839. package/src/teamcity-client/models/cloud-profile-locator.ts +0 -81
  840. package/src/teamcity-client/models/cloud-profile.ts +0 -72
  841. package/src/teamcity-client/models/cloud-profiles.ts +0 -54
  842. package/src/teamcity-client/models/comment.ts +0 -42
  843. package/src/teamcity-client/models/commiter.ts +0 -36
  844. package/src/teamcity-client/models/compatibilities.ts +0 -36
  845. package/src/teamcity-client/models/compatibility-policy.ts +0 -36
  846. package/src/teamcity-client/models/compatibility.ts +0 -54
  847. package/src/teamcity-client/models/composite-approval-rule.ts +0 -54
  848. package/src/teamcity-client/models/composite-approvals.ts +0 -36
  849. package/src/teamcity-client/models/cron.ts +0 -51
  850. package/src/teamcity-client/models/customizations.ts +0 -45
  851. package/src/teamcity-client/models/daily.ts +0 -33
  852. package/src/teamcity-client/models/datas.ts +0 -36
  853. package/src/teamcity-client/models/deployment-dashboard-locator.ts +0 -57
  854. package/src/teamcity-client/models/deployment-dashboard.ts +0 -51
  855. package/src/teamcity-client/models/deployment-dashboards.ts +0 -54
  856. package/src/teamcity-client/models/deployment-history.ts +0 -36
  857. package/src/teamcity-client/models/deployment-instance-locator.ts +0 -62
  858. package/src/teamcity-client/models/deployment-instance.ts +0 -68
  859. package/src/teamcity-client/models/deployment-instances.ts +0 -54
  860. package/src/teamcity-client/models/deployment-state-entries.ts +0 -45
  861. package/src/teamcity-client/models/deployment-state-entry.ts +0 -59
  862. package/src/teamcity-client/models/disabled-responsibilities.ts +0 -36
  863. package/src/teamcity-client/models/download-info.ts +0 -45
  864. package/src/teamcity-client/models/downloaded-artifacts.ts +0 -42
  865. package/src/teamcity-client/models/effective-responsibilities.ts +0 -36
  866. package/src/teamcity-client/models/enabled-info.ts +0 -42
  867. package/src/teamcity-client/models/enabled-responsibilities.ts +0 -36
  868. package/src/teamcity-client/models/entries.ts +0 -36
  869. package/src/teamcity-client/models/entry.ts +0 -33
  870. package/src/teamcity-client/models/environment.ts +0 -33
  871. package/src/teamcity-client/models/feature.ts +0 -66
  872. package/src/teamcity-client/models/features.ts +0 -36
  873. package/src/teamcity-client/models/file-change.ts +0 -63
  874. package/src/teamcity-client/models/file-changes.ts +0 -36
  875. package/src/teamcity-client/models/files.ts +0 -39
  876. package/src/teamcity-client/models/group-approval-rule.ts +0 -45
  877. package/src/teamcity-client/models/group-approvals.ts +0 -36
  878. package/src/teamcity-client/models/group.ts +0 -87
  879. package/src/teamcity-client/models/groups.ts +0 -36
  880. package/src/teamcity-client/models/health-categories.ts +0 -54
  881. package/src/teamcity-client/models/health-category.ts +0 -45
  882. package/src/teamcity-client/models/health-item.ts +0 -51
  883. package/src/teamcity-client/models/health-status-items.ts +0 -54
  884. package/src/teamcity-client/models/href.ts +0 -27
  885. package/src/teamcity-client/models/index.ts +0 -229
  886. package/src/teamcity-client/models/investigation-locator.ts +0 -125
  887. package/src/teamcity-client/models/investigation.ts +0 -100
  888. package/src/teamcity-client/models/investigations.ts +0 -54
  889. package/src/teamcity-client/models/issue-usage.ts +0 -39
  890. package/src/teamcity-client/models/issue.ts +0 -33
  891. package/src/teamcity-client/models/issues-usages.ts +0 -42
  892. package/src/teamcity-client/models/issues.ts +0 -30
  893. package/src/teamcity-client/models/items.ts +0 -27
  894. package/src/teamcity-client/models/labeled-value.ts +0 -33
  895. package/src/teamcity-client/models/license-key.ts +0 -134
  896. package/src/teamcity-client/models/license-keys.ts +0 -42
  897. package/src/teamcity-client/models/licensing-data.ts +0 -114
  898. package/src/teamcity-client/models/link.ts +0 -39
  899. package/src/teamcity-client/models/links.ts +0 -36
  900. package/src/teamcity-client/models/matrix-build-feature-descriptor.ts +0 -48
  901. package/src/teamcity-client/models/matrix-configuration.ts +0 -51
  902. package/src/teamcity-client/models/matrix-dependencies.ts +0 -36
  903. package/src/teamcity-client/models/matrix-dependency.ts +0 -39
  904. package/src/teamcity-client/models/matrix-parameter-descriptor.ts +0 -42
  905. package/src/teamcity-client/models/meta-data.ts +0 -36
  906. package/src/teamcity-client/models/metric-tag.ts +0 -33
  907. package/src/teamcity-client/models/metric-tags.ts +0 -36
  908. package/src/teamcity-client/models/metric-value.ts +0 -42
  909. package/src/teamcity-client/models/metric-values.ts +0 -36
  910. package/src/teamcity-client/models/metric.ts +0 -57
  911. package/src/teamcity-client/models/metrics.ts +0 -36
  912. package/src/teamcity-client/models/model-file.ts +0 -75
  913. package/src/teamcity-client/models/multiple-operation-result.ts +0 -42
  914. package/src/teamcity-client/models/mute-locator.ts +0 -108
  915. package/src/teamcity-client/models/mute.ts +0 -69
  916. package/src/teamcity-client/models/mutes.ts +0 -54
  917. package/src/teamcity-client/models/new-build-type-description.ts +0 -75
  918. package/src/teamcity-client/models/new-project-description.ts +0 -87
  919. package/src/teamcity-client/models/node.ts +0 -87
  920. package/src/teamcity-client/models/nodes.ts +0 -36
  921. package/src/teamcity-client/models/operation-result.ts +0 -36
  922. package/src/teamcity-client/models/parsed-test-name.ts +0 -63
  923. package/src/teamcity-client/models/permission-assignment.ts +0 -45
  924. package/src/teamcity-client/models/permission-assignments.ts +0 -36
  925. package/src/teamcity-client/models/permission-restriction.ts +0 -45
  926. package/src/teamcity-client/models/permission-restrictions.ts +0 -36
  927. package/src/teamcity-client/models/permission.ts +0 -39
  928. package/src/teamcity-client/models/permissions.ts +0 -36
  929. package/src/teamcity-client/models/pin-info.ts +0 -36
  930. package/src/teamcity-client/models/plugin.ts +0 -54
  931. package/src/teamcity-client/models/plugins.ts +0 -36
  932. package/src/teamcity-client/models/problem-locator.ts +0 -93
  933. package/src/teamcity-client/models/problem-occurrence-locator.ts +0 -99
  934. package/src/teamcity-client/models/problem-occurrence.ts +0 -114
  935. package/src/teamcity-client/models/problem-occurrences.ts +0 -84
  936. package/src/teamcity-client/models/problem-scope.ts +0 -48
  937. package/src/teamcity-client/models/problem-target.ts +0 -45
  938. package/src/teamcity-client/models/problem.ts +0 -84
  939. package/src/teamcity-client/models/problems.ts +0 -48
  940. package/src/teamcity-client/models/progress-info.ts +0 -78
  941. package/src/teamcity-client/models/project-feature.ts +0 -66
  942. package/src/teamcity-client/models/project-features.ts +0 -42
  943. package/src/teamcity-client/models/project-locator.ts +0 -123
  944. package/src/teamcity-client/models/project.ts +0 -207
  945. package/src/teamcity-client/models/projects.ts +0 -54
  946. package/src/teamcity-client/models/properties.ts +0 -42
  947. package/src/teamcity-client/models/property.ts +0 -48
  948. package/src/teamcity-client/models/related-entities.ts +0 -36
  949. package/src/teamcity-client/models/related-entity.ts +0 -144
  950. package/src/teamcity-client/models/related.ts +0 -30
  951. package/src/teamcity-client/models/repository-state.ts +0 -42
  952. package/src/teamcity-client/models/requirements.ts +0 -27
  953. package/src/teamcity-client/models/resolution.ts +0 -41
  954. package/src/teamcity-client/models/responsibility.ts +0 -33
  955. package/src/teamcity-client/models/revision.ts +0 -54
  956. package/src/teamcity-client/models/revisions.ts +0 -42
  957. package/src/teamcity-client/models/role.ts +0 -39
  958. package/src/teamcity-client/models/roles.ts +0 -30
  959. package/src/teamcity-client/models/server-auth-settings.ts +0 -72
  960. package/src/teamcity-client/models/server-global-settings.ts +0 -93
  961. package/src/teamcity-client/models/server.ts +0 -156
  962. package/src/teamcity-client/models/snapshot-dependencies.ts +0 -36
  963. package/src/teamcity-client/models/snapshot-dependency-link.ts +0 -45
  964. package/src/teamcity-client/models/snapshot-dependency.ts +0 -75
  965. package/src/teamcity-client/models/state-field.ts +0 -33
  966. package/src/teamcity-client/models/step.ts +0 -72
  967. package/src/teamcity-client/models/steps.ts +0 -36
  968. package/src/teamcity-client/models/tag-locator.ts +0 -39
  969. package/src/teamcity-client/models/tag.ts +0 -42
  970. package/src/teamcity-client/models/tags.ts +0 -36
  971. package/src/teamcity-client/models/team-city-node-locator.ts +0 -39
  972. package/src/teamcity-client/models/test-counters.ts +0 -63
  973. package/src/teamcity-client/models/test-locator.ts +0 -87
  974. package/src/teamcity-client/models/test-occurrence-locator.ts +0 -147
  975. package/src/teamcity-client/models/test-occurrence.ts +0 -173
  976. package/src/teamcity-client/models/test-occurrences.ts +0 -93
  977. package/src/teamcity-client/models/test-run-metadata.ts +0 -36
  978. package/src/teamcity-client/models/tests.ts +0 -57
  979. package/src/teamcity-client/models/token.ts +0 -54
  980. package/src/teamcity-client/models/tokens.ts +0 -36
  981. package/src/teamcity-client/models/trigger.ts +0 -75
  982. package/src/teamcity-client/models/triggered-by.ts +0 -87
  983. package/src/teamcity-client/models/triggers.ts +0 -36
  984. package/src/teamcity-client/models/type.ts +0 -27
  985. package/src/teamcity-client/models/typed-value-set.ts +0 -60
  986. package/src/teamcity-client/models/typed-value-sets.ts +0 -36
  987. package/src/teamcity-client/models/typed-value.ts +0 -39
  988. package/src/teamcity-client/models/user-approval-rule.ts +0 -36
  989. package/src/teamcity-client/models/user-approvals.ts +0 -36
  990. package/src/teamcity-client/models/user-avatars.ts +0 -63
  991. package/src/teamcity-client/models/user-group-locator.ts +0 -39
  992. package/src/teamcity-client/models/user-locator.ts +0 -93
  993. package/src/teamcity-client/models/user.ts +0 -123
  994. package/src/teamcity-client/models/users.ts +0 -36
  995. package/src/teamcity-client/models/vcs-check-status.ts +0 -39
  996. package/src/teamcity-client/models/vcs-label.ts +0 -65
  997. package/src/teamcity-client/models/vcs-labels.ts +0 -36
  998. package/src/teamcity-client/models/vcs-root-entries.ts +0 -36
  999. package/src/teamcity-client/models/vcs-root-entry.ts +0 -48
  1000. package/src/teamcity-client/models/vcs-root-instance-locator.ts +0 -124
  1001. package/src/teamcity-client/models/vcs-root-instance.ts +0 -132
  1002. package/src/teamcity-client/models/vcs-root-instances.ts +0 -54
  1003. package/src/teamcity-client/models/vcs-root-locator.ts +0 -118
  1004. package/src/teamcity-client/models/vcs-root.ts +0 -111
  1005. package/src/teamcity-client/models/vcs-roots.ts +0 -54
  1006. package/src/teamcity-client/models/vcs-status.ts +0 -36
  1007. package/src/teamcity-client/models/versioned-settings-config.ts +0 -111
  1008. package/src/teamcity-client/models/versioned-settings-context-parameter.ts +0 -33
  1009. package/src/teamcity-client/models/versioned-settings-context-parameters.ts +0 -30
  1010. package/src/teamcity-client/models/versioned-settings-error.ts +0 -45
  1011. package/src/teamcity-client/models/versioned-settings-status.ts +0 -68
  1012. package/src/teamcity-client/models/versioned-settings-token.ts +0 -39
  1013. package/src/teamcity-client/models/versioned-settings-tokens.ts +0 -30
  1014. package/src/teamcity-client/package.json +0 -33
  1015. package/src/teamcity-client/tsconfig.esm.json +0 -7
  1016. package/src/teamcity-client/tsconfig.json +0 -13
  1017. package/src/teamcity-client-types.d.ts +0 -27
  1018. package/src/tools/index.ts +0 -2
  1019. package/src/tools.ts +0 -2904
  1020. package/src/types/config.ts +0 -140
  1021. package/src/types/index.ts +0 -171
  1022. package/src/types/mcp.ts +0 -80
  1023. package/src/types/project.ts +0 -128
  1024. package/src/types/teamcity.ts +0 -289
  1025. package/src/utils/async/index.test.ts +0 -664
  1026. package/src/utils/async/index.ts +0 -578
  1027. package/src/utils/error-logger.test.ts +0 -173
  1028. package/src/utils/error-logger.ts +0 -145
  1029. package/src/utils/index.ts +0 -88
  1030. package/src/utils/logger/index.test.ts +0 -271
  1031. package/src/utils/logger/index.ts +0 -441
  1032. package/src/utils/logger.ts +0 -49
  1033. package/src/utils/lru-cache.ts +0 -105
  1034. package/src/utils/mcp.ts +0 -84
  1035. package/src/utils/validation.ts +0 -284
  1036. package/tests/__mocks__/@modelcontextprotocol/sdk/server/index.js +0 -31
  1037. package/tests/__mocks__/@modelcontextprotocol/sdk/server/stdio.js +0 -12
  1038. package/tests/__mocks__/@modelcontextprotocol/sdk/types.js +0 -16
  1039. package/tests/development-tooling.test.ts +0 -207
  1040. package/tests/e2e/cleanup.ts +0 -68
  1041. package/tests/e2e/index.ts +0 -166
  1042. package/tests/e2e/mcp-client.ts +0 -73
  1043. package/tests/e2e/setup-playground.ts +0 -67
  1044. package/tests/integration/branches-and-queue-scenario.test.ts +0 -108
  1045. package/tests/integration/build-config-clone-update-scenario.test.ts +0 -80
  1046. package/tests/integration/build-results-and-logs-scenario.test.ts +0 -136
  1047. package/tests/integration/dev-tools-list.test.ts +0 -103
  1048. package/tests/integration/e2e-scenario.test.ts +0 -147
  1049. package/tests/integration/lib/mcp-runner.ts +0 -59
  1050. package/tests/integration/parameters-scenario.test.ts +0 -85
  1051. package/tests/integration/pause-configs-scenario.test.ts +0 -74
  1052. package/tests/integration/queue-maintenance-scenario.test.ts +0 -132
  1053. package/tests/integration/server-health-scenario.test.ts +0 -59
  1054. package/tests/integration/triggers-scenario.test.ts +0 -80
  1055. package/tests/integration/vcs-scenario.test.ts +0 -78
  1056. package/tests/jest.test.js +0 -122
  1057. package/tests/mcp-server.test.ts +0 -378
  1058. package/tests/setup.test.js +0 -97
  1059. package/tests/setup.ts +0 -88
  1060. package/tests/swagger/swagger-fetcher.test.ts +0 -619
  1061. package/tests/teamcity/auth.test.ts +0 -276
  1062. package/tests/teamcity/circuit-breaker.test.ts +0 -304
  1063. package/tests/teamcity/errors.test.ts +0 -221
  1064. package/tests/test-utils/mock-logger.ts +0 -15
  1065. package/tests/test-utils/mock-teamcity-client.ts +0 -403
  1066. package/tests/testing-infrastructure.test.ts +0 -209
  1067. package/tests/tooling.test.js +0 -118
  1068. package/tests/types/shims.d.ts +0 -20
  1069. package/tests/types/tool-results.ts +0 -68
  1070. package/tests/typescript.test.js +0 -108
  1071. package/tests/unit/mcp/server-lifecycle.test.ts +0 -301
  1072. package/tests/unit/middleware/error.test.ts +0 -283
  1073. package/tests/unit/server.test.ts +0 -102
  1074. package/tests/unit/swagger/swagger-manager.test.ts +0 -89
  1075. package/tests/unit/teamcity/artifact-manager.test.ts +0 -450
  1076. package/tests/unit/teamcity/branch-discovery-manager.test.ts +0 -561
  1077. package/tests/unit/teamcity/branch-filtering-service.test.ts +0 -481
  1078. package/tests/unit/teamcity/branch-specification-parser.test.ts +0 -443
  1079. package/tests/unit/teamcity/build-config-navigator-more.test.ts +0 -245
  1080. package/tests/unit/teamcity/build-config-navigator.test.ts +0 -1452
  1081. package/tests/unit/teamcity/build-configuration-manager.test.ts +0 -750
  1082. package/tests/unit/teamcity/build-configuration-resolver.test.ts +0 -659
  1083. package/tests/unit/teamcity/build-list-manager.test.ts +0 -574
  1084. package/tests/unit/teamcity/build-parameters-manager.test.ts +0 -712
  1085. package/tests/unit/teamcity/build-progress-tracker.test.ts +0 -1030
  1086. package/tests/unit/teamcity/build-query-builder.test.ts +0 -311
  1087. package/tests/unit/teamcity/build-queue-manager.test.ts +0 -879
  1088. package/tests/unit/teamcity/build-results-manager.test.ts +0 -630
  1089. package/tests/unit/teamcity/build-status-manager.test.ts +0 -640
  1090. package/tests/unit/teamcity/build-step-manager.test.ts +0 -886
  1091. package/tests/unit/teamcity/build-trigger-manager.test.ts +0 -1052
  1092. package/tests/unit/teamcity/configuration-branch-matcher.test.ts +0 -692
  1093. package/tests/unit/teamcity/pagination.test.ts +0 -118
  1094. package/tests/unit/teamcity/project-list-manager.test.ts +0 -118
  1095. package/tests/unit/teamcity/project-manager-branches.test.ts +0 -176
  1096. package/tests/unit/teamcity/project-manager-more.test.ts +0 -90
  1097. package/tests/unit/teamcity/project-manager.test.ts +0 -189
  1098. package/tests/unit/teamcity/project-navigator-branches.test.ts +0 -168
  1099. package/tests/unit/teamcity/project-navigator-more.test.ts +0 -58
  1100. package/tests/unit/teamcity/project-navigator.test.ts +0 -791
  1101. package/tests/unit/teamcity/test-problem-reporter-trend-patterns.test.ts +0 -80
  1102. package/tests/unit/teamcity/test-problem-reporter.test.ts +0 -551
  1103. package/tests/unit/tools/agent-vcs-admin.test.ts +0 -121
  1104. package/tests/unit/tools/availability-and-queue.test.ts +0 -118
  1105. package/tests/unit/tools/branches-vcs-agents.test.ts +0 -119
  1106. package/tests/unit/tools/build-actions-and-status.test.ts +0 -125
  1107. package/tests/unit/tools/bulk-surface-coverage.test.ts +0 -116
  1108. package/tests/unit/tools/compatibility-lookups.test.ts +0 -150
  1109. package/tests/unit/tools/fetch-build-log-ambiguity.test.ts +0 -70
  1110. package/tests/unit/tools/fetch-build-log-by-number.test.ts +0 -66
  1111. package/tests/unit/tools/fetch-build-log-pagination.test.ts +0 -73
  1112. package/tests/unit/tools/fetch-build-log-tail.test.ts +0 -33
  1113. package/tests/unit/tools/get-status-and-results.test.ts +0 -67
  1114. package/tests/unit/tools/list-branches-and-parameters.test.ts +0 -36
  1115. package/tests/unit/tools/list-build-configs-pagination.test.ts +0 -39
  1116. package/tests/unit/tools/list-builds-pagination.test.ts +0 -45
  1117. package/tests/unit/tools/list-pagination-all.test.ts +0 -259
  1118. package/tests/unit/tools/list-projects-pagination.test.ts +0 -39
  1119. package/tests/unit/tools/parameters-and-steps-triggers.test.ts +0 -176
  1120. package/tests/unit/tools/project-build-crud.test.ts +0 -110
  1121. package/tests/unit/tools/project-hierarchy.test.ts +0 -46
  1122. package/tests/unit/tools/queue-maintenance.test.ts +0 -130
  1123. package/tests/unit/tools/server-health-and-metrics.test.ts +0 -134
  1124. package/tests/unit/tools/simple-getters.test.ts +0 -88
  1125. package/tests/unit/tools/update_project_settings.test.ts +0 -64
  1126. package/tests/unit/utils/lru-cache.test.ts +0 -77
  1127. package/tests/unit/utils/mcp.test.ts +0 -82
  1128. package/tests/unit/utils/runTool.test.ts +0 -38
  1129. package/tests/unit/utils/validation.test.ts +0 -168
  1130. package/tsconfig.build.json +0 -28
  1131. package/tsconfig.json +0 -60
  1132. package/tsconfig.lint.json +0 -13
@@ -1,1922 +0,0 @@
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
- }