azure-devops-extension-api 1.158.0 → 2.220.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accounts/AccountsClient.d.ts +1 -1
- package/Accounts/AccountsClient.js +4 -4
- package/Accounts/AccountsClient.min.js +1 -1
- package/Build/Build.d.ts +205 -3
- package/Build/Build.js +6 -2
- package/Build/Build.min.js +1 -1
- package/Build/BuildClient.d.ts +121 -13
- package/Build/BuildClient.js +468 -101
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/Contributions.d.ts +1 -1
- package/Contributions/ContributionsClient.js +4 -4
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Core/CoreClient.d.ts +2 -2
- package/Core/CoreClient.js +49 -36
- package/Core/CoreClient.min.js +1 -1
- package/Dashboard/Dashboard.d.ts +79 -2
- package/Dashboard/Dashboard.js +10 -0
- package/Dashboard/Dashboard.min.js +1 -1
- package/Dashboard/DashboardClient.d.ts +2 -2
- package/Dashboard/DashboardClient.js +15 -15
- package/Dashboard/DashboardClient.min.js +1 -1
- package/ExtensionManagement/ExtensionManagement.d.ts +2 -2
- package/ExtensionManagement/ExtensionManagementClient.d.ts +2 -2
- package/ExtensionManagement/ExtensionManagementClient.js +27 -27
- package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
- package/Favorite/Favorite.d.ts +124 -0
- package/Favorite/Favorite.js +9 -0
- package/Favorite/Favorite.min.js +1 -0
- package/Favorite/FavoriteClient.d.ts +78 -0
- package/Favorite/FavoriteClient.js +314 -0
- package/Favorite/FavoriteClient.min.js +1 -0
- package/FeatureAvailability/FeatureAvailabilityClient.js +5 -5
- package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
- package/FeatureManagement/FeatureManagementClient.js +9 -9
- package/FeatureManagement/FeatureManagementClient.min.js +1 -1
- package/FileContainer/FileContainer.d.ts +22 -0
- package/FileContainer/FileContainer.js +8 -0
- package/FileContainer/FileContainer.min.js +1 -1
- package/FileContainer/FileContainerClient.d.ts +5 -2
- package/FileContainer/FileContainerClient.js +13 -7
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/FormInput/FormInput.d.ts +1 -1
- package/Gallery/Gallery.d.ts +92 -7
- package/Gallery/Gallery.js +25 -3
- package/Gallery/Gallery.min.js +1 -1
- package/Gallery/GalleryClient.d.ts +41 -9
- package/Gallery/GalleryClient.js +211 -90
- package/Gallery/GalleryClient.min.js +1 -1
- package/Git/Git.d.ts +121 -7
- package/Git/Git.js +2 -1
- package/Git/Git.min.js +1 -1
- package/Git/GitClient.d.ts +182 -28
- package/Git/GitClient.js +657 -162
- package/Git/GitClient.min.js +1 -1
- package/Graph/Graph.d.ts +107 -17
- package/Graph/GraphClient.d.ts +42 -3
- package/Graph/GraphClient.js +159 -38
- package/Graph/GraphClient.min.js +1 -1
- package/Identities/Identities.d.ts +15 -0
- package/Locations/LocationsClient.js +9 -9
- package/Locations/LocationsClient.min.js +1 -1
- package/Notification/Notification.d.ts +3 -3
- package/Notification/NotificationClient.d.ts +6 -0
- package/Notification/NotificationClient.js +40 -23
- package/Notification/NotificationClient.min.js +1 -1
- package/Operations/OperationsClient.d.ts +1 -1
- package/Operations/OperationsClient.js +2 -2
- package/Operations/OperationsClient.min.js +1 -1
- package/Pipelines/Pipelines.d.ts +318 -0
- package/Pipelines/Pipelines.js +82 -0
- package/Pipelines/Pipelines.min.js +1 -0
- package/Pipelines/PipelinesClient.d.ts +92 -0
- package/Pipelines/PipelinesClient.js +325 -0
- package/Pipelines/PipelinesClient.min.js +1 -0
- package/Policy/Policy.d.ts +4 -0
- package/Policy/PolicyClient.d.ts +3 -3
- package/Policy/PolicyClient.js +30 -19
- package/Policy/PolicyClient.min.js +1 -1
- package/Profile/ProfileClient.js +12 -12
- package/Profile/ProfileClient.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysisClient.js +4 -4
- package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
- package/Release/Release.d.ts +81 -7
- package/Release/Release.js +11 -0
- package/Release/Release.min.js +1 -1
- package/Release/ReleaseClient.d.ts +31 -5
- package/Release/ReleaseClient.js +223 -95
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpoint.d.ts +11 -2
- package/ServiceEndpoint/ServiceEndpoint.js +1 -0
- package/ServiceEndpoint/ServiceEndpoint.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.d.ts +33 -31
- package/ServiceEndpoint/ServiceEndpointClient.js +122 -107
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceHooks/ServiceHooks.d.ts +2 -1
- package/ServiceHooks/ServiceHooksClient.js +23 -23
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/TaskAgent/TaskAgent.d.ts +740 -17
- package/TaskAgent/TaskAgent.js +133 -0
- package/TaskAgent/TaskAgent.min.js +1 -1
- package/TaskAgent/TaskAgentClient.d.ts +28 -16
- package/TaskAgent/TaskAgentClient.js +336 -195
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/Test/Test.d.ts +96 -25
- package/Test/Test.js +8 -0
- package/Test/Test.min.js +1 -1
- package/Test/TestClient.d.ts +17 -34
- package/Test/TestClient.js +163 -152
- package/Test/TestClient.min.js +1 -1
- package/TestPlan/TestPlan.d.ts +215 -18
- package/TestPlan/TestPlan.js +47 -1
- package/TestPlan/TestPlan.min.js +1 -1
- package/TestPlan/TestPlanClient.d.ts +48 -14
- package/TestPlan/TestPlanClient.js +255 -74
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestResults/TestResultsClient.d.ts +112 -27
- package/TestResults/TestResultsClient.js +518 -134
- package/TestResults/TestResultsClient.min.js +1 -1
- package/Tfvc/Tfvc.d.ts +9 -1
- package/Tfvc/TfvcClient.d.ts +3 -2
- package/Tfvc/TfvcClient.js +41 -28
- package/Tfvc/TfvcClient.min.js +1 -1
- package/WebApi/WebApi.d.ts +22 -3
- package/Wiki/Wiki.d.ts +51 -0
- package/Wiki/WikiClient.d.ts +18 -0
- package/Wiki/WikiClient.js +71 -1
- package/Wiki/WikiClient.min.js +1 -1
- package/Work/Work.d.ts +68 -1
- package/Work/WorkClient.d.ts +10 -3
- package/Work/WorkClient.js +78 -58
- package/Work/WorkClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +221 -1
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +18 -2
- package/WorkItemTracking/WorkItemTrackingClient.js +107 -60
- package/WorkItemTracking/WorkItemTrackingClient.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.d.ts +15 -2
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.js +4 -0
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.d.ts +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +58 -58
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.d.ts +3 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.d.ts +9 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +69 -46
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IVssRestClientOptions } from "../Common/Context";
|
|
2
2
|
import { RestClientBase } from "../Common/RestClientBase";
|
|
3
3
|
import * as TestPlan from "../TestPlan/TestPlan";
|
|
4
|
+
import * as WebApi from "../WebApi/WebApi";
|
|
4
5
|
export declare class TestPlanRestClient extends RestClientBase {
|
|
5
6
|
constructor(options: IVssRestClientOptions);
|
|
6
7
|
/**
|
|
@@ -30,7 +31,7 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
30
31
|
* @param project - Project ID or project name
|
|
31
32
|
* @param continuationToken - If the list of configurations returned is not complete, a continuation token to query next batch of configurations is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test configurations.
|
|
32
33
|
*/
|
|
33
|
-
getTestConfigurations(project: string, continuationToken?: string): Promise<TestPlan.TestConfiguration
|
|
34
|
+
getTestConfigurations(project: string, continuationToken?: string): Promise<WebApi.PagedList<TestPlan.TestConfiguration>>;
|
|
34
35
|
/**
|
|
35
36
|
* Update a test configuration by its ID.
|
|
36
37
|
*
|
|
@@ -47,8 +48,9 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
47
48
|
* @param configurations -
|
|
48
49
|
* @param testers -
|
|
49
50
|
* @param assignedTo -
|
|
51
|
+
* @param entity -
|
|
50
52
|
*/
|
|
51
|
-
|
|
53
|
+
getTestEntityCountByPlanId(project: string, planId: number, states?: string, outcome?: TestPlan.UserFriendlyTestOutcome, configurations?: string, testers?: string, assignedTo?: string, entity?: TestPlan.TestEntityTypes): Promise<TestPlan.TestEntityCount[]>;
|
|
52
54
|
/**
|
|
53
55
|
* Create a test plan.
|
|
54
56
|
*
|
|
@@ -79,7 +81,7 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
79
81
|
* @param includePlanDetails - Get all properties of the test plan
|
|
80
82
|
* @param filterActivePlans - Get just the active plans
|
|
81
83
|
*/
|
|
82
|
-
getTestPlans(project: string, owner?: string, continuationToken?: string, includePlanDetails?: boolean, filterActivePlans?: boolean): Promise<TestPlan.TestPlan
|
|
84
|
+
getTestPlans(project: string, owner?: string, continuationToken?: string, includePlanDetails?: boolean, filterActivePlans?: boolean): Promise<WebApi.PagedList<TestPlan.TestPlan>>;
|
|
83
85
|
/**
|
|
84
86
|
* Update a test plan.
|
|
85
87
|
*
|
|
@@ -104,6 +106,15 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
104
106
|
* @param suiteId - Id of the parent test suite.
|
|
105
107
|
*/
|
|
106
108
|
reorderSuiteEntries(suiteEntries: TestPlan.SuiteEntryUpdateParams[], project: string, suiteId: number): Promise<TestPlan.SuiteEntry[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Create bulk requirement based test suites.
|
|
111
|
+
*
|
|
112
|
+
* @param testSuiteCreateParams - Parameters for suite creation
|
|
113
|
+
* @param project - Project ID or project name
|
|
114
|
+
* @param planId - ID of the test plan where requirement based suites need to be created.
|
|
115
|
+
* @param parentSuiteId - ID of the parent suite under which requirement based suites will be created
|
|
116
|
+
*/
|
|
117
|
+
createBulkTestSuites(testSuiteCreateParams: TestPlan.TestSuiteCreateParams[], project: string, planId: number, parentSuiteId: number): Promise<TestPlan.TestSuite[]>;
|
|
107
118
|
/**
|
|
108
119
|
* Create test suite.
|
|
109
120
|
*
|
|
@@ -138,7 +149,7 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
138
149
|
* @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.
|
|
139
150
|
* @param asTreeView - If the suites returned should be in a tree structure.
|
|
140
151
|
*/
|
|
141
|
-
getTestSuitesForPlan(project: string, planId: number, expand?: TestPlan.SuiteExpand, continuationToken?: string, asTreeView?: boolean): Promise<TestPlan.TestSuite
|
|
152
|
+
getTestSuitesForPlan(project: string, planId: number, expand?: TestPlan.SuiteExpand, continuationToken?: string, asTreeView?: boolean): Promise<WebApi.PagedList<TestPlan.TestSuite>>;
|
|
142
153
|
/**
|
|
143
154
|
* Update test suite.
|
|
144
155
|
*
|
|
@@ -164,18 +175,18 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
164
175
|
*/
|
|
165
176
|
addTestCasesToSuite(suiteTestCaseCreateUpdateParameters: TestPlan.SuiteTestCaseCreateUpdateParameters[], project: string, planId: number, suiteId: number): Promise<TestPlan.TestCase[]>;
|
|
166
177
|
/**
|
|
167
|
-
* Get Test
|
|
178
|
+
* Get a particular Test Case from a Suite.
|
|
168
179
|
*
|
|
169
180
|
* @param project - Project ID or project name
|
|
170
181
|
* @param planId - ID of the test plan for which test cases are requested.
|
|
171
182
|
* @param suiteId - ID of the test suite for which test cases are requested.
|
|
172
|
-
* @param
|
|
183
|
+
* @param testCaseId - Test Case Id to be fetched.
|
|
173
184
|
* @param witFields - Get the list of witFields.
|
|
174
185
|
* @param returnIdentityRef - If set to true, returns all identity fields, like AssignedTo, ActivatedBy etc., as IdentityRef objects. If set to false, these fields are returned as unique names in string format. This is false by default.
|
|
175
186
|
*/
|
|
176
|
-
getTestCase(project: string, planId: number, suiteId: number,
|
|
187
|
+
getTestCase(project: string, planId: number, suiteId: number, testCaseId: string, witFields?: string, returnIdentityRef?: boolean): Promise<TestPlan.TestCase[]>;
|
|
177
188
|
/**
|
|
178
|
-
* Get Test Case List return those test cases which have all the configuration Ids as mentioned in the optional
|
|
189
|
+
* Get Test Case List return those test cases which have all the configuration Ids as mentioned in the optional parameter. If configuration Ids is null, it return all the test cases
|
|
179
190
|
*
|
|
180
191
|
* @param project - Project ID or project name
|
|
181
192
|
* @param planId - ID of the test plan for which test cases are requested.
|
|
@@ -187,8 +198,9 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
187
198
|
* @param returnIdentityRef - If set to true, returns all identity fields, like AssignedTo, ActivatedBy etc., as IdentityRef objects. If set to false, these fields are returned as unique names in string format. This is false by default.
|
|
188
199
|
* @param expand - If set to false, will get a smaller payload containing only basic details about the suite test case object
|
|
189
200
|
* @param excludeFlags - Flag to exclude various values from payload. For example to remove point assignments pass exclude = 1. To remove extra information (links, test plan , test suite) pass exclude = 2. To remove both extra information and point assignments pass exclude = 3 (1 + 2).
|
|
201
|
+
* @param isRecursive -
|
|
190
202
|
*/
|
|
191
|
-
getTestCaseList(project: string, planId: number, suiteId: number, testIds?: string, configurationIds?: string, witFields?: string, continuationToken?: string, returnIdentityRef?: boolean, expand?: boolean, excludeFlags?: TestPlan.ExcludeFlags): Promise<TestPlan.TestCase
|
|
203
|
+
getTestCaseList(project: string, planId: number, suiteId: number, testIds?: string, configurationIds?: string, witFields?: string, continuationToken?: string, returnIdentityRef?: boolean, expand?: boolean, excludeFlags?: TestPlan.ExcludeFlags, isRecursive?: boolean): Promise<WebApi.PagedList<TestPlan.TestCase>>;
|
|
192
204
|
/**
|
|
193
205
|
* Removes test cases from a suite based on the list of test case Ids provided.
|
|
194
206
|
*
|
|
@@ -198,6 +210,15 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
198
210
|
* @param testCaseIds - Test Case Ids to be removed.
|
|
199
211
|
*/
|
|
200
212
|
removeTestCasesFromSuite(project: string, planId: number, suiteId: number, testCaseIds: string): Promise<void>;
|
|
213
|
+
/**
|
|
214
|
+
* Removes test cases from a suite based on the list of test case Ids provided. This API can be used to remove a larger number of test cases.
|
|
215
|
+
*
|
|
216
|
+
* @param project - Project ID or project name
|
|
217
|
+
* @param planId - ID of the test plan from which test cases are to be removed.
|
|
218
|
+
* @param suiteId - ID of the test suite from which test cases are to be removed.
|
|
219
|
+
* @param testIds - Comma separated string of Test Case Ids to be removed.
|
|
220
|
+
*/
|
|
221
|
+
removeTestCasesListFromSuite(project: string, planId: number, suiteId: number, testIds: string): Promise<void>;
|
|
201
222
|
/**
|
|
202
223
|
* Update the configurations for test cases
|
|
203
224
|
*
|
|
@@ -207,6 +228,18 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
207
228
|
* @param suiteId - ID of the test suite to which test cases are to be updated.
|
|
208
229
|
*/
|
|
209
230
|
updateSuiteTestCases(suiteTestCaseCreateUpdateParameters: TestPlan.SuiteTestCaseCreateUpdateParameters[], project: string, planId: number, suiteId: number): Promise<TestPlan.TestCase[]>;
|
|
231
|
+
/**
|
|
232
|
+
* @param cloneRequestBody -
|
|
233
|
+
* @param project - Project ID or project name
|
|
234
|
+
*/
|
|
235
|
+
cloneTestCase(cloneRequestBody: TestPlan.CloneTestCaseParams, project: string): Promise<TestPlan.CloneTestCaseOperationInformation>;
|
|
236
|
+
/**
|
|
237
|
+
* Get clone information.
|
|
238
|
+
*
|
|
239
|
+
* @param project - Project ID or project name
|
|
240
|
+
* @param cloneOperationId - Operation ID returned when we queue a clone operation
|
|
241
|
+
*/
|
|
242
|
+
getTestCaseCloneInformation(project: string, cloneOperationId: number): Promise<TestPlan.CloneTestCaseOperationInformation>;
|
|
210
243
|
/**
|
|
211
244
|
* Delete a test case.
|
|
212
245
|
*
|
|
@@ -230,16 +263,16 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
230
263
|
*/
|
|
231
264
|
getCloneInformation(project: string, cloneOperationId: number): Promise<TestPlan.CloneTestPlanOperationInformation>;
|
|
232
265
|
/**
|
|
233
|
-
* Get a
|
|
266
|
+
* Get a particular Test Point from a suite.
|
|
234
267
|
*
|
|
235
268
|
* @param project - Project ID or project name
|
|
236
269
|
* @param planId - ID of the test plan for which test points are requested.
|
|
237
270
|
* @param suiteId - ID of the test suite for which test points are requested.
|
|
238
|
-
* @param
|
|
271
|
+
* @param pointId - ID of test point to be fetched.
|
|
239
272
|
* @param returnIdentityRef - If set to true, returns the AssignedTo field in TestCaseReference as IdentityRef object.
|
|
240
273
|
* @param includePointDetails - If set to false, will get a smaller payload containing only basic details about the test point object
|
|
241
274
|
*/
|
|
242
|
-
getPoints(project: string, planId: number, suiteId: number,
|
|
275
|
+
getPoints(project: string, planId: number, suiteId: number, pointId: string, returnIdentityRef?: boolean, includePointDetails?: boolean): Promise<TestPlan.TestPoint[]>;
|
|
243
276
|
/**
|
|
244
277
|
* Get all the points inside a suite based on some filters
|
|
245
278
|
*
|
|
@@ -251,8 +284,9 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
251
284
|
* @param continuationToken - If the list of test point returned is not complete, a continuation token to query next batch of test points is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test points.
|
|
252
285
|
* @param returnIdentityRef - If set to true, returns the AssignedTo field in TestCaseReference as IdentityRef object.
|
|
253
286
|
* @param includePointDetails - If set to false, will get a smaller payload containing only basic details about the test point object
|
|
287
|
+
* @param isRecursive - If set to true, will also fetch test points belonging to child suites recursively.
|
|
254
288
|
*/
|
|
255
|
-
getPointsList(project: string, planId: number, suiteId: number, testPointIds?: string, testCaseId?: string, continuationToken?: string, returnIdentityRef?: boolean, includePointDetails?: boolean): Promise<TestPlan.TestPoint
|
|
289
|
+
getPointsList(project: string, planId: number, suiteId: number, testPointIds?: string, testCaseId?: string, continuationToken?: string, returnIdentityRef?: boolean, includePointDetails?: boolean, isRecursive?: boolean): Promise<WebApi.PagedList<TestPlan.TestPoint>>;
|
|
256
290
|
/**
|
|
257
291
|
* Update Test Points. This is used to Reset test point to active, update the outcome of a test point or update the tester of a test point
|
|
258
292
|
*
|
|
@@ -306,7 +340,7 @@ export declare class TestPlanRestClient extends RestClientBase {
|
|
|
306
340
|
* @param project - Project ID or project name
|
|
307
341
|
* @param continuationToken - If the list of variables returned is not complete, a continuation token to query next batch of variables is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of test variables.
|
|
308
342
|
*/
|
|
309
|
-
getTestVariables(project: string, continuationToken?: string): Promise<TestPlan.TestVariable
|
|
343
|
+
getTestVariables(project: string, continuationToken?: string): Promise<WebApi.PagedList<TestPlan.TestVariable>>;
|
|
310
344
|
/**
|
|
311
345
|
* Update a test variable by its ID.
|
|
312
346
|
*
|