azure-devops-node-api
Advanced tools
Comparing version 10.2.2 to 11.0.0
@@ -34,3 +34,2 @@ /// <reference types="node" /> | ||
getDefinitions(project: string, name?: string, repositoryId?: string, repositoryType?: string, queryOrder?: BuildInterfaces.DefinitionQueryOrder, top?: number, continuationToken?: string, minMetricsTime?: Date, definitionIds?: number[], path?: string, builtAfter?: Date, notBuiltAfter?: Date, includeAllProperties?: boolean, includeLatestBuilds?: boolean, taskIdFilter?: string, processType?: number, yamlFilename?: string): Promise<BuildInterfaces.BuildDefinitionReference[]>; | ||
getDefinitionYaml(project: string, definitionId: number, dummyValue: string, revision?: number, minMetricsTime?: Date, propertyFilters?: string[], includeLatestBuilds?: boolean): Promise<BuildInterfaces.YamlBuild>; | ||
restoreDefinition(project: string, definitionId: number, deleted: boolean): Promise<BuildInterfaces.BuildDefinition>; | ||
@@ -85,2 +84,3 @@ updateDefinition(definition: BuildInterfaces.BuildDefinition, project: string, definitionId: number, secretsSourceDefinitionId?: number, secretsSourceDefinitionRevision?: number): Promise<BuildInterfaces.BuildDefinition>; | ||
getBuildTags(project: string, buildId: number): Promise<string[]>; | ||
updateBuildTags(updateParameters: BuildInterfaces.UpdateTagParameters, project: string, buildId: number): Promise<string[]>; | ||
addDefinitionTag(project: string, definitionId: number, tag: string): Promise<string[]>; | ||
@@ -90,2 +90,3 @@ addDefinitionTags(tags: string[], project: string, definitionId: number): Promise<string[]>; | ||
getDefinitionTags(project: string, definitionId: number, revision?: number): Promise<string[]>; | ||
updateDefinitionTags(updateParameters: BuildInterfaces.UpdateTagParameters, project: string, definitionId: number): Promise<string[]>; | ||
deleteTag(project: string, tag: string): Promise<string[]>; | ||
@@ -103,2 +104,3 @@ getTags(project: string): Promise<string[]>; | ||
getWorkItemsBetweenBuilds(project: string, fromBuildId: number, toBuildId: number, top?: number): Promise<VSSInterfaces.ResourceRef[]>; | ||
getDefinitionYaml(project: string, definitionId: number, revision?: number, minMetricsTime?: Date, propertyFilters?: string[], includeLatestBuilds?: boolean): Promise<BuildInterfaces.YamlBuild>; | ||
} | ||
@@ -364,12 +366,2 @@ export declare class BuildApi extends basem.ClientApiBase implements IBuildApi { | ||
/** | ||
* @param {string} project - Project ID or project name | ||
* @param {number} definitionId | ||
* @param {string} dummyValue | ||
* @param {number} revision | ||
* @param {Date} minMetricsTime | ||
* @param {string[]} propertyFilters | ||
* @param {boolean} includeLatestBuilds | ||
*/ | ||
getDefinitionYaml(project: string, definitionId: number, dummyValue: string, revision?: number, minMetricsTime?: Date, propertyFilters?: string[], includeLatestBuilds?: boolean): Promise<BuildInterfaces.YamlBuild>; | ||
/** | ||
* Restores a deleted definition | ||
@@ -458,3 +450,3 @@ * | ||
* @param {string} definition - definition name with optional leading folder path, or the definition id | ||
* @param {string} branchName - optional parameter that indicates the specific branch to use | ||
* @param {string} branchName - optional parameter that indicates the specific branch to use. If not specified, the default branch is used. | ||
*/ | ||
@@ -724,3 +716,3 @@ getLatestBuild(project: string, definition: string, branchName?: string): Promise<BuildInterfaces.Build>; | ||
* @param {string} definition - Either the definition name with optional leading folder path, or the definition id. | ||
* @param {string} branchName - Only consider the most recent build for this branch. | ||
* @param {string} branchName - Only consider the most recent build for this branch. If not specified, the default branch is used. | ||
* @param {string} stageName - Use this stage within the pipeline to render the status. | ||
@@ -749,3 +741,3 @@ * @param {string} jobName - Use this job within a stage of the pipeline to render the status. | ||
/** | ||
* Removes a tag from a build. | ||
* Removes a tag from a build. NOTE: This API will not work for tags with special characters. To remove tags with special characters, use the PATCH method instead (in 6.0+) | ||
* | ||
@@ -765,2 +757,10 @@ * @param {string} project - Project ID or project name | ||
/** | ||
* Adds/Removes tags from a build. | ||
* | ||
* @param {BuildInterfaces.UpdateTagParameters} updateParameters - The tags to add/remove. | ||
* @param {string} project - Project ID or project name | ||
* @param {number} buildId - The ID of the build. | ||
*/ | ||
updateBuildTags(updateParameters: BuildInterfaces.UpdateTagParameters, project: string, buildId: number): Promise<string[]>; | ||
/** | ||
* Adds a tag to a definition | ||
@@ -782,3 +782,3 @@ * | ||
/** | ||
* Removes a tag from a definition. | ||
* Removes a tag from a definition. NOTE: This API will not work for tags with special characters. To remove tags with special characters, use the PATCH method instead (in 6.0+) | ||
* | ||
@@ -799,2 +799,10 @@ * @param {string} project - Project ID or project name | ||
/** | ||
* Adds/Removes tags from a definition. | ||
* | ||
* @param {BuildInterfaces.UpdateTagParameters} updateParameters - The tags to add/remove. | ||
* @param {string} project - Project ID or project name | ||
* @param {number} definitionId - The ID of the definition. | ||
*/ | ||
updateDefinitionTags(updateParameters: BuildInterfaces.UpdateTagParameters, project: string, definitionId: number): Promise<string[]>; | ||
/** | ||
* Removes a tag from builds, definitions, and from the tag store | ||
@@ -895,2 +903,13 @@ * | ||
getWorkItemsBetweenBuilds(project: string, fromBuildId: number, toBuildId: number, top?: number): Promise<VSSInterfaces.ResourceRef[]>; | ||
/** | ||
* Converts a definition to YAML, optionally at a specific revision. | ||
* | ||
* @param {string} project - Project ID or project name | ||
* @param {number} definitionId - The ID of the definition. | ||
* @param {number} revision - The revision number to retrieve. If this is not specified, the latest version will be returned. | ||
* @param {Date} minMetricsTime - If specified, indicates the date from which metrics should be included. | ||
* @param {string[]} propertyFilters - A comma-delimited list of properties to include in the results. | ||
* @param {boolean} includeLatestBuilds | ||
*/ | ||
getDefinitionYaml(project: string, definitionId: number, revision?: number, minMetricsTime?: Date, propertyFilters?: string[], includeLatestBuilds?: boolean): Promise<BuildInterfaces.YamlBuild>; | ||
} |
@@ -39,3 +39,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "54b2a2a0-859b-4d05-827c-ec4c862f641a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "54b2a2a0-859b-4d05-827c-ec4c862f641a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -67,3 +67,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "54b2a2a0-859b-4d05-827c-ec4c862f641a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "54b2a2a0-859b-4d05-827c-ec4c862f641a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -93,3 +93,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "b4f70219-e18b-42c5-abe3-98b07d35525e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "b4f70219-e18b-42c5-abe3-98b07d35525e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -120,3 +120,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "b4f70219-e18b-42c5-abe3-98b07d35525e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "b4f70219-e18b-42c5-abe3-98b07d35525e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -149,3 +149,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "b4f70219-e18b-42c5-abe3-98b07d35525e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "b4f70219-e18b-42c5-abe3-98b07d35525e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -175,3 +175,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -201,3 +201,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -226,3 +226,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -252,3 +252,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "5ead0b70-2572-4697-97e9-f341069a783a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -287,3 +287,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "core", "294c494c-2600-4d7e-b76c-3dd50c3c95be", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "core", "294c494c-2600-4d7e-b76c-3dd50c3c95be", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -314,3 +314,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "93878975-88c5-4e6a-8abb-7ddd77a8a7d8", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "93878975-88c5-4e6a-8abb-7ddd77a8a7d8", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -338,3 +338,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "93878975-88c5-4e6a-8abb-7ddd77a8a7d8", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "93878975-88c5-4e6a-8abb-7ddd77a8a7d8", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -365,3 +365,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "core", "8031090f-ef1d-4af6-85fc-698cd75d42bf", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "core", "8031090f-ef1d-4af6-85fc-698cd75d42bf", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -395,3 +395,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "core", "8031090f-ef1d-4af6-85fc-698cd75d42bf", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "core", "8031090f-ef1d-4af6-85fc-698cd75d42bf", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -423,3 +423,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "core", "6488a877-4749-4954-82ea-7340d36be9f2", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "core", "6488a877-4749-4954-82ea-7340d36be9f2", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -456,3 +456,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -492,3 +492,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -517,3 +517,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -544,3 +544,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -572,3 +572,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "core", "603fe2ac-9723-48b9-88ad-09305aa6c6e1", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -605,3 +605,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "0a3ffdfc-fe94-47a6-bb27-79bf3f762eac", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "0a3ffdfc-fe94-47a6-bb27-79bf3f762eac", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -636,3 +636,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "4976a71a-4487-49aa-8aab-a1eda469037a", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "4976a71a-4487-49aa-8aab-a1eda469037a", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -666,3 +666,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "core", "4976a71a-4487-49aa-8aab-a1eda469037a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "core", "4976a71a-4487-49aa-8aab-a1eda469037a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -690,3 +690,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "core", "ec1f4311-f2b4-4c15-b2b8-8990b80d2908", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "core", "ec1f4311-f2b4-4c15-b2b8-8990b80d2908", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -721,3 +721,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "core", "ec1f4311-f2b4-4c15-b2b8-8990b80d2908", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "core", "ec1f4311-f2b4-4c15-b2b8-8990b80d2908", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -747,3 +747,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "core", "ec1f4311-f2b4-4c15-b2b8-8990b80d2908", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "core", "ec1f4311-f2b4-4c15-b2b8-8990b80d2908", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -781,3 +781,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "core", "7a4d9ee9-3433-4347-b47a-7a80f1cf307e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "core", "7a4d9ee9-3433-4347-b47a-7a80f1cf307e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -809,3 +809,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -838,3 +838,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -871,3 +871,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -908,3 +908,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -938,3 +938,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "core", "d30a3dd1-f8ba-442a-b86a-bd0c0c383e59", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -941,0 +941,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -46,3 +46,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -82,3 +82,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -118,3 +118,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -152,3 +152,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -189,3 +189,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -224,3 +224,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "Dashboard", "454b3e51-2e6e-48d4-ad81-978154089351", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -261,3 +261,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -299,3 +299,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -337,3 +337,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -376,3 +376,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -415,3 +415,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "Dashboard", "bdcff53a-8355-4172-a00a-40497ea23afc", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -444,3 +444,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Dashboard", "6b3628d3-e96f-4fc7-b176-50240b03b515", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Dashboard", "6b3628d3-e96f-4fc7-b176-50240b03b515", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -478,3 +478,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Dashboard", "6b3628d3-e96f-4fc7-b176-50240b03b515", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Dashboard", "6b3628d3-e96f-4fc7-b176-50240b03b515", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -481,0 +481,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -53,3 +53,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "288dff58-d13b-468e-9671-0fb754e9398c", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "288dff58-d13b-468e-9671-0fb754e9398c", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -76,3 +76,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "da616457-eed3-4672-92d7-18d21f5c1658", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "da616457-eed3-4672-92d7-18d21f5c1658", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -103,3 +103,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "23a312e0-562d-42fb-a505-5a046b5635db", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "23a312e0-562d-42fb-a505-5a046b5635db", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -132,3 +132,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "f21cfc80-d2d2-4248-98bb-7820c74c4606", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "f21cfc80-d2d2-4248-98bb-7820c74c4606", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -166,3 +166,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -201,3 +201,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -236,3 +236,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -269,3 +269,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -303,3 +303,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -337,3 +337,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "bbe06c18-1c8b-4fcd-b9c6-1535aaab8749", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -367,3 +367,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "56c331f1-ce53-4318-adfd-4db5c52a7a2e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "56c331f1-ce53-4318-adfd-4db5c52a7a2e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -401,3 +401,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "92755d3d-9a8a-42b3-8a4d-87359fe5aa93", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "92755d3d-9a8a-42b3-8a4d-87359fe5aa93", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -424,3 +424,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "046c980f-1345-4ce2-bf85-b46d10ff4cfd", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "046c980f-1345-4ce2-bf85-b46d10ff4cfd", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -458,3 +458,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "275424d0-c844-4fe2-bda6-04933a1357d8", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "275424d0-c844-4fe2-bda6-04933a1357d8", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -483,3 +483,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "275424d0-c844-4fe2-bda6-04933a1357d8", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "275424d0-c844-4fe2-bda6-04933a1357d8", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -516,3 +516,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "fb0da285-f23e-4b56-8b53-3ef5f9f6de66", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "fb0da285-f23e-4b56-8b53-3ef5f9f6de66", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -547,3 +547,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "fb0da285-f23e-4b56-8b53-3ef5f9f6de66", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "fb0da285-f23e-4b56-8b53-3ef5f9f6de66", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -582,3 +582,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "fb0da285-f23e-4b56-8b53-3ef5f9f6de66", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "fb0da285-f23e-4b56-8b53-3ef5f9f6de66", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -607,3 +607,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "e5cc8c09-407b-4867-8319-2ae3338cbf6f", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "e5cc8c09-407b-4867-8319-2ae3338cbf6f", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -644,3 +644,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "aa93e1f3-511c-4364-8b9c-eb98818f2e0b", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "aa93e1f3-511c-4364-8b9c-eb98818f2e0b", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -666,3 +666,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "216b978f-b164-424e-ada2-b77561e842b7", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "216b978f-b164-424e-ada2-b77561e842b7", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -701,3 +701,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "ba93e1f3-511c-4364-8b9c-eb98818f2e0b", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "ba93e1f3-511c-4364-8b9c-eb98818f2e0b", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -728,3 +728,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "f5afca1e-a728-4294-aa2d-4af0173431b5", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "f5afca1e-a728-4294-aa2d-4af0173431b5", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -756,3 +756,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "f5afca1e-a728-4294-aa2d-4af0173431b5", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "f5afca1e-a728-4294-aa2d-4af0173431b5", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -778,3 +778,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "ExtensionManagement", "3a2e24ed-1d6f-4cb2-9f3b-45a96bbfaf50", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "ExtensionManagement", "3a2e24ed-1d6f-4cb2-9f3b-45a96bbfaf50", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -781,0 +781,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -38,3 +38,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "c4209f25-7a27-41dd-9f04-06080c7b6afd", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "c4209f25-7a27-41dd-9f04-06080c7b6afd", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -66,3 +66,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "c4209f25-7a27-41dd-9f04-06080c7b6afd", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "c4209f25-7a27-41dd-9f04-06080c7b6afd", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -95,3 +95,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "98911314-3f9b-4eaf-80e8-83900d8e85d9", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "98911314-3f9b-4eaf-80e8-83900d8e85d9", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -131,3 +131,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "98911314-3f9b-4eaf-80e8-83900d8e85d9", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "98911314-3f9b-4eaf-80e8-83900d8e85d9", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -164,3 +164,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "dd291e43-aa9f-4cee-8465-a93c78e414a4", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "dd291e43-aa9f-4cee-8465-a93c78e414a4", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -204,3 +204,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "dd291e43-aa9f-4cee-8465-a93c78e414a4", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "dd291e43-aa9f-4cee-8465-a93c78e414a4", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -229,3 +229,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "2b4486ad-122b-400c-ae65-17b6672c1f9d", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "2b4486ad-122b-400c-ae65-17b6672c1f9d", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -257,3 +257,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "3f810f28-03e2-4239-b0bc-788add3005e5", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "3f810f28-03e2-4239-b0bc-788add3005e5", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -289,3 +289,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "FeatureManagement", "f29e997b-c2da-4d15-8380-765788a1a74c", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "FeatureManagement", "f29e997b-c2da-4d15-8380-765788a1a74c", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -292,0 +292,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -9,3 +9,3 @@ import basem = require('./ClientApiBases'); | ||
getContainers(scope?: string, artifactUris?: string): Promise<FileContainerInterfaces.FileContainer[]>; | ||
getItems(containerId: number, scope?: string, itemPath?: string, metadata?: boolean, format?: string, downloadFileName?: string, includeDownloadTickets?: boolean, isShallow?: boolean): Promise<FileContainerInterfaces.FileContainerItem[]>; | ||
getItems(containerId: number, scope?: string, itemPath?: string, metadata?: boolean, format?: string, downloadFileName?: string, includeDownloadTickets?: boolean, isShallow?: boolean, ignoreRequestedMediaType?: boolean, includeBlobMetadata?: boolean, saveAbsolutePath?: boolean): Promise<FileContainerInterfaces.FileContainerItem[]>; | ||
} | ||
@@ -46,4 +46,7 @@ export declare class FileContainerApiBase extends basem.ClientApiBase implements IFileContainerApiBase { | ||
* @param {boolean} isShallow | ||
* @param {boolean} ignoreRequestedMediaType | ||
* @param {boolean} includeBlobMetadata | ||
* @param {boolean} saveAbsolutePath | ||
*/ | ||
getItems(containerId: number, scope?: string, itemPath?: string, metadata?: boolean, format?: string, downloadFileName?: string, includeDownloadTickets?: boolean, isShallow?: boolean): Promise<FileContainerInterfaces.FileContainerItem[]>; | ||
getItems(containerId: number, scope?: string, itemPath?: string, metadata?: boolean, format?: string, downloadFileName?: string, includeDownloadTickets?: boolean, isShallow?: boolean, ignoreRequestedMediaType?: boolean, includeBlobMetadata?: boolean, saveAbsolutePath?: boolean): Promise<FileContainerInterfaces.FileContainerItem[]>; | ||
} |
@@ -43,3 +43,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -79,3 +79,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -109,3 +109,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -133,4 +133,7 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
* @param {boolean} isShallow | ||
* @param {boolean} ignoreRequestedMediaType | ||
* @param {boolean} includeBlobMetadata | ||
* @param {boolean} saveAbsolutePath | ||
*/ | ||
getItems(containerId, scope, itemPath, metadata, format, downloadFileName, includeDownloadTickets, isShallow) { | ||
getItems(containerId, scope, itemPath, metadata, format, downloadFileName, includeDownloadTickets, isShallow, ignoreRequestedMediaType, includeBlobMetadata, saveAbsolutePath) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -149,5 +152,8 @@ return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { | ||
isShallow: isShallow, | ||
ignoreRequestedMediaType: ignoreRequestedMediaType, | ||
includeBlobMetadata: includeBlobMetadata, | ||
saveAbsolutePath: saveAbsolutePath, | ||
}; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.4", "Container", "e4f5c81e-e250-447b-9fef-bd48471bea5e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -154,0 +160,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -23,2 +23,3 @@ /// <reference types="node" /> | ||
getContentVerificationLog(publisherName: string, extensionName: string): Promise<NodeJS.ReadableStream>; | ||
createSupportRequest(customerSupportRequest: GalleryInterfaces.CustomerSupportRequest): Promise<void>; | ||
createDraftForEditExtension(publisherName: string, extensionName: string): Promise<GalleryInterfaces.ExtensionDraft>; | ||
@@ -37,10 +38,10 @@ performEditExtensionDraftOperation(draftPatch: GalleryInterfaces.ExtensionDraftPatch, publisherName: string, extensionName: string, draftId: string): Promise<GalleryInterfaces.ExtensionDraft>; | ||
queryExtensions(customHeaders: any, extensionQuery: GalleryInterfaces.ExtensionQuery, accountToken?: string, accountTokenHeader?: String): Promise<GalleryInterfaces.ExtensionQueryResult>; | ||
createExtension(customHeaders: any, contentStream: NodeJS.ReadableStream): Promise<GalleryInterfaces.PublishedExtension>; | ||
createExtension(customHeaders: any, contentStream: NodeJS.ReadableStream, extensionType?: string, reCaptchaToken?: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
deleteExtensionById(extensionId: string, version?: string): Promise<void>; | ||
getExtensionById(extensionId: string, version?: string, flags?: GalleryInterfaces.ExtensionQueryFlags): Promise<GalleryInterfaces.PublishedExtension>; | ||
updateExtensionById(extensionId: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
createExtensionWithPublisher(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
updateExtensionById(extensionId: string, reCaptchaToken?: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
createExtensionWithPublisher(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string, extensionType?: string, reCaptchaToken?: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
deleteExtension(publisherName: string, extensionName: string, version?: string): Promise<void>; | ||
getExtension(customHeaders: any, publisherName: string, extensionName: string, version?: string, flags?: GalleryInterfaces.ExtensionQueryFlags, accountToken?: string, accountTokenHeader?: String): Promise<GalleryInterfaces.PublishedExtension>; | ||
updateExtension(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string, extensionName: string, bypassScopeCheck?: boolean): Promise<GalleryInterfaces.PublishedExtension>; | ||
updateExtension(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string, extensionName: string, extensionType?: string, reCaptchaToken?: string, bypassScopeCheck?: boolean): Promise<GalleryInterfaces.PublishedExtension>; | ||
updateExtensionProperties(publisherName: string, extensionName: string, flags: GalleryInterfaces.PublishedExtensionFlags): Promise<GalleryInterfaces.PublishedExtension>; | ||
@@ -207,2 +208,6 @@ shareExtensionWithHost(publisherName: string, extensionName: string, hostType: string, hostName: string): Promise<void>; | ||
/** | ||
* @param {GalleryInterfaces.CustomerSupportRequest} customerSupportRequest | ||
*/ | ||
createSupportRequest(customerSupportRequest: GalleryInterfaces.CustomerSupportRequest): Promise<void>; | ||
/** | ||
* @param {string} publisherName | ||
@@ -300,4 +305,6 @@ * @param {string} extensionName | ||
* @param {NodeJS.ReadableStream} contentStream - Content to upload | ||
* @param {string} extensionType | ||
* @param {string} reCaptchaToken | ||
*/ | ||
createExtension(customHeaders: any, contentStream: NodeJS.ReadableStream): Promise<GalleryInterfaces.PublishedExtension>; | ||
createExtension(customHeaders: any, contentStream: NodeJS.ReadableStream, extensionType?: string, reCaptchaToken?: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
/** | ||
@@ -316,9 +323,12 @@ * @param {string} extensionId | ||
* @param {string} extensionId | ||
* @param {string} reCaptchaToken | ||
*/ | ||
updateExtensionById(extensionId: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
updateExtensionById(extensionId: string, reCaptchaToken?: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
/** | ||
* @param {NodeJS.ReadableStream} contentStream - Content to upload | ||
* @param {string} publisherName | ||
* @param {string} extensionType | ||
* @param {string} reCaptchaToken | ||
*/ | ||
createExtensionWithPublisher(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
createExtensionWithPublisher(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string, extensionType?: string, reCaptchaToken?: string): Promise<GalleryInterfaces.PublishedExtension>; | ||
/** | ||
@@ -345,5 +355,7 @@ * @param {string} publisherName | ||
* @param {string} extensionName - Name of the extension | ||
* @param {string} extensionType | ||
* @param {string} reCaptchaToken | ||
* @param {boolean} bypassScopeCheck - This parameter decides if the scope change check needs to be invoked or not | ||
*/ | ||
updateExtension(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string, extensionName: string, bypassScopeCheck?: boolean): Promise<GalleryInterfaces.PublishedExtension>; | ||
updateExtension(customHeaders: any, contentStream: NodeJS.ReadableStream, publisherName: string, extensionName: string, extensionType?: string, reCaptchaToken?: string, bypassScopeCheck?: boolean): Promise<GalleryInterfaces.PublishedExtension>; | ||
/** | ||
@@ -350,0 +362,0 @@ * @param {string} publisherName |
@@ -193,2 +193,11 @@ import GraphInterfaces = require("../../interfaces/GraphInterfaces"); | ||
/** | ||
* A list that contains a single page of results from a query. | ||
*/ | ||
export interface PagedList<T> { | ||
/** | ||
* A string that can be passed to the same endpoint that returned this PagedList in order to retrieve the next page of results. | ||
*/ | ||
continuationToken?: string; | ||
} | ||
/** | ||
* Represents the public key portion of an RSA asymmetric key. | ||
@@ -250,2 +259,15 @@ */ | ||
} | ||
/** | ||
* A signed url allowing limited-time anonymous access to private resources. | ||
*/ | ||
export interface SignedUrl { | ||
/** | ||
* Timestamp when access expires. | ||
*/ | ||
signatureExpires?: Date; | ||
/** | ||
* The URL to allow access to. | ||
*/ | ||
url?: string; | ||
} | ||
export interface TeamMember { | ||
@@ -418,4 +440,5 @@ identity?: IdentityRef; | ||
}; | ||
SignedUrl: any; | ||
TraceFilter: any; | ||
VssNotificationEvent: any; | ||
}; |
@@ -94,2 +94,3 @@ /* | ||
}, | ||
SignedUrl: {}, | ||
TraceFilter: {}, | ||
@@ -103,2 +104,7 @@ VssNotificationEvent: {}, | ||
}; | ||
exports.TypeInfo.SignedUrl.fields = { | ||
signatureExpires: { | ||
isDate: true, | ||
} | ||
}; | ||
exports.TypeInfo.TraceFilter.fields = { | ||
@@ -105,0 +111,0 @@ timeCreated: { |
/** | ||
* Compression type for file stored in Blobstore | ||
*/ | ||
export declare enum BlobCompressionType { | ||
None = 0, | ||
GZip = 1 | ||
} | ||
/** | ||
* Represents an reference to a file in Blobstore | ||
*/ | ||
export interface ContainerItemBlobReference { | ||
artifactHash?: string; | ||
artifactId?: number; | ||
compressionType?: BlobCompressionType; | ||
scopeIdentifier?: string; | ||
} | ||
/** | ||
* Status of a container item. | ||
@@ -106,2 +122,7 @@ */ | ||
/** | ||
* Id for Blobstore reference | ||
*/ | ||
artifactId?: number; | ||
blobMetadata?: ContainerItemBlobReference; | ||
/** | ||
* Container Id. | ||
@@ -174,2 +195,9 @@ */ | ||
export declare var TypeInfo: { | ||
BlobCompressionType: { | ||
enumValues: { | ||
"none": number; | ||
"gZip": number; | ||
}; | ||
}; | ||
ContainerItemBlobReference: any; | ||
ContainerItemStatus: { | ||
@@ -176,0 +204,0 @@ enumValues: { |
@@ -13,2 +13,10 @@ /* | ||
/** | ||
* Compression type for file stored in Blobstore | ||
*/ | ||
var BlobCompressionType; | ||
(function (BlobCompressionType) { | ||
BlobCompressionType[BlobCompressionType["None"] = 0] = "None"; | ||
BlobCompressionType[BlobCompressionType["GZip"] = 1] = "GZip"; | ||
})(BlobCompressionType = exports.BlobCompressionType || (exports.BlobCompressionType = {})); | ||
/** | ||
* Status of a container item. | ||
@@ -56,2 +64,9 @@ */ | ||
exports.TypeInfo = { | ||
BlobCompressionType: { | ||
enumValues: { | ||
"none": 0, | ||
"gZip": 1 | ||
} | ||
}, | ||
ContainerItemBlobReference: {}, | ||
ContainerItemStatus: { | ||
@@ -78,2 +93,7 @@ enumValues: { | ||
}; | ||
exports.TypeInfo.ContainerItemBlobReference.fields = { | ||
compressionType: { | ||
enumType: exports.TypeInfo.BlobCompressionType | ||
} | ||
}; | ||
exports.TypeInfo.FileContainer.fields = { | ||
@@ -88,2 +108,5 @@ dateCreated: { | ||
exports.TypeInfo.FileContainerItem.fields = { | ||
blobMetadata: { | ||
typeInfo: exports.TypeInfo.ContainerItemBlobReference | ||
}, | ||
dateCreated: { | ||
@@ -90,0 +113,0 @@ isDate: true, |
@@ -788,2 +788,3 @@ /* | ||
CustomerLastContact: {}, | ||
CustomerSupportRequest: {}, | ||
DraftPatchOperation: { | ||
@@ -1126,2 +1127,7 @@ enumValues: { | ||
}; | ||
exports.TypeInfo.CustomerSupportRequest.fields = { | ||
review: { | ||
typeInfo: exports.TypeInfo.Review | ||
} | ||
}; | ||
exports.TypeInfo.ExtensionAcquisitionRequest.fields = { | ||
@@ -1128,0 +1134,0 @@ assignmentType: { |
@@ -81,6 +81,18 @@ /** | ||
descriptor?: IdentityDescriptor; | ||
/** | ||
* Identity Identifier. Also called Storage Key, or VSID | ||
*/ | ||
id?: string; | ||
/** | ||
* True if the identity has a membership in any Azure Devops group in the organization. | ||
*/ | ||
isActive?: boolean; | ||
/** | ||
* True if the identity is a group. | ||
*/ | ||
isContainer?: boolean; | ||
masterId?: string; | ||
/** | ||
* Id of the members of the identity (groups only). | ||
*/ | ||
memberIds?: string[]; | ||
@@ -97,2 +109,5 @@ memberOf?: IdentityDescriptor[]; | ||
socialDescriptor?: string; | ||
/** | ||
* Subject descriptor of a Graph entity. | ||
*/ | ||
subjectDescriptor?: string; | ||
@@ -99,0 +114,0 @@ uniqueUserId?: number; |
@@ -43,2 +43,7 @@ /* | ||
})(AuditAction = exports.AuditAction || (exports.AuditAction = {})); | ||
var DemandSourceType; | ||
(function (DemandSourceType) { | ||
DemandSourceType[DemandSourceType["Task"] = 0] = "Task"; | ||
DemandSourceType[DemandSourceType["Feature"] = 1] = "Feature"; | ||
})(DemandSourceType = exports.DemandSourceType || (exports.DemandSourceType = {})); | ||
/** | ||
@@ -126,2 +131,44 @@ * This is useful in getting a list of deployment groups, filtered for which caller has permissions to take a particular action. | ||
})(DeploymentTargetExpands = exports.DeploymentTargetExpands || (exports.DeploymentTargetExpands = {})); | ||
var ElasticAgentState; | ||
(function (ElasticAgentState) { | ||
ElasticAgentState[ElasticAgentState["None"] = 0] = "None"; | ||
ElasticAgentState[ElasticAgentState["Enabled"] = 1] = "Enabled"; | ||
ElasticAgentState[ElasticAgentState["Online"] = 2] = "Online"; | ||
ElasticAgentState[ElasticAgentState["Assigned"] = 4] = "Assigned"; | ||
})(ElasticAgentState = exports.ElasticAgentState || (exports.ElasticAgentState = {})); | ||
var ElasticComputeState; | ||
(function (ElasticComputeState) { | ||
ElasticComputeState[ElasticComputeState["None"] = 0] = "None"; | ||
ElasticComputeState[ElasticComputeState["Healthy"] = 1] = "Healthy"; | ||
ElasticComputeState[ElasticComputeState["Creating"] = 2] = "Creating"; | ||
ElasticComputeState[ElasticComputeState["Deleting"] = 3] = "Deleting"; | ||
ElasticComputeState[ElasticComputeState["Failed"] = 4] = "Failed"; | ||
ElasticComputeState[ElasticComputeState["Stopped"] = 5] = "Stopped"; | ||
})(ElasticComputeState = exports.ElasticComputeState || (exports.ElasticComputeState = {})); | ||
var ElasticNodeState; | ||
(function (ElasticNodeState) { | ||
ElasticNodeState[ElasticNodeState["None"] = 0] = "None"; | ||
ElasticNodeState[ElasticNodeState["New"] = 1] = "New"; | ||
ElasticNodeState[ElasticNodeState["CreatingCompute"] = 2] = "CreatingCompute"; | ||
ElasticNodeState[ElasticNodeState["StartingAgent"] = 3] = "StartingAgent"; | ||
ElasticNodeState[ElasticNodeState["Idle"] = 4] = "Idle"; | ||
ElasticNodeState[ElasticNodeState["Assigned"] = 5] = "Assigned"; | ||
ElasticNodeState[ElasticNodeState["Offline"] = 6] = "Offline"; | ||
ElasticNodeState[ElasticNodeState["PendingReimage"] = 7] = "PendingReimage"; | ||
ElasticNodeState[ElasticNodeState["PendingDelete"] = 8] = "PendingDelete"; | ||
ElasticNodeState[ElasticNodeState["Saved"] = 9] = "Saved"; | ||
ElasticNodeState[ElasticNodeState["DeletingCompute"] = 10] = "DeletingCompute"; | ||
ElasticNodeState[ElasticNodeState["Deleted"] = 11] = "Deleted"; | ||
ElasticNodeState[ElasticNodeState["Lost"] = 12] = "Lost"; | ||
})(ElasticNodeState = exports.ElasticNodeState || (exports.ElasticNodeState = {})); | ||
var ElasticPoolState; | ||
(function (ElasticPoolState) { | ||
/** | ||
* Online and healthy | ||
*/ | ||
ElasticPoolState[ElasticPoolState["Online"] = 0] = "Online"; | ||
ElasticPoolState[ElasticPoolState["Offline"] = 1] = "Offline"; | ||
ElasticPoolState[ElasticPoolState["Unhealthy"] = 2] = "Unhealthy"; | ||
ElasticPoolState[ElasticPoolState["New"] = 3] = "New"; | ||
})(ElasticPoolState = exports.ElasticPoolState || (exports.ElasticPoolState = {})); | ||
/** | ||
@@ -183,2 +230,8 @@ * This is useful in getting a list of Environments, filtered for which caller has permissions to take a particular action. | ||
})(IssueType = exports.IssueType || (exports.IssueType = {})); | ||
var LogLevel; | ||
(function (LogLevel) { | ||
LogLevel[LogLevel["Error"] = 0] = "Error"; | ||
LogLevel[LogLevel["Warning"] = 1] = "Warning"; | ||
LogLevel[LogLevel["Info"] = 2] = "Info"; | ||
})(LogLevel = exports.LogLevel || (exports.LogLevel = {})); | ||
var MachineGroupActionFilter; | ||
@@ -195,2 +248,15 @@ (function (MachineGroupActionFilter) { | ||
})(MaskType = exports.MaskType || (exports.MaskType = {})); | ||
var OperatingSystemType; | ||
(function (OperatingSystemType) { | ||
OperatingSystemType[OperatingSystemType["Windows"] = 0] = "Windows"; | ||
OperatingSystemType[OperatingSystemType["Linux"] = 1] = "Linux"; | ||
})(OperatingSystemType = exports.OperatingSystemType || (exports.OperatingSystemType = {})); | ||
var OperationType; | ||
(function (OperationType) { | ||
OperationType[OperationType["ConfigurationJob"] = 0] = "ConfigurationJob"; | ||
OperationType[OperationType["SizingJob"] = 1] = "SizingJob"; | ||
OperationType[OperationType["IncreaseCapacity"] = 2] = "IncreaseCapacity"; | ||
OperationType[OperationType["Reimage"] = 3] = "Reimage"; | ||
OperationType[OperationType["DeleteVMs"] = 4] = "DeleteVMs"; | ||
})(OperationType = exports.OperationType || (exports.OperationType = {})); | ||
var PlanGroupStatus; | ||
@@ -208,2 +274,11 @@ (function (PlanGroupStatus) { | ||
})(PlanGroupStatusFilter = exports.PlanGroupStatusFilter || (exports.PlanGroupStatusFilter = {})); | ||
var ResourceLockStatus; | ||
(function (ResourceLockStatus) { | ||
ResourceLockStatus[ResourceLockStatus["Queued"] = 0] = "Queued"; | ||
ResourceLockStatus[ResourceLockStatus["InUse"] = 1] = "InUse"; | ||
ResourceLockStatus[ResourceLockStatus["Finished"] = 2] = "Finished"; | ||
ResourceLockStatus[ResourceLockStatus["TimedOut"] = 3] = "TimedOut"; | ||
ResourceLockStatus[ResourceLockStatus["Canceled"] = 4] = "Canceled"; | ||
ResourceLockStatus[ResourceLockStatus["Abandoned"] = 5] = "Abandoned"; | ||
})(ResourceLockStatus = exports.ResourceLockStatus || (exports.ResourceLockStatus = {})); | ||
var SecureFileActionFilter; | ||
@@ -304,2 +379,21 @@ (function (SecureFileActionFilter) { | ||
/** | ||
* Additional settings and descriptors for a TaskAgentPool | ||
*/ | ||
var TaskAgentPoolOptions; | ||
(function (TaskAgentPoolOptions) { | ||
TaskAgentPoolOptions[TaskAgentPoolOptions["None"] = 0] = "None"; | ||
/** | ||
* TaskAgentPool backed by the Elastic pool service | ||
*/ | ||
TaskAgentPoolOptions[TaskAgentPoolOptions["ElasticPool"] = 1] = "ElasticPool"; | ||
/** | ||
* Set to true if agents are re-imaged after each TaskAgentJobRequest | ||
*/ | ||
TaskAgentPoolOptions[TaskAgentPoolOptions["SingleUseAgents"] = 2] = "SingleUseAgents"; | ||
/** | ||
* Set to true if agents are held for investigation after a TaskAgentJobRequest failure | ||
*/ | ||
TaskAgentPoolOptions[TaskAgentPoolOptions["PreserveAgentOnJobFailure"] = 4] = "PreserveAgentOnJobFailure"; | ||
})(TaskAgentPoolOptions = exports.TaskAgentPoolOptions || (exports.TaskAgentPoolOptions = {})); | ||
/** | ||
* The type of agent pool. | ||
@@ -327,2 +421,7 @@ */ | ||
})(TaskAgentQueueActionFilter = exports.TaskAgentQueueActionFilter || (exports.TaskAgentQueueActionFilter = {})); | ||
var TaskAgentRequestUpdateOptions; | ||
(function (TaskAgentRequestUpdateOptions) { | ||
TaskAgentRequestUpdateOptions[TaskAgentRequestUpdateOptions["None"] = 0] = "None"; | ||
TaskAgentRequestUpdateOptions[TaskAgentRequestUpdateOptions["BumpRequestToTop"] = 1] = "BumpRequestToTop"; | ||
})(TaskAgentRequestUpdateOptions = exports.TaskAgentRequestUpdateOptions || (exports.TaskAgentRequestUpdateOptions = {})); | ||
var TaskAgentStatus; | ||
@@ -355,3 +454,9 @@ (function (TaskAgentStatus) { | ||
TaskAgentUpdateReasonType[TaskAgentUpdateReasonType["MinAgentVersionRequired"] = 2] = "MinAgentVersionRequired"; | ||
TaskAgentUpdateReasonType[TaskAgentUpdateReasonType["Downgrade"] = 3] = "Downgrade"; | ||
})(TaskAgentUpdateReasonType = exports.TaskAgentUpdateReasonType || (exports.TaskAgentUpdateReasonType = {})); | ||
var TaskCommandMode; | ||
(function (TaskCommandMode) { | ||
TaskCommandMode[TaskCommandMode["Any"] = 0] = "Any"; | ||
TaskCommandMode[TaskCommandMode["Restricted"] = 1] = "Restricted"; | ||
})(TaskCommandMode = exports.TaskCommandMode || (exports.TaskCommandMode = {})); | ||
var TaskDefinitionStatus; | ||
@@ -460,2 +565,10 @@ (function (TaskDefinitionStatus) { | ||
AzureKeyVaultVariableValue: {}, | ||
DemandMinimumVersion: {}, | ||
DemandSource: {}, | ||
DemandSourceType: { | ||
enumValues: { | ||
"task": 0, | ||
"feature": 1 | ||
} | ||
}, | ||
DeploymentGroup: {}, | ||
@@ -506,2 +619,51 @@ DeploymentGroupActionFilter: { | ||
}, | ||
ElasticAgentState: { | ||
enumValues: { | ||
"none": 0, | ||
"enabled": 1, | ||
"online": 2, | ||
"assigned": 4 | ||
} | ||
}, | ||
ElasticComputeState: { | ||
enumValues: { | ||
"none": 0, | ||
"healthy": 1, | ||
"creating": 2, | ||
"deleting": 3, | ||
"failed": 4, | ||
"stopped": 5 | ||
} | ||
}, | ||
ElasticNode: {}, | ||
ElasticNodeSettings: {}, | ||
ElasticNodeState: { | ||
enumValues: { | ||
"none": 0, | ||
"new": 1, | ||
"creatingCompute": 2, | ||
"startingAgent": 3, | ||
"idle": 4, | ||
"assigned": 5, | ||
"offline": 6, | ||
"pendingReimage": 7, | ||
"pendingDelete": 8, | ||
"saved": 9, | ||
"deletingCompute": 10, | ||
"deleted": 11, | ||
"lost": 12 | ||
} | ||
}, | ||
ElasticPool: {}, | ||
ElasticPoolCreationResult: {}, | ||
ElasticPoolLog: {}, | ||
ElasticPoolSettings: {}, | ||
ElasticPoolState: { | ||
enumValues: { | ||
"online": 0, | ||
"offline": 1, | ||
"unhealthy": 2, | ||
"new": 3 | ||
} | ||
}, | ||
EnvironmentActionFilter: { | ||
@@ -545,2 +707,9 @@ enumValues: { | ||
KubernetesResource: {}, | ||
LogLevel: { | ||
enumValues: { | ||
"error": 0, | ||
"warning": 1, | ||
"info": 2 | ||
} | ||
}, | ||
MachineGroupActionFilter: { | ||
@@ -560,2 +729,17 @@ enumValues: { | ||
}, | ||
OperatingSystemType: { | ||
enumValues: { | ||
"windows": 0, | ||
"linux": 1 | ||
} | ||
}, | ||
OperationType: { | ||
enumValues: { | ||
"configurationJob": 0, | ||
"sizingJob": 1, | ||
"increaseCapacity": 2, | ||
"reimage": 3, | ||
"deleteVMs": 4 | ||
} | ||
}, | ||
PackageMetadata: {}, | ||
@@ -577,2 +761,13 @@ PlanEnvironment: {}, | ||
}, | ||
ResourceLockRequest: {}, | ||
ResourceLockStatus: { | ||
enumValues: { | ||
"queued": 0, | ||
"inUse": 1, | ||
"finished": 2, | ||
"timedOut": 3, | ||
"canceled": 4, | ||
"abandoned": 5 | ||
} | ||
}, | ||
ResourceUsage: {}, | ||
@@ -598,3 +793,3 @@ SecureFile: {}, | ||
TaskAgentCloudType: {}, | ||
TaskAgentDelaySource: {}, | ||
TaskAgentDowngrade: {}, | ||
TaskAgentJob: {}, | ||
@@ -659,2 +854,10 @@ TaskAgentJobRequest: {}, | ||
}, | ||
TaskAgentPoolOptions: { | ||
enumValues: { | ||
"none": 0, | ||
"elasticPool": 1, | ||
"singleUseAgents": 2, | ||
"preserveAgentOnJobFailure": 4 | ||
} | ||
}, | ||
TaskAgentPoolReference: {}, | ||
@@ -678,2 +881,8 @@ TaskAgentPoolStatus: {}, | ||
TaskAgentReference: {}, | ||
TaskAgentRequestUpdateOptions: { | ||
enumValues: { | ||
"none": 0, | ||
"bumpRequestToTop": 1 | ||
} | ||
}, | ||
TaskAgentSession: {}, | ||
@@ -698,7 +907,16 @@ TaskAgentStatus: { | ||
"manual": 1, | ||
"minAgentVersionRequired": 2 | ||
"minAgentVersionRequired": 2, | ||
"downgrade": 3 | ||
} | ||
}, | ||
TaskAttachment: {}, | ||
TaskCommandMode: { | ||
enumValues: { | ||
"any": 0, | ||
"restricted": 1 | ||
} | ||
}, | ||
TaskCommandRestrictions: {}, | ||
TaskCompletedEvent: {}, | ||
TaskDefinition: {}, | ||
TaskDefinitionStatus: { | ||
@@ -754,2 +972,3 @@ enumValues: { | ||
TaskOrchestrationQueuedPlanGroup: {}, | ||
TaskRestrictions: {}, | ||
TaskResult: { | ||
@@ -838,2 +1057,12 @@ enumValues: { | ||
}; | ||
exports.TypeInfo.DemandMinimumVersion.fields = { | ||
source: { | ||
typeInfo: exports.TypeInfo.DemandSource | ||
} | ||
}; | ||
exports.TypeInfo.DemandSource.fields = { | ||
sourceType: { | ||
enumType: exports.TypeInfo.DemandSourceType | ||
} | ||
}; | ||
exports.TypeInfo.DeploymentGroup.fields = { | ||
@@ -903,2 +1132,62 @@ machines: { | ||
}; | ||
exports.TypeInfo.ElasticNode.fields = { | ||
agentState: { | ||
enumType: exports.TypeInfo.ElasticAgentState | ||
}, | ||
computeState: { | ||
enumType: exports.TypeInfo.ElasticComputeState | ||
}, | ||
desiredState: { | ||
enumType: exports.TypeInfo.ElasticNodeState | ||
}, | ||
state: { | ||
enumType: exports.TypeInfo.ElasticNodeState | ||
}, | ||
stateChangedOn: { | ||
isDate: true, | ||
} | ||
}; | ||
exports.TypeInfo.ElasticNodeSettings.fields = { | ||
state: { | ||
enumType: exports.TypeInfo.ElasticNodeState | ||
} | ||
}; | ||
exports.TypeInfo.ElasticPool.fields = { | ||
offlineSince: { | ||
isDate: true, | ||
}, | ||
osType: { | ||
enumType: exports.TypeInfo.OperatingSystemType | ||
}, | ||
state: { | ||
enumType: exports.TypeInfo.ElasticPoolState | ||
} | ||
}; | ||
exports.TypeInfo.ElasticPoolCreationResult.fields = { | ||
agentPool: { | ||
typeInfo: exports.TypeInfo.TaskAgentPool | ||
}, | ||
agentQueue: { | ||
typeInfo: exports.TypeInfo.TaskAgentQueue | ||
}, | ||
elasticPool: { | ||
typeInfo: exports.TypeInfo.ElasticPool | ||
} | ||
}; | ||
exports.TypeInfo.ElasticPoolLog.fields = { | ||
level: { | ||
enumType: exports.TypeInfo.LogLevel | ||
}, | ||
operation: { | ||
enumType: exports.TypeInfo.OperationType | ||
}, | ||
timestamp: { | ||
isDate: true, | ||
} | ||
}; | ||
exports.TypeInfo.ElasticPoolSettings.fields = { | ||
osType: { | ||
enumType: exports.TypeInfo.OperatingSystemType | ||
} | ||
}; | ||
exports.TypeInfo.EnvironmentDeploymentExecutionRecord.fields = { | ||
@@ -1014,2 +1303,16 @@ finishTime: { | ||
}; | ||
exports.TypeInfo.ResourceLockRequest.fields = { | ||
assignTime: { | ||
isDate: true, | ||
}, | ||
finishTime: { | ||
isDate: true, | ||
}, | ||
queueTime: { | ||
isDate: true, | ||
}, | ||
status: { | ||
enumType: exports.TypeInfo.ResourceLockStatus | ||
} | ||
}; | ||
exports.TypeInfo.ResourceUsage.fields = { | ||
@@ -1038,2 +1341,5 @@ runningRequests: { | ||
typeInfo: exports.TypeInfo.JobEnvironment | ||
}, | ||
taskDefinition: { | ||
typeInfo: exports.TypeInfo.TaskDefinition | ||
} | ||
@@ -1128,5 +1434,5 @@ }; | ||
}; | ||
exports.TypeInfo.TaskAgentDelaySource.fields = { | ||
taskAgent: { | ||
typeInfo: exports.TypeInfo.TaskAgentReference | ||
exports.TypeInfo.TaskAgentDowngrade.fields = { | ||
code: { | ||
enumType: exports.TypeInfo.TaskAgentUpdateReasonType | ||
} | ||
@@ -1141,6 +1447,2 @@ }; | ||
exports.TypeInfo.TaskAgentJobRequest.fields = { | ||
agentDelays: { | ||
isArray: true, | ||
typeInfo: exports.TypeInfo.TaskAgentDelaySource | ||
}, | ||
assignTime: { | ||
@@ -1191,2 +1493,5 @@ isDate: true, | ||
}, | ||
options: { | ||
enumType: exports.TypeInfo.TaskAgentPoolOptions | ||
}, | ||
poolType: { | ||
@@ -1245,2 +1550,5 @@ enumType: exports.TypeInfo.TaskAgentPoolType | ||
exports.TypeInfo.TaskAgentPoolReference.fields = { | ||
options: { | ||
enumType: exports.TypeInfo.TaskAgentPoolOptions | ||
}, | ||
poolType: { | ||
@@ -1251,2 +1559,5 @@ enumType: exports.TypeInfo.TaskAgentPoolType | ||
exports.TypeInfo.TaskAgentPoolStatus.fields = { | ||
options: { | ||
enumType: exports.TypeInfo.TaskAgentPoolOptions | ||
}, | ||
poolType: { | ||
@@ -1305,2 +1616,7 @@ enumType: exports.TypeInfo.TaskAgentPoolType | ||
}; | ||
exports.TypeInfo.TaskCommandRestrictions.fields = { | ||
mode: { | ||
enumType: exports.TypeInfo.TaskCommandMode | ||
} | ||
}; | ||
exports.TypeInfo.TaskCompletedEvent.fields = { | ||
@@ -1311,2 +1627,7 @@ result: { | ||
}; | ||
exports.TypeInfo.TaskDefinition.fields = { | ||
restrictions: { | ||
typeInfo: exports.TypeInfo.TaskRestrictions | ||
} | ||
}; | ||
exports.TypeInfo.TaskGroup.fields = { | ||
@@ -1318,2 +1639,5 @@ createdOn: { | ||
isDate: true, | ||
}, | ||
restrictions: { | ||
typeInfo: exports.TypeInfo.TaskRestrictions | ||
} | ||
@@ -1404,2 +1728,7 @@ }; | ||
}; | ||
exports.TypeInfo.TaskRestrictions.fields = { | ||
commands: { | ||
typeInfo: exports.TypeInfo.TaskCommandRestrictions | ||
} | ||
}; | ||
exports.TypeInfo.Timeline.fields = { | ||
@@ -1406,0 +1735,0 @@ lastChangedOn: { |
@@ -58,4 +58,8 @@ import TfsCoreInterfaces = require("../interfaces/CoreInterfaces"); | ||
/** | ||
* True if the repository was created as a fork | ||
* True if the repository is disabled. False otherwise. | ||
*/ | ||
isDisabled?: boolean; | ||
/** | ||
* True if the repository was created as a fork. | ||
*/ | ||
isFork?: boolean; | ||
@@ -62,0 +66,0 @@ name?: string; |
@@ -319,2 +319,6 @@ import SystemInterfaces = require("../interfaces/common/System"); | ||
/** | ||
* Flag indicating whether to show child rollup on cards | ||
*/ | ||
showChildRollup?: boolean; | ||
/** | ||
* Flag indicating whether to show empty fields on cards | ||
@@ -328,2 +332,6 @@ */ | ||
/** | ||
* Flag indicating whether to show show parent field on cards | ||
*/ | ||
showParent?: boolean; | ||
/** | ||
* Flag indicating whether to show state field on cards | ||
@@ -410,6 +418,10 @@ */ | ||
/** | ||
* Max number of teams can be configured for a delivery plan. | ||
* Max number of teams that can be configured for a delivery plan | ||
*/ | ||
maxExpandedTeams?: number; | ||
/** | ||
* Mapping between parent id, title and all the child work item ids | ||
*/ | ||
parentItemMaps?: ParentChildWIMap[]; | ||
/** | ||
* The start date for the delivery view data | ||
@@ -422,2 +434,6 @@ */ | ||
teams?: TimelineTeamData[]; | ||
/** | ||
* List of all work item ids that have a violation | ||
*/ | ||
workItemViolations?: number[]; | ||
} | ||
@@ -441,2 +457,6 @@ /** | ||
/** | ||
* Card style settings | ||
*/ | ||
styleSettings?: Rule[]; | ||
/** | ||
* Team backlog mappings | ||
@@ -525,2 +545,10 @@ */ | ||
/** | ||
* Capacity and teams for all teams in an iteration | ||
*/ | ||
export interface IterationCapacity { | ||
teams?: TeamCapacityTotals[]; | ||
totalIterationCapacityPerDay?: number; | ||
totalIterationDaysOff?: number; | ||
} | ||
/** | ||
* Represents work items in an iteration backlog | ||
@@ -562,2 +590,3 @@ */ | ||
title?: string; | ||
workItemTypeName?: string; | ||
} | ||
@@ -860,2 +889,18 @@ /** | ||
/** | ||
* Represents team member capacity with totals aggregated | ||
*/ | ||
export interface TeamCapacity { | ||
teamMembers?: TeamMemberCapacityIdentityRef[]; | ||
totalCapacityPerDay?: number; | ||
totalDaysOff?: number; | ||
} | ||
/** | ||
* Team information with total capacity and days off | ||
*/ | ||
export interface TeamCapacityTotals { | ||
teamCapacityPerDay?: number; | ||
teamId?: string; | ||
teamTotalDaysOff?: number; | ||
} | ||
/** | ||
* Represents a single TeamFieldValue | ||
@@ -1077,2 +1122,3 @@ */ | ||
partiallyPagedFieldReferenceNames?: string[]; | ||
partiallyPagedWorkItems?: any[][]; | ||
/** | ||
@@ -1083,2 +1129,6 @@ * The project id the team belongs team | ||
/** | ||
* Work item types for which we will collect roll up data on the client side | ||
*/ | ||
rollupWorkItemTypes?: string[]; | ||
/** | ||
* Status for this team. | ||
@@ -1100,2 +1150,6 @@ */ | ||
/** | ||
* Work items associated with the team that are not under any of the team's iterations | ||
*/ | ||
workItems?: any[][]; | ||
/** | ||
* Colors for the work item types. | ||
@@ -1314,2 +1368,3 @@ */ | ||
}; | ||
TeamCapacity: any; | ||
TeamIterationAttributes: any; | ||
@@ -1316,0 +1371,0 @@ TeamMemberCapacity: any; |
@@ -270,2 +270,3 @@ /* | ||
}, | ||
TeamCapacity: {}, | ||
TeamIterationAttributes: {}, | ||
@@ -447,2 +448,8 @@ TeamMemberCapacity: {}, | ||
}; | ||
exports.TypeInfo.TeamCapacity.fields = { | ||
teamMembers: { | ||
isArray: true, | ||
typeInfo: exports.TypeInfo.TeamMemberCapacityIdentityRef | ||
} | ||
}; | ||
exports.TypeInfo.TeamIterationAttributes.fields = { | ||
@@ -449,0 +456,0 @@ finishDate: { |
@@ -372,2 +372,16 @@ import VSSInterfaces = require("../interfaces/common/VSSInterfaces"); | ||
} | ||
export interface EmailRecipients { | ||
/** | ||
* Plaintext email addresses. | ||
*/ | ||
emailAddresses?: string[]; | ||
/** | ||
* TfIds | ||
*/ | ||
tfIds?: string[]; | ||
/** | ||
* Unresolved entity ids | ||
*/ | ||
unresolvedEntityIds?: string[]; | ||
} | ||
export interface ExternalDeployment { | ||
@@ -571,2 +585,32 @@ artifactId?: string; | ||
} | ||
export interface MailMessage { | ||
/** | ||
* The mail body in HTML format. | ||
*/ | ||
body?: string; | ||
/** | ||
* CC recipients. | ||
*/ | ||
cC?: EmailRecipients; | ||
/** | ||
* The in-reply-to header value | ||
*/ | ||
inReplyTo?: string; | ||
/** | ||
* The Message Id value | ||
*/ | ||
messageId?: string; | ||
/** | ||
* Reply To recipients. | ||
*/ | ||
replyTo?: EmailRecipients; | ||
/** | ||
* The mail subject. | ||
*/ | ||
subject?: string; | ||
/** | ||
* To recipients | ||
*/ | ||
to?: EmailRecipients; | ||
} | ||
/** | ||
@@ -885,2 +929,12 @@ * Stores process ID. | ||
} | ||
export interface SendMailBody { | ||
fields?: string[]; | ||
ids?: number[]; | ||
message?: MailMessage; | ||
persistenceId?: string; | ||
projectId?: string; | ||
sortFields?: string[]; | ||
tempQueryId?: string; | ||
wiql?: string; | ||
} | ||
/** | ||
@@ -887,0 +941,0 @@ * The class describes reporting work item revision batch. |
@@ -468,2 +468,3 @@ export interface BehaviorCreateModel { | ||
isDefault?: boolean; | ||
isLegacyDefault?: boolean; | ||
url?: string; | ||
@@ -491,3 +492,3 @@ } | ||
/** | ||
* New version of WorkItemTypeFieldModel supporting defaultValue as object (such as IdentityRef) | ||
* New version of WorkItemTypeFieldModel supporting defaultValue as object (such as IdentityRef) and description | ||
*/ | ||
@@ -497,2 +498,3 @@ export interface WorkItemTypeFieldModel2 { | ||
defaultValue?: any; | ||
description?: string; | ||
name?: string; | ||
@@ -499,0 +501,0 @@ pickList?: PickListMetadataModel; |
@@ -921,3 +921,7 @@ /** | ||
*/ | ||
HideTargetField = 14 | ||
HideTargetField = 14, | ||
/** | ||
* Disallows a field from being set to a specific value. | ||
*/ | ||
DisallowValue = 15 | ||
} | ||
@@ -1192,2 +1196,6 @@ /** | ||
/** | ||
* If true the work item type is the default work item type in the parent behavior | ||
*/ | ||
isLegacyDefault?: boolean; | ||
/** | ||
* URL of the work item type behavior | ||
@@ -1316,2 +1324,3 @@ */ | ||
"hideTargetField": number; | ||
"disallowValue": number; | ||
}; | ||
@@ -1318,0 +1327,0 @@ }; |
@@ -253,2 +253,6 @@ /* | ||
RuleActionType[RuleActionType["HideTargetField"] = 14] = "HideTargetField"; | ||
/** | ||
* Disallows a field from being set to a specific value. | ||
*/ | ||
RuleActionType[RuleActionType["DisallowValue"] = 15] = "DisallowValue"; | ||
})(RuleActionType = exports.RuleActionType || (exports.RuleActionType = {})); | ||
@@ -387,3 +391,4 @@ /** | ||
"copyFromServerCurrentUser": 13, | ||
"hideTargetField": 14 | ||
"hideTargetField": 14, | ||
"disallowValue": 15 | ||
} | ||
@@ -390,0 +395,0 @@ }, |
@@ -43,3 +43,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "00d9565f-ed9c-4a06-9a50-00e7896ccab4", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "00d9565f-ed9c-4a06-9a50-00e7896ccab4", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -74,3 +74,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -106,3 +106,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -134,3 +134,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -163,3 +163,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "e81700f7-3be2-46de-8624-2eb35882fcaa", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -190,3 +190,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -225,3 +225,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -250,3 +250,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -273,3 +273,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "Location", "d810a47d-f4f4-4a62-a03f-fa1860585c4c", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -276,0 +276,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -35,3 +35,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "8f3c6ab2-5bae-4537-b16e-f84e0955599e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "8f3c6ab2-5bae-4537-b16e-f84e0955599e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -70,3 +70,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "991842f3-eb16-4aea-ac81-81353ef2b75c", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "991842f3-eb16-4aea-ac81-81353ef2b75c", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -97,3 +97,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "20f1929d-4be7-4c2e-a74e-d47640ff3418", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "20f1929d-4be7-4c2e-a74e-d47640ff3418", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -125,3 +125,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "20f1929d-4be7-4c2e-a74e-d47640ff3418", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "20f1929d-4be7-4c2e-a74e-d47640ff3418", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -150,3 +150,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "14c57b7a-c0e6-4555-9f51-e067188fdd8e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "14c57b7a-c0e6-4555-9f51-e067188fdd8e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -175,3 +175,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "9463a800-1b44-450e-9083-f948ea174b45", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "9463a800-1b44-450e-9083-f948ea174b45", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -201,3 +201,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "b5bbdd21-c178-4398-b6db-0166d910028a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "b5bbdd21-c178-4398-b6db-0166d910028a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -228,3 +228,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -256,3 +256,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -281,3 +281,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "19824fa9-1c76-40e6-9cce-cf0b9ca1cb60", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "19824fa9-1c76-40e6-9cce-cf0b9ca1cb60", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -307,3 +307,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "19824fa9-1c76-40e6-9cce-cf0b9ca1cb60", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "19824fa9-1c76-40e6-9cce-cf0b9ca1cb60", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -329,3 +329,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "cbe076d8-2803-45ff-8d8d-44653686ea2a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "cbe076d8-2803-45ff-8d8d-44653686ea2a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -352,3 +352,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "cbe076d8-2803-45ff-8d8d-44653686ea2a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "cbe076d8-2803-45ff-8d8d-44653686ea2a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -379,3 +379,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "4d5caff1-25ba-430b-b808-7a1f352cc197", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "4d5caff1-25ba-430b-b808-7a1f352cc197", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -407,3 +407,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "4d5caff1-25ba-430b-b808-7a1f352cc197", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "4d5caff1-25ba-430b-b808-7a1f352cc197", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -432,3 +432,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "6864db85-08c0-4006-8e8e-cc1bebe31675", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "6864db85-08c0-4006-8e8e-cc1bebe31675", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -457,3 +457,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -484,3 +484,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -515,3 +515,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -547,3 +547,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -575,3 +575,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "70f911d6-abac-488c-85b3-a206bf57e165", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -599,3 +599,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "fa5d24ba-7484-4f3d-888d-4ec6b1974082", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "fa5d24ba-7484-4f3d-888d-4ec6b1974082", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -629,3 +629,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "notification", "ed5a3dff-aeb5-41b1-b4f7-89e66e58b62e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "notification", "ed5a3dff-aeb5-41b1-b4f7-89e66e58b62e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -632,0 +632,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
{ | ||
"name": "azure-devops-node-api", | ||
"description": "Node client for Azure DevOps and TFS REST APIs", | ||
"version": "10.2.2", | ||
"version": "11.0.0", | ||
"main": "./WebApi.js", | ||
@@ -6,0 +6,0 @@ "types": "./WebApi.d.ts", |
@@ -41,3 +41,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -70,3 +70,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -99,3 +99,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -132,3 +132,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -162,3 +162,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "dad91cbe-d183-45f8-9c6e-9c1164472121", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -191,3 +191,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "46aecb7a-5d2c-4647-897b-0209505a9fe4", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "46aecb7a-5d2c-4647-897b-0209505a9fe4", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -220,3 +220,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "46aecb7a-5d2c-4647-897b-0209505a9fe4", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "46aecb7a-5d2c-4647-897b-0209505a9fe4", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -260,3 +260,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "c23ddff5-229c-4d04-a80b-0fdce9f360c8", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "c23ddff5-229c-4d04-a80b-0fdce9f360c8", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -291,3 +291,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "fe1e68a2-60d3-43cb-855b-85e41ae97c95", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "fe1e68a2-60d3-43cb-855b-85e41ae97c95", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -326,3 +326,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "fe1e68a2-60d3-43cb-855b-85e41ae97c95", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "fe1e68a2-60d3-43cb-855b-85e41ae97c95", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -355,3 +355,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "44096322-2d3d-466a-bb30-d1b7de69f61f", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "44096322-2d3d-466a-bb30-d1b7de69f61f", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -382,3 +382,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "policy", "44096322-2d3d-466a-bb30-d1b7de69f61f", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "policy", "44096322-2d3d-466a-bb30-d1b7de69f61f", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -385,0 +385,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -36,3 +36,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "projectanalysis", "5b02a779-1867-433f-90b7-d23ed5e33e57", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "projectanalysis", "5b02a779-1867-433f-90b7-d23ed5e33e57", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -73,3 +73,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "projectanalysis", "e40ae584-9ea6-4f06-a7c7-6284651b466b", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "projectanalysis", "e40ae584-9ea6-4f06-a7c7-6284651b466b", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -122,3 +122,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "projectanalysis", "df7fbbca-630a-40e3-8aa3-7a3faf66947e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "projectanalysis", "df7fbbca-630a-40e3-8aa3-7a3faf66947e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -161,3 +161,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "projectanalysis", "df7fbbca-630a-40e3-8aa3-7a3faf66947e", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "projectanalysis", "df7fbbca-630a-40e3-8aa3-7a3faf66947e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -164,0 +164,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -30,3 +30,3 @@ /// <reference types="node" /> | ||
getDeploymentsForMultipleEnvironments(queryParameters: ReleaseInterfaces.DeploymentQueryParameters, project: string): Promise<ReleaseInterfaces.Deployment[]>; | ||
getReleaseEnvironment(project: string, releaseId: number, environmentId: number): Promise<ReleaseInterfaces.ReleaseEnvironment>; | ||
getReleaseEnvironment(project: string, releaseId: number, environmentId: number, expand?: ReleaseInterfaces.ReleaseEnvironmentExpands): Promise<ReleaseInterfaces.ReleaseEnvironment>; | ||
updateReleaseEnvironment(environmentUpdateData: ReleaseInterfaces.ReleaseEnvironmentUpdateMetadata, project: string, releaseId: number, environmentId: number): Promise<ReleaseInterfaces.ReleaseEnvironment>; | ||
@@ -59,2 +59,6 @@ createDefinitionEnvironmentTemplate(template: ReleaseInterfaces.ReleaseDefinitionEnvironmentTemplate, project: string): Promise<ReleaseInterfaces.ReleaseDefinitionEnvironmentTemplate>; | ||
getMetrics(project: string, minMetricsTime?: Date): Promise<ReleaseInterfaces.Metric[]>; | ||
getOrgPipelineReleaseSettings(): Promise<ReleaseInterfaces.OrgPipelineReleaseSettings>; | ||
updateOrgPipelineReleaseSettings(newSettings: ReleaseInterfaces.OrgPipelineReleaseSettingsUpdateParameters): Promise<ReleaseInterfaces.OrgPipelineReleaseSettings>; | ||
getPipelineReleaseSettings(project: string): Promise<ReleaseInterfaces.ProjectPipelineReleaseSettings>; | ||
updatePipelineReleaseSettings(newSettings: ReleaseInterfaces.ProjectPipelineReleaseSettingsUpdateParameters, project: string): Promise<ReleaseInterfaces.ProjectPipelineReleaseSettings>; | ||
getReleaseProjects(artifactType: string, artifactSourceId: string): Promise<ReleaseInterfaces.ProjectReference[]>; | ||
@@ -322,4 +326,5 @@ getReleases(project?: string, definitionId?: number, definitionEnvironmentId?: number, searchText?: string, createdBy?: string, statusFilter?: ReleaseInterfaces.ReleaseStatus, environmentStatusFilter?: number, minCreatedTime?: Date, maxCreatedTime?: Date, queryOrder?: ReleaseInterfaces.ReleaseQueryOrder, top?: number, continuationToken?: number, expand?: ReleaseInterfaces.ReleaseExpands, artifactTypeId?: string, sourceId?: string, artifactVersionId?: string, sourceBranchFilter?: string, isDeleted?: boolean, tagFilter?: string[], propertyFilters?: string[], releaseIdFilter?: number[], path?: string): Promise<ReleaseInterfaces.Release[]>; | ||
* @param {number} environmentId - Id of the release environment. | ||
* @param {ReleaseInterfaces.ReleaseEnvironmentExpands} expand - A property that should be expanded in the environment. | ||
*/ | ||
getReleaseEnvironment(project: string, releaseId: number, environmentId: number): Promise<ReleaseInterfaces.ReleaseEnvironment>; | ||
getReleaseEnvironment(project: string, releaseId: number, environmentId: number, expand?: ReleaseInterfaces.ReleaseEnvironmentExpands): Promise<ReleaseInterfaces.ReleaseEnvironment>; | ||
/** | ||
@@ -530,2 +535,26 @@ * Update the status of a release environment | ||
/** | ||
* Gets Org pipeline release settings | ||
* | ||
*/ | ||
getOrgPipelineReleaseSettings(): Promise<ReleaseInterfaces.OrgPipelineReleaseSettings>; | ||
/** | ||
* Updates Org pipeline release settings | ||
* | ||
* @param {ReleaseInterfaces.OrgPipelineReleaseSettingsUpdateParameters} newSettings | ||
*/ | ||
updateOrgPipelineReleaseSettings(newSettings: ReleaseInterfaces.OrgPipelineReleaseSettingsUpdateParameters): Promise<ReleaseInterfaces.OrgPipelineReleaseSettings>; | ||
/** | ||
* Gets pipeline release settings | ||
* | ||
* @param {string} project - Project ID or project name | ||
*/ | ||
getPipelineReleaseSettings(project: string): Promise<ReleaseInterfaces.ProjectPipelineReleaseSettings>; | ||
/** | ||
* Updates pipeline release settings | ||
* | ||
* @param {ReleaseInterfaces.ProjectPipelineReleaseSettingsUpdateParameters} newSettings | ||
* @param {string} project - Project ID or project name | ||
*/ | ||
updatePipelineReleaseSettings(newSettings: ReleaseInterfaces.ProjectPipelineReleaseSettingsUpdateParameters, project: string): Promise<ReleaseInterfaces.ProjectPipelineReleaseSettings>; | ||
/** | ||
* @param {string} artifactType | ||
@@ -532,0 +561,0 @@ * @param {string} artifactSourceId |
@@ -9,2 +9,3 @@ /// <reference types="node" /> | ||
createAttachment(customHeaders: any, contentStream: NodeJS.ReadableStream, scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string, name: string): Promise<TaskAgentInterfaces.TaskAttachment>; | ||
createAttachmentFromArtifact(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string, name: string, artifactHash: string, length: number): Promise<TaskAgentInterfaces.TaskAttachment>; | ||
getAttachment(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string, name: string): Promise<TaskAgentInterfaces.TaskAttachment>; | ||
@@ -17,2 +18,3 @@ getAttachmentContent(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string, name: string): Promise<NodeJS.ReadableStream>; | ||
appendLogContent(customHeaders: any, contentStream: NodeJS.ReadableStream, scopeIdentifier: string, hubName: string, planId: string, logId: number): Promise<TaskAgentInterfaces.TaskLog>; | ||
associateLog(scopeIdentifier: string, hubName: string, planId: string, logId: number, serializedBlobId: string, lineCount: number): Promise<TaskAgentInterfaces.TaskLog>; | ||
createLog(log: TaskAgentInterfaces.TaskLog, scopeIdentifier: string, hubName: string, planId: string): Promise<TaskAgentInterfaces.TaskLog>; | ||
@@ -60,3 +62,15 @@ getLog(scopeIdentifier: string, hubName: string, planId: string, logId: number, startLine?: number, endLine?: number): Promise<string[]>; | ||
* @param {string} name | ||
* @param {string} artifactHash | ||
* @param {number} length | ||
*/ | ||
createAttachmentFromArtifact(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string, name: string, artifactHash: string, length: number): Promise<TaskAgentInterfaces.TaskAttachment>; | ||
/** | ||
* @param {string} scopeIdentifier - The project GUID to scope the request | ||
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server | ||
* @param {string} planId | ||
* @param {string} timelineId | ||
* @param {string} recordId | ||
* @param {string} type | ||
* @param {string} name | ||
*/ | ||
getAttachment(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string, name: string): Promise<TaskAgentInterfaces.TaskAttachment>; | ||
@@ -118,2 +132,11 @@ /** | ||
/** | ||
* @param {string} scopeIdentifier - The project GUID to scope the request | ||
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server | ||
* @param {string} planId | ||
* @param {number} logId | ||
* @param {string} serializedBlobId | ||
* @param {number} lineCount | ||
*/ | ||
associateLog(scopeIdentifier: string, hubName: string, planId: string, logId: number, serializedBlobId: string, lineCount: number): Promise<TaskAgentInterfaces.TaskLog>; | ||
/** | ||
* @param {TaskAgentInterfaces.TaskLog} log | ||
@@ -120,0 +143,0 @@ * @param {string} scopeIdentifier - The project GUID to scope the request |
134
TaskApi.js
@@ -42,3 +42,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "eb55e5d6-2f30-4295-b5ed-38da50b1fc52", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "eb55e5d6-2f30-4295-b5ed-38da50b1fc52", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -82,3 +82,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -106,3 +106,51 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
* @param {string} name | ||
* @param {string} artifactHash | ||
* @param {number} length | ||
*/ | ||
createAttachmentFromArtifact(scopeIdentifier, hubName, planId, timelineId, recordId, type, name, artifactHash, length) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (artifactHash == null) { | ||
throw new TypeError('artifactHash can not be null or undefined'); | ||
} | ||
if (length == null) { | ||
throw new TypeError('length can not be null or undefined'); | ||
} | ||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { | ||
let routeValues = { | ||
scopeIdentifier: scopeIdentifier, | ||
hubName: hubName, | ||
planId: planId, | ||
timelineId: timelineId, | ||
recordId: recordId, | ||
type: type, | ||
name: name | ||
}; | ||
let queryValues = { | ||
artifactHash: artifactHash, | ||
length: length, | ||
}; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
let res; | ||
res = yield this.rest.replace(url, null, options); | ||
let ret = this.formatResponse(res.result, TaskAgentInterfaces.TypeInfo.TaskAttachment, false); | ||
resolve(ret); | ||
} | ||
catch (err) { | ||
reject(err); | ||
} | ||
})); | ||
}); | ||
} | ||
/** | ||
* @param {string} scopeIdentifier - The project GUID to scope the request | ||
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server | ||
* @param {string} planId | ||
* @param {string} timelineId | ||
* @param {string} recordId | ||
* @param {string} type | ||
* @param {string} name | ||
*/ | ||
getAttachment(scopeIdentifier, hubName, planId, timelineId, recordId, type, name) { | ||
@@ -121,3 +169,3 @@ return __awaiter(this, void 0, void 0, function* () { | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -158,3 +206,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -191,3 +239,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "7898f959-9cdf-4096-b29e-7f293031629e", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -225,3 +273,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "858983e4-19bd-4c5e-864c-507b59b58b12", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "858983e4-19bd-4c5e-864c-507b59b58b12", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -271,3 +319,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "858983e4-19bd-4c5e-864c-507b59b58b12", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "858983e4-19bd-4c5e-864c-507b59b58b12", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -300,3 +348,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "0a1efd25-abda-43bd-9629-6c7bdd2e0d60", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "0a1efd25-abda-43bd-9629-6c7bdd2e0d60", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -334,3 +382,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -351,2 +399,44 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
/** | ||
* @param {string} scopeIdentifier - The project GUID to scope the request | ||
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server | ||
* @param {string} planId | ||
* @param {number} logId | ||
* @param {string} serializedBlobId | ||
* @param {number} lineCount | ||
*/ | ||
associateLog(scopeIdentifier, hubName, planId, logId, serializedBlobId, lineCount) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (serializedBlobId == null) { | ||
throw new TypeError('serializedBlobId can not be null or undefined'); | ||
} | ||
if (lineCount == null) { | ||
throw new TypeError('lineCount can not be null or undefined'); | ||
} | ||
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { | ||
let routeValues = { | ||
scopeIdentifier: scopeIdentifier, | ||
hubName: hubName, | ||
planId: planId, | ||
logId: logId | ||
}; | ||
let queryValues = { | ||
serializedBlobId: serializedBlobId, | ||
lineCount: lineCount, | ||
}; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
let res; | ||
res = yield this.rest.create(url, null, options); | ||
let ret = this.formatResponse(res.result, TaskAgentInterfaces.TypeInfo.TaskLog, false); | ||
resolve(ret); | ||
} | ||
catch (err) { | ||
reject(err); | ||
} | ||
})); | ||
}); | ||
} | ||
/** | ||
* @param {TaskAgentInterfaces.TaskLog} log | ||
@@ -366,3 +456,3 @@ * @param {string} scopeIdentifier - The project GUID to scope the request | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -403,3 +493,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -432,3 +522,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "46f5667d-263a-4684-91b1-dff7fdcf64e2", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -459,3 +549,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "038fd4d5-cda7-44ca-92c0-935843fee1a7", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "038fd4d5-cda7-44ca-92c0-935843fee1a7", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -492,3 +582,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "0dd73091-3e36-4f43-b443-1b76dd426d84", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "0dd73091-3e36-4f43-b443-1b76dd426d84", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -521,3 +611,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "65fd0708-bc1e-447b-a731-0587c5464e5b", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "65fd0708-bc1e-447b-a731-0587c5464e5b", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -550,3 +640,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "distributedtask", "5cecd946-d704-471e-a45f-3b4064fcfaba", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "distributedtask", "5cecd946-d704-471e-a45f-3b4064fcfaba", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -585,3 +675,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "8893bc5b-35b2-4be7-83cb-99e683551db4", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "8893bc5b-35b2-4be7-83cb-99e683551db4", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -617,3 +707,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "8893bc5b-35b2-4be7-83cb-99e683551db4", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "8893bc5b-35b2-4be7-83cb-99e683551db4", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -647,3 +737,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -678,3 +768,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -715,3 +805,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -744,3 +834,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "distributedtask", "83597576-cc2c-453c-bea6-2882ae6a1653", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -747,0 +837,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -7,3 +7,2 @@ /// <reference types="node" /> | ||
export interface ITestApi extends basem.ClientApiBase { | ||
getActionResults(project: string, runId: number, testCaseResultId: number, iterationId: number, actionPath?: string): Promise<TestInterfaces.TestActionResultModel[]>; | ||
createTestIterationResultAttachment(attachmentRequestModel: TestInterfaces.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number, iterationId: number, actionPath?: string): Promise<TestInterfaces.TestAttachmentReference>; | ||
@@ -34,3 +33,2 @@ createTestResultAttachment(attachmentRequestModel: TestInterfaces.TestAttachmentRequestModel, project: string, runId: number, testCaseResultId: number): Promise<TestInterfaces.TestAttachmentReference>; | ||
getTestRunLogs(project: string, runId: number): Promise<TestInterfaces.TestMessageLogDetails[]>; | ||
getResultParameters(project: string, runId: number, testCaseResultId: number, iterationId: number, paramName?: string): Promise<TestInterfaces.TestResultParameterModel[]>; | ||
getPoint(project: string, planId: number, suiteId: number, pointIds: number, witFields?: string): Promise<TestInterfaces.TestPoint>; | ||
@@ -92,12 +90,2 @@ getPoints(project: string, planId: number, suiteId: number, witFields?: string, configurationId?: string, testCaseId?: string, testPointIds?: string, includePointDetails?: boolean, skip?: number, top?: number): Promise<TestInterfaces.TestPoint[]>; | ||
/** | ||
* Gets the action results for an iteration in a test result. | ||
* | ||
* @param {string} project - Project ID or project name | ||
* @param {number} runId - ID of the test run that contains the result. | ||
* @param {number} testCaseResultId - ID of the test result that contains the iterations. | ||
* @param {number} iterationId - ID of the iteration that contains the actions. | ||
* @param {string} actionPath - Path of a specific action, used to get just that action. | ||
*/ | ||
getActionResults(project: string, runId: number, testCaseResultId: number, iterationId: number, actionPath?: string): Promise<TestInterfaces.TestActionResultModel[]>; | ||
/** | ||
* Attach a file to test step result | ||
@@ -303,12 +291,2 @@ * | ||
/** | ||
* Get a list of parameterized results | ||
* | ||
* @param {string} project - Project ID or project name | ||
* @param {number} runId - ID of the test run that contains the result. | ||
* @param {number} testCaseResultId - ID of the test result that contains the iterations. | ||
* @param {number} iterationId - ID of the iteration that contains the parameterized results. | ||
* @param {string} paramName - Name of the parameter. | ||
*/ | ||
getResultParameters(project: string, runId: number, testCaseResultId: number, iterationId: number, paramName?: string): Promise<TestInterfaces.TestResultParameterModel[]>; | ||
/** | ||
* Get a test point. | ||
@@ -315,0 +293,0 @@ * |
@@ -49,3 +49,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "bc1f417e-239d-42e7-85e1-76e80cb2d6eb", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "bc1f417e-239d-42e7-85e1-76e80cb2d6eb", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -86,3 +86,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "bc1f417e-239d-42e7-85e1-76e80cb2d6eb", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "bc1f417e-239d-42e7-85e1-76e80cb2d6eb", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -124,3 +124,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "bc1f417e-239d-42e7-85e1-76e80cb2d6eb", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "bc1f417e-239d-42e7-85e1-76e80cb2d6eb", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -157,3 +157,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "f32b86f2-15b9-4fe6-81b1-6f8938617ee5", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "f32b86f2-15b9-4fe6-81b1-6f8938617ee5", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -185,3 +185,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "tfvc", "0bc8f0a4-6bfb-42a9-ba84-139da7b99c49", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "tfvc", "0bc8f0a4-6bfb-42a9-ba84-139da7b99c49", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -234,3 +234,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "tfvc", "0bc8f0a4-6bfb-42a9-ba84-139da7b99c49", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "tfvc", "0bc8f0a4-6bfb-42a9-ba84-139da7b99c49", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -273,3 +273,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.3", "tfvc", "0bc8f0a4-6bfb-42a9-ba84-139da7b99c49", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.3", "tfvc", "0bc8f0a4-6bfb-42a9-ba84-139da7b99c49", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -298,3 +298,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "b7e7c173-803c-4fea-9ec8-31ee35c5502a", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "b7e7c173-803c-4fea-9ec8-31ee35c5502a", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -325,3 +325,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "64ae0bea-1d71-47c9-a9e5-fe73f5ea0ff4", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "64ae0bea-1d71-47c9-a9e5-fe73f5ea0ff4", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -353,3 +353,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "fe6f827b-5f64-480f-b8af-1eca3b80e833", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "fe6f827b-5f64-480f-b8af-1eca3b80e833", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -381,3 +381,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "fe6f827b-5f64-480f-b8af-1eca3b80e833", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "fe6f827b-5f64-480f-b8af-1eca3b80e833", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -425,3 +425,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -471,3 +471,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -506,3 +506,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -552,3 +552,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -596,3 +596,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "ba9fc436-9a38-4578-89d6-e4f3241f5040", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -627,3 +627,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "06166e34-de17-4b60-8cd1-23182a346fda", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "06166e34-de17-4b60-8cd1-23182a346fda", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -663,3 +663,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "a5d9bd7f-b661-4d0e-b9be-d9c16affae54", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "a5d9bd7f-b661-4d0e-b9be-d9c16affae54", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -701,3 +701,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "a5d9bd7f-b661-4d0e-b9be-d9c16affae54", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "a5d9bd7f-b661-4d0e-b9be-d9c16affae54", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -736,3 +736,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "dbaf075b-0445-4c34-9e5b-82292f856522", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "dbaf075b-0445-4c34-9e5b-82292f856522", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -769,3 +769,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "e36d44fb-e907-4b0a-b194-f83f1ed32ad3", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "e36d44fb-e907-4b0a-b194-f83f1ed32ad3", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -801,3 +801,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "e36d44fb-e907-4b0a-b194-f83f1ed32ad3", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "e36d44fb-e907-4b0a-b194-f83f1ed32ad3", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -832,3 +832,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "a7a0c1c1-373e-425a-b031-a519474d743d", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "a7a0c1c1-373e-425a-b031-a519474d743d", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -863,3 +863,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "tfvc", "e15c74c0-3605-40e0-aed4-4cc61e549ed8", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "tfvc", "e15c74c0-3605-40e0-aed4-4cc61e549ed8", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -866,0 +866,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -46,3 +46,3 @@ "use strict"; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "5100d976-363d-42e7-a19d-4171ecb44782", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "5100d976-363d-42e7-a19d-4171ecb44782", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -80,3 +80,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "5100d976-363d-42e7-a19d-4171ecb44782", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "5100d976-363d-42e7-a19d-4171ecb44782", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -113,3 +113,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "7a5bc693-aab7-4d48-8f34-36f373022063", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "7a5bc693-aab7-4d48-8f34-36f373022063", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -148,3 +148,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "7a5bc693-aab7-4d48-8f34-36f373022063", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "7a5bc693-aab7-4d48-8f34-36f373022063", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -189,3 +189,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "598a5268-41a7-4162-b7dc-344131e4d1fa", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "598a5268-41a7-4162-b7dc-344131e4d1fa", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -221,3 +221,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -254,3 +254,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -293,3 +293,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -338,3 +338,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -372,3 +372,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "9b394e93-7db5-46cb-9c26-09a36aa5c895", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -411,3 +411,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -448,3 +448,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -483,3 +483,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "ceddcf75-1068-452d-8b13-2d4d76e1f970", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "ceddcf75-1068-452d-8b13-2d4d76e1f970", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -518,3 +518,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "ceddcf75-1068-452d-8b13-2d4d76e1f970", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "ceddcf75-1068-452d-8b13-2d4d76e1f970", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -550,3 +550,3 @@ let apiVersion = verData.apiVersion; | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "71323c46-2592-4398-8771-ced73dd87207", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "71323c46-2592-4398-8771-ced73dd87207", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -585,3 +585,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "81c4e0fe-7663-4d62-ad46-6ab78459f274", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "81c4e0fe-7663-4d62-ad46-6ab78459f274", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -628,3 +628,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.1", "wiki", "1087b746-5d15-41b9-bea6-14e325e7f880", routeValues, queryValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.1", "wiki", "1087b746-5d15-41b9-bea6-14e325e7f880", routeValues, queryValues); | ||
let url = verData.requestUrl; | ||
@@ -656,3 +656,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -685,3 +685,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -712,3 +712,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -741,3 +741,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -771,3 +771,3 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); | ||
try { | ||
let verData = yield this.vsoClient.getVersioningData("6.0-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let verData = yield this.vsoClient.getVersioningData("6.1-preview.2", "wiki", "288d122c-dbd4-451d-aa5f-7dbbba070728", routeValues); | ||
let url = verData.requestUrl; | ||
@@ -774,0 +774,0 @@ let options = this.createRequestOptions('application/json', verData.apiVersion); |
@@ -26,3 +26,3 @@ import basem = require('./ClientApiBases'); | ||
}, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardUserSettings>; | ||
getCapacitiesWithIdentityRef(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef[]>; | ||
getCapacitiesWithIdentityRefAndTotals(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamCapacity>; | ||
getCapacityWithIdentityRef(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, teamMemberId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef>; | ||
@@ -43,2 +43,3 @@ replaceCapacitiesWithIdentityRef(capacities: WorkInterfaces.TeamMemberCapacityIdentityRef[], teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef[]>; | ||
getDeliveryTimelineData(project: string, id: string, revision?: number, startDate?: Date, endDate?: Date): Promise<WorkInterfaces.DeliveryViewData>; | ||
getTotalIterationCapacities(project: string, iterationId: string): Promise<WorkInterfaces.IterationCapacity>; | ||
deleteTeamIteration(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<void>; | ||
@@ -180,3 +181,3 @@ getTeamIteration(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.TeamSettingsIteration>; | ||
/** | ||
* Get a team's capacity | ||
* Get a team's capacity including total capacity and days off | ||
* | ||
@@ -186,3 +187,3 @@ * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation | ||
*/ | ||
getCapacitiesWithIdentityRef(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef[]>; | ||
getCapacitiesWithIdentityRefAndTotals(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamCapacity>; | ||
/** | ||
@@ -307,2 +308,9 @@ * Get a team member's capacity | ||
/** | ||
* Get an iteration's capacity for all teams in iteration | ||
* | ||
* @param {string} project - Project ID or project name | ||
* @param {string} iterationId - ID of the iteration | ||
*/ | ||
getTotalIterationCapacities(project: string, iterationId: string): Promise<WorkInterfaces.IterationCapacity>; | ||
/** | ||
* Delete a team's iteration by iterationId | ||
@@ -309,0 +317,0 @@ * |
@@ -54,2 +54,3 @@ /// <reference types="node" /> | ||
getRevisions(id: number, top?: number, skip?: number, expand?: WorkItemTrackingInterfaces.WorkItemExpand, project?: string): Promise<WorkItemTrackingInterfaces.WorkItem[]>; | ||
sendMail(body: WorkItemTrackingInterfaces.SendMailBody, project?: string): Promise<void>; | ||
deleteTag(project: string, tagIdOrName: string): Promise<void>; | ||
@@ -482,3 +483,10 @@ getTag(project: string, tagIdOrName: string): Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition>; | ||
/** | ||
* RESTful method to send mail for selected/queried work items. | ||
* | ||
* @param {WorkItemTrackingInterfaces.SendMailBody} body | ||
* @param {string} project - Project ID or project name | ||
*/ | ||
sendMail(body: WorkItemTrackingInterfaces.SendMailBody, project?: string): Promise<void>; | ||
/** | ||
* @param {string} project - Project ID or project name | ||
* @param {string} tagIdOrName | ||
@@ -485,0 +493,0 @@ */ |
@@ -50,2 +50,3 @@ import basem = require('./ClientApiBases'); | ||
removeFieldFromWorkItemType(processId: string, witRefNameForFields: string, fieldRefName: string): Promise<void>; | ||
updateWorkItemTypeField(field: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2, processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; | ||
} | ||
@@ -416,2 +417,10 @@ export declare class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase implements IWorkItemTrackingProcessDefinitionsApi { | ||
removeFieldFromWorkItemType(processId: string, witRefNameForFields: string, fieldRefName: string): Promise<void>; | ||
/** | ||
* Updates a single field in the scope of the given process and work item type. | ||
* | ||
* @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2} field - The model with which to update the field | ||
* @param {string} processId - The ID of the process | ||
* @param {string} witRefNameForFields - Work item type reference name for fields | ||
*/ | ||
updateWorkItemTypeField(field: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2, processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4091633
102033
1