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
package/Work/WorkClient.js
CHANGED
|
@@ -68,7 +68,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
68
68
|
project = teamContext.projectId || teamContext.project;
|
|
69
69
|
team = teamContext.teamId || teamContext.team;
|
|
70
70
|
return [2 /*return*/, this.beginRequest({
|
|
71
|
-
apiVersion: "
|
|
71
|
+
apiVersion: "7.1-preview.1",
|
|
72
72
|
routeTemplate: "{project}/{team}/_apis/work/backlogconfiguration",
|
|
73
73
|
routeValues: {
|
|
74
74
|
project: project,
|
|
@@ -91,7 +91,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
91
91
|
project = teamContext.projectId || teamContext.project;
|
|
92
92
|
team = teamContext.teamId || teamContext.team;
|
|
93
93
|
return [2 /*return*/, this.beginRequest({
|
|
94
|
-
apiVersion: "
|
|
94
|
+
apiVersion: "7.1-preview.1",
|
|
95
95
|
routeTemplate: "{project}/{team}/_apis/work/backlogs/{backlogId}/workItems",
|
|
96
96
|
routeValues: {
|
|
97
97
|
project: project,
|
|
@@ -115,7 +115,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
115
115
|
project = teamContext.projectId || teamContext.project;
|
|
116
116
|
team = teamContext.teamId || teamContext.team;
|
|
117
117
|
return [2 /*return*/, this.beginRequest({
|
|
118
|
-
apiVersion: "
|
|
118
|
+
apiVersion: "7.1-preview.1",
|
|
119
119
|
routeTemplate: "{project}/{team}/_apis/work/backlogs/{id}",
|
|
120
120
|
routeValues: {
|
|
121
121
|
project: project,
|
|
@@ -138,7 +138,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
138
138
|
project = teamContext.projectId || teamContext.project;
|
|
139
139
|
team = teamContext.teamId || teamContext.team;
|
|
140
140
|
return [2 /*return*/, this.beginRequest({
|
|
141
|
-
apiVersion: "
|
|
141
|
+
apiVersion: "7.1-preview.1",
|
|
142
142
|
routeTemplate: "{project}/{team}/_apis/work/backlogs/{id}",
|
|
143
143
|
routeValues: {
|
|
144
144
|
project: project,
|
|
@@ -167,7 +167,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
167
167
|
project = teamContext.projectId || teamContext.project;
|
|
168
168
|
team = teamContext.teamId || teamContext.team;
|
|
169
169
|
return [2 /*return*/, this.beginRequest({
|
|
170
|
-
apiVersion: "
|
|
170
|
+
apiVersion: "7.1-preview.1",
|
|
171
171
|
routeTemplate: "{project}/{team}/_apis/work/boardbadge/{id}",
|
|
172
172
|
routeValues: {
|
|
173
173
|
project: project,
|
|
@@ -198,7 +198,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
198
198
|
project = teamContext.projectId || teamContext.project;
|
|
199
199
|
team = teamContext.teamId || teamContext.team;
|
|
200
200
|
return [2 /*return*/, this.beginRequest({
|
|
201
|
-
apiVersion: "
|
|
201
|
+
apiVersion: "7.1-preview.1",
|
|
202
202
|
routeTemplate: "{project}/{team}/_apis/work/boardbadge/{id}",
|
|
203
203
|
routeValues: {
|
|
204
204
|
project: project,
|
|
@@ -219,7 +219,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
219
219
|
return __awaiter(this, void 0, void 0, function () {
|
|
220
220
|
return __generator(this, function (_a) {
|
|
221
221
|
return [2 /*return*/, this.beginRequest({
|
|
222
|
-
apiVersion: "
|
|
222
|
+
apiVersion: "7.1-preview.1",
|
|
223
223
|
routeTemplate: "{project}/_apis/work/boardcolumns",
|
|
224
224
|
routeValues: {
|
|
225
225
|
project: project
|
|
@@ -246,7 +246,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
246
246
|
project = teamContext.projectId || teamContext.project;
|
|
247
247
|
team = teamContext.teamId || teamContext.team;
|
|
248
248
|
return [2 /*return*/, this.beginRequest({
|
|
249
|
-
apiVersion: "
|
|
249
|
+
apiVersion: "7.1-preview.1",
|
|
250
250
|
routeTemplate: "{project}/{team}/_apis/work/boards/boardparents",
|
|
251
251
|
routeValues: {
|
|
252
252
|
project: project,
|
|
@@ -266,7 +266,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
266
266
|
return __awaiter(this, void 0, void 0, function () {
|
|
267
267
|
return __generator(this, function (_a) {
|
|
268
268
|
return [2 /*return*/, this.beginRequest({
|
|
269
|
-
apiVersion: "
|
|
269
|
+
apiVersion: "7.1-preview.1",
|
|
270
270
|
routeTemplate: "{project}/_apis/work/boardrows",
|
|
271
271
|
routeValues: {
|
|
272
272
|
project: project
|
|
@@ -288,7 +288,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
288
288
|
project = teamContext.projectId || teamContext.project;
|
|
289
289
|
team = teamContext.teamId || teamContext.team;
|
|
290
290
|
return [2 /*return*/, this.beginRequest({
|
|
291
|
-
apiVersion: "
|
|
291
|
+
apiVersion: "7.1-preview.1",
|
|
292
292
|
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
|
|
293
293
|
routeValues: {
|
|
294
294
|
project: project,
|
|
@@ -311,7 +311,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
311
311
|
project = teamContext.projectId || teamContext.project;
|
|
312
312
|
team = teamContext.teamId || teamContext.team;
|
|
313
313
|
return [2 /*return*/, this.beginRequest({
|
|
314
|
-
apiVersion: "
|
|
314
|
+
apiVersion: "7.1-preview.1",
|
|
315
315
|
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
|
|
316
316
|
routeValues: {
|
|
317
317
|
project: project,
|
|
@@ -335,7 +335,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
335
335
|
project = teamContext.projectId || teamContext.project;
|
|
336
336
|
team = teamContext.teamId || teamContext.team;
|
|
337
337
|
return [2 /*return*/, this.beginRequest({
|
|
338
|
-
apiVersion: "
|
|
338
|
+
apiVersion: "7.1-preview.1",
|
|
339
339
|
method: "PUT",
|
|
340
340
|
routeTemplate: "{project}/{team}/_apis/work/boards/{id}",
|
|
341
341
|
routeValues: {
|
|
@@ -361,7 +361,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
361
361
|
project = teamContext.projectId || teamContext.project;
|
|
362
362
|
team = teamContext.teamId || teamContext.team;
|
|
363
363
|
return [2 /*return*/, this.beginRequest({
|
|
364
|
-
apiVersion: "
|
|
364
|
+
apiVersion: "7.1-preview.1",
|
|
365
365
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/boardusersettings",
|
|
366
366
|
routeValues: {
|
|
367
367
|
project: project,
|
|
@@ -386,7 +386,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
386
386
|
project = teamContext.projectId || teamContext.project;
|
|
387
387
|
team = teamContext.teamId || teamContext.team;
|
|
388
388
|
return [2 /*return*/, this.beginRequest({
|
|
389
|
-
apiVersion: "
|
|
389
|
+
apiVersion: "7.1-preview.1",
|
|
390
390
|
method: "PATCH",
|
|
391
391
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/boardusersettings",
|
|
392
392
|
routeValues: {
|
|
@@ -400,19 +400,19 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
400
400
|
});
|
|
401
401
|
};
|
|
402
402
|
/**
|
|
403
|
-
* Get a team's capacity
|
|
403
|
+
* Get a team's capacity including total capacity and days off
|
|
404
404
|
*
|
|
405
405
|
* @param teamContext - The team context for the operation
|
|
406
406
|
* @param iterationId - ID of the iteration
|
|
407
407
|
*/
|
|
408
|
-
WorkRestClient.prototype.
|
|
408
|
+
WorkRestClient.prototype.getCapacitiesWithIdentityRefAndTotals = function (teamContext, iterationId) {
|
|
409
409
|
return __awaiter(this, void 0, void 0, function () {
|
|
410
410
|
var project, team;
|
|
411
411
|
return __generator(this, function (_a) {
|
|
412
412
|
project = teamContext.projectId || teamContext.project;
|
|
413
413
|
team = teamContext.teamId || teamContext.team;
|
|
414
414
|
return [2 /*return*/, this.beginRequest({
|
|
415
|
-
apiVersion: "
|
|
415
|
+
apiVersion: "7.1-preview.3",
|
|
416
416
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
417
417
|
routeValues: {
|
|
418
418
|
project: project,
|
|
@@ -437,7 +437,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
437
437
|
project = teamContext.projectId || teamContext.project;
|
|
438
438
|
team = teamContext.teamId || teamContext.team;
|
|
439
439
|
return [2 /*return*/, this.beginRequest({
|
|
440
|
-
apiVersion: "
|
|
440
|
+
apiVersion: "7.1-preview.3",
|
|
441
441
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
442
442
|
routeValues: {
|
|
443
443
|
project: project,
|
|
@@ -463,7 +463,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
463
463
|
project = teamContext.projectId || teamContext.project;
|
|
464
464
|
team = teamContext.teamId || teamContext.team;
|
|
465
465
|
return [2 /*return*/, this.beginRequest({
|
|
466
|
-
apiVersion: "
|
|
466
|
+
apiVersion: "7.1-preview.3",
|
|
467
467
|
method: "PUT",
|
|
468
468
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
469
469
|
routeValues: {
|
|
@@ -491,7 +491,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
491
491
|
project = teamContext.projectId || teamContext.project;
|
|
492
492
|
team = teamContext.teamId || teamContext.team;
|
|
493
493
|
return [2 /*return*/, this.beginRequest({
|
|
494
|
-
apiVersion: "
|
|
494
|
+
apiVersion: "7.1-preview.3",
|
|
495
495
|
method: "PATCH",
|
|
496
496
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}",
|
|
497
497
|
routeValues: {
|
|
@@ -518,7 +518,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
518
518
|
project = teamContext.projectId || teamContext.project;
|
|
519
519
|
team = teamContext.teamId || teamContext.team;
|
|
520
520
|
return [2 /*return*/, this.beginRequest({
|
|
521
|
-
apiVersion: "
|
|
521
|
+
apiVersion: "7.1-preview.2",
|
|
522
522
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardrulesettings",
|
|
523
523
|
routeValues: {
|
|
524
524
|
project: project,
|
|
@@ -543,7 +543,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
543
543
|
project = teamContext.projectId || teamContext.project;
|
|
544
544
|
team = teamContext.teamId || teamContext.team;
|
|
545
545
|
return [2 /*return*/, this.beginRequest({
|
|
546
|
-
apiVersion: "
|
|
546
|
+
apiVersion: "7.1-preview.2",
|
|
547
547
|
method: "PATCH",
|
|
548
548
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardrulesettings",
|
|
549
549
|
routeValues: {
|
|
@@ -569,7 +569,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
569
569
|
project = teamContext.projectId || teamContext.project;
|
|
570
570
|
team = teamContext.teamId || teamContext.team;
|
|
571
571
|
return [2 /*return*/, this.beginRequest({
|
|
572
|
-
apiVersion: "
|
|
572
|
+
apiVersion: "7.1-preview.2",
|
|
573
573
|
method: "PATCH",
|
|
574
574
|
routeTemplate: "{project}/{team}/_apis/work/taskboard/cardrulesettings",
|
|
575
575
|
routeValues: {
|
|
@@ -594,7 +594,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
594
594
|
project = teamContext.projectId || teamContext.project;
|
|
595
595
|
team = teamContext.teamId || teamContext.team;
|
|
596
596
|
return [2 /*return*/, this.beginRequest({
|
|
597
|
-
apiVersion: "
|
|
597
|
+
apiVersion: "7.1-preview.2",
|
|
598
598
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardsettings",
|
|
599
599
|
routeValues: {
|
|
600
600
|
project: project,
|
|
@@ -619,7 +619,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
619
619
|
project = teamContext.projectId || teamContext.project;
|
|
620
620
|
team = teamContext.teamId || teamContext.team;
|
|
621
621
|
return [2 /*return*/, this.beginRequest({
|
|
622
|
-
apiVersion: "
|
|
622
|
+
apiVersion: "7.1-preview.2",
|
|
623
623
|
method: "PUT",
|
|
624
624
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/cardsettings",
|
|
625
625
|
routeValues: {
|
|
@@ -645,7 +645,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
645
645
|
project = teamContext.projectId || teamContext.project;
|
|
646
646
|
team = teamContext.teamId || teamContext.team;
|
|
647
647
|
return [2 /*return*/, this.beginRequest({
|
|
648
|
-
apiVersion: "
|
|
648
|
+
apiVersion: "7.1-preview.2",
|
|
649
649
|
method: "PUT",
|
|
650
650
|
routeTemplate: "{project}/{team}/_apis/work/taskboard/cardsettings",
|
|
651
651
|
routeValues: {
|
|
@@ -671,7 +671,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
671
671
|
project = teamContext.projectId || teamContext.project;
|
|
672
672
|
team = teamContext.teamId || teamContext.team;
|
|
673
673
|
return [2 /*return*/, this.beginRequest({
|
|
674
|
-
apiVersion: "
|
|
674
|
+
apiVersion: "7.1-preview.1",
|
|
675
675
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
|
|
676
676
|
routeValues: {
|
|
677
677
|
project: project,
|
|
@@ -696,7 +696,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
696
696
|
project = teamContext.projectId || teamContext.project;
|
|
697
697
|
team = teamContext.teamId || teamContext.team;
|
|
698
698
|
return [2 /*return*/, this.beginRequest({
|
|
699
|
-
apiVersion: "
|
|
699
|
+
apiVersion: "7.1-preview.1",
|
|
700
700
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
|
|
701
701
|
routeValues: {
|
|
702
702
|
project: project,
|
|
@@ -722,7 +722,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
722
722
|
project = teamContext.projectId || teamContext.project;
|
|
723
723
|
team = teamContext.teamId || teamContext.team;
|
|
724
724
|
return [2 /*return*/, this.beginRequest({
|
|
725
|
-
apiVersion: "
|
|
725
|
+
apiVersion: "7.1-preview.1",
|
|
726
726
|
method: "PATCH",
|
|
727
727
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/charts/{name}",
|
|
728
728
|
routeValues: {
|
|
@@ -749,7 +749,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
749
749
|
project = teamContext.projectId || teamContext.project;
|
|
750
750
|
team = teamContext.teamId || teamContext.team;
|
|
751
751
|
return [2 /*return*/, this.beginRequest({
|
|
752
|
-
apiVersion: "
|
|
752
|
+
apiVersion: "7.1-preview.1",
|
|
753
753
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/columns/{id}",
|
|
754
754
|
routeValues: {
|
|
755
755
|
project: project,
|
|
@@ -774,7 +774,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
774
774
|
project = teamContext.projectId || teamContext.project;
|
|
775
775
|
team = teamContext.teamId || teamContext.team;
|
|
776
776
|
return [2 /*return*/, this.beginRequest({
|
|
777
|
-
apiVersion: "
|
|
777
|
+
apiVersion: "7.1-preview.1",
|
|
778
778
|
method: "PUT",
|
|
779
779
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/columns/{id}",
|
|
780
780
|
routeValues: {
|
|
@@ -806,7 +806,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
806
806
|
endDate: endDate
|
|
807
807
|
};
|
|
808
808
|
return [2 /*return*/, this.beginRequest({
|
|
809
|
-
apiVersion: "
|
|
809
|
+
apiVersion: "7.1-preview.1",
|
|
810
810
|
routeTemplate: "{project}/_apis/work/plans/{id}/deliverytimeline",
|
|
811
811
|
routeValues: {
|
|
812
812
|
project: project,
|
|
@@ -817,6 +817,26 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
817
817
|
});
|
|
818
818
|
});
|
|
819
819
|
};
|
|
820
|
+
/**
|
|
821
|
+
* Get an iteration's capacity for all teams in iteration
|
|
822
|
+
*
|
|
823
|
+
* @param project - Project ID or project name
|
|
824
|
+
* @param iterationId - ID of the iteration
|
|
825
|
+
*/
|
|
826
|
+
WorkRestClient.prototype.getTotalIterationCapacities = function (project, iterationId) {
|
|
827
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
828
|
+
return __generator(this, function (_a) {
|
|
829
|
+
return [2 /*return*/, this.beginRequest({
|
|
830
|
+
apiVersion: "7.1-preview.1",
|
|
831
|
+
routeTemplate: "{project}/_apis/work/iterations/{iterationId}/iterationcapacities",
|
|
832
|
+
routeValues: {
|
|
833
|
+
project: project,
|
|
834
|
+
iterationId: iterationId
|
|
835
|
+
}
|
|
836
|
+
})];
|
|
837
|
+
});
|
|
838
|
+
});
|
|
839
|
+
};
|
|
820
840
|
/**
|
|
821
841
|
* Delete a team's iteration by iterationId
|
|
822
842
|
*
|
|
@@ -830,7 +850,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
830
850
|
project = teamContext.projectId || teamContext.project;
|
|
831
851
|
team = teamContext.teamId || teamContext.team;
|
|
832
852
|
return [2 /*return*/, this.beginRequest({
|
|
833
|
-
apiVersion: "
|
|
853
|
+
apiVersion: "7.1-preview.1",
|
|
834
854
|
method: "DELETE",
|
|
835
855
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
836
856
|
routeValues: {
|
|
@@ -855,7 +875,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
855
875
|
project = teamContext.projectId || teamContext.project;
|
|
856
876
|
team = teamContext.teamId || teamContext.team;
|
|
857
877
|
return [2 /*return*/, this.beginRequest({
|
|
858
|
-
apiVersion: "
|
|
878
|
+
apiVersion: "7.1-preview.1",
|
|
859
879
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
860
880
|
routeValues: {
|
|
861
881
|
project: project,
|
|
@@ -882,7 +902,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
882
902
|
project = teamContext.projectId || teamContext.project;
|
|
883
903
|
team = teamContext.teamId || teamContext.team;
|
|
884
904
|
return [2 /*return*/, this.beginRequest({
|
|
885
|
-
apiVersion: "
|
|
905
|
+
apiVersion: "7.1-preview.1",
|
|
886
906
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
887
907
|
routeValues: {
|
|
888
908
|
project: project,
|
|
@@ -906,7 +926,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
906
926
|
project = teamContext.projectId || teamContext.project;
|
|
907
927
|
team = teamContext.teamId || teamContext.team;
|
|
908
928
|
return [2 /*return*/, this.beginRequest({
|
|
909
|
-
apiVersion: "
|
|
929
|
+
apiVersion: "7.1-preview.1",
|
|
910
930
|
method: "POST",
|
|
911
931
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{id}",
|
|
912
932
|
routeValues: {
|
|
@@ -928,7 +948,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
928
948
|
return __awaiter(this, void 0, void 0, function () {
|
|
929
949
|
return __generator(this, function (_a) {
|
|
930
950
|
return [2 /*return*/, this.beginRequest({
|
|
931
|
-
apiVersion: "
|
|
951
|
+
apiVersion: "7.1-preview.1",
|
|
932
952
|
method: "POST",
|
|
933
953
|
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
934
954
|
routeValues: {
|
|
@@ -949,7 +969,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
949
969
|
return __awaiter(this, void 0, void 0, function () {
|
|
950
970
|
return __generator(this, function (_a) {
|
|
951
971
|
return [2 /*return*/, this.beginRequest({
|
|
952
|
-
apiVersion: "
|
|
972
|
+
apiVersion: "7.1-preview.1",
|
|
953
973
|
method: "DELETE",
|
|
954
974
|
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
955
975
|
routeValues: {
|
|
@@ -970,7 +990,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
970
990
|
return __awaiter(this, void 0, void 0, function () {
|
|
971
991
|
return __generator(this, function (_a) {
|
|
972
992
|
return [2 /*return*/, this.beginRequest({
|
|
973
|
-
apiVersion: "
|
|
993
|
+
apiVersion: "7.1-preview.1",
|
|
974
994
|
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
975
995
|
routeValues: {
|
|
976
996
|
project: project,
|
|
@@ -989,7 +1009,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
989
1009
|
return __awaiter(this, void 0, void 0, function () {
|
|
990
1010
|
return __generator(this, function (_a) {
|
|
991
1011
|
return [2 /*return*/, this.beginRequest({
|
|
992
|
-
apiVersion: "
|
|
1012
|
+
apiVersion: "7.1-preview.1",
|
|
993
1013
|
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
994
1014
|
routeValues: {
|
|
995
1015
|
project: project
|
|
@@ -1009,7 +1029,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1009
1029
|
return __awaiter(this, void 0, void 0, function () {
|
|
1010
1030
|
return __generator(this, function (_a) {
|
|
1011
1031
|
return [2 /*return*/, this.beginRequest({
|
|
1012
|
-
apiVersion: "
|
|
1032
|
+
apiVersion: "7.1-preview.1",
|
|
1013
1033
|
method: "PUT",
|
|
1014
1034
|
routeTemplate: "{project}/_apis/work/plans/{id}",
|
|
1015
1035
|
routeValues: {
|
|
@@ -1030,7 +1050,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1030
1050
|
return __awaiter(this, void 0, void 0, function () {
|
|
1031
1051
|
return __generator(this, function (_a) {
|
|
1032
1052
|
return [2 /*return*/, this.beginRequest({
|
|
1033
|
-
apiVersion: "
|
|
1053
|
+
apiVersion: "7.1-preview.1",
|
|
1034
1054
|
routeTemplate: "{project}/_apis/work/processconfiguration",
|
|
1035
1055
|
routeValues: {
|
|
1036
1056
|
project: project
|
|
@@ -1052,7 +1072,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1052
1072
|
project = teamContext.projectId || teamContext.project;
|
|
1053
1073
|
team = teamContext.teamId || teamContext.team;
|
|
1054
1074
|
return [2 /*return*/, this.beginRequest({
|
|
1055
|
-
apiVersion: "
|
|
1075
|
+
apiVersion: "7.1-preview.1",
|
|
1056
1076
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/rows/{id}",
|
|
1057
1077
|
routeValues: {
|
|
1058
1078
|
project: project,
|
|
@@ -1077,7 +1097,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1077
1097
|
project = teamContext.projectId || teamContext.project;
|
|
1078
1098
|
team = teamContext.teamId || teamContext.team;
|
|
1079
1099
|
return [2 /*return*/, this.beginRequest({
|
|
1080
|
-
apiVersion: "
|
|
1100
|
+
apiVersion: "7.1-preview.1",
|
|
1081
1101
|
method: "PUT",
|
|
1082
1102
|
routeTemplate: "{project}/{team}/_apis/work/boards/{board}/rows/{id}",
|
|
1083
1103
|
routeValues: {
|
|
@@ -1100,7 +1120,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1100
1120
|
project = teamContext.projectId || teamContext.project;
|
|
1101
1121
|
team = teamContext.teamId || teamContext.team;
|
|
1102
1122
|
return [2 /*return*/, this.beginRequest({
|
|
1103
|
-
apiVersion: "
|
|
1123
|
+
apiVersion: "7.1-preview.1",
|
|
1104
1124
|
routeTemplate: "{project}/{team}/_apis/work/taskboardColumns",
|
|
1105
1125
|
routeValues: {
|
|
1106
1126
|
project: project,
|
|
@@ -1121,7 +1141,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1121
1141
|
project = teamContext.projectId || teamContext.project;
|
|
1122
1142
|
team = teamContext.teamId || teamContext.team;
|
|
1123
1143
|
return [2 /*return*/, this.beginRequest({
|
|
1124
|
-
apiVersion: "
|
|
1144
|
+
apiVersion: "7.1-preview.1",
|
|
1125
1145
|
method: "PUT",
|
|
1126
1146
|
routeTemplate: "{project}/{team}/_apis/work/taskboardColumns",
|
|
1127
1147
|
routeValues: {
|
|
@@ -1144,7 +1164,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1144
1164
|
project = teamContext.projectId || teamContext.project;
|
|
1145
1165
|
team = teamContext.teamId || teamContext.team;
|
|
1146
1166
|
return [2 /*return*/, this.beginRequest({
|
|
1147
|
-
apiVersion: "
|
|
1167
|
+
apiVersion: "7.1-preview.1",
|
|
1148
1168
|
routeTemplate: "{project}/{team}/_apis/work/taskboardWorkItems/{iterationId}/{workItemId}",
|
|
1149
1169
|
routeValues: {
|
|
1150
1170
|
project: project,
|
|
@@ -1168,7 +1188,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1168
1188
|
project = teamContext.projectId || teamContext.project;
|
|
1169
1189
|
team = teamContext.teamId || teamContext.team;
|
|
1170
1190
|
return [2 /*return*/, this.beginRequest({
|
|
1171
|
-
apiVersion: "
|
|
1191
|
+
apiVersion: "7.1-preview.1",
|
|
1172
1192
|
method: "PATCH",
|
|
1173
1193
|
routeTemplate: "{project}/{team}/_apis/work/taskboardWorkItems/{iterationId}/{workItemId}",
|
|
1174
1194
|
routeValues: {
|
|
@@ -1195,7 +1215,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1195
1215
|
project = teamContext.projectId || teamContext.project;
|
|
1196
1216
|
team = teamContext.teamId || teamContext.team;
|
|
1197
1217
|
return [2 /*return*/, this.beginRequest({
|
|
1198
|
-
apiVersion: "
|
|
1218
|
+
apiVersion: "7.1-preview.1",
|
|
1199
1219
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/teamdaysoff",
|
|
1200
1220
|
routeValues: {
|
|
1201
1221
|
project: project,
|
|
@@ -1209,7 +1229,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1209
1229
|
/**
|
|
1210
1230
|
* Set a team's days off for an iteration
|
|
1211
1231
|
*
|
|
1212
|
-
* @param daysOffPatch - Team's days off patch
|
|
1232
|
+
* @param daysOffPatch - Team's days off patch containing a list of start and end dates
|
|
1213
1233
|
* @param teamContext - The team context for the operation
|
|
1214
1234
|
* @param iterationId - ID of the iteration
|
|
1215
1235
|
*/
|
|
@@ -1220,7 +1240,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1220
1240
|
project = teamContext.projectId || teamContext.project;
|
|
1221
1241
|
team = teamContext.teamId || teamContext.team;
|
|
1222
1242
|
return [2 /*return*/, this.beginRequest({
|
|
1223
|
-
apiVersion: "
|
|
1243
|
+
apiVersion: "7.1-preview.1",
|
|
1224
1244
|
method: "PATCH",
|
|
1225
1245
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/teamdaysoff",
|
|
1226
1246
|
routeValues: {
|
|
@@ -1245,7 +1265,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1245
1265
|
project = teamContext.projectId || teamContext.project;
|
|
1246
1266
|
team = teamContext.teamId || teamContext.team;
|
|
1247
1267
|
return [2 /*return*/, this.beginRequest({
|
|
1248
|
-
apiVersion: "
|
|
1268
|
+
apiVersion: "7.1-preview.1",
|
|
1249
1269
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
|
|
1250
1270
|
routeValues: {
|
|
1251
1271
|
project: project,
|
|
@@ -1268,7 +1288,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1268
1288
|
project = teamContext.projectId || teamContext.project;
|
|
1269
1289
|
team = teamContext.teamId || teamContext.team;
|
|
1270
1290
|
return [2 /*return*/, this.beginRequest({
|
|
1271
|
-
apiVersion: "
|
|
1291
|
+
apiVersion: "7.1-preview.1",
|
|
1272
1292
|
method: "PATCH",
|
|
1273
1293
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/teamfieldvalues",
|
|
1274
1294
|
routeValues: {
|
|
@@ -1292,7 +1312,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1292
1312
|
project = teamContext.projectId || teamContext.project;
|
|
1293
1313
|
team = teamContext.teamId || teamContext.team;
|
|
1294
1314
|
return [2 /*return*/, this.beginRequest({
|
|
1295
|
-
apiVersion: "
|
|
1315
|
+
apiVersion: "7.1-preview.1",
|
|
1296
1316
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
|
|
1297
1317
|
routeValues: {
|
|
1298
1318
|
project: project,
|
|
@@ -1315,7 +1335,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1315
1335
|
project = teamContext.projectId || teamContext.project;
|
|
1316
1336
|
team = teamContext.teamId || teamContext.team;
|
|
1317
1337
|
return [2 /*return*/, this.beginRequest({
|
|
1318
|
-
apiVersion: "
|
|
1338
|
+
apiVersion: "7.1-preview.1",
|
|
1319
1339
|
method: "PATCH",
|
|
1320
1340
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings",
|
|
1321
1341
|
routeValues: {
|
|
@@ -1340,7 +1360,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1340
1360
|
project = teamContext.projectId || teamContext.project;
|
|
1341
1361
|
team = teamContext.teamId || teamContext.team;
|
|
1342
1362
|
return [2 /*return*/, this.beginRequest({
|
|
1343
|
-
apiVersion: "
|
|
1363
|
+
apiVersion: "7.1-preview.1",
|
|
1344
1364
|
routeTemplate: "{project}/{team}/_apis/work/teamsettings/iterations/{iterationId}/workitems",
|
|
1345
1365
|
routeValues: {
|
|
1346
1366
|
project: project,
|
|
@@ -1364,7 +1384,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1364
1384
|
project = teamContext.projectId || teamContext.project;
|
|
1365
1385
|
team = teamContext.teamId || teamContext.team;
|
|
1366
1386
|
return [2 /*return*/, this.beginRequest({
|
|
1367
|
-
apiVersion: "
|
|
1387
|
+
apiVersion: "7.1-preview.1",
|
|
1368
1388
|
method: "PATCH",
|
|
1369
1389
|
routeTemplate: "{project}/{team}/_apis/work/workitemsorder",
|
|
1370
1390
|
routeValues: {
|
|
@@ -1390,7 +1410,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1390
1410
|
project = teamContext.projectId || teamContext.project;
|
|
1391
1411
|
team = teamContext.teamId || teamContext.team;
|
|
1392
1412
|
return [2 /*return*/, this.beginRequest({
|
|
1393
|
-
apiVersion: "
|
|
1413
|
+
apiVersion: "7.1-preview.1",
|
|
1394
1414
|
method: "PATCH",
|
|
1395
1415
|
routeTemplate: "{project}/{team}/_apis/work/iterations/{iterationId}/workitemsorder",
|
|
1396
1416
|
routeValues: {
|