Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azure-devops-extension-api

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-devops-extension-api - npm Package Compare versions

Comparing version 2.222.0 to 2.223.0

10

Core/Core.d.ts
import * as Identities from "../Identities/Identities";
import * as WebApi from "../WebApi/WebApi";
export interface CategorizedWebApiTeams {
/**
* Teams that the user is a member of.
*/
myTeams: WebApiTeam[];
/**
* Teams that the user can read but is not member of.
*/
otherReadableTeams: WebApiTeam[];
}
export declare enum ConnectedServiceKind {

@@ -4,0 +14,0 @@ /**

@@ -23,2 +23,11 @@ import { IVssRestClientOptions } from "../Common/Context";

/**
* Gets list of user readable teams in a project and teams user is member of (excluded from readable list).
*
* @param projectId - The name or ID (GUID) of the team project containing the teams to retrieve.
* @param expandIdentity - A value indicating whether or not to expand Identity information in the result WebApiTeam object.
* @param top - Maximum number of teams to return.
* @param skip - Number of teams to skip.
*/
getProjectTeamsByCategory(projectId: string, expandIdentity?: boolean, top?: number, skip?: number): Promise<Core.CategorizedWebApiTeams>;
/**
* @param connectedServiceCreationData -

@@ -25,0 +34,0 @@ * @param projectId -

@@ -100,2 +100,30 @@ /*

/**
* Gets list of user readable teams in a project and teams user is member of (excluded from readable list).
*
* @param projectId - The name or ID (GUID) of the team project containing the teams to retrieve.
* @param expandIdentity - A value indicating whether or not to expand Identity information in the result WebApiTeam object.
* @param top - Maximum number of teams to return.
* @param skip - Number of teams to skip.
*/
CoreRestClient.prototype.getProjectTeamsByCategory = function (projectId, expandIdentity, top, skip) {
return __awaiter(this, void 0, void 0, function () {
var queryValues;
return __generator(this, function (_a) {
queryValues = {
'$expandIdentity': expandIdentity,
'$top': top,
'$skip': skip
};
return [2 /*return*/, this.beginRequest({
apiVersion: "7.1-preview.1",
routeTemplate: "_apis/projects/{projectId}/categorizedTeams/",
routeValues: {
projectId: projectId
},
queryParams: queryValues
})];
});
});
};
/**
* @param connectedServiceCreationData -

@@ -102,0 +130,0 @@ * @param projectId -

2

Core/CoreClient.min.js

@@ -1,1 +0,1 @@

var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),__awaiter=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))(function(i,n){function u(e){try{s(o.next(e))}catch(e){n(e)}}function a(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(u,a)}s((o=o.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(u){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(n=2&r[0]?i.return:r[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,r[1])).done)return n;switch(i=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{o=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,u])}}var o,i,n,u,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[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","../Common/Util/Serialization"],function(e,t,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.removeProjectAvatar=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"_apis/projects/{projectId}/avatar",routeValues:{projectId:e}})]})})},t.prototype.setProjectAvatar=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:"PUT",routeTemplate:"_apis/projects/{projectId}/avatar",routeValues:{projectId:t},body:e})]})})},t.prototype.createConnectedService=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:"_apis/projects/{projectId}/connectedServices/{name}",routeValues:{projectId:t},body:e})]})})},t.prototype.getConnectedServiceDetails=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:"_apis/projects/{projectId}/connectedServices/{name}",routeValues:{projectId:e,name:t}})]})})},t.prototype.getConnectedServices=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={kind:t},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/projects/{projectId}/connectedServices/{name}",routeValues:{projectId:e},queryParams:r})]})})},t.prototype.createIdentityMru=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:"_apis/core/identityMru/{mruName}",routeValues:{mruName:t},body:e})]})})},t.prototype.deleteIdentityMru=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"_apis/core/identityMru/{mruName}",routeValues:{mruName:t}})]})})},t.prototype.getIdentityMru=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:"_apis/core/identityMru/{mruName}",routeValues:{mruName:e}})]})})},t.prototype.updateIdentityMru=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:"_apis/core/identityMru/{mruName}",routeValues:{mruName:t},body:e})]})})},t.prototype.getTeamMembersWithExtendedProperties=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(n){return i={$top:r,$skip:o},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projects/{projectId}/teams/{teamId}/members",routeValues:{projectId:e,teamId:t},queryParams:i})]})})},t.prototype.getProcessById=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:"_apis/process/processes/{*processId}",routeValues:{processId:e}})]})})},t.prototype.getProcesses=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/process/processes/{*processId}"})]})})},t.prototype.getProjectCollection=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projectCollections/{collectionId}",routeValues:{collectionId:e}})]})})},t.prototype.getProjectCollections=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={$top:e,$skip:t},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projectCollections/{collectionId}",queryParams:r})]})})},t.prototype.getProjectHistoryEntries=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={minRevision:e},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projectHistory",queryParams:t})]})})},t.prototype.getProject=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(i){return o={includeCapabilities:t,includeHistory:r},[2,this.beginRequest({apiVersion:"7.1-preview.4",routeTemplate:"_apis/projects/{*projectId}",routeValues:{projectId:e},queryParams:o})]})})},t.prototype.getProjects=function(e,t,r,i,n){return __awaiter(this,void 0,void 0,function(){var u,a=this;return __generator(this,function(s){return u={stateFilter:e,$top:t,$skip:r,continuationToken:i,getDefaultTeamImageUrl:n},[2,this.beginRequest({apiVersion:"7.1-preview.4",routeTemplate:"_apis/projects/{*projectId}",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(o.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.queueCreateProject=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.4",method:"POST",routeTemplate:"_apis/projects/{*projectId}",body:e})]})})},t.prototype.queueDeleteProject=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.4",method:"DELETE",routeTemplate:"_apis/projects/{*projectId}",routeValues:{projectId:e}})]})})},t.prototype.updateProject=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.4",method:"PATCH",routeTemplate:"_apis/projects/{*projectId}",routeValues:{projectId:t},body:e})]})})},t.prototype.getProjectsProperties=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={projectIds:e&&e.join(","),properties:t&&t.join(",")},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/projectsproperties",queryParams:r})]})})},t.prototype.getProjectProperties=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={keys:t&&t.join(",")},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/projects/{projectId}/properties",routeValues:{projectId:e},queryParams:r})]})})},t.prototype.setProjectProperties=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:"_apis/projects/{projectId}/properties",routeValues:{projectId:e},customHeaders:{"Content-Type":"application/json-patch+json"},body:t})]})})},t.prototype.createOrUpdateProxy=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"PUT",routeTemplate:"_apis/proxies",body:e})]})})},t.prototype.deleteProxy=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={proxyUrl:e,site:t},[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"DELETE",routeTemplate:"_apis/proxies",queryParams:r})]})})},t.prototype.getProxies=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={proxyUrl:e},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/proxies",queryParams:t})]})})},t.prototype.getAllTeams=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(n){return i={$mine:e,$top:t,$skip:r,$expandIdentity:o},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"_apis/teams",queryParams:i})]})})},t.prototype.createTeam=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:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:t},body:e})]})})},t.prototype.deleteTeam=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:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:e,teamId:t}})]})})},t.prototype.getTeam=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(i){return o={$expandIdentity:r},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:e,teamId:t},queryParams:o})]})})},t.prototype.getTeams=function(e,t,r,o,i){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(u){return n={$mine:t,$top:r,$skip:o,$expandIdentity:i},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:e},queryParams:n})]})})},t.prototype.updateTeam=function(e,t,r){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:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:t,teamId:r},body:e})]})})},t.RESOURCE_AREA_ID="79134c72-4a58-4b42-976c-04e7115f32bf",t}(r.RestClientBase);t.CoreRestClient=i});
var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),__awaiter=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))(function(i,n){function u(e){try{s(o.next(e))}catch(e){n(e)}}function a(e){try{s(o.throw(e))}catch(e){n(e)}}function s(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(u,a)}s((o=o.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function r(r){return function(u){return function(r){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(n=2&r[0]?i.return:r[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,r[1])).done)return n;switch(i=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{o=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,u])}}var o,i,n,u,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[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","../Common/Util/Serialization"],function(e,t,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.removeProjectAvatar=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"_apis/projects/{projectId}/avatar",routeValues:{projectId:e}})]})})},t.prototype.setProjectAvatar=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:"PUT",routeTemplate:"_apis/projects/{projectId}/avatar",routeValues:{projectId:t},body:e})]})})},t.prototype.getProjectTeamsByCategory=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(n){return i={$expandIdentity:t,$top:r,$skip:o},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/projects/{projectId}/categorizedTeams/",routeValues:{projectId:e},queryParams:i})]})})},t.prototype.createConnectedService=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:"_apis/projects/{projectId}/connectedServices/{name}",routeValues:{projectId:t},body:e})]})})},t.prototype.getConnectedServiceDetails=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:"_apis/projects/{projectId}/connectedServices/{name}",routeValues:{projectId:e,name:t}})]})})},t.prototype.getConnectedServices=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={kind:t},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/projects/{projectId}/connectedServices/{name}",routeValues:{projectId:e},queryParams:r})]})})},t.prototype.createIdentityMru=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:"_apis/core/identityMru/{mruName}",routeValues:{mruName:t},body:e})]})})},t.prototype.deleteIdentityMru=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.1-preview.1",method:"DELETE",routeTemplate:"_apis/core/identityMru/{mruName}",routeValues:{mruName:t}})]})})},t.prototype.getIdentityMru=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:"_apis/core/identityMru/{mruName}",routeValues:{mruName:e}})]})})},t.prototype.updateIdentityMru=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:"_apis/core/identityMru/{mruName}",routeValues:{mruName:t},body:e})]})})},t.prototype.getTeamMembersWithExtendedProperties=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(n){return i={$top:r,$skip:o},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projects/{projectId}/teams/{teamId}/members",routeValues:{projectId:e,teamId:t},queryParams:i})]})})},t.prototype.getProcessById=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:"_apis/process/processes/{*processId}",routeValues:{processId:e}})]})})},t.prototype.getProcesses=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/process/processes/{*processId}"})]})})},t.prototype.getProjectCollection=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projectCollections/{collectionId}",routeValues:{collectionId:e}})]})})},t.prototype.getProjectCollections=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={$top:e,$skip:t},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projectCollections/{collectionId}",queryParams:r})]})})},t.prototype.getProjectHistoryEntries=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={minRevision:e},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/projectHistory",queryParams:t})]})})},t.prototype.getProject=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(i){return o={includeCapabilities:t,includeHistory:r},[2,this.beginRequest({apiVersion:"7.1-preview.4",routeTemplate:"_apis/projects/{*projectId}",routeValues:{projectId:e},queryParams:o})]})})},t.prototype.getProjects=function(e,t,r,i,n){return __awaiter(this,void 0,void 0,function(){var u,a=this;return __generator(this,function(s){return u={stateFilter:e,$top:t,$skip:r,continuationToken:i,getDefaultTeamImageUrl:n},[2,this.beginRequest({apiVersion:"7.1-preview.4",routeTemplate:"_apis/projects/{*projectId}",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(o.deserializeVssJsonObject)];case 1:return t=r.sent(),t.continuationToken=e.headers.get("x-ms-continuationtoken"),[2,t]}})})})]})})},t.prototype.queueCreateProject=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.4",method:"POST",routeTemplate:"_apis/projects/{*projectId}",body:e})]})})},t.prototype.queueDeleteProject=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.4",method:"DELETE",routeTemplate:"_apis/projects/{*projectId}",routeValues:{projectId:e}})]})})},t.prototype.updateProject=function(e,t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(r){return[2,this.beginRequest({apiVersion:"7.1-preview.4",method:"PATCH",routeTemplate:"_apis/projects/{*projectId}",routeValues:{projectId:t},body:e})]})})},t.prototype.getProjectsProperties=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={projectIds:e&&e.join(","),properties:t&&t.join(",")},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/projectsproperties",queryParams:r})]})})},t.prototype.getProjectProperties=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={keys:t&&t.join(",")},[2,this.beginRequest({apiVersion:"7.1-preview.1",routeTemplate:"_apis/projects/{projectId}/properties",routeValues:{projectId:e},queryParams:r})]})})},t.prototype.setProjectProperties=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:"_apis/projects/{projectId}/properties",routeValues:{projectId:e},customHeaders:{"Content-Type":"application/json-patch+json"},body:t})]})})},t.prototype.createOrUpdateProxy=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"PUT",routeTemplate:"_apis/proxies",body:e})]})})},t.prototype.deleteProxy=function(e,t){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={proxyUrl:e,site:t},[2,this.beginRequest({apiVersion:"7.1-preview.2",method:"DELETE",routeTemplate:"_apis/proxies",queryParams:r})]})})},t.prototype.getProxies=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(r){return t={proxyUrl:e},[2,this.beginRequest({apiVersion:"7.1-preview.2",routeTemplate:"_apis/proxies",queryParams:t})]})})},t.prototype.getAllTeams=function(e,t,r,o){return __awaiter(this,void 0,void 0,function(){var i;return __generator(this,function(n){return i={$mine:e,$top:t,$skip:r,$expandIdentity:o},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"_apis/teams",queryParams:i})]})})},t.prototype.createTeam=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:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:t},body:e})]})})},t.prototype.deleteTeam=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:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:e,teamId:t}})]})})},t.prototype.getTeam=function(e,t,r){return __awaiter(this,void 0,void 0,function(){var o;return __generator(this,function(i){return o={$expandIdentity:r},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:e,teamId:t},queryParams:o})]})})},t.prototype.getTeams=function(e,t,r,o,i){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(u){return n={$mine:t,$top:r,$skip:o,$expandIdentity:i},[2,this.beginRequest({apiVersion:"7.1-preview.3",routeTemplate:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:e},queryParams:n})]})})},t.prototype.updateTeam=function(e,t,r){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:"_apis/projects/{projectId}/teams/{*teamId}",routeValues:{projectId:t,teamId:r},body:e})]})})},t.RESOURCE_AREA_ID="79134c72-4a58-4b42-976c-04e7115f32bf",t}(r.RestClientBase);t.CoreRestClient=i});
{
"name": "azure-devops-extension-api",
"version": "2.222.0",
"version": "2.223.0",
"description": "REST client libraries and contracts for Azure DevOps web extension developers.",

@@ -5,0 +5,0 @@ "repository": {

@@ -134,2 +134,3 @@ import * as DistributedTaskCommon from "../DistributedTaskCommon/DistributedTaskCommon";

export interface AzureSpnOperationStatus {
severity: string;
state: string;

@@ -136,0 +137,0 @@ statusMessage: string;

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc