azure-devops-extension-api 2.224.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/Build.d.ts +70 -0
- 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 +38 -11
- package/Git/GitClient.js +269 -167
- 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/TestPlan.d.ts +17 -0
- package/TestPlan/TestPlanClient.d.ts +7 -0
- package/TestPlan/TestPlanClient.js +63 -41
- 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
|
@@ -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(a,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){e.done?a(e.value):new r(function(t){t(e.value)}).then(o,u)}s((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(o){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,a&&(i=2&r[0]?a.return:r[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,r[1])).done)return i;switch(a=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,a=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){u=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){u.label=r[1];break}if(6===r[0]&&u.label<i[1]){u.label=i[1],i=r;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(r);break}i[2]&&u.ops.pop(),u.trys.pop();continue}r=t.call(e,u)}catch(e){r=[6,e],a=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,o])}}var n,a,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o};define(["require","exports","../Common/RestClientBase"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getAllFeatureFlags=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={userEmail:e},[2,this.beginRequest({apiVersion:"7.
|
|
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(a,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){e.done?a(e.value):new r(function(t){t(e.value)}).then(o,u)}s((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(o){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,a&&(i=2&r[0]?a.return:r[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,r[1])).done)return i;switch(a=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,a=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){u=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){u.label=r[1];break}if(6===r[0]&&u.label<i[1]){u.label=i[1],i=r;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(r);break}i[2]&&u.ops.pop(),u.trys.pop();continue}r=t.call(e,u)}catch(e){r=[6,e],a=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,o])}}var n,a,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o};define(["require","exports","../Common/RestClientBase"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getAllFeatureFlags=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={userEmail:e},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/FeatureFlags/{name}",queryParams:t})]})})},t.prototype.getFeatureFlagByName=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(n){return r={checkFeatureExists:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/FeatureFlags/{name}",routeValues:{name:e},queryParams:r})]})})},t.prototype.getFeatureFlagByNameAndUserEmail=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(a){return n={userEmail:t,checkFeatureExists:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/FeatureFlags/{name}",routeValues:{name:e},queryParams:n})]})})},t.prototype.getFeatureFlagByNameAndUserId=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(a){return n={userId:t,checkFeatureExists:r},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/FeatureFlags/{name}",routeValues:{name:e},queryParams:n})]})})},t.prototype.updateFeatureFlag=function(e,t,r,n,a){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(o){return i={userEmail:r,checkFeatureExists:n,setAtApplicationLevelAlso:a},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/FeatureFlags/{name}",routeValues:{name:t},queryParams:i,body:e})]})})},t}(r.RestClientBase);t.FeatureAvailabilityRestClient=n});
|
|
@@ -65,7 +65,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
65
65
|
return __awaiter(this, void 0, void 0, function () {
|
|
66
66
|
return __generator(this, function (_a) {
|
|
67
67
|
return [2 /*return*/, this.beginRequest({
|
|
68
|
-
apiVersion: "7.
|
|
68
|
+
apiVersion: "7.2-preview.1",
|
|
69
69
|
routeTemplate: "_apis/FeatureManagement/Features/{featureId}",
|
|
70
70
|
routeValues: {
|
|
71
71
|
featureId: featureId
|
|
@@ -87,7 +87,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
87
87
|
targetContributionId: targetContributionId
|
|
88
88
|
};
|
|
89
89
|
return [2 /*return*/, this.beginRequest({
|
|
90
|
-
apiVersion: "7.
|
|
90
|
+
apiVersion: "7.2-preview.1",
|
|
91
91
|
routeTemplate: "_apis/FeatureManagement/Features/{featureId}",
|
|
92
92
|
queryParams: queryValues
|
|
93
93
|
})];
|
|
@@ -104,7 +104,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
104
104
|
return __awaiter(this, void 0, void 0, function () {
|
|
105
105
|
return __generator(this, function (_a) {
|
|
106
106
|
return [2 /*return*/, this.beginRequest({
|
|
107
|
-
apiVersion: "7.
|
|
107
|
+
apiVersion: "7.2-preview.1",
|
|
108
108
|
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{featureId}",
|
|
109
109
|
routeValues: {
|
|
110
110
|
featureId: featureId,
|
|
@@ -132,7 +132,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
132
132
|
reasonCode: reasonCode
|
|
133
133
|
};
|
|
134
134
|
return [2 /*return*/, this.beginRequest({
|
|
135
|
-
apiVersion: "7.
|
|
135
|
+
apiVersion: "7.2-preview.1",
|
|
136
136
|
method: "PATCH",
|
|
137
137
|
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{featureId}",
|
|
138
138
|
routeValues: {
|
|
@@ -157,7 +157,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
157
157
|
return __awaiter(this, void 0, void 0, function () {
|
|
158
158
|
return __generator(this, function (_a) {
|
|
159
159
|
return [2 /*return*/, this.beginRequest({
|
|
160
|
-
apiVersion: "7.
|
|
160
|
+
apiVersion: "7.2-preview.1",
|
|
161
161
|
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{scopeName}/{scopeValue}/{featureId}",
|
|
162
162
|
routeValues: {
|
|
163
163
|
featureId: featureId,
|
|
@@ -189,7 +189,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
189
189
|
reasonCode: reasonCode
|
|
190
190
|
};
|
|
191
191
|
return [2 /*return*/, this.beginRequest({
|
|
192
|
-
apiVersion: "7.
|
|
192
|
+
apiVersion: "7.2-preview.1",
|
|
193
193
|
method: "PATCH",
|
|
194
194
|
routeTemplate: "_apis/FeatureManagement/FeatureStates/{userScope}/{scopeName}/{scopeValue}/{featureId}",
|
|
195
195
|
routeValues: {
|
|
@@ -213,7 +213,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
213
213
|
return __awaiter(this, void 0, void 0, function () {
|
|
214
214
|
return __generator(this, function (_a) {
|
|
215
215
|
return [2 /*return*/, this.beginRequest({
|
|
216
|
-
apiVersion: "7.
|
|
216
|
+
apiVersion: "7.2-preview.1",
|
|
217
217
|
method: "POST",
|
|
218
218
|
routeTemplate: "_apis/FeatureManagement/FeatureStatesQuery",
|
|
219
219
|
body: query
|
|
@@ -231,7 +231,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
231
231
|
return __awaiter(this, void 0, void 0, function () {
|
|
232
232
|
return __generator(this, function (_a) {
|
|
233
233
|
return [2 /*return*/, this.beginRequest({
|
|
234
|
-
apiVersion: "7.
|
|
234
|
+
apiVersion: "7.2-preview.1",
|
|
235
235
|
method: "POST",
|
|
236
236
|
routeTemplate: "_apis/FeatureManagement/FeatureStatesQuery/{userScope}",
|
|
237
237
|
routeValues: {
|
|
@@ -254,7 +254,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
254
254
|
return __awaiter(this, void 0, void 0, function () {
|
|
255
255
|
return __generator(this, function (_a) {
|
|
256
256
|
return [2 /*return*/, this.beginRequest({
|
|
257
|
-
apiVersion: "7.
|
|
257
|
+
apiVersion: "7.2-preview.1",
|
|
258
258
|
method: "POST",
|
|
259
259
|
routeTemplate: "_apis/FeatureManagement/FeatureStatesQuery/{userScope}/{scopeName}/{scopeValue}",
|
|
260
260
|
routeValues: {
|
|
@@ -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(o,a){function u(e){try{s(n.next(e))}catch(e){a(e)}}function i(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(u,i)}s((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(u){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,o=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(a=i.trys,!(a=a.length>0&&a[a.length-1])&&(6===r[0]||2===r[0])){i=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){i.label=r[1];break}if(6===r[0]&&i.label<a[1]){i.label=a[1],a=r;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(r);break}a[2]&&i.ops.pop(),i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e],o=0}finally{n=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,u])}}var n,o,a,u,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return u={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u};define(["require","exports","../Common/RestClientBase"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getFeature=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.
|
|
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(o,a){function u(e){try{s(n.next(e))}catch(e){a(e)}}function i(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(u,i)}s((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(u){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,o=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(a=i.trys,!(a=a.length>0&&a[a.length-1])&&(6===r[0]||2===r[0])){i=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){i.label=r[1];break}if(6===r[0]&&i.label<a[1]){i.label=a[1],a=r;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(r);break}a[2]&&i.ops.pop(),i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e],o=0}finally{n=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,u])}}var n,o,a,u,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return u={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u};define(["require","exports","../Common/RestClientBase"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.getFeature=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/FeatureManagement/Features/{featureId}",routeValues:{featureId:e}})]})})},t.prototype.getFeatures=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={targetContributionId:e},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/FeatureManagement/Features/{featureId}",queryParams:t})]})})},t.prototype.getFeatureState=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:"_apis/FeatureManagement/FeatureStates/{userScope}/{featureId}",routeValues:{featureId:e,userScope:t}})]})})},t.prototype.setFeatureState=function(e,t,r,n,o){return __awaiter(this,void 0,void 0,function(){var a;return __generator(this,function(u){return a={reason:n,reasonCode:o},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/FeatureManagement/FeatureStates/{userScope}/{featureId}",routeValues:{featureId:t,userScope:r},queryParams:a,body:e})]})})},t.prototype.getFeatureStateForScope=function(e,t,r,n){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(o){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/FeatureManagement/FeatureStates/{userScope}/{scopeName}/{scopeValue}/{featureId}",routeValues:{featureId:e,userScope:t,scopeName:r,scopeValue:n}})]})})},t.prototype.setFeatureStateForScope=function(e,t,r,n,o,a,u){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(s){return i={reason:a,reasonCode:u},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/FeatureManagement/FeatureStates/{userScope}/{scopeName}/{scopeValue}/{featureId}",routeValues:{featureId:t,userScope:r,scopeName:n,scopeValue:o},queryParams:i,body:e})]})})},t.prototype.queryFeatureStates=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/FeatureManagement/FeatureStatesQuery",body:e})]})})},t.prototype.queryFeatureStatesForDefaultScope=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:"_apis/FeatureManagement/FeatureStatesQuery/{userScope}",routeValues:{userScope:t},body:e})]})})},t.prototype.queryFeatureStatesForNamedScope=function(e,t,r,n){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:"_apis/FeatureManagement/FeatureStatesQuery/{userScope}/{scopeName}/{scopeValue}",routeValues:{userScope:t,scopeName:r,scopeValue:n},body:e})]})})},t}(r.RestClientBase);t.FeatureManagementRestClient=n});
|
|
@@ -71,7 +71,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
71
71
|
scope: scope
|
|
72
72
|
};
|
|
73
73
|
return [2 /*return*/, this.beginRequest({
|
|
74
|
-
apiVersion: "7.
|
|
74
|
+
apiVersion: "7.2-preview.4",
|
|
75
75
|
method: "POST",
|
|
76
76
|
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
|
|
77
77
|
routeValues: {
|
|
@@ -99,7 +99,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
99
99
|
scope: scope
|
|
100
100
|
};
|
|
101
101
|
return [2 /*return*/, this.beginRequest({
|
|
102
|
-
apiVersion: "7.
|
|
102
|
+
apiVersion: "7.2-preview.4",
|
|
103
103
|
method: "DELETE",
|
|
104
104
|
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
|
|
105
105
|
routeValues: {
|
|
@@ -125,7 +125,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
125
125
|
artifactUris: artifactUris
|
|
126
126
|
};
|
|
127
127
|
return [2 /*return*/, this.beginRequest({
|
|
128
|
-
apiVersion: "7.
|
|
128
|
+
apiVersion: "7.2-preview.4",
|
|
129
129
|
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
|
|
130
130
|
queryParams: queryValues
|
|
131
131
|
})];
|
|
@@ -162,7 +162,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
162
162
|
saveAbsolutePath: saveAbsolutePath
|
|
163
163
|
};
|
|
164
164
|
return [2 /*return*/, this.beginRequest({
|
|
165
|
-
apiVersion: "7.
|
|
165
|
+
apiVersion: "7.2-preview.4",
|
|
166
166
|
routeTemplate: "_apis/resources/Containers/{containerId}/{*itemPath}",
|
|
167
167
|
routeValues: {
|
|
168
168
|
containerId: containerId
|
|
@@ -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(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(a,u)}s((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){u=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){u.label=r[1];break}if(6===r[0]&&u.label<i[1]){u.label=i[1],i=r;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(r);break}i[2]&&u.ops.pop(),u.trys.pop();continue}r=t.call(e,u)}catch(e){r=[6,e],o=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}var n,o,i,a,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a};define(["require","exports","../Common/RestClientBase"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.createItems=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(o){return n={scope:r},[2,this.beginRequest({apiVersion:"7.
|
|
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(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new r(function(t){t(e.value)}).then(a,u)}s((n=n.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){u=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){u.label=r[1];break}if(6===r[0]&&u.label<i[1]){u.label=i[1],i=r;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(r);break}i[2]&&u.ops.pop(),u.trys.pop();continue}r=t.call(e,u)}catch(e){r=[6,e],o=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}var n,o,i,a,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a};define(["require","exports","../Common/RestClientBase"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.createItems=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(o){return n={scope:r},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"POST",routeTemplate:"_apis/resources/Containers/{containerId}/{*itemPath}",routeValues:{containerId:t},queryParams:n,body:e})]})})},t.prototype.deleteItem=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(o){return n={itemPath:t,scope:r},[2,this.beginRequest({apiVersion:"7.2-preview.4",method:"DELETE",routeTemplate:"_apis/resources/Containers/{containerId}/{*itemPath}",routeValues:{containerId:e},queryParams:n})]})})},t.prototype.getContainers=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(n){return r={scope:e,artifactUris:t},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"_apis/resources/Containers/{containerId}/{*itemPath}",queryParams:r})]})})},t.prototype.getItems=function(e,t,r,n,o,i,a,u,s,c,l){return __awaiter(this,void 0,void 0,function(){var p;return __generator(this,function(f){return p={scope:t,itemPath:r,metadata:n,$format:o,downloadFileName:i,includeDownloadTickets:a,isShallow:u,ignoreRequestedMediaType:s,includeBlobMetadata:c,saveAbsolutePath:l},[2,this.beginRequest({apiVersion:"7.2-preview.4",routeTemplate:"_apis/resources/Containers/{containerId}/{*itemPath}",routeValues:{containerId:e},queryParams:p})]})})},t}(r.RestClientBase);t.FileContainerRestClient=n});
|