This commit is contained in:
Ted Chambers 2017-03-23 11:30:24 -04:00
Родитель 226ebcb3c0
Коммит 252f4bc554
43 изменённых файлов: 5305 добавлений и 4683 удалений

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -33,9 +33,9 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
}
/**
* @param {AccountsInterfaces.AccountCreateInfoInternal} info
* @param {boolean} usePrecreated
*/
* @param {AccountsInterfaces.AccountCreateInfoInternal} info
* @param {boolean} usePrecreated
*/
public async createAccount(
info: AccountsInterfaces.AccountCreateInfoInternal,
usePrecreated?: boolean
@ -58,7 +58,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<AccountsInterfaces.Account>;
@ -78,9 +78,9 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
}
/**
* @param {string} accountId
* @param {string} properties
*/
* @param {string} accountId
* @param {string} properties
*/
public async getAccount(
accountId: string,
properties?: string
@ -104,7 +104,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<AccountsInterfaces.Account>;
@ -124,12 +124,12 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
}
/**
* A new version GetAccounts API. Only supports limited set of parameters, returns a list of account ref objects that only contains AccountUrl, AccountName and AccountId information, will use collection host Id as the AccountId.
*
* @param {string} ownerId - Owner Id to query for
* @param {string} memberId - Member Id to query for
* @param {string} properties - Only support service URL properties
*/
* A new version GetAccounts API. Only supports limited set of parameters, returns a list of account ref objects that only contains AccountUrl, AccountName and AccountId information, will use collection host Id as the AccountId.
*
* @param {string} ownerId - Owner Id to query for
* @param {string} memberId - Member Id to query for
* @param {string} properties - Only support service URL properties
*/
public async getAccounts(
ownerId?: string,
memberId?: string,
@ -155,7 +155,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<AccountsInterfaces.Account[]>;
@ -175,8 +175,8 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
}
/**
* @param {string} accountName
*/
* @param {string} accountName
*/
public async isValidAccountName(
accountName: string
): Promise<AccountsInterfaces.AccountNameAvailability> {
@ -194,7 +194,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<AccountsInterfaces.AccountNameAvailability>;
@ -214,7 +214,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
}
/**
*/
*/
public async getRegions(
): Promise<AccountsInterfaces.AccountRegion[]> {
@ -230,7 +230,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<AccountsInterfaces.AccountRegion[]>;
@ -250,7 +250,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
}
/**
*/
*/
public async getAccountSettings(
): Promise<{ [key: string] : string; }> {
@ -266,7 +266,7 @@ export class AccountsApi extends basem.ClientApiBase implements IAccountsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<{ [key: string] : string; }>;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -41,11 +41,11 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Delete a given chat message
*
* @param {number} roomId - Id of the room
* @param {number} messageId - Id of the message to delete
*/
* Delete a given chat message
*
* @param {number} roomId - Id of the room
* @param {number} messageId - Id of the message to delete
*/
public async deleteMessage(
roomId: number,
messageId: number
@ -65,7 +65,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -85,10 +85,10 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Retrieve a listing of all chat messages in a given room
*
* @param {number} roomId - Id of the room
*/
* Retrieve a listing of all chat messages in a given room
*
* @param {number} roomId - Id of the room
*/
public async getAllChatRoomMessages(
roomId: number
): Promise<ChatInterfaces.Message[]> {
@ -106,7 +106,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Message[]>;
@ -126,11 +126,11 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Retrieve information on a single chat message
*
* @param {number} roomId - Id of the room
* @param {number} messageId - Id of the message to retrieve
*/
* Retrieve information on a single chat message
*
* @param {number} roomId - Id of the room
* @param {number} messageId - Id of the message to retrieve
*/
public async getChatRoomMessageById(
roomId: number,
messageId: number
@ -150,7 +150,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Message>;
@ -170,11 +170,11 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Post message to a room
*
* @param {ChatInterfaces.MessageData} messageUpdate - Content of the message to post
* @param {number} roomId - Id of the room
*/
* Post message to a room
*
* @param {ChatInterfaces.MessageData} messageUpdate - Content of the message to post
* @param {number} roomId - Id of the room
*/
public async sendMessageToRoom(
messageUpdate: ChatInterfaces.MessageData,
roomId: number
@ -193,7 +193,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Message>;
@ -213,12 +213,12 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Update a given chat message
*
* @param {ChatInterfaces.MessageData} messageUpdate - New message content
* @param {number} roomId - Id of the room
* @param {number} messageId - Id of the message
*/
* Update a given chat message
*
* @param {ChatInterfaces.MessageData} messageUpdate - New message content
* @param {number} roomId - Id of the room
* @param {number} messageId - Id of the message
*/
public async updateChatMessage(
messageUpdate: ChatInterfaces.MessageData,
roomId: number,
@ -239,7 +239,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Message>;
@ -259,10 +259,10 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Create a single chat room
*
* @param {ChatInterfaces.RoomData} roomUpdate - Information to create the room
*/
* Create a single chat room
*
* @param {ChatInterfaces.RoomData} roomUpdate - Information to create the room
*/
public async createChatRoom(
roomUpdate: ChatInterfaces.RoomData
): Promise<ChatInterfaces.Room> {
@ -279,7 +279,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Room>;
@ -299,10 +299,10 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Delete a given chat room
*
* @param {number} roomId - Id of the room
*/
* Delete a given chat room
*
* @param {number} roomId - Id of the room
*/
public async deleteChatRoom(
roomId: number
): Promise<void> {
@ -320,7 +320,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -340,7 +340,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
*/
*/
public async getAllRooms(
): Promise<ChatInterfaces.Room[]> {
@ -356,7 +356,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Room[]>;
@ -376,10 +376,10 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Retrieve information on a single chat room
*
* @param {number} roomId - Id of the room to retrieve
*/
* Retrieve information on a single chat room
*
* @param {number} roomId - Id of the room to retrieve
*/
public async getChatRoomById(
roomId: number
): Promise<ChatInterfaces.Room> {
@ -397,7 +397,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Room>;
@ -417,11 +417,11 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Update information on a single chat room
*
* @param {ChatInterfaces.RoomData} roomUpdate - Room information
* @param {number} roomId - Id of the room to update
*/
* Update information on a single chat room
*
* @param {ChatInterfaces.RoomData} roomUpdate - Room information
* @param {number} roomId - Id of the room to update
*/
public async updateChatRoom(
roomUpdate: ChatInterfaces.RoomData,
roomId: number
@ -440,7 +440,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.Room>;
@ -460,10 +460,10 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Retrieve a listing of all chat users
*
* @param {number} roomId - Id of the room
*/
* Retrieve a listing of all chat users
*
* @param {number} roomId - Id of the room
*/
public async getAllChatRoomUsers(
roomId: number
): Promise<ChatInterfaces.User[]> {
@ -481,7 +481,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.User[]>;
@ -501,11 +501,11 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Retrieve information on a single chat user
*
* @param {number} roomId - Id of the room
* @param {string} userId - TfId of the user
*/
* Retrieve information on a single chat user
*
* @param {number} roomId - Id of the room
* @param {string} userId - TfId of the user
*/
public async getChatRoomUserById(
roomId: number,
userId: string
@ -525,7 +525,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ChatInterfaces.User>;
@ -545,12 +545,12 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Joins a user to a given room
*
* @param {ChatInterfaces.UserData} userUpdate - user model information
* @param {number} roomId - Id of the room
* @param {string} userId - TfId of the user
*/
* Joins a user to a given room
*
* @param {ChatInterfaces.UserData} userUpdate - user model information
* @param {number} roomId - Id of the room
* @param {string} userId - TfId of the user
*/
public async joinRoom(
userUpdate: ChatInterfaces.UserData,
roomId: number,
@ -571,7 +571,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -591,11 +591,11 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
}
/**
* Leaves a user from a given room
*
* @param {number} roomId - Id of the room
* @param {string} userId - TfId of the user
*/
* Leaves a user from a given room
*
* @param {number} roomId - Id of the room
* @param {string} userId - TfId of the user
*/
public async leaveRoom(
roomId: number,
userId: string
@ -615,7 +615,7 @@ export class ChatApi extends basem.ClientApiBase implements IChatApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -31,10 +31,10 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
}
/**
* Query for contribution nodes and provider details according the parameters in the passed in query object.
*
* @param {ContributionsInterfaces.ContributionNodeQuery} query
*/
* Query for contribution nodes and provider details according the parameters in the passed in query object.
*
* @param {ContributionsInterfaces.ContributionNodeQuery} query
*/
public async queryContributionNodes(
query: ContributionsInterfaces.ContributionNodeQuery
): Promise<ContributionsInterfaces.ContributionNodeQueryResult> {
@ -51,7 +51,7 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ContributionsInterfaces.ContributionNodeQueryResult>;
@ -71,8 +71,8 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
}
/**
* @param {ContributionsInterfaces.DataProviderQuery} query
*/
* @param {ContributionsInterfaces.DataProviderQuery} query
*/
public async queryDataProviders(
query: ContributionsInterfaces.DataProviderQuery
): Promise<ContributionsInterfaces.DataProviderResult> {
@ -89,7 +89,7 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ContributionsInterfaces.DataProviderResult>;
@ -109,10 +109,10 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
}
/**
* @param {string[]} contributionIds
* @param {boolean} includeDisabledApps
* @param {string[]} assetTypes
*/
* @param {string[]} contributionIds
* @param {boolean} includeDisabledApps
* @param {string[]} assetTypes
*/
public async getInstalledExtensions(
contributionIds?: string[],
includeDisabledApps?: boolean,
@ -138,7 +138,7 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ContributionsInterfaces.InstalledExtension[]>;
@ -158,10 +158,10 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string[]} assetTypes
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string[]} assetTypes
*/
public async getInstalledExtensionByName(
publisherName: string,
extensionName: string,
@ -187,7 +187,7 @@ export class ContributionsApi extends basem.ClientApiBase implements IContributi
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ContributionsInterfaces.InstalledExtension>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -41,9 +41,9 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {DashboardInterfaces.Dashboard} dashboard
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {DashboardInterfaces.Dashboard} dashboard
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async createDashboard(
dashboard: DashboardInterfaces.Dashboard,
teamContext: TfsCoreInterfaces.TeamContext
@ -66,7 +66,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Dashboard>;
@ -86,9 +86,9 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
public async deleteDashboard(
teamContext: TfsCoreInterfaces.TeamContext,
dashboardId: string
@ -112,7 +112,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -132,9 +132,9 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
public async getDashboard(
teamContext: TfsCoreInterfaces.TeamContext,
dashboardId: string
@ -158,7 +158,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Dashboard>;
@ -178,8 +178,8 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async getDashboards(
teamContext: TfsCoreInterfaces.TeamContext
): Promise<DashboardInterfaces.DashboardGroup> {
@ -201,7 +201,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.DashboardGroup>;
@ -221,10 +221,10 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {DashboardInterfaces.Dashboard} dashboard
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
* @param {DashboardInterfaces.Dashboard} dashboard
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
public async replaceDashboard(
dashboard: DashboardInterfaces.Dashboard,
teamContext: TfsCoreInterfaces.TeamContext,
@ -249,7 +249,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Dashboard>;
@ -269,9 +269,9 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {DashboardInterfaces.DashboardGroup} group
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {DashboardInterfaces.DashboardGroup} group
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async replaceDashboards(
group: DashboardInterfaces.DashboardGroup,
teamContext: TfsCoreInterfaces.TeamContext
@ -294,7 +294,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.DashboardGroup>;
@ -314,10 +314,10 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {DashboardInterfaces.Widget} widget
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
* @param {DashboardInterfaces.Widget} widget
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
*/
public async createWidget(
widget: DashboardInterfaces.Widget,
teamContext: TfsCoreInterfaces.TeamContext,
@ -342,7 +342,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Widget>;
@ -362,10 +362,10 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
public async deleteWidget(
teamContext: TfsCoreInterfaces.TeamContext,
dashboardId: string,
@ -391,7 +391,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Dashboard>;
@ -411,10 +411,10 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
public async getWidget(
teamContext: TfsCoreInterfaces.TeamContext,
dashboardId: string,
@ -440,7 +440,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Widget>;
@ -460,11 +460,11 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {DashboardInterfaces.Widget} widget
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
* @param {DashboardInterfaces.Widget} widget
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
public async replaceWidget(
widget: DashboardInterfaces.Widget,
teamContext: TfsCoreInterfaces.TeamContext,
@ -491,7 +491,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Widget>;
@ -511,11 +511,11 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {DashboardInterfaces.Widget} widget
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
* @param {DashboardInterfaces.Widget} widget
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} dashboardId
* @param {string} widgetId
*/
public async updateWidget(
widget: DashboardInterfaces.Widget,
teamContext: TfsCoreInterfaces.TeamContext,
@ -542,7 +542,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.Widget>;
@ -562,8 +562,8 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* @param {string} contributionId
*/
* @param {string} contributionId
*/
public async getWidgetMetadata(
contributionId: string
): Promise<DashboardInterfaces.WidgetMetadataResponse> {
@ -581,7 +581,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.WidgetMetadataResponse>;
@ -601,10 +601,10 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
}
/**
* Returns available widgets in alphabetical order.
*
* @param {DashboardInterfaces.WidgetScope} scope
*/
* Returns available widgets in alphabetical order.
*
* @param {DashboardInterfaces.WidgetScope} scope
*/
public async getWidgetTypes(
scope: DashboardInterfaces.WidgetScope
): Promise<DashboardInterfaces.WidgetTypesResponse> {
@ -626,7 +626,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<DashboardInterfaces.WidgetTypesResponse>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -52,10 +52,10 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} itemId
* @param {boolean} testCommerce
* @param {boolean} isFreeOrTrialInstall
*/
* @param {string} itemId
* @param {boolean} testCommerce
* @param {boolean} isFreeOrTrialInstall
*/
public async getAcquisitionOptions(
itemId: string,
testCommerce?: boolean,
@ -81,7 +81,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.AcquisitionOptions>;
@ -101,8 +101,8 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {ExtensionManagementInterfaces.ExtensionAcquisitionRequest} acquisitionRequest
*/
* @param {ExtensionManagementInterfaces.ExtensionAcquisitionRequest} acquisitionRequest
*/
public async requestAcquisition(
acquisitionRequest: ExtensionManagementInterfaces.ExtensionAcquisitionRequest
): Promise<ExtensionManagementInterfaces.ExtensionAcquisitionRequest> {
@ -119,7 +119,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.ExtensionAcquisitionRequest>;
@ -139,10 +139,10 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string} registrationId
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string} registrationId
*/
public async registerAuthorization(
publisherName: string,
extensionName: string,
@ -164,7 +164,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.ExtensionAuthorization>;
@ -184,13 +184,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {any} doc
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
* @param {any} doc
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
public async createDocumentByName(
doc: any,
publisherName: string,
@ -217,7 +217,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<any>;
@ -237,13 +237,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
* @param {string} documentId
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
* @param {string} documentId
*/
public async deleteDocumentByName(
publisherName: string,
extensionName: string,
@ -271,7 +271,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -291,13 +291,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
* @param {string} documentId
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
* @param {string} documentId
*/
public async getDocumentByName(
publisherName: string,
extensionName: string,
@ -325,7 +325,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<any>;
@ -345,12 +345,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
public async getDocumentsByName(
publisherName: string,
extensionName: string,
@ -376,7 +376,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<any[]>;
@ -396,13 +396,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {any} doc
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
* @param {any} doc
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
public async setDocumentByName(
doc: any,
publisherName: string,
@ -429,7 +429,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<any>;
@ -449,13 +449,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {any} doc
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
* @param {any} doc
* @param {string} publisherName
* @param {string} extensionName
* @param {string} scopeType
* @param {string} scopeValue
* @param {string} collectionName
*/
public async updateDocumentByName(
doc: any,
publisherName: string,
@ -482,7 +482,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<any>;
@ -502,10 +502,10 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {ExtensionManagementInterfaces.ExtensionDataCollectionQuery} collectionQuery
* @param {string} publisherName
* @param {string} extensionName
*/
* @param {ExtensionManagementInterfaces.ExtensionDataCollectionQuery} collectionQuery
* @param {string} publisherName
* @param {string} extensionName
*/
public async queryCollectionsByName(
collectionQuery: ExtensionManagementInterfaces.ExtensionDataCollectionQuery,
publisherName: string,
@ -526,7 +526,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.ExtensionDataCollection[]>;
@ -546,10 +546,10 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {boolean} includeDisabled
* @param {boolean} includeErrors
* @param {boolean} includeInstallationIssues
*/
* @param {boolean} includeDisabled
* @param {boolean} includeErrors
* @param {boolean} includeInstallationIssues
*/
public async getStates(
includeDisabled?: boolean,
includeErrors?: boolean,
@ -575,7 +575,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.ExtensionState[]>;
@ -595,8 +595,8 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {ExtensionManagementInterfaces.InstalledExtensionQuery} query
*/
* @param {ExtensionManagementInterfaces.InstalledExtensionQuery} query
*/
public async queryExtensions(
query: ExtensionManagementInterfaces.InstalledExtensionQuery
): Promise<ExtensionManagementInterfaces.InstalledExtension[]> {
@ -613,7 +613,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.InstalledExtension[]>;
@ -633,11 +633,11 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {boolean} includeDisabledExtensions
* @param {boolean} includeErrors
* @param {string[]} assetTypes
* @param {boolean} includeInstallationIssues
*/
* @param {boolean} includeDisabledExtensions
* @param {boolean} includeErrors
* @param {string[]} assetTypes
* @param {boolean} includeInstallationIssues
*/
public async getInstalledExtensions(
includeDisabledExtensions?: boolean,
includeErrors?: boolean,
@ -665,7 +665,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.InstalledExtension[]>;
@ -685,8 +685,8 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {ExtensionManagementInterfaces.InstalledExtension} extension
*/
* @param {ExtensionManagementInterfaces.InstalledExtension} extension
*/
public async updateInstalledExtension(
extension: ExtensionManagementInterfaces.InstalledExtension
): Promise<ExtensionManagementInterfaces.InstalledExtension> {
@ -703,7 +703,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.InstalledExtension>;
@ -723,10 +723,10 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string[]} assetTypes
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string[]} assetTypes
*/
public async getInstalledExtensionByName(
publisherName: string,
extensionName: string,
@ -752,7 +752,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.InstalledExtension>;
@ -772,10 +772,10 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string} version
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string} version
*/
public async installExtensionByName(
publisherName: string,
extensionName: string,
@ -797,7 +797,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.InstalledExtension>;
@ -817,11 +817,11 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string} reason
* @param {string} reasonCode
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string} reason
* @param {string} reasonCode
*/
public async uninstallExtensionByName(
publisherName: string,
extensionName: string,
@ -849,7 +849,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -869,8 +869,8 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} userId
*/
* @param {string} userId
*/
public async getPolicies(
userId: string
): Promise<GalleryInterfaces.UserExtensionPolicy> {
@ -888,7 +888,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<GalleryInterfaces.UserExtensionPolicy>;
@ -908,12 +908,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} rejectMessage
* @param {string} publisherName
* @param {string} extensionName
* @param {string} requesterId
* @param {ExtensionManagementInterfaces.ExtensionRequestState} state
*/
* @param {string} rejectMessage
* @param {string} publisherName
* @param {string} extensionName
* @param {string} requesterId
* @param {ExtensionManagementInterfaces.ExtensionRequestState} state
*/
public async resolveRequest(
rejectMessage: string,
publisherName: string,
@ -942,7 +942,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<number>;
@ -962,7 +962,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
*/
*/
public async getRequests(
): Promise<ExtensionManagementInterfaces.RequestedExtension[]> {
@ -978,7 +978,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.RequestedExtension[]>;
@ -998,11 +998,11 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} rejectMessage
* @param {string} publisherName
* @param {string} extensionName
* @param {ExtensionManagementInterfaces.ExtensionRequestState} state
*/
* @param {string} rejectMessage
* @param {string} publisherName
* @param {string} extensionName
* @param {ExtensionManagementInterfaces.ExtensionRequestState} state
*/
public async resolveAllRequests(
rejectMessage: string,
publisherName: string,
@ -1029,7 +1029,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<number>;
@ -1049,9 +1049,9 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
*/
* @param {string} publisherName
* @param {string} extensionName
*/
public async deleteRequest(
publisherName: string,
extensionName: string
@ -1071,7 +1071,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -1091,10 +1091,10 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
* @param {string} publisherName
* @param {string} extensionName
* @param {string} requestMessage
*/
* @param {string} publisherName
* @param {string} extensionName
* @param {string} requestMessage
*/
public async requestExtension(
publisherName: string,
extensionName: string,
@ -1115,7 +1115,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.RequestedExtension>;
@ -1135,7 +1135,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
}
/**
*/
*/
public async getToken(
): Promise<string> {
@ -1151,7 +1151,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<string>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -36,10 +36,10 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Get a specific feature by its id
*
* @param {string} featureId - The contribution id of the feature
*/
* Get a specific feature by its id
*
* @param {string} featureId - The contribution id of the feature
*/
public async getFeature(
featureId: string
): Promise<FeatureManagementInterfaces.ContributedFeature> {
@ -57,7 +57,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeature>;
@ -77,10 +77,10 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Get a list of all defined features
*
* @param {string} targetContributionId - Optional target contribution. If null/empty, return all features. If specified include the features that target the specified contribution.
*/
* Get a list of all defined features
*
* @param {string} targetContributionId - Optional target contribution. If null/empty, return all features. If specified include the features that target the specified contribution.
*/
public async getFeatures(
targetContributionId?: string
): Promise<FeatureManagementInterfaces.ContributedFeature[]> {
@ -102,7 +102,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeature[]>;
@ -122,11 +122,11 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Get the state of the specified feature for the given user/all-users scope
*
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to get the value. Should be "me" for the current user or "host" for all users.
*/
* Get the state of the specified feature for the given user/all-users scope
*
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to get the value. Should be "me" for the current user or "host" for all users.
*/
public async getFeatureState(
featureId: string,
userScope: string
@ -146,7 +146,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeatureState>;
@ -166,14 +166,14 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Set the state of a feature
*
* @param {FeatureManagementInterfaces.ContributedFeatureState} feature - Posted feature state object. Should specify the effective value.
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to set the value. Should be "me" for the current user or "host" for all users.
* @param {string} reason - Reason for changing the state
* @param {string} reasonCode - Short reason code
*/
* Set the state of a feature
*
* @param {FeatureManagementInterfaces.ContributedFeatureState} feature - Posted feature state object. Should specify the effective value.
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to set the value. Should be "me" for the current user or "host" for all users.
* @param {string} reason - Reason for changing the state
* @param {string} reasonCode - Short reason code
*/
public async setFeatureState(
feature: FeatureManagementInterfaces.ContributedFeatureState,
featureId: string,
@ -202,7 +202,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeatureState>;
@ -222,13 +222,13 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Get the state of the specified feature for the given named scope
*
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to get the value. Should be "me" for the current user or "host" for all users.
* @param {string} scopeName - Scope at which to get the feature setting for (e.g. "project" or "team")
* @param {string} scopeValue - Value of the scope (e.g. the project or team id)
*/
* Get the state of the specified feature for the given named scope
*
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to get the value. Should be "me" for the current user or "host" for all users.
* @param {string} scopeName - Scope at which to get the feature setting for (e.g. "project" or "team")
* @param {string} scopeValue - Value of the scope (e.g. the project or team id)
*/
public async getFeatureStateForScope(
featureId: string,
userScope: string,
@ -252,7 +252,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeatureState>;
@ -272,16 +272,16 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Set the state of a feature at a specific scope
*
* @param {FeatureManagementInterfaces.ContributedFeatureState} feature - Posted feature state object. Should specify the effective value.
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to set the value. Should be "me" for the current user or "host" for all users.
* @param {string} scopeName - Scope at which to get the feature setting for (e.g. "project" or "team")
* @param {string} scopeValue - Value of the scope (e.g. the project or team id)
* @param {string} reason - Reason for changing the state
* @param {string} reasonCode - Short reason code
*/
* Set the state of a feature at a specific scope
*
* @param {FeatureManagementInterfaces.ContributedFeatureState} feature - Posted feature state object. Should specify the effective value.
* @param {string} featureId - Contribution id of the feature
* @param {string} userScope - User-Scope at which to set the value. Should be "me" for the current user or "host" for all users.
* @param {string} scopeName - Scope at which to get the feature setting for (e.g. "project" or "team")
* @param {string} scopeValue - Value of the scope (e.g. the project or team id)
* @param {string} reason - Reason for changing the state
* @param {string} reasonCode - Short reason code
*/
public async setFeatureStateForScope(
feature: FeatureManagementInterfaces.ContributedFeatureState,
featureId: string,
@ -314,7 +314,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeatureState>;
@ -334,10 +334,10 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Get the effective state for a list of feature ids
*
* @param {FeatureManagementInterfaces.ContributedFeatureStateQuery} query - Features to query along with current scope values
*/
* Get the effective state for a list of feature ids
*
* @param {FeatureManagementInterfaces.ContributedFeatureStateQuery} query - Features to query along with current scope values
*/
public async queryFeatureStates(
query: FeatureManagementInterfaces.ContributedFeatureStateQuery
): Promise<FeatureManagementInterfaces.ContributedFeatureStateQuery> {
@ -354,7 +354,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeatureStateQuery>;
@ -374,11 +374,11 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Get the states of the specified features for the default scope
*
* @param {FeatureManagementInterfaces.ContributedFeatureStateQuery} query - Query describing the features to query.
* @param {string} userScope
*/
* Get the states of the specified features for the default scope
*
* @param {FeatureManagementInterfaces.ContributedFeatureStateQuery} query - Query describing the features to query.
* @param {string} userScope
*/
public async queryFeatureStatesForDefaultScope(
query: FeatureManagementInterfaces.ContributedFeatureStateQuery,
userScope: string
@ -397,7 +397,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeatureStateQuery>;
@ -417,13 +417,13 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
}
/**
* Get the states of the specified features for the specific named scope
*
* @param {FeatureManagementInterfaces.ContributedFeatureStateQuery} query - Query describing the features to query.
* @param {string} userScope
* @param {string} scopeName
* @param {string} scopeValue
*/
* Get the states of the specified features for the specific named scope
*
* @param {FeatureManagementInterfaces.ContributedFeatureStateQuery} query - Query describing the features to query.
* @param {string} userScope
* @param {string} scopeName
* @param {string} scopeValue
*/
public async queryFeatureStatesForNamedScope(
query: FeatureManagementInterfaces.ContributedFeatureStateQuery,
userScope: string,
@ -446,7 +446,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FeatureManagementInterfaces.ContributedFeatureStateQuery>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -32,12 +32,12 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
}
/**
* Creates the specified items in in the referenced container.
*
* @param {VSSInterfaces.VssJsonCollectionWrapperV<FileContainerInterfaces.FileContainerItem[]>} items
* @param {number} containerId
* @param {string} scope - A guid representing the scope of the container. This is often the project id.
*/
* Creates the specified items in in the referenced container.
*
* @param {VSSInterfaces.VssJsonCollectionWrapperV<FileContainerInterfaces.FileContainerItem[]>} items
* @param {number} containerId
* @param {string} scope - A guid representing the scope of the container. This is often the project id.
*/
public async createItems(
items: VSSInterfaces.VssJsonCollectionWrapperV<FileContainerInterfaces.FileContainerItem[]>,
containerId: number,
@ -62,7 +62,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FileContainerInterfaces.FileContainerItem[]>;
@ -82,12 +82,12 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
}
/**
* Deletes the specified items in a container.
*
* @param {number} containerId - Container Id.
* @param {string} itemPath - Path to delete.
* @param {string} scope - A guid representing the scope of the container. This is often the project id.
*/
* Deletes the specified items in a container.
*
* @param {number} containerId - Container Id.
* @param {string} itemPath - Path to delete.
* @param {string} scope - A guid representing the scope of the container. This is often the project id.
*/
public async deleteItem(
containerId: number,
itemPath: string,
@ -113,7 +113,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -133,11 +133,11 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
}
/**
* Gets containers filtered by a comma separated list of artifact uris within the same scope, if not specified returns all containers
*
* @param {string} scope - A guid representing the scope of the container. This is often the project id.
* @param {string} artifactUris
*/
* Gets containers filtered by a comma separated list of artifact uris within the same scope, if not specified returns all containers
*
* @param {string} scope - A guid representing the scope of the container. This is often the project id.
* @param {string} artifactUris
*/
public async getContainers(
scope?: string,
artifactUris?: string
@ -161,7 +161,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FileContainerInterfaces.FileContainer[]>;
@ -181,15 +181,15 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
}
/**
* @param {number} containerId
* @param {string} scope
* @param {string} itemPath
* @param {boolean} metadata
* @param {string} format
* @param {string} downloadFileName
* @param {boolean} includeDownloadTickets
* @param {boolean} isShallow
*/
* @param {number} containerId
* @param {string} scope
* @param {string} itemPath
* @param {boolean} metadata
* @param {string} format
* @param {string} downloadFileName
* @param {boolean} includeDownloadTickets
* @param {boolean} isShallow
*/
public async getItems(
containerId: number,
scope?: string,
@ -225,7 +225,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<FileContainerInterfaces.FileContainerItem[]>;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -35,12 +35,12 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
}
/**
* This was copied and adapted from TeamFoundationConnectionService.Connect()
*
* @param {VSSInterfaces.ConnectOptions} connectOptions
* @param {number} lastChangeId - Obsolete 32-bit LastChangeId
* @param {number} lastChangeId64 - Non-truncated 64-bit LastChangeId
*/
* This was copied and adapted from TeamFoundationConnectionService.Connect()
*
* @param {VSSInterfaces.ConnectOptions} connectOptions
* @param {number} lastChangeId - Obsolete 32-bit LastChangeId
* @param {number} lastChangeId64 - Non-truncated 64-bit LastChangeId
*/
public async getConnectionData(
connectOptions?: VSSInterfaces.ConnectOptions,
lastChangeId?: number,
@ -66,7 +66,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<LocationsInterfaces.ConnectionData>;
@ -86,8 +86,8 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
}
/**
* @param {string} areaId
*/
* @param {string} areaId
*/
public async getResourceArea(
areaId: string
): Promise<LocationsInterfaces.ResourceAreaInfo> {
@ -105,7 +105,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<LocationsInterfaces.ResourceAreaInfo>;
@ -125,7 +125,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
}
/**
*/
*/
public async getResourceAreas(
): Promise<LocationsInterfaces.ResourceAreaInfo[]> {
@ -141,7 +141,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<LocationsInterfaces.ResourceAreaInfo[]>;
@ -161,9 +161,9 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
}
/**
* @param {string} serviceType
* @param {string} identifier
*/
* @param {string} serviceType
* @param {string} identifier
*/
public async deleteServiceDefinition(
serviceType: string,
identifier: string
@ -183,7 +183,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -203,10 +203,10 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
}
/**
* @param {string} serviceType
* @param {string} identifier
* @param {boolean} allowFaultIn
*/
* @param {string} serviceType
* @param {string} identifier
* @param {boolean} allowFaultIn
*/
public async getServiceDefinition(
serviceType: string,
identifier: string,
@ -232,7 +232,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<LocationsInterfaces.ServiceDefinition>;
@ -252,8 +252,8 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
}
/**
* @param {string} serviceType
*/
* @param {string} serviceType
*/
public async getServiceDefinitions(
serviceType?: string
): Promise<LocationsInterfaces.ServiceDefinition[]> {
@ -271,7 +271,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<LocationsInterfaces.ServiceDefinition[]>;
@ -291,8 +291,8 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
}
/**
* @param {VSSInterfaces.VssJsonCollectionWrapperV<LocationsInterfaces.ServiceDefinition[]>} serviceDefinitions
*/
* @param {VSSInterfaces.VssJsonCollectionWrapperV<LocationsInterfaces.ServiceDefinition[]>} serviceDefinitions
*/
public async updateServiceDefinitions(
serviceDefinitions: VSSInterfaces.VssJsonCollectionWrapperV<LocationsInterfaces.ServiceDefinition[]>
): Promise<void> {
@ -309,7 +309,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -40,8 +40,8 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* @param {NotificationInterfaces.BatchNotificationOperation} operation
*/
* @param {NotificationInterfaces.BatchNotificationOperation} operation
*/
public async performBatchNotificationOperations(
operation: NotificationInterfaces.BatchNotificationOperation
): Promise<void> {
@ -58,7 +58,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -78,10 +78,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Publish an event.
*
* @param {VSSInterfaces.VssNotificationEvent} notificationEvent
*/
* Publish an event.
*
* @param {VSSInterfaces.VssNotificationEvent} notificationEvent
*/
public async publishEvent(
notificationEvent: VSSInterfaces.VssNotificationEvent
): Promise<VSSInterfaces.VssNotificationEvent> {
@ -98,7 +98,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<VSSInterfaces.VssNotificationEvent>;
@ -118,10 +118,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Get a specific event type.
*
* @param {string} eventType
*/
* Get a specific event type.
*
* @param {string} eventType
*/
public async getEventType(
eventType: string
): Promise<NotificationInterfaces.NotificationEventType> {
@ -139,7 +139,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationEventType>;
@ -159,10 +159,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* List available event types for this service. Optionally filter by only event types for the specified publisher.
*
* @param {string} publisherId - Limit to event types for this publisher
*/
* List available event types for this service. Optionally filter by only event types for the specified publisher.
*
* @param {string} publisherId - Limit to event types for this publisher
*/
public async listEventTypes(
publisherId?: string
): Promise<NotificationInterfaces.NotificationEventType[]> {
@ -184,7 +184,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationEventType[]>;
@ -204,10 +204,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Query for subscriptions. A subscription is returned if it matches one or more of the specified conditions.
*
* @param {NotificationInterfaces.SubscriptionQuery} subscriptionQuery
*/
* Query for subscriptions. A subscription is returned if it matches one or more of the specified conditions.
*
* @param {NotificationInterfaces.SubscriptionQuery} subscriptionQuery
*/
public async querySubscriptions(
subscriptionQuery: NotificationInterfaces.SubscriptionQuery
): Promise<NotificationInterfaces.NotificationSubscription[]> {
@ -224,7 +224,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationSubscription[]>;
@ -244,10 +244,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Create a new subscription.
*
* @param {NotificationInterfaces.NotificationSubscriptionCreateParameters} createParameters
*/
* Create a new subscription.
*
* @param {NotificationInterfaces.NotificationSubscriptionCreateParameters} createParameters
*/
public async createSubscription(
createParameters: NotificationInterfaces.NotificationSubscriptionCreateParameters
): Promise<NotificationInterfaces.NotificationSubscription> {
@ -264,7 +264,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationSubscription>;
@ -284,10 +284,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Delete a subscription.
*
* @param {string} subscriptionId
*/
* Delete a subscription.
*
* @param {string} subscriptionId
*/
public async deleteSubscription(
subscriptionId: string
): Promise<void> {
@ -305,7 +305,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -325,11 +325,11 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Get a notification subscription by its ID.
*
* @param {string} subscriptionId
* @param {NotificationInterfaces.SubscriptionQueryFlags} queryFlags
*/
* Get a notification subscription by its ID.
*
* @param {string} subscriptionId
* @param {NotificationInterfaces.SubscriptionQueryFlags} queryFlags
*/
public async getSubscription(
subscriptionId: string,
queryFlags?: NotificationInterfaces.SubscriptionQueryFlags
@ -353,7 +353,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationSubscription>;
@ -373,11 +373,11 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Get a list of subscriptions. If no subscriber is specified, subscriptions for the calling user are returned.
*
* @param {string} subscriber
* @param {NotificationInterfaces.SubscriptionQueryFlags} queryFlags
*/
* Get a list of subscriptions. If no subscriber is specified, subscriptions for the calling user are returned.
*
* @param {string} subscriber
* @param {NotificationInterfaces.SubscriptionQueryFlags} queryFlags
*/
public async listSubscriptions(
subscriber?: string,
queryFlags?: NotificationInterfaces.SubscriptionQueryFlags
@ -401,7 +401,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationSubscription[]>;
@ -421,11 +421,11 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Update an existing subscription. Depending on the type of subscription and permissions, the caller can update the description, filter settings, channel (delivery) settings and more.
*
* @param {NotificationInterfaces.NotificationSubscriptionUpdateParameters} updateParameters
* @param {string} subscriptionId
*/
* Update an existing subscription. Depending on the type of subscription and permissions, the caller can update the description, filter settings, channel (delivery) settings and more.
*
* @param {NotificationInterfaces.NotificationSubscriptionUpdateParameters} updateParameters
* @param {string} subscriptionId
*/
public async updateSubscription(
updateParameters: NotificationInterfaces.NotificationSubscriptionUpdateParameters,
subscriptionId: string
@ -444,7 +444,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationSubscription>;
@ -464,7 +464,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
*/
*/
public async getSubscriptionTemplates(
): Promise<NotificationInterfaces.NotificationSubscriptionTemplate[]> {
@ -480,7 +480,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.NotificationSubscriptionTemplate[]>;
@ -500,12 +500,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Update the specified users' settings for the specified subscription. User settings can only be applied to shared subscriptions, like team subscriptions or default subscriptions. This API is typically used to opt in or out of a shared subscription.
*
* @param {NotificationInterfaces.SubscriptionUserSettings} userSettings
* @param {string} subscriptionId
* @param {string} userId - ID of the user or "me" to indicate the calling user
*/
* Update the specified users' settings for the specified subscription. User settings can only be applied to shared subscriptions, like team subscriptions or default subscriptions. This API is typically used to opt in or out of a shared subscription.
*
* @param {NotificationInterfaces.SubscriptionUserSettings} userSettings
* @param {string} subscriptionId
* @param {string} userId - ID of the user or "me" to indicate the calling user
*/
public async updateSubscriptionUserSettings(
userSettings: NotificationInterfaces.SubscriptionUserSettings,
subscriptionId: string,
@ -526,7 +526,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<NotificationInterfaces.SubscriptionUserSettings>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -39,10 +39,10 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {PolicyInterfaces.PolicyConfiguration} configuration
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
* @param {PolicyInterfaces.PolicyConfiguration} configuration
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
public async createPolicyConfiguration(
configuration: PolicyInterfaces.PolicyConfiguration,
project: string,
@ -63,7 +63,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyConfiguration>;
@ -83,9 +83,9 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
public async deletePolicyConfiguration(
project: string,
configurationId: number
@ -105,7 +105,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -125,9 +125,9 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
public async getPolicyConfiguration(
project: string,
configurationId: number
@ -147,7 +147,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyConfiguration>;
@ -167,8 +167,8 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
*/
* @param {string} project - Project ID or project name
*/
public async getPolicyConfigurations(
project: string
): Promise<PolicyInterfaces.PolicyConfiguration[]> {
@ -186,7 +186,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyConfiguration[]>;
@ -206,10 +206,10 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {PolicyInterfaces.PolicyConfiguration} configuration
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
* @param {PolicyInterfaces.PolicyConfiguration} configuration
* @param {string} project - Project ID or project name
* @param {number} configurationId
*/
public async updatePolicyConfiguration(
configuration: PolicyInterfaces.PolicyConfiguration,
project: string,
@ -230,7 +230,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyConfiguration>;
@ -250,9 +250,9 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {string} evaluationId
*/
* @param {string} project - Project ID or project name
* @param {string} evaluationId
*/
public async getPolicyEvaluation(
project: string,
evaluationId: string
@ -272,7 +272,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyEvaluationRecord>;
@ -292,9 +292,9 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {string} evaluationId
*/
* @param {string} project - Project ID or project name
* @param {string} evaluationId
*/
public async requeuePolicyEvaluation(
project: string,
evaluationId: string
@ -314,7 +314,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyEvaluationRecord>;
@ -334,12 +334,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {string} artifactId
* @param {boolean} includeNotApplicable
* @param {number} top
* @param {number} skip
*/
* @param {string} project - Project ID or project name
* @param {string} artifactId
* @param {boolean} includeNotApplicable
* @param {number} top
* @param {number} skip
*/
public async getPolicyEvaluations(
project: string,
artifactId: string,
@ -369,7 +369,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyEvaluationRecord[]>;
@ -389,10 +389,10 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {number} configurationId
* @param {number} revisionId
*/
* @param {string} project - Project ID or project name
* @param {number} configurationId
* @param {number} revisionId
*/
public async getPolicyConfigurationRevision(
project: string,
configurationId: number,
@ -414,7 +414,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyConfiguration>;
@ -434,11 +434,11 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {number} configurationId
* @param {number} top
* @param {number} skip
*/
* @param {string} project - Project ID or project name
* @param {number} configurationId
* @param {number} top
* @param {number} skip
*/
public async getPolicyConfigurationRevisions(
project: string,
configurationId: number,
@ -466,7 +466,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyConfiguration[]>;
@ -486,9 +486,9 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
* @param {string} typeId
*/
* @param {string} project - Project ID or project name
* @param {string} typeId
*/
public async getPolicyType(
project: string,
typeId: string
@ -508,7 +508,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyType>;
@ -528,8 +528,8 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
}
/**
* @param {string} project - Project ID or project name
*/
* @param {string} project - Project ID or project name
*/
public async getPolicyTypes(
project: string
): Promise<PolicyInterfaces.PolicyType[]> {
@ -547,7 +547,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<PolicyInterfaces.PolicyType[]>;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -43,9 +43,9 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} consumerId
* @param {string} consumerActionId
*/
* @param {string} consumerId
* @param {string} consumerActionId
*/
public async getConsumerAction(
consumerId: string,
consumerActionId: string
@ -65,7 +65,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.ConsumerAction>;
@ -85,8 +85,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} consumerId
*/
* @param {string} consumerId
*/
public async getConsumerActions(
consumerId: string
): Promise<ServiceHooksInterfaces.ConsumerAction[]> {
@ -104,7 +104,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.ConsumerAction[]>;
@ -124,8 +124,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} consumerId
*/
* @param {string} consumerId
*/
public async getConsumer(
consumerId: string
): Promise<ServiceHooksInterfaces.Consumer> {
@ -143,7 +143,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Consumer>;
@ -163,7 +163,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
*/
*/
public async getConsumers(
): Promise<ServiceHooksInterfaces.Consumer[]> {
@ -179,7 +179,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Consumer[]>;
@ -199,8 +199,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {ServiceHooksInterfaces.PublishEventsRequestData} eventsRequestData
*/
* @param {ServiceHooksInterfaces.PublishEventsRequestData} eventsRequestData
*/
public async createEvents(
eventsRequestData: ServiceHooksInterfaces.PublishEventsRequestData
): Promise<void> {
@ -217,7 +217,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -237,8 +237,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {ServiceHooksInterfaces.SubscriptionInputValuesQuery} inputValuesQuery
*/
* @param {ServiceHooksInterfaces.SubscriptionInputValuesQuery} inputValuesQuery
*/
public async queryInputValues(
inputValuesQuery: ServiceHooksInterfaces.SubscriptionInputValuesQuery
): Promise<ServiceHooksInterfaces.SubscriptionInputValuesQuery> {
@ -255,7 +255,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.SubscriptionInputValuesQuery>;
@ -275,9 +275,9 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} subscriptionId
* @param {number} notificationId
*/
* @param {string} subscriptionId
* @param {number} notificationId
*/
public async getNotification(
subscriptionId: string,
notificationId: number
@ -297,7 +297,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Notification>;
@ -317,11 +317,11 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} subscriptionId
* @param {number} maxResults
* @param {ServiceHooksInterfaces.NotificationStatus} status
* @param {ServiceHooksInterfaces.NotificationResult} result
*/
* @param {string} subscriptionId
* @param {number} maxResults
* @param {ServiceHooksInterfaces.NotificationStatus} status
* @param {ServiceHooksInterfaces.NotificationResult} result
*/
public async getNotifications(
subscriptionId: string,
maxResults?: number,
@ -349,7 +349,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Notification[]>;
@ -369,8 +369,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {ServiceHooksInterfaces.NotificationsQuery} query
*/
* @param {ServiceHooksInterfaces.NotificationsQuery} query
*/
public async queryNotifications(
query: ServiceHooksInterfaces.NotificationsQuery
): Promise<ServiceHooksInterfaces.NotificationsQuery> {
@ -387,7 +387,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.NotificationsQuery>;
@ -407,8 +407,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {ServiceHooksInterfaces.Subscription} subscription
*/
* @param {ServiceHooksInterfaces.Subscription} subscription
*/
public async createSubscription(
subscription: ServiceHooksInterfaces.Subscription
): Promise<ServiceHooksInterfaces.Subscription> {
@ -425,7 +425,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Subscription>;
@ -445,8 +445,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} subscriptionId
*/
* @param {string} subscriptionId
*/
public async deleteSubscription(
subscriptionId: string
): Promise<void> {
@ -464,7 +464,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -484,8 +484,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} subscriptionId
*/
* @param {string} subscriptionId
*/
public async getSubscription(
subscriptionId: string
): Promise<ServiceHooksInterfaces.Subscription> {
@ -503,7 +503,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Subscription>;
@ -523,11 +523,11 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {string} publisherId
* @param {string} eventType
* @param {string} consumerId
* @param {string} consumerActionId
*/
* @param {string} publisherId
* @param {string} eventType
* @param {string} consumerId
* @param {string} consumerActionId
*/
public async listSubscriptions(
publisherId?: string,
eventType?: string,
@ -555,7 +555,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Subscription[]>;
@ -575,8 +575,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {ServiceHooksInterfaces.Subscription} subscription
*/
* @param {ServiceHooksInterfaces.Subscription} subscription
*/
public async replaceSubscription(
subscription: ServiceHooksInterfaces.Subscription
): Promise<ServiceHooksInterfaces.Subscription> {
@ -593,7 +593,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Subscription>;
@ -613,8 +613,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {ServiceHooksInterfaces.SubscriptionsQuery} query
*/
* @param {ServiceHooksInterfaces.SubscriptionsQuery} query
*/
public async querySubscriptions(
query: ServiceHooksInterfaces.SubscriptionsQuery
): Promise<ServiceHooksInterfaces.SubscriptionsQuery> {
@ -631,7 +631,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.SubscriptionsQuery>;
@ -651,8 +651,8 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
}
/**
* @param {ServiceHooksInterfaces.Notification} testNotification
*/
* @param {ServiceHooksInterfaces.Notification} testNotification
*/
public async createTestNotification(
testNotification: ServiceHooksInterfaces.Notification
): Promise<ServiceHooksInterfaces.Notification> {
@ -669,7 +669,7 @@ export class ServiceHooksApi extends basem.ClientApiBase implements IServiceHook
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ServiceHooksInterfaces.Notification>;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -46,11 +46,11 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} type
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} type
*/
public async getPlanAttachments(
scopeIdentifier: string,
hubName: string,
@ -74,7 +74,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TaskAttachment[]>;
@ -94,15 +94,15 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {NodeJS.ReadableStream} contentStream - Content to upload
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
* @param {string} name
*/
* @param {NodeJS.ReadableStream} contentStream - Content to upload
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
* @param {string} name
*/
public async createAttachment(
customHeaders: any,
contentStream: NodeJS.ReadableStream,
@ -139,7 +139,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
verData.apiVersion);
options.additionalHeaders = customHeaders;
let res: restm.IRestResponse<TaskAgentInterfaces.TaskAttachment>;
@ -158,14 +158,14 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
* @param {string} name
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
* @param {string} name
*/
public async getAttachment(
scopeIdentifier: string,
hubName: string,
@ -195,7 +195,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TaskAttachment>;
@ -215,14 +215,14 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
* @param {string} name
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
* @param {string} name
*/
public async getAttachmentContent(
scopeIdentifier: string,
hubName: string,
@ -264,13 +264,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
* @param {string} type
*/
public async getAttachments(
scopeIdentifier: string,
hubName: string,
@ -298,7 +298,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TaskAttachment[]>;
@ -318,13 +318,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {VSSInterfaces.VssJsonCollectionWrapperV<string[]>} lines
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
*/
* @param {VSSInterfaces.VssJsonCollectionWrapperV<string[]>} lines
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {string} recordId
*/
public async appendTimelineRecordFeed(
lines: VSSInterfaces.VssJsonCollectionWrapperV<string[]>,
scopeIdentifier: string,
@ -351,7 +351,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -371,12 +371,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {NodeJS.ReadableStream} contentStream - Content to upload
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {number} logId
*/
* @param {NodeJS.ReadableStream} contentStream - Content to upload
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {number} logId
*/
public async appendLogContent(
customHeaders: any,
contentStream: NodeJS.ReadableStream,
@ -407,7 +407,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
verData.apiVersion);
options.additionalHeaders = customHeaders;
let res: restm.IRestResponse<TaskAgentInterfaces.TaskLog>;
@ -426,11 +426,11 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {TaskAgentInterfaces.TaskLog} log
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
* @param {TaskAgentInterfaces.TaskLog} log
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
public async createLog(
log: TaskAgentInterfaces.TaskLog,
scopeIdentifier: string,
@ -453,7 +453,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TaskLog>;
@ -473,13 +473,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {number} logId
* @param {number} startLine
* @param {number} endLine
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {number} logId
* @param {number} startLine
* @param {number} endLine
*/
public async getLog(
scopeIdentifier: string,
hubName: string,
@ -511,7 +511,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<string[]>;
@ -531,10 +531,10 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
public async getLogs(
scopeIdentifier: string,
hubName: string,
@ -556,7 +556,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TaskLog[]>;
@ -576,11 +576,11 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {TaskAgentInterfaces.PlanGroupStatusFilter} statusFilter
* @param {number} count
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {TaskAgentInterfaces.PlanGroupStatusFilter} statusFilter
* @param {number} count
*/
public async getQueuedPlanGroups(
scopeIdentifier: string,
hubName: string,
@ -608,7 +608,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TaskOrchestrationQueuedPlanGroup[]>;
@ -628,10 +628,10 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
public async getPlan(
scopeIdentifier: string,
hubName: string,
@ -653,7 +653,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TaskOrchestrationPlan>;
@ -673,12 +673,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {number} changeId
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {number} changeId
*/
public async getRecords(
scopeIdentifier: string,
hubName: string,
@ -708,7 +708,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TimelineRecord[]>;
@ -728,12 +728,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {VSSInterfaces.VssJsonCollectionWrapperV<TaskAgentInterfaces.TimelineRecord[]>} records
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
*/
* @param {VSSInterfaces.VssJsonCollectionWrapperV<TaskAgentInterfaces.TimelineRecord[]>} records
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
*/
public async updateRecords(
records: VSSInterfaces.VssJsonCollectionWrapperV<TaskAgentInterfaces.TimelineRecord[]>,
scopeIdentifier: string,
@ -758,7 +758,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.TimelineRecord[]>;
@ -778,11 +778,11 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {TaskAgentInterfaces.Timeline} timeline
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
* @param {TaskAgentInterfaces.Timeline} timeline
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
public async createTimeline(
timeline: TaskAgentInterfaces.Timeline,
scopeIdentifier: string,
@ -805,7 +805,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.Timeline>;
@ -825,11 +825,11 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
*/
public async deleteTimeline(
scopeIdentifier: string,
hubName: string,
@ -853,7 +853,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -873,13 +873,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {number} changeId
* @param {boolean} includeRecords
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
* @param {string} timelineId
* @param {number} changeId
* @param {boolean} includeRecords
*/
public async getTimeline(
scopeIdentifier: string,
hubName: string,
@ -911,7 +911,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.Timeline>;
@ -931,10 +931,10 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
}
/**
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
* @param {string} scopeIdentifier - The project GUID to scope the request
* @param {string} hubName - The name of the server hub: "build" for the Build server or "rm" for the Release Management server
* @param {string} planId
*/
public async getTimelines(
scopeIdentifier: string,
hubName: string,
@ -956,7 +956,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TaskAgentInterfaces.Timeline[]>;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -50,13 +50,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get a single branch hierarchy at the given path with parents or children (if specified)
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {boolean} includeParent
* @param {boolean} includeChildren
*/
* Get a single branch hierarchy at the given path with parents or children (if specified)
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {boolean} includeParent
* @param {boolean} includeChildren
*/
public async getBranch(
path: string,
project?: string,
@ -84,7 +84,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcBranch>;
@ -104,14 +104,14 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get a collection of branch roots -- first-level children, branches with no parents
*
* @param {string} project - Project ID or project name
* @param {boolean} includeParent
* @param {boolean} includeChildren
* @param {boolean} includeDeleted
* @param {boolean} includeLinks
*/
* Get a collection of branch roots -- first-level children, branches with no parents
*
* @param {string} project - Project ID or project name
* @param {boolean} includeParent
* @param {boolean} includeChildren
* @param {boolean} includeDeleted
* @param {boolean} includeLinks
*/
public async getBranches(
project?: string,
includeParent?: boolean,
@ -141,7 +141,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcBranch[]>;
@ -161,13 +161,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get branch hierarchies below the specified scopePath
*
* @param {string} scopePath
* @param {string} project - Project ID or project name
* @param {boolean} includeDeleted
* @param {boolean} includeLinks
*/
* Get branch hierarchies below the specified scopePath
*
* @param {string} scopePath
* @param {string} project - Project ID or project name
* @param {boolean} includeDeleted
* @param {boolean} includeLinks
*/
public async getBranchRefs(
scopePath: string,
project?: string,
@ -195,7 +195,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcBranchRef[]>;
@ -215,12 +215,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Retrieve Tfvc changes for a given changeset
*
* @param {number} id
* @param {number} skip
* @param {number} top
*/
* Retrieve Tfvc changes for a given changeset
*
* @param {number} id
* @param {number} skip
* @param {number} top
*/
public async getChangesetChanges(
id?: number,
skip?: number,
@ -246,7 +246,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcChange[]>;
@ -266,9 +266,9 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* @param {TfvcInterfaces.TfvcChangeset} changeset
* @param {string} project - Project ID or project name
*/
* @param {TfvcInterfaces.TfvcChangeset} changeset
* @param {string} project - Project ID or project name
*/
public async createChangeset(
changeset: TfvcInterfaces.TfvcChangeset,
project?: string
@ -287,7 +287,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcChangesetRef>;
@ -307,20 +307,20 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Retrieve a Tfvc Changeset
*
* @param {number} id
* @param {string} project - Project ID or project name
* @param {number} maxChangeCount
* @param {boolean} includeDetails
* @param {boolean} includeWorkItems
* @param {number} maxCommentLength
* @param {boolean} includeSourceRename
* @param {number} skip
* @param {number} top
* @param {string} orderby
* @param {TfvcInterfaces.TfvcChangesetSearchCriteria} searchCriteria
*/
* Retrieve a Tfvc Changeset
*
* @param {number} id
* @param {string} project - Project ID or project name
* @param {number} maxChangeCount
* @param {boolean} includeDetails
* @param {boolean} includeWorkItems
* @param {number} maxCommentLength
* @param {boolean} includeSourceRename
* @param {number} skip
* @param {number} top
* @param {string} orderby
* @param {TfvcInterfaces.TfvcChangesetSearchCriteria} searchCriteria
*/
public async getChangeset(
id: number,
project?: string,
@ -362,7 +362,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcChangeset>;
@ -382,15 +382,15 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Retrieve Tfvc changesets Note: This is a new version of the GetChangesets API that doesn't expose the unneeded queryParams present in the 1.0 version of the API.
*
* @param {string} project - Project ID or project name
* @param {number} maxCommentLength
* @param {number} skip
* @param {number} top
* @param {string} orderby
* @param {TfvcInterfaces.TfvcChangesetSearchCriteria} searchCriteria
*/
* Retrieve Tfvc changesets Note: This is a new version of the GetChangesets API that doesn't expose the unneeded queryParams present in the 1.0 version of the API.
*
* @param {string} project - Project ID or project name
* @param {number} maxCommentLength
* @param {number} skip
* @param {number} top
* @param {string} orderby
* @param {TfvcInterfaces.TfvcChangesetSearchCriteria} searchCriteria
*/
public async getChangesets(
project?: string,
maxCommentLength?: number,
@ -422,7 +422,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcChangesetRef[]>;
@ -442,8 +442,8 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* @param {TfvcInterfaces.TfvcChangesetsRequestData} changesetsRequestData
*/
* @param {TfvcInterfaces.TfvcChangesetsRequestData} changesetsRequestData
*/
public async getBatchedChangesets(
changesetsRequestData: TfvcInterfaces.TfvcChangesetsRequestData
): Promise<TfvcInterfaces.TfvcChangesetRef[]> {
@ -460,7 +460,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcChangesetRef[]>;
@ -480,8 +480,8 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* @param {number} id
*/
* @param {number} id
*/
public async getChangesetWorkItems(
id?: number
): Promise<TfvcInterfaces.AssociatedWorkItem[]> {
@ -499,7 +499,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.AssociatedWorkItem[]>;
@ -519,11 +519,11 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.
*
* @param {TfvcInterfaces.TfvcItemRequestData} itemRequestData
* @param {string} project - Project ID or project name
*/
* Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.
*
* @param {TfvcInterfaces.TfvcItemRequestData} itemRequestData
* @param {string} project - Project ID or project name
*/
public async getItemsBatch(
itemRequestData: TfvcInterfaces.TfvcItemRequestData,
project?: string
@ -542,7 +542,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcItem[][]>;
@ -562,11 +562,11 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.
*
* @param {TfvcInterfaces.TfvcItemRequestData} itemRequestData
* @param {string} project - Project ID or project name
*/
* Post for retrieving a set of items given a list of paths or a long path. Allows for specifying the recursionLevel and version descriptors for each path.
*
* @param {TfvcInterfaces.TfvcItemRequestData} itemRequestData
* @param {string} project - Project ID or project name
*/
public async getItemsBatchZip(
itemRequestData: TfvcInterfaces.TfvcItemRequestData,
project?: string
@ -597,16 +597,16 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
public async getItem(
path: string,
project?: string,
@ -640,7 +640,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcItem>;
@ -660,16 +660,16 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
public async getItemContent(
path: string,
project?: string,
@ -715,14 +715,14 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get a list of Tfvc items
*
* @param {string} project - Project ID or project name
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {boolean} includeLinks
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
* Get a list of Tfvc items
*
* @param {string} project - Project ID or project name
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {boolean} includeLinks
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
public async getItems(
project?: string,
scopePath?: string,
@ -752,7 +752,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcItem[]>;
@ -772,16 +772,16 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
public async getItemText(
path: string,
project?: string,
@ -827,16 +827,16 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
*
* @param {string} path
* @param {string} project - Project ID or project name
* @param {string} fileName
* @param {boolean} download
* @param {string} scopePath
* @param {TfvcInterfaces.VersionControlRecursionType} recursionLevel
* @param {TfvcInterfaces.TfvcVersionDescriptor} versionDescriptor
*/
public async getItemZip(
path: string,
project?: string,
@ -882,12 +882,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get items under a label.
*
* @param {string} labelId - Unique identifier of label
* @param {number} top - Max number of items to return
* @param {number} skip - Number of items to skip
*/
* Get items under a label.
*
* @param {string} labelId - Unique identifier of label
* @param {number} top - Max number of items to return
* @param {number} skip - Number of items to skip
*/
public async getLabelItems(
labelId: string,
top?: number,
@ -913,7 +913,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcItem[]>;
@ -933,12 +933,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get a single deep label.
*
* @param {string} labelId - Unique identifier of label
* @param {TfvcInterfaces.TfvcLabelRequestData} requestData - maxItemCount
* @param {string} project - Project ID or project name
*/
* Get a single deep label.
*
* @param {string} labelId - Unique identifier of label
* @param {TfvcInterfaces.TfvcLabelRequestData} requestData - maxItemCount
* @param {string} project - Project ID or project name
*/
public async getLabel(
labelId: string,
requestData: TfvcInterfaces.TfvcLabelRequestData,
@ -964,7 +964,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcLabel>;
@ -984,13 +984,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get a collection of shallow label references.
*
* @param {TfvcInterfaces.TfvcLabelRequestData} requestData - labelScope, name, owner, and itemLabelFilter
* @param {string} project - Project ID or project name
* @param {number} top - Max number of labels to return
* @param {number} skip - Number of labels to skip
*/
* Get a collection of shallow label references.
*
* @param {TfvcInterfaces.TfvcLabelRequestData} requestData - labelScope, name, owner, and itemLabelFilter
* @param {string} project - Project ID or project name
* @param {number} top - Max number of labels to return
* @param {number} skip - Number of labels to skip
*/
public async getLabels(
requestData: TfvcInterfaces.TfvcLabelRequestData,
project?: string,
@ -1018,7 +1018,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcLabelRef[]>;
@ -1038,12 +1038,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get changes included in a shelveset.
*
* @param {string} shelvesetId - Shelveset's unique ID
* @param {number} top - Max number of changes to return
* @param {number} skip - Number of changes to skip
*/
* Get changes included in a shelveset.
*
* @param {string} shelvesetId - Shelveset's unique ID
* @param {number} top - Max number of changes to return
* @param {number} skip - Number of changes to skip
*/
public async getShelvesetChanges(
shelvesetId: string,
top?: number,
@ -1069,7 +1069,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcChange[]>;
@ -1089,11 +1089,11 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get a single deep shelveset.
*
* @param {string} shelvesetId - Shelveset's unique ID
* @param {TfvcInterfaces.TfvcShelvesetRequestData} requestData - includeDetails, includeWorkItems, maxChangeCount, and maxCommentLength
*/
* Get a single deep shelveset.
*
* @param {string} shelvesetId - Shelveset's unique ID
* @param {TfvcInterfaces.TfvcShelvesetRequestData} requestData - includeDetails, includeWorkItems, maxChangeCount, and maxCommentLength
*/
public async getShelveset(
shelvesetId: string,
requestData?: TfvcInterfaces.TfvcShelvesetRequestData
@ -1117,7 +1117,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcShelveset>;
@ -1137,12 +1137,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Return a collection of shallow shelveset references.
*
* @param {TfvcInterfaces.TfvcShelvesetRequestData} requestData - name, owner, and maxCommentLength
* @param {number} top - Max number of shelvesets to return
* @param {number} skip - Number of shelvesets to skip
*/
* Return a collection of shallow shelveset references.
*
* @param {TfvcInterfaces.TfvcShelvesetRequestData} requestData - name, owner, and maxCommentLength
* @param {number} top - Max number of shelvesets to return
* @param {number} skip - Number of shelvesets to skip
*/
public async getShelvesets(
requestData?: TfvcInterfaces.TfvcShelvesetRequestData,
top?: number,
@ -1168,7 +1168,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.TfvcShelvesetRef[]>;
@ -1188,10 +1188,10 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
}
/**
* Get work items associated with a shelveset.
*
* @param {string} shelvesetId - Shelveset's unique ID
*/
* Get work items associated with a shelveset.
*
* @param {string} shelvesetId - Shelveset's unique ID
*/
public async getShelvesetWorkItems(
shelvesetId: string
): Promise<TfvcInterfaces.AssociatedWorkItem[]> {
@ -1213,7 +1213,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<TfvcInterfaces.AssociatedWorkItem[]>;

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
@ -71,8 +71,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async getBacklogConfigurations(
teamContext: TfsCoreInterfaces.TeamContext
): Promise<WorkInterfaces.BacklogConfiguration> {
@ -94,7 +94,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BacklogConfiguration>;
@ -114,8 +114,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {string} project - Project ID or project name
*/
* @param {string} project - Project ID or project name
*/
public async getColumnSuggestedValues(
project?: string
): Promise<WorkInterfaces.BoardSuggestedValue[]> {
@ -133,7 +133,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardSuggestedValue[]>;
@ -153,11 +153,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Returns the board filter settings for the given board id or board by name
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* Returns the board filter settings for the given board id or board by name
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async getBoardFilterSettings(
teamContext: TfsCoreInterfaces.TeamContext,
board: string
@ -181,7 +181,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardFilterSettings>;
@ -201,12 +201,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Update board filter settings for the board id or board by name
*
* @param {WorkInterfaces.BoardFilterSettings} filterSettings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* Update board filter settings for the board id or board by name
*
* @param {WorkInterfaces.BoardFilterSettings} filterSettings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async updateBoardFilterSettings(
filterSettings: WorkInterfaces.BoardFilterSettings,
teamContext: TfsCoreInterfaces.TeamContext,
@ -231,7 +231,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardFilterSettings>;
@ -251,12 +251,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Returns the list of parent field filter model for the given list of workitem ids
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} childBacklogContextCategoryRefName
* @param {number[]} workitemIds
*/
* Returns the list of parent field filter model for the given list of workitem ids
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} childBacklogContextCategoryRefName
* @param {number[]} workitemIds
*/
public async getBoardMappingParentItems(
teamContext: TfsCoreInterfaces.TeamContext,
childBacklogContextCategoryRefName: string,
@ -286,7 +286,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.ParentChildWIMap[]>;
@ -306,8 +306,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {string} project - Project ID or project name
*/
* @param {string} project - Project ID or project name
*/
public async getRowSuggestedValues(
project?: string
): Promise<WorkInterfaces.BoardSuggestedValue[]> {
@ -325,7 +325,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardSuggestedValue[]>;
@ -345,11 +345,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Get board
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - identifier for board, either board's backlog level name (Eg:"Stories") or Id
*/
* Get board
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - identifier for board, either board's backlog level name (Eg:"Stories") or Id
*/
public async getBoard(
teamContext: TfsCoreInterfaces.TeamContext,
id: string
@ -373,7 +373,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.Board>;
@ -393,8 +393,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async getBoards(
teamContext: TfsCoreInterfaces.TeamContext
): Promise<WorkInterfaces.BoardReference[]> {
@ -416,7 +416,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardReference[]>;
@ -436,12 +436,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Update board options
*
* @param {{ [key: string] : string; }} options - options to updated
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - identifier for board, either category plural name (Eg:"Stories") or guid
*/
* Update board options
*
* @param {{ [key: string] : string; }} options - options to updated
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - identifier for board, either category plural name (Eg:"Stories") or guid
*/
public async setBoardOptions(
options: { [key: string] : string; },
teamContext: TfsCoreInterfaces.TeamContext,
@ -466,7 +466,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<{ [key: string] : string; }>;
@ -486,9 +486,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async getBoardUserSettings(
teamContext: TfsCoreInterfaces.TeamContext,
board: string
@ -512,7 +512,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardUserSettings>;
@ -532,12 +532,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Update board user settings for the board id
*
* @param {{ [key: string] : string; }} boardUserSettings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* Update board user settings for the board id
*
* @param {{ [key: string] : string; }} boardUserSettings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async updateBoardUserSettings(
boardUserSettings: { [key: string] : string; },
teamContext: TfsCoreInterfaces.TeamContext,
@ -562,7 +562,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardUserSettings>;
@ -582,9 +582,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
public async getCapacities(
teamContext: TfsCoreInterfaces.TeamContext,
iterationId: string
@ -608,7 +608,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamMemberCapacity[]>;
@ -628,10 +628,10 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
* @param {string} teamMemberId
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
* @param {string} teamMemberId
*/
public async getCapacity(
teamContext: TfsCoreInterfaces.TeamContext,
iterationId: string,
@ -657,7 +657,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamMemberCapacity>;
@ -677,10 +677,10 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.TeamMemberCapacity[]} capacities
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
* @param {WorkInterfaces.TeamMemberCapacity[]} capacities
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
public async replaceCapacities(
capacities: WorkInterfaces.TeamMemberCapacity[],
teamContext: TfsCoreInterfaces.TeamContext,
@ -705,7 +705,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamMemberCapacity[]>;
@ -725,11 +725,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.CapacityPatch} patch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
* @param {string} teamMemberId
*/
* @param {WorkInterfaces.CapacityPatch} patch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
* @param {string} teamMemberId
*/
public async updateCapacity(
patch: WorkInterfaces.CapacityPatch,
teamContext: TfsCoreInterfaces.TeamContext,
@ -756,7 +756,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamMemberCapacity>;
@ -776,11 +776,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Get board card Rule settings for the board id or board by name
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* Get board card Rule settings for the board id or board by name
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async getBoardCardRuleSettings(
teamContext: TfsCoreInterfaces.TeamContext,
board: string
@ -804,7 +804,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardCardRuleSettings>;
@ -824,12 +824,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Update board card Rule settings for the board id or board by name
*
* @param {WorkInterfaces.BoardCardRuleSettings} boardCardRuleSettings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* Update board card Rule settings for the board id or board by name
*
* @param {WorkInterfaces.BoardCardRuleSettings} boardCardRuleSettings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async updateBoardCardRuleSettings(
boardCardRuleSettings: WorkInterfaces.BoardCardRuleSettings,
teamContext: TfsCoreInterfaces.TeamContext,
@ -854,7 +854,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardCardRuleSettings>;
@ -874,11 +874,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Get board card settings for the board id or board by name
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* Get board card settings for the board id or board by name
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async getBoardCardSettings(
teamContext: TfsCoreInterfaces.TeamContext,
board: string
@ -902,7 +902,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardCardSettings>;
@ -922,12 +922,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Update board card settings for the board id or board by name
*
* @param {WorkInterfaces.BoardCardSettings} boardCardSettingsToSave
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* Update board card settings for the board id or board by name
*
* @param {WorkInterfaces.BoardCardSettings} boardCardSettingsToSave
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async updateBoardCardSettings(
boardCardSettingsToSave: WorkInterfaces.BoardCardSettings,
teamContext: TfsCoreInterfaces.TeamContext,
@ -952,7 +952,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardCardSettings>;
@ -972,12 +972,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Get a board chart
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
* @param {string} name - The chart name
*/
* Get a board chart
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
* @param {string} name - The chart name
*/
public async getBoardChart(
teamContext: TfsCoreInterfaces.TeamContext,
board: string,
@ -1003,7 +1003,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardChart>;
@ -1023,11 +1023,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Get board charts
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
*/
* Get board charts
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
*/
public async getBoardCharts(
teamContext: TfsCoreInterfaces.TeamContext,
board: string
@ -1051,7 +1051,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardChartReference[]>;
@ -1071,13 +1071,13 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Update a board chart
*
* @param {WorkInterfaces.BoardChart} chart
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
* @param {string} name - The chart name
*/
* Update a board chart
*
* @param {WorkInterfaces.BoardChart} chart
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Identifier for board, either board's backlog level name (Eg:"Stories") or Id
* @param {string} name - The chart name
*/
public async updateBoardChart(
chart: WorkInterfaces.BoardChart,
teamContext: TfsCoreInterfaces.TeamContext,
@ -1104,7 +1104,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardChart>;
@ -1124,9 +1124,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async getBoardColumns(
teamContext: TfsCoreInterfaces.TeamContext,
board: string
@ -1150,7 +1150,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardColumn[]>;
@ -1170,10 +1170,10 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.BoardColumn[]} boardColumns
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* @param {WorkInterfaces.BoardColumn[]} boardColumns
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async updateBoardColumns(
boardColumns: WorkInterfaces.BoardColumn[],
teamContext: TfsCoreInterfaces.TeamContext,
@ -1198,7 +1198,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardColumn[]>;
@ -1218,14 +1218,14 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Get Delivery View Data
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier for delivery view
* @param {number} revision - Revision of the plan for which you want data. If the current plan is a different revision you will get an ViewRevisionMismatchException exception. If you do not supply a revision you will get data for the latest revision.
* @param {Date} startDate - The start date of timeline
* @param {Date} endDate - The end date of timeline
*/
* Get Delivery View Data
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier for delivery view
* @param {number} revision - Revision of the plan for which you want data. If the current plan is a different revision you will get an ViewRevisionMismatchException exception. If you do not supply a revision you will get data for the latest revision.
* @param {Date} startDate - The start date of timeline
* @param {Date} endDate - The end date of timeline
*/
public async getDeliveryTimelineData(
project: string,
id: string,
@ -1255,7 +1255,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.DeliveryViewData>;
@ -1275,9 +1275,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id
*/
public async deleteTeamIteration(
teamContext: TfsCoreInterfaces.TeamContext,
id: string
@ -1301,7 +1301,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -1321,9 +1321,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id
*/
public async getTeamIteration(
teamContext: TfsCoreInterfaces.TeamContext,
id: string
@ -1347,7 +1347,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamSettingsIteration>;
@ -1367,9 +1367,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} timeframe
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} timeframe
*/
public async getTeamIterations(
teamContext: TfsCoreInterfaces.TeamContext,
timeframe?: string
@ -1397,7 +1397,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
queryValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamSettingsIteration[]>;
@ -1417,9 +1417,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.TeamSettingsIteration} iteration
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {WorkInterfaces.TeamSettingsIteration} iteration
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async postTeamIteration(
iteration: WorkInterfaces.TeamSettingsIteration,
teamContext: TfsCoreInterfaces.TeamContext
@ -1442,7 +1442,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamSettingsIteration>;
@ -1462,11 +1462,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Add a new plan for the team
*
* @param {WorkInterfaces.CreatePlan} postedPlan - Plan definition
* @param {string} project - Project ID or project name
*/
* Add a new plan for the team
*
* @param {WorkInterfaces.CreatePlan} postedPlan - Plan definition
* @param {string} project - Project ID or project name
*/
public async createPlan(
postedPlan: WorkInterfaces.CreatePlan,
project: string
@ -1485,7 +1485,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.Plan>;
@ -1505,11 +1505,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Delete the specified plan
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
* Delete the specified plan
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
public async deletePlan(
project: string,
id: string
@ -1529,7 +1529,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<void>;
@ -1549,11 +1549,11 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Get the information for the specified plan
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
* Get the information for the specified plan
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
public async getPlan(
project: string,
id: string
@ -1573,7 +1573,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.Plan>;
@ -1593,8 +1593,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {string} project - Project ID or project name
*/
* @param {string} project - Project ID or project name
*/
public async getPlans(
project: string
): Promise<WorkInterfaces.Plan[]> {
@ -1612,7 +1612,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.Plan[]>;
@ -1632,12 +1632,12 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* Update the information for the specified plan
*
* @param {WorkInterfaces.UpdatePlan} updatedPlan - Plan definition to be updated
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
* Update the information for the specified plan
*
* @param {WorkInterfaces.UpdatePlan} updatedPlan - Plan definition to be updated
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
public async updatePlan(
updatedPlan: WorkInterfaces.UpdatePlan,
project: string,
@ -1658,7 +1658,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.Plan>;
@ -1678,8 +1678,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {string} project - Project ID or project name
*/
* @param {string} project - Project ID or project name
*/
public async getProcessConfiguration(
project: string
): Promise<WorkInterfaces.ProcessConfiguration> {
@ -1697,7 +1697,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.ProcessConfiguration>;
@ -1717,9 +1717,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async getBoardRows(
teamContext: TfsCoreInterfaces.TeamContext,
board: string
@ -1743,7 +1743,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardRow[]>;
@ -1763,10 +1763,10 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.BoardRow[]} boardRows
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
* @param {WorkInterfaces.BoardRow[]} boardRows
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board
*/
public async updateBoardRows(
boardRows: WorkInterfaces.BoardRow[],
teamContext: TfsCoreInterfaces.TeamContext,
@ -1791,7 +1791,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.BoardRow[]>;
@ -1811,9 +1811,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
public async getTeamDaysOff(
teamContext: TfsCoreInterfaces.TeamContext,
iterationId: string
@ -1837,7 +1837,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamSettingsDaysOff>;
@ -1857,10 +1857,10 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.TeamSettingsDaysOffPatch} daysOffPatch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
* @param {WorkInterfaces.TeamSettingsDaysOffPatch} daysOffPatch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
public async updateTeamDaysOff(
daysOffPatch: WorkInterfaces.TeamSettingsDaysOffPatch,
teamContext: TfsCoreInterfaces.TeamContext,
@ -1885,7 +1885,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamSettingsDaysOff>;
@ -1905,8 +1905,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async getTeamFieldValues(
teamContext: TfsCoreInterfaces.TeamContext
): Promise<WorkInterfaces.TeamFieldValues> {
@ -1928,7 +1928,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamFieldValues>;
@ -1948,9 +1948,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.TeamFieldValuesPatch} patch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {WorkInterfaces.TeamFieldValuesPatch} patch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async updateTeamFieldValues(
patch: WorkInterfaces.TeamFieldValuesPatch,
teamContext: TfsCoreInterfaces.TeamContext
@ -1973,7 +1973,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamFieldValues>;
@ -1993,8 +1993,8 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async getTeamSettings(
teamContext: TfsCoreInterfaces.TeamContext
): Promise<WorkInterfaces.TeamSetting> {
@ -2016,7 +2016,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamSetting>;
@ -2036,9 +2036,9 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
}
/**
* @param {WorkInterfaces.TeamSettingsPatch} teamSettingsPatch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
* @param {WorkInterfaces.TeamSettingsPatch} teamSettingsPatch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
public async updateTeamSettings(
teamSettingsPatch: WorkInterfaces.TeamSettingsPatch,
teamContext: TfsCoreInterfaces.TeamContext
@ -2061,7 +2061,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
routeValues);
let url: string = verData.requestUrl;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<WorkInterfaces.TeamSetting>;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";
@ -378,6 +378,10 @@ export interface BuildDefinition extends BuildDefinitionReference {
* Gets or sets the job authorization scope for builds which are queued against this definition
*/
jobAuthorizationScope: BuildAuthorizationScope;
/**
* Gets or sets the job cancel timeout in minutes for builds which are cancelled by user for this definition
*/
jobCancelTimeoutInMinutes: number;
/**
* Gets or sets the job execution timeout in minutes for builds which are queued against this definition
*/

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";
@ -77,6 +77,10 @@ export interface FileContainer {
* Location of the item resource.
*/
itemLocation: string;
/**
* ItemStore Locator for this container.
*/
locatorPath: string;
/**
* Name.
*/

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";
@ -201,6 +201,16 @@ export interface CategoryLanguageTitle {
title: string;
}
/**
* The structure of a Concern Rather than defining a separate data structure having same fields as QnAItem, we are inheriting from the QnAItem.
*/
export interface Concern extends QnAItem {
/**
* Category of the concern
*/
category: ConcernCategory;
}
export enum ConcernCategory {
General = 1,
Abusive = 2,
@ -599,6 +609,10 @@ export enum ExtensionQueryFilterType {
* Filter type for specifying a range of installation target version. The filter will be used along with InstallationTarget filter. The value should be a pair of well formed version values separated by hyphen(-). Currently supported only if search text is provided.
*/
InstallationTargetVersionRange = 16,
/**
* Filter type for specifying metadata key and value to be used for filtering.
*/
VsixMetadata = 17,
}
export enum ExtensionQueryFlags {
@ -654,6 +668,10 @@ export enum ExtensionQueryFlags {
* This flag is used to get all the metadata values associated with the extension. This is not applicable to VSTS or VSCode extensions and usage is only internal.
*/
IncludeMetadata = 2048,
/**
* This flag is used to indicate to return very small data for extension reruired by VS IDE. This flag is only compatible when querying is done by VS IDE
*/
IncludeMinimalPayloadForVsIde = 4096,
/**
* AllAttributes is designed to be a mask that defines all sub-elements of the extension should be returned. NOTE: This is not actually All flags. This is now locked to the set defined since changing this enum would be a breaking change and would change the behavior of anyone using it. Try not to use this value when making calls to the service, instead be explicit about the options required.
*/
@ -696,6 +714,10 @@ export interface ExtensionStatisticUpdate {
statistic: ExtensionStatistic;
}
export enum ExtensionStatsAggregateType {
Daily = 1,
}
export interface ExtensionVersion {
assetUri: string;
badges: ExtensionBadge[];
@ -765,6 +787,32 @@ export enum PagingDirection {
Forward = 2,
}
/**
* This is the set of categories in response to the get category query
*/
export interface ProductCategoriesResult {
categories: ProductCategory[];
}
/**
* This is the interface object to be used by Root Categories and Category Tree APIs for Visual Studio Ide.
*/
export interface ProductCategory {
children: ProductCategory[];
/**
* Indicator whether this is a leaf or there are children under this category
*/
hasChildren: boolean;
/**
* Individual Guid of the Category
*/
id: string;
/**
* Category Title in the requested language
*/
title: string;
}
export interface PublishedExtension {
categories: string[];
deploymentType: ExtensionDeploymentTechnology;
@ -1194,6 +1242,70 @@ export interface Review {
userId: string;
}
export enum ReviewEventOperation {
Create = 1,
Update = 2,
Delete = 3,
}
/**
* Properties associated with Review event
*/
export interface ReviewEventProperties {
/**
* Operation performed on Event - Create\Update
*/
eventOperation: ReviewEventOperation;
/**
* Flag to see if reply is admin reply
*/
isAdminReply: boolean;
/**
* Flag to record if the reviwe is ignored
*/
isIgnored: boolean;
/**
* Rating at the time of event
*/
rating: number;
/**
* Reply update date
*/
replyDate: Date;
/**
* Publisher reply text or admin reply text
*/
replyText: string;
/**
* User who responded to the review
*/
replyUserId: string;
/**
* Review Event Type - Review
*/
resourceType: ReviewResourceType;
/**
* Review update date
*/
reviewDate: Date;
/**
* ReviewId of the review on which the operation is performed
*/
reviewId: number;
/**
* Text in Review Text
*/
reviewText: string;
/**
* User display name at the time of review
*/
userDisplayName: string;
/**
* User who gave review
*/
userId: string;
}
export enum ReviewFilterOptions {
/**
* No filtering, all reviews are returned (default option)
@ -1278,6 +1390,12 @@ export interface ReviewReply {
userId: string;
}
export enum ReviewResourceType {
Review = 1,
PublisherReply = 2,
AdminReply = 3,
}
export interface ReviewsResult {
/**
* Flag indicating if there are more reviews to be shown (for paging)
@ -1485,6 +1603,9 @@ export var TypeInfo = {
CategoryLanguageTitle: {
fields: <any>null
},
Concern: {
fields: <any>null
},
ConcernCategory: {
enumValues: {
"general": 1,
@ -1582,6 +1703,7 @@ export var TypeInfo = {
"lcid": 14,
"installationTargetVersion": 15,
"installationTargetVersionRange": 16,
"vsixMetadata": 17,
}
},
ExtensionQueryFlags: {
@ -1599,6 +1721,7 @@ export var TypeInfo = {
"includeLatestVersionOnly": 512,
"useFallbackAssetUri": 1024,
"includeMetadata": 2048,
"includeMinimalPayloadForVsIde": 4096,
"allAttributes": 479,
}
},
@ -1623,6 +1746,11 @@ export var TypeInfo = {
ExtensionStatisticUpdate: {
fields: <any>null
},
ExtensionStatsAggregateType: {
enumValues: {
"daily": 1,
}
},
ExtensionVersion: {
fields: <any>null
},
@ -1647,6 +1775,12 @@ export var TypeInfo = {
"forward": 2,
}
},
ProductCategoriesResult: {
fields: <any>null
},
ProductCategory: {
fields: <any>null
},
PublishedExtension: {
fields: <any>null
},
@ -1752,6 +1886,16 @@ export var TypeInfo = {
Review: {
fields: <any>null
},
ReviewEventOperation: {
enumValues: {
"create": 1,
"update": 2,
"delete": 3,
}
},
ReviewEventProperties: {
fields: <any>null
},
ReviewFilterOptions: {
enumValues: {
"none": 0,
@ -1773,6 +1917,13 @@ export var TypeInfo = {
ReviewReply: {
fields: <any>null
},
ReviewResourceType: {
enumValues: {
"review": 1,
"publisherReply": 2,
"adminReply": 3,
}
},
ReviewsResult: {
fields: <any>null
},
@ -1870,6 +2021,24 @@ TypeInfo.CategoriesResult.fields = {
TypeInfo.CategoryLanguageTitle.fields = {
};
TypeInfo.Concern.fields = {
category: {
enumType: TypeInfo.ConcernCategory
},
createdDate: {
isDate: true,
},
status: {
enumType: TypeInfo.QnAItemStatus
},
updatedDate: {
isDate: true,
},
user: {
typeInfo: TypeInfo.UserIdentityRef
},
};
TypeInfo.EventCounts.fields = {
};
@ -2013,6 +2182,20 @@ TypeInfo.InstallationTarget.fields = {
TypeInfo.MetadataItem.fields = {
};
TypeInfo.ProductCategoriesResult.fields = {
categories: {
isArray: true,
typeInfo: TypeInfo.ProductCategory
},
};
TypeInfo.ProductCategory.fields = {
children: {
isArray: true,
typeInfo: TypeInfo.ProductCategory
},
};
TypeInfo.PublishedExtension.fields = {
deploymentType: {
enumType: TypeInfo.ExtensionDeploymentTechnology
@ -2180,6 +2363,21 @@ TypeInfo.Review.fields = {
},
};
TypeInfo.ReviewEventProperties.fields = {
eventOperation: {
enumType: TypeInfo.ReviewEventOperation
},
replyDate: {
isDate: true,
},
resourceType: {
enumType: TypeInfo.ReviewResourceType
},
reviewDate: {
isDate: true,
},
};
TypeInfo.ReviewPatch.fields = {
operation: {
enumType: TypeInfo.ReviewPatchOperation

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";
@ -148,6 +148,38 @@ export interface ISubscriptionFilter {
type: string;
}
export interface NotificationCommonViewData {
/**
* The Url to the admin page
*/
adminPageUrl: string;
/**
* Default service instance type, currently it is Tfs, it used if there is no publisher passed
*/
defaultServiceInstanceType: string;
eventsPublishers: NotificationEventPublisher[];
/**
* Indicates whether the current user generally has permissions to manage (create, delete, etc) subscriptions in the view
*/
hasManagePermission: boolean;
/**
* Is the subscription view being presented for the purpose of administration (not for managing personal subscriptions)
*/
isAdminMode: boolean;
/**
* Indicates whether the user's preferred email address is pending confirmation.
*/
isSubscriberEmailPending: boolean;
/**
* Subscriber to use when creating new subscriptions in the view
*/
subscriber: VSSInterfaces.IdentityRef;
/**
* Email address that notifications for this user will be sent to by default.
*/
subscriberEmail: string;
}
/**
* Encapsulates the properties of a filterable field. A filterable field is a field in an event that can used to filter notifications for a certain event type.
*/
@ -420,48 +452,15 @@ export interface NotificationSubscriptionCreateParameters {
}
export interface NotificationSubscriptionsViewData {
/**
* The Url to the admin page
*/
adminPageUrl: string;
/**
* Default service instance type, currently it is Tfs, it used if there is no publisher passed
*/
defaultServiceInstanceType: string;
eventsPublishers: NotificationEventPublisher[];
/**
* Supported event types info, with their fields and field types
*/
eventTypes: { [key: string] : NotificationEventType; };
/**
* Indicates whether the current user generally has permissions to manage (create, delete, etc) subscriptions in the view
*/
hasManagePermission: boolean;
/**
* Indicates whether the current user generally has permissions to see subscriptions in the view
*/
hasViewPermission: boolean;
/**
* Is the subscription view being presented for the purpose of administration (not for managing personal subscriptions)
*/
isAdminMode: boolean;
/**
* Indicates whether the user's preferred email address is pending confirmation.
*/
isSubscriberEmailPending: boolean;
mapCategoryIdToCategoryName: { [key: string] : string; };
mapCategoryIdToSubscriptionTemplates: { [key: string] : NotificationSubscriptionTemplate[]; };
mapEventTypeToPublisherId: { [key: string] : string; };
publishers: { [key: string] : NotificationEventPublisher; };
scopes: { [key: string] : SubscriptionScope; };
/**
* Subscriber to use when creating new subscriptions in the view
*/
subscriber: VSSInterfaces.IdentityRef;
/**
* Email address that notifications for this user will be sent to by default.
*/
subscriberEmail: string;
subscriptions: NotificationSubscription[];
/**
* The subscription evaluation operation settings needed for the UI
@ -709,10 +708,6 @@ export enum SubscriptionQueryFlags {
* For a subscription the caller does not have permission to view, return basic (non-confidential) information.
*/
AlwaysReturnBasicInformation = 22,
/**
* To include subscriptions from other services, this is only needed for contributed subscriptions
*/
IncludeRemoteContributedSubscriptions = 50,
/**
* Include all group, invalid, and subscriptions marked for deletion.
*/
@ -874,6 +869,9 @@ export var TypeInfo = {
ISubscriptionFilter: {
fields: <any>null
},
NotificationCommonViewData: {
fields: <any>null
},
NotificationEventField: {
fields: <any>null
},
@ -995,7 +993,6 @@ export var TypeInfo = {
"includeDeletedSubscriptions": 4,
"includeFilterDetails": 8,
"alwaysReturnBasicInformation": 22,
"includeRemoteContributedSubscriptions": 50,
"includeAllSubscriptions": 7,
}
},
@ -1106,6 +1103,16 @@ TypeInfo.ISubscriptionChannel.fields = {
TypeInfo.ISubscriptionFilter.fields = {
};
TypeInfo.NotificationCommonViewData.fields = {
eventsPublishers: {
isArray: true,
typeInfo: TypeInfo.NotificationEventPublisher
},
subscriber: {
typeInfo: VSSInterfaces.TypeInfo.IdentityRef
},
};
TypeInfo.NotificationEventField.fields = {
fieldType: {
typeInfo: TypeInfo.NotificationEventFieldType
@ -1238,10 +1245,6 @@ TypeInfo.NotificationSubscriptionCreateParameters.fields = {
};
TypeInfo.NotificationSubscriptionsViewData.fields = {
eventsPublishers: {
isArray: true,
typeInfo: TypeInfo.NotificationEventPublisher
},
eventTypes: {
},
mapCategoryIdToSubscriptionTemplates: {
@ -1250,9 +1253,6 @@ TypeInfo.NotificationSubscriptionsViewData.fields = {
},
scopes: {
},
subscriber: {
typeInfo: VSSInterfaces.TypeInfo.IdentityRef
},
subscriptions: {
isArray: true,
typeInfo: TypeInfo.NotificationSubscription

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";
@ -317,8 +317,8 @@ export interface Deployment {
queuedOn: Date;
reason: DeploymentReason;
release: ReleaseReference;
releaseDefinition: ReleaseDefinitionReference;
releaseEnvironment: ReleaseEnvironmentReference;
releaseDefinition: ReleaseDefinitionShallowReference;
releaseEnvironment: ReleaseEnvironmentShallowReference;
requestedBy: VSSInterfaces.IdentityRef;
requestedFor: VSSInterfaces.IdentityRef;
scheduledDeploymentTime: Date;
@ -633,9 +633,9 @@ export interface ManualIntervention {
instructions: string;
modifiedOn: Date;
name: string;
release: ReleaseReference;
releaseDefinition: ReleaseDefinitionReference;
releaseEnvironment: ReleaseEnvironmentReference;
release: ReleaseShallowReference;
releaseDefinition: ReleaseDefinitionShallowReference;
releaseEnvironment: ReleaseEnvironmentShallowReference;
status: ManualInterventionStatus;
taskInstanceId: string;
url: string;
@ -726,7 +726,7 @@ export interface Release {
projectReference: ProjectReference;
properties: any;
reason: ReleaseReason;
releaseDefinition: ReleaseDefinitionReference;
releaseDefinition: ReleaseDefinitionShallowReference;
releaseNameFormat: string;
status: ReleaseStatus;
tags: string[];
@ -753,9 +753,9 @@ export interface ReleaseApproval {
isNotificationOn: boolean;
modifiedOn: Date;
rank: number;
release: ReleaseReference;
releaseDefinition: ReleaseDefinitionReference;
releaseEnvironment: ReleaseEnvironmentReference;
release: ReleaseShallowReference;
releaseDefinition: ReleaseDefinitionShallowReference;
releaseEnvironment: ReleaseEnvironmentShallowReference;
revision: number;
status: ApprovalStatus;
trialNumber: number;
@ -874,7 +874,7 @@ export interface ReleaseDefinitionEnvironmentStep {
export interface ReleaseDefinitionEnvironmentSummary {
id: number;
lastReleases: ReleaseReference[];
lastReleases: ReleaseShallowReference[];
name: string;
}
@ -884,6 +884,7 @@ export interface ReleaseDefinitionEnvironmentTemplate {
description: string;
environment: ReleaseDefinitionEnvironment;
iconTaskId: string;
iconUri: string;
id: string;
name: string;
}
@ -904,13 +905,6 @@ export enum ReleaseDefinitionQueryOrder {
NameDescending = 3,
}
export interface ReleaseDefinitionReference {
_links: any;
id: number;
name: string;
url: string;
}
export interface ReleaseDefinitionRevision {
changedBy: VSSInterfaces.IdentityRef;
changedDate: Date;
@ -921,6 +915,13 @@ export interface ReleaseDefinitionRevision {
revision: number;
}
export interface ReleaseDefinitionShallowReference {
_links: any;
id: number;
name: string;
url: string;
}
export enum ReleaseDefinitionSource {
Undefined = 0,
RestApi = 1,
@ -931,7 +932,7 @@ export enum ReleaseDefinitionSource {
export interface ReleaseDefinitionSummary {
environments: ReleaseDefinitionEnvironmentSummary[];
releaseDefinition: ReleaseDefinitionReference;
releaseDefinition: ReleaseDefinitionShallowReference;
releases: Release[];
}
@ -965,9 +966,9 @@ export interface ReleaseEnvironment {
preDeployApprovals: ReleaseApproval[];
queueId: number;
rank: number;
release: ReleaseReference;
release: ReleaseShallowReference;
releaseCreatedBy: VSSInterfaces.IdentityRef;
releaseDefinition: ReleaseDefinitionReference;
releaseDefinition: ReleaseDefinitionShallowReference;
releaseDescription: string;
releaseId: number;
scheduledDeploymentTime: Date;
@ -996,7 +997,7 @@ export interface ReleaseEnvironmentCompletedEvent {
webAccessUri: string;
}
export interface ReleaseEnvironmentReference {
export interface ReleaseEnvironmentShallowReference {
_links: any;
id: number;
name: string;
@ -1043,7 +1044,7 @@ export interface ReleaseReference {
modifiedBy: VSSInterfaces.IdentityRef;
name: string;
reason: ReleaseReason;
releaseDefinition: ReleaseDefinitionReference;
releaseDefinition: ReleaseDefinitionShallowReference;
url: string;
webAccessUri: string;
}
@ -1085,6 +1086,13 @@ export interface ReleaseSettings {
retentionSettings: RetentionSettings;
}
export interface ReleaseShallowReference {
_links: any;
id: number;
name: string;
url: string;
}
export interface ReleaseStartMetadata {
artifacts: ArtifactMetadata[];
definitionId: number;
@ -1731,10 +1739,10 @@ export var TypeInfo = {
"nameDescending": 3,
}
},
ReleaseDefinitionReference: {
ReleaseDefinitionRevision: {
fields: <any>null
},
ReleaseDefinitionRevision: {
ReleaseDefinitionShallowReference: {
fields: <any>null
},
ReleaseDefinitionSource: {
@ -1758,7 +1766,7 @@ export var TypeInfo = {
ReleaseEnvironmentCompletedEvent: {
fields: <any>null
},
ReleaseEnvironmentReference: {
ReleaseEnvironmentShallowReference: {
fields: <any>null
},
ReleaseEnvironmentUpdateMetadata: {
@ -1803,6 +1811,9 @@ export var TypeInfo = {
ReleaseSettings: {
fields: <any>null
},
ReleaseShallowReference: {
fields: <any>null
},
ReleaseStartMetadata: {
fields: <any>null
},
@ -2150,10 +2161,10 @@ TypeInfo.Deployment.fields = {
typeInfo: TypeInfo.ReleaseReference
},
releaseDefinition: {
typeInfo: TypeInfo.ReleaseDefinitionReference
typeInfo: TypeInfo.ReleaseDefinitionShallowReference
},
releaseEnvironment: {
typeInfo: TypeInfo.ReleaseEnvironmentReference
typeInfo: TypeInfo.ReleaseEnvironmentShallowReference
},
requestedBy: {
typeInfo: VSSInterfaces.TypeInfo.IdentityRef
@ -2426,13 +2437,13 @@ TypeInfo.ManualIntervention.fields = {
isDate: true,
},
release: {
typeInfo: TypeInfo.ReleaseReference
typeInfo: TypeInfo.ReleaseShallowReference
},
releaseDefinition: {
typeInfo: TypeInfo.ReleaseDefinitionReference
typeInfo: TypeInfo.ReleaseDefinitionShallowReference
},
releaseEnvironment: {
typeInfo: TypeInfo.ReleaseEnvironmentReference
typeInfo: TypeInfo.ReleaseEnvironmentShallowReference
},
status: {
enumType: TypeInfo.ManualInterventionStatus
@ -2512,7 +2523,7 @@ TypeInfo.Release.fields = {
enumType: TypeInfo.ReleaseReason
},
releaseDefinition: {
typeInfo: TypeInfo.ReleaseDefinitionReference
typeInfo: TypeInfo.ReleaseDefinitionShallowReference
},
status: {
enumType: TypeInfo.ReleaseStatus
@ -2555,13 +2566,13 @@ TypeInfo.ReleaseApproval.fields = {
isDate: true,
},
release: {
typeInfo: TypeInfo.ReleaseReference
typeInfo: TypeInfo.ReleaseShallowReference
},
releaseDefinition: {
typeInfo: TypeInfo.ReleaseDefinitionReference
typeInfo: TypeInfo.ReleaseDefinitionShallowReference
},
releaseEnvironment: {
typeInfo: TypeInfo.ReleaseEnvironmentReference
typeInfo: TypeInfo.ReleaseEnvironmentShallowReference
},
status: {
enumType: TypeInfo.ApprovalStatus
@ -2727,7 +2738,7 @@ TypeInfo.ReleaseDefinitionEnvironmentStep.fields = {
TypeInfo.ReleaseDefinitionEnvironmentSummary.fields = {
lastReleases: {
isArray: true,
typeInfo: TypeInfo.ReleaseReference
typeInfo: TypeInfo.ReleaseShallowReference
},
};
@ -2737,9 +2748,6 @@ TypeInfo.ReleaseDefinitionEnvironmentTemplate.fields = {
},
};
TypeInfo.ReleaseDefinitionReference.fields = {
};
TypeInfo.ReleaseDefinitionRevision.fields = {
changedBy: {
typeInfo: VSSInterfaces.TypeInfo.IdentityRef
@ -2752,13 +2760,16 @@ TypeInfo.ReleaseDefinitionRevision.fields = {
},
};
TypeInfo.ReleaseDefinitionShallowReference.fields = {
};
TypeInfo.ReleaseDefinitionSummary.fields = {
environments: {
isArray: true,
typeInfo: TypeInfo.ReleaseDefinitionEnvironmentSummary
},
releaseDefinition: {
typeInfo: TypeInfo.ReleaseDefinitionReference
typeInfo: TypeInfo.ReleaseDefinitionShallowReference
},
releases: {
isArray: true,
@ -2826,13 +2837,13 @@ TypeInfo.ReleaseEnvironment.fields = {
typeInfo: TypeInfo.ReleaseApproval
},
release: {
typeInfo: TypeInfo.ReleaseReference
typeInfo: TypeInfo.ReleaseShallowReference
},
releaseCreatedBy: {
typeInfo: VSSInterfaces.TypeInfo.IdentityRef
},
releaseDefinition: {
typeInfo: TypeInfo.ReleaseDefinitionReference
typeInfo: TypeInfo.ReleaseDefinitionShallowReference
},
scheduledDeploymentTime: {
isDate: true,
@ -2868,7 +2879,7 @@ TypeInfo.ReleaseEnvironmentCompletedEvent.fields = {
},
};
TypeInfo.ReleaseEnvironmentReference.fields = {
TypeInfo.ReleaseEnvironmentShallowReference.fields = {
};
TypeInfo.ReleaseEnvironmentUpdateMetadata.fields = {
@ -2898,7 +2909,7 @@ TypeInfo.ReleaseReference.fields = {
enumType: TypeInfo.ReleaseReason
},
releaseDefinition: {
typeInfo: TypeInfo.ReleaseDefinitionReference
typeInfo: TypeInfo.ReleaseDefinitionShallowReference
},
};
@ -2923,6 +2934,9 @@ TypeInfo.ReleaseSettings.fields = {
},
};
TypeInfo.ReleaseShallowReference.fields = {
};
TypeInfo.ReleaseStartMetadata.fields = {
artifacts: {
isArray: true,

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";
@ -361,6 +361,25 @@ export interface LastResultDetails {
runBy: VSSInterfaces.IdentityRef;
}
export interface LinkedWorkItemsQuery {
automatedTestNames: string[];
planId: number;
pointIds: number[];
suiteIds: number[];
testCaseIds: number[];
workItemCategory: string;
workItemCount: number;
}
export interface LinkedWorkItemsQueryResult {
automatedTestName: string;
planId: number;
pointId: number;
suiteId: number;
testCaseId: number;
workItems: WorkItemReference[];
}
export interface ModuleCoverage {
blockCount: number;
blockData: number[];
@ -709,6 +728,7 @@ export interface TestCaseResult {
startedDate: Date;
state: string;
testCase: ShallowReference;
testCaseReferenceId: number;
testCaseTitle: string;
testPlan: ShallowReference;
testPoint: ShallowReference;
@ -1589,6 +1609,12 @@ export var TypeInfo = {
LastResultDetails: {
fields: <any>null
},
LinkedWorkItemsQuery: {
fields: <any>null
},
LinkedWorkItemsQueryResult: {
fields: <any>null
},
ModuleCoverage: {
fields: <any>null
},
@ -2064,6 +2090,16 @@ TypeInfo.LastResultDetails.fields = {
},
};
TypeInfo.LinkedWorkItemsQuery.fields = {
};
TypeInfo.LinkedWorkItemsQueryResult.fields = {
workItems: {
isArray: true,
typeInfo: TypeInfo.WorkItemReference
},
};
TypeInfo.ModuleCoverage.fields = {
functions: {
isArray: true,

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";

Просмотреть файл

@ -1,12 +1,12 @@
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
*/
"use strict";