* All files have been added to the repo

* 4.244.0

---------

Co-authored-by: TFS MiniLab Admin <tfsmladm@microsoft.com>
This commit is contained in:
Lohitaksh Gupta 2024-09-30 15:34:53 -07:00 коммит произвёл GitHub
Родитель 101b2d8bb0
Коммит 31869e083e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
6 изменённых файлов: 42 добавлений и 4 удалений

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

@ -1,12 +1,12 @@
{
"name": "azure-devops-extension-api",
"version": "4.243.0",
"version": "4.244.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "azure-devops-extension-api",
"version": "4.243.0",
"version": "4.244.0",
"license": "MIT",
"dependencies": {
"whatwg-fetch": "~3.0.0"

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

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

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

@ -216,7 +216,7 @@ export interface PipelineResource {
}
export interface PipelineResourceParameters {
branch: string;
runId: number;
version: string;
}

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

@ -596,6 +596,10 @@ export interface ServiceEndpoint {
* All other project references where the service endpoint is shared.
*/
serviceEndpointProjectReferences: ServiceEndpointProjectReference[];
/**
* Service Tree ID
*/
serviceManagementReference: string;
/**
* Gets or sets the type of the endpoint.
*/

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

@ -1820,6 +1820,10 @@ export interface ServiceEndpoint {
* Gets or sets the identity reference for the readers group of the service endpoint.
*/
readersGroup: WebApi.IdentityRef;
/**
* Service Tree ID
*/
serviceManagementReference: string;
/**
* Gets or sets the type of the endpoint.
*/

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

@ -863,6 +863,36 @@ export class TestPlanRestClient extends RestClientBase {
});
}
/**
* Get a list of deleted test plans
*
* @param project - Project ID or project name
* @param continuationToken - If the list of plans returned is not complete, a continuation token to query next batch of plans is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test plans.
*/
public async getDeletedTestPlans(
project: string,
continuationToken?: string
): Promise<WebApi.PagedList<TestPlan.TestPlan>> {
const queryValues: any = {
continuationToken: continuationToken
};
return this.beginRequest<Response>({
apiVersion: "7.2-preview.1",
routeTemplate: "{project}/_apis/testplan/recycleBin/TestPlan/{planId}",
routeValues: {
project: project
},
queryParams: queryValues,
returnRawResponse: true
}).then(async response => {
const body = <WebApi.PagedList<TestPlan.TestPlan>>await response.text().then(deserializeVssJsonObject);
body.continuationToken = response.headers.get("x-ms-continuationtoken");
return body;
});
}
/**
* Restores the deleted test plan
*