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