UNPKG

claude-flow

Version:

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

426 lines (425 loc) 29.5 kB
import process from "node:process"; import basem = require('./ClientApiBases'); import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces'); import WorkItemTrackingProcessDefinitionsInterfaces = require("./interfaces/WorkItemTrackingProcessDefinitionsInterfaces"); export interface IWorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase { constructor(behavior: WorkItemTrackingProcessDefinitionsInterfaces.BehaviorCreateModel, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel>; constructor(processId: string, behaviorId: string): Promise<void>; constructor(processId: string, behaviorId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel>; constructor(processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel[]>; constructor(behaviorData: WorkItemTrackingProcessDefinitionsInterfaces.BehaviorReplaceModel, processId: string, behaviorId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel>; constructor(control: WorkItemTrackingProcessDefinitionsInterfaces.Control, processId: string, witRefName: string, groupId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Control>; constructor(control: WorkItemTrackingProcessDefinitionsInterfaces.Control, processId: string, witRefName: string, groupId: string, controlId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Control>; constructor(processId: string, witRefName: string, groupId: string, controlId: string): Promise<void>; constructor(control: WorkItemTrackingProcessDefinitionsInterfaces.Control, processId: string, witRefName: string, groupId: string, controlId: string, removeFromGroupId?: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Control>; constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.FieldModel, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.FieldModel>; constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.FieldUpdate, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.FieldModel>; constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; constructor(processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string): Promise<void>; constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string, removeFromPageId: string, removeFromSectionId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string, removeFromSectionId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; constructor(processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.FormLayout>; constructor(): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListMetadataModel[]>; constructor(picklist: WorkItemTrackingProcessDefinitionsInterfaces.PickListModel): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListModel>; constructor(listId: string): Promise<void>; constructor(listId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListModel>; constructor(picklist: WorkItemTrackingProcessDefinitionsInterfaces.PickListModel, listId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListModel>; constructor(page: WorkItemTrackingProcessDefinitionsInterfaces.Page, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Page>; constructor(page: WorkItemTrackingProcessDefinitionsInterfaces.Page, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Page>; constructor(processId: string, witRefName: string, pageId: string): Promise<void>; constructor(stateModel: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateInputModel, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; constructor(processId: string, witRefName: string, stateId: string): Promise<void>; constructor(processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; constructor(processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel[]>; constructor(hideStateModel: WorkItemTrackingProcessDefinitionsInterfaces.HideStateModel, processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; constructor(stateModel: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateInputModel, processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; constructor(behavior: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior, processId: string, witRefNameForBehaviors: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior>; constructor(processId: string, witRefNameForBehaviors: string, behaviorRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior>; constructor(processId: string, witRefNameForBehaviors: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior[]>; constructor(processId: string, witRefNameForBehaviors: string, behaviorRefName: string): Promise<void>; constructor(behavior: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior, processId: string, witRefNameForBehaviors: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior>; constructor(workItemType: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel>; constructor(processId: string, witRefName: string): Promise<void>; constructor(processId: string, witRefName: string, expand?: WorkItemTrackingProcessDefinitionsInterfaces.GetWorkItemTypeExpand): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel>; constructor(processId: string, expand?: WorkItemTrackingProcessDefinitionsInterfaces.GetWorkItemTypeExpand): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel[]>; constructor(workItemTypeUpdate: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeUpdateModel, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel>; constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2, processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; constructor(processId: string, witRefNameForFields: string, fieldRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; constructor(processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2[]>; constructor(processId: string, witRefNameForFields: string, fieldRefName: string): Promise<void>; constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2, processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; } export declare class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase implements IWorkItemTrackingProcessDefinitionsApi { constructor(baseUrl: string, handlers: VsoBaseInterfaces.IRequestHandler[], options?: VsoBaseInterfaces.IRequestOptions); static readonly RESOURCE_AREA_ID = "5264459e-e5e0-4bd8-b118-0985e68a4ec5"; /** * Creates a single behavior in the given process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.BehaviorCreateModel} behavior * @param {string} processId - The ID of the process */ constructor(behavior: WorkItemTrackingProcessDefinitionsInterfaces.BehaviorCreateModel, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel>; /** * Removes a behavior in the process. * * @param {string} processId - The ID of the process * @param {string} behaviorId - The ID of the behavior */ constructor(processId: string, behaviorId: string): Promise<void>; /** * Returns a single behavior in the process. * * @param {string} processId - The ID of the process * @param {string} behaviorId - The ID of the behavior */ constructor(processId: string, behaviorId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel>; /** * Returns a list of all behaviors in the process. * * @param {string} processId - The ID of the process */ constructor(processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel[]>; /** * Replaces a behavior in the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.BehaviorReplaceModel} behaviorData * @param {string} processId - The ID of the process * @param {string} behaviorId - The ID of the behavior */ constructor(behaviorData: WorkItemTrackingProcessDefinitionsInterfaces.BehaviorReplaceModel, processId: string, behaviorId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.BehaviorModel>; /** * Creates a control in a group * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Control} control - The control * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} groupId - The ID of the group to add the control to */ constructor(control: WorkItemTrackingProcessDefinitionsInterfaces.Control, processId: string, witRefName: string, groupId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Control>; /** * Updates a control on the work item form * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Control} control - The updated control * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} groupId - The ID of the group * @param {string} controlId - The ID of the control */ constructor(control: WorkItemTrackingProcessDefinitionsInterfaces.Control, processId: string, witRefName: string, groupId: string, controlId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Control>; /** * Removes a control from the work item form * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} groupId - The ID of the group * @param {string} controlId - The ID of the control to remove */ constructor(processId: string, witRefName: string, groupId: string, controlId: string): Promise<void>; /** * Moves a control to a new group * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Control} control - The control * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} groupId - The ID of the group to move the control to * @param {string} controlId - The id of the control * @param {string} removeFromGroupId - The group to remove the control from */ constructor(control: WorkItemTrackingProcessDefinitionsInterfaces.Control, processId: string, witRefName: string, groupId: string, controlId: string, removeFromGroupId?: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Control>; /** * Creates a single field in the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.FieldModel} field * @param {string} processId - The ID of the process */ constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.FieldModel, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.FieldModel>; /** * Updates a given field in the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.FieldUpdate} field * @param {string} processId - The ID of the process */ constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.FieldUpdate, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.FieldModel>; /** * Adds a group to the work item form * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Group} group - The group * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} pageId - The ID of the page to add the group to * @param {string} sectionId - The ID of the section to add the group to */ constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; /** * Updates a group in the work item form * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Group} group - The updated group * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} pageId - The ID of the page the group is in * @param {string} sectionId - The ID of the section the group is in * @param {string} groupId - The ID of the group */ constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; /** * Removes a group from the work item form * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} pageId - The ID of the page the group is in * @param {string} sectionId - The ID of the section to the group is in * @param {string} groupId - The ID of the group */ constructor(processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string): Promise<void>; /** * Moves a group to a different page and section * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Group} group - The updated group * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} pageId - The ID of the page the group is in * @param {string} sectionId - The ID of the section the group is in * @param {string} groupId - The ID of the group * @param {string} removeFromPageId - ID of the page to remove the group from * @param {string} removeFromSectionId - ID of the section to remove the group from */ constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string, removeFromPageId: string, removeFromSectionId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; /** * Moves a group to a different section * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Group} group - The updated group * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} pageId - The ID of the page the group is in * @param {string} sectionId - The ID of the section the group is in * @param {string} groupId - The ID of the group * @param {string} removeFromSectionId - ID of the section to remove the group from */ constructor(group: WorkItemTrackingProcessDefinitionsInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string, groupId: string, removeFromSectionId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Group>; /** * Gets the form layout * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type */ constructor(processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.FormLayout>; /** * Returns meta data of the picklist. * */ constructor(): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListMetadataModel[]>; /** * Creates a picklist. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.PickListModel} picklist */ constructor(picklist: WorkItemTrackingProcessDefinitionsInterfaces.PickListModel): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListModel>; /** * Removes a picklist. * * @param {string} listId - The ID of the list */ constructor(listId: string): Promise<void>; /** * Returns a picklist. * * @param {string} listId - The ID of the list */ constructor(listId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListModel>; /** * Updates a list. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.PickListModel} picklist * @param {string} listId - The ID of the list */ constructor(picklist: WorkItemTrackingProcessDefinitionsInterfaces.PickListModel, listId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.PickListModel>; /** * Adds a page to the work item form * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Page} page - The page * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type */ constructor(page: WorkItemTrackingProcessDefinitionsInterfaces.Page, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Page>; /** * Updates a page on the work item form * * @param {WorkItemTrackingProcessDefinitionsInterfaces.Page} page - The page * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type */ constructor(page: WorkItemTrackingProcessDefinitionsInterfaces.Page, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.Page>; /** * Removes a page from the work item form * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} pageId - The ID of the page */ constructor(processId: string, witRefName: string, pageId: string): Promise<void>; /** * Creates a state definition in the work item type of the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateInputModel} stateModel * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type */ constructor(stateModel: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateInputModel, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; /** * Removes a state definition in the work item type of the process. * * @param {string} processId - ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} stateId - ID of the state */ constructor(processId: string, witRefName: string, stateId: string): Promise<void>; /** * Returns a state definition in the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} stateId - The ID of the state */ constructor(processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; /** * Returns a list of all state definitions in the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type */ constructor(processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel[]>; /** * Hides a state definition in the work item type of the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.HideStateModel} hideStateModel * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} stateId - The ID of the state */ constructor(hideStateModel: WorkItemTrackingProcessDefinitionsInterfaces.HideStateModel, processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; /** * Updates a given state definition in the work item type of the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateInputModel} stateModel * @param {string} processId - ID of the process * @param {string} witRefName - The reference name of the work item type * @param {string} stateId - ID of the state */ constructor(stateModel: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateInputModel, processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemStateResultModel>; /** * Adds a behavior to the work item type of the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior} behavior * @param {string} processId - The ID of the process * @param {string} witRefNameForBehaviors - Work item type reference name for the behavior */ constructor(behavior: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior, processId: string, witRefNameForBehaviors: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior>; /** * Returns a behavior for the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefNameForBehaviors - Work item type reference name for the behavior * @param {string} behaviorRefName - The reference name of the behavior */ constructor(processId: string, witRefNameForBehaviors: string, behaviorRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior>; /** * Returns a list of all behaviors for the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefNameForBehaviors - Work item type reference name for the behavior */ constructor(processId: string, witRefNameForBehaviors: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior[]>; /** * Removes a behavior for the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefNameForBehaviors - Work item type reference name for the behavior * @param {string} behaviorRefName - The reference name of the behavior */ constructor(processId: string, witRefNameForBehaviors: string, behaviorRefName: string): Promise<void>; /** * Updates default work item type for the behavior of the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior} behavior * @param {string} processId - The ID of the process * @param {string} witRefNameForBehaviors - Work item type reference name for the behavior */ constructor(behavior: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior, processId: string, witRefNameForBehaviors: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeBehavior>; /** * Creates a work item type in the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel} workItemType * @param {string} processId - The ID of the process */ constructor(workItemType: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel, processId: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel>; /** * Removes a work item type in the process. * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type */ constructor(processId: string, witRefName: string): Promise<void>; /** * Returns a work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type * @param {WorkItemTrackingProcessDefinitionsInterfaces.GetWorkItemTypeExpand} expand */ constructor(processId: string, witRefName: string, expand?: WorkItemTrackingProcessDefinitionsInterfaces.GetWorkItemTypeExpand): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel>; /** * Returns a list of all work item types in the process. * * @param {string} processId - The ID of the process * @param {WorkItemTrackingProcessDefinitionsInterfaces.GetWorkItemTypeExpand} expand */ constructor(processId: string, expand?: WorkItemTrackingProcessDefinitionsInterfaces.GetWorkItemTypeExpand): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel[]>; /** * Updates a work item type of the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeUpdateModel} workItemTypeUpdate * @param {string} processId - The ID of the process * @param {string} witRefName - The reference name of the work item type */ constructor(workItemTypeUpdate: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeUpdateModel, processId: string, witRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeModel>; /** * Adds a field to the work item type in the process. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2} field * @param {string} processId - The ID of the process * @param {string} witRefNameForFields - Work item type reference name for the field */ constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2, processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; /** * Returns a single field in the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefNameForFields - Work item type reference name for fields * @param {string} fieldRefName - The reference name of the field */ constructor(processId: string, witRefNameForFields: string, fieldRefName: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; /** * Returns a list of all fields in the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefNameForFields - Work item type reference name for fields */ constructor(processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2[]>; /** * Removes a field in the work item type of the process. * * @param {string} processId - The ID of the process * @param {string} witRefNameForFields - Work item type reference name for fields * @param {string} fieldRefName - The reference name of the field */ constructor(processId: string, witRefNameForFields: string, fieldRefName: string): Promise<void>; /** * Updates a single field in the scope of the given process and work item type. * * @param {WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2} field - The model with which to update the field * @param {string} processId - The ID of the process * @param {string} witRefNameForFields - Work item type reference name for fields */ constructor(field: WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2, processId: string, witRefNameForFields: string): Promise<WorkItemTrackingProcessDefinitionsInterfaces.WorkItemTypeFieldModel2>; }