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