@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,2479 @@
|
|
|
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 { Entries } from '../models';
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
import type { Files } from '../models';
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
import type { Properties } from '../models';
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
import type { VcsRootInstance } from '../models';
|
|
49
|
+
// @ts-ignore
|
|
50
|
+
import type { VcsRootInstances } from '../models';
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* VcsRootInstanceApi - axios parameter creator
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
export const VcsRootInstanceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
57
|
+
return {
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Remove a field of the matching VCS root instance.
|
|
61
|
+
* @param {string} vcsRootInstanceLocator
|
|
62
|
+
* @param {string} field
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
deleteVcsRootInstanceField: async (
|
|
67
|
+
vcsRootInstanceLocator: string,
|
|
68
|
+
field: string,
|
|
69
|
+
options: RawAxiosRequestConfig = {}
|
|
70
|
+
): Promise<RequestArgs> => {
|
|
71
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
72
|
+
assertParamExists(
|
|
73
|
+
'deleteVcsRootInstanceField',
|
|
74
|
+
'vcsRootInstanceLocator',
|
|
75
|
+
vcsRootInstanceLocator
|
|
76
|
+
);
|
|
77
|
+
// verify required parameter 'field' is not null or undefined
|
|
78
|
+
assertParamExists('deleteVcsRootInstanceField', 'field', field);
|
|
79
|
+
const localVarPath = `/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/{field}`
|
|
80
|
+
.replace(
|
|
81
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
82
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
83
|
+
)
|
|
84
|
+
.replace(`{${'field'}}`, encodeURIComponent(String(field)));
|
|
85
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
87
|
+
let baseOptions;
|
|
88
|
+
if (configuration) {
|
|
89
|
+
baseOptions = configuration.baseOptions;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
93
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
94
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
95
|
+
|
|
96
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
97
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
98
|
+
localVarRequestOptions.headers = {
|
|
99
|
+
...localVarHeaderParameter,
|
|
100
|
+
...headersFromBaseOptions,
|
|
101
|
+
...options["headers"],
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
return {
|
|
105
|
+
url: toPathString(localVarUrlObj),
|
|
106
|
+
options: localVarRequestOptions,
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary Delete the last repository state of the matching VCS root instance.
|
|
112
|
+
* @param {string} vcsRootInstanceLocator
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
deleteVcsRootInstanceRepositoryState: async (
|
|
117
|
+
vcsRootInstanceLocator: string,
|
|
118
|
+
options: RawAxiosRequestConfig = {}
|
|
119
|
+
): Promise<RequestArgs> => {
|
|
120
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
121
|
+
assertParamExists(
|
|
122
|
+
'deleteVcsRootInstanceRepositoryState',
|
|
123
|
+
'vcsRootInstanceLocator',
|
|
124
|
+
vcsRootInstanceLocator
|
|
125
|
+
);
|
|
126
|
+
const localVarPath =
|
|
127
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState`.replace(
|
|
128
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
129
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
130
|
+
);
|
|
131
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
132
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
133
|
+
let baseOptions;
|
|
134
|
+
if (configuration) {
|
|
135
|
+
baseOptions = configuration.baseOptions;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
139
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
140
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
141
|
+
|
|
142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
143
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
144
|
+
localVarRequestOptions.headers = {
|
|
145
|
+
...localVarHeaderParameter,
|
|
146
|
+
...headersFromBaseOptions,
|
|
147
|
+
...options["headers"],
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
return {
|
|
151
|
+
url: toPathString(localVarUrlObj),
|
|
152
|
+
options: localVarRequestOptions,
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @summary Download specific file.
|
|
158
|
+
* @param {string} path
|
|
159
|
+
* @param {string} vcsRootInstanceLocator
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
downloadFile: async (
|
|
164
|
+
path: string,
|
|
165
|
+
vcsRootInstanceLocator: string,
|
|
166
|
+
options: RawAxiosRequestConfig = {}
|
|
167
|
+
): Promise<RequestArgs> => {
|
|
168
|
+
// verify required parameter 'path' is not null or undefined
|
|
169
|
+
assertParamExists('downloadFile', 'path', path);
|
|
170
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
171
|
+
assertParamExists('downloadFile', 'vcsRootInstanceLocator', vcsRootInstanceLocator);
|
|
172
|
+
const localVarPath =
|
|
173
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/files{path}`
|
|
174
|
+
.replace(`{${'path'}}`, encodeURIComponent(String(path)))
|
|
175
|
+
.replace(
|
|
176
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
177
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
178
|
+
);
|
|
179
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
180
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
181
|
+
let baseOptions;
|
|
182
|
+
if (configuration) {
|
|
183
|
+
baseOptions = configuration.baseOptions;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
187
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
188
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
189
|
+
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
192
|
+
localVarRequestOptions.headers = {
|
|
193
|
+
...localVarHeaderParameter,
|
|
194
|
+
...headersFromBaseOptions,
|
|
195
|
+
...options["headers"],
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
return {
|
|
199
|
+
url: toPathString(localVarUrlObj),
|
|
200
|
+
options: localVarRequestOptions,
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @summary Get all VCS root instances.
|
|
206
|
+
* @param {string} [locator]
|
|
207
|
+
* @param {string} [fields]
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
getAllVcsRootInstances: async (
|
|
212
|
+
locator?: string,
|
|
213
|
+
fields?: string,
|
|
214
|
+
options: RawAxiosRequestConfig = {}
|
|
215
|
+
): Promise<RequestArgs> => {
|
|
216
|
+
const localVarPath = `/app/rest/vcs-root-instances`;
|
|
217
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
219
|
+
let baseOptions;
|
|
220
|
+
if (configuration) {
|
|
221
|
+
baseOptions = configuration.baseOptions;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
225
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
226
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
227
|
+
|
|
228
|
+
if (locator !== undefined) {
|
|
229
|
+
localVarQueryParameter['locator'] = String(locator);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
if (fields !== undefined) {
|
|
233
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
237
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
238
|
+
localVarRequestOptions.headers = {
|
|
239
|
+
...localVarHeaderParameter,
|
|
240
|
+
...headersFromBaseOptions,
|
|
241
|
+
...options["headers"],
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
return {
|
|
245
|
+
url: toPathString(localVarUrlObj),
|
|
246
|
+
options: localVarRequestOptions,
|
|
247
|
+
};
|
|
248
|
+
},
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @summary Get metadata of specific file.
|
|
252
|
+
* @param {string} path
|
|
253
|
+
* @param {string} vcsRootInstanceLocator
|
|
254
|
+
* @param {string} [fields]
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
getFileMetadata: async (
|
|
259
|
+
path: string,
|
|
260
|
+
vcsRootInstanceLocator: string,
|
|
261
|
+
fields?: string,
|
|
262
|
+
options: RawAxiosRequestConfig = {}
|
|
263
|
+
): Promise<RequestArgs> => {
|
|
264
|
+
// verify required parameter 'path' is not null or undefined
|
|
265
|
+
assertParamExists('getFileMetadata', 'path', path);
|
|
266
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
267
|
+
assertParamExists('getFileMetadata', 'vcsRootInstanceLocator', vcsRootInstanceLocator);
|
|
268
|
+
const localVarPath =
|
|
269
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/metadata{path}`
|
|
270
|
+
.replace(`{${'path'}}`, encodeURIComponent(String(path)))
|
|
271
|
+
.replace(
|
|
272
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
273
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
274
|
+
);
|
|
275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
276
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
277
|
+
let baseOptions;
|
|
278
|
+
if (configuration) {
|
|
279
|
+
baseOptions = configuration.baseOptions;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
283
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
284
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
285
|
+
|
|
286
|
+
if (fields !== undefined) {
|
|
287
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
292
|
+
localVarRequestOptions.headers = {
|
|
293
|
+
...localVarHeaderParameter,
|
|
294
|
+
...headersFromBaseOptions,
|
|
295
|
+
...options["headers"],
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
return {
|
|
299
|
+
url: toPathString(localVarUrlObj),
|
|
300
|
+
options: localVarRequestOptions,
|
|
301
|
+
};
|
|
302
|
+
},
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @summary List all files.
|
|
306
|
+
* @param {string} vcsRootInstanceLocator
|
|
307
|
+
* @param {string} [basePath]
|
|
308
|
+
* @param {string} [locator]
|
|
309
|
+
* @param {string} [fields]
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
getFilesList: async (
|
|
314
|
+
vcsRootInstanceLocator: string,
|
|
315
|
+
basePath?: string,
|
|
316
|
+
locator?: string,
|
|
317
|
+
fields?: string,
|
|
318
|
+
options: RawAxiosRequestConfig = {}
|
|
319
|
+
): Promise<RequestArgs> => {
|
|
320
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
321
|
+
assertParamExists('getFilesList', 'vcsRootInstanceLocator', vcsRootInstanceLocator);
|
|
322
|
+
const localVarPath =
|
|
323
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest`.replace(
|
|
324
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
325
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
326
|
+
);
|
|
327
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
328
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
329
|
+
let baseOptions;
|
|
330
|
+
if (configuration) {
|
|
331
|
+
baseOptions = configuration.baseOptions;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
335
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
336
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
337
|
+
|
|
338
|
+
if (basePath !== undefined) {
|
|
339
|
+
localVarQueryParameter['basePath'] = String(basePath);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
if (locator !== undefined) {
|
|
343
|
+
localVarQueryParameter['locator'] = String(locator);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
if (fields !== undefined) {
|
|
347
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
351
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
352
|
+
localVarRequestOptions.headers = {
|
|
353
|
+
...localVarHeaderParameter,
|
|
354
|
+
...headersFromBaseOptions,
|
|
355
|
+
...options["headers"],
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
return {
|
|
359
|
+
url: toPathString(localVarUrlObj),
|
|
360
|
+
options: localVarRequestOptions,
|
|
361
|
+
};
|
|
362
|
+
},
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* @summary List files under this path.
|
|
366
|
+
* @param {string} path
|
|
367
|
+
* @param {string} vcsRootInstanceLocator
|
|
368
|
+
* @param {string} [basePath]
|
|
369
|
+
* @param {string} [locator]
|
|
370
|
+
* @param {string} [fields]
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
getFilesListForSubpath: async (
|
|
375
|
+
path: string,
|
|
376
|
+
vcsRootInstanceLocator: string,
|
|
377
|
+
basePath?: string,
|
|
378
|
+
locator?: string,
|
|
379
|
+
fields?: string,
|
|
380
|
+
options: RawAxiosRequestConfig = {}
|
|
381
|
+
): Promise<RequestArgs> => {
|
|
382
|
+
// verify required parameter 'path' is not null or undefined
|
|
383
|
+
assertParamExists('getFilesListForSubpath', 'path', path);
|
|
384
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
385
|
+
assertParamExists('getFilesListForSubpath', 'vcsRootInstanceLocator', vcsRootInstanceLocator);
|
|
386
|
+
const localVarPath =
|
|
387
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/{path}`
|
|
388
|
+
.replace(`{${'path'}}`, encodeURIComponent(String(path)))
|
|
389
|
+
.replace(
|
|
390
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
391
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
392
|
+
);
|
|
393
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
394
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
395
|
+
let baseOptions;
|
|
396
|
+
if (configuration) {
|
|
397
|
+
baseOptions = configuration.baseOptions;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
401
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
402
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
403
|
+
|
|
404
|
+
if (basePath !== undefined) {
|
|
405
|
+
localVarQueryParameter['basePath'] = String(basePath);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
if (locator !== undefined) {
|
|
409
|
+
localVarQueryParameter['locator'] = String(locator);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
if (fields !== undefined) {
|
|
413
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
417
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
418
|
+
localVarRequestOptions.headers = {
|
|
419
|
+
...localVarHeaderParameter,
|
|
420
|
+
...headersFromBaseOptions,
|
|
421
|
+
...options["headers"],
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
return {
|
|
425
|
+
url: toPathString(localVarUrlObj),
|
|
426
|
+
options: localVarRequestOptions,
|
|
427
|
+
};
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @summary Get VCS root instance matching the locator.
|
|
432
|
+
* @param {string} vcsRootInstanceLocator
|
|
433
|
+
* @param {string} [fields]
|
|
434
|
+
* @param {*} [options] Override http request option.
|
|
435
|
+
* @throws {RequiredError}
|
|
436
|
+
*/
|
|
437
|
+
getVcsRootInstance: async (
|
|
438
|
+
vcsRootInstanceLocator: string,
|
|
439
|
+
fields?: string,
|
|
440
|
+
options: RawAxiosRequestConfig = {}
|
|
441
|
+
): Promise<RequestArgs> => {
|
|
442
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
443
|
+
assertParamExists('getVcsRootInstance', 'vcsRootInstanceLocator', vcsRootInstanceLocator);
|
|
444
|
+
const localVarPath = `/app/rest/vcs-root-instances/{vcsRootInstanceLocator}`.replace(
|
|
445
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
446
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
447
|
+
);
|
|
448
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
449
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
450
|
+
let baseOptions;
|
|
451
|
+
if (configuration) {
|
|
452
|
+
baseOptions = configuration.baseOptions;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
456
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
457
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
458
|
+
|
|
459
|
+
if (fields !== undefined) {
|
|
460
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
464
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
465
|
+
localVarRequestOptions.headers = {
|
|
466
|
+
...localVarHeaderParameter,
|
|
467
|
+
...headersFromBaseOptions,
|
|
468
|
+
...options["headers"],
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
return {
|
|
472
|
+
url: toPathString(localVarUrlObj),
|
|
473
|
+
options: localVarRequestOptions,
|
|
474
|
+
};
|
|
475
|
+
},
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @summary Get the creation date of the matching VCS root instance.
|
|
479
|
+
* @param {string} vcsRootInstanceLocator
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
*/
|
|
483
|
+
getVcsRootInstanceCreationDate: async (
|
|
484
|
+
vcsRootInstanceLocator: string,
|
|
485
|
+
options: RawAxiosRequestConfig = {}
|
|
486
|
+
): Promise<RequestArgs> => {
|
|
487
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
488
|
+
assertParamExists(
|
|
489
|
+
'getVcsRootInstanceCreationDate',
|
|
490
|
+
'vcsRootInstanceLocator',
|
|
491
|
+
vcsRootInstanceLocator
|
|
492
|
+
);
|
|
493
|
+
const localVarPath =
|
|
494
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState/creationDate`.replace(
|
|
495
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
496
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
497
|
+
);
|
|
498
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
499
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
500
|
+
let baseOptions;
|
|
501
|
+
if (configuration) {
|
|
502
|
+
baseOptions = configuration.baseOptions;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
506
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
507
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
508
|
+
|
|
509
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
510
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
511
|
+
localVarRequestOptions.headers = {
|
|
512
|
+
...localVarHeaderParameter,
|
|
513
|
+
...headersFromBaseOptions,
|
|
514
|
+
...options["headers"],
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
return {
|
|
518
|
+
url: toPathString(localVarUrlObj),
|
|
519
|
+
options: localVarRequestOptions,
|
|
520
|
+
};
|
|
521
|
+
},
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @summary Get a field of the matching VCS root instance.
|
|
525
|
+
* @param {string} vcsRootInstanceLocator
|
|
526
|
+
* @param {string} field
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
getVcsRootInstanceField: async (
|
|
531
|
+
vcsRootInstanceLocator: string,
|
|
532
|
+
field: string,
|
|
533
|
+
options: RawAxiosRequestConfig = {}
|
|
534
|
+
): Promise<RequestArgs> => {
|
|
535
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
536
|
+
assertParamExists(
|
|
537
|
+
'getVcsRootInstanceField',
|
|
538
|
+
'vcsRootInstanceLocator',
|
|
539
|
+
vcsRootInstanceLocator
|
|
540
|
+
);
|
|
541
|
+
// verify required parameter 'field' is not null or undefined
|
|
542
|
+
assertParamExists('getVcsRootInstanceField', 'field', field);
|
|
543
|
+
const localVarPath = `/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/{field}`
|
|
544
|
+
.replace(
|
|
545
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
546
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
547
|
+
)
|
|
548
|
+
.replace(`{${'field'}}`, encodeURIComponent(String(field)));
|
|
549
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
550
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
551
|
+
let baseOptions;
|
|
552
|
+
if (configuration) {
|
|
553
|
+
baseOptions = configuration.baseOptions;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
557
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
558
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
559
|
+
|
|
560
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
561
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
562
|
+
localVarRequestOptions.headers = {
|
|
563
|
+
...localVarHeaderParameter,
|
|
564
|
+
...headersFromBaseOptions,
|
|
565
|
+
...options["headers"],
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
return {
|
|
569
|
+
url: toPathString(localVarUrlObj),
|
|
570
|
+
options: localVarRequestOptions,
|
|
571
|
+
};
|
|
572
|
+
},
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @summary Get all properties of the matching VCS root instance.
|
|
576
|
+
* @param {string} vcsRootInstanceLocator
|
|
577
|
+
* @param {string} [fields]
|
|
578
|
+
* @param {*} [options] Override http request option.
|
|
579
|
+
* @throws {RequiredError}
|
|
580
|
+
*/
|
|
581
|
+
getVcsRootInstanceProperties: async (
|
|
582
|
+
vcsRootInstanceLocator: string,
|
|
583
|
+
fields?: string,
|
|
584
|
+
options: RawAxiosRequestConfig = {}
|
|
585
|
+
): Promise<RequestArgs> => {
|
|
586
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
587
|
+
assertParamExists(
|
|
588
|
+
'getVcsRootInstanceProperties',
|
|
589
|
+
'vcsRootInstanceLocator',
|
|
590
|
+
vcsRootInstanceLocator
|
|
591
|
+
);
|
|
592
|
+
const localVarPath =
|
|
593
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/properties`.replace(
|
|
594
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
595
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
596
|
+
);
|
|
597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
598
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
599
|
+
let baseOptions;
|
|
600
|
+
if (configuration) {
|
|
601
|
+
baseOptions = configuration.baseOptions;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
605
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
606
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
607
|
+
|
|
608
|
+
if (fields !== undefined) {
|
|
609
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
613
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
614
|
+
localVarRequestOptions.headers = {
|
|
615
|
+
...localVarHeaderParameter,
|
|
616
|
+
...headersFromBaseOptions,
|
|
617
|
+
...options["headers"],
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
return {
|
|
621
|
+
url: toPathString(localVarUrlObj),
|
|
622
|
+
options: localVarRequestOptions,
|
|
623
|
+
};
|
|
624
|
+
},
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @summary Get the repository state of the matching VCS root instance.
|
|
628
|
+
* @param {string} vcsRootInstanceLocator
|
|
629
|
+
* @param {string} [fields]
|
|
630
|
+
* @param {*} [options] Override http request option.
|
|
631
|
+
* @throws {RequiredError}
|
|
632
|
+
*/
|
|
633
|
+
getVcsRootInstanceRepositoryState: async (
|
|
634
|
+
vcsRootInstanceLocator: string,
|
|
635
|
+
fields?: string,
|
|
636
|
+
options: RawAxiosRequestConfig = {}
|
|
637
|
+
): Promise<RequestArgs> => {
|
|
638
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
639
|
+
assertParamExists(
|
|
640
|
+
'getVcsRootInstanceRepositoryState',
|
|
641
|
+
'vcsRootInstanceLocator',
|
|
642
|
+
vcsRootInstanceLocator
|
|
643
|
+
);
|
|
644
|
+
const localVarPath =
|
|
645
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState`.replace(
|
|
646
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
647
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
648
|
+
);
|
|
649
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
650
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
651
|
+
let baseOptions;
|
|
652
|
+
if (configuration) {
|
|
653
|
+
baseOptions = configuration.baseOptions;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
657
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
658
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
659
|
+
|
|
660
|
+
if (fields !== undefined) {
|
|
661
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
665
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
666
|
+
localVarRequestOptions.headers = {
|
|
667
|
+
...localVarHeaderParameter,
|
|
668
|
+
...headersFromBaseOptions,
|
|
669
|
+
...options["headers"],
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
return {
|
|
673
|
+
url: toPathString(localVarUrlObj),
|
|
674
|
+
options: localVarRequestOptions,
|
|
675
|
+
};
|
|
676
|
+
},
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @summary Get specific file zipped.
|
|
680
|
+
* @param {string} path
|
|
681
|
+
* @param {string} vcsRootInstanceLocator
|
|
682
|
+
* @param {string} [basePath]
|
|
683
|
+
* @param {string} [locator]
|
|
684
|
+
* @param {string} [name]
|
|
685
|
+
* @param {*} [options] Override http request option.
|
|
686
|
+
* @throws {RequiredError}
|
|
687
|
+
*/
|
|
688
|
+
getZippedFile: async (
|
|
689
|
+
path: string,
|
|
690
|
+
vcsRootInstanceLocator: string,
|
|
691
|
+
basePath?: string,
|
|
692
|
+
locator?: string,
|
|
693
|
+
name?: string,
|
|
694
|
+
options: RawAxiosRequestConfig = {}
|
|
695
|
+
): Promise<RequestArgs> => {
|
|
696
|
+
// verify required parameter 'path' is not null or undefined
|
|
697
|
+
assertParamExists('getZippedFile', 'path', path);
|
|
698
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
699
|
+
assertParamExists('getZippedFile', 'vcsRootInstanceLocator', vcsRootInstanceLocator);
|
|
700
|
+
const localVarPath =
|
|
701
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/files/latest/archived{path}`
|
|
702
|
+
.replace(`{${'path'}}`, encodeURIComponent(String(path)))
|
|
703
|
+
.replace(
|
|
704
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
705
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
706
|
+
);
|
|
707
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
708
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
709
|
+
let baseOptions;
|
|
710
|
+
if (configuration) {
|
|
711
|
+
baseOptions = configuration.baseOptions;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
715
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
716
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
717
|
+
|
|
718
|
+
if (basePath !== undefined) {
|
|
719
|
+
localVarQueryParameter['basePath'] = String(basePath);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
if (locator !== undefined) {
|
|
723
|
+
localVarQueryParameter['locator'] = String(locator);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
if (name !== undefined) {
|
|
727
|
+
localVarQueryParameter['name'] = String(name);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
731
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
732
|
+
localVarRequestOptions.headers = {
|
|
733
|
+
...localVarHeaderParameter,
|
|
734
|
+
...headersFromBaseOptions,
|
|
735
|
+
...options["headers"],
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
return {
|
|
739
|
+
url: toPathString(localVarUrlObj),
|
|
740
|
+
options: localVarRequestOptions,
|
|
741
|
+
};
|
|
742
|
+
},
|
|
743
|
+
/**
|
|
744
|
+
*
|
|
745
|
+
* @summary Check for the pending changes for all VCS root instances.
|
|
746
|
+
* @param {string} [locator]
|
|
747
|
+
* @param {string} [requestor]
|
|
748
|
+
* @param {string} [fields]
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
requestPendingChangesCheck: async (
|
|
753
|
+
locator?: string,
|
|
754
|
+
requestor?: string,
|
|
755
|
+
fields?: string,
|
|
756
|
+
options: RawAxiosRequestConfig = {}
|
|
757
|
+
): Promise<RequestArgs> => {
|
|
758
|
+
const localVarPath = `/app/rest/vcs-root-instances/checkingForChangesQueue`;
|
|
759
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
761
|
+
let baseOptions;
|
|
762
|
+
if (configuration) {
|
|
763
|
+
baseOptions = configuration.baseOptions;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
767
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
768
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
769
|
+
|
|
770
|
+
if (locator !== undefined) {
|
|
771
|
+
localVarQueryParameter['locator'] = String(locator);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
if (requestor !== undefined) {
|
|
775
|
+
localVarQueryParameter['requestor'] = String(requestor);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
if (fields !== undefined) {
|
|
779
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
783
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
784
|
+
localVarRequestOptions.headers = {
|
|
785
|
+
...localVarHeaderParameter,
|
|
786
|
+
...headersFromBaseOptions,
|
|
787
|
+
...options["headers"],
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
return {
|
|
791
|
+
url: toPathString(localVarUrlObj),
|
|
792
|
+
options: localVarRequestOptions,
|
|
793
|
+
};
|
|
794
|
+
},
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @summary Get a field of the matching VCS root instance.
|
|
798
|
+
* @param {string} vcsRootInstanceLocator
|
|
799
|
+
* @param {string} field
|
|
800
|
+
* @param {string} [body]
|
|
801
|
+
* @param {*} [options] Override http request option.
|
|
802
|
+
* @throws {RequiredError}
|
|
803
|
+
*/
|
|
804
|
+
setVcsRootInstanceField: async (
|
|
805
|
+
vcsRootInstanceLocator: string,
|
|
806
|
+
field: string,
|
|
807
|
+
body?: string,
|
|
808
|
+
options: RawAxiosRequestConfig = {}
|
|
809
|
+
): Promise<RequestArgs> => {
|
|
810
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
811
|
+
assertParamExists(
|
|
812
|
+
'setVcsRootInstanceField',
|
|
813
|
+
'vcsRootInstanceLocator',
|
|
814
|
+
vcsRootInstanceLocator
|
|
815
|
+
);
|
|
816
|
+
// verify required parameter 'field' is not null or undefined
|
|
817
|
+
assertParamExists('setVcsRootInstanceField', 'field', field);
|
|
818
|
+
const localVarPath = `/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/{field}`
|
|
819
|
+
.replace(
|
|
820
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
821
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
822
|
+
)
|
|
823
|
+
.replace(`{${'field'}}`, encodeURIComponent(String(field)));
|
|
824
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
826
|
+
let baseOptions;
|
|
827
|
+
if (configuration) {
|
|
828
|
+
baseOptions = configuration.baseOptions;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
832
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
833
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
834
|
+
|
|
835
|
+
localVarHeaderParameter['Content-Type'] = 'text/plain';
|
|
836
|
+
|
|
837
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
838
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
839
|
+
localVarRequestOptions.headers = {
|
|
840
|
+
...localVarHeaderParameter,
|
|
841
|
+
...headersFromBaseOptions,
|
|
842
|
+
...options["headers"],
|
|
843
|
+
};
|
|
844
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
845
|
+
body,
|
|
846
|
+
localVarRequestOptions,
|
|
847
|
+
configuration
|
|
848
|
+
);
|
|
849
|
+
|
|
850
|
+
return {
|
|
851
|
+
url: toPathString(localVarUrlObj),
|
|
852
|
+
options: localVarRequestOptions,
|
|
853
|
+
};
|
|
854
|
+
},
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @summary Update the repository state of the matching VCS root instance.
|
|
858
|
+
* @param {string} vcsRootInstanceLocator
|
|
859
|
+
* @param {string} [fields]
|
|
860
|
+
* @param {Entries} [body]
|
|
861
|
+
* @param {*} [options] Override http request option.
|
|
862
|
+
* @throws {RequiredError}
|
|
863
|
+
*/
|
|
864
|
+
setVcsRootInstanceRepositoryState: async (
|
|
865
|
+
vcsRootInstanceLocator: string,
|
|
866
|
+
fields?: string,
|
|
867
|
+
body?: Entries,
|
|
868
|
+
options: RawAxiosRequestConfig = {}
|
|
869
|
+
): Promise<RequestArgs> => {
|
|
870
|
+
// verify required parameter 'vcsRootInstanceLocator' is not null or undefined
|
|
871
|
+
assertParamExists(
|
|
872
|
+
'setVcsRootInstanceRepositoryState',
|
|
873
|
+
'vcsRootInstanceLocator',
|
|
874
|
+
vcsRootInstanceLocator
|
|
875
|
+
);
|
|
876
|
+
const localVarPath =
|
|
877
|
+
`/app/rest/vcs-root-instances/{vcsRootInstanceLocator}/repositoryState`.replace(
|
|
878
|
+
`{${'vcsRootInstanceLocator'}}`,
|
|
879
|
+
encodeURIComponent(String(vcsRootInstanceLocator))
|
|
880
|
+
);
|
|
881
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
882
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
883
|
+
let baseOptions;
|
|
884
|
+
if (configuration) {
|
|
885
|
+
baseOptions = configuration.baseOptions;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
889
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
890
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
891
|
+
|
|
892
|
+
if (fields !== undefined) {
|
|
893
|
+
localVarQueryParameter['fields'] = String(fields);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
localVarHeaderParameter['Content-Type'] = 'application/xml';
|
|
897
|
+
|
|
898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
899
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
900
|
+
localVarRequestOptions.headers = {
|
|
901
|
+
...localVarHeaderParameter,
|
|
902
|
+
...headersFromBaseOptions,
|
|
903
|
+
...options["headers"],
|
|
904
|
+
};
|
|
905
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
906
|
+
body,
|
|
907
|
+
localVarRequestOptions,
|
|
908
|
+
configuration
|
|
909
|
+
);
|
|
910
|
+
|
|
911
|
+
return {
|
|
912
|
+
url: toPathString(localVarUrlObj),
|
|
913
|
+
options: localVarRequestOptions,
|
|
914
|
+
};
|
|
915
|
+
},
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @summary Send the commit hook notification.
|
|
919
|
+
* @param {string} [locator]
|
|
920
|
+
* @param {boolean} [okOnNothingFound]
|
|
921
|
+
* @param {*} [options] Override http request option.
|
|
922
|
+
* @throws {RequiredError}
|
|
923
|
+
*/
|
|
924
|
+
triggerCommitHookNotification: async (
|
|
925
|
+
locator?: string,
|
|
926
|
+
okOnNothingFound?: boolean,
|
|
927
|
+
options: RawAxiosRequestConfig = {}
|
|
928
|
+
): Promise<RequestArgs> => {
|
|
929
|
+
const localVarPath = `/app/rest/vcs-root-instances/commitHookNotification`;
|
|
930
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
931
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
932
|
+
let baseOptions;
|
|
933
|
+
if (configuration) {
|
|
934
|
+
baseOptions = configuration.baseOptions;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
938
|
+
const localVarHeaderParameter = {} as Record<string, string>;
|
|
939
|
+
const localVarQueryParameter = {} as Record<string, string>;
|
|
940
|
+
|
|
941
|
+
if (locator !== undefined) {
|
|
942
|
+
localVarQueryParameter['locator'] = String(locator);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
if (okOnNothingFound !== undefined) {
|
|
946
|
+
localVarQueryParameter['okOnNothingFound'] = String(okOnNothingFound);
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
950
|
+
let headersFromBaseOptions = baseOptions && baseOptions["headers"] ? baseOptions["headers"] : {};
|
|
951
|
+
localVarRequestOptions.headers = {
|
|
952
|
+
...localVarHeaderParameter,
|
|
953
|
+
...headersFromBaseOptions,
|
|
954
|
+
...options["headers"],
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
return {
|
|
958
|
+
url: toPathString(localVarUrlObj),
|
|
959
|
+
options: localVarRequestOptions,
|
|
960
|
+
};
|
|
961
|
+
},
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* VcsRootInstanceApi - functional programming interface
|
|
967
|
+
* @export
|
|
968
|
+
*/
|
|
969
|
+
export const VcsRootInstanceApiFp = function (configuration?: Configuration) {
|
|
970
|
+
const localVarAxiosParamCreator = VcsRootInstanceApiAxiosParamCreator(configuration);
|
|
971
|
+
return {
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @summary Remove a field of the matching VCS root instance.
|
|
975
|
+
* @param {string} vcsRootInstanceLocator
|
|
976
|
+
* @param {string} field
|
|
977
|
+
* @param {*} [options] Override http request option.
|
|
978
|
+
* @throws {RequiredError}
|
|
979
|
+
*/
|
|
980
|
+
async deleteVcsRootInstanceField(
|
|
981
|
+
vcsRootInstanceLocator: string,
|
|
982
|
+
field: string,
|
|
983
|
+
options?: RawAxiosRequestConfig
|
|
984
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
985
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteVcsRootInstanceField(
|
|
986
|
+
vcsRootInstanceLocator,
|
|
987
|
+
field,
|
|
988
|
+
options
|
|
989
|
+
);
|
|
990
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
991
|
+
const localVarOperationServerBasePath =
|
|
992
|
+
operationServerMap['VcsRootInstanceApi.deleteVcsRootInstanceField']?.[
|
|
993
|
+
localVarOperationServerIndex
|
|
994
|
+
]?.url;
|
|
995
|
+
return (axios, basePath) =>
|
|
996
|
+
createRequestFunction(
|
|
997
|
+
localVarAxiosArgs,
|
|
998
|
+
globalAxios,
|
|
999
|
+
BASE_PATH,
|
|
1000
|
+
configuration
|
|
1001
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1002
|
+
},
|
|
1003
|
+
/**
|
|
1004
|
+
*
|
|
1005
|
+
* @summary Delete the last repository state of the matching VCS root instance.
|
|
1006
|
+
* @param {string} vcsRootInstanceLocator
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @throws {RequiredError}
|
|
1009
|
+
*/
|
|
1010
|
+
async deleteVcsRootInstanceRepositoryState(
|
|
1011
|
+
vcsRootInstanceLocator: string,
|
|
1012
|
+
options?: RawAxiosRequestConfig
|
|
1013
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1014
|
+
const localVarAxiosArgs =
|
|
1015
|
+
await localVarAxiosParamCreator.deleteVcsRootInstanceRepositoryState(
|
|
1016
|
+
vcsRootInstanceLocator,
|
|
1017
|
+
options
|
|
1018
|
+
);
|
|
1019
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1020
|
+
const localVarOperationServerBasePath =
|
|
1021
|
+
operationServerMap['VcsRootInstanceApi.deleteVcsRootInstanceRepositoryState']?.[
|
|
1022
|
+
localVarOperationServerIndex
|
|
1023
|
+
]?.url;
|
|
1024
|
+
return (axios, basePath) =>
|
|
1025
|
+
createRequestFunction(
|
|
1026
|
+
localVarAxiosArgs,
|
|
1027
|
+
globalAxios,
|
|
1028
|
+
BASE_PATH,
|
|
1029
|
+
configuration
|
|
1030
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1031
|
+
},
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @summary Download specific file.
|
|
1035
|
+
* @param {string} path
|
|
1036
|
+
* @param {string} vcsRootInstanceLocator
|
|
1037
|
+
* @param {*} [options] Override http request option.
|
|
1038
|
+
* @throws {RequiredError}
|
|
1039
|
+
*/
|
|
1040
|
+
async downloadFile(
|
|
1041
|
+
path: string,
|
|
1042
|
+
vcsRootInstanceLocator: string,
|
|
1043
|
+
options?: RawAxiosRequestConfig
|
|
1044
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(
|
|
1046
|
+
path,
|
|
1047
|
+
vcsRootInstanceLocator,
|
|
1048
|
+
options
|
|
1049
|
+
);
|
|
1050
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1051
|
+
const localVarOperationServerBasePath =
|
|
1052
|
+
operationServerMap['VcsRootInstanceApi.downloadFile']?.[localVarOperationServerIndex]?.url;
|
|
1053
|
+
return (axios, basePath) =>
|
|
1054
|
+
createRequestFunction(
|
|
1055
|
+
localVarAxiosArgs,
|
|
1056
|
+
globalAxios,
|
|
1057
|
+
BASE_PATH,
|
|
1058
|
+
configuration
|
|
1059
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1060
|
+
},
|
|
1061
|
+
/**
|
|
1062
|
+
*
|
|
1063
|
+
* @summary Get all VCS root instances.
|
|
1064
|
+
* @param {string} [locator]
|
|
1065
|
+
* @param {string} [fields]
|
|
1066
|
+
* @param {*} [options] Override http request option.
|
|
1067
|
+
* @throws {RequiredError}
|
|
1068
|
+
*/
|
|
1069
|
+
async getAllVcsRootInstances(
|
|
1070
|
+
locator?: string,
|
|
1071
|
+
fields?: string,
|
|
1072
|
+
options?: RawAxiosRequestConfig
|
|
1073
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VcsRootInstances>> {
|
|
1074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllVcsRootInstances(
|
|
1075
|
+
locator,
|
|
1076
|
+
fields,
|
|
1077
|
+
options
|
|
1078
|
+
);
|
|
1079
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1080
|
+
const localVarOperationServerBasePath =
|
|
1081
|
+
operationServerMap['VcsRootInstanceApi.getAllVcsRootInstances']?.[
|
|
1082
|
+
localVarOperationServerIndex
|
|
1083
|
+
]?.url;
|
|
1084
|
+
return (axios, basePath) =>
|
|
1085
|
+
createRequestFunction(
|
|
1086
|
+
localVarAxiosArgs,
|
|
1087
|
+
globalAxios,
|
|
1088
|
+
BASE_PATH,
|
|
1089
|
+
configuration
|
|
1090
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1091
|
+
},
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @summary Get metadata of specific file.
|
|
1095
|
+
* @param {string} path
|
|
1096
|
+
* @param {string} vcsRootInstanceLocator
|
|
1097
|
+
* @param {string} [fields]
|
|
1098
|
+
* @param {*} [options] Override http request option.
|
|
1099
|
+
* @throws {RequiredError}
|
|
1100
|
+
*/
|
|
1101
|
+
async getFileMetadata(
|
|
1102
|
+
path: string,
|
|
1103
|
+
vcsRootInstanceLocator: string,
|
|
1104
|
+
fields?: string,
|
|
1105
|
+
options?: RawAxiosRequestConfig
|
|
1106
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
1107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFileMetadata(
|
|
1108
|
+
path,
|
|
1109
|
+
vcsRootInstanceLocator,
|
|
1110
|
+
fields,
|
|
1111
|
+
options
|
|
1112
|
+
);
|
|
1113
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1114
|
+
const localVarOperationServerBasePath =
|
|
1115
|
+
operationServerMap['VcsRootInstanceApi.getFileMetadata']?.[localVarOperationServerIndex]
|
|
1116
|
+
?.url;
|
|
1117
|
+
return (axios, basePath) =>
|
|
1118
|
+
createRequestFunction(
|
|
1119
|
+
localVarAxiosArgs,
|
|
1120
|
+
globalAxios,
|
|
1121
|
+
BASE_PATH,
|
|
1122
|
+
configuration
|
|
1123
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1124
|
+
},
|
|
1125
|
+
/**
|
|
1126
|
+
*
|
|
1127
|
+
* @summary List all files.
|
|
1128
|
+
* @param {string} vcsRootInstanceLocator
|
|
1129
|
+
* @param {string} [basePath]
|
|
1130
|
+
* @param {string} [locator]
|
|
1131
|
+
* @param {string} [fields]
|
|
1132
|
+
* @param {*} [options] Override http request option.
|
|
1133
|
+
* @throws {RequiredError}
|
|
1134
|
+
*/
|
|
1135
|
+
async getFilesList(
|
|
1136
|
+
vcsRootInstanceLocator: string,
|
|
1137
|
+
basePath?: string,
|
|
1138
|
+
locator?: string,
|
|
1139
|
+
fields?: string,
|
|
1140
|
+
options?: RawAxiosRequestConfig
|
|
1141
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Files>> {
|
|
1142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFilesList(
|
|
1143
|
+
vcsRootInstanceLocator,
|
|
1144
|
+
basePath,
|
|
1145
|
+
locator,
|
|
1146
|
+
fields,
|
|
1147
|
+
options
|
|
1148
|
+
);
|
|
1149
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1150
|
+
const localVarOperationServerBasePath =
|
|
1151
|
+
operationServerMap['VcsRootInstanceApi.getFilesList']?.[localVarOperationServerIndex]?.url;
|
|
1152
|
+
return (axios, basePath) =>
|
|
1153
|
+
createRequestFunction(
|
|
1154
|
+
localVarAxiosArgs,
|
|
1155
|
+
globalAxios,
|
|
1156
|
+
BASE_PATH,
|
|
1157
|
+
configuration
|
|
1158
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1159
|
+
},
|
|
1160
|
+
/**
|
|
1161
|
+
*
|
|
1162
|
+
* @summary List files under this path.
|
|
1163
|
+
* @param {string} path
|
|
1164
|
+
* @param {string} vcsRootInstanceLocator
|
|
1165
|
+
* @param {string} [basePath]
|
|
1166
|
+
* @param {string} [locator]
|
|
1167
|
+
* @param {string} [fields]
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
*/
|
|
1171
|
+
async getFilesListForSubpath(
|
|
1172
|
+
path: string,
|
|
1173
|
+
vcsRootInstanceLocator: string,
|
|
1174
|
+
basePath?: string,
|
|
1175
|
+
locator?: string,
|
|
1176
|
+
fields?: string,
|
|
1177
|
+
options?: RawAxiosRequestConfig
|
|
1178
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Files>> {
|
|
1179
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFilesListForSubpath(
|
|
1180
|
+
path,
|
|
1181
|
+
vcsRootInstanceLocator,
|
|
1182
|
+
basePath,
|
|
1183
|
+
locator,
|
|
1184
|
+
fields,
|
|
1185
|
+
options
|
|
1186
|
+
);
|
|
1187
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1188
|
+
const localVarOperationServerBasePath =
|
|
1189
|
+
operationServerMap['VcsRootInstanceApi.getFilesListForSubpath']?.[
|
|
1190
|
+
localVarOperationServerIndex
|
|
1191
|
+
]?.url;
|
|
1192
|
+
return (axios, basePath) =>
|
|
1193
|
+
createRequestFunction(
|
|
1194
|
+
localVarAxiosArgs,
|
|
1195
|
+
globalAxios,
|
|
1196
|
+
BASE_PATH,
|
|
1197
|
+
configuration
|
|
1198
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1199
|
+
},
|
|
1200
|
+
/**
|
|
1201
|
+
*
|
|
1202
|
+
* @summary Get VCS root instance matching the locator.
|
|
1203
|
+
* @param {string} vcsRootInstanceLocator
|
|
1204
|
+
* @param {string} [fields]
|
|
1205
|
+
* @param {*} [options] Override http request option.
|
|
1206
|
+
* @throws {RequiredError}
|
|
1207
|
+
*/
|
|
1208
|
+
async getVcsRootInstance(
|
|
1209
|
+
vcsRootInstanceLocator: string,
|
|
1210
|
+
fields?: string,
|
|
1211
|
+
options?: RawAxiosRequestConfig
|
|
1212
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VcsRootInstance>> {
|
|
1213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVcsRootInstance(
|
|
1214
|
+
vcsRootInstanceLocator,
|
|
1215
|
+
fields,
|
|
1216
|
+
options
|
|
1217
|
+
);
|
|
1218
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1219
|
+
const localVarOperationServerBasePath =
|
|
1220
|
+
operationServerMap['VcsRootInstanceApi.getVcsRootInstance']?.[localVarOperationServerIndex]
|
|
1221
|
+
?.url;
|
|
1222
|
+
return (axios, basePath) =>
|
|
1223
|
+
createRequestFunction(
|
|
1224
|
+
localVarAxiosArgs,
|
|
1225
|
+
globalAxios,
|
|
1226
|
+
BASE_PATH,
|
|
1227
|
+
configuration
|
|
1228
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1229
|
+
},
|
|
1230
|
+
/**
|
|
1231
|
+
*
|
|
1232
|
+
* @summary Get the creation date of the matching VCS root instance.
|
|
1233
|
+
* @param {string} vcsRootInstanceLocator
|
|
1234
|
+
* @param {*} [options] Override http request option.
|
|
1235
|
+
* @throws {RequiredError}
|
|
1236
|
+
*/
|
|
1237
|
+
async getVcsRootInstanceCreationDate(
|
|
1238
|
+
vcsRootInstanceLocator: string,
|
|
1239
|
+
options?: RawAxiosRequestConfig
|
|
1240
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1241
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVcsRootInstanceCreationDate(
|
|
1242
|
+
vcsRootInstanceLocator,
|
|
1243
|
+
options
|
|
1244
|
+
);
|
|
1245
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1246
|
+
const localVarOperationServerBasePath =
|
|
1247
|
+
operationServerMap['VcsRootInstanceApi.getVcsRootInstanceCreationDate']?.[
|
|
1248
|
+
localVarOperationServerIndex
|
|
1249
|
+
]?.url;
|
|
1250
|
+
return (axios, basePath) =>
|
|
1251
|
+
createRequestFunction(
|
|
1252
|
+
localVarAxiosArgs,
|
|
1253
|
+
globalAxios,
|
|
1254
|
+
BASE_PATH,
|
|
1255
|
+
configuration
|
|
1256
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1257
|
+
},
|
|
1258
|
+
/**
|
|
1259
|
+
*
|
|
1260
|
+
* @summary Get a field of the matching VCS root instance.
|
|
1261
|
+
* @param {string} vcsRootInstanceLocator
|
|
1262
|
+
* @param {string} field
|
|
1263
|
+
* @param {*} [options] Override http request option.
|
|
1264
|
+
* @throws {RequiredError}
|
|
1265
|
+
*/
|
|
1266
|
+
async getVcsRootInstanceField(
|
|
1267
|
+
vcsRootInstanceLocator: string,
|
|
1268
|
+
field: string,
|
|
1269
|
+
options?: RawAxiosRequestConfig
|
|
1270
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVcsRootInstanceField(
|
|
1272
|
+
vcsRootInstanceLocator,
|
|
1273
|
+
field,
|
|
1274
|
+
options
|
|
1275
|
+
);
|
|
1276
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1277
|
+
const localVarOperationServerBasePath =
|
|
1278
|
+
operationServerMap['VcsRootInstanceApi.getVcsRootInstanceField']?.[
|
|
1279
|
+
localVarOperationServerIndex
|
|
1280
|
+
]?.url;
|
|
1281
|
+
return (axios, basePath) =>
|
|
1282
|
+
createRequestFunction(
|
|
1283
|
+
localVarAxiosArgs,
|
|
1284
|
+
globalAxios,
|
|
1285
|
+
BASE_PATH,
|
|
1286
|
+
configuration
|
|
1287
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1288
|
+
},
|
|
1289
|
+
/**
|
|
1290
|
+
*
|
|
1291
|
+
* @summary Get all properties of the matching VCS root instance.
|
|
1292
|
+
* @param {string} vcsRootInstanceLocator
|
|
1293
|
+
* @param {string} [fields]
|
|
1294
|
+
* @param {*} [options] Override http request option.
|
|
1295
|
+
* @throws {RequiredError}
|
|
1296
|
+
*/
|
|
1297
|
+
async getVcsRootInstanceProperties(
|
|
1298
|
+
vcsRootInstanceLocator: string,
|
|
1299
|
+
fields?: string,
|
|
1300
|
+
options?: RawAxiosRequestConfig
|
|
1301
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Properties>> {
|
|
1302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVcsRootInstanceProperties(
|
|
1303
|
+
vcsRootInstanceLocator,
|
|
1304
|
+
fields,
|
|
1305
|
+
options
|
|
1306
|
+
);
|
|
1307
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1308
|
+
const localVarOperationServerBasePath =
|
|
1309
|
+
operationServerMap['VcsRootInstanceApi.getVcsRootInstanceProperties']?.[
|
|
1310
|
+
localVarOperationServerIndex
|
|
1311
|
+
]?.url;
|
|
1312
|
+
return (axios, basePath) =>
|
|
1313
|
+
createRequestFunction(
|
|
1314
|
+
localVarAxiosArgs,
|
|
1315
|
+
globalAxios,
|
|
1316
|
+
BASE_PATH,
|
|
1317
|
+
configuration
|
|
1318
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1319
|
+
},
|
|
1320
|
+
/**
|
|
1321
|
+
*
|
|
1322
|
+
* @summary Get the repository state of the matching VCS root instance.
|
|
1323
|
+
* @param {string} vcsRootInstanceLocator
|
|
1324
|
+
* @param {string} [fields]
|
|
1325
|
+
* @param {*} [options] Override http request option.
|
|
1326
|
+
* @throws {RequiredError}
|
|
1327
|
+
*/
|
|
1328
|
+
async getVcsRootInstanceRepositoryState(
|
|
1329
|
+
vcsRootInstanceLocator: string,
|
|
1330
|
+
fields?: string,
|
|
1331
|
+
options?: RawAxiosRequestConfig
|
|
1332
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Entries>> {
|
|
1333
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVcsRootInstanceRepositoryState(
|
|
1334
|
+
vcsRootInstanceLocator,
|
|
1335
|
+
fields,
|
|
1336
|
+
options
|
|
1337
|
+
);
|
|
1338
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1339
|
+
const localVarOperationServerBasePath =
|
|
1340
|
+
operationServerMap['VcsRootInstanceApi.getVcsRootInstanceRepositoryState']?.[
|
|
1341
|
+
localVarOperationServerIndex
|
|
1342
|
+
]?.url;
|
|
1343
|
+
return (axios, basePath) =>
|
|
1344
|
+
createRequestFunction(
|
|
1345
|
+
localVarAxiosArgs,
|
|
1346
|
+
globalAxios,
|
|
1347
|
+
BASE_PATH,
|
|
1348
|
+
configuration
|
|
1349
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1350
|
+
},
|
|
1351
|
+
/**
|
|
1352
|
+
*
|
|
1353
|
+
* @summary Get specific file zipped.
|
|
1354
|
+
* @param {string} path
|
|
1355
|
+
* @param {string} vcsRootInstanceLocator
|
|
1356
|
+
* @param {string} [basePath]
|
|
1357
|
+
* @param {string} [locator]
|
|
1358
|
+
* @param {string} [name]
|
|
1359
|
+
* @param {*} [options] Override http request option.
|
|
1360
|
+
* @throws {RequiredError}
|
|
1361
|
+
*/
|
|
1362
|
+
async getZippedFile(
|
|
1363
|
+
path: string,
|
|
1364
|
+
vcsRootInstanceLocator: string,
|
|
1365
|
+
basePath?: string,
|
|
1366
|
+
locator?: string,
|
|
1367
|
+
name?: string,
|
|
1368
|
+
options?: RawAxiosRequestConfig
|
|
1369
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getZippedFile(
|
|
1371
|
+
path,
|
|
1372
|
+
vcsRootInstanceLocator,
|
|
1373
|
+
basePath,
|
|
1374
|
+
locator,
|
|
1375
|
+
name,
|
|
1376
|
+
options
|
|
1377
|
+
);
|
|
1378
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1379
|
+
const localVarOperationServerBasePath =
|
|
1380
|
+
operationServerMap['VcsRootInstanceApi.getZippedFile']?.[localVarOperationServerIndex]?.url;
|
|
1381
|
+
return (axios, basePath) =>
|
|
1382
|
+
createRequestFunction(
|
|
1383
|
+
localVarAxiosArgs,
|
|
1384
|
+
globalAxios,
|
|
1385
|
+
BASE_PATH,
|
|
1386
|
+
configuration
|
|
1387
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1388
|
+
},
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @summary Check for the pending changes for all VCS root instances.
|
|
1392
|
+
* @param {string} [locator]
|
|
1393
|
+
* @param {string} [requestor]
|
|
1394
|
+
* @param {string} [fields]
|
|
1395
|
+
* @param {*} [options] Override http request option.
|
|
1396
|
+
* @throws {RequiredError}
|
|
1397
|
+
*/
|
|
1398
|
+
async requestPendingChangesCheck(
|
|
1399
|
+
locator?: string,
|
|
1400
|
+
requestor?: string,
|
|
1401
|
+
fields?: string,
|
|
1402
|
+
options?: RawAxiosRequestConfig
|
|
1403
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VcsRootInstances>> {
|
|
1404
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestPendingChangesCheck(
|
|
1405
|
+
locator,
|
|
1406
|
+
requestor,
|
|
1407
|
+
fields,
|
|
1408
|
+
options
|
|
1409
|
+
);
|
|
1410
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1411
|
+
const localVarOperationServerBasePath =
|
|
1412
|
+
operationServerMap['VcsRootInstanceApi.requestPendingChangesCheck']?.[
|
|
1413
|
+
localVarOperationServerIndex
|
|
1414
|
+
]?.url;
|
|
1415
|
+
return (axios, basePath) =>
|
|
1416
|
+
createRequestFunction(
|
|
1417
|
+
localVarAxiosArgs,
|
|
1418
|
+
globalAxios,
|
|
1419
|
+
BASE_PATH,
|
|
1420
|
+
configuration
|
|
1421
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1422
|
+
},
|
|
1423
|
+
/**
|
|
1424
|
+
*
|
|
1425
|
+
* @summary Get a field of the matching VCS root instance.
|
|
1426
|
+
* @param {string} vcsRootInstanceLocator
|
|
1427
|
+
* @param {string} field
|
|
1428
|
+
* @param {string} [body]
|
|
1429
|
+
* @param {*} [options] Override http request option.
|
|
1430
|
+
* @throws {RequiredError}
|
|
1431
|
+
*/
|
|
1432
|
+
async setVcsRootInstanceField(
|
|
1433
|
+
vcsRootInstanceLocator: string,
|
|
1434
|
+
field: string,
|
|
1435
|
+
body?: string,
|
|
1436
|
+
options?: RawAxiosRequestConfig
|
|
1437
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setVcsRootInstanceField(
|
|
1439
|
+
vcsRootInstanceLocator,
|
|
1440
|
+
field,
|
|
1441
|
+
body,
|
|
1442
|
+
options
|
|
1443
|
+
);
|
|
1444
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1445
|
+
const localVarOperationServerBasePath =
|
|
1446
|
+
operationServerMap['VcsRootInstanceApi.setVcsRootInstanceField']?.[
|
|
1447
|
+
localVarOperationServerIndex
|
|
1448
|
+
]?.url;
|
|
1449
|
+
return (axios, basePath) =>
|
|
1450
|
+
createRequestFunction(
|
|
1451
|
+
localVarAxiosArgs,
|
|
1452
|
+
globalAxios,
|
|
1453
|
+
BASE_PATH,
|
|
1454
|
+
configuration
|
|
1455
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1456
|
+
},
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @summary Update the repository state of the matching VCS root instance.
|
|
1460
|
+
* @param {string} vcsRootInstanceLocator
|
|
1461
|
+
* @param {string} [fields]
|
|
1462
|
+
* @param {Entries} [body]
|
|
1463
|
+
* @param {*} [options] Override http request option.
|
|
1464
|
+
* @throws {RequiredError}
|
|
1465
|
+
*/
|
|
1466
|
+
async setVcsRootInstanceRepositoryState(
|
|
1467
|
+
vcsRootInstanceLocator: string,
|
|
1468
|
+
fields?: string,
|
|
1469
|
+
body?: Entries,
|
|
1470
|
+
options?: RawAxiosRequestConfig
|
|
1471
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Entries>> {
|
|
1472
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setVcsRootInstanceRepositoryState(
|
|
1473
|
+
vcsRootInstanceLocator,
|
|
1474
|
+
fields,
|
|
1475
|
+
body,
|
|
1476
|
+
options
|
|
1477
|
+
);
|
|
1478
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1479
|
+
const localVarOperationServerBasePath =
|
|
1480
|
+
operationServerMap['VcsRootInstanceApi.setVcsRootInstanceRepositoryState']?.[
|
|
1481
|
+
localVarOperationServerIndex
|
|
1482
|
+
]?.url;
|
|
1483
|
+
return (axios, basePath) =>
|
|
1484
|
+
createRequestFunction(
|
|
1485
|
+
localVarAxiosArgs,
|
|
1486
|
+
globalAxios,
|
|
1487
|
+
BASE_PATH,
|
|
1488
|
+
configuration
|
|
1489
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1490
|
+
},
|
|
1491
|
+
/**
|
|
1492
|
+
*
|
|
1493
|
+
* @summary Send the commit hook notification.
|
|
1494
|
+
* @param {string} [locator]
|
|
1495
|
+
* @param {boolean} [okOnNothingFound]
|
|
1496
|
+
* @param {*} [options] Override http request option.
|
|
1497
|
+
* @throws {RequiredError}
|
|
1498
|
+
*/
|
|
1499
|
+
async triggerCommitHookNotification(
|
|
1500
|
+
locator?: string,
|
|
1501
|
+
okOnNothingFound?: boolean,
|
|
1502
|
+
options?: RawAxiosRequestConfig
|
|
1503
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.triggerCommitHookNotification(
|
|
1505
|
+
locator,
|
|
1506
|
+
okOnNothingFound,
|
|
1507
|
+
options
|
|
1508
|
+
);
|
|
1509
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1510
|
+
const localVarOperationServerBasePath =
|
|
1511
|
+
operationServerMap['VcsRootInstanceApi.triggerCommitHookNotification']?.[
|
|
1512
|
+
localVarOperationServerIndex
|
|
1513
|
+
]?.url;
|
|
1514
|
+
return (axios, basePath) =>
|
|
1515
|
+
createRequestFunction(
|
|
1516
|
+
localVarAxiosArgs,
|
|
1517
|
+
globalAxios,
|
|
1518
|
+
BASE_PATH,
|
|
1519
|
+
configuration
|
|
1520
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
1521
|
+
},
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* VcsRootInstanceApi - factory interface
|
|
1527
|
+
* @export
|
|
1528
|
+
*/
|
|
1529
|
+
export const VcsRootInstanceApiFactory = function (
|
|
1530
|
+
configuration?: Configuration,
|
|
1531
|
+
basePath?: string,
|
|
1532
|
+
axios?: AxiosInstance
|
|
1533
|
+
) {
|
|
1534
|
+
const localVarFp = VcsRootInstanceApiFp(configuration);
|
|
1535
|
+
return {
|
|
1536
|
+
/**
|
|
1537
|
+
*
|
|
1538
|
+
* @summary Remove a field of the matching VCS root instance.
|
|
1539
|
+
* @param {string} vcsRootInstanceLocator
|
|
1540
|
+
* @param {string} field
|
|
1541
|
+
* @param {*} [options] Override http request option.
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
*/
|
|
1544
|
+
deleteVcsRootInstanceField(
|
|
1545
|
+
vcsRootInstanceLocator: string,
|
|
1546
|
+
field: string,
|
|
1547
|
+
options?: RawAxiosRequestConfig
|
|
1548
|
+
): AxiosPromise<void> {
|
|
1549
|
+
return localVarFp
|
|
1550
|
+
.deleteVcsRootInstanceField(vcsRootInstanceLocator, field, options)
|
|
1551
|
+
.then((request) => request(axios, basePath));
|
|
1552
|
+
},
|
|
1553
|
+
/**
|
|
1554
|
+
*
|
|
1555
|
+
* @summary Delete the last repository state of the matching VCS root instance.
|
|
1556
|
+
* @param {string} vcsRootInstanceLocator
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
deleteVcsRootInstanceRepositoryState(
|
|
1561
|
+
vcsRootInstanceLocator: string,
|
|
1562
|
+
options?: RawAxiosRequestConfig
|
|
1563
|
+
): AxiosPromise<void> {
|
|
1564
|
+
return localVarFp
|
|
1565
|
+
.deleteVcsRootInstanceRepositoryState(vcsRootInstanceLocator, options)
|
|
1566
|
+
.then((request) => request(axios, basePath));
|
|
1567
|
+
},
|
|
1568
|
+
/**
|
|
1569
|
+
*
|
|
1570
|
+
* @summary Download specific file.
|
|
1571
|
+
* @param {string} path
|
|
1572
|
+
* @param {string} vcsRootInstanceLocator
|
|
1573
|
+
* @param {*} [options] Override http request option.
|
|
1574
|
+
* @throws {RequiredError}
|
|
1575
|
+
*/
|
|
1576
|
+
downloadFile(
|
|
1577
|
+
path: string,
|
|
1578
|
+
vcsRootInstanceLocator: string,
|
|
1579
|
+
options?: RawAxiosRequestConfig
|
|
1580
|
+
): AxiosPromise<void> {
|
|
1581
|
+
return localVarFp
|
|
1582
|
+
.downloadFile(path, vcsRootInstanceLocator, options)
|
|
1583
|
+
.then((request) => request(axios, basePath));
|
|
1584
|
+
},
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @summary Get all VCS root instances.
|
|
1588
|
+
* @param {string} [locator]
|
|
1589
|
+
* @param {string} [fields]
|
|
1590
|
+
* @param {*} [options] Override http request option.
|
|
1591
|
+
* @throws {RequiredError}
|
|
1592
|
+
*/
|
|
1593
|
+
getAllVcsRootInstances(
|
|
1594
|
+
locator?: string,
|
|
1595
|
+
fields?: string,
|
|
1596
|
+
options?: RawAxiosRequestConfig
|
|
1597
|
+
): AxiosPromise<VcsRootInstances> {
|
|
1598
|
+
return localVarFp
|
|
1599
|
+
.getAllVcsRootInstances(locator, fields, options)
|
|
1600
|
+
.then((request) => request(axios, basePath));
|
|
1601
|
+
},
|
|
1602
|
+
/**
|
|
1603
|
+
*
|
|
1604
|
+
* @summary Get metadata of specific file.
|
|
1605
|
+
* @param {string} path
|
|
1606
|
+
* @param {string} vcsRootInstanceLocator
|
|
1607
|
+
* @param {string} [fields]
|
|
1608
|
+
* @param {*} [options] Override http request option.
|
|
1609
|
+
* @throws {RequiredError}
|
|
1610
|
+
*/
|
|
1611
|
+
getFileMetadata(
|
|
1612
|
+
path: string,
|
|
1613
|
+
vcsRootInstanceLocator: string,
|
|
1614
|
+
fields?: string,
|
|
1615
|
+
options?: RawAxiosRequestConfig
|
|
1616
|
+
): AxiosPromise<any> {
|
|
1617
|
+
return localVarFp
|
|
1618
|
+
.getFileMetadata(path, vcsRootInstanceLocator, fields, options)
|
|
1619
|
+
.then((request) => request(axios, basePath));
|
|
1620
|
+
},
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @summary List all files.
|
|
1624
|
+
* @param {string} vcsRootInstanceLocator
|
|
1625
|
+
* @param {string} [basePath]
|
|
1626
|
+
* @param {string} [locator]
|
|
1627
|
+
* @param {string} [fields]
|
|
1628
|
+
* @param {*} [options] Override http request option.
|
|
1629
|
+
* @throws {RequiredError}
|
|
1630
|
+
*/
|
|
1631
|
+
getFilesList(
|
|
1632
|
+
vcsRootInstanceLocator: string,
|
|
1633
|
+
basePath?: string,
|
|
1634
|
+
locator?: string,
|
|
1635
|
+
fields?: string,
|
|
1636
|
+
options?: RawAxiosRequestConfig
|
|
1637
|
+
): AxiosPromise<Files> {
|
|
1638
|
+
return localVarFp
|
|
1639
|
+
.getFilesList(vcsRootInstanceLocator, basePath, locator, fields, options)
|
|
1640
|
+
.then((request) => request(axios, basePath));
|
|
1641
|
+
},
|
|
1642
|
+
/**
|
|
1643
|
+
*
|
|
1644
|
+
* @summary List files under this path.
|
|
1645
|
+
* @param {string} path
|
|
1646
|
+
* @param {string} vcsRootInstanceLocator
|
|
1647
|
+
* @param {string} [basePath]
|
|
1648
|
+
* @param {string} [locator]
|
|
1649
|
+
* @param {string} [fields]
|
|
1650
|
+
* @param {*} [options] Override http request option.
|
|
1651
|
+
* @throws {RequiredError}
|
|
1652
|
+
*/
|
|
1653
|
+
getFilesListForSubpath(
|
|
1654
|
+
path: string,
|
|
1655
|
+
vcsRootInstanceLocator: string,
|
|
1656
|
+
basePath?: string,
|
|
1657
|
+
locator?: string,
|
|
1658
|
+
fields?: string,
|
|
1659
|
+
options?: RawAxiosRequestConfig
|
|
1660
|
+
): AxiosPromise<Files> {
|
|
1661
|
+
return localVarFp
|
|
1662
|
+
.getFilesListForSubpath(path, vcsRootInstanceLocator, basePath, locator, fields, options)
|
|
1663
|
+
.then((request) => request(axios, basePath));
|
|
1664
|
+
},
|
|
1665
|
+
/**
|
|
1666
|
+
*
|
|
1667
|
+
* @summary Get VCS root instance matching the locator.
|
|
1668
|
+
* @param {string} vcsRootInstanceLocator
|
|
1669
|
+
* @param {string} [fields]
|
|
1670
|
+
* @param {*} [options] Override http request option.
|
|
1671
|
+
* @throws {RequiredError}
|
|
1672
|
+
*/
|
|
1673
|
+
getVcsRootInstance(
|
|
1674
|
+
vcsRootInstanceLocator: string,
|
|
1675
|
+
fields?: string,
|
|
1676
|
+
options?: RawAxiosRequestConfig
|
|
1677
|
+
): AxiosPromise<VcsRootInstance> {
|
|
1678
|
+
return localVarFp
|
|
1679
|
+
.getVcsRootInstance(vcsRootInstanceLocator, fields, options)
|
|
1680
|
+
.then((request) => request(axios, basePath));
|
|
1681
|
+
},
|
|
1682
|
+
/**
|
|
1683
|
+
*
|
|
1684
|
+
* @summary Get the creation date of the matching VCS root instance.
|
|
1685
|
+
* @param {string} vcsRootInstanceLocator
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
getVcsRootInstanceCreationDate(
|
|
1690
|
+
vcsRootInstanceLocator: string,
|
|
1691
|
+
options?: RawAxiosRequestConfig
|
|
1692
|
+
): AxiosPromise<string> {
|
|
1693
|
+
return localVarFp
|
|
1694
|
+
.getVcsRootInstanceCreationDate(vcsRootInstanceLocator, options)
|
|
1695
|
+
.then((request) => request(axios, basePath));
|
|
1696
|
+
},
|
|
1697
|
+
/**
|
|
1698
|
+
*
|
|
1699
|
+
* @summary Get a field of the matching VCS root instance.
|
|
1700
|
+
* @param {string} vcsRootInstanceLocator
|
|
1701
|
+
* @param {string} field
|
|
1702
|
+
* @param {*} [options] Override http request option.
|
|
1703
|
+
* @throws {RequiredError}
|
|
1704
|
+
*/
|
|
1705
|
+
getVcsRootInstanceField(
|
|
1706
|
+
vcsRootInstanceLocator: string,
|
|
1707
|
+
field: string,
|
|
1708
|
+
options?: RawAxiosRequestConfig
|
|
1709
|
+
): AxiosPromise<string> {
|
|
1710
|
+
return localVarFp
|
|
1711
|
+
.getVcsRootInstanceField(vcsRootInstanceLocator, field, options)
|
|
1712
|
+
.then((request) => request(axios, basePath));
|
|
1713
|
+
},
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @summary Get all properties of the matching VCS root instance.
|
|
1717
|
+
* @param {string} vcsRootInstanceLocator
|
|
1718
|
+
* @param {string} [fields]
|
|
1719
|
+
* @param {*} [options] Override http request option.
|
|
1720
|
+
* @throws {RequiredError}
|
|
1721
|
+
*/
|
|
1722
|
+
getVcsRootInstanceProperties(
|
|
1723
|
+
vcsRootInstanceLocator: string,
|
|
1724
|
+
fields?: string,
|
|
1725
|
+
options?: RawAxiosRequestConfig
|
|
1726
|
+
): AxiosPromise<Properties> {
|
|
1727
|
+
return localVarFp
|
|
1728
|
+
.getVcsRootInstanceProperties(vcsRootInstanceLocator, fields, options)
|
|
1729
|
+
.then((request) => request(axios, basePath));
|
|
1730
|
+
},
|
|
1731
|
+
/**
|
|
1732
|
+
*
|
|
1733
|
+
* @summary Get the repository state of the matching VCS root instance.
|
|
1734
|
+
* @param {string} vcsRootInstanceLocator
|
|
1735
|
+
* @param {string} [fields]
|
|
1736
|
+
* @param {*} [options] Override http request option.
|
|
1737
|
+
* @throws {RequiredError}
|
|
1738
|
+
*/
|
|
1739
|
+
getVcsRootInstanceRepositoryState(
|
|
1740
|
+
vcsRootInstanceLocator: string,
|
|
1741
|
+
fields?: string,
|
|
1742
|
+
options?: RawAxiosRequestConfig
|
|
1743
|
+
): AxiosPromise<Entries> {
|
|
1744
|
+
return localVarFp
|
|
1745
|
+
.getVcsRootInstanceRepositoryState(vcsRootInstanceLocator, fields, options)
|
|
1746
|
+
.then((request) => request(axios, basePath));
|
|
1747
|
+
},
|
|
1748
|
+
/**
|
|
1749
|
+
*
|
|
1750
|
+
* @summary Get specific file zipped.
|
|
1751
|
+
* @param {string} path
|
|
1752
|
+
* @param {string} vcsRootInstanceLocator
|
|
1753
|
+
* @param {string} [basePath]
|
|
1754
|
+
* @param {string} [locator]
|
|
1755
|
+
* @param {string} [name]
|
|
1756
|
+
* @param {*} [options] Override http request option.
|
|
1757
|
+
* @throws {RequiredError}
|
|
1758
|
+
*/
|
|
1759
|
+
getZippedFile(
|
|
1760
|
+
path: string,
|
|
1761
|
+
vcsRootInstanceLocator: string,
|
|
1762
|
+
basePath?: string,
|
|
1763
|
+
locator?: string,
|
|
1764
|
+
name?: string,
|
|
1765
|
+
options?: RawAxiosRequestConfig
|
|
1766
|
+
): AxiosPromise<void> {
|
|
1767
|
+
return localVarFp
|
|
1768
|
+
.getZippedFile(path, vcsRootInstanceLocator, basePath, locator, name, options)
|
|
1769
|
+
.then((request) => request(axios, basePath));
|
|
1770
|
+
},
|
|
1771
|
+
/**
|
|
1772
|
+
*
|
|
1773
|
+
* @summary Check for the pending changes for all VCS root instances.
|
|
1774
|
+
* @param {string} [locator]
|
|
1775
|
+
* @param {string} [requestor]
|
|
1776
|
+
* @param {string} [fields]
|
|
1777
|
+
* @param {*} [options] Override http request option.
|
|
1778
|
+
* @throws {RequiredError}
|
|
1779
|
+
*/
|
|
1780
|
+
requestPendingChangesCheck(
|
|
1781
|
+
locator?: string,
|
|
1782
|
+
requestor?: string,
|
|
1783
|
+
fields?: string,
|
|
1784
|
+
options?: RawAxiosRequestConfig
|
|
1785
|
+
): AxiosPromise<VcsRootInstances> {
|
|
1786
|
+
return localVarFp
|
|
1787
|
+
.requestPendingChangesCheck(locator, requestor, fields, options)
|
|
1788
|
+
.then((request) => request(axios, basePath));
|
|
1789
|
+
},
|
|
1790
|
+
/**
|
|
1791
|
+
*
|
|
1792
|
+
* @summary Get a field of the matching VCS root instance.
|
|
1793
|
+
* @param {string} vcsRootInstanceLocator
|
|
1794
|
+
* @param {string} field
|
|
1795
|
+
* @param {string} [body]
|
|
1796
|
+
* @param {*} [options] Override http request option.
|
|
1797
|
+
* @throws {RequiredError}
|
|
1798
|
+
*/
|
|
1799
|
+
setVcsRootInstanceField(
|
|
1800
|
+
vcsRootInstanceLocator: string,
|
|
1801
|
+
field: string,
|
|
1802
|
+
body?: string,
|
|
1803
|
+
options?: RawAxiosRequestConfig
|
|
1804
|
+
): AxiosPromise<string> {
|
|
1805
|
+
return localVarFp
|
|
1806
|
+
.setVcsRootInstanceField(vcsRootInstanceLocator, field, body, options)
|
|
1807
|
+
.then((request) => request(axios, basePath));
|
|
1808
|
+
},
|
|
1809
|
+
/**
|
|
1810
|
+
*
|
|
1811
|
+
* @summary Update the repository state of the matching VCS root instance.
|
|
1812
|
+
* @param {string} vcsRootInstanceLocator
|
|
1813
|
+
* @param {string} [fields]
|
|
1814
|
+
* @param {Entries} [body]
|
|
1815
|
+
* @param {*} [options] Override http request option.
|
|
1816
|
+
* @throws {RequiredError}
|
|
1817
|
+
*/
|
|
1818
|
+
setVcsRootInstanceRepositoryState(
|
|
1819
|
+
vcsRootInstanceLocator: string,
|
|
1820
|
+
fields?: string,
|
|
1821
|
+
body?: Entries,
|
|
1822
|
+
options?: RawAxiosRequestConfig
|
|
1823
|
+
): AxiosPromise<Entries> {
|
|
1824
|
+
return localVarFp
|
|
1825
|
+
.setVcsRootInstanceRepositoryState(vcsRootInstanceLocator, fields, body, options)
|
|
1826
|
+
.then((request) => request(axios, basePath));
|
|
1827
|
+
},
|
|
1828
|
+
/**
|
|
1829
|
+
*
|
|
1830
|
+
* @summary Send the commit hook notification.
|
|
1831
|
+
* @param {string} [locator]
|
|
1832
|
+
* @param {boolean} [okOnNothingFound]
|
|
1833
|
+
* @param {*} [options] Override http request option.
|
|
1834
|
+
* @throws {RequiredError}
|
|
1835
|
+
*/
|
|
1836
|
+
triggerCommitHookNotification(
|
|
1837
|
+
locator?: string,
|
|
1838
|
+
okOnNothingFound?: boolean,
|
|
1839
|
+
options?: RawAxiosRequestConfig
|
|
1840
|
+
): AxiosPromise<void> {
|
|
1841
|
+
return localVarFp
|
|
1842
|
+
.triggerCommitHookNotification(locator, okOnNothingFound, options)
|
|
1843
|
+
.then((request) => request(axios, basePath));
|
|
1844
|
+
},
|
|
1845
|
+
};
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* VcsRootInstanceApi - interface
|
|
1850
|
+
* @export
|
|
1851
|
+
* @interface VcsRootInstanceApi
|
|
1852
|
+
*/
|
|
1853
|
+
export interface VcsRootInstanceApiInterface {
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @summary Remove a field of the matching VCS root instance.
|
|
1857
|
+
* @param {string} vcsRootInstanceLocator
|
|
1858
|
+
* @param {string} field
|
|
1859
|
+
* @param {*} [options] Override http request option.
|
|
1860
|
+
* @throws {RequiredError}
|
|
1861
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1862
|
+
*/
|
|
1863
|
+
deleteVcsRootInstanceField(
|
|
1864
|
+
vcsRootInstanceLocator: string,
|
|
1865
|
+
field: string,
|
|
1866
|
+
options?: RawAxiosRequestConfig
|
|
1867
|
+
): AxiosPromise<void>;
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
*
|
|
1871
|
+
* @summary Delete the last repository state of the matching VCS root instance.
|
|
1872
|
+
* @param {string} vcsRootInstanceLocator
|
|
1873
|
+
* @param {*} [options] Override http request option.
|
|
1874
|
+
* @throws {RequiredError}
|
|
1875
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1876
|
+
*/
|
|
1877
|
+
deleteVcsRootInstanceRepositoryState(
|
|
1878
|
+
vcsRootInstanceLocator: string,
|
|
1879
|
+
options?: RawAxiosRequestConfig
|
|
1880
|
+
): AxiosPromise<void>;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
*
|
|
1884
|
+
* @summary Download specific file.
|
|
1885
|
+
* @param {string} path
|
|
1886
|
+
* @param {string} vcsRootInstanceLocator
|
|
1887
|
+
* @param {*} [options] Override http request option.
|
|
1888
|
+
* @throws {RequiredError}
|
|
1889
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1890
|
+
*/
|
|
1891
|
+
downloadFile(
|
|
1892
|
+
path: string,
|
|
1893
|
+
vcsRootInstanceLocator: string,
|
|
1894
|
+
options?: RawAxiosRequestConfig
|
|
1895
|
+
): AxiosPromise<void>;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
*
|
|
1899
|
+
* @summary Get all VCS root instances.
|
|
1900
|
+
* @param {string} [locator]
|
|
1901
|
+
* @param {string} [fields]
|
|
1902
|
+
* @param {*} [options] Override http request option.
|
|
1903
|
+
* @throws {RequiredError}
|
|
1904
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1905
|
+
*/
|
|
1906
|
+
getAllVcsRootInstances(
|
|
1907
|
+
locator?: string,
|
|
1908
|
+
fields?: string,
|
|
1909
|
+
options?: RawAxiosRequestConfig
|
|
1910
|
+
): AxiosPromise<VcsRootInstances>;
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @summary Get metadata of specific file.
|
|
1915
|
+
* @param {string} path
|
|
1916
|
+
* @param {string} vcsRootInstanceLocator
|
|
1917
|
+
* @param {string} [fields]
|
|
1918
|
+
* @param {*} [options] Override http request option.
|
|
1919
|
+
* @throws {RequiredError}
|
|
1920
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1921
|
+
*/
|
|
1922
|
+
getFileMetadata(
|
|
1923
|
+
path: string,
|
|
1924
|
+
vcsRootInstanceLocator: string,
|
|
1925
|
+
fields?: string,
|
|
1926
|
+
options?: RawAxiosRequestConfig
|
|
1927
|
+
): AxiosPromise<any>;
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @summary List all files.
|
|
1932
|
+
* @param {string} vcsRootInstanceLocator
|
|
1933
|
+
* @param {string} [basePath]
|
|
1934
|
+
* @param {string} [locator]
|
|
1935
|
+
* @param {string} [fields]
|
|
1936
|
+
* @param {*} [options] Override http request option.
|
|
1937
|
+
* @throws {RequiredError}
|
|
1938
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1939
|
+
*/
|
|
1940
|
+
getFilesList(
|
|
1941
|
+
vcsRootInstanceLocator: string,
|
|
1942
|
+
basePath?: string,
|
|
1943
|
+
locator?: string,
|
|
1944
|
+
fields?: string,
|
|
1945
|
+
options?: RawAxiosRequestConfig
|
|
1946
|
+
): AxiosPromise<Files>;
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
*
|
|
1950
|
+
* @summary List files under this path.
|
|
1951
|
+
* @param {string} path
|
|
1952
|
+
* @param {string} vcsRootInstanceLocator
|
|
1953
|
+
* @param {string} [basePath]
|
|
1954
|
+
* @param {string} [locator]
|
|
1955
|
+
* @param {string} [fields]
|
|
1956
|
+
* @param {*} [options] Override http request option.
|
|
1957
|
+
* @throws {RequiredError}
|
|
1958
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1959
|
+
*/
|
|
1960
|
+
getFilesListForSubpath(
|
|
1961
|
+
path: string,
|
|
1962
|
+
vcsRootInstanceLocator: string,
|
|
1963
|
+
basePath?: string,
|
|
1964
|
+
locator?: string,
|
|
1965
|
+
fields?: string,
|
|
1966
|
+
options?: RawAxiosRequestConfig
|
|
1967
|
+
): AxiosPromise<Files>;
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
*
|
|
1971
|
+
* @summary Get VCS root instance matching the locator.
|
|
1972
|
+
* @param {string} vcsRootInstanceLocator
|
|
1973
|
+
* @param {string} [fields]
|
|
1974
|
+
* @param {*} [options] Override http request option.
|
|
1975
|
+
* @throws {RequiredError}
|
|
1976
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1977
|
+
*/
|
|
1978
|
+
getVcsRootInstance(
|
|
1979
|
+
vcsRootInstanceLocator: string,
|
|
1980
|
+
fields?: string,
|
|
1981
|
+
options?: RawAxiosRequestConfig
|
|
1982
|
+
): AxiosPromise<VcsRootInstance>;
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
*
|
|
1986
|
+
* @summary Get the creation date of the matching VCS root instance.
|
|
1987
|
+
* @param {string} vcsRootInstanceLocator
|
|
1988
|
+
* @param {*} [options] Override http request option.
|
|
1989
|
+
* @throws {RequiredError}
|
|
1990
|
+
* @memberof VcsRootInstanceApiInterface
|
|
1991
|
+
*/
|
|
1992
|
+
getVcsRootInstanceCreationDate(
|
|
1993
|
+
vcsRootInstanceLocator: string,
|
|
1994
|
+
options?: RawAxiosRequestConfig
|
|
1995
|
+
): AxiosPromise<string>;
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
*
|
|
1999
|
+
* @summary Get a field of the matching VCS root instance.
|
|
2000
|
+
* @param {string} vcsRootInstanceLocator
|
|
2001
|
+
* @param {string} field
|
|
2002
|
+
* @param {*} [options] Override http request option.
|
|
2003
|
+
* @throws {RequiredError}
|
|
2004
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2005
|
+
*/
|
|
2006
|
+
getVcsRootInstanceField(
|
|
2007
|
+
vcsRootInstanceLocator: string,
|
|
2008
|
+
field: string,
|
|
2009
|
+
options?: RawAxiosRequestConfig
|
|
2010
|
+
): AxiosPromise<string>;
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
*
|
|
2014
|
+
* @summary Get all properties of the matching VCS root instance.
|
|
2015
|
+
* @param {string} vcsRootInstanceLocator
|
|
2016
|
+
* @param {string} [fields]
|
|
2017
|
+
* @param {*} [options] Override http request option.
|
|
2018
|
+
* @throws {RequiredError}
|
|
2019
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2020
|
+
*/
|
|
2021
|
+
getVcsRootInstanceProperties(
|
|
2022
|
+
vcsRootInstanceLocator: string,
|
|
2023
|
+
fields?: string,
|
|
2024
|
+
options?: RawAxiosRequestConfig
|
|
2025
|
+
): AxiosPromise<Properties>;
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
*
|
|
2029
|
+
* @summary Get the repository state of the matching VCS root instance.
|
|
2030
|
+
* @param {string} vcsRootInstanceLocator
|
|
2031
|
+
* @param {string} [fields]
|
|
2032
|
+
* @param {*} [options] Override http request option.
|
|
2033
|
+
* @throws {RequiredError}
|
|
2034
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2035
|
+
*/
|
|
2036
|
+
getVcsRootInstanceRepositoryState(
|
|
2037
|
+
vcsRootInstanceLocator: string,
|
|
2038
|
+
fields?: string,
|
|
2039
|
+
options?: RawAxiosRequestConfig
|
|
2040
|
+
): AxiosPromise<Entries>;
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
*
|
|
2044
|
+
* @summary Get specific file zipped.
|
|
2045
|
+
* @param {string} path
|
|
2046
|
+
* @param {string} vcsRootInstanceLocator
|
|
2047
|
+
* @param {string} [basePath]
|
|
2048
|
+
* @param {string} [locator]
|
|
2049
|
+
* @param {string} [name]
|
|
2050
|
+
* @param {*} [options] Override http request option.
|
|
2051
|
+
* @throws {RequiredError}
|
|
2052
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2053
|
+
*/
|
|
2054
|
+
getZippedFile(
|
|
2055
|
+
path: string,
|
|
2056
|
+
vcsRootInstanceLocator: string,
|
|
2057
|
+
basePath?: string,
|
|
2058
|
+
locator?: string,
|
|
2059
|
+
name?: string,
|
|
2060
|
+
options?: RawAxiosRequestConfig
|
|
2061
|
+
): AxiosPromise<void>;
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
*
|
|
2065
|
+
* @summary Check for the pending changes for all VCS root instances.
|
|
2066
|
+
* @param {string} [locator]
|
|
2067
|
+
* @param {string} [requestor]
|
|
2068
|
+
* @param {string} [fields]
|
|
2069
|
+
* @param {*} [options] Override http request option.
|
|
2070
|
+
* @throws {RequiredError}
|
|
2071
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2072
|
+
*/
|
|
2073
|
+
requestPendingChangesCheck(
|
|
2074
|
+
locator?: string,
|
|
2075
|
+
requestor?: string,
|
|
2076
|
+
fields?: string,
|
|
2077
|
+
options?: RawAxiosRequestConfig
|
|
2078
|
+
): AxiosPromise<VcsRootInstances>;
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
*
|
|
2082
|
+
* @summary Get a field of the matching VCS root instance.
|
|
2083
|
+
* @param {string} vcsRootInstanceLocator
|
|
2084
|
+
* @param {string} field
|
|
2085
|
+
* @param {string} [body]
|
|
2086
|
+
* @param {*} [options] Override http request option.
|
|
2087
|
+
* @throws {RequiredError}
|
|
2088
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2089
|
+
*/
|
|
2090
|
+
setVcsRootInstanceField(
|
|
2091
|
+
vcsRootInstanceLocator: string,
|
|
2092
|
+
field: string,
|
|
2093
|
+
body?: string,
|
|
2094
|
+
options?: RawAxiosRequestConfig
|
|
2095
|
+
): AxiosPromise<string>;
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
*
|
|
2099
|
+
* @summary Update the repository state of the matching VCS root instance.
|
|
2100
|
+
* @param {string} vcsRootInstanceLocator
|
|
2101
|
+
* @param {string} [fields]
|
|
2102
|
+
* @param {Entries} [body]
|
|
2103
|
+
* @param {*} [options] Override http request option.
|
|
2104
|
+
* @throws {RequiredError}
|
|
2105
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2106
|
+
*/
|
|
2107
|
+
setVcsRootInstanceRepositoryState(
|
|
2108
|
+
vcsRootInstanceLocator: string,
|
|
2109
|
+
fields?: string,
|
|
2110
|
+
body?: Entries,
|
|
2111
|
+
options?: RawAxiosRequestConfig
|
|
2112
|
+
): AxiosPromise<Entries>;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
*
|
|
2116
|
+
* @summary Send the commit hook notification.
|
|
2117
|
+
* @param {string} [locator]
|
|
2118
|
+
* @param {boolean} [okOnNothingFound]
|
|
2119
|
+
* @param {*} [options] Override http request option.
|
|
2120
|
+
* @throws {RequiredError}
|
|
2121
|
+
* @memberof VcsRootInstanceApiInterface
|
|
2122
|
+
*/
|
|
2123
|
+
triggerCommitHookNotification(
|
|
2124
|
+
locator?: string,
|
|
2125
|
+
okOnNothingFound?: boolean,
|
|
2126
|
+
options?: RawAxiosRequestConfig
|
|
2127
|
+
): AxiosPromise<void>;
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* VcsRootInstanceApi - object-oriented interface
|
|
2132
|
+
* @export
|
|
2133
|
+
* @class VcsRootInstanceApi
|
|
2134
|
+
* @extends {BaseAPI}
|
|
2135
|
+
*/
|
|
2136
|
+
export class VcsRootInstanceApi extends BaseAPI implements VcsRootInstanceApiInterface {
|
|
2137
|
+
/**
|
|
2138
|
+
*
|
|
2139
|
+
* @summary Remove a field of the matching VCS root instance.
|
|
2140
|
+
* @param {string} vcsRootInstanceLocator
|
|
2141
|
+
* @param {string} field
|
|
2142
|
+
* @param {*} [options] Override http request option.
|
|
2143
|
+
* @throws {RequiredError}
|
|
2144
|
+
* @memberof VcsRootInstanceApi
|
|
2145
|
+
*/
|
|
2146
|
+
public deleteVcsRootInstanceField(
|
|
2147
|
+
vcsRootInstanceLocator: string,
|
|
2148
|
+
field: string,
|
|
2149
|
+
options?: RawAxiosRequestConfig
|
|
2150
|
+
) {
|
|
2151
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2152
|
+
.deleteVcsRootInstanceField(vcsRootInstanceLocator, field, options)
|
|
2153
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
*
|
|
2158
|
+
* @summary Delete the last repository state of the matching VCS root instance.
|
|
2159
|
+
* @param {string} vcsRootInstanceLocator
|
|
2160
|
+
* @param {*} [options] Override http request option.
|
|
2161
|
+
* @throws {RequiredError}
|
|
2162
|
+
* @memberof VcsRootInstanceApi
|
|
2163
|
+
*/
|
|
2164
|
+
public deleteVcsRootInstanceRepositoryState(
|
|
2165
|
+
vcsRootInstanceLocator: string,
|
|
2166
|
+
options?: RawAxiosRequestConfig
|
|
2167
|
+
) {
|
|
2168
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2169
|
+
.deleteVcsRootInstanceRepositoryState(vcsRootInstanceLocator, options)
|
|
2170
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
*
|
|
2175
|
+
* @summary Download specific file.
|
|
2176
|
+
* @param {string} path
|
|
2177
|
+
* @param {string} vcsRootInstanceLocator
|
|
2178
|
+
* @param {*} [options] Override http request option.
|
|
2179
|
+
* @throws {RequiredError}
|
|
2180
|
+
* @memberof VcsRootInstanceApi
|
|
2181
|
+
*/
|
|
2182
|
+
public downloadFile(
|
|
2183
|
+
path: string,
|
|
2184
|
+
vcsRootInstanceLocator: string,
|
|
2185
|
+
options?: RawAxiosRequestConfig
|
|
2186
|
+
) {
|
|
2187
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2188
|
+
.downloadFile(path, vcsRootInstanceLocator, options)
|
|
2189
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
*
|
|
2194
|
+
* @summary Get all VCS root instances.
|
|
2195
|
+
* @param {string} [locator]
|
|
2196
|
+
* @param {string} [fields]
|
|
2197
|
+
* @param {*} [options] Override http request option.
|
|
2198
|
+
* @throws {RequiredError}
|
|
2199
|
+
* @memberof VcsRootInstanceApi
|
|
2200
|
+
*/
|
|
2201
|
+
public getAllVcsRootInstances(
|
|
2202
|
+
locator?: string,
|
|
2203
|
+
fields?: string,
|
|
2204
|
+
options?: RawAxiosRequestConfig
|
|
2205
|
+
) {
|
|
2206
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2207
|
+
.getAllVcsRootInstances(locator, fields, options)
|
|
2208
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
*
|
|
2213
|
+
* @summary Get metadata of specific file.
|
|
2214
|
+
* @param {string} path
|
|
2215
|
+
* @param {string} vcsRootInstanceLocator
|
|
2216
|
+
* @param {string} [fields]
|
|
2217
|
+
* @param {*} [options] Override http request option.
|
|
2218
|
+
* @throws {RequiredError}
|
|
2219
|
+
* @memberof VcsRootInstanceApi
|
|
2220
|
+
*/
|
|
2221
|
+
public getFileMetadata(
|
|
2222
|
+
path: string,
|
|
2223
|
+
vcsRootInstanceLocator: string,
|
|
2224
|
+
fields?: string,
|
|
2225
|
+
options?: RawAxiosRequestConfig
|
|
2226
|
+
) {
|
|
2227
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2228
|
+
.getFileMetadata(path, vcsRootInstanceLocator, fields, options)
|
|
2229
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
/**
|
|
2233
|
+
*
|
|
2234
|
+
* @summary List all files.
|
|
2235
|
+
* @param {string} vcsRootInstanceLocator
|
|
2236
|
+
* @param {string} [basePath]
|
|
2237
|
+
* @param {string} [locator]
|
|
2238
|
+
* @param {string} [fields]
|
|
2239
|
+
* @param {*} [options] Override http request option.
|
|
2240
|
+
* @throws {RequiredError}
|
|
2241
|
+
* @memberof VcsRootInstanceApi
|
|
2242
|
+
*/
|
|
2243
|
+
public getFilesList(
|
|
2244
|
+
vcsRootInstanceLocator: string,
|
|
2245
|
+
basePath?: string,
|
|
2246
|
+
locator?: string,
|
|
2247
|
+
fields?: string,
|
|
2248
|
+
options?: RawAxiosRequestConfig
|
|
2249
|
+
) {
|
|
2250
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2251
|
+
.getFilesList(vcsRootInstanceLocator, basePath, locator, fields, options)
|
|
2252
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @summary List files under this path.
|
|
2258
|
+
* @param {string} path
|
|
2259
|
+
* @param {string} vcsRootInstanceLocator
|
|
2260
|
+
* @param {string} [basePath]
|
|
2261
|
+
* @param {string} [locator]
|
|
2262
|
+
* @param {string} [fields]
|
|
2263
|
+
* @param {*} [options] Override http request option.
|
|
2264
|
+
* @throws {RequiredError}
|
|
2265
|
+
* @memberof VcsRootInstanceApi
|
|
2266
|
+
*/
|
|
2267
|
+
public getFilesListForSubpath(
|
|
2268
|
+
path: string,
|
|
2269
|
+
vcsRootInstanceLocator: string,
|
|
2270
|
+
basePath?: string,
|
|
2271
|
+
locator?: string,
|
|
2272
|
+
fields?: string,
|
|
2273
|
+
options?: RawAxiosRequestConfig
|
|
2274
|
+
) {
|
|
2275
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2276
|
+
.getFilesListForSubpath(path, vcsRootInstanceLocator, basePath, locator, fields, options)
|
|
2277
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
*
|
|
2282
|
+
* @summary Get VCS root instance matching the locator.
|
|
2283
|
+
* @param {string} vcsRootInstanceLocator
|
|
2284
|
+
* @param {string} [fields]
|
|
2285
|
+
* @param {*} [options] Override http request option.
|
|
2286
|
+
* @throws {RequiredError}
|
|
2287
|
+
* @memberof VcsRootInstanceApi
|
|
2288
|
+
*/
|
|
2289
|
+
public getVcsRootInstance(
|
|
2290
|
+
vcsRootInstanceLocator: string,
|
|
2291
|
+
fields?: string,
|
|
2292
|
+
options?: RawAxiosRequestConfig
|
|
2293
|
+
) {
|
|
2294
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2295
|
+
.getVcsRootInstance(vcsRootInstanceLocator, fields, options)
|
|
2296
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
*
|
|
2301
|
+
* @summary Get the creation date of the matching VCS root instance.
|
|
2302
|
+
* @param {string} vcsRootInstanceLocator
|
|
2303
|
+
* @param {*} [options] Override http request option.
|
|
2304
|
+
* @throws {RequiredError}
|
|
2305
|
+
* @memberof VcsRootInstanceApi
|
|
2306
|
+
*/
|
|
2307
|
+
public getVcsRootInstanceCreationDate(
|
|
2308
|
+
vcsRootInstanceLocator: string,
|
|
2309
|
+
options?: RawAxiosRequestConfig
|
|
2310
|
+
) {
|
|
2311
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2312
|
+
.getVcsRootInstanceCreationDate(vcsRootInstanceLocator, options)
|
|
2313
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
*
|
|
2318
|
+
* @summary Get a field of the matching VCS root instance.
|
|
2319
|
+
* @param {string} vcsRootInstanceLocator
|
|
2320
|
+
* @param {string} field
|
|
2321
|
+
* @param {*} [options] Override http request option.
|
|
2322
|
+
* @throws {RequiredError}
|
|
2323
|
+
* @memberof VcsRootInstanceApi
|
|
2324
|
+
*/
|
|
2325
|
+
public getVcsRootInstanceField(
|
|
2326
|
+
vcsRootInstanceLocator: string,
|
|
2327
|
+
field: string,
|
|
2328
|
+
options?: RawAxiosRequestConfig
|
|
2329
|
+
) {
|
|
2330
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2331
|
+
.getVcsRootInstanceField(vcsRootInstanceLocator, field, options)
|
|
2332
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
*
|
|
2337
|
+
* @summary Get all properties of the matching VCS root instance.
|
|
2338
|
+
* @param {string} vcsRootInstanceLocator
|
|
2339
|
+
* @param {string} [fields]
|
|
2340
|
+
* @param {*} [options] Override http request option.
|
|
2341
|
+
* @throws {RequiredError}
|
|
2342
|
+
* @memberof VcsRootInstanceApi
|
|
2343
|
+
*/
|
|
2344
|
+
public getVcsRootInstanceProperties(
|
|
2345
|
+
vcsRootInstanceLocator: string,
|
|
2346
|
+
fields?: string,
|
|
2347
|
+
options?: RawAxiosRequestConfig
|
|
2348
|
+
) {
|
|
2349
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2350
|
+
.getVcsRootInstanceProperties(vcsRootInstanceLocator, fields, options)
|
|
2351
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
*
|
|
2356
|
+
* @summary Get the repository state of the matching VCS root instance.
|
|
2357
|
+
* @param {string} vcsRootInstanceLocator
|
|
2358
|
+
* @param {string} [fields]
|
|
2359
|
+
* @param {*} [options] Override http request option.
|
|
2360
|
+
* @throws {RequiredError}
|
|
2361
|
+
* @memberof VcsRootInstanceApi
|
|
2362
|
+
*/
|
|
2363
|
+
public getVcsRootInstanceRepositoryState(
|
|
2364
|
+
vcsRootInstanceLocator: string,
|
|
2365
|
+
fields?: string,
|
|
2366
|
+
options?: RawAxiosRequestConfig
|
|
2367
|
+
) {
|
|
2368
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2369
|
+
.getVcsRootInstanceRepositoryState(vcsRootInstanceLocator, fields, options)
|
|
2370
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @summary Get specific file zipped.
|
|
2376
|
+
* @param {string} path
|
|
2377
|
+
* @param {string} vcsRootInstanceLocator
|
|
2378
|
+
* @param {string} [basePath]
|
|
2379
|
+
* @param {string} [locator]
|
|
2380
|
+
* @param {string} [name]
|
|
2381
|
+
* @param {*} [options] Override http request option.
|
|
2382
|
+
* @throws {RequiredError}
|
|
2383
|
+
* @memberof VcsRootInstanceApi
|
|
2384
|
+
*/
|
|
2385
|
+
public getZippedFile(
|
|
2386
|
+
path: string,
|
|
2387
|
+
vcsRootInstanceLocator: string,
|
|
2388
|
+
basePath?: string,
|
|
2389
|
+
locator?: string,
|
|
2390
|
+
name?: string,
|
|
2391
|
+
options?: RawAxiosRequestConfig
|
|
2392
|
+
) {
|
|
2393
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2394
|
+
.getZippedFile(path, vcsRootInstanceLocator, basePath, locator, name, options)
|
|
2395
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
*
|
|
2400
|
+
* @summary Check for the pending changes for all VCS root instances.
|
|
2401
|
+
* @param {string} [locator]
|
|
2402
|
+
* @param {string} [requestor]
|
|
2403
|
+
* @param {string} [fields]
|
|
2404
|
+
* @param {*} [options] Override http request option.
|
|
2405
|
+
* @throws {RequiredError}
|
|
2406
|
+
* @memberof VcsRootInstanceApi
|
|
2407
|
+
*/
|
|
2408
|
+
public requestPendingChangesCheck(
|
|
2409
|
+
locator?: string,
|
|
2410
|
+
requestor?: string,
|
|
2411
|
+
fields?: string,
|
|
2412
|
+
options?: RawAxiosRequestConfig
|
|
2413
|
+
) {
|
|
2414
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2415
|
+
.requestPendingChangesCheck(locator, requestor, fields, options)
|
|
2416
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
*
|
|
2421
|
+
* @summary Get a field of the matching VCS root instance.
|
|
2422
|
+
* @param {string} vcsRootInstanceLocator
|
|
2423
|
+
* @param {string} field
|
|
2424
|
+
* @param {string} [body]
|
|
2425
|
+
* @param {*} [options] Override http request option.
|
|
2426
|
+
* @throws {RequiredError}
|
|
2427
|
+
* @memberof VcsRootInstanceApi
|
|
2428
|
+
*/
|
|
2429
|
+
public setVcsRootInstanceField(
|
|
2430
|
+
vcsRootInstanceLocator: string,
|
|
2431
|
+
field: string,
|
|
2432
|
+
body?: string,
|
|
2433
|
+
options?: RawAxiosRequestConfig
|
|
2434
|
+
) {
|
|
2435
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2436
|
+
.setVcsRootInstanceField(vcsRootInstanceLocator, field, body, options)
|
|
2437
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @summary Update the repository state of the matching VCS root instance.
|
|
2443
|
+
* @param {string} vcsRootInstanceLocator
|
|
2444
|
+
* @param {string} [fields]
|
|
2445
|
+
* @param {Entries} [body]
|
|
2446
|
+
* @param {*} [options] Override http request option.
|
|
2447
|
+
* @throws {RequiredError}
|
|
2448
|
+
* @memberof VcsRootInstanceApi
|
|
2449
|
+
*/
|
|
2450
|
+
public setVcsRootInstanceRepositoryState(
|
|
2451
|
+
vcsRootInstanceLocator: string,
|
|
2452
|
+
fields?: string,
|
|
2453
|
+
body?: Entries,
|
|
2454
|
+
options?: RawAxiosRequestConfig
|
|
2455
|
+
) {
|
|
2456
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2457
|
+
.setVcsRootInstanceRepositoryState(vcsRootInstanceLocator, fields, body, options)
|
|
2458
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
*
|
|
2463
|
+
* @summary Send the commit hook notification.
|
|
2464
|
+
* @param {string} [locator]
|
|
2465
|
+
* @param {boolean} [okOnNothingFound]
|
|
2466
|
+
* @param {*} [options] Override http request option.
|
|
2467
|
+
* @throws {RequiredError}
|
|
2468
|
+
* @memberof VcsRootInstanceApi
|
|
2469
|
+
*/
|
|
2470
|
+
public triggerCommitHookNotification(
|
|
2471
|
+
locator?: string,
|
|
2472
|
+
okOnNothingFound?: boolean,
|
|
2473
|
+
options?: RawAxiosRequestConfig
|
|
2474
|
+
) {
|
|
2475
|
+
return VcsRootInstanceApiFp(this.configuration)
|
|
2476
|
+
.triggerCommitHookNotification(locator, okOnNothingFound, options)
|
|
2477
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2478
|
+
}
|
|
2479
|
+
}
|