* 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:
Lohitaksh Gupta 2024-10-31 16:35:37 -07:00 коммит произвёл GitHub
Родитель 31869e083e
Коммит 77a89538ff
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
7 изменённых файлов: 93 добавлений и 5 удалений

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

@ -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
* *