@octopusdeploy/api-client
Advanced tools
Comparing version 3.0.5 to 3.0.6
# Changelog | ||
## [3.0.6](https://github.com/OctopusDeploy/api-client.ts/compare/v3.0.5...v3.0.6) (2023-02-28) | ||
### Bug Fixes | ||
* tenant get variables ([#159](https://github.com/OctopusDeploy/api-client.ts/issues/159)) ([8f753e9](https://github.com/OctopusDeploy/api-client.ts/commit/8f753e9232f76c9f53462ef9905a707673a3b2ee)) | ||
## [3.0.5](https://github.com/OctopusDeploy/api-client.ts/compare/v3.0.4...v3.0.5) (2023-02-21) | ||
@@ -4,0 +11,0 @@ |
@@ -27,9 +27,19 @@ "use strict"; | ||
TenantRepository.prototype.tagTest = function (tenantIds, tags) { | ||
return this.client.request("".concat(__1.spaceScopedRoutePrefix, "/tenants/tag-test{?tenantIds,tags}"), { tenantIds: tenantIds, tags: tags }); | ||
return this.client.request("".concat(__1.spaceScopedRoutePrefix, "/tenants/tag-test{?tenantIds,tags}"), { | ||
spaceName: this.spaceName, | ||
tenantIds: tenantIds, | ||
tags: tags, | ||
}); | ||
}; | ||
TenantRepository.prototype.getVariables = function (tenant) { | ||
return this.client.request("".concat(__1.spaceScopedRoutePrefix, "/tenants/{id}/variables")); | ||
return this.client.request("".concat(__1.spaceScopedRoutePrefix, "/tenants/{id}/variables"), { | ||
spaceName: this.spaceName, | ||
id: tenant.Id, | ||
}); | ||
}; | ||
TenantRepository.prototype.setVariables = function (tenant, variables) { | ||
return this.client.doUpdate("".concat(__1.spaceScopedRoutePrefix, "/tenants/{id}/variables"), variables); | ||
return this.client.doUpdate("".concat(__1.spaceScopedRoutePrefix, "/tenants/{id}/variables"), variables, { | ||
spaceName: this.spaceName, | ||
id: tenant.Id, | ||
}); | ||
}; | ||
@@ -40,2 +50,3 @@ TenantRepository.prototype.missingVariables = function (filterOptions, includeDetails) { | ||
var payload = { | ||
spaceName: this.spaceName, | ||
environmentId: filterOptions.environmentId, | ||
@@ -42,0 +53,0 @@ includeDetails: includeDetails, |
@@ -78,3 +78,3 @@ { | ||
"types": "dist/index.d.ts", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"jest-junit": { | ||
@@ -81,0 +81,0 @@ "outputDirectory": "reports", |
420278
8193