azure-devops-extension-api 4.241.1 → 4.242.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/Git/Git.d.ts CHANGED
@@ -1423,6 +1423,10 @@ export interface GitItem extends ItemModel {
1423
1423
  * Git object id
1424
1424
  */
1425
1425
  originalObjectId: string;
1426
+ /**
1427
+ * Web URL if the item is a Git submodule and target service is supported. Supported services are Azure Repos, GitHub, GitLab, Bitbucket.
1428
+ */
1429
+ submoduleWebUrl: string;
1426
1430
  }
1427
1431
  export interface GitItemDescriptor {
1428
1432
  /**
@@ -1646,6 +1650,10 @@ export interface GitPullRequest {
1646
1650
  * Multiple mergebases warning
1647
1651
  */
1648
1652
  hasMultipleMergeBases: boolean;
1653
+ /**
1654
+ * This optional parameter allows clients to use server-side dynamic choices for the target ref. Due to preexisting contracts, users _must_ specify a target ref, but this option will cause the server to ignore it and choose dynamically from the user's favorites (or the default branch).
1655
+ */
1656
+ ignoreTargetRefAndChooseDynamically: boolean;
1649
1657
  /**
1650
1658
  * Draft / WIP pull request.
1651
1659
  */
@@ -4,6 +4,10 @@ export interface AdvSecEnablementFeatures {
4
4
  * Dependabot enablement status set to False when disabled and True when enabled; Null is never explicitly set. \<br /\>When true, Dependabot will open PRs to support security updates for outdated dependencies. \<br /\>Setting Dependabot enablement state is only supported for repo enablement and not org or project enablement at this time.
5
5
  */
6
6
  dependabotEnabled: boolean;
7
+ /**
8
+ * ForceRepoSecretScanning will be set to true when Enabled, false when Disabled, and null when not set. \<br /\> If GHAzDO is NOT already enabled, behavior will depend on if GHAzDO is to be enabled/disabled. ForceRepoSecretScanning will not affect anything in this scenario. \<br /\> If GHAzDO is to be disabled, the value of ForceRepoSecretScan will have no effect. \<br /\> If GHAzDO is to be enabled for the first time on a repo, then ForceRepoSecretScanning will have no effect. \<br /\> If GHAzDO is to be enabled and the repo is already enabled, then ForceRepoSecretScanning will force the secret scanning job to be run if it is set to true. \<br /\> In all cases where ForceRepoSecretScanning is not expected to affect behavior, it will be set to false before being sent to Tfs.
9
+ */
10
+ forceRepoSecretScanning: boolean;
7
11
  }
8
12
  export interface AdvSecEnablementSettings {
9
13
  /**
@@ -4,7 +4,7 @@ import * as Management from "../Management/Management";
4
4
  export declare class ManagementRestClient extends RestClientBase {
5
5
  constructor(options: IVssRestClientOptions);
6
6
  /**
7
- * Delete the billing info for an organization.
7
+ * Delete the billing info for an organization from config DB.
8
8
  *
9
9
  * @param organizationId -
10
10
  */
@@ -16,13 +16,13 @@ export declare class ManagementRestClient extends RestClientBase {
16
16
  */
17
17
  deleteMeterUsageHistory(organizationId: string): Promise<void>;
18
18
  /**
19
- * Get the billing info for an organization.
19
+ * Get the billing info for an organization from config DB.
20
20
  *
21
21
  * @param organizationId - Organization ID to get billing info for.
22
22
  */
23
23
  getBillingInfo(organizationId: string): Promise<Management.BillingInfo>;
24
24
  /**
25
- * Save the billing info for an organization.
25
+ * Save the billing info for an organization in config DB.
26
26
  *
27
27
  * @param billingInfo -
28
28
  * @param organizationId -
@@ -61,6 +61,11 @@ export declare class ManagementRestClient extends RestClientBase {
61
61
  * @param savedAdvSecEnablementStatus - The new status
62
62
  */
63
63
  updateOrgEnablementStatus(savedAdvSecEnablementStatus: Management.AdvSecEnablementSettingsUpdate): Promise<void>;
64
+ /**
65
+ * Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this organization.
66
+ *
67
+ */
68
+ getEstimatedBillablePushersDetailsForOrg(): Promise<Management.BilledCommitter[]>;
64
69
  /**
65
70
  * Estimate the committers that would be added to the customer's usage if Advanced Security was enabled for this organization.
66
71
  *
@@ -80,6 +85,12 @@ export declare class ManagementRestClient extends RestClientBase {
80
85
  * @param project - Project ID or project name
81
86
  */
82
87
  updateProjectEnablementStatus(savedAdvSecEnablementStatus: Management.AdvSecEnablementSettingsUpdate, project: string): Promise<void>;
88
+ /**
89
+ * Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this project.
90
+ *
91
+ * @param project - Project ID or project name
92
+ */
93
+ getEstimatedBillablePushersDetailsForProject(project: string): Promise<Management.BilledCommitter[]>;
83
94
  /**
84
95
  * Estimate the number of committers that would be added to the customer's usage if Advanced Security was enabled for this project.
85
96
  *
@@ -109,4 +120,11 @@ export declare class ManagementRestClient extends RestClientBase {
109
120
  * @param repository - The name or ID of the repository
110
121
  */
111
122
  getEstimatedRepoBillableCommitters(project: string, repository: string): Promise<string[]>;
123
+ /**
124
+ * Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this repository.
125
+ *
126
+ * @param project - Project ID or project name
127
+ * @param repository -
128
+ */
129
+ getEstimatedRepoBillablePushersDetails(project: string, repository: string): Promise<Management.BilledCommitter[]>;
112
130
  }
@@ -57,7 +57,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
57
57
  return _super.call(this, options) || this;
58
58
  }
59
59
  /**
60
- * Delete the billing info for an organization.
60
+ * Delete the billing info for an organization from config DB.
61
61
  *
62
62
  * @param organizationId -
63
63
  */
@@ -97,7 +97,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
97
97
  });
98
98
  };
99
99
  /**
100
- * Get the billing info for an organization.
100
+ * Get the billing info for an organization from config DB.
101
101
  *
102
102
  * @param organizationId - Organization ID to get billing info for.
103
103
  */
@@ -116,7 +116,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
116
116
  });
117
117
  };
118
118
  /**
119
- * Save the billing info for an organization.
119
+ * Save the billing info for an organization in config DB.
120
120
  *
121
121
  * @param billingInfo -
122
122
  * @param organizationId -
@@ -255,6 +255,23 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
255
255
  });
256
256
  });
257
257
  };
258
+ /**
259
+ * Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this organization.
260
+ *
261
+ */
262
+ ManagementRestClient.prototype.getEstimatedBillablePushersDetailsForOrg = function () {
263
+ return __awaiter(this, void 0, void 0, function () {
264
+ return __generator(this, function (_a) {
265
+ return [2 /*return*/, this.beginRequest({
266
+ apiVersion: "7.2-preview.1",
267
+ routeTemplate: "_apis/Management/meterUsageEstimate/{action}",
268
+ routeValues: {
269
+ action: "Details"
270
+ }
271
+ })];
272
+ });
273
+ });
274
+ };
258
275
  /**
259
276
  * Estimate the committers that would be added to the customer's usage if Advanced Security was enabled for this organization.
260
277
  *
@@ -264,7 +281,10 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
264
281
  return __generator(this, function (_a) {
265
282
  return [2 /*return*/, this.beginRequest({
266
283
  apiVersion: "7.2-preview.1",
267
- routeTemplate: "_apis/Management/meterUsageEstimate"
284
+ routeTemplate: "_apis/Management/meterUsageEstimate/{action}",
285
+ routeValues: {
286
+ action: "Default"
287
+ }
268
288
  })];
269
289
  });
270
290
  });
@@ -314,6 +334,25 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
314
334
  });
315
335
  });
316
336
  };
337
+ /**
338
+ * Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this project.
339
+ *
340
+ * @param project - Project ID or project name
341
+ */
342
+ ManagementRestClient.prototype.getEstimatedBillablePushersDetailsForProject = function (project) {
343
+ return __awaiter(this, void 0, void 0, function () {
344
+ return __generator(this, function (_a) {
345
+ return [2 /*return*/, this.beginRequest({
346
+ apiVersion: "7.2-preview.1",
347
+ routeTemplate: "{project}/_apis/Management/meterUsageEstimate/{action}",
348
+ routeValues: {
349
+ project: project,
350
+ action: "Details"
351
+ }
352
+ })];
353
+ });
354
+ });
355
+ };
317
356
  /**
318
357
  * Estimate the number of committers that would be added to the customer's usage if Advanced Security was enabled for this project.
319
358
  *
@@ -324,9 +363,10 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
324
363
  return __generator(this, function (_a) {
325
364
  return [2 /*return*/, this.beginRequest({
326
365
  apiVersion: "7.2-preview.1",
327
- routeTemplate: "{project}/_apis/Management/meterUsageEstimate",
366
+ routeTemplate: "{project}/_apis/Management/meterUsageEstimate/{action}",
328
367
  routeValues: {
329
- project: project
368
+ project: project,
369
+ action: "Default"
330
370
  }
331
371
  })];
332
372
  });
@@ -392,10 +432,32 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
392
432
  return __generator(this, function (_a) {
393
433
  return [2 /*return*/, this.beginRequest({
394
434
  apiVersion: "7.2-preview.1",
395
- routeTemplate: "{project}/_apis/Management/repositories/{repository}/meterUsageEstimate",
435
+ routeTemplate: "{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",
396
436
  routeValues: {
397
437
  project: project,
398
- repository: repository
438
+ repository: repository,
439
+ action: "Default"
440
+ }
441
+ })];
442
+ });
443
+ });
444
+ };
445
+ /**
446
+ * Estimate the pushers that would be added to the customer's usage if Advanced Security was enabled for this repository.
447
+ *
448
+ * @param project - Project ID or project name
449
+ * @param repository -
450
+ */
451
+ ManagementRestClient.prototype.getEstimatedRepoBillablePushersDetails = function (project, repository) {
452
+ return __awaiter(this, void 0, void 0, function () {
453
+ return __generator(this, function (_a) {
454
+ return [2 /*return*/, this.beginRequest({
455
+ apiVersion: "7.2-preview.1",
456
+ routeTemplate: "{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",
457
+ routeValues: {
458
+ project: project,
459
+ repository: repository,
460
+ action: "Details"
399
461
  }
400
462
  })];
401
463
  });
@@ -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 n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),__awaiter=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,u)}s((r=r.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function n(n){return function(a){return function(n){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,i&&(o=2&n[0]?i.return:n[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,n[1])).done)return o;switch(i=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return u.label++,{value:n[1],done:!1};case 5:u.label++,i=n[1],n=[0];continue;case 7:n=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(6===n[0]||2===n[0])){u=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){u.label=n[1];break}if(6===n[0]&&u.label<o[1]){u.label=o[1],o=n;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(n);break}o[2]&&u.ops.pop(),u.trys.pop();continue}n=t.call(e,u)}catch(e){n=[6,e],i=0}finally{r=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}var r,i,o,a,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a};define(["require","exports","../Common/RestClientBase"],function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.deleteBillingInfo=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:"DELETE",routeTemplate:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:e,action:"Default"}})]})})},t.prototype.deleteMeterUsageHistory=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:"DELETE",routeTemplate:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:e,action:"MeterUsageHistory"}})]})})},t.prototype.getBillingInfo=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:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:e,action:"Default"}})]})})},t.prototype.saveBillingInfo=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:t,action:"Default"},body: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(n){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(n){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(n){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.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"})]})})},t.prototype.getProjectEnablementStatus=function(e,t){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(r){return n={includeAllProperties:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/enablement",routeValues:{project:e},queryParams:n})]})})},t.prototype.updateProjectEnablementStatus=function(e,t){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/enablement",routeValues:{project:t},body:e})]})})},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",routeValues:{project:e}})]})})},t.prototype.getRepoEnablementStatus=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(i){return r={includeAllProperties:n},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/repositories/{repository}/enablement",routeValues:{project:e,repository:t},queryParams:r})]})})},t.prototype.updateRepoAdvSecEnablementStatus=function(e,t,n){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/repositories/{repository}/enablement",routeValues:{project:t,repository:n},body:e})]})})},t.prototype.getEstimatedRepoBillableCommitters=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Management/repositories/{repository}/meterUsageEstimate",routeValues:{project:e,repository:t}})]})})},t}(n.RestClientBase);t.ManagementRestClient=r});
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.deleteBillingInfo=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:"DELETE",routeTemplate:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:e,action:"Default"}})]})})},t.prototype.deleteMeterUsageHistory=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:"DELETE",routeTemplate:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:e,action:"MeterUsageHistory"}})]})})},t.prototype.getBillingInfo=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:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:e,action:"Default"}})]})})},t.prototype.saveBillingInfo=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:"POST",routeTemplate:"{organizationId}/_apis/Management/Billing/{action}",routeValues:{organizationId:t,action:"Default"},body: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});
@@ -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
  };
@@ -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
@@ -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
@@ -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={}))});
@@ -81,6 +81,11 @@ export interface AzureAppService {
81
81
  export interface AzureKeyVaultPermission extends AzureResourcePermission {
82
82
  vault: string;
83
83
  }
84
+ export interface AzureManagedIdentity {
85
+ clientId: string;
86
+ id: string;
87
+ name: string;
88
+ }
84
89
  /**
85
90
  * Azure Management Group
86
91
  */
@@ -3267,6 +3267,8 @@ export interface TaskReference {
3267
3267
  * The build config of the task definition. Corresponds to the version value of task.json file. \<br /\>Example: CmdLineV2 \{ "_buildConfigMapping": \{ "Default": "2.232.2", "Node20_229_7": "2.232.3" \} \}
3268
3268
  */
3269
3269
  buildConfig: string;
3270
+ contributionIdentifier: string;
3271
+ contributionVersion: string;
3270
3272
  /**
3271
3273
  * The ID of the task definition. Corresponds to the id value of task.json file. \<br /\>Example: CmdLineV2 \{ "id": "D9BAFED4-0B18-4F58-968D-86655B4D2CE9" \}
3272
3274
  */
package/Test/Test.d.ts CHANGED
@@ -1429,6 +1429,10 @@ export interface PlanUpdateModel {
1429
1429
  * Test Outcome settings
1430
1430
  */
1431
1431
  testOutcomeSettings: TestOutcomeSettings;
1432
+ /**
1433
+ * The Yaml Build DefinitionId that generates a build associated with this test plan.
1434
+ */
1435
+ yamlBuildDefinitionId: number;
1432
1436
  }
1433
1437
  /**
1434
1438
  * Adding test cases to a suite creates one of more test points based on the default configurations and testers assigned to the test suite. PointAssignment is the list of test points that were created for each of the test cases that were added to the test suite.
@@ -3779,6 +3783,10 @@ export interface TestPlan {
3779
3783
  * URL of the test plan resource.
3780
3784
  */
3781
3785
  url: string;
3786
+ /**
3787
+ * The Yaml Build DefinitionId that generates a build associated with this test plan.
3788
+ */
3789
+ yamlBuildDefinitionId: number;
3782
3790
  }
3783
3791
  export interface TestPlanCloneRequest {
3784
3792
  destinationTestPlan: TestPlan;
@@ -840,6 +840,10 @@ export interface TestPlanCreateParams {
840
840
  * Value to configure how same tests across test suites under a test plan need to behave
841
841
  */
842
842
  testOutcomeSettings: Test.TestOutcomeSettings;
843
+ /**
844
+ * The Yaml Build Definition associated with this test plan.
845
+ */
846
+ yamlBuildDefinitionId: number;
843
847
  }
844
848
  /**
845
849
  * The test plan detailed reference resource. Contains additional workitem realted information
@@ -384,6 +384,19 @@ export interface CommentVersion extends WorkItemTrackingResource {
384
384
  */
385
385
  version: number;
386
386
  }
387
+ /**
388
+ * Describes permanently deleted attachment and work items that had links to this attachment.
389
+ */
390
+ export interface DestroyedAttachment {
391
+ /**
392
+ * Work items with attachment references that have been marked as deleted.
393
+ */
394
+ affectedWorkItems: WorkItemReference[];
395
+ /**
396
+ * Permanently deleted attachment.
397
+ */
398
+ attachment: AttachmentReference;
399
+ }
387
400
  export interface EmailRecipients {
388
401
  /**
389
402
  * Plaintext email addresses.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azure-devops-extension-api",
3
- "version": "4.241.1",
3
+ "version": "4.242.0",
4
4
  "description": "REST client libraries and contracts for Azure DevOps web extension developers.",
5
5
  "repository": {
6
6
  "type": "git",