Merge pull request #107 from microsoft/releases/2.226.0

Releases/2.226.0
This commit is contained in:
Amrit Kanungo 2023-10-23 12:44:31 -07:00 коммит произвёл GitHub
Родитель 08a9579faa 0143e90414
Коммит f7dbfb6869
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
36 изменённых файлов: 1306 добавлений и 1260 удалений

2
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "azure-devops-extension-api",
"version": "2.225.0",
"version": "2.226.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "azure-devops-extension-api",
"version": "2.225.0",
"version": "2.226.0",
"description": "REST client libraries and contracts for Azure DevOps web extension developers.",
"repository": {
"type": "git",

Просмотреть файл

@ -30,7 +30,7 @@ export class AccountsRestClient extends RestClientBase {
};
return this.beginRequest<Accounts.Account>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Accounts/{accountId}",
queryParams: queryValues,
@ -46,7 +46,7 @@ export class AccountsRestClient extends RestClientBase {
): Promise<Accounts.Account> {
return this.beginRequest<Accounts.Account>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Accounts/{accountId}",
routeValues: {
accountId: accountId
@ -74,7 +74,7 @@ export class AccountsRestClient extends RestClientBase {
};
return this.beginRequest<Accounts.Account[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Accounts/{accountId}",
queryParams: queryValues
});

Просмотреть файл

@ -32,7 +32,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildArtifact> {
return this.beginRequest<Build.BuildArtifact>({
apiVersion: "7.1-preview.5",
apiVersion: "7.2-preview.5",
method: "POST",
routeTemplate: "{project}/_apis/build/builds/{buildId}/artifacts/{artifactName}",
routeValues: {
@ -61,7 +61,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildArtifact>({
apiVersion: "7.1-preview.5",
apiVersion: "7.2-preview.5",
routeTemplate: "{project}/_apis/build/builds/{buildId}/artifacts/{artifactName}",
routeValues: {
project: project,
@ -89,7 +89,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.5",
apiVersion: "7.2-preview.5",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/build/builds/{buildId}/artifacts/{artifactName}",
routeValues: {
@ -112,7 +112,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildArtifact[]> {
return this.beginRequest<Build.BuildArtifact[]>({
apiVersion: "7.1-preview.5",
apiVersion: "7.2-preview.5",
routeTemplate: "{project}/_apis/build/builds/{buildId}/artifacts/{artifactName}",
routeValues: {
project: project,
@ -145,7 +145,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.5",
apiVersion: "7.2-preview.5",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/build/builds/{buildId}/artifacts/{artifactName}",
routeValues: {
@ -170,7 +170,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.Attachment[]> {
return this.beginRequest<Build.Attachment[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/builds/{buildId}/attachments/{type}",
routeValues: {
project: project,
@ -200,7 +200,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/build/builds/{buildId}/{timelineId}/{recordId}/attachments/{type}/{name}",
routeValues: {
@ -224,7 +224,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.DefinitionResourceReference[]> {
return this.beginRequest<Build.DefinitionResourceReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/authorizedresources",
routeValues: {
@ -251,7 +251,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.DefinitionResourceReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/authorizedresources",
routeValues: {
project: project
@ -278,7 +278,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/public/build/definitions/{project}/{definitionId}/badge",
routeValues: {
project: project,
@ -312,7 +312,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/sourceProviders/{providerName}/branches",
routeValues: {
project: project,
@ -343,7 +343,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildBadge>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/repos/{repoType}/badge",
routeValues: {
project: project,
@ -374,7 +374,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/repos/{repoType}/badge",
routeValues: {
project: project,
@ -396,7 +396,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.RetentionLease[]> {
return this.beginRequest<Build.RetentionLease[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/builds/{buildId}/leases",
routeValues: {
project: project,
@ -417,7 +417,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "DELETE",
routeTemplate: "{project}/_apis/build/builds/{buildId}",
routeValues: {
@ -445,7 +445,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Build>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
routeTemplate: "{project}/_apis/build/builds/{buildId}",
routeValues: {
project: project,
@ -528,7 +528,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
routeTemplate: "{project}/_apis/build/builds/{buildId}",
routeValues: {
project: project
@ -569,7 +569,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Build>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "POST",
routeTemplate: "{project}/_apis/build/builds/{buildId}",
routeValues: {
@ -600,7 +600,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Build>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "PATCH",
routeTemplate: "{project}/_apis/build/builds/{buildId}",
routeValues: {
@ -624,7 +624,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.Build[]> {
return this.beginRequest<Build.Build[]>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "PATCH",
routeTemplate: "{project}/_apis/build/builds/{buildId}",
routeValues: {
@ -658,7 +658,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/builds/{buildId}/changes",
routeValues: {
project: project,
@ -695,7 +695,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Change[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/changes",
routeValues: {
project: project
@ -714,7 +714,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildController> {
return this.beginRequest<Build.BuildController>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/build/Controllers/{controllerId}",
routeValues: {
controllerId: controllerId
@ -736,7 +736,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildController[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/build/Controllers/{controllerId}",
queryParams: queryValues
});
@ -763,7 +763,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildDefinition>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "POST",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}",
routeValues: {
@ -786,7 +786,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "DELETE",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}",
routeValues: {
@ -823,7 +823,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildDefinition>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}",
routeValues: {
project: project,
@ -894,7 +894,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}",
routeValues: {
project: project
@ -926,7 +926,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildDefinition>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "PATCH",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}",
routeValues: {
@ -960,7 +960,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildDefinition>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "PUT",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}",
routeValues: {
@ -999,7 +999,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/sourceProviders/{providerName}/fileContents",
routeValues: {
@ -1028,7 +1028,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Folder>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "{project}/_apis/build/folders/{*path}",
routeValues: {
@ -1055,7 +1055,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "{project}/_apis/build/folders/{*path}",
routeValues: {
@ -1083,7 +1083,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Folder[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/folders/{*path}",
routeValues: {
project: project,
@ -1111,7 +1111,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Folder>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/build/folders/{*path}",
routeValues: {
@ -1132,7 +1132,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.PipelineGeneralSettings> {
return this.beginRequest<Build.PipelineGeneralSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/generalSettings",
routeValues: {
project: project
@ -1152,7 +1152,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.PipelineGeneralSettings> {
return this.beginRequest<Build.PipelineGeneralSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/generalSettings",
routeValues: {
@ -1176,7 +1176,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildRetentionHistory>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/build/retention/history",
queryParams: queryValues
});
@ -1200,7 +1200,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Build>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/latest/{*definition}",
routeValues: {
project: project,
@ -1222,7 +1222,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.RetentionLease[]> {
return this.beginRequest<Build.RetentionLease[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/build/retention/leases/{*leaseId}",
routeValues: {
@ -1248,7 +1248,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "{project}/_apis/build/retention/leases/{*leaseId}",
routeValues: {
@ -1270,7 +1270,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.RetentionLease> {
return this.beginRequest<Build.RetentionLease>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/retention/leases/{*leaseId}",
routeValues: {
project: project,
@ -1295,7 +1295,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.RetentionLease[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/retention/leases/{*leaseId}",
routeValues: {
project: project
@ -1326,7 +1326,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.RetentionLease[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/retention/leases/{*leaseId}",
routeValues: {
project: project
@ -1357,7 +1357,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.RetentionLease[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/retention/leases/{*leaseId}",
routeValues: {
project: project
@ -1380,7 +1380,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.RetentionLease> {
return this.beginRequest<Build.RetentionLease>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/_apis/build/retention/leases/{*leaseId}",
routeValues: {
@ -1414,7 +1414,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/build/builds/{buildId}/logs/{logId}",
routeValues: {
@ -1449,7 +1449,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/builds/{buildId}/logs/{logId}",
routeValues: {
project: project,
@ -1472,7 +1472,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildLog[]> {
return this.beginRequest<Build.BuildLog[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/builds/{buildId}/logs/{logId}",
routeValues: {
project: project,
@ -1493,7 +1493,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/build/builds/{buildId}/logs/{logId}",
routeValues: {
@ -1526,7 +1526,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/build/builds/{buildId}/logs/{logId}",
routeValues: {
@ -1556,7 +1556,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildMetric[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/Metrics/{metricAggregationType}",
routeValues: {
project: project,
@ -1584,7 +1584,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildMetric[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}/Metrics",
routeValues: {
project: project,
@ -1604,7 +1604,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildOptionDefinition[]> {
return this.beginRequest<Build.BuildOptionDefinition[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/options",
routeValues: {
project: project
@ -1639,7 +1639,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.SourceRepositoryItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/sourceProviders/{providerName}/pathContents",
routeValues: {
project: project,
@ -1667,7 +1667,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/builds/{buildId}/properties",
routeValues: {
project: project,
@ -1691,7 +1691,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<any> {
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/builds/{buildId}/properties",
routeValues: {
@ -1723,7 +1723,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}/properties",
routeValues: {
project: project,
@ -1747,7 +1747,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<any> {
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}/properties",
routeValues: {
@ -1784,7 +1784,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.PullRequest>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/sourceProviders/{providerName}/pullRequests/{pullRequestId}",
routeValues: {
project: project,
@ -1813,7 +1813,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.BuildReportMetadata>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/builds/{buildId}/report",
routeValues: {
project: project,
@ -1841,7 +1841,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<any>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "text/html",
routeTemplate: "{project}/_apis/build/builds/{buildId}/report",
routeValues: {
@ -1882,7 +1882,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.SourceRepositories>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/sourceProviders/{providerName}/repositories",
routeValues: {
project: project,
@ -1904,7 +1904,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.DefinitionResourceReference[]> {
return this.beginRequest<Build.DefinitionResourceReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}/resources",
routeValues: {
@ -1925,7 +1925,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.DefinitionResourceReference[]> {
return this.beginRequest<Build.DefinitionResourceReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}/resources",
routeValues: {
project: project,
@ -1942,7 +1942,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildResourceUsage> {
return this.beginRequest<Build.BuildResourceUsage>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/build/ResourceUsage"
});
}
@ -1957,7 +1957,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.ProjectRetentionSetting> {
return this.beginRequest<Build.ProjectRetentionSetting>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/retention",
routeValues: {
project: project
@ -1977,7 +1977,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.ProjectRetentionSetting> {
return this.beginRequest<Build.ProjectRetentionSetting>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/retention",
routeValues: {
@ -1999,7 +1999,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildDefinitionRevision[]> {
return this.beginRequest<Build.BuildDefinitionRevision[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}/revisions",
routeValues: {
project: project,
@ -2018,7 +2018,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildSettings> {
return this.beginRequest<Build.BuildSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/settings",
routeValues: {
project: project
@ -2038,7 +2038,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildSettings> {
return this.beginRequest<Build.BuildSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/settings",
routeValues: {
@ -2058,7 +2058,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.SourceProviderAttributes[]> {
return this.beginRequest<Build.SourceProviderAttributes[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/sourceProviders",
routeValues: {
project: project
@ -2082,7 +2082,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/build/builds/{buildId}/stages/{stageRefName}",
routeValues: {
@ -2124,7 +2124,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/status/{*definition}",
routeValues: {
project: project,
@ -2148,7 +2148,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PUT",
routeTemplate: "{project}/_apis/build/builds/{buildId}/tags/{*tag}",
routeValues: {
@ -2173,7 +2173,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/_apis/build/builds/{buildId}/tags/{*tag}",
routeValues: {
@ -2198,7 +2198,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/build/builds/{buildId}/tags/{*tag}",
routeValues: {
@ -2221,7 +2221,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/build/builds/{buildId}/tags/{*tag}",
routeValues: {
project: project,
@ -2244,7 +2244,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/build/builds/{buildId}/tags/{*tag}",
routeValues: {
@ -2269,7 +2269,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PUT",
routeTemplate: "{project}/_apis/build/definitions/{DefinitionId}/tags/{*tag}",
routeValues: {
@ -2294,7 +2294,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/_apis/build/definitions/{DefinitionId}/tags/{*tag}",
routeValues: {
@ -2319,7 +2319,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/build/definitions/{DefinitionId}/tags/{*tag}",
routeValues: {
@ -2348,7 +2348,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/build/definitions/{DefinitionId}/tags/{*tag}",
routeValues: {
project: project,
@ -2372,7 +2372,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/build/definitions/{DefinitionId}/tags/{*tag}",
routeValues: {
@ -2395,7 +2395,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/build/tags/{*tag}",
routeValues: {
@ -2415,7 +2415,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/build/tags/{*tag}",
routeValues: {
project: project
@ -2435,7 +2435,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/build/definitions/templates/{templateId}",
routeValues: {
@ -2457,7 +2457,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildDefinitionTemplate> {
return this.beginRequest<Build.BuildDefinitionTemplate>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/build/definitions/templates/{templateId}",
routeValues: {
project: project,
@ -2476,7 +2476,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildDefinitionTemplate[]> {
return this.beginRequest<Build.BuildDefinitionTemplate[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/build/definitions/templates/{templateId}",
routeValues: {
project: project
@ -2498,7 +2498,7 @@ export class BuildRestClient extends RestClientBase {
): Promise<Build.BuildDefinitionTemplate> {
return this.beginRequest<Build.BuildDefinitionTemplate>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PUT",
routeTemplate: "{project}/_apis/build/definitions/templates/{templateId}",
routeValues: {
@ -2532,7 +2532,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.Timeline>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/builds/{buildId}/Timeline/{timelineId}",
routeValues: {
project: project,
@ -2566,7 +2566,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/sourceProviders/{providerName}/webhooks",
routeValues: {
@ -2599,7 +2599,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.RepositoryWebhook[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/sourceProviders/{providerName}/webhooks",
routeValues: {
project: project,
@ -2627,7 +2627,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<WebApi.ResourceRef[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/builds/{buildId}/workitems",
routeValues: {
project: project,
@ -2657,7 +2657,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<WebApi.ResourceRef[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/build/builds/{buildId}/workitems",
routeValues: {
@ -2691,7 +2691,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<WebApi.ResourceRef[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/build/workitems",
routeValues: {
project: project
@ -2727,7 +2727,7 @@ export class BuildRestClient extends RestClientBase {
};
return this.beginRequest<Build.YamlBuild>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/build/definitions/{definitionId}/yaml",
routeValues: {
project: project,

Просмотреть файл

@ -26,7 +26,7 @@ export class ContributionsRestClient extends RestClientBase {
): Promise<Contributions.ContributionNodeQueryResult> {
return this.beginRequest<Contributions.ContributionNodeQueryResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Contribution/nodes/query",
body: query
@ -45,7 +45,7 @@ export class ContributionsRestClient extends RestClientBase {
): Promise<Contributions.DataProviderResult> {
return this.beginRequest<Contributions.DataProviderResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Contribution/dataProviders/query/{scopeName}/{scopeValue}",
routeValues: {
@ -74,7 +74,7 @@ export class ContributionsRestClient extends RestClientBase {
};
return this.beginRequest<Contributions.InstalledExtension[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Contribution/InstalledApps/{extensionId}",
queryParams: queryValues
});
@ -96,7 +96,7 @@ export class ContributionsRestClient extends RestClientBase {
};
return this.beginRequest<Contributions.InstalledExtension>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Contribution/InstalledApps/{publisherName}/{extensionName}",
routeValues: {
publisherName: publisherName,

Просмотреть файл

@ -29,7 +29,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/projects/{projectId}/avatar",
routeValues: {
@ -50,7 +50,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/projects/{projectId}/avatar",
routeValues: {
@ -82,7 +82,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.CategorizedWebApiTeams>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/projects/{projectId}/categorizedTeams/",
routeValues: {
projectId: projectId
@ -101,7 +101,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.WebApiConnectedService> {
return this.beginRequest<Core.WebApiConnectedService>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/projects/{projectId}/connectedServices/{name}",
routeValues: {
@ -121,7 +121,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.WebApiConnectedServiceDetails> {
return this.beginRequest<Core.WebApiConnectedServiceDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/projects/{projectId}/connectedServices/{name}",
routeValues: {
projectId: projectId,
@ -144,7 +144,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.WebApiConnectedService[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/projects/{projectId}/connectedServices/{name}",
routeValues: {
projectId: projectId
@ -163,7 +163,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/core/identityMru/{mruName}",
routeValues: {
@ -183,7 +183,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/core/identityMru/{mruName}",
routeValues: {
@ -200,7 +200,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<WebApi.IdentityRef[]> {
return this.beginRequest<WebApi.IdentityRef[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/core/identityMru/{mruName}",
routeValues: {
mruName: mruName
@ -218,7 +218,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/core/identityMru/{mruName}",
routeValues: {
@ -249,7 +249,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<WebApi.TeamMember[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/projects/{projectId}/teams/{teamId}/members",
routeValues: {
projectId: projectId,
@ -269,7 +269,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.Process> {
return this.beginRequest<Core.Process>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/process/processes/{*processId}",
routeValues: {
processId: processId
@ -285,7 +285,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.Process[]> {
return this.beginRequest<Core.Process[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/process/processes/{*processId}"
});
}
@ -300,7 +300,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.TeamProjectCollection> {
return this.beginRequest<Core.TeamProjectCollection>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/projectCollections/{collectionId}",
routeValues: {
collectionId: collectionId
@ -325,7 +325,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.TeamProjectCollectionReference[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/projectCollections/{collectionId}",
queryParams: queryValues
});
@ -345,7 +345,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.ProjectInfo[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/projectHistory",
queryParams: queryValues
});
@ -370,7 +370,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.TeamProject>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "_apis/projects/{*projectId}",
routeValues: {
projectId: projectId
@ -405,7 +405,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "_apis/projects/{*projectId}",
queryParams: queryValues,
returnRawResponse: true
@ -426,7 +426,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Operations.OperationReference> {
return this.beginRequest<Operations.OperationReference>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "POST",
routeTemplate: "_apis/projects/{*projectId}",
body: projectToCreate
@ -443,7 +443,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Operations.OperationReference> {
return this.beginRequest<Operations.OperationReference>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "DELETE",
routeTemplate: "_apis/projects/{*projectId}",
routeValues: {
@ -464,7 +464,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Operations.OperationReference> {
return this.beginRequest<Operations.OperationReference>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PATCH",
routeTemplate: "_apis/projects/{*projectId}",
routeValues: {
@ -491,7 +491,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.ProjectProperties[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/projectsproperties",
queryParams: queryValues
});
@ -513,7 +513,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.ProjectProperty[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/projects/{projectId}/properties",
routeValues: {
projectId: projectId
@ -534,7 +534,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/projects/{projectId}/properties",
routeValues: {
@ -555,7 +555,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.Proxy> {
return this.beginRequest<Core.Proxy>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "_apis/proxies",
body: proxy
@ -577,7 +577,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/proxies",
queryParams: queryValues
@ -596,7 +596,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.Proxy[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/proxies",
queryParams: queryValues
});
@ -625,7 +625,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.WebApiTeam[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "_apis/teams",
queryParams: queryValues
});
@ -643,7 +643,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.WebApiTeam> {
return this.beginRequest<Core.WebApiTeam>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "_apis/projects/{projectId}/teams/{*teamId}",
routeValues: {
@ -665,7 +665,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "_apis/projects/{projectId}/teams/{*teamId}",
routeValues: {
@ -693,7 +693,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.WebApiTeam>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "_apis/projects/{projectId}/teams/{*teamId}",
routeValues: {
projectId: projectId,
@ -728,7 +728,7 @@ export class CoreRestClient extends RestClientBase {
};
return this.beginRequest<Core.WebApiTeam[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "_apis/projects/{projectId}/teams/{*teamId}",
routeValues: {
projectId: projectId
@ -751,7 +751,7 @@ export class CoreRestClient extends RestClientBase {
): Promise<Core.WebApiTeam> {
return this.beginRequest<Core.WebApiTeam>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "_apis/projects/{projectId}/teams/{*teamId}",
routeValues: {

Просмотреть файл

@ -32,7 +32,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Dashboard>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/{team}/_apis/Dashboard/Dashboards/{dashboardId}",
routeValues: {
@ -58,7 +58,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/{team}/_apis/Dashboard/Dashboards/{dashboardId}",
routeValues: {
@ -84,7 +84,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Dashboard>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/{team}/_apis/Dashboard/Dashboards/{dashboardId}",
routeValues: {
project: project,
@ -107,7 +107,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Dashboard[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/{team}/_apis/Dashboard/Dashboards/{dashboardId}",
routeValues: {
project: project,
@ -133,7 +133,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Dashboard>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/Dashboard/Dashboards/{dashboardId}",
routeValues: {
@ -160,7 +160,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.DashboardGroup>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/Dashboard/Dashboards/{dashboardId}",
routeValues: {
@ -188,7 +188,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Widget>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/{team}/_apis/Dashboard/dashboards/{dashboardId}/Widgets/{widgetId}",
routeValues: {
@ -217,7 +217,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Dashboard>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "{project}/{team}/_apis/Dashboard/dashboards/{dashboardId}/Widgets/{widgetId}",
routeValues: {
@ -246,7 +246,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Widget>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/{team}/_apis/Dashboard/dashboards/{dashboardId}/Widgets/{widgetId}",
routeValues: {
project: project,
@ -276,7 +276,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Widget>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/Dashboard/dashboards/{dashboardId}/Widgets/{widgetId}",
routeValues: {
@ -308,7 +308,7 @@ export class DashboardRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Dashboard.Widget>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/Dashboard/dashboards/{dashboardId}/Widgets/{widgetId}",
routeValues: {
@ -333,7 +333,7 @@ export class DashboardRestClient extends RestClientBase {
): Promise<Dashboard.WidgetMetadataResponse> {
return this.beginRequest<Dashboard.WidgetMetadataResponse>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Dashboard/WidgetTypes/{contributionId}",
routeValues: {
project: project,
@ -358,7 +358,7 @@ export class DashboardRestClient extends RestClientBase {
};
return this.beginRequest<Dashboard.WidgetTypesResponse>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Dashboard/WidgetTypes/{contributionId}",
routeValues: {
project: project

Просмотреть файл

@ -47,7 +47,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
};
return this.beginRequest<ExtensionManagement.AcquisitionOptions>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/AcquisitionOptions",
queryParams: queryValues
});
@ -61,7 +61,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.ExtensionAcquisitionRequest> {
return this.beginRequest<ExtensionManagement.ExtensionAcquisitionRequest>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/ExtensionManagement/AcquisitionRequests",
body: acquisitionRequest
@ -78,7 +78,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.ExtensionAuditLog> {
return this.beginRequest<ExtensionManagement.ExtensionAuditLog>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/AuditLog/{publisherName}/{extensionName}",
routeValues: {
publisherName: publisherName,
@ -99,7 +99,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.ExtensionAuthorization> {
return this.beginRequest<ExtensionManagement.ExtensionAuthorization>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Authorizations/{registrationId}",
routeValues: {
@ -128,7 +128,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<any> {
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Data/Scopes/{scopeType}/{scopeValue}/Collections/{collectionName}/Documents/{documentId}",
routeValues: {
@ -160,7 +160,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Data/Scopes/{scopeType}/{scopeValue}/Collections/{collectionName}/Documents/{documentId}",
routeValues: {
@ -192,7 +192,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<any> {
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Data/Scopes/{scopeType}/{scopeValue}/Collections/{collectionName}/Documents/{documentId}",
routeValues: {
publisherName: publisherName,
@ -221,7 +221,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<any[]> {
return this.beginRequest<any[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Data/Scopes/{scopeType}/{scopeValue}/Collections/{collectionName}/Documents/{documentId}",
routeValues: {
publisherName: publisherName,
@ -251,7 +251,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<any> {
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Data/Scopes/{scopeType}/{scopeValue}/Collections/{collectionName}/Documents/{documentId}",
routeValues: {
@ -283,7 +283,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<any> {
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Data/Scopes/{scopeType}/{scopeValue}/Collections/{collectionName}/Documents/{documentId}",
routeValues: {
@ -311,7 +311,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.ExtensionDataCollection[]> {
return this.beginRequest<ExtensionManagement.ExtensionDataCollection[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/ExtensionDataCollectionQuery",
routeValues: {
@ -345,7 +345,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
};
return this.beginRequest<ExtensionManagement.ExtensionState[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/ExtensionStates",
queryParams: queryValues
});
@ -359,7 +359,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.InstalledExtension[]> {
return this.beginRequest<ExtensionManagement.InstalledExtension[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensionQuery",
body: query
@ -389,7 +389,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
};
return this.beginRequest<ExtensionManagement.InstalledExtension[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{extensionId}",
queryParams: queryValues
});
@ -405,7 +405,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.InstalledExtension> {
return this.beginRequest<ExtensionManagement.InstalledExtension>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensions/{extensionId}",
body: extension
@ -430,7 +430,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
};
return this.beginRequest<ExtensionManagement.InstalledExtension>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensionsByName/{publisherName}/{extensionName}/{version}",
routeValues: {
publisherName: publisherName,
@ -454,7 +454,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.InstalledExtension> {
return this.beginRequest<ExtensionManagement.InstalledExtension>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensionsByName/{publisherName}/{extensionName}/{version}",
routeValues: {
@ -486,7 +486,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/ExtensionManagement/InstalledExtensionsByName/{publisherName}/{extensionName}/{version}",
routeValues: {
@ -505,7 +505,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<Gallery.UserExtensionPolicy> {
return this.beginRequest<Gallery.UserExtensionPolicy>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/Policies/{userId}",
routeValues: {
userId: userId
@ -533,7 +533,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
};
return this.beginRequest<number>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/ExtensionManagement/RequestedExtensions/{publisherName}/{extensionName}/requests/{requesterId}",
routeValues: {
@ -552,7 +552,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.RequestedExtension[]> {
return this.beginRequest<ExtensionManagement.RequestedExtension[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/RequestedExtensions"
});
}
@ -575,7 +575,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
};
return this.beginRequest<number>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/ExtensionManagement/RequestedExtensions/{publisherName}/{extensionName}",
routeValues: {
@ -597,7 +597,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/ExtensionManagement/RequestedExtensions/{publisherName}/{extensionName}/requests/me",
routeValues: {
@ -619,7 +619,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<ExtensionManagement.RequestedExtension> {
return this.beginRequest<ExtensionManagement.RequestedExtension>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/ExtensionManagement/RequestedExtensions/{publisherName}/{extensionName}/requests/me",
routeValues: {
@ -636,7 +636,7 @@ export class ExtensionManagementRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ExtensionManagement/Token"
});
}

Просмотреть файл

@ -26,7 +26,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<Favorite.FavoriteProvider[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Favorite/FavoriteProviders",
queryParams: queryValues
});
@ -40,7 +40,7 @@ export class FavoriteRestClient extends RestClientBase {
): Promise<Favorite.Favorite> {
return this.beginRequest<Favorite.Favorite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
body: favorite
@ -64,7 +64,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<Favorite.Favorite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
queryParams: queryValues,
@ -92,7 +92,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
routeValues: {
@ -128,7 +128,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
routeValues: {
@ -162,7 +162,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<Favorite.Favorite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
queryParams: queryValues
});
@ -191,7 +191,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<Favorite.Favorite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
routeValues: {
favoriteId: favoriteId
@ -229,7 +229,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<Favorite.Favorite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
routeValues: {
favoriteId: favoriteId
@ -259,7 +259,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<Favorite.Favorite[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
queryParams: queryValues
});
@ -292,7 +292,7 @@ export class FavoriteRestClient extends RestClientBase {
};
return this.beginRequest<Favorite.Favorite[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Favorite/Favorites/{favoriteId}",
queryParams: queryValues
});

Просмотреть файл

@ -28,7 +28,7 @@ export class FeatureAvailabilityRestClient extends RestClientBase {
};
return this.beginRequest<FeatureAvailability.FeatureFlag[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureFlags/{name}",
queryParams: queryValues
});
@ -50,7 +50,7 @@ export class FeatureAvailabilityRestClient extends RestClientBase {
};
return this.beginRequest<FeatureAvailability.FeatureFlag>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureFlags/{name}",
routeValues: {
name: name
@ -78,7 +78,7 @@ export class FeatureAvailabilityRestClient extends RestClientBase {
};
return this.beginRequest<FeatureAvailability.FeatureFlag>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureFlags/{name}",
routeValues: {
name: name
@ -106,7 +106,7 @@ export class FeatureAvailabilityRestClient extends RestClientBase {
};
return this.beginRequest<FeatureAvailability.FeatureFlag>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureFlags/{name}",
routeValues: {
name: name
@ -139,7 +139,7 @@ export class FeatureAvailabilityRestClient extends RestClientBase {
};
return this.beginRequest<FeatureAvailability.FeatureFlag>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/FeatureFlags/{name}",
routeValues: {

Просмотреть файл

@ -24,7 +24,7 @@ export class FeatureManagementRestClient extends RestClientBase {
): Promise<FeatureManagement.ContributedFeature> {
return this.beginRequest<FeatureManagement.ContributedFeature>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureManagement/Features/{featureId}",
routeValues: {
featureId: featureId
@ -46,7 +46,7 @@ export class FeatureManagementRestClient extends RestClientBase {
};
return this.beginRequest<FeatureManagement.ContributedFeature[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureManagement/Features/{featureId}",
queryParams: queryValues
});
@ -64,7 +64,7 @@ export class FeatureManagementRestClient extends RestClientBase {
): Promise<FeatureManagement.ContributedFeatureState> {
return this.beginRequest<FeatureManagement.ContributedFeatureState>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{featureId}",
routeValues: {
featureId: featureId,
@ -96,7 +96,7 @@ export class FeatureManagementRestClient extends RestClientBase {
};
return this.beginRequest<FeatureManagement.ContributedFeatureState>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{featureId}",
routeValues: {
@ -124,7 +124,7 @@ export class FeatureManagementRestClient extends RestClientBase {
): Promise<FeatureManagement.ContributedFeatureState> {
return this.beginRequest<FeatureManagement.ContributedFeatureState>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{scopeName}/{scopeValue}/{featureId}",
routeValues: {
featureId: featureId,
@ -162,7 +162,7 @@ export class FeatureManagementRestClient extends RestClientBase {
};
return this.beginRequest<FeatureManagement.ContributedFeatureState>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{scopeName}/{scopeValue}/{featureId}",
routeValues: {
@ -186,7 +186,7 @@ export class FeatureManagementRestClient extends RestClientBase {
): Promise<FeatureManagement.ContributedFeatureStateQuery> {
return this.beginRequest<FeatureManagement.ContributedFeatureStateQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/FeatureManagement/FeatureStatesQuery",
body: query
@ -205,7 +205,7 @@ export class FeatureManagementRestClient extends RestClientBase {
): Promise<FeatureManagement.ContributedFeatureStateQuery> {
return this.beginRequest<FeatureManagement.ContributedFeatureStateQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/FeatureManagement/FeatureStatesQuery/{userScope}",
routeValues: {
@ -231,7 +231,7 @@ export class FeatureManagementRestClient extends RestClientBase {
): Promise<FeatureManagement.ContributedFeatureStateQuery> {
return this.beginRequest<FeatureManagement.ContributedFeatureStateQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/FeatureManagement/FeatureStatesQuery/{userScope}/{scopeName}/{scopeValue}",
routeValues: {

Просмотреть файл

@ -33,7 +33,7 @@ export class FileContainerRestClient extends RestClientBase {
};
return this.beginRequest<FileContainer.FileContainerItem[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "POST",
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
routeValues: {
@ -63,7 +63,7 @@ export class FileContainerRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "DELETE",
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
routeValues: {
@ -90,7 +90,7 @@ export class FileContainerRestClient extends RestClientBase {
};
return this.beginRequest<FileContainer.FileContainer[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
queryParams: queryValues
});
@ -137,7 +137,7 @@ export class FileContainerRestClient extends RestClientBase {
};
return this.beginRequest<FileContainer.FileContainerItem[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
routeValues: {
containerId: containerId

Просмотреть файл

@ -26,7 +26,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/extensions/{extensionId}/accounts/{accountName}",
routeValues: {
@ -46,7 +46,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/extensions/{extensionId}/accounts/{accountName}",
routeValues: {
@ -68,7 +68,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publisher/{publisherName}/extension/{extensionName}/accountsbyname/{accountName}",
routeValues: {
@ -91,7 +91,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/publisher/{publisherName}/extension/{extensionName}/accountsbyname/{accountName}",
routeValues: {
@ -122,7 +122,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.AcquisitionOptions>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/acquisitionoptions/{itemId}",
routeValues: {
itemId: itemId
@ -139,7 +139,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionAcquisitionRequest> {
return this.beginRequest<Gallery.ExtensionAcquisitionRequest>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/acquisitionrequests",
body: acquisitionRequest
@ -171,7 +171,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/public/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/assetbyname/{*assetType}",
routeValues: {
@ -210,7 +210,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/public/gallery/extensions/{extensionId}/{version}/assets/{assetType}",
routeValues: {
@ -247,7 +247,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/assets/{*assetType}",
routeValues: {
@ -277,7 +277,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.AzurePublisher>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/azurepublisher",
routeValues: {
@ -295,7 +295,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.AzurePublisher> {
return this.beginRequest<Gallery.AzurePublisher>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/publishers/{publisherName}/azurepublisher",
routeValues: {
publisherName: publisherName
@ -315,7 +315,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/categories",
queryParams: queryValues
});
@ -338,7 +338,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.CategoriesResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/categories/{categoryName}",
routeValues: {
categoryName: categoryName
@ -378,7 +378,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.ProductCategory>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/{product}/categories/{categoryId}",
routeValues: {
product: product,
@ -414,7 +414,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.ProductCategoriesResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/{product}/categories/root",
routeValues: {
product: product
@ -435,7 +435,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/certificates/{version}",
routeValues: {
@ -456,7 +456,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/contentverificationlog",
routeValues: {
@ -474,7 +474,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/public/support",
body: customerSupportRequest
@ -491,7 +491,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraft> {
return this.beginRequest<Gallery.ExtensionDraft>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",
routeValues: {
@ -515,7 +515,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraft> {
return this.beginRequest<Gallery.ExtensionDraft>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",
routeValues: {
@ -543,7 +543,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraft> {
return this.beginRequest<Gallery.ExtensionDraft>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",
routeValues: {
@ -576,7 +576,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraftAsset> {
return this.beginRequest<Gallery.ExtensionDraftAsset>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}/assets/{*assetType}",
routeValues: {
@ -607,7 +607,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraft> {
return this.beginRequest<Gallery.ExtensionDraft>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{publisherName}/drafts/{draftId}",
routeValues: {
@ -635,7 +635,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraft> {
return this.beginRequest<Gallery.ExtensionDraft>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/gallery/publishers/{publisherName}/drafts/{draftId}",
routeValues: {
@ -660,7 +660,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraft> {
return this.beginRequest<Gallery.ExtensionDraft>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/drafts/{draftId}",
routeValues: {
@ -690,7 +690,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDraftAsset> {
return this.beginRequest<Gallery.ExtensionDraftAsset>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",
routeValues: {
@ -724,7 +724,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",
routeValues: {
@ -748,7 +748,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",
routeValues: {
@ -786,7 +786,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.ExtensionEvents>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/events",
routeValues: {
publisherName: publisherName,
@ -806,7 +806,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/events",
body: extensionEvents
@ -829,7 +829,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.ExtensionQueryResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/public/gallery/extensionquery",
customHeaders: {
@ -857,7 +857,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublishedExtension>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "_apis/gallery/extensions/{extensionId}",
customHeaders: {
@ -883,7 +883,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/gallery/extensions/{extensionId}",
routeValues: {
@ -910,7 +910,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublishedExtension>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/gallery/extensions/{extensionId}",
routeValues: {
extensionId: extensionId
@ -933,7 +933,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublishedExtension>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "_apis/gallery/extensions/{extensionId}",
routeValues: {
@ -962,7 +962,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublishedExtension>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",
routeValues: {
@ -993,7 +993,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",
routeValues: {
@ -1028,7 +1028,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublishedExtension>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",
routeValues: {
publisherName: publisherName,
@ -1067,7 +1067,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublishedExtension>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",
routeValues: {
@ -1099,7 +1099,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublishedExtension>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",
routeValues: {
@ -1124,7 +1124,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publisher/{publisherName}/extension/{extensionName}/extensionshare/{hostType}/{hostName}",
routeValues: {
@ -1150,7 +1150,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/publisher/{publisherName}/extension/{extensionName}/extensionshare/{hostType}/{hostName}",
routeValues: {
@ -1170,7 +1170,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/extensionValidator",
body: azureRestApiRequestModel
@ -1187,7 +1187,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/notifications",
body: notificationData
@ -1219,7 +1219,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/package",
routeValues: {
@ -1261,7 +1261,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/public/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/privateasset/{assetToken}/{*assetType}",
routeValues: {
@ -1294,7 +1294,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/publishers/{publisherName}/publisherasset",
routeValues: {
@ -1320,7 +1320,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publishers/{publisherName}/publisherasset",
routeValues: {
@ -1350,7 +1350,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<{ [key: string] : string; }>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/publisherasset",
routeValues: {
@ -1374,7 +1374,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/publishers/{publisherName}/verify/token",
routeValues: {
publisherName: publisherName
@ -1390,7 +1390,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}/verify/token",
routeValues: {
@ -1407,7 +1407,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.PublisherQueryResult> {
return this.beginRequest<Gallery.PublisherQueryResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/public/gallery/publisherquery",
body: publisherQuery
@ -1422,7 +1422,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Publisher> {
return this.beginRequest<Gallery.Publisher>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{publisherName}",
body: publisher
@ -1437,7 +1437,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/publishers/{publisherName}",
routeValues: {
@ -1460,7 +1460,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.Publisher>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/publishers/{publisherName}",
routeValues: {
publisherName: publisherName
@ -1479,7 +1479,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Publisher> {
return this.beginRequest<Gallery.Publisher>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/gallery/publishers/{publisherName}",
routeValues: {
@ -1507,7 +1507,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.PublisherRoleAssignment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{publisherName}",
routeValues: {
@ -1526,7 +1526,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Publisher> {
return this.beginRequest<Gallery.Publisher>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/publisherWithoutToken/{publisherName}",
routeValues: {
publisherName: publisherName
@ -1558,7 +1558,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.QuestionsResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/qna",
routeValues: {
publisherName: publisherName,
@ -1584,7 +1584,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Concern> {
return this.beginRequest<Gallery.Concern>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{pubName}/extensions/{extName}/qna/{questionId}/concern",
routeValues: {
@ -1610,7 +1610,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Question> {
return this.beginRequest<Gallery.Question>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",
routeValues: {
@ -1635,7 +1635,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",
routeValues: {
@ -1662,7 +1662,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Question> {
return this.beginRequest<Gallery.Question>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",
routeValues: {
@ -1690,7 +1690,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Response> {
return this.beginRequest<Gallery.Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",
routeValues: {
@ -1718,7 +1718,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",
routeValues: {
@ -1748,7 +1748,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Response> {
return this.beginRequest<Gallery.Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",
routeValues: {
@ -1785,7 +1785,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<any>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/reports",
routeValues: {
publisherName: publisherName,
@ -1822,7 +1822,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.ReviewsResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/reviews",
routeValues: {
publisherName: publisherName,
@ -1853,7 +1853,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.ReviewSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/publishers/{pubName}/extensions/{extName}/reviews/summary",
routeValues: {
pubName: pubName,
@ -1877,7 +1877,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.Review> {
return this.beginRequest<Gallery.Review>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",
routeValues: {
@ -1902,7 +1902,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",
routeValues: {
@ -1929,7 +1929,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ReviewPatch> {
return this.beginRequest<Gallery.ReviewPatch>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",
routeValues: {
@ -1949,7 +1949,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionCategory> {
return this.beginRequest<Gallery.ExtensionCategory>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/categories",
body: category
@ -1968,7 +1968,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<{ [key: string] : any; }> {
return this.beginRequest<{ [key: string] : any; }>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/settings/{userScope}/{*key}",
routeValues: {
userScope: userScope,
@ -1989,7 +1989,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/gallery/settings/{userScope}/{*key}",
routeValues: {
@ -2013,7 +2013,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/gallery/signingkey/{keyType}",
routeValues: {
@ -2031,7 +2031,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/signingkey/{keyType}",
routeValues: {
keyType: keyType
@ -2051,7 +2051,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/gallery/publisher/{publisherName}/extension/{extensionName}/statistics",
routeValues: {
@ -2084,7 +2084,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<Gallery.ExtensionDailyStats>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/stats",
routeValues: {
publisherName: publisherName,
@ -2108,7 +2108,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<Gallery.ExtensionDailyStats> {
return this.beginRequest<Gallery.ExtensionDailyStats>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/stats",
routeValues: {
publisherName: publisherName,
@ -2141,7 +2141,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/stats",
routeValues: {
@ -2171,7 +2171,7 @@ export class GalleryRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/verificationlog",
routeValues: {
@ -2195,7 +2195,7 @@ export class GalleryRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/public/gallery/itemName/{itemName}/version/{version}/statType/{statType}/vscodewebextension",
routeValues: {

Просмотреть файл

@ -188,6 +188,24 @@ export interface BillableCommitterDetail extends BillableCommitter {
repoName: string;
}
/**
* Used by AdvSec to estimate billable pushers for a Host or Project.
*/
export interface BillablePusher {
/**
* ProjectId that was pushed to.
*/
projectId: string;
/**
* RepositoryId that was pushed to.
*/
repoId: string;
/**
* Visual Studio ID /Team Foundation ID
*/
vsid: string;
}
/**
* Real time event (SignalR) for a source/target branch update on a pull request
*/

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -26,7 +26,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Graph/Subjects/{subjectDescriptor}/Avatars",
routeValues: {
@ -52,7 +52,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<Profile.Avatar>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Subjects/{subjectDescriptor}/Avatars",
routeValues: {
subjectDescriptor: subjectDescriptor
@ -71,7 +71,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/Graph/Subjects/{subjectDescriptor}/Avatars",
routeValues: {
@ -87,7 +87,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphCachePolicies> {
return this.beginRequest<Graph.GraphCachePolicies>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/CachePolicies"
});
}
@ -102,7 +102,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphDescriptorResult> {
return this.beginRequest<Graph.GraphDescriptorResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Descriptors/{storageKey}",
routeValues: {
storageKey: storageKey
@ -129,7 +129,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<Graph.GraphFederatedProviderData>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/FederatedProviderData/{subjectDescriptor}",
routeValues: {
subjectDescriptor: subjectDescriptor
@ -157,7 +157,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<Graph.GraphGroup>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/Groups/{groupDescriptor}",
queryParams: queryValues,
@ -175,7 +175,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Graph/Groups/{groupDescriptor}",
routeValues: {
@ -194,7 +194,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphGroup> {
return this.beginRequest<Graph.GraphGroup>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Groups/{groupDescriptor}",
routeValues: {
groupDescriptor: groupDescriptor
@ -214,7 +214,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphGroup> {
return this.beginRequest<Graph.GraphGroup>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/Graph/Groups/{groupDescriptor}",
routeValues: {
@ -244,7 +244,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/IdentityTranslation",
queryParams: queryValues
});
@ -258,7 +258,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<{ [key: string] : Graph.GraphMember; }> {
return this.beginRequest<{ [key: string] : Graph.GraphMember; }>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/MemberLookup",
body: memberLookup
@ -275,7 +275,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphMember> {
return this.beginRequest<Graph.GraphMember>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/Graph/Members/{memberDescriptor}",
routeValues: {
memberDescriptor: memberDescriptor
@ -295,7 +295,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphMembership> {
return this.beginRequest<Graph.GraphMembership>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/Graph/Memberships/{subjectDescriptor}/{containerDescriptor}",
routeValues: {
@ -317,7 +317,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<boolean> {
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "HEAD",
routeTemplate: "_apis/Graph/Memberships/{subjectDescriptor}/{containerDescriptor}",
routeValues: {
@ -347,7 +347,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphMembership> {
return this.beginRequest<Graph.GraphMembership>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Memberships/{subjectDescriptor}/{containerDescriptor}",
routeValues: {
subjectDescriptor: subjectDescriptor,
@ -368,7 +368,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Graph/Memberships/{subjectDescriptor}/{containerDescriptor}",
routeValues: {
@ -397,7 +397,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<Graph.GraphMembership[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Memberships/{subjectDescriptor}",
routeValues: {
subjectDescriptor: subjectDescriptor
@ -416,7 +416,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphMembershipState> {
return this.beginRequest<Graph.GraphMembershipState>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/MembershipStates/{subjectDescriptor}",
routeValues: {
subjectDescriptor: subjectDescriptor
@ -443,7 +443,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<{ [key: string] : Graph.GraphMembershipTraversal; }>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/MembershipTraversals/{subjectDescriptor}",
queryParams: queryValues,
@ -470,7 +470,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<Graph.GraphMembershipTraversal>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/MembershipTraversals/{subjectDescriptor}",
routeValues: {
subjectDescriptor: subjectDescriptor
@ -487,7 +487,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphProviderInfo> {
return this.beginRequest<Graph.GraphProviderInfo>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Users/{userDescriptor}/ProviderInfo",
routeValues: {
userDescriptor: userDescriptor
@ -503,7 +503,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/RequestAccess",
body: jsondocument
@ -520,7 +520,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.ResolveDisconnectedUsersResponse> {
return this.beginRequest<Graph.ResolveDisconnectedUsersResponse>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/ResolveDisconnectedUsers",
body: mappings
@ -537,7 +537,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphScope> {
return this.beginRequest<Graph.GraphScope>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/Scopes/{scopeDescriptor}",
routeValues: {
@ -555,7 +555,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Graph/Scopes/{scopeDescriptor}",
routeValues: {
@ -574,7 +574,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphScope> {
return this.beginRequest<Graph.GraphScope>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Scopes/{scopeDescriptor}",
routeValues: {
scopeDescriptor: scopeDescriptor
@ -592,7 +592,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/Graph/Scopes/{scopeDescriptor}",
routeValues: {
@ -621,7 +621,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<Graph.GraphServicePrincipal>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/ServicePrincipals/{servicePrincipalDescriptor}",
queryParams: queryValues,
@ -639,7 +639,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Graph/ServicePrincipals/{servicePrincipalDescriptor}",
routeValues: {
@ -658,7 +658,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphServicePrincipal> {
return this.beginRequest<Graph.GraphServicePrincipal>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/ServicePrincipals/{servicePrincipalDescriptor}",
routeValues: {
servicePrincipalDescriptor: servicePrincipalDescriptor
@ -678,7 +678,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphServicePrincipal> {
return this.beginRequest<Graph.GraphServicePrincipal>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/Graph/ServicePrincipals/{servicePrincipalDescriptor}",
routeValues: {
@ -698,7 +698,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphStorageKeyResult> {
return this.beginRequest<Graph.GraphStorageKeyResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/StorageKeys/{subjectDescriptor}",
routeValues: {
subjectDescriptor: subjectDescriptor
@ -716,7 +716,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<{ [key: string] : Graph.GraphSubject; }> {
return this.beginRequest<{ [key: string] : Graph.GraphSubject; }>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/SubjectLookup",
body: subjectLookup
@ -733,7 +733,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphSubject[]> {
return this.beginRequest<Graph.GraphSubject[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/SubjectQuery",
body: subjectQuery
@ -748,7 +748,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphSubject> {
return this.beginRequest<Graph.GraphSubject>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Subjects/{subjectDescriptor}",
routeValues: {
subjectDescriptor: subjectDescriptor
@ -772,7 +772,7 @@ export class GraphRestClient extends RestClientBase {
};
return this.beginRequest<Graph.GraphUser>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Graph/Users/{userDescriptor}",
queryParams: queryValues,
@ -790,7 +790,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Graph/Users/{userDescriptor}",
routeValues: {
@ -809,7 +809,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphUser> {
return this.beginRequest<Graph.GraphUser>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Graph/Users/{userDescriptor}",
routeValues: {
userDescriptor: userDescriptor
@ -829,7 +829,7 @@ export class GraphRestClient extends RestClientBase {
): Promise<Graph.GraphUser> {
return this.beginRequest<Graph.GraphUser>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/Graph/Users/{userDescriptor}",
routeValues: {

Просмотреть файл

@ -35,7 +35,7 @@ export class LocationsRestClient extends RestClientBase {
};
return this.beginRequest<Locations.ConnectionData>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ConnectionData",
queryParams: queryValues
});
@ -58,7 +58,7 @@ export class LocationsRestClient extends RestClientBase {
};
return this.beginRequest<Locations.ResourceAreaInfo>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ResourceAreas/{areaId}",
routeValues: {
areaId: areaId
@ -81,7 +81,7 @@ export class LocationsRestClient extends RestClientBase {
};
return this.beginRequest<Locations.ResourceAreaInfo>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ResourceAreas/{areaId}",
routeValues: {
areaId: areaId
@ -105,7 +105,7 @@ export class LocationsRestClient extends RestClientBase {
};
return this.beginRequest<Locations.ResourceAreaInfo[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ResourceAreas/{areaId}",
queryParams: queryValues
});
@ -123,7 +123,7 @@ export class LocationsRestClient extends RestClientBase {
};
return this.beginRequest<Locations.ResourceAreaInfo[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ResourceAreas/{areaId}",
queryParams: queryValues
});
@ -139,7 +139,7 @@ export class LocationsRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/ServiceDefinitions/{serviceType}/{identifier}",
routeValues: {
@ -170,7 +170,7 @@ export class LocationsRestClient extends RestClientBase {
};
return this.beginRequest<Locations.ServiceDefinition>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ServiceDefinitions/{serviceType}/{identifier}",
routeValues: {
serviceType: serviceType,
@ -188,7 +188,7 @@ export class LocationsRestClient extends RestClientBase {
): Promise<Locations.ServiceDefinition[]> {
return this.beginRequest<Locations.ServiceDefinition[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/ServiceDefinitions/{serviceType}/{identifier}",
routeValues: {
serviceType: serviceType
@ -204,7 +204,7 @@ export class LocationsRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/ServiceDefinitions/{serviceType}/{identifier}",
body: serviceDefinitions

Просмотреть файл

@ -23,7 +23,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/notification/BatchNotificationOperations",
body: operation
@ -51,7 +51,7 @@ export class NotificationRestClient extends RestClientBase {
};
return this.beginRequest<Notification.INotificationDiagnosticLog[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/DiagnosticLogs/{source}/entries/{entryId}",
routeValues: {
source: source,
@ -71,7 +71,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.SubscriptionDiagnostics> {
return this.beginRequest<Notification.SubscriptionDiagnostics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/subscriptions/{subscriptionId}/diagnostics",
routeValues: {
subscriptionId: subscriptionId
@ -91,7 +91,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.SubscriptionDiagnostics> {
return this.beginRequest<Notification.SubscriptionDiagnostics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/notification/subscriptions/{subscriptionId}/diagnostics",
routeValues: {
@ -111,7 +111,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<WebApi.VssNotificationEvent> {
return this.beginRequest<WebApi.VssNotificationEvent>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/notification/Events",
body: notificationEvent
@ -128,7 +128,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.EventTransformResult> {
return this.beginRequest<Notification.EventTransformResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/notification/EventTransforms",
body: transformRequest
@ -145,7 +145,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationEventField[]> {
return this.beginRequest<Notification.NotificationEventField[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/notification/eventTypes/{eventType}/fieldValuesQuery",
routeValues: {
@ -165,7 +165,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationEventType> {
return this.beginRequest<Notification.NotificationEventType>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/EventTypes/{eventType}",
routeValues: {
eventType: eventType
@ -187,7 +187,7 @@ export class NotificationRestClient extends RestClientBase {
};
return this.beginRequest<Notification.NotificationEventType[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/EventTypes/{eventType}",
queryParams: queryValues
});
@ -201,7 +201,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationReason> {
return this.beginRequest<Notification.NotificationReason>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/NotificationReasons/{notificationId}",
routeValues: {
notificationId: notificationId
@ -221,7 +221,7 @@ export class NotificationRestClient extends RestClientBase {
};
return this.beginRequest<Notification.NotificationReason[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/NotificationReasons/{notificationId}",
queryParams: queryValues
});
@ -233,7 +233,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationAdminSettings> {
return this.beginRequest<Notification.NotificationAdminSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/Settings"
});
}
@ -246,7 +246,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationAdminSettings> {
return this.beginRequest<Notification.NotificationAdminSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/notification/Settings",
body: updateParameters
@ -263,7 +263,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationSubscriber> {
return this.beginRequest<Notification.NotificationSubscriber>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/Subscribers/{subscriberId}",
routeValues: {
subscriberId: subscriberId
@ -283,7 +283,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationSubscriber> {
return this.beginRequest<Notification.NotificationSubscriber>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/notification/Subscribers/{subscriberId}",
routeValues: {
@ -303,7 +303,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationSubscription[]> {
return this.beginRequest<Notification.NotificationSubscription[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/notification/SubscriptionQuery",
body: subscriptionQuery
@ -320,7 +320,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationSubscription> {
return this.beginRequest<Notification.NotificationSubscription>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/notification/Subscriptions/{subscriptionId}",
body: createParameters
@ -337,7 +337,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/notification/Subscriptions/{subscriptionId}",
routeValues: {
@ -362,7 +362,7 @@ export class NotificationRestClient extends RestClientBase {
};
return this.beginRequest<Notification.NotificationSubscription>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/Subscriptions/{subscriptionId}",
routeValues: {
subscriptionId: subscriptionId
@ -391,7 +391,7 @@ export class NotificationRestClient extends RestClientBase {
};
return this.beginRequest<Notification.NotificationSubscription[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/Subscriptions/{subscriptionId}",
queryParams: queryValues
});
@ -409,7 +409,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationSubscription> {
return this.beginRequest<Notification.NotificationSubscription>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/notification/Subscriptions/{subscriptionId}",
routeValues: {
@ -427,7 +427,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.NotificationSubscriptionTemplate[]> {
return this.beginRequest<Notification.NotificationSubscriptionTemplate[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/notification/SubscriptionTemplates"
});
}
@ -442,7 +442,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<WebApi.VssNotificationEvent> {
return this.beginRequest<WebApi.VssNotificationEvent>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/notification/TokenNotificationEvent",
body: notificationEvent
@ -463,7 +463,7 @@ export class NotificationRestClient extends RestClientBase {
): Promise<Notification.SubscriptionUserSettings> {
return this.beginRequest<Notification.SubscriptionUserSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/notification/Subscriptions/{subscriptionId}/UserSettings/{userId}",
routeValues: {

Просмотреть файл

@ -30,7 +30,7 @@ export class OperationsRestClient extends RestClientBase {
};
return this.beginRequest<Operations.Operation>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/operations/{operationId}",
routeValues: {
operationId: operationId

Просмотреть файл

@ -37,7 +37,7 @@ export class PipelinesRestClient extends RestClientBase {
};
return this.beginRequest<Pipelines.Artifact>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}/artifacts",
routeValues: {
project: project,
@ -70,7 +70,7 @@ export class PipelinesRestClient extends RestClientBase {
};
return this.beginRequest<Pipelines.Log>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}",
routeValues: {
project: project,
@ -102,7 +102,7 @@ export class PipelinesRestClient extends RestClientBase {
};
return this.beginRequest<Pipelines.LogCollection>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}",
routeValues: {
project: project,
@ -125,7 +125,7 @@ export class PipelinesRestClient extends RestClientBase {
): Promise<Pipelines.Pipeline> {
return this.beginRequest<Pipelines.Pipeline>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}",
routeValues: {
@ -153,7 +153,7 @@ export class PipelinesRestClient extends RestClientBase {
};
return this.beginRequest<Pipelines.Pipeline>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}",
routeValues: {
project: project,
@ -185,7 +185,7 @@ export class PipelinesRestClient extends RestClientBase {
};
return this.beginRequest<Pipelines.Pipeline[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}",
routeValues: {
project: project
@ -214,7 +214,7 @@ export class PipelinesRestClient extends RestClientBase {
};
return this.beginRequest<Pipelines.PreviewRun>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/preview",
routeValues: {
@ -240,7 +240,7 @@ export class PipelinesRestClient extends RestClientBase {
): Promise<Pipelines.Run> {
return this.beginRequest<Pipelines.Run>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}",
routeValues: {
project: project,
@ -262,7 +262,7 @@ export class PipelinesRestClient extends RestClientBase {
): Promise<Pipelines.Run[]> {
return this.beginRequest<Pipelines.Run[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}",
routeValues: {
project: project,
@ -291,7 +291,7 @@ export class PipelinesRestClient extends RestClientBase {
};
return this.beginRequest<Pipelines.Run>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/pipelines/{pipelineId}/runs/{runId}",
routeValues: {

Просмотреть файл

@ -30,7 +30,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyConfiguration> {
return this.beginRequest<Policy.PolicyConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
routeValues: {
@ -52,7 +52,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
routeValues: {
@ -74,7 +74,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyConfiguration> {
return this.beginRequest<Policy.PolicyConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
routeValues: {
project: project,
@ -102,7 +102,7 @@ export class PolicyRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
routeValues: {
project: project
@ -130,7 +130,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyConfiguration> {
return this.beginRequest<Policy.PolicyConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "{project}/_apis/policy/Configurations/{configurationId}",
routeValues: {
@ -153,7 +153,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyEvaluationRecord> {
return this.beginRequest<Policy.PolicyEvaluationRecord>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/Evaluations/{evaluationId}",
routeValues: {
project: project,
@ -174,7 +174,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyEvaluationRecord> {
return this.beginRequest<Policy.PolicyEvaluationRecord>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/policy/Evaluations/{evaluationId}",
routeValues: {
@ -209,7 +209,7 @@ export class PolicyRestClient extends RestClientBase {
};
return this.beginRequest<Policy.PolicyEvaluationRecord[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/Evaluations",
routeValues: {
project: project
@ -232,7 +232,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyConfiguration> {
return this.beginRequest<Policy.PolicyConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/configurations/{configurationId}/Revisions/{revisionId}",
routeValues: {
project: project,
@ -263,7 +263,7 @@ export class PolicyRestClient extends RestClientBase {
};
return this.beginRequest<Policy.PolicyConfiguration[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/configurations/{configurationId}/Revisions/{revisionId}",
routeValues: {
project: project,
@ -285,7 +285,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyType> {
return this.beginRequest<Policy.PolicyType>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/Types/{typeId}",
routeValues: {
project: project,
@ -304,7 +304,7 @@ export class PolicyRestClient extends RestClientBase {
): Promise<Policy.PolicyType[]> {
return this.beginRequest<Policy.PolicyType[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/policy/Types/{typeId}",
routeValues: {
project: project

Просмотреть файл

@ -31,7 +31,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/Profile/Attributes/{id}",
routeValues: {
@ -55,7 +55,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<Profile.ProfileAttribute>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/Profile/Attributes/{id}",
routeValues: {
id: id
@ -90,7 +90,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<Profile.ProfileAttribute[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/Profile/Attributes/{id}",
routeValues: {
id: id
@ -115,7 +115,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "_apis/Profile/Attributes/{id}",
routeValues: {
@ -136,7 +136,7 @@ export class ProfileRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "_apis/Profile/Attributes/{id}",
routeValues: {
@ -163,7 +163,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<Profile.Avatar>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Profile/Avatar/{id}",
routeValues: {
id: id
@ -194,7 +194,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<Profile.Avatar>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/Profile/Avatar/{id}",
routeValues: {
@ -213,7 +213,7 @@ export class ProfileRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/Profile/Avatar/{id}",
routeValues: {
@ -232,7 +232,7 @@ export class ProfileRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/Profile/Avatar/{id}",
routeValues: {
@ -258,7 +258,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<Profile.Profile>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "_apis/Profile/Profiles/{id}",
queryParams: queryValues,
@ -294,7 +294,7 @@ export class ProfileRestClient extends RestClientBase {
};
return this.beginRequest<Profile.Profile>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "_apis/Profile/Profiles/{id}",
routeValues: {
id: id
@ -315,7 +315,7 @@ export class ProfileRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "_apis/Profile/Profiles/{id}",
routeValues: {

Просмотреть файл

@ -24,7 +24,7 @@ export class ProjectAnalysisRestClient extends RestClientBase {
): Promise<ProjectAnalysis.ProjectLanguageAnalytics> {
return this.beginRequest<ProjectAnalysis.ProjectLanguageAnalytics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/projectanalysis/languagemetrics",
routeValues: {
project: project
@ -49,7 +49,7 @@ export class ProjectAnalysisRestClient extends RestClientBase {
};
return this.beginRequest<ProjectAnalysis.ProjectActivityMetrics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/projectanalysis/projectactivitymetrics",
routeValues: {
project: project
@ -83,7 +83,7 @@ export class ProjectAnalysisRestClient extends RestClientBase {
};
return this.beginRequest<ProjectAnalysis.RepositoryActivityMetrics[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/projectanalysis/repositoryactivitymetrics/{repositoryId}",
routeValues: {
project: project
@ -111,7 +111,7 @@ export class ProjectAnalysisRestClient extends RestClientBase {
};
return this.beginRequest<ProjectAnalysis.RepositoryActivityMetrics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/projectanalysis/repositoryactivitymetrics/{repositoryId}",
routeValues: {
project: project,

Просмотреть файл

@ -31,7 +31,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.AgentArtifactDefinition[]> {
return this.beginRequest<Release.AgentArtifactDefinition[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/agentartifacts",
routeValues: {
project: project,
@ -77,7 +77,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/Release/approvals",
routeValues: {
project: project
@ -103,7 +103,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseApproval> {
return this.beginRequest<Release.ReleaseApproval>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/Release/approvals/{approvalStepId}/history",
routeValues: {
project: project,
@ -130,7 +130,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseApproval>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/Release/approvals/{approvalId}",
routeValues: {
project: project,
@ -154,7 +154,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseApproval> {
return this.beginRequest<Release.ReleaseApproval>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/approvals/{approvalId}",
routeValues: {
@ -175,7 +175,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseApproval[]> {
return this.beginRequest<Release.ReleaseApproval[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/approvals",
routeValues: {
@ -209,7 +209,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/records/{recordId}/attachments/{type}/{name}",
routeValues: {
@ -251,7 +251,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/plan/{planId}/timelines/{timelineId}/records/{recordId}/attachments/{type}/{name}",
routeValues: {
@ -288,7 +288,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseTaskAttachment[]> {
return this.beginRequest<Release.ReleaseTaskAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/attachments/{type}",
routeValues: {
project: project,
@ -321,7 +321,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseTaskAttachment[]> {
return this.beginRequest<Release.ReleaseTaskAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/plan/{planId}/attachments/{type}",
routeValues: {
project: project,
@ -354,7 +354,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.AutoTriggerIssue[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/autotriggerissues",
routeValues: {
project: project
@ -379,7 +379,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/public/Release/badge/{projectId}/{releaseDefinitionId}/{environmentId}/{branchName}",
routeValues: {
projectId: projectId,
@ -412,7 +412,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.Change[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/changes",
routeValues: {
project: project,
@ -439,7 +439,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.DefinitionEnvironmentReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/definitionEnvironments",
routeValues: {
project: project
@ -460,7 +460,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseDefinition> {
return this.beginRequest<Release.ReleaseDefinition>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "POST",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
routeValues: {
@ -491,7 +491,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "DELETE",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
routeValues: {
@ -520,7 +520,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseDefinition>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
routeValues: {
project: project,
@ -548,7 +548,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
routeValues: {
@ -614,7 +614,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
routeValues: {
project: project
@ -642,7 +642,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseDefinition> {
return this.beginRequest<Release.ReleaseDefinition>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
routeValues: {
@ -665,7 +665,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseDefinition> {
return this.beginRequest<Release.ReleaseDefinition>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PUT",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
routeValues: {
@ -731,7 +731,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/Release/deployments",
routeValues: {
project: project
@ -755,7 +755,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.Deployment[]> {
return this.beginRequest<Release.Deployment[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/Release/deployments",
routeValues: {
@ -785,7 +785,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseEnvironment>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}",
routeValues: {
project: project,
@ -812,7 +812,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseEnvironment> {
return this.beginRequest<Release.ReleaseEnvironment>({
apiVersion: "7.1-preview.7",
apiVersion: "7.2-preview.7",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}",
routeValues: {
@ -836,7 +836,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseDefinitionEnvironmentTemplate> {
return this.beginRequest<Release.ReleaseDefinitionEnvironmentTemplate>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "POST",
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
routeValues: {
@ -862,7 +862,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "DELETE",
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
routeValues: {
@ -888,7 +888,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseDefinitionEnvironmentTemplate>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
routeValues: {
project: project
@ -913,7 +913,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseDefinitionEnvironmentTemplate[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
routeValues: {
project: project
@ -938,7 +938,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseDefinitionEnvironmentTemplate>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
routeValues: {
@ -966,7 +966,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.FavoriteItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/Release/favorites/{scope}",
routeValues: {
@ -997,7 +997,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/Release/favorites/{scope}",
routeValues: {
@ -1024,7 +1024,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.FavoriteItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/favorites/{scope}",
routeValues: {
project: project,
@ -1046,7 +1046,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Release/flightAssignments",
queryParams: queryValues
});
@ -1066,7 +1066,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.Folder> {
return this.beginRequest<Release.Folder>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/Release/folders/{*path}",
routeValues: {
@ -1089,7 +1089,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "{project}/_apis/Release/folders/{*path}",
routeValues: {
@ -1117,7 +1117,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.Folder[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/Release/folders/{*path}",
routeValues: {
project: project,
@ -1141,7 +1141,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.Folder> {
return this.beginRequest<Release.Folder>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/folders/{*path}",
routeValues: {
@ -1166,7 +1166,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseGates> {
return this.beginRequest<Release.ReleaseGates>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/gates/{gateStepId}",
routeValues: {
@ -1187,7 +1187,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseRevision[]> {
return this.beginRequest<Release.ReleaseRevision[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/history",
routeValues: {
project: project,
@ -1206,7 +1206,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<FormInput.InputValuesQuery> {
return this.beginRequest<FormInput.InputValuesQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/Release/artifacts/inputvaluesquery",
routeValues: {
@ -1232,7 +1232,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.AutoTriggerIssue[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/issues/{buildId}",
routeValues: {
project: project,
@ -1260,7 +1260,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/gates/{gateId}/tasks/{taskId}/logs",
routeValues: {
@ -1285,7 +1285,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/logs",
routeValues: {
@ -1317,7 +1317,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/tasks/{taskId}/logs",
routeValues: {
@ -1359,7 +1359,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/tasks/{taskId}/logs",
routeValues: {
@ -1401,7 +1401,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/deployPhases/{releaseDeployPhaseId}/tasks/{taskId}/logs",
routeValues: {
@ -1429,7 +1429,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ManualIntervention> {
return this.beginRequest<Release.ManualIntervention>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
routeValues: {
project: project,
@ -1451,7 +1451,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ManualIntervention[]> {
return this.beginRequest<Release.ManualIntervention[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
routeValues: {
project: project,
@ -1476,7 +1476,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ManualIntervention> {
return this.beginRequest<Release.ManualIntervention>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
routeValues: {
@ -1502,7 +1502,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.Metric[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/metrics",
routeValues: {
project: project
@ -1519,7 +1519,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.OrgPipelineReleaseSettings> {
return this.beginRequest<Release.OrgPipelineReleaseSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Release/orgPipelineReleaseSettings"
});
}
@ -1534,7 +1534,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.OrgPipelineReleaseSettings> {
return this.beginRequest<Release.OrgPipelineReleaseSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/Release/orgPipelineReleaseSettings",
body: newSettings
@ -1551,7 +1551,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ProjectPipelineReleaseSettings> {
return this.beginRequest<Release.ProjectPipelineReleaseSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/pipelineReleaseSettings",
routeValues: {
project: project
@ -1571,7 +1571,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ProjectPipelineReleaseSettings> {
return this.beginRequest<Release.ProjectPipelineReleaseSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/pipelineReleaseSettings",
routeValues: {
@ -1596,7 +1596,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ProjectReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/Release/projects",
queryParams: queryValues
});
@ -1678,7 +1678,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
routeTemplate: "{project}/_apis/Release/releases",
routeValues: {
project: project
@ -1704,7 +1704,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.Release> {
return this.beginRequest<Release.Release>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
method: "POST",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
@ -1732,7 +1732,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
method: "DELETE",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
@ -1770,7 +1770,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.Release>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
project: project,
@ -1805,7 +1805,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseDefinitionSummary>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
project: project
@ -1832,7 +1832,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
@ -1861,7 +1861,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
method: "PUT",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
@ -1886,7 +1886,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.Release> {
return this.beginRequest<Release.Release>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
method: "PUT",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
@ -1911,7 +1911,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.Release> {
return this.beginRequest<Release.Release>({
apiVersion: "7.1-preview.8",
apiVersion: "7.2-preview.8",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
routeValues: {
@ -1932,7 +1932,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseSettings> {
return this.beginRequest<Release.ReleaseSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releasesettings",
routeValues: {
project: project
@ -1952,7 +1952,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseSettings> {
return this.beginRequest<Release.ReleaseSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "{project}/_apis/Release/releasesettings",
routeValues: {
@ -1976,7 +1976,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}/revisions/{revision}",
routeValues: {
@ -1999,7 +1999,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseDefinitionRevision[]> {
return this.beginRequest<Release.ReleaseDefinitionRevision[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}/revisions/{revision}",
routeValues: {
project: project,
@ -2018,7 +2018,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.SummaryMailSection[]> {
return this.beginRequest<Release.SummaryMailSection[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/sendmail/{releaseId}",
routeValues: {
project: project,
@ -2039,7 +2039,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/Release/sendmail/{releaseId}",
routeValues: {
@ -2060,7 +2060,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}/sourcebranches",
routeValues: {
project: project,
@ -2083,7 +2083,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
routeValues: {
@ -2108,7 +2108,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
routeValues: {
@ -2133,7 +2133,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
routeValues: {
@ -2156,7 +2156,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
routeValues: {
project: project,
@ -2179,7 +2179,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
routeValues: {
@ -2204,7 +2204,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
routeValues: {
@ -2229,7 +2229,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
routeValues: {
@ -2252,7 +2252,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
routeValues: {
project: project,
@ -2269,7 +2269,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/tags",
routeValues: {
project: project
@ -2291,7 +2291,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseTask[]> {
return this.beginRequest<Release.ReleaseTask[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/deployPhases/{releaseDeployPhaseId}/tasks",
routeValues: {
project: project,
@ -2318,7 +2318,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ReleaseTask[]> {
return this.beginRequest<Release.ReleaseTask[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/tasks",
routeValues: {
project: project,
@ -2348,7 +2348,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseTask[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/tasks",
routeValues: {
project: project,
@ -2367,7 +2367,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ArtifactTypeDefinition[]> {
return this.beginRequest<Release.ArtifactTypeDefinition[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/artifacts/types",
routeValues: {
project: project
@ -2389,7 +2389,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ArtifactVersionQueryResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/artifacts/versions",
routeValues: {
project: project
@ -2408,7 +2408,7 @@ export class ReleaseRestClient extends RestClientBase {
): Promise<Release.ArtifactVersionQueryResult> {
return this.beginRequest<Release.ArtifactVersionQueryResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/Release/artifacts/versions",
routeValues: {
@ -2440,7 +2440,7 @@ export class ReleaseRestClient extends RestClientBase {
};
return this.beginRequest<Release.ReleaseWorkItemRef[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/workitems",
routeValues: {
project: project,

Просмотреть файл

@ -26,7 +26,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.AzureManagementGroupQueryResult> {
return this.beginRequest<ServiceEndpoint.AzureManagementGroupQueryResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/serviceendpoint/endpointproxy/azurermmanagementgroups"
});
}
@ -39,7 +39,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.AzureSubscriptionQueryResult> {
return this.beginRequest<ServiceEndpoint.AzureSubscriptionQueryResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/serviceendpoint/endpointproxy/azurermsubscriptions"
});
}
@ -62,7 +62,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ServiceEndpointRequestResult>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/serviceendpoint/endpointproxy",
routeValues: {
@ -85,7 +85,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<string[]> {
return this.beginRequest<string[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/serviceendpoint/endpointproxy",
routeValues: {
@ -105,7 +105,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.ServiceEndpoint> {
return this.beginRequest<ServiceEndpoint.ServiceEndpoint>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "POST",
routeTemplate: "_apis/serviceendpoint/endpoints/{endpointId}",
body: endpoint
@ -131,7 +131,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "DELETE",
routeTemplate: "_apis/serviceendpoint/endpoints/{endpointId}",
routeValues: {
@ -153,7 +153,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PATCH",
routeTemplate: "_apis/serviceendpoint/endpoints/{endpointId}",
routeValues: {
@ -181,7 +181,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ServiceEndpoint>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PUT",
routeTemplate: "_apis/serviceendpoint/endpoints/{endpointId}",
routeValues: {
@ -202,7 +202,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.ServiceEndpoint[]> {
return this.beginRequest<ServiceEndpoint.ServiceEndpoint[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PUT",
routeTemplate: "_apis/serviceendpoint/endpoints/{endpointId}",
body: endpoints
@ -227,7 +227,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ServiceEndpoint>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "{project}/_apis/serviceendpoint/endpoints/{endpointId}",
routeValues: {
project: project,
@ -271,7 +271,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ServiceEndpoint[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "{project}/_apis/serviceendpoint/endpoints/{endpointId}",
routeValues: {
project: project
@ -311,7 +311,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ServiceEndpoint[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
routeTemplate: "{project}/_apis/serviceendpoint/endpoints/{endpointId}",
routeValues: {
project: project
@ -338,7 +338,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ServiceEndpoint[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "POST",
routeTemplate: "{project}/_apis/serviceendpoint/endpoints/{endpointId}",
routeValues: {
@ -370,7 +370,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/serviceendpoint/{endpointId}/executionhistory",
routeValues: {
project: project,
@ -397,7 +397,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.ServiceEndpointExecutionRecord[]> {
return this.beginRequest<ServiceEndpoint.ServiceEndpointExecutionRecord[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/serviceendpoint/executionhistory",
routeValues: {
@ -415,7 +415,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.OAuthConfiguration> {
return this.beginRequest<ServiceEndpoint.OAuthConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/serviceendpoint/oauthconfiguration/{configurationId}",
body: configurationParams
@ -430,7 +430,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.OAuthConfiguration> {
return this.beginRequest<ServiceEndpoint.OAuthConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/serviceendpoint/oauthconfiguration/{configurationId}",
routeValues: {
@ -447,7 +447,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.OAuthConfiguration> {
return this.beginRequest<ServiceEndpoint.OAuthConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/serviceendpoint/oauthconfiguration/{configurationId}",
routeValues: {
configurationId: configurationId
@ -470,7 +470,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.OAuthConfiguration[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/serviceendpoint/oauthconfiguration/{configurationId}",
queryParams: queryValues
});
@ -486,7 +486,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<ServiceEndpoint.OAuthConfiguration> {
return this.beginRequest<ServiceEndpoint.OAuthConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/serviceendpoint/oauthconfiguration/{configurationId}",
routeValues: {
@ -510,7 +510,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ProjectReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/serviceendpoint/share/{endpointId}",
routeValues: {
endpointId: endpointId
@ -536,7 +536,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/serviceendpoint/share/{endpointId}",
routeValues: {
@ -563,7 +563,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<ServiceEndpoint.ServiceEndpointType[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/serviceendpoint/types",
queryParams: queryValues
});
@ -593,7 +593,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/serviceendpoint/vstsaadoauth/vstsaadoauth",
queryParams: queryValues
@ -606,7 +606,7 @@ export class ServiceEndpointRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/serviceendpoint/vstsaadoauth/vstsaadoauth"
});
}

Просмотреть файл

@ -34,7 +34,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.ConsumerAction>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/consumers/{consumerId}/Actions/{consumerActionId}",
routeValues: {
consumerId: consumerId,
@ -60,7 +60,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.ConsumerAction[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/consumers/{consumerId}/Actions/{consumerActionId}",
routeValues: {
consumerId: consumerId
@ -85,7 +85,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.Consumer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/Consumers/{consumerId}",
routeValues: {
consumerId: consumerId
@ -108,7 +108,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.Consumer[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/Consumers/{consumerId}",
queryParams: queryValues
});
@ -122,7 +122,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<Notification.SubscriptionDiagnostics> {
return this.beginRequest<Notification.SubscriptionDiagnostics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/subscriptions/{subscriptionId}/diagnostics",
routeValues: {
subscriptionId: subscriptionId
@ -140,7 +140,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<Notification.SubscriptionDiagnostics> {
return this.beginRequest<Notification.SubscriptionDiagnostics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/hooks/subscriptions/{subscriptionId}/diagnostics",
routeValues: {
@ -162,7 +162,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.EventTypeDescriptor> {
return this.beginRequest<ServiceHooks.EventTypeDescriptor>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/publishers/{publisherId}/EventTypes/{eventTypeId}",
routeValues: {
publisherId: publisherId,
@ -181,7 +181,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.EventTypeDescriptor[]> {
return this.beginRequest<ServiceHooks.EventTypeDescriptor[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/publishers/{publisherId}/EventTypes/{eventTypeId}",
routeValues: {
publisherId: publisherId
@ -206,7 +206,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.PublisherEvent[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/public/hooks/ExternalEvents",
queryParams: queryValues
@ -225,7 +225,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.Notification> {
return this.beginRequest<ServiceHooks.Notification>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/subscriptions/{subscriptionId}/Notifications/{notificationId}",
routeValues: {
subscriptionId: subscriptionId,
@ -256,7 +256,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.Notification[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/subscriptions/{subscriptionId}/Notifications/{notificationId}",
routeValues: {
subscriptionId: subscriptionId
@ -275,7 +275,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.NotificationsQuery> {
return this.beginRequest<ServiceHooks.NotificationsQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/hooks/NotificationsQuery",
body: query
@ -292,7 +292,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<FormInput.InputValuesQuery> {
return this.beginRequest<FormInput.InputValuesQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/hooks/publishers/{publisherId}/inputValuesQuery",
routeValues: {
@ -312,7 +312,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.Publisher> {
return this.beginRequest<ServiceHooks.Publisher>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/Publishers/{publisherId}",
routeValues: {
publisherId: publisherId
@ -328,7 +328,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.Publisher[]> {
return this.beginRequest<ServiceHooks.Publisher[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/Publishers/{publisherId}"
});
}
@ -343,7 +343,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.PublishersQuery> {
return this.beginRequest<ServiceHooks.PublishersQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/hooks/PublishersQuery",
body: query
@ -360,7 +360,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.Subscription> {
return this.beginRequest<ServiceHooks.Subscription>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/hooks/Subscriptions/{subscriptionId}",
body: subscription
@ -377,7 +377,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/hooks/Subscriptions/{subscriptionId}",
routeValues: {
@ -396,7 +396,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.Subscription> {
return this.beginRequest<ServiceHooks.Subscription>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/Subscriptions/{subscriptionId}",
routeValues: {
subscriptionId: subscriptionId
@ -427,7 +427,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.Subscription[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/hooks/Subscriptions/{subscriptionId}",
queryParams: queryValues
});
@ -445,7 +445,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.Subscription> {
return this.beginRequest<ServiceHooks.Subscription>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/hooks/Subscriptions/{subscriptionId}",
routeValues: {
@ -465,7 +465,7 @@ export class ServiceHooksRestClient extends RestClientBase {
): Promise<ServiceHooks.SubscriptionsQuery> {
return this.beginRequest<ServiceHooks.SubscriptionsQuery>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/hooks/SubscriptionsQuery",
body: query
@ -488,7 +488,7 @@ export class ServiceHooksRestClient extends RestClientBase {
};
return this.beginRequest<ServiceHooks.Notification>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/hooks/TestNotifications/{notificationId}",
queryParams: queryValues,

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -44,7 +44,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
@ -73,7 +73,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestAttachmentReference> {
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
@ -107,7 +107,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
@ -136,7 +136,7 @@ export class TestRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
@ -162,7 +162,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestAttachment[]> {
return this.beginRequest<Test.TestAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
project: project,
@ -188,7 +188,7 @@ export class TestRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
@ -222,7 +222,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
@ -255,7 +255,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
project: project,
@ -288,7 +288,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",
routeValues: {
@ -315,7 +315,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestAttachmentReference> {
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
routeValues: {
@ -340,7 +340,7 @@ export class TestRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
routeValues: {
@ -363,7 +363,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestAttachment[]> {
return this.beginRequest<Test.TestAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
routeValues: {
project: project,
@ -386,7 +386,7 @@ export class TestRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",
routeValues: {
@ -409,7 +409,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.WorkItemReference[]> {
return this.beginRequest<Test.WorkItemReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Bugs",
routeValues: {
project: project,
@ -438,7 +438,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.BuildCoverage[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/CodeCoverage",
routeValues: {
project: project
@ -466,7 +466,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.CodeCoverageSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/CodeCoverage",
routeValues: {
project: project
@ -493,7 +493,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/CodeCoverage",
routeValues: {
@ -522,7 +522,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestRunCoverage[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/Runs/{runId}/CodeCoverage",
routeValues: {
project: project,
@ -542,7 +542,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.CustomTestFieldDefinition[]> {
return this.beginRequest<Test.CustomTestFieldDefinition[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/ExtensionFields",
routeValues: {
@ -566,7 +566,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.CustomTestFieldDefinition[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/ExtensionFields",
routeValues: {
project: project
@ -585,7 +585,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestResultHistory> {
return this.beginRequest<Test.TestResultHistory>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/Results/History",
routeValues: {
@ -617,7 +617,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestIterationDetailsModel>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",
routeValues: {
project: project,
@ -649,7 +649,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestIterationDetailsModel[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",
routeValues: {
project: project,
@ -670,7 +670,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.LinkedWorkItemsQueryResult[]> {
return this.beginRequest<Test.LinkedWorkItemsQueryResult[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/LinkedWorkItemsQuery",
routeValues: {
@ -692,7 +692,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestMessageLogDetails[]> {
return this.beginRequest<Test.TestMessageLogDetails[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/Runs/{runId}/MessageLogs",
routeValues: {
project: project,
@ -723,7 +723,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestPoint>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",
routeValues: {
project: project,
@ -773,7 +773,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestPoint[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",
routeValues: {
project: project,
@ -802,7 +802,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestPoint[]> {
return this.beginRequest<Test.TestPoint[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",
routeValues: {
@ -836,7 +836,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestPointsQuery>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/test/Points",
routeValues: {
@ -879,7 +879,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultsDetails>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/test/ResultDetailsByBuild",
routeValues: {
project: project
@ -923,7 +923,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultsDetails>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/test/ResultDetailsByRelease",
routeValues: {
project: project
@ -944,7 +944,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestResultDocument> {
return this.beginRequest<Test.TestResultDocument>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/Runs/{runId}/ResultDocument",
routeValues: {
@ -978,7 +978,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/test/ResultGroupsByBuild",
routeValues: {
project: project
@ -1018,7 +1018,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/test/ResultGroupsByRelease",
routeValues: {
project: project
@ -1044,7 +1044,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestResultMetaData[]> {
return this.beginRequest<Test.TestResultMetaData[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/test/Results/ResultMetaData",
routeValues: {
@ -1064,7 +1064,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.ResultRetentionSettings> {
return this.beginRequest<Test.ResultRetentionSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/ResultRetentionSettings",
routeValues: {
project: project
@ -1084,7 +1084,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.ResultRetentionSettings> {
return this.beginRequest<Test.ResultRetentionSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/test/ResultRetentionSettings",
routeValues: {
@ -1108,7 +1108,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestCaseResult[]> {
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.6",
apiVersion: "7.2-preview.6",
method: "POST",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
routeValues: {
@ -1139,7 +1139,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestCaseResult>({
apiVersion: "7.1-preview.6",
apiVersion: "7.2-preview.6",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
routeValues: {
project: project,
@ -1177,7 +1177,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.6",
apiVersion: "7.2-preview.6",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
routeValues: {
project: project,
@ -1201,7 +1201,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestCaseResult[]> {
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.6",
apiVersion: "7.2-preview.6",
method: "PATCH",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",
routeValues: {
@ -1224,7 +1224,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestResultsQuery> {
return this.beginRequest<Test.TestResultsQuery>({
apiVersion: "7.1-preview.6",
apiVersion: "7.2-preview.6",
method: "POST",
routeTemplate: "{project}/_apis/test/Results",
routeValues: {
@ -1260,7 +1260,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/ResultsByBuild",
routeValues: {
project: project
@ -1303,7 +1303,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/ResultsByRelease",
routeValues: {
project: project
@ -1340,7 +1340,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultSummary>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/ResultSummaryByBuild",
routeValues: {
project: project
@ -1375,7 +1375,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultSummary>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/ResultSummaryByRelease",
routeValues: {
project: project
@ -1394,7 +1394,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestResultSummary[]> {
return this.beginRequest<Test.TestResultSummary[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/_apis/test/ResultSummaryByRelease",
routeValues: {
@ -1420,7 +1420,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestSummaryForWorkItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/ResultSummaryByRequirement",
routeValues: {
@ -1441,7 +1441,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.AggregatedDataForResultTrend[]> {
return this.beginRequest<Test.AggregatedDataForResultTrend[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/ResultTrendByBuild",
routeValues: {
@ -1461,7 +1461,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.AggregatedDataForResultTrend[]> {
return this.beginRequest<Test.AggregatedDataForResultTrend[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/ResultTrendByRelease",
routeValues: {
@ -1483,7 +1483,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestRunStatistic> {
return this.beginRequest<Test.TestRunStatistic>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Runs/{runId}/Statistics",
routeValues: {
project: project,
@ -1504,7 +1504,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestRun> {
return this.beginRequest<Test.TestRun>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/_apis/test/Runs/{runId}",
routeValues: {
@ -1526,7 +1526,7 @@ export class TestRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/test/Runs/{runId}",
routeValues: {
@ -1554,7 +1554,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestRun>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Runs/{runId}",
routeValues: {
project: project,
@ -1601,7 +1601,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestRun[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Runs/{runId}",
routeValues: {
project: project
@ -1671,7 +1671,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Runs/{runId}",
routeValues: {
project: project
@ -1699,7 +1699,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestRun> {
return this.beginRequest<Test.TestRun>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/test/Runs/{runId}",
routeValues: {
@ -1725,7 +1725,7 @@ export class TestRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Test.TestSession>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/{team}/_apis/test/Session/{testSessionId}",
routeValues: {
@ -1767,7 +1767,7 @@ export class TestRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Test.TestSession[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/test/Session/{testSessionId}",
routeValues: {
project: project,
@ -1792,7 +1792,7 @@ export class TestRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Test.TestSession>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/test/Session/{testSessionId}",
routeValues: {
@ -1813,7 +1813,7 @@ export class TestRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/test/SharedParameter/{sharedParameterId}",
routeValues: {
@ -1833,7 +1833,7 @@ export class TestRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/test/SharedStep/{sharedStepId}",
routeValues: {
@ -1859,7 +1859,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.SuiteTestCase[]> {
return this.beginRequest<Test.SuiteTestCase[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
routeValues: {
@ -1888,7 +1888,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.SuiteTestCase> {
return this.beginRequest<Test.SuiteTestCase>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
routeValues: {
project: project,
@ -1914,7 +1914,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.SuiteTestCase[]> {
return this.beginRequest<Test.SuiteTestCase[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
routeValues: {
project: project,
@ -1941,7 +1941,7 @@ export class TestRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
routeValues: {
@ -1972,7 +1972,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.SuiteTestCase[]> {
return this.beginRequest<Test.SuiteTestCase[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",
routeValues: {
@ -1998,7 +1998,7 @@ export class TestRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/test/TestCases/{testCaseId}",
routeValues: {
@ -2020,7 +2020,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestHistoryQuery> {
return this.beginRequest<Test.TestHistoryQuery>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/test/Results/TestHistory",
routeValues: {
@ -2040,7 +2040,7 @@ export class TestRestClient extends RestClientBase {
): Promise<number> {
return this.beginRequest<number>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/TestSettings/{testSettingsId}",
routeValues: {
@ -2060,7 +2060,7 @@ export class TestRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/test/TestSettings/{testSettingsId}",
routeValues: {
@ -2080,7 +2080,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.TestSettings> {
return this.beginRequest<Test.TestSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/TestSettings/{testSettingsId}",
routeValues: {
project: project,
@ -2099,7 +2099,7 @@ export class TestRestClient extends RestClientBase {
): Promise<Test.WorkItemToTestLinks> {
return this.beginRequest<Test.WorkItemToTestLinks>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/TestMethods/WorkItems",
routeValues: {
@ -2126,7 +2126,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<boolean>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",
routeValues: {
@ -2150,7 +2150,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestToWorkItemLinks>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",
routeValues: {
@ -2189,7 +2189,7 @@ export class TestRestClient extends RestClientBase {
};
return this.beginRequest<Test.WorkItemReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/test/Results/WorkItems",
routeValues: {
project: project

Просмотреть файл

@ -28,7 +28,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestConfiguration> {
return this.beginRequest<TestPlan.TestConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
routeValues: {
@ -54,7 +54,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
routeValues: {
@ -76,7 +76,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestConfiguration> {
return this.beginRequest<TestPlan.TestConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
routeValues: {
project: project,
@ -101,7 +101,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
routeValues: {
project: project
@ -133,7 +133,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.TestConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
routeValues: {
@ -175,7 +175,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.TestEntityCount[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Count/{planId}",
routeValues: {
project: project,
@ -197,7 +197,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestPlan> {
return this.beginRequest<TestPlan.TestPlan>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
routeValues: {
@ -219,7 +219,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
routeValues: {
@ -241,7 +241,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestPlan> {
return this.beginRequest<TestPlan.TestPlan>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
routeValues: {
project: project,
@ -275,7 +275,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
routeValues: {
project: project
@ -303,7 +303,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestPlan> {
return this.beginRequest<TestPlan.TestPlan>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
routeValues: {
@ -332,7 +332,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.SuiteEntry[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/SuiteEntry/{suiteId}",
routeValues: {
project: project,
@ -356,7 +356,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.SuiteEntry[]> {
return this.beginRequest<TestPlan.SuiteEntry[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/testplan/SuiteEntry/{suiteId}",
routeValues: {
@ -383,7 +383,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestSuite[]> {
return this.beginRequest<TestPlan.TestSuite[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{parentSuiteId}/bulk",
routeValues: {
@ -409,7 +409,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestSuite> {
return this.beginRequest<TestPlan.TestSuite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
routeValues: {
@ -434,7 +434,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
routeValues: {
@ -465,7 +465,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.TestSuite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
routeValues: {
project: project,
@ -500,7 +500,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
routeValues: {
project: project,
@ -531,7 +531,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestSuite> {
return this.beginRequest<TestPlan.TestSuite>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
routeValues: {
@ -557,7 +557,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.TestSuite[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/testplan/Suites",
queryParams: queryValues
});
@ -579,7 +579,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestCase[]> {
return this.beginRequest<TestPlan.TestCase[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
routeValues: {
@ -616,7 +616,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.TestCase[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
routeValues: {
project: project,
@ -669,7 +669,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
routeValues: {
project: project,
@ -705,7 +705,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
routeValues: {
@ -737,7 +737,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "DELETE",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
routeValues: {
@ -765,7 +765,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestCase[]> {
return this.beginRequest<TestPlan.TestCase[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
routeValues: {
@ -787,7 +787,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.CloneTestCaseOperationInformation> {
return this.beginRequest<TestPlan.CloneTestCaseOperationInformation>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testplan/TestCases/CloneTestCaseOperation/{cloneOperationId}",
routeValues: {
@ -809,7 +809,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.CloneTestCaseOperationInformation> {
return this.beginRequest<TestPlan.CloneTestCaseOperationInformation>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testplan/TestCases/CloneTestCaseOperation/{cloneOperationId}",
routeValues: {
project: project,
@ -830,7 +830,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/testplan/TestCases/TestCaseFile",
@ -853,7 +853,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testplan/TestCases/{testCaseId}",
routeValues: {
@ -881,7 +881,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.CloneTestPlanOperationInformation>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Plans/CloneOperation/{cloneOperationId}",
routeValues: {
@ -904,7 +904,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.CloneTestPlanOperationInformation> {
return this.beginRequest<TestPlan.CloneTestPlanOperationInformation>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testplan/Plans/CloneOperation/{cloneOperationId}",
routeValues: {
project: project,
@ -939,7 +939,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.TestPoint[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestPoint/{pointIds}",
routeValues: {
project: project,
@ -985,7 +985,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestPoint/{pointIds}",
routeValues: {
project: project,
@ -1026,7 +1026,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.TestPoint[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestPoint/{pointIds}",
routeValues: {
@ -1057,7 +1057,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<TestPlan.CloneTestSuiteOperationInformation>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Suites/CloneOperation/{cloneOperationId}",
routeValues: {
@ -1080,7 +1080,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.CloneTestSuiteOperationInformation> {
return this.beginRequest<TestPlan.CloneTestSuiteOperationInformation>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testplan/Suites/CloneOperation/{cloneOperationId}",
routeValues: {
project: project,
@ -1101,7 +1101,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestVariable> {
return this.beginRequest<TestPlan.TestVariable>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
routeValues: {
@ -1123,7 +1123,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
routeValues: {
@ -1145,7 +1145,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestVariable> {
return this.beginRequest<TestPlan.TestVariable>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
routeValues: {
project: project,
@ -1170,7 +1170,7 @@ export class TestPlanRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
routeValues: {
project: project
@ -1198,7 +1198,7 @@ export class TestPlanRestClient extends RestClientBase {
): Promise<TestPlan.TestVariable> {
return this.beginRequest<TestPlan.TestVariable>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
routeValues: {

Просмотреть файл

@ -41,7 +41,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -68,7 +68,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestAttachmentReference> {
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -100,7 +100,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -127,7 +127,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -161,7 +161,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -196,7 +196,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -225,7 +225,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -249,7 +249,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestAttachment[]> {
return this.beginRequest<Test.TestAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
project: project,
@ -275,7 +275,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -309,7 +309,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -342,7 +342,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
project: project,
@ -375,7 +375,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/attachments/{attachmentId}",
routeValues: {
@ -400,7 +400,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestAttachmentReference> {
return this.beginRequest<Test.TestAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/attachments/{attachmentId}",
routeValues: {
@ -423,7 +423,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/attachments/{attachmentId}",
routeValues: {
@ -448,7 +448,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/attachments/{attachmentId}",
routeValues: {
@ -469,7 +469,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestAttachment[]> {
return this.beginRequest<Test.TestAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/attachments/{attachmentId}",
routeValues: {
project: project,
@ -492,7 +492,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/attachments/{attachmentId}",
routeValues: {
@ -515,7 +515,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.WorkItemReference[]> {
return this.beginRequest<Test.WorkItemReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/bugs",
routeValues: {
project: project,
@ -542,7 +542,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.BuildCoverage[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/codecoverage",
routeValues: {
project: project
@ -568,7 +568,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.CodeCoverageSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/codecoverage",
routeValues: {
project: project
@ -595,7 +595,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/codecoverage",
routeValues: {
@ -622,7 +622,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestRunCoverage[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/codecoverage",
routeValues: {
project: project,
@ -644,7 +644,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<string> {
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/testresults/codecoverage/filecoverage",
@ -665,7 +665,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultHistory> {
return this.beginRequest<Test.TestResultHistory>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/results/History",
routeValues: {
@ -687,7 +687,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestMessageLogDetails[]> {
return this.beginRequest<Test.TestMessageLogDetails[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/MessageLogs",
routeValues: {
project: project,
@ -727,7 +727,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.PipelineTestMetrics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/metrics",
routeValues: {
project: project
@ -768,7 +768,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultsDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultdetailsbybuild",
routeValues: {
project: project
@ -812,7 +812,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultsDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultdetailsbyrelease",
routeValues: {
project: project
@ -833,7 +833,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultDocument> {
return this.beginRequest<Test.TestResultDocument>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/ResultDocument",
routeValues: {
@ -867,7 +867,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultgroupsbybuild",
routeValues: {
project: project
@ -907,7 +907,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultgroupsbyrelease",
routeValues: {
project: project
@ -939,7 +939,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultMetaData[]>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "POST",
routeTemplate: "{project}/_apis/testresults/results/ResultMetaData/{testCaseReferenceId}",
routeValues: {
@ -964,7 +964,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultMetaData> {
return this.beginRequest<Test.TestResultMetaData>({
apiVersion: "7.1-preview.4",
apiVersion: "7.2-preview.4",
method: "PATCH",
routeTemplate: "{project}/_apis/testresults/results/ResultMetaData/{testCaseReferenceId}",
routeValues: {
@ -985,7 +985,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultsQuery> {
return this.beginRequest<Test.TestResultsQuery>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testresults/results",
routeValues: {
@ -1020,7 +1020,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testresults/results/query",
routeValues: {
@ -1043,7 +1043,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestCaseResult[]> {
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testResultId}",
routeValues: {
@ -1072,7 +1072,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestCaseResult>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testResultId}",
routeValues: {
project: project,
@ -1111,7 +1111,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testResultId}",
routeValues: {
project: project,
@ -1133,7 +1133,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestCaseResult[]> {
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testResultId}",
routeValues: {
@ -1170,7 +1170,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultsbybuild",
routeValues: {
project: project
@ -1217,7 +1217,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultsbypipeline",
routeValues: {
project: project
@ -1263,7 +1263,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultsbyrelease",
routeValues: {
project: project
@ -1308,7 +1308,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultsDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultsgroupDetails",
routeValues: {
project: project
@ -1340,7 +1340,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultsummarybybuild",
routeValues: {
project: project
@ -1377,7 +1377,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultsummarybypipeline",
routeValues: {
project: project
@ -1412,7 +1412,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/resultsummarybyrelease",
routeValues: {
project: project
@ -1431,7 +1431,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultSummary[]> {
return this.beginRequest<Test.TestResultSummary[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/resultsummarybyrelease",
routeValues: {
@ -1457,7 +1457,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestSummaryForWorkItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/resultsummarybyrequirement",
routeValues: {
@ -1478,7 +1478,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.AggregatedDataForResultTrend[]> {
return this.beginRequest<Test.AggregatedDataForResultTrend[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/ResultTrendByBuild",
routeValues: {
@ -1498,7 +1498,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.AggregatedDataForResultTrend[]> {
return this.beginRequest<Test.AggregatedDataForResultTrend[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/ResultTrendByRelease",
routeValues: {
@ -1518,7 +1518,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestRun> {
return this.beginRequest<Test.TestRun>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}",
routeValues: {
@ -1538,7 +1538,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testresults/runs/{runId}",
routeValues: {
@ -1567,7 +1567,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestRun>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}",
routeValues: {
project: project,
@ -1612,7 +1612,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestRun[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}",
routeValues: {
project: project
@ -1682,7 +1682,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}",
routeValues: {
project: project
@ -1708,7 +1708,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestRun> {
return this.beginRequest<Test.TestRun>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/testresults/runs/{runId}",
routeValues: {
@ -1731,7 +1731,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestRunStatistic> {
return this.beginRequest<Test.TestRunStatistic>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/runsummary",
routeValues: {
project: project,
@ -1756,7 +1756,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestResultsSettings>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/testresults/settings",
routeValues: {
project: project
@ -1777,7 +1777,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultsSettings> {
return this.beginRequest<Test.TestResultsSettings>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/_apis/testresults/settings",
routeValues: {
@ -1812,7 +1812,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestCaseResult[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testResultId}/SimilarTestResults",
routeValues: {
project: project,
@ -1838,7 +1838,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestRunStatistic> {
return this.beginRequest<Test.TestRunStatistic>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/statistics",
routeValues: {
project: project,
@ -1868,7 +1868,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/codecoverage/status/{*definition}",
routeValues: {
project: project,
@ -1892,7 +1892,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestTag[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/tags",
routeValues: {
project: project
@ -1918,7 +1918,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestTag[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/tags",
routeValues: {
project: project
@ -1939,7 +1939,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestTag[]> {
return this.beginRequest<Test.TestTag[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/tags",
routeValues: {
@ -1964,7 +1964,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestTagSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/tagsummary",
routeValues: {
project: project
@ -1990,7 +1990,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestTagSummary>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/tagsummary",
routeValues: {
project: project
@ -2013,7 +2013,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/uploadbuildattachments/{buildId}",
routeValues: {
@ -2038,7 +2038,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestLogStoreAttachmentReference> {
return this.beginRequest<Test.TestLogStoreAttachmentReference>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testattachments",
routeValues: {
@ -2067,7 +2067,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testattachments",
routeValues: {
@ -2096,7 +2096,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testattachments",
routeValues: {
@ -2119,7 +2119,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestLogStoreAttachment[]> {
return this.beginRequest<Test.TestLogStoreAttachment[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testattachments",
routeValues: {
project: project,
@ -2146,7 +2146,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testattachments",
routeValues: {
@ -2169,7 +2169,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultFailureType> {
return this.beginRequest<Test.TestResultFailureType>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/testfailuretype/{failureTypeId}",
routeValues: {
@ -2191,7 +2191,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testresults/testfailuretype/{failureTypeId}",
routeValues: {
@ -2211,7 +2211,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestResultFailureType[]> {
return this.beginRequest<Test.TestResultFailureType[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/testfailuretype/{failureTypeId}",
routeValues: {
project: project
@ -2231,7 +2231,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.TestHistoryQuery> {
return this.beginRequest<Test.TestHistoryQuery>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testresults/results/TestHistory",
routeValues: {
@ -2274,7 +2274,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/testlog",
routeValues: {
project: project
@ -2325,7 +2325,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{resultId}/testlog",
routeValues: {
project: project,
@ -2381,7 +2381,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{resultId}/testlog",
routeValues: {
project: project,
@ -2432,7 +2432,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testlog",
routeValues: {
project: project,
@ -2472,7 +2472,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestLogStoreEndpointDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/testlogstoreendpoint",
routeValues: {
project: project
@ -2500,7 +2500,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestLogStoreEndpointDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/testlogstoreendpoint",
routeValues: {
@ -2533,7 +2533,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestLogStoreEndpointDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{resultId}/testlogstoreendpoint",
routeValues: {
project: project,
@ -2570,7 +2570,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestLogStoreEndpointDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{resultId}/testlogstoreendpoint",
routeValues: {
project: project,
@ -2607,7 +2607,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestLogStoreEndpointDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{resultId}/testlogstoreendpoint",
routeValues: {
@ -2640,7 +2640,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestLogStoreEndpointDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testlogstoreendpoint",
routeValues: {
project: project,
@ -2674,7 +2674,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestLogStoreEndpointDetails>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/testlogstoreendpoint",
routeValues: {
@ -2695,7 +2695,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<number> {
return this.beginRequest<number>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/testresults/testsettings",
routeValues: {
@ -2719,7 +2719,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/testresults/testsettings",
routeValues: {
@ -2743,7 +2743,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testresults/testsettings",
routeValues: {
project: project
@ -2762,7 +2762,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.WorkItemToTestLinks> {
return this.beginRequest<Test.WorkItemToTestLinks>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testresults/testmethods/workitems",
routeValues: {
@ -2789,7 +2789,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<boolean>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "{project}/_apis/testresults/testmethods/{testName}/workitems/{workItemId}",
routeValues: {
@ -2813,7 +2813,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.TestToWorkItemLinks>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "{project}/_apis/testresults/testmethods/{testName}/workitems/{workItemId}",
routeValues: {
@ -2835,7 +2835,7 @@ export class TestResultsRestClient extends RestClientBase {
): Promise<Test.WorkItemReference[]> {
return this.beginRequest<Test.WorkItemReference[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testresults/runs/{runId}/results/{testCaseResultId}/workitems",
routeValues: {
project: project,
@ -2876,7 +2876,7 @@ export class TestResultsRestClient extends RestClientBase {
};
return this.beginRequest<Test.WorkItemReference[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/_apis/testresults/results/workitems",
routeValues: {
project: project

Просмотреть файл

@ -40,7 +40,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcBranch>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/Branches/{*path}",
routeValues: {
project: project
@ -74,7 +74,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcBranch[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/Branches/{*path}",
routeValues: {
project: project
@ -105,7 +105,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcBranchRef[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/Branches/{*path}",
routeValues: {
project: project
@ -133,7 +133,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Response>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/tfvc/changesets/{id}/changes",
routeValues: {
id: id
@ -159,7 +159,7 @@ export class TfvcRestClient extends RestClientBase {
): Promise<Tfvc.TfvcChangesetRef> {
return this.beginRequest<Tfvc.TfvcChangesetRef>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "POST",
routeTemplate: "{project}/_apis/tfvc/changesets/{id}",
routeValues: {
@ -211,7 +211,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcChangeset>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/tfvc/changesets/{id}",
routeValues: {
project: project,
@ -249,7 +249,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcChangesetRef[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/_apis/tfvc/changesets/{id}",
routeValues: {
project: project
@ -268,7 +268,7 @@ export class TfvcRestClient extends RestClientBase {
): Promise<Tfvc.TfvcChangesetRef[]> {
return this.beginRequest<Tfvc.TfvcChangesetRef[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/tfvc/ChangesetsBatch",
body: changesetsRequestData
@ -285,7 +285,7 @@ export class TfvcRestClient extends RestClientBase {
): Promise<Tfvc.AssociatedWorkItem[]> {
return this.beginRequest<Tfvc.AssociatedWorkItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/tfvc/changesets/{id}/workItems",
routeValues: {
id: id
@ -305,7 +305,7 @@ export class TfvcRestClient extends RestClientBase {
): Promise<Tfvc.TfvcItem[][]> {
return this.beginRequest<Tfvc.TfvcItem[][]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/tfvc/ItemBatch",
routeValues: {
@ -327,7 +327,7 @@ export class TfvcRestClient extends RestClientBase {
): Promise<ArrayBuffer> {
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/tfvc/ItemBatch",
@ -372,7 +372,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcItem>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
routeValues: {
project: project
@ -415,7 +415,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/octet-stream",
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
routeValues: {
@ -450,7 +450,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
routeValues: {
project: project
@ -493,7 +493,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "text/plain",
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
routeValues: {
@ -537,7 +537,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<ArrayBuffer>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
httpResponseType: "application/zip",
routeTemplate: "{project}/_apis/tfvc/Items/{*path}",
routeValues: {
@ -566,7 +566,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/tfvc/labels/{labelId}/items",
routeValues: {
labelId: labelId
@ -593,7 +593,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcLabel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/Labels/{labelId}",
routeValues: {
project: project,
@ -625,7 +625,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcLabelRef[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/Labels/{labelId}",
routeValues: {
project: project
@ -654,7 +654,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcChange[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/tfvc/shelvesets/changes",
queryParams: queryValues
});
@ -677,7 +677,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcShelveset>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/tfvc/shelvesets",
queryParams: queryValues
});
@ -703,7 +703,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcShelvesetRef[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/tfvc/shelvesets",
queryParams: queryValues
});
@ -723,7 +723,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.AssociatedWorkItem[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/tfvc/shelvesets/workitems",
queryParams: queryValues
});
@ -745,7 +745,7 @@ export class TfvcRestClient extends RestClientBase {
};
return this.beginRequest<Tfvc.TfvcStatistics>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/tfvc/stats",
routeValues: {
project: project

Просмотреть файл

@ -30,7 +30,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BacklogConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/backlogconfiguration",
routeValues: {
project: project,
@ -54,7 +54,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BacklogLevelWorkItems>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/backlogs/{backlogId}/workItems",
routeValues: {
project: project,
@ -79,7 +79,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BacklogLevelConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/backlogs/{id}",
routeValues: {
project: project,
@ -102,7 +102,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BacklogLevelConfiguration[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/backlogs/{id}",
routeValues: {
project: project,
@ -135,7 +135,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardBadge>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boardbadge/{id}",
routeValues: {
project: project,
@ -170,7 +170,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<string>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boardbadge/{id}",
routeValues: {
project: project,
@ -191,7 +191,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.BoardSuggestedValue[]> {
return this.beginRequest<Work.BoardSuggestedValue[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/work/boardcolumns",
routeValues: {
project: project
@ -221,7 +221,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.ParentChildWIMap[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/boardparents",
routeValues: {
project: project,
@ -241,7 +241,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.BoardSuggestedValue[]> {
return this.beginRequest<Work.BoardSuggestedValue[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/work/boardrows",
routeValues: {
project: project
@ -264,7 +264,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.Board>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
routeValues: {
project: project,
@ -287,7 +287,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
routeValues: {
project: project,
@ -313,7 +313,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<{ [key: string] : string; }>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
routeValues: {
@ -340,7 +340,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardUserSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/boardusersettings",
routeValues: {
project: project,
@ -367,7 +367,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardUserSettings>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/boardusersettings",
routeValues: {
@ -394,7 +394,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamCapacity>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
routeValues: {
project: project,
@ -421,7 +421,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamMemberCapacityIdentityRef>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
routeValues: {
project: project,
@ -449,7 +449,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamMemberCapacityIdentityRef[]>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
routeValues: {
@ -480,7 +480,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamMemberCapacityIdentityRef>({
apiVersion: "7.1-preview.3",
apiVersion: "7.2-preview.3",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
routeValues: {
@ -508,7 +508,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardCardRuleSettings>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardrulesettings",
routeValues: {
project: project,
@ -535,7 +535,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardCardRuleSettings>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardrulesettings",
routeValues: {
@ -562,7 +562,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/taskboard/cardrulesettings",
routeValues: {
@ -588,7 +588,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardCardSettings>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardsettings",
routeValues: {
project: project,
@ -615,7 +615,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardCardSettings>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardsettings",
routeValues: {
@ -642,7 +642,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/work/taskboard/cardsettings",
routeValues: {
@ -670,7 +670,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardChart>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
routeValues: {
project: project,
@ -696,7 +696,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardChartReference[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
routeValues: {
project: project,
@ -725,7 +725,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardChart>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
routeValues: {
@ -753,7 +753,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardColumn[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/columns/{id}",
routeValues: {
project: project,
@ -780,7 +780,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardColumn[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/columns/{id}",
routeValues: {
@ -816,7 +816,7 @@ export class WorkRestClient extends RestClientBase {
};
return this.beginRequest<Work.DeliveryViewData>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/work/plans/{id}/deliverytimeline",
routeValues: {
project: project,
@ -838,7 +838,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.IterationCapacity> {
return this.beginRequest<Work.IterationCapacity>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/work/iterations/{iterationId}/iterationcapacities",
routeValues: {
project: project,
@ -862,7 +862,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
routeValues: {
@ -888,7 +888,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamSettingsIteration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
routeValues: {
project: project,
@ -917,7 +917,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamSettingsIteration[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
routeValues: {
project: project,
@ -942,7 +942,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamSettingsIteration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
routeValues: {
@ -965,7 +965,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.Plan> {
return this.beginRequest<Work.Plan>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "{project}/_apis/work/plans/{id}",
routeValues: {
@ -987,7 +987,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "{project}/_apis/work/plans/{id}",
routeValues: {
@ -1009,7 +1009,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.Plan> {
return this.beginRequest<Work.Plan>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/work/plans/{id}",
routeValues: {
project: project,
@ -1028,7 +1028,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.Plan[]> {
return this.beginRequest<Work.Plan[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/work/plans/{id}",
routeValues: {
project: project
@ -1050,7 +1050,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.Plan> {
return this.beginRequest<Work.Plan>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "{project}/_apis/work/plans/{id}",
routeValues: {
@ -1071,7 +1071,7 @@ export class WorkRestClient extends RestClientBase {
): Promise<Work.ProcessConfiguration> {
return this.beginRequest<Work.ProcessConfiguration>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/work/processconfiguration",
routeValues: {
project: project
@ -1094,7 +1094,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardRow[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/rows/{id}",
routeValues: {
project: project,
@ -1121,7 +1121,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.BoardRow[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/rows/{id}",
routeValues: {
@ -1144,7 +1144,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TaskboardColumns>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/taskboardColumns",
routeValues: {
project: project,
@ -1166,7 +1166,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TaskboardColumns>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "{project}/{team}/_apis/work/taskboardColumns",
routeValues: {
@ -1190,7 +1190,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TaskboardWorkItemColumn[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/taskboardWorkItems/{iterationId}/{workItemId}",
routeValues: {
project: project,
@ -1217,7 +1217,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/taskboardWorkItems/{iterationId}/{workItemId}",
routeValues: {
@ -1245,7 +1245,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamSettingsDaysOff>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/teamdaysoff",
routeValues: {
project: project,
@ -1272,7 +1272,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamSettingsDaysOff>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/teamdaysoff",
routeValues: {
@ -1297,7 +1297,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamFieldValues>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
routeValues: {
project: project,
@ -1321,7 +1321,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamFieldValues>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
routeValues: {
@ -1345,7 +1345,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamSetting>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
routeValues: {
project: project,
@ -1369,7 +1369,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.TeamSetting>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
routeValues: {
@ -1395,7 +1395,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.IterationWorkItems>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/workitems",
routeValues: {
project: project,
@ -1420,7 +1420,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.ReorderResult[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/workitemsorder",
routeValues: {
@ -1448,7 +1448,7 @@ export class WorkRestClient extends RestClientBase {
const team = teamContext.teamId || teamContext.team;
return this.beginRequest<Work.ReorderResult[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "{project}/{team}/_apis/work/iterations/{iterationId}/workitemsorder",
routeValues: {

Просмотреть файл

@ -2193,3 +2193,7 @@ export interface WorkItemUpdate extends WorkItemTrackingResource {
*/
workItemId: number;
}
export interface WorkItemUpdate2 extends WorkItemUpdate {
id: number;
}

Просмотреть файл

@ -1112,7 +1112,7 @@ export class WorkItemTrackingRestClient extends RestClientBase {
}
/**
* Returns a the deltas between work item revisions
* Returns the deltas between work item revisions
*
* @param id -
* @param project - Project ID or project name

Просмотреть файл

@ -28,7 +28,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessBehavior> {
return this.beginRequest<WorkItemTrackingProcess.ProcessBehavior>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/behaviors/{behaviorRefName}",
routeValues: {
@ -50,7 +50,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/behaviors/{behaviorRefName}",
routeValues: {
@ -78,7 +78,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.ProcessBehavior>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/behaviors/{behaviorRefName}",
routeValues: {
processId: processId,
@ -104,7 +104,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.ProcessBehavior[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/behaviors/{behaviorRefName}",
routeValues: {
processId: processId
@ -127,7 +127,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessBehavior> {
return this.beginRequest<WorkItemTrackingProcess.ProcessBehavior>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "_apis/work/processes/{processId}/behaviors/{behaviorRefName}",
routeValues: {
@ -154,7 +154,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Control> {
return this.beginRequest<WorkItemTrackingProcess.Control>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -190,7 +190,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.Control>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -220,7 +220,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -250,7 +250,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Control> {
return this.beginRequest<WorkItemTrackingProcess.Control>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -277,7 +277,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessWorkItemTypeField> {
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemTypeField>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/fields/{fieldRefName}",
routeValues: {
@ -300,7 +300,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessWorkItemTypeField[]> {
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemTypeField[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/fields/{fieldRefName}",
routeValues: {
processId: processId,
@ -329,7 +329,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemTypeField>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/fields/{fieldRefName}",
routeValues: {
processId: processId,
@ -354,7 +354,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/fields/{fieldRefName}",
routeValues: {
@ -381,7 +381,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessWorkItemTypeField> {
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemTypeField>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/fields/{fieldRefName}",
routeValues: {
@ -411,7 +411,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Group> {
return this.beginRequest<WorkItemTrackingProcess.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -453,7 +453,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -494,7 +494,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -527,7 +527,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -560,7 +560,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Group> {
return this.beginRequest<WorkItemTrackingProcess.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -586,7 +586,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.FormLayout> {
return this.beginRequest<WorkItemTrackingProcess.FormLayout>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout",
routeValues: {
processId: processId,
@ -605,7 +605,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.PickList> {
return this.beginRequest<WorkItemTrackingProcess.PickList>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processes/lists/{listId}",
body: picklist
@ -622,7 +622,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processes/lists/{listId}",
routeValues: {
@ -641,7 +641,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.PickList> {
return this.beginRequest<WorkItemTrackingProcess.PickList>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/lists/{listId}",
routeValues: {
listId: listId
@ -657,7 +657,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.PickListMetadata[]> {
return this.beginRequest<WorkItemTrackingProcess.PickListMetadata[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/lists/{listId}"
});
}
@ -674,7 +674,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.PickList> {
return this.beginRequest<WorkItemTrackingProcess.PickList>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processes/lists/{listId}",
routeValues: {
@ -698,7 +698,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Page> {
return this.beginRequest<WorkItemTrackingProcess.Page>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/Pages/{pageId}",
routeValues: {
@ -723,7 +723,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/Pages/{pageId}",
routeValues: {
@ -748,7 +748,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Page> {
return this.beginRequest<WorkItemTrackingProcess.Page>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/Pages/{pageId}",
routeValues: {
@ -769,7 +769,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessInfo> {
return this.beginRequest<WorkItemTrackingProcess.ProcessInfo>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "_apis/work/processes/{processTypeId}",
body: createRequest
@ -786,7 +786,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processTypeId}",
routeValues: {
@ -807,7 +807,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessInfo> {
return this.beginRequest<WorkItemTrackingProcess.ProcessInfo>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processTypeId}",
routeValues: {
@ -831,7 +831,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.ProcessInfo[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processTypeId}",
queryParams: queryValues
});
@ -853,7 +853,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.ProcessInfo>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processTypeId}",
routeValues: {
processTypeId: processTypeId
@ -876,7 +876,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessRule> {
return this.beginRequest<WorkItemTrackingProcess.ProcessRule>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/rules/{ruleId}",
routeValues: {
@ -901,7 +901,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/rules/{ruleId}",
routeValues: {
@ -926,7 +926,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessRule> {
return this.beginRequest<WorkItemTrackingProcess.ProcessRule>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/rules/{ruleId}",
routeValues: {
processId: processId,
@ -948,7 +948,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessRule[]> {
return this.beginRequest<WorkItemTrackingProcess.ProcessRule[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/rules/{ruleId}",
routeValues: {
processId: processId,
@ -973,7 +973,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessRule> {
return this.beginRequest<WorkItemTrackingProcess.ProcessRule>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PUT",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/rules/{ruleId}",
routeValues: {
@ -999,7 +999,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -1024,7 +1024,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -1049,7 +1049,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
processId: processId,
@ -1071,7 +1071,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemStateResultModel[]> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemStateResultModel[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
processId: processId,
@ -1096,7 +1096,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -1124,7 +1124,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -1150,7 +1150,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Control[]> {
return this.beginRequest<WorkItemTrackingProcess.Control[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/systemcontrols/{controlId}",
routeValues: {
@ -1173,7 +1173,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Control[]> {
return this.beginRequest<WorkItemTrackingProcess.Control[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/systemcontrols/{controlId}",
routeValues: {
processId: processId,
@ -1198,7 +1198,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.Control> {
return this.beginRequest<WorkItemTrackingProcess.Control>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/systemcontrols/{controlId}",
routeValues: {
@ -1222,7 +1222,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessWorkItemType> {
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemType>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}",
routeValues: {
@ -1244,7 +1244,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}",
routeValues: {
@ -1272,7 +1272,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemType>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}",
routeValues: {
processId: processId,
@ -1298,7 +1298,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
};
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemType[]>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}",
routeValues: {
processId: processId
@ -1321,7 +1321,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.ProcessWorkItemType> {
return this.beginRequest<WorkItemTrackingProcess.ProcessWorkItemType>({
apiVersion: "7.1-preview.2",
apiVersion: "7.2-preview.2",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypes/{witRefName}",
routeValues: {
@ -1346,7 +1346,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemTypeBehavior> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemTypeBehavior>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processes/{processId}/workItemTypesBehaviors/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
@ -1371,7 +1371,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemTypeBehavior> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemTypeBehavior>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/{processId}/workItemTypesBehaviors/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
processId: processId,
@ -1393,7 +1393,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemTypeBehavior[]> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemTypeBehavior[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processes/{processId}/workItemTypesBehaviors/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
processId: processId,
@ -1416,7 +1416,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processes/{processId}/workItemTypesBehaviors/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
@ -1441,7 +1441,7 @@ export class WorkItemTrackingProcessRestClient extends RestClientBase {
): Promise<WorkItemTrackingProcess.WorkItemTypeBehavior> {
return this.beginRequest<WorkItemTrackingProcess.WorkItemTypeBehavior>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processes/{processId}/workItemTypesBehaviors/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {

Просмотреть файл

@ -28,7 +28,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.BehaviorModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.BehaviorModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/behaviors/{behaviorId}",
routeValues: {
@ -50,7 +50,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/behaviors/{behaviorId}",
routeValues: {
@ -72,7 +72,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.BehaviorModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.BehaviorModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/behaviors/{behaviorId}",
routeValues: {
processId: processId,
@ -91,7 +91,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.BehaviorModel[]> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.BehaviorModel[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/behaviors/{behaviorId}",
routeValues: {
processId: processId
@ -113,7 +113,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.BehaviorModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.BehaviorModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processDefinitions/{processId}/behaviors/{behaviorId}",
routeValues: {
@ -140,7 +140,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.Control> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.Control>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -170,7 +170,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.Control> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.Control>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -199,7 +199,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -235,7 +235,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
};
return this.beginRequest<WorkItemTrackingProcessDefinitions.Control>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/groups/{groupId}/Controls/{controlId}",
routeValues: {
@ -261,7 +261,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.FieldModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.FieldModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/fields/{field}",
routeValues: {
@ -283,7 +283,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.FieldModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.FieldModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/fields/{field}",
routeValues: {
@ -311,7 +311,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.Group> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -344,7 +344,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.Group> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -376,7 +376,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -418,7 +418,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
};
return this.beginRequest<WorkItemTrackingProcessDefinitions.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -459,7 +459,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
};
return this.beginRequest<WorkItemTrackingProcessDefinitions.Group>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/pages/{pageId}/sections/{sectionId}/Groups/{groupId}",
routeValues: {
@ -486,7 +486,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.FormLayout> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.FormLayout>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout",
routeValues: {
processId: processId,
@ -503,7 +503,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.PickListMetadataModel[]> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.PickListMetadataModel[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/lists"
});
}
@ -518,7 +518,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.PickListModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.PickListModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/lists/{listId}",
body: picklist
@ -535,7 +535,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/lists/{listId}",
routeValues: {
@ -554,7 +554,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.PickListModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.PickListModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/lists/{listId}",
routeValues: {
listId: listId
@ -574,7 +574,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.PickListModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.PickListModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processDefinitions/lists/{listId}",
routeValues: {
@ -598,7 +598,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.Page> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.Page>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/Pages/{pageId}",
routeValues: {
@ -623,7 +623,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.Page> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.Page>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/Pages/{pageId}",
routeValues: {
@ -648,7 +648,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/layout/Pages/{pageId}",
routeValues: {
@ -673,7 +673,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -698,7 +698,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -723,7 +723,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
processId: processId,
@ -745,7 +745,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel[]> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
processId: processId,
@ -770,7 +770,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PUT",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -798,7 +798,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemStateResultModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}/states/{stateId}",
routeValues: {
@ -824,7 +824,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
@ -849,7 +849,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
processId: processId,
@ -871,7 +871,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior[]> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
processId: processId,
@ -894,7 +894,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
@ -919,7 +919,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeBehavior>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForBehaviors}/behaviors/{behaviorRefName}",
routeValues: {
@ -942,7 +942,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}",
routeValues: {
@ -964,7 +964,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}",
routeValues: {
@ -992,7 +992,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
};
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}",
routeValues: {
processId: processId,
@ -1018,7 +1018,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
};
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeModel[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}",
routeValues: {
processId: processId
@ -1041,7 +1041,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeModel> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeModel>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefName}",
routeValues: {
@ -1066,7 +1066,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "POST",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForFields}/fields/{fieldRefName}",
routeValues: {
@ -1091,7 +1091,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForFields}/fields/{fieldRefName}",
routeValues: {
processId: processId,
@ -1113,7 +1113,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2[]> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2[]>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForFields}/fields/{fieldRefName}",
routeValues: {
processId: processId,
@ -1136,7 +1136,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<void> {
return this.beginRequest<void>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "DELETE",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForFields}/fields/{fieldRefName}",
routeValues: {
@ -1161,7 +1161,7 @@ export class WorkItemTrackingProcessDefinitionsRestClient extends RestClientBase
): Promise<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2> {
return this.beginRequest<WorkItemTrackingProcessDefinitions.WorkItemTypeFieldModel2>({
apiVersion: "7.1-preview.1",
apiVersion: "7.2-preview.1",
method: "PATCH",
routeTemplate: "_apis/work/processDefinitions/{processId}/workItemTypes/{witRefNameForFields}/fields/{fieldRefName}",
routeValues: {