azure-devops-extension-api 2.225.0 → 2.226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accounts/AccountsClient.js +3 -3
- package/Accounts/AccountsClient.min.js +1 -1
- package/Build/BuildClient.js +97 -97
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/ContributionsClient.js +4 -4
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Core/CoreClient.js +33 -33
- package/Core/CoreClient.min.js +1 -1
- package/Dashboard/DashboardClient.js +13 -13
- package/Dashboard/DashboardClient.min.js +1 -1
- package/ExtensionManagement/ExtensionManagementClient.js +25 -25
- package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
- package/Favorite/FavoriteClient.js +10 -10
- package/Favorite/FavoriteClient.min.js +1 -1
- package/FeatureAvailability/FeatureAvailabilityClient.js +5 -5
- package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
- package/FeatureManagement/FeatureManagementClient.js +9 -9
- package/FeatureManagement/FeatureManagementClient.min.js +1 -1
- package/FileContainer/FileContainerClient.js +4 -4
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/Gallery/GalleryClient.js +83 -83
- package/Gallery/GalleryClient.min.js +1 -1
- package/Git/Git.d.ts +17 -0
- package/Git/GitClient.d.ts +19 -9
- package/Git/GitClient.js +195 -169
- package/Git/GitClient.min.js +1 -1
- package/Graph/GraphClient.js +40 -40
- package/Graph/GraphClient.min.js +1 -1
- package/Locations/LocationsClient.js +9 -9
- package/Locations/LocationsClient.min.js +1 -1
- package/Notification/NotificationClient.js +24 -24
- package/Notification/NotificationClient.min.js +1 -1
- package/Operations/OperationsClient.js +1 -1
- package/Operations/OperationsClient.min.js +1 -1
- package/Pipelines/PipelinesClient.js +10 -10
- package/Pipelines/PipelinesClient.min.js +1 -1
- package/Policy/PolicyClient.js +12 -12
- package/Policy/PolicyClient.min.js +1 -1
- package/Profile/ProfileClient.js +12 -12
- package/Profile/ProfileClient.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysisClient.js +4 -4
- package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
- package/Release/ReleaseClient.js +88 -88
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.js +25 -25
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceHooks/ServiceHooksClient.js +23 -23
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/TaskAgent/TaskAgentClient.js +155 -155
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/Test/TestClient.js +76 -76
- package/Test/TestClient.min.js +1 -1
- package/TestPlan/TestPlanClient.js +42 -42
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestResults/TestResultsClient.js +96 -96
- package/TestResults/TestResultsClient.min.js +1 -1
- package/Tfvc/TfvcClient.js +24 -24
- package/Tfvc/TfvcClient.min.js +1 -1
- package/Work/WorkClient.js +56 -56
- package/Work/WorkClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +3 -0
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +1 -1
- package/WorkItemTracking/WorkItemTrackingClient.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +57 -57
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +46 -46
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/package.json +1 -1
package/Test/TestClient.min.js
CHANGED
|
@@ -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 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 s(e){try{a(n.next(e))}catch(e){o(e)}}function u(e){try{a(n.throw(e))}catch(e){o(e)}}function a(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(s,u)}a((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(s){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,s])}}var n,i,o,s,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s};define(["require","exports","../Common/RestClientBase","../Common/Util/Serialization"],function(e,t,r,n){"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.createTestIterationResultAttachment=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(u){return s={iterationId:i,actionPath:o},[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r,testCaseResultId:n},queryParams:s,body:e})]})})},t.prototype.createTestResultAttachment=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r,testCaseResultId:n},body:e})]})})},t.prototype.createTestSubResultAttachment=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={testSubResultId:i},[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r,testCaseResultId:n},queryParams:o,body:e})]})})},t.prototype.getTestResultAttachmentContent=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.1-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n}})]})})},t.prototype.getTestResultAttachments=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r}})]})})},t.prototype.getTestResultAttachmentZip=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.1-preview.1",httpResponseType:"application/zip",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n}})]})})},t.prototype.getTestSubResultAttachmentContent=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={testSubResultId:i},[2,this.beginRequest({apiVersion:"7.1-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n},queryParams:o})]})})},t.prototype.getTestSubResultAttachments=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={testSubResultId:n},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r},queryParams:i})]})})},t.prototype.getTestSubResultAttachmentZip=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={testSubResultId:i},[2,this.beginRequest({apiVersion:"7.1-preview.1",httpResponseType:"application/zip",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n},queryParams:o})]})})},t.prototype.createTestRunAttachment=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getTestRunAttachmentContent=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,attachmentId:r}})]})})},t.prototype.getTestRunAttachments=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t}})]})})},t.prototype.getTestRunAttachmentZip=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.1",httpResponseType:"application/zip",routeTemplate:"{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,attachmentId:r}})]})})},t.prototype.getBugsLinkedToTestResult=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Bugs",routeValues:{project:e,runId:t,testCaseResultId:r}})]})})},t.prototype.getBuildCodeCoverage=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={buildId:t,flags:r},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/CodeCoverage",routeValues:{project:e},queryParams:n})]})})},t.prototype.getCodeCoverageSummary=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={buildId:t,deltaBuildId:r},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/CodeCoverage",routeValues:{project:e},queryParams:n})]})})},t.prototype.updateCodeCoverageSummary=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={buildId:r},[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/CodeCoverage",routeValues:{project:t},queryParams:n,body:e})]})})},t.prototype.getTestRunCodeCoverage=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={flags:r},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/CodeCoverage",routeValues:{project:e,runId:t},queryParams:n})]})})},t.prototype.addCustomFields=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/ExtensionFields",routeValues:{project:t},body:e})]})})},t.prototype.queryCustomFields=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(n){return r={scopeFilter:t},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/ExtensionFields",routeValues:{project:e},queryParams:r})]})})},t.prototype.queryTestResultHistory=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Results/History",routeValues:{project:t},body:e})]})})},t.prototype.getTestIteration=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={includeActionResults:i},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",routeValues:{project:e,runId:t,testCaseResultId:r,iterationId:n},queryParams:o})]})})},t.prototype.getTestIterations=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={includeActionResults:n},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",routeValues:{project:e,runId:t,testCaseResultId:r},queryParams:i})]})})},t.prototype.getLinkedWorkItemsByQuery=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/LinkedWorkItemsQuery",routeValues:{project:t},body:e})]})})},t.prototype.getTestRunLogs=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/MessageLogs",routeValues:{project:e,runId:t}})]})})},t.prototype.getPoint=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={witFields:i},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",routeValues:{project:e,planId:t,suiteId:r,pointIds:n},queryParams:o})]})})},t.prototype.getPoints=function(e,t,r,n,i,o,s,u,a,p){return __awaiter(this,void 0,void 0,function(){var c;return __generator(this,function(d){return c={witFields:n,configurationId:i,testCaseId:o,testPointIds:s,includePointDetails:u,$skip:a,$top:p},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",routeValues:{project:e,planId:t,suiteId:r},queryParams:c})]})})},t.prototype.updateTestPoints=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"PATCH",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",routeValues:{project:t,planId:r,suiteId:n,pointIds:i},body:e})]})})},t.prototype.getPointsByQuery=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={$skip:r,$top:n},[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"POST",routeTemplate:"{project}/_apis/test/Points",routeValues:{project:t},queryParams:i,body:e})]})})},t.prototype.getTestResultDetailsForBuild=function(e,t,r,n,i,o,s,u){return __awaiter(this,void 0,void 0,function(){var a;return __generator(this,function(p){return a={buildId:t,publishContext:r,groupBy:n,$filter:i,$orderby:o,shouldIncludeResults:s,queryRunSummaryForInProgress:u},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"{project}/_apis/test/ResultDetailsByBuild",routeValues:{project:e},queryParams:a})]})})},t.prototype.getTestResultDetailsForRelease=function(e,t,r,n,i,o,s,u,a){return __awaiter(this,void 0,void 0,function(){var p;return __generator(this,function(c){return p={releaseId:t,releaseEnvId:r,publishContext:n,groupBy:i,$filter:o,$orderby:s,shouldIncludeResults:u,queryRunSummaryForInProgress:a},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"{project}/_apis/test/ResultDetailsByRelease",routeValues:{project:e},queryParams:p})]})})},t.prototype.publishTestResultDocument=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/ResultDocument",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getResultGroupsByBuild=function(e,t,r,i,o){return __awaiter(this,void 0,void 0,function(){var s,u=this;return __generator(this,function(a){return s={buildId:t,publishContext:r,fields:i&&i.join(","),continuationToken:o},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"{project}/_apis/test/ResultGroupsByBuild",routeValues:{project:e},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(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.getResultGroupsByRelease=function(e,t,r,i,o,s){return __awaiter(this,void 0,void 0,function(){var u,a=this;return __generator(this,function(p){return u={releaseId:t,publishContext:r,releaseEnvId:i,fields:o&&o.join(","),continuationToken:s},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"{project}/_apis/test/ResultGroupsByRelease",routeValues:{project:e},queryParams:u,returnRawResponse:!0}).then(function(e){return __awaiter(a,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.queryTestResultsMetaData=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"POST",routeTemplate:"{project}/_apis/test/Results/ResultMetaData",routeValues:{project:t},body:e})]})})},t.prototype.getResultRetentionSettings=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/ResultRetentionSettings",routeValues:{project:e}})]})})},t.prototype.updateResultRetentionSettings=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/test/ResultRetentionSettings",routeValues:{project:t},body:e})]})})},t.prototype.addTestResultsToTestRun=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.6",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getTestResultById=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={detailsToInclude:n},[2,this.beginRequest({apiVersion:"7.1-preview.6",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:e,runId:t,testCaseResultId:r},queryParams:i})]})})},t.prototype.getTestResults=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(u){return s={detailsToInclude:r,$skip:n,$top:i,outcomes:o&&o.join(",")},[2,this.beginRequest({apiVersion:"7.1-preview.6",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:e,runId:t},queryParams:s})]})})},t.prototype.updateTestResults=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.6",method:"PATCH",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getTestResultsByQuery=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.6",method:"POST",routeTemplate:"{project}/_apis/test/Results",routeValues:{project:t},body:e})]})})},t.prototype.getTestResultsByBuild=function(e,t,r,i,o,s){return __awaiter(this,void 0,void 0,function(){var u,a=this;return __generator(this,function(p){return u={buildId:t,publishContext:r,outcomes:i&&i.join(","),$top:o,continuationToken:s},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/ResultsByBuild",routeValues:{project:e},queryParams:u,returnRawResponse:!0}).then(function(e){return __awaiter(a,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.getTestResultsByRelease=function(e,t,r,i,o,s,u){return __awaiter(this,void 0,void 0,function(){var a,p=this;return __generator(this,function(c){return a={releaseId:t,releaseEnvid:r,publishContext:i,outcomes:o&&o.join(","),$top:s,continuationToken:u},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/ResultsByRelease",routeValues:{project:e},queryParams:a,returnRawResponse:!0}).then(function(e){return __awaiter(p,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.queryTestResultsReportForBuild=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={buildId:t,publishContext:r,includeFailureDetails:n,buildToCompare:i},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/ResultSummaryByBuild",routeValues:{project:e},queryParams:o})]})})},t.prototype.queryTestResultsReportForRelease=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(u){return s={releaseId:t,releaseEnvId:r,publishContext:n,includeFailureDetails:i,releaseToCompare:o},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/ResultSummaryByRelease",routeValues:{project:e},queryParams:s})]})})},t.prototype.queryTestResultsSummaryForReleases=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.3",method:"POST",routeTemplate:"{project}/_apis/test/ResultSummaryByRelease",routeValues:{project:t},body:e})]})})},t.prototype.queryTestSummaryByRequirement=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={workItemIds:r&&r.join(",")},[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/ResultSummaryByRequirement",routeValues:{project:t},queryParams:n,body:e})]})})},t.prototype.queryResultTrendForBuild=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/ResultTrendByBuild",routeValues:{project:t},body:e})]})})},t.prototype.queryResultTrendForRelease=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/ResultTrendByRelease",routeValues:{project:t},body:e})]})})},t.prototype.getTestRunStatistics=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}/Statistics",routeValues:{project:e,runId:t}})]})})},t.prototype.createTestRun=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.3",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:t},body:e})]})})},t.prototype.deleteTestRun=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.3",method:"DELETE",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e,runId:t}})]})})},t.prototype.getTestRunById=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={includeDetails:r},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e,runId:t},queryParams:n})]})})},t.prototype.getTestRuns=function(e,t,r,n,i,o,s,u,a){return __awaiter(this,void 0,void 0,function(){var p;return __generator(this,function(c){return p={buildUri:t,owner:r,tmiRunId:n,planId:i,includeRunDetails:o,automated:s,$skip:u,$top:a},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e},queryParams:p})]})})},t.prototype.queryTestRuns=function(e,t,r,i,o,s,u,a,p,c,d,l,_,h,v,f,m){return __awaiter(this,void 0,void 0,function(){var R,I=this;return __generator(this,function(g){return R={minLastUpdatedDate:t,maxLastUpdatedDate:r,state:i,planIds:o&&o.join(","),isAutomated:s,publishContext:u,buildIds:a&&a.join(","),buildDefIds:p&&p.join(","),branchName:c,releaseIds:d&&d.join(","),releaseDefIds:l&&l.join(","),releaseEnvIds:_&&_.join(","),releaseEnvDefIds:h&&h.join(","),runTitle:v,$top:f,continuationToken:m},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e},queryParams:R,returnRawResponse:!0}).then(function(e){return __awaiter(I,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.updateTestRun=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.3",method:"PATCH",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.createTestSession=function(e,t){return __awaiter(this,void 0,void 0,function(){var r,n;return __generator(this,function(i){return r=t.projectId||t.project,n=t.teamId||t.team,[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/{team}/_apis/test/Session/{testSessionId}",routeValues:{project:r,team:n},body:e})]})})},t.prototype.getTestSessions=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s,u,a;return __generator(this,function(p){return s={period:t,allSessions:r,includeAllProperties:n,source:i,includeOnlyCompletedSessions:o},u=e.projectId||e.project,a=e.teamId||e.team,[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/{team}/_apis/test/Session/{testSessionId}",routeValues:{project:u,team:a},queryParams:s})]})})},t.prototype.updateTestSession=function(e,t){return __awaiter(this,void 0,void 0,function(){var r,n;return __generator(this,function(i){return r=t.projectId||t.project,n=t.teamId||t.team,[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"PATCH",routeTemplate:"{project}/{team}/_apis/test/Session/{testSessionId}",routeValues:{project:r,team:n},body:e})]})})},t.prototype.deleteSharedParameter=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/test/SharedParameter/{sharedParameterId}",routeValues:{project:e,sharedParameterId:t}})]})})},t.prototype.deleteSharedStep=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/test/SharedStep/{sharedStepId}",routeValues:{project:e,sharedStepId:t}})]})})},t.prototype.addTestCasesToSuite=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.1-preview.3",method:"POST",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,testCaseIds:n,action:"TestCases"}})]})})},t.prototype.getTestCaseById=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,testCaseIds:n,action:"TestCases"}})]})})},t.prototype.getTestCases=function(e,t,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(n){return[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,action:"TestCases"}})]})})},t.prototype.removeTestCasesFromSuiteUrl=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.1-preview.3",method:"DELETE",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,testCaseIds:n,action:"TestCases"}})]})})},t.prototype.updateSuiteTestCases=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.1-preview.3",method:"PATCH",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:t,planId:r,suiteId:n,testCaseIds:i,action:"TestCases"},body:e})]})})},t.prototype.deleteTestCase=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/test/TestCases/{testCaseId}",routeValues:{project:e,testCaseId:t}})]})})},t.prototype.queryTestHistory=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"POST",routeTemplate:"{project}/_apis/test/Results/TestHistory",routeValues:{project:t},body:e})]})})},t.prototype.createTestSettings=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/TestSettings/{testSettingsId}",routeValues:{project:t},body:e})]})})},t.prototype.deleteTestSettings=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/test/TestSettings/{testSettingsId}",routeValues:{project:e,testSettingsId:t}})]})})},t.prototype.getTestSettingsById=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/TestSettings/{testSettingsId}",routeValues:{project:e,testSettingsId:t}})]})})},t.prototype.addWorkItemToTestLinks=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/TestMethods/WorkItems",routeValues:{project:t},body:e})]})})},t.prototype.deleteTestMethodToWorkItemLink=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={testName:t,workItemId:r},[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",routeValues:{project:e},queryParams:n})]})})},t.prototype.queryTestMethodLinkedWorkItems=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(n){return r={testName:t},[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",routeValues:{project:e},queryParams:r})]})})},t.prototype.queryTestResultWorkItems=function(e,t,r,n,i,o,s){return __awaiter(this,void 0,void 0,function(){var u;return __generator(this,function(a){return u={workItemCategory:t,automatedTestName:r,testCaseId:n,maxCompleteDate:i,days:o,$workItemCount:s},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"{project}/_apis/test/Results/WorkItems",routeValues:{project:e},queryParams:u})]})})},t.RESOURCE_AREA_ID="c2aa639c-3ccc-4740-b3b6-ce2a1e1d984e",t}(r.RestClientBase);t.TestRestClient=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 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 s(e){try{a(n.next(e))}catch(e){o(e)}}function u(e){try{a(n.throw(e))}catch(e){o(e)}}function a(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(s,u)}a((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(s){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,s])}}var n,i,o,s,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s};define(["require","exports","../Common/RestClientBase","../Common/Util/Serialization"],function(e,t,r,n){"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.createTestIterationResultAttachment=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(u){return s={iterationId:i,actionPath:o},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r,testCaseResultId:n},queryParams:s,body:e})]})})},t.prototype.createTestResultAttachment=function(e,t,r,n){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/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r,testCaseResultId:n},body:e})]})})},t.prototype.createTestSubResultAttachment=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={testSubResultId:i},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r,testCaseResultId:n},queryParams:o,body:e})]})})},t.prototype.getTestResultAttachmentContent=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n}})]})})},t.prototype.getTestResultAttachments=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",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r}})]})})},t.prototype.getTestResultAttachmentZip=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/zip",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n}})]})})},t.prototype.getTestSubResultAttachmentContent=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={testSubResultId:i},[2,this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n},queryParams:o})]})})},t.prototype.getTestSubResultAttachments=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={testSubResultId:n},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r},queryParams:i})]})})},t.prototype.getTestSubResultAttachmentZip=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={testSubResultId:i},[2,this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/zip",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,testCaseResultId:r,attachmentId:n},queryParams:o})]})})},t.prototype.createTestRunAttachment=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:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getTestRunAttachmentContent=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",httpResponseType:"application/octet-stream",routeTemplate:"{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,attachmentId:r}})]})})},t.prototype.getTestRunAttachments=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/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t}})]})})},t.prototype.getTestRunAttachmentZip=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",httpResponseType:"application/zip",routeTemplate:"{project}/_apis/test/Runs/{runId}/Attachments/{attachmentId}",routeValues:{project:e,runId:t,attachmentId:r}})]})})},t.prototype.getBugsLinkedToTestResult=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",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Bugs",routeValues:{project:e,runId:t,testCaseResultId:r}})]})})},t.prototype.getBuildCodeCoverage=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={buildId:t,flags:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/CodeCoverage",routeValues:{project:e},queryParams:n})]})})},t.prototype.getCodeCoverageSummary=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={buildId:t,deltaBuildId:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/CodeCoverage",routeValues:{project:e},queryParams:n})]})})},t.prototype.updateCodeCoverageSummary=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={buildId:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/CodeCoverage",routeValues:{project:t},queryParams:n,body:e})]})})},t.prototype.getTestRunCodeCoverage=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={flags:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/Runs/{runId}/CodeCoverage",routeValues:{project:e,runId:t},queryParams:n})]})})},t.prototype.addCustomFields=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:"{project}/_apis/test/ExtensionFields",routeValues:{project:t},body:e})]})})},t.prototype.queryCustomFields=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(n){return r={scopeFilter:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/ExtensionFields",routeValues:{project:e},queryParams:r})]})})},t.prototype.queryTestResultHistory=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:"{project}/_apis/test/Results/History",routeValues:{project:t},body:e})]})})},t.prototype.getTestIteration=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={includeActionResults:i},[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",routeValues:{project:e,runId:t,testCaseResultId:r,iterationId:n},queryParams:o})]})})},t.prototype.getTestIterations=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={includeActionResults:n},[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}/Iterations/{iterationId}",routeValues:{project:e,runId:t,testCaseResultId:r},queryParams:i})]})})},t.prototype.getLinkedWorkItemsByQuery=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:"{project}/_apis/test/LinkedWorkItemsQuery",routeValues:{project:t},body:e})]})})},t.prototype.getTestRunLogs=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/test/Runs/{runId}/MessageLogs",routeValues:{project:e,runId:t}})]})})},t.prototype.getPoint=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={witFields:i},[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",routeValues:{project:e,planId:t,suiteId:r,pointIds:n},queryParams:o})]})})},t.prototype.getPoints=function(e,t,r,n,i,o,s,u,a,p){return __awaiter(this,void 0,void 0,function(){var c;return __generator(this,function(d){return c={witFields:n,configurationId:i,testCaseId:o,testPointIds:s,includePointDetails:u,$skip:a,$top:p},[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",routeValues:{project:e,planId:t,suiteId:r},queryParams:c})]})})},t.prototype.updateTestPoints=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.2-preview.2",method:"PATCH",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/Points/{pointIds}",routeValues:{project:t,planId:r,suiteId:n,pointIds:i},body:e})]})})},t.prototype.getPointsByQuery=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={$skip:r,$top:n},[2,this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"{project}/_apis/test/Points",routeValues:{project:t},queryParams:i,body:e})]})})},t.prototype.getTestResultDetailsForBuild=function(e,t,r,n,i,o,s,u){return __awaiter(this,void 0,void 0,function(){var a;return __generator(this,function(p){return a={buildId:t,publishContext:r,groupBy:n,$filter:i,$orderby:o,shouldIncludeResults:s,queryRunSummaryForInProgress:u},[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"{project}/_apis/test/ResultDetailsByBuild",routeValues:{project:e},queryParams:a})]})})},t.prototype.getTestResultDetailsForRelease=function(e,t,r,n,i,o,s,u,a){return __awaiter(this,void 0,void 0,function(){var p;return __generator(this,function(c){return p={releaseId:t,releaseEnvId:r,publishContext:n,groupBy:i,$filter:o,$orderby:s,shouldIncludeResults:u,queryRunSummaryForInProgress:a},[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"{project}/_apis/test/ResultDetailsByRelease",routeValues:{project:e},queryParams:p})]})})},t.prototype.publishTestResultDocument=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:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/ResultDocument",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getResultGroupsByBuild=function(e,t,r,i,o){return __awaiter(this,void 0,void 0,function(){var s,u=this;return __generator(this,function(a){return s={buildId:t,publishContext:r,fields:i&&i.join(","),continuationToken:o},[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"{project}/_apis/test/ResultGroupsByBuild",routeValues:{project:e},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(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.getResultGroupsByRelease=function(e,t,r,i,o,s){return __awaiter(this,void 0,void 0,function(){var u,a=this;return __generator(this,function(p){return u={releaseId:t,publishContext:r,releaseEnvId:i,fields:o&&o.join(","),continuationToken:s},[2,this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"{project}/_apis/test/ResultGroupsByRelease",routeValues:{project:e},queryParams:u,returnRawResponse:!0}).then(function(e){return __awaiter(a,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.queryTestResultsMetaData=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"{project}/_apis/test/Results/ResultMetaData",routeValues:{project:t},body:e})]})})},t.prototype.getResultRetentionSettings=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/test/ResultRetentionSettings",routeValues:{project:e}})]})})},t.prototype.updateResultRetentionSettings=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/test/ResultRetentionSettings",routeValues:{project:t},body:e})]})})},t.prototype.addTestResultsToTestRun=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.6",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getTestResultById=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={detailsToInclude:n},[2,this.beginRequest({apiVersion:"7.2-preview.6",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:e,runId:t,testCaseResultId:r},queryParams:i})]})})},t.prototype.getTestResults=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(u){return s={detailsToInclude:r,$skip:n,$top:i,outcomes:o&&o.join(",")},[2,this.beginRequest({apiVersion:"7.2-preview.6",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:e,runId:t},queryParams:s})]})})},t.prototype.updateTestResults=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.6",method:"PATCH",routeTemplate:"{project}/_apis/test/Runs/{runId}/Results/{testCaseResultId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.getTestResultsByQuery=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.6",method:"POST",routeTemplate:"{project}/_apis/test/Results",routeValues:{project:t},body:e})]})})},t.prototype.getTestResultsByBuild=function(e,t,r,i,o,s){return __awaiter(this,void 0,void 0,function(){var u,a=this;return __generator(this,function(p){return u={buildId:t,publishContext:r,outcomes:i&&i.join(","),$top:o,continuationToken:s},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/ResultsByBuild",routeValues:{project:e},queryParams:u,returnRawResponse:!0}).then(function(e){return __awaiter(a,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.getTestResultsByRelease=function(e,t,r,i,o,s,u){return __awaiter(this,void 0,void 0,function(){var a,p=this;return __generator(this,function(c){return a={releaseId:t,releaseEnvid:r,publishContext:i,outcomes:o&&o.join(","),$top:s,continuationToken:u},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/ResultsByRelease",routeValues:{project:e},queryParams:a,returnRawResponse:!0}).then(function(e){return __awaiter(p,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.queryTestResultsReportForBuild=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(s){return o={buildId:t,publishContext:r,includeFailureDetails:n,buildToCompare:i},[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/ResultSummaryByBuild",routeValues:{project:e},queryParams:o})]})})},t.prototype.queryTestResultsReportForRelease=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s;return __generator(this,function(u){return s={releaseId:t,releaseEnvId:r,publishContext:n,includeFailureDetails:i,releaseToCompare:o},[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/ResultSummaryByRelease",routeValues:{project:e},queryParams:s})]})})},t.prototype.queryTestResultsSummaryForReleases=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.3",method:"POST",routeTemplate:"{project}/_apis/test/ResultSummaryByRelease",routeValues:{project:t},body:e})]})})},t.prototype.queryTestSummaryByRequirement=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={workItemIds:r&&r.join(",")},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/ResultSummaryByRequirement",routeValues:{project:t},queryParams:n,body:e})]})})},t.prototype.queryResultTrendForBuild=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:"{project}/_apis/test/ResultTrendByBuild",routeValues:{project:t},body:e})]})})},t.prototype.queryResultTrendForRelease=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:"{project}/_apis/test/ResultTrendByRelease",routeValues:{project:t},body:e})]})})},t.prototype.getTestRunStatistics=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}/Statistics",routeValues:{project:e,runId:t}})]})})},t.prototype.createTestRun=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.3",method:"POST",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:t},body:e})]})})},t.prototype.deleteTestRun=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.3",method:"DELETE",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e,runId:t}})]})})},t.prototype.getTestRunById=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={includeDetails:r},[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e,runId:t},queryParams:n})]})})},t.prototype.getTestRuns=function(e,t,r,n,i,o,s,u,a){return __awaiter(this,void 0,void 0,function(){var p;return __generator(this,function(c){return p={buildUri:t,owner:r,tmiRunId:n,planId:i,includeRunDetails:o,automated:s,$skip:u,$top:a},[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e},queryParams:p})]})})},t.prototype.queryTestRuns=function(e,t,r,i,o,s,u,a,p,c,d,l,_,h,v,f,m){return __awaiter(this,void 0,void 0,function(){var R,I=this;return __generator(this,function(g){return R={minLastUpdatedDate:t,maxLastUpdatedDate:r,state:i,planIds:o&&o.join(","),isAutomated:s,publishContext:u,buildIds:a&&a.join(","),buildDefIds:p&&p.join(","),branchName:c,releaseIds:d&&d.join(","),releaseDefIds:l&&l.join(","),releaseEnvIds:_&&_.join(","),releaseEnvDefIds:h&&h.join(","),runTitle:v,$top:f,continuationToken:m},[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:e},queryParams:R,returnRawResponse:!0}).then(function(e){return __awaiter(I,void 0,void 0,function(){var t;return __generator(this,function(r){switch(r.label){case 0:return[4,e.text().then(n.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.updateTestRun=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.3",method:"PATCH",routeTemplate:"{project}/_apis/test/Runs/{runId}",routeValues:{project:t,runId:r},body:e})]})})},t.prototype.createTestSession=function(e,t){return __awaiter(this,void 0,void 0,function(){var r,n;return __generator(this,function(i){return r=t.projectId||t.project,n=t.teamId||t.team,[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/{team}/_apis/test/Session/{testSessionId}",routeValues:{project:r,team:n},body:e})]})})},t.prototype.getTestSessions=function(e,t,r,n,i,o){return __awaiter(this,void 0,void 0,function(){var s,u,a;return __generator(this,function(p){return s={period:t,allSessions:r,includeAllProperties:n,source:i,includeOnlyCompletedSessions:o},u=e.projectId||e.project,a=e.teamId||e.team,[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/{team}/_apis/test/Session/{testSessionId}",routeValues:{project:u,team:a},queryParams:s})]})})},t.prototype.updateTestSession=function(e,t){return __awaiter(this,void 0,void 0,function(){var r,n;return __generator(this,function(i){return r=t.projectId||t.project,n=t.teamId||t.team,[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/{team}/_apis/test/Session/{testSessionId}",routeValues:{project:r,team:n},body:e})]})})},t.prototype.deleteSharedParameter=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:"DELETE",routeTemplate:"{project}/_apis/test/SharedParameter/{sharedParameterId}",routeValues:{project:e,sharedParameterId:t}})]})})},t.prototype.deleteSharedStep=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:"DELETE",routeTemplate:"{project}/_apis/test/SharedStep/{sharedStepId}",routeValues:{project:e,sharedStepId:t}})]})})},t.prototype.addTestCasesToSuite=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.3",method:"POST",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,testCaseIds:n,action:"TestCases"}})]})})},t.prototype.getTestCaseById=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,testCaseIds:n,action:"TestCases"}})]})})},t.prototype.getTestCases=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.3",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,action:"TestCases"}})]})})},t.prototype.removeTestCasesFromSuiteUrl=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(i){return[2,this.beginRequest({apiVersion:"7.2-preview.3",method:"DELETE",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:e,planId:t,suiteId:r,testCaseIds:n,action:"TestCases"}})]})})},t.prototype.updateSuiteTestCases=function(e,t,r,n,i){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.2-preview.3",method:"PATCH",routeTemplate:"{project}/_apis/test/Plans/{planId}/Suites/{suiteId}/{action}/{testCaseIds}",routeValues:{project:t,planId:r,suiteId:n,testCaseIds:i,action:"TestCases"},body:e})]})})},t.prototype.deleteTestCase=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:"DELETE",routeTemplate:"{project}/_apis/test/TestCases/{testCaseId}",routeValues:{project:e,testCaseId:t}})]})})},t.prototype.queryTestHistory=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"{project}/_apis/test/Results/TestHistory",routeValues:{project:t},body:e})]})})},t.prototype.createTestSettings=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:"{project}/_apis/test/TestSettings/{testSettingsId}",routeValues:{project:t},body:e})]})})},t.prototype.deleteTestSettings=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:"DELETE",routeTemplate:"{project}/_apis/test/TestSettings/{testSettingsId}",routeValues:{project:e,testSettingsId:t}})]})})},t.prototype.getTestSettingsById=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/test/TestSettings/{testSettingsId}",routeValues:{project:e,testSettingsId:t}})]})})},t.prototype.addWorkItemToTestLinks=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:"{project}/_apis/test/TestMethods/WorkItems",routeValues:{project:t},body:e})]})})},t.prototype.deleteTestMethodToWorkItemLink=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(i){return n={testName:t,workItemId:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",routeValues:{project:e},queryParams:n})]})})},t.prototype.queryTestMethodLinkedWorkItems=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(n){return r={testName:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/test/TestMethods/{testName}/WorkItems/{workItemId}",routeValues:{project:e},queryParams:r})]})})},t.prototype.queryTestResultWorkItems=function(e,t,r,n,i,o,s){return __awaiter(this,void 0,void 0,function(){var u;return __generator(this,function(a){return u={workItemCategory:t,automatedTestName:r,testCaseId:n,maxCompleteDate:i,days:o,$workItemCount:s},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/test/Results/WorkItems",routeValues:{project:e},queryParams:u})]})})},t.RESOURCE_AREA_ID="c2aa639c-3ccc-4740-b3b6-ce2a1e1d984e",t}(r.RestClientBase);t.TestRestClient=i});
|
|
@@ -66,7 +66,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
66
66
|
return __awaiter(this, void 0, void 0, function () {
|
|
67
67
|
return __generator(this, function (_a) {
|
|
68
68
|
return [2 /*return*/, this.beginRequest({
|
|
69
|
-
apiVersion: "7.
|
|
69
|
+
apiVersion: "7.2-preview.1",
|
|
70
70
|
method: "POST",
|
|
71
71
|
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
|
|
72
72
|
routeValues: {
|
|
@@ -91,7 +91,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
91
91
|
testConfiguartionId: testConfiguartionId
|
|
92
92
|
};
|
|
93
93
|
return [2 /*return*/, this.beginRequest({
|
|
94
|
-
apiVersion: "7.
|
|
94
|
+
apiVersion: "7.2-preview.1",
|
|
95
95
|
method: "DELETE",
|
|
96
96
|
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
|
|
97
97
|
routeValues: {
|
|
@@ -112,7 +112,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
112
112
|
return __awaiter(this, void 0, void 0, function () {
|
|
113
113
|
return __generator(this, function (_a) {
|
|
114
114
|
return [2 /*return*/, this.beginRequest({
|
|
115
|
-
apiVersion: "7.
|
|
115
|
+
apiVersion: "7.2-preview.1",
|
|
116
116
|
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
|
|
117
117
|
routeValues: {
|
|
118
118
|
project: project,
|
|
@@ -137,7 +137,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
137
137
|
continuationToken: continuationToken
|
|
138
138
|
};
|
|
139
139
|
return [2 /*return*/, this.beginRequest({
|
|
140
|
-
apiVersion: "7.
|
|
140
|
+
apiVersion: "7.2-preview.1",
|
|
141
141
|
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
|
|
142
142
|
routeValues: {
|
|
143
143
|
project: project
|
|
@@ -174,7 +174,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
174
174
|
testConfiguartionId: testConfiguartionId
|
|
175
175
|
};
|
|
176
176
|
return [2 /*return*/, this.beginRequest({
|
|
177
|
-
apiVersion: "7.
|
|
177
|
+
apiVersion: "7.2-preview.1",
|
|
178
178
|
method: "PATCH",
|
|
179
179
|
routeTemplate: "{project}/_apis/testplan/Configurations/{testConfigurationId}",
|
|
180
180
|
routeValues: {
|
|
@@ -209,7 +209,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
209
209
|
entity: entity
|
|
210
210
|
};
|
|
211
211
|
return [2 /*return*/, this.beginRequest({
|
|
212
|
-
apiVersion: "7.
|
|
212
|
+
apiVersion: "7.2-preview.1",
|
|
213
213
|
routeTemplate: "{project}/_apis/testplan/Count/{planId}",
|
|
214
214
|
routeValues: {
|
|
215
215
|
project: project,
|
|
@@ -230,7 +230,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
230
230
|
return __awaiter(this, void 0, void 0, function () {
|
|
231
231
|
return __generator(this, function (_a) {
|
|
232
232
|
return [2 /*return*/, this.beginRequest({
|
|
233
|
-
apiVersion: "7.
|
|
233
|
+
apiVersion: "7.2-preview.1",
|
|
234
234
|
method: "POST",
|
|
235
235
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
|
|
236
236
|
routeValues: {
|
|
@@ -251,7 +251,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
251
251
|
return __awaiter(this, void 0, void 0, function () {
|
|
252
252
|
return __generator(this, function (_a) {
|
|
253
253
|
return [2 /*return*/, this.beginRequest({
|
|
254
|
-
apiVersion: "7.
|
|
254
|
+
apiVersion: "7.2-preview.1",
|
|
255
255
|
method: "DELETE",
|
|
256
256
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
|
|
257
257
|
routeValues: {
|
|
@@ -272,7 +272,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
272
272
|
return __awaiter(this, void 0, void 0, function () {
|
|
273
273
|
return __generator(this, function (_a) {
|
|
274
274
|
return [2 /*return*/, this.beginRequest({
|
|
275
|
-
apiVersion: "7.
|
|
275
|
+
apiVersion: "7.2-preview.1",
|
|
276
276
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
|
|
277
277
|
routeValues: {
|
|
278
278
|
project: project,
|
|
@@ -303,7 +303,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
303
303
|
filterActivePlans: filterActivePlans
|
|
304
304
|
};
|
|
305
305
|
return [2 /*return*/, this.beginRequest({
|
|
306
|
-
apiVersion: "7.
|
|
306
|
+
apiVersion: "7.2-preview.1",
|
|
307
307
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
|
|
308
308
|
routeValues: {
|
|
309
309
|
project: project
|
|
@@ -336,7 +336,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
336
336
|
return __awaiter(this, void 0, void 0, function () {
|
|
337
337
|
return __generator(this, function (_a) {
|
|
338
338
|
return [2 /*return*/, this.beginRequest({
|
|
339
|
-
apiVersion: "7.
|
|
339
|
+
apiVersion: "7.2-preview.1",
|
|
340
340
|
method: "PATCH",
|
|
341
341
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}",
|
|
342
342
|
routeValues: {
|
|
@@ -363,7 +363,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
363
363
|
suiteEntryType: suiteEntryType
|
|
364
364
|
};
|
|
365
365
|
return [2 /*return*/, this.beginRequest({
|
|
366
|
-
apiVersion: "7.
|
|
366
|
+
apiVersion: "7.2-preview.1",
|
|
367
367
|
routeTemplate: "{project}/_apis/testplan/SuiteEntry/{suiteId}",
|
|
368
368
|
routeValues: {
|
|
369
369
|
project: project,
|
|
@@ -385,7 +385,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
385
385
|
return __awaiter(this, void 0, void 0, function () {
|
|
386
386
|
return __generator(this, function (_a) {
|
|
387
387
|
return [2 /*return*/, this.beginRequest({
|
|
388
|
-
apiVersion: "7.
|
|
388
|
+
apiVersion: "7.2-preview.1",
|
|
389
389
|
method: "PATCH",
|
|
390
390
|
routeTemplate: "{project}/_apis/testplan/SuiteEntry/{suiteId}",
|
|
391
391
|
routeValues: {
|
|
@@ -409,7 +409,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
409
409
|
return __awaiter(this, void 0, void 0, function () {
|
|
410
410
|
return __generator(this, function (_a) {
|
|
411
411
|
return [2 /*return*/, this.beginRequest({
|
|
412
|
-
apiVersion: "7.
|
|
412
|
+
apiVersion: "7.2-preview.1",
|
|
413
413
|
method: "POST",
|
|
414
414
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{parentSuiteId}/bulk",
|
|
415
415
|
routeValues: {
|
|
@@ -433,7 +433,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
433
433
|
return __awaiter(this, void 0, void 0, function () {
|
|
434
434
|
return __generator(this, function (_a) {
|
|
435
435
|
return [2 /*return*/, this.beginRequest({
|
|
436
|
-
apiVersion: "7.
|
|
436
|
+
apiVersion: "7.2-preview.1",
|
|
437
437
|
method: "POST",
|
|
438
438
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
|
|
439
439
|
routeValues: {
|
|
@@ -456,7 +456,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
456
456
|
return __awaiter(this, void 0, void 0, function () {
|
|
457
457
|
return __generator(this, function (_a) {
|
|
458
458
|
return [2 /*return*/, this.beginRequest({
|
|
459
|
-
apiVersion: "7.
|
|
459
|
+
apiVersion: "7.2-preview.1",
|
|
460
460
|
method: "DELETE",
|
|
461
461
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
|
|
462
462
|
routeValues: {
|
|
@@ -484,7 +484,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
484
484
|
expand: expand
|
|
485
485
|
};
|
|
486
486
|
return [2 /*return*/, this.beginRequest({
|
|
487
|
-
apiVersion: "7.
|
|
487
|
+
apiVersion: "7.2-preview.1",
|
|
488
488
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
|
|
489
489
|
routeValues: {
|
|
490
490
|
project: project,
|
|
@@ -516,7 +516,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
516
516
|
asTreeView: asTreeView
|
|
517
517
|
};
|
|
518
518
|
return [2 /*return*/, this.beginRequest({
|
|
519
|
-
apiVersion: "7.
|
|
519
|
+
apiVersion: "7.2-preview.1",
|
|
520
520
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
|
|
521
521
|
routeValues: {
|
|
522
522
|
project: project,
|
|
@@ -551,7 +551,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
551
551
|
return __awaiter(this, void 0, void 0, function () {
|
|
552
552
|
return __generator(this, function (_a) {
|
|
553
553
|
return [2 /*return*/, this.beginRequest({
|
|
554
|
-
apiVersion: "7.
|
|
554
|
+
apiVersion: "7.2-preview.1",
|
|
555
555
|
method: "PATCH",
|
|
556
556
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}",
|
|
557
557
|
routeValues: {
|
|
@@ -577,7 +577,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
577
577
|
testCaseId: testCaseId
|
|
578
578
|
};
|
|
579
579
|
return [2 /*return*/, this.beginRequest({
|
|
580
|
-
apiVersion: "7.
|
|
580
|
+
apiVersion: "7.2-preview.1",
|
|
581
581
|
routeTemplate: "_apis/testplan/Suites",
|
|
582
582
|
queryParams: queryValues
|
|
583
583
|
})];
|
|
@@ -596,7 +596,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
596
596
|
return __awaiter(this, void 0, void 0, function () {
|
|
597
597
|
return __generator(this, function (_a) {
|
|
598
598
|
return [2 /*return*/, this.beginRequest({
|
|
599
|
-
apiVersion: "7.
|
|
599
|
+
apiVersion: "7.2-preview.3",
|
|
600
600
|
method: "POST",
|
|
601
601
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
|
|
602
602
|
routeValues: {
|
|
@@ -628,7 +628,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
628
628
|
returnIdentityRef: returnIdentityRef
|
|
629
629
|
};
|
|
630
630
|
return [2 /*return*/, this.beginRequest({
|
|
631
|
-
apiVersion: "7.
|
|
631
|
+
apiVersion: "7.2-preview.3",
|
|
632
632
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
|
|
633
633
|
routeValues: {
|
|
634
634
|
project: project,
|
|
@@ -672,7 +672,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
672
672
|
isRecursive: isRecursive
|
|
673
673
|
};
|
|
674
674
|
return [2 /*return*/, this.beginRequest({
|
|
675
|
-
apiVersion: "7.
|
|
675
|
+
apiVersion: "7.2-preview.3",
|
|
676
676
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
|
|
677
677
|
routeValues: {
|
|
678
678
|
project: project,
|
|
@@ -712,7 +712,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
712
712
|
testCaseIds: testCaseIds
|
|
713
713
|
};
|
|
714
714
|
return [2 /*return*/, this.beginRequest({
|
|
715
|
-
apiVersion: "7.
|
|
715
|
+
apiVersion: "7.2-preview.3",
|
|
716
716
|
method: "DELETE",
|
|
717
717
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
|
|
718
718
|
routeValues: {
|
|
@@ -741,7 +741,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
741
741
|
testIds: testIds
|
|
742
742
|
};
|
|
743
743
|
return [2 /*return*/, this.beginRequest({
|
|
744
|
-
apiVersion: "7.
|
|
744
|
+
apiVersion: "7.2-preview.3",
|
|
745
745
|
method: "DELETE",
|
|
746
746
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
|
|
747
747
|
routeValues: {
|
|
@@ -766,7 +766,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
766
766
|
return __awaiter(this, void 0, void 0, function () {
|
|
767
767
|
return __generator(this, function (_a) {
|
|
768
768
|
return [2 /*return*/, this.beginRequest({
|
|
769
|
-
apiVersion: "7.
|
|
769
|
+
apiVersion: "7.2-preview.3",
|
|
770
770
|
method: "PATCH",
|
|
771
771
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestCase/{testCaseId}",
|
|
772
772
|
routeValues: {
|
|
@@ -787,7 +787,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
787
787
|
return __awaiter(this, void 0, void 0, function () {
|
|
788
788
|
return __generator(this, function (_a) {
|
|
789
789
|
return [2 /*return*/, this.beginRequest({
|
|
790
|
-
apiVersion: "7.
|
|
790
|
+
apiVersion: "7.2-preview.2",
|
|
791
791
|
method: "POST",
|
|
792
792
|
routeTemplate: "{project}/_apis/testplan/TestCases/CloneTestCaseOperation/{cloneOperationId}",
|
|
793
793
|
routeValues: {
|
|
@@ -808,7 +808,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
808
808
|
return __awaiter(this, void 0, void 0, function () {
|
|
809
809
|
return __generator(this, function (_a) {
|
|
810
810
|
return [2 /*return*/, this.beginRequest({
|
|
811
|
-
apiVersion: "7.
|
|
811
|
+
apiVersion: "7.2-preview.2",
|
|
812
812
|
routeTemplate: "{project}/_apis/testplan/TestCases/CloneTestCaseOperation/{cloneOperationId}",
|
|
813
813
|
routeValues: {
|
|
814
814
|
project: project,
|
|
@@ -828,7 +828,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
828
828
|
return __awaiter(this, void 0, void 0, function () {
|
|
829
829
|
return __generator(this, function (_a) {
|
|
830
830
|
return [2 /*return*/, this.beginRequest({
|
|
831
|
-
apiVersion: "7.
|
|
831
|
+
apiVersion: "7.2-preview.1",
|
|
832
832
|
method: "POST",
|
|
833
833
|
httpResponseType: "application/octet-stream",
|
|
834
834
|
routeTemplate: "{project}/_apis/testplan/TestCases/TestCaseFile",
|
|
@@ -850,7 +850,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
850
850
|
return __awaiter(this, void 0, void 0, function () {
|
|
851
851
|
return __generator(this, function (_a) {
|
|
852
852
|
return [2 /*return*/, this.beginRequest({
|
|
853
|
-
apiVersion: "7.
|
|
853
|
+
apiVersion: "7.2-preview.1",
|
|
854
854
|
method: "DELETE",
|
|
855
855
|
routeTemplate: "{project}/_apis/testplan/TestCases/{testCaseId}",
|
|
856
856
|
routeValues: {
|
|
@@ -876,7 +876,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
876
876
|
deepClone: deepClone
|
|
877
877
|
};
|
|
878
878
|
return [2 /*return*/, this.beginRequest({
|
|
879
|
-
apiVersion: "7.
|
|
879
|
+
apiVersion: "7.2-preview.2",
|
|
880
880
|
method: "POST",
|
|
881
881
|
routeTemplate: "{project}/_apis/testplan/Plans/CloneOperation/{cloneOperationId}",
|
|
882
882
|
routeValues: {
|
|
@@ -898,7 +898,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
898
898
|
return __awaiter(this, void 0, void 0, function () {
|
|
899
899
|
return __generator(this, function (_a) {
|
|
900
900
|
return [2 /*return*/, this.beginRequest({
|
|
901
|
-
apiVersion: "7.
|
|
901
|
+
apiVersion: "7.2-preview.2",
|
|
902
902
|
routeTemplate: "{project}/_apis/testplan/Plans/CloneOperation/{cloneOperationId}",
|
|
903
903
|
routeValues: {
|
|
904
904
|
project: project,
|
|
@@ -928,7 +928,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
928
928
|
includePointDetails: includePointDetails
|
|
929
929
|
};
|
|
930
930
|
return [2 /*return*/, this.beginRequest({
|
|
931
|
-
apiVersion: "7.
|
|
931
|
+
apiVersion: "7.2-preview.2",
|
|
932
932
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestPoint/{pointIds}",
|
|
933
933
|
routeValues: {
|
|
934
934
|
project: project,
|
|
@@ -967,7 +967,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
967
967
|
isRecursive: isRecursive
|
|
968
968
|
};
|
|
969
969
|
return [2 /*return*/, this.beginRequest({
|
|
970
|
-
apiVersion: "7.
|
|
970
|
+
apiVersion: "7.2-preview.2",
|
|
971
971
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestPoint/{pointIds}",
|
|
972
972
|
routeValues: {
|
|
973
973
|
project: project,
|
|
@@ -1010,7 +1010,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1010
1010
|
returnIdentityRef: returnIdentityRef
|
|
1011
1011
|
};
|
|
1012
1012
|
return [2 /*return*/, this.beginRequest({
|
|
1013
|
-
apiVersion: "7.
|
|
1013
|
+
apiVersion: "7.2-preview.2",
|
|
1014
1014
|
method: "PATCH",
|
|
1015
1015
|
routeTemplate: "{project}/_apis/testplan/Plans/{planId}/Suites/{suiteId}/TestPoint/{pointIds}",
|
|
1016
1016
|
routeValues: {
|
|
@@ -1039,7 +1039,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1039
1039
|
deepClone: deepClone
|
|
1040
1040
|
};
|
|
1041
1041
|
return [2 /*return*/, this.beginRequest({
|
|
1042
|
-
apiVersion: "7.
|
|
1042
|
+
apiVersion: "7.2-preview.2",
|
|
1043
1043
|
method: "POST",
|
|
1044
1044
|
routeTemplate: "{project}/_apis/testplan/Suites/CloneOperation/{cloneOperationId}",
|
|
1045
1045
|
routeValues: {
|
|
@@ -1061,7 +1061,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1061
1061
|
return __awaiter(this, void 0, void 0, function () {
|
|
1062
1062
|
return __generator(this, function (_a) {
|
|
1063
1063
|
return [2 /*return*/, this.beginRequest({
|
|
1064
|
-
apiVersion: "7.
|
|
1064
|
+
apiVersion: "7.2-preview.2",
|
|
1065
1065
|
routeTemplate: "{project}/_apis/testplan/Suites/CloneOperation/{cloneOperationId}",
|
|
1066
1066
|
routeValues: {
|
|
1067
1067
|
project: project,
|
|
@@ -1081,7 +1081,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1081
1081
|
return __awaiter(this, void 0, void 0, function () {
|
|
1082
1082
|
return __generator(this, function (_a) {
|
|
1083
1083
|
return [2 /*return*/, this.beginRequest({
|
|
1084
|
-
apiVersion: "7.
|
|
1084
|
+
apiVersion: "7.2-preview.1",
|
|
1085
1085
|
method: "POST",
|
|
1086
1086
|
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
|
|
1087
1087
|
routeValues: {
|
|
@@ -1102,7 +1102,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1102
1102
|
return __awaiter(this, void 0, void 0, function () {
|
|
1103
1103
|
return __generator(this, function (_a) {
|
|
1104
1104
|
return [2 /*return*/, this.beginRequest({
|
|
1105
|
-
apiVersion: "7.
|
|
1105
|
+
apiVersion: "7.2-preview.1",
|
|
1106
1106
|
method: "DELETE",
|
|
1107
1107
|
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
|
|
1108
1108
|
routeValues: {
|
|
@@ -1123,7 +1123,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1123
1123
|
return __awaiter(this, void 0, void 0, function () {
|
|
1124
1124
|
return __generator(this, function (_a) {
|
|
1125
1125
|
return [2 /*return*/, this.beginRequest({
|
|
1126
|
-
apiVersion: "7.
|
|
1126
|
+
apiVersion: "7.2-preview.1",
|
|
1127
1127
|
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
|
|
1128
1128
|
routeValues: {
|
|
1129
1129
|
project: project,
|
|
@@ -1148,7 +1148,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1148
1148
|
continuationToken: continuationToken
|
|
1149
1149
|
};
|
|
1150
1150
|
return [2 /*return*/, this.beginRequest({
|
|
1151
|
-
apiVersion: "7.
|
|
1151
|
+
apiVersion: "7.2-preview.1",
|
|
1152
1152
|
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
|
|
1153
1153
|
routeValues: {
|
|
1154
1154
|
project: project
|
|
@@ -1181,7 +1181,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1181
1181
|
return __awaiter(this, void 0, void 0, function () {
|
|
1182
1182
|
return __generator(this, function (_a) {
|
|
1183
1183
|
return [2 /*return*/, this.beginRequest({
|
|
1184
|
-
apiVersion: "7.
|
|
1184
|
+
apiVersion: "7.2-preview.1",
|
|
1185
1185
|
method: "PATCH",
|
|
1186
1186
|
routeTemplate: "{project}/_apis/testplan/Variables/{testVariableId}",
|
|
1187
1187
|
routeValues: {
|