UNPKG

claude-flow

Version:

Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)

487 lines (486 loc) 29.5 kB
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 { constructor(ruleRequestModel: WorkInterfaces.TeamAutomationRulesSettingsRequestModel, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>; constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BacklogConfiguration>; constructor(teamContext: TfsCoreInterfaces.TeamContext, backlogId: string): Promise<WorkInterfaces.BacklogLevelWorkItems>; constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.BacklogLevelConfiguration>; constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BacklogLevelConfiguration[]>; constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string, columnOptions?: WorkInterfaces.BoardBadgeColumnOptions, columns?: string[]): Promise<WorkInterfaces.BoardBadge>; constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string, columnOptions?: WorkInterfaces.BoardBadgeColumnOptions, columns?: string[]): Promise<string>; constructor(project?: string): Promise<WorkInterfaces.BoardSuggestedValue[]>; constructor(teamContext: TfsCoreInterfaces.TeamContext, childBacklogContextCategoryRefName: string, workitemIds: number[]): Promise<WorkInterfaces.ParentChildWIMap[]>; constructor(project?: string): Promise<WorkInterfaces.BoardSuggestedValue[]>; constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.Board>; constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.BoardReference[]>; constructor(options: { [key: string]: string; }, teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<{ [key: string]: string; }>; constructor(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardUserSettings>; constructor(boardUserSettings: { [key: string]: string; }, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardUserSettings>; constructor(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamCapacity>; constructor(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, teamMemberId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef>; constructor(capacities: WorkInterfaces.TeamMemberCapacityIdentityRef[], teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef[]>; constructor(patch: WorkInterfaces.CapacityPatch, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, teamMemberId: string): Promise<WorkInterfaces.TeamMemberCapacityIdentityRef>; constructor(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardRuleSettings>; constructor(boardCardRuleSettings: WorkInterfaces.BoardCardRuleSettings, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardRuleSettings>; constructor(boardCardRuleSettings: WorkInterfaces.BoardCardRuleSettings, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>; constructor(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardSettings>; constructor(boardCardSettingsToSave: WorkInterfaces.BoardCardSettings, teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardCardSettings>; constructor(boardCardSettingsToSave: WorkInterfaces.BoardCardSettings, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>; constructor(teamContext: TfsCoreInterfaces.TeamContext, board: string, name: string): Promise<WorkInterfaces.BoardChart>; constructor(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardChartReference[]>; constructor(chart: WorkInterfaces.BoardChart, teamContext: TfsCoreInterfaces.TeamContext, board: string, name: string): Promise<WorkInterfaces.BoardChart>; constructor(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardColumn[]>; constructor(boardColumns: WorkInterfaces.BoardColumn[], teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardColumn[]>; constructor(project: string, id: string, revision?: number, startDate?: Date, endDate?: Date): Promise<WorkInterfaces.DeliveryViewData>; constructor(project: string, iterationId: string): Promise<WorkInterfaces.IterationCapacity>; constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<void>; constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.TeamSettingsIteration>; constructor(teamContext: TfsCoreInterfaces.TeamContext, timeframe?: string): Promise<WorkInterfaces.TeamSettingsIteration[]>; constructor(iteration: WorkInterfaces.TeamSettingsIteration, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSettingsIteration>; constructor(postedPlan: WorkInterfaces.CreatePlan, project: string): Promise<WorkInterfaces.Plan>; constructor(project: string, id: string): Promise<void>; constructor(project: string, id: string): Promise<WorkInterfaces.Plan>; constructor(project: string): Promise<WorkInterfaces.Plan[]>; constructor(updatedPlan: WorkInterfaces.UpdatePlan, project: string, id: string): Promise<WorkInterfaces.Plan>; constructor(project: string): Promise<WorkInterfaces.ProcessConfiguration>; constructor(teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardRow[]>; constructor(boardRows: WorkInterfaces.BoardRow[], teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardRow[]>; constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>; constructor(updateColumns: WorkInterfaces.UpdateTaskboardColumn[], teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>; constructor(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TaskboardWorkItemColumn[]>; constructor(updateColumn: WorkInterfaces.UpdateTaskboardWorkItemColumn, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string, workItemId: number): Promise<void>; constructor(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamSettingsDaysOff>; constructor(daysOffPatch: WorkInterfaces.TeamSettingsDaysOffPatch, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.TeamSettingsDaysOff>; constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>; constructor(patch: WorkInterfaces.TeamFieldValuesPatch, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>; constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSetting>; constructor(teamSettingsPatch: WorkInterfaces.TeamSettingsPatch, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamSetting>; constructor(teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.IterationWorkItems>; constructor(operation: WorkInterfaces.ReorderOperation, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.ReorderResult[]>; constructor(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 */ constructor(ruleRequestModel: WorkInterfaces.TeamAutomationRulesSettingsRequestModel, teamContext: TfsCoreInterfaces.TeamContext): Promise<void>; /** * Gets backlog configuration for a team * * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation */ constructor(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 */ constructor(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 */ constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.BacklogLevelConfiguration>; /** * List all backlog levels * * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation */ constructor(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. */ constructor(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. */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(teamContext: TfsCoreInterfaces.TeamContext, id: string): Promise<WorkInterfaces.Board>; /** * Get boards * * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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. */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(updatedPlan: WorkInterfaces.UpdatePlan, project: string, id: string): Promise<WorkInterfaces.Plan>; /** * Get process configuration * * @param {string} project - Project ID or project name */ constructor(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 */ constructor(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 */ constructor(boardRows: WorkInterfaces.BoardRow[], teamContext: TfsCoreInterfaces.TeamContext, board: string): Promise<WorkInterfaces.BoardRow[]>; /** * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation */ constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>; /** * @param {WorkInterfaces.UpdateTaskboardColumn[]} updateColumns * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation */ constructor(updateColumns: WorkInterfaces.UpdateTaskboardColumn[], teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TaskboardColumns>; /** * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation * @param {string} iterationId */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>; /** * Update team field values * * @param {WorkInterfaces.TeamFieldValuesPatch} patch * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation */ constructor(patch: WorkInterfaces.TeamFieldValuesPatch, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkInterfaces.TeamFieldValues>; /** * Get a team's settings * * @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(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 */ constructor(operation: WorkInterfaces.ReorderOperation, teamContext: TfsCoreInterfaces.TeamContext, iterationId: string): Promise<WorkInterfaces.ReorderResult[]>; }