azure-devops-extension-api 4.238.0 → 4.239.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 CHANGED
@@ -725,7 +725,11 @@ export declare enum SarifJobStatus {
725
725
  /**
726
726
  * The job type when it fails
727
727
  */
728
- Failed = 3
728
+ Failed = 3,
729
+ /**
730
+ * The job type when it is queued on exception
731
+ */
732
+ Requeued = 4
729
733
  }
730
734
  export interface SarifUploadStatus {
731
735
  errors: SarifValidationError[];
package/Alert/Alert.js CHANGED
@@ -228,6 +228,10 @@ define(["require", "exports"], function (require, exports) {
228
228
  * The job type when it fails
229
229
  */
230
230
  SarifJobStatus[SarifJobStatus["Failed"] = 3] = "Failed";
231
+ /**
232
+ * The job type when it is queued on exception
233
+ */
234
+ SarifJobStatus[SarifJobStatus["Requeued"] = 4] = "Requeued";
231
235
  })(SarifJobStatus = exports.SarifJobStatus || (exports.SarifJobStatus = {}));
232
236
  var Severity;
233
237
  (function (Severity) {
@@ -1 +1 @@
1
- define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.Secret=2]="Secret",e[e.Code=3]="Code",e[e.License=4]="License"}(n.AlertType||(n.AlertType={}));!function(e){e[e.Default=0]="Default",e[e.AdoPipeline=1]="AdoPipeline"}(n.AnalysisConfigurationType||(n.AnalysisConfigurationType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.NuGet=1]="NuGet",e[e.Npm=2]="Npm",e[e.Maven=3]="Maven",e[e.Git=4]="Git",e[e.Other=5]="Other",e[e.RubyGems=6]="RubyGems",e[e.Cargo=7]="Cargo",e[e.Pip=8]="Pip",e[e.File=9]="File",e[e.Go=10]="Go",e[e.DockerImage=11]="DockerImage",e[e.Pod=12]="Pod",e[e.Linux=13]="Linux",e[e.Conda=14]="Conda",e[e.DockerReference=15]="DockerReference",e[e.Vcpkg=16]="Vcpkg"}(n.ComponentType||(n.ComponentType={}));!function(e){e[e.High=0]="High",e[e.Other=1]="Other"}(n.Confidence||(n.Confidence={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Fixed=1]="Fixed",e[e.AcceptedRisk=2]="AcceptedRisk",e[e.FalsePositive=3]="FalsePositive"}(n.DismissalType||(n.DismissalType={}));!function(e){e[e.None=0]="None",e[e.ValidationFingerprint=1]="ValidationFingerprint"}(n.ExpandOption||(n.ExpandOption={}));!function(e){e[e.Unknown=0]="Unknown",e[e.NotHarvested=1]="NotHarvested",e[e.Harvested=2]="Harvested"}(n.LicenseState||(n.LicenseState={}));!function(e){e[e.None=0]="None",e[e.Created=1]="Created",e[e.Updated=2]="Updated",e[e.Deleted=3]="Deleted"}(n.MetadataChangeType||(n.MetadataChangeType={}));!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Remove=2]="Remove"}(n.MetadataOperation||(n.MetadataOperation={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.VersionControl=2]="VersionControl"}(n.ResultType||(n.ResultType={}));!function(e){e[e.New=0]="New",e[e.Queued=1]="Queued",e[e.Completed=2]="Completed",e[e.Failed=3]="Failed"}(n.SarifJobStatus||(n.SarifJobStatus={}));!function(e){e[e.Low=0]="Low",e[e.Medium=1]="Medium",e[e.High=2]="High",e[e.Critical=3]="Critical",e[e.Note=4]="Note",e[e.Warning=5]="Warning",e[e.Error=6]="Error",e[e.Undefined=7]="Undefined"}(n.Severity||(n.Severity={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Active=1]="Active",e[e.Dismissed=2]="Dismissed",e[e.Fixed=4]="Fixed",e[e.AutoDismissed=8]="AutoDismissed"}(n.State||(n.State={}))});
1
+ define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.Secret=2]="Secret",e[e.Code=3]="Code",e[e.License=4]="License"}(n.AlertType||(n.AlertType={}));!function(e){e[e.Default=0]="Default",e[e.AdoPipeline=1]="AdoPipeline"}(n.AnalysisConfigurationType||(n.AnalysisConfigurationType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.NuGet=1]="NuGet",e[e.Npm=2]="Npm",e[e.Maven=3]="Maven",e[e.Git=4]="Git",e[e.Other=5]="Other",e[e.RubyGems=6]="RubyGems",e[e.Cargo=7]="Cargo",e[e.Pip=8]="Pip",e[e.File=9]="File",e[e.Go=10]="Go",e[e.DockerImage=11]="DockerImage",e[e.Pod=12]="Pod",e[e.Linux=13]="Linux",e[e.Conda=14]="Conda",e[e.DockerReference=15]="DockerReference",e[e.Vcpkg=16]="Vcpkg"}(n.ComponentType||(n.ComponentType={}));!function(e){e[e.High=0]="High",e[e.Other=1]="Other"}(n.Confidence||(n.Confidence={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Fixed=1]="Fixed",e[e.AcceptedRisk=2]="AcceptedRisk",e[e.FalsePositive=3]="FalsePositive"}(n.DismissalType||(n.DismissalType={}));!function(e){e[e.None=0]="None",e[e.ValidationFingerprint=1]="ValidationFingerprint"}(n.ExpandOption||(n.ExpandOption={}));!function(e){e[e.Unknown=0]="Unknown",e[e.NotHarvested=1]="NotHarvested",e[e.Harvested=2]="Harvested"}(n.LicenseState||(n.LicenseState={}));!function(e){e[e.None=0]="None",e[e.Created=1]="Created",e[e.Updated=2]="Updated",e[e.Deleted=3]="Deleted"}(n.MetadataChangeType||(n.MetadataChangeType={}));!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Remove=2]="Remove"}(n.MetadataOperation||(n.MetadataOperation={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.VersionControl=2]="VersionControl"}(n.ResultType||(n.ResultType={}));!function(e){e[e.New=0]="New",e[e.Queued=1]="Queued",e[e.Completed=2]="Completed",e[e.Failed=3]="Failed",e[e.Requeued=4]="Requeued"}(n.SarifJobStatus||(n.SarifJobStatus={}));!function(e){e[e.Low=0]="Low",e[e.Medium=1]="Medium",e[e.High=2]="High",e[e.Critical=3]="Critical",e[e.Note=4]="Note",e[e.Warning=5]="Warning",e[e.Error=6]="Error",e[e.Undefined=7]="Undefined"}(n.Severity||(n.Severity={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Active=1]="Active",e[e.Dismissed=2]="Dismissed",e[e.Fixed=4]="Fixed",e[e.AutoDismissed=8]="AutoDismissed"}(n.State||(n.State={}))});
@@ -67,8 +67,9 @@ export declare class AlertRestClient extends RestClientBase {
67
67
  * @param content - Content to upload
68
68
  * @param project - Project ID or project name
69
69
  * @param repository - The name or ID of a repository
70
+ * @param notificationFlag - Header to signal that this is a progress notification
70
71
  */
71
- uploadSarif(content: string, project: string, repository: string): Promise<number>;
72
+ uploadSarif(content: string, project: string, repository: string, notificationFlag?: String): Promise<number>;
72
73
  /**
73
74
  * @param project - Project ID or project name
74
75
  * @param repository -
@@ -243,8 +243,9 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
243
243
  * @param content - Content to upload
244
244
  * @param project - Project ID or project name
245
245
  * @param repository - The name or ID of a repository
246
+ * @param notificationFlag - Header to signal that this is a progress notification
246
247
  */
247
- AlertRestClient.prototype.uploadSarif = function (content, project, repository) {
248
+ AlertRestClient.prototype.uploadSarif = function (content, project, repository, notificationFlag) {
248
249
  return __awaiter(this, void 0, void 0, function () {
249
250
  return __generator(this, function (_a) {
250
251
  return [2 /*return*/, this.beginRequest({
@@ -257,6 +258,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
257
258
  },
258
259
  customHeaders: {
259
260
  "Content-Type": "application/octet-stream",
261
+ "X-AdvSec-NotificationSarif": notificationFlag,
260
262
  },
261
263
  body: content
262
264
  })];
@@ -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 r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),__awaiter=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))(function(i,n){function a(e){try{u(o.next(e))}catch(e){n(e)}}function s(e){try{u(o.throw(e))}catch(e){n(e)}}function u(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,s)}u((o=o.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(a){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(n=2&r[0]?i.return:r[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,r[1])).done)return n;switch(i=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(n=s.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){s.label=r[1];break}if(6===r[0]&&s.label<n[1]){s.label=n[1],n=r;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(r);break}n[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{o=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}var o,i,n,a,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[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","../Common/Util/Serialization"],function(e,t,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getAlert=function(e,t,r,o,i){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(a){return n={ref:o,expand:i},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:n})]})})},t.prototype.getAlerts=function(e,t,r,i,n,a){return __awaiter(this,void 0,void 0,function(){var s,u=this;return __generator(this,function(p){return s={top:r,orderBy:i,criteria:n,continuationToken:a},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:e,repository:t},queryParams:s,returnRawResponse:!0}).then(function(e){return __awaiter(u,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(o.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.getAlertSarif=function(e,t,r,o,i){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(a){return n={ref:o,expand:i},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:n})]})})},t.prototype.updateAlert=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:t,alertId:r,repository:o},body:e})]})})},t.prototype.getAlertInstances=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(n){return i={ref:o},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Instances",routeValues:{project:e,alertId:t,repository:r},queryParams:i})]})})},t.prototype.updateAlertsMetadata=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/Metadata",routeValues:{project:t,repository:r},body:e})]})})},t.prototype.uploadSarif=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/sarifs",routeValues:{project:t,repository:r},customHeaders:{"Content-Type":"application/octet-stream"},body:e})]})})},t.prototype.getUxFilters=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(i){return o={alertType:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/filters",routeValues:{project:e,repository:t},queryParams:o})]})})},t.prototype.getSarif=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/Alert/Sarifs/{sarifId}",routeValues:{sarifId:e}})]})})},t}(r.RestClientBase);t.AlertRestClient=i});
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 o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),__awaiter=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))(function(i,n){function a(e){try{u(o.next(e))}catch(e){n(e)}}function s(e){try{u(o.throw(e))}catch(e){n(e)}}function u(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(a,s)}u((o=o.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(a){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(n=2&r[0]?i.return:r[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,r[1])).done)return n;switch(i=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(n=s.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){s=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){s.label=r[1];break}if(6===r[0]&&s.label<n[1]){s.label=n[1],n=r;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(r);break}n[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{o=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}var o,i,n,a,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[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","../Common/Util/Serialization"],function(e,t,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getAlert=function(e,t,r,o,i){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(a){return n={ref:o,expand:i},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:n})]})})},t.prototype.getAlerts=function(e,t,r,i,n,a){return __awaiter(this,void 0,void 0,function(){var s,u=this;return __generator(this,function(p){return s={top:r,orderBy:i,criteria:n,continuationToken:a},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:e,repository:t},queryParams:s,returnRawResponse:!0}).then(function(e){return __awaiter(u,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(o.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.getAlertSarif=function(e,t,r,o,i){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(a){return n={ref:o,expand:i},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:n})]})})},t.prototype.updateAlert=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/Alerts/{alertId}",routeValues:{project:t,alertId:r,repository:o},body:e})]})})},t.prototype.getAlertInstances=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(n){return i={ref:o},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Instances",routeValues:{project:e,alertId:t,repository:r},queryParams:i})]})})},t.prototype.updateAlertsMetadata=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/Metadata",routeValues:{project:t,repository:r},body:e})]})})},t.prototype.uploadSarif=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/sarifs",routeValues:{project:t,repository:r},customHeaders:{"Content-Type":"application/octet-stream","X-AdvSec-NotificationSarif":o},body:e})]})})},t.prototype.getUxFilters=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(i){return o={alertType:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/filters",routeValues:{project:e,repository:t},queryParams:o})]})})},t.prototype.getSarif=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/Alert/Sarifs/{sarifId}",routeValues:{sarifId:e}})]})})},t}(r.RestClientBase);t.AlertRestClient=i});
@@ -71,8 +71,9 @@ export declare class ServiceEndpointRestClient extends RestClientBase {
71
71
  * @param project - Project ID or project name
72
72
  * @param endpointId - Id of the service endpoint.
73
73
  * @param actionFilter - Action filter for the service connection. It specifies the action which can be performed on the service connection.
74
+ * @param loadConfidetantialData - Flag to include confidential details of service endpoint. This is for internal use only.
74
75
  */
75
- getServiceEndpointDetails(project: string, endpointId: string, actionFilter?: ServiceEndpoint.ServiceEndpointActionFilter): Promise<ServiceEndpoint.ServiceEndpoint>;
76
+ getServiceEndpointDetails(project: string, endpointId: string, actionFilter?: ServiceEndpoint.ServiceEndpointActionFilter, loadConfidetantialData?: boolean): Promise<ServiceEndpoint.ServiceEndpoint>;
76
77
  /**
77
78
  * Get the service endpoints.
78
79
  *
@@ -247,13 +247,15 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
247
247
  * @param project - Project ID or project name
248
248
  * @param endpointId - Id of the service endpoint.
249
249
  * @param actionFilter - Action filter for the service connection. It specifies the action which can be performed on the service connection.
250
+ * @param loadConfidetantialData - Flag to include confidential details of service endpoint. This is for internal use only.
250
251
  */
251
- ServiceEndpointRestClient.prototype.getServiceEndpointDetails = function (project, endpointId, actionFilter) {
252
+ ServiceEndpointRestClient.prototype.getServiceEndpointDetails = function (project, endpointId, actionFilter, loadConfidetantialData) {
252
253
  return __awaiter(this, void 0, void 0, function () {
253
254
  var queryValues;
254
255
  return __generator(this, function (_a) {
255
256
  queryValues = {
256
- actionFilter: actionFilter
257
+ actionFilter: actionFilter,
258
+ loadConfidetantialData: loadConfidetantialData
257
259
  };
258
260
  return [2 /*return*/, this.beginRequest({
259
261
  apiVersion: "7.2-preview.4",
@@ -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 i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),__awaiter=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function u(e){try{s(i.next(e))}catch(e){o(e)}}function a(e){try{s(i.throw(e))}catch(e){o(e)}}function s(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(u,a)}s((i=i.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function n(n){return function(u){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,r&&(o=2&n[0]?r.return:n[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,n[1])).done)return o;switch(r=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){a.label=n[1];break}if(6===n[0]&&a.label<o[1]){a.label=o[1],o=n;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(n);break}o[2]&&a.ops.pop(),a.trys.pop();continue}n=t.call(e,a)}catch(e){n=[6,e],r=0}finally{i=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,u])}}var i,r,o,u,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u};define(["require","exports","../Common/RestClientBase","../Common/Util/Serialization"],function(e,t,n,i){"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.getAzureManagementGroups=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/serviceendpoint/endpointproxy/azurermmanagementgroups"})]})})},t.prototype.getAzureSubscriptions=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/serviceendpoint/endpointproxy/azurermsubscriptions"})]})})},t.prototype.executeServiceEndpointRequest=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={endpointId:n},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/serviceendpoint/endpointproxy",routeValues:{project:t},queryParams:i,body:e})]})})},t.prototype.queryServiceEndpoint=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:"{project}/_apis/serviceendpoint/endpointproxy",routeValues:{project:t},body:e})]})})},t.prototype.createServiceEndpoint=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"POST",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",body:e})]})})},t.prototype.deleteServiceEndpoint=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={projectIds:t&&t.join(","),deep:n},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"DELETE",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{endpointId:e},queryParams:i})]})})},t.prototype.shareServiceEndpoint=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"PATCH",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{endpointId:t},body:e})]})})},t.prototype.updateServiceEndpoint=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={operation:n},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"PUT",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{endpointId:t},queryParams:i,body:e})]})})},t.prototype.updateServiceEndpoints=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"PUT",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",body:e})]})})},t.prototype.getServiceEndpointDetails=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={actionFilter:n},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:e,endpointId:t},queryParams:i})]})})},t.prototype.getServiceEndpoints=function(e,t,n,i,r,o,u,a){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(p){return s={type:t,authSchemes:n&&n.join(","),endpointIds:i&&i.join(","),owner:r,includeFailed:o,includeDetails:u,actionFilter:a},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:e},queryParams:s})]})})},t.prototype.getServiceEndpointsByNames=function(e,t,n,i,r,o,u){return __awaiter(this,void 0,void 0,function(){var a;return __generator(this,function(s){return a={endpointNames:t&&t.join(","),type:n,authSchemes:i&&i.join(","),owner:r,includeFailed:o,includeDetails:u},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:e},queryParams:a})]})})},t.prototype.getServiceEndpointsWithRefreshedAuthentication=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={endpointIds:n&&n.join(",")},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"POST",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:t},queryParams:i,body:e})]})})},t.prototype.getServiceEndpointExecutionRecords=function(e,t,n,r){return __awaiter(this,void 0,void 0,function(){var o,u=this;return __generator(this,function(a){return o={top:n,continuationToken:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/serviceendpoint/{endpointId}/executionhistory",routeValues:{project:e,endpointId:t},queryParams:o,returnRawResponse:!0}).then(function(e){return __awaiter(u,void 0,void 0,function(){var t;return __generator(this,function(n){switch(n.label){case 0:return[4,e.text().then(i.deserializeVssJsonObject)];case 1:return t=n.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.addServiceEndpointExecutionRecords=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:"{project}/_apis/serviceendpoint/executionhistory",routeValues:{project:t},body:e})]})})},t.prototype.createOAuthConfiguration=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/serviceendpoint/oauthconfiguration/{configurationId}",body:e})]})})},t.prototype.deleteOAuthConfiguration=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:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",routeValues:{configurationId:e}})]})})},t.prototype.getOAuthConfiguration=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:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",routeValues:{configurationId:e}})]})})},t.prototype.getOAuthConfigurations=function(e,t){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={endpointType:e,actionFilter:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",queryParams:n})]})})},t.prototype.updateOAuthConfiguration=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:"PUT",routeTemplate:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",routeValues:{configurationId:t},body:e})]})})},t.prototype.querySharedProjects=function(e,t){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={project:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/serviceendpoint/share/{endpointId}",routeValues:{endpointId:e},queryParams:n})]})})},t.prototype.shareEndpointWithProject=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={fromProject:t,withProject:n},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/serviceendpoint/share/{endpointId}",routeValues:{endpointId:e},queryParams:i})]})})},t.prototype.getServiceEndpointTypes=function(e,t){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={type:e,scheme:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/serviceendpoint/types",queryParams:n})]})})},t.prototype.createAadOAuthRequest=function(e,t,n,i,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(u){return o={tenantId:e,redirectUri:t,promptOption:n,completeCallbackPayload:i,completeCallbackByAuthCode:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/serviceendpoint/vstsaadoauth/vstsaadoauth",queryParams:o})]})})},t.prototype.getVstsAadTenantId=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/serviceendpoint/vstsaadoauth/vstsaadoauth"})]})})},t.RESOURCE_AREA_ID="1814ab31-2f4f-4a9f-8761-f4d77dc5a5d7",t}(n.RestClientBase);t.ServiceEndpointRestClient=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 n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),__awaiter=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function u(e){try{s(i.next(e))}catch(e){o(e)}}function a(e){try{s(i.throw(e))}catch(e){o(e)}}function s(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(u,a)}s((i=i.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function n(n){return function(u){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,r&&(o=2&n[0]?r.return:n[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,n[1])).done)return o;switch(r=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){a.label=n[1];break}if(6===n[0]&&a.label<o[1]){a.label=o[1],o=n;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(n);break}o[2]&&a.ops.pop(),a.trys.pop();continue}n=t.call(e,a)}catch(e){n=[6,e],r=0}finally{i=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,u])}}var i,r,o,u,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u};define(["require","exports","../Common/RestClientBase","../Common/Util/Serialization"],function(e,t,n,i){"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.getAzureManagementGroups=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/serviceendpoint/endpointproxy/azurermmanagementgroups"})]})})},t.prototype.getAzureSubscriptions=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/serviceendpoint/endpointproxy/azurermsubscriptions"})]})})},t.prototype.executeServiceEndpointRequest=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={endpointId:n},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/serviceendpoint/endpointproxy",routeValues:{project:t},queryParams:i,body:e})]})})},t.prototype.queryServiceEndpoint=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:"{project}/_apis/serviceendpoint/endpointproxy",routeValues:{project:t},body:e})]})})},t.prototype.createServiceEndpoint=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"POST",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",body:e})]})})},t.prototype.deleteServiceEndpoint=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={projectIds:t&&t.join(","),deep:n},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"DELETE",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{endpointId:e},queryParams:i})]})})},t.prototype.shareServiceEndpoint=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"PATCH",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{endpointId:t},body:e})]})})},t.prototype.updateServiceEndpoint=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={operation:n},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"PUT",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{endpointId:t},queryParams:i,body:e})]})})},t.prototype.updateServiceEndpoints=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"PUT",routeTemplate:"_apis/serviceendpoint/endpoints/{endpointId}",body:e})]})})},t.prototype.getServiceEndpointDetails=function(e,t,n,i){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={actionFilter:n,loadConfidetantialData:i},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:e,endpointId:t},queryParams:r})]})})},t.prototype.getServiceEndpoints=function(e,t,n,i,r,o,u,a){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(p){return s={type:t,authSchemes:n&&n.join(","),endpointIds:i&&i.join(","),owner:r,includeFailed:o,includeDetails:u,actionFilter:a},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:e},queryParams:s})]})})},t.prototype.getServiceEndpointsByNames=function(e,t,n,i,r,o,u){return __awaiter(this,void 0,void 0,function(){var a;return __generator(this,function(s){return a={endpointNames:t&&t.join(","),type:n,authSchemes:i&&i.join(","),owner:r,includeFailed:o,includeDetails:u},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:e},queryParams:a})]})})},t.prototype.getServiceEndpointsWithRefreshedAuthentication=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={endpointIds:n&&n.join(",")},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"POST",routeTemplate:"{project}/_apis/serviceendpoint/endpoints/{endpointId}",routeValues:{project:t},queryParams:i,body:e})]})})},t.prototype.getServiceEndpointExecutionRecords=function(e,t,n,r){return __awaiter(this,void 0,void 0,function(){var o,u=this;return __generator(this,function(a){return o={top:n,continuationToken:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/serviceendpoint/{endpointId}/executionhistory",routeValues:{project:e,endpointId:t},queryParams:o,returnRawResponse:!0}).then(function(e){return __awaiter(u,void 0,void 0,function(){var t;return __generator(this,function(n){switch(n.label){case 0:return[4,e.text().then(i.deserializeVssJsonObject)];case 1:return t=n.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.addServiceEndpointExecutionRecords=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:"{project}/_apis/serviceendpoint/executionhistory",routeValues:{project:t},body:e})]})})},t.prototype.createOAuthConfiguration=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/serviceendpoint/oauthconfiguration/{configurationId}",body:e})]})})},t.prototype.deleteOAuthConfiguration=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:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",routeValues:{configurationId:e}})]})})},t.prototype.getOAuthConfiguration=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:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",routeValues:{configurationId:e}})]})})},t.prototype.getOAuthConfigurations=function(e,t){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={endpointType:e,actionFilter:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",queryParams:n})]})})},t.prototype.updateOAuthConfiguration=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:"PUT",routeTemplate:"_apis/serviceendpoint/oauthconfiguration/{configurationId}",routeValues:{configurationId:t},body:e})]})})},t.prototype.querySharedProjects=function(e,t){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={project:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/serviceendpoint/share/{endpointId}",routeValues:{endpointId:e},queryParams:n})]})})},t.prototype.shareEndpointWithProject=function(e,t,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(r){return i={fromProject:t,withProject:n},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/serviceendpoint/share/{endpointId}",routeValues:{endpointId:e},queryParams:i})]})})},t.prototype.getServiceEndpointTypes=function(e,t){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={type:e,scheme:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/serviceendpoint/types",queryParams:n})]})})},t.prototype.createAadOAuthRequest=function(e,t,n,i,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(u){return o={tenantId:e,redirectUri:t,promptOption:n,completeCallbackPayload:i,completeCallbackByAuthCode:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/serviceendpoint/vstsaadoauth/vstsaadoauth",queryParams:o})]})})},t.prototype.getVstsAadTenantId=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/serviceendpoint/vstsaadoauth/vstsaadoauth"})]})})},t.RESOURCE_AREA_ID="1814ab31-2f4f-4a9f-8761-f4d77dc5a5d7",t}(n.RestClientBase);t.ServiceEndpointRestClient=r});
@@ -1943,6 +1943,7 @@ export interface TaskAgentCloudRequest {
1943
1943
  provisionRequestTime: Date;
1944
1944
  releaseRequestTime: Date;
1945
1945
  requestId: string;
1946
+ requestVersion: number;
1946
1947
  }
1947
1948
  export interface TaskAgentCloudType {
1948
1949
  /**
@@ -255,7 +255,7 @@ export declare class TestPlanRestClient extends RestClientBase {
255
255
  */
256
256
  deleteTestCase(project: string, testCaseId: number): Promise<void>;
257
257
  /**
258
- * Restore deleted test plan
258
+ * Restores the deleted test plan
259
259
  *
260
260
  * @param restoreModel - The model containing the restore information
261
261
  * @param project - Project ID or project name
@@ -314,7 +314,7 @@ export declare class TestPlanRestClient extends RestClientBase {
314
314
  */
315
315
  updateTestPoints(testPointUpdateParams: TestPlan.TestPointUpdateParams[], project: string, planId: number, suiteId: number, includePointDetails?: boolean, returnIdentityRef?: boolean): Promise<TestPlan.TestPoint[]>;
316
316
  /**
317
- * Restore deleted test suite
317
+ * Restores the deleted test suite
318
318
  *
319
319
  * @param payload - The model containing the restore information
320
320
  * @param project - Project ID or project name
@@ -862,7 +862,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
862
862
  });
863
863
  };
864
864
  /**
865
- * Restore deleted test plan
865
+ * Restores the deleted test plan
866
866
  *
867
867
  * @param restoreModel - The model containing the restore information
868
868
  * @param project - Project ID or project name
@@ -1048,7 +1048,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
1048
1048
  });
1049
1049
  };
1050
1050
  /**
1051
- * Restore deleted test suite
1051
+ * Restores the deleted test suite
1052
1052
  *
1053
1053
  * @param payload - The model containing the restore information
1054
1054
  * @param project - Project ID or project name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azure-devops-extension-api",
3
- "version": "4.238.0",
3
+ "version": "4.239.0",
4
4
  "description": "REST client libraries and contracts for Azure DevOps web extension developers.",
5
5
  "repository": {
6
6
  "type": "git",