@daghis/teamcity-mcp 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1133) hide show
  1. package/.commitlintrc.js +3 -0
  2. package/.eslintignore +16 -0
  3. package/.eslintrc.js +166 -0
  4. package/.github/settings.yml +7 -0
  5. package/.github/workflows/ci.yml +111 -0
  6. package/.github/workflows/codeql.yml +35 -0
  7. package/.github/workflows/commitlint.yml +20 -0
  8. package/.github/workflows/publish.yml +47 -0
  9. package/.github/workflows/release-please.yml +21 -0
  10. package/.nvmrc +1 -0
  11. package/.prettierignore +22 -0
  12. package/.prettierrc +28 -0
  13. package/AGENTS.md +68 -0
  14. package/ARCHITECTURE.md +66 -0
  15. package/CHANGELOG.md +8 -0
  16. package/CONTRIBUTING.md +68 -0
  17. package/LICENSE +22 -0
  18. package/README.md +256 -0
  19. package/TODO.md +80 -0
  20. package/dist/index.js +42216 -0
  21. package/dist/index.js.map +7 -0
  22. package/dist/src/api-client.d.ts +51 -0
  23. package/dist/src/api-client.d.ts.map +1 -0
  24. package/dist/src/config/index.d.ts +41 -0
  25. package/dist/src/config/index.d.ts.map +1 -0
  26. package/dist/src/errors/index.d.ts +2 -0
  27. package/dist/src/errors/index.d.ts.map +1 -0
  28. package/dist/src/formatters/build-step-formatter.d.ts +5 -0
  29. package/dist/src/formatters/build-step-formatter.d.ts.map +1 -0
  30. package/dist/src/formatters/trigger-formatter.d.ts +4 -0
  31. package/dist/src/formatters/trigger-formatter.d.ts.map +1 -0
  32. package/dist/src/index.d.ts +3 -0
  33. package/dist/src/index.d.ts.map +1 -0
  34. package/dist/src/middleware/error.d.ts +56 -0
  35. package/dist/src/middleware/error.d.ts.map +1 -0
  36. package/dist/src/middleware/global-error-handler.d.ts +22 -0
  37. package/dist/src/middleware/global-error-handler.d.ts.map +1 -0
  38. package/dist/src/middleware/index.d.ts +2 -0
  39. package/dist/src/middleware/index.d.ts.map +1 -0
  40. package/dist/src/server.d.ts +4 -0
  41. package/dist/src/server.d.ts.map +1 -0
  42. package/dist/src/swagger/index.d.ts +43 -0
  43. package/dist/src/swagger/index.d.ts.map +1 -0
  44. package/dist/src/swagger/swagger-cache.d.ts +23 -0
  45. package/dist/src/swagger/swagger-cache.d.ts.map +1 -0
  46. package/dist/src/swagger/swagger-fetcher.d.ts +24 -0
  47. package/dist/src/swagger/swagger-fetcher.d.ts.map +1 -0
  48. package/dist/src/swagger/swagger-validator.d.ts +17 -0
  49. package/dist/src/swagger/swagger-validator.d.ts.map +1 -0
  50. package/dist/src/teamcity/api-types.d.ts +224 -0
  51. package/dist/src/teamcity/api-types.d.ts.map +1 -0
  52. package/dist/src/teamcity/artifact-manager.d.ts +52 -0
  53. package/dist/src/teamcity/artifact-manager.d.ts.map +1 -0
  54. package/dist/src/teamcity/auth.d.ts +22 -0
  55. package/dist/src/teamcity/auth.d.ts.map +1 -0
  56. package/dist/src/teamcity/branch-discovery-manager.d.ts +39 -0
  57. package/dist/src/teamcity/branch-discovery-manager.d.ts.map +1 -0
  58. package/dist/src/teamcity/branch-filtering-service.d.ts +62 -0
  59. package/dist/src/teamcity/branch-filtering-service.d.ts.map +1 -0
  60. package/dist/src/teamcity/branch-specification-parser.d.ts +33 -0
  61. package/dist/src/teamcity/branch-specification-parser.d.ts.map +1 -0
  62. package/dist/src/teamcity/build-config-manager.d.ts +75 -0
  63. package/dist/src/teamcity/build-config-manager.d.ts.map +1 -0
  64. package/dist/src/teamcity/build-config-navigator.d.ts +89 -0
  65. package/dist/src/teamcity/build-config-navigator.d.ts.map +1 -0
  66. package/dist/src/teamcity/build-configuration-clone-manager.d.ts +49 -0
  67. package/dist/src/teamcity/build-configuration-clone-manager.d.ts.map +1 -0
  68. package/dist/src/teamcity/build-configuration-manager.d.ts +82 -0
  69. package/dist/src/teamcity/build-configuration-manager.d.ts.map +1 -0
  70. package/dist/src/teamcity/build-configuration-resolver.d.ts +95 -0
  71. package/dist/src/teamcity/build-configuration-resolver.d.ts.map +1 -0
  72. package/dist/src/teamcity/build-configuration-update-manager.d.ts +76 -0
  73. package/dist/src/teamcity/build-configuration-update-manager.d.ts.map +1 -0
  74. package/dist/src/teamcity/build-list-manager.d.ts +62 -0
  75. package/dist/src/teamcity/build-list-manager.d.ts.map +1 -0
  76. package/dist/src/teamcity/build-parameters-manager.d.ts +143 -0
  77. package/dist/src/teamcity/build-parameters-manager.d.ts.map +1 -0
  78. package/dist/src/teamcity/build-progress-tracker.d.ts +49 -0
  79. package/dist/src/teamcity/build-progress-tracker.d.ts.map +1 -0
  80. package/dist/src/teamcity/build-query-builder.d.ts +27 -0
  81. package/dist/src/teamcity/build-query-builder.d.ts.map +1 -0
  82. package/dist/src/teamcity/build-queue-manager.d.ts +102 -0
  83. package/dist/src/teamcity/build-queue-manager.d.ts.map +1 -0
  84. package/dist/src/teamcity/build-results-manager.d.ts +87 -0
  85. package/dist/src/teamcity/build-results-manager.d.ts.map +1 -0
  86. package/dist/src/teamcity/build-status-manager.d.ts +65 -0
  87. package/dist/src/teamcity/build-status-manager.d.ts.map +1 -0
  88. package/dist/src/teamcity/build-step-manager.d.ts +65 -0
  89. package/dist/src/teamcity/build-step-manager.d.ts.map +1 -0
  90. package/dist/src/teamcity/build-trigger-manager.d.ts +108 -0
  91. package/dist/src/teamcity/build-trigger-manager.d.ts.map +1 -0
  92. package/dist/src/teamcity/circuit-breaker.d.ts +47 -0
  93. package/dist/src/teamcity/circuit-breaker.d.ts.map +1 -0
  94. package/dist/src/teamcity/client-adapter.d.ts +12 -0
  95. package/dist/src/teamcity/client-adapter.d.ts.map +1 -0
  96. package/dist/src/teamcity/client.d.ts +49 -0
  97. package/dist/src/teamcity/client.d.ts.map +1 -0
  98. package/dist/src/teamcity/config.d.ts +41 -0
  99. package/dist/src/teamcity/config.d.ts.map +1 -0
  100. package/dist/src/teamcity/configuration-branch-matcher.d.ts +37 -0
  101. package/dist/src/teamcity/configuration-branch-matcher.d.ts.map +1 -0
  102. package/dist/src/teamcity/errors.d.ts +79 -0
  103. package/dist/src/teamcity/errors.d.ts.map +1 -0
  104. package/dist/src/teamcity/index.d.ts +48 -0
  105. package/dist/src/teamcity/index.d.ts.map +1 -0
  106. package/dist/src/teamcity/pagination.d.ts +32 -0
  107. package/dist/src/teamcity/pagination.d.ts.map +1 -0
  108. package/dist/src/teamcity/project-list-manager.d.ts +19 -0
  109. package/dist/src/teamcity/project-list-manager.d.ts.map +1 -0
  110. package/dist/src/teamcity/project-manager.d.ts +73 -0
  111. package/dist/src/teamcity/project-manager.d.ts.map +1 -0
  112. package/dist/src/teamcity/project-navigator.d.ts +100 -0
  113. package/dist/src/teamcity/project-navigator.d.ts.map +1 -0
  114. package/dist/src/teamcity/test-problem-reporter.d.ts +60 -0
  115. package/dist/src/teamcity/test-problem-reporter.d.ts.map +1 -0
  116. package/dist/src/teamcity/types/api-responses.d.ts +235 -0
  117. package/dist/src/teamcity/types/api-responses.d.ts.map +1 -0
  118. package/dist/src/teamcity-client/api/agent-api.d.ts +97 -0
  119. package/dist/src/teamcity-client/api/agent-api.d.ts.map +1 -0
  120. package/dist/src/teamcity-client/api/agent-pool-api.d.ts +92 -0
  121. package/dist/src/teamcity-client/api/agent-pool-api.d.ts.map +1 -0
  122. package/dist/src/teamcity-client/api/agent-type-api.d.ts +20 -0
  123. package/dist/src/teamcity-client/api/agent-type-api.d.ts.map +1 -0
  124. package/dist/src/teamcity-client/api/audit-api.d.ts +26 -0
  125. package/dist/src/teamcity-client/api/audit-api.d.ts.map +1 -0
  126. package/dist/src/teamcity-client/api/avatar-api.d.ts +34 -0
  127. package/dist/src/teamcity-client/api/avatar-api.d.ts.map +1 -0
  128. package/dist/src/teamcity-client/api/build-api.d.ts +315 -0
  129. package/dist/src/teamcity-client/api/build-api.d.ts.map +1 -0
  130. package/dist/src/teamcity-client/api/build-queue-api.d.ts +90 -0
  131. package/dist/src/teamcity-client/api/build-queue-api.d.ts.map +1 -0
  132. package/dist/src/teamcity-client/api/build-type-api.d.ts +585 -0
  133. package/dist/src/teamcity-client/api/build-type-api.d.ts.map +1 -0
  134. package/dist/src/teamcity-client/api/change-api.d.ts +71 -0
  135. package/dist/src/teamcity-client/api/change-api.d.ts.map +1 -0
  136. package/dist/src/teamcity-client/api/cloud-instance-api.d.ts +70 -0
  137. package/dist/src/teamcity-client/api/cloud-instance-api.d.ts.map +1 -0
  138. package/dist/src/teamcity-client/api/deployment-dashboard-api.d.ts +64 -0
  139. package/dist/src/teamcity-client/api/deployment-dashboard-api.d.ts.map +1 -0
  140. package/dist/src/teamcity-client/api/global-server-settings-api.d.ts +25 -0
  141. package/dist/src/teamcity-client/api/global-server-settings-api.d.ts.map +1 -0
  142. package/dist/src/teamcity-client/api/group-api.d.ts +99 -0
  143. package/dist/src/teamcity-client/api/group-api.d.ts.map +1 -0
  144. package/dist/src/teamcity-client/api/health-api.d.ts +38 -0
  145. package/dist/src/teamcity-client/api/health-api.d.ts.map +1 -0
  146. package/dist/src/teamcity-client/api/investigation-api.d.ts +46 -0
  147. package/dist/src/teamcity-client/api/investigation-api.d.ts.map +1 -0
  148. package/dist/src/teamcity-client/api/mute-api.d.ts +46 -0
  149. package/dist/src/teamcity-client/api/mute-api.d.ts.map +1 -0
  150. package/dist/src/teamcity-client/api/node-api.d.ts +49 -0
  151. package/dist/src/teamcity-client/api/node-api.d.ts.map +1 -0
  152. package/dist/src/teamcity-client/api/problem-api.d.ts +26 -0
  153. package/dist/src/teamcity-client/api/problem-api.d.ts.map +1 -0
  154. package/dist/src/teamcity-client/api/problem-occurrence-api.d.ts +26 -0
  155. package/dist/src/teamcity-client/api/problem-occurrence-api.d.ts.map +1 -0
  156. package/dist/src/teamcity-client/api/project-api.d.ts +271 -0
  157. package/dist/src/teamcity-client/api/project-api.d.ts.map +1 -0
  158. package/dist/src/teamcity-client/api/role-api.d.ts +56 -0
  159. package/dist/src/teamcity-client/api/role-api.d.ts.map +1 -0
  160. package/dist/src/teamcity-client/api/root-api.d.ts +35 -0
  161. package/dist/src/teamcity-client/api/root-api.d.ts.map +1 -0
  162. package/dist/src/teamcity-client/api/server-api.d.ts +112 -0
  163. package/dist/src/teamcity-client/api/server-api.d.ts.map +1 -0
  164. package/dist/src/teamcity-client/api/server-authentication-settings-api.d.ts +25 -0
  165. package/dist/src/teamcity-client/api/server-authentication-settings-api.d.ts.map +1 -0
  166. package/dist/src/teamcity-client/api/test-api.d.ts +26 -0
  167. package/dist/src/teamcity-client/api/test-api.d.ts.map +1 -0
  168. package/dist/src/teamcity-client/api/test-occurrence-api.d.ts +26 -0
  169. package/dist/src/teamcity-client/api/test-occurrence-api.d.ts.map +1 -0
  170. package/dist/src/teamcity-client/api/user-api.d.ts +164 -0
  171. package/dist/src/teamcity-client/api/user-api.d.ts.map +1 -0
  172. package/dist/src/teamcity-client/api/vcs-root-api.d.ts +88 -0
  173. package/dist/src/teamcity-client/api/vcs-root-api.d.ts.map +1 -0
  174. package/dist/src/teamcity-client/api/vcs-root-instance-api.d.ts +104 -0
  175. package/dist/src/teamcity-client/api/vcs-root-instance-api.d.ts.map +1 -0
  176. package/dist/src/teamcity-client/api/versioned-settings-api.d.ts +94 -0
  177. package/dist/src/teamcity-client/api/versioned-settings-api.d.ts.map +1 -0
  178. package/dist/src/teamcity-client/api.d.ts +31 -0
  179. package/dist/src/teamcity-client/api.d.ts.map +1 -0
  180. package/dist/src/teamcity-client/base.d.ts +32 -0
  181. package/dist/src/teamcity-client/base.d.ts.map +1 -0
  182. package/dist/src/teamcity-client/common.d.ts +14 -0
  183. package/dist/src/teamcity-client/common.d.ts.map +1 -0
  184. package/dist/src/teamcity-client/configuration.d.ts +23 -0
  185. package/dist/src/teamcity-client/configuration.d.ts.map +1 -0
  186. package/dist/src/teamcity-client/index.d.ts +4 -0
  187. package/dist/src/teamcity-client/index.d.ts.map +1 -0
  188. package/dist/src/teamcity-client/models/agent-locator.d.ts +34 -0
  189. package/dist/src/teamcity-client/models/agent-locator.d.ts.map +1 -0
  190. package/dist/src/teamcity-client/models/agent-pool-locator.d.ts +10 -0
  191. package/dist/src/teamcity-client/models/agent-pool-locator.d.ts.map +1 -0
  192. package/dist/src/teamcity-client/models/agent-pool.d.ts +16 -0
  193. package/dist/src/teamcity-client/models/agent-pool.d.ts.map +1 -0
  194. package/dist/src/teamcity-client/models/agent-pools.d.ts +9 -0
  195. package/dist/src/teamcity-client/models/agent-pools.d.ts.map +1 -0
  196. package/dist/src/teamcity-client/models/agent-requirement.d.ts +11 -0
  197. package/dist/src/teamcity-client/models/agent-requirement.d.ts.map +1 -0
  198. package/dist/src/teamcity-client/models/agent-requirements.d.ts +6 -0
  199. package/dist/src/teamcity-client/models/agent-requirements.d.ts.map +1 -0
  200. package/dist/src/teamcity-client/models/agent-type-locator.d.ts +8 -0
  201. package/dist/src/teamcity-client/models/agent-type-locator.d.ts.map +1 -0
  202. package/dist/src/teamcity-client/models/agent-type.d.ts +14 -0
  203. package/dist/src/teamcity-client/models/agent-type.d.ts.map +1 -0
  204. package/dist/src/teamcity-client/models/agent-types.d.ts +9 -0
  205. package/dist/src/teamcity-client/models/agent-types.d.ts.map +1 -0
  206. package/dist/src/teamcity-client/models/agent.d.ts +59 -0
  207. package/dist/src/teamcity-client/models/agent.d.ts.map +1 -0
  208. package/dist/src/teamcity-client/models/agents.d.ts +9 -0
  209. package/dist/src/teamcity-client/models/agents.d.ts.map +1 -0
  210. package/dist/src/teamcity-client/models/approvable-build.d.ts +6 -0
  211. package/dist/src/teamcity-client/models/approvable-build.d.ts.map +1 -0
  212. package/dist/src/teamcity-client/models/approval-info.d.ts +24 -0
  213. package/dist/src/teamcity-client/models/approval-info.d.ts.map +1 -0
  214. package/dist/src/teamcity-client/models/artifact-dependencies.d.ts +7 -0
  215. package/dist/src/teamcity-client/models/artifact-dependencies.d.ts.map +1 -0
  216. package/dist/src/teamcity-client/models/artifact-dependency.d.ts +13 -0
  217. package/dist/src/teamcity-client/models/artifact-dependency.d.ts.map +1 -0
  218. package/dist/src/teamcity-client/models/artifact-download-info.d.ts +5 -0
  219. package/dist/src/teamcity-client/models/artifact-download-info.d.ts.map +1 -0
  220. package/dist/src/teamcity-client/models/audit-action.d.ts +6 -0
  221. package/dist/src/teamcity-client/models/audit-action.d.ts.map +1 -0
  222. package/dist/src/teamcity-client/models/audit-event.d.ts +12 -0
  223. package/dist/src/teamcity-client/models/audit-event.d.ts.map +1 -0
  224. package/dist/src/teamcity-client/models/audit-events.d.ts +9 -0
  225. package/dist/src/teamcity-client/models/audit-events.d.ts.map +1 -0
  226. package/dist/src/teamcity-client/models/audit-locator.d.ts +245 -0
  227. package/dist/src/teamcity-client/models/audit-locator.d.ts.map +1 -0
  228. package/dist/src/teamcity-client/models/auth-module.d.ts +6 -0
  229. package/dist/src/teamcity-client/models/auth-module.d.ts.map +1 -0
  230. package/dist/src/teamcity-client/models/auth-modules.d.ts +5 -0
  231. package/dist/src/teamcity-client/models/auth-modules.d.ts.map +1 -0
  232. package/dist/src/teamcity-client/models/authorization-tokens-requirements.d.ts +5 -0
  233. package/dist/src/teamcity-client/models/authorization-tokens-requirements.d.ts.map +1 -0
  234. package/dist/src/teamcity-client/models/authorized-info.d.ts +6 -0
  235. package/dist/src/teamcity-client/models/authorized-info.d.ts.map +1 -0
  236. package/dist/src/teamcity-client/models/branch-locator.d.ts +40 -0
  237. package/dist/src/teamcity-client/models/branch-locator.d.ts.map +1 -0
  238. package/dist/src/teamcity-client/models/branch-version.d.ts +13 -0
  239. package/dist/src/teamcity-client/models/branch-version.d.ts.map +1 -0
  240. package/dist/src/teamcity-client/models/branch.d.ts +12 -0
  241. package/dist/src/teamcity-client/models/branch.d.ts.map +1 -0
  242. package/dist/src/teamcity-client/models/branches.d.ts +7 -0
  243. package/dist/src/teamcity-client/models/branches.d.ts.map +1 -0
  244. package/dist/src/teamcity-client/models/build-cancel-request.d.ts +5 -0
  245. package/dist/src/teamcity-client/models/build-cancel-request.d.ts.map +1 -0
  246. package/dist/src/teamcity-client/models/build-change.d.ts +6 -0
  247. package/dist/src/teamcity-client/models/build-change.d.ts.map +1 -0
  248. package/dist/src/teamcity-client/models/build-changes.d.ts +6 -0
  249. package/dist/src/teamcity-client/models/build-changes.d.ts.map +1 -0
  250. package/dist/src/teamcity-client/models/build-executor.d.ts +4 -0
  251. package/dist/src/teamcity-client/models/build-executor.d.ts.map +1 -0
  252. package/dist/src/teamcity-client/models/build-locator.d.ts +69 -0
  253. package/dist/src/teamcity-client/models/build-locator.d.ts.map +1 -0
  254. package/dist/src/teamcity-client/models/build-queue-locator.d.ts +14 -0
  255. package/dist/src/teamcity-client/models/build-queue-locator.d.ts.map +1 -0
  256. package/dist/src/teamcity-client/models/build-status-update.d.ts +5 -0
  257. package/dist/src/teamcity-client/models/build-status-update.d.ts.map +1 -0
  258. package/dist/src/teamcity-client/models/build-trigger-customization.d.ts +7 -0
  259. package/dist/src/teamcity-client/models/build-trigger-customization.d.ts.map +1 -0
  260. package/dist/src/teamcity-client/models/build-triggering-options.d.ts +12 -0
  261. package/dist/src/teamcity-client/models/build-triggering-options.d.ts.map +1 -0
  262. package/dist/src/teamcity-client/models/build-type-locator.d.ts +18 -0
  263. package/dist/src/teamcity-client/models/build-type-locator.d.ts.map +1 -0
  264. package/dist/src/teamcity-client/models/build-type.d.ts +64 -0
  265. package/dist/src/teamcity-client/models/build-type.d.ts.map +1 -0
  266. package/dist/src/teamcity-client/models/build-types.d.ts +9 -0
  267. package/dist/src/teamcity-client/models/build-types.d.ts.map +1 -0
  268. package/dist/src/teamcity-client/models/build.d.ts +127 -0
  269. package/dist/src/teamcity-client/models/build.d.ts.map +1 -0
  270. package/dist/src/teamcity-client/models/builds-with-reason.d.ts +6 -0
  271. package/dist/src/teamcity-client/models/builds-with-reason.d.ts.map +1 -0
  272. package/dist/src/teamcity-client/models/builds.d.ts +9 -0
  273. package/dist/src/teamcity-client/models/builds.d.ts.map +1 -0
  274. package/dist/src/teamcity-client/models/change-locator.d.ts +21 -0
  275. package/dist/src/teamcity-client/models/change-locator.d.ts.map +1 -0
  276. package/dist/src/teamcity-client/models/change-status.d.ts +19 -0
  277. package/dist/src/teamcity-client/models/change-status.d.ts.map +1 -0
  278. package/dist/src/teamcity-client/models/change.d.ts +35 -0
  279. package/dist/src/teamcity-client/models/change.d.ts.map +1 -0
  280. package/dist/src/teamcity-client/models/changes.d.ts +9 -0
  281. package/dist/src/teamcity-client/models/changes.d.ts.map +1 -0
  282. package/dist/src/teamcity-client/models/cleanup.d.ts +9 -0
  283. package/dist/src/teamcity-client/models/cleanup.d.ts.map +1 -0
  284. package/dist/src/teamcity-client/models/cloud-error.d.ts +5 -0
  285. package/dist/src/teamcity-client/models/cloud-error.d.ts.map +1 -0
  286. package/dist/src/teamcity-client/models/cloud-image-locator.d.ts +17 -0
  287. package/dist/src/teamcity-client/models/cloud-image-locator.d.ts.map +1 -0
  288. package/dist/src/teamcity-client/models/cloud-image.d.ts +18 -0
  289. package/dist/src/teamcity-client/models/cloud-image.d.ts.map +1 -0
  290. package/dist/src/teamcity-client/models/cloud-images.d.ts +9 -0
  291. package/dist/src/teamcity-client/models/cloud-images.d.ts.map +1 -0
  292. package/dist/src/teamcity-client/models/cloud-instance-locator.d.ts +13 -0
  293. package/dist/src/teamcity-client/models/cloud-instance-locator.d.ts.map +1 -0
  294. package/dist/src/teamcity-client/models/cloud-instance.d.ts +16 -0
  295. package/dist/src/teamcity-client/models/cloud-instance.d.ts.map +1 -0
  296. package/dist/src/teamcity-client/models/cloud-instances.d.ts +9 -0
  297. package/dist/src/teamcity-client/models/cloud-instances.d.ts.map +1 -0
  298. package/dist/src/teamcity-client/models/cloud-profile-locator.d.ts +13 -0
  299. package/dist/src/teamcity-client/models/cloud-profile-locator.d.ts.map +1 -0
  300. package/dist/src/teamcity-client/models/cloud-profile.d.ts +13 -0
  301. package/dist/src/teamcity-client/models/cloud-profile.d.ts.map +1 -0
  302. package/dist/src/teamcity-client/models/cloud-profiles.d.ts +9 -0
  303. package/dist/src/teamcity-client/models/cloud-profiles.d.ts.map +1 -0
  304. package/dist/src/teamcity-client/models/comment.d.ts +7 -0
  305. package/dist/src/teamcity-client/models/comment.d.ts.map +1 -0
  306. package/dist/src/teamcity-client/models/commiter.d.ts +6 -0
  307. package/dist/src/teamcity-client/models/commiter.d.ts.map +1 -0
  308. package/dist/src/teamcity-client/models/compatibilities.d.ts +6 -0
  309. package/dist/src/teamcity-client/models/compatibilities.d.ts.map +1 -0
  310. package/dist/src/teamcity-client/models/compatibility-policy.d.ts +6 -0
  311. package/dist/src/teamcity-client/models/compatibility-policy.d.ts.map +1 -0
  312. package/dist/src/teamcity-client/models/compatibility.d.ts +10 -0
  313. package/dist/src/teamcity-client/models/compatibility.d.ts.map +1 -0
  314. package/dist/src/teamcity-client/models/composite-approval-rule.d.ts +10 -0
  315. package/dist/src/teamcity-client/models/composite-approval-rule.d.ts.map +1 -0
  316. package/dist/src/teamcity-client/models/composite-approvals.d.ts +6 -0
  317. package/dist/src/teamcity-client/models/composite-approvals.d.ts.map +1 -0
  318. package/dist/src/teamcity-client/models/cron.d.ts +8 -0
  319. package/dist/src/teamcity-client/models/cron.d.ts.map +1 -0
  320. package/dist/src/teamcity-client/models/customizations.d.ts +15 -0
  321. package/dist/src/teamcity-client/models/customizations.d.ts.map +1 -0
  322. package/dist/src/teamcity-client/models/daily.d.ts +5 -0
  323. package/dist/src/teamcity-client/models/daily.d.ts.map +1 -0
  324. package/dist/src/teamcity-client/models/datas.d.ts +6 -0
  325. package/dist/src/teamcity-client/models/datas.d.ts.map +1 -0
  326. package/dist/src/teamcity-client/models/deployment-dashboard-locator.d.ts +9 -0
  327. package/dist/src/teamcity-client/models/deployment-dashboard-locator.d.ts.map +1 -0
  328. package/dist/src/teamcity-client/models/deployment-dashboard.d.ts +9 -0
  329. package/dist/src/teamcity-client/models/deployment-dashboard.d.ts.map +1 -0
  330. package/dist/src/teamcity-client/models/deployment-dashboards.d.ts +9 -0
  331. package/dist/src/teamcity-client/models/deployment-dashboards.d.ts.map +1 -0
  332. package/dist/src/teamcity-client/models/deployment-history.d.ts +6 -0
  333. package/dist/src/teamcity-client/models/deployment-history.d.ts.map +1 -0
  334. package/dist/src/teamcity-client/models/deployment-instance-locator.d.ts +16 -0
  335. package/dist/src/teamcity-client/models/deployment-instance-locator.d.ts.map +1 -0
  336. package/dist/src/teamcity-client/models/deployment-instance.d.ts +20 -0
  337. package/dist/src/teamcity-client/models/deployment-instance.d.ts.map +1 -0
  338. package/dist/src/teamcity-client/models/deployment-instances.d.ts +9 -0
  339. package/dist/src/teamcity-client/models/deployment-instances.d.ts.map +1 -0
  340. package/dist/src/teamcity-client/models/deployment-state-entries.d.ts +8 -0
  341. package/dist/src/teamcity-client/models/deployment-state-entries.d.ts.map +1 -0
  342. package/dist/src/teamcity-client/models/deployment-state-entry.d.ts +16 -0
  343. package/dist/src/teamcity-client/models/deployment-state-entry.d.ts.map +1 -0
  344. package/dist/src/teamcity-client/models/disabled-responsibilities.d.ts +6 -0
  345. package/dist/src/teamcity-client/models/disabled-responsibilities.d.ts.map +1 -0
  346. package/dist/src/teamcity-client/models/download-info.d.ts +8 -0
  347. package/dist/src/teamcity-client/models/download-info.d.ts.map +1 -0
  348. package/dist/src/teamcity-client/models/downloaded-artifacts.d.ts +7 -0
  349. package/dist/src/teamcity-client/models/downloaded-artifacts.d.ts.map +1 -0
  350. package/dist/src/teamcity-client/models/effective-responsibilities.d.ts +6 -0
  351. package/dist/src/teamcity-client/models/effective-responsibilities.d.ts.map +1 -0
  352. package/dist/src/teamcity-client/models/enabled-info.d.ts +7 -0
  353. package/dist/src/teamcity-client/models/enabled-info.d.ts.map +1 -0
  354. package/dist/src/teamcity-client/models/enabled-responsibilities.d.ts +6 -0
  355. package/dist/src/teamcity-client/models/enabled-responsibilities.d.ts.map +1 -0
  356. package/dist/src/teamcity-client/models/entries.d.ts +6 -0
  357. package/dist/src/teamcity-client/models/entries.d.ts.map +1 -0
  358. package/dist/src/teamcity-client/models/entry.d.ts +5 -0
  359. package/dist/src/teamcity-client/models/entry.d.ts.map +1 -0
  360. package/dist/src/teamcity-client/models/environment.d.ts +5 -0
  361. package/dist/src/teamcity-client/models/environment.d.ts.map +1 -0
  362. package/dist/src/teamcity-client/models/feature.d.ts +11 -0
  363. package/dist/src/teamcity-client/models/feature.d.ts.map +1 -0
  364. package/dist/src/teamcity-client/models/features.d.ts +6 -0
  365. package/dist/src/teamcity-client/models/features.d.ts.map +1 -0
  366. package/dist/src/teamcity-client/models/file-change.d.ts +10 -0
  367. package/dist/src/teamcity-client/models/file-change.d.ts.map +1 -0
  368. package/dist/src/teamcity-client/models/file-changes.d.ts +6 -0
  369. package/dist/src/teamcity-client/models/file-changes.d.ts.map +1 -0
  370. package/dist/src/teamcity-client/models/files.d.ts +6 -0
  371. package/dist/src/teamcity-client/models/files.d.ts.map +1 -0
  372. package/dist/src/teamcity-client/models/group-approval-rule.d.ts +8 -0
  373. package/dist/src/teamcity-client/models/group-approval-rule.d.ts.map +1 -0
  374. package/dist/src/teamcity-client/models/group-approvals.d.ts +6 -0
  375. package/dist/src/teamcity-client/models/group-approvals.d.ts.map +1 -0
  376. package/dist/src/teamcity-client/models/group.d.ts +16 -0
  377. package/dist/src/teamcity-client/models/group.d.ts.map +1 -0
  378. package/dist/src/teamcity-client/models/groups.d.ts +6 -0
  379. package/dist/src/teamcity-client/models/groups.d.ts.map +1 -0
  380. package/dist/src/teamcity-client/models/health-categories.d.ts +9 -0
  381. package/dist/src/teamcity-client/models/health-categories.d.ts.map +1 -0
  382. package/dist/src/teamcity-client/models/health-category.d.ts +7 -0
  383. package/dist/src/teamcity-client/models/health-category.d.ts.map +1 -0
  384. package/dist/src/teamcity-client/models/health-item.d.ts +13 -0
  385. package/dist/src/teamcity-client/models/health-item.d.ts.map +1 -0
  386. package/dist/src/teamcity-client/models/health-status-items.d.ts +9 -0
  387. package/dist/src/teamcity-client/models/health-status-items.d.ts.map +1 -0
  388. package/dist/src/teamcity-client/models/href.d.ts +4 -0
  389. package/dist/src/teamcity-client/models/href.d.ts.map +1 -0
  390. package/dist/src/teamcity-client/models/index.d.ts +230 -0
  391. package/dist/src/teamcity-client/models/index.d.ts.map +1 -0
  392. package/dist/src/teamcity-client/models/investigation-locator.d.ts +35 -0
  393. package/dist/src/teamcity-client/models/investigation-locator.d.ts.map +1 -0
  394. package/dist/src/teamcity-client/models/investigation.d.ts +24 -0
  395. package/dist/src/teamcity-client/models/investigation.d.ts.map +1 -0
  396. package/dist/src/teamcity-client/models/investigations.d.ts +9 -0
  397. package/dist/src/teamcity-client/models/investigations.d.ts.map +1 -0
  398. package/dist/src/teamcity-client/models/issue-usage.d.ts +7 -0
  399. package/dist/src/teamcity-client/models/issue-usage.d.ts.map +1 -0
  400. package/dist/src/teamcity-client/models/issue.d.ts +5 -0
  401. package/dist/src/teamcity-client/models/issue.d.ts.map +1 -0
  402. package/dist/src/teamcity-client/models/issues-usages.d.ts +7 -0
  403. package/dist/src/teamcity-client/models/issues-usages.d.ts.map +1 -0
  404. package/dist/src/teamcity-client/models/issues.d.ts +5 -0
  405. package/dist/src/teamcity-client/models/issues.d.ts.map +1 -0
  406. package/dist/src/teamcity-client/models/items.d.ts +4 -0
  407. package/dist/src/teamcity-client/models/items.d.ts.map +1 -0
  408. package/dist/src/teamcity-client/models/labeled-value.d.ts +5 -0
  409. package/dist/src/teamcity-client/models/labeled-value.d.ts.map +1 -0
  410. package/dist/src/teamcity-client/models/license-key.d.ts +29 -0
  411. package/dist/src/teamcity-client/models/license-key.d.ts.map +1 -0
  412. package/dist/src/teamcity-client/models/license-keys.d.ts +7 -0
  413. package/dist/src/teamcity-client/models/license-keys.d.ts.map +1 -0
  414. package/dist/src/teamcity-client/models/licensing-data.d.ts +26 -0
  415. package/dist/src/teamcity-client/models/licensing-data.d.ts.map +1 -0
  416. package/dist/src/teamcity-client/models/link.d.ts +6 -0
  417. package/dist/src/teamcity-client/models/link.d.ts.map +1 -0
  418. package/dist/src/teamcity-client/models/links.d.ts +6 -0
  419. package/dist/src/teamcity-client/models/links.d.ts.map +1 -0
  420. package/dist/src/teamcity-client/models/matrix-build-feature-descriptor.d.ts +8 -0
  421. package/dist/src/teamcity-client/models/matrix-build-feature-descriptor.d.ts.map +1 -0
  422. package/dist/src/teamcity-client/models/matrix-configuration.d.ts +9 -0
  423. package/dist/src/teamcity-client/models/matrix-configuration.d.ts.map +1 -0
  424. package/dist/src/teamcity-client/models/matrix-dependencies.d.ts +6 -0
  425. package/dist/src/teamcity-client/models/matrix-dependencies.d.ts.map +1 -0
  426. package/dist/src/teamcity-client/models/matrix-dependency.d.ts +7 -0
  427. package/dist/src/teamcity-client/models/matrix-dependency.d.ts.map +1 -0
  428. package/dist/src/teamcity-client/models/matrix-parameter-descriptor.d.ts +7 -0
  429. package/dist/src/teamcity-client/models/matrix-parameter-descriptor.d.ts.map +1 -0
  430. package/dist/src/teamcity-client/models/meta-data.d.ts +6 -0
  431. package/dist/src/teamcity-client/models/meta-data.d.ts.map +1 -0
  432. package/dist/src/teamcity-client/models/metric-tag.d.ts +5 -0
  433. package/dist/src/teamcity-client/models/metric-tag.d.ts.map +1 -0
  434. package/dist/src/teamcity-client/models/metric-tags.d.ts +6 -0
  435. package/dist/src/teamcity-client/models/metric-tags.d.ts.map +1 -0
  436. package/dist/src/teamcity-client/models/metric-value.d.ts +7 -0
  437. package/dist/src/teamcity-client/models/metric-value.d.ts.map +1 -0
  438. package/dist/src/teamcity-client/models/metric-values.d.ts +6 -0
  439. package/dist/src/teamcity-client/models/metric-values.d.ts.map +1 -0
  440. package/dist/src/teamcity-client/models/metric.d.ts +10 -0
  441. package/dist/src/teamcity-client/models/metric.d.ts.map +1 -0
  442. package/dist/src/teamcity-client/models/metrics.d.ts +6 -0
  443. package/dist/src/teamcity-client/models/metrics.d.ts.map +1 -0
  444. package/dist/src/teamcity-client/models/model-file.d.ts +13 -0
  445. package/dist/src/teamcity-client/models/model-file.d.ts.map +1 -0
  446. package/dist/src/teamcity-client/models/multiple-operation-result.d.ts +7 -0
  447. package/dist/src/teamcity-client/models/multiple-operation-result.d.ts.map +1 -0
  448. package/dist/src/teamcity-client/models/mute-locator.d.ts +26 -0
  449. package/dist/src/teamcity-client/models/mute-locator.d.ts.map +1 -0
  450. package/dist/src/teamcity-client/models/mute.d.ts +13 -0
  451. package/dist/src/teamcity-client/models/mute.d.ts.map +1 -0
  452. package/dist/src/teamcity-client/models/mutes.d.ts +9 -0
  453. package/dist/src/teamcity-client/models/mutes.d.ts.map +1 -0
  454. package/dist/src/teamcity-client/models/new-build-type-description.d.ts +13 -0
  455. package/dist/src/teamcity-client/models/new-build-type-description.d.ts.map +1 -0
  456. package/dist/src/teamcity-client/models/new-project-description.d.ts +15 -0
  457. package/dist/src/teamcity-client/models/new-project-description.d.ts.map +1 -0
  458. package/dist/src/teamcity-client/models/node.d.ts +21 -0
  459. package/dist/src/teamcity-client/models/node.d.ts.map +1 -0
  460. package/dist/src/teamcity-client/models/nodes.d.ts +6 -0
  461. package/dist/src/teamcity-client/models/nodes.d.ts.map +1 -0
  462. package/dist/src/teamcity-client/models/operation-result.d.ts +6 -0
  463. package/dist/src/teamcity-client/models/operation-result.d.ts.map +1 -0
  464. package/dist/src/teamcity-client/models/parsed-test-name.d.ts +10 -0
  465. package/dist/src/teamcity-client/models/parsed-test-name.d.ts.map +1 -0
  466. package/dist/src/teamcity-client/models/permission-assignment.d.ts +8 -0
  467. package/dist/src/teamcity-client/models/permission-assignment.d.ts.map +1 -0
  468. package/dist/src/teamcity-client/models/permission-assignments.d.ts +6 -0
  469. package/dist/src/teamcity-client/models/permission-assignments.d.ts.map +1 -0
  470. package/dist/src/teamcity-client/models/permission-restriction.d.ts +8 -0
  471. package/dist/src/teamcity-client/models/permission-restriction.d.ts.map +1 -0
  472. package/dist/src/teamcity-client/models/permission-restrictions.d.ts +6 -0
  473. package/dist/src/teamcity-client/models/permission-restrictions.d.ts.map +1 -0
  474. package/dist/src/teamcity-client/models/permission.d.ts +6 -0
  475. package/dist/src/teamcity-client/models/permission.d.ts.map +1 -0
  476. package/dist/src/teamcity-client/models/permissions.d.ts +6 -0
  477. package/dist/src/teamcity-client/models/permissions.d.ts.map +1 -0
  478. package/dist/src/teamcity-client/models/pin-info.d.ts +6 -0
  479. package/dist/src/teamcity-client/models/pin-info.d.ts.map +1 -0
  480. package/dist/src/teamcity-client/models/plugin.d.ts +9 -0
  481. package/dist/src/teamcity-client/models/plugin.d.ts.map +1 -0
  482. package/dist/src/teamcity-client/models/plugins.d.ts +6 -0
  483. package/dist/src/teamcity-client/models/plugins.d.ts.map +1 -0
  484. package/dist/src/teamcity-client/models/problem-locator.d.ts +15 -0
  485. package/dist/src/teamcity-client/models/problem-locator.d.ts.map +1 -0
  486. package/dist/src/teamcity-client/models/problem-occurrence-locator.d.ts +16 -0
  487. package/dist/src/teamcity-client/models/problem-occurrence-locator.d.ts.map +1 -0
  488. package/dist/src/teamcity-client/models/problem-occurrence.d.ts +20 -0
  489. package/dist/src/teamcity-client/models/problem-occurrence.d.ts.map +1 -0
  490. package/dist/src/teamcity-client/models/problem-occurrences.d.ts +14 -0
  491. package/dist/src/teamcity-client/models/problem-occurrences.d.ts.map +1 -0
  492. package/dist/src/teamcity-client/models/problem-scope.d.ts +9 -0
  493. package/dist/src/teamcity-client/models/problem-scope.d.ts.map +1 -0
  494. package/dist/src/teamcity-client/models/problem-target.d.ts +8 -0
  495. package/dist/src/teamcity-client/models/problem-target.d.ts.map +1 -0
  496. package/dist/src/teamcity-client/models/problem.d.ts +15 -0
  497. package/dist/src/teamcity-client/models/problem.d.ts.map +1 -0
  498. package/dist/src/teamcity-client/models/problems.d.ts +8 -0
  499. package/dist/src/teamcity-client/models/problems.d.ts.map +1 -0
  500. package/dist/src/teamcity-client/models/progress-info.d.ts +13 -0
  501. package/dist/src/teamcity-client/models/progress-info.d.ts.map +1 -0
  502. package/dist/src/teamcity-client/models/project-feature.d.ts +11 -0
  503. package/dist/src/teamcity-client/models/project-feature.d.ts.map +1 -0
  504. package/dist/src/teamcity-client/models/project-features.d.ts +7 -0
  505. package/dist/src/teamcity-client/models/project-features.d.ts.map +1 -0
  506. package/dist/src/teamcity-client/models/project-locator.d.ts +20 -0
  507. package/dist/src/teamcity-client/models/project-locator.d.ts.map +1 -0
  508. package/dist/src/teamcity-client/models/project.d.ts +39 -0
  509. package/dist/src/teamcity-client/models/project.d.ts.map +1 -0
  510. package/dist/src/teamcity-client/models/projects.d.ts +9 -0
  511. package/dist/src/teamcity-client/models/projects.d.ts.map +1 -0
  512. package/dist/src/teamcity-client/models/properties.d.ts +7 -0
  513. package/dist/src/teamcity-client/models/properties.d.ts.map +1 -0
  514. package/dist/src/teamcity-client/models/property.d.ts +8 -0
  515. package/dist/src/teamcity-client/models/property.d.ts.map +1 -0
  516. package/dist/src/teamcity-client/models/related-entities.d.ts +6 -0
  517. package/dist/src/teamcity-client/models/related-entities.d.ts.map +1 -0
  518. package/dist/src/teamcity-client/models/related-entity.d.ts +29 -0
  519. package/dist/src/teamcity-client/models/related-entity.d.ts.map +1 -0
  520. package/dist/src/teamcity-client/models/related.d.ts +5 -0
  521. package/dist/src/teamcity-client/models/related.d.ts.map +1 -0
  522. package/dist/src/teamcity-client/models/repository-state.d.ts +7 -0
  523. package/dist/src/teamcity-client/models/repository-state.d.ts.map +1 -0
  524. package/dist/src/teamcity-client/models/requirements.d.ts +4 -0
  525. package/dist/src/teamcity-client/models/requirements.d.ts.map +1 -0
  526. package/dist/src/teamcity-client/models/resolution.d.ts +11 -0
  527. package/dist/src/teamcity-client/models/resolution.d.ts.map +1 -0
  528. package/dist/src/teamcity-client/models/responsibility.d.ts +5 -0
  529. package/dist/src/teamcity-client/models/responsibility.d.ts.map +1 -0
  530. package/dist/src/teamcity-client/models/revision.d.ts +9 -0
  531. package/dist/src/teamcity-client/models/revision.d.ts.map +1 -0
  532. package/dist/src/teamcity-client/models/revisions.d.ts +7 -0
  533. package/dist/src/teamcity-client/models/revisions.d.ts.map +1 -0
  534. package/dist/src/teamcity-client/models/role.d.ts +6 -0
  535. package/dist/src/teamcity-client/models/role.d.ts.map +1 -0
  536. package/dist/src/teamcity-client/models/roles.d.ts +5 -0
  537. package/dist/src/teamcity-client/models/roles.d.ts.map +1 -0
  538. package/dist/src/teamcity-client/models/server-auth-settings.d.ts +12 -0
  539. package/dist/src/teamcity-client/models/server-auth-settings.d.ts.map +1 -0
  540. package/dist/src/teamcity-client/models/server-global-settings.d.ts +15 -0
  541. package/dist/src/teamcity-client/models/server-global-settings.d.ts.map +1 -0
  542. package/dist/src/teamcity-client/models/server.d.ts +26 -0
  543. package/dist/src/teamcity-client/models/server.d.ts.map +1 -0
  544. package/dist/src/teamcity-client/models/snapshot-dependencies.d.ts +6 -0
  545. package/dist/src/teamcity-client/models/snapshot-dependencies.d.ts.map +1 -0
  546. package/dist/src/teamcity-client/models/snapshot-dependency-link.d.ts +8 -0
  547. package/dist/src/teamcity-client/models/snapshot-dependency-link.d.ts.map +1 -0
  548. package/dist/src/teamcity-client/models/snapshot-dependency.d.ts +13 -0
  549. package/dist/src/teamcity-client/models/snapshot-dependency.d.ts.map +1 -0
  550. package/dist/src/teamcity-client/models/state-field.d.ts +5 -0
  551. package/dist/src/teamcity-client/models/state-field.d.ts.map +1 -0
  552. package/dist/src/teamcity-client/models/step.d.ts +12 -0
  553. package/dist/src/teamcity-client/models/step.d.ts.map +1 -0
  554. package/dist/src/teamcity-client/models/steps.d.ts +6 -0
  555. package/dist/src/teamcity-client/models/steps.d.ts.map +1 -0
  556. package/dist/src/teamcity-client/models/tag-locator.d.ts +6 -0
  557. package/dist/src/teamcity-client/models/tag-locator.d.ts.map +1 -0
  558. package/dist/src/teamcity-client/models/tag.d.ts +7 -0
  559. package/dist/src/teamcity-client/models/tag.d.ts.map +1 -0
  560. package/dist/src/teamcity-client/models/tags.d.ts +6 -0
  561. package/dist/src/teamcity-client/models/tags.d.ts.map +1 -0
  562. package/dist/src/teamcity-client/models/team-city-node-locator.d.ts +6 -0
  563. package/dist/src/teamcity-client/models/team-city-node-locator.d.ts.map +1 -0
  564. package/dist/src/teamcity-client/models/test-counters.d.ts +10 -0
  565. package/dist/src/teamcity-client/models/test-counters.d.ts.map +1 -0
  566. package/dist/src/teamcity-client/models/test-locator.d.ts +14 -0
  567. package/dist/src/teamcity-client/models/test-locator.d.ts.map +1 -0
  568. package/dist/src/teamcity-client/models/test-occurrence-locator.d.ts +31 -0
  569. package/dist/src/teamcity-client/models/test-occurrence-locator.d.ts.map +1 -0
  570. package/dist/src/teamcity-client/models/test-occurrence.d.ts +37 -0
  571. package/dist/src/teamcity-client/models/test-occurrence.d.ts.map +1 -0
  572. package/dist/src/teamcity-client/models/test-occurrences.d.ts +16 -0
  573. package/dist/src/teamcity-client/models/test-occurrences.d.ts.map +1 -0
  574. package/dist/src/teamcity-client/models/test-run-metadata.d.ts +6 -0
  575. package/dist/src/teamcity-client/models/test-run-metadata.d.ts.map +1 -0
  576. package/dist/src/teamcity-client/models/tests.d.ts +10 -0
  577. package/dist/src/teamcity-client/models/tests.d.ts.map +1 -0
  578. package/dist/src/teamcity-client/models/token.d.ts +9 -0
  579. package/dist/src/teamcity-client/models/token.d.ts.map +1 -0
  580. package/dist/src/teamcity-client/models/tokens.d.ts +6 -0
  581. package/dist/src/teamcity-client/models/tokens.d.ts.map +1 -0
  582. package/dist/src/teamcity-client/models/trigger.d.ts +13 -0
  583. package/dist/src/teamcity-client/models/trigger.d.ts.map +1 -0
  584. package/dist/src/teamcity-client/models/triggered-by.d.ts +16 -0
  585. package/dist/src/teamcity-client/models/triggered-by.d.ts.map +1 -0
  586. package/dist/src/teamcity-client/models/triggers.d.ts +6 -0
  587. package/dist/src/teamcity-client/models/triggers.d.ts.map +1 -0
  588. package/dist/src/teamcity-client/models/type.d.ts +4 -0
  589. package/dist/src/teamcity-client/models/type.d.ts.map +1 -0
  590. package/dist/src/teamcity-client/models/typed-value-set.d.ts +10 -0
  591. package/dist/src/teamcity-client/models/typed-value-set.d.ts.map +1 -0
  592. package/dist/src/teamcity-client/models/typed-value-sets.d.ts +6 -0
  593. package/dist/src/teamcity-client/models/typed-value-sets.d.ts.map +1 -0
  594. package/dist/src/teamcity-client/models/typed-value.d.ts +6 -0
  595. package/dist/src/teamcity-client/models/typed-value.d.ts.map +1 -0
  596. package/dist/src/teamcity-client/models/user-approval-rule.d.ts +6 -0
  597. package/dist/src/teamcity-client/models/user-approval-rule.d.ts.map +1 -0
  598. package/dist/src/teamcity-client/models/user-approvals.d.ts +6 -0
  599. package/dist/src/teamcity-client/models/user-approvals.d.ts.map +1 -0
  600. package/dist/src/teamcity-client/models/user-avatars.d.ts +10 -0
  601. package/dist/src/teamcity-client/models/user-avatars.d.ts.map +1 -0
  602. package/dist/src/teamcity-client/models/user-group-locator.d.ts +6 -0
  603. package/dist/src/teamcity-client/models/user-group-locator.d.ts.map +1 -0
  604. package/dist/src/teamcity-client/models/user-locator.d.ts +15 -0
  605. package/dist/src/teamcity-client/models/user-locator.d.ts.map +1 -0
  606. package/dist/src/teamcity-client/models/user.d.ts +22 -0
  607. package/dist/src/teamcity-client/models/user.d.ts.map +1 -0
  608. package/dist/src/teamcity-client/models/users.d.ts +6 -0
  609. package/dist/src/teamcity-client/models/users.d.ts.map +1 -0
  610. package/dist/src/teamcity-client/models/vcs-check-status.d.ts +6 -0
  611. package/dist/src/teamcity-client/models/vcs-check-status.d.ts.map +1 -0
  612. package/dist/src/teamcity-client/models/vcs-label.d.ts +18 -0
  613. package/dist/src/teamcity-client/models/vcs-label.d.ts.map +1 -0
  614. package/dist/src/teamcity-client/models/vcs-labels.d.ts +6 -0
  615. package/dist/src/teamcity-client/models/vcs-labels.d.ts.map +1 -0
  616. package/dist/src/teamcity-client/models/vcs-root-entries.d.ts +6 -0
  617. package/dist/src/teamcity-client/models/vcs-root-entries.d.ts.map +1 -0
  618. package/dist/src/teamcity-client/models/vcs-root-entry.d.ts +8 -0
  619. package/dist/src/teamcity-client/models/vcs-root-entry.d.ts.map +1 -0
  620. package/dist/src/teamcity-client/models/vcs-root-instance-locator.d.ts +38 -0
  621. package/dist/src/teamcity-client/models/vcs-root-instance-locator.d.ts.map +1 -0
  622. package/dist/src/teamcity-client/models/vcs-root-instance.d.ts +24 -0
  623. package/dist/src/teamcity-client/models/vcs-root-instance.d.ts.map +1 -0
  624. package/dist/src/teamcity-client/models/vcs-root-instances.d.ts +9 -0
  625. package/dist/src/teamcity-client/models/vcs-root-instances.d.ts.map +1 -0
  626. package/dist/src/teamcity-client/models/vcs-root-locator.d.ts +37 -0
  627. package/dist/src/teamcity-client/models/vcs-root-locator.d.ts.map +1 -0
  628. package/dist/src/teamcity-client/models/vcs-root.d.ts +20 -0
  629. package/dist/src/teamcity-client/models/vcs-root.d.ts.map +1 -0
  630. package/dist/src/teamcity-client/models/vcs-roots.d.ts +9 -0
  631. package/dist/src/teamcity-client/models/vcs-roots.d.ts.map +1 -0
  632. package/dist/src/teamcity-client/models/vcs-status.d.ts +6 -0
  633. package/dist/src/teamcity-client/models/vcs-status.d.ts.map +1 -0
  634. package/dist/src/teamcity-client/models/versioned-settings-config.d.ts +31 -0
  635. package/dist/src/teamcity-client/models/versioned-settings-config.d.ts.map +1 -0
  636. package/dist/src/teamcity-client/models/versioned-settings-context-parameter.d.ts +5 -0
  637. package/dist/src/teamcity-client/models/versioned-settings-context-parameter.d.ts.map +1 -0
  638. package/dist/src/teamcity-client/models/versioned-settings-context-parameters.d.ts +5 -0
  639. package/dist/src/teamcity-client/models/versioned-settings-context-parameters.d.ts.map +1 -0
  640. package/dist/src/teamcity-client/models/versioned-settings-error.d.ts +7 -0
  641. package/dist/src/teamcity-client/models/versioned-settings-error.d.ts.map +1 -0
  642. package/dist/src/teamcity-client/models/versioned-settings-status.d.ts +15 -0
  643. package/dist/src/teamcity-client/models/versioned-settings-status.d.ts.map +1 -0
  644. package/dist/src/teamcity-client/models/versioned-settings-token.d.ts +6 -0
  645. package/dist/src/teamcity-client/models/versioned-settings-token.d.ts.map +1 -0
  646. package/dist/src/teamcity-client/models/versioned-settings-tokens.d.ts +5 -0
  647. package/dist/src/teamcity-client/models/versioned-settings-tokens.d.ts.map +1 -0
  648. package/dist/src/tools/index.d.ts +2 -0
  649. package/dist/src/tools/index.d.ts.map +1 -0
  650. package/dist/src/tools.d.ts +22 -0
  651. package/dist/src/tools.d.ts.map +1 -0
  652. package/dist/src/types/config.d.ts +129 -0
  653. package/dist/src/types/config.d.ts.map +1 -0
  654. package/dist/src/types/index.d.ts +116 -0
  655. package/dist/src/types/index.d.ts.map +1 -0
  656. package/dist/src/types/mcp.d.ts +68 -0
  657. package/dist/src/types/mcp.d.ts.map +1 -0
  658. package/dist/src/types/project.d.ts +56 -0
  659. package/dist/src/types/project.d.ts.map +1 -0
  660. package/dist/src/types/teamcity.d.ts +258 -0
  661. package/dist/src/types/teamcity.d.ts.map +1 -0
  662. package/dist/src/utils/async/index.d.ts +90 -0
  663. package/dist/src/utils/async/index.d.ts.map +1 -0
  664. package/dist/src/utils/error-logger.d.ts +34 -0
  665. package/dist/src/utils/error-logger.d.ts.map +1 -0
  666. package/dist/src/utils/index.d.ts +23 -0
  667. package/dist/src/utils/index.d.ts.map +1 -0
  668. package/dist/src/utils/logger/index.d.ts +73 -0
  669. package/dist/src/utils/logger/index.d.ts.map +1 -0
  670. package/dist/src/utils/logger.d.ts +11 -0
  671. package/dist/src/utils/logger.d.ts.map +1 -0
  672. package/dist/src/utils/lru-cache.d.ts +20 -0
  673. package/dist/src/utils/lru-cache.d.ts.map +1 -0
  674. package/dist/src/utils/mcp.d.ts +18 -0
  675. package/dist/src/utils/mcp.d.ts.map +1 -0
  676. package/dist/src/utils/validation.d.ts +61 -0
  677. package/dist/src/utils/validation.d.ts.map +1 -0
  678. package/docs/TEAMCITY_MCP_TOOLS_GUIDE.md +1076 -0
  679. package/docs/mcp-tools-mode-matrix.md +68 -0
  680. package/docs/mcp-tools-reference.md +203 -0
  681. package/examples/list-build-configs-usage.ts +276 -0
  682. package/jest.ci.config.js +14 -0
  683. package/jest.config.js +108 -0
  684. package/jest.setup.js +24 -0
  685. package/openapi-generator-config.json +27 -0
  686. package/openapitools.json +7 -0
  687. package/package.json +101 -0
  688. package/scripts/build.cjs +87 -0
  689. package/scripts/debug-fetch-log.ts +52 -0
  690. package/scripts/emit-coverage-stats.js +42 -0
  691. package/scripts/fetch-swagger-spec.ts +140 -0
  692. package/scripts/interact.sh +23 -0
  693. package/scripts/print-builds.ts +21 -0
  694. package/scripts/verify-integration-env.cjs +29 -0
  695. package/src/api-client.ts +307 -0
  696. package/src/config/index.ts +286 -0
  697. package/src/errors/index.ts +25 -0
  698. package/src/formatters/build-step-formatter.ts +178 -0
  699. package/src/formatters/trigger-formatter.ts +207 -0
  700. package/src/index.ts +61 -0
  701. package/src/middleware/error.test.ts +274 -0
  702. package/src/middleware/error.ts +314 -0
  703. package/src/middleware/global-error-handler.test.ts +239 -0
  704. package/src/middleware/global-error-handler.ts +203 -0
  705. package/src/middleware/index.ts +5 -0
  706. package/src/server.ts +126 -0
  707. package/src/swagger/index.ts +220 -0
  708. package/src/swagger/swagger-cache.ts +220 -0
  709. package/src/swagger/swagger-fetcher.ts +126 -0
  710. package/src/swagger/swagger-validator.ts +212 -0
  711. package/src/teamcity/api-types.ts +387 -0
  712. package/src/teamcity/artifact-manager.ts +362 -0
  713. package/src/teamcity/auth.ts +215 -0
  714. package/src/teamcity/branch-discovery-manager.ts +311 -0
  715. package/src/teamcity/branch-filtering-service.ts +369 -0
  716. package/src/teamcity/branch-specification-parser.ts +238 -0
  717. package/src/teamcity/build-config-manager.ts +458 -0
  718. package/src/teamcity/build-config-navigator.ts +589 -0
  719. package/src/teamcity/build-configuration-clone-manager.ts +501 -0
  720. package/src/teamcity/build-configuration-manager.ts +447 -0
  721. package/src/teamcity/build-configuration-resolver.ts +725 -0
  722. package/src/teamcity/build-configuration-update-manager.ts +610 -0
  723. package/src/teamcity/build-list-manager.ts +313 -0
  724. package/src/teamcity/build-parameters-manager.ts +875 -0
  725. package/src/teamcity/build-progress-tracker.ts +514 -0
  726. package/src/teamcity/build-query-builder.ts +325 -0
  727. package/src/teamcity/build-queue-manager.ts +622 -0
  728. package/src/teamcity/build-results-manager.ts +589 -0
  729. package/src/teamcity/build-status-manager.ts +564 -0
  730. package/src/teamcity/build-step-manager.ts +508 -0
  731. package/src/teamcity/build-trigger-manager.ts +1083 -0
  732. package/src/teamcity/circuit-breaker.ts +219 -0
  733. package/src/teamcity/client-adapter.ts +35 -0
  734. package/src/teamcity/client.ts +269 -0
  735. package/src/teamcity/config.ts +188 -0
  736. package/src/teamcity/configuration-branch-matcher.ts +327 -0
  737. package/src/teamcity/errors.ts +351 -0
  738. package/src/teamcity/index.ts +266 -0
  739. package/src/teamcity/pagination.ts +209 -0
  740. package/src/teamcity/project-list-manager.ts +267 -0
  741. package/src/teamcity/project-manager.ts +493 -0
  742. package/src/teamcity/project-navigator.ts +664 -0
  743. package/src/teamcity/test-problem-reporter.ts +423 -0
  744. package/src/teamcity/types/api-responses.ts +314 -0
  745. package/src/teamcity-client/.openapi-generator/FILES +274 -0
  746. package/src/teamcity-client/.openapi-generator/VERSION +1 -0
  747. package/src/teamcity-client/.openapi-generator-ignore +23 -0
  748. package/src/teamcity-client/README.md +50 -0
  749. package/src/teamcity-client/api/agent-api.ts +2046 -0
  750. package/src/teamcity-client/api/agent-pool-api.ts +1877 -0
  751. package/src/teamcity-client/api/agent-type-api.ts +213 -0
  752. package/src/teamcity-client/api/audit-api.ts +341 -0
  753. package/src/teamcity-client/api/avatar-api.ts +569 -0
  754. package/src/teamcity-client/api/build-api.ts +7726 -0
  755. package/src/teamcity-client/api/build-queue-api.ts +1922 -0
  756. package/src/teamcity-client/api/build-type-api.ts +15502 -0
  757. package/src/teamcity-client/api/change-api.ts +1311 -0
  758. package/src/teamcity-client/api/cloud-instance-api.ts +1289 -0
  759. package/src/teamcity-client/api/deployment-dashboard-api.ts +1295 -0
  760. package/src/teamcity-client/api/global-server-settings-api.ts +286 -0
  761. package/src/teamcity-client/api/group-api.ts +2084 -0
  762. package/src/teamcity-client/api/health-api.ts +566 -0
  763. package/src/teamcity-client/api/investigation-api.ts +856 -0
  764. package/src/teamcity-client/api/mute-api.ts +824 -0
  765. package/src/teamcity-client/api/node-api.ts +877 -0
  766. package/src/teamcity-client/api/problem-api.ts +337 -0
  767. package/src/teamcity-client/api/problem-occurrence-api.ts +349 -0
  768. package/src/teamcity-client/api/project-api.ts +6511 -0
  769. package/src/teamcity-client/api/role-api.ts +1062 -0
  770. package/src/teamcity-client/api/root-api.ts +439 -0
  771. package/src/teamcity-client/api/server-api.ts +2306 -0
  772. package/src/teamcity-client/api/server-authentication-settings-api.ts +289 -0
  773. package/src/teamcity-client/api/test-api.ts +329 -0
  774. package/src/teamcity-client/api/test-occurrence-api.ts +340 -0
  775. package/src/teamcity-client/api/user-api.ts +3644 -0
  776. package/src/teamcity-client/api/vcs-root-api.ts +1837 -0
  777. package/src/teamcity-client/api/vcs-root-instance-api.ts +2479 -0
  778. package/src/teamcity-client/api/versioned-settings-api.ts +2025 -0
  779. package/src/teamcity-client/api.ts +44 -0
  780. package/src/teamcity-client/base.ts +91 -0
  781. package/src/teamcity-client/common.ts +197 -0
  782. package/src/teamcity-client/configuration.ts +130 -0
  783. package/src/teamcity-client/git_push.sh +57 -0
  784. package/src/teamcity-client/index.ts +17 -0
  785. package/src/teamcity-client/models/agent-locator.ts +124 -0
  786. package/src/teamcity-client/models/agent-pool-locator.ts +63 -0
  787. package/src/teamcity-client/models/agent-pool.ts +87 -0
  788. package/src/teamcity-client/models/agent-pools.ts +54 -0
  789. package/src/teamcity-client/models/agent-requirement.ts +66 -0
  790. package/src/teamcity-client/models/agent-requirements.ts +36 -0
  791. package/src/teamcity-client/models/agent-type-locator.ts +51 -0
  792. package/src/teamcity-client/models/agent-type.ts +81 -0
  793. package/src/teamcity-client/models/agent-types.ts +54 -0
  794. package/src/teamcity-client/models/agent.ts +295 -0
  795. package/src/teamcity-client/models/agents.ts +54 -0
  796. package/src/teamcity-client/models/approvable-build.ts +39 -0
  797. package/src/teamcity-client/models/approval-info.ts +100 -0
  798. package/src/teamcity-client/models/artifact-dependencies.ts +42 -0
  799. package/src/teamcity-client/models/artifact-dependency.ts +75 -0
  800. package/src/teamcity-client/models/artifact-download-info.ts +33 -0
  801. package/src/teamcity-client/models/audit-action.ts +39 -0
  802. package/src/teamcity-client/models/audit-event.ts +66 -0
  803. package/src/teamcity-client/models/audit-events.ts +54 -0
  804. package/src/teamcity-client/models/audit-locator.ts +315 -0
  805. package/src/teamcity-client/models/auth-module.ts +36 -0
  806. package/src/teamcity-client/models/auth-modules.ts +30 -0
  807. package/src/teamcity-client/models/authorization-tokens-requirements.ts +33 -0
  808. package/src/teamcity-client/models/authorized-info.ts +36 -0
  809. package/src/teamcity-client/models/branch-locator.ts +117 -0
  810. package/src/teamcity-client/models/branch-version.ts +78 -0
  811. package/src/teamcity-client/models/branch.ts +72 -0
  812. package/src/teamcity-client/models/branches.ts +42 -0
  813. package/src/teamcity-client/models/build-cancel-request.ts +33 -0
  814. package/src/teamcity-client/models/build-change.ts +36 -0
  815. package/src/teamcity-client/models/build-changes.ts +36 -0
  816. package/src/teamcity-client/models/build-executor.ts +27 -0
  817. package/src/teamcity-client/models/build-locator.ts +277 -0
  818. package/src/teamcity-client/models/build-queue-locator.ts +87 -0
  819. package/src/teamcity-client/models/build-status-update.ts +33 -0
  820. package/src/teamcity-client/models/build-trigger-customization.ts +42 -0
  821. package/src/teamcity-client/models/build-triggering-options.ts +72 -0
  822. package/src/teamcity-client/models/build-type-locator.ts +111 -0
  823. package/src/teamcity-client/models/build-type.ts +305 -0
  824. package/src/teamcity-client/models/build-types.ts +54 -0
  825. package/src/teamcity-client/models/build.ts +631 -0
  826. package/src/teamcity-client/models/builds-with-reason.ts +36 -0
  827. package/src/teamcity-client/models/builds.ts +54 -0
  828. package/src/teamcity-client/models/change-locator.ts +129 -0
  829. package/src/teamcity-client/models/change-status.ts +114 -0
  830. package/src/teamcity-client/models/change.ts +186 -0
  831. package/src/teamcity-client/models/changes.ts +54 -0
  832. package/src/teamcity-client/models/cleanup.ts +51 -0
  833. package/src/teamcity-client/models/cloud-error.ts +33 -0
  834. package/src/teamcity-client/models/cloud-image-locator.ts +105 -0
  835. package/src/teamcity-client/models/cloud-image.ts +102 -0
  836. package/src/teamcity-client/models/cloud-images.ts +54 -0
  837. package/src/teamcity-client/models/cloud-instance-locator.ts +81 -0
  838. package/src/teamcity-client/models/cloud-instance.ts +90 -0
  839. package/src/teamcity-client/models/cloud-instances.ts +54 -0
  840. package/src/teamcity-client/models/cloud-profile-locator.ts +81 -0
  841. package/src/teamcity-client/models/cloud-profile.ts +72 -0
  842. package/src/teamcity-client/models/cloud-profiles.ts +54 -0
  843. package/src/teamcity-client/models/comment.ts +42 -0
  844. package/src/teamcity-client/models/commiter.ts +36 -0
  845. package/src/teamcity-client/models/compatibilities.ts +36 -0
  846. package/src/teamcity-client/models/compatibility-policy.ts +36 -0
  847. package/src/teamcity-client/models/compatibility.ts +54 -0
  848. package/src/teamcity-client/models/composite-approval-rule.ts +54 -0
  849. package/src/teamcity-client/models/composite-approvals.ts +36 -0
  850. package/src/teamcity-client/models/cron.ts +51 -0
  851. package/src/teamcity-client/models/customizations.ts +45 -0
  852. package/src/teamcity-client/models/daily.ts +33 -0
  853. package/src/teamcity-client/models/datas.ts +36 -0
  854. package/src/teamcity-client/models/deployment-dashboard-locator.ts +57 -0
  855. package/src/teamcity-client/models/deployment-dashboard.ts +51 -0
  856. package/src/teamcity-client/models/deployment-dashboards.ts +54 -0
  857. package/src/teamcity-client/models/deployment-history.ts +36 -0
  858. package/src/teamcity-client/models/deployment-instance-locator.ts +62 -0
  859. package/src/teamcity-client/models/deployment-instance.ts +68 -0
  860. package/src/teamcity-client/models/deployment-instances.ts +54 -0
  861. package/src/teamcity-client/models/deployment-state-entries.ts +45 -0
  862. package/src/teamcity-client/models/deployment-state-entry.ts +59 -0
  863. package/src/teamcity-client/models/disabled-responsibilities.ts +36 -0
  864. package/src/teamcity-client/models/download-info.ts +45 -0
  865. package/src/teamcity-client/models/downloaded-artifacts.ts +42 -0
  866. package/src/teamcity-client/models/effective-responsibilities.ts +36 -0
  867. package/src/teamcity-client/models/enabled-info.ts +42 -0
  868. package/src/teamcity-client/models/enabled-responsibilities.ts +36 -0
  869. package/src/teamcity-client/models/entries.ts +36 -0
  870. package/src/teamcity-client/models/entry.ts +33 -0
  871. package/src/teamcity-client/models/environment.ts +33 -0
  872. package/src/teamcity-client/models/feature.ts +66 -0
  873. package/src/teamcity-client/models/features.ts +36 -0
  874. package/src/teamcity-client/models/file-change.ts +63 -0
  875. package/src/teamcity-client/models/file-changes.ts +36 -0
  876. package/src/teamcity-client/models/files.ts +39 -0
  877. package/src/teamcity-client/models/group-approval-rule.ts +45 -0
  878. package/src/teamcity-client/models/group-approvals.ts +36 -0
  879. package/src/teamcity-client/models/group.ts +87 -0
  880. package/src/teamcity-client/models/groups.ts +36 -0
  881. package/src/teamcity-client/models/health-categories.ts +54 -0
  882. package/src/teamcity-client/models/health-category.ts +45 -0
  883. package/src/teamcity-client/models/health-item.ts +51 -0
  884. package/src/teamcity-client/models/health-status-items.ts +54 -0
  885. package/src/teamcity-client/models/href.ts +27 -0
  886. package/src/teamcity-client/models/index.ts +229 -0
  887. package/src/teamcity-client/models/investigation-locator.ts +125 -0
  888. package/src/teamcity-client/models/investigation.ts +100 -0
  889. package/src/teamcity-client/models/investigations.ts +54 -0
  890. package/src/teamcity-client/models/issue-usage.ts +39 -0
  891. package/src/teamcity-client/models/issue.ts +33 -0
  892. package/src/teamcity-client/models/issues-usages.ts +42 -0
  893. package/src/teamcity-client/models/issues.ts +30 -0
  894. package/src/teamcity-client/models/items.ts +27 -0
  895. package/src/teamcity-client/models/labeled-value.ts +33 -0
  896. package/src/teamcity-client/models/license-key.ts +134 -0
  897. package/src/teamcity-client/models/license-keys.ts +42 -0
  898. package/src/teamcity-client/models/licensing-data.ts +114 -0
  899. package/src/teamcity-client/models/link.ts +39 -0
  900. package/src/teamcity-client/models/links.ts +36 -0
  901. package/src/teamcity-client/models/matrix-build-feature-descriptor.ts +48 -0
  902. package/src/teamcity-client/models/matrix-configuration.ts +51 -0
  903. package/src/teamcity-client/models/matrix-dependencies.ts +36 -0
  904. package/src/teamcity-client/models/matrix-dependency.ts +39 -0
  905. package/src/teamcity-client/models/matrix-parameter-descriptor.ts +42 -0
  906. package/src/teamcity-client/models/meta-data.ts +36 -0
  907. package/src/teamcity-client/models/metric-tag.ts +33 -0
  908. package/src/teamcity-client/models/metric-tags.ts +36 -0
  909. package/src/teamcity-client/models/metric-value.ts +42 -0
  910. package/src/teamcity-client/models/metric-values.ts +36 -0
  911. package/src/teamcity-client/models/metric.ts +57 -0
  912. package/src/teamcity-client/models/metrics.ts +36 -0
  913. package/src/teamcity-client/models/model-file.ts +75 -0
  914. package/src/teamcity-client/models/multiple-operation-result.ts +42 -0
  915. package/src/teamcity-client/models/mute-locator.ts +108 -0
  916. package/src/teamcity-client/models/mute.ts +69 -0
  917. package/src/teamcity-client/models/mutes.ts +54 -0
  918. package/src/teamcity-client/models/new-build-type-description.ts +75 -0
  919. package/src/teamcity-client/models/new-project-description.ts +87 -0
  920. package/src/teamcity-client/models/node.ts +87 -0
  921. package/src/teamcity-client/models/nodes.ts +36 -0
  922. package/src/teamcity-client/models/operation-result.ts +36 -0
  923. package/src/teamcity-client/models/parsed-test-name.ts +63 -0
  924. package/src/teamcity-client/models/permission-assignment.ts +45 -0
  925. package/src/teamcity-client/models/permission-assignments.ts +36 -0
  926. package/src/teamcity-client/models/permission-restriction.ts +45 -0
  927. package/src/teamcity-client/models/permission-restrictions.ts +36 -0
  928. package/src/teamcity-client/models/permission.ts +39 -0
  929. package/src/teamcity-client/models/permissions.ts +36 -0
  930. package/src/teamcity-client/models/pin-info.ts +36 -0
  931. package/src/teamcity-client/models/plugin.ts +54 -0
  932. package/src/teamcity-client/models/plugins.ts +36 -0
  933. package/src/teamcity-client/models/problem-locator.ts +93 -0
  934. package/src/teamcity-client/models/problem-occurrence-locator.ts +99 -0
  935. package/src/teamcity-client/models/problem-occurrence.ts +114 -0
  936. package/src/teamcity-client/models/problem-occurrences.ts +84 -0
  937. package/src/teamcity-client/models/problem-scope.ts +48 -0
  938. package/src/teamcity-client/models/problem-target.ts +45 -0
  939. package/src/teamcity-client/models/problem.ts +84 -0
  940. package/src/teamcity-client/models/problems.ts +48 -0
  941. package/src/teamcity-client/models/progress-info.ts +78 -0
  942. package/src/teamcity-client/models/project-feature.ts +66 -0
  943. package/src/teamcity-client/models/project-features.ts +42 -0
  944. package/src/teamcity-client/models/project-locator.ts +123 -0
  945. package/src/teamcity-client/models/project.ts +207 -0
  946. package/src/teamcity-client/models/projects.ts +54 -0
  947. package/src/teamcity-client/models/properties.ts +42 -0
  948. package/src/teamcity-client/models/property.ts +48 -0
  949. package/src/teamcity-client/models/related-entities.ts +36 -0
  950. package/src/teamcity-client/models/related-entity.ts +144 -0
  951. package/src/teamcity-client/models/related.ts +30 -0
  952. package/src/teamcity-client/models/repository-state.ts +42 -0
  953. package/src/teamcity-client/models/requirements.ts +27 -0
  954. package/src/teamcity-client/models/resolution.ts +41 -0
  955. package/src/teamcity-client/models/responsibility.ts +33 -0
  956. package/src/teamcity-client/models/revision.ts +54 -0
  957. package/src/teamcity-client/models/revisions.ts +42 -0
  958. package/src/teamcity-client/models/role.ts +39 -0
  959. package/src/teamcity-client/models/roles.ts +30 -0
  960. package/src/teamcity-client/models/server-auth-settings.ts +72 -0
  961. package/src/teamcity-client/models/server-global-settings.ts +93 -0
  962. package/src/teamcity-client/models/server.ts +156 -0
  963. package/src/teamcity-client/models/snapshot-dependencies.ts +36 -0
  964. package/src/teamcity-client/models/snapshot-dependency-link.ts +45 -0
  965. package/src/teamcity-client/models/snapshot-dependency.ts +75 -0
  966. package/src/teamcity-client/models/state-field.ts +33 -0
  967. package/src/teamcity-client/models/step.ts +72 -0
  968. package/src/teamcity-client/models/steps.ts +36 -0
  969. package/src/teamcity-client/models/tag-locator.ts +39 -0
  970. package/src/teamcity-client/models/tag.ts +42 -0
  971. package/src/teamcity-client/models/tags.ts +36 -0
  972. package/src/teamcity-client/models/team-city-node-locator.ts +39 -0
  973. package/src/teamcity-client/models/test-counters.ts +63 -0
  974. package/src/teamcity-client/models/test-locator.ts +87 -0
  975. package/src/teamcity-client/models/test-occurrence-locator.ts +147 -0
  976. package/src/teamcity-client/models/test-occurrence.ts +173 -0
  977. package/src/teamcity-client/models/test-occurrences.ts +93 -0
  978. package/src/teamcity-client/models/test-run-metadata.ts +36 -0
  979. package/src/teamcity-client/models/tests.ts +57 -0
  980. package/src/teamcity-client/models/token.ts +54 -0
  981. package/src/teamcity-client/models/tokens.ts +36 -0
  982. package/src/teamcity-client/models/trigger.ts +75 -0
  983. package/src/teamcity-client/models/triggered-by.ts +87 -0
  984. package/src/teamcity-client/models/triggers.ts +36 -0
  985. package/src/teamcity-client/models/type.ts +27 -0
  986. package/src/teamcity-client/models/typed-value-set.ts +60 -0
  987. package/src/teamcity-client/models/typed-value-sets.ts +36 -0
  988. package/src/teamcity-client/models/typed-value.ts +39 -0
  989. package/src/teamcity-client/models/user-approval-rule.ts +36 -0
  990. package/src/teamcity-client/models/user-approvals.ts +36 -0
  991. package/src/teamcity-client/models/user-avatars.ts +63 -0
  992. package/src/teamcity-client/models/user-group-locator.ts +39 -0
  993. package/src/teamcity-client/models/user-locator.ts +93 -0
  994. package/src/teamcity-client/models/user.ts +123 -0
  995. package/src/teamcity-client/models/users.ts +36 -0
  996. package/src/teamcity-client/models/vcs-check-status.ts +39 -0
  997. package/src/teamcity-client/models/vcs-label.ts +65 -0
  998. package/src/teamcity-client/models/vcs-labels.ts +36 -0
  999. package/src/teamcity-client/models/vcs-root-entries.ts +36 -0
  1000. package/src/teamcity-client/models/vcs-root-entry.ts +48 -0
  1001. package/src/teamcity-client/models/vcs-root-instance-locator.ts +124 -0
  1002. package/src/teamcity-client/models/vcs-root-instance.ts +132 -0
  1003. package/src/teamcity-client/models/vcs-root-instances.ts +54 -0
  1004. package/src/teamcity-client/models/vcs-root-locator.ts +118 -0
  1005. package/src/teamcity-client/models/vcs-root.ts +111 -0
  1006. package/src/teamcity-client/models/vcs-roots.ts +54 -0
  1007. package/src/teamcity-client/models/vcs-status.ts +36 -0
  1008. package/src/teamcity-client/models/versioned-settings-config.ts +111 -0
  1009. package/src/teamcity-client/models/versioned-settings-context-parameter.ts +33 -0
  1010. package/src/teamcity-client/models/versioned-settings-context-parameters.ts +30 -0
  1011. package/src/teamcity-client/models/versioned-settings-error.ts +45 -0
  1012. package/src/teamcity-client/models/versioned-settings-status.ts +68 -0
  1013. package/src/teamcity-client/models/versioned-settings-token.ts +39 -0
  1014. package/src/teamcity-client/models/versioned-settings-tokens.ts +30 -0
  1015. package/src/teamcity-client/package.json +33 -0
  1016. package/src/teamcity-client/tsconfig.esm.json +7 -0
  1017. package/src/teamcity-client/tsconfig.json +13 -0
  1018. package/src/teamcity-client-types.d.ts +27 -0
  1019. package/src/tools/index.ts +2 -0
  1020. package/src/tools.ts +2890 -0
  1021. package/src/types/config.ts +140 -0
  1022. package/src/types/index.ts +171 -0
  1023. package/src/types/mcp.ts +80 -0
  1024. package/src/types/project.ts +128 -0
  1025. package/src/types/teamcity.ts +289 -0
  1026. package/src/utils/async/index.test.ts +664 -0
  1027. package/src/utils/async/index.ts +578 -0
  1028. package/src/utils/error-logger.test.ts +173 -0
  1029. package/src/utils/error-logger.ts +145 -0
  1030. package/src/utils/index.ts +88 -0
  1031. package/src/utils/logger/index.test.ts +271 -0
  1032. package/src/utils/logger/index.ts +441 -0
  1033. package/src/utils/logger.ts +49 -0
  1034. package/src/utils/lru-cache.ts +105 -0
  1035. package/src/utils/mcp.ts +84 -0
  1036. package/src/utils/validation.ts +284 -0
  1037. package/tests/__mocks__/@modelcontextprotocol/sdk/server/index.js +31 -0
  1038. package/tests/__mocks__/@modelcontextprotocol/sdk/server/stdio.js +12 -0
  1039. package/tests/__mocks__/@modelcontextprotocol/sdk/types.js +16 -0
  1040. package/tests/development-tooling.test.ts +207 -0
  1041. package/tests/e2e/cleanup.ts +68 -0
  1042. package/tests/e2e/index.ts +166 -0
  1043. package/tests/e2e/mcp-client.ts +73 -0
  1044. package/tests/e2e/setup-playground.ts +67 -0
  1045. package/tests/integration/branches-and-queue-scenario.test.ts +108 -0
  1046. package/tests/integration/build-config-clone-update-scenario.test.ts +80 -0
  1047. package/tests/integration/build-results-and-logs-scenario.test.ts +136 -0
  1048. package/tests/integration/dev-tools-list.test.ts +103 -0
  1049. package/tests/integration/e2e-scenario.test.ts +147 -0
  1050. package/tests/integration/lib/mcp-runner.ts +59 -0
  1051. package/tests/integration/parameters-scenario.test.ts +85 -0
  1052. package/tests/integration/pause-configs-scenario.test.ts +74 -0
  1053. package/tests/integration/queue-maintenance-scenario.test.ts +132 -0
  1054. package/tests/integration/server-health-scenario.test.ts +59 -0
  1055. package/tests/integration/triggers-scenario.test.ts +80 -0
  1056. package/tests/integration/vcs-scenario.test.ts +78 -0
  1057. package/tests/jest.test.js +122 -0
  1058. package/tests/mcp-server.test.ts +378 -0
  1059. package/tests/setup.test.js +97 -0
  1060. package/tests/setup.ts +88 -0
  1061. package/tests/swagger/swagger-fetcher.test.ts +619 -0
  1062. package/tests/teamcity/auth.test.ts +276 -0
  1063. package/tests/teamcity/circuit-breaker.test.ts +304 -0
  1064. package/tests/teamcity/errors.test.ts +221 -0
  1065. package/tests/test-utils/mock-logger.ts +15 -0
  1066. package/tests/test-utils/mock-teamcity-client.ts +403 -0
  1067. package/tests/testing-infrastructure.test.ts +209 -0
  1068. package/tests/tooling.test.js +118 -0
  1069. package/tests/types/shims.d.ts +20 -0
  1070. package/tests/types/tool-results.ts +68 -0
  1071. package/tests/typescript.test.js +108 -0
  1072. package/tests/unit/mcp/server-lifecycle.test.ts +301 -0
  1073. package/tests/unit/middleware/error.test.ts +283 -0
  1074. package/tests/unit/server.test.ts +102 -0
  1075. package/tests/unit/swagger/swagger-manager.test.ts +89 -0
  1076. package/tests/unit/teamcity/artifact-manager.test.ts +450 -0
  1077. package/tests/unit/teamcity/branch-discovery-manager.test.ts +561 -0
  1078. package/tests/unit/teamcity/branch-filtering-service.test.ts +481 -0
  1079. package/tests/unit/teamcity/branch-specification-parser.test.ts +443 -0
  1080. package/tests/unit/teamcity/build-config-navigator-more.test.ts +245 -0
  1081. package/tests/unit/teamcity/build-config-navigator.test.ts +1452 -0
  1082. package/tests/unit/teamcity/build-configuration-manager.test.ts +750 -0
  1083. package/tests/unit/teamcity/build-configuration-resolver.test.ts +659 -0
  1084. package/tests/unit/teamcity/build-list-manager.test.ts +574 -0
  1085. package/tests/unit/teamcity/build-parameters-manager.test.ts +712 -0
  1086. package/tests/unit/teamcity/build-progress-tracker.test.ts +1030 -0
  1087. package/tests/unit/teamcity/build-query-builder.test.ts +311 -0
  1088. package/tests/unit/teamcity/build-queue-manager.test.ts +879 -0
  1089. package/tests/unit/teamcity/build-results-manager.test.ts +630 -0
  1090. package/tests/unit/teamcity/build-status-manager.test.ts +640 -0
  1091. package/tests/unit/teamcity/build-step-manager.test.ts +886 -0
  1092. package/tests/unit/teamcity/build-trigger-manager.test.ts +1052 -0
  1093. package/tests/unit/teamcity/configuration-branch-matcher.test.ts +692 -0
  1094. package/tests/unit/teamcity/pagination.test.ts +118 -0
  1095. package/tests/unit/teamcity/project-list-manager.test.ts +118 -0
  1096. package/tests/unit/teamcity/project-manager-branches.test.ts +176 -0
  1097. package/tests/unit/teamcity/project-manager-more.test.ts +90 -0
  1098. package/tests/unit/teamcity/project-manager.test.ts +189 -0
  1099. package/tests/unit/teamcity/project-navigator-branches.test.ts +168 -0
  1100. package/tests/unit/teamcity/project-navigator-more.test.ts +58 -0
  1101. package/tests/unit/teamcity/project-navigator.test.ts +791 -0
  1102. package/tests/unit/teamcity/test-problem-reporter-trend-patterns.test.ts +80 -0
  1103. package/tests/unit/teamcity/test-problem-reporter.test.ts +551 -0
  1104. package/tests/unit/tools/agent-vcs-admin.test.ts +121 -0
  1105. package/tests/unit/tools/availability-and-queue.test.ts +118 -0
  1106. package/tests/unit/tools/branches-vcs-agents.test.ts +119 -0
  1107. package/tests/unit/tools/build-actions-and-status.test.ts +125 -0
  1108. package/tests/unit/tools/bulk-surface-coverage.test.ts +116 -0
  1109. package/tests/unit/tools/compatibility-lookups.test.ts +150 -0
  1110. package/tests/unit/tools/fetch-build-log-ambiguity.test.ts +70 -0
  1111. package/tests/unit/tools/fetch-build-log-by-number.test.ts +66 -0
  1112. package/tests/unit/tools/fetch-build-log-pagination.test.ts +73 -0
  1113. package/tests/unit/tools/fetch-build-log-tail.test.ts +33 -0
  1114. package/tests/unit/tools/get-status-and-results.test.ts +67 -0
  1115. package/tests/unit/tools/list-branches-and-parameters.test.ts +36 -0
  1116. package/tests/unit/tools/list-build-configs-pagination.test.ts +39 -0
  1117. package/tests/unit/tools/list-builds-pagination.test.ts +45 -0
  1118. package/tests/unit/tools/list-pagination-all.test.ts +259 -0
  1119. package/tests/unit/tools/list-projects-pagination.test.ts +39 -0
  1120. package/tests/unit/tools/parameters-and-steps-triggers.test.ts +176 -0
  1121. package/tests/unit/tools/project-build-crud.test.ts +110 -0
  1122. package/tests/unit/tools/project-hierarchy.test.ts +46 -0
  1123. package/tests/unit/tools/queue-maintenance.test.ts +130 -0
  1124. package/tests/unit/tools/server-health-and-metrics.test.ts +134 -0
  1125. package/tests/unit/tools/simple-getters.test.ts +88 -0
  1126. package/tests/unit/tools/update_project_settings.test.ts +64 -0
  1127. package/tests/unit/utils/lru-cache.test.ts +77 -0
  1128. package/tests/unit/utils/mcp.test.ts +82 -0
  1129. package/tests/unit/utils/runTool.test.ts +38 -0
  1130. package/tests/unit/utils/validation.test.ts +168 -0
  1131. package/tsconfig.build.json +28 -0
  1132. package/tsconfig.json +60 -0
  1133. package/tsconfig.lint.json +13 -0
@@ -0,0 +1,3644 @@
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 { Group } from '../models';
43
+ // @ts-ignore
44
+ import type { Groups } from '../models';
45
+ // @ts-ignore
46
+ import type { PermissionAssignments } from '../models';
47
+ // @ts-ignore
48
+ import type { Properties } from '../models';
49
+ // @ts-ignore
50
+ import type { Role } from '../models';
51
+ // @ts-ignore
52
+ import type { Roles } from '../models';
53
+ // @ts-ignore
54
+ import type { Token } from '../models';
55
+ // @ts-ignore
56
+ import type { Tokens } from '../models';
57
+ // @ts-ignore
58
+ import type { User } from '../models';
59
+ // @ts-ignore
60
+ import type { Users } from '../models';
61
+
62
+ /**
63
+ * UserApi - axios parameter creator
64
+ * @export
65
+ */
66
+ export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
67
+ return {
68
+ /**
69
+ *
70
+ * @summary Add a role to the matching user.
71
+ * @param {string} userLocator
72
+ * @param {Role} [body]
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ addRoleToUser: async (
77
+ userLocator: string,
78
+ body?: Role,
79
+ options: RawAxiosRequestConfig = {}
80
+ ): Promise<RequestArgs> => {
81
+ // verify required parameter 'userLocator' is not null or undefined
82
+ assertParamExists('addRoleToUser', 'userLocator', userLocator);
83
+ const localVarPath = `/app/rest/users/{userLocator}/roles`.replace(
84
+ `{${'userLocator'}}`,
85
+ encodeURIComponent(String(userLocator))
86
+ );
87
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
88
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
89
+ let baseOptions;
90
+ if (configuration) {
91
+ baseOptions = configuration.baseOptions;
92
+ }
93
+
94
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
95
+ const localVarHeaderParameter = {} as Record<string, string>;
96
+ const localVarQueryParameter = {} as Record<string, string>;
97
+
98
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
99
+
100
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
101
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
102
+ localVarRequestOptions.headers = {
103
+ ...localVarHeaderParameter,
104
+ ...headersFromBaseOptions,
105
+ ...options["headers"],
106
+ };
107
+ localVarRequestOptions.data = serializeDataIfNeeded(
108
+ body,
109
+ localVarRequestOptions,
110
+ configuration
111
+ );
112
+
113
+ return {
114
+ url: toPathString(localVarUrlObj),
115
+ options: localVarRequestOptions,
116
+ };
117
+ },
118
+ /**
119
+ *
120
+ * @summary Add a role with the specific scope to the matching user.
121
+ * @param {string} userLocator
122
+ * @param {string} roleId
123
+ * @param {string} scope
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ addRoleToUserAtScope: async (
128
+ userLocator: string,
129
+ roleId: string,
130
+ scope: string,
131
+ options: RawAxiosRequestConfig = {}
132
+ ): Promise<RequestArgs> => {
133
+ // verify required parameter 'userLocator' is not null or undefined
134
+ assertParamExists('addRoleToUserAtScope', 'userLocator', userLocator);
135
+ // verify required parameter 'roleId' is not null or undefined
136
+ assertParamExists('addRoleToUserAtScope', 'roleId', roleId);
137
+ // verify required parameter 'scope' is not null or undefined
138
+ assertParamExists('addRoleToUserAtScope', 'scope', scope);
139
+ const localVarPath = `/app/rest/users/{userLocator}/roles/{roleId}/{scope}`
140
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
141
+ .replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)))
142
+ .replace(`{${'scope'}}`, encodeURIComponent(String(scope)));
143
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
144
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
145
+ let baseOptions;
146
+ if (configuration) {
147
+ baseOptions = configuration.baseOptions;
148
+ }
149
+
150
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
151
+ const localVarHeaderParameter = {} as Record<string, string>;
152
+ const localVarQueryParameter = {} as Record<string, string>;
153
+
154
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
155
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
156
+ localVarRequestOptions.headers = {
157
+ ...localVarHeaderParameter,
158
+ ...headersFromBaseOptions,
159
+ ...options["headers"],
160
+ };
161
+
162
+ return {
163
+ url: toPathString(localVarUrlObj),
164
+ options: localVarRequestOptions,
165
+ };
166
+ },
167
+ /**
168
+ *
169
+ * @summary Create a new user.
170
+ * @param {string} [fields]
171
+ * @param {User} [body]
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ addUser: async (
176
+ fields?: string,
177
+ body?: User,
178
+ options: RawAxiosRequestConfig = {}
179
+ ): Promise<RequestArgs> => {
180
+ const localVarPath = `/app/rest/users`;
181
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
182
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
183
+ let baseOptions;
184
+ if (configuration) {
185
+ baseOptions = configuration.baseOptions;
186
+ }
187
+
188
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
189
+ const localVarHeaderParameter = {} as Record<string, string>;
190
+ const localVarQueryParameter = {} as Record<string, string>;
191
+
192
+ if (fields !== undefined) {
193
+ localVarQueryParameter['fields'] = String(fields);
194
+ }
195
+
196
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
197
+
198
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
199
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
200
+ localVarRequestOptions.headers = {
201
+ ...localVarHeaderParameter,
202
+ ...headersFromBaseOptions,
203
+ ...options["headers"],
204
+ };
205
+ localVarRequestOptions.data = serializeDataIfNeeded(
206
+ body,
207
+ localVarRequestOptions,
208
+ configuration
209
+ );
210
+
211
+ return {
212
+ url: toPathString(localVarUrlObj),
213
+ options: localVarRequestOptions,
214
+ };
215
+ },
216
+ /**
217
+ *
218
+ * @summary Create a new authentication token for the matching user.
219
+ * @param {string} userLocator
220
+ * @param {string} [fields]
221
+ * @param {Token} [body]
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ addUserToken: async (
226
+ userLocator: string,
227
+ fields?: string,
228
+ body?: Token,
229
+ options: RawAxiosRequestConfig = {}
230
+ ): Promise<RequestArgs> => {
231
+ // verify required parameter 'userLocator' is not null or undefined
232
+ assertParamExists('addUserToken', 'userLocator', userLocator);
233
+ const localVarPath = `/app/rest/users/{userLocator}/tokens`.replace(
234
+ `{${'userLocator'}}`,
235
+ encodeURIComponent(String(userLocator))
236
+ );
237
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
238
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
239
+ let baseOptions;
240
+ if (configuration) {
241
+ baseOptions = configuration.baseOptions;
242
+ }
243
+
244
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
245
+ const localVarHeaderParameter = {} as Record<string, string>;
246
+ const localVarQueryParameter = {} as Record<string, string>;
247
+
248
+ if (fields !== undefined) {
249
+ localVarQueryParameter['fields'] = String(fields);
250
+ }
251
+
252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
253
+
254
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
255
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
256
+ localVarRequestOptions.headers = {
257
+ ...localVarHeaderParameter,
258
+ ...headersFromBaseOptions,
259
+ ...options["headers"],
260
+ };
261
+ localVarRequestOptions.data = serializeDataIfNeeded(
262
+ body,
263
+ localVarRequestOptions,
264
+ configuration
265
+ );
266
+
267
+ return {
268
+ url: toPathString(localVarUrlObj),
269
+ options: localVarRequestOptions,
270
+ };
271
+ },
272
+ /**
273
+ *
274
+ * @summary Delete user matching the locator.
275
+ * @param {string} userLocator
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ deleteUser: async (
280
+ userLocator: string,
281
+ options: RawAxiosRequestConfig = {}
282
+ ): Promise<RequestArgs> => {
283
+ // verify required parameter 'userLocator' is not null or undefined
284
+ assertParamExists('deleteUser', 'userLocator', userLocator);
285
+ const localVarPath = `/app/rest/users/{userLocator}`.replace(
286
+ `{${'userLocator'}}`,
287
+ encodeURIComponent(String(userLocator))
288
+ );
289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
291
+ let baseOptions;
292
+ if (configuration) {
293
+ baseOptions = configuration.baseOptions;
294
+ }
295
+
296
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
297
+ const localVarHeaderParameter = {} as Record<string, string>;
298
+ const localVarQueryParameter = {} as Record<string, string>;
299
+
300
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
301
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
302
+ localVarRequestOptions.headers = {
303
+ ...localVarHeaderParameter,
304
+ ...headersFromBaseOptions,
305
+ ...options["headers"],
306
+ };
307
+
308
+ return {
309
+ url: toPathString(localVarUrlObj),
310
+ options: localVarRequestOptions,
311
+ };
312
+ },
313
+ /**
314
+ *
315
+ * @summary Remove a property of the matching user.
316
+ * @param {string} userLocator
317
+ * @param {string} field
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ */
321
+ deleteUserField: async (
322
+ userLocator: string,
323
+ field: string,
324
+ options: RawAxiosRequestConfig = {}
325
+ ): Promise<RequestArgs> => {
326
+ // verify required parameter 'userLocator' is not null or undefined
327
+ assertParamExists('deleteUserField', 'userLocator', userLocator);
328
+ // verify required parameter 'field' is not null or undefined
329
+ assertParamExists('deleteUserField', 'field', field);
330
+ const localVarPath = `/app/rest/users/{userLocator}/{field}`
331
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
332
+ .replace(`{${'field'}}`, encodeURIComponent(String(field)));
333
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
334
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
335
+ let baseOptions;
336
+ if (configuration) {
337
+ baseOptions = configuration.baseOptions;
338
+ }
339
+
340
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
341
+ const localVarHeaderParameter = {} as Record<string, string>;
342
+ const localVarQueryParameter = {} as Record<string, string>;
343
+
344
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
345
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
346
+ localVarRequestOptions.headers = {
347
+ ...localVarHeaderParameter,
348
+ ...headersFromBaseOptions,
349
+ ...options["headers"],
350
+ };
351
+
352
+ return {
353
+ url: toPathString(localVarUrlObj),
354
+ options: localVarRequestOptions,
355
+ };
356
+ },
357
+ /**
358
+ *
359
+ * @summary Remove an authentication token from the matching user.
360
+ * @param {string} userLocator
361
+ * @param {string} name
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ */
365
+ deleteUserToken: async (
366
+ userLocator: string,
367
+ name: string,
368
+ options: RawAxiosRequestConfig = {}
369
+ ): Promise<RequestArgs> => {
370
+ // verify required parameter 'userLocator' is not null or undefined
371
+ assertParamExists('deleteUserToken', 'userLocator', userLocator);
372
+ // verify required parameter 'name' is not null or undefined
373
+ assertParamExists('deleteUserToken', 'name', name);
374
+ const localVarPath = `/app/rest/users/{userLocator}/tokens/{name}`
375
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
376
+ .replace(`{${'name'}}`, encodeURIComponent(String(name)));
377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
379
+ let baseOptions;
380
+ if (configuration) {
381
+ baseOptions = configuration.baseOptions;
382
+ }
383
+
384
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
385
+ const localVarHeaderParameter = {} as Record<string, string>;
386
+ const localVarQueryParameter = {} as Record<string, string>;
387
+
388
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
389
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
390
+ localVarRequestOptions.headers = {
391
+ ...localVarHeaderParameter,
392
+ ...headersFromBaseOptions,
393
+ ...options["headers"],
394
+ };
395
+
396
+ return {
397
+ url: toPathString(localVarUrlObj),
398
+ options: localVarRequestOptions,
399
+ };
400
+ },
401
+ /**
402
+ *
403
+ * @summary Get all groups of the matching user.
404
+ * @param {string} userLocator
405
+ * @param {string} [fields]
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ getAllUserGroups: async (
410
+ userLocator: string,
411
+ fields?: string,
412
+ options: RawAxiosRequestConfig = {}
413
+ ): Promise<RequestArgs> => {
414
+ // verify required parameter 'userLocator' is not null or undefined
415
+ assertParamExists('getAllUserGroups', 'userLocator', userLocator);
416
+ const localVarPath = `/app/rest/users/{userLocator}/groups`.replace(
417
+ `{${'userLocator'}}`,
418
+ encodeURIComponent(String(userLocator))
419
+ );
420
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
421
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
422
+ let baseOptions;
423
+ if (configuration) {
424
+ baseOptions = configuration.baseOptions;
425
+ }
426
+
427
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
428
+ const localVarHeaderParameter = {} as Record<string, string>;
429
+ const localVarQueryParameter = {} as Record<string, string>;
430
+
431
+ if (fields !== undefined) {
432
+ localVarQueryParameter['fields'] = String(fields);
433
+ }
434
+
435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
436
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
437
+ localVarRequestOptions.headers = {
438
+ ...localVarHeaderParameter,
439
+ ...headersFromBaseOptions,
440
+ ...options["headers"],
441
+ };
442
+
443
+ return {
444
+ url: toPathString(localVarUrlObj),
445
+ options: localVarRequestOptions,
446
+ };
447
+ },
448
+ /**
449
+ *
450
+ * @summary Get all user roles of the matching user.
451
+ * @param {string} userLocator
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ */
455
+ getAllUserRoles: async (
456
+ userLocator: string,
457
+ options: RawAxiosRequestConfig = {}
458
+ ): Promise<RequestArgs> => {
459
+ // verify required parameter 'userLocator' is not null or undefined
460
+ assertParamExists('getAllUserRoles', 'userLocator', userLocator);
461
+ const localVarPath = `/app/rest/users/{userLocator}/roles`.replace(
462
+ `{${'userLocator'}}`,
463
+ encodeURIComponent(String(userLocator))
464
+ );
465
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
466
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
467
+ let baseOptions;
468
+ if (configuration) {
469
+ baseOptions = configuration.baseOptions;
470
+ }
471
+
472
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
473
+ const localVarHeaderParameter = {} as Record<string, string>;
474
+ const localVarQueryParameter = {} as Record<string, string>;
475
+
476
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
477
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
478
+ localVarRequestOptions.headers = {
479
+ ...localVarHeaderParameter,
480
+ ...headersFromBaseOptions,
481
+ ...options["headers"],
482
+ };
483
+
484
+ return {
485
+ url: toPathString(localVarUrlObj),
486
+ options: localVarRequestOptions,
487
+ };
488
+ },
489
+ /**
490
+ *
491
+ * @summary Get all users.
492
+ * @param {string} [locator]
493
+ * @param {string} [fields]
494
+ * @param {*} [options] Override http request option.
495
+ * @throws {RequiredError}
496
+ */
497
+ getAllUsers: async (
498
+ locator?: string,
499
+ fields?: string,
500
+ options: RawAxiosRequestConfig = {}
501
+ ): Promise<RequestArgs> => {
502
+ const localVarPath = `/app/rest/users`;
503
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
504
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
505
+ let baseOptions;
506
+ if (configuration) {
507
+ baseOptions = configuration.baseOptions;
508
+ }
509
+
510
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
511
+ const localVarHeaderParameter = {} as Record<string, string>;
512
+ const localVarQueryParameter = {} as Record<string, string>;
513
+
514
+ if (locator !== undefined) {
515
+ localVarQueryParameter['locator'] = String(locator);
516
+ }
517
+
518
+ if (fields !== undefined) {
519
+ localVarQueryParameter['fields'] = String(fields);
520
+ }
521
+
522
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
523
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
524
+ localVarRequestOptions.headers = {
525
+ ...localVarHeaderParameter,
526
+ ...headersFromBaseOptions,
527
+ ...options["headers"],
528
+ };
529
+
530
+ return {
531
+ url: toPathString(localVarUrlObj),
532
+ options: localVarRequestOptions,
533
+ };
534
+ },
535
+ /**
536
+ *
537
+ * @summary Get user matching the locator.
538
+ * @param {string} userLocator
539
+ * @param {string} [fields]
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ getUser: async (
544
+ userLocator: string,
545
+ fields?: string,
546
+ options: RawAxiosRequestConfig = {}
547
+ ): Promise<RequestArgs> => {
548
+ // verify required parameter 'userLocator' is not null or undefined
549
+ assertParamExists('getUser', 'userLocator', userLocator);
550
+ const localVarPath = `/app/rest/users/{userLocator}`.replace(
551
+ `{${'userLocator'}}`,
552
+ encodeURIComponent(String(userLocator))
553
+ );
554
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
555
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
556
+ let baseOptions;
557
+ if (configuration) {
558
+ baseOptions = configuration.baseOptions;
559
+ }
560
+
561
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
562
+ const localVarHeaderParameter = {} as Record<string, string>;
563
+ const localVarQueryParameter = {} as Record<string, string>;
564
+
565
+ if (fields !== undefined) {
566
+ localVarQueryParameter['fields'] = String(fields);
567
+ }
568
+
569
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
570
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
571
+ localVarRequestOptions.headers = {
572
+ ...localVarHeaderParameter,
573
+ ...headersFromBaseOptions,
574
+ ...options["headers"],
575
+ };
576
+
577
+ return {
578
+ url: toPathString(localVarUrlObj),
579
+ options: localVarRequestOptions,
580
+ };
581
+ },
582
+ /**
583
+ *
584
+ * @summary Get a field of the matching user.
585
+ * @param {string} userLocator
586
+ * @param {string} field
587
+ * @param {*} [options] Override http request option.
588
+ * @throws {RequiredError}
589
+ */
590
+ getUserField: async (
591
+ userLocator: string,
592
+ field: string,
593
+ options: RawAxiosRequestConfig = {}
594
+ ): Promise<RequestArgs> => {
595
+ // verify required parameter 'userLocator' is not null or undefined
596
+ assertParamExists('getUserField', 'userLocator', userLocator);
597
+ // verify required parameter 'field' is not null or undefined
598
+ assertParamExists('getUserField', 'field', field);
599
+ const localVarPath = `/app/rest/users/{userLocator}/{field}`
600
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
601
+ .replace(`{${'field'}}`, encodeURIComponent(String(field)));
602
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
603
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
604
+ let baseOptions;
605
+ if (configuration) {
606
+ baseOptions = configuration.baseOptions;
607
+ }
608
+
609
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
610
+ const localVarHeaderParameter = {} as Record<string, string>;
611
+ const localVarQueryParameter = {} as Record<string, string>;
612
+
613
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
614
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
615
+ localVarRequestOptions.headers = {
616
+ ...localVarHeaderParameter,
617
+ ...headersFromBaseOptions,
618
+ ...options["headers"],
619
+ };
620
+
621
+ return {
622
+ url: toPathString(localVarUrlObj),
623
+ options: localVarRequestOptions,
624
+ };
625
+ },
626
+ /**
627
+ *
628
+ * @summary Get a user group of the matching user.
629
+ * @param {string} userLocator
630
+ * @param {string} groupLocator
631
+ * @param {string} [fields]
632
+ * @param {*} [options] Override http request option.
633
+ * @throws {RequiredError}
634
+ */
635
+ getUserGroup: async (
636
+ userLocator: string,
637
+ groupLocator: string,
638
+ fields?: string,
639
+ options: RawAxiosRequestConfig = {}
640
+ ): Promise<RequestArgs> => {
641
+ // verify required parameter 'userLocator' is not null or undefined
642
+ assertParamExists('getUserGroup', 'userLocator', userLocator);
643
+ // verify required parameter 'groupLocator' is not null or undefined
644
+ assertParamExists('getUserGroup', 'groupLocator', groupLocator);
645
+ const localVarPath = `/app/rest/users/{userLocator}/groups/{groupLocator}`
646
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
647
+ .replace(`{${'groupLocator'}}`, encodeURIComponent(String(groupLocator)));
648
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
649
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
650
+ let baseOptions;
651
+ if (configuration) {
652
+ baseOptions = configuration.baseOptions;
653
+ }
654
+
655
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
656
+ const localVarHeaderParameter = {} as Record<string, string>;
657
+ const localVarQueryParameter = {} as Record<string, string>;
658
+
659
+ if (fields !== undefined) {
660
+ localVarQueryParameter['fields'] = String(fields);
661
+ }
662
+
663
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
664
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
665
+ localVarRequestOptions.headers = {
666
+ ...localVarHeaderParameter,
667
+ ...headersFromBaseOptions,
668
+ ...options["headers"],
669
+ };
670
+
671
+ return {
672
+ url: toPathString(localVarUrlObj),
673
+ options: localVarRequestOptions,
674
+ };
675
+ },
676
+ /**
677
+ *
678
+ * @summary Get all permissions effective for the matching user.
679
+ * @param {string} userLocator
680
+ * @param {string} [locator]
681
+ * @param {string} [fields]
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ getUserPermissions: async (
686
+ userLocator: string,
687
+ locator?: string,
688
+ fields?: string,
689
+ options: RawAxiosRequestConfig = {}
690
+ ): Promise<RequestArgs> => {
691
+ // verify required parameter 'userLocator' is not null or undefined
692
+ assertParamExists('getUserPermissions', 'userLocator', userLocator);
693
+ const localVarPath = `/app/rest/users/{userLocator}/permissions`.replace(
694
+ `{${'userLocator'}}`,
695
+ encodeURIComponent(String(userLocator))
696
+ );
697
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
698
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
699
+ let baseOptions;
700
+ if (configuration) {
701
+ baseOptions = configuration.baseOptions;
702
+ }
703
+
704
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
705
+ const localVarHeaderParameter = {} as Record<string, string>;
706
+ const localVarQueryParameter = {} as Record<string, string>;
707
+
708
+ if (locator !== undefined) {
709
+ localVarQueryParameter['locator'] = String(locator);
710
+ }
711
+
712
+ if (fields !== undefined) {
713
+ localVarQueryParameter['fields'] = String(fields);
714
+ }
715
+
716
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
717
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
718
+ localVarRequestOptions.headers = {
719
+ ...localVarHeaderParameter,
720
+ ...headersFromBaseOptions,
721
+ ...options["headers"],
722
+ };
723
+
724
+ return {
725
+ url: toPathString(localVarUrlObj),
726
+ options: localVarRequestOptions,
727
+ };
728
+ },
729
+ /**
730
+ *
731
+ * @summary Get all properties of the matching user.
732
+ * @param {string} userLocator
733
+ * @param {string} [fields]
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ */
737
+ getUserProperties: async (
738
+ userLocator: string,
739
+ fields?: string,
740
+ options: RawAxiosRequestConfig = {}
741
+ ): Promise<RequestArgs> => {
742
+ // verify required parameter 'userLocator' is not null or undefined
743
+ assertParamExists('getUserProperties', 'userLocator', userLocator);
744
+ const localVarPath = `/app/rest/users/{userLocator}/properties`.replace(
745
+ `{${'userLocator'}}`,
746
+ encodeURIComponent(String(userLocator))
747
+ );
748
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
749
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
750
+ let baseOptions;
751
+ if (configuration) {
752
+ baseOptions = configuration.baseOptions;
753
+ }
754
+
755
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
756
+ const localVarHeaderParameter = {} as Record<string, string>;
757
+ const localVarQueryParameter = {} as Record<string, string>;
758
+
759
+ if (fields !== undefined) {
760
+ localVarQueryParameter['fields'] = String(fields);
761
+ }
762
+
763
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
764
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
765
+ localVarRequestOptions.headers = {
766
+ ...localVarHeaderParameter,
767
+ ...headersFromBaseOptions,
768
+ ...options["headers"],
769
+ };
770
+
771
+ return {
772
+ url: toPathString(localVarUrlObj),
773
+ options: localVarRequestOptions,
774
+ };
775
+ },
776
+ /**
777
+ *
778
+ * @summary Get a property of the matching user.
779
+ * @param {string} userLocator
780
+ * @param {string} name
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ */
784
+ getUserProperty: async (
785
+ userLocator: string,
786
+ name: string,
787
+ options: RawAxiosRequestConfig = {}
788
+ ): Promise<RequestArgs> => {
789
+ // verify required parameter 'userLocator' is not null or undefined
790
+ assertParamExists('getUserProperty', 'userLocator', userLocator);
791
+ // verify required parameter 'name' is not null or undefined
792
+ assertParamExists('getUserProperty', 'name', name);
793
+ const localVarPath = `/app/rest/users/{userLocator}/properties/{name}`
794
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
795
+ .replace(`{${'name'}}`, encodeURIComponent(String(name)));
796
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
797
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
798
+ let baseOptions;
799
+ if (configuration) {
800
+ baseOptions = configuration.baseOptions;
801
+ }
802
+
803
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
804
+ const localVarHeaderParameter = {} as Record<string, string>;
805
+ const localVarQueryParameter = {} as Record<string, string>;
806
+
807
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
808
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
809
+ localVarRequestOptions.headers = {
810
+ ...localVarHeaderParameter,
811
+ ...headersFromBaseOptions,
812
+ ...options["headers"],
813
+ };
814
+
815
+ return {
816
+ url: toPathString(localVarUrlObj),
817
+ options: localVarRequestOptions,
818
+ };
819
+ },
820
+ /**
821
+ *
822
+ * @summary Get a user role with the specific scope from the matching user.
823
+ * @param {string} userLocator
824
+ * @param {string} roleId
825
+ * @param {string} scope
826
+ * @param {*} [options] Override http request option.
827
+ * @throws {RequiredError}
828
+ */
829
+ getUserRolesAtScope: async (
830
+ userLocator: string,
831
+ roleId: string,
832
+ scope: string,
833
+ options: RawAxiosRequestConfig = {}
834
+ ): Promise<RequestArgs> => {
835
+ // verify required parameter 'userLocator' is not null or undefined
836
+ assertParamExists('getUserRolesAtScope', 'userLocator', userLocator);
837
+ // verify required parameter 'roleId' is not null or undefined
838
+ assertParamExists('getUserRolesAtScope', 'roleId', roleId);
839
+ // verify required parameter 'scope' is not null or undefined
840
+ assertParamExists('getUserRolesAtScope', 'scope', scope);
841
+ const localVarPath = `/app/rest/users/{userLocator}/roles/{roleId}/{scope}`
842
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
843
+ .replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)))
844
+ .replace(`{${'scope'}}`, encodeURIComponent(String(scope)));
845
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
846
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
847
+ let baseOptions;
848
+ if (configuration) {
849
+ baseOptions = configuration.baseOptions;
850
+ }
851
+
852
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
853
+ const localVarHeaderParameter = {} as Record<string, string>;
854
+ const localVarQueryParameter = {} as Record<string, string>;
855
+
856
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
857
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
858
+ localVarRequestOptions.headers = {
859
+ ...localVarHeaderParameter,
860
+ ...headersFromBaseOptions,
861
+ ...options["headers"],
862
+ };
863
+
864
+ return {
865
+ url: toPathString(localVarUrlObj),
866
+ options: localVarRequestOptions,
867
+ };
868
+ },
869
+ /**
870
+ *
871
+ * @summary Get all authentication tokens of the matching user.
872
+ * @param {string} userLocator
873
+ * @param {string} [fields]
874
+ * @param {*} [options] Override http request option.
875
+ * @throws {RequiredError}
876
+ */
877
+ getUserTokens: async (
878
+ userLocator: string,
879
+ fields?: string,
880
+ options: RawAxiosRequestConfig = {}
881
+ ): Promise<RequestArgs> => {
882
+ // verify required parameter 'userLocator' is not null or undefined
883
+ assertParamExists('getUserTokens', 'userLocator', userLocator);
884
+ const localVarPath = `/app/rest/users/{userLocator}/tokens`.replace(
885
+ `{${'userLocator'}}`,
886
+ encodeURIComponent(String(userLocator))
887
+ );
888
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
889
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
890
+ let baseOptions;
891
+ if (configuration) {
892
+ baseOptions = configuration.baseOptions;
893
+ }
894
+
895
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
896
+ const localVarHeaderParameter = {} as Record<string, string>;
897
+ const localVarQueryParameter = {} as Record<string, string>;
898
+
899
+ if (fields !== undefined) {
900
+ localVarQueryParameter['fields'] = String(fields);
901
+ }
902
+
903
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
904
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
905
+ localVarRequestOptions.headers = {
906
+ ...localVarHeaderParameter,
907
+ ...headersFromBaseOptions,
908
+ ...options["headers"],
909
+ };
910
+
911
+ return {
912
+ url: toPathString(localVarUrlObj),
913
+ options: localVarRequestOptions,
914
+ };
915
+ },
916
+ /**
917
+ *
918
+ * @summary Terminate all current sessions of the matching user.
919
+ * @param {string} userLocator
920
+ * @param {*} [options] Override http request option.
921
+ * @throws {RequiredError}
922
+ */
923
+ logoutUser: async (
924
+ userLocator: string,
925
+ options: RawAxiosRequestConfig = {}
926
+ ): Promise<RequestArgs> => {
927
+ // verify required parameter 'userLocator' is not null or undefined
928
+ assertParamExists('logoutUser', 'userLocator', userLocator);
929
+ const localVarPath = `/app/rest/users/{userLocator}/logout`.replace(
930
+ `{${'userLocator'}}`,
931
+ encodeURIComponent(String(userLocator))
932
+ );
933
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
934
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
935
+ let baseOptions;
936
+ if (configuration) {
937
+ baseOptions = configuration.baseOptions;
938
+ }
939
+
940
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
941
+ const localVarHeaderParameter = {} as Record<string, string>;
942
+ const localVarQueryParameter = {} as Record<string, string>;
943
+
944
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
945
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
946
+ localVarRequestOptions.headers = {
947
+ ...localVarHeaderParameter,
948
+ ...headersFromBaseOptions,
949
+ ...options["headers"],
950
+ };
951
+
952
+ return {
953
+ url: toPathString(localVarUrlObj),
954
+ options: localVarRequestOptions,
955
+ };
956
+ },
957
+ /**
958
+ *
959
+ * @summary Remove the matching user from the specific group.
960
+ * @param {string} userLocator
961
+ * @param {string} groupLocator
962
+ * @param {string} [fields]
963
+ * @param {*} [options] Override http request option.
964
+ * @throws {RequiredError}
965
+ */
966
+ removeUserFromGroup: async (
967
+ userLocator: string,
968
+ groupLocator: string,
969
+ fields?: string,
970
+ options: RawAxiosRequestConfig = {}
971
+ ): Promise<RequestArgs> => {
972
+ // verify required parameter 'userLocator' is not null or undefined
973
+ assertParamExists('removeUserFromGroup', 'userLocator', userLocator);
974
+ // verify required parameter 'groupLocator' is not null or undefined
975
+ assertParamExists('removeUserFromGroup', 'groupLocator', groupLocator);
976
+ const localVarPath = `/app/rest/users/{userLocator}/groups/{groupLocator}`
977
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
978
+ .replace(`{${'groupLocator'}}`, encodeURIComponent(String(groupLocator)));
979
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
980
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
981
+ let baseOptions;
982
+ if (configuration) {
983
+ baseOptions = configuration.baseOptions;
984
+ }
985
+
986
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
987
+ const localVarHeaderParameter = {} as Record<string, string>;
988
+ const localVarQueryParameter = {} as Record<string, string>;
989
+
990
+ if (fields !== undefined) {
991
+ localVarQueryParameter['fields'] = String(fields);
992
+ }
993
+
994
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
995
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
996
+ localVarRequestOptions.headers = {
997
+ ...localVarHeaderParameter,
998
+ ...headersFromBaseOptions,
999
+ ...options["headers"],
1000
+ };
1001
+
1002
+ return {
1003
+ url: toPathString(localVarUrlObj),
1004
+ options: localVarRequestOptions,
1005
+ };
1006
+ },
1007
+ /**
1008
+ *
1009
+ * @summary Remove a property of the matching user.
1010
+ * @param {string} userLocator
1011
+ * @param {string} name
1012
+ * @param {*} [options] Override http request option.
1013
+ * @throws {RequiredError}
1014
+ */
1015
+ removeUserProperty: async (
1016
+ userLocator: string,
1017
+ name: string,
1018
+ options: RawAxiosRequestConfig = {}
1019
+ ): Promise<RequestArgs> => {
1020
+ // verify required parameter 'userLocator' is not null or undefined
1021
+ assertParamExists('removeUserProperty', 'userLocator', userLocator);
1022
+ // verify required parameter 'name' is not null or undefined
1023
+ assertParamExists('removeUserProperty', 'name', name);
1024
+ const localVarPath = `/app/rest/users/{userLocator}/properties/{name}`
1025
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
1026
+ .replace(`{${'name'}}`, encodeURIComponent(String(name)));
1027
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1028
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1029
+ let baseOptions;
1030
+ if (configuration) {
1031
+ baseOptions = configuration.baseOptions;
1032
+ }
1033
+
1034
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
1035
+ const localVarHeaderParameter = {} as Record<string, string>;
1036
+ const localVarQueryParameter = {} as Record<string, string>;
1037
+
1038
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1039
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1040
+ localVarRequestOptions.headers = {
1041
+ ...localVarHeaderParameter,
1042
+ ...headersFromBaseOptions,
1043
+ ...options["headers"],
1044
+ };
1045
+
1046
+ return {
1047
+ url: toPathString(localVarUrlObj),
1048
+ options: localVarRequestOptions,
1049
+ };
1050
+ },
1051
+ /**
1052
+ *
1053
+ * @summary Remove the RememberMe data of the matching user.
1054
+ * @param {string} userLocator
1055
+ * @param {*} [options] Override http request option.
1056
+ * @throws {RequiredError}
1057
+ */
1058
+ removeUserRememberMe: async (
1059
+ userLocator: string,
1060
+ options: RawAxiosRequestConfig = {}
1061
+ ): Promise<RequestArgs> => {
1062
+ // verify required parameter 'userLocator' is not null or undefined
1063
+ assertParamExists('removeUserRememberMe', 'userLocator', userLocator);
1064
+ const localVarPath = `/app/rest/users/{userLocator}/debug/rememberMe`.replace(
1065
+ `{${'userLocator'}}`,
1066
+ encodeURIComponent(String(userLocator))
1067
+ );
1068
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1069
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1070
+ let baseOptions;
1071
+ if (configuration) {
1072
+ baseOptions = configuration.baseOptions;
1073
+ }
1074
+
1075
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
1076
+ const localVarHeaderParameter = {} as Record<string, string>;
1077
+ const localVarQueryParameter = {} as Record<string, string>;
1078
+
1079
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1080
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1081
+ localVarRequestOptions.headers = {
1082
+ ...localVarHeaderParameter,
1083
+ ...headersFromBaseOptions,
1084
+ ...options["headers"],
1085
+ };
1086
+
1087
+ return {
1088
+ url: toPathString(localVarUrlObj),
1089
+ options: localVarRequestOptions,
1090
+ };
1091
+ },
1092
+ /**
1093
+ *
1094
+ * @summary Remove a role with the specific scope from the matching user.
1095
+ * @param {string} userLocator
1096
+ * @param {string} roleId
1097
+ * @param {string} scope
1098
+ * @param {*} [options] Override http request option.
1099
+ * @throws {RequiredError}
1100
+ */
1101
+ removeUserRoleAtScope: async (
1102
+ userLocator: string,
1103
+ roleId: string,
1104
+ scope: string,
1105
+ options: RawAxiosRequestConfig = {}
1106
+ ): Promise<RequestArgs> => {
1107
+ // verify required parameter 'userLocator' is not null or undefined
1108
+ assertParamExists('removeUserRoleAtScope', 'userLocator', userLocator);
1109
+ // verify required parameter 'roleId' is not null or undefined
1110
+ assertParamExists('removeUserRoleAtScope', 'roleId', roleId);
1111
+ // verify required parameter 'scope' is not null or undefined
1112
+ assertParamExists('removeUserRoleAtScope', 'scope', scope);
1113
+ const localVarPath = `/app/rest/users/{userLocator}/roles/{roleId}/{scope}`
1114
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
1115
+ .replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)))
1116
+ .replace(`{${'scope'}}`, encodeURIComponent(String(scope)));
1117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1118
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1119
+ let baseOptions;
1120
+ if (configuration) {
1121
+ baseOptions = configuration.baseOptions;
1122
+ }
1123
+
1124
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
1125
+ const localVarHeaderParameter = {} as Record<string, string>;
1126
+ const localVarQueryParameter = {} as Record<string, string>;
1127
+
1128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1129
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1130
+ localVarRequestOptions.headers = {
1131
+ ...localVarHeaderParameter,
1132
+ ...headersFromBaseOptions,
1133
+ ...options["headers"],
1134
+ };
1135
+
1136
+ return {
1137
+ url: toPathString(localVarUrlObj),
1138
+ options: localVarRequestOptions,
1139
+ };
1140
+ },
1141
+ /**
1142
+ *
1143
+ * @summary Update user matching the locator.
1144
+ * @param {string} userLocator
1145
+ * @param {string} [fields]
1146
+ * @param {User} [body]
1147
+ * @param {*} [options] Override http request option.
1148
+ * @throws {RequiredError}
1149
+ */
1150
+ replaceUser: async (
1151
+ userLocator: string,
1152
+ fields?: string,
1153
+ body?: User,
1154
+ options: RawAxiosRequestConfig = {}
1155
+ ): Promise<RequestArgs> => {
1156
+ // verify required parameter 'userLocator' is not null or undefined
1157
+ assertParamExists('replaceUser', 'userLocator', userLocator);
1158
+ const localVarPath = `/app/rest/users/{userLocator}`.replace(
1159
+ `{${'userLocator'}}`,
1160
+ encodeURIComponent(String(userLocator))
1161
+ );
1162
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1163
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1164
+ let baseOptions;
1165
+ if (configuration) {
1166
+ baseOptions = configuration.baseOptions;
1167
+ }
1168
+
1169
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1170
+ const localVarHeaderParameter = {} as Record<string, string>;
1171
+ const localVarQueryParameter = {} as Record<string, string>;
1172
+
1173
+ if (fields !== undefined) {
1174
+ localVarQueryParameter['fields'] = String(fields);
1175
+ }
1176
+
1177
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
1178
+
1179
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1180
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1181
+ localVarRequestOptions.headers = {
1182
+ ...localVarHeaderParameter,
1183
+ ...headersFromBaseOptions,
1184
+ ...options["headers"],
1185
+ };
1186
+ localVarRequestOptions.data = serializeDataIfNeeded(
1187
+ body,
1188
+ localVarRequestOptions,
1189
+ configuration
1190
+ );
1191
+
1192
+ return {
1193
+ url: toPathString(localVarUrlObj),
1194
+ options: localVarRequestOptions,
1195
+ };
1196
+ },
1197
+ /**
1198
+ *
1199
+ * @summary Update a field of the matching user.
1200
+ * @param {string} userLocator
1201
+ * @param {string} field
1202
+ * @param {string} [body]
1203
+ * @param {*} [options] Override http request option.
1204
+ * @throws {RequiredError}
1205
+ */
1206
+ setUserField: async (
1207
+ userLocator: string,
1208
+ field: string,
1209
+ body?: string,
1210
+ options: RawAxiosRequestConfig = {}
1211
+ ): Promise<RequestArgs> => {
1212
+ // verify required parameter 'userLocator' is not null or undefined
1213
+ assertParamExists('setUserField', 'userLocator', userLocator);
1214
+ // verify required parameter 'field' is not null or undefined
1215
+ assertParamExists('setUserField', 'field', field);
1216
+ const localVarPath = `/app/rest/users/{userLocator}/{field}`
1217
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
1218
+ .replace(`{${'field'}}`, encodeURIComponent(String(field)));
1219
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1220
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1221
+ let baseOptions;
1222
+ if (configuration) {
1223
+ baseOptions = configuration.baseOptions;
1224
+ }
1225
+
1226
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1227
+ const localVarHeaderParameter = {} as Record<string, string>;
1228
+ const localVarQueryParameter = {} as Record<string, string>;
1229
+
1230
+ localVarHeaderParameter['Content-Type'] = 'text/plain';
1231
+
1232
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1233
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1234
+ localVarRequestOptions.headers = {
1235
+ ...localVarHeaderParameter,
1236
+ ...headersFromBaseOptions,
1237
+ ...options["headers"],
1238
+ };
1239
+ localVarRequestOptions.data = serializeDataIfNeeded(
1240
+ body,
1241
+ localVarRequestOptions,
1242
+ configuration
1243
+ );
1244
+
1245
+ return {
1246
+ url: toPathString(localVarUrlObj),
1247
+ options: localVarRequestOptions,
1248
+ };
1249
+ },
1250
+ /**
1251
+ *
1252
+ * @summary Update groups of the matching user.
1253
+ * @param {string} userLocator
1254
+ * @param {string} [fields]
1255
+ * @param {Groups} [body]
1256
+ * @param {*} [options] Override http request option.
1257
+ * @throws {RequiredError}
1258
+ */
1259
+ setUserGroups: async (
1260
+ userLocator: string,
1261
+ fields?: string,
1262
+ body?: Groups,
1263
+ options: RawAxiosRequestConfig = {}
1264
+ ): Promise<RequestArgs> => {
1265
+ // verify required parameter 'userLocator' is not null or undefined
1266
+ assertParamExists('setUserGroups', 'userLocator', userLocator);
1267
+ const localVarPath = `/app/rest/users/{userLocator}/groups`.replace(
1268
+ `{${'userLocator'}}`,
1269
+ encodeURIComponent(String(userLocator))
1270
+ );
1271
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1272
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1273
+ let baseOptions;
1274
+ if (configuration) {
1275
+ baseOptions = configuration.baseOptions;
1276
+ }
1277
+
1278
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1279
+ const localVarHeaderParameter = {} as Record<string, string>;
1280
+ const localVarQueryParameter = {} as Record<string, string>;
1281
+
1282
+ if (fields !== undefined) {
1283
+ localVarQueryParameter['fields'] = String(fields);
1284
+ }
1285
+
1286
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
1287
+
1288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1289
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1290
+ localVarRequestOptions.headers = {
1291
+ ...localVarHeaderParameter,
1292
+ ...headersFromBaseOptions,
1293
+ ...options["headers"],
1294
+ };
1295
+ localVarRequestOptions.data = serializeDataIfNeeded(
1296
+ body,
1297
+ localVarRequestOptions,
1298
+ configuration
1299
+ );
1300
+
1301
+ return {
1302
+ url: toPathString(localVarUrlObj),
1303
+ options: localVarRequestOptions,
1304
+ };
1305
+ },
1306
+ /**
1307
+ *
1308
+ * @summary Update a property of the matching user.
1309
+ * @param {string} userLocator
1310
+ * @param {string} name
1311
+ * @param {string} [body]
1312
+ * @param {*} [options] Override http request option.
1313
+ * @throws {RequiredError}
1314
+ */
1315
+ setUserProperty: async (
1316
+ userLocator: string,
1317
+ name: string,
1318
+ body?: string,
1319
+ options: RawAxiosRequestConfig = {}
1320
+ ): Promise<RequestArgs> => {
1321
+ // verify required parameter 'userLocator' is not null or undefined
1322
+ assertParamExists('setUserProperty', 'userLocator', userLocator);
1323
+ // verify required parameter 'name' is not null or undefined
1324
+ assertParamExists('setUserProperty', 'name', name);
1325
+ const localVarPath = `/app/rest/users/{userLocator}/properties/{name}`
1326
+ .replace(`{${'userLocator'}}`, encodeURIComponent(String(userLocator)))
1327
+ .replace(`{${'name'}}`, encodeURIComponent(String(name)));
1328
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1329
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1330
+ let baseOptions;
1331
+ if (configuration) {
1332
+ baseOptions = configuration.baseOptions;
1333
+ }
1334
+
1335
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1336
+ const localVarHeaderParameter = {} as Record<string, string>;
1337
+ const localVarQueryParameter = {} as Record<string, string>;
1338
+
1339
+ localVarHeaderParameter['Content-Type'] = 'text/plain';
1340
+
1341
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1342
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1343
+ localVarRequestOptions.headers = {
1344
+ ...localVarHeaderParameter,
1345
+ ...headersFromBaseOptions,
1346
+ ...options["headers"],
1347
+ };
1348
+ localVarRequestOptions.data = serializeDataIfNeeded(
1349
+ body,
1350
+ localVarRequestOptions,
1351
+ configuration
1352
+ );
1353
+
1354
+ return {
1355
+ url: toPathString(localVarUrlObj),
1356
+ options: localVarRequestOptions,
1357
+ };
1358
+ },
1359
+ /**
1360
+ *
1361
+ * @summary Update user roles of the matching user.
1362
+ * @param {string} userLocator
1363
+ * @param {Roles} [body]
1364
+ * @param {*} [options] Override http request option.
1365
+ * @throws {RequiredError}
1366
+ */
1367
+ setUserRoles: async (
1368
+ userLocator: string,
1369
+ body?: Roles,
1370
+ options: RawAxiosRequestConfig = {}
1371
+ ): Promise<RequestArgs> => {
1372
+ // verify required parameter 'userLocator' is not null or undefined
1373
+ assertParamExists('setUserRoles', 'userLocator', userLocator);
1374
+ const localVarPath = `/app/rest/users/{userLocator}/roles`.replace(
1375
+ `{${'userLocator'}}`,
1376
+ encodeURIComponent(String(userLocator))
1377
+ );
1378
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1379
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1380
+ let baseOptions;
1381
+ if (configuration) {
1382
+ baseOptions = configuration.baseOptions;
1383
+ }
1384
+
1385
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
1386
+ const localVarHeaderParameter = {} as Record<string, string>;
1387
+ const localVarQueryParameter = {} as Record<string, string>;
1388
+
1389
+ localVarHeaderParameter['Content-Type'] = 'application/xml';
1390
+
1391
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1392
+ let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
1393
+ localVarRequestOptions.headers = {
1394
+ ...localVarHeaderParameter,
1395
+ ...headersFromBaseOptions,
1396
+ ...options["headers"],
1397
+ };
1398
+ localVarRequestOptions.data = serializeDataIfNeeded(
1399
+ body,
1400
+ localVarRequestOptions,
1401
+ configuration
1402
+ );
1403
+
1404
+ return {
1405
+ url: toPathString(localVarUrlObj),
1406
+ options: localVarRequestOptions,
1407
+ };
1408
+ },
1409
+ };
1410
+ };
1411
+
1412
+ /**
1413
+ * UserApi - functional programming interface
1414
+ * @export
1415
+ */
1416
+ export const UserApiFp = function (configuration?: Configuration) {
1417
+ const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration);
1418
+ return {
1419
+ /**
1420
+ *
1421
+ * @summary Add a role to the matching user.
1422
+ * @param {string} userLocator
1423
+ * @param {Role} [body]
1424
+ * @param {*} [options] Override http request option.
1425
+ * @throws {RequiredError}
1426
+ */
1427
+ async addRoleToUser(
1428
+ userLocator: string,
1429
+ body?: Role,
1430
+ options?: RawAxiosRequestConfig
1431
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Role>> {
1432
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addRoleToUser(
1433
+ userLocator,
1434
+ body,
1435
+ options
1436
+ );
1437
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1438
+ const localVarOperationServerBasePath =
1439
+ operationServerMap['UserApi.addRoleToUser']?.[localVarOperationServerIndex]?.url;
1440
+ return (axios, basePath) =>
1441
+ createRequestFunction(
1442
+ localVarAxiosArgs,
1443
+ globalAxios,
1444
+ BASE_PATH,
1445
+ configuration
1446
+ )(axios, localVarOperationServerBasePath || basePath);
1447
+ },
1448
+ /**
1449
+ *
1450
+ * @summary Add a role with the specific scope to the matching user.
1451
+ * @param {string} userLocator
1452
+ * @param {string} roleId
1453
+ * @param {string} scope
1454
+ * @param {*} [options] Override http request option.
1455
+ * @throws {RequiredError}
1456
+ */
1457
+ async addRoleToUserAtScope(
1458
+ userLocator: string,
1459
+ roleId: string,
1460
+ scope: string,
1461
+ options?: RawAxiosRequestConfig
1462
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Role>> {
1463
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addRoleToUserAtScope(
1464
+ userLocator,
1465
+ roleId,
1466
+ scope,
1467
+ options
1468
+ );
1469
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1470
+ const localVarOperationServerBasePath =
1471
+ operationServerMap['UserApi.addRoleToUserAtScope']?.[localVarOperationServerIndex]?.url;
1472
+ return (axios, basePath) =>
1473
+ createRequestFunction(
1474
+ localVarAxiosArgs,
1475
+ globalAxios,
1476
+ BASE_PATH,
1477
+ configuration
1478
+ )(axios, localVarOperationServerBasePath || basePath);
1479
+ },
1480
+ /**
1481
+ *
1482
+ * @summary Create a new user.
1483
+ * @param {string} [fields]
1484
+ * @param {User} [body]
1485
+ * @param {*} [options] Override http request option.
1486
+ * @throws {RequiredError}
1487
+ */
1488
+ async addUser(
1489
+ fields?: string,
1490
+ body?: User,
1491
+ options?: RawAxiosRequestConfig
1492
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
1493
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addUser(fields, body, options);
1494
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1495
+ const localVarOperationServerBasePath =
1496
+ operationServerMap['UserApi.addUser']?.[localVarOperationServerIndex]?.url;
1497
+ return (axios, basePath) =>
1498
+ createRequestFunction(
1499
+ localVarAxiosArgs,
1500
+ globalAxios,
1501
+ BASE_PATH,
1502
+ configuration
1503
+ )(axios, localVarOperationServerBasePath || basePath);
1504
+ },
1505
+ /**
1506
+ *
1507
+ * @summary Create a new authentication token for the matching user.
1508
+ * @param {string} userLocator
1509
+ * @param {string} [fields]
1510
+ * @param {Token} [body]
1511
+ * @param {*} [options] Override http request option.
1512
+ * @throws {RequiredError}
1513
+ */
1514
+ async addUserToken(
1515
+ userLocator: string,
1516
+ fields?: string,
1517
+ body?: Token,
1518
+ options?: RawAxiosRequestConfig
1519
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Token>> {
1520
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addUserToken(
1521
+ userLocator,
1522
+ fields,
1523
+ body,
1524
+ options
1525
+ );
1526
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1527
+ const localVarOperationServerBasePath =
1528
+ operationServerMap['UserApi.addUserToken']?.[localVarOperationServerIndex]?.url;
1529
+ return (axios, basePath) =>
1530
+ createRequestFunction(
1531
+ localVarAxiosArgs,
1532
+ globalAxios,
1533
+ BASE_PATH,
1534
+ configuration
1535
+ )(axios, localVarOperationServerBasePath || basePath);
1536
+ },
1537
+ /**
1538
+ *
1539
+ * @summary Delete user matching the locator.
1540
+ * @param {string} userLocator
1541
+ * @param {*} [options] Override http request option.
1542
+ * @throws {RequiredError}
1543
+ */
1544
+ async deleteUser(
1545
+ userLocator: string,
1546
+ options?: RawAxiosRequestConfig
1547
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1548
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(userLocator, options);
1549
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1550
+ const localVarOperationServerBasePath =
1551
+ operationServerMap['UserApi.deleteUser']?.[localVarOperationServerIndex]?.url;
1552
+ return (axios, basePath) =>
1553
+ createRequestFunction(
1554
+ localVarAxiosArgs,
1555
+ globalAxios,
1556
+ BASE_PATH,
1557
+ configuration
1558
+ )(axios, localVarOperationServerBasePath || basePath);
1559
+ },
1560
+ /**
1561
+ *
1562
+ * @summary Remove a property of the matching user.
1563
+ * @param {string} userLocator
1564
+ * @param {string} field
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ */
1568
+ async deleteUserField(
1569
+ userLocator: string,
1570
+ field: string,
1571
+ options?: RawAxiosRequestConfig
1572
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1573
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserField(
1574
+ userLocator,
1575
+ field,
1576
+ options
1577
+ );
1578
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1579
+ const localVarOperationServerBasePath =
1580
+ operationServerMap['UserApi.deleteUserField']?.[localVarOperationServerIndex]?.url;
1581
+ return (axios, basePath) =>
1582
+ createRequestFunction(
1583
+ localVarAxiosArgs,
1584
+ globalAxios,
1585
+ BASE_PATH,
1586
+ configuration
1587
+ )(axios, localVarOperationServerBasePath || basePath);
1588
+ },
1589
+ /**
1590
+ *
1591
+ * @summary Remove an authentication token from the matching user.
1592
+ * @param {string} userLocator
1593
+ * @param {string} name
1594
+ * @param {*} [options] Override http request option.
1595
+ * @throws {RequiredError}
1596
+ */
1597
+ async deleteUserToken(
1598
+ userLocator: string,
1599
+ name: string,
1600
+ options?: RawAxiosRequestConfig
1601
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1602
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserToken(
1603
+ userLocator,
1604
+ name,
1605
+ options
1606
+ );
1607
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1608
+ const localVarOperationServerBasePath =
1609
+ operationServerMap['UserApi.deleteUserToken']?.[localVarOperationServerIndex]?.url;
1610
+ return (axios, basePath) =>
1611
+ createRequestFunction(
1612
+ localVarAxiosArgs,
1613
+ globalAxios,
1614
+ BASE_PATH,
1615
+ configuration
1616
+ )(axios, localVarOperationServerBasePath || basePath);
1617
+ },
1618
+ /**
1619
+ *
1620
+ * @summary Get all groups of the matching user.
1621
+ * @param {string} userLocator
1622
+ * @param {string} [fields]
1623
+ * @param {*} [options] Override http request option.
1624
+ * @throws {RequiredError}
1625
+ */
1626
+ async getAllUserGroups(
1627
+ userLocator: string,
1628
+ fields?: string,
1629
+ options?: RawAxiosRequestConfig
1630
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Groups>> {
1631
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllUserGroups(
1632
+ userLocator,
1633
+ fields,
1634
+ options
1635
+ );
1636
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1637
+ const localVarOperationServerBasePath =
1638
+ operationServerMap['UserApi.getAllUserGroups']?.[localVarOperationServerIndex]?.url;
1639
+ return (axios, basePath) =>
1640
+ createRequestFunction(
1641
+ localVarAxiosArgs,
1642
+ globalAxios,
1643
+ BASE_PATH,
1644
+ configuration
1645
+ )(axios, localVarOperationServerBasePath || basePath);
1646
+ },
1647
+ /**
1648
+ *
1649
+ * @summary Get all user roles of the matching user.
1650
+ * @param {string} userLocator
1651
+ * @param {*} [options] Override http request option.
1652
+ * @throws {RequiredError}
1653
+ */
1654
+ async getAllUserRoles(
1655
+ userLocator: string,
1656
+ options?: RawAxiosRequestConfig
1657
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Roles>> {
1658
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllUserRoles(
1659
+ userLocator,
1660
+ options
1661
+ );
1662
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1663
+ const localVarOperationServerBasePath =
1664
+ operationServerMap['UserApi.getAllUserRoles']?.[localVarOperationServerIndex]?.url;
1665
+ return (axios, basePath) =>
1666
+ createRequestFunction(
1667
+ localVarAxiosArgs,
1668
+ globalAxios,
1669
+ BASE_PATH,
1670
+ configuration
1671
+ )(axios, localVarOperationServerBasePath || basePath);
1672
+ },
1673
+ /**
1674
+ *
1675
+ * @summary Get all users.
1676
+ * @param {string} [locator]
1677
+ * @param {string} [fields]
1678
+ * @param {*} [options] Override http request option.
1679
+ * @throws {RequiredError}
1680
+ */
1681
+ async getAllUsers(
1682
+ locator?: string,
1683
+ fields?: string,
1684
+ options?: RawAxiosRequestConfig
1685
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Users>> {
1686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllUsers(
1687
+ locator,
1688
+ fields,
1689
+ options
1690
+ );
1691
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1692
+ const localVarOperationServerBasePath =
1693
+ operationServerMap['UserApi.getAllUsers']?.[localVarOperationServerIndex]?.url;
1694
+ return (axios, basePath) =>
1695
+ createRequestFunction(
1696
+ localVarAxiosArgs,
1697
+ globalAxios,
1698
+ BASE_PATH,
1699
+ configuration
1700
+ )(axios, localVarOperationServerBasePath || basePath);
1701
+ },
1702
+ /**
1703
+ *
1704
+ * @summary Get user matching the locator.
1705
+ * @param {string} userLocator
1706
+ * @param {string} [fields]
1707
+ * @param {*} [options] Override http request option.
1708
+ * @throws {RequiredError}
1709
+ */
1710
+ async getUser(
1711
+ userLocator: string,
1712
+ fields?: string,
1713
+ options?: RawAxiosRequestConfig
1714
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
1715
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(
1716
+ userLocator,
1717
+ fields,
1718
+ options
1719
+ );
1720
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1721
+ const localVarOperationServerBasePath =
1722
+ operationServerMap['UserApi.getUser']?.[localVarOperationServerIndex]?.url;
1723
+ return (axios, basePath) =>
1724
+ createRequestFunction(
1725
+ localVarAxiosArgs,
1726
+ globalAxios,
1727
+ BASE_PATH,
1728
+ configuration
1729
+ )(axios, localVarOperationServerBasePath || basePath);
1730
+ },
1731
+ /**
1732
+ *
1733
+ * @summary Get a field of the matching user.
1734
+ * @param {string} userLocator
1735
+ * @param {string} field
1736
+ * @param {*} [options] Override http request option.
1737
+ * @throws {RequiredError}
1738
+ */
1739
+ async getUserField(
1740
+ userLocator: string,
1741
+ field: string,
1742
+ options?: RawAxiosRequestConfig
1743
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
1744
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserField(
1745
+ userLocator,
1746
+ field,
1747
+ options
1748
+ );
1749
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1750
+ const localVarOperationServerBasePath =
1751
+ operationServerMap['UserApi.getUserField']?.[localVarOperationServerIndex]?.url;
1752
+ return (axios, basePath) =>
1753
+ createRequestFunction(
1754
+ localVarAxiosArgs,
1755
+ globalAxios,
1756
+ BASE_PATH,
1757
+ configuration
1758
+ )(axios, localVarOperationServerBasePath || basePath);
1759
+ },
1760
+ /**
1761
+ *
1762
+ * @summary Get a user group of the matching user.
1763
+ * @param {string} userLocator
1764
+ * @param {string} groupLocator
1765
+ * @param {string} [fields]
1766
+ * @param {*} [options] Override http request option.
1767
+ * @throws {RequiredError}
1768
+ */
1769
+ async getUserGroup(
1770
+ userLocator: string,
1771
+ groupLocator: string,
1772
+ fields?: string,
1773
+ options?: RawAxiosRequestConfig
1774
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>> {
1775
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserGroup(
1776
+ userLocator,
1777
+ groupLocator,
1778
+ fields,
1779
+ options
1780
+ );
1781
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1782
+ const localVarOperationServerBasePath =
1783
+ operationServerMap['UserApi.getUserGroup']?.[localVarOperationServerIndex]?.url;
1784
+ return (axios, basePath) =>
1785
+ createRequestFunction(
1786
+ localVarAxiosArgs,
1787
+ globalAxios,
1788
+ BASE_PATH,
1789
+ configuration
1790
+ )(axios, localVarOperationServerBasePath || basePath);
1791
+ },
1792
+ /**
1793
+ *
1794
+ * @summary Get all permissions effective for the matching user.
1795
+ * @param {string} userLocator
1796
+ * @param {string} [locator]
1797
+ * @param {string} [fields]
1798
+ * @param {*} [options] Override http request option.
1799
+ * @throws {RequiredError}
1800
+ */
1801
+ async getUserPermissions(
1802
+ userLocator: string,
1803
+ locator?: string,
1804
+ fields?: string,
1805
+ options?: RawAxiosRequestConfig
1806
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionAssignments>> {
1807
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserPermissions(
1808
+ userLocator,
1809
+ locator,
1810
+ fields,
1811
+ options
1812
+ );
1813
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1814
+ const localVarOperationServerBasePath =
1815
+ operationServerMap['UserApi.getUserPermissions']?.[localVarOperationServerIndex]?.url;
1816
+ return (axios, basePath) =>
1817
+ createRequestFunction(
1818
+ localVarAxiosArgs,
1819
+ globalAxios,
1820
+ BASE_PATH,
1821
+ configuration
1822
+ )(axios, localVarOperationServerBasePath || basePath);
1823
+ },
1824
+ /**
1825
+ *
1826
+ * @summary Get all properties of the matching user.
1827
+ * @param {string} userLocator
1828
+ * @param {string} [fields]
1829
+ * @param {*} [options] Override http request option.
1830
+ * @throws {RequiredError}
1831
+ */
1832
+ async getUserProperties(
1833
+ userLocator: string,
1834
+ fields?: string,
1835
+ options?: RawAxiosRequestConfig
1836
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Properties>> {
1837
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserProperties(
1838
+ userLocator,
1839
+ fields,
1840
+ options
1841
+ );
1842
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1843
+ const localVarOperationServerBasePath =
1844
+ operationServerMap['UserApi.getUserProperties']?.[localVarOperationServerIndex]?.url;
1845
+ return (axios, basePath) =>
1846
+ createRequestFunction(
1847
+ localVarAxiosArgs,
1848
+ globalAxios,
1849
+ BASE_PATH,
1850
+ configuration
1851
+ )(axios, localVarOperationServerBasePath || basePath);
1852
+ },
1853
+ /**
1854
+ *
1855
+ * @summary Get a property of the matching user.
1856
+ * @param {string} userLocator
1857
+ * @param {string} name
1858
+ * @param {*} [options] Override http request option.
1859
+ * @throws {RequiredError}
1860
+ */
1861
+ async getUserProperty(
1862
+ userLocator: string,
1863
+ name: string,
1864
+ options?: RawAxiosRequestConfig
1865
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
1866
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserProperty(
1867
+ userLocator,
1868
+ name,
1869
+ options
1870
+ );
1871
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1872
+ const localVarOperationServerBasePath =
1873
+ operationServerMap['UserApi.getUserProperty']?.[localVarOperationServerIndex]?.url;
1874
+ return (axios, basePath) =>
1875
+ createRequestFunction(
1876
+ localVarAxiosArgs,
1877
+ globalAxios,
1878
+ BASE_PATH,
1879
+ configuration
1880
+ )(axios, localVarOperationServerBasePath || basePath);
1881
+ },
1882
+ /**
1883
+ *
1884
+ * @summary Get a user role with the specific scope from the matching user.
1885
+ * @param {string} userLocator
1886
+ * @param {string} roleId
1887
+ * @param {string} scope
1888
+ * @param {*} [options] Override http request option.
1889
+ * @throws {RequiredError}
1890
+ */
1891
+ async getUserRolesAtScope(
1892
+ userLocator: string,
1893
+ roleId: string,
1894
+ scope: string,
1895
+ options?: RawAxiosRequestConfig
1896
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Role>> {
1897
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserRolesAtScope(
1898
+ userLocator,
1899
+ roleId,
1900
+ scope,
1901
+ options
1902
+ );
1903
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1904
+ const localVarOperationServerBasePath =
1905
+ operationServerMap['UserApi.getUserRolesAtScope']?.[localVarOperationServerIndex]?.url;
1906
+ return (axios, basePath) =>
1907
+ createRequestFunction(
1908
+ localVarAxiosArgs,
1909
+ globalAxios,
1910
+ BASE_PATH,
1911
+ configuration
1912
+ )(axios, localVarOperationServerBasePath || basePath);
1913
+ },
1914
+ /**
1915
+ *
1916
+ * @summary Get all authentication tokens of the matching user.
1917
+ * @param {string} userLocator
1918
+ * @param {string} [fields]
1919
+ * @param {*} [options] Override http request option.
1920
+ * @throws {RequiredError}
1921
+ */
1922
+ async getUserTokens(
1923
+ userLocator: string,
1924
+ fields?: string,
1925
+ options?: RawAxiosRequestConfig
1926
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tokens>> {
1927
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserTokens(
1928
+ userLocator,
1929
+ fields,
1930
+ options
1931
+ );
1932
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1933
+ const localVarOperationServerBasePath =
1934
+ operationServerMap['UserApi.getUserTokens']?.[localVarOperationServerIndex]?.url;
1935
+ return (axios, basePath) =>
1936
+ createRequestFunction(
1937
+ localVarAxiosArgs,
1938
+ globalAxios,
1939
+ BASE_PATH,
1940
+ configuration
1941
+ )(axios, localVarOperationServerBasePath || basePath);
1942
+ },
1943
+ /**
1944
+ *
1945
+ * @summary Terminate all current sessions of the matching user.
1946
+ * @param {string} userLocator
1947
+ * @param {*} [options] Override http request option.
1948
+ * @throws {RequiredError}
1949
+ */
1950
+ async logoutUser(
1951
+ userLocator: string,
1952
+ options?: RawAxiosRequestConfig
1953
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1954
+ const localVarAxiosArgs = await localVarAxiosParamCreator.logoutUser(userLocator, options);
1955
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1956
+ const localVarOperationServerBasePath =
1957
+ operationServerMap['UserApi.logoutUser']?.[localVarOperationServerIndex]?.url;
1958
+ return (axios, basePath) =>
1959
+ createRequestFunction(
1960
+ localVarAxiosArgs,
1961
+ globalAxios,
1962
+ BASE_PATH,
1963
+ configuration
1964
+ )(axios, localVarOperationServerBasePath || basePath);
1965
+ },
1966
+ /**
1967
+ *
1968
+ * @summary Remove the matching user from the specific group.
1969
+ * @param {string} userLocator
1970
+ * @param {string} groupLocator
1971
+ * @param {string} [fields]
1972
+ * @param {*} [options] Override http request option.
1973
+ * @throws {RequiredError}
1974
+ */
1975
+ async removeUserFromGroup(
1976
+ userLocator: string,
1977
+ groupLocator: string,
1978
+ fields?: string,
1979
+ options?: RawAxiosRequestConfig
1980
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1981
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeUserFromGroup(
1982
+ userLocator,
1983
+ groupLocator,
1984
+ fields,
1985
+ options
1986
+ );
1987
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1988
+ const localVarOperationServerBasePath =
1989
+ operationServerMap['UserApi.removeUserFromGroup']?.[localVarOperationServerIndex]?.url;
1990
+ return (axios, basePath) =>
1991
+ createRequestFunction(
1992
+ localVarAxiosArgs,
1993
+ globalAxios,
1994
+ BASE_PATH,
1995
+ configuration
1996
+ )(axios, localVarOperationServerBasePath || basePath);
1997
+ },
1998
+ /**
1999
+ *
2000
+ * @summary Remove a property of the matching user.
2001
+ * @param {string} userLocator
2002
+ * @param {string} name
2003
+ * @param {*} [options] Override http request option.
2004
+ * @throws {RequiredError}
2005
+ */
2006
+ async removeUserProperty(
2007
+ userLocator: string,
2008
+ name: string,
2009
+ options?: RawAxiosRequestConfig
2010
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2011
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeUserProperty(
2012
+ userLocator,
2013
+ name,
2014
+ options
2015
+ );
2016
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2017
+ const localVarOperationServerBasePath =
2018
+ operationServerMap['UserApi.removeUserProperty']?.[localVarOperationServerIndex]?.url;
2019
+ return (axios, basePath) =>
2020
+ createRequestFunction(
2021
+ localVarAxiosArgs,
2022
+ globalAxios,
2023
+ BASE_PATH,
2024
+ configuration
2025
+ )(axios, localVarOperationServerBasePath || basePath);
2026
+ },
2027
+ /**
2028
+ *
2029
+ * @summary Remove the RememberMe data of the matching user.
2030
+ * @param {string} userLocator
2031
+ * @param {*} [options] Override http request option.
2032
+ * @throws {RequiredError}
2033
+ */
2034
+ async removeUserRememberMe(
2035
+ userLocator: string,
2036
+ options?: RawAxiosRequestConfig
2037
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2038
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeUserRememberMe(
2039
+ userLocator,
2040
+ options
2041
+ );
2042
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2043
+ const localVarOperationServerBasePath =
2044
+ operationServerMap['UserApi.removeUserRememberMe']?.[localVarOperationServerIndex]?.url;
2045
+ return (axios, basePath) =>
2046
+ createRequestFunction(
2047
+ localVarAxiosArgs,
2048
+ globalAxios,
2049
+ BASE_PATH,
2050
+ configuration
2051
+ )(axios, localVarOperationServerBasePath || basePath);
2052
+ },
2053
+ /**
2054
+ *
2055
+ * @summary Remove a role with the specific scope from the matching user.
2056
+ * @param {string} userLocator
2057
+ * @param {string} roleId
2058
+ * @param {string} scope
2059
+ * @param {*} [options] Override http request option.
2060
+ * @throws {RequiredError}
2061
+ */
2062
+ async removeUserRoleAtScope(
2063
+ userLocator: string,
2064
+ roleId: string,
2065
+ scope: string,
2066
+ options?: RawAxiosRequestConfig
2067
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2068
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeUserRoleAtScope(
2069
+ userLocator,
2070
+ roleId,
2071
+ scope,
2072
+ options
2073
+ );
2074
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2075
+ const localVarOperationServerBasePath =
2076
+ operationServerMap['UserApi.removeUserRoleAtScope']?.[localVarOperationServerIndex]?.url;
2077
+ return (axios, basePath) =>
2078
+ createRequestFunction(
2079
+ localVarAxiosArgs,
2080
+ globalAxios,
2081
+ BASE_PATH,
2082
+ configuration
2083
+ )(axios, localVarOperationServerBasePath || basePath);
2084
+ },
2085
+ /**
2086
+ *
2087
+ * @summary Update user matching the locator.
2088
+ * @param {string} userLocator
2089
+ * @param {string} [fields]
2090
+ * @param {User} [body]
2091
+ * @param {*} [options] Override http request option.
2092
+ * @throws {RequiredError}
2093
+ */
2094
+ async replaceUser(
2095
+ userLocator: string,
2096
+ fields?: string,
2097
+ body?: User,
2098
+ options?: RawAxiosRequestConfig
2099
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
2100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.replaceUser(
2101
+ userLocator,
2102
+ fields,
2103
+ body,
2104
+ options
2105
+ );
2106
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2107
+ const localVarOperationServerBasePath =
2108
+ operationServerMap['UserApi.replaceUser']?.[localVarOperationServerIndex]?.url;
2109
+ return (axios, basePath) =>
2110
+ createRequestFunction(
2111
+ localVarAxiosArgs,
2112
+ globalAxios,
2113
+ BASE_PATH,
2114
+ configuration
2115
+ )(axios, localVarOperationServerBasePath || basePath);
2116
+ },
2117
+ /**
2118
+ *
2119
+ * @summary Update a field of the matching user.
2120
+ * @param {string} userLocator
2121
+ * @param {string} field
2122
+ * @param {string} [body]
2123
+ * @param {*} [options] Override http request option.
2124
+ * @throws {RequiredError}
2125
+ */
2126
+ async setUserField(
2127
+ userLocator: string,
2128
+ field: string,
2129
+ body?: string,
2130
+ options?: RawAxiosRequestConfig
2131
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
2132
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setUserField(
2133
+ userLocator,
2134
+ field,
2135
+ body,
2136
+ options
2137
+ );
2138
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2139
+ const localVarOperationServerBasePath =
2140
+ operationServerMap['UserApi.setUserField']?.[localVarOperationServerIndex]?.url;
2141
+ return (axios, basePath) =>
2142
+ createRequestFunction(
2143
+ localVarAxiosArgs,
2144
+ globalAxios,
2145
+ BASE_PATH,
2146
+ configuration
2147
+ )(axios, localVarOperationServerBasePath || basePath);
2148
+ },
2149
+ /**
2150
+ *
2151
+ * @summary Update groups of the matching user.
2152
+ * @param {string} userLocator
2153
+ * @param {string} [fields]
2154
+ * @param {Groups} [body]
2155
+ * @param {*} [options] Override http request option.
2156
+ * @throws {RequiredError}
2157
+ */
2158
+ async setUserGroups(
2159
+ userLocator: string,
2160
+ fields?: string,
2161
+ body?: Groups,
2162
+ options?: RawAxiosRequestConfig
2163
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Groups>> {
2164
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setUserGroups(
2165
+ userLocator,
2166
+ fields,
2167
+ body,
2168
+ options
2169
+ );
2170
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2171
+ const localVarOperationServerBasePath =
2172
+ operationServerMap['UserApi.setUserGroups']?.[localVarOperationServerIndex]?.url;
2173
+ return (axios, basePath) =>
2174
+ createRequestFunction(
2175
+ localVarAxiosArgs,
2176
+ globalAxios,
2177
+ BASE_PATH,
2178
+ configuration
2179
+ )(axios, localVarOperationServerBasePath || basePath);
2180
+ },
2181
+ /**
2182
+ *
2183
+ * @summary Update a property of the matching user.
2184
+ * @param {string} userLocator
2185
+ * @param {string} name
2186
+ * @param {string} [body]
2187
+ * @param {*} [options] Override http request option.
2188
+ * @throws {RequiredError}
2189
+ */
2190
+ async setUserProperty(
2191
+ userLocator: string,
2192
+ name: string,
2193
+ body?: string,
2194
+ options?: RawAxiosRequestConfig
2195
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
2196
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setUserProperty(
2197
+ userLocator,
2198
+ name,
2199
+ body,
2200
+ options
2201
+ );
2202
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2203
+ const localVarOperationServerBasePath =
2204
+ operationServerMap['UserApi.setUserProperty']?.[localVarOperationServerIndex]?.url;
2205
+ return (axios, basePath) =>
2206
+ createRequestFunction(
2207
+ localVarAxiosArgs,
2208
+ globalAxios,
2209
+ BASE_PATH,
2210
+ configuration
2211
+ )(axios, localVarOperationServerBasePath || basePath);
2212
+ },
2213
+ /**
2214
+ *
2215
+ * @summary Update user roles of the matching user.
2216
+ * @param {string} userLocator
2217
+ * @param {Roles} [body]
2218
+ * @param {*} [options] Override http request option.
2219
+ * @throws {RequiredError}
2220
+ */
2221
+ async setUserRoles(
2222
+ userLocator: string,
2223
+ body?: Roles,
2224
+ options?: RawAxiosRequestConfig
2225
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Roles>> {
2226
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setUserRoles(
2227
+ userLocator,
2228
+ body,
2229
+ options
2230
+ );
2231
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2232
+ const localVarOperationServerBasePath =
2233
+ operationServerMap['UserApi.setUserRoles']?.[localVarOperationServerIndex]?.url;
2234
+ return (axios, basePath) =>
2235
+ createRequestFunction(
2236
+ localVarAxiosArgs,
2237
+ globalAxios,
2238
+ BASE_PATH,
2239
+ configuration
2240
+ )(axios, localVarOperationServerBasePath || basePath);
2241
+ },
2242
+ };
2243
+ };
2244
+
2245
+ /**
2246
+ * UserApi - factory interface
2247
+ * @export
2248
+ */
2249
+ export const UserApiFactory = function (
2250
+ configuration?: Configuration,
2251
+ basePath?: string,
2252
+ axios?: AxiosInstance
2253
+ ) {
2254
+ const localVarFp = UserApiFp(configuration);
2255
+ return {
2256
+ /**
2257
+ *
2258
+ * @summary Add a role to the matching user.
2259
+ * @param {string} userLocator
2260
+ * @param {Role} [body]
2261
+ * @param {*} [options] Override http request option.
2262
+ * @throws {RequiredError}
2263
+ */
2264
+ addRoleToUser(
2265
+ userLocator: string,
2266
+ body?: Role,
2267
+ options?: RawAxiosRequestConfig
2268
+ ): AxiosPromise<Role> {
2269
+ return localVarFp
2270
+ .addRoleToUser(userLocator, body, options)
2271
+ .then((request) => request(axios, basePath));
2272
+ },
2273
+ /**
2274
+ *
2275
+ * @summary Add a role with the specific scope to the matching user.
2276
+ * @param {string} userLocator
2277
+ * @param {string} roleId
2278
+ * @param {string} scope
2279
+ * @param {*} [options] Override http request option.
2280
+ * @throws {RequiredError}
2281
+ */
2282
+ addRoleToUserAtScope(
2283
+ userLocator: string,
2284
+ roleId: string,
2285
+ scope: string,
2286
+ options?: RawAxiosRequestConfig
2287
+ ): AxiosPromise<Role> {
2288
+ return localVarFp
2289
+ .addRoleToUserAtScope(userLocator, roleId, scope, options)
2290
+ .then((request) => request(axios, basePath));
2291
+ },
2292
+ /**
2293
+ *
2294
+ * @summary Create a new user.
2295
+ * @param {string} [fields]
2296
+ * @param {User} [body]
2297
+ * @param {*} [options] Override http request option.
2298
+ * @throws {RequiredError}
2299
+ */
2300
+ addUser(fields?: string, body?: User, options?: RawAxiosRequestConfig): AxiosPromise<User> {
2301
+ return localVarFp.addUser(fields, body, options).then((request) => request(axios, basePath));
2302
+ },
2303
+ /**
2304
+ *
2305
+ * @summary Create a new authentication token for the matching user.
2306
+ * @param {string} userLocator
2307
+ * @param {string} [fields]
2308
+ * @param {Token} [body]
2309
+ * @param {*} [options] Override http request option.
2310
+ * @throws {RequiredError}
2311
+ */
2312
+ addUserToken(
2313
+ userLocator: string,
2314
+ fields?: string,
2315
+ body?: Token,
2316
+ options?: RawAxiosRequestConfig
2317
+ ): AxiosPromise<Token> {
2318
+ return localVarFp
2319
+ .addUserToken(userLocator, fields, body, options)
2320
+ .then((request) => request(axios, basePath));
2321
+ },
2322
+ /**
2323
+ *
2324
+ * @summary Delete user matching the locator.
2325
+ * @param {string} userLocator
2326
+ * @param {*} [options] Override http request option.
2327
+ * @throws {RequiredError}
2328
+ */
2329
+ deleteUser(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2330
+ return localVarFp
2331
+ .deleteUser(userLocator, options)
2332
+ .then((request) => request(axios, basePath));
2333
+ },
2334
+ /**
2335
+ *
2336
+ * @summary Remove a property of the matching user.
2337
+ * @param {string} userLocator
2338
+ * @param {string} field
2339
+ * @param {*} [options] Override http request option.
2340
+ * @throws {RequiredError}
2341
+ */
2342
+ deleteUserField(
2343
+ userLocator: string,
2344
+ field: string,
2345
+ options?: RawAxiosRequestConfig
2346
+ ): AxiosPromise<void> {
2347
+ return localVarFp
2348
+ .deleteUserField(userLocator, field, options)
2349
+ .then((request) => request(axios, basePath));
2350
+ },
2351
+ /**
2352
+ *
2353
+ * @summary Remove an authentication token from the matching user.
2354
+ * @param {string} userLocator
2355
+ * @param {string} name
2356
+ * @param {*} [options] Override http request option.
2357
+ * @throws {RequiredError}
2358
+ */
2359
+ deleteUserToken(
2360
+ userLocator: string,
2361
+ name: string,
2362
+ options?: RawAxiosRequestConfig
2363
+ ): AxiosPromise<void> {
2364
+ return localVarFp
2365
+ .deleteUserToken(userLocator, name, options)
2366
+ .then((request) => request(axios, basePath));
2367
+ },
2368
+ /**
2369
+ *
2370
+ * @summary Get all groups of the matching user.
2371
+ * @param {string} userLocator
2372
+ * @param {string} [fields]
2373
+ * @param {*} [options] Override http request option.
2374
+ * @throws {RequiredError}
2375
+ */
2376
+ getAllUserGroups(
2377
+ userLocator: string,
2378
+ fields?: string,
2379
+ options?: RawAxiosRequestConfig
2380
+ ): AxiosPromise<Groups> {
2381
+ return localVarFp
2382
+ .getAllUserGroups(userLocator, fields, options)
2383
+ .then((request) => request(axios, basePath));
2384
+ },
2385
+ /**
2386
+ *
2387
+ * @summary Get all user roles of the matching user.
2388
+ * @param {string} userLocator
2389
+ * @param {*} [options] Override http request option.
2390
+ * @throws {RequiredError}
2391
+ */
2392
+ getAllUserRoles(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<Roles> {
2393
+ return localVarFp
2394
+ .getAllUserRoles(userLocator, options)
2395
+ .then((request) => request(axios, basePath));
2396
+ },
2397
+ /**
2398
+ *
2399
+ * @summary Get all users.
2400
+ * @param {string} [locator]
2401
+ * @param {string} [fields]
2402
+ * @param {*} [options] Override http request option.
2403
+ * @throws {RequiredError}
2404
+ */
2405
+ getAllUsers(
2406
+ locator?: string,
2407
+ fields?: string,
2408
+ options?: RawAxiosRequestConfig
2409
+ ): AxiosPromise<Users> {
2410
+ return localVarFp
2411
+ .getAllUsers(locator, fields, options)
2412
+ .then((request) => request(axios, basePath));
2413
+ },
2414
+ /**
2415
+ *
2416
+ * @summary Get user matching the locator.
2417
+ * @param {string} userLocator
2418
+ * @param {string} [fields]
2419
+ * @param {*} [options] Override http request option.
2420
+ * @throws {RequiredError}
2421
+ */
2422
+ getUser(
2423
+ userLocator: string,
2424
+ fields?: string,
2425
+ options?: RawAxiosRequestConfig
2426
+ ): AxiosPromise<User> {
2427
+ return localVarFp
2428
+ .getUser(userLocator, fields, options)
2429
+ .then((request) => request(axios, basePath));
2430
+ },
2431
+ /**
2432
+ *
2433
+ * @summary Get a field of the matching user.
2434
+ * @param {string} userLocator
2435
+ * @param {string} field
2436
+ * @param {*} [options] Override http request option.
2437
+ * @throws {RequiredError}
2438
+ */
2439
+ getUserField(
2440
+ userLocator: string,
2441
+ field: string,
2442
+ options?: RawAxiosRequestConfig
2443
+ ): AxiosPromise<string> {
2444
+ return localVarFp
2445
+ .getUserField(userLocator, field, options)
2446
+ .then((request) => request(axios, basePath));
2447
+ },
2448
+ /**
2449
+ *
2450
+ * @summary Get a user group of the matching user.
2451
+ * @param {string} userLocator
2452
+ * @param {string} groupLocator
2453
+ * @param {string} [fields]
2454
+ * @param {*} [options] Override http request option.
2455
+ * @throws {RequiredError}
2456
+ */
2457
+ getUserGroup(
2458
+ userLocator: string,
2459
+ groupLocator: string,
2460
+ fields?: string,
2461
+ options?: RawAxiosRequestConfig
2462
+ ): AxiosPromise<Group> {
2463
+ return localVarFp
2464
+ .getUserGroup(userLocator, groupLocator, fields, options)
2465
+ .then((request) => request(axios, basePath));
2466
+ },
2467
+ /**
2468
+ *
2469
+ * @summary Get all permissions effective for the matching user.
2470
+ * @param {string} userLocator
2471
+ * @param {string} [locator]
2472
+ * @param {string} [fields]
2473
+ * @param {*} [options] Override http request option.
2474
+ * @throws {RequiredError}
2475
+ */
2476
+ getUserPermissions(
2477
+ userLocator: string,
2478
+ locator?: string,
2479
+ fields?: string,
2480
+ options?: RawAxiosRequestConfig
2481
+ ): AxiosPromise<PermissionAssignments> {
2482
+ return localVarFp
2483
+ .getUserPermissions(userLocator, locator, fields, options)
2484
+ .then((request) => request(axios, basePath));
2485
+ },
2486
+ /**
2487
+ *
2488
+ * @summary Get all properties of the matching user.
2489
+ * @param {string} userLocator
2490
+ * @param {string} [fields]
2491
+ * @param {*} [options] Override http request option.
2492
+ * @throws {RequiredError}
2493
+ */
2494
+ getUserProperties(
2495
+ userLocator: string,
2496
+ fields?: string,
2497
+ options?: RawAxiosRequestConfig
2498
+ ): AxiosPromise<Properties> {
2499
+ return localVarFp
2500
+ .getUserProperties(userLocator, fields, options)
2501
+ .then((request) => request(axios, basePath));
2502
+ },
2503
+ /**
2504
+ *
2505
+ * @summary Get a property of the matching user.
2506
+ * @param {string} userLocator
2507
+ * @param {string} name
2508
+ * @param {*} [options] Override http request option.
2509
+ * @throws {RequiredError}
2510
+ */
2511
+ getUserProperty(
2512
+ userLocator: string,
2513
+ name: string,
2514
+ options?: RawAxiosRequestConfig
2515
+ ): AxiosPromise<string> {
2516
+ return localVarFp
2517
+ .getUserProperty(userLocator, name, options)
2518
+ .then((request) => request(axios, basePath));
2519
+ },
2520
+ /**
2521
+ *
2522
+ * @summary Get a user role with the specific scope from the matching user.
2523
+ * @param {string} userLocator
2524
+ * @param {string} roleId
2525
+ * @param {string} scope
2526
+ * @param {*} [options] Override http request option.
2527
+ * @throws {RequiredError}
2528
+ */
2529
+ getUserRolesAtScope(
2530
+ userLocator: string,
2531
+ roleId: string,
2532
+ scope: string,
2533
+ options?: RawAxiosRequestConfig
2534
+ ): AxiosPromise<Role> {
2535
+ return localVarFp
2536
+ .getUserRolesAtScope(userLocator, roleId, scope, options)
2537
+ .then((request) => request(axios, basePath));
2538
+ },
2539
+ /**
2540
+ *
2541
+ * @summary Get all authentication tokens of the matching user.
2542
+ * @param {string} userLocator
2543
+ * @param {string} [fields]
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ */
2547
+ getUserTokens(
2548
+ userLocator: string,
2549
+ fields?: string,
2550
+ options?: RawAxiosRequestConfig
2551
+ ): AxiosPromise<Tokens> {
2552
+ return localVarFp
2553
+ .getUserTokens(userLocator, fields, options)
2554
+ .then((request) => request(axios, basePath));
2555
+ },
2556
+ /**
2557
+ *
2558
+ * @summary Terminate all current sessions of the matching user.
2559
+ * @param {string} userLocator
2560
+ * @param {*} [options] Override http request option.
2561
+ * @throws {RequiredError}
2562
+ */
2563
+ logoutUser(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2564
+ return localVarFp
2565
+ .logoutUser(userLocator, options)
2566
+ .then((request) => request(axios, basePath));
2567
+ },
2568
+ /**
2569
+ *
2570
+ * @summary Remove the matching user from the specific group.
2571
+ * @param {string} userLocator
2572
+ * @param {string} groupLocator
2573
+ * @param {string} [fields]
2574
+ * @param {*} [options] Override http request option.
2575
+ * @throws {RequiredError}
2576
+ */
2577
+ removeUserFromGroup(
2578
+ userLocator: string,
2579
+ groupLocator: string,
2580
+ fields?: string,
2581
+ options?: RawAxiosRequestConfig
2582
+ ): AxiosPromise<void> {
2583
+ return localVarFp
2584
+ .removeUserFromGroup(userLocator, groupLocator, fields, options)
2585
+ .then((request) => request(axios, basePath));
2586
+ },
2587
+ /**
2588
+ *
2589
+ * @summary Remove a property of the matching user.
2590
+ * @param {string} userLocator
2591
+ * @param {string} name
2592
+ * @param {*} [options] Override http request option.
2593
+ * @throws {RequiredError}
2594
+ */
2595
+ removeUserProperty(
2596
+ userLocator: string,
2597
+ name: string,
2598
+ options?: RawAxiosRequestConfig
2599
+ ): AxiosPromise<void> {
2600
+ return localVarFp
2601
+ .removeUserProperty(userLocator, name, options)
2602
+ .then((request) => request(axios, basePath));
2603
+ },
2604
+ /**
2605
+ *
2606
+ * @summary Remove the RememberMe data of the matching user.
2607
+ * @param {string} userLocator
2608
+ * @param {*} [options] Override http request option.
2609
+ * @throws {RequiredError}
2610
+ */
2611
+ removeUserRememberMe(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2612
+ return localVarFp
2613
+ .removeUserRememberMe(userLocator, options)
2614
+ .then((request) => request(axios, basePath));
2615
+ },
2616
+ /**
2617
+ *
2618
+ * @summary Remove a role with the specific scope from the matching user.
2619
+ * @param {string} userLocator
2620
+ * @param {string} roleId
2621
+ * @param {string} scope
2622
+ * @param {*} [options] Override http request option.
2623
+ * @throws {RequiredError}
2624
+ */
2625
+ removeUserRoleAtScope(
2626
+ userLocator: string,
2627
+ roleId: string,
2628
+ scope: string,
2629
+ options?: RawAxiosRequestConfig
2630
+ ): AxiosPromise<void> {
2631
+ return localVarFp
2632
+ .removeUserRoleAtScope(userLocator, roleId, scope, options)
2633
+ .then((request) => request(axios, basePath));
2634
+ },
2635
+ /**
2636
+ *
2637
+ * @summary Update user matching the locator.
2638
+ * @param {string} userLocator
2639
+ * @param {string} [fields]
2640
+ * @param {User} [body]
2641
+ * @param {*} [options] Override http request option.
2642
+ * @throws {RequiredError}
2643
+ */
2644
+ replaceUser(
2645
+ userLocator: string,
2646
+ fields?: string,
2647
+ body?: User,
2648
+ options?: RawAxiosRequestConfig
2649
+ ): AxiosPromise<User> {
2650
+ return localVarFp
2651
+ .replaceUser(userLocator, fields, body, options)
2652
+ .then((request) => request(axios, basePath));
2653
+ },
2654
+ /**
2655
+ *
2656
+ * @summary Update a field of the matching user.
2657
+ * @param {string} userLocator
2658
+ * @param {string} field
2659
+ * @param {string} [body]
2660
+ * @param {*} [options] Override http request option.
2661
+ * @throws {RequiredError}
2662
+ */
2663
+ setUserField(
2664
+ userLocator: string,
2665
+ field: string,
2666
+ body?: string,
2667
+ options?: RawAxiosRequestConfig
2668
+ ): AxiosPromise<string> {
2669
+ return localVarFp
2670
+ .setUserField(userLocator, field, body, options)
2671
+ .then((request) => request(axios, basePath));
2672
+ },
2673
+ /**
2674
+ *
2675
+ * @summary Update groups of the matching user.
2676
+ * @param {string} userLocator
2677
+ * @param {string} [fields]
2678
+ * @param {Groups} [body]
2679
+ * @param {*} [options] Override http request option.
2680
+ * @throws {RequiredError}
2681
+ */
2682
+ setUserGroups(
2683
+ userLocator: string,
2684
+ fields?: string,
2685
+ body?: Groups,
2686
+ options?: RawAxiosRequestConfig
2687
+ ): AxiosPromise<Groups> {
2688
+ return localVarFp
2689
+ .setUserGroups(userLocator, fields, body, options)
2690
+ .then((request) => request(axios, basePath));
2691
+ },
2692
+ /**
2693
+ *
2694
+ * @summary Update a property of the matching user.
2695
+ * @param {string} userLocator
2696
+ * @param {string} name
2697
+ * @param {string} [body]
2698
+ * @param {*} [options] Override http request option.
2699
+ * @throws {RequiredError}
2700
+ */
2701
+ setUserProperty(
2702
+ userLocator: string,
2703
+ name: string,
2704
+ body?: string,
2705
+ options?: RawAxiosRequestConfig
2706
+ ): AxiosPromise<string> {
2707
+ return localVarFp
2708
+ .setUserProperty(userLocator, name, body, options)
2709
+ .then((request) => request(axios, basePath));
2710
+ },
2711
+ /**
2712
+ *
2713
+ * @summary Update user roles of the matching user.
2714
+ * @param {string} userLocator
2715
+ * @param {Roles} [body]
2716
+ * @param {*} [options] Override http request option.
2717
+ * @throws {RequiredError}
2718
+ */
2719
+ setUserRoles(
2720
+ userLocator: string,
2721
+ body?: Roles,
2722
+ options?: RawAxiosRequestConfig
2723
+ ): AxiosPromise<Roles> {
2724
+ return localVarFp
2725
+ .setUserRoles(userLocator, body, options)
2726
+ .then((request) => request(axios, basePath));
2727
+ },
2728
+ };
2729
+ };
2730
+
2731
+ /**
2732
+ * UserApi - interface
2733
+ * @export
2734
+ * @interface UserApi
2735
+ */
2736
+ export interface UserApiInterface {
2737
+ /**
2738
+ *
2739
+ * @summary Add a role to the matching user.
2740
+ * @param {string} userLocator
2741
+ * @param {Role} [body]
2742
+ * @param {*} [options] Override http request option.
2743
+ * @throws {RequiredError}
2744
+ * @memberof UserApiInterface
2745
+ */
2746
+ addRoleToUser(
2747
+ userLocator: string,
2748
+ body?: Role,
2749
+ options?: RawAxiosRequestConfig
2750
+ ): AxiosPromise<Role>;
2751
+
2752
+ /**
2753
+ *
2754
+ * @summary Add a role with the specific scope to the matching user.
2755
+ * @param {string} userLocator
2756
+ * @param {string} roleId
2757
+ * @param {string} scope
2758
+ * @param {*} [options] Override http request option.
2759
+ * @throws {RequiredError}
2760
+ * @memberof UserApiInterface
2761
+ */
2762
+ addRoleToUserAtScope(
2763
+ userLocator: string,
2764
+ roleId: string,
2765
+ scope: string,
2766
+ options?: RawAxiosRequestConfig
2767
+ ): AxiosPromise<Role>;
2768
+
2769
+ /**
2770
+ *
2771
+ * @summary Create a new user.
2772
+ * @param {string} [fields]
2773
+ * @param {User} [body]
2774
+ * @param {*} [options] Override http request option.
2775
+ * @throws {RequiredError}
2776
+ * @memberof UserApiInterface
2777
+ */
2778
+ addUser(fields?: string, body?: User, options?: RawAxiosRequestConfig): AxiosPromise<User>;
2779
+
2780
+ /**
2781
+ *
2782
+ * @summary Create a new authentication token for the matching user.
2783
+ * @param {string} userLocator
2784
+ * @param {string} [fields]
2785
+ * @param {Token} [body]
2786
+ * @param {*} [options] Override http request option.
2787
+ * @throws {RequiredError}
2788
+ * @memberof UserApiInterface
2789
+ */
2790
+ addUserToken(
2791
+ userLocator: string,
2792
+ fields?: string,
2793
+ body?: Token,
2794
+ options?: RawAxiosRequestConfig
2795
+ ): AxiosPromise<Token>;
2796
+
2797
+ /**
2798
+ *
2799
+ * @summary Delete user matching the locator.
2800
+ * @param {string} userLocator
2801
+ * @param {*} [options] Override http request option.
2802
+ * @throws {RequiredError}
2803
+ * @memberof UserApiInterface
2804
+ */
2805
+ deleteUser(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2806
+
2807
+ /**
2808
+ *
2809
+ * @summary Remove a property of the matching user.
2810
+ * @param {string} userLocator
2811
+ * @param {string} field
2812
+ * @param {*} [options] Override http request option.
2813
+ * @throws {RequiredError}
2814
+ * @memberof UserApiInterface
2815
+ */
2816
+ deleteUserField(
2817
+ userLocator: string,
2818
+ field: string,
2819
+ options?: RawAxiosRequestConfig
2820
+ ): AxiosPromise<void>;
2821
+
2822
+ /**
2823
+ *
2824
+ * @summary Remove an authentication token from the matching user.
2825
+ * @param {string} userLocator
2826
+ * @param {string} name
2827
+ * @param {*} [options] Override http request option.
2828
+ * @throws {RequiredError}
2829
+ * @memberof UserApiInterface
2830
+ */
2831
+ deleteUserToken(
2832
+ userLocator: string,
2833
+ name: string,
2834
+ options?: RawAxiosRequestConfig
2835
+ ): AxiosPromise<void>;
2836
+
2837
+ /**
2838
+ *
2839
+ * @summary Get all groups of the matching user.
2840
+ * @param {string} userLocator
2841
+ * @param {string} [fields]
2842
+ * @param {*} [options] Override http request option.
2843
+ * @throws {RequiredError}
2844
+ * @memberof UserApiInterface
2845
+ */
2846
+ getAllUserGroups(
2847
+ userLocator: string,
2848
+ fields?: string,
2849
+ options?: RawAxiosRequestConfig
2850
+ ): AxiosPromise<Groups>;
2851
+
2852
+ /**
2853
+ *
2854
+ * @summary Get all user roles of the matching user.
2855
+ * @param {string} userLocator
2856
+ * @param {*} [options] Override http request option.
2857
+ * @throws {RequiredError}
2858
+ * @memberof UserApiInterface
2859
+ */
2860
+ getAllUserRoles(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<Roles>;
2861
+
2862
+ /**
2863
+ *
2864
+ * @summary Get all users.
2865
+ * @param {string} [locator]
2866
+ * @param {string} [fields]
2867
+ * @param {*} [options] Override http request option.
2868
+ * @throws {RequiredError}
2869
+ * @memberof UserApiInterface
2870
+ */
2871
+ getAllUsers(
2872
+ locator?: string,
2873
+ fields?: string,
2874
+ options?: RawAxiosRequestConfig
2875
+ ): AxiosPromise<Users>;
2876
+
2877
+ /**
2878
+ *
2879
+ * @summary Get user matching the locator.
2880
+ * @param {string} userLocator
2881
+ * @param {string} [fields]
2882
+ * @param {*} [options] Override http request option.
2883
+ * @throws {RequiredError}
2884
+ * @memberof UserApiInterface
2885
+ */
2886
+ getUser(
2887
+ userLocator: string,
2888
+ fields?: string,
2889
+ options?: RawAxiosRequestConfig
2890
+ ): AxiosPromise<User>;
2891
+
2892
+ /**
2893
+ *
2894
+ * @summary Get a field of the matching user.
2895
+ * @param {string} userLocator
2896
+ * @param {string} field
2897
+ * @param {*} [options] Override http request option.
2898
+ * @throws {RequiredError}
2899
+ * @memberof UserApiInterface
2900
+ */
2901
+ getUserField(
2902
+ userLocator: string,
2903
+ field: string,
2904
+ options?: RawAxiosRequestConfig
2905
+ ): AxiosPromise<string>;
2906
+
2907
+ /**
2908
+ *
2909
+ * @summary Get a user group of the matching user.
2910
+ * @param {string} userLocator
2911
+ * @param {string} groupLocator
2912
+ * @param {string} [fields]
2913
+ * @param {*} [options] Override http request option.
2914
+ * @throws {RequiredError}
2915
+ * @memberof UserApiInterface
2916
+ */
2917
+ getUserGroup(
2918
+ userLocator: string,
2919
+ groupLocator: string,
2920
+ fields?: string,
2921
+ options?: RawAxiosRequestConfig
2922
+ ): AxiosPromise<Group>;
2923
+
2924
+ /**
2925
+ *
2926
+ * @summary Get all permissions effective for the matching user.
2927
+ * @param {string} userLocator
2928
+ * @param {string} [locator]
2929
+ * @param {string} [fields]
2930
+ * @param {*} [options] Override http request option.
2931
+ * @throws {RequiredError}
2932
+ * @memberof UserApiInterface
2933
+ */
2934
+ getUserPermissions(
2935
+ userLocator: string,
2936
+ locator?: string,
2937
+ fields?: string,
2938
+ options?: RawAxiosRequestConfig
2939
+ ): AxiosPromise<PermissionAssignments>;
2940
+
2941
+ /**
2942
+ *
2943
+ * @summary Get all properties of the matching user.
2944
+ * @param {string} userLocator
2945
+ * @param {string} [fields]
2946
+ * @param {*} [options] Override http request option.
2947
+ * @throws {RequiredError}
2948
+ * @memberof UserApiInterface
2949
+ */
2950
+ getUserProperties(
2951
+ userLocator: string,
2952
+ fields?: string,
2953
+ options?: RawAxiosRequestConfig
2954
+ ): AxiosPromise<Properties>;
2955
+
2956
+ /**
2957
+ *
2958
+ * @summary Get a property of the matching user.
2959
+ * @param {string} userLocator
2960
+ * @param {string} name
2961
+ * @param {*} [options] Override http request option.
2962
+ * @throws {RequiredError}
2963
+ * @memberof UserApiInterface
2964
+ */
2965
+ getUserProperty(
2966
+ userLocator: string,
2967
+ name: string,
2968
+ options?: RawAxiosRequestConfig
2969
+ ): AxiosPromise<string>;
2970
+
2971
+ /**
2972
+ *
2973
+ * @summary Get a user role with the specific scope from the matching user.
2974
+ * @param {string} userLocator
2975
+ * @param {string} roleId
2976
+ * @param {string} scope
2977
+ * @param {*} [options] Override http request option.
2978
+ * @throws {RequiredError}
2979
+ * @memberof UserApiInterface
2980
+ */
2981
+ getUserRolesAtScope(
2982
+ userLocator: string,
2983
+ roleId: string,
2984
+ scope: string,
2985
+ options?: RawAxiosRequestConfig
2986
+ ): AxiosPromise<Role>;
2987
+
2988
+ /**
2989
+ *
2990
+ * @summary Get all authentication tokens of the matching user.
2991
+ * @param {string} userLocator
2992
+ * @param {string} [fields]
2993
+ * @param {*} [options] Override http request option.
2994
+ * @throws {RequiredError}
2995
+ * @memberof UserApiInterface
2996
+ */
2997
+ getUserTokens(
2998
+ userLocator: string,
2999
+ fields?: string,
3000
+ options?: RawAxiosRequestConfig
3001
+ ): AxiosPromise<Tokens>;
3002
+
3003
+ /**
3004
+ *
3005
+ * @summary Terminate all current sessions of the matching user.
3006
+ * @param {string} userLocator
3007
+ * @param {*} [options] Override http request option.
3008
+ * @throws {RequiredError}
3009
+ * @memberof UserApiInterface
3010
+ */
3011
+ logoutUser(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3012
+
3013
+ /**
3014
+ *
3015
+ * @summary Remove the matching user from the specific group.
3016
+ * @param {string} userLocator
3017
+ * @param {string} groupLocator
3018
+ * @param {string} [fields]
3019
+ * @param {*} [options] Override http request option.
3020
+ * @throws {RequiredError}
3021
+ * @memberof UserApiInterface
3022
+ */
3023
+ removeUserFromGroup(
3024
+ userLocator: string,
3025
+ groupLocator: string,
3026
+ fields?: string,
3027
+ options?: RawAxiosRequestConfig
3028
+ ): AxiosPromise<void>;
3029
+
3030
+ /**
3031
+ *
3032
+ * @summary Remove a property of the matching user.
3033
+ * @param {string} userLocator
3034
+ * @param {string} name
3035
+ * @param {*} [options] Override http request option.
3036
+ * @throws {RequiredError}
3037
+ * @memberof UserApiInterface
3038
+ */
3039
+ removeUserProperty(
3040
+ userLocator: string,
3041
+ name: string,
3042
+ options?: RawAxiosRequestConfig
3043
+ ): AxiosPromise<void>;
3044
+
3045
+ /**
3046
+ *
3047
+ * @summary Remove the RememberMe data of the matching user.
3048
+ * @param {string} userLocator
3049
+ * @param {*} [options] Override http request option.
3050
+ * @throws {RequiredError}
3051
+ * @memberof UserApiInterface
3052
+ */
3053
+ removeUserRememberMe(userLocator: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3054
+
3055
+ /**
3056
+ *
3057
+ * @summary Remove a role with the specific scope from the matching user.
3058
+ * @param {string} userLocator
3059
+ * @param {string} roleId
3060
+ * @param {string} scope
3061
+ * @param {*} [options] Override http request option.
3062
+ * @throws {RequiredError}
3063
+ * @memberof UserApiInterface
3064
+ */
3065
+ removeUserRoleAtScope(
3066
+ userLocator: string,
3067
+ roleId: string,
3068
+ scope: string,
3069
+ options?: RawAxiosRequestConfig
3070
+ ): AxiosPromise<void>;
3071
+
3072
+ /**
3073
+ *
3074
+ * @summary Update user matching the locator.
3075
+ * @param {string} userLocator
3076
+ * @param {string} [fields]
3077
+ * @param {User} [body]
3078
+ * @param {*} [options] Override http request option.
3079
+ * @throws {RequiredError}
3080
+ * @memberof UserApiInterface
3081
+ */
3082
+ replaceUser(
3083
+ userLocator: string,
3084
+ fields?: string,
3085
+ body?: User,
3086
+ options?: RawAxiosRequestConfig
3087
+ ): AxiosPromise<User>;
3088
+
3089
+ /**
3090
+ *
3091
+ * @summary Update a field of the matching user.
3092
+ * @param {string} userLocator
3093
+ * @param {string} field
3094
+ * @param {string} [body]
3095
+ * @param {*} [options] Override http request option.
3096
+ * @throws {RequiredError}
3097
+ * @memberof UserApiInterface
3098
+ */
3099
+ setUserField(
3100
+ userLocator: string,
3101
+ field: string,
3102
+ body?: string,
3103
+ options?: RawAxiosRequestConfig
3104
+ ): AxiosPromise<string>;
3105
+
3106
+ /**
3107
+ *
3108
+ * @summary Update groups of the matching user.
3109
+ * @param {string} userLocator
3110
+ * @param {string} [fields]
3111
+ * @param {Groups} [body]
3112
+ * @param {*} [options] Override http request option.
3113
+ * @throws {RequiredError}
3114
+ * @memberof UserApiInterface
3115
+ */
3116
+ setUserGroups(
3117
+ userLocator: string,
3118
+ fields?: string,
3119
+ body?: Groups,
3120
+ options?: RawAxiosRequestConfig
3121
+ ): AxiosPromise<Groups>;
3122
+
3123
+ /**
3124
+ *
3125
+ * @summary Update a property of the matching user.
3126
+ * @param {string} userLocator
3127
+ * @param {string} name
3128
+ * @param {string} [body]
3129
+ * @param {*} [options] Override http request option.
3130
+ * @throws {RequiredError}
3131
+ * @memberof UserApiInterface
3132
+ */
3133
+ setUserProperty(
3134
+ userLocator: string,
3135
+ name: string,
3136
+ body?: string,
3137
+ options?: RawAxiosRequestConfig
3138
+ ): AxiosPromise<string>;
3139
+
3140
+ /**
3141
+ *
3142
+ * @summary Update user roles of the matching user.
3143
+ * @param {string} userLocator
3144
+ * @param {Roles} [body]
3145
+ * @param {*} [options] Override http request option.
3146
+ * @throws {RequiredError}
3147
+ * @memberof UserApiInterface
3148
+ */
3149
+ setUserRoles(
3150
+ userLocator: string,
3151
+ body?: Roles,
3152
+ options?: RawAxiosRequestConfig
3153
+ ): AxiosPromise<Roles>;
3154
+ }
3155
+
3156
+ /**
3157
+ * UserApi - object-oriented interface
3158
+ * @export
3159
+ * @class UserApi
3160
+ * @extends {BaseAPI}
3161
+ */
3162
+ export class UserApi extends BaseAPI implements UserApiInterface {
3163
+ /**
3164
+ *
3165
+ * @summary Add a role to the matching user.
3166
+ * @param {string} userLocator
3167
+ * @param {Role} [body]
3168
+ * @param {*} [options] Override http request option.
3169
+ * @throws {RequiredError}
3170
+ * @memberof UserApi
3171
+ */
3172
+ public addRoleToUser(userLocator: string, body?: Role, options?: RawAxiosRequestConfig) {
3173
+ return UserApiFp(this.configuration)
3174
+ .addRoleToUser(userLocator, body, options)
3175
+ .then((request) => request(this.axios, this.basePath));
3176
+ }
3177
+
3178
+ /**
3179
+ *
3180
+ * @summary Add a role with the specific scope to the matching user.
3181
+ * @param {string} userLocator
3182
+ * @param {string} roleId
3183
+ * @param {string} scope
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ * @memberof UserApi
3187
+ */
3188
+ public addRoleToUserAtScope(
3189
+ userLocator: string,
3190
+ roleId: string,
3191
+ scope: string,
3192
+ options?: RawAxiosRequestConfig
3193
+ ) {
3194
+ return UserApiFp(this.configuration)
3195
+ .addRoleToUserAtScope(userLocator, roleId, scope, options)
3196
+ .then((request) => request(this.axios, this.basePath));
3197
+ }
3198
+
3199
+ /**
3200
+ *
3201
+ * @summary Create a new user.
3202
+ * @param {string} [fields]
3203
+ * @param {User} [body]
3204
+ * @param {*} [options] Override http request option.
3205
+ * @throws {RequiredError}
3206
+ * @memberof UserApi
3207
+ */
3208
+ public addUser(fields?: string, body?: User, options?: RawAxiosRequestConfig) {
3209
+ return UserApiFp(this.configuration)
3210
+ .addUser(fields, body, options)
3211
+ .then((request) => request(this.axios, this.basePath));
3212
+ }
3213
+
3214
+ /**
3215
+ *
3216
+ * @summary Create a new authentication token for the matching user.
3217
+ * @param {string} userLocator
3218
+ * @param {string} [fields]
3219
+ * @param {Token} [body]
3220
+ * @param {*} [options] Override http request option.
3221
+ * @throws {RequiredError}
3222
+ * @memberof UserApi
3223
+ */
3224
+ public addUserToken(
3225
+ userLocator: string,
3226
+ fields?: string,
3227
+ body?: Token,
3228
+ options?: RawAxiosRequestConfig
3229
+ ) {
3230
+ return UserApiFp(this.configuration)
3231
+ .addUserToken(userLocator, fields, body, options)
3232
+ .then((request) => request(this.axios, this.basePath));
3233
+ }
3234
+
3235
+ /**
3236
+ *
3237
+ * @summary Delete user matching the locator.
3238
+ * @param {string} userLocator
3239
+ * @param {*} [options] Override http request option.
3240
+ * @throws {RequiredError}
3241
+ * @memberof UserApi
3242
+ */
3243
+ public deleteUser(userLocator: string, options?: RawAxiosRequestConfig) {
3244
+ return UserApiFp(this.configuration)
3245
+ .deleteUser(userLocator, options)
3246
+ .then((request) => request(this.axios, this.basePath));
3247
+ }
3248
+
3249
+ /**
3250
+ *
3251
+ * @summary Remove a property of the matching user.
3252
+ * @param {string} userLocator
3253
+ * @param {string} field
3254
+ * @param {*} [options] Override http request option.
3255
+ * @throws {RequiredError}
3256
+ * @memberof UserApi
3257
+ */
3258
+ public deleteUserField(userLocator: string, field: string, options?: RawAxiosRequestConfig) {
3259
+ return UserApiFp(this.configuration)
3260
+ .deleteUserField(userLocator, field, options)
3261
+ .then((request) => request(this.axios, this.basePath));
3262
+ }
3263
+
3264
+ /**
3265
+ *
3266
+ * @summary Remove an authentication token from the matching user.
3267
+ * @param {string} userLocator
3268
+ * @param {string} name
3269
+ * @param {*} [options] Override http request option.
3270
+ * @throws {RequiredError}
3271
+ * @memberof UserApi
3272
+ */
3273
+ public deleteUserToken(userLocator: string, name: string, options?: RawAxiosRequestConfig) {
3274
+ return UserApiFp(this.configuration)
3275
+ .deleteUserToken(userLocator, name, options)
3276
+ .then((request) => request(this.axios, this.basePath));
3277
+ }
3278
+
3279
+ /**
3280
+ *
3281
+ * @summary Get all groups of the matching user.
3282
+ * @param {string} userLocator
3283
+ * @param {string} [fields]
3284
+ * @param {*} [options] Override http request option.
3285
+ * @throws {RequiredError}
3286
+ * @memberof UserApi
3287
+ */
3288
+ public getAllUserGroups(userLocator: string, fields?: string, options?: RawAxiosRequestConfig) {
3289
+ return UserApiFp(this.configuration)
3290
+ .getAllUserGroups(userLocator, fields, options)
3291
+ .then((request) => request(this.axios, this.basePath));
3292
+ }
3293
+
3294
+ /**
3295
+ *
3296
+ * @summary Get all user roles of the matching user.
3297
+ * @param {string} userLocator
3298
+ * @param {*} [options] Override http request option.
3299
+ * @throws {RequiredError}
3300
+ * @memberof UserApi
3301
+ */
3302
+ public getAllUserRoles(userLocator: string, options?: RawAxiosRequestConfig) {
3303
+ return UserApiFp(this.configuration)
3304
+ .getAllUserRoles(userLocator, options)
3305
+ .then((request) => request(this.axios, this.basePath));
3306
+ }
3307
+
3308
+ /**
3309
+ *
3310
+ * @summary Get all users.
3311
+ * @param {string} [locator]
3312
+ * @param {string} [fields]
3313
+ * @param {*} [options] Override http request option.
3314
+ * @throws {RequiredError}
3315
+ * @memberof UserApi
3316
+ */
3317
+ public getAllUsers(locator?: string, fields?: string, options?: RawAxiosRequestConfig) {
3318
+ return UserApiFp(this.configuration)
3319
+ .getAllUsers(locator, fields, options)
3320
+ .then((request) => request(this.axios, this.basePath));
3321
+ }
3322
+
3323
+ /**
3324
+ *
3325
+ * @summary Get user matching the locator.
3326
+ * @param {string} userLocator
3327
+ * @param {string} [fields]
3328
+ * @param {*} [options] Override http request option.
3329
+ * @throws {RequiredError}
3330
+ * @memberof UserApi
3331
+ */
3332
+ public getUser(userLocator: string, fields?: string, options?: RawAxiosRequestConfig) {
3333
+ return UserApiFp(this.configuration)
3334
+ .getUser(userLocator, fields, options)
3335
+ .then((request) => request(this.axios, this.basePath));
3336
+ }
3337
+
3338
+ /**
3339
+ *
3340
+ * @summary Get a field of the matching user.
3341
+ * @param {string} userLocator
3342
+ * @param {string} field
3343
+ * @param {*} [options] Override http request option.
3344
+ * @throws {RequiredError}
3345
+ * @memberof UserApi
3346
+ */
3347
+ public getUserField(userLocator: string, field: string, options?: RawAxiosRequestConfig) {
3348
+ return UserApiFp(this.configuration)
3349
+ .getUserField(userLocator, field, options)
3350
+ .then((request) => request(this.axios, this.basePath));
3351
+ }
3352
+
3353
+ /**
3354
+ *
3355
+ * @summary Get a user group of the matching user.
3356
+ * @param {string} userLocator
3357
+ * @param {string} groupLocator
3358
+ * @param {string} [fields]
3359
+ * @param {*} [options] Override http request option.
3360
+ * @throws {RequiredError}
3361
+ * @memberof UserApi
3362
+ */
3363
+ public getUserGroup(
3364
+ userLocator: string,
3365
+ groupLocator: string,
3366
+ fields?: string,
3367
+ options?: RawAxiosRequestConfig
3368
+ ) {
3369
+ return UserApiFp(this.configuration)
3370
+ .getUserGroup(userLocator, groupLocator, fields, options)
3371
+ .then((request) => request(this.axios, this.basePath));
3372
+ }
3373
+
3374
+ /**
3375
+ *
3376
+ * @summary Get all permissions effective for the matching user.
3377
+ * @param {string} userLocator
3378
+ * @param {string} [locator]
3379
+ * @param {string} [fields]
3380
+ * @param {*} [options] Override http request option.
3381
+ * @throws {RequiredError}
3382
+ * @memberof UserApi
3383
+ */
3384
+ public getUserPermissions(
3385
+ userLocator: string,
3386
+ locator?: string,
3387
+ fields?: string,
3388
+ options?: RawAxiosRequestConfig
3389
+ ) {
3390
+ return UserApiFp(this.configuration)
3391
+ .getUserPermissions(userLocator, locator, fields, options)
3392
+ .then((request) => request(this.axios, this.basePath));
3393
+ }
3394
+
3395
+ /**
3396
+ *
3397
+ * @summary Get all properties of the matching user.
3398
+ * @param {string} userLocator
3399
+ * @param {string} [fields]
3400
+ * @param {*} [options] Override http request option.
3401
+ * @throws {RequiredError}
3402
+ * @memberof UserApi
3403
+ */
3404
+ public getUserProperties(userLocator: string, fields?: string, options?: RawAxiosRequestConfig) {
3405
+ return UserApiFp(this.configuration)
3406
+ .getUserProperties(userLocator, fields, options)
3407
+ .then((request) => request(this.axios, this.basePath));
3408
+ }
3409
+
3410
+ /**
3411
+ *
3412
+ * @summary Get a property of the matching user.
3413
+ * @param {string} userLocator
3414
+ * @param {string} name
3415
+ * @param {*} [options] Override http request option.
3416
+ * @throws {RequiredError}
3417
+ * @memberof UserApi
3418
+ */
3419
+ public getUserProperty(userLocator: string, name: string, options?: RawAxiosRequestConfig) {
3420
+ return UserApiFp(this.configuration)
3421
+ .getUserProperty(userLocator, name, options)
3422
+ .then((request) => request(this.axios, this.basePath));
3423
+ }
3424
+
3425
+ /**
3426
+ *
3427
+ * @summary Get a user role with the specific scope from the matching user.
3428
+ * @param {string} userLocator
3429
+ * @param {string} roleId
3430
+ * @param {string} scope
3431
+ * @param {*} [options] Override http request option.
3432
+ * @throws {RequiredError}
3433
+ * @memberof UserApi
3434
+ */
3435
+ public getUserRolesAtScope(
3436
+ userLocator: string,
3437
+ roleId: string,
3438
+ scope: string,
3439
+ options?: RawAxiosRequestConfig
3440
+ ) {
3441
+ return UserApiFp(this.configuration)
3442
+ .getUserRolesAtScope(userLocator, roleId, scope, options)
3443
+ .then((request) => request(this.axios, this.basePath));
3444
+ }
3445
+
3446
+ /**
3447
+ *
3448
+ * @summary Get all authentication tokens of the matching user.
3449
+ * @param {string} userLocator
3450
+ * @param {string} [fields]
3451
+ * @param {*} [options] Override http request option.
3452
+ * @throws {RequiredError}
3453
+ * @memberof UserApi
3454
+ */
3455
+ public getUserTokens(userLocator: string, fields?: string, options?: RawAxiosRequestConfig) {
3456
+ return UserApiFp(this.configuration)
3457
+ .getUserTokens(userLocator, fields, options)
3458
+ .then((request) => request(this.axios, this.basePath));
3459
+ }
3460
+
3461
+ /**
3462
+ *
3463
+ * @summary Terminate all current sessions of the matching user.
3464
+ * @param {string} userLocator
3465
+ * @param {*} [options] Override http request option.
3466
+ * @throws {RequiredError}
3467
+ * @memberof UserApi
3468
+ */
3469
+ public logoutUser(userLocator: string, options?: RawAxiosRequestConfig) {
3470
+ return UserApiFp(this.configuration)
3471
+ .logoutUser(userLocator, options)
3472
+ .then((request) => request(this.axios, this.basePath));
3473
+ }
3474
+
3475
+ /**
3476
+ *
3477
+ * @summary Remove the matching user from the specific group.
3478
+ * @param {string} userLocator
3479
+ * @param {string} groupLocator
3480
+ * @param {string} [fields]
3481
+ * @param {*} [options] Override http request option.
3482
+ * @throws {RequiredError}
3483
+ * @memberof UserApi
3484
+ */
3485
+ public removeUserFromGroup(
3486
+ userLocator: string,
3487
+ groupLocator: string,
3488
+ fields?: string,
3489
+ options?: RawAxiosRequestConfig
3490
+ ) {
3491
+ return UserApiFp(this.configuration)
3492
+ .removeUserFromGroup(userLocator, groupLocator, fields, options)
3493
+ .then((request) => request(this.axios, this.basePath));
3494
+ }
3495
+
3496
+ /**
3497
+ *
3498
+ * @summary Remove a property of the matching user.
3499
+ * @param {string} userLocator
3500
+ * @param {string} name
3501
+ * @param {*} [options] Override http request option.
3502
+ * @throws {RequiredError}
3503
+ * @memberof UserApi
3504
+ */
3505
+ public removeUserProperty(userLocator: string, name: string, options?: RawAxiosRequestConfig) {
3506
+ return UserApiFp(this.configuration)
3507
+ .removeUserProperty(userLocator, name, options)
3508
+ .then((request) => request(this.axios, this.basePath));
3509
+ }
3510
+
3511
+ /**
3512
+ *
3513
+ * @summary Remove the RememberMe data of the matching user.
3514
+ * @param {string} userLocator
3515
+ * @param {*} [options] Override http request option.
3516
+ * @throws {RequiredError}
3517
+ * @memberof UserApi
3518
+ */
3519
+ public removeUserRememberMe(userLocator: string, options?: RawAxiosRequestConfig) {
3520
+ return UserApiFp(this.configuration)
3521
+ .removeUserRememberMe(userLocator, options)
3522
+ .then((request) => request(this.axios, this.basePath));
3523
+ }
3524
+
3525
+ /**
3526
+ *
3527
+ * @summary Remove a role with the specific scope from the matching user.
3528
+ * @param {string} userLocator
3529
+ * @param {string} roleId
3530
+ * @param {string} scope
3531
+ * @param {*} [options] Override http request option.
3532
+ * @throws {RequiredError}
3533
+ * @memberof UserApi
3534
+ */
3535
+ public removeUserRoleAtScope(
3536
+ userLocator: string,
3537
+ roleId: string,
3538
+ scope: string,
3539
+ options?: RawAxiosRequestConfig
3540
+ ) {
3541
+ return UserApiFp(this.configuration)
3542
+ .removeUserRoleAtScope(userLocator, roleId, scope, options)
3543
+ .then((request) => request(this.axios, this.basePath));
3544
+ }
3545
+
3546
+ /**
3547
+ *
3548
+ * @summary Update user matching the locator.
3549
+ * @param {string} userLocator
3550
+ * @param {string} [fields]
3551
+ * @param {User} [body]
3552
+ * @param {*} [options] Override http request option.
3553
+ * @throws {RequiredError}
3554
+ * @memberof UserApi
3555
+ */
3556
+ public replaceUser(
3557
+ userLocator: string,
3558
+ fields?: string,
3559
+ body?: User,
3560
+ options?: RawAxiosRequestConfig
3561
+ ) {
3562
+ return UserApiFp(this.configuration)
3563
+ .replaceUser(userLocator, fields, body, options)
3564
+ .then((request) => request(this.axios, this.basePath));
3565
+ }
3566
+
3567
+ /**
3568
+ *
3569
+ * @summary Update a field of the matching user.
3570
+ * @param {string} userLocator
3571
+ * @param {string} field
3572
+ * @param {string} [body]
3573
+ * @param {*} [options] Override http request option.
3574
+ * @throws {RequiredError}
3575
+ * @memberof UserApi
3576
+ */
3577
+ public setUserField(
3578
+ userLocator: string,
3579
+ field: string,
3580
+ body?: string,
3581
+ options?: RawAxiosRequestConfig
3582
+ ) {
3583
+ return UserApiFp(this.configuration)
3584
+ .setUserField(userLocator, field, body, options)
3585
+ .then((request) => request(this.axios, this.basePath));
3586
+ }
3587
+
3588
+ /**
3589
+ *
3590
+ * @summary Update groups of the matching user.
3591
+ * @param {string} userLocator
3592
+ * @param {string} [fields]
3593
+ * @param {Groups} [body]
3594
+ * @param {*} [options] Override http request option.
3595
+ * @throws {RequiredError}
3596
+ * @memberof UserApi
3597
+ */
3598
+ public setUserGroups(
3599
+ userLocator: string,
3600
+ fields?: string,
3601
+ body?: Groups,
3602
+ options?: RawAxiosRequestConfig
3603
+ ) {
3604
+ return UserApiFp(this.configuration)
3605
+ .setUserGroups(userLocator, fields, body, options)
3606
+ .then((request) => request(this.axios, this.basePath));
3607
+ }
3608
+
3609
+ /**
3610
+ *
3611
+ * @summary Update a property of the matching user.
3612
+ * @param {string} userLocator
3613
+ * @param {string} name
3614
+ * @param {string} [body]
3615
+ * @param {*} [options] Override http request option.
3616
+ * @throws {RequiredError}
3617
+ * @memberof UserApi
3618
+ */
3619
+ public setUserProperty(
3620
+ userLocator: string,
3621
+ name: string,
3622
+ body?: string,
3623
+ options?: RawAxiosRequestConfig
3624
+ ) {
3625
+ return UserApiFp(this.configuration)
3626
+ .setUserProperty(userLocator, name, body, options)
3627
+ .then((request) => request(this.axios, this.basePath));
3628
+ }
3629
+
3630
+ /**
3631
+ *
3632
+ * @summary Update user roles of the matching user.
3633
+ * @param {string} userLocator
3634
+ * @param {Roles} [body]
3635
+ * @param {*} [options] Override http request option.
3636
+ * @throws {RequiredError}
3637
+ * @memberof UserApi
3638
+ */
3639
+ public setUserRoles(userLocator: string, body?: Roles, options?: RawAxiosRequestConfig) {
3640
+ return UserApiFp(this.configuration)
3641
+ .setUserRoles(userLocator, body, options)
3642
+ .then((request) => request(this.axios, this.basePath));
3643
+ }
3644
+ }