azure-devops-extension-api 1.157.0 → 2.218.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 +201 -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/Common/CommonServices.d.ts +62 -0
- 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/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 +173 -28
- package/Git/GitClient.js +630 -162
- package/Git/GitClient.min.js +1 -1
- package/Graph/Graph.d.ts +107 -17
- package/Graph/GraphClient.d.ts +41 -2
- package/Graph/GraphClient.js +158 -37
- 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 +737 -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 +170 -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/Release/ReleaseClient.js
CHANGED
|
@@ -48,7 +48,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
define(["require", "exports", "../Common/RestClientBase"], function (require, exports, RestClientBase_1) {
|
|
51
|
+
define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serialization"], function (require, exports, RestClientBase_1, Serialization_1) {
|
|
52
52
|
"use strict";
|
|
53
53
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
54
|
var ReleaseRestClient = /** @class */ (function (_super) {
|
|
@@ -66,7 +66,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
66
66
|
return __awaiter(this, void 0, void 0, function () {
|
|
67
67
|
return __generator(this, function (_a) {
|
|
68
68
|
return [2 /*return*/, this.beginRequest({
|
|
69
|
-
apiVersion: "
|
|
69
|
+
apiVersion: "7.1-preview.1",
|
|
70
70
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/agentartifacts",
|
|
71
71
|
routeValues: {
|
|
72
72
|
project: project,
|
|
@@ -92,6 +92,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
92
92
|
ReleaseRestClient.prototype.getApprovals = function (project, assignedToFilter, statusFilter, releaseIdsFilter, typeFilter, top, continuationToken, queryOrder, includeMyGroupApprovals) {
|
|
93
93
|
return __awaiter(this, void 0, void 0, function () {
|
|
94
94
|
var queryValues;
|
|
95
|
+
var _this = this;
|
|
95
96
|
return __generator(this, function (_a) {
|
|
96
97
|
queryValues = {
|
|
97
98
|
assignedToFilter: assignedToFilter,
|
|
@@ -104,13 +105,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
104
105
|
includeMyGroupApprovals: includeMyGroupApprovals
|
|
105
106
|
};
|
|
106
107
|
return [2 /*return*/, this.beginRequest({
|
|
107
|
-
apiVersion: "
|
|
108
|
+
apiVersion: "7.1-preview.3",
|
|
108
109
|
routeTemplate: "{project}/_apis/Release/approvals",
|
|
109
110
|
routeValues: {
|
|
110
111
|
project: project
|
|
111
112
|
},
|
|
112
|
-
queryParams: queryValues
|
|
113
|
-
|
|
113
|
+
queryParams: queryValues,
|
|
114
|
+
returnRawResponse: true
|
|
115
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
116
|
+
var body;
|
|
117
|
+
return __generator(this, function (_a) {
|
|
118
|
+
switch (_a.label) {
|
|
119
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
120
|
+
case 1:
|
|
121
|
+
body = _a.sent();
|
|
122
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
123
|
+
return [2 /*return*/, body];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}); })];
|
|
114
127
|
});
|
|
115
128
|
});
|
|
116
129
|
};
|
|
@@ -124,7 +137,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
124
137
|
return __awaiter(this, void 0, void 0, function () {
|
|
125
138
|
return __generator(this, function (_a) {
|
|
126
139
|
return [2 /*return*/, this.beginRequest({
|
|
127
|
-
apiVersion: "
|
|
140
|
+
apiVersion: "7.1-preview.3",
|
|
128
141
|
routeTemplate: "{project}/_apis/Release/approvals/{approvalStepId}/history",
|
|
129
142
|
routeValues: {
|
|
130
143
|
project: project,
|
|
@@ -149,7 +162,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
149
162
|
includeHistory: includeHistory
|
|
150
163
|
};
|
|
151
164
|
return [2 /*return*/, this.beginRequest({
|
|
152
|
-
apiVersion: "
|
|
165
|
+
apiVersion: "7.1-preview.3",
|
|
153
166
|
routeTemplate: "{project}/_apis/Release/approvals/{approvalId}",
|
|
154
167
|
routeValues: {
|
|
155
168
|
project: project,
|
|
@@ -171,7 +184,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
171
184
|
return __awaiter(this, void 0, void 0, function () {
|
|
172
185
|
return __generator(this, function (_a) {
|
|
173
186
|
return [2 /*return*/, this.beginRequest({
|
|
174
|
-
apiVersion: "
|
|
187
|
+
apiVersion: "7.1-preview.3",
|
|
175
188
|
method: "PATCH",
|
|
176
189
|
routeTemplate: "{project}/_apis/Release/approvals/{approvalId}",
|
|
177
190
|
routeValues: {
|
|
@@ -191,7 +204,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
191
204
|
return __awaiter(this, void 0, void 0, function () {
|
|
192
205
|
return __generator(this, function (_a) {
|
|
193
206
|
return [2 /*return*/, this.beginRequest({
|
|
194
|
-
apiVersion: "
|
|
207
|
+
apiVersion: "7.1-preview.3",
|
|
195
208
|
method: "PATCH",
|
|
196
209
|
routeTemplate: "{project}/_apis/Release/approvals",
|
|
197
210
|
routeValues: {
|
|
@@ -218,7 +231,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
218
231
|
return __awaiter(this, void 0, void 0, function () {
|
|
219
232
|
return __generator(this, function (_a) {
|
|
220
233
|
return [2 /*return*/, this.beginRequest({
|
|
221
|
-
apiVersion: "
|
|
234
|
+
apiVersion: "7.1-preview.1",
|
|
222
235
|
httpResponseType: "application/octet-stream",
|
|
223
236
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/records/{recordId}/attachments/{type}/{name}",
|
|
224
237
|
routeValues: {
|
|
@@ -252,7 +265,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
252
265
|
return __awaiter(this, void 0, void 0, function () {
|
|
253
266
|
return __generator(this, function (_a) {
|
|
254
267
|
return [2 /*return*/, this.beginRequest({
|
|
255
|
-
apiVersion: "
|
|
268
|
+
apiVersion: "7.1-preview.1",
|
|
256
269
|
httpResponseType: "application/octet-stream",
|
|
257
270
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/plan/{planId}/timelines/{timelineId}/records/{recordId}/attachments/{type}/{name}",
|
|
258
271
|
routeValues: {
|
|
@@ -284,7 +297,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
284
297
|
return __awaiter(this, void 0, void 0, function () {
|
|
285
298
|
return __generator(this, function (_a) {
|
|
286
299
|
return [2 /*return*/, this.beginRequest({
|
|
287
|
-
apiVersion: "
|
|
300
|
+
apiVersion: "7.1-preview.1",
|
|
288
301
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/attachments/{type}",
|
|
289
302
|
routeValues: {
|
|
290
303
|
project: project,
|
|
@@ -312,7 +325,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
312
325
|
return __awaiter(this, void 0, void 0, function () {
|
|
313
326
|
return __generator(this, function (_a) {
|
|
314
327
|
return [2 /*return*/, this.beginRequest({
|
|
315
|
-
apiVersion: "
|
|
328
|
+
apiVersion: "7.1-preview.1",
|
|
316
329
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/plan/{planId}/attachments/{type}",
|
|
317
330
|
routeValues: {
|
|
318
331
|
project: project,
|
|
@@ -342,7 +355,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
342
355
|
artifactVersionId: artifactVersionId
|
|
343
356
|
};
|
|
344
357
|
return [2 /*return*/, this.beginRequest({
|
|
345
|
-
apiVersion: "
|
|
358
|
+
apiVersion: "7.1-preview.1",
|
|
346
359
|
routeTemplate: "{project}/_apis/Release/autotriggerissues",
|
|
347
360
|
routeValues: {
|
|
348
361
|
project: project
|
|
@@ -364,7 +377,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
364
377
|
return __awaiter(this, void 0, void 0, function () {
|
|
365
378
|
return __generator(this, function (_a) {
|
|
366
379
|
return [2 /*return*/, this.beginRequest({
|
|
367
|
-
apiVersion: "
|
|
380
|
+
apiVersion: "7.1-preview.1",
|
|
368
381
|
routeTemplate: "_apis/public/Release/badge/{projectId}/{releaseDefinitionId}/{environmentId}/{branchName}",
|
|
369
382
|
routeValues: {
|
|
370
383
|
projectId: projectId,
|
|
@@ -393,7 +406,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
393
406
|
artifactAlias: artifactAlias
|
|
394
407
|
};
|
|
395
408
|
return [2 /*return*/, this.beginRequest({
|
|
396
|
-
apiVersion: "
|
|
409
|
+
apiVersion: "7.1-preview.1",
|
|
397
410
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/changes",
|
|
398
411
|
routeValues: {
|
|
399
412
|
project: project,
|
|
@@ -418,7 +431,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
418
431
|
propertyFilters: propertyFilters && propertyFilters.join(",")
|
|
419
432
|
};
|
|
420
433
|
return [2 /*return*/, this.beginRequest({
|
|
421
|
-
apiVersion: "
|
|
434
|
+
apiVersion: "7.1-preview.1",
|
|
422
435
|
routeTemplate: "{project}/_apis/Release/definitionEnvironments",
|
|
423
436
|
routeValues: {
|
|
424
437
|
project: project
|
|
@@ -438,7 +451,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
438
451
|
return __awaiter(this, void 0, void 0, function () {
|
|
439
452
|
return __generator(this, function (_a) {
|
|
440
453
|
return [2 /*return*/, this.beginRequest({
|
|
441
|
-
apiVersion: "
|
|
454
|
+
apiVersion: "7.1-preview.4",
|
|
442
455
|
method: "POST",
|
|
443
456
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
|
|
444
457
|
routeValues: {
|
|
@@ -466,7 +479,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
466
479
|
forceDelete: forceDelete
|
|
467
480
|
};
|
|
468
481
|
return [2 /*return*/, this.beginRequest({
|
|
469
|
-
apiVersion: "
|
|
482
|
+
apiVersion: "7.1-preview.4",
|
|
470
483
|
method: "DELETE",
|
|
471
484
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
|
|
472
485
|
routeValues: {
|
|
@@ -493,7 +506,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
493
506
|
propertyFilters: propertyFilters && propertyFilters.join(",")
|
|
494
507
|
};
|
|
495
508
|
return [2 /*return*/, this.beginRequest({
|
|
496
|
-
apiVersion: "
|
|
509
|
+
apiVersion: "7.1-preview.4",
|
|
497
510
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
|
|
498
511
|
routeValues: {
|
|
499
512
|
project: project,
|
|
@@ -519,7 +532,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
519
532
|
revision: revision
|
|
520
533
|
};
|
|
521
534
|
return [2 /*return*/, this.beginRequest({
|
|
522
|
-
apiVersion: "
|
|
535
|
+
apiVersion: "7.1-preview.4",
|
|
523
536
|
httpResponseType: "text/plain",
|
|
524
537
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
|
|
525
538
|
routeValues: {
|
|
@@ -553,6 +566,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
553
566
|
ReleaseRestClient.prototype.getReleaseDefinitions = function (project, searchText, expand, artifactType, artifactSourceId, top, continuationToken, queryOrder, path, isExactNameMatch, tagFilter, propertyFilters, definitionIdFilter, isDeleted, searchTextContainsFolderName) {
|
|
554
567
|
return __awaiter(this, void 0, void 0, function () {
|
|
555
568
|
var queryValues;
|
|
569
|
+
var _this = this;
|
|
556
570
|
return __generator(this, function (_a) {
|
|
557
571
|
queryValues = {
|
|
558
572
|
searchText: searchText,
|
|
@@ -571,13 +585,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
571
585
|
searchTextContainsFolderName: searchTextContainsFolderName
|
|
572
586
|
};
|
|
573
587
|
return [2 /*return*/, this.beginRequest({
|
|
574
|
-
apiVersion: "
|
|
588
|
+
apiVersion: "7.1-preview.4",
|
|
575
589
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
|
|
576
590
|
routeValues: {
|
|
577
591
|
project: project
|
|
578
592
|
},
|
|
579
|
-
queryParams: queryValues
|
|
580
|
-
|
|
593
|
+
queryParams: queryValues,
|
|
594
|
+
returnRawResponse: true
|
|
595
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
596
|
+
var body;
|
|
597
|
+
return __generator(this, function (_a) {
|
|
598
|
+
switch (_a.label) {
|
|
599
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
600
|
+
case 1:
|
|
601
|
+
body = _a.sent();
|
|
602
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
603
|
+
return [2 /*return*/, body];
|
|
604
|
+
}
|
|
605
|
+
});
|
|
606
|
+
}); })];
|
|
581
607
|
});
|
|
582
608
|
});
|
|
583
609
|
};
|
|
@@ -592,7 +618,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
592
618
|
return __awaiter(this, void 0, void 0, function () {
|
|
593
619
|
return __generator(this, function (_a) {
|
|
594
620
|
return [2 /*return*/, this.beginRequest({
|
|
595
|
-
apiVersion: "
|
|
621
|
+
apiVersion: "7.1-preview.4",
|
|
596
622
|
method: "PATCH",
|
|
597
623
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
|
|
598
624
|
routeValues: {
|
|
@@ -614,7 +640,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
614
640
|
return __awaiter(this, void 0, void 0, function () {
|
|
615
641
|
return __generator(this, function (_a) {
|
|
616
642
|
return [2 /*return*/, this.beginRequest({
|
|
617
|
-
apiVersion: "
|
|
643
|
+
apiVersion: "7.1-preview.4",
|
|
618
644
|
method: "PUT",
|
|
619
645
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}",
|
|
620
646
|
routeValues: {
|
|
@@ -646,6 +672,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
646
672
|
ReleaseRestClient.prototype.getDeployments = function (project, definitionId, definitionEnvironmentId, createdBy, minModifiedTime, maxModifiedTime, deploymentStatus, operationStatus, latestAttemptsOnly, queryOrder, top, continuationToken, createdFor, minStartedTime, maxStartedTime, sourceBranch) {
|
|
647
673
|
return __awaiter(this, void 0, void 0, function () {
|
|
648
674
|
var queryValues;
|
|
675
|
+
var _this = this;
|
|
649
676
|
return __generator(this, function (_a) {
|
|
650
677
|
queryValues = {
|
|
651
678
|
definitionId: definitionId,
|
|
@@ -665,13 +692,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
665
692
|
sourceBranch: sourceBranch
|
|
666
693
|
};
|
|
667
694
|
return [2 /*return*/, this.beginRequest({
|
|
668
|
-
apiVersion: "
|
|
695
|
+
apiVersion: "7.1-preview.2",
|
|
669
696
|
routeTemplate: "{project}/_apis/Release/deployments",
|
|
670
697
|
routeValues: {
|
|
671
698
|
project: project
|
|
672
699
|
},
|
|
673
|
-
queryParams: queryValues
|
|
674
|
-
|
|
700
|
+
queryParams: queryValues,
|
|
701
|
+
returnRawResponse: true
|
|
702
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
703
|
+
var body;
|
|
704
|
+
return __generator(this, function (_a) {
|
|
705
|
+
switch (_a.label) {
|
|
706
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
707
|
+
case 1:
|
|
708
|
+
body = _a.sent();
|
|
709
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
710
|
+
return [2 /*return*/, body];
|
|
711
|
+
}
|
|
712
|
+
});
|
|
713
|
+
}); })];
|
|
675
714
|
});
|
|
676
715
|
});
|
|
677
716
|
};
|
|
@@ -683,7 +722,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
683
722
|
return __awaiter(this, void 0, void 0, function () {
|
|
684
723
|
return __generator(this, function (_a) {
|
|
685
724
|
return [2 /*return*/, this.beginRequest({
|
|
686
|
-
apiVersion: "
|
|
725
|
+
apiVersion: "7.1-preview.2",
|
|
687
726
|
method: "POST",
|
|
688
727
|
routeTemplate: "{project}/_apis/Release/deployments",
|
|
689
728
|
routeValues: {
|
|
@@ -700,18 +739,24 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
700
739
|
* @param project - Project ID or project name
|
|
701
740
|
* @param releaseId - Id of the release.
|
|
702
741
|
* @param environmentId - Id of the release environment.
|
|
742
|
+
* @param expand - A property that should be expanded in the environment.
|
|
703
743
|
*/
|
|
704
|
-
ReleaseRestClient.prototype.getReleaseEnvironment = function (project, releaseId, environmentId) {
|
|
744
|
+
ReleaseRestClient.prototype.getReleaseEnvironment = function (project, releaseId, environmentId, expand) {
|
|
705
745
|
return __awaiter(this, void 0, void 0, function () {
|
|
746
|
+
var queryValues;
|
|
706
747
|
return __generator(this, function (_a) {
|
|
748
|
+
queryValues = {
|
|
749
|
+
'$expand': expand
|
|
750
|
+
};
|
|
707
751
|
return [2 /*return*/, this.beginRequest({
|
|
708
|
-
apiVersion: "
|
|
752
|
+
apiVersion: "7.1-preview.7",
|
|
709
753
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}",
|
|
710
754
|
routeValues: {
|
|
711
755
|
project: project,
|
|
712
756
|
releaseId: releaseId,
|
|
713
757
|
environmentId: environmentId
|
|
714
|
-
}
|
|
758
|
+
},
|
|
759
|
+
queryParams: queryValues
|
|
715
760
|
})];
|
|
716
761
|
});
|
|
717
762
|
});
|
|
@@ -728,7 +773,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
728
773
|
return __awaiter(this, void 0, void 0, function () {
|
|
729
774
|
return __generator(this, function (_a) {
|
|
730
775
|
return [2 /*return*/, this.beginRequest({
|
|
731
|
-
apiVersion: "
|
|
776
|
+
apiVersion: "7.1-preview.7",
|
|
732
777
|
method: "PATCH",
|
|
733
778
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}",
|
|
734
779
|
routeValues: {
|
|
@@ -751,7 +796,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
751
796
|
return __awaiter(this, void 0, void 0, function () {
|
|
752
797
|
return __generator(this, function (_a) {
|
|
753
798
|
return [2 /*return*/, this.beginRequest({
|
|
754
|
-
apiVersion: "
|
|
799
|
+
apiVersion: "7.1-preview.4",
|
|
755
800
|
method: "POST",
|
|
756
801
|
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
|
|
757
802
|
routeValues: {
|
|
@@ -776,7 +821,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
776
821
|
templateId: templateId
|
|
777
822
|
};
|
|
778
823
|
return [2 /*return*/, this.beginRequest({
|
|
779
|
-
apiVersion: "
|
|
824
|
+
apiVersion: "7.1-preview.4",
|
|
780
825
|
method: "DELETE",
|
|
781
826
|
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
|
|
782
827
|
routeValues: {
|
|
@@ -801,7 +846,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
801
846
|
templateId: templateId
|
|
802
847
|
};
|
|
803
848
|
return [2 /*return*/, this.beginRequest({
|
|
804
|
-
apiVersion: "
|
|
849
|
+
apiVersion: "7.1-preview.4",
|
|
805
850
|
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
|
|
806
851
|
routeValues: {
|
|
807
852
|
project: project
|
|
@@ -825,7 +870,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
825
870
|
isDeleted: isDeleted
|
|
826
871
|
};
|
|
827
872
|
return [2 /*return*/, this.beginRequest({
|
|
828
|
-
apiVersion: "
|
|
873
|
+
apiVersion: "7.1-preview.4",
|
|
829
874
|
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
|
|
830
875
|
routeValues: {
|
|
831
876
|
project: project
|
|
@@ -849,7 +894,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
849
894
|
templateId: templateId
|
|
850
895
|
};
|
|
851
896
|
return [2 /*return*/, this.beginRequest({
|
|
852
|
-
apiVersion: "
|
|
897
|
+
apiVersion: "7.1-preview.4",
|
|
853
898
|
method: "PATCH",
|
|
854
899
|
routeTemplate: "{project}/_apis/Release/definitions/environmenttemplates",
|
|
855
900
|
routeValues: {
|
|
@@ -874,7 +919,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
874
919
|
identityId: identityId
|
|
875
920
|
};
|
|
876
921
|
return [2 /*return*/, this.beginRequest({
|
|
877
|
-
apiVersion: "
|
|
922
|
+
apiVersion: "7.1-preview.1",
|
|
878
923
|
method: "POST",
|
|
879
924
|
routeTemplate: "{project}/_apis/Release/favorites/{scope}",
|
|
880
925
|
routeValues: {
|
|
@@ -902,7 +947,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
902
947
|
favoriteItemIds: favoriteItemIds
|
|
903
948
|
};
|
|
904
949
|
return [2 /*return*/, this.beginRequest({
|
|
905
|
-
apiVersion: "
|
|
950
|
+
apiVersion: "7.1-preview.1",
|
|
906
951
|
method: "DELETE",
|
|
907
952
|
routeTemplate: "{project}/_apis/Release/favorites/{scope}",
|
|
908
953
|
routeValues: {
|
|
@@ -927,7 +972,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
927
972
|
identityId: identityId
|
|
928
973
|
};
|
|
929
974
|
return [2 /*return*/, this.beginRequest({
|
|
930
|
-
apiVersion: "
|
|
975
|
+
apiVersion: "7.1-preview.1",
|
|
931
976
|
routeTemplate: "{project}/_apis/Release/favorites/{scope}",
|
|
932
977
|
routeValues: {
|
|
933
978
|
project: project,
|
|
@@ -949,7 +994,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
949
994
|
flightName: flightName
|
|
950
995
|
};
|
|
951
996
|
return [2 /*return*/, this.beginRequest({
|
|
952
|
-
apiVersion: "
|
|
997
|
+
apiVersion: "7.1-preview.1",
|
|
953
998
|
routeTemplate: "_apis/Release/flightAssignments",
|
|
954
999
|
queryParams: queryValues
|
|
955
1000
|
})];
|
|
@@ -967,7 +1012,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
967
1012
|
return __awaiter(this, void 0, void 0, function () {
|
|
968
1013
|
return __generator(this, function (_a) {
|
|
969
1014
|
return [2 /*return*/, this.beginRequest({
|
|
970
|
-
apiVersion: "
|
|
1015
|
+
apiVersion: "7.1-preview.2",
|
|
971
1016
|
method: "POST",
|
|
972
1017
|
routeTemplate: "{project}/_apis/Release/folders/{*path}",
|
|
973
1018
|
routeValues: {
|
|
@@ -989,7 +1034,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
989
1034
|
return __awaiter(this, void 0, void 0, function () {
|
|
990
1035
|
return __generator(this, function (_a) {
|
|
991
1036
|
return [2 /*return*/, this.beginRequest({
|
|
992
|
-
apiVersion: "
|
|
1037
|
+
apiVersion: "7.1-preview.2",
|
|
993
1038
|
method: "DELETE",
|
|
994
1039
|
routeTemplate: "{project}/_apis/Release/folders/{*path}",
|
|
995
1040
|
routeValues: {
|
|
@@ -1015,7 +1060,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1015
1060
|
queryOrder: queryOrder
|
|
1016
1061
|
};
|
|
1017
1062
|
return [2 /*return*/, this.beginRequest({
|
|
1018
|
-
apiVersion: "
|
|
1063
|
+
apiVersion: "7.1-preview.2",
|
|
1019
1064
|
routeTemplate: "{project}/_apis/Release/folders/{*path}",
|
|
1020
1065
|
routeValues: {
|
|
1021
1066
|
project: project,
|
|
@@ -1037,7 +1082,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1037
1082
|
return __awaiter(this, void 0, void 0, function () {
|
|
1038
1083
|
return __generator(this, function (_a) {
|
|
1039
1084
|
return [2 /*return*/, this.beginRequest({
|
|
1040
|
-
apiVersion: "
|
|
1085
|
+
apiVersion: "7.1-preview.2",
|
|
1041
1086
|
method: "PATCH",
|
|
1042
1087
|
routeTemplate: "{project}/_apis/Release/folders/{*path}",
|
|
1043
1088
|
routeValues: {
|
|
@@ -1060,7 +1105,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1060
1105
|
return __awaiter(this, void 0, void 0, function () {
|
|
1061
1106
|
return __generator(this, function (_a) {
|
|
1062
1107
|
return [2 /*return*/, this.beginRequest({
|
|
1063
|
-
apiVersion: "
|
|
1108
|
+
apiVersion: "7.1-preview.1",
|
|
1064
1109
|
method: "PATCH",
|
|
1065
1110
|
routeTemplate: "{project}/_apis/Release/gates/{gateStepId}",
|
|
1066
1111
|
routeValues: {
|
|
@@ -1080,7 +1125,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1080
1125
|
return __awaiter(this, void 0, void 0, function () {
|
|
1081
1126
|
return __generator(this, function (_a) {
|
|
1082
1127
|
return [2 /*return*/, this.beginRequest({
|
|
1083
|
-
apiVersion: "
|
|
1128
|
+
apiVersion: "7.1-preview.1",
|
|
1084
1129
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/history",
|
|
1085
1130
|
routeValues: {
|
|
1086
1131
|
project: project,
|
|
@@ -1098,7 +1143,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1098
1143
|
return __awaiter(this, void 0, void 0, function () {
|
|
1099
1144
|
return __generator(this, function (_a) {
|
|
1100
1145
|
return [2 /*return*/, this.beginRequest({
|
|
1101
|
-
apiVersion: "
|
|
1146
|
+
apiVersion: "7.1-preview.1",
|
|
1102
1147
|
method: "POST",
|
|
1103
1148
|
routeTemplate: "{project}/_apis/Release/artifacts/inputvaluesquery",
|
|
1104
1149
|
routeValues: {
|
|
@@ -1122,7 +1167,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1122
1167
|
sourceId: sourceId
|
|
1123
1168
|
};
|
|
1124
1169
|
return [2 /*return*/, this.beginRequest({
|
|
1125
|
-
apiVersion: "
|
|
1170
|
+
apiVersion: "7.1-preview.1",
|
|
1126
1171
|
routeTemplate: "{project}/_apis/Release/issues/{buildId}",
|
|
1127
1172
|
routeValues: {
|
|
1128
1173
|
project: project,
|
|
@@ -1146,7 +1191,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1146
1191
|
return __awaiter(this, void 0, void 0, function () {
|
|
1147
1192
|
return __generator(this, function (_a) {
|
|
1148
1193
|
return [2 /*return*/, this.beginRequest({
|
|
1149
|
-
apiVersion: "
|
|
1194
|
+
apiVersion: "7.1-preview.2",
|
|
1150
1195
|
httpResponseType: "text/plain",
|
|
1151
1196
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/gates/{gateId}/tasks/{taskId}/logs",
|
|
1152
1197
|
routeValues: {
|
|
@@ -1170,7 +1215,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1170
1215
|
return __awaiter(this, void 0, void 0, function () {
|
|
1171
1216
|
return __generator(this, function (_a) {
|
|
1172
1217
|
return [2 /*return*/, this.beginRequest({
|
|
1173
|
-
apiVersion: "
|
|
1218
|
+
apiVersion: "7.1-preview.2",
|
|
1174
1219
|
httpResponseType: "application/zip",
|
|
1175
1220
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/logs",
|
|
1176
1221
|
routeValues: {
|
|
@@ -1198,7 +1243,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1198
1243
|
attemptId: attemptId
|
|
1199
1244
|
};
|
|
1200
1245
|
return [2 /*return*/, this.beginRequest({
|
|
1201
|
-
apiVersion: "
|
|
1246
|
+
apiVersion: "7.1-preview.2",
|
|
1202
1247
|
httpResponseType: "text/plain",
|
|
1203
1248
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/tasks/{taskId}/logs",
|
|
1204
1249
|
routeValues: {
|
|
@@ -1233,7 +1278,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1233
1278
|
endLine: endLine
|
|
1234
1279
|
};
|
|
1235
1280
|
return [2 /*return*/, this.beginRequest({
|
|
1236
|
-
apiVersion: "
|
|
1281
|
+
apiVersion: "7.1-preview.2",
|
|
1237
1282
|
httpResponseType: "text/plain",
|
|
1238
1283
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/tasks/{taskId}/logs",
|
|
1239
1284
|
routeValues: {
|
|
@@ -1269,7 +1314,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1269
1314
|
endLine: endLine
|
|
1270
1315
|
};
|
|
1271
1316
|
return [2 /*return*/, this.beginRequest({
|
|
1272
|
-
apiVersion: "
|
|
1317
|
+
apiVersion: "7.1-preview.2",
|
|
1273
1318
|
httpResponseType: "text/plain",
|
|
1274
1319
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/deployPhases/{releaseDeployPhaseId}/tasks/{taskId}/logs",
|
|
1275
1320
|
routeValues: {
|
|
@@ -1295,7 +1340,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1295
1340
|
return __awaiter(this, void 0, void 0, function () {
|
|
1296
1341
|
return __generator(this, function (_a) {
|
|
1297
1342
|
return [2 /*return*/, this.beginRequest({
|
|
1298
|
-
apiVersion: "
|
|
1343
|
+
apiVersion: "7.1-preview.1",
|
|
1299
1344
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
|
|
1300
1345
|
routeValues: {
|
|
1301
1346
|
project: project,
|
|
@@ -1316,7 +1361,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1316
1361
|
return __awaiter(this, void 0, void 0, function () {
|
|
1317
1362
|
return __generator(this, function (_a) {
|
|
1318
1363
|
return [2 /*return*/, this.beginRequest({
|
|
1319
|
-
apiVersion: "
|
|
1364
|
+
apiVersion: "7.1-preview.1",
|
|
1320
1365
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
|
|
1321
1366
|
routeValues: {
|
|
1322
1367
|
project: project,
|
|
@@ -1338,7 +1383,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1338
1383
|
return __awaiter(this, void 0, void 0, function () {
|
|
1339
1384
|
return __generator(this, function (_a) {
|
|
1340
1385
|
return [2 /*return*/, this.beginRequest({
|
|
1341
|
-
apiVersion: "
|
|
1386
|
+
apiVersion: "7.1-preview.1",
|
|
1342
1387
|
method: "PATCH",
|
|
1343
1388
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
|
|
1344
1389
|
routeValues: {
|
|
@@ -1363,7 +1408,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1363
1408
|
minMetricsTime: minMetricsTime
|
|
1364
1409
|
};
|
|
1365
1410
|
return [2 /*return*/, this.beginRequest({
|
|
1366
|
-
apiVersion: "
|
|
1411
|
+
apiVersion: "7.1-preview.1",
|
|
1367
1412
|
routeTemplate: "{project}/_apis/Release/metrics",
|
|
1368
1413
|
routeValues: {
|
|
1369
1414
|
project: project
|
|
@@ -1373,6 +1418,76 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1373
1418
|
});
|
|
1374
1419
|
});
|
|
1375
1420
|
};
|
|
1421
|
+
/**
|
|
1422
|
+
* Gets Org pipeline release settings
|
|
1423
|
+
*
|
|
1424
|
+
*/
|
|
1425
|
+
ReleaseRestClient.prototype.getOrgPipelineReleaseSettings = function () {
|
|
1426
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1427
|
+
return __generator(this, function (_a) {
|
|
1428
|
+
return [2 /*return*/, this.beginRequest({
|
|
1429
|
+
apiVersion: "7.1-preview.1",
|
|
1430
|
+
routeTemplate: "_apis/Release/orgPipelineReleaseSettings"
|
|
1431
|
+
})];
|
|
1432
|
+
});
|
|
1433
|
+
});
|
|
1434
|
+
};
|
|
1435
|
+
/**
|
|
1436
|
+
* Updates Org pipeline release settings
|
|
1437
|
+
*
|
|
1438
|
+
* @param newSettings -
|
|
1439
|
+
*/
|
|
1440
|
+
ReleaseRestClient.prototype.updateOrgPipelineReleaseSettings = function (newSettings) {
|
|
1441
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1442
|
+
return __generator(this, function (_a) {
|
|
1443
|
+
return [2 /*return*/, this.beginRequest({
|
|
1444
|
+
apiVersion: "7.1-preview.1",
|
|
1445
|
+
method: "PATCH",
|
|
1446
|
+
routeTemplate: "_apis/Release/orgPipelineReleaseSettings",
|
|
1447
|
+
body: newSettings
|
|
1448
|
+
})];
|
|
1449
|
+
});
|
|
1450
|
+
});
|
|
1451
|
+
};
|
|
1452
|
+
/**
|
|
1453
|
+
* Gets pipeline release settings
|
|
1454
|
+
*
|
|
1455
|
+
* @param project - Project ID or project name
|
|
1456
|
+
*/
|
|
1457
|
+
ReleaseRestClient.prototype.getPipelineReleaseSettings = function (project) {
|
|
1458
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1459
|
+
return __generator(this, function (_a) {
|
|
1460
|
+
return [2 /*return*/, this.beginRequest({
|
|
1461
|
+
apiVersion: "7.1-preview.1",
|
|
1462
|
+
routeTemplate: "{project}/_apis/Release/pipelineReleaseSettings",
|
|
1463
|
+
routeValues: {
|
|
1464
|
+
project: project
|
|
1465
|
+
}
|
|
1466
|
+
})];
|
|
1467
|
+
});
|
|
1468
|
+
});
|
|
1469
|
+
};
|
|
1470
|
+
/**
|
|
1471
|
+
* Updates pipeline release settings
|
|
1472
|
+
*
|
|
1473
|
+
* @param newSettings -
|
|
1474
|
+
* @param project - Project ID or project name
|
|
1475
|
+
*/
|
|
1476
|
+
ReleaseRestClient.prototype.updatePipelineReleaseSettings = function (newSettings, project) {
|
|
1477
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1478
|
+
return __generator(this, function (_a) {
|
|
1479
|
+
return [2 /*return*/, this.beginRequest({
|
|
1480
|
+
apiVersion: "7.1-preview.1",
|
|
1481
|
+
method: "PATCH",
|
|
1482
|
+
routeTemplate: "{project}/_apis/Release/pipelineReleaseSettings",
|
|
1483
|
+
routeValues: {
|
|
1484
|
+
project: project
|
|
1485
|
+
},
|
|
1486
|
+
body: newSettings
|
|
1487
|
+
})];
|
|
1488
|
+
});
|
|
1489
|
+
});
|
|
1490
|
+
};
|
|
1376
1491
|
/**
|
|
1377
1492
|
* @param artifactType -
|
|
1378
1493
|
* @param artifactSourceId -
|
|
@@ -1386,7 +1501,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1386
1501
|
artifactSourceId: artifactSourceId
|
|
1387
1502
|
};
|
|
1388
1503
|
return [2 /*return*/, this.beginRequest({
|
|
1389
|
-
apiVersion: "
|
|
1504
|
+
apiVersion: "7.1-preview.1",
|
|
1390
1505
|
routeTemplate: "_apis/Release/projects",
|
|
1391
1506
|
queryParams: queryValues
|
|
1392
1507
|
})];
|
|
@@ -1422,6 +1537,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1422
1537
|
ReleaseRestClient.prototype.getReleases = function (project, definitionId, definitionEnvironmentId, searchText, createdBy, statusFilter, environmentStatusFilter, minCreatedTime, maxCreatedTime, queryOrder, top, continuationToken, expand, artifactTypeId, sourceId, artifactVersionId, sourceBranchFilter, isDeleted, tagFilter, propertyFilters, releaseIdFilter, path) {
|
|
1423
1538
|
return __awaiter(this, void 0, void 0, function () {
|
|
1424
1539
|
var queryValues;
|
|
1540
|
+
var _this = this;
|
|
1425
1541
|
return __generator(this, function (_a) {
|
|
1426
1542
|
queryValues = {
|
|
1427
1543
|
definitionId: definitionId,
|
|
@@ -1447,13 +1563,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1447
1563
|
path: path
|
|
1448
1564
|
};
|
|
1449
1565
|
return [2 /*return*/, this.beginRequest({
|
|
1450
|
-
apiVersion: "
|
|
1566
|
+
apiVersion: "7.1-preview.8",
|
|
1451
1567
|
routeTemplate: "{project}/_apis/Release/releases",
|
|
1452
1568
|
routeValues: {
|
|
1453
1569
|
project: project
|
|
1454
1570
|
},
|
|
1455
|
-
queryParams: queryValues
|
|
1456
|
-
|
|
1571
|
+
queryParams: queryValues,
|
|
1572
|
+
returnRawResponse: true
|
|
1573
|
+
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
1574
|
+
var body;
|
|
1575
|
+
return __generator(this, function (_a) {
|
|
1576
|
+
switch (_a.label) {
|
|
1577
|
+
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
1578
|
+
case 1:
|
|
1579
|
+
body = _a.sent();
|
|
1580
|
+
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
1581
|
+
return [2 /*return*/, body];
|
|
1582
|
+
}
|
|
1583
|
+
});
|
|
1584
|
+
}); })];
|
|
1457
1585
|
});
|
|
1458
1586
|
});
|
|
1459
1587
|
};
|
|
@@ -1467,7 +1595,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1467
1595
|
return __awaiter(this, void 0, void 0, function () {
|
|
1468
1596
|
return __generator(this, function (_a) {
|
|
1469
1597
|
return [2 /*return*/, this.beginRequest({
|
|
1470
|
-
apiVersion: "
|
|
1598
|
+
apiVersion: "7.1-preview.8",
|
|
1471
1599
|
method: "POST",
|
|
1472
1600
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1473
1601
|
routeValues: {
|
|
@@ -1493,7 +1621,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1493
1621
|
comment: comment
|
|
1494
1622
|
};
|
|
1495
1623
|
return [2 /*return*/, this.beginRequest({
|
|
1496
|
-
apiVersion: "
|
|
1624
|
+
apiVersion: "7.1-preview.8",
|
|
1497
1625
|
method: "DELETE",
|
|
1498
1626
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1499
1627
|
routeValues: {
|
|
@@ -1526,7 +1654,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1526
1654
|
'$topGateRecords': topGateRecords
|
|
1527
1655
|
};
|
|
1528
1656
|
return [2 /*return*/, this.beginRequest({
|
|
1529
|
-
apiVersion: "
|
|
1657
|
+
apiVersion: "7.1-preview.8",
|
|
1530
1658
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1531
1659
|
routeValues: {
|
|
1532
1660
|
project: project,
|
|
@@ -1557,7 +1685,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1557
1685
|
definitionEnvironmentIdsFilter: definitionEnvironmentIdsFilter && definitionEnvironmentIdsFilter.join(",")
|
|
1558
1686
|
};
|
|
1559
1687
|
return [2 /*return*/, this.beginRequest({
|
|
1560
|
-
apiVersion: "
|
|
1688
|
+
apiVersion: "7.1-preview.8",
|
|
1561
1689
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1562
1690
|
routeValues: {
|
|
1563
1691
|
project: project
|
|
@@ -1582,7 +1710,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1582
1710
|
definitionSnapshotRevision: definitionSnapshotRevision
|
|
1583
1711
|
};
|
|
1584
1712
|
return [2 /*return*/, this.beginRequest({
|
|
1585
|
-
apiVersion: "
|
|
1713
|
+
apiVersion: "7.1-preview.8",
|
|
1586
1714
|
httpResponseType: "text/plain",
|
|
1587
1715
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1588
1716
|
routeValues: {
|
|
@@ -1609,7 +1737,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1609
1737
|
comment: comment
|
|
1610
1738
|
};
|
|
1611
1739
|
return [2 /*return*/, this.beginRequest({
|
|
1612
|
-
apiVersion: "
|
|
1740
|
+
apiVersion: "7.1-preview.8",
|
|
1613
1741
|
method: "PUT",
|
|
1614
1742
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1615
1743
|
routeValues: {
|
|
@@ -1632,7 +1760,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1632
1760
|
return __awaiter(this, void 0, void 0, function () {
|
|
1633
1761
|
return __generator(this, function (_a) {
|
|
1634
1762
|
return [2 /*return*/, this.beginRequest({
|
|
1635
|
-
apiVersion: "
|
|
1763
|
+
apiVersion: "7.1-preview.8",
|
|
1636
1764
|
method: "PUT",
|
|
1637
1765
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1638
1766
|
routeValues: {
|
|
@@ -1655,7 +1783,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1655
1783
|
return __awaiter(this, void 0, void 0, function () {
|
|
1656
1784
|
return __generator(this, function (_a) {
|
|
1657
1785
|
return [2 /*return*/, this.beginRequest({
|
|
1658
|
-
apiVersion: "
|
|
1786
|
+
apiVersion: "7.1-preview.8",
|
|
1659
1787
|
method: "PATCH",
|
|
1660
1788
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1661
1789
|
routeValues: {
|
|
@@ -1676,7 +1804,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1676
1804
|
return __awaiter(this, void 0, void 0, function () {
|
|
1677
1805
|
return __generator(this, function (_a) {
|
|
1678
1806
|
return [2 /*return*/, this.beginRequest({
|
|
1679
|
-
apiVersion: "
|
|
1807
|
+
apiVersion: "7.1-preview.1",
|
|
1680
1808
|
routeTemplate: "{project}/_apis/Release/releasesettings",
|
|
1681
1809
|
routeValues: {
|
|
1682
1810
|
project: project
|
|
@@ -1695,7 +1823,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1695
1823
|
return __awaiter(this, void 0, void 0, function () {
|
|
1696
1824
|
return __generator(this, function (_a) {
|
|
1697
1825
|
return [2 /*return*/, this.beginRequest({
|
|
1698
|
-
apiVersion: "
|
|
1826
|
+
apiVersion: "7.1-preview.1",
|
|
1699
1827
|
method: "PUT",
|
|
1700
1828
|
routeTemplate: "{project}/_apis/Release/releasesettings",
|
|
1701
1829
|
routeValues: {
|
|
@@ -1717,7 +1845,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1717
1845
|
return __awaiter(this, void 0, void 0, function () {
|
|
1718
1846
|
return __generator(this, function (_a) {
|
|
1719
1847
|
return [2 /*return*/, this.beginRequest({
|
|
1720
|
-
apiVersion: "
|
|
1848
|
+
apiVersion: "7.1-preview.1",
|
|
1721
1849
|
httpResponseType: "text/plain",
|
|
1722
1850
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}/revisions/{revision}",
|
|
1723
1851
|
routeValues: {
|
|
@@ -1739,7 +1867,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1739
1867
|
return __awaiter(this, void 0, void 0, function () {
|
|
1740
1868
|
return __generator(this, function (_a) {
|
|
1741
1869
|
return [2 /*return*/, this.beginRequest({
|
|
1742
|
-
apiVersion: "
|
|
1870
|
+
apiVersion: "7.1-preview.1",
|
|
1743
1871
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}/revisions/{revision}",
|
|
1744
1872
|
routeValues: {
|
|
1745
1873
|
project: project,
|
|
@@ -1757,7 +1885,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1757
1885
|
return __awaiter(this, void 0, void 0, function () {
|
|
1758
1886
|
return __generator(this, function (_a) {
|
|
1759
1887
|
return [2 /*return*/, this.beginRequest({
|
|
1760
|
-
apiVersion: "
|
|
1888
|
+
apiVersion: "7.1-preview.1",
|
|
1761
1889
|
routeTemplate: "{project}/_apis/Release/sendmail/{releaseId}",
|
|
1762
1890
|
routeValues: {
|
|
1763
1891
|
project: project,
|
|
@@ -1776,7 +1904,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1776
1904
|
return __awaiter(this, void 0, void 0, function () {
|
|
1777
1905
|
return __generator(this, function (_a) {
|
|
1778
1906
|
return [2 /*return*/, this.beginRequest({
|
|
1779
|
-
apiVersion: "
|
|
1907
|
+
apiVersion: "7.1-preview.1",
|
|
1780
1908
|
method: "POST",
|
|
1781
1909
|
routeTemplate: "{project}/_apis/Release/sendmail/{releaseId}",
|
|
1782
1910
|
routeValues: {
|
|
@@ -1796,7 +1924,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1796
1924
|
return __awaiter(this, void 0, void 0, function () {
|
|
1797
1925
|
return __generator(this, function (_a) {
|
|
1798
1926
|
return [2 /*return*/, this.beginRequest({
|
|
1799
|
-
apiVersion: "
|
|
1927
|
+
apiVersion: "7.1-preview.1",
|
|
1800
1928
|
routeTemplate: "{project}/_apis/Release/definitions/{definitionId}/sourcebranches",
|
|
1801
1929
|
routeValues: {
|
|
1802
1930
|
project: project,
|
|
@@ -1817,7 +1945,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1817
1945
|
return __awaiter(this, void 0, void 0, function () {
|
|
1818
1946
|
return __generator(this, function (_a) {
|
|
1819
1947
|
return [2 /*return*/, this.beginRequest({
|
|
1820
|
-
apiVersion: "
|
|
1948
|
+
apiVersion: "7.1-preview.1",
|
|
1821
1949
|
method: "PATCH",
|
|
1822
1950
|
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
|
|
1823
1951
|
routeValues: {
|
|
@@ -1840,7 +1968,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1840
1968
|
return __awaiter(this, void 0, void 0, function () {
|
|
1841
1969
|
return __generator(this, function (_a) {
|
|
1842
1970
|
return [2 /*return*/, this.beginRequest({
|
|
1843
|
-
apiVersion: "
|
|
1971
|
+
apiVersion: "7.1-preview.1",
|
|
1844
1972
|
method: "POST",
|
|
1845
1973
|
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
|
|
1846
1974
|
routeValues: {
|
|
@@ -1863,7 +1991,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1863
1991
|
return __awaiter(this, void 0, void 0, function () {
|
|
1864
1992
|
return __generator(this, function (_a) {
|
|
1865
1993
|
return [2 /*return*/, this.beginRequest({
|
|
1866
|
-
apiVersion: "
|
|
1994
|
+
apiVersion: "7.1-preview.1",
|
|
1867
1995
|
method: "DELETE",
|
|
1868
1996
|
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
|
|
1869
1997
|
routeValues: {
|
|
@@ -1885,7 +2013,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1885
2013
|
return __awaiter(this, void 0, void 0, function () {
|
|
1886
2014
|
return __generator(this, function (_a) {
|
|
1887
2015
|
return [2 /*return*/, this.beginRequest({
|
|
1888
|
-
apiVersion: "
|
|
2016
|
+
apiVersion: "7.1-preview.1",
|
|
1889
2017
|
routeTemplate: "{project}/_apis/Release/definitions/{releaseDefinitionId}/tags/{*tag}",
|
|
1890
2018
|
routeValues: {
|
|
1891
2019
|
project: project,
|
|
@@ -1906,7 +2034,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1906
2034
|
return __awaiter(this, void 0, void 0, function () {
|
|
1907
2035
|
return __generator(this, function (_a) {
|
|
1908
2036
|
return [2 /*return*/, this.beginRequest({
|
|
1909
|
-
apiVersion: "
|
|
2037
|
+
apiVersion: "7.1-preview.1",
|
|
1910
2038
|
method: "PATCH",
|
|
1911
2039
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
|
|
1912
2040
|
routeValues: {
|
|
@@ -1929,7 +2057,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1929
2057
|
return __awaiter(this, void 0, void 0, function () {
|
|
1930
2058
|
return __generator(this, function (_a) {
|
|
1931
2059
|
return [2 /*return*/, this.beginRequest({
|
|
1932
|
-
apiVersion: "
|
|
2060
|
+
apiVersion: "7.1-preview.1",
|
|
1933
2061
|
method: "POST",
|
|
1934
2062
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
|
|
1935
2063
|
routeValues: {
|
|
@@ -1952,7 +2080,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1952
2080
|
return __awaiter(this, void 0, void 0, function () {
|
|
1953
2081
|
return __generator(this, function (_a) {
|
|
1954
2082
|
return [2 /*return*/, this.beginRequest({
|
|
1955
|
-
apiVersion: "
|
|
2083
|
+
apiVersion: "7.1-preview.1",
|
|
1956
2084
|
method: "DELETE",
|
|
1957
2085
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
|
|
1958
2086
|
routeValues: {
|
|
@@ -1974,7 +2102,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1974
2102
|
return __awaiter(this, void 0, void 0, function () {
|
|
1975
2103
|
return __generator(this, function (_a) {
|
|
1976
2104
|
return [2 /*return*/, this.beginRequest({
|
|
1977
|
-
apiVersion: "
|
|
2105
|
+
apiVersion: "7.1-preview.1",
|
|
1978
2106
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/tags/{*tag}",
|
|
1979
2107
|
routeValues: {
|
|
1980
2108
|
project: project,
|
|
@@ -1991,7 +2119,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
1991
2119
|
return __awaiter(this, void 0, void 0, function () {
|
|
1992
2120
|
return __generator(this, function (_a) {
|
|
1993
2121
|
return [2 /*return*/, this.beginRequest({
|
|
1994
|
-
apiVersion: "
|
|
2122
|
+
apiVersion: "7.1-preview.1",
|
|
1995
2123
|
routeTemplate: "{project}/_apis/Release/tags",
|
|
1996
2124
|
routeValues: {
|
|
1997
2125
|
project: project
|
|
@@ -2010,7 +2138,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2010
2138
|
return __awaiter(this, void 0, void 0, function () {
|
|
2011
2139
|
return __generator(this, function (_a) {
|
|
2012
2140
|
return [2 /*return*/, this.beginRequest({
|
|
2013
|
-
apiVersion: "
|
|
2141
|
+
apiVersion: "7.1-preview.2",
|
|
2014
2142
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/deployPhases/{releaseDeployPhaseId}/tasks",
|
|
2015
2143
|
routeValues: {
|
|
2016
2144
|
project: project,
|
|
@@ -2033,7 +2161,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2033
2161
|
return __awaiter(this, void 0, void 0, function () {
|
|
2034
2162
|
return __generator(this, function (_a) {
|
|
2035
2163
|
return [2 /*return*/, this.beginRequest({
|
|
2036
|
-
apiVersion: "
|
|
2164
|
+
apiVersion: "7.1-preview.2",
|
|
2037
2165
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/attempts/{attemptId}/timelines/{timelineId}/tasks",
|
|
2038
2166
|
routeValues: {
|
|
2039
2167
|
project: project,
|
|
@@ -2060,7 +2188,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2060
2188
|
attemptId: attemptId
|
|
2061
2189
|
};
|
|
2062
2190
|
return [2 /*return*/, this.beginRequest({
|
|
2063
|
-
apiVersion: "
|
|
2191
|
+
apiVersion: "7.1-preview.2",
|
|
2064
2192
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}/tasks",
|
|
2065
2193
|
routeValues: {
|
|
2066
2194
|
project: project,
|
|
@@ -2079,7 +2207,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2079
2207
|
return __awaiter(this, void 0, void 0, function () {
|
|
2080
2208
|
return __generator(this, function (_a) {
|
|
2081
2209
|
return [2 /*return*/, this.beginRequest({
|
|
2082
|
-
apiVersion: "
|
|
2210
|
+
apiVersion: "7.1-preview.1",
|
|
2083
2211
|
routeTemplate: "{project}/_apis/Release/artifacts/types",
|
|
2084
2212
|
routeValues: {
|
|
2085
2213
|
project: project
|
|
@@ -2100,7 +2228,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2100
2228
|
releaseDefinitionId: releaseDefinitionId
|
|
2101
2229
|
};
|
|
2102
2230
|
return [2 /*return*/, this.beginRequest({
|
|
2103
|
-
apiVersion: "
|
|
2231
|
+
apiVersion: "7.1-preview.1",
|
|
2104
2232
|
routeTemplate: "{project}/_apis/Release/artifacts/versions",
|
|
2105
2233
|
routeValues: {
|
|
2106
2234
|
project: project
|
|
@@ -2118,7 +2246,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2118
2246
|
return __awaiter(this, void 0, void 0, function () {
|
|
2119
2247
|
return __generator(this, function (_a) {
|
|
2120
2248
|
return [2 /*return*/, this.beginRequest({
|
|
2121
|
-
apiVersion: "
|
|
2249
|
+
apiVersion: "7.1-preview.1",
|
|
2122
2250
|
method: "POST",
|
|
2123
2251
|
routeTemplate: "{project}/_apis/Release/artifacts/versions",
|
|
2124
2252
|
routeValues: {
|
|
@@ -2146,7 +2274,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
2146
2274
|
artifactAlias: artifactAlias
|
|
2147
2275
|
};
|
|
2148
2276
|
return [2 /*return*/, this.beginRequest({
|
|
2149
|
-
apiVersion: "
|
|
2277
|
+
apiVersion: "7.1-preview.1",
|
|
2150
2278
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/workitems",
|
|
2151
2279
|
routeValues: {
|
|
2152
2280
|
project: project,
|