azure-devops-mcp
by RyanCardin15
Verified
- node_modules
- azure-devops-node-api
import basem = require('./ClientApiBases');
import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces');
import TfsCoreInterfaces = require("./interfaces/CoreInterfaces");
import WorkInterfaces = require("./interfaces/WorkInterfaces");
export interface IWorkApi extends basem.ClientApiBase {
updateAutomationRule(ruleRequestModel: WorkInterfaces.TeamAutomationRulesSettingsRequestModel, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>;
getBacklogConfigurations(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BacklogConfiguration>;
getBacklogLevelWorkItems(teamContext: TfsCoreInterfaces.TeamContext, backlogId: string): Promise<WorkInterfaces.BacklogLevelWorkItems>;
getBacklog(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.BacklogLevelConfiguration>;
getBacklogs(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BacklogLevelConfiguration[]>;
getBoardBadge(teamContext: TfsCoreInterfaces.TeamContext, id: string, columnOptions?: WorkInterfaces.BoardBadgeColumnOptions, columns?: string[]): Promise<WorkInterfaces.BoardBadge>;
getBoardBadgeData(teamContext: TfsCoreInterfaces.TeamContext, id: string, columnOptions?: WorkInterfaces.BoardBadgeColumnOptions, columns?: string[]): Promise<string>;
getColumnSuggestedValues(project?: string): Promise<WorkInterfaces.BoardSuggestedValue[]>;
getBoardMappingParentItems(teamContext: TfsCoreInterfaces.TeamContext, childBacklogContextCategoryRefName: string, workitemIds: number[]): Promise<WorkInterfaces.ParentChildWIMap[]>;
getRowSuggestedValues(project?: string): Promise<WorkInterfaces.BoardSuggestedValue[]>;
getBoard(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.Board>;
getBoards(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BoardReference[]>;
setBoardOptions(options: {
[key: string]: string;
}, teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<{
[key: string]: string;
}>;
getBoardUserSettings(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardUserSettings>;
updateBoardUserSettings(boardUserSettings: {
[key: string]: string;
}, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardUserSettings>;
getCapacitiesWithIdentityRefAndTotals(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamCapacity>;
getCapacityWithIdentityRef(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, teamMemberId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef>;
replaceCapacitiesWithIdentityRef(capacities: WorkInterfaces.TeamMemberCapacityIdentityRef[], teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef[]>;
updateCapacityWithIdentityRef(patch: WorkInterfaces.CapacityPatch, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, teamMemberId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef>;
getBoardCardRuleSettings(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardRuleSettings>;
updateBoardCardRuleSettings(boardCardRuleSettings: WorkInterfaces.BoardCardRuleSettings, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardRuleSettings>;
updateTaskboardCardRuleSettings(boardCardRuleSettings: WorkInterfaces.BoardCardRuleSettings, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>;
getBoardCardSettings(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardSettings>;
updateBoardCardSettings(boardCardSettingsToSave: WorkInterfaces.BoardCardSettings, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardSettings>;
updateTaskboardCardSettings(boardCardSettingsToSave: WorkInterfaces.BoardCardSettings, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>;
getBoardChart(teamContext: TfsCoreInterfaces.TeamContext, board: string, name: string): Promise<WorkInterfaces.BoardChart>;
getBoardCharts(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardChartReference[]>;
updateBoardChart(chart: WorkInterfaces.BoardChart, teamContext: TfsCoreInterfaces.TeamContext, board: string, name: string): Promise<WorkInterfaces.BoardChart>;
getBoardColumns(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardColumn[]>;
updateBoardColumns(boardColumns: WorkInterfaces.BoardColumn[], teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardColumn[]>;
getDeliveryTimelineData(project: string, id: string, revision?: number, startDate?: Date, endDate?: Date): Promise<WorkInterfaces.DeliveryViewData>;
getTotalIterationCapacities(project: string, iterationId: string): Promise<WorkInterfaces.IterationCapacity>;
deleteTeamIteration(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<void>;
getTeamIteration(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.TeamSettingsIteration>;
getTeamIterations(teamContext: TfsCoreInterfaces.TeamContext, timeframe?: string): Promise<WorkInterfaces.TeamSettingsIteration[]>;
postTeamIteration(iteration: WorkInterfaces.TeamSettingsIteration, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSettingsIteration>;
createPlan(postedPlan: WorkInterfaces.CreatePlan, project: string): Promise<WorkInterfaces.Plan>;
deletePlan(project: string, id: string): Promise<void>;
getPlan(project: string, id: string): Promise<WorkInterfaces.Plan>;
getPlans(project: string): Promise<WorkInterfaces.Plan[]>;
updatePlan(updatedPlan: WorkInterfaces.UpdatePlan, project: string, id: string): Promise<WorkInterfaces.Plan>;
getProcessConfiguration(project: string): Promise<WorkInterfaces.ProcessConfiguration>;
getBoardRows(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardRow[]>;
updateBoardRows(boardRows: WorkInterfaces.BoardRow[], teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardRow[]>;
getColumns(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>;
updateColumns(updateColumns: WorkInterfaces.UpdateTaskboardColumn[], teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>;
getWorkItemColumns(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TaskboardWorkItemColumn[]>;
updateWorkItemColumn(updateColumn: WorkInterfaces.UpdateTaskboardWorkItemColumn, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, workItemId: number): Promise<void>;
getTeamDaysOff(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamSettingsDaysOff>;
updateTeamDaysOff(daysOffPatch: WorkInterfaces.TeamSettingsDaysOffPatch, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamSettingsDaysOff>;
getTeamFieldValues(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>;
updateTeamFieldValues(patch: WorkInterfaces.TeamFieldValuesPatch, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>;
getTeamSettings(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSetting>;
updateTeamSettings(teamSettingsPatch: WorkInterfaces.TeamSettingsPatch, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSetting>;
getIterationWorkItems(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.IterationWorkItems>;
reorderBacklogWorkItems(operation: WorkInterfaces.ReorderOperation, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.ReorderResult[]>;
reorderIterationWorkItems(operation: WorkInterfaces.ReorderOperation, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.ReorderResult[]>;
}
export declare class WorkApi extends basem.ClientApiBase implements IWorkApi {
constructor(baseUrl: string, handlers: VsoBaseInterfaces.IRequestHandler[], options?: VsoBaseInterfaces.IRequestOptions);
static readonly RESOURCE_AREA_ID = "1d4f49f9-02b9-4e26-b826-2cdb6195f2a9";
/**
* Creates/updates an automation rules settings
*
* @param {WorkInterfaces.TeamAutomationRulesSettingsRequestModel} ruleRequestModel - Required parameters to create/update an automation rules settings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
updateAutomationRule(ruleRequestModel: WorkInterfaces.TeamAutomationRulesSettingsRequestModel, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>;
/**
* Gets backlog configuration for a team
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
getBacklogConfigurations(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BacklogConfiguration>;
/**
* Get a list of work items within a backlog level
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} backlogId
*/
getBacklogLevelWorkItems(teamContext: TfsCoreInterfaces.TeamContext, backlogId: string): Promise<WorkInterfaces.BacklogLevelWorkItems>;
/**
* Get a backlog level
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - The id of the backlog level
*/
getBacklog(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.BacklogLevelConfiguration>;
/**
* List all backlog levels
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
getBacklogs(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BacklogLevelConfiguration[]>;
/**
* Gets a badge that displays the status of columns on the board.
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - The id of the board.
* @param {WorkInterfaces.BoardBadgeColumnOptions} columnOptions - Determines what columns to show.
* @param {string[]} columns - If columnOptions is set to custom, specify the list of column names.
*/
getBoardBadge(teamContext: TfsCoreInterfaces.TeamContext, id: string, columnOptions?: WorkInterfaces.BoardBadgeColumnOptions, columns?: string[]): Promise<WorkInterfaces.BoardBadge>;
/**
* Gets a badge that displays the status of columns on the board.
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - The id of the board.
* @param {WorkInterfaces.BoardBadgeColumnOptions} columnOptions - Determines what columns to show.
* @param {string[]} columns - If columnOptions is set to custom, specify the list of column names.
*/
getBoardBadgeData(teamContext: TfsCoreInterfaces.TeamContext, id: string, columnOptions?: WorkInterfaces.BoardBadgeColumnOptions, columns?: string[]): Promise<string>;
/**
* Get available board columns in a project
*
* @param {string} project - Project ID or project name
*/
getColumnSuggestedValues(project?: string): Promise<WorkInterfaces.BoardSuggestedValue[]>;
/**
* 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
*/
getBoardMappingParentItems(teamContext: TfsCoreInterfaces.TeamContext, childBacklogContextCategoryRefName: string, workitemIds: number[]): Promise<WorkInterfaces.ParentChildWIMap[]>;
/**
* Get available board rows in a project
*
* @param {string} project - Project ID or project name
*/
getRowSuggestedValues(project?: string): Promise<WorkInterfaces.BoardSuggestedValue[]>;
/**
* 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
*/
getBoard(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.Board>;
/**
* Get boards
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
getBoards(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BoardReference[]>;
/**
* 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
*/
setBoardOptions(options: {
[key: string]: string;
}, teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<{
[key: string]: string;
}>;
/**
* Get board user settings for a board id
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Board ID or Name
*/
getBoardUserSettings(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardUserSettings>;
/**
* 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
*/
updateBoardUserSettings(boardUserSettings: {
[key: string]: string;
}, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardUserSettings>;
/**
* Get a team's capacity including total capacity and days off
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - ID of the iteration
*/
getCapacitiesWithIdentityRefAndTotals(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamCapacity>;
/**
* Get a team member's capacity
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - ID of the iteration
* @param {string} teamMemberId - ID of the team member
*/
getCapacityWithIdentityRef(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, teamMemberId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef>;
/**
* Replace a team's capacity
*
* @param {WorkInterfaces.TeamMemberCapacityIdentityRef[]} capacities - Team capacity to replace
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - ID of the iteration
*/
replaceCapacitiesWithIdentityRef(capacities: WorkInterfaces.TeamMemberCapacityIdentityRef[], teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef[]>;
/**
* Update a team member's capacity
*
* @param {WorkInterfaces.CapacityPatch} patch - Updated capacity
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - ID of the iteration
* @param {string} teamMemberId - ID of the team member
*/
updateCapacityWithIdentityRef(patch: WorkInterfaces.CapacityPatch, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, teamMemberId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef>;
/**
* 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
*/
getBoardCardRuleSettings(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardRuleSettings>;
/**
* 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
*/
updateBoardCardRuleSettings(boardCardRuleSettings: WorkInterfaces.BoardCardRuleSettings, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardRuleSettings>;
/**
* Update taskboard card Rule settings
*
* @param {WorkInterfaces.BoardCardRuleSettings} boardCardRuleSettings
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
updateTaskboardCardRuleSettings(boardCardRuleSettings: WorkInterfaces.BoardCardRuleSettings, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>;
/**
* 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
*/
getBoardCardSettings(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardSettings>;
/**
* 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
*/
updateBoardCardSettings(boardCardSettingsToSave: WorkInterfaces.BoardCardSettings, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardSettings>;
/**
* Update taskboard card settings
*
* @param {WorkInterfaces.BoardCardSettings} boardCardSettingsToSave
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
updateTaskboardCardSettings(boardCardSettingsToSave: WorkInterfaces.BoardCardSettings, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>;
/**
* 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
*/
getBoardChart(teamContext: TfsCoreInterfaces.TeamContext, board: string, name: string): Promise<WorkInterfaces.BoardChart>;
/**
* 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
*/
getBoardCharts(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardChartReference[]>;
/**
* 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
*/
updateBoardChart(chart: WorkInterfaces.BoardChart, teamContext: TfsCoreInterfaces.TeamContext, board: string, name: string): Promise<WorkInterfaces.BoardChart>;
/**
* Get columns on a board
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Name or ID of the specific board
*/
getBoardColumns(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardColumn[]>;
/**
* Update columns on a board
*
* @param {WorkInterfaces.BoardColumn[]} boardColumns - List of board columns to update
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Name or ID of the specific board
*/
updateBoardColumns(boardColumns: WorkInterfaces.BoardColumn[], teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardColumn[]>;
/**
* 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
*/
getDeliveryTimelineData(project: string, id: string, revision?: number, startDate?: Date, endDate?: Date): Promise<WorkInterfaces.DeliveryViewData>;
/**
* Get an iteration's capacity for all teams in iteration
*
* @param {string} project - Project ID or project name
* @param {string} iterationId - ID of the iteration
*/
getTotalIterationCapacities(project: string, iterationId: string): Promise<WorkInterfaces.IterationCapacity>;
/**
* Delete a team's iteration by iterationId
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - ID of the iteration
*/
deleteTeamIteration(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<void>;
/**
* Get team's iteration by iterationId
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} id - ID of the iteration
*/
getTeamIteration(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.TeamSettingsIteration>;
/**
* Get a team's iterations using timeframe filter
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} timeframe - A filter for which iterations are returned based on relative time. Only Current is supported currently.
*/
getTeamIterations(teamContext: TfsCoreInterfaces.TeamContext, timeframe?: string): Promise<WorkInterfaces.TeamSettingsIteration[]>;
/**
* Add an iteration to the team
*
* @param {WorkInterfaces.TeamSettingsIteration} iteration - Iteration to add
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
postTeamIteration(iteration: WorkInterfaces.TeamSettingsIteration, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSettingsIteration>;
/**
* Add a new plan for the team
*
* @param {WorkInterfaces.CreatePlan} postedPlan - Plan definition
* @param {string} project - Project ID or project name
*/
createPlan(postedPlan: WorkInterfaces.CreatePlan, project: string): Promise<WorkInterfaces.Plan>;
/**
* Delete the specified plan
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
deletePlan(project: string, id: string): Promise<void>;
/**
* Get the information for the specified plan
*
* @param {string} project - Project ID or project name
* @param {string} id - Identifier of the plan
*/
getPlan(project: string, id: string): Promise<WorkInterfaces.Plan>;
/**
* Get the information for all the plans configured for the given team
*
* @param {string} project - Project ID or project name
*/
getPlans(project: string): Promise<WorkInterfaces.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
*/
updatePlan(updatedPlan: WorkInterfaces.UpdatePlan, project: string, id: string): Promise<WorkInterfaces.Plan>;
/**
* Get process configuration
*
* @param {string} project - Project ID or project name
*/
getProcessConfiguration(project: string): Promise<WorkInterfaces.ProcessConfiguration>;
/**
* Get rows on a board
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Name or ID of the specific board
*/
getBoardRows(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardRow[]>;
/**
* Update rows on a board
*
* @param {WorkInterfaces.BoardRow[]} boardRows - List of board rows to update
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} board - Name or ID of the specific board
*/
updateBoardRows(boardRows: WorkInterfaces.BoardRow[], teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardRow[]>;
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
getColumns(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>;
/**
* @param {WorkInterfaces.UpdateTaskboardColumn[]} updateColumns
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
updateColumns(updateColumns: WorkInterfaces.UpdateTaskboardColumn[], teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>;
/**
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
*/
getWorkItemColumns(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TaskboardWorkItemColumn[]>;
/**
* @param {WorkInterfaces.UpdateTaskboardWorkItemColumn} updateColumn
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId
* @param {number} workItemId
*/
updateWorkItemColumn(updateColumn: WorkInterfaces.UpdateTaskboardWorkItemColumn, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, workItemId: number): Promise<void>;
/**
* Get team's days off for an iteration
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - ID of the iteration
*/
getTeamDaysOff(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamSettingsDaysOff>;
/**
* Set a team's days off for an iteration
*
* @param {WorkInterfaces.TeamSettingsDaysOffPatch} daysOffPatch - Team's days off patch containing a list of start and end dates
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - ID of the iteration
*/
updateTeamDaysOff(daysOffPatch: WorkInterfaces.TeamSettingsDaysOffPatch, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamSettingsDaysOff>;
/**
* Get a collection of team field values
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
getTeamFieldValues(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>;
/**
* Update team field values
*
* @param {WorkInterfaces.TeamFieldValuesPatch} patch
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
updateTeamFieldValues(patch: WorkInterfaces.TeamFieldValuesPatch, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>;
/**
* Get a team's settings
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
getTeamSettings(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSetting>;
/**
* Update a team's settings
*
* @param {WorkInterfaces.TeamSettingsPatch} teamSettingsPatch - TeamSettings changes
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
updateTeamSettings(teamSettingsPatch: WorkInterfaces.TeamSettingsPatch, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSetting>;
/**
* Get work items for iteration
*
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - ID of the iteration
*/
getIterationWorkItems(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.IterationWorkItems>;
/**
* Reorder Product Backlog/Boards Work Items
*
* @param {WorkInterfaces.ReorderOperation} operation
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
*/
reorderBacklogWorkItems(operation: WorkInterfaces.ReorderOperation, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.ReorderResult[]>;
/**
* Reorder Sprint Backlog/Taskboard Work Items
*
* @param {WorkInterfaces.ReorderOperation} operation
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
* @param {string} iterationId - The id of the iteration
*/
reorderIterationWorkItems(operation: WorkInterfaces.ReorderOperation, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.ReorderResult[]>;
}