azure-devops-extension-api 4.241.1 → 4.243.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/Alert/Alert.d.ts +3 -2
- package/Alert/AlertClient.d.ts +12 -0
- package/Alert/AlertClient.js +38 -2
- package/Alert/AlertClient.min.js +1 -1
- package/Build/BuildClient.js +1 -1
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/Contributions.d.ts +5 -1
- package/Contributions/Contributions.js +4 -0
- package/Contributions/Contributions.min.js +1 -1
- package/ExtensionManagement/ExtensionManagement.d.ts +5 -1
- package/ExtensionManagement/ExtensionManagement.js +4 -0
- package/ExtensionManagement/ExtensionManagement.min.js +1 -1
- package/Git/Git.d.ts +8 -0
- package/Management/Management.d.ts +4 -32
- package/Management/Management.js +0 -15
- package/Management/Management.min.js +1 -1
- package/Management/ManagementClient.d.ts +18 -25
- package/Management/ManagementClient.js +67 -86
- package/Management/ManagementClient.min.js +1 -1
- package/Pipelines/Pipelines.d.ts +10 -0
- package/Release/Release.d.ts +5 -1
- package/Release/Release.js +4 -0
- package/Release/Release.min.js +1 -1
- package/Release/ReleaseClient.d.ts +2 -2
- package/Release/ReleaseClient.js +17 -30
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpoint.d.ts +12 -0
- package/ServiceEndpoint/ServiceEndpoint.js +7 -0
- package/ServiceEndpoint/ServiceEndpoint.min.js +1 -1
- package/TaskAgent/TaskAgent.d.ts +3 -0
- package/Test/Test.d.ts +110 -5
- package/Test/Test.js +36 -0
- package/TestPlan/TestPlan.d.ts +4 -0
- package/TestResults/TestResultsClient.d.ts +34 -11
- package/TestResults/TestResultsClient.js +76 -25
- package/TestResults/TestResultsClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +13 -0
- package/package.json +1 -1
|
@@ -56,87 +56,6 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
56
56
|
function ManagementRestClient(options) {
|
|
57
57
|
return _super.call(this, options) || this;
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* Delete the billing info for an organization.
|
|
61
|
-
*
|
|
62
|
-
* @param organizationId -
|
|
63
|
-
*/
|
|
64
|
-
ManagementRestClient.prototype.deleteBillingInfo = function (organizationId) {
|
|
65
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
66
|
-
return __generator(this, function (_a) {
|
|
67
|
-
return [2 /*return*/, this.beginRequest({
|
|
68
|
-
apiVersion: "7.2-preview.1",
|
|
69
|
-
method: "DELETE",
|
|
70
|
-
routeTemplate: "{organizationId}/_apis/Management/Billing/{action}",
|
|
71
|
-
routeValues: {
|
|
72
|
-
organizationId: organizationId,
|
|
73
|
-
action: "Default"
|
|
74
|
-
}
|
|
75
|
-
})];
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Delete the meter usage history from Primary SU for an organization.
|
|
81
|
-
*
|
|
82
|
-
* @param organizationId -
|
|
83
|
-
*/
|
|
84
|
-
ManagementRestClient.prototype.deleteMeterUsageHistory = function (organizationId) {
|
|
85
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
86
|
-
return __generator(this, function (_a) {
|
|
87
|
-
return [2 /*return*/, this.beginRequest({
|
|
88
|
-
apiVersion: "7.2-preview.1",
|
|
89
|
-
method: "DELETE",
|
|
90
|
-
routeTemplate: "{organizationId}/_apis/Management/Billing/{action}",
|
|
91
|
-
routeValues: {
|
|
92
|
-
organizationId: organizationId,
|
|
93
|
-
action: "MeterUsageHistory"
|
|
94
|
-
}
|
|
95
|
-
})];
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* Get the billing info for an organization.
|
|
101
|
-
*
|
|
102
|
-
* @param organizationId - Organization ID to get billing info for.
|
|
103
|
-
*/
|
|
104
|
-
ManagementRestClient.prototype.getBillingInfo = function (organizationId) {
|
|
105
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
106
|
-
return __generator(this, function (_a) {
|
|
107
|
-
return [2 /*return*/, this.beginRequest({
|
|
108
|
-
apiVersion: "7.2-preview.1",
|
|
109
|
-
routeTemplate: "{organizationId}/_apis/Management/Billing/{action}",
|
|
110
|
-
routeValues: {
|
|
111
|
-
organizationId: organizationId,
|
|
112
|
-
action: "Default"
|
|
113
|
-
}
|
|
114
|
-
})];
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Save the billing info for an organization.
|
|
120
|
-
*
|
|
121
|
-
* @param billingInfo -
|
|
122
|
-
* @param organizationId -
|
|
123
|
-
*/
|
|
124
|
-
ManagementRestClient.prototype.saveBillingInfo = function (billingInfo, organizationId) {
|
|
125
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
126
|
-
return __generator(this, function (_a) {
|
|
127
|
-
return [2 /*return*/, this.beginRequest({
|
|
128
|
-
apiVersion: "7.2-preview.1",
|
|
129
|
-
method: "POST",
|
|
130
|
-
routeTemplate: "{organizationId}/_apis/Management/Billing/{action}",
|
|
131
|
-
routeValues: {
|
|
132
|
-
organizationId: organizationId,
|
|
133
|
-
action: "Default"
|
|
134
|
-
},
|
|
135
|
-
body: billingInfo
|
|
136
|
-
})];
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
};
|
|
140
59
|
/**
|
|
141
60
|
* During multi-org billing computation in primary scale unit(EUS21), this API is used to create billing snapshot for a specific org. Primary scale unit will call this API for each org in different scsle units to create billing snapshot. Data will be stored in the org specific partition DB -\> billing snapshot table. This is needed as customers will fetch billing data from their org specific partition DB.
|
|
142
61
|
*
|
|
@@ -255,6 +174,23 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
255
174
|
});
|
|
256
175
|
});
|
|
257
176
|
};
|
|
177
|
+
/**
|
|
178
|
+
* Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this organization.
|
|
179
|
+
*
|
|
180
|
+
*/
|
|
181
|
+
ManagementRestClient.prototype.getEstimatedBillablePushersDetailsForOrg = function () {
|
|
182
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
183
|
+
return __generator(this, function (_a) {
|
|
184
|
+
return [2 /*return*/, this.beginRequest({
|
|
185
|
+
apiVersion: "7.2-preview.1",
|
|
186
|
+
routeTemplate: "_apis/Management/meterUsageEstimate/{action}",
|
|
187
|
+
routeValues: {
|
|
188
|
+
action: "Details"
|
|
189
|
+
}
|
|
190
|
+
})];
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
};
|
|
258
194
|
/**
|
|
259
195
|
* Estimate the committers that would be added to the customer's usage if Advanced Security was enabled for this organization.
|
|
260
196
|
*
|
|
@@ -264,7 +200,10 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
264
200
|
return __generator(this, function (_a) {
|
|
265
201
|
return [2 /*return*/, this.beginRequest({
|
|
266
202
|
apiVersion: "7.2-preview.1",
|
|
267
|
-
routeTemplate: "_apis/Management/meterUsageEstimate"
|
|
203
|
+
routeTemplate: "_apis/Management/meterUsageEstimate/{action}",
|
|
204
|
+
routeValues: {
|
|
205
|
+
action: "Default"
|
|
206
|
+
}
|
|
268
207
|
})];
|
|
269
208
|
});
|
|
270
209
|
});
|
|
@@ -314,6 +253,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
314
253
|
});
|
|
315
254
|
});
|
|
316
255
|
};
|
|
256
|
+
/**
|
|
257
|
+
* Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this project.
|
|
258
|
+
*
|
|
259
|
+
* @param project - Project ID or project name
|
|
260
|
+
*/
|
|
261
|
+
ManagementRestClient.prototype.getEstimatedBillablePushersDetailsForProject = function (project) {
|
|
262
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
263
|
+
return __generator(this, function (_a) {
|
|
264
|
+
return [2 /*return*/, this.beginRequest({
|
|
265
|
+
apiVersion: "7.2-preview.1",
|
|
266
|
+
routeTemplate: "{project}/_apis/Management/meterUsageEstimate/{action}",
|
|
267
|
+
routeValues: {
|
|
268
|
+
project: project,
|
|
269
|
+
action: "Details"
|
|
270
|
+
}
|
|
271
|
+
})];
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
};
|
|
317
275
|
/**
|
|
318
276
|
* Estimate the number of committers that would be added to the customer's usage if Advanced Security was enabled for this project.
|
|
319
277
|
*
|
|
@@ -324,9 +282,10 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
324
282
|
return __generator(this, function (_a) {
|
|
325
283
|
return [2 /*return*/, this.beginRequest({
|
|
326
284
|
apiVersion: "7.2-preview.1",
|
|
327
|
-
routeTemplate: "{project}/_apis/Management/meterUsageEstimate",
|
|
285
|
+
routeTemplate: "{project}/_apis/Management/meterUsageEstimate/{action}",
|
|
328
286
|
routeValues: {
|
|
329
|
-
project: project
|
|
287
|
+
project: project,
|
|
288
|
+
action: "Default"
|
|
330
289
|
}
|
|
331
290
|
})];
|
|
332
291
|
});
|
|
@@ -392,10 +351,32 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
392
351
|
return __generator(this, function (_a) {
|
|
393
352
|
return [2 /*return*/, this.beginRequest({
|
|
394
353
|
apiVersion: "7.2-preview.1",
|
|
395
|
-
routeTemplate: "{project}/_apis/Management/repositories/{repository}/meterUsageEstimate",
|
|
354
|
+
routeTemplate: "{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",
|
|
396
355
|
routeValues: {
|
|
397
356
|
project: project,
|
|
398
|
-
repository: repository
|
|
357
|
+
repository: repository,
|
|
358
|
+
action: "Default"
|
|
359
|
+
}
|
|
360
|
+
})];
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this repository.
|
|
366
|
+
*
|
|
367
|
+
* @param project - Project ID or project name
|
|
368
|
+
* @param repository -
|
|
369
|
+
*/
|
|
370
|
+
ManagementRestClient.prototype.getEstimatedRepoBillablePushersDetails = function (project, repository) {
|
|
371
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
372
|
+
return __generator(this, function (_a) {
|
|
373
|
+
return [2 /*return*/, this.beginRequest({
|
|
374
|
+
apiVersion: "7.2-preview.1",
|
|
375
|
+
routeTemplate: "{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",
|
|
376
|
+
routeValues: {
|
|
377
|
+
project: project,
|
|
378
|
+
repository: repository,
|
|
379
|
+
action: "Details"
|
|
399
380
|
}
|
|
400
381
|
})];
|
|
401
382
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),__awaiter=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{s(n.next(e))}catch(e){o(e)}}function u(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,u)}s((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,i=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){u=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){u.label=r[1];break}if(6===r[0]&&u.label<o[1]){u.label=o[1],o=r;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(r);break}o[2]&&u.ops.pop(),u.trys.pop();continue}r=t.call(e,u)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}var n,i,o,a,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a};define(["require","exports","../Common/RestClientBase"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.createBillingSnapshot=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Default"},body:e})]})})},t.prototype.getBillableCommitterDetails=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={billingDate:e},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Details"},queryParams:t})]})})},t.prototype.getLastMeterUsage=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Last"}})]})})},t.prototype.getMeterUsage=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={billingDate:e},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Default"},queryParams:t})]})})},t.prototype.getOrgEnablementStatus=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={includeAllProperties:e},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/enablement",queryParams:t})]})})},t.prototype.updateOrgEnablementStatus=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/Management/enablement",body:e})]})})},t.prototype.getEstimatedBillablePushersDetailsForOrg=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/meterUsageEstimate/{action}",routeValues:{action:"Details"}})]})})},t.prototype.getEstimatedOrgBillablePushers=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/meterUsageEstimate/{action}",routeValues:{action:"Default"}})]})})},t.prototype.getProjectEnablementStatus=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(n){return r={includeAllProperties:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/enablement",routeValues:{project:e},queryParams:r})]})})},t.prototype.updateProjectEnablementStatus=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Management/enablement",routeValues:{project:t},body:e})]})})},t.prototype.getEstimatedBillablePushersDetailsForProject=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/meterUsageEstimate/{action}",routeValues:{project:e,action:"Details"}})]})})},t.prototype.getEstimatedProjectBillablePushers=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/meterUsageEstimate/{action}",routeValues:{project:e,action:"Default"}})]})})},t.prototype.getRepoEnablementStatus=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={includeAllProperties:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/repositories/{repository}/enablement",routeValues:{project:e,repository:t},queryParams:n})]})})},t.prototype.updateRepoAdvSecEnablementStatus=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Management/repositories/{repository}/enablement",routeValues:{project:t,repository:r},body:e})]})})},t.prototype.getEstimatedRepoBillableCommitters=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",routeValues:{project:e,repository:t,action:"Default"}})]})})},t.prototype.getEstimatedRepoBillablePushersDetails=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",routeValues:{project:e,repository:t,action:"Details"}})]})})},t}(r.RestClientBase);t.ManagementRestClient=n});
|
package/Pipelines/Pipelines.d.ts
CHANGED
|
@@ -16,6 +16,12 @@ export interface Artifact {
|
|
|
16
16
|
*/
|
|
17
17
|
url: string;
|
|
18
18
|
}
|
|
19
|
+
export interface Build {
|
|
20
|
+
artifactSourceVersionUrl: string;
|
|
21
|
+
type: string;
|
|
22
|
+
versionId: string;
|
|
23
|
+
versionName: string;
|
|
24
|
+
}
|
|
19
25
|
export interface BuildResourceParameters {
|
|
20
26
|
version: string;
|
|
21
27
|
}
|
|
@@ -186,6 +192,7 @@ export interface PipelineResource {
|
|
|
186
192
|
version: string;
|
|
187
193
|
}
|
|
188
194
|
export interface PipelineResourceParameters {
|
|
195
|
+
branch: string;
|
|
189
196
|
version: string;
|
|
190
197
|
}
|
|
191
198
|
export interface PreviewRun {
|
|
@@ -265,6 +272,9 @@ export interface RunReference {
|
|
|
265
272
|
name: string;
|
|
266
273
|
}
|
|
267
274
|
export interface RunResources {
|
|
275
|
+
builds: {
|
|
276
|
+
[key: string]: Build;
|
|
277
|
+
};
|
|
268
278
|
containers: {
|
|
269
279
|
[key: string]: ContainerResource;
|
|
270
280
|
};
|
package/Release/Release.d.ts
CHANGED
|
@@ -1861,7 +1861,11 @@ export declare enum ManualInterventionStatus {
|
|
|
1861
1861
|
/**
|
|
1862
1862
|
* The manual intervention is canceled.
|
|
1863
1863
|
*/
|
|
1864
|
-
Canceled = 8
|
|
1864
|
+
Canceled = 8,
|
|
1865
|
+
/**
|
|
1866
|
+
* The manual intervention is bypassed.
|
|
1867
|
+
*/
|
|
1868
|
+
Bypassed = 16
|
|
1865
1869
|
}
|
|
1866
1870
|
/**
|
|
1867
1871
|
* Describes manual intervention status
|
package/Release/Release.js
CHANGED
|
@@ -540,6 +540,10 @@ define(["require", "exports"], function (require, exports) {
|
|
|
540
540
|
* The manual intervention is canceled.
|
|
541
541
|
*/
|
|
542
542
|
ManualInterventionStatus[ManualInterventionStatus["Canceled"] = 8] = "Canceled";
|
|
543
|
+
/**
|
|
544
|
+
* The manual intervention is bypassed.
|
|
545
|
+
*/
|
|
546
|
+
ManualInterventionStatus[ManualInterventionStatus["Bypassed"] = 16] = "Bypassed";
|
|
543
547
|
})(ManualInterventionStatus = exports.ManualInterventionStatus || (exports.ManualInterventionStatus = {}));
|
|
544
548
|
/**
|
|
545
549
|
* Describes manual intervention status
|
package/Release/Release.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.XamlBuild=0]="XamlBuild",e[e.Build=1]="Build",e[e.Jenkins=2]="Jenkins",e[e.FileShare=3]="FileShare",e[e.Nuget=4]="Nuget",e[e.TfsOnPrem=5]="TfsOnPrem",e[e.GitHub=6]="GitHub",e[e.TFGit=7]="TFGit",e[e.ExternalTfsBuild=8]="ExternalTfsBuild",e[e.Custom=9]="Custom",e[e.Tfvc=10]="Tfvc"}(n.AgentArtifactType||(n.AgentArtifactType={}));!function(e){e[e.BeforeGates=1]="BeforeGates",e[e.AfterSuccessfulGates=2]="AfterSuccessfulGates",e[e.AfterGatesAlways=4]="AfterGatesAlways"}(n.ApprovalExecutionOrder||(n.ApprovalExecutionOrder={}));!function(e){e[e.None=0]="None",e[e.ManualApprovals=1]="ManualApprovals",e[e.AutomatedApprovals=2]="AutomatedApprovals",e[e.ApprovalSnapshots=4]="ApprovalSnapshots",e[e.All=7]="All"}(n.ApprovalFilters||(n.ApprovalFilters={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Pending=1]="Pending",e[e.Approved=2]="Approved",e[e.Rejected=4]="Rejected",e[e.Reassigned=6]="Reassigned",e[e.Canceled=7]="Canceled",e[e.Skipped=8]="Skipped"}(n.ApprovalStatus||(n.ApprovalStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.PreDeploy=1]="PreDeploy",e[e.PostDeploy=2]="PostDeploy",e[e.All=3]="All"}(n.ApprovalType||(n.ApprovalType={}));!function(e){e[e.Add=1]="Add",e[e.Update=2]="Update",e[e.Delete=3]="Delete",e[e.Undelete=4]="Undelete"}(n.AuditAction||(n.AuditAction={}));!function(e){e[e.RevalidateApproverIdentity=0]="RevalidateApproverIdentity",e[e.OnBehalfOf=1]="OnBehalfOf"}(n.AuthorizationHeaderFor||(n.AuthorizationHeaderFor={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Event=1]="Event",e[e.EnvironmentState=2]="EnvironmentState",e[e.Artifact=4]="Artifact"}(n.ConditionType||(n.ConditionType={}));!function(e){e[e.Automatic=0]="Automatic",e[e.DeploymentSubmitter=1]="DeploymentSubmitter",e[e.FirstPreDeploymentApprover=2]="FirstPreDeploymentApprover"}(n.DeploymentAuthorizationOwner||(n.DeploymentAuthorizationOwner={}));!function(e){e[e.All=0]="All",e[e.DeploymentOnly=1]="DeploymentOnly",e[e.Approvals=2]="Approvals",e[e.Artifacts=4]="Artifacts"}(n.DeploymentExpands||(n.DeploymentExpands={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Queued=1]="Queued",e[e.Scheduled=2]="Scheduled",e[e.Pending=4]="Pending",e[e.Approved=8]="Approved",e[e.Rejected=16]="Rejected",e[e.Deferred=32]="Deferred",e[e.QueuedForAgent=64]="QueuedForAgent",e[e.PhaseInProgress=128]="PhaseInProgress",e[e.PhaseSucceeded=256]="PhaseSucceeded",e[e.PhasePartiallySucceeded=512]="PhasePartiallySucceeded",e[e.PhaseFailed=1024]="PhaseFailed",e[e.Canceled=2048]="Canceled",e[e.PhaseCanceled=4096]="PhaseCanceled",e[e.ManualInterventionPending=8192]="ManualInterventionPending",e[e.QueuedForPipeline=16384]="QueuedForPipeline",e[e.Cancelling=32768]="Cancelling",e[e.EvaluatingGates=65536]="EvaluatingGates",e[e.GateFailed=131072]="GateFailed",e[e.All=258047]="All"}(n.DeploymentOperationStatus||(n.DeploymentOperationStatus={}));!function(e){e[e.None=0]="None",e[e.Manual=1]="Manual",e[e.Automated=2]="Automated",e[e.Scheduled=4]="Scheduled",e[e.RedeployTrigger=8]="RedeployTrigger"}(n.DeploymentReason||(n.DeploymentReason={}));!function(e){e[e.Regular=1]="Regular",e[e.FailingSince=2]="FailingSince"}(n.DeploymentsQueryType||(n.DeploymentsQueryType={}));!function(e){e[e.Undefined=0]="Undefined",e[e.NotDeployed=1]="NotDeployed",e[e.InProgress=2]="InProgress",e[e.Succeeded=4]="Succeeded",e[e.PartiallySucceeded=8]="PartiallySucceeded",e[e.Failed=16]="Failed",e[e.All=31]="All"}(n.DeploymentStatus||(n.DeploymentStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.NotStarted=1]="NotStarted",e[e.InProgress=2]="InProgress",e[e.PartiallySucceeded=4]="PartiallySucceeded",e[e.Succeeded=8]="Succeeded",e[e.Failed=16]="Failed",e[e.Canceled=32]="Canceled",e[e.Skipped=64]="Skipped",e[e.Cancelling=128]="Cancelling"}(n.DeployPhaseStatus||(n.DeployPhaseStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.AgentBasedDeployment=1]="AgentBasedDeployment",e[e.RunOnServer=2]="RunOnServer",e[e.MachineGroupBasedDeployment=4]="MachineGroupBasedDeployment",e[e.DeploymentGates=8]="DeploymentGates"}(n.DeployPhaseTypes||(n.DeployPhaseTypes={}));!function(e){e[e.Undefined=0]="Undefined",e[e.NotStarted=1]="NotStarted",e[e.InProgress=2]="InProgress",e[e.Succeeded=4]="Succeeded",e[e.Canceled=8]="Canceled",e[e.Rejected=16]="Rejected",e[e.Queued=32]="Queued",e[e.Scheduled=64]="Scheduled",e[e.PartiallySucceeded=128]="PartiallySucceeded"}(n.EnvironmentStatus||(n.EnvironmentStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.DeploymentGroupRedeploy=1]="DeploymentGroupRedeploy",e[e.RollbackRedeploy=2]="RollbackRedeploy"}(n.EnvironmentTriggerType||(n.EnvironmentTriggerType={}));!function(e){e[e.None=0]="None",e[e.Ascending=1]="Ascending",e[e.Descending=2]="Descending"}(n.FolderPathQueryOrder||(n.FolderPathQueryOrder={}));!function(e){e[e.None=0]="None",e[e.Pending=1]="Pending",e[e.InProgress=2]="InProgress",e[e.Succeeded=4]="Succeeded",e[e.Failed=8]="Failed",e[e.Canceled=16]="Canceled"}(n.GateStatus||(n.GateStatus={}));!function(e){e[e.None=0]="None",e[e.User=1]="User",e[e.System=2]="System"}(n.IssueSource||(n.IssueSource={}));!function(e){e[e.Details=0]="Details",e[e.Environments=1]="Environments",e[e.Issues=2]="Issues",e[e.TestResults=3]="TestResults",e[e.WorkItems=4]="WorkItems",e[e.ReleaseInfo=5]="ReleaseInfo"}(n.MailSectionType||(n.MailSectionType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Pending=1]="Pending",e[e.Rejected=2]="Rejected",e[e.Approved=4]="Approved",e[e.Canceled=8]="Canceled"}(n.ManualInterventionStatus||(n.ManualInterventionStatus={}));!function(e){e[e.Task=1]="Task",e[e.ProofOfPresence=2]="ProofOfPresence"}(n.ManualInterventionType||(n.ManualInterventionType={}));!function(e){e[e.None=0]="None",e[e.MultiConfiguration=1]="MultiConfiguration",e[e.MultiMachine=2]="MultiMachine"}(n.ParallelExecutionTypes||(n.ParallelExecutionTypes={}));!function(e){e[e.Designer=1]="Designer",e[e.Yaml=2]="Yaml"}(n.PipelineProcessTypes||(n.PipelineProcessTypes={}));!function(e){e[e.Inclusion=0]="Inclusion",e[e.Exclusion=1]="Exclusion"}(n.PropertySelectorType||(n.PropertySelectorType={}));!function(e){e[e.None=0]="None",e[e.TfsGit=1]="TfsGit",e[e.GitHub=2]="GitHub"}(n.PullRequestSystemType||(n.PullRequestSystemType={}));!function(e){e[e.None=0]="None",e[e.Environments=2]="Environments",e[e.Artifacts=4]="Artifacts",e[e.Triggers=8]="Triggers",e[e.Variables=16]="Variables",e[e.Tags=32]="Tags",e[e.LastRelease=64]="LastRelease"}(n.ReleaseDefinitionExpands||(n.ReleaseDefinitionExpands={}));!function(e){e[e.IdAscending=0]="IdAscending",e[e.IdDescending=1]="IdDescending",e[e.NameAscending=2]="NameAscending",e[e.NameDescending=3]="NameDescending"}(n.ReleaseDefinitionQueryOrder||(n.ReleaseDefinitionQueryOrder={}));!function(e){e[e.Undefined=0]="Undefined",e[e.RestApi=1]="RestApi",e[e.UserInterface=2]="UserInterface",e[e.Ibiza=4]="Ibiza",e[e.PortalExtensionApi=8]="PortalExtensionApi"}(n.ReleaseDefinitionSource||(n.ReleaseDefinitionSource={}));!function(e){e[e.None=0]="None",e[e.Tasks=1]="Tasks"}(n.ReleaseEnvironmentExpands||(n.ReleaseEnvironmentExpands={}));!function(e){e[e.None=0]="None",e[e.Environments=2]="Environments",e[e.Artifacts=4]="Artifacts",e[e.Approvals=8]="Approvals",e[e.ManualInterventions=16]="ManualInterventions",e[e.Variables=32]="Variables",e[e.Tags=64]="Tags"}(n.ReleaseExpands||(n.ReleaseExpands={}));!function(e){e[e.Descending=0]="Descending",e[e.Ascending=1]="Ascending"}(n.ReleaseQueryOrder||(n.ReleaseQueryOrder={}));!function(e){e[e.None=0]="None",e[e.Manual=1]="Manual",e[e.ContinuousIntegration=2]="ContinuousIntegration",e[e.Schedule=3]="Schedule",e[e.PullRequest=4]="PullRequest"}(n.ReleaseReason||(n.ReleaseReason={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Draft=1]="Draft",e[e.Active=2]="Active",e[e.Abandoned=4]="Abandoned"}(n.ReleaseStatus||(n.ReleaseStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.ArtifactSource=1]="ArtifactSource",e[e.Schedule=2]="Schedule",e[e.SourceRepo=3]="SourceRepo",e[e.ContainerImage=4]="ContainerImage",e[e.Package=5]="Package",e[e.PullRequest=6]="PullRequest"}(n.ReleaseTriggerType||(n.ReleaseTriggerType={}));!function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday",e[e.All=127]="All"}(n.ScheduleDays||(n.ScheduleDays={}));!function(e){e[e.ServiceAccount=1]="ServiceAccount",e[e.RequestingUser=2]="RequestingUser"}(n.SenderType||(n.SenderType={}));!function(e){e[e.None=0]="None",e[e.Tasks=1]="Tasks"}(n.SingleReleaseExpands||(n.SingleReleaseExpands={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Pending=1]="Pending",e[e.InProgress=2]="InProgress",e[e.Success=3]="Success",e[e.Failure=4]="Failure",e[e.Canceled=5]="Canceled",e[e.Skipped=6]="Skipped",e[e.Succeeded=7]="Succeeded",e[e.Failed=8]="Failed",e[e.PartiallySucceeded=9]="PartiallySucceeded"}(n.TaskStatus||(n.TaskStatus={}));!function(e){e[e.None=0]="None",e[e.Manage=2]="Manage",e[e.Use=16]="Use"}(n.VariableGroupActionFilter||(n.VariableGroupActionFilter={}));!function(e){e[e.None=0]="None",e[e.TFSGit=1]="TFSGit"}(n.YamlFileSourceTypes||(n.YamlFileSourceTypes={}))});
|
|
1
|
+
define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.XamlBuild=0]="XamlBuild",e[e.Build=1]="Build",e[e.Jenkins=2]="Jenkins",e[e.FileShare=3]="FileShare",e[e.Nuget=4]="Nuget",e[e.TfsOnPrem=5]="TfsOnPrem",e[e.GitHub=6]="GitHub",e[e.TFGit=7]="TFGit",e[e.ExternalTfsBuild=8]="ExternalTfsBuild",e[e.Custom=9]="Custom",e[e.Tfvc=10]="Tfvc"}(n.AgentArtifactType||(n.AgentArtifactType={}));!function(e){e[e.BeforeGates=1]="BeforeGates",e[e.AfterSuccessfulGates=2]="AfterSuccessfulGates",e[e.AfterGatesAlways=4]="AfterGatesAlways"}(n.ApprovalExecutionOrder||(n.ApprovalExecutionOrder={}));!function(e){e[e.None=0]="None",e[e.ManualApprovals=1]="ManualApprovals",e[e.AutomatedApprovals=2]="AutomatedApprovals",e[e.ApprovalSnapshots=4]="ApprovalSnapshots",e[e.All=7]="All"}(n.ApprovalFilters||(n.ApprovalFilters={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Pending=1]="Pending",e[e.Approved=2]="Approved",e[e.Rejected=4]="Rejected",e[e.Reassigned=6]="Reassigned",e[e.Canceled=7]="Canceled",e[e.Skipped=8]="Skipped"}(n.ApprovalStatus||(n.ApprovalStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.PreDeploy=1]="PreDeploy",e[e.PostDeploy=2]="PostDeploy",e[e.All=3]="All"}(n.ApprovalType||(n.ApprovalType={}));!function(e){e[e.Add=1]="Add",e[e.Update=2]="Update",e[e.Delete=3]="Delete",e[e.Undelete=4]="Undelete"}(n.AuditAction||(n.AuditAction={}));!function(e){e[e.RevalidateApproverIdentity=0]="RevalidateApproverIdentity",e[e.OnBehalfOf=1]="OnBehalfOf"}(n.AuthorizationHeaderFor||(n.AuthorizationHeaderFor={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Event=1]="Event",e[e.EnvironmentState=2]="EnvironmentState",e[e.Artifact=4]="Artifact"}(n.ConditionType||(n.ConditionType={}));!function(e){e[e.Automatic=0]="Automatic",e[e.DeploymentSubmitter=1]="DeploymentSubmitter",e[e.FirstPreDeploymentApprover=2]="FirstPreDeploymentApprover"}(n.DeploymentAuthorizationOwner||(n.DeploymentAuthorizationOwner={}));!function(e){e[e.All=0]="All",e[e.DeploymentOnly=1]="DeploymentOnly",e[e.Approvals=2]="Approvals",e[e.Artifacts=4]="Artifacts"}(n.DeploymentExpands||(n.DeploymentExpands={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Queued=1]="Queued",e[e.Scheduled=2]="Scheduled",e[e.Pending=4]="Pending",e[e.Approved=8]="Approved",e[e.Rejected=16]="Rejected",e[e.Deferred=32]="Deferred",e[e.QueuedForAgent=64]="QueuedForAgent",e[e.PhaseInProgress=128]="PhaseInProgress",e[e.PhaseSucceeded=256]="PhaseSucceeded",e[e.PhasePartiallySucceeded=512]="PhasePartiallySucceeded",e[e.PhaseFailed=1024]="PhaseFailed",e[e.Canceled=2048]="Canceled",e[e.PhaseCanceled=4096]="PhaseCanceled",e[e.ManualInterventionPending=8192]="ManualInterventionPending",e[e.QueuedForPipeline=16384]="QueuedForPipeline",e[e.Cancelling=32768]="Cancelling",e[e.EvaluatingGates=65536]="EvaluatingGates",e[e.GateFailed=131072]="GateFailed",e[e.All=258047]="All"}(n.DeploymentOperationStatus||(n.DeploymentOperationStatus={}));!function(e){e[e.None=0]="None",e[e.Manual=1]="Manual",e[e.Automated=2]="Automated",e[e.Scheduled=4]="Scheduled",e[e.RedeployTrigger=8]="RedeployTrigger"}(n.DeploymentReason||(n.DeploymentReason={}));!function(e){e[e.Regular=1]="Regular",e[e.FailingSince=2]="FailingSince"}(n.DeploymentsQueryType||(n.DeploymentsQueryType={}));!function(e){e[e.Undefined=0]="Undefined",e[e.NotDeployed=1]="NotDeployed",e[e.InProgress=2]="InProgress",e[e.Succeeded=4]="Succeeded",e[e.PartiallySucceeded=8]="PartiallySucceeded",e[e.Failed=16]="Failed",e[e.All=31]="All"}(n.DeploymentStatus||(n.DeploymentStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.NotStarted=1]="NotStarted",e[e.InProgress=2]="InProgress",e[e.PartiallySucceeded=4]="PartiallySucceeded",e[e.Succeeded=8]="Succeeded",e[e.Failed=16]="Failed",e[e.Canceled=32]="Canceled",e[e.Skipped=64]="Skipped",e[e.Cancelling=128]="Cancelling"}(n.DeployPhaseStatus||(n.DeployPhaseStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.AgentBasedDeployment=1]="AgentBasedDeployment",e[e.RunOnServer=2]="RunOnServer",e[e.MachineGroupBasedDeployment=4]="MachineGroupBasedDeployment",e[e.DeploymentGates=8]="DeploymentGates"}(n.DeployPhaseTypes||(n.DeployPhaseTypes={}));!function(e){e[e.Undefined=0]="Undefined",e[e.NotStarted=1]="NotStarted",e[e.InProgress=2]="InProgress",e[e.Succeeded=4]="Succeeded",e[e.Canceled=8]="Canceled",e[e.Rejected=16]="Rejected",e[e.Queued=32]="Queued",e[e.Scheduled=64]="Scheduled",e[e.PartiallySucceeded=128]="PartiallySucceeded"}(n.EnvironmentStatus||(n.EnvironmentStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.DeploymentGroupRedeploy=1]="DeploymentGroupRedeploy",e[e.RollbackRedeploy=2]="RollbackRedeploy"}(n.EnvironmentTriggerType||(n.EnvironmentTriggerType={}));!function(e){e[e.None=0]="None",e[e.Ascending=1]="Ascending",e[e.Descending=2]="Descending"}(n.FolderPathQueryOrder||(n.FolderPathQueryOrder={}));!function(e){e[e.None=0]="None",e[e.Pending=1]="Pending",e[e.InProgress=2]="InProgress",e[e.Succeeded=4]="Succeeded",e[e.Failed=8]="Failed",e[e.Canceled=16]="Canceled"}(n.GateStatus||(n.GateStatus={}));!function(e){e[e.None=0]="None",e[e.User=1]="User",e[e.System=2]="System"}(n.IssueSource||(n.IssueSource={}));!function(e){e[e.Details=0]="Details",e[e.Environments=1]="Environments",e[e.Issues=2]="Issues",e[e.TestResults=3]="TestResults",e[e.WorkItems=4]="WorkItems",e[e.ReleaseInfo=5]="ReleaseInfo"}(n.MailSectionType||(n.MailSectionType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Pending=1]="Pending",e[e.Rejected=2]="Rejected",e[e.Approved=4]="Approved",e[e.Canceled=8]="Canceled",e[e.Bypassed=16]="Bypassed"}(n.ManualInterventionStatus||(n.ManualInterventionStatus={}));!function(e){e[e.Task=1]="Task",e[e.ProofOfPresence=2]="ProofOfPresence"}(n.ManualInterventionType||(n.ManualInterventionType={}));!function(e){e[e.None=0]="None",e[e.MultiConfiguration=1]="MultiConfiguration",e[e.MultiMachine=2]="MultiMachine"}(n.ParallelExecutionTypes||(n.ParallelExecutionTypes={}));!function(e){e[e.Designer=1]="Designer",e[e.Yaml=2]="Yaml"}(n.PipelineProcessTypes||(n.PipelineProcessTypes={}));!function(e){e[e.Inclusion=0]="Inclusion",e[e.Exclusion=1]="Exclusion"}(n.PropertySelectorType||(n.PropertySelectorType={}));!function(e){e[e.None=0]="None",e[e.TfsGit=1]="TfsGit",e[e.GitHub=2]="GitHub"}(n.PullRequestSystemType||(n.PullRequestSystemType={}));!function(e){e[e.None=0]="None",e[e.Environments=2]="Environments",e[e.Artifacts=4]="Artifacts",e[e.Triggers=8]="Triggers",e[e.Variables=16]="Variables",e[e.Tags=32]="Tags",e[e.LastRelease=64]="LastRelease"}(n.ReleaseDefinitionExpands||(n.ReleaseDefinitionExpands={}));!function(e){e[e.IdAscending=0]="IdAscending",e[e.IdDescending=1]="IdDescending",e[e.NameAscending=2]="NameAscending",e[e.NameDescending=3]="NameDescending"}(n.ReleaseDefinitionQueryOrder||(n.ReleaseDefinitionQueryOrder={}));!function(e){e[e.Undefined=0]="Undefined",e[e.RestApi=1]="RestApi",e[e.UserInterface=2]="UserInterface",e[e.Ibiza=4]="Ibiza",e[e.PortalExtensionApi=8]="PortalExtensionApi"}(n.ReleaseDefinitionSource||(n.ReleaseDefinitionSource={}));!function(e){e[e.None=0]="None",e[e.Tasks=1]="Tasks"}(n.ReleaseEnvironmentExpands||(n.ReleaseEnvironmentExpands={}));!function(e){e[e.None=0]="None",e[e.Environments=2]="Environments",e[e.Artifacts=4]="Artifacts",e[e.Approvals=8]="Approvals",e[e.ManualInterventions=16]="ManualInterventions",e[e.Variables=32]="Variables",e[e.Tags=64]="Tags"}(n.ReleaseExpands||(n.ReleaseExpands={}));!function(e){e[e.Descending=0]="Descending",e[e.Ascending=1]="Ascending"}(n.ReleaseQueryOrder||(n.ReleaseQueryOrder={}));!function(e){e[e.None=0]="None",e[e.Manual=1]="Manual",e[e.ContinuousIntegration=2]="ContinuousIntegration",e[e.Schedule=3]="Schedule",e[e.PullRequest=4]="PullRequest"}(n.ReleaseReason||(n.ReleaseReason={}));!function(e){e[e.Undefined=0]="Undefined",e[e.Draft=1]="Draft",e[e.Active=2]="Active",e[e.Abandoned=4]="Abandoned"}(n.ReleaseStatus||(n.ReleaseStatus={}));!function(e){e[e.Undefined=0]="Undefined",e[e.ArtifactSource=1]="ArtifactSource",e[e.Schedule=2]="Schedule",e[e.SourceRepo=3]="SourceRepo",e[e.ContainerImage=4]="ContainerImage",e[e.Package=5]="Package",e[e.PullRequest=6]="PullRequest"}(n.ReleaseTriggerType||(n.ReleaseTriggerType={}));!function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday",e[e.All=127]="All"}(n.ScheduleDays||(n.ScheduleDays={}));!function(e){e[e.ServiceAccount=1]="ServiceAccount",e[e.RequestingUser=2]="RequestingUser"}(n.SenderType||(n.SenderType={}));!function(e){e[e.None=0]="None",e[e.Tasks=1]="Tasks"}(n.SingleReleaseExpands||(n.SingleReleaseExpands={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Pending=1]="Pending",e[e.InProgress=2]="InProgress",e[e.Success=3]="Success",e[e.Failure=4]="Failure",e[e.Canceled=5]="Canceled",e[e.Skipped=6]="Skipped",e[e.Succeeded=7]="Succeeded",e[e.Failed=8]="Failed",e[e.PartiallySucceeded=9]="PartiallySucceeded"}(n.TaskStatus||(n.TaskStatus={}));!function(e){e[e.None=0]="None",e[e.Manage=2]="Manage",e[e.Use=16]="Use"}(n.VariableGroupActionFilter||(n.VariableGroupActionFilter={}));!function(e){e[e.None=0]="None",e[e.TFSGit=1]="TFSGit"}(n.YamlFileSourceTypes||(n.YamlFileSourceTypes={}))});
|
|
@@ -488,14 +488,14 @@ export declare class ReleaseRestClient extends RestClientBase {
|
|
|
488
488
|
* @param artifactTypeId - Releases with given artifactTypeId will be returned. Values can be Build, Jenkins, GitHub, Nuget, Team Build (external), ExternalTFSBuild, Git, TFVC, ExternalTfsXamlBuild.
|
|
489
489
|
* @param sourceId - Unique identifier of the artifact used. e.g. For build it would be \{projectGuid\}:\{BuildDefinitionId\}, for Jenkins it would be \{JenkinsConnectionId\}:\{JenkinsDefinitionId\}, for TfsOnPrem it would be \{TfsOnPremConnectionId\}:\{ProjectName\}:\{TfsOnPremDefinitionId\}. For third-party artifacts e.g. TeamCity, BitBucket you may refer 'uniqueSourceIdentifier' inside vss-extension.json https://github.com/Microsoft/vsts-rm-extensions/blob/master/Extensions.
|
|
490
490
|
* @param artifactVersionId - Releases with given artifactVersionId will be returned. E.g. in case of Build artifactType, it is buildId.
|
|
491
|
-
* @param sourceBranchFilter - Releases with given sourceBranchFilter will be returned.
|
|
491
|
+
* @param sourceBranchFilter - Releases with given sourceBranchFilter will be returned (Not to be used with environmentStatusFilter).
|
|
492
492
|
* @param isDeleted - Gets the soft deleted releases, if true.
|
|
493
493
|
* @param tagFilter - A comma-delimited list of tags. Only releases with these tags will be returned.
|
|
494
494
|
* @param propertyFilters - A comma-delimited list of extended properties to be retrieved. If set, the returned Releases will contain values for the specified property Ids (if they exist). If not set, properties will not be included. Note that this will not filter out any Release from results irrespective of whether it has property set or not.
|
|
495
495
|
* @param releaseIdFilter - A comma-delimited list of releases Ids. Only releases with these Ids will be returned.
|
|
496
496
|
* @param path - Releases under this folder path will be returned
|
|
497
497
|
*/
|
|
498
|
-
getReleases(project?: string, definitionId?: number, definitionEnvironmentId?: number, searchText?: string, createdBy?: string, statusFilter?: Release.ReleaseStatus, environmentStatusFilter?: number, minCreatedTime?: Date, maxCreatedTime?: Date, queryOrder?: Release.ReleaseQueryOrder, top?: number, continuationToken?: number, expand?: Release.ReleaseExpands, artifactTypeId?: string, sourceId?: string, artifactVersionId?: string, sourceBranchFilter?: string, isDeleted?: boolean, tagFilter?: string[], propertyFilters?: string[], releaseIdFilter?: number[], path?: string): Promise<
|
|
498
|
+
getReleases(project?: string, definitionId?: number, definitionEnvironmentId?: number, searchText?: string, createdBy?: string, statusFilter?: Release.ReleaseStatus, environmentStatusFilter?: number, minCreatedTime?: Date, maxCreatedTime?: Date, queryOrder?: Release.ReleaseQueryOrder, top?: number, continuationToken?: number, expand?: Release.ReleaseExpands, artifactTypeId?: string, sourceId?: string, artifactVersionId?: string, sourceBranchFilter?: string, isDeleted?: boolean, tagFilter?: string[], propertyFilters?: string[], releaseIdFilter?: number[], path?: string): Promise<Release.Release[]>;
|
|
499
499
|
/**
|
|
500
500
|
* Create a release.
|
|
501
501
|
*
|
package/Release/ReleaseClient.js
CHANGED
|
@@ -751,7 +751,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
751
751
|
'$expand': expand
|
|
752
752
|
};
|
|
753
753
|
return [2 /*return*/, this.beginRequest({
|
|
754
|
-
apiVersion: "7.2-preview.
|
|
754
|
+
apiVersion: "7.2-preview.8",
|
|
755
755
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}",
|
|
756
756
|
routeValues: {
|
|
757
757
|
project: project,
|
|
@@ -775,7 +775,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
775
775
|
return __awaiter(this, void 0, void 0, function () {
|
|
776
776
|
return __generator(this, function (_a) {
|
|
777
777
|
return [2 /*return*/, this.beginRequest({
|
|
778
|
-
apiVersion: "7.2-preview.
|
|
778
|
+
apiVersion: "7.2-preview.8",
|
|
779
779
|
method: "PATCH",
|
|
780
780
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/environments/{environmentId}",
|
|
781
781
|
routeValues: {
|
|
@@ -1342,7 +1342,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1342
1342
|
return __awaiter(this, void 0, void 0, function () {
|
|
1343
1343
|
return __generator(this, function (_a) {
|
|
1344
1344
|
return [2 /*return*/, this.beginRequest({
|
|
1345
|
-
apiVersion: "7.2-preview.
|
|
1345
|
+
apiVersion: "7.2-preview.2",
|
|
1346
1346
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
|
|
1347
1347
|
routeValues: {
|
|
1348
1348
|
project: project,
|
|
@@ -1363,7 +1363,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1363
1363
|
return __awaiter(this, void 0, void 0, function () {
|
|
1364
1364
|
return __generator(this, function (_a) {
|
|
1365
1365
|
return [2 /*return*/, this.beginRequest({
|
|
1366
|
-
apiVersion: "7.2-preview.
|
|
1366
|
+
apiVersion: "7.2-preview.2",
|
|
1367
1367
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
|
|
1368
1368
|
routeValues: {
|
|
1369
1369
|
project: project,
|
|
@@ -1385,7 +1385,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1385
1385
|
return __awaiter(this, void 0, void 0, function () {
|
|
1386
1386
|
return __generator(this, function (_a) {
|
|
1387
1387
|
return [2 /*return*/, this.beginRequest({
|
|
1388
|
-
apiVersion: "7.2-preview.
|
|
1388
|
+
apiVersion: "7.2-preview.2",
|
|
1389
1389
|
method: "PATCH",
|
|
1390
1390
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}/manualInterventions/{manualInterventionId}",
|
|
1391
1391
|
routeValues: {
|
|
@@ -1529,7 +1529,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1529
1529
|
* @param artifactTypeId - Releases with given artifactTypeId will be returned. Values can be Build, Jenkins, GitHub, Nuget, Team Build (external), ExternalTFSBuild, Git, TFVC, ExternalTfsXamlBuild.
|
|
1530
1530
|
* @param sourceId - Unique identifier of the artifact used. e.g. For build it would be \{projectGuid\}:\{BuildDefinitionId\}, for Jenkins it would be \{JenkinsConnectionId\}:\{JenkinsDefinitionId\}, for TfsOnPrem it would be \{TfsOnPremConnectionId\}:\{ProjectName\}:\{TfsOnPremDefinitionId\}. For third-party artifacts e.g. TeamCity, BitBucket you may refer 'uniqueSourceIdentifier' inside vss-extension.json https://github.com/Microsoft/vsts-rm-extensions/blob/master/Extensions.
|
|
1531
1531
|
* @param artifactVersionId - Releases with given artifactVersionId will be returned. E.g. in case of Build artifactType, it is buildId.
|
|
1532
|
-
* @param sourceBranchFilter - Releases with given sourceBranchFilter will be returned.
|
|
1532
|
+
* @param sourceBranchFilter - Releases with given sourceBranchFilter will be returned (Not to be used with environmentStatusFilter).
|
|
1533
1533
|
* @param isDeleted - Gets the soft deleted releases, if true.
|
|
1534
1534
|
* @param tagFilter - A comma-delimited list of tags. Only releases with these tags will be returned.
|
|
1535
1535
|
* @param propertyFilters - A comma-delimited list of extended properties to be retrieved. If set, the returned Releases will contain values for the specified property Ids (if they exist). If not set, properties will not be included. Note that this will not filter out any Release from results irrespective of whether it has property set or not.
|
|
@@ -1539,7 +1539,6 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1539
1539
|
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) {
|
|
1540
1540
|
return __awaiter(this, void 0, void 0, function () {
|
|
1541
1541
|
var queryValues;
|
|
1542
|
-
var _this = this;
|
|
1543
1542
|
return __generator(this, function (_a) {
|
|
1544
1543
|
queryValues = {
|
|
1545
1544
|
definitionId: definitionId,
|
|
@@ -1565,25 +1564,13 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1565
1564
|
path: path
|
|
1566
1565
|
};
|
|
1567
1566
|
return [2 /*return*/, this.beginRequest({
|
|
1568
|
-
apiVersion: "7.2-preview.
|
|
1567
|
+
apiVersion: "7.2-preview.9",
|
|
1569
1568
|
routeTemplate: "{project}/_apis/Release/releases",
|
|
1570
1569
|
routeValues: {
|
|
1571
1570
|
project: project
|
|
1572
1571
|
},
|
|
1573
|
-
queryParams: queryValues
|
|
1574
|
-
|
|
1575
|
-
}).then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
1576
|
-
var body;
|
|
1577
|
-
return __generator(this, function (_a) {
|
|
1578
|
-
switch (_a.label) {
|
|
1579
|
-
case 0: return [4 /*yield*/, response.text().then(Serialization_1.deserializeVssJsonObject)];
|
|
1580
|
-
case 1:
|
|
1581
|
-
body = _a.sent();
|
|
1582
|
-
body.continuationToken = response.headers.get("x-ms-continuationtoken");
|
|
1583
|
-
return [2 /*return*/, body];
|
|
1584
|
-
}
|
|
1585
|
-
});
|
|
1586
|
-
}); })];
|
|
1572
|
+
queryParams: queryValues
|
|
1573
|
+
})];
|
|
1587
1574
|
});
|
|
1588
1575
|
});
|
|
1589
1576
|
};
|
|
@@ -1597,7 +1584,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1597
1584
|
return __awaiter(this, void 0, void 0, function () {
|
|
1598
1585
|
return __generator(this, function (_a) {
|
|
1599
1586
|
return [2 /*return*/, this.beginRequest({
|
|
1600
|
-
apiVersion: "7.2-preview.
|
|
1587
|
+
apiVersion: "7.2-preview.9",
|
|
1601
1588
|
method: "POST",
|
|
1602
1589
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1603
1590
|
routeValues: {
|
|
@@ -1623,7 +1610,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1623
1610
|
comment: comment
|
|
1624
1611
|
};
|
|
1625
1612
|
return [2 /*return*/, this.beginRequest({
|
|
1626
|
-
apiVersion: "7.2-preview.
|
|
1613
|
+
apiVersion: "7.2-preview.9",
|
|
1627
1614
|
method: "DELETE",
|
|
1628
1615
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1629
1616
|
routeValues: {
|
|
@@ -1656,7 +1643,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1656
1643
|
'$topGateRecords': topGateRecords
|
|
1657
1644
|
};
|
|
1658
1645
|
return [2 /*return*/, this.beginRequest({
|
|
1659
|
-
apiVersion: "7.2-preview.
|
|
1646
|
+
apiVersion: "7.2-preview.9",
|
|
1660
1647
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1661
1648
|
routeValues: {
|
|
1662
1649
|
project: project,
|
|
@@ -1687,7 +1674,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1687
1674
|
definitionEnvironmentIdsFilter: definitionEnvironmentIdsFilter && definitionEnvironmentIdsFilter.join(",")
|
|
1688
1675
|
};
|
|
1689
1676
|
return [2 /*return*/, this.beginRequest({
|
|
1690
|
-
apiVersion: "7.2-preview.
|
|
1677
|
+
apiVersion: "7.2-preview.9",
|
|
1691
1678
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1692
1679
|
routeValues: {
|
|
1693
1680
|
project: project
|
|
@@ -1712,7 +1699,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1712
1699
|
definitionSnapshotRevision: definitionSnapshotRevision
|
|
1713
1700
|
};
|
|
1714
1701
|
return [2 /*return*/, this.beginRequest({
|
|
1715
|
-
apiVersion: "7.2-preview.
|
|
1702
|
+
apiVersion: "7.2-preview.9",
|
|
1716
1703
|
httpResponseType: "text/plain",
|
|
1717
1704
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1718
1705
|
routeValues: {
|
|
@@ -1739,7 +1726,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1739
1726
|
comment: comment
|
|
1740
1727
|
};
|
|
1741
1728
|
return [2 /*return*/, this.beginRequest({
|
|
1742
|
-
apiVersion: "7.2-preview.
|
|
1729
|
+
apiVersion: "7.2-preview.9",
|
|
1743
1730
|
method: "PUT",
|
|
1744
1731
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1745
1732
|
routeValues: {
|
|
@@ -1762,7 +1749,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1762
1749
|
return __awaiter(this, void 0, void 0, function () {
|
|
1763
1750
|
return __generator(this, function (_a) {
|
|
1764
1751
|
return [2 /*return*/, this.beginRequest({
|
|
1765
|
-
apiVersion: "7.2-preview.
|
|
1752
|
+
apiVersion: "7.2-preview.9",
|
|
1766
1753
|
method: "PUT",
|
|
1767
1754
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1768
1755
|
routeValues: {
|
|
@@ -1785,7 +1772,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1785
1772
|
return __awaiter(this, void 0, void 0, function () {
|
|
1786
1773
|
return __generator(this, function (_a) {
|
|
1787
1774
|
return [2 /*return*/, this.beginRequest({
|
|
1788
|
-
apiVersion: "7.2-preview.
|
|
1775
|
+
apiVersion: "7.2-preview.9",
|
|
1789
1776
|
method: "PATCH",
|
|
1790
1777
|
routeTemplate: "{project}/_apis/Release/releases/{releaseId}",
|
|
1791
1778
|
routeValues: {
|