Releases/4.245.1 (#147)
* All files have been added to the repo * 4.244.1 * Update package.json --------- Co-authored-by: TFS MiniLab Admin <tfsmladm@microsoft.com>
This commit is contained in:
Родитель
31869e083e
Коммит
77a89538ff
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "azure-devops-extension-api",
|
"name": "azure-devops-extension-api",
|
||||||
"version": "4.244.0",
|
"version": "4.244.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "azure-devops-extension-api",
|
"name": "azure-devops-extension-api",
|
||||||
"version": "4.244.0",
|
"version": "4.244.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"whatwg-fetch": "~3.0.0"
|
"whatwg-fetch": "~3.0.0"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "azure-devops-extension-api",
|
"name": "azure-devops-extension-api",
|
||||||
"version": "4.244.0",
|
"version": "4.245.1",
|
||||||
"description": "REST client libraries and contracts for Azure DevOps web extension developers.",
|
"description": "REST client libraries and contracts for Azure DevOps web extension developers.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -805,7 +805,7 @@ export interface SearchCriteria {
|
||||||
*/
|
*/
|
||||||
alertType: AlertType;
|
alertType: AlertType;
|
||||||
/**
|
/**
|
||||||
* If provided, only return alerts at these confidence levels. \<br /\>Otherwise, return alerts at any confidence level.
|
* If provided, only return alerts at these confidence levels. \<br /\>Both High and Other need to be specified to fetch alerts of all confidence levels. \<br /\>Otherwise, return alerts with high confidence level.
|
||||||
*/
|
*/
|
||||||
confidenceLevels: Confidence[];
|
confidenceLevels: Confidence[];
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -155,7 +155,7 @@ export class AlertRestClient extends RestClientBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get instances of an alert.
|
* Get instances of an alert on a branch specified with \@ref. If \@ref is not provided, return instances of an alert on default branch(if the alert exist in default branch) or latest affected branch.
|
||||||
*
|
*
|
||||||
* @param project - Project ID or project name
|
* @param project - Project ID or project name
|
||||||
* @param alertId - ID of alert to retrieve
|
* @param alertId - ID of alert to retrieve
|
||||||
|
|
|
@ -203,6 +203,14 @@ export interface InputValidation {
|
||||||
* Gets or sets the error on pattern mismatch.
|
* Gets or sets the error on pattern mismatch.
|
||||||
*/
|
*/
|
||||||
patternMismatchErrorMessage: string;
|
patternMismatchErrorMessage: string;
|
||||||
|
/**
|
||||||
|
* Gets or sets the warning on pattern mismatch.
|
||||||
|
*/
|
||||||
|
patternMismatchWarningMessage: string;
|
||||||
|
/**
|
||||||
|
* Gets or sets the pattern to validate.
|
||||||
|
*/
|
||||||
|
warningPattern: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3881,3 +3881,8 @@ export interface VirtualMachineResource extends EnvironmentResource {
|
||||||
export interface VirtualMachineResourceCreateParameters {
|
export interface VirtualMachineResourceCreateParameters {
|
||||||
virtualMachineResource: VirtualMachineResource;
|
virtualMachineResource: VirtualMachineResource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface WorkloadIdentityFederationDetailsData {
|
||||||
|
federationIssuer: string;
|
||||||
|
federationSubject: string;
|
||||||
|
}
|
||||||
|
|
|
@ -1094,6 +1094,81 @@ export class TestPlanRestClient extends RestClientBase {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Deleted Test Suites for a Test Plan.
|
||||||
|
*
|
||||||
|
* @param project - Project ID or project name
|
||||||
|
* @param planId - ID of the test plan for which suites are requested.
|
||||||
|
* @param expand - Include the children suites and testers details.
|
||||||
|
* @param continuationToken - If the list of suites returned is not complete, a continuation token to query next batch of suites is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test suites.
|
||||||
|
* @param asTreeView - If the suites returned should be in a tree structure.
|
||||||
|
*/
|
||||||
|
public async getDeletedTestSuitesForPlan(
|
||||||
|
project: string,
|
||||||
|
planId: number,
|
||||||
|
expand?: TestPlan.SuiteExpand,
|
||||||
|
continuationToken?: string,
|
||||||
|
asTreeView?: boolean
|
||||||
|
): Promise<WebApi.PagedList<TestPlan.TestSuite>> {
|
||||||
|
|
||||||
|
const queryValues: any = {
|
||||||
|
expand: expand,
|
||||||
|
continuationToken: continuationToken,
|
||||||
|
asTreeView: asTreeView
|
||||||
|
};
|
||||||
|
|
||||||
|
return this.beginRequest<Response>({
|
||||||
|
apiVersion: "7.2-preview.1",
|
||||||
|
routeTemplate: "{project}/_apis/testplan/recycleBin/TestPlan/{planId}/TestSuite/{suiteId}",
|
||||||
|
routeValues: {
|
||||||
|
project: project,
|
||||||
|
planId: planId
|
||||||
|
},
|
||||||
|
queryParams: queryValues,
|
||||||
|
returnRawResponse: true
|
||||||
|
}).then(async response => {
|
||||||
|
const body = <WebApi.PagedList<TestPlan.TestSuite>>await response.text().then(deserializeVssJsonObject);
|
||||||
|
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
||||||
|
return body;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Deleted Test Suites within a Project.
|
||||||
|
*
|
||||||
|
* @param project - Project ID or project name
|
||||||
|
* @param expand - Include the children suites and testers details.
|
||||||
|
* @param continuationToken - If the list of suites returned is not complete, a continuation token to query next batch of suites is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test suites.
|
||||||
|
* @param asTreeView - If the suites returned should be in a tree structure.
|
||||||
|
*/
|
||||||
|
public async getDeletedTestSuitesForProject(
|
||||||
|
project: string,
|
||||||
|
expand?: TestPlan.SuiteExpand,
|
||||||
|
continuationToken?: string,
|
||||||
|
asTreeView?: boolean
|
||||||
|
): Promise<WebApi.PagedList<TestPlan.TestSuite>> {
|
||||||
|
|
||||||
|
const queryValues: any = {
|
||||||
|
expand: expand,
|
||||||
|
continuationToken: continuationToken,
|
||||||
|
asTreeView: asTreeView
|
||||||
|
};
|
||||||
|
|
||||||
|
return this.beginRequest<Response>({
|
||||||
|
apiVersion: "7.2-preview.1",
|
||||||
|
routeTemplate: "{project}/_apis/testplan/recycleBin/TestSuite/{suiteId}",
|
||||||
|
routeValues: {
|
||||||
|
project: project
|
||||||
|
},
|
||||||
|
queryParams: queryValues,
|
||||||
|
returnRawResponse: true
|
||||||
|
}).then(async response => {
|
||||||
|
const body = <WebApi.PagedList<TestPlan.TestSuite>>await response.text().then(deserializeVssJsonObject);
|
||||||
|
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
||||||
|
return body;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Restores the deleted test suite
|
* Restores the deleted test suite
|
||||||
*
|
*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче