1010
1111"use strict" ;
1212
13+ import FormInputInterfaces = require( "../interfaces/common/FormInputInterfaces" ) ;
1314import VSSInterfaces = require( "../interfaces/common/VSSInterfaces" ) ;
1415
1516
@@ -51,6 +52,18 @@ export enum ConnectedServiceKind {
5152 GitHub = 4 ,
5253}
5354
55+ export interface DataSource {
56+ endpointUrl : string ;
57+ name : string ;
58+ resultSelector : string ;
59+ }
60+
61+ export interface DataSourceBinding {
62+ dataSourceName : string ;
63+ endpointId : string ;
64+ parameters : { [ key : string ] : string ; } ;
65+ }
66+
5467export interface EndpointAuthorization {
5568 parameters : { [ key : string ] : string ; } ;
5669 scheme : string ;
@@ -177,6 +190,21 @@ export interface ServiceEndpoint {
177190 url : string ;
178191}
179192
193+ export interface ServiceEndpointAuthenticationScheme {
194+ displayName : string ;
195+ inputDescriptors : FormInputInterfaces . InputDescriptor [ ] ;
196+ scheme : string ;
197+ }
198+
199+ export interface ServiceEndpointType {
200+ authenticationSchemes : ServiceEndpointAuthenticationScheme [ ] ;
201+ dataSources : DataSource [ ] ;
202+ description : string ;
203+ displayName : string ;
204+ imageUrl : string ;
205+ name : string ;
206+ }
207+
180208export interface TaskAgent extends TaskAgentReference {
181209 /**
182210 * Gets the date on which this agent was created.
@@ -253,6 +281,10 @@ export interface TaskAgentPool extends TaskAgentPoolReference {
253281 */
254282 isHosted : boolean ;
255283 properties : any ;
284+ /**
285+ * Gets a value indicating whether or not roles have been provisioned for this pool.
286+ */
287+ provisioned : boolean ;
256288 /**
257289 * Gets the service accounts group for this agent pool.
258290 */
@@ -270,9 +302,17 @@ export interface TaskAgentPoolReference {
270302}
271303
272304export interface TaskAgentQueue {
305+ groupScopeId : string ;
273306 id : number ;
274307 name : string ;
275308 pool : TaskAgentPoolReference ;
309+ provisioned : boolean ;
310+ }
311+
312+ export enum TaskAgentQueueActionFilter {
313+ None = 0 ,
314+ Manage = 2 ,
315+ Use = 16 ,
276316}
277317
278318export interface TaskAgentReference {
@@ -308,6 +348,8 @@ export interface TaskAttachment {
308348 lastChangedBy : string ;
309349 lastChangedOn : Date ;
310350 name : string ;
351+ recordId : string ;
352+ timelineId : string ;
311353 type : string ;
312354}
313355
@@ -444,6 +486,8 @@ export interface TaskOrchestrationPlan extends TaskOrchestrationPlanReference {
444486 environment : PlanEnvironment ;
445487 finishTime : Date ;
446488 implementation : TaskOrchestrationContainer ;
489+ requestedById : string ;
490+ requestedForId : string ;
447491 result : TaskResult ;
448492 resultCode : string ;
449493 startTime : Date ;
@@ -653,6 +697,12 @@ export var TypeInfo = {
653697 "gitHub" : 4 ,
654698 }
655699 } ,
700+ DataSource : {
701+ fields : < any > null
702+ } ,
703+ DataSourceBinding : {
704+ fields : < any > null
705+ } ,
656706 EndpointAuthorization : {
657707 fields : < any > null
658708 } ,
@@ -701,6 +751,12 @@ export var TypeInfo = {
701751 ServiceEndpoint : {
702752 fields : < any > null
703753 } ,
754+ ServiceEndpointAuthenticationScheme : {
755+ fields : < any > null
756+ } ,
757+ ServiceEndpointType : {
758+ fields : < any > null
759+ } ,
704760 TaskAgent : {
705761 fields : < any > null
706762 } ,
@@ -719,6 +775,13 @@ export var TypeInfo = {
719775 TaskAgentQueue : {
720776 fields : < any > null
721777 } ,
778+ TaskAgentQueueActionFilter : {
779+ enumValues : {
780+ "none" : 0 ,
781+ "manage" : 2 ,
782+ "use" : 16 ,
783+ }
784+ } ,
722785 TaskAgentReference : {
723786 fields : < any > null
724787 } ,
@@ -856,6 +919,12 @@ TypeInfo.AgentQueueEvent.fields = {
856919TypeInfo . AgentRefreshMessage . fields = {
857920} ;
858921
922+ TypeInfo . DataSource . fields = {
923+ } ;
924+
925+ TypeInfo . DataSourceBinding . fields = {
926+ } ;
927+
859928TypeInfo . EndpointAuthorization . fields = {
860929} ;
861930
@@ -955,6 +1024,24 @@ TypeInfo.ServiceEndpoint.fields = {
9551024 } ,
9561025} ;
9571026
1027+ TypeInfo . ServiceEndpointAuthenticationScheme . fields = {
1028+ inputDescriptors : {
1029+ isArray : true ,
1030+ typeInfo : FormInputInterfaces . TypeInfo . InputDescriptor
1031+ } ,
1032+ } ;
1033+
1034+ TypeInfo . ServiceEndpointType . fields = {
1035+ authenticationSchemes : {
1036+ isArray : true ,
1037+ typeInfo : TypeInfo . ServiceEndpointAuthenticationScheme
1038+ } ,
1039+ dataSources : {
1040+ isArray : true ,
1041+ typeInfo : TypeInfo . DataSource
1042+ } ,
1043+ } ;
1044+
9581045TypeInfo . TaskAgent . fields = {
9591046 createdOn : {
9601047 isDate : true ,
0 commit comments