Родитель
d4b692556d
Коммит
fd94f64eef
|
@ -5,6 +5,9 @@ _def
|
|||
# Samples
|
||||
samples/*.js
|
||||
|
||||
# Tests
|
||||
test/**.js
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
|
613
api/BuildApi.ts
613
api/BuildApi.ts
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -76,7 +76,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"54b2a2a0-859b-4d05-827c-ec4c862f641a",
|
||||
routeValues);
|
||||
|
@ -119,7 +119,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"54b2a2a0-859b-4d05-827c-ec4c862f641a",
|
||||
routeValues);
|
||||
|
@ -160,7 +160,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"b4f70219-e18b-42c5-abe3-98b07d35525e",
|
||||
routeValues);
|
||||
|
@ -202,7 +202,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"b4f70219-e18b-42c5-abe3-98b07d35525e",
|
||||
routeValues);
|
||||
|
@ -247,7 +247,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"b4f70219-e18b-42c5-abe3-98b07d35525e",
|
||||
routeValues,
|
||||
|
@ -289,7 +289,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"5ead0b70-2572-4697-97e9-f341069a783a",
|
||||
routeValues);
|
||||
|
@ -330,7 +330,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"5ead0b70-2572-4697-97e9-f341069a783a",
|
||||
routeValues);
|
||||
|
@ -369,7 +369,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"5ead0b70-2572-4697-97e9-f341069a783a",
|
||||
routeValues);
|
||||
|
@ -410,7 +410,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"5ead0b70-2572-4697-97e9-f341069a783a",
|
||||
routeValues);
|
||||
|
@ -463,7 +463,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"core",
|
||||
"294c494c-2600-4d7e-b76c-3dd50c3c95be",
|
||||
routeValues,
|
||||
|
@ -505,7 +505,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"93878975-88c5-4e6a-8abb-7ddd77a8a7d8",
|
||||
routeValues);
|
||||
|
@ -543,7 +543,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"93878975-88c5-4e6a-8abb-7ddd77a8a7d8",
|
||||
routeValues);
|
||||
|
@ -584,7 +584,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"core",
|
||||
"8031090f-ef1d-4af6-85fc-698cd75d42bf",
|
||||
routeValues);
|
||||
|
@ -631,7 +631,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"core",
|
||||
"8031090f-ef1d-4af6-85fc-698cd75d42bf",
|
||||
routeValues,
|
||||
|
@ -676,7 +676,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"core",
|
||||
"6488a877-4749-4954-82ea-7340d36be9f2",
|
||||
routeValues,
|
||||
|
@ -727,7 +727,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"core",
|
||||
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
|
||||
routeValues,
|
||||
|
@ -784,7 +784,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"core",
|
||||
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
|
||||
routeValues,
|
||||
|
@ -825,7 +825,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"core",
|
||||
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
|
||||
routeValues);
|
||||
|
@ -866,7 +866,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"core",
|
||||
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
|
||||
routeValues);
|
||||
|
@ -909,7 +909,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"core",
|
||||
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
|
||||
routeValues);
|
||||
|
@ -959,7 +959,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"0a3ffdfc-fe94-47a6-bb27-79bf3f762eac",
|
||||
routeValues,
|
||||
|
@ -1007,7 +1007,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"4976a71a-4487-49aa-8aab-a1eda469037a",
|
||||
routeValues,
|
||||
|
@ -1055,7 +1055,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"core",
|
||||
"4976a71a-4487-49aa-8aab-a1eda469037a",
|
||||
routeValues);
|
||||
|
@ -1094,7 +1094,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"core",
|
||||
"ec1f4311-f2b4-4c15-b2b8-8990b80d2908",
|
||||
routeValues);
|
||||
|
@ -1142,7 +1142,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"core",
|
||||
"ec1f4311-f2b4-4c15-b2b8-8990b80d2908",
|
||||
routeValues,
|
||||
|
@ -1185,7 +1185,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"core",
|
||||
"ec1f4311-f2b4-4c15-b2b8-8990b80d2908",
|
||||
routeValues,
|
||||
|
@ -1239,7 +1239,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"core",
|
||||
"7a4d9ee9-3433-4347-b47a-7a80f1cf307e",
|
||||
routeValues,
|
||||
|
@ -1283,7 +1283,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"core",
|
||||
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
|
||||
routeValues);
|
||||
|
@ -1312,7 +1312,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
* Delete a team.
|
||||
*
|
||||
* @param {string} projectId - The name or ID (GUID) of the team project containing the team to delete.
|
||||
* @param {string} teamId - The name of ID of the team to delete.
|
||||
* @param {string} teamId - The name or ID of the team to delete.
|
||||
*/
|
||||
public async deleteTeam(
|
||||
projectId: string,
|
||||
|
@ -1327,7 +1327,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"core",
|
||||
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
|
||||
routeValues);
|
||||
|
@ -1377,7 +1377,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"core",
|
||||
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
|
||||
routeValues,
|
||||
|
@ -1434,7 +1434,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"core",
|
||||
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
|
||||
routeValues,
|
||||
|
@ -1481,7 +1481,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"core",
|
||||
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
|
||||
routeValues);
|
||||
|
|
|
@ -21,7 +21,7 @@ export interface IDashboardApi extends basem.ClientApiBase {
|
|||
createDashboard(dashboard: DashboardInterfaces.Dashboard, teamContext: TfsCoreInterfaces.TeamContext): Promise<DashboardInterfaces.Dashboard>;
|
||||
deleteDashboard(teamContext: TfsCoreInterfaces.TeamContext, dashboardId: string): Promise<void>;
|
||||
getDashboard(teamContext: TfsCoreInterfaces.TeamContext, dashboardId: string): Promise<DashboardInterfaces.Dashboard>;
|
||||
getDashboards(teamContext: TfsCoreInterfaces.TeamContext): Promise<DashboardInterfaces.DashboardGroup>;
|
||||
getDashboardsByProject(teamContext: TfsCoreInterfaces.TeamContext): Promise<DashboardInterfaces.Dashboard[]>;
|
||||
replaceDashboard(dashboard: DashboardInterfaces.Dashboard, teamContext: TfsCoreInterfaces.TeamContext, dashboardId: string): Promise<DashboardInterfaces.Dashboard>;
|
||||
replaceDashboards(group: DashboardInterfaces.DashboardGroup, teamContext: TfsCoreInterfaces.TeamContext): Promise<DashboardInterfaces.DashboardGroup>;
|
||||
createWidget(widget: DashboardInterfaces.Widget, teamContext: TfsCoreInterfaces.TeamContext, dashboardId: string): Promise<DashboardInterfaces.Widget>;
|
||||
|
@ -66,7 +66,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.3",
|
||||
"Dashboard",
|
||||
"454b3e51-2e6e-48d4-ad81-978154089351",
|
||||
routeValues);
|
||||
|
@ -79,7 +79,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.create<DashboardInterfaces.Dashboard>(url, dashboard, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Dashboard,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -118,7 +118,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.3",
|
||||
"Dashboard",
|
||||
"454b3e51-2e6e-48d4-ad81-978154089351",
|
||||
routeValues);
|
||||
|
@ -170,7 +170,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.3",
|
||||
"Dashboard",
|
||||
"454b3e51-2e6e-48d4-ad81-978154089351",
|
||||
routeValues);
|
||||
|
@ -183,7 +183,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.get<DashboardInterfaces.Dashboard>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Dashboard,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -196,15 +196,15 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get a list of dashboards.
|
||||
* Get a list of dashboards under a project.
|
||||
*
|
||||
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
|
||||
*/
|
||||
public async getDashboards(
|
||||
public async getDashboardsByProject(
|
||||
teamContext: TfsCoreInterfaces.TeamContext
|
||||
): Promise<DashboardInterfaces.DashboardGroup> {
|
||||
): Promise<DashboardInterfaces.Dashboard[]> {
|
||||
|
||||
return new Promise<DashboardInterfaces.DashboardGroup>(async (resolve, reject) => {
|
||||
return new Promise<DashboardInterfaces.Dashboard[]>(async (resolve, reject) => {
|
||||
let project = null;
|
||||
let team = null;
|
||||
if (teamContext) {
|
||||
|
@ -219,7 +219,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.3",
|
||||
"Dashboard",
|
||||
"454b3e51-2e6e-48d4-ad81-978154089351",
|
||||
routeValues);
|
||||
|
@ -228,12 +228,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<DashboardInterfaces.DashboardGroup>;
|
||||
res = await this.rest.get<DashboardInterfaces.DashboardGroup>(url, options);
|
||||
let res: restm.IRestResponse<DashboardInterfaces.Dashboard[]>;
|
||||
res = await this.rest.get<DashboardInterfaces.Dashboard[]>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
DashboardInterfaces.TypeInfo.DashboardGroup,
|
||||
false);
|
||||
DashboardInterfaces.TypeInfo.Dashboard,
|
||||
true);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
|
@ -273,7 +273,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.3",
|
||||
"Dashboard",
|
||||
"454b3e51-2e6e-48d4-ad81-978154089351",
|
||||
routeValues);
|
||||
|
@ -286,7 +286,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.replace<DashboardInterfaces.Dashboard>(url, dashboard, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Dashboard,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -324,7 +324,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.3",
|
||||
"Dashboard",
|
||||
"454b3e51-2e6e-48d4-ad81-978154089351",
|
||||
routeValues);
|
||||
|
@ -378,7 +378,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Dashboard",
|
||||
"bdcff53a-8355-4172-a00a-40497ea23afc",
|
||||
routeValues);
|
||||
|
@ -391,7 +391,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.create<DashboardInterfaces.Widget>(url, widget, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Widget,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -433,7 +433,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Dashboard",
|
||||
"bdcff53a-8355-4172-a00a-40497ea23afc",
|
||||
routeValues);
|
||||
|
@ -446,7 +446,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.del<DashboardInterfaces.Dashboard>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Dashboard,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -488,7 +488,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Dashboard",
|
||||
"bdcff53a-8355-4172-a00a-40497ea23afc",
|
||||
routeValues);
|
||||
|
@ -501,7 +501,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.get<DashboardInterfaces.Widget>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Widget,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -545,7 +545,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Dashboard",
|
||||
"bdcff53a-8355-4172-a00a-40497ea23afc",
|
||||
routeValues);
|
||||
|
@ -558,7 +558,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.replace<DashboardInterfaces.Widget>(url, widget, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Widget,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -602,7 +602,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Dashboard",
|
||||
"bdcff53a-8355-4172-a00a-40497ea23afc",
|
||||
routeValues);
|
||||
|
@ -615,7 +615,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
res = await this.rest.update<DashboardInterfaces.Widget>(url, widget, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
DashboardInterfaces.TypeInfo.Widget,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -646,7 +646,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Dashboard",
|
||||
"6b3628d3-e96f-4fc7-b176-50240b03b515",
|
||||
routeValues);
|
||||
|
@ -672,7 +672,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get all available widget metadata in alphabetical order.
|
||||
* Get all available widget metadata in alphabetical order, including widgets marked with isVisibleFromCatalog == false.
|
||||
*
|
||||
* @param {DashboardInterfaces.WidgetScope} scope
|
||||
* @param {string} project - Project ID or project name
|
||||
|
@ -696,7 +696,7 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Dashboard",
|
||||
"6b3628d3-e96f-4fc7-b176-50240b03b515",
|
||||
routeValues,
|
||||
|
|
|
@ -90,7 +90,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"288dff58-d13b-468e-9671-0fb754e9398c",
|
||||
routeValues,
|
||||
|
@ -129,7 +129,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"da616457-eed3-4672-92d7-18d21f5c1658",
|
||||
routeValues);
|
||||
|
@ -171,7 +171,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"23a312e0-562d-42fb-a505-5a046b5635db",
|
||||
routeValues);
|
||||
|
@ -216,7 +216,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"f21cfc80-d2d2-4248-98bb-7820c74c4606",
|
||||
routeValues);
|
||||
|
@ -269,7 +269,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
|
||||
routeValues);
|
||||
|
@ -323,7 +323,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
|
||||
routeValues);
|
||||
|
@ -377,7 +377,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
|
||||
routeValues);
|
||||
|
@ -428,7 +428,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
|
||||
routeValues);
|
||||
|
@ -481,7 +481,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
|
||||
routeValues);
|
||||
|
@ -534,7 +534,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
|
||||
routeValues);
|
||||
|
@ -580,7 +580,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"56c331f1-ce53-4318-adfd-4db5c52a7a2e",
|
||||
routeValues);
|
||||
|
@ -633,7 +633,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"92755d3d-9a8a-42b3-8a4d-87359fe5aa93",
|
||||
routeValues,
|
||||
|
@ -672,7 +672,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"046c980f-1345-4ce2-bf85-b46d10ff4cfd",
|
||||
routeValues);
|
||||
|
@ -725,7 +725,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"275424d0-c844-4fe2-bda6-04933a1357d8",
|
||||
routeValues,
|
||||
|
@ -766,7 +766,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"275424d0-c844-4fe2-bda6-04933a1357d8",
|
||||
routeValues);
|
||||
|
@ -816,7 +816,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"fb0da285-f23e-4b56-8b53-3ef5f9f6de66",
|
||||
routeValues,
|
||||
|
@ -864,7 +864,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"fb0da285-f23e-4b56-8b53-3ef5f9f6de66",
|
||||
routeValues);
|
||||
|
@ -917,7 +917,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"fb0da285-f23e-4b56-8b53-3ef5f9f6de66",
|
||||
routeValues,
|
||||
|
@ -957,7 +957,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"e5cc8c09-407b-4867-8319-2ae3338cbf6f",
|
||||
routeValues);
|
||||
|
@ -1013,7 +1013,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"aa93e1f3-511c-4364-8b9c-eb98818f2e0b",
|
||||
routeValues,
|
||||
|
@ -1050,7 +1050,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"216b978f-b164-424e-ada2-b77561e842b7",
|
||||
routeValues);
|
||||
|
@ -1103,7 +1103,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"ba93e1f3-511c-4364-8b9c-eb98818f2e0b",
|
||||
routeValues,
|
||||
|
@ -1146,7 +1146,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"f5afca1e-a728-4294-aa2d-4af0173431b5",
|
||||
routeValues);
|
||||
|
@ -1190,7 +1190,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"f5afca1e-a728-4294-aa2d-4af0173431b5",
|
||||
routeValues);
|
||||
|
@ -1226,7 +1226,7 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"ExtensionManagement",
|
||||
"3a2e24ed-1d6f-4cb2-9f3b-45a96bbfaf50",
|
||||
routeValues);
|
||||
|
|
|
@ -49,7 +49,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"c4209f25-7a27-41dd-9f04-06080c7b6afd",
|
||||
routeValues);
|
||||
|
@ -93,7 +93,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"c4209f25-7a27-41dd-9f04-06080c7b6afd",
|
||||
routeValues,
|
||||
|
@ -138,7 +138,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"98911314-3f9b-4eaf-80e8-83900d8e85d9",
|
||||
routeValues);
|
||||
|
@ -193,7 +193,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"98911314-3f9b-4eaf-80e8-83900d8e85d9",
|
||||
routeValues,
|
||||
|
@ -244,7 +244,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"dd291e43-aa9f-4cee-8465-a93c78e414a4",
|
||||
routeValues);
|
||||
|
@ -305,7 +305,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"dd291e43-aa9f-4cee-8465-a93c78e414a4",
|
||||
routeValues,
|
||||
|
@ -346,7 +346,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"2b4486ad-122b-400c-ae65-17b6672c1f9d",
|
||||
routeValues);
|
||||
|
@ -389,7 +389,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"3f810f28-03e2-4239-b0bc-788add3005e5",
|
||||
routeValues);
|
||||
|
@ -438,7 +438,7 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"FeatureManagement",
|
||||
"f29e997b-c2da-4d15-8380-765788a1a74c",
|
||||
routeValues);
|
||||
|
|
|
@ -53,7 +53,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"Container",
|
||||
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
|
||||
routeValues,
|
||||
|
@ -107,7 +107,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"Container",
|
||||
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
|
||||
routeValues,
|
||||
|
@ -155,7 +155,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"Container",
|
||||
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
|
||||
routeValues,
|
||||
|
@ -219,7 +219,7 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.4",
|
||||
"6.0-preview.4",
|
||||
"Container",
|
||||
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
|
||||
routeValues,
|
||||
|
|
|
@ -122,7 +122,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"1f19631b-a0b4-4a03-89c2-d79785d24360",
|
||||
routeValues);
|
||||
|
@ -164,7 +164,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"1f19631b-a0b4-4a03-89c2-d79785d24360",
|
||||
routeValues);
|
||||
|
@ -209,7 +209,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"a1e66d8f-f5de-4d16-8309-91a4e015ee46",
|
||||
routeValues);
|
||||
|
@ -254,7 +254,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"a1e66d8f-f5de-4d16-8309-91a4e015ee46",
|
||||
routeValues);
|
||||
|
@ -308,7 +308,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"9d0a0105-075e-4760-aa15-8bcf54d1bd7d",
|
||||
routeValues,
|
||||
|
@ -347,7 +347,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"3adb1f2d-e328-446e-be73-9f6d98071c45",
|
||||
routeValues);
|
||||
|
@ -410,7 +410,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"7529171f-a002-4180-93ba-685f358a0482",
|
||||
routeValues,
|
||||
|
@ -418,7 +418,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -463,7 +463,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"5d545f3d-ef47-488b-8be3-f5ee1517856c",
|
||||
routeValues,
|
||||
|
@ -471,7 +471,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -516,7 +516,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"506aff36-2622-4f70-8063-77cce6366d20",
|
||||
routeValues,
|
||||
|
@ -524,7 +524,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -557,7 +557,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"efd202a6-9d87-4ebc-9229-d2b8ae2fdb6d",
|
||||
routeValues,
|
||||
|
@ -597,7 +597,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"efd202a6-9d87-4ebc-9229-d2b8ae2fdb6d",
|
||||
routeValues);
|
||||
|
@ -639,7 +639,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"e0a5a71e-3ac3-43a0-ae7d-0bb5c3046a2a",
|
||||
routeValues,
|
||||
|
@ -688,7 +688,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"75d3c04d-84d2-4973-acd2-22627587dabc",
|
||||
routeValues,
|
||||
|
@ -749,7 +749,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"1102bb42-82b0-4955-8d8a-435d6b4cedd3",
|
||||
routeValues,
|
||||
|
@ -807,7 +807,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"31fba831-35b2-46f6-a641-d05de5a877d8",
|
||||
routeValues,
|
||||
|
@ -853,14 +853,14 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"e905ad6a-3f1f-4d08-9f6d-7d357ff8b7d0",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -887,14 +887,14 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"c0f1c7c4-3557-4ffb-b774-1e48c4865e99",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -921,7 +921,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"02b33873-4e61-496e-83a2-59d1df46b7d8",
|
||||
routeValues);
|
||||
|
@ -968,7 +968,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"02b33873-4e61-496e-83a2-59d1df46b7d8",
|
||||
routeValues);
|
||||
|
@ -1022,7 +1022,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"02b33873-4e61-496e-83a2-59d1df46b7d8",
|
||||
routeValues);
|
||||
|
@ -1077,7 +1077,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"f1db9c47-6619-4998-a7e5-d7f9f41a4617",
|
||||
routeValues);
|
||||
|
@ -1129,7 +1129,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"b3ab127d-ebb9-4d22-b611-4e09593c8d79",
|
||||
routeValues);
|
||||
|
@ -1174,7 +1174,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"b3ab127d-ebb9-4d22-b611-4e09593c8d79",
|
||||
routeValues);
|
||||
|
@ -1225,7 +1225,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"b3ab127d-ebb9-4d22-b611-4e09593c8d79",
|
||||
routeValues);
|
||||
|
@ -1277,7 +1277,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"88c0b1c8-b4f1-498a-9b2a-8446ef9f32e7",
|
||||
routeValues);
|
||||
|
@ -1332,7 +1332,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"88c0b1c8-b4f1-498a-9b2a-8446ef9f32e7",
|
||||
routeValues,
|
||||
|
@ -1340,7 +1340,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -1370,14 +1370,14 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"88c0b1c8-b4f1-498a-9b2a-8446ef9f32e7",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -1421,7 +1421,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"3d13c499-2168-4d06-bef4-14aba185dcd5",
|
||||
routeValues,
|
||||
|
@ -1462,7 +1462,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"0bf2bd3a-70e0-4d5d-8bf7-bd4a9c2ab6e7",
|
||||
routeValues);
|
||||
|
@ -1512,7 +1512,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"eb9d5ee1-6d43-456b-b80e-8a96fbc014b6",
|
||||
routeValues,
|
||||
|
@ -1556,7 +1556,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"a41192c8-9525-4b58-bc86-179fa549d80d",
|
||||
routeValues);
|
||||
|
@ -1602,7 +1602,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"a41192c8-9525-4b58-bc86-179fa549d80d",
|
||||
routeValues,
|
||||
|
@ -1651,7 +1651,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"a41192c8-9525-4b58-bc86-179fa549d80d",
|
||||
routeValues,
|
||||
|
@ -1691,7 +1691,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"a41192c8-9525-4b58-bc86-179fa549d80d",
|
||||
routeValues);
|
||||
|
@ -1736,7 +1736,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"e11ea35a-16fe-4b80-ab11-c4cab88a0966",
|
||||
routeValues);
|
||||
|
@ -1785,7 +1785,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"e11ea35a-16fe-4b80-ab11-c4cab88a0966",
|
||||
routeValues,
|
||||
|
@ -1846,7 +1846,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"e11ea35a-16fe-4b80-ab11-c4cab88a0966",
|
||||
routeValues,
|
||||
|
@ -1904,7 +1904,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"e11ea35a-16fe-4b80-ab11-c4cab88a0966",
|
||||
routeValues,
|
||||
|
@ -1957,7 +1957,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"gallery",
|
||||
"e11ea35a-16fe-4b80-ab11-c4cab88a0966",
|
||||
routeValues,
|
||||
|
@ -2006,7 +2006,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"328a3af8-d124-46e9-9483-01690cd415b9",
|
||||
routeValues);
|
||||
|
@ -2054,7 +2054,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"328a3af8-d124-46e9-9483-01690cd415b9",
|
||||
routeValues);
|
||||
|
@ -2092,7 +2092,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"05e8a5e1-8c59-4c2c-8856-0ff087d1a844",
|
||||
routeValues);
|
||||
|
@ -2132,7 +2132,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"eab39817-413c-4602-a49f-07ad00844980",
|
||||
routeValues);
|
||||
|
@ -2194,7 +2194,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"7cb576f8-1cae-4c4b-b7b1-e4af5759e965",
|
||||
routeValues,
|
||||
|
@ -2202,7 +2202,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2253,7 +2253,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"364415a1-0077-4a41-a7a0-06edd4497492",
|
||||
routeValues,
|
||||
|
@ -2261,7 +2261,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2293,7 +2293,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"21143299-34f9-4c62-8ca8-53da691192f9",
|
||||
routeValues,
|
||||
|
@ -2341,7 +2341,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"21143299-34f9-4c62-8ca8-53da691192f9",
|
||||
routeValues,
|
||||
|
@ -2349,7 +2349,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2390,7 +2390,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"21143299-34f9-4c62-8ca8-53da691192f9",
|
||||
routeValues,
|
||||
|
@ -2430,7 +2430,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"2ad6ee0a-b53f-4034-9d1d-d009fda1212e",
|
||||
routeValues);
|
||||
|
@ -2468,7 +2468,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"4ddec66a-e4f6-4f5d-999e-9e77710d7ff4",
|
||||
routeValues);
|
||||
|
@ -2507,7 +2507,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"4ddec66a-e4f6-4f5d-999e-9e77710d7ff4",
|
||||
routeValues);
|
||||
|
@ -2552,7 +2552,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"4ddec66a-e4f6-4f5d-999e-9e77710d7ff4",
|
||||
routeValues,
|
||||
|
@ -2594,7 +2594,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"4ddec66a-e4f6-4f5d-999e-9e77710d7ff4",
|
||||
routeValues);
|
||||
|
@ -2643,7 +2643,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"4ddec66a-e4f6-4f5d-999e-9e77710d7ff4",
|
||||
routeValues,
|
||||
|
@ -2700,7 +2700,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"c010d03d-812c-4ade-ae07-c1862475eda5",
|
||||
routeValues,
|
||||
|
@ -2750,7 +2750,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"784910cd-254a-494d-898b-0728549b2f10",
|
||||
routeValues);
|
||||
|
@ -2796,7 +2796,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"6d1d9741-eca8-4701-a3a5-235afc82dfa4",
|
||||
routeValues);
|
||||
|
@ -2843,7 +2843,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"6d1d9741-eca8-4701-a3a5-235afc82dfa4",
|
||||
routeValues);
|
||||
|
@ -2892,7 +2892,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"6d1d9741-eca8-4701-a3a5-235afc82dfa4",
|
||||
routeValues);
|
||||
|
@ -2941,7 +2941,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"7f8ae5e0-46b0-438f-b2e8-13e8513517bd",
|
||||
routeValues);
|
||||
|
@ -2991,7 +2991,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"7f8ae5e0-46b0-438f-b2e8-13e8513517bd",
|
||||
routeValues);
|
||||
|
@ -3043,7 +3043,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"7f8ae5e0-46b0-438f-b2e8-13e8513517bd",
|
||||
routeValues);
|
||||
|
@ -3099,7 +3099,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"79e0c74f-157f-437e-845f-74fbb4121d4c",
|
||||
routeValues,
|
||||
|
@ -3159,7 +3159,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"5b3f819f-f247-42ad-8c00-dd9ab9ab246d",
|
||||
routeValues,
|
||||
|
@ -3213,7 +3213,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"b7b44e21-209e-48f0-ae78-04727fc37d77",
|
||||
routeValues,
|
||||
|
@ -3260,7 +3260,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"e6e85b9d-aa70-40e6-aa28-d0fbf40b91a3",
|
||||
routeValues);
|
||||
|
@ -3288,7 +3288,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
/**
|
||||
* Deletes a review
|
||||
*
|
||||
* @param {string} pubName - Name of the pubilsher who published the extension
|
||||
* @param {string} pubName - Name of the publisher who published the extension
|
||||
* @param {string} extName - Name of the extension
|
||||
* @param {number} reviewId - Id of the review which needs to be updated
|
||||
*/
|
||||
|
@ -3307,7 +3307,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"e6e85b9d-aa70-40e6-aa28-d0fbf40b91a3",
|
||||
routeValues);
|
||||
|
@ -3336,7 +3336,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
* Updates or Flags a review
|
||||
*
|
||||
* @param {GalleryInterfaces.ReviewPatch} reviewPatch - ReviewPatch object which contains the changes to be applied to the review
|
||||
* @param {string} pubName - Name of the pubilsher who published the extension
|
||||
* @param {string} pubName - Name of the publisher who published the extension
|
||||
* @param {string} extName - Name of the extension
|
||||
* @param {number} reviewId - Id of the review which needs to be updated
|
||||
*/
|
||||
|
@ -3356,7 +3356,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"e6e85b9d-aa70-40e6-aa28-d0fbf40b91a3",
|
||||
routeValues);
|
||||
|
@ -3394,7 +3394,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"476531a3-7024-4516-a76a-ed64d3008ad6",
|
||||
routeValues);
|
||||
|
@ -3438,7 +3438,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"9b75ece3-7960-401c-848b-148ac01ca350",
|
||||
routeValues);
|
||||
|
@ -3481,7 +3481,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"9b75ece3-7960-401c-848b-148ac01ca350",
|
||||
routeValues);
|
||||
|
@ -3526,7 +3526,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"92ed5cf4-c38b-465a-9059-2f2fb7c624b5",
|
||||
routeValues,
|
||||
|
@ -3566,7 +3566,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"92ed5cf4-c38b-465a-9059-2f2fb7c624b5",
|
||||
routeValues);
|
||||
|
@ -3610,7 +3610,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"a0ea3204-11e9-422d-a9ca-45851cc41400",
|
||||
routeValues);
|
||||
|
@ -3664,7 +3664,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"ae06047e-51c5-4fb4-ab65-7be488544416",
|
||||
routeValues,
|
||||
|
@ -3712,7 +3712,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"4fa7adb6-ca65-4075-a232-5f28323288ea",
|
||||
routeValues);
|
||||
|
@ -3768,7 +3768,7 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"4fa7adb6-ca65-4075-a232-5f28323288ea",
|
||||
routeValues,
|
||||
|
@ -3814,14 +3814,14 @@ export class GalleryApi extends compatBase.GalleryCompatHttpClientBase implement
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"gallery",
|
||||
"c5523abe-b843-437f-875b-5833064efe4d",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
|
827
api/GitApi.ts
827
api/GitApi.ts
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -59,7 +59,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"00d9565f-ed9c-4a06-9a50-00e7896ccab4",
|
||||
routeValues,
|
||||
|
@ -108,7 +108,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"e81700f7-3be2-46de-8624-2eb35882fcaa",
|
||||
routeValues,
|
||||
|
@ -157,7 +157,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"e81700f7-3be2-46de-8624-2eb35882fcaa",
|
||||
routeValues,
|
||||
|
@ -203,7 +203,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"e81700f7-3be2-46de-8624-2eb35882fcaa",
|
||||
routeValues,
|
||||
|
@ -249,7 +249,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"e81700f7-3be2-46de-8624-2eb35882fcaa",
|
||||
routeValues,
|
||||
|
@ -292,7 +292,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
|
||||
routeValues);
|
||||
|
@ -345,7 +345,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
|
||||
routeValues,
|
||||
|
@ -385,7 +385,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
|
||||
routeValues);
|
||||
|
@ -423,7 +423,7 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Location",
|
||||
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
|
||||
routeValues);
|
||||
|
|
|
@ -61,7 +61,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"8f3c6ab2-5bae-4537-b16e-f84e0955599e",
|
||||
routeValues);
|
||||
|
@ -87,12 +87,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
}
|
||||
|
||||
/**
|
||||
* List diagnostic logs this service.
|
||||
* Get a list of diagnostic logs for this service.
|
||||
*
|
||||
* @param {string} source
|
||||
* @param {string} entryId
|
||||
* @param {Date} startTime
|
||||
* @param {Date} endTime
|
||||
* @param {string} source - ID specifying which type of logs to check diagnostics for.
|
||||
* @param {string} entryId - The ID of the specific log to query for.
|
||||
* @param {Date} startTime - Start time for the time range to query in.
|
||||
* @param {Date} endTime - End time for the time range to query in.
|
||||
*/
|
||||
public async listLogs(
|
||||
source: string,
|
||||
|
@ -114,7 +114,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"991842f3-eb16-4aea-ac81-81353ef2b75c",
|
||||
routeValues,
|
||||
|
@ -141,7 +141,9 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {string} subscriptionId
|
||||
* Get the diagnostics settings for a subscription.
|
||||
*
|
||||
* @param {string} subscriptionId - The id of the notifications subscription.
|
||||
*/
|
||||
public async getSubscriptionDiagnostics(
|
||||
subscriptionId: string
|
||||
|
@ -154,7 +156,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"20f1929d-4be7-4c2e-a74e-d47640ff3418",
|
||||
routeValues);
|
||||
|
@ -180,8 +182,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
}
|
||||
|
||||
/**
|
||||
* Update the diagnostics settings for a subscription.
|
||||
*
|
||||
* @param {NotificationInterfaces.UpdateSubscripitonDiagnosticsParameters} updateParameters
|
||||
* @param {string} subscriptionId
|
||||
* @param {string} subscriptionId - The id of the notifications subscription.
|
||||
*/
|
||||
public async updateSubscriptionDiagnostics(
|
||||
updateParameters: NotificationInterfaces.UpdateSubscripitonDiagnosticsParameters,
|
||||
|
@ -195,7 +199,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"20f1929d-4be7-4c2e-a74e-d47640ff3418",
|
||||
routeValues);
|
||||
|
@ -235,7 +239,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"14c57b7a-c0e6-4555-9f51-e067188fdd8e",
|
||||
routeValues);
|
||||
|
@ -275,7 +279,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"9463a800-1b44-450e-9083-f948ea174b45",
|
||||
routeValues);
|
||||
|
@ -316,7 +320,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"b5bbdd21-c178-4398-b6db-0166d910028a",
|
||||
routeValues);
|
||||
|
@ -344,7 +348,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
/**
|
||||
* Get a specific event type.
|
||||
*
|
||||
* @param {string} eventType
|
||||
* @param {string} eventType - The ID of the event type.
|
||||
*/
|
||||
public async getEventType(
|
||||
eventType: string
|
||||
|
@ -357,7 +361,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21",
|
||||
routeValues);
|
||||
|
@ -401,7 +405,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21",
|
||||
routeValues,
|
||||
|
@ -441,7 +445,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"19824fa9-1c76-40e6-9cce-cf0b9ca1cb60",
|
||||
routeValues);
|
||||
|
@ -483,7 +487,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"19824fa9-1c76-40e6-9cce-cf0b9ca1cb60",
|
||||
routeValues,
|
||||
|
@ -520,7 +524,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"cbe076d8-2803-45ff-8d8d-44653686ea2a",
|
||||
routeValues);
|
||||
|
@ -558,7 +562,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"cbe076d8-2803-45ff-8d8d-44653686ea2a",
|
||||
routeValues);
|
||||
|
@ -584,7 +588,9 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {string} subscriberId
|
||||
* Get delivery preferences of a notifications subscriber.
|
||||
*
|
||||
* @param {string} subscriberId - ID of the user or group.
|
||||
*/
|
||||
public async getSubscriber(
|
||||
subscriberId: string
|
||||
|
@ -597,7 +603,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"4d5caff1-25ba-430b-b808-7a1f352cc197",
|
||||
routeValues);
|
||||
|
@ -623,8 +629,10 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
}
|
||||
|
||||
/**
|
||||
* Update delivery preferences of a notifications subscriber.
|
||||
*
|
||||
* @param {NotificationInterfaces.NotificationSubscriberUpdateParameters} updateParameters
|
||||
* @param {string} subscriberId
|
||||
* @param {string} subscriberId - ID of the user or group.
|
||||
*/
|
||||
public async updateSubscriber(
|
||||
updateParameters: NotificationInterfaces.NotificationSubscriberUpdateParameters,
|
||||
|
@ -638,7 +646,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"4d5caff1-25ba-430b-b808-7a1f352cc197",
|
||||
routeValues);
|
||||
|
@ -678,7 +686,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"6864db85-08c0-4006-8e8e-cc1bebe31675",
|
||||
routeValues);
|
||||
|
@ -718,7 +726,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"70f911d6-abac-488c-85b3-a206bf57e165",
|
||||
routeValues);
|
||||
|
@ -759,7 +767,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"70f911d6-abac-488c-85b3-a206bf57e165",
|
||||
routeValues);
|
||||
|
@ -806,7 +814,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"70f911d6-abac-488c-85b3-a206bf57e165",
|
||||
routeValues,
|
||||
|
@ -857,7 +865,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"70f911d6-abac-488c-85b3-a206bf57e165",
|
||||
routeValues,
|
||||
|
@ -901,7 +909,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"70f911d6-abac-488c-85b3-a206bf57e165",
|
||||
routeValues);
|
||||
|
@ -939,7 +947,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"fa5d24ba-7484-4f3d-888d-4ec6b1974082",
|
||||
routeValues);
|
||||
|
@ -985,7 +993,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"notification",
|
||||
"ed5a3dff-aeb5-41b1-b4f7-89e66e58b62e",
|
||||
routeValues);
|
||||
|
|
|
@ -59,7 +59,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"dad91cbe-d183-45f8-9c6e-9c1164472121",
|
||||
routeValues);
|
||||
|
@ -103,7 +103,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"dad91cbe-d183-45f8-9c6e-9c1164472121",
|
||||
routeValues);
|
||||
|
@ -147,7 +147,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"dad91cbe-d183-45f8-9c6e-9c1164472121",
|
||||
routeValues);
|
||||
|
@ -197,7 +197,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"dad91cbe-d183-45f8-9c6e-9c1164472121",
|
||||
routeValues,
|
||||
|
@ -244,7 +244,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"dad91cbe-d183-45f8-9c6e-9c1164472121",
|
||||
routeValues);
|
||||
|
@ -288,7 +288,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"46aecb7a-5d2c-4647-897b-0209505a9fe4",
|
||||
routeValues);
|
||||
|
@ -332,7 +332,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"46aecb7a-5d2c-4647-897b-0209505a9fe4",
|
||||
routeValues);
|
||||
|
@ -391,7 +391,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"c23ddff5-229c-4d04-a80b-0fdce9f360c8",
|
||||
routeValues,
|
||||
|
@ -439,7 +439,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"fe1e68a2-60d3-43cb-855b-85e41ae97c95",
|
||||
routeValues);
|
||||
|
@ -492,7 +492,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"fe1e68a2-60d3-43cb-855b-85e41ae97c95",
|
||||
routeValues,
|
||||
|
@ -537,7 +537,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"44096322-2d3d-466a-bb30-d1b7de69f61f",
|
||||
routeValues);
|
||||
|
@ -578,7 +578,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"policy",
|
||||
"44096322-2d3d-466a-bb30-d1b7de69f61f",
|
||||
routeValues);
|
||||
|
|
|
@ -44,7 +44,7 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"projectanalysis",
|
||||
"5b02a779-1867-433f-90b7-d23ed5e33e57",
|
||||
routeValues);
|
||||
|
@ -98,7 +98,7 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"projectanalysis",
|
||||
"e40ae584-9ea6-4f06-a7c7-6284651b466b",
|
||||
routeValues,
|
||||
|
@ -167,7 +167,7 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"projectanalysis",
|
||||
"df7fbbca-630a-40e3-8aa3-7a3faf66947e",
|
||||
routeValues,
|
||||
|
@ -225,7 +225,7 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"projectanalysis",
|
||||
"df7fbbca-630a-40e3-8aa3-7a3faf66947e",
|
||||
routeValues,
|
||||
|
|
|
@ -130,7 +130,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"f2571c27-bf50-4938-b396-32d109ddef26",
|
||||
routeValues);
|
||||
|
@ -198,7 +198,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Release",
|
||||
"b47c6458-e73b-47cb-a770-4df1e8813a91",
|
||||
routeValues,
|
||||
|
@ -243,7 +243,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Release",
|
||||
"250c7158-852e-4130-a00f-a0cce9b72d05",
|
||||
routeValues);
|
||||
|
@ -293,7 +293,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Release",
|
||||
"9328e074-59fb-465a-89d9-b09c82ee5109",
|
||||
routeValues,
|
||||
|
@ -340,7 +340,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Release",
|
||||
"9328e074-59fb-465a-89d9-b09c82ee5109",
|
||||
routeValues);
|
||||
|
@ -381,7 +381,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Release",
|
||||
"c957584a-82aa-4131-8222-6d47f78bfa7a",
|
||||
routeValues);
|
||||
|
@ -443,14 +443,14 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c4071f6d-3697-46ca-858e-8b10ff09e52f",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -500,14 +500,14 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"60b86efb-7b8c-4853-8f9f-aa142b77b479",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"214111ee-2415-4df2-8ed2-74417f7d61f9",
|
||||
routeValues);
|
||||
|
@ -604,7 +604,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"a4d06688-0dfa-4895-82a5-f43ec9452306",
|
||||
routeValues);
|
||||
|
@ -664,7 +664,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c1a68497-69da-40fb-9423-cab19cfeeca9",
|
||||
routeValues,
|
||||
|
@ -715,7 +715,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"1a60a35d-b8c9-45fb-bf67-da0829711147",
|
||||
routeValues);
|
||||
|
@ -769,7 +769,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"8dcf9fe9-ca37-4113-8ee1-37928e98407c",
|
||||
routeValues,
|
||||
|
@ -818,7 +818,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"12b5d21a-f54c-430e-a8c1-7515d196890e",
|
||||
routeValues,
|
||||
|
@ -862,7 +862,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"d8f96f24-8ea7-4cb6-baab-2df8fc515665",
|
||||
routeValues);
|
||||
|
@ -915,7 +915,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"d8f96f24-8ea7-4cb6-baab-2df8fc515665",
|
||||
routeValues,
|
||||
|
@ -966,7 +966,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"d8f96f24-8ea7-4cb6-baab-2df8fc515665",
|
||||
routeValues,
|
||||
|
@ -1020,7 +1020,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"d8f96f24-8ea7-4cb6-baab-2df8fc515665",
|
||||
routeValues,
|
||||
|
@ -1028,7 +1028,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -1099,7 +1099,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"d8f96f24-8ea7-4cb6-baab-2df8fc515665",
|
||||
routeValues,
|
||||
|
@ -1146,7 +1146,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"d8f96f24-8ea7-4cb6-baab-2df8fc515665",
|
||||
routeValues);
|
||||
|
@ -1189,7 +1189,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"d8f96f24-8ea7-4cb6-baab-2df8fc515665",
|
||||
routeValues);
|
||||
|
@ -1276,7 +1276,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"b005ef73-cddc-448e-9ba2-5193bf36b19f",
|
||||
routeValues,
|
||||
|
@ -1318,7 +1318,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"b005ef73-cddc-448e-9ba2-5193bf36b19f",
|
||||
routeValues);
|
||||
|
@ -1365,7 +1365,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.6",
|
||||
"6.0-preview.6",
|
||||
"Release",
|
||||
"a7e426b1-03dc-48af-9dfe-c98bac612dcb",
|
||||
routeValues);
|
||||
|
@ -1414,7 +1414,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.6",
|
||||
"6.0-preview.6",
|
||||
"Release",
|
||||
"a7e426b1-03dc-48af-9dfe-c98bac612dcb",
|
||||
routeValues);
|
||||
|
@ -1457,7 +1457,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"6b03b696-824e-4479-8eb2-6644a51aba89",
|
||||
routeValues);
|
||||
|
@ -1507,7 +1507,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"6b03b696-824e-4479-8eb2-6644a51aba89",
|
||||
routeValues,
|
||||
|
@ -1558,7 +1558,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"6b03b696-824e-4479-8eb2-6644a51aba89",
|
||||
routeValues,
|
||||
|
@ -1606,7 +1606,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"6b03b696-824e-4479-8eb2-6644a51aba89",
|
||||
routeValues,
|
||||
|
@ -1657,7 +1657,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.4",
|
||||
"Release",
|
||||
"6b03b696-824e-4479-8eb2-6644a51aba89",
|
||||
routeValues,
|
||||
|
@ -1708,7 +1708,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"938f7222-9acb-48fe-b8a3-4eda04597171",
|
||||
routeValues,
|
||||
|
@ -1760,7 +1760,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"938f7222-9acb-48fe-b8a3-4eda04597171",
|
||||
routeValues,
|
||||
|
@ -1809,7 +1809,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"938f7222-9acb-48fe-b8a3-4eda04597171",
|
||||
routeValues,
|
||||
|
@ -1852,7 +1852,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"409d301f-3046-46f3-beb9-4357fbce0a8c",
|
||||
routeValues,
|
||||
|
@ -1899,7 +1899,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"f7ddf76d-ce0c-4d68-94ff-becaec5d9dea",
|
||||
routeValues);
|
||||
|
@ -1943,7 +1943,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"f7ddf76d-ce0c-4d68-94ff-becaec5d9dea",
|
||||
routeValues);
|
||||
|
@ -1993,7 +1993,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"f7ddf76d-ce0c-4d68-94ff-becaec5d9dea",
|
||||
routeValues,
|
||||
|
@ -2040,7 +2040,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"f7ddf76d-ce0c-4d68-94ff-becaec5d9dea",
|
||||
routeValues);
|
||||
|
@ -2086,7 +2086,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"2666a539-2001-4f80-bcc7-0379956749d4",
|
||||
routeValues);
|
||||
|
@ -2128,7 +2128,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"23f461c8-629a-4144-a076-3054fa5f268a",
|
||||
routeValues);
|
||||
|
@ -2169,7 +2169,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"71dd499b-317d-45ea-9134-140ea1932b5e",
|
||||
routeValues);
|
||||
|
@ -2217,7 +2217,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"cd42261a-f5c6-41c8-9259-f078989b9f25",
|
||||
routeValues,
|
||||
|
@ -2271,14 +2271,14 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"dec7ca5a-7f7f-4797-8bf1-8efc0dc93b28",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2307,14 +2307,14 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"c37fbab5-214b-48e4-a55b-cb6b4f6e4038",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2355,7 +2355,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"e71ba1ed-c0a4-4a28-a61f-2dd5f68cf3fd",
|
||||
routeValues,
|
||||
|
@ -2363,7 +2363,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2413,7 +2413,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"2577e6c3-6999-4400-bc69-fe1d837755fe",
|
||||
routeValues,
|
||||
|
@ -2421,7 +2421,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2468,7 +2468,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"17c91af7-09fd-4256-bff1-c24ee4f73bc0",
|
||||
routeValues,
|
||||
|
@ -2476,7 +2476,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2508,7 +2508,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"616c46e4-f370-4456-adaa-fbaf79c7b79e",
|
||||
routeValues);
|
||||
|
@ -2552,7 +2552,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"616c46e4-f370-4456-adaa-fbaf79c7b79e",
|
||||
routeValues);
|
||||
|
@ -2601,7 +2601,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"616c46e4-f370-4456-adaa-fbaf79c7b79e",
|
||||
routeValues);
|
||||
|
@ -2646,7 +2646,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"cd1502bb-3c73-4e11-80a6-d11308dceae5",
|
||||
routeValues,
|
||||
|
@ -2698,7 +2698,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"917ace4a-79d1-45a7-987c-7be4db4268fa",
|
||||
routeValues,
|
||||
|
@ -2806,7 +2806,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues,
|
||||
|
@ -2850,7 +2850,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues);
|
||||
|
@ -2900,7 +2900,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues,
|
||||
|
@ -2960,7 +2960,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues,
|
||||
|
@ -3023,7 +3023,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues,
|
||||
|
@ -3077,7 +3077,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues,
|
||||
|
@ -3085,7 +3085,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -3123,7 +3123,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues,
|
||||
|
@ -3170,7 +3170,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues);
|
||||
|
@ -3216,7 +3216,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.8",
|
||||
"6.0-preview.8",
|
||||
"Release",
|
||||
"a166fde7-27ad-408e-ba75-703c2cc9d500",
|
||||
routeValues);
|
||||
|
@ -3257,7 +3257,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c63c3718-7cfd-41e0-b89b-81c1ca143437",
|
||||
routeValues);
|
||||
|
@ -3300,7 +3300,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c63c3718-7cfd-41e0-b89b-81c1ca143437",
|
||||
routeValues);
|
||||
|
@ -3347,14 +3347,14 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"258b82e0-9d41-43f3-86d6-fef14ddd44bc",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -3383,7 +3383,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"258b82e0-9d41-43f3-86d6-fef14ddd44bc",
|
||||
routeValues);
|
||||
|
@ -3425,7 +3425,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"224e92b2-8d13-4c14-b120-13d877c516f8",
|
||||
routeValues);
|
||||
|
@ -3469,7 +3469,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"224e92b2-8d13-4c14-b120-13d877c516f8",
|
||||
routeValues);
|
||||
|
@ -3511,7 +3511,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"0e5def23-78b3-461f-8198-1558f25041c8",
|
||||
routeValues);
|
||||
|
@ -3558,7 +3558,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"3d21b4c8-c32e-45b2-a7cb-770a369012f4",
|
||||
routeValues);
|
||||
|
@ -3604,7 +3604,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"3d21b4c8-c32e-45b2-a7cb-770a369012f4",
|
||||
routeValues);
|
||||
|
@ -3651,7 +3651,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"3d21b4c8-c32e-45b2-a7cb-770a369012f4",
|
||||
routeValues);
|
||||
|
@ -3695,7 +3695,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"3d21b4c8-c32e-45b2-a7cb-770a369012f4",
|
||||
routeValues);
|
||||
|
@ -3742,7 +3742,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c5b602b6-d1b3-4363-8a51-94384f78068f",
|
||||
routeValues);
|
||||
|
@ -3788,7 +3788,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c5b602b6-d1b3-4363-8a51-94384f78068f",
|
||||
routeValues);
|
||||
|
@ -3835,7 +3835,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c5b602b6-d1b3-4363-8a51-94384f78068f",
|
||||
routeValues);
|
||||
|
@ -3879,7 +3879,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"c5b602b6-d1b3-4363-8a51-94384f78068f",
|
||||
routeValues);
|
||||
|
@ -3918,7 +3918,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"86cee25a-68ba-4ba3-9171-8ad6ffc6df93",
|
||||
routeValues);
|
||||
|
@ -3966,7 +3966,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"4259191d-4b0a-4409-9fb3-09f22ab9bc47",
|
||||
routeValues);
|
||||
|
@ -4017,7 +4017,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"4259291d-4b0a-4409-9fb3-04f22ab9bc47",
|
||||
routeValues);
|
||||
|
@ -4068,7 +4068,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Release",
|
||||
"36b276e0-3c70-4320-a63c-1a2e1466a0d1",
|
||||
routeValues,
|
||||
|
@ -4108,7 +4108,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"8efc2a3c-1fc8-4f6d-9822-75e98cecb48f",
|
||||
routeValues);
|
||||
|
@ -4156,7 +4156,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"30fc787e-a9e0-4a07-9fbc-3e903aa051d2",
|
||||
routeValues,
|
||||
|
@ -4198,7 +4198,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"30fc787e-a9e0-4a07-9fbc-3e903aa051d2",
|
||||
routeValues);
|
||||
|
@ -4252,7 +4252,7 @@ export class ReleaseApi extends basem.ClientApiBase implements IReleaseApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Release",
|
||||
"4f165cc0-875c-4768-b148-f12f78769fab",
|
||||
routeValues,
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
115
api/TaskApi.ts
115
api/TaskApi.ts
|
@ -24,6 +24,7 @@ export interface ITaskApi extends basem.ClientApiBase {
|
|||
getAttachmentContent(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string, name: string): Promise<NodeJS.ReadableStream>;
|
||||
getAttachments(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, type: string): Promise<TaskAgentInterfaces.TaskAttachment[]>;
|
||||
appendTimelineRecordFeed(lines: TaskAgentInterfaces.TimelineRecordFeedLinesWrapper, scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string): Promise<void>;
|
||||
getLines(scopeIdentifier: string, hubName: string, planId: string, timelineId: string, recordId: string, stepId: string, endLine?: number, takeCount?: number, continuationToken?: string): Promise<TaskAgentInterfaces.TimelineRecordFeedLinesWrapper>;
|
||||
getJobInstance(scopeIdentifier: string, hubName: string, orchestrationId: string): Promise<TaskAgentInterfaces.TaskAgentJob>;
|
||||
appendLogContent(customHeaders: any, contentStream: NodeJS.ReadableStream, scopeIdentifier: string, hubName: string, planId: string, logId: number): Promise<TaskAgentInterfaces.TaskLog>;
|
||||
createLog(log: TaskAgentInterfaces.TaskLog, scopeIdentifier: string, hubName: string, planId: string): Promise<TaskAgentInterfaces.TaskLog>;
|
||||
|
@ -69,7 +70,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"eb55e5d6-2f30-4295-b5ed-38da50b1fc52",
|
||||
routeValues);
|
||||
|
@ -132,7 +133,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"7898f959-9cdf-4096-b29e-7f293031629e",
|
||||
routeValues);
|
||||
|
@ -190,7 +191,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"7898f959-9cdf-4096-b29e-7f293031629e",
|
||||
routeValues);
|
||||
|
@ -247,14 +248,14 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"7898f959-9cdf-4096-b29e-7f293031629e",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -293,7 +294,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"7898f959-9cdf-4096-b29e-7f293031629e",
|
||||
routeValues);
|
||||
|
@ -346,7 +347,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"858983e4-19bd-4c5e-864c-507b59b58b12",
|
||||
routeValues);
|
||||
|
@ -371,6 +372,76 @@ 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} stepId
|
||||
* @param {number} endLine
|
||||
* @param {number} takeCount
|
||||
* @param {string} continuationToken
|
||||
*/
|
||||
public async getLines(
|
||||
scopeIdentifier: string,
|
||||
hubName: string,
|
||||
planId: string,
|
||||
timelineId: string,
|
||||
recordId: string,
|
||||
stepId: string,
|
||||
endLine?: number,
|
||||
takeCount?: number,
|
||||
continuationToken?: string
|
||||
): Promise<TaskAgentInterfaces.TimelineRecordFeedLinesWrapper> {
|
||||
if (stepId == null) {
|
||||
throw new TypeError('stepId can not be null or undefined');
|
||||
}
|
||||
|
||||
return new Promise<TaskAgentInterfaces.TimelineRecordFeedLinesWrapper>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
scopeIdentifier: scopeIdentifier,
|
||||
hubName: hubName,
|
||||
planId: planId,
|
||||
timelineId: timelineId,
|
||||
recordId: recordId
|
||||
};
|
||||
|
||||
let queryValues: any = {
|
||||
stepId: stepId,
|
||||
endLine: endLine,
|
||||
takeCount: takeCount,
|
||||
continuationToken: continuationToken,
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"858983e4-19bd-4c5e-864c-507b59b58b12",
|
||||
routeValues,
|
||||
queryValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<TaskAgentInterfaces.TimelineRecordFeedLinesWrapper>;
|
||||
res = await this.rest.get<TaskAgentInterfaces.TimelineRecordFeedLinesWrapper>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @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
|
||||
|
@ -391,7 +462,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"0a1efd25-abda-43bd-9629-6c7bdd2e0d60",
|
||||
routeValues);
|
||||
|
@ -445,7 +516,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
|
||||
routeValues);
|
||||
|
@ -493,7 +564,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
|
||||
routeValues);
|
||||
|
@ -550,7 +621,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
|
||||
routeValues,
|
||||
|
@ -596,7 +667,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
|
||||
routeValues);
|
||||
|
@ -638,7 +709,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"038fd4d5-cda7-44ca-92c0-935843fee1a7",
|
||||
routeValues);
|
||||
|
@ -689,7 +760,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"0dd73091-3e36-4f43-b443-1b76dd426d84",
|
||||
routeValues,
|
||||
|
@ -735,7 +806,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"65fd0708-bc1e-447b-a731-0587c5464e5b",
|
||||
routeValues);
|
||||
|
@ -780,7 +851,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.2",
|
||||
"distributedtask",
|
||||
"5cecd946-d704-471e-a45f-3b4064fcfaba",
|
||||
routeValues);
|
||||
|
@ -834,7 +905,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"8893bc5b-35b2-4be7-83cb-99e683551db4",
|
||||
routeValues,
|
||||
|
@ -885,7 +956,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"8893bc5b-35b2-4be7-83cb-99e683551db4",
|
||||
routeValues);
|
||||
|
@ -932,7 +1003,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"83597576-cc2c-453c-bea6-2882ae6a1653",
|
||||
routeValues);
|
||||
|
@ -980,7 +1051,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"83597576-cc2c-453c-bea6-2882ae6a1653",
|
||||
routeValues);
|
||||
|
@ -1037,7 +1108,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"83597576-cc2c-453c-bea6-2882ae6a1653",
|
||||
routeValues,
|
||||
|
@ -1083,7 +1154,7 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"distributedtask",
|
||||
"83597576-cc2c-453c-bea6-2882ae6a1653",
|
||||
routeValues);
|
||||
|
|
190
api/TestApi.ts
190
api/TestApi.ts
|
@ -133,7 +133,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"eaf40c31-ff84-4062-aafd-d5664be11a37",
|
||||
routeValues);
|
||||
|
@ -194,7 +194,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues,
|
||||
|
@ -244,7 +244,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues);
|
||||
|
@ -302,7 +302,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues,
|
||||
|
@ -353,14 +353,14 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -392,7 +392,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues);
|
||||
|
@ -442,14 +442,14 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -493,7 +493,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues,
|
||||
|
@ -501,7 +501,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -542,7 +542,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues,
|
||||
|
@ -602,7 +602,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"2bffebe9-2f0f-4639-9af8-56129e9fed2d",
|
||||
routeValues,
|
||||
|
@ -610,7 +610,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -641,7 +641,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"4f004af4-a507-489c-9b13-cb62060beb11",
|
||||
routeValues);
|
||||
|
@ -688,14 +688,14 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"4f004af4-a507-489c-9b13-cb62060beb11",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -724,7 +724,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"4f004af4-a507-489c-9b13-cb62060beb11",
|
||||
routeValues);
|
||||
|
@ -771,14 +771,14 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"4f004af4-a507-489c-9b13-cb62060beb11",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -808,7 +808,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"6de20ca2-67de-4faf-97fa-38c5d585eb00",
|
||||
routeValues);
|
||||
|
@ -864,7 +864,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"77560e8a-4e8c-4d59-894e-a5f264c24444",
|
||||
routeValues,
|
||||
|
@ -918,7 +918,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"77560e8a-4e8c-4d59-894e-a5f264c24444",
|
||||
routeValues,
|
||||
|
@ -971,7 +971,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"77560e8a-4e8c-4d59-894e-a5f264c24444",
|
||||
routeValues,
|
||||
|
@ -1025,7 +1025,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"9629116f-3b89-4ed8-b358-d4694efda160",
|
||||
routeValues,
|
||||
|
@ -1067,7 +1067,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"8ce1923b-f4c7-4e22-b93b-f6284e525ec2",
|
||||
routeValues);
|
||||
|
@ -1115,7 +1115,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"8ce1923b-f4c7-4e22-b93b-f6284e525ec2",
|
||||
routeValues,
|
||||
|
@ -1157,7 +1157,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"234616f5-429c-4e7b-9192-affd76731dfd",
|
||||
routeValues);
|
||||
|
@ -1213,7 +1213,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"73eb9074-3446-4c44-8296-2f811950ff8d",
|
||||
routeValues,
|
||||
|
@ -1267,7 +1267,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"73eb9074-3446-4c44-8296-2f811950ff8d",
|
||||
routeValues,
|
||||
|
@ -1309,7 +1309,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"a4dcb25b-9878-49ea-abfd-e440bd9b1dcd",
|
||||
routeValues);
|
||||
|
@ -1353,7 +1353,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"a1e55200-637e-42e9-a7c0-7e5bfdedb1b3",
|
||||
routeValues);
|
||||
|
@ -1409,7 +1409,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"7c69810d-3354-4af3-844a-180bd25db08a",
|
||||
routeValues,
|
||||
|
@ -1466,7 +1466,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"3bcfd5c8-be62-488e-b1da-b8289ce9299c",
|
||||
routeValues,
|
||||
|
@ -1538,7 +1538,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"3bcfd5c8-be62-488e-b1da-b8289ce9299c",
|
||||
routeValues,
|
||||
|
@ -1591,7 +1591,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"3bcfd5c8-be62-488e-b1da-b8289ce9299c",
|
||||
routeValues);
|
||||
|
@ -1643,7 +1643,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"b4264fd0-a5d1-43e2-82a5-b9c46b7da9ce",
|
||||
routeValues,
|
||||
|
@ -1710,7 +1710,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"efb387b0-10d5-42e7-be40-95e06ee9430f",
|
||||
routeValues,
|
||||
|
@ -1783,7 +1783,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"b834ec7e-35bb-450f-a3c8-802e70ca40dd",
|
||||
routeValues,
|
||||
|
@ -1828,7 +1828,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"370ca04b-8eec-4ca8-8ba3-d24dca228791",
|
||||
routeValues);
|
||||
|
@ -1888,7 +1888,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"d279d052-c55a-4204-b913-42f733b52958",
|
||||
routeValues,
|
||||
|
@ -1952,7 +1952,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"ef5ce5d4-a4e5-47ee-804c-354518f8d03f",
|
||||
routeValues,
|
||||
|
@ -1981,7 +1981,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
/**
|
||||
* Get list of test Result meta data details for corresponding testcasereferenceId
|
||||
*
|
||||
* @param {string[]} testReferenceIds - TestCaseReference Ids of the test Result to be queried, comma seperated list of valid ids (limit no. of ids 200).
|
||||
* @param {string[]} testReferenceIds - TestCaseReference Ids of the test Result to be queried, comma separated list of valid ids (limit no. of ids 200).
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
public async queryTestResultsMetaData(
|
||||
|
@ -1996,7 +1996,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"afa7830e-67a7-4336-8090-2b448ca80295",
|
||||
routeValues);
|
||||
|
@ -2037,7 +2037,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"a3206d9e-fa8d-42d3-88cb-f75c51e69cde",
|
||||
routeValues);
|
||||
|
@ -2080,7 +2080,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"a3206d9e-fa8d-42d3-88cb-f75c51e69cde",
|
||||
routeValues);
|
||||
|
@ -2126,7 +2126,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.6",
|
||||
"6.0-preview.6",
|
||||
"Test",
|
||||
"4637d869-3a76-4468-8057-0bb02aa385cf",
|
||||
routeValues);
|
||||
|
@ -2179,7 +2179,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.6",
|
||||
"6.0-preview.6",
|
||||
"Test",
|
||||
"4637d869-3a76-4468-8057-0bb02aa385cf",
|
||||
routeValues,
|
||||
|
@ -2239,7 +2239,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.6",
|
||||
"6.0-preview.6",
|
||||
"Test",
|
||||
"4637d869-3a76-4468-8057-0bb02aa385cf",
|
||||
routeValues,
|
||||
|
@ -2286,7 +2286,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.6",
|
||||
"6.0-preview.6",
|
||||
"Test",
|
||||
"4637d869-3a76-4468-8057-0bb02aa385cf",
|
||||
routeValues);
|
||||
|
@ -2312,6 +2312,8 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
}
|
||||
|
||||
/**
|
||||
* This API will return results by Ids with fields specified/trend for particular automated test method. We are still improving this API and have not finalized proper signature and contract.
|
||||
*
|
||||
* @param {TestInterfaces.TestResultsQuery} query
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
|
@ -2327,7 +2329,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.6",
|
||||
"6.0-preview.6",
|
||||
"Test",
|
||||
"6711da49-8e6f-4d35-9f73-cef7a3c81a5b",
|
||||
routeValues);
|
||||
|
@ -2387,7 +2389,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"3c191b88-615b-4be2-b7d9-5ff9141e91d4",
|
||||
routeValues,
|
||||
|
@ -2451,7 +2453,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"ce01820b-83f3-4c15-a583-697a43292c4e",
|
||||
routeValues,
|
||||
|
@ -2509,7 +2511,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"000ef77b-fea2-498d-a10d-ad1a037f559f",
|
||||
routeValues,
|
||||
|
@ -2573,7 +2575,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"85765790-ac68-494e-b268-af36c3929744",
|
||||
routeValues,
|
||||
|
@ -2615,7 +2617,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"85765790-ac68-494e-b268-af36c3929744",
|
||||
routeValues);
|
||||
|
@ -2662,7 +2664,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"cd08294e-308d-4460-a46e-4cfdefba0b4b",
|
||||
routeValues,
|
||||
|
@ -2704,7 +2706,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"fbc82a85-0786-4442-88bb-eb0fda6b01b0",
|
||||
routeValues);
|
||||
|
@ -2745,7 +2747,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"dd178e93-d8dd-4887-9635-d6b9560b7b6e",
|
||||
routeValues);
|
||||
|
@ -2789,7 +2791,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"0a42c424-d764-4a16-a2d5-5c85f87d0ae8",
|
||||
routeValues);
|
||||
|
@ -2802,7 +2804,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
res = await this.rest.get<TestInterfaces.TestRunStatistic>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
TestInterfaces.TypeInfo.TestRunStatistic,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
@ -2832,7 +2834,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"cadb3810-d47d-4a3c-a234-fe5f3be50138",
|
||||
routeValues);
|
||||
|
@ -2876,7 +2878,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"cadb3810-d47d-4a3c-a234-fe5f3be50138",
|
||||
routeValues);
|
||||
|
@ -2906,7 +2908,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {number} runId - ID of the run to get.
|
||||
* @param {boolean} includeDetails - Defualt value is true. It includes details like run statistics,release,build,Test enviornment,Post process state and more
|
||||
* @param {boolean} includeDetails - Default value is true. It includes details like run statistics, release, build, test environment, post process state, and more.
|
||||
*/
|
||||
public async getTestRunById(
|
||||
project: string,
|
||||
|
@ -2926,7 +2928,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"cadb3810-d47d-4a3c-a234-fe5f3be50138",
|
||||
routeValues,
|
||||
|
@ -2995,7 +2997,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"cadb3810-d47d-4a3c-a234-fe5f3be50138",
|
||||
routeValues,
|
||||
|
@ -3028,16 +3030,16 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
* @param {Date} minLastUpdatedDate - Minimum Last Modified Date of run to be queried (Mandatory).
|
||||
* @param {Date} maxLastUpdatedDate - Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days).
|
||||
* @param {TestInterfaces.TestRunState} state - Current state of the Runs to be queried.
|
||||
* @param {number[]} planIds - Plan Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} planIds - Plan Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
||||
* @param {boolean} isAutomated - Automation type of the Runs to be queried.
|
||||
* @param {TestInterfaces.TestRunPublishContext} publishContext - PublishContext of the Runs to be queried.
|
||||
* @param {number[]} buildIds - Build Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} buildDefIds - Build Definition Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} buildIds - Build Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} buildDefIds - Build Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
||||
* @param {string} branchName - Source Branch name of the Runs to be queried.
|
||||
* @param {number[]} releaseIds - Release Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} releaseDefIds - Release Definition Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} releaseEnvIds - Release Environment Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} releaseEnvDefIds - Release Environment Definition Ids of the Runs to be queried, comma seperated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} releaseIds - Release Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} releaseDefIds - Release Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} releaseEnvIds - Release Environment Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
||||
* @param {number[]} releaseEnvDefIds - Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids (limit no. of ids 10).
|
||||
* @param {string} runTitle - Run Title of the Runs to be queried.
|
||||
* @param {number} top - Number of runs to be queried. Limit is 100
|
||||
* @param {string} continuationToken - continuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user.
|
||||
|
@ -3094,7 +3096,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"cadb3810-d47d-4a3c-a234-fe5f3be50138",
|
||||
routeValues,
|
||||
|
@ -3141,7 +3143,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"cadb3810-d47d-4a3c-a234-fe5f3be50138",
|
||||
routeValues);
|
||||
|
@ -3192,7 +3194,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"1500b4b4-6c69-4ca6-9b18-35e9e97fe2ac",
|
||||
routeValues);
|
||||
|
@ -3259,7 +3261,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"1500b4b4-6c69-4ca6-9b18-35e9e97fe2ac",
|
||||
routeValues,
|
||||
|
@ -3311,7 +3313,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"1500b4b4-6c69-4ca6-9b18-35e9e97fe2ac",
|
||||
routeValues);
|
||||
|
@ -3353,7 +3355,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"8300eeca-0f8c-4eff-a089-d2dda409c41f",
|
||||
routeValues);
|
||||
|
@ -3395,7 +3397,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"fabb3cc9-e3f8-40b7-8b62-24cc4b73fccf",
|
||||
routeValues);
|
||||
|
@ -3446,7 +3448,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"a4a1ec1c-b03f-41ca-8857-704594ecf58e",
|
||||
routeValues);
|
||||
|
@ -3497,7 +3499,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"a4a1ec1c-b03f-41ca-8857-704594ecf58e",
|
||||
routeValues);
|
||||
|
@ -3545,7 +3547,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"a4a1ec1c-b03f-41ca-8857-704594ecf58e",
|
||||
routeValues);
|
||||
|
@ -3596,7 +3598,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"a4a1ec1c-b03f-41ca-8857-704594ecf58e",
|
||||
routeValues);
|
||||
|
@ -3649,7 +3651,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"Test",
|
||||
"a4a1ec1c-b03f-41ca-8857-704594ecf58e",
|
||||
routeValues);
|
||||
|
@ -3693,7 +3695,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"4d472e0f-e32c-4ef8-adf4-a4078772889c",
|
||||
routeValues);
|
||||
|
@ -3736,7 +3738,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"Test",
|
||||
"929fd86c-3e38-4d8c-b4b6-90df256e5971",
|
||||
routeValues);
|
||||
|
@ -3777,7 +3779,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"8133ce14-962f-42af-a5f9-6aa9defcb9c8",
|
||||
routeValues);
|
||||
|
@ -3819,7 +3821,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"8133ce14-962f-42af-a5f9-6aa9defcb9c8",
|
||||
routeValues);
|
||||
|
@ -3861,7 +3863,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"8133ce14-962f-42af-a5f9-6aa9defcb9c8",
|
||||
routeValues);
|
||||
|
@ -3902,7 +3904,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"371b1655-ce05-412e-a113-64cc77bb78d2",
|
||||
routeValues);
|
||||
|
@ -3956,7 +3958,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"7b0bdee3-a354-47f9-a42c-89018d7808d5",
|
||||
routeValues,
|
||||
|
@ -4005,7 +4007,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"7b0bdee3-a354-47f9-a42c-89018d7808d5",
|
||||
routeValues,
|
||||
|
@ -4069,7 +4071,7 @@ export class TestApi extends basem.ClientApiBase implements ITestApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"Test",
|
||||
"926ff5dc-137f-45f0-bd51-9412fa9810ce",
|
||||
routeValues,
|
||||
|
|
|
@ -81,7 +81,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"bc1f417e-239d-42e7-85e1-76e80cb2d6eb",
|
||||
routeValues,
|
||||
|
@ -138,7 +138,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"bc1f417e-239d-42e7-85e1-76e80cb2d6eb",
|
||||
routeValues,
|
||||
|
@ -195,7 +195,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"bc1f417e-239d-42e7-85e1-76e80cb2d6eb",
|
||||
routeValues,
|
||||
|
@ -246,7 +246,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"f32b86f2-15b9-4fe6-81b1-6f8938617ee5",
|
||||
routeValues,
|
||||
|
@ -290,7 +290,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"tfvc",
|
||||
"0bc8f0a4-6bfb-42a9-ba84-139da7b99c49",
|
||||
routeValues);
|
||||
|
@ -364,7 +364,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"tfvc",
|
||||
"0bc8f0a4-6bfb-42a9-ba84-139da7b99c49",
|
||||
routeValues,
|
||||
|
@ -424,7 +424,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"tfvc",
|
||||
"0bc8f0a4-6bfb-42a9-ba84-139da7b99c49",
|
||||
routeValues,
|
||||
|
@ -465,7 +465,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"b7e7c173-803c-4fea-9ec8-31ee35c5502a",
|
||||
routeValues);
|
||||
|
@ -493,7 +493,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
/**
|
||||
* Retrieves the work items associated with a particular changeset.
|
||||
*
|
||||
* @param {number} id - ID of the changeset. Default: null
|
||||
* @param {number} id - ID of the changeset.
|
||||
*/
|
||||
public async getChangesetWorkItems(
|
||||
id?: number
|
||||
|
@ -506,7 +506,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"64ae0bea-1d71-47c9-a9e5-fe73f5ea0ff4",
|
||||
routeValues);
|
||||
|
@ -549,7 +549,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"fe6f827b-5f64-480f-b8af-1eca3b80e833",
|
||||
routeValues);
|
||||
|
@ -592,14 +592,14 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"fe6f827b-5f64-480f-b8af-1eca3b80e833",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -652,7 +652,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
|
||||
routeValues,
|
||||
|
@ -721,7 +721,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
|
||||
routeValues,
|
||||
|
@ -729,7 +729,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -770,7 +770,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
|
||||
routeValues,
|
||||
|
@ -839,7 +839,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
|
||||
routeValues,
|
||||
|
@ -847,7 +847,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -900,7 +900,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
|
||||
routeValues,
|
||||
|
@ -908,7 +908,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -943,7 +943,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"06166e34-de17-4b60-8cd1-23182a346fda",
|
||||
routeValues,
|
||||
|
@ -997,7 +997,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"a5d9bd7f-b661-4d0e-b9be-d9c16affae54",
|
||||
routeValues,
|
||||
|
@ -1028,7 +1028,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
*
|
||||
* @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} top - Max number of labels to return, defaults to 100 when undefined
|
||||
* @param {number} skip - Number of labels to skip
|
||||
*/
|
||||
public async getLabels(
|
||||
|
@ -1054,7 +1054,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"a5d9bd7f-b661-4d0e-b9be-d9c16affae54",
|
||||
routeValues,
|
||||
|
@ -1108,7 +1108,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"dbaf075b-0445-4c34-9e5b-82292f856522",
|
||||
routeValues,
|
||||
|
@ -1159,7 +1159,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"e36d44fb-e907-4b0a-b194-f83f1ed32ad3",
|
||||
routeValues,
|
||||
|
@ -1210,7 +1210,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"e36d44fb-e907-4b0a-b194-f83f1ed32ad3",
|
||||
routeValues,
|
||||
|
@ -1258,7 +1258,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"a7a0c1c1-373e-425a-b031-a519474d743d",
|
||||
routeValues,
|
||||
|
@ -1306,7 +1306,7 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"tfvc",
|
||||
"e15c74c0-3605-40e0-aed4-4cc61e549ed8",
|
||||
routeValues,
|
||||
|
|
720
api/WikiApi.ts
720
api/WikiApi.ts
|
@ -14,14 +14,28 @@ import * as restm from 'typed-rest-client/RestClient';
|
|||
import vsom = require('./VsoClient');
|
||||
import basem = require('./ClientApiBases');
|
||||
import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces');
|
||||
import Comments_Contracts = require("./interfaces/CommentsInterfaces");
|
||||
import GitInterfaces = require("./interfaces/GitInterfaces");
|
||||
import VSSInterfaces = require("./interfaces/common/VSSInterfaces");
|
||||
import WikiInterfaces = require("./interfaces/WikiInterfaces");
|
||||
|
||||
export interface IWikiApi extends basem.ClientApiBase {
|
||||
createCommentAttachment(customHeaders: any, contentStream: NodeJS.ReadableStream, project: string, wikiIdentifier: string, pageId: number): Promise<Comments_Contracts.CommentAttachment>;
|
||||
getAttachmentContent(project: string, wikiIdentifier: string, pageId: number, attachmentId: string): Promise<NodeJS.ReadableStream>;
|
||||
addCommentReaction(project: string, wikiIdentifier: string, pageId: number, commentId: number, type: Comments_Contracts.CommentReactionType): Promise<Comments_Contracts.CommentReaction>;
|
||||
deleteCommentReaction(project: string, wikiIdentifier: string, pageId: number, commentId: number, type: Comments_Contracts.CommentReactionType): Promise<Comments_Contracts.CommentReaction>;
|
||||
getEngagedUsers(project: string, wikiIdentifier: string, pageId: number, commentId: number, type: Comments_Contracts.CommentReactionType, top?: number, skip?: number): Promise<VSSInterfaces.IdentityRef[]>;
|
||||
addComment(request: Comments_Contracts.CommentCreateParameters, project: string, wikiIdentifier: string, pageId: number): Promise<Comments_Contracts.Comment>;
|
||||
deleteComment(project: string, wikiIdentifier: string, pageId: number, id: number): Promise<void>;
|
||||
getComment(project: string, wikiIdentifier: string, pageId: number, id: number, excludeDeleted?: boolean, expand?: Comments_Contracts.CommentExpandOptions): Promise<Comments_Contracts.Comment>;
|
||||
listComments(project: string, wikiIdentifier: string, pageId: number, top?: number, continuationToken?: string, excludeDeleted?: boolean, expand?: Comments_Contracts.CommentExpandOptions, order?: Comments_Contracts.CommentSortOrder, parentId?: number): Promise<Comments_Contracts.CommentList>;
|
||||
updateComment(comment: Comments_Contracts.CommentUpdateParameters, project: string, wikiIdentifier: string, pageId: number, id: number): Promise<Comments_Contracts.Comment>;
|
||||
getPageText(project: string, wikiIdentifier: string, path?: string, recursionLevel?: GitInterfaces.VersionControlRecursionType, versionDescriptor?: GitInterfaces.GitVersionDescriptor, includeContent?: boolean): Promise<NodeJS.ReadableStream>;
|
||||
getPageZip(project: string, wikiIdentifier: string, path?: string, recursionLevel?: GitInterfaces.VersionControlRecursionType, versionDescriptor?: GitInterfaces.GitVersionDescriptor, includeContent?: boolean): Promise<NodeJS.ReadableStream>;
|
||||
getPageByIdText(project: string, wikiIdentifier: string, id: number, recursionLevel?: GitInterfaces.VersionControlRecursionType, includeContent?: boolean): Promise<NodeJS.ReadableStream>;
|
||||
getPageByIdZip(project: string, wikiIdentifier: string, id: number, recursionLevel?: GitInterfaces.VersionControlRecursionType, includeContent?: boolean): Promise<NodeJS.ReadableStream>;
|
||||
getPagesBatch(pagesBatchRequest: WikiInterfaces.WikiPagesBatchRequest, project: string, wikiIdentifier: string, versionDescriptor?: GitInterfaces.GitVersionDescriptor): Promise<WikiInterfaces.WikiPageDetail[]>;
|
||||
getPageData(project: string, wikiIdentifier: string, pageId: number, pageViewsForDays?: number): Promise<WikiInterfaces.WikiPageDetail>;
|
||||
createOrUpdatePageViewStats(project: string, wikiIdentifier: string, wikiVersion: GitInterfaces.GitVersionDescriptor, path: string, oldPath?: string): Promise<WikiInterfaces.WikiPageViewStats>;
|
||||
createWiki(wikiCreateParams: WikiInterfaces.WikiCreateParametersV2, project?: string): Promise<WikiInterfaces.WikiV2>;
|
||||
deleteWiki(wikiIdentifier: string, project?: string): Promise<WikiInterfaces.WikiV2>;
|
||||
|
@ -37,11 +51,556 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
public static readonly RESOURCE_AREA_ID = "bf7d82a0-8aa5-4613-94ef-6172a5ea01f3";
|
||||
|
||||
/**
|
||||
* Uploads an attachment on a comment on a wiki page.
|
||||
*
|
||||
* @param {NodeJS.ReadableStream} contentStream - Content to upload
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
*/
|
||||
public async createCommentAttachment(
|
||||
customHeaders: any,
|
||||
contentStream: NodeJS.ReadableStream,
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number
|
||||
): Promise<Comments_Contracts.CommentAttachment> {
|
||||
|
||||
return new Promise<Comments_Contracts.CommentAttachment>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId
|
||||
};
|
||||
|
||||
customHeaders = customHeaders || {};
|
||||
customHeaders["Content-Type"] = "application/octet-stream";
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"5100d976-363d-42e7-a19d-4171ecb44782",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
options.additionalHeaders = customHeaders;
|
||||
|
||||
let res: restm.IRestResponse<Comments_Contracts.CommentAttachment>;
|
||||
res = await this.rest.uploadStream<Comments_Contracts.CommentAttachment>("POST", url, contentStream, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
Comments_Contracts.TypeInfo.CommentAttachment,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads an attachment on a comment on a wiki page.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
* @param {string} attachmentId - Attachment ID.
|
||||
*/
|
||||
public async getAttachmentContent(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
attachmentId: string
|
||||
): Promise<NodeJS.ReadableStream> {
|
||||
|
||||
return new Promise<NodeJS.ReadableStream>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId,
|
||||
attachmentId: attachmentId
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"5100d976-363d-42e7-a19d-4171ecb44782",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a reaction on a wiki page comment.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name
|
||||
* @param {number} pageId - Wiki page ID
|
||||
* @param {number} commentId - ID of the associated comment
|
||||
* @param {Comments_Contracts.CommentReactionType} type - Type of the reaction being added
|
||||
*/
|
||||
public async addCommentReaction(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
commentId: number,
|
||||
type: Comments_Contracts.CommentReactionType
|
||||
): Promise<Comments_Contracts.CommentReaction> {
|
||||
|
||||
return new Promise<Comments_Contracts.CommentReaction>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId,
|
||||
commentId: commentId,
|
||||
type: type
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"7a5bc693-aab7-4d48-8f34-36f373022063",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<Comments_Contracts.CommentReaction>;
|
||||
res = await this.rest.replace<Comments_Contracts.CommentReaction>(url, null, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
Comments_Contracts.TypeInfo.CommentReaction,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete a reaction on a wiki page comment.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or name
|
||||
* @param {number} pageId - Wiki page ID
|
||||
* @param {number} commentId - ID of the associated comment
|
||||
* @param {Comments_Contracts.CommentReactionType} type - Type of the reaction being deleted
|
||||
*/
|
||||
public async deleteCommentReaction(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
commentId: number,
|
||||
type: Comments_Contracts.CommentReactionType
|
||||
): Promise<Comments_Contracts.CommentReaction> {
|
||||
|
||||
return new Promise<Comments_Contracts.CommentReaction>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId,
|
||||
commentId: commentId,
|
||||
type: type
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"7a5bc693-aab7-4d48-8f34-36f373022063",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<Comments_Contracts.CommentReaction>;
|
||||
res = await this.rest.del<Comments_Contracts.CommentReaction>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
Comments_Contracts.TypeInfo.CommentReaction,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a list of users who have reacted for the given wiki comment with a given reaction type. Supports paging, with a default page size of 100 users at a time.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
* @param {number} commentId - ID of the associated comment
|
||||
* @param {Comments_Contracts.CommentReactionType} type - Type of the reaction for which the engaged users are being requested
|
||||
* @param {number} top - Number of enagaged users to be returned in a given page. Optional, defaults to 100
|
||||
* @param {number} skip - Number of engaged users to be skipped to page the next set of engaged users, defaults to 0
|
||||
*/
|
||||
public async getEngagedUsers(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
commentId: number,
|
||||
type: Comments_Contracts.CommentReactionType,
|
||||
top?: number,
|
||||
skip?: number
|
||||
): Promise<VSSInterfaces.IdentityRef[]> {
|
||||
|
||||
return new Promise<VSSInterfaces.IdentityRef[]>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId,
|
||||
commentId: commentId,
|
||||
type: type
|
||||
};
|
||||
|
||||
let queryValues: any = {
|
||||
'$top': top,
|
||||
'$skip': skip,
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"598a5268-41a7-4162-b7dc-344131e4d1fa",
|
||||
routeValues,
|
||||
queryValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<VSSInterfaces.IdentityRef[]>;
|
||||
res = await this.rest.get<VSSInterfaces.IdentityRef[]>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
true);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a comment on a wiki page.
|
||||
*
|
||||
* @param {Comments_Contracts.CommentCreateParameters} request - Comment create request.
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
*/
|
||||
public async addComment(
|
||||
request: Comments_Contracts.CommentCreateParameters,
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number
|
||||
): Promise<Comments_Contracts.Comment> {
|
||||
|
||||
return new Promise<Comments_Contracts.Comment>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"9b394e93-7db5-46cb-9c26-09a36aa5c895",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<Comments_Contracts.Comment>;
|
||||
res = await this.rest.create<Comments_Contracts.Comment>(url, request, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
Comments_Contracts.TypeInfo.Comment,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete a comment on a wiki page.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
* @param {number} id - Comment ID.
|
||||
*/
|
||||
public async deleteComment(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
id: number
|
||||
): Promise<void> {
|
||||
|
||||
return new Promise<void>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId,
|
||||
id: id
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"9b394e93-7db5-46cb-9c26-09a36aa5c895",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<void>;
|
||||
res = await this.rest.del<void>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a comment associated with the Wiki Page.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
* @param {number} id - ID of the comment to return.
|
||||
* @param {boolean} excludeDeleted - Specify if the deleted comment should be skipped.
|
||||
* @param {Comments_Contracts.CommentExpandOptions} expand - Specifies the additional data retrieval options for comments.
|
||||
*/
|
||||
public async getComment(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
id: number,
|
||||
excludeDeleted?: boolean,
|
||||
expand?: Comments_Contracts.CommentExpandOptions
|
||||
): Promise<Comments_Contracts.Comment> {
|
||||
|
||||
return new Promise<Comments_Contracts.Comment>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId,
|
||||
id: id
|
||||
};
|
||||
|
||||
let queryValues: any = {
|
||||
excludeDeleted: excludeDeleted,
|
||||
'$expand': expand,
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"9b394e93-7db5-46cb-9c26-09a36aa5c895",
|
||||
routeValues,
|
||||
queryValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<Comments_Contracts.Comment>;
|
||||
res = await this.rest.get<Comments_Contracts.Comment>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
Comments_Contracts.TypeInfo.Comment,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a pageable list of comments.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
* @param {number} top - Max number of comments to return.
|
||||
* @param {string} continuationToken - Used to query for the next page of comments.
|
||||
* @param {boolean} excludeDeleted - Specify if the deleted comments should be skipped.
|
||||
* @param {Comments_Contracts.CommentExpandOptions} expand - Specifies the additional data retrieval options for comments.
|
||||
* @param {Comments_Contracts.CommentSortOrder} order - Order in which the comments should be returned.
|
||||
* @param {number} parentId - CommentId of the parent comment.
|
||||
*/
|
||||
public async listComments(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
top?: number,
|
||||
continuationToken?: string,
|
||||
excludeDeleted?: boolean,
|
||||
expand?: Comments_Contracts.CommentExpandOptions,
|
||||
order?: Comments_Contracts.CommentSortOrder,
|
||||
parentId?: number
|
||||
): Promise<Comments_Contracts.CommentList> {
|
||||
|
||||
return new Promise<Comments_Contracts.CommentList>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId
|
||||
};
|
||||
|
||||
let queryValues: any = {
|
||||
'$top': top,
|
||||
continuationToken: continuationToken,
|
||||
excludeDeleted: excludeDeleted,
|
||||
'$expand': expand,
|
||||
order: order,
|
||||
parentId: parentId,
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"9b394e93-7db5-46cb-9c26-09a36aa5c895",
|
||||
routeValues,
|
||||
queryValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<Comments_Contracts.CommentList>;
|
||||
res = await this.rest.get<Comments_Contracts.CommentList>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
Comments_Contracts.TypeInfo.CommentList,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Update a comment on a wiki page.
|
||||
*
|
||||
* @param {Comments_Contracts.CommentUpdateParameters} comment - Comment update request.
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
* @param {number} id - Comment ID.
|
||||
*/
|
||||
public async updateComment(
|
||||
comment: Comments_Contracts.CommentUpdateParameters,
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
id: number
|
||||
): Promise<Comments_Contracts.Comment> {
|
||||
|
||||
return new Promise<Comments_Contracts.Comment>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId,
|
||||
id: id
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"9b394e93-7db5-46cb-9c26-09a36aa5c895",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<Comments_Contracts.Comment>;
|
||||
res = await this.rest.update<Comments_Contracts.Comment>(url, comment, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
Comments_Contracts.TypeInfo.Comment,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets metadata or content of the wiki page for the provided path. Content negotiation is done based on the `Accept` header sent in the request.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki Id or name.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {string} path - Wiki page path.
|
||||
* @param {GitInterfaces.VersionControlRecursionType} recursionLevel - Recursion level for subpages retrieval. Defaults to `None` (Optional).
|
||||
* @param {GitInterfaces.GitVersionDescriptor} versionDescriptor - GitVersionDescriptor for the page. Defaults to the default branch (Optional).
|
||||
|
@ -71,7 +630,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b",
|
||||
routeValues,
|
||||
|
@ -79,7 +638,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -93,7 +652,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
* Gets metadata or content of the wiki page for the provided path. Content negotiation is done based on the `Accept` header sent in the request.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki Id or name.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {string} path - Wiki page path.
|
||||
* @param {GitInterfaces.VersionControlRecursionType} recursionLevel - Recursion level for subpages retrieval. Defaults to `None` (Optional).
|
||||
* @param {GitInterfaces.GitVersionDescriptor} versionDescriptor - GitVersionDescriptor for the page. Defaults to the default branch (Optional).
|
||||
|
@ -123,7 +682,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b",
|
||||
routeValues,
|
||||
|
@ -131,7 +690,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -145,8 +704,8 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
* Gets metadata or content of the wiki page for the provided page id. Content negotiation is done based on the `Accept` header sent in the request.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki Id or name.
|
||||
* @param {number} id - Wiki page id.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name..
|
||||
* @param {number} id - Wiki page ID.
|
||||
* @param {GitInterfaces.VersionControlRecursionType} recursionLevel - Recursion level for subpages retrieval. Defaults to `None` (Optional).
|
||||
* @param {boolean} includeContent - True to include the content of the page in the response for Json content type. Defaults to false (Optional)
|
||||
*/
|
||||
|
@ -172,7 +731,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"ceddcf75-1068-452d-8b13-2d4d76e1f970",
|
||||
routeValues,
|
||||
|
@ -180,7 +739,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -194,8 +753,8 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
* Gets metadata or content of the wiki page for the provided page id. Content negotiation is done based on the `Accept` header sent in the request.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki Id or name.
|
||||
* @param {number} id - Wiki page id.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name..
|
||||
* @param {number} id - Wiki page ID.
|
||||
* @param {GitInterfaces.VersionControlRecursionType} recursionLevel - Recursion level for subpages retrieval. Defaults to `None` (Optional).
|
||||
* @param {boolean} includeContent - True to include the content of the page in the response for Json content type. Defaults to false (Optional)
|
||||
*/
|
||||
|
@ -221,7 +780,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"ceddcf75-1068-452d-8b13-2d4d76e1f970",
|
||||
routeValues,
|
||||
|
@ -229,7 +788,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -239,11 +798,118 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns pageable list of Wiki Pages
|
||||
*
|
||||
* @param {WikiInterfaces.WikiPagesBatchRequest} pagesBatchRequest - Wiki batch page request.
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {GitInterfaces.GitVersionDescriptor} versionDescriptor - GitVersionDescriptor for the page. (Optional in case of ProjectWiki).
|
||||
*/
|
||||
public async getPagesBatch(
|
||||
pagesBatchRequest: WikiInterfaces.WikiPagesBatchRequest,
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
versionDescriptor?: GitInterfaces.GitVersionDescriptor
|
||||
): Promise<WikiInterfaces.WikiPageDetail[]> {
|
||||
|
||||
return new Promise<WikiInterfaces.WikiPageDetail[]>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier
|
||||
};
|
||||
|
||||
let queryValues: any = {
|
||||
versionDescriptor: versionDescriptor,
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"71323c46-2592-4398-8771-ced73dd87207",
|
||||
routeValues,
|
||||
queryValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WikiInterfaces.WikiPageDetail[]>;
|
||||
res = await this.rest.create<WikiInterfaces.WikiPageDetail[]>(url, pagesBatchRequest, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
WikiInterfaces.TypeInfo.WikiPageDetail,
|
||||
true);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns page detail corresponding to Page ID.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {number} pageId - Wiki page ID.
|
||||
* @param {number} pageViewsForDays - last N days from the current day for which page views is to be returned. It's inclusive of current day.
|
||||
*/
|
||||
public async getPageData(
|
||||
project: string,
|
||||
wikiIdentifier: string,
|
||||
pageId: number,
|
||||
pageViewsForDays?: number
|
||||
): Promise<WikiInterfaces.WikiPageDetail> {
|
||||
|
||||
return new Promise<WikiInterfaces.WikiPageDetail>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
wikiIdentifier: wikiIdentifier,
|
||||
pageId: pageId
|
||||
};
|
||||
|
||||
let queryValues: any = {
|
||||
pageViewsForDays: pageViewsForDays,
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"81c4e0fe-7663-4d62-ad46-6ab78459f274",
|
||||
routeValues,
|
||||
queryValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WikiInterfaces.WikiPageDetail>;
|
||||
res = await this.rest.get<WikiInterfaces.WikiPageDetail>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
WikiInterfaces.TypeInfo.WikiPageDetail,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new page view stats resource or updates an existing page view stats resource.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} wikiIdentifier - Wiki name or Id.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {GitInterfaces.GitVersionDescriptor} wikiVersion - Wiki version.
|
||||
* @param {string} path - Wiki page path.
|
||||
* @param {string} oldPath - Old page path. This is optional and required to rename path in existing page view stats.
|
||||
|
@ -276,7 +942,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wiki",
|
||||
"1087b746-5d15-41b9-bea6-14e325e7f880",
|
||||
routeValues,
|
||||
|
@ -320,7 +986,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wiki",
|
||||
"288d122c-dbd4-451d-aa5f-7dbbba070728",
|
||||
routeValues);
|
||||
|
@ -346,9 +1012,9 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
}
|
||||
|
||||
/**
|
||||
* Deletes the wiki corresponding to the wiki name or Id provided.
|
||||
* Deletes the wiki corresponding to the wiki ID or wiki name provided.
|
||||
*
|
||||
* @param {string} wikiIdentifier - Wiki name or Id.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
public async deleteWiki(
|
||||
|
@ -364,7 +1030,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wiki",
|
||||
"288d122c-dbd4-451d-aa5f-7dbbba070728",
|
||||
routeValues);
|
||||
|
@ -405,7 +1071,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wiki",
|
||||
"288d122c-dbd4-451d-aa5f-7dbbba070728",
|
||||
routeValues);
|
||||
|
@ -431,9 +1097,9 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the wiki corresponding to the wiki name or Id provided.
|
||||
* Gets the wiki corresponding to the wiki ID or wiki name provided.
|
||||
*
|
||||
* @param {string} wikiIdentifier - Wiki name or id.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
public async getWiki(
|
||||
|
@ -449,7 +1115,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wiki",
|
||||
"288d122c-dbd4-451d-aa5f-7dbbba070728",
|
||||
routeValues);
|
||||
|
@ -475,10 +1141,10 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
}
|
||||
|
||||
/**
|
||||
* Updates the wiki corresponding to the wiki Id or name provided using the update parameters.
|
||||
* Updates the wiki corresponding to the wiki ID or wiki name provided using the update parameters.
|
||||
*
|
||||
* @param {WikiInterfaces.WikiUpdateParameters} updateParameters - Update parameters.
|
||||
* @param {string} wikiIdentifier - Wiki name or Id.
|
||||
* @param {string} wikiIdentifier - Wiki ID or wiki name.
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
public async updateWiki(
|
||||
|
@ -495,7 +1161,7 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wiki",
|
||||
"288d122c-dbd4-451d-aa5f-7dbbba070728",
|
||||
routeValues);
|
||||
|
|
309
api/WorkApi.ts
309
api/WorkApi.ts
|
@ -60,6 +60,10 @@ export interface IWorkApi extends basem.ClientApiBase {
|
|||
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>;
|
||||
|
@ -102,7 +106,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"7799f497-3cb5-4f16-ad4f-5cd06012db64",
|
||||
routeValues);
|
||||
|
@ -154,7 +158,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"7c468d96-ab1d-4294-a360-92f07e9ccd98",
|
||||
routeValues);
|
||||
|
@ -206,7 +210,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"a93726f9-7867-4e38-b4f2-0bfafc2f6a94",
|
||||
routeValues);
|
||||
|
@ -255,7 +259,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"a93726f9-7867-4e38-b4f2-0bfafc2f6a94",
|
||||
routeValues);
|
||||
|
@ -316,7 +320,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0120b002-ab6c-4ca0-98cf-a8d7492f865c",
|
||||
routeValues,
|
||||
|
@ -378,7 +382,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0120b002-ab6c-4ca0-98cf-a8d7492f865c",
|
||||
routeValues,
|
||||
|
@ -420,7 +424,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"eb7ec5a3-1ba3-4fd1-b834-49a5a387e57d",
|
||||
routeValues);
|
||||
|
@ -484,7 +488,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"186abea3-5c35-432f-9e28-7a15b4312a0e",
|
||||
routeValues,
|
||||
|
@ -526,7 +530,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"bb494cc6-a0f5-4c6c-8dca-ea6912e79eb9",
|
||||
routeValues);
|
||||
|
@ -578,7 +582,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"23ad19fc-3b8e-4877-8462-b3f92bc06b40",
|
||||
routeValues);
|
||||
|
@ -627,7 +631,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"23ad19fc-3b8e-4877-8462-b3f92bc06b40",
|
||||
routeValues);
|
||||
|
@ -681,7 +685,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"23ad19fc-3b8e-4877-8462-b3f92bc06b40",
|
||||
routeValues);
|
||||
|
@ -733,7 +737,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"b30d9f58-1891-4b0a-b168-c46408f919b0",
|
||||
routeValues);
|
||||
|
@ -787,7 +791,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"b30d9f58-1891-4b0a-b168-c46408f919b0",
|
||||
routeValues);
|
||||
|
@ -839,7 +843,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"74412d15-8c1a-4352-a48d-ef1ed5587d57",
|
||||
routeValues);
|
||||
|
@ -894,7 +898,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"74412d15-8c1a-4352-a48d-ef1ed5587d57",
|
||||
routeValues);
|
||||
|
@ -948,7 +952,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"74412d15-8c1a-4352-a48d-ef1ed5587d57",
|
||||
routeValues);
|
||||
|
@ -1005,7 +1009,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"74412d15-8c1a-4352-a48d-ef1ed5587d57",
|
||||
routeValues);
|
||||
|
@ -1057,7 +1061,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"b044a3d9-02ea-49c7-91a1-b730949cc896",
|
||||
routeValues);
|
||||
|
@ -1111,7 +1115,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"b044a3d9-02ea-49c7-91a1-b730949cc896",
|
||||
routeValues);
|
||||
|
@ -1162,7 +1166,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"3f84a8d1-1aab-423e-a94b-6dcbdcca511f",
|
||||
routeValues);
|
||||
|
@ -1214,7 +1218,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"07c3b467-bc60-4f05-8e34-599ce288fafc",
|
||||
routeValues);
|
||||
|
@ -1268,7 +1272,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"07c3b467-bc60-4f05-8e34-599ce288fafc",
|
||||
routeValues);
|
||||
|
@ -1319,7 +1323,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"work",
|
||||
"0d63745f-31f3-4cf3-9056-2a064e567637",
|
||||
routeValues);
|
||||
|
@ -1374,7 +1378,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"45fe888c-239e-49fd-958c-df1a1ab21d97",
|
||||
routeValues);
|
||||
|
@ -1426,7 +1430,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"45fe888c-239e-49fd-958c-df1a1ab21d97",
|
||||
routeValues);
|
||||
|
@ -1483,7 +1487,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"45fe888c-239e-49fd-958c-df1a1ab21d97",
|
||||
routeValues);
|
||||
|
@ -1535,7 +1539,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c555d7ff-84e1-47df-9923-a3fe0cd8751b",
|
||||
routeValues);
|
||||
|
@ -1589,7 +1593,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c555d7ff-84e1-47df-9923-a3fe0cd8751b",
|
||||
routeValues);
|
||||
|
@ -1645,7 +1649,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"bdd0834e-101f-49f0-a6ae-509f384a12b4",
|
||||
routeValues,
|
||||
|
@ -1698,7 +1702,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c9175577-28a1-4b06-9197-8636af9f64ad",
|
||||
routeValues);
|
||||
|
@ -1750,7 +1754,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c9175577-28a1-4b06-9197-8636af9f64ad",
|
||||
routeValues);
|
||||
|
@ -1805,7 +1809,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c9175577-28a1-4b06-9197-8636af9f64ad",
|
||||
routeValues,
|
||||
|
@ -1857,7 +1861,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c9175577-28a1-4b06-9197-8636af9f64ad",
|
||||
routeValues);
|
||||
|
@ -1900,7 +1904,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0b42cb47-cd73-4810-ac90-19c9ba147453",
|
||||
routeValues);
|
||||
|
@ -1944,7 +1948,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0b42cb47-cd73-4810-ac90-19c9ba147453",
|
||||
routeValues);
|
||||
|
@ -1988,7 +1992,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0b42cb47-cd73-4810-ac90-19c9ba147453",
|
||||
routeValues);
|
||||
|
@ -2029,7 +2033,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0b42cb47-cd73-4810-ac90-19c9ba147453",
|
||||
routeValues);
|
||||
|
@ -2075,7 +2079,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0b42cb47-cd73-4810-ac90-19c9ba147453",
|
||||
routeValues);
|
||||
|
@ -2116,7 +2120,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"f901ba42-86d2-4b0c-89c1-3f86d06daa84",
|
||||
routeValues);
|
||||
|
@ -2168,7 +2172,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0863355d-aefd-4d63-8669-984c9b7b0e78",
|
||||
routeValues);
|
||||
|
@ -2222,7 +2226,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"0863355d-aefd-4d63-8669-984c9b7b0e78",
|
||||
routeValues);
|
||||
|
@ -2247,6 +2251,207 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
|
||||
*/
|
||||
public async getColumns(
|
||||
teamContext: TfsCoreInterfaces.TeamContext
|
||||
): Promise<WorkInterfaces.TaskboardColumns> {
|
||||
|
||||
return new Promise<WorkInterfaces.TaskboardColumns>(async (resolve, reject) => {
|
||||
let project = null;
|
||||
let team = null;
|
||||
if (teamContext) {
|
||||
project = teamContext.projectId || teamContext.project;
|
||||
team = teamContext.teamId || teamContext.team;
|
||||
}
|
||||
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
team: team
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c6815dbe-8e7e-4ffe-9a79-e83ee712aa92",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkInterfaces.TaskboardColumns>;
|
||||
res = await this.rest.get<WorkInterfaces.TaskboardColumns>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {WorkInterfaces.UpdateTaskboardColumn[]} updateColumns
|
||||
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
|
||||
*/
|
||||
public async updateColumns(
|
||||
updateColumns: WorkInterfaces.UpdateTaskboardColumn[],
|
||||
teamContext: TfsCoreInterfaces.TeamContext
|
||||
): Promise<WorkInterfaces.TaskboardColumns> {
|
||||
|
||||
return new Promise<WorkInterfaces.TaskboardColumns>(async (resolve, reject) => {
|
||||
let project = null;
|
||||
let team = null;
|
||||
if (teamContext) {
|
||||
project = teamContext.projectId || teamContext.project;
|
||||
team = teamContext.teamId || teamContext.team;
|
||||
}
|
||||
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
team: team
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c6815dbe-8e7e-4ffe-9a79-e83ee712aa92",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkInterfaces.TaskboardColumns>;
|
||||
res = await this.rest.replace<WorkInterfaces.TaskboardColumns>(url, updateColumns, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
|
||||
* @param {string} iterationId
|
||||
*/
|
||||
public async getWorkItemColumns(
|
||||
teamContext: TfsCoreInterfaces.TeamContext,
|
||||
iterationId: string
|
||||
): Promise<WorkInterfaces.TaskboardWorkItemColumn[]> {
|
||||
|
||||
return new Promise<WorkInterfaces.TaskboardWorkItemColumn[]>(async (resolve, reject) => {
|
||||
let project = null;
|
||||
let team = null;
|
||||
if (teamContext) {
|
||||
project = teamContext.projectId || teamContext.project;
|
||||
team = teamContext.teamId || teamContext.team;
|
||||
}
|
||||
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
team: team,
|
||||
iterationId: iterationId
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"1be23c36-8872-4abc-b57d-402cd6c669d9",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkInterfaces.TaskboardWorkItemColumn[]>;
|
||||
res = await this.rest.get<WorkInterfaces.TaskboardWorkItemColumn[]>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
true);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {WorkInterfaces.UpdateTaskboardWorkItemColumn} updateColumn
|
||||
* @param {TfsCoreInterfaces.TeamContext} teamContext - The team context for the operation
|
||||
* @param {string} iterationId
|
||||
* @param {number} workItemId
|
||||
*/
|
||||
public async updateWorkItemColumn(
|
||||
updateColumn: WorkInterfaces.UpdateTaskboardWorkItemColumn,
|
||||
teamContext: TfsCoreInterfaces.TeamContext,
|
||||
iterationId: string,
|
||||
workItemId: number
|
||||
): Promise<void> {
|
||||
|
||||
return new Promise<void>(async (resolve, reject) => {
|
||||
let project = null;
|
||||
let team = null;
|
||||
if (teamContext) {
|
||||
project = teamContext.projectId || teamContext.project;
|
||||
team = teamContext.teamId || teamContext.team;
|
||||
}
|
||||
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
team: team,
|
||||
iterationId: iterationId,
|
||||
workItemId: workItemId
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"1be23c36-8872-4abc-b57d-402cd6c669d9",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<void>;
|
||||
res = await this.rest.update<void>(url, updateColumn, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get team's days off for an iteration
|
||||
*
|
||||
|
@ -2274,7 +2479,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"2d4faa2e-9150-4cbf-a47a-932b1b4a0773",
|
||||
routeValues);
|
||||
|
@ -2302,7 +2507,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
/**
|
||||
* Set a team's days off for an iteration
|
||||
*
|
||||
* @param {WorkInterfaces.TeamSettingsDaysOffPatch} daysOffPatch - Team's days off patch containting a list of start and end dates
|
||||
* @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
|
||||
*/
|
||||
|
@ -2328,7 +2533,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"2d4faa2e-9150-4cbf-a47a-932b1b4a0773",
|
||||
routeValues);
|
||||
|
@ -2377,7 +2582,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"07ced576-58ed-49e6-9c1e-5cb53ab8bf2a",
|
||||
routeValues);
|
||||
|
@ -2428,7 +2633,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"07ced576-58ed-49e6-9c1e-5cb53ab8bf2a",
|
||||
routeValues);
|
||||
|
@ -2477,7 +2682,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c3c1012b-bea7-49d7-b45e-1664e566f84c",
|
||||
routeValues);
|
||||
|
@ -2528,7 +2733,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"c3c1012b-bea7-49d7-b45e-1664e566f84c",
|
||||
routeValues);
|
||||
|
@ -2580,7 +2785,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"5b3ef1a6-d3ab-44cd-bafd-c7f45db850fa",
|
||||
routeValues);
|
||||
|
@ -2631,7 +2836,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"1c22b714-e7e4-41b9-85e0-56ee13ef55ed",
|
||||
routeValues);
|
||||
|
@ -2685,7 +2890,7 @@ export class WorkApi extends basem.ClientApiBase implements IWorkApi {
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"work",
|
||||
"47755db2-d7eb-405a-8c25-675401525fc9",
|
||||
routeValues);
|
||||
|
|
|
@ -49,6 +49,8 @@ export interface IWorkItemTrackingApi extends basem.ClientApiBase {
|
|||
deleteField(fieldNameOrRefName: string, project?: string): Promise<void>;
|
||||
getField(fieldNameOrRefName: string, project?: string): Promise<WorkItemTrackingInterfaces.WorkItemField>;
|
||||
getFields(project?: string, expand?: WorkItemTrackingInterfaces.GetFieldsExpand): Promise<WorkItemTrackingInterfaces.WorkItemField[]>;
|
||||
updateField(payload: WorkItemTrackingInterfaces.UpdateWorkItemField, fieldNameOrRefName: string, project?: string): Promise<WorkItemTrackingInterfaces.WorkItemField>;
|
||||
migrateProjectsProcess(newProcess: WorkItemTrackingInterfaces.ProcessIdModel, project: string): Promise<WorkItemTrackingInterfaces.ProcessMigrationResultModel>;
|
||||
createQuery(postedQuery: WorkItemTrackingInterfaces.QueryHierarchyItem, project: string, query: string, validateWiqlOnly?: boolean): Promise<WorkItemTrackingInterfaces.QueryHierarchyItem>;
|
||||
deleteQuery(project: string, query: string): Promise<void>;
|
||||
getQueries(project: string, expand?: WorkItemTrackingInterfaces.QueryExpand, depth?: number, includeDeleted?: boolean): Promise<WorkItemTrackingInterfaces.QueryHierarchyItem[]>;
|
||||
|
@ -63,7 +65,10 @@ export interface IWorkItemTrackingApi extends basem.ClientApiBase {
|
|||
restoreWorkItem(payload: WorkItemTrackingInterfaces.WorkItemDeleteUpdate, id: number, project?: string): Promise<WorkItemTrackingInterfaces.WorkItemDelete>;
|
||||
getRevision(id: number, revisionNumber: number, expand?: WorkItemTrackingInterfaces.WorkItemExpand, project?: string): Promise<WorkItemTrackingInterfaces.WorkItem>;
|
||||
getRevisions(id: number, top?: number, skip?: number, expand?: WorkItemTrackingInterfaces.WorkItemExpand, project?: string): Promise<WorkItemTrackingInterfaces.WorkItem[]>;
|
||||
evaluateRulesOnField(ruleEngineInput: WorkItemTrackingInterfaces.FieldsToEvaluate): Promise<void>;
|
||||
deleteTag(project: string, tagIdOrName: string): Promise<void>;
|
||||
getTag(project: string, tagIdOrName: string): Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition>;
|
||||
getTags(project: string): Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition[]>;
|
||||
updateTag(tagData: WorkItemTrackingInterfaces.WorkItemTagDefinition, project: string, tagIdOrName: string): Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition>;
|
||||
createTemplate(template: WorkItemTrackingInterfaces.WorkItemTemplate, teamContext: TfsCoreInterfaces.TeamContext): Promise<WorkItemTrackingInterfaces.WorkItemTemplate>;
|
||||
getTemplates(teamContext: TfsCoreInterfaces.TeamContext, workitemtypename?: string): Promise<WorkItemTrackingInterfaces.WorkItemTemplateReference[]>;
|
||||
deleteTemplate(teamContext: TfsCoreInterfaces.TeamContext, templateId: string): Promise<void>;
|
||||
|
@ -131,7 +136,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"def3d688-ddf5-4096-9024-69beea15cdbd",
|
||||
routeValues,
|
||||
|
@ -170,7 +175,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"1bc988f4-c15f-4072-ad35-497c87e3a909",
|
||||
routeValues);
|
||||
|
@ -208,7 +213,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"d60eeb6e-e18c-4478-9e94-a0094e28f41c",
|
||||
routeValues);
|
||||
|
@ -246,7 +251,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"1a31de40-e318-41cd-a6c6-881077df52e3",
|
||||
routeValues);
|
||||
|
@ -289,7 +294,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"a9a9aa7a-8c09-44d3-ad1b-46e855c1e3d3",
|
||||
routeValues);
|
||||
|
@ -348,7 +353,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"e07b5fa4-1499-494d-a496-64b860fd64ff",
|
||||
routeValues,
|
||||
|
@ -403,7 +408,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"e07b5fa4-1499-494d-a496-64b860fd64ff",
|
||||
routeValues,
|
||||
|
@ -411,7 +416,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -449,7 +454,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"e07b5fa4-1499-494d-a496-64b860fd64ff",
|
||||
routeValues,
|
||||
|
@ -457,7 +462,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -471,7 +476,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
* Gets root classification nodes or list of classification nodes for a given list of nodes ids, for a given project. In case ids parameter is supplied you will get list of classification nodes for those ids. Otherwise you will get root classification nodes for this project.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {number[]} ids - Comma seperated integer classification nodes ids. It's not required, if you want root nodes.
|
||||
* @param {number[]} ids - Comma separated integer classification nodes ids. It's not required, if you want root nodes.
|
||||
* @param {number} depth - Depth of children to fetch.
|
||||
* @param {WorkItemTrackingInterfaces.ClassificationNodesErrorPolicy} errorPolicy - Flag to handle errors in getting some nodes. Possible options are Fail and Omit.
|
||||
*/
|
||||
|
@ -498,7 +503,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a70579d1-f53a-48ee-a5be-7be8659023b9",
|
||||
routeValues,
|
||||
|
@ -546,7 +551,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a70579d1-f53a-48ee-a5be-7be8659023b9",
|
||||
routeValues,
|
||||
|
@ -596,7 +601,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"5a172953-1b41-49d3-840a-33f79c3ce89f",
|
||||
routeValues);
|
||||
|
@ -649,7 +654,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"5a172953-1b41-49d3-840a-33f79c3ce89f",
|
||||
routeValues,
|
||||
|
@ -703,7 +708,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"5a172953-1b41-49d3-840a-33f79c3ce89f",
|
||||
routeValues,
|
||||
|
@ -753,7 +758,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"5a172953-1b41-49d3-840a-33f79c3ce89f",
|
||||
routeValues);
|
||||
|
@ -812,7 +817,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"e33ca5e0-2349-4285-af3d-d72d86781c35",
|
||||
routeValues,
|
||||
|
@ -859,7 +864,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"608aac0a-32e1-4493-a863-b9cf4566d257",
|
||||
routeValues);
|
||||
|
@ -906,7 +911,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"608aac0a-32e1-4493-a863-b9cf4566d257",
|
||||
routeValues);
|
||||
|
@ -962,7 +967,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"608aac0a-32e1-4493-a863-b9cf4566d257",
|
||||
routeValues,
|
||||
|
@ -1025,7 +1030,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"608aac0a-32e1-4493-a863-b9cf4566d257",
|
||||
routeValues,
|
||||
|
@ -1085,7 +1090,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"608aac0a-32e1-4493-a863-b9cf4566d257",
|
||||
routeValues,
|
||||
|
@ -1135,7 +1140,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"608aac0a-32e1-4493-a863-b9cf4566d257",
|
||||
routeValues);
|
||||
|
@ -1185,7 +1190,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"f6cb3f27-1028-4851-af96-887e570dc21f",
|
||||
routeValues);
|
||||
|
@ -1235,7 +1240,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"f6cb3f27-1028-4851-af96-887e570dc21f",
|
||||
routeValues);
|
||||
|
@ -1282,7 +1287,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"f6cb3f27-1028-4851-af96-887e570dc21f",
|
||||
routeValues);
|
||||
|
@ -1330,7 +1335,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"49e03b34-3be0-42e3-8a5d-e8dfb88ac954",
|
||||
routeValues);
|
||||
|
@ -1375,7 +1380,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"49e03b34-3be0-42e3-8a5d-e8dfb88ac954",
|
||||
routeValues);
|
||||
|
@ -1418,7 +1423,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b51fd764-e5c2-4b9b-aaf7-3395cf4bdd94",
|
||||
routeValues);
|
||||
|
@ -1444,7 +1449,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
}
|
||||
|
||||
/**
|
||||
* Deletes the field.
|
||||
* Deletes the field. To undelete a filed, see "Update Field" API.
|
||||
*
|
||||
* @param {string} fieldNameOrRefName - Field simple name or reference name
|
||||
* @param {string} project - Project ID or project name
|
||||
|
@ -1462,7 +1467,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b51fd764-e5c2-4b9b-aaf7-3395cf4bdd94",
|
||||
routeValues);
|
||||
|
@ -1506,7 +1511,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b51fd764-e5c2-4b9b-aaf7-3395cf4bdd94",
|
||||
routeValues);
|
||||
|
@ -1532,7 +1537,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns information for all fields.
|
||||
* Returns information for all fields. The project ID/name parameter is optional.
|
||||
*
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {WorkItemTrackingInterfaces.GetFieldsExpand} expand - Use ExtensionFields to include extension fields, otherwise exclude them. Unless the feature flag for this parameter is enabled, extension fields are always included.
|
||||
|
@ -1553,7 +1558,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b51fd764-e5c2-4b9b-aaf7-3395cf4bdd94",
|
||||
routeValues,
|
||||
|
@ -1579,6 +1584,95 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Update a field.
|
||||
*
|
||||
* @param {WorkItemTrackingInterfaces.UpdateWorkItemField} payload - Payload contains desired value of the field's properties
|
||||
* @param {string} fieldNameOrRefName - Name/reference name of the field to be updated
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
public async updateField(
|
||||
payload: WorkItemTrackingInterfaces.UpdateWorkItemField,
|
||||
fieldNameOrRefName: string,
|
||||
project?: string
|
||||
): Promise<WorkItemTrackingInterfaces.WorkItemField> {
|
||||
|
||||
return new Promise<WorkItemTrackingInterfaces.WorkItemField>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
fieldNameOrRefName: fieldNameOrRefName
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b51fd764-e5c2-4b9b-aaf7-3395cf4bdd94",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingInterfaces.WorkItemField>;
|
||||
res = await this.rest.update<WorkItemTrackingInterfaces.WorkItemField>(url, payload, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
WorkItemTrackingInterfaces.TypeInfo.WorkItemField,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Migrates a project to a different process within the same OOB type. For example, you can only migrate a project from agile/custom-agile to agile/custom-agile.
|
||||
*
|
||||
* @param {WorkItemTrackingInterfaces.ProcessIdModel} newProcess
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
public async migrateProjectsProcess(
|
||||
newProcess: WorkItemTrackingInterfaces.ProcessIdModel,
|
||||
project: string
|
||||
): Promise<WorkItemTrackingInterfaces.ProcessMigrationResultModel> {
|
||||
|
||||
return new Promise<WorkItemTrackingInterfaces.ProcessMigrationResultModel>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"19801631-d4e5-47e9-8166-0330de0ff1e6",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingInterfaces.ProcessMigrationResultModel>;
|
||||
res = await this.rest.create<WorkItemTrackingInterfaces.ProcessMigrationResultModel>(url, newProcess, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a query, or moves a query.
|
||||
*
|
||||
|
@ -1606,7 +1700,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a67d190c-c41f-424b-814d-0e906f659301",
|
||||
routeValues,
|
||||
|
@ -1651,7 +1745,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a67d190c-c41f-424b-814d-0e906f659301",
|
||||
routeValues);
|
||||
|
@ -1704,7 +1798,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a67d190c-c41f-424b-814d-0e906f659301",
|
||||
routeValues,
|
||||
|
@ -1761,7 +1855,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a67d190c-c41f-424b-814d-0e906f659301",
|
||||
routeValues,
|
||||
|
@ -1821,7 +1915,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a67d190c-c41f-424b-814d-0e906f659301",
|
||||
routeValues,
|
||||
|
@ -1874,7 +1968,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a67d190c-c41f-424b-814d-0e906f659301",
|
||||
routeValues,
|
||||
|
@ -1918,7 +2012,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"549816f9-09b0-4e75-9e81-01fbfcd07426",
|
||||
routeValues);
|
||||
|
@ -1962,7 +2056,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b70d8d39-926c-465e-b927-b1bf0e5ca0e0",
|
||||
routeValues);
|
||||
|
@ -2006,7 +2100,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b70d8d39-926c-465e-b927-b1bf0e5ca0e0",
|
||||
routeValues);
|
||||
|
@ -2056,7 +2150,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b70d8d39-926c-465e-b927-b1bf0e5ca0e0",
|
||||
routeValues,
|
||||
|
@ -2098,7 +2192,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b70d8d39-926c-465e-b927-b1bf0e5ca0e0",
|
||||
routeValues);
|
||||
|
@ -2144,7 +2238,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"b70d8d39-926c-465e-b927-b1bf0e5ca0e0",
|
||||
routeValues);
|
||||
|
@ -2197,7 +2291,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"a00c85a5-80fa-4565-99c3-bcd2181434bb",
|
||||
routeValues,
|
||||
|
@ -2254,7 +2348,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"a00c85a5-80fa-4565-99c3-bcd2181434bb",
|
||||
routeValues,
|
||||
|
@ -2281,23 +2375,25 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
}
|
||||
|
||||
/**
|
||||
* Validates the fields values.
|
||||
*
|
||||
* @param {WorkItemTrackingInterfaces.FieldsToEvaluate} ruleEngineInput
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} tagIdOrName
|
||||
*/
|
||||
public async evaluateRulesOnField(
|
||||
ruleEngineInput: WorkItemTrackingInterfaces.FieldsToEvaluate
|
||||
public async deleteTag(
|
||||
project: string,
|
||||
tagIdOrName: string
|
||||
): Promise<void> {
|
||||
|
||||
return new Promise<void>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
tagIdOrName: tagIdOrName
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"1a3a1536-dca6-4509-b9c3-dd9bb2981506",
|
||||
"bc15bc60-e7a8-43cb-ab01-2106be3983a1",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
@ -2305,7 +2401,132 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<void>;
|
||||
res = await this.rest.create<void>(url, ruleEngineInput, options);
|
||||
res = await this.rest.del<void>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} tagIdOrName
|
||||
*/
|
||||
public async getTag(
|
||||
project: string,
|
||||
tagIdOrName: string
|
||||
): Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition> {
|
||||
|
||||
return new Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
tagIdOrName: tagIdOrName
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"bc15bc60-e7a8-43cb-ab01-2106be3983a1",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingInterfaces.WorkItemTagDefinition>;
|
||||
res = await this.rest.get<WorkItemTrackingInterfaces.WorkItemTagDefinition>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} project - Project ID or project name
|
||||
*/
|
||||
public async getTags(
|
||||
project: string
|
||||
): Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition[]> {
|
||||
|
||||
return new Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition[]>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"bc15bc60-e7a8-43cb-ab01-2106be3983a1",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingInterfaces.WorkItemTagDefinition[]>;
|
||||
res = await this.rest.get<WorkItemTrackingInterfaces.WorkItemTagDefinition[]>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
true);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {WorkItemTrackingInterfaces.WorkItemTagDefinition} tagData
|
||||
* @param {string} project - Project ID or project name
|
||||
* @param {string} tagIdOrName
|
||||
*/
|
||||
public async updateTag(
|
||||
tagData: WorkItemTrackingInterfaces.WorkItemTagDefinition,
|
||||
project: string,
|
||||
tagIdOrName: string
|
||||
): Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition> {
|
||||
|
||||
return new Promise<WorkItemTrackingInterfaces.WorkItemTagDefinition>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
project: project,
|
||||
tagIdOrName: tagIdOrName
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"bc15bc60-e7a8-43cb-ab01-2106be3983a1",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingInterfaces.WorkItemTagDefinition>;
|
||||
res = await this.rest.update<WorkItemTrackingInterfaces.WorkItemTagDefinition>(url, tagData, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
|
@ -2346,7 +2567,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"6a90345f-a676-4969-afce-8e163e1d5642",
|
||||
routeValues);
|
||||
|
@ -2401,7 +2622,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"6a90345f-a676-4969-afce-8e163e1d5642",
|
||||
routeValues,
|
||||
|
@ -2454,7 +2675,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"fb10264a-8836-48a0-8033-1b0ccd2748d5",
|
||||
routeValues);
|
||||
|
@ -2506,7 +2727,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"fb10264a-8836-48a0-8033-1b0ccd2748d5",
|
||||
routeValues);
|
||||
|
@ -2560,7 +2781,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"fb10264a-8836-48a0-8033-1b0ccd2748d5",
|
||||
routeValues);
|
||||
|
@ -2607,7 +2828,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"6570bf97-d02c-4a91-8d93-3abe9895b1a9",
|
||||
routeValues);
|
||||
|
@ -2660,7 +2881,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"6570bf97-d02c-4a91-8d93-3abe9895b1a9",
|
||||
routeValues,
|
||||
|
@ -2721,7 +2942,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"1a9c53f7-f243-4447-b110-35ef023636e4",
|
||||
routeValues,
|
||||
|
@ -2783,7 +3004,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"a02355f5-5f8a-4671-8e32-369d23aac83d",
|
||||
routeValues,
|
||||
|
@ -2834,7 +3055,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"4e1eb4a5-1970-4228-a682-ec48eb2dca30",
|
||||
routeValues,
|
||||
|
@ -2873,7 +3094,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"4e1eb4a5-1970-4228-a682-ec48eb2dca30",
|
||||
routeValues);
|
||||
|
@ -2923,7 +3144,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"4e1eb4a5-1970-4228-a682-ec48eb2dca30",
|
||||
routeValues,
|
||||
|
@ -2931,7 +3152,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("image/svg+xml", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -2966,7 +3187,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"4e1eb4a5-1970-4228-a682-ec48eb2dca30",
|
||||
routeValues,
|
||||
|
@ -2974,7 +3195,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
let url: string = verData.requestUrl!;
|
||||
|
||||
let apiVersion: string = verData.apiVersion;
|
||||
let apiVersion: string = verData.apiVersion!;
|
||||
let accept: string = this.createAcceptHeader("image/xaml+xml", apiVersion);
|
||||
resolve((await this.http.get(url, { "Accept": accept })).message);
|
||||
}
|
||||
|
@ -3015,7 +3236,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"b5b5b6d0-0308-40a1-b3f4-b9bb3c66878f",
|
||||
routeValues,
|
||||
|
@ -3057,7 +3278,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"f5d33bc9-5b49-4a3c-a9bd-f3cd46dd2165",
|
||||
routeValues);
|
||||
|
@ -3095,7 +3316,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"f5d33bc9-5b49-4a3c-a9bd-f3cd46dd2165",
|
||||
routeValues);
|
||||
|
@ -3172,7 +3393,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"f828fe59-dd87-495d-a17c-7a8d6211ca6c",
|
||||
routeValues,
|
||||
|
@ -3228,7 +3449,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"f828fe59-dd87-495d-a17c-7a8d6211ca6c",
|
||||
routeValues,
|
||||
|
@ -3277,7 +3498,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"4a644469-90c5-4fcc-9a9f-be0827d369ec",
|
||||
routeValues,
|
||||
|
@ -3343,7 +3564,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"62d3d110-0047-428c-ad3c-4fe872c91c74",
|
||||
routeValues,
|
||||
|
@ -3401,7 +3622,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"62d3d110-0047-428c-ad3c-4fe872c91c74",
|
||||
routeValues,
|
||||
|
@ -3452,7 +3673,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"72c7ddf8-2cdc-4f60-90cd-ab71c14a399b",
|
||||
routeValues,
|
||||
|
@ -3509,7 +3730,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"72c7ddf8-2cdc-4f60-90cd-ab71c14a399b",
|
||||
routeValues,
|
||||
|
@ -3572,7 +3793,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"72c7ddf8-2cdc-4f60-90cd-ab71c14a399b",
|
||||
routeValues,
|
||||
|
@ -3638,7 +3859,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"72c7ddf8-2cdc-4f60-90cd-ab71c14a399b",
|
||||
routeValues,
|
||||
|
@ -3683,7 +3904,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"908509b6-4248-4475-a1cd-829139ba419f",
|
||||
routeValues);
|
||||
|
@ -3723,7 +3944,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"0b83df8a-3496-4ddb-ba44-63634f4cda61",
|
||||
routeValues);
|
||||
|
@ -3773,7 +3994,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"afae844b-e2f6-44c2-8053-17b3bb936a40",
|
||||
routeValues,
|
||||
|
@ -3815,7 +4036,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"9b9f5734-36c8-415e-ba67-f83b45c31408",
|
||||
routeValues);
|
||||
|
@ -3859,7 +4080,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"9b9f5734-36c8-415e-ba67-f83b45c31408",
|
||||
routeValues);
|
||||
|
@ -3899,7 +4120,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"958fde80-115e-43fb-bd65-749c48057faf",
|
||||
routeValues);
|
||||
|
@ -3939,7 +4160,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"f0f8dc62-3975-48ce-8051-f636b68b52e3",
|
||||
routeValues);
|
||||
|
@ -3983,7 +4204,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"7c8d7a76-4a09-43e8-b5df-bd792f4ac6aa",
|
||||
routeValues);
|
||||
|
@ -4024,7 +4245,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"wit",
|
||||
"7c8d7a76-4a09-43e8-b5df-bd792f4ac6aa",
|
||||
routeValues);
|
||||
|
@ -4074,7 +4295,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"bd293ce5-3d25-4192-8e67-e8092e879efb",
|
||||
routeValues,
|
||||
|
@ -4128,7 +4349,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.3",
|
||||
"6.0-preview.3",
|
||||
"wit",
|
||||
"bd293ce5-3d25-4192-8e67-e8092e879efb",
|
||||
routeValues,
|
||||
|
@ -4173,7 +4394,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"7c9d7a76-4a09-43e8-b5df-bd792f4ac6aa",
|
||||
routeValues);
|
||||
|
@ -4223,7 +4444,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"8637ac8b-5eb6-4f90-b3f7-4f2ff576a459",
|
||||
routeValues,
|
||||
|
@ -4267,7 +4488,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"wit",
|
||||
"8637ac8b-5eb6-4f90-b3f7-4f2ff576a459",
|
||||
routeValues);
|
||||
|
|
|
@ -28,7 +28,7 @@ export interface IWorkItemTrackingProcessApi extends basem.ClientApiBase {
|
|||
updateControl(control: WorkItemTrackingProcessInterfaces.Control, processId: string, witRefName: string, groupId: string, controlId: string): Promise<WorkItemTrackingProcessInterfaces.Control>;
|
||||
addFieldToWorkItemType(field: WorkItemTrackingProcessInterfaces.AddProcessWorkItemTypeFieldRequest, processId: string, witRefName: string): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeField>;
|
||||
getAllWorkItemTypeFields(processId: string, witRefName: string): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeField[]>;
|
||||
getWorkItemTypeField(processId: string, witRefName: string, fieldRefName: string): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeField>;
|
||||
getWorkItemTypeField(processId: string, witRefName: string, fieldRefName: string, expand?: WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeFieldsExpandLevel): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeField>;
|
||||
removeWorkItemTypeField(processId: string, witRefName: string, fieldRefName: string): Promise<void>;
|
||||
updateWorkItemTypeField(field: WorkItemTrackingProcessInterfaces.UpdateProcessWorkItemTypeFieldRequest, processId: string, witRefName: string, fieldRefName: string): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeField>;
|
||||
addGroup(group: WorkItemTrackingProcessInterfaces.Group, processId: string, witRefName: string, pageId: string, sectionId: string): Promise<WorkItemTrackingProcessInterfaces.Group>;
|
||||
|
@ -61,6 +61,9 @@ export interface IWorkItemTrackingProcessApi extends basem.ClientApiBase {
|
|||
getStateDefinitions(processId: string, witRefName: string): Promise<WorkItemTrackingProcessInterfaces.WorkItemStateResultModel[]>;
|
||||
hideStateDefinition(hideStateModel: WorkItemTrackingProcessInterfaces.HideStateModel, processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessInterfaces.WorkItemStateResultModel>;
|
||||
updateStateDefinition(stateModel: WorkItemTrackingProcessInterfaces.WorkItemStateInputModel, processId: string, witRefName: string, stateId: string): Promise<WorkItemTrackingProcessInterfaces.WorkItemStateResultModel>;
|
||||
deleteSystemControl(processId: string, witRefName: string, controlId: string): Promise<WorkItemTrackingProcessInterfaces.Control[]>;
|
||||
getSystemControls(processId: string, witRefName: string): Promise<WorkItemTrackingProcessInterfaces.Control[]>;
|
||||
updateSystemControl(control: WorkItemTrackingProcessInterfaces.Control, processId: string, witRefName: string, controlId: string): Promise<WorkItemTrackingProcessInterfaces.Control>;
|
||||
createProcessWorkItemType(workItemType: WorkItemTrackingProcessInterfaces.CreateProcessWorkItemTypeRequest, processId: string): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemType>;
|
||||
deleteProcessWorkItemType(processId: string, witRefName: string): Promise<void>;
|
||||
getProcessWorkItemType(processId: string, witRefName: string, expand?: WorkItemTrackingProcessInterfaces.GetWorkItemTypeExpand): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemType>;
|
||||
|
@ -98,7 +101,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
|
||||
routeValues);
|
||||
|
@ -142,7 +145,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
|
||||
routeValues);
|
||||
|
@ -192,7 +195,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
|
||||
routeValues,
|
||||
|
@ -240,7 +243,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
|
||||
routeValues,
|
||||
|
@ -287,7 +290,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
|
||||
routeValues);
|
||||
|
@ -336,7 +339,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
|
||||
routeValues);
|
||||
|
@ -394,7 +397,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
|
||||
routeValues,
|
||||
|
@ -445,7 +448,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
|
||||
routeValues);
|
||||
|
@ -497,7 +500,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
|
||||
routeValues);
|
||||
|
@ -543,7 +546,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
|
||||
routeValues);
|
||||
|
@ -587,7 +590,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
|
||||
routeValues);
|
||||
|
@ -618,11 +621,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
* @param {string} processId - The ID of the process.
|
||||
* @param {string} witRefName - The reference name of the work item type.
|
||||
* @param {string} fieldRefName - The reference name of the field.
|
||||
* @param {WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeFieldsExpandLevel} expand
|
||||
*/
|
||||
public async getWorkItemTypeField(
|
||||
processId: string,
|
||||
witRefName: string,
|
||||
fieldRefName: string
|
||||
fieldRefName: string,
|
||||
expand?: WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeFieldsExpandLevel
|
||||
): Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeField> {
|
||||
|
||||
return new Promise<WorkItemTrackingProcessInterfaces.ProcessWorkItemTypeField>(async (resolve, reject) => {
|
||||
|
@ -632,12 +637,17 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
fieldRefName: fieldRefName
|
||||
};
|
||||
|
||||
let queryValues: any = {
|
||||
'$expand': expand,
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
|
||||
routeValues);
|
||||
routeValues,
|
||||
queryValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
|
@ -681,7 +691,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
|
||||
routeValues);
|
||||
|
@ -730,7 +740,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
|
||||
routeValues);
|
||||
|
@ -782,7 +792,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
|
||||
routeValues);
|
||||
|
@ -852,7 +862,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
|
||||
routeValues,
|
||||
|
@ -917,7 +927,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
|
||||
routeValues,
|
||||
|
@ -971,7 +981,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
|
||||
routeValues);
|
||||
|
@ -1026,7 +1036,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
|
||||
routeValues);
|
||||
|
@ -1070,7 +1080,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"fa8646eb-43cd-4b71-9564-40106fd63e40",
|
||||
routeValues);
|
||||
|
@ -1110,7 +1120,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"01e15468-e27c-4e20-a974-bd957dcccebc",
|
||||
routeValues);
|
||||
|
@ -1151,7 +1161,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"01e15468-e27c-4e20-a974-bd957dcccebc",
|
||||
routeValues);
|
||||
|
@ -1192,7 +1202,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"01e15468-e27c-4e20-a974-bd957dcccebc",
|
||||
routeValues);
|
||||
|
@ -1230,7 +1240,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"01e15468-e27c-4e20-a974-bd957dcccebc",
|
||||
routeValues);
|
||||
|
@ -1273,7 +1283,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"01e15468-e27c-4e20-a974-bd957dcccebc",
|
||||
routeValues);
|
||||
|
@ -1319,7 +1329,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"1cc7b29f-6697-4d9d-b0a1-2650d3e1d584",
|
||||
routeValues);
|
||||
|
@ -1366,7 +1376,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"1cc7b29f-6697-4d9d-b0a1-2650d3e1d584",
|
||||
routeValues);
|
||||
|
@ -1412,7 +1422,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"1cc7b29f-6697-4d9d-b0a1-2650d3e1d584",
|
||||
routeValues);
|
||||
|
@ -1452,7 +1462,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
|
||||
routeValues);
|
||||
|
@ -1493,7 +1503,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
|
||||
routeValues);
|
||||
|
@ -1536,7 +1546,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
|
||||
routeValues);
|
||||
|
@ -1580,7 +1590,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
|
||||
routeValues,
|
||||
|
@ -1628,7 +1638,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
|
||||
routeValues,
|
||||
|
@ -1675,7 +1685,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
|
||||
routeValues);
|
||||
|
@ -1722,7 +1732,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
|
||||
routeValues);
|
||||
|
@ -1769,7 +1779,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
|
||||
routeValues);
|
||||
|
@ -1813,7 +1823,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
|
||||
routeValues);
|
||||
|
@ -1862,7 +1872,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
|
||||
routeValues);
|
||||
|
@ -1908,7 +1918,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
|
||||
routeValues);
|
||||
|
@ -1955,7 +1965,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
|
||||
routeValues);
|
||||
|
@ -2002,7 +2012,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
|
||||
routeValues);
|
||||
|
@ -2046,7 +2056,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
|
||||
routeValues);
|
||||
|
@ -2095,7 +2105,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
|
||||
routeValues);
|
||||
|
@ -2144,7 +2154,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
|
||||
routeValues);
|
||||
|
@ -2169,6 +2179,146 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a system control modification on 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} controlId - The ID of the control.
|
||||
*/
|
||||
public async deleteSystemControl(
|
||||
processId: string,
|
||||
witRefName: string,
|
||||
controlId: string
|
||||
): Promise<WorkItemTrackingProcessInterfaces.Control[]> {
|
||||
|
||||
return new Promise<WorkItemTrackingProcessInterfaces.Control[]>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
processId: processId,
|
||||
witRefName: witRefName,
|
||||
controlId: controlId
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"ff9a3d2c-32b7-4c6c-991c-d5a251fb9098",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingProcessInterfaces.Control[]>;
|
||||
res = await this.rest.del<WorkItemTrackingProcessInterfaces.Control[]>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
true);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets edited system controls for a work item type in a process. To get all system controls (base + edited) use layout API(s)
|
||||
*
|
||||
* @param {string} processId - The ID of the process.
|
||||
* @param {string} witRefName - The reference name of the work item type.
|
||||
*/
|
||||
public async getSystemControls(
|
||||
processId: string,
|
||||
witRefName: string
|
||||
): Promise<WorkItemTrackingProcessInterfaces.Control[]> {
|
||||
|
||||
return new Promise<WorkItemTrackingProcessInterfaces.Control[]>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
processId: processId,
|
||||
witRefName: witRefName
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"ff9a3d2c-32b7-4c6c-991c-d5a251fb9098",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingProcessInterfaces.Control[]>;
|
||||
res = await this.rest.get<WorkItemTrackingProcessInterfaces.Control[]>(url, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
true);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates/adds a system control on the work item form.
|
||||
*
|
||||
* @param {WorkItemTrackingProcessInterfaces.Control} control
|
||||
* @param {string} processId - The ID of the process.
|
||||
* @param {string} witRefName - The reference name of the work item type.
|
||||
* @param {string} controlId - The ID of the control.
|
||||
*/
|
||||
public async updateSystemControl(
|
||||
control: WorkItemTrackingProcessInterfaces.Control,
|
||||
processId: string,
|
||||
witRefName: string,
|
||||
controlId: string
|
||||
): Promise<WorkItemTrackingProcessInterfaces.Control> {
|
||||
|
||||
return new Promise<WorkItemTrackingProcessInterfaces.Control>(async (resolve, reject) => {
|
||||
let routeValues: any = {
|
||||
processId: processId,
|
||||
witRefName: witRefName,
|
||||
controlId: controlId
|
||||
};
|
||||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"ff9a3d2c-32b7-4c6c-991c-d5a251fb9098",
|
||||
routeValues);
|
||||
|
||||
let url: string = verData.requestUrl!;
|
||||
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
|
||||
verData.apiVersion);
|
||||
|
||||
let res: restm.IRestResponse<WorkItemTrackingProcessInterfaces.Control>;
|
||||
res = await this.rest.update<WorkItemTrackingProcessInterfaces.Control>(url, control, options);
|
||||
|
||||
let ret = this.formatResponse(res.result,
|
||||
null,
|
||||
false);
|
||||
|
||||
resolve(ret);
|
||||
|
||||
}
|
||||
catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a work item type in the process.
|
||||
*
|
||||
|
@ -2187,7 +2337,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
|
||||
routeValues);
|
||||
|
@ -2231,7 +2381,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
|
||||
routeValues);
|
||||
|
@ -2281,7 +2431,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
|
||||
routeValues,
|
||||
|
@ -2329,7 +2479,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
|
||||
routeValues,
|
||||
|
@ -2376,7 +2526,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.2",
|
||||
"6.0-preview.2",
|
||||
"processes",
|
||||
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
|
||||
routeValues);
|
||||
|
@ -2422,7 +2572,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"6d765a2e-4e1b-4b11-be93-f953be676024",
|
||||
routeValues);
|
||||
|
@ -2469,7 +2619,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"6d765a2e-4e1b-4b11-be93-f953be676024",
|
||||
routeValues);
|
||||
|
@ -2513,7 +2663,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"6d765a2e-4e1b-4b11-be93-f953be676024",
|
||||
routeValues);
|
||||
|
@ -2560,7 +2710,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"6d765a2e-4e1b-4b11-be93-f953be676024",
|
||||
routeValues);
|
||||
|
@ -2606,7 +2756,7 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processes",
|
||||
"6d765a2e-4e1b-4b11-be93-f953be676024",
|
||||
routeValues);
|
||||
|
|
|
@ -89,7 +89,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
|
||||
routeValues);
|
||||
|
@ -133,7 +133,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
|
||||
routeValues);
|
||||
|
@ -177,7 +177,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
|
||||
routeValues);
|
||||
|
@ -218,7 +218,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
|
||||
routeValues);
|
||||
|
@ -264,7 +264,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
|
||||
routeValues);
|
||||
|
@ -313,7 +313,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
|
||||
routeValues);
|
||||
|
@ -365,7 +365,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
|
||||
routeValues);
|
||||
|
@ -415,7 +415,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
|
||||
routeValues);
|
||||
|
@ -473,7 +473,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
|
||||
routeValues,
|
||||
|
@ -517,7 +517,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"f36c66c7-911d-4163-8938-d3c5d0d7f5aa",
|
||||
routeValues);
|
||||
|
@ -560,7 +560,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"f36c66c7-911d-4163-8938-d3c5d0d7f5aa",
|
||||
routeValues);
|
||||
|
@ -612,7 +612,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"2617828b-e850-4375-a92a-04855704d4c3",
|
||||
routeValues);
|
||||
|
@ -667,7 +667,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"2617828b-e850-4375-a92a-04855704d4c3",
|
||||
routeValues);
|
||||
|
@ -720,7 +720,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"2617828b-e850-4375-a92a-04855704d4c3",
|
||||
routeValues);
|
||||
|
@ -790,7 +790,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"2617828b-e850-4375-a92a-04855704d4c3",
|
||||
routeValues,
|
||||
|
@ -855,7 +855,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"2617828b-e850-4375-a92a-04855704d4c3",
|
||||
routeValues,
|
||||
|
@ -900,7 +900,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"3eacc80a-ddca-4404-857a-6331aac99063",
|
||||
routeValues);
|
||||
|
@ -938,7 +938,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"b45cc931-98e3-44a1-b1cd-2e8e9c6dc1c6",
|
||||
routeValues);
|
||||
|
@ -978,7 +978,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
|
||||
routeValues);
|
||||
|
@ -1019,7 +1019,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
|
||||
routeValues);
|
||||
|
@ -1060,7 +1060,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
|
||||
routeValues);
|
||||
|
@ -1103,7 +1103,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
|
||||
routeValues);
|
||||
|
@ -1149,7 +1149,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1b4ac126-59b2-4f37-b4df-0a48ba807edb",
|
||||
routeValues);
|
||||
|
@ -1195,7 +1195,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1b4ac126-59b2-4f37-b4df-0a48ba807edb",
|
||||
routeValues);
|
||||
|
@ -1242,7 +1242,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1b4ac126-59b2-4f37-b4df-0a48ba807edb",
|
||||
routeValues);
|
||||
|
@ -1288,7 +1288,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"4303625d-08f4-4461-b14b-32c65bba5599",
|
||||
routeValues);
|
||||
|
@ -1335,7 +1335,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"4303625d-08f4-4461-b14b-32c65bba5599",
|
||||
routeValues);
|
||||
|
@ -1382,7 +1382,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"4303625d-08f4-4461-b14b-32c65bba5599",
|
||||
routeValues);
|
||||
|
@ -1426,7 +1426,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"4303625d-08f4-4461-b14b-32c65bba5599",
|
||||
routeValues);
|
||||
|
@ -1475,7 +1475,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"4303625d-08f4-4461-b14b-32c65bba5599",
|
||||
routeValues);
|
||||
|
@ -1524,7 +1524,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"4303625d-08f4-4461-b14b-32c65bba5599",
|
||||
routeValues);
|
||||
|
@ -1570,7 +1570,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
|
||||
routeValues);
|
||||
|
@ -1617,7 +1617,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
|
||||
routeValues);
|
||||
|
@ -1661,7 +1661,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
|
||||
routeValues);
|
||||
|
@ -1708,7 +1708,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
|
||||
routeValues);
|
||||
|
@ -1754,7 +1754,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
|
||||
routeValues);
|
||||
|
@ -1797,7 +1797,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
|
||||
routeValues);
|
||||
|
@ -1841,7 +1841,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
|
||||
routeValues);
|
||||
|
@ -1891,7 +1891,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
|
||||
routeValues,
|
||||
|
@ -1939,7 +1939,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
|
||||
routeValues,
|
||||
|
@ -1986,7 +1986,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
|
||||
routeValues);
|
||||
|
@ -2032,7 +2032,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"976713b4-a62e-499e-94dc-eeb869ea9126",
|
||||
routeValues);
|
||||
|
@ -2079,7 +2079,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"976713b4-a62e-499e-94dc-eeb869ea9126",
|
||||
routeValues);
|
||||
|
@ -2123,7 +2123,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"976713b4-a62e-499e-94dc-eeb869ea9126",
|
||||
routeValues);
|
||||
|
@ -2170,7 +2170,7 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
|
|||
|
||||
try {
|
||||
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
|
||||
"5.1-preview.1",
|
||||
"6.0-preview.1",
|
||||
"processDefinitions",
|
||||
"976713b4-a62e-499e-94dc-eeb869ea9126",
|
||||
routeValues);
|
||||
|
|
|
@ -369,7 +369,7 @@ export interface BuildArtifact {
|
|||
*/
|
||||
resource?: ArtifactResource;
|
||||
/**
|
||||
* The artifact source, which will be the ID of the job that produced this artifact.
|
||||
* The artifact source, which will be the ID of the job that produced this artifact. If an artifact is associated with multiple sources, this points to the first source.
|
||||
*/
|
||||
source?: string;
|
||||
}
|
||||
|
@ -1123,14 +1123,18 @@ export enum BuildReason {
|
|||
* The build was started when another build completed.
|
||||
*/
|
||||
BuildCompletion = 512,
|
||||
/**
|
||||
* The build was started when resources in pipeline triggered it
|
||||
*/
|
||||
ResourceTrigger = 1024,
|
||||
/**
|
||||
* The build was triggered for retention policy purposes.
|
||||
*/
|
||||
Triggered = 943,
|
||||
Triggered = 1967,
|
||||
/**
|
||||
* All reasons.
|
||||
*/
|
||||
All = 1007,
|
||||
All = 2031,
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1977,6 +1981,29 @@ export interface MultipleAgentExecutionOptions extends AgentTargetExecutionOptio
|
|||
maxConcurrency?: number;
|
||||
}
|
||||
|
||||
export interface NewRetentionLease {
|
||||
/**
|
||||
* The number of days to consider the lease valid.
|
||||
*/
|
||||
daysValid?: number;
|
||||
/**
|
||||
* The pipeline definition of the run.
|
||||
*/
|
||||
definitionId?: number;
|
||||
/**
|
||||
* User-provided string that identifies the owner of a retention lease.
|
||||
*/
|
||||
ownerId?: string;
|
||||
/**
|
||||
* If set, this lease will also prevent the pipeline from being deleted while the lease is still valid.
|
||||
*/
|
||||
protectPipeline?: boolean;
|
||||
/**
|
||||
* The pipeline run to protect.
|
||||
*/
|
||||
runId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a phase of a build definition.
|
||||
*/
|
||||
|
@ -2039,6 +2066,28 @@ export enum ProcessTemplateType {
|
|||
Upgrade = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains the settings for the retention rules.
|
||||
*/
|
||||
export interface ProjectRetentionSetting {
|
||||
/**
|
||||
* The rules for artifact retention. Artifacts can not live longer than a run, so will be overridden by a shorter run purge setting.
|
||||
*/
|
||||
purgeArtifacts?: RetentionSetting;
|
||||
/**
|
||||
* The rules for pull request pipeline run retention.
|
||||
*/
|
||||
purgePullRequestRuns?: RetentionSetting;
|
||||
/**
|
||||
* The rules for pipeline run retention.
|
||||
*/
|
||||
purgeRuns?: RetentionSetting;
|
||||
/**
|
||||
* The rules for retaining runs per protected branch.
|
||||
*/
|
||||
retainRunsPerProtectedBranch?: RetentionSetting;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a pull request object. These are retrieved from Source Providers.
|
||||
*/
|
||||
|
@ -2207,6 +2256,36 @@ export enum ResultSet {
|
|||
Top = 1,
|
||||
}
|
||||
|
||||
/**
|
||||
* A valid retention lease prevents automated systems from deleting a pipeline run.
|
||||
*/
|
||||
export interface RetentionLease {
|
||||
/**
|
||||
* When the lease was created.
|
||||
*/
|
||||
createdOn?: Date;
|
||||
/**
|
||||
* The pipeline definition of the run.
|
||||
*/
|
||||
definitionId?: number;
|
||||
/**
|
||||
* The unique identifier for this lease.
|
||||
*/
|
||||
leaseId?: number;
|
||||
/**
|
||||
* Non-unique string that identifies the owner of a retention lease.
|
||||
*/
|
||||
ownerId?: string;
|
||||
/**
|
||||
* The pipeline run protected by this lease.
|
||||
*/
|
||||
runId?: number;
|
||||
/**
|
||||
* The last day the lease is considered valid.
|
||||
*/
|
||||
validUntil?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a retention policy for a build definition.
|
||||
*/
|
||||
|
@ -2232,6 +2311,15 @@ export interface RetentionPolicy {
|
|||
minimumToKeep?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains the minimum, maximum, and current value for a retention setting.
|
||||
*/
|
||||
export interface RetentionSetting {
|
||||
max?: number;
|
||||
min?: number;
|
||||
value?: number;
|
||||
}
|
||||
|
||||
export interface Schedule {
|
||||
branchFilters?: string[];
|
||||
/**
|
||||
|
@ -2497,6 +2585,11 @@ export interface SourceRepositoryItem {
|
|||
url?: string;
|
||||
}
|
||||
|
||||
export enum StageUpdateType {
|
||||
Cancel = 0,
|
||||
Retry = 1,
|
||||
}
|
||||
|
||||
export interface SupportedTrigger {
|
||||
/**
|
||||
* The default interval to wait between polls (only relevant when NotificationType is Polling).
|
||||
|
@ -2818,6 +2911,24 @@ export interface TimelineReference {
|
|||
url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains members for updating the retention settings values. All fields are optional.
|
||||
*/
|
||||
export interface UpdateProjectRetentionSettingModel {
|
||||
artifactsRetention?: UpdateRetentionSettingModel;
|
||||
pullRequestRunRetention?: UpdateRetentionSettingModel;
|
||||
retainRunsPerProtectedBranch?: UpdateRetentionSettingModel;
|
||||
runRetention?: UpdateRetentionSettingModel;
|
||||
}
|
||||
|
||||
export interface UpdateRetentionSettingModel {
|
||||
value?: number;
|
||||
}
|
||||
|
||||
export interface UpdateStageParameters {
|
||||
state?: StageUpdateType;
|
||||
}
|
||||
|
||||
export enum ValidationResult {
|
||||
OK = 0,
|
||||
Warning = 1,
|
||||
|
@ -3175,8 +3286,9 @@ export var TypeInfo = {
|
|||
"checkInShelveset": 128,
|
||||
"pullRequest": 256,
|
||||
"buildCompletion": 512,
|
||||
"triggered": 943,
|
||||
"all": 1007
|
||||
"resourceTrigger": 1024,
|
||||
"triggered": 1967,
|
||||
"all": 2031
|
||||
}
|
||||
},
|
||||
BuildReference: <any>{
|
||||
|
@ -3359,6 +3471,8 @@ export var TypeInfo = {
|
|||
"top": 1
|
||||
}
|
||||
},
|
||||
RetentionLease: <any>{
|
||||
},
|
||||
Schedule: <any>{
|
||||
},
|
||||
ScheduleDays: {
|
||||
|
@ -3391,6 +3505,12 @@ export var TypeInfo = {
|
|||
"all": 3
|
||||
}
|
||||
},
|
||||
StageUpdateType: {
|
||||
enumValues: {
|
||||
"cancel": 0,
|
||||
"retry": 1
|
||||
}
|
||||
},
|
||||
SupportedTrigger: <any>{
|
||||
},
|
||||
SupportLevel: {
|
||||
|
@ -3423,6 +3543,8 @@ export var TypeInfo = {
|
|||
},
|
||||
TimelineRecordsUpdatedEvent: <any>{
|
||||
},
|
||||
UpdateStageParameters: <any>{
|
||||
},
|
||||
ValidationResult: {
|
||||
enumValues: {
|
||||
"ok": 0,
|
||||
|
@ -3931,6 +4053,15 @@ TypeInfo.RepositoryWebhook.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.RetentionLease.fields = {
|
||||
createdOn: {
|
||||
isDate: true,
|
||||
},
|
||||
validUntil: {
|
||||
isDate: true,
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.Schedule.fields = {
|
||||
daysToBuild: {
|
||||
enumType: TypeInfo.ScheduleDays
|
||||
|
@ -4003,6 +4134,12 @@ TypeInfo.TimelineRecordsUpdatedEvent.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.UpdateStageParameters.fields = {
|
||||
state: {
|
||||
enumType: TypeInfo.StageUpdateType
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.WorkspaceMapping.fields = {
|
||||
mappingType: {
|
||||
enumType: TypeInfo.WorkspaceMappingType
|
||||
|
|
|
@ -0,0 +1,457 @@
|
|||
/*
|
||||
* ---------------------------------------------------------
|
||||
* Copyright(C) Microsoft Corporation. All rights reserved.
|
||||
* ---------------------------------------------------------
|
||||
*
|
||||
* ---------------------------------------------------------
|
||||
* Generated file, DO NOT EDIT
|
||||
* ---------------------------------------------------------
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
|
||||
import VSSInterfaces = require("../interfaces/common/VSSInterfaces");
|
||||
|
||||
|
||||
/**
|
||||
* Comment on an artifact like Work Item or Wiki, etc.
|
||||
*/
|
||||
export interface Comment extends CommentResourceReference {
|
||||
/**
|
||||
* The id of the artifact this comment belongs to
|
||||
*/
|
||||
artifactId?: string;
|
||||
/**
|
||||
* IdentityRef of the creator of the comment.
|
||||
*/
|
||||
createdBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* The creation date of the comment.
|
||||
*/
|
||||
createdDate?: Date;
|
||||
/**
|
||||
* The id assigned to the comment.
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* Indicates if the comment has been deleted.
|
||||
*/
|
||||
isDeleted?: boolean;
|
||||
/**
|
||||
* The mentions of the comment.
|
||||
*/
|
||||
mentions?: CommentMention[];
|
||||
/**
|
||||
* IdentityRef of the user who last modified the comment.
|
||||
*/
|
||||
modifiedBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* The last modification date of the comment.
|
||||
*/
|
||||
modifiedDate?: Date;
|
||||
/**
|
||||
* The comment id of the parent comment, if any
|
||||
*/
|
||||
parentId?: number;
|
||||
/**
|
||||
* The reactions on the comment.
|
||||
*/
|
||||
reactions?: CommentReaction[];
|
||||
/**
|
||||
* The rendered text of the comment
|
||||
*/
|
||||
renderedText?: string;
|
||||
/**
|
||||
* Replies for this comment
|
||||
*/
|
||||
replies?: CommentList;
|
||||
/**
|
||||
* Indicates the current state of the comment
|
||||
*/
|
||||
state?: CommentState;
|
||||
/**
|
||||
* The plaintext/markdown version of the comment
|
||||
*/
|
||||
text?: string;
|
||||
/**
|
||||
* The current version of the comment
|
||||
*/
|
||||
version?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents an attachment to a comment.
|
||||
*/
|
||||
export interface CommentAttachment extends CommentResourceReference {
|
||||
/**
|
||||
* IdentityRef of the creator of the attachment.
|
||||
*/
|
||||
createdBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* The creation date of the attachment.
|
||||
*/
|
||||
createdDate?: Date;
|
||||
/**
|
||||
* Unique Id of the attachment.
|
||||
*/
|
||||
id?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a request to create a work item comment.
|
||||
*/
|
||||
export interface CommentCreateParameters {
|
||||
/**
|
||||
* Optional CommentId of the parent in order to add a reply for an existing comment
|
||||
*/
|
||||
parentId?: number;
|
||||
text: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies the additional data retrieval options for comments.
|
||||
*/
|
||||
export enum CommentExpandOptions {
|
||||
/**
|
||||
* Include comments only, no mentions, reactions or rendered text
|
||||
*/
|
||||
None = 0,
|
||||
/**
|
||||
* Include comment reactions
|
||||
*/
|
||||
Reactions = 1,
|
||||
/**
|
||||
* Include the rendered text (html) in addition to markdown text
|
||||
*/
|
||||
RenderedText = 8,
|
||||
RenderedTextOnly = 16,
|
||||
/**
|
||||
* If specified, then responses will be expanded in the results
|
||||
*/
|
||||
Children = 32,
|
||||
/**
|
||||
* Expand everything including Reactions, Mentions and also include RenderedText (HTML) for markdown comments
|
||||
*/
|
||||
All = -17,
|
||||
}
|
||||
|
||||
/**
|
||||
* Format of the comment. Ex. Markdown, Html.
|
||||
*/
|
||||
export enum CommentFormat {
|
||||
Markdown = 0,
|
||||
Html = 1,
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a list of comments.
|
||||
*/
|
||||
export interface CommentList extends CommentResourceReference {
|
||||
/**
|
||||
* List of comments in the current batch.
|
||||
*/
|
||||
comments?: Comment[];
|
||||
/**
|
||||
* A string token that can be used to retrieving next page of comments if available. Otherwise null.
|
||||
*/
|
||||
continuationToken?: string;
|
||||
/**
|
||||
* The count of comments in the current batch.
|
||||
*/
|
||||
count?: number;
|
||||
/**
|
||||
* Uri to the next page of comments if it is available. Otherwise null.
|
||||
*/
|
||||
nextPage?: string;
|
||||
/**
|
||||
* Total count of comments on a work item.
|
||||
*/
|
||||
totalCount?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains information about various artifacts mentioned in the comment
|
||||
*/
|
||||
export interface CommentMention extends CommentResourceReference {
|
||||
/**
|
||||
* Id of the artifact this mention belongs to
|
||||
*/
|
||||
artifactId?: string;
|
||||
/**
|
||||
* Id of the comment associated with this mention. Nullable to support legacy mentions which can potentially have null commentId
|
||||
*/
|
||||
commentId?: number;
|
||||
/**
|
||||
* Value of the mentioned artifact. Expected Value varies by CommentMentionType: Person: VSID associated with the identity Work Item: ID of the work item Pull Request: ID of the Pull Request
|
||||
*/
|
||||
mentionedArtifact?: string;
|
||||
/**
|
||||
* The context which represent where this mentioned was parsed from
|
||||
*/
|
||||
type?: CommentMentionType;
|
||||
}
|
||||
|
||||
export enum CommentMentionType {
|
||||
/**
|
||||
* An identity was mentioned by using the format @{VSID}
|
||||
*/
|
||||
Person = 0,
|
||||
/**
|
||||
* A work item was mentioned by using the format #{Work Item ID}
|
||||
*/
|
||||
WorkItem = 1,
|
||||
/**
|
||||
* A Pull Request was mentioned by using the format !{PR Number}
|
||||
*/
|
||||
PullRequest = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains information about comment reaction for a particular reaction type.
|
||||
*/
|
||||
export interface CommentReaction extends CommentResourceReference {
|
||||
/**
|
||||
* The id of the comment this reaction belongs to.
|
||||
*/
|
||||
commentId?: number;
|
||||
/**
|
||||
* Total number of reactions for the CommentReactionType.
|
||||
*/
|
||||
count?: number;
|
||||
/**
|
||||
* Flag to indicate if the current user has engaged on this particular EngagementType (e.g. if they liked the associated comment).
|
||||
*/
|
||||
isCurrentUserEngaged?: boolean;
|
||||
/**
|
||||
* Type of the reaction.
|
||||
*/
|
||||
type?: CommentReactionType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents different reaction types for a comment
|
||||
*/
|
||||
export enum CommentReactionType {
|
||||
Like = 0,
|
||||
Dislike = 1,
|
||||
Heart = 2,
|
||||
Hooray = 3,
|
||||
Smile = 4,
|
||||
Confused = 5,
|
||||
}
|
||||
|
||||
/**
|
||||
* Base class for comment resource references
|
||||
*/
|
||||
export interface CommentResourceReference {
|
||||
url?: string;
|
||||
}
|
||||
|
||||
export enum CommentSortOrder {
|
||||
/**
|
||||
* The results will be sorted in Ascending order.
|
||||
*/
|
||||
Asc = 1,
|
||||
/**
|
||||
* The results will be sorted in Descending order.
|
||||
*/
|
||||
Desc = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents the possible comment states.
|
||||
*/
|
||||
export enum CommentState {
|
||||
Active = 0,
|
||||
Resolved = 1,
|
||||
Closed = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a request to update a comment.
|
||||
*/
|
||||
export interface CommentUpdateParameters {
|
||||
/**
|
||||
* Set the current state of the comment
|
||||
*/
|
||||
state?: CommentState;
|
||||
/**
|
||||
* The updated text of the comment
|
||||
*/
|
||||
text: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a specific version of a comment on a work item.
|
||||
*/
|
||||
export interface CommentVersion extends CommentResourceReference {
|
||||
/**
|
||||
* IdentityRef of the creator of the comment.
|
||||
*/
|
||||
createdBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* The creation date of the comment.
|
||||
*/
|
||||
createdDate?: Date;
|
||||
/**
|
||||
* The id assigned to the comment.
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* Indicates if the comment has been deleted at this version.
|
||||
*/
|
||||
isDeleted?: boolean;
|
||||
/**
|
||||
* IdentityRef of the user who modified the comment at this version.
|
||||
*/
|
||||
modifiedBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* The modification date of the comment for this version.
|
||||
*/
|
||||
modifiedDate?: Date;
|
||||
/**
|
||||
* The rendered content of the comment at this version.
|
||||
*/
|
||||
renderedText?: string;
|
||||
/**
|
||||
* Indicates the current state of the comment
|
||||
*/
|
||||
state?: CommentState;
|
||||
/**
|
||||
* The text of the comment at this version.
|
||||
*/
|
||||
text?: string;
|
||||
/**
|
||||
* The version number.
|
||||
*/
|
||||
version?: number;
|
||||
}
|
||||
|
||||
export var TypeInfo = {
|
||||
Comment: <any>{
|
||||
},
|
||||
CommentAttachment: <any>{
|
||||
},
|
||||
CommentExpandOptions: {
|
||||
enumValues: {
|
||||
"none": 0,
|
||||
"reactions": 1,
|
||||
"renderedText": 8,
|
||||
"renderedTextOnly": 16,
|
||||
"children": 32,
|
||||
"all": -17
|
||||
}
|
||||
},
|
||||
CommentFormat: {
|
||||
enumValues: {
|
||||
"markdown": 0,
|
||||
"html": 1
|
||||
}
|
||||
},
|
||||
CommentList: <any>{
|
||||
},
|
||||
CommentMention: <any>{
|
||||
},
|
||||
CommentMentionType: {
|
||||
enumValues: {
|
||||
"person": 0,
|
||||
"workItem": 1,
|
||||
"pullRequest": 2
|
||||
}
|
||||
},
|
||||
CommentReaction: <any>{
|
||||
},
|
||||
CommentReactionType: {
|
||||
enumValues: {
|
||||
"like": 0,
|
||||
"dislike": 1,
|
||||
"heart": 2,
|
||||
"hooray": 3,
|
||||
"smile": 4,
|
||||
"confused": 5
|
||||
}
|
||||
},
|
||||
CommentSortOrder: {
|
||||
enumValues: {
|
||||
"asc": 1,
|
||||
"desc": 2
|
||||
}
|
||||
},
|
||||
CommentState: {
|
||||
enumValues: {
|
||||
"active": 0,
|
||||
"resolved": 1,
|
||||
"closed": 2
|
||||
}
|
||||
},
|
||||
CommentUpdateParameters: <any>{
|
||||
},
|
||||
CommentVersion: <any>{
|
||||
},
|
||||
};
|
||||
|
||||
TypeInfo.Comment.fields = {
|
||||
createdDate: {
|
||||
isDate: true,
|
||||
},
|
||||
mentions: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.CommentMention
|
||||
},
|
||||
modifiedDate: {
|
||||
isDate: true,
|
||||
},
|
||||
reactions: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.CommentReaction
|
||||
},
|
||||
replies: {
|
||||
typeInfo: TypeInfo.CommentList
|
||||
},
|
||||
state: {
|
||||
enumType: TypeInfo.CommentState
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.CommentAttachment.fields = {
|
||||
createdDate: {
|
||||
isDate: true,
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.CommentList.fields = {
|
||||
comments: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.Comment
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.CommentMention.fields = {
|
||||
type: {
|
||||
enumType: TypeInfo.CommentMentionType
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.CommentReaction.fields = {
|
||||
type: {
|
||||
enumType: TypeInfo.CommentReactionType
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.CommentUpdateParameters.fields = {
|
||||
state: {
|
||||
enumType: TypeInfo.CommentState
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.CommentVersion.fields = {
|
||||
createdDate: {
|
||||
isDate: true,
|
||||
},
|
||||
modifiedDate: {
|
||||
isDate: true,
|
||||
},
|
||||
state: {
|
||||
enumType: TypeInfo.CommentState
|
||||
}
|
||||
};
|
|
@ -287,7 +287,7 @@ export interface TeamProjectCollection extends TeamProjectCollectionReference {
|
|||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Process customzation type on this collection. It can be Xml or Inherited.
|
||||
* Process customization type on this collection. It can be Xml or Inherited.
|
||||
*/
|
||||
processCustomizationType?: ProcessCustomizationType;
|
||||
/**
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
*/
|
||||
export interface Dashboard {
|
||||
_links?: any;
|
||||
/**
|
||||
* Entity to which the dashboard is scoped.
|
||||
*/
|
||||
dashboardScope?: DashboardScope;
|
||||
/**
|
||||
* Description of the dashboard.
|
||||
*/
|
||||
|
@ -25,6 +29,10 @@ export interface Dashboard {
|
|||
* Server defined version tracking value, used for edit collision detection.
|
||||
*/
|
||||
eTag?: string;
|
||||
/**
|
||||
* ID of the group for a dashboard. For team-scoped dashboards, this is the unique identifier for the team associated with the dashboard. For project-scoped dashboards this property is empty.
|
||||
*/
|
||||
groupId?: string;
|
||||
/**
|
||||
* ID of the Dashboard. Provided by service at creation time.
|
||||
*/
|
||||
|
@ -34,7 +42,7 @@ export interface Dashboard {
|
|||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* ID of the Owner for a dashboard. For any legacy dashboards, this would be the unique identifier for the team associated with the dashboard.
|
||||
* ID of the owner for a dashboard. For team-scoped dashboards, this is the unique identifier for the team associated with the dashboard. For project-scoped dashboards, this is the unique identifier for the user identity associated with the dashboard.
|
||||
*/
|
||||
ownerId?: string;
|
||||
/**
|
||||
|
@ -73,7 +81,7 @@ export interface DashboardGroup {
|
|||
}
|
||||
|
||||
/**
|
||||
* Dashboard group entry, wraping around Dashboard (needed?)
|
||||
* Dashboard group entry, wrapping around Dashboard (needed?)
|
||||
*/
|
||||
export interface DashboardGroupEntry extends Dashboard {
|
||||
}
|
||||
|
@ -91,8 +99,18 @@ export interface DashboardResponse extends DashboardGroupEntry {
|
|||
* identifies the scope of dashboard storage and permissions.
|
||||
*/
|
||||
export enum DashboardScope {
|
||||
/**
|
||||
* [DEPRECATED] Dashboard is scoped to the collection user.
|
||||
*/
|
||||
Collection_User = 0,
|
||||
/**
|
||||
* Dashboard is scoped to the team.
|
||||
*/
|
||||
Project_Team = 1,
|
||||
/**
|
||||
* Dashboard is scoped to the project.
|
||||
*/
|
||||
Project = 2,
|
||||
}
|
||||
|
||||
export enum GroupMemberPermission {
|
||||
|
@ -250,6 +268,10 @@ export interface WidgetMetadata {
|
|||
* Opt-out boolean indicating if the widget is hidden from the catalog. Commonly, this is used to allow developers to disable creation of a deprecated widget. A widget must have a functional default state, or have a configuration experience, in order to be visible from the catalog.
|
||||
*/
|
||||
isVisibleFromCatalog?: boolean;
|
||||
/**
|
||||
* Keywords associated with this widget, non-filterable and invisible
|
||||
*/
|
||||
keywords?: string[];
|
||||
/**
|
||||
* Opt-in properties for customizing widget presentation in a "lightbox" dialog.
|
||||
*/
|
||||
|
@ -270,6 +292,10 @@ export interface WidgetMetadata {
|
|||
* Data contract required for the widget to function and to work in its container.
|
||||
*/
|
||||
supportedScopes?: WidgetScope[];
|
||||
/**
|
||||
* Tags associated with this widget, visible on each widget and filterable.
|
||||
*/
|
||||
tags?: string[];
|
||||
/**
|
||||
* Contribution target IDs
|
||||
*/
|
||||
|
@ -330,12 +356,21 @@ export interface WidgetTypesResponse {
|
|||
}
|
||||
|
||||
export var TypeInfo = {
|
||||
Dashboard: <any>{
|
||||
},
|
||||
DashboardGroup: <any>{
|
||||
},
|
||||
DashboardGroupEntry: <any>{
|
||||
},
|
||||
DashboardGroupEntryResponse: <any>{
|
||||
},
|
||||
DashboardResponse: <any>{
|
||||
},
|
||||
DashboardScope: {
|
||||
enumValues: {
|
||||
"collection_User": 0,
|
||||
"project_Team": 1
|
||||
"project_Team": 1,
|
||||
"project": 2
|
||||
}
|
||||
},
|
||||
GroupMemberPermission: {
|
||||
|
@ -356,21 +391,41 @@ export var TypeInfo = {
|
|||
"managePermissions": 16
|
||||
}
|
||||
},
|
||||
Widget: <any>{
|
||||
},
|
||||
WidgetMetadata: <any>{
|
||||
},
|
||||
WidgetMetadataResponse: <any>{
|
||||
},
|
||||
WidgetResponse: <any>{
|
||||
},
|
||||
WidgetScope: {
|
||||
enumValues: {
|
||||
"collection_User": 0,
|
||||
"project_Team": 1
|
||||
}
|
||||
},
|
||||
WidgetsVersionedList: <any>{
|
||||
},
|
||||
WidgetTypesResponse: <any>{
|
||||
},
|
||||
};
|
||||
|
||||
TypeInfo.Dashboard.fields = {
|
||||
dashboardScope: {
|
||||
enumType: TypeInfo.DashboardScope
|
||||
},
|
||||
widgets: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.Widget
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.DashboardGroup.fields = {
|
||||
dashboardEntries: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.DashboardGroupEntry
|
||||
},
|
||||
permission: {
|
||||
enumType: TypeInfo.GroupMemberPermission
|
||||
},
|
||||
|
@ -379,6 +434,42 @@ TypeInfo.DashboardGroup.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.DashboardGroupEntry.fields = {
|
||||
dashboardScope: {
|
||||
enumType: TypeInfo.DashboardScope
|
||||
},
|
||||
widgets: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.Widget
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.DashboardGroupEntryResponse.fields = {
|
||||
dashboardScope: {
|
||||
enumType: TypeInfo.DashboardScope
|
||||
},
|
||||
widgets: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.Widget
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.DashboardResponse.fields = {
|
||||
dashboardScope: {
|
||||
enumType: TypeInfo.DashboardScope
|
||||
},
|
||||
widgets: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.Widget
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.Widget.fields = {
|
||||
dashboard: {
|
||||
typeInfo: TypeInfo.Dashboard
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.WidgetMetadata.fields = {
|
||||
supportedScopes: {
|
||||
isArray: true,
|
||||
|
@ -392,6 +483,19 @@ TypeInfo.WidgetMetadataResponse.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.WidgetResponse.fields = {
|
||||
dashboard: {
|
||||
typeInfo: TypeInfo.Dashboard
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.WidgetsVersionedList.fields = {
|
||||
widgets: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.Widget
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.WidgetTypesResponse.fields = {
|
||||
widgetTypes: {
|
||||
isArray: true,
|
||||
|
|
|
@ -135,7 +135,7 @@ export interface AcquisitionOptions {
|
|||
}
|
||||
|
||||
/**
|
||||
* Representaion of a ContributionNode that can be used for serialized to clients.
|
||||
* Representation of a ContributionNode that can be used for serialized to clients.
|
||||
*/
|
||||
export interface ClientContribution {
|
||||
/**
|
||||
|
@ -165,7 +165,7 @@ export interface ClientContribution {
|
|||
}
|
||||
|
||||
/**
|
||||
* Representaion of a ContributionNode that can be used for serialized to clients.
|
||||
* Representation of a ContributionNode that can be used for serialized to clients.
|
||||
*/
|
||||
export interface ClientContributionNode {
|
||||
/**
|
||||
|
@ -196,7 +196,7 @@ export interface ClientContributionProviderDetails {
|
|||
*/
|
||||
properties?: { [key: string] : string; };
|
||||
/**
|
||||
* Version of contributions assoicated with this contribution provider.
|
||||
* Version of contributions associated with this contribution provider.
|
||||
*/
|
||||
version?: string;
|
||||
}
|
||||
|
@ -284,7 +284,7 @@ export interface ContributionConstraint {
|
|||
*/
|
||||
properties?: any;
|
||||
/**
|
||||
* Constraints can be optionally be applied to one or more of the relationships defined in the contribution. If no relationships are defined then all relationships are associated with the constraint. This means the default behaviour will elimiate the contribution from the tree completely if the constraint is applied.
|
||||
* Constraints can be optionally be applied to one or more of the relationships defined in the contribution. If no relationships are defined then all relationships are associated with the constraint. This means the default behaviour will eliminate the contribution from the tree completely if the constraint is applied.
|
||||
*/
|
||||
relationships?: string[];
|
||||
}
|
||||
|
@ -338,7 +338,7 @@ export interface ContributionNodeQueryResult {
|
|||
*/
|
||||
nodes?: { [key: string] : ClientContributionNode; };
|
||||
/**
|
||||
* Map of provder ids to the corresponding provider details object.
|
||||
* Map of provider ids to the corresponding provider details object.
|
||||
*/
|
||||
providerDetails?: { [key: string] : ClientContributionProviderDetails; };
|
||||
}
|
||||
|
@ -429,7 +429,7 @@ export interface ContributionProviderDetails {
|
|||
*/
|
||||
properties?: { [key: string] : string; };
|
||||
/**
|
||||
* Version of contributions assoicated with this contribution provider.
|
||||
* Version of contributions associated with this contribution provider.
|
||||
*/
|
||||
version?: string;
|
||||
}
|
||||
|
@ -448,7 +448,7 @@ export enum ContributionQueryOptions {
|
|||
*/
|
||||
IncludeChildren = 32,
|
||||
/**
|
||||
* Include the contributions from the entire sub-tree targetting the contributions queried.
|
||||
* Include the contributions from the entire sub-tree targeting the contributions queried.
|
||||
*/
|
||||
IncludeSubTree = 96,
|
||||
/**
|
||||
|
@ -707,27 +707,27 @@ export interface ExtensionEventCallback {
|
|||
*/
|
||||
export interface ExtensionEventCallbackCollection {
|
||||
/**
|
||||
* Optional. Defines an endpoint that gets called via a POST reqeust to notify that an extension disable has occurred.
|
||||
* Optional. Defines an endpoint that gets called via a POST request to notify that an extension disable has occurred.
|
||||
*/
|
||||
postDisable?: ExtensionEventCallback;
|
||||
/**
|
||||
* Optional. Defines an endpoint that gets called via a POST reqeust to notify that an extension enable has occurred.
|
||||
* Optional. Defines an endpoint that gets called via a POST request to notify that an extension enable has occurred.
|
||||
*/
|
||||
postEnable?: ExtensionEventCallback;
|
||||
/**
|
||||
* Optional. Defines an endpoint that gets called via a POST reqeust to notify that an extension install has completed.
|
||||
* Optional. Defines an endpoint that gets called via a POST request to notify that an extension install has completed.
|
||||
*/
|
||||
postInstall?: ExtensionEventCallback;
|
||||
/**
|
||||
* Optional. Defines an endpoint that gets called via a POST reqeust to notify that an extension uninstall has occurred.
|
||||
* Optional. Defines an endpoint that gets called via a POST request to notify that an extension uninstall has occurred.
|
||||
*/
|
||||
postUninstall?: ExtensionEventCallback;
|
||||
/**
|
||||
* Optional. Defines an endpoint that gets called via a POST reqeust to notify that an extension update has occurred.
|
||||
* Optional. Defines an endpoint that gets called via a POST request to notify that an extension update has occurred.
|
||||
*/
|
||||
postUpdate?: ExtensionEventCallback;
|
||||
/**
|
||||
* Optional. Defines an endpoint that gets called via a POST reqeust to notify that an extension install is about to occur. Response indicates whether to proceed or abort.
|
||||
* Optional. Defines an endpoint that gets called via a POST request to notify that an extension install is about to occur. Response indicates whether to proceed or abort.
|
||||
*/
|
||||
preInstall?: ExtensionEventCallback;
|
||||
/**
|
||||
|
@ -817,7 +817,7 @@ export interface ExtensionManifest {
|
|||
*/
|
||||
manifestVersion?: number;
|
||||
/**
|
||||
* Default user claims applied to all contributions (except the ones which have been speficied restrictedTo explicitly) to control the visibility of a contribution.
|
||||
* Default user claims applied to all contributions (except the ones which have been specified restrictedTo explicitly) to control the visibility of a contribution.
|
||||
*/
|
||||
restrictedTo?: string[];
|
||||
/**
|
||||
|
|
|
@ -37,7 +37,7 @@ export interface ContributedFeature {
|
|||
*/
|
||||
featureProperties?: { [key: string] : any; };
|
||||
/**
|
||||
* Handler for listening to setter calls on feature value. These listeners are only invoked after a successful set has occured
|
||||
* Handler for listening to setter calls on feature value. These listeners are only invoked after a successful set has occurred
|
||||
*/
|
||||
featureStateChangedListeners?: ContributedFeatureListener[];
|
||||
/**
|
||||
|
|
|
@ -120,7 +120,7 @@ export interface Answers {
|
|||
*/
|
||||
vSMarketplaceExtensionName?: string;
|
||||
/**
|
||||
* Gets or sets the vs marketplace publsiher name
|
||||
* Gets or sets the vs marketplace publisher name
|
||||
*/
|
||||
vSMarketplacePublisherName?: string;
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ export interface CustomerLastContact {
|
|||
*/
|
||||
account?: string;
|
||||
/**
|
||||
* Date on which the custoemr was last contacted
|
||||
* Date on which the customer was last contacted
|
||||
*/
|
||||
lastContactDate?: Date;
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ export interface ExtensionCategory {
|
|||
*/
|
||||
categoryName?: string;
|
||||
/**
|
||||
* This parameter is obsolete. Refer to LanguageTitles for langauge specific titles
|
||||
* This parameter is obsolete. Refer to LanguageTitles for language specific titles
|
||||
*/
|
||||
language?: string;
|
||||
/**
|
||||
|
@ -480,7 +480,7 @@ export interface ExtensionFile {
|
|||
*/
|
||||
export interface ExtensionFilterResult {
|
||||
/**
|
||||
* This is the set of appplications that matched the query filter supplied.
|
||||
* This is the set of applications that matched the query filter supplied.
|
||||
*/
|
||||
extensions?: PublishedExtension[];
|
||||
/**
|
||||
|
@ -586,11 +586,11 @@ export enum ExtensionPolicyFlags {
|
|||
*/
|
||||
Public = 2,
|
||||
/**
|
||||
* Premission in extensions that are in preview
|
||||
* Permission in extensions that are in preview
|
||||
*/
|
||||
Preview = 4,
|
||||
/**
|
||||
* Premission in relased extensions
|
||||
* Permission in released extensions
|
||||
*/
|
||||
Released = 8,
|
||||
/**
|
||||
|
@ -616,7 +616,7 @@ export interface ExtensionQuery {
|
|||
*/
|
||||
filters?: QueryFilter[];
|
||||
/**
|
||||
* The Flags are used to deterine which set of information the caller would like returned for the matched extensions.
|
||||
* The Flags are used to determine which set of information the caller would like returned for the matched extensions.
|
||||
*/
|
||||
flags?: ExtensionQueryFlags;
|
||||
}
|
||||
|
@ -642,7 +642,7 @@ export enum ExtensionQueryFilterType {
|
|||
*/
|
||||
Id = 4,
|
||||
/**
|
||||
* The catgeory is unlike other filters. It is AND'd with the other filters instead of being a seperate query.
|
||||
* The category is unlike other filters. It is AND'd with the other filters instead of being a separate query.
|
||||
*/
|
||||
Category = 5,
|
||||
/**
|
||||
|
@ -670,15 +670,15 @@ export enum ExtensionQueryFilterType {
|
|||
*/
|
||||
FeaturedInCategory = 11,
|
||||
/**
|
||||
* When retrieving extensions from a query, exclude the extensions which are having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be excluded. In case of mulitple flags to be specified, a logical OR of the interger values should be given as value for this filter This should be at most one filter of this type. This only acts as a restrictive filter after. In case of having a particular flag in both IncludeWithFlags and ExcludeWithFlags, excludeFlags will remove the included extensions giving empty result for that flag.
|
||||
* When retrieving extensions from a query, exclude the extensions which are having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be excluded. In case of multiple flags to be specified, a logical OR of the interger values should be given as value for this filter This should be at most one filter of this type. This only acts as a restrictive filter after. In case of having a particular flag in both IncludeWithFlags and ExcludeWithFlags, excludeFlags will remove the included extensions giving empty result for that flag.
|
||||
*/
|
||||
ExcludeWithFlags = 12,
|
||||
/**
|
||||
* When retrieving extensions from a query, include the extensions which are having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be included. In case of mulitple flags to be specified, a logical OR of the interger values should be given as value for this filter This should be at most one filter of this type. This only acts as a restrictive filter after. In case of having a particular flag in both IncludeWithFlags and ExcludeWithFlags, excludeFlags will remove the included extensions giving empty result for that flag. In case of multiple flags given in IncludeWithFlags in ORed fashion, extensions having any of the given flags will be included.
|
||||
* When retrieving extensions from a query, include the extensions which are having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be included. In case of multiple flags to be specified, a logical OR of the integer values should be given as value for this filter This should be at most one filter of this type. This only acts as a restrictive filter after. In case of having a particular flag in both IncludeWithFlags and ExcludeWithFlags, excludeFlags will remove the included extensions giving empty result for that flag. In case of multiple flags given in IncludeWithFlags in ORed fashion, extensions having any of the given flags will be included.
|
||||
*/
|
||||
IncludeWithFlags = 13,
|
||||
/**
|
||||
* Fitler the extensions based on the LCID values applicable. Any extensions which are not having any LCID values will also be filtered. This is currenlty only supported for VS extensions.
|
||||
* Filter the extensions based on the LCID values applicable. Any extensions which are not having any LCID values will also be filtered. This is currently only supported for VS extensions.
|
||||
*/
|
||||
Lcid = 14,
|
||||
/**
|
||||
|
@ -702,7 +702,7 @@ export enum ExtensionQueryFilterType {
|
|||
*/
|
||||
PublisherDisplayName = 19,
|
||||
/**
|
||||
* When retrieving extensions from a query, include the extensions which have a publisher having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be included. In case of mulitple flags to be specified, a logical OR of the interger values should be given as value for this filter There should be at most one filter of this type. This only acts as a restrictive filter after. In case of multiple flags given in IncludeWithFlags in ORed fashion, extensions having any of the given flags will be included.
|
||||
* When retrieving extensions from a query, include the extensions which have a publisher having the given flags. The value specified for this filter should be a string representing the integer values of the flags to be included. In case of multiple flags to be specified, a logical OR of the integer values should be given as value for this filter There should be at most one filter of this type. This only acts as a restrictive filter after. In case of multiple flags given in IncludeWithFlags in ORed fashion, extensions having any of the given flags will be included.
|
||||
*/
|
||||
IncludeWithPublisherFlags = 20,
|
||||
/**
|
||||
|
@ -724,7 +724,7 @@ export enum ExtensionQueryFlags {
|
|||
*/
|
||||
IncludeVersions = 1,
|
||||
/**
|
||||
* IncludeFiles will return information about which files were found within the extension that were stored independant of the manifest. When asking for files, versions will be included as well since files are returned as a property of the versions. These files can be retrieved using the path to the file without requiring the entire manifest be downloaded.
|
||||
* IncludeFiles will return information about which files were found within the extension that were stored independent of the manifest. When asking for files, versions will be included as well since files are returned as a property of the versions. These files can be retrieved using the path to the file without requiring the entire manifest be downloaded.
|
||||
*/
|
||||
IncludeFiles = 2,
|
||||
/**
|
||||
|
@ -768,7 +768,7 @@ export enum ExtensionQueryFlags {
|
|||
*/
|
||||
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
|
||||
* This flag is used to indicate to return very small data for extension required by VS IDE. This flag is only compatible when querying is done by VS IDE
|
||||
*/
|
||||
IncludeMinimalPayloadForVsIde = 4096,
|
||||
/**
|
||||
|
@ -776,7 +776,7 @@ export enum ExtensionQueryFlags {
|
|||
*/
|
||||
IncludeLcids = 8192,
|
||||
/**
|
||||
* Include the details about which organizations the extension has been shared with if the extesion is a private extension.
|
||||
* Include the details about which organizations the extension has been shared with if the extension is a private extension.
|
||||
*/
|
||||
IncludeSharedOrganizations = 16384,
|
||||
/**
|
||||
|
@ -1021,11 +1021,11 @@ export enum PublishedExtensionFlags {
|
|||
*/
|
||||
Paid = 16,
|
||||
/**
|
||||
* This extension registration is public, making its visibilty open to the public. This means all tenants have the ability to install this extension. Without this flag the extension will be private and will need to be shared with the tenants that can install it.
|
||||
* This extension registration is public, making its visibility open to the public. This means all tenants have the ability to install this extension. Without this flag the extension will be private and will need to be shared with the tenants that can install it.
|
||||
*/
|
||||
Public = 256,
|
||||
/**
|
||||
* This extension has multiple versions active at one time and version discovery should be done usig the defined "Version Discovery" protocol to determine the version available to a specific user or tenant. @TODO: Link to Version Discovery Protocol.
|
||||
* This extension has multiple versions active at one time and version discovery should be done using the defined "Version Discovery" protocol to determine the version available to a specific user or tenant. @TODO: Link to Version Discovery Protocol.
|
||||
*/
|
||||
MultiVersion = 512,
|
||||
/**
|
||||
|
@ -1041,7 +1041,7 @@ export enum PublishedExtensionFlags {
|
|||
*/
|
||||
Unpublished = 4096,
|
||||
/**
|
||||
* The Trial flag indicates that the extension is in Trial version. The flag is right now being used only with respec to Visual Studio extensions.
|
||||
* The Trial flag indicates that the extension is in Trial version. The flag is right now being used only with respect to Visual Studio extensions.
|
||||
*/
|
||||
Trial = 8192,
|
||||
/**
|
||||
|
@ -1089,14 +1089,14 @@ export interface PublisherFacts {
|
|||
*/
|
||||
export interface PublisherFilterResult {
|
||||
/**
|
||||
* This is the set of appplications that matched the query filter supplied.
|
||||
* This is the set of applications that matched the query filter supplied.
|
||||
*/
|
||||
publishers?: Publisher[];
|
||||
}
|
||||
|
||||
export enum PublisherFlags {
|
||||
/**
|
||||
* This should never be returned, it is used to represent a publisher who's flags havent changed during update calls.
|
||||
* This should never be returned, it is used to represent a publisher who's flags haven't changed during update calls.
|
||||
*/
|
||||
UnChanged = 1073741824,
|
||||
/**
|
||||
|
@ -1181,7 +1181,7 @@ export interface PublisherQuery {
|
|||
*/
|
||||
filters?: QueryFilter[];
|
||||
/**
|
||||
* The Flags are used to deterine which set of information the caller would like returned for the matched publishers.
|
||||
* The Flags are used to determine which set of information the caller would like returned for the matched publishers.
|
||||
*/
|
||||
flags?: PublisherQueryFlags;
|
||||
}
|
||||
|
@ -1382,7 +1382,7 @@ export interface QueryFilter {
|
|||
*/
|
||||
pageSize?: number;
|
||||
/**
|
||||
* The paging token is a distinct type of filter and the other filter fields are ignored. The paging token represents the continuation of a previously executed query. The information about where in the result and what fields are being filtered are embeded in the token.
|
||||
* The paging token is a distinct type of filter and the other filter fields are ignored. The paging token represents the continuation of a previously executed query. The information about where in the result and what fields are being filtered are embedded in the token.
|
||||
*/
|
||||
pagingToken?: string;
|
||||
/**
|
||||
|
@ -1500,7 +1500,7 @@ export interface Review {
|
|||
*/
|
||||
productVersion?: string;
|
||||
/**
|
||||
* Rating procided by the user
|
||||
* Rating provided by the user
|
||||
*/
|
||||
rating?: number;
|
||||
/**
|
||||
|
@ -1551,7 +1551,7 @@ export interface ReviewEventProperties {
|
|||
*/
|
||||
isAdminReply?: boolean;
|
||||
/**
|
||||
* Flag to record if the reviwe is ignored
|
||||
* Flag to record if the review is ignored
|
||||
*/
|
||||
isIgnored?: boolean;
|
||||
/**
|
||||
|
@ -1728,7 +1728,7 @@ export interface ReviewSummary {
|
|||
*/
|
||||
ratingCount?: number;
|
||||
/**
|
||||
* Split of count accross rating
|
||||
* Split of count across rating
|
||||
*/
|
||||
ratingSplit?: RatingCountPerRating[];
|
||||
}
|
||||
|
@ -1796,7 +1796,7 @@ export enum SortByType {
|
|||
*/
|
||||
export enum SortOrderType {
|
||||
/**
|
||||
* Results will be sorted in the default order as per the sorting type defined. The default varies for each type, e.g. for Relevance, default is Descnding, for Title default is Ascending etc.
|
||||
* Results will be sorted in the default order as per the sorting type defined. The default varies for each type, e.g. for Relevance, default is Descending, for Title default is Ascending etc.
|
||||
*/
|
||||
Default = 0,
|
||||
/**
|
||||
|
|
|
@ -1476,7 +1476,9 @@ export interface GitMergeOperationStatusDetail {
|
|||
}
|
||||
|
||||
export interface GitMergeOriginRef {
|
||||
cherryPickId?: number;
|
||||
pullRequestId?: number;
|
||||
revertId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1751,7 +1753,7 @@ export interface GitPullRequestCompletionOptions {
|
|||
*/
|
||||
mergeStrategy?: GitPullRequestMergeStrategy;
|
||||
/**
|
||||
* SquashMerge is deprecated. You should explicity set the value of MergeStrategy. If MergeStrategy is set to any value, the SquashMerge value will be ignored. If MergeStrategy is not set, the merge strategy will be no-fast-forward if this flag is false, or squash if true.
|
||||
* SquashMerge is deprecated. You should explicitly set the value of MergeStrategy. If MergeStrategy is set to any value, the SquashMerge value will be ignored. If MergeStrategy is not set, the merge strategy will be no-fast-forward if this flag is false, or squash if true.
|
||||
*/
|
||||
squashMerge?: boolean;
|
||||
/**
|
||||
|
@ -2101,6 +2103,10 @@ export interface GitQueryCommitsCriteria {
|
|||
* If provided, identifies the commit or branch to search
|
||||
*/
|
||||
itemVersion?: GitVersionDescriptor;
|
||||
/**
|
||||
* If enabled, this option will ignore the itemVersion and compareVersion parameters
|
||||
*/
|
||||
showOldestCommitsFirst?: boolean;
|
||||
/**
|
||||
* If provided, an upper bound for filtering commits alphabetically
|
||||
*/
|
||||
|
@ -2585,7 +2591,7 @@ export interface GitTreeDiff {
|
|||
*/
|
||||
baseTreeId?: string;
|
||||
/**
|
||||
* List of tree entries that differ between the base and target tree. Renames and object type changes are returned as a delete for the old object and add for the new object. If a continuation token is returned in the response header, some tree entries are yet to be processed and may yeild more diff entries. If the continuation token is not returned all the diff entries have been included in this response.
|
||||
* List of tree entries that differ between the base and target tree. Renames and object type changes are returned as a delete for the old object and add for the new object. If a continuation token is returned in the response header, some tree entries are yet to be processed and may yield more diff entries. If the continuation token is not returned all the diff entries have been included in this response.
|
||||
*/
|
||||
diffEntries?: GitTreeDiffEntry[];
|
||||
/**
|
||||
|
@ -2786,6 +2792,10 @@ export interface HistoryEntry<T> {
|
|||
* Identity information including a vote on a pull request.
|
||||
*/
|
||||
export interface IdentityRefWithVote extends VSSInterfaces.IdentityRef {
|
||||
/**
|
||||
* Indicates if this reviewer is flagged for attention on this pull request.
|
||||
*/
|
||||
isFlagged?: boolean;
|
||||
/**
|
||||
* Indicates if this is a required reviewer for this pull request. <br /> Branches can have policies that require particular reviewers are required for pull requests.
|
||||
*/
|
||||
|
@ -3015,7 +3025,7 @@ export enum PullRequestStatus {
|
|||
*/
|
||||
Completed = 3,
|
||||
/**
|
||||
* Used in pull request search criterias to include all statuses.
|
||||
* Used in pull request search criteria to include all statuses.
|
||||
*/
|
||||
All = 4,
|
||||
}
|
||||
|
@ -3162,6 +3172,9 @@ export enum SupportedIdeType {
|
|||
WebStorm = 12,
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing a branch object.
|
||||
*/
|
||||
export interface TfvcBranch extends TfvcBranchRef {
|
||||
/**
|
||||
* List of children for the branch.
|
||||
|
@ -3181,6 +3194,9 @@ export interface TfvcBranch extends TfvcBranchRef {
|
|||
relatedBranches?: TfvcShallowBranchRef[];
|
||||
}
|
||||
|
||||
/**
|
||||
* A branch mapping.
|
||||
*/
|
||||
export interface TfvcBranchMapping {
|
||||
/**
|
||||
* Depth of the branch.
|
||||
|
@ -3196,6 +3212,9 @@ export interface TfvcBranchMapping {
|
|||
type?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a branchref.
|
||||
*/
|
||||
export interface TfvcBranchRef extends TfvcShallowBranchRef {
|
||||
/**
|
||||
* A collection of REST reference links.
|
||||
|
@ -3206,7 +3225,7 @@ export interface TfvcBranchRef extends TfvcShallowBranchRef {
|
|||
*/
|
||||
createdDate?: Date;
|
||||
/**
|
||||
* Description of the branch.
|
||||
* Branch description.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
|
@ -3223,6 +3242,9 @@ export interface TfvcBranchRef extends TfvcShallowBranchRef {
|
|||
url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A change.
|
||||
*/
|
||||
export interface TfvcChange extends Change<TfvcItem> {
|
||||
/**
|
||||
* List of merge sources in case of rename or branch creation.
|
||||
|
@ -3234,9 +3256,12 @@ export interface TfvcChange extends Change<TfvcItem> {
|
|||
pendingVersion?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of changes.
|
||||
*/
|
||||
export interface TfvcChangeset extends TfvcChangesetRef {
|
||||
/**
|
||||
* Account Id of the changeset.
|
||||
* Changeset Account Id also known as Organization Id.
|
||||
*/
|
||||
accountId?: string;
|
||||
/**
|
||||
|
@ -3244,15 +3269,15 @@ export interface TfvcChangeset extends TfvcChangesetRef {
|
|||
*/
|
||||
changes?: TfvcChange[];
|
||||
/**
|
||||
* Checkin Notes for the changeset.
|
||||
* List of Checkin Notes for the changeset.
|
||||
*/
|
||||
checkinNotes?: CheckinNote[];
|
||||
/**
|
||||
* Collection Id of the changeset.
|
||||
* Changeset collection Id.
|
||||
*/
|
||||
collectionId?: string;
|
||||
/**
|
||||
* Are more changes available.
|
||||
* True if more changes are available.
|
||||
*/
|
||||
hasMoreChanges?: boolean;
|
||||
/**
|
||||
|
@ -3269,21 +3294,24 @@ export interface TfvcChangeset extends TfvcChangesetRef {
|
|||
workItems?: AssociatedWorkItem[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a changeset.
|
||||
*/
|
||||
export interface TfvcChangesetRef {
|
||||
/**
|
||||
* A collection of REST reference links.
|
||||
*/
|
||||
_links?: any;
|
||||
/**
|
||||
* Alias or display name of user
|
||||
* Alias or display name of user.
|
||||
*/
|
||||
author?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Id of the changeset.
|
||||
* Changeset Id.
|
||||
*/
|
||||
changesetId?: number;
|
||||
/**
|
||||
* Alias or display name of user
|
||||
* Alias or display name of user.
|
||||
*/
|
||||
checkedInBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
|
@ -3305,51 +3333,54 @@ export interface TfvcChangesetRef {
|
|||
}
|
||||
|
||||
/**
|
||||
* Criteria used in a search for change lists
|
||||
* Criteria used in a search for change lists.
|
||||
*/
|
||||
export interface TfvcChangesetSearchCriteria {
|
||||
/**
|
||||
* Alias or display name of user who made the changes
|
||||
* Alias or display name of user who made the changes.
|
||||
*/
|
||||
author?: string;
|
||||
/**
|
||||
* Whether or not to follow renames for the given item being queried
|
||||
* Whether or not to follow renames for the given item being queried.
|
||||
*/
|
||||
followRenames?: boolean;
|
||||
/**
|
||||
* If provided, only include changesets created after this date (string) Think of a better name for this.
|
||||
* If provided, only include changesets created after this date (string).
|
||||
*/
|
||||
fromDate?: string;
|
||||
/**
|
||||
* If provided, only include changesets after this changesetID
|
||||
* If provided, only include changesets after this changesetID.
|
||||
*/
|
||||
fromId?: number;
|
||||
/**
|
||||
* Whether to include the _links field on the shallow references
|
||||
* Whether to include the _links field on the shallow references.
|
||||
*/
|
||||
includeLinks?: boolean;
|
||||
/**
|
||||
* Path of item to search under
|
||||
* Path of item to search under.
|
||||
*/
|
||||
itemPath?: string;
|
||||
mappings?: TfvcMappingFilter[];
|
||||
/**
|
||||
* If provided, only include changesets created before this date (string) Think of a better name for this.
|
||||
* If provided, only include changesets created before this date (string).
|
||||
*/
|
||||
toDate?: string;
|
||||
/**
|
||||
* If provided, a version descriptor for the latest change list to include
|
||||
* If provided, a version descriptor for the latest change list to include.
|
||||
*/
|
||||
toId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Request body for Get batched changesets.
|
||||
*/
|
||||
export interface TfvcChangesetsRequestData {
|
||||
/**
|
||||
* List of changeset Ids.
|
||||
*/
|
||||
changesetIds?: number[];
|
||||
/**
|
||||
* Length of the comment.
|
||||
* Max length of the comment.
|
||||
*/
|
||||
commentLength?: number;
|
||||
/**
|
||||
|
@ -3374,8 +3405,17 @@ export interface TfvcHistoryEntry extends HistoryEntry<TfvcItem> {
|
|||
fileId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for an item.
|
||||
*/
|
||||
export interface TfvcItem extends ItemModel {
|
||||
/**
|
||||
* Item changed datetime.
|
||||
*/
|
||||
changeDate?: Date;
|
||||
/**
|
||||
* Greater than 0 if item is deleted.
|
||||
*/
|
||||
deletionId?: number;
|
||||
/**
|
||||
* File encoding from database, -1 represents binary.
|
||||
|
@ -3385,12 +3425,21 @@ export interface TfvcItem extends ItemModel {
|
|||
* MD5 hash as a base 64 string, applies to files only.
|
||||
*/
|
||||
hashValue?: string;
|
||||
/**
|
||||
* True if item is a branch.
|
||||
*/
|
||||
isBranch?: boolean;
|
||||
/**
|
||||
* True if there is a change pending.
|
||||
*/
|
||||
isPendingChange?: boolean;
|
||||
/**
|
||||
* The size of the file, if applicable.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* Changeset version Id.
|
||||
*/
|
||||
version?: number;
|
||||
}
|
||||
|
||||
|
@ -3398,13 +3447,31 @@ export interface TfvcItem extends ItemModel {
|
|||
* Item path and Version descriptor properties
|
||||
*/
|
||||
export interface TfvcItemDescriptor {
|
||||
/**
|
||||
* Item path.
|
||||
*/
|
||||
path?: string;
|
||||
/**
|
||||
* Defaults to OneLevel.
|
||||
*/
|
||||
recursionLevel?: VersionControlRecursionType;
|
||||
/**
|
||||
* Specify the desired version, can be null or empty string only if VersionType is latest or tip.
|
||||
*/
|
||||
version?: string;
|
||||
/**
|
||||
* Defaults to None.
|
||||
*/
|
||||
versionOption?: TfvcVersionOption;
|
||||
/**
|
||||
* Defaults to Latest.
|
||||
*/
|
||||
versionType?: TfvcVersionType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for an item including the previous hash value for files.
|
||||
*/
|
||||
export interface TfvcItemPreviousHash extends TfvcItem {
|
||||
/**
|
||||
* MD5 hash as a base 64 string, applies to files only.
|
||||
|
@ -3412,6 +3479,9 @@ export interface TfvcItemPreviousHash extends TfvcItem {
|
|||
previousHashValue?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Request body used by Get Items Batch
|
||||
*/
|
||||
export interface TfvcItemRequestData {
|
||||
/**
|
||||
* If true, include metadata about the file type
|
||||
|
@ -3424,18 +3494,51 @@ export interface TfvcItemRequestData {
|
|||
itemDescriptors?: TfvcItemDescriptor[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a label.
|
||||
*/
|
||||
export interface TfvcLabel extends TfvcLabelRef {
|
||||
/**
|
||||
* List of items.
|
||||
*/
|
||||
items?: TfvcItem[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a Label.
|
||||
*/
|
||||
export interface TfvcLabelRef {
|
||||
/**
|
||||
* Collection of reference links.
|
||||
*/
|
||||
_links?: any;
|
||||
/**
|
||||
* Label description.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Label Id.
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* Label scope.
|
||||
*/
|
||||
labelScope?: string;
|
||||
/**
|
||||
* Last modified datetime for the label.
|
||||
*/
|
||||
modifiedDate?: Date;
|
||||
/**
|
||||
* Label name.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Label owner.
|
||||
*/
|
||||
owner?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Label Url.
|
||||
*/
|
||||
url?: string;
|
||||
}
|
||||
|
||||
|
@ -3451,8 +3554,17 @@ export interface TfvcLabelRequestData {
|
|||
owner?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* MappingFilter can be used to include or exclude specific paths.
|
||||
*/
|
||||
export interface TfvcMappingFilter {
|
||||
/**
|
||||
* True if ServerPath should be excluded.
|
||||
*/
|
||||
exclude?: boolean;
|
||||
/**
|
||||
* Path to be included or excluded.
|
||||
*/
|
||||
serverPath?: string;
|
||||
}
|
||||
|
||||
|
@ -3462,29 +3574,50 @@ export interface TfvcMergeSource {
|
|||
*/
|
||||
isRename?: boolean;
|
||||
/**
|
||||
* The server item of the merge source
|
||||
* The server item of the merge source.
|
||||
*/
|
||||
serverItem?: string;
|
||||
/**
|
||||
* Start of the version range
|
||||
* Start of the version range.
|
||||
*/
|
||||
versionFrom?: number;
|
||||
/**
|
||||
* End of the version range
|
||||
* End of the version range.
|
||||
*/
|
||||
versionTo?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Policy failure information.
|
||||
*/
|
||||
export interface TfvcPolicyFailureInfo {
|
||||
/**
|
||||
* Policy failure message.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* Name of the policy that failed.
|
||||
*/
|
||||
policyName?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Information on the policy override.
|
||||
*/
|
||||
export interface TfvcPolicyOverrideInfo {
|
||||
/**
|
||||
* Overidden policy comment.
|
||||
*/
|
||||
comment?: string;
|
||||
/**
|
||||
* Information on the failed policy that was overridden.
|
||||
*/
|
||||
policyFailures?: TfvcPolicyFailureInfo[];
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the shallow branchref class.
|
||||
*/
|
||||
export interface TfvcShallowBranchRef {
|
||||
/**
|
||||
* Path for the branch.
|
||||
|
@ -3493,26 +3626,62 @@ export interface TfvcShallowBranchRef {
|
|||
}
|
||||
|
||||
/**
|
||||
* This is the deep shelveset class
|
||||
* Metadata for a shelveset.
|
||||
*/
|
||||
export interface TfvcShelveset extends TfvcShelvesetRef {
|
||||
/**
|
||||
* List of changes.
|
||||
*/
|
||||
changes?: TfvcChange[];
|
||||
/**
|
||||
* List of checkin notes.
|
||||
*/
|
||||
notes?: CheckinNote[];
|
||||
/**
|
||||
* Policy override information if applicable.
|
||||
*/
|
||||
policyOverride?: TfvcPolicyOverrideInfo;
|
||||
/**
|
||||
* List of associated workitems.
|
||||
*/
|
||||
workItems?: AssociatedWorkItem[];
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the shallow shelveset class
|
||||
* Metadata for a shallow shelveset.
|
||||
*/
|
||||
export interface TfvcShelvesetRef {
|
||||
/**
|
||||
* List of reference links for the shelveset.
|
||||
*/
|
||||
_links?: any;
|
||||
/**
|
||||
* Shelveset comment.
|
||||
*/
|
||||
comment?: string;
|
||||
/**
|
||||
* Shelveset comment truncated as applicable.
|
||||
*/
|
||||
commentTruncated?: boolean;
|
||||
/**
|
||||
* Shelveset create date.
|
||||
*/
|
||||
createdDate?: Date;
|
||||
/**
|
||||
* Shelveset Id.
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* Shelveset name.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Shelveset Owner.
|
||||
*/
|
||||
owner?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Shelveset Url.
|
||||
*/
|
||||
url?: string;
|
||||
}
|
||||
|
||||
|
@ -3538,7 +3707,7 @@ export interface TfvcShelvesetRequestData {
|
|||
*/
|
||||
maxCommentLength?: number;
|
||||
/**
|
||||
* Shelveset's name
|
||||
* Shelveset name
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
|
@ -3558,26 +3727,71 @@ export interface TfvcStatistics {
|
|||
fileCountTotal?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Version descriptor properties.
|
||||
*/
|
||||
export interface TfvcVersionDescriptor {
|
||||
/**
|
||||
* Version object.
|
||||
*/
|
||||
version?: string;
|
||||
versionOption?: TfvcVersionOption;
|
||||
versionType?: TfvcVersionType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for Version handling.
|
||||
*/
|
||||
export enum TfvcVersionOption {
|
||||
/**
|
||||
* None.
|
||||
*/
|
||||
None = 0,
|
||||
/**
|
||||
* Return the previous version.
|
||||
*/
|
||||
Previous = 1,
|
||||
/**
|
||||
* Only usuable with versiontype MergeSource and integer versions, uses RenameSource identifier instead of Merge identifier.
|
||||
*/
|
||||
UseRename = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of Version object
|
||||
*/
|
||||
export enum TfvcVersionType {
|
||||
/**
|
||||
* Version is treated as a ChangesetId.
|
||||
*/
|
||||
None = 0,
|
||||
/**
|
||||
* Version is treated as a ChangesetId.
|
||||
*/
|
||||
Changeset = 1,
|
||||
/**
|
||||
* Version is treated as a Shelveset name and owner.
|
||||
*/
|
||||
Shelveset = 2,
|
||||
/**
|
||||
* Version is treated as a Change.
|
||||
*/
|
||||
Change = 3,
|
||||
/**
|
||||
* Version is treated as a Date.
|
||||
*/
|
||||
Date = 4,
|
||||
/**
|
||||
* If Version is defined the Latest of that Version will be used, if no version is defined the latest ChangesetId will be used.
|
||||
*/
|
||||
Latest = 5,
|
||||
/**
|
||||
* Version will be treated as a Tip, if no version is defined latest will be used.
|
||||
*/
|
||||
Tip = 6,
|
||||
/**
|
||||
* Version will be treated as a MergeSource.
|
||||
*/
|
||||
MergeSource = 7,
|
||||
}
|
||||
|
||||
|
|
|
@ -150,41 +150,6 @@ export interface GraphMember extends GraphSubject {
|
|||
principalName?: string;
|
||||
}
|
||||
|
||||
export enum GraphMemberSearchFactor {
|
||||
/**
|
||||
* Domain qualified account name (domain\alias)
|
||||
*/
|
||||
PrincipalName = 0,
|
||||
/**
|
||||
* Display name
|
||||
*/
|
||||
DisplayName = 1,
|
||||
/**
|
||||
* Administrators group
|
||||
*/
|
||||
AdministratorsGroup = 2,
|
||||
/**
|
||||
* Find the identity using the identifier (SID)
|
||||
*/
|
||||
Identifier = 3,
|
||||
/**
|
||||
* Email address
|
||||
*/
|
||||
MailAddress = 4,
|
||||
/**
|
||||
* A general search for an identity.
|
||||
*/
|
||||
General = 5,
|
||||
/**
|
||||
* Alternate login username (Basic Auth Alias)
|
||||
*/
|
||||
Alias = 6,
|
||||
/**
|
||||
* Find identity using DirectoryAlias
|
||||
*/
|
||||
DirectoryAlias = 8,
|
||||
}
|
||||
|
||||
/**
|
||||
* Relationship between a container and a member
|
||||
*/
|
||||
|
@ -375,6 +340,24 @@ export interface GraphSubjectLookupKey {
|
|||
descriptor?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subject to search using the Graph API
|
||||
*/
|
||||
export interface GraphSubjectQuery {
|
||||
/**
|
||||
* Search term to search for Azure Devops users or/and groups
|
||||
*/
|
||||
query?: string;
|
||||
/**
|
||||
* Optional parameter. Specify a non-default scope (collection, project) to search for users or groups within the scope.
|
||||
*/
|
||||
scopeDescriptor?: string;
|
||||
/**
|
||||
* "User" or "Group" can be specified, both or either
|
||||
*/
|
||||
subjectKind?: string[];
|
||||
}
|
||||
|
||||
export interface GraphSystemSubject extends GraphSubject {
|
||||
}
|
||||
|
||||
|
@ -486,19 +469,13 @@ export interface PagedGraphUsers {
|
|||
graphUsers?: GraphUser[];
|
||||
}
|
||||
|
||||
export interface RequestAccessPayLoad {
|
||||
message?: string;
|
||||
projectUri?: string;
|
||||
urlRequested?: string;
|
||||
}
|
||||
|
||||
export var TypeInfo = {
|
||||
GraphMemberSearchFactor: {
|
||||
enumValues: {
|
||||
"principalName": 0,
|
||||
"displayName": 1,
|
||||
"administratorsGroup": 2,
|
||||
"identifier": 3,
|
||||
"mailAddress": 4,
|
||||
"general": 5,
|
||||
"alias": 6,
|
||||
"directoryAlias": 8
|
||||
}
|
||||
},
|
||||
GraphScope: <any>{
|
||||
},
|
||||
GraphScopeCreationContext: <any>{
|
||||
|
|
|
@ -143,6 +143,10 @@ export interface IdentityDescriptor {
|
|||
identityType?: string;
|
||||
}
|
||||
|
||||
export interface IdentityRightsTransferData {
|
||||
userPrincipalNameMappings?: { [key: string] : string; };
|
||||
}
|
||||
|
||||
export interface IdentityScope {
|
||||
administrators?: IdentityDescriptor;
|
||||
id: string;
|
||||
|
@ -204,6 +208,11 @@ export interface IdentityUpdateData {
|
|||
updated?: boolean;
|
||||
}
|
||||
|
||||
export interface PagedIdentities {
|
||||
continuationToken?: string[];
|
||||
identities?: Identity[];
|
||||
}
|
||||
|
||||
export enum QueryMembership {
|
||||
/**
|
||||
* Query will not return any membership data
|
||||
|
|
|
@ -302,14 +302,41 @@ export interface GroupSubscriptionChannel extends SubscriptionChannelWithAddress
|
|||
* Abstraction interface for the diagnostic log. Primarily for deserialization.
|
||||
*/
|
||||
export interface INotificationDiagnosticLog {
|
||||
/**
|
||||
* Identifier used for correlating to other diagnostics that may have been recorded elsewhere.
|
||||
*/
|
||||
activityId?: string;
|
||||
/**
|
||||
* Description of what subscription or notification job is being logged.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Time the log ended.
|
||||
*/
|
||||
endTime?: Date;
|
||||
/**
|
||||
* Unique instance identifier.
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* Type of information being logged.
|
||||
*/
|
||||
logType?: string;
|
||||
/**
|
||||
* List of log messages.
|
||||
*/
|
||||
messages?: NotificationDiagnosticLogMessage[];
|
||||
/**
|
||||
* Dictionary of log properties and settings for the job.
|
||||
*/
|
||||
properties?: { [key: string] : string; };
|
||||
/**
|
||||
* This identifier depends on the logType. For notification jobs, this will be the job Id. For subscription tracing, this will be a special root Guid with the subscription Id encoded.
|
||||
*/
|
||||
source?: string;
|
||||
/**
|
||||
* Time the log started.
|
||||
*/
|
||||
startTime?: Date;
|
||||
}
|
||||
|
||||
|
@ -671,12 +698,21 @@ export interface NotificationSubscriber {
|
|||
* Delivery preference for a subscriber. Indicates how the subscriber should be notified.
|
||||
*/
|
||||
export enum NotificationSubscriberDeliveryPreference {
|
||||
/**
|
||||
* Do not send notifications by default. Note: notifications can still be delivered to this subscriber, for example via a custom subscription.
|
||||
*/
|
||||
NoDelivery = -1,
|
||||
/**
|
||||
* Deliver notifications to the subscriber's preferred email address.
|
||||
*/
|
||||
PreferredEmailAddress = 1,
|
||||
/**
|
||||
* Deliver notifications to each member of the group representing the subscriber. Only applicable when the subscriber is a group.
|
||||
*/
|
||||
EachMember = 2,
|
||||
/**
|
||||
* Use default
|
||||
*/
|
||||
UseDefault = 3,
|
||||
}
|
||||
|
||||
|
@ -857,7 +893,7 @@ export interface OperatorConstraint {
|
|||
|
||||
export interface ProcessedEvent {
|
||||
/**
|
||||
* All of the users that were associtated with this event and their role.
|
||||
* All of the users that were associated with this event and their role.
|
||||
*/
|
||||
actors?: VSSInterfaces.EventActor[];
|
||||
allowedChannels?: string;
|
||||
|
@ -959,9 +995,21 @@ export interface SubscriptionChannelWithAddress {
|
|||
useCustomAddress?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains all the diagnostics settings for a subscription.
|
||||
*/
|
||||
export interface SubscriptionDiagnostics {
|
||||
/**
|
||||
* Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions.
|
||||
*/
|
||||
deliveryResults?: SubscriptionTracing;
|
||||
/**
|
||||
* Diagnostics settings for troubleshooting notification delivery.
|
||||
*/
|
||||
deliveryTracing?: SubscriptionTracing;
|
||||
/**
|
||||
* Diagnostics settings for troubleshooting event matching.
|
||||
*/
|
||||
evaluationTracing?: SubscriptionTracing;
|
||||
}
|
||||
|
||||
|
@ -991,7 +1039,7 @@ export interface SubscriptionEvaluationRequest {
|
|||
}
|
||||
|
||||
/**
|
||||
* Ecapsulates the subscription evaluation results. It defines the Date Interval that was used, number of events evaluated and events and notifications results
|
||||
* Encapsulates the subscription evaluation results. It defines the Date Interval that was used, number of events evaluated and events and notifications results
|
||||
*/
|
||||
export interface SubscriptionEvaluationResult {
|
||||
/**
|
||||
|
@ -1311,7 +1359,13 @@ export interface SubscriptionTraceNotificationDeliveryLog extends SubscriptionTr
|
|||
notifications?: DiagnosticNotification[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Data controlling a single diagnostic setting for a subscription.
|
||||
*/
|
||||
export interface SubscriptionTracing {
|
||||
/**
|
||||
* Indicates whether the diagnostic tracing is enabled or not.
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Trace until the specified end date.
|
||||
|
@ -1349,13 +1403,31 @@ export interface UnsupportedSubscriptionChannel {
|
|||
type?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters to update diagnostics settings for a subscription.
|
||||
*/
|
||||
export interface UpdateSubscripitonDiagnosticsParameters {
|
||||
/**
|
||||
* Diagnostics settings for retaining delivery results. Used for Service Hooks subscriptions.
|
||||
*/
|
||||
deliveryResults?: UpdateSubscripitonTracingParameters;
|
||||
/**
|
||||
* Diagnostics settings for troubleshooting notification delivery.
|
||||
*/
|
||||
deliveryTracing?: UpdateSubscripitonTracingParameters;
|
||||
/**
|
||||
* Diagnostics settings for troubleshooting event matching.
|
||||
*/
|
||||
evaluationTracing?: UpdateSubscripitonTracingParameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters to update a specific diagnostic setting.
|
||||
*/
|
||||
export interface UpdateSubscripitonTracingParameters {
|
||||
/**
|
||||
* Indicates whether to enable to disable the diagnostic tracing.
|
||||
*/
|
||||
enabled: boolean;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,6 +41,10 @@ export interface PolicyConfiguration extends VersionedPolicyConfigurationRef {
|
|||
* Indicates whether the policy is enabled.
|
||||
*/
|
||||
isEnabled: boolean;
|
||||
/**
|
||||
* If set, this policy requires "Manage Enterprise Policies" permission to create, edit, or delete.
|
||||
*/
|
||||
isEnterpriseManaged?: boolean;
|
||||
/**
|
||||
* The policy configuration settings.
|
||||
*/
|
||||
|
|
|
@ -311,6 +311,10 @@ export interface ArtifactFilter {
|
|||
* Gets or sets the branch for the filter.
|
||||
*/
|
||||
sourceBranch?: string;
|
||||
/**
|
||||
* Gets or sets the regex based tag filter.
|
||||
*/
|
||||
tagFilter?: TagFilter;
|
||||
/**
|
||||
* Gets or sets the list of tags for the filter.
|
||||
*/
|
||||
|
@ -428,31 +432,39 @@ export interface ArtifactTriggerConfiguration {
|
|||
|
||||
export interface ArtifactTypeDefinition {
|
||||
/**
|
||||
* Gets or sets the artifact trigger configuration of artifact type defintion.
|
||||
* Gets or sets the artifact trigger configuration of artifact type definition.
|
||||
*/
|
||||
artifactTriggerConfiguration?: ArtifactTriggerConfiguration;
|
||||
/**
|
||||
* Gets or sets the artifact type of artifact type defintion. Valid values are 'Build', 'Package', 'Source' or 'ContainerImage'.
|
||||
* Gets or sets the artifact type of artifact type definition. Valid values are 'Build', 'Package', 'Source' or 'ContainerImage'.
|
||||
*/
|
||||
artifactType?: string;
|
||||
/**
|
||||
* Gets or sets the display name of artifact type defintion.
|
||||
* Gets or sets the display name of artifact type definition.
|
||||
*/
|
||||
displayName?: string;
|
||||
/**
|
||||
* Gets or sets the endpoint type id of artifact type defintion.
|
||||
* Gets or sets the endpoint type id of artifact type definition.
|
||||
*/
|
||||
endpointTypeId?: string;
|
||||
/**
|
||||
* Gets or sets the input descriptors of artifact type defintion.
|
||||
* Gets or sets the input descriptors of artifact type definition.
|
||||
*/
|
||||
inputDescriptors?: FormInputInterfaces.InputDescriptor[];
|
||||
/**
|
||||
* Gets or sets the name of artifact type defintion.
|
||||
* Gets or sets the is commits tracebility supported value of artifact type defintion.
|
||||
*/
|
||||
isCommitsTraceabilitySupported?: boolean;
|
||||
/**
|
||||
* Gets or sets the is workitems tracebility supported value of artifact type defintion.
|
||||
*/
|
||||
isWorkitemsTraceabilitySupported?: boolean;
|
||||
/**
|
||||
* Gets or sets the name of artifact type definition.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Gets or sets the unique source identifier of artifact type defintion.
|
||||
* Gets or sets the unique source identifier of artifact type definition.
|
||||
*/
|
||||
uniqueSourceIdentifier?: string;
|
||||
}
|
||||
|
@ -467,7 +479,7 @@ export interface ArtifactVersion {
|
|||
*/
|
||||
defaultVersion?: BuildVersion;
|
||||
/**
|
||||
* Gets or sets the error message encountered during quering of versions for artifact.
|
||||
* Gets or sets the error message encountered during querying of versions for artifact.
|
||||
*/
|
||||
errorMessage?: string;
|
||||
sourceId?: string;
|
||||
|
@ -518,7 +530,7 @@ export interface AutoTriggerIssue {
|
|||
|
||||
export interface AzureKeyVaultVariableGroupProviderData extends VariableGroupProviderData {
|
||||
/**
|
||||
* Gets or sets last refershed time.
|
||||
* Gets or sets last refreshed time.
|
||||
*/
|
||||
lastRefreshedOn?: Date;
|
||||
/**
|
||||
|
@ -767,7 +779,7 @@ export interface ControlOptions {
|
|||
*/
|
||||
alwaysRun?: boolean;
|
||||
/**
|
||||
* Indicates whether to continuer job on error or not.
|
||||
* Indicates whether to continue job on error or not.
|
||||
*/
|
||||
continueOnError?: boolean;
|
||||
/**
|
||||
|
@ -951,13 +963,13 @@ export interface Deployment {
|
|||
startedOn?: Date;
|
||||
}
|
||||
|
||||
export interface DeploymentApprovalCompletedEvent {
|
||||
export interface DeploymentApprovalCompletedEvent extends DeploymentEvent {
|
||||
approval?: ReleaseApproval;
|
||||
project?: ProjectReference;
|
||||
release?: Release;
|
||||
}
|
||||
|
||||
export interface DeploymentApprovalPendingEvent {
|
||||
export interface DeploymentApprovalPendingEvent extends DeploymentEvent {
|
||||
approval?: ReleaseApproval;
|
||||
approvalOptions?: ApprovalOptions;
|
||||
completedApprovals?: ReleaseApproval[];
|
||||
|
@ -1004,7 +1016,7 @@ export interface DeploymentAttempt {
|
|||
*/
|
||||
lastModifiedOn?: Date;
|
||||
/**
|
||||
* Deployment opeartion status.
|
||||
* Deployment operation status.
|
||||
*/
|
||||
operationStatus?: DeploymentOperationStatus;
|
||||
/**
|
||||
|
@ -1068,7 +1080,7 @@ export enum DeploymentAuthorizationOwner {
|
|||
FirstPreDeploymentApprover = 2,
|
||||
}
|
||||
|
||||
export interface DeploymentCompletedEvent {
|
||||
export interface DeploymentCompletedEvent extends DeploymentEvent {
|
||||
comment?: string;
|
||||
data?: { [key: string] : any; };
|
||||
deployment?: Deployment;
|
||||
|
@ -1076,6 +1088,11 @@ export interface DeploymentCompletedEvent {
|
|||
project?: ProjectReference;
|
||||
}
|
||||
|
||||
export interface DeploymentEvent extends ReleaseEvent {
|
||||
attemptId?: number;
|
||||
stageName?: string;
|
||||
}
|
||||
|
||||
export enum DeploymentExpands {
|
||||
All = 0,
|
||||
DeploymentOnly = 1,
|
||||
|
@ -1289,7 +1306,7 @@ export enum DeploymentsQueryType {
|
|||
FailingSince = 2,
|
||||
}
|
||||
|
||||
export interface DeploymentStartedEvent {
|
||||
export interface DeploymentStartedEvent extends DeploymentEvent {
|
||||
environment?: ReleaseEnvironment;
|
||||
project?: ProjectReference;
|
||||
release?: Release;
|
||||
|
@ -2081,6 +2098,10 @@ export interface Release {
|
|||
* Gets or sets the identity who created.
|
||||
*/
|
||||
createdBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Gets or sets the identity for whom release was created.
|
||||
*/
|
||||
createdFor?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Gets date on which it got created.
|
||||
*/
|
||||
|
@ -2166,7 +2187,7 @@ export interface Release {
|
|||
variables?: { [key: string] : ConfigurationVariableValue; };
|
||||
}
|
||||
|
||||
export interface ReleaseAbandonedEvent {
|
||||
export interface ReleaseAbandonedEvent extends ReleaseEvent {
|
||||
project?: ProjectReference;
|
||||
release?: Release;
|
||||
}
|
||||
|
@ -2254,7 +2275,7 @@ export interface ReleaseApprovalHistory {
|
|||
*/
|
||||
changedBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Approval histroy comments.
|
||||
* Approval history comments.
|
||||
*/
|
||||
comments?: string;
|
||||
/**
|
||||
|
@ -2266,7 +2287,7 @@ export interface ReleaseApprovalHistory {
|
|||
*/
|
||||
modifiedOn?: Date;
|
||||
/**
|
||||
* Approval histroy revision.
|
||||
* Approval history revision.
|
||||
*/
|
||||
revision?: number;
|
||||
}
|
||||
|
@ -2330,7 +2351,7 @@ export interface ReleaseCondition extends Condition {
|
|||
result?: boolean;
|
||||
}
|
||||
|
||||
export interface ReleaseCreatedEvent {
|
||||
export interface ReleaseCreatedEvent extends ReleaseEvent {
|
||||
project?: ProjectReference;
|
||||
release?: Release;
|
||||
}
|
||||
|
@ -2803,7 +2824,7 @@ export interface ReleaseDefinitionSummary {
|
|||
*/
|
||||
releaseDefinition?: ReleaseDefinitionShallowReference;
|
||||
/**
|
||||
* List of releases deployed using this Release Defintion.
|
||||
* List of releases deployed using this Release Definition.
|
||||
*/
|
||||
releases?: Release[];
|
||||
}
|
||||
|
@ -3063,6 +3084,11 @@ export interface ReleaseEnvironmentUpdateMetadata {
|
|||
variables?: { [key: string] : ConfigurationVariableValue; };
|
||||
}
|
||||
|
||||
export interface ReleaseEvent {
|
||||
id?: number;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
export enum ReleaseExpands {
|
||||
None = 0,
|
||||
Environments = 2,
|
||||
|
@ -3328,6 +3354,10 @@ export interface ReleaseStartMetadata {
|
|||
* Sets list of artifact to create a release.
|
||||
*/
|
||||
artifacts?: ArtifactMetadata[];
|
||||
/**
|
||||
* Optionally provide a requestor identity
|
||||
*/
|
||||
createdFor?: string;
|
||||
/**
|
||||
* Sets definition Id to create a release.
|
||||
*/
|
||||
|
@ -3559,6 +3589,10 @@ export interface ReleaseWorkItemRef {
|
|||
* Gets or sets the ID.
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* Gets or sets the provider.
|
||||
*/
|
||||
provider?: string;
|
||||
/**
|
||||
* Gets or sets the state.
|
||||
*/
|
||||
|
@ -3675,7 +3709,7 @@ export interface ServerDeploymentInput extends BaseDeploymentInput {
|
|||
}
|
||||
|
||||
/**
|
||||
* Represents a referenec to a service endpoint.
|
||||
* Represents a reference to a service endpoint.
|
||||
*/
|
||||
export interface ServiceEndpointReference extends ResourceReference {
|
||||
/**
|
||||
|
@ -3891,6 +3925,10 @@ export interface VariableGroup {
|
|||
* Gets or sets type.
|
||||
*/
|
||||
type?: string;
|
||||
/**
|
||||
* all project references where the variable group is shared with other projects.
|
||||
*/
|
||||
variableGroupProjectReferences?: VariableGroupProjectReference[];
|
||||
/**
|
||||
* Gets and sets the dictionary of variables.
|
||||
*/
|
||||
|
@ -3903,10 +3941,32 @@ export enum VariableGroupActionFilter {
|
|||
Use = 16,
|
||||
}
|
||||
|
||||
/**
|
||||
* A variable group reference is a shallow reference to variable group.
|
||||
*/
|
||||
export interface VariableGroupProjectReference {
|
||||
/**
|
||||
* Gets or sets description of the variable group.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Gets or sets name of the variable group.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Gets or sets project reference of the variable group.
|
||||
*/
|
||||
projectReference?: ProjectReference;
|
||||
}
|
||||
|
||||
export interface VariableGroupProviderData {
|
||||
}
|
||||
|
||||
export interface VariableValue {
|
||||
/**
|
||||
* Gets or sets if the variable is read only or not.
|
||||
*/
|
||||
isReadOnly?: boolean;
|
||||
/**
|
||||
* Gets or sets as the variable is secret or not.
|
||||
*/
|
||||
|
|
|
@ -25,7 +25,7 @@ export enum AadLoginPromptOption {
|
|||
*/
|
||||
Login = 1,
|
||||
/**
|
||||
* Force the user to select which account they are logging in with instead of automatically picking the user up from the session state. NOTE: This does not work for switching bewtween the variants of a dual-homed user.
|
||||
* Force the user to select which account they are logging in with instead of automatically picking the user up from the session state. NOTE: This does not work for switching between the variants of a dual-homed user.
|
||||
*/
|
||||
SelectAccount = 2,
|
||||
/**
|
||||
|
@ -146,7 +146,7 @@ export interface AzureManagementGroup {
|
|||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Id of tenant from which azure management group belogs
|
||||
* Id of tenant from which azure management group belongs
|
||||
*/
|
||||
tenantId?: string;
|
||||
}
|
||||
|
@ -735,6 +735,10 @@ export interface EnvironmentInstance {
|
|||
* Name of the Environment.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Project information for environment.
|
||||
*/
|
||||
project?: ProjectReference;
|
||||
resources?: EnvironmentResourceReference[];
|
||||
}
|
||||
|
||||
|
@ -765,12 +769,46 @@ export interface EnvironmentResource {
|
|||
lastModifiedBy?: VSSInterfaces.IdentityRef;
|
||||
lastModifiedOn?: Date;
|
||||
name?: string;
|
||||
/**
|
||||
* Tags of the Environment Resource.
|
||||
*/
|
||||
tags?: string[];
|
||||
/**
|
||||
* Environment resource type
|
||||
*/
|
||||
type?: EnvironmentResourceType;
|
||||
}
|
||||
|
||||
/**
|
||||
* EnvironmentResourceDeploymentExecutionRecord.
|
||||
*/
|
||||
export interface EnvironmentResourceDeploymentExecutionRecord {
|
||||
/**
|
||||
* Id of the Environment
|
||||
*/
|
||||
environmentId?: number;
|
||||
/**
|
||||
* Finish time of the environment resource deployment execution
|
||||
*/
|
||||
finishTime?: Date;
|
||||
/**
|
||||
* Id of the Environment deployment execution history record
|
||||
*/
|
||||
requestId?: number;
|
||||
/**
|
||||
* Resource Id
|
||||
*/
|
||||
resourceId?: number;
|
||||
/**
|
||||
* Result of the environment deployment execution
|
||||
*/
|
||||
result?: TaskResult;
|
||||
/**
|
||||
* Start time of the environment resource deployment execution
|
||||
*/
|
||||
startTime?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* EnvironmentResourceReference.
|
||||
*/
|
||||
|
@ -783,6 +821,10 @@ export interface EnvironmentResourceReference {
|
|||
* Name of the resource.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Tags of the Environment Resource Reference.
|
||||
*/
|
||||
tags?: string[];
|
||||
/**
|
||||
* Type of the resource.
|
||||
*/
|
||||
|
@ -941,9 +983,29 @@ export interface KubernetesResourceCreateParameters {
|
|||
clusterName?: string;
|
||||
name?: string;
|
||||
namespace?: string;
|
||||
/**
|
||||
* Tags of the kubernetes resource.
|
||||
*/
|
||||
tags?: string[];
|
||||
}
|
||||
|
||||
export interface KubernetesResourceCreateParametersExistingEndpoint extends KubernetesResourceCreateParameters {
|
||||
serviceEndpointId?: string;
|
||||
}
|
||||
|
||||
export interface KubernetesResourceCreateParametersNewEndpoint extends KubernetesResourceCreateParameters {
|
||||
endpoint?: ServiceEndpoint;
|
||||
}
|
||||
|
||||
export interface KubernetesResourcePatchParameters {
|
||||
authorizationParameters?: { [key: string] : string; };
|
||||
/**
|
||||
* Provider type (CustomProvider or AzureKubernetesServiceProvider) of the resource to be updated
|
||||
*/
|
||||
providerType?: string;
|
||||
resourceId?: number;
|
||||
}
|
||||
|
||||
export enum MachineGroupActionFilter {
|
||||
None = 0,
|
||||
Manage = 2,
|
||||
|
@ -1157,6 +1219,7 @@ export interface ResourceLimit {
|
|||
|
||||
export interface ResourcesHubData {
|
||||
continuationToken?: string;
|
||||
hasProjectLevelManagePermission?: boolean;
|
||||
resourceFilterOptions?: ResourceFilterOptions;
|
||||
resourceFilters?: ResourceFilters;
|
||||
resourceItems?: ResourceItem[];
|
||||
|
@ -1238,7 +1301,7 @@ export interface ServiceEndpoint {
|
|||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* EndPoint state indictor
|
||||
* EndPoint state indicator
|
||||
*/
|
||||
isReady?: boolean;
|
||||
/**
|
||||
|
@ -1517,7 +1580,7 @@ export interface TaskAgentCloudRequest {
|
|||
|
||||
export interface TaskAgentCloudType {
|
||||
/**
|
||||
* Gets or sets the display name of agnet cloud type.
|
||||
* Gets or sets the display name of agent cloud type.
|
||||
*/
|
||||
displayName?: string;
|
||||
/**
|
||||
|
@ -1707,7 +1770,7 @@ export interface TaskAgentMessage {
|
|||
*/
|
||||
body?: string;
|
||||
/**
|
||||
* Gets or sets the intialization vector used to encrypt this message.
|
||||
* Gets or sets the initialization vector used to encrypt this message.
|
||||
*/
|
||||
iV?: number[];
|
||||
/**
|
||||
|
@ -2261,7 +2324,7 @@ export interface TaskDefinitionEndpoint {
|
|||
*/
|
||||
keySelector?: string;
|
||||
/**
|
||||
* The scope as understood by Connected Services. Essentialy, a project-id for now.
|
||||
* The scope as understood by Connected Services. Essentially, a project-id for now.
|
||||
*/
|
||||
scope?: string;
|
||||
/**
|
||||
|
@ -2427,6 +2490,25 @@ export enum TaskGroupExpands {
|
|||
Tasks = 2,
|
||||
}
|
||||
|
||||
export interface TaskGroupPublishPreviewParameter extends TaskGroupUpdatePropertiesBase {
|
||||
/**
|
||||
* This is to disable previous versions of task group upon publish
|
||||
*/
|
||||
disablePriorVersions?: boolean;
|
||||
/**
|
||||
* Denotes if task group is in preview
|
||||
*/
|
||||
preview?: boolean;
|
||||
/**
|
||||
* This is the revision of task group that is getting published
|
||||
*/
|
||||
revision?: number;
|
||||
/**
|
||||
* This is the version of task group that is getting published
|
||||
*/
|
||||
version?: TaskVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies the desired ordering of taskGroups.
|
||||
*/
|
||||
|
@ -2441,6 +2523,13 @@ export enum TaskGroupQueryOrder {
|
|||
CreatedOnDescending = 1,
|
||||
}
|
||||
|
||||
export interface TaskGroupRestoreParameter extends TaskGroupUpdatePropertiesBase {
|
||||
/**
|
||||
* This is to restore deleted Task Group
|
||||
*/
|
||||
restore?: boolean;
|
||||
}
|
||||
|
||||
export interface TaskGroupRevision {
|
||||
changedBy?: VSSInterfaces.IdentityRef;
|
||||
changedDate?: Date;
|
||||
|
@ -2557,6 +2646,13 @@ export interface TaskGroupUpdateParameter {
|
|||
version?: TaskVersion;
|
||||
}
|
||||
|
||||
export interface TaskGroupUpdatePropertiesBase {
|
||||
/**
|
||||
* Comment for this update request
|
||||
*/
|
||||
comment?: string;
|
||||
}
|
||||
|
||||
export interface TaskHubLicenseDetails {
|
||||
enterpriseUsersCount?: number;
|
||||
failedToReachAllProviders?: boolean;
|
||||
|
@ -2785,6 +2881,7 @@ export interface TimelineAttempt {
|
|||
}
|
||||
|
||||
export interface TimelineRecord {
|
||||
agentSpecification?: any;
|
||||
attempt?: number;
|
||||
changeId?: number;
|
||||
currentOperation?: string;
|
||||
|
@ -2802,6 +2899,7 @@ export interface TimelineRecord {
|
|||
parentId?: string;
|
||||
percentComplete?: number;
|
||||
previousAttempts?: TimelineAttempt[];
|
||||
queueId?: number;
|
||||
refName?: string;
|
||||
result?: TaskResult;
|
||||
resultCode?: string;
|
||||
|
@ -2816,6 +2914,8 @@ export interface TimelineRecord {
|
|||
|
||||
export interface TimelineRecordFeedLinesWrapper {
|
||||
count?: number;
|
||||
endLine?: number;
|
||||
startLine?: number;
|
||||
stepId?: string;
|
||||
value?: string[];
|
||||
}
|
||||
|
@ -2895,6 +2995,10 @@ export interface VariableGroup {
|
|||
* Gets or sets type of the variable group.
|
||||
*/
|
||||
type?: string;
|
||||
/**
|
||||
* all project references where the variable group is shared with other projects.
|
||||
*/
|
||||
variableGroupProjectReferences?: VariableGroupProjectReference[];
|
||||
/**
|
||||
* Gets or sets variables contained in the variable group.
|
||||
*/
|
||||
|
@ -2924,12 +3028,31 @@ export interface VariableGroupParameters {
|
|||
* Sets type of the variable group.
|
||||
*/
|
||||
type?: string;
|
||||
variableGroupProjectReferences?: VariableGroupProjectReference[];
|
||||
/**
|
||||
* Sets variables contained in the variable group.
|
||||
*/
|
||||
variables?: { [key: string] : VariableValue; };
|
||||
}
|
||||
|
||||
/**
|
||||
* A variable group reference is a shallow reference to variable group.
|
||||
*/
|
||||
export interface VariableGroupProjectReference {
|
||||
/**
|
||||
* Gets or sets description of the variable group.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Gets or sets name of the variable group.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Gets or sets project reference of the variable group.
|
||||
*/
|
||||
projectReference?: ProjectReference;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines provider data of the variable group.
|
||||
*/
|
||||
|
@ -2951,6 +3074,7 @@ export enum VariableGroupQueryOrder {
|
|||
}
|
||||
|
||||
export interface VariableValue {
|
||||
isReadOnly?: boolean;
|
||||
isSecret?: boolean;
|
||||
value?: string;
|
||||
}
|
||||
|
@ -2969,6 +3093,14 @@ export interface VirtualMachineGroupCreateParameters {
|
|||
name?: string;
|
||||
}
|
||||
|
||||
export interface VirtualMachineResource extends EnvironmentResource {
|
||||
agent?: TaskAgent;
|
||||
}
|
||||
|
||||
export interface VirtualMachineResourceCreateParameters {
|
||||
virtualMachineResource?: VirtualMachineResource;
|
||||
}
|
||||
|
||||
export var TypeInfo = {
|
||||
AadLoginPromptOption: {
|
||||
enumValues: {
|
||||
|
@ -3074,6 +3206,8 @@ export var TypeInfo = {
|
|||
},
|
||||
EnvironmentResource: <any>{
|
||||
},
|
||||
EnvironmentResourceDeploymentExecutionRecord: <any>{
|
||||
},
|
||||
EnvironmentResourceReference: <any>{
|
||||
},
|
||||
EnvironmentResourceType: {
|
||||
|
@ -3392,6 +3526,10 @@ export var TypeInfo = {
|
|||
},
|
||||
VirtualMachineGroup: <any>{
|
||||
},
|
||||
VirtualMachineResource: <any>{
|
||||
},
|
||||
VirtualMachineResourceCreateParameters: <any>{
|
||||
},
|
||||
};
|
||||
|
||||
TypeInfo.AgentChangeEvent.fields = {
|
||||
|
@ -3559,6 +3697,18 @@ TypeInfo.EnvironmentResource.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.EnvironmentResourceDeploymentExecutionRecord.fields = {
|
||||
finishTime: {
|
||||
isDate: true,
|
||||
},
|
||||
result: {
|
||||
enumType: TypeInfo.TaskResult
|
||||
},
|
||||
startTime: {
|
||||
isDate: true,
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.EnvironmentResourceReference.fields = {
|
||||
type: {
|
||||
enumType: TypeInfo.EnvironmentResourceType
|
||||
|
@ -4115,3 +4265,24 @@ TypeInfo.VirtualMachineGroup.fields = {
|
|||
enumType: TypeInfo.EnvironmentResourceType
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.VirtualMachineResource.fields = {
|
||||
agent: {
|
||||
typeInfo: TypeInfo.TaskAgent
|
||||
},
|
||||
createdOn: {
|
||||
isDate: true,
|
||||
},
|
||||
lastModifiedOn: {
|
||||
isDate: true,
|
||||
},
|
||||
type: {
|
||||
enumType: TypeInfo.EnvironmentResourceType
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.VirtualMachineResourceCreateParameters.fields = {
|
||||
virtualMachineResource: {
|
||||
typeInfo: TypeInfo.VirtualMachineResource
|
||||
}
|
||||
};
|
||||
|
|
|
@ -85,6 +85,28 @@ export interface AggregatedDataForResultTrend {
|
|||
totalTests?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Result deatils for a particular test result outcome.
|
||||
*/
|
||||
export interface AggregatedResultDetailsByOutcome {
|
||||
/**
|
||||
* Number of results for current outcome.
|
||||
*/
|
||||
count?: number;
|
||||
/**
|
||||
* Time taken by results.
|
||||
*/
|
||||
duration?: any;
|
||||
/**
|
||||
* Test result outcome
|
||||
*/
|
||||
outcome?: TestOutcome;
|
||||
/**
|
||||
* Number of results on rerun
|
||||
*/
|
||||
rerunResultCount?: number;
|
||||
}
|
||||
|
||||
export interface AggregatedResultsAnalysis {
|
||||
duration?: any;
|
||||
notReportedResultsByOutcome?: { [key: number] : AggregatedResultsByOutcome; };
|
||||
|
@ -108,6 +130,7 @@ export interface AggregatedResultsByOutcome {
|
|||
export interface AggregatedResultsDifference {
|
||||
increaseInDuration?: any;
|
||||
increaseInFailures?: number;
|
||||
increaseInNonImpactedTests?: number;
|
||||
increaseInOtherTests?: number;
|
||||
increaseInPassedTests?: number;
|
||||
increaseInTotalTests?: number;
|
||||
|
@ -166,7 +189,7 @@ export interface BuildConfiguration {
|
|||
*/
|
||||
branchName?: string;
|
||||
/**
|
||||
* BuildDefnitionId for build.
|
||||
* BuildDefinitionId for build.
|
||||
*/
|
||||
buildDefinitionId?: number;
|
||||
/**
|
||||
|
@ -198,7 +221,7 @@ export interface BuildConfiguration {
|
|||
*/
|
||||
project?: ShallowReference;
|
||||
/**
|
||||
* ResposotoryGuid for the Build.
|
||||
* Repository Guid for the Build.
|
||||
*/
|
||||
repositoryGuid?: string;
|
||||
/**
|
||||
|
@ -360,11 +383,11 @@ export interface CloneOperationInformation {
|
|||
*/
|
||||
sourceProject?: ShallowReference;
|
||||
/**
|
||||
* Current state of the operation. When State reaches Suceeded or Failed, the operation is complete
|
||||
* Current state of the operation. When State reaches Succeeded or Failed, the operation is complete
|
||||
*/
|
||||
state?: CloneOperationState;
|
||||
/**
|
||||
* Url for geting the clone information
|
||||
* Url for getting the clone information
|
||||
*/
|
||||
url?: string;
|
||||
}
|
||||
|
@ -404,7 +427,7 @@ export interface CloneOptions {
|
|||
*/
|
||||
copyAllSuites?: boolean;
|
||||
/**
|
||||
* copy ancestor hieracrchy
|
||||
* copy ancestor hierarchy
|
||||
*/
|
||||
copyAncestorHierarchy?: boolean;
|
||||
/**
|
||||
|
@ -426,7 +449,7 @@ export interface CloneOptions {
|
|||
*/
|
||||
export interface CloneStatistics {
|
||||
/**
|
||||
* Number of Requirments cloned so far.
|
||||
* Number of requirements cloned so far.
|
||||
*/
|
||||
clonedRequirementsCount?: number;
|
||||
/**
|
||||
|
@ -611,7 +634,7 @@ export interface CreateTestRunRequest {
|
|||
}
|
||||
|
||||
/**
|
||||
* A custom field information. Allowed Key : Value pairs - ( AttemptId: IntVaue , IsTestResultFlaky: bool)
|
||||
* A custom field information. Allowed Key : Value pairs - ( AttemptId: int value, IsTestResultFlaky: bool)
|
||||
*/
|
||||
export interface CustomTestField {
|
||||
/**
|
||||
|
@ -789,6 +812,10 @@ export interface FlakySettings {
|
|||
* FlakyInSummaryReport defines flaky data should show in summary report or not.
|
||||
*/
|
||||
flakyInSummaryReport?: boolean;
|
||||
/**
|
||||
* IsFlakyBugCreated defines if there is any bug that has been created with flaky testresult.
|
||||
*/
|
||||
isFlakyBugCreated?: boolean;
|
||||
/**
|
||||
* ManualMarkUnmarkFlaky defines manual marking unmarking of flaky testcase.
|
||||
*/
|
||||
|
@ -1088,6 +1115,28 @@ export interface LinkedWorkItemsQueryResult {
|
|||
workItems?: WorkItemReference[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Test summary metrics.
|
||||
*/
|
||||
export enum Metrics {
|
||||
/**
|
||||
* To get results of all matrix.
|
||||
*/
|
||||
All = 1,
|
||||
/**
|
||||
* Get results summary by results outcome
|
||||
*/
|
||||
ResultSummary = 2,
|
||||
/**
|
||||
* Get results analysis which include failure analysis, increase/decrease in results count analysis.
|
||||
*/
|
||||
ResultsAnalysis = 3,
|
||||
/**
|
||||
* Get runs summary
|
||||
*/
|
||||
RunSummary = 4,
|
||||
}
|
||||
|
||||
export interface ModuleCoverage {
|
||||
blockCount?: number;
|
||||
blockData?: number[];
|
||||
|
@ -1143,7 +1192,7 @@ export enum OperationType {
|
|||
*/
|
||||
export interface PhaseReference {
|
||||
/**
|
||||
* Attempt number of the pahse
|
||||
* Attempt number of the phase
|
||||
*/
|
||||
attempt?: number;
|
||||
/**
|
||||
|
@ -1165,7 +1214,7 @@ export interface PipelineReference {
|
|||
*/
|
||||
phaseReference?: PhaseReference;
|
||||
/**
|
||||
* Reference of the pipeline with which this pipeline intance is related.
|
||||
* Reference of the pipeline with which this pipeline instance is related.
|
||||
*/
|
||||
pipelineId: number;
|
||||
/**
|
||||
|
@ -1174,6 +1223,32 @@ export interface PipelineReference {
|
|||
stageReference?: StageReference;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test summary of a pipeline instance.
|
||||
*/
|
||||
export interface PipelineTestMetrics {
|
||||
/**
|
||||
* Reference of Pipeline instance for which test summary is calculated.
|
||||
*/
|
||||
currentContext?: PipelineReference;
|
||||
/**
|
||||
* This is the return value for metric ResultsAnalysis Results insights which include failure analysis, increase/decrease in results count analysis.
|
||||
*/
|
||||
resultsAnalysis?: ResultsAnalysis;
|
||||
/**
|
||||
* This is the return value for metric ResultSummary Results summary based on results outcome.
|
||||
*/
|
||||
resultSummary?: ResultSummary;
|
||||
/**
|
||||
* This is the return value for metric RunSummary Run summary.
|
||||
*/
|
||||
runSummary?: RunSummary;
|
||||
/**
|
||||
* Summary at child node.
|
||||
*/
|
||||
summaryAtChild?: PipelineTestMetrics[];
|
||||
}
|
||||
|
||||
/**
|
||||
* A model class used for creating and updating test plans.
|
||||
*/
|
||||
|
@ -1539,6 +1614,17 @@ export enum ResultGroupType {
|
|||
Generic = 4,
|
||||
}
|
||||
|
||||
export enum ResultMetadata {
|
||||
/**
|
||||
* Rerun metadata
|
||||
*/
|
||||
Rerun = 1,
|
||||
/**
|
||||
* Flaky metadata
|
||||
*/
|
||||
Flaky = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Additional details with test result metadata
|
||||
*/
|
||||
|
@ -1589,6 +1675,24 @@ export interface ResultRetentionSettings {
|
|||
manualResultsRetentionDuration: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Results insights for runs with state completed and NeedInvestigation.
|
||||
*/
|
||||
export interface ResultsAnalysis {
|
||||
/**
|
||||
* Reference of pipeline instance from which to compare the results.
|
||||
*/
|
||||
previousContext?: PipelineReference;
|
||||
/**
|
||||
* Increase/Decrease in counts of results for a different outcome with respect to PreviousContext.
|
||||
*/
|
||||
resultsDifference?: AggregatedResultsDifference;
|
||||
/**
|
||||
* Failure analysis of results with respect to PreviousContext
|
||||
*/
|
||||
testFailuresAnalysis?: TestResultFailuresAnalysis;
|
||||
}
|
||||
|
||||
export interface ResultsByQueryRequest {
|
||||
pageSize?: number;
|
||||
query?: ResultsStoreQuery;
|
||||
|
@ -1621,6 +1725,38 @@ export interface ResultsStoreQuery {
|
|||
timeZone?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Result summary by the outcome of test results.
|
||||
*/
|
||||
export interface ResultsSummaryByOutcome {
|
||||
/**
|
||||
* Aggregated result details for each test result outcome.
|
||||
*/
|
||||
aggregatedResultDetailsByOutcome?: { [key: number] : AggregatedResultDetailsByOutcome; };
|
||||
/**
|
||||
* Time taken by results.
|
||||
*/
|
||||
duration?: any;
|
||||
/**
|
||||
* Total number of not reported test results.
|
||||
*/
|
||||
notReportedTestCount?: number;
|
||||
/**
|
||||
* Total number of test results. (It includes NotImpacted test results as well which need to exclude while calculating pass/fail test result percentage).
|
||||
*/
|
||||
totalTestCount?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Summary of results for a pipeline instance.
|
||||
*/
|
||||
export interface ResultSummary {
|
||||
/**
|
||||
* Result summary of pipeline, group by TestRun state.
|
||||
*/
|
||||
resultSummaryByRunState?: { [key: number] : ResultsSummaryByOutcome; };
|
||||
}
|
||||
|
||||
export interface ResultUpdateRequest {
|
||||
actionResultDeletes?: TestActionResult[];
|
||||
actionResults?: TestActionResult[];
|
||||
|
@ -1766,7 +1902,7 @@ export interface RunCreateModel {
|
|||
*/
|
||||
runSummary?: RunSummaryModel[];
|
||||
/**
|
||||
* Timespan till the Run RunTimesout.
|
||||
* Timespan till the run times out.
|
||||
*/
|
||||
runTimeout?: any;
|
||||
/**
|
||||
|
@ -1786,7 +1922,7 @@ export interface RunCreateModel {
|
|||
*/
|
||||
tags?: TestTag[];
|
||||
/**
|
||||
* TestConfgurationMapping of the test run.
|
||||
* TestConfigurationMapping of the test run.
|
||||
*/
|
||||
testConfigurationsMapping?: string;
|
||||
/**
|
||||
|
@ -1833,12 +1969,42 @@ export interface RunStatistic {
|
|||
* Test run Resolution State.
|
||||
*/
|
||||
resolutionState?: TestResolutionState;
|
||||
/**
|
||||
* ResultMetadata for the given outcome/count.
|
||||
*/
|
||||
resultMetadata?: ResultMetadata;
|
||||
/**
|
||||
* State of the test run
|
||||
*/
|
||||
state: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Summary of runs for a pipeline instance.
|
||||
*/
|
||||
export interface RunSummary {
|
||||
/**
|
||||
* Total time taken by runs with state completed and NeedInvestigation.
|
||||
*/
|
||||
duration?: any;
|
||||
/**
|
||||
* NoConfig runs count.
|
||||
*/
|
||||
noConfigRunsCount?: number;
|
||||
/**
|
||||
* Runs count by outcome for runs with state completed and NeedInvestigation runs.
|
||||
*/
|
||||
runSummaryByOutcome?: { [key: number] : number; };
|
||||
/**
|
||||
* Runs count by state.
|
||||
*/
|
||||
runSummaryByState?: { [key: number] : number; };
|
||||
/**
|
||||
* Total runs count.
|
||||
*/
|
||||
totalRunsCount?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run summary for each output type of test.
|
||||
*/
|
||||
|
@ -2815,7 +2981,7 @@ export interface TestHistoryQuery {
|
|||
*/
|
||||
branch?: string;
|
||||
/**
|
||||
* Get the results history only for this BuildDefinationId. This to get used in query GroupBy should be Branch. If this is provided, Branch will have no use.
|
||||
* Get the results history only for this BuildDefinitionId. This to get used in query GroupBy should be Branch. If this is provided, Branch will have no use.
|
||||
*/
|
||||
buildDefinitionId?: number;
|
||||
/**
|
||||
|
@ -2857,7 +3023,7 @@ export interface TestIterationDetailsModel {
|
|||
*/
|
||||
actionResults?: TestActionResultModel[];
|
||||
/**
|
||||
* Refence to attachments in test iteration result.
|
||||
* Reference to attachments in test iteration result.
|
||||
*/
|
||||
attachments?: TestCaseResultAttachmentModel[];
|
||||
/**
|
||||
|
@ -2906,6 +3072,9 @@ export interface TestLog {
|
|||
* Test Log Context run, build
|
||||
*/
|
||||
logReference: TestLogReference;
|
||||
/**
|
||||
* Meta data for Log file
|
||||
*/
|
||||
metaData?: { [key: string] : string; };
|
||||
/**
|
||||
* LastUpdatedDate for Log file
|
||||
|
@ -2917,6 +3086,9 @@ export interface TestLog {
|
|||
size?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test Log Reference object
|
||||
*/
|
||||
export interface TestLogReference {
|
||||
/**
|
||||
* BuildId for test log, if context is build
|
||||
|
@ -2943,7 +3115,7 @@ export interface TestLogReference {
|
|||
*/
|
||||
runId: number;
|
||||
/**
|
||||
* Test Log Reference object
|
||||
* Test Log Scope
|
||||
*/
|
||||
scope: TestLogScope;
|
||||
/**
|
||||
|
@ -2996,22 +3168,74 @@ export interface TestLogStatus {
|
|||
* Test Log Status codes.
|
||||
*/
|
||||
export enum TestLogStatusCode {
|
||||
/**
|
||||
* Operation is successful
|
||||
*/
|
||||
Success = 0,
|
||||
/**
|
||||
* Operation failed
|
||||
*/
|
||||
Failed = 1,
|
||||
/**
|
||||
* Operation failed due to file already exist
|
||||
*/
|
||||
FileAlreadyExists = 2,
|
||||
/**
|
||||
* Invalid input provided by user
|
||||
*/
|
||||
InvalidInput = 3,
|
||||
/**
|
||||
* Invalid file name provided by user
|
||||
*/
|
||||
InvalidFileName = 4,
|
||||
/**
|
||||
* Error occurred while operating on container
|
||||
*/
|
||||
InvalidContainer = 5,
|
||||
/**
|
||||
* Blob Transfer Error
|
||||
*/
|
||||
TransferFailed = 6,
|
||||
/**
|
||||
* TestLogStore feature is not enabled
|
||||
*/
|
||||
FeatureDisabled = 7,
|
||||
/**
|
||||
* Build for which operation is requested does not exist
|
||||
*/
|
||||
BuildDoesNotExist = 8,
|
||||
/**
|
||||
* Run for which operation is requested does not exist
|
||||
*/
|
||||
RunDoesNotExist = 9,
|
||||
/**
|
||||
* Container cannot be created
|
||||
*/
|
||||
ContainerNotCreated = 10,
|
||||
/**
|
||||
* Api is not supported
|
||||
*/
|
||||
APINotSupported = 11,
|
||||
/**
|
||||
* File size is greater than the limitation
|
||||
*/
|
||||
FileSizeExceeds = 12,
|
||||
/**
|
||||
* Container is not found for which operation is requested
|
||||
*/
|
||||
ContainerNotFound = 13,
|
||||
/**
|
||||
* File cannot be found
|
||||
*/
|
||||
FileNotFound = 14,
|
||||
/**
|
||||
* Directory cannot be found
|
||||
*/
|
||||
DirectoryNotFound = 15,
|
||||
/**
|
||||
* Storage capacity exceeded
|
||||
*/
|
||||
StorageCapacityExceeded = 16,
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3032,14 +3256,35 @@ export interface TestLogStoreEndpointDetails {
|
|||
status?: TestLogStatusCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies set of possible log store endpoint type.
|
||||
*/
|
||||
export enum TestLogStoreEndpointType {
|
||||
/**
|
||||
* Endpoint type is scoped to root
|
||||
*/
|
||||
Root = 1,
|
||||
/**
|
||||
* Endpoint type is scoped to file
|
||||
*/
|
||||
File = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies set of possible operation type on log store.
|
||||
*/
|
||||
export enum TestLogStoreOperationType {
|
||||
/**
|
||||
* Operation is scoped to read data only.
|
||||
*/
|
||||
Read = 1,
|
||||
/**
|
||||
* Operation is scoped to create data only.
|
||||
*/
|
||||
Create = 2,
|
||||
/**
|
||||
* Operation is scoped to read and create data.
|
||||
*/
|
||||
ReadAndCreate = 3,
|
||||
}
|
||||
|
||||
|
@ -3063,6 +3308,10 @@ export enum TestLogType {
|
|||
* Temporary files
|
||||
*/
|
||||
Intermediate = 4,
|
||||
/**
|
||||
* Subresult Attachment
|
||||
*/
|
||||
System = 5,
|
||||
}
|
||||
|
||||
export interface TestMessageLog2 {
|
||||
|
@ -3570,6 +3819,12 @@ export interface TestResultDocument {
|
|||
payload?: TestResultPayload;
|
||||
}
|
||||
|
||||
export interface TestResultFailuresAnalysis {
|
||||
existingFailures?: TestFailureDetails;
|
||||
fixedTests?: TestFailureDetails;
|
||||
newFailures?: TestFailureDetails;
|
||||
}
|
||||
|
||||
/**
|
||||
* Group by for results
|
||||
*/
|
||||
|
@ -3746,12 +4001,14 @@ export interface TestResultReset2 {
|
|||
export interface TestResultsContext {
|
||||
build?: BuildReference;
|
||||
contextType?: TestResultsContextType;
|
||||
pipelineReference?: PipelineReference;
|
||||
release?: ReleaseReference;
|
||||
}
|
||||
|
||||
export enum TestResultsContextType {
|
||||
Build = 1,
|
||||
Release = 2,
|
||||
Pipeline = 3,
|
||||
}
|
||||
|
||||
export interface TestResultsDetails {
|
||||
|
@ -3842,7 +4099,7 @@ export interface TestResultSummary {
|
|||
|
||||
export interface TestResultsUpdateSettings {
|
||||
/**
|
||||
* FlakySettings defines Flaky Setttings Data.
|
||||
* FlakySettings defines Flaky Settings Data.
|
||||
*/
|
||||
flakySettings?: FlakySettings;
|
||||
}
|
||||
|
@ -4147,7 +4404,7 @@ export interface TestRunExtended2 {
|
|||
*/
|
||||
export enum TestRunOutcome {
|
||||
/**
|
||||
* Run with zero failed tests and has atleast one impacted test
|
||||
* Run with zero failed tests and has at least one impacted test
|
||||
*/
|
||||
Passed = 0,
|
||||
/**
|
||||
|
@ -4206,7 +4463,7 @@ export enum TestRunState {
|
|||
*/
|
||||
Completed = 3,
|
||||
/**
|
||||
* Run is stopped and remaing tests have been aborted
|
||||
* Run is stopped and remaining tests have been aborted
|
||||
*/
|
||||
Aborted = 4,
|
||||
/**
|
||||
|
@ -4855,6 +5112,8 @@ export var TypeInfo = {
|
|||
},
|
||||
AggregatedDataForResultTrend: <any>{
|
||||
},
|
||||
AggregatedResultDetailsByOutcome: <any>{
|
||||
},
|
||||
AggregatedResultsAnalysis: <any>{
|
||||
},
|
||||
AggregatedResultsByOutcome: <any>{
|
||||
|
@ -4981,12 +5240,22 @@ export var TypeInfo = {
|
|||
},
|
||||
LegacyTestSettings: <any>{
|
||||
},
|
||||
Metrics: {
|
||||
enumValues: {
|
||||
"all": 1,
|
||||
"resultSummary": 2,
|
||||
"resultsAnalysis": 3,
|
||||
"runSummary": 4
|
||||
}
|
||||
},
|
||||
OperationType: {
|
||||
enumValues: {
|
||||
"add": 1,
|
||||
"delete": 2
|
||||
}
|
||||
},
|
||||
PipelineTestMetrics: <any>{
|
||||
},
|
||||
PointLastResult: <any>{
|
||||
},
|
||||
PointsResults2: <any>{
|
||||
|
@ -5019,6 +5288,12 @@ export var TypeInfo = {
|
|||
"generic": 4
|
||||
}
|
||||
},
|
||||
ResultMetadata: {
|
||||
enumValues: {
|
||||
"rerun": 1,
|
||||
"flaky": 2
|
||||
}
|
||||
},
|
||||
ResultMetaDataDetails: {
|
||||
enumValues: {
|
||||
"none": 0,
|
||||
|
@ -5037,6 +5312,10 @@ export var TypeInfo = {
|
|||
},
|
||||
ResultsFilter: <any>{
|
||||
},
|
||||
ResultsSummaryByOutcome: <any>{
|
||||
},
|
||||
ResultSummary: <any>{
|
||||
},
|
||||
ResultUpdateRequest: <any>{
|
||||
},
|
||||
ResultUpdateRequestModel: <any>{
|
||||
|
@ -5045,6 +5324,10 @@ export var TypeInfo = {
|
|||
},
|
||||
RunCreateModel: <any>{
|
||||
},
|
||||
RunStatistic: <any>{
|
||||
},
|
||||
RunSummary: <any>{
|
||||
},
|
||||
RunSummaryModel: <any>{
|
||||
},
|
||||
RunType: {
|
||||
|
@ -5145,7 +5428,8 @@ export var TypeInfo = {
|
|||
"fileSizeExceeds": 12,
|
||||
"containerNotFound": 13,
|
||||
"fileNotFound": 14,
|
||||
"directoryNotFound": 15
|
||||
"directoryNotFound": 15,
|
||||
"storageCapacityExceeded": 16
|
||||
}
|
||||
},
|
||||
TestLogStoreEndpointDetails: <any>{
|
||||
|
@ -5168,7 +5452,8 @@ export var TypeInfo = {
|
|||
"generalAttachment": 1,
|
||||
"codeCoverage": 2,
|
||||
"testImpact": 3,
|
||||
"intermediate": 4
|
||||
"intermediate": 4,
|
||||
"system": 5
|
||||
}
|
||||
},
|
||||
TestMessageLogDetails: <any>{
|
||||
|
@ -5254,7 +5539,8 @@ export var TypeInfo = {
|
|||
TestResultsContextType: {
|
||||
enumValues: {
|
||||
"build": 1,
|
||||
"release": 2
|
||||
"release": 2,
|
||||
"pipeline": 3
|
||||
}
|
||||
},
|
||||
TestResultsDetails: <any>{
|
||||
|
@ -5321,6 +5607,8 @@ export var TypeInfo = {
|
|||
"needsInvestigation": 6
|
||||
}
|
||||
},
|
||||
TestRunStatistic: <any>{
|
||||
},
|
||||
TestRunSubstate: {
|
||||
enumValues: {
|
||||
"none": 0,
|
||||
|
@ -5403,6 +5691,12 @@ TypeInfo.AggregatedDataForResultTrend.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.AggregatedResultDetailsByOutcome.fields = {
|
||||
outcome: {
|
||||
enumType: TypeInfo.TestOutcome
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.AggregatedResultsAnalysis.fields = {
|
||||
notReportedResultsByOutcome: {
|
||||
isDictionary: true,
|
||||
|
@ -5691,6 +5985,19 @@ TypeInfo.LegacyTestSettings.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.PipelineTestMetrics.fields = {
|
||||
resultSummary: {
|
||||
typeInfo: TypeInfo.ResultSummary
|
||||
},
|
||||
runSummary: {
|
||||
typeInfo: TypeInfo.RunSummary
|
||||
},
|
||||
summaryAtChild: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.PipelineTestMetrics
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.PointLastResult.fields = {
|
||||
lastUpdatedDate: {
|
||||
isDate: true,
|
||||
|
@ -5769,6 +6076,22 @@ TypeInfo.ResultsFilter.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.ResultsSummaryByOutcome.fields = {
|
||||
aggregatedResultDetailsByOutcome: {
|
||||
isDictionary: true,
|
||||
dictionaryKeyEnumType: TypeInfo.TestOutcome,
|
||||
dictionaryValueTypeInfo: TypeInfo.AggregatedResultDetailsByOutcome
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.ResultSummary.fields = {
|
||||
resultSummaryByRunState: {
|
||||
isDictionary: true,
|
||||
dictionaryKeyEnumType: TypeInfo.TestRunState,
|
||||
dictionaryValueTypeInfo: TypeInfo.ResultsSummaryByOutcome
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.ResultUpdateRequest.fields = {
|
||||
actionResultDeletes: {
|
||||
isArray: true,
|
||||
|
@ -5817,6 +6140,23 @@ TypeInfo.RunCreateModel.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.RunStatistic.fields = {
|
||||
resultMetadata: {
|
||||
enumType: TypeInfo.ResultMetadata
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.RunSummary.fields = {
|
||||
runSummaryByOutcome: {
|
||||
isDictionary: true,
|
||||
dictionaryKeyEnumType: TypeInfo.TestRunOutcome,
|
||||
},
|
||||
runSummaryByState: {
|
||||
isDictionary: true,
|
||||
dictionaryKeyEnumType: TypeInfo.TestRunState,
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.RunSummaryModel.fields = {
|
||||
testOutcome: {
|
||||
enumType: TypeInfo.TestOutcome
|
||||
|
@ -6307,6 +6647,10 @@ TypeInfo.TestRun.fields = {
|
|||
release: {
|
||||
typeInfo: TypeInfo.ReleaseReference
|
||||
},
|
||||
runStatistics: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.RunStatistic
|
||||
},
|
||||
startedDate: {
|
||||
isDate: true,
|
||||
},
|
||||
|
@ -6369,6 +6713,13 @@ TypeInfo.TestRunStartedEvent.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.TestRunStatistic.fields = {
|
||||
runStatistics: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.RunStatistic
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.TestRunSummary2.fields = {
|
||||
testRunCompletedDate: {
|
||||
isDate: true,
|
||||
|
|
|
@ -127,6 +127,9 @@ export interface ItemModel {
|
|||
url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing a branch object.
|
||||
*/
|
||||
export interface TfvcBranch extends TfvcBranchRef {
|
||||
/**
|
||||
* List of children for the branch.
|
||||
|
@ -146,6 +149,9 @@ export interface TfvcBranch extends TfvcBranchRef {
|
|||
relatedBranches?: TfvcShallowBranchRef[];
|
||||
}
|
||||
|
||||
/**
|
||||
* A branch mapping.
|
||||
*/
|
||||
export interface TfvcBranchMapping {
|
||||
/**
|
||||
* Depth of the branch.
|
||||
|
@ -161,6 +167,9 @@ export interface TfvcBranchMapping {
|
|||
type?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a branchref.
|
||||
*/
|
||||
export interface TfvcBranchRef extends TfvcShallowBranchRef {
|
||||
/**
|
||||
* A collection of REST reference links.
|
||||
|
@ -171,7 +180,7 @@ export interface TfvcBranchRef extends TfvcShallowBranchRef {
|
|||
*/
|
||||
createdDate?: Date;
|
||||
/**
|
||||
* Description of the branch.
|
||||
* Branch description.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
|
@ -188,6 +197,9 @@ export interface TfvcBranchRef extends TfvcShallowBranchRef {
|
|||
url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A change.
|
||||
*/
|
||||
export interface TfvcChange extends Change<TfvcItem> {
|
||||
/**
|
||||
* List of merge sources in case of rename or branch creation.
|
||||
|
@ -199,9 +211,12 @@ export interface TfvcChange extends Change<TfvcItem> {
|
|||
pendingVersion?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of changes.
|
||||
*/
|
||||
export interface TfvcChangeset extends TfvcChangesetRef {
|
||||
/**
|
||||
* Account Id of the changeset.
|
||||
* Changeset Account Id also known as Organization Id.
|
||||
*/
|
||||
accountId?: string;
|
||||
/**
|
||||
|
@ -209,15 +224,15 @@ export interface TfvcChangeset extends TfvcChangesetRef {
|
|||
*/
|
||||
changes?: TfvcChange[];
|
||||
/**
|
||||
* Checkin Notes for the changeset.
|
||||
* List of Checkin Notes for the changeset.
|
||||
*/
|
||||
checkinNotes?: CheckinNote[];
|
||||
/**
|
||||
* Collection Id of the changeset.
|
||||
* Changeset collection Id.
|
||||
*/
|
||||
collectionId?: string;
|
||||
/**
|
||||
* Are more changes available.
|
||||
* True if more changes are available.
|
||||
*/
|
||||
hasMoreChanges?: boolean;
|
||||
/**
|
||||
|
@ -234,21 +249,24 @@ export interface TfvcChangeset extends TfvcChangesetRef {
|
|||
workItems?: AssociatedWorkItem[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a changeset.
|
||||
*/
|
||||
export interface TfvcChangesetRef {
|
||||
/**
|
||||
* A collection of REST reference links.
|
||||
*/
|
||||
_links?: any;
|
||||
/**
|
||||
* Alias or display name of user
|
||||
* Alias or display name of user.
|
||||
*/
|
||||
author?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Id of the changeset.
|
||||
* Changeset Id.
|
||||
*/
|
||||
changesetId?: number;
|
||||
/**
|
||||
* Alias or display name of user
|
||||
* Alias or display name of user.
|
||||
*/
|
||||
checkedInBy?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
|
@ -270,51 +288,54 @@ export interface TfvcChangesetRef {
|
|||
}
|
||||
|
||||
/**
|
||||
* Criteria used in a search for change lists
|
||||
* Criteria used in a search for change lists.
|
||||
*/
|
||||
export interface TfvcChangesetSearchCriteria {
|
||||
/**
|
||||
* Alias or display name of user who made the changes
|
||||
* Alias or display name of user who made the changes.
|
||||
*/
|
||||
author?: string;
|
||||
/**
|
||||
* Whether or not to follow renames for the given item being queried
|
||||
* Whether or not to follow renames for the given item being queried.
|
||||
*/
|
||||
followRenames?: boolean;
|
||||
/**
|
||||
* If provided, only include changesets created after this date (string) Think of a better name for this.
|
||||
* If provided, only include changesets created after this date (string).
|
||||
*/
|
||||
fromDate?: string;
|
||||
/**
|
||||
* If provided, only include changesets after this changesetID
|
||||
* If provided, only include changesets after this changesetID.
|
||||
*/
|
||||
fromId?: number;
|
||||
/**
|
||||
* Whether to include the _links field on the shallow references
|
||||
* Whether to include the _links field on the shallow references.
|
||||
*/
|
||||
includeLinks?: boolean;
|
||||
/**
|
||||
* Path of item to search under
|
||||
* Path of item to search under.
|
||||
*/
|
||||
itemPath?: string;
|
||||
mappings?: TfvcMappingFilter[];
|
||||
/**
|
||||
* If provided, only include changesets created before this date (string) Think of a better name for this.
|
||||
* If provided, only include changesets created before this date (string).
|
||||
*/
|
||||
toDate?: string;
|
||||
/**
|
||||
* If provided, a version descriptor for the latest change list to include
|
||||
* If provided, a version descriptor for the latest change list to include.
|
||||
*/
|
||||
toId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Request body for Get batched changesets.
|
||||
*/
|
||||
export interface TfvcChangesetsRequestData {
|
||||
/**
|
||||
* List of changeset Ids.
|
||||
*/
|
||||
changesetIds?: number[];
|
||||
/**
|
||||
* Length of the comment.
|
||||
* Max length of the comment.
|
||||
*/
|
||||
commentLength?: number;
|
||||
/**
|
||||
|
@ -323,8 +344,17 @@ export interface TfvcChangesetsRequestData {
|
|||
includeLinks?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for an item.
|
||||
*/
|
||||
export interface TfvcItem extends ItemModel {
|
||||
/**
|
||||
* Item changed datetime.
|
||||
*/
|
||||
changeDate?: Date;
|
||||
/**
|
||||
* Greater than 0 if item is deleted.
|
||||
*/
|
||||
deletionId?: number;
|
||||
/**
|
||||
* File encoding from database, -1 represents binary.
|
||||
|
@ -334,12 +364,21 @@ export interface TfvcItem extends ItemModel {
|
|||
* MD5 hash as a base 64 string, applies to files only.
|
||||
*/
|
||||
hashValue?: string;
|
||||
/**
|
||||
* True if item is a branch.
|
||||
*/
|
||||
isBranch?: boolean;
|
||||
/**
|
||||
* True if there is a change pending.
|
||||
*/
|
||||
isPendingChange?: boolean;
|
||||
/**
|
||||
* The size of the file, if applicable.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* Changeset version Id.
|
||||
*/
|
||||
version?: number;
|
||||
}
|
||||
|
||||
|
@ -347,13 +386,31 @@ export interface TfvcItem extends ItemModel {
|
|||
* Item path and Version descriptor properties
|
||||
*/
|
||||
export interface TfvcItemDescriptor {
|
||||
/**
|
||||
* Item path.
|
||||
*/
|
||||
path?: string;
|
||||
/**
|
||||
* Defaults to OneLevel.
|
||||
*/
|
||||
recursionLevel?: VersionControlRecursionType;
|
||||
/**
|
||||
* Specify the desired version, can be null or empty string only if VersionType is latest or tip.
|
||||
*/
|
||||
version?: string;
|
||||
/**
|
||||
* Defaults to None.
|
||||
*/
|
||||
versionOption?: TfvcVersionOption;
|
||||
/**
|
||||
* Defaults to Latest.
|
||||
*/
|
||||
versionType?: TfvcVersionType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Request body used by Get Items Batch
|
||||
*/
|
||||
export interface TfvcItemRequestData {
|
||||
/**
|
||||
* If true, include metadata about the file type
|
||||
|
@ -366,18 +423,51 @@ export interface TfvcItemRequestData {
|
|||
itemDescriptors?: TfvcItemDescriptor[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a label.
|
||||
*/
|
||||
export interface TfvcLabel extends TfvcLabelRef {
|
||||
/**
|
||||
* List of items.
|
||||
*/
|
||||
items?: TfvcItem[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata for a Label.
|
||||
*/
|
||||
export interface TfvcLabelRef {
|
||||
/**
|
||||
* Collection of reference links.
|
||||
*/
|
||||
_links?: any;
|
||||
/**
|
||||
* Label description.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Label Id.
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* Label scope.
|
||||
*/
|
||||
labelScope?: string;
|
||||
/**
|
||||
* Last modified datetime for the label.
|
||||
*/
|
||||
modifiedDate?: Date;
|
||||
/**
|
||||
* Label name.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Label owner.
|
||||
*/
|
||||
owner?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Label Url.
|
||||
*/
|
||||
url?: string;
|
||||
}
|
||||
|
||||
|
@ -393,8 +483,17 @@ export interface TfvcLabelRequestData {
|
|||
owner?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* MappingFilter can be used to include or exclude specific paths.
|
||||
*/
|
||||
export interface TfvcMappingFilter {
|
||||
/**
|
||||
* True if ServerPath should be excluded.
|
||||
*/
|
||||
exclude?: boolean;
|
||||
/**
|
||||
* Path to be included or excluded.
|
||||
*/
|
||||
serverPath?: string;
|
||||
}
|
||||
|
||||
|
@ -404,29 +503,50 @@ export interface TfvcMergeSource {
|
|||
*/
|
||||
isRename?: boolean;
|
||||
/**
|
||||
* The server item of the merge source
|
||||
* The server item of the merge source.
|
||||
*/
|
||||
serverItem?: string;
|
||||
/**
|
||||
* Start of the version range
|
||||
* Start of the version range.
|
||||
*/
|
||||
versionFrom?: number;
|
||||
/**
|
||||
* End of the version range
|
||||
* End of the version range.
|
||||
*/
|
||||
versionTo?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Policy failure information.
|
||||
*/
|
||||
export interface TfvcPolicyFailureInfo {
|
||||
/**
|
||||
* Policy failure message.
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* Name of the policy that failed.
|
||||
*/
|
||||
policyName?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Information on the policy override.
|
||||
*/
|
||||
export interface TfvcPolicyOverrideInfo {
|
||||
/**
|
||||
* Overidden policy comment.
|
||||
*/
|
||||
comment?: string;
|
||||
/**
|
||||
* Information on the failed policy that was overridden.
|
||||
*/
|
||||
policyFailures?: TfvcPolicyFailureInfo[];
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the shallow branchref class.
|
||||
*/
|
||||
export interface TfvcShallowBranchRef {
|
||||
/**
|
||||
* Path for the branch.
|
||||
|
@ -435,26 +555,62 @@ export interface TfvcShallowBranchRef {
|
|||
}
|
||||
|
||||
/**
|
||||
* This is the deep shelveset class
|
||||
* Metadata for a shelveset.
|
||||
*/
|
||||
export interface TfvcShelveset extends TfvcShelvesetRef {
|
||||
/**
|
||||
* List of changes.
|
||||
*/
|
||||
changes?: TfvcChange[];
|
||||
/**
|
||||
* List of checkin notes.
|
||||
*/
|
||||
notes?: CheckinNote[];
|
||||
/**
|
||||
* Policy override information if applicable.
|
||||
*/
|
||||
policyOverride?: TfvcPolicyOverrideInfo;
|
||||
/**
|
||||
* List of associated workitems.
|
||||
*/
|
||||
workItems?: AssociatedWorkItem[];
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the shallow shelveset class
|
||||
* Metadata for a shallow shelveset.
|
||||
*/
|
||||
export interface TfvcShelvesetRef {
|
||||
/**
|
||||
* List of reference links for the shelveset.
|
||||
*/
|
||||
_links?: any;
|
||||
/**
|
||||
* Shelveset comment.
|
||||
*/
|
||||
comment?: string;
|
||||
/**
|
||||
* Shelveset comment truncated as applicable.
|
||||
*/
|
||||
commentTruncated?: boolean;
|
||||
/**
|
||||
* Shelveset create date.
|
||||
*/
|
||||
createdDate?: Date;
|
||||
/**
|
||||
* Shelveset Id.
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* Shelveset name.
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Shelveset Owner.
|
||||
*/
|
||||
owner?: VSSInterfaces.IdentityRef;
|
||||
/**
|
||||
* Shelveset Url.
|
||||
*/
|
||||
url?: string;
|
||||
}
|
||||
|
||||
|
@ -480,7 +636,7 @@ export interface TfvcShelvesetRequestData {
|
|||
*/
|
||||
maxCommentLength?: number;
|
||||
/**
|
||||
* Shelveset's name
|
||||
* Shelveset name
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
|
@ -500,26 +656,71 @@ export interface TfvcStatistics {
|
|||
fileCountTotal?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Version descriptor properties.
|
||||
*/
|
||||
export interface TfvcVersionDescriptor {
|
||||
/**
|
||||
* Version object.
|
||||
*/
|
||||
version?: string;
|
||||
versionOption?: TfvcVersionOption;
|
||||
versionType?: TfvcVersionType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for Version handling.
|
||||
*/
|
||||
export enum TfvcVersionOption {
|
||||
/**
|
||||
* None.
|
||||
*/
|
||||
None = 0,
|
||||
/**
|
||||
* Return the previous version.
|
||||
*/
|
||||
Previous = 1,
|
||||
/**
|
||||
* Only usuable with versiontype MergeSource and integer versions, uses RenameSource identifier instead of Merge identifier.
|
||||
*/
|
||||
UseRename = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of Version object
|
||||
*/
|
||||
export enum TfvcVersionType {
|
||||
/**
|
||||
* Version is treated as a ChangesetId.
|
||||
*/
|
||||
None = 0,
|
||||
/**
|
||||
* Version is treated as a ChangesetId.
|
||||
*/
|
||||
Changeset = 1,
|
||||
/**
|
||||
* Version is treated as a Shelveset name and owner.
|
||||
*/
|
||||
Shelveset = 2,
|
||||
/**
|
||||
* Version is treated as a Change.
|
||||
*/
|
||||
Change = 3,
|
||||
/**
|
||||
* Version is treated as a Date.
|
||||
*/
|
||||
Date = 4,
|
||||
/**
|
||||
* If Version is defined the Latest of that Version will be used, if no version is defined the latest ChangesetId will be used.
|
||||
*/
|
||||
Latest = 5,
|
||||
/**
|
||||
* Version will be treated as a Tip, if no version is defined latest will be used.
|
||||
*/
|
||||
Tip = 6,
|
||||
/**
|
||||
* Version will be treated as a MergeSource.
|
||||
*/
|
||||
MergeSource = 7,
|
||||
}
|
||||
|
||||
|
|
|
@ -161,6 +161,24 @@ export interface WikiPageCreateOrUpdateParameters {
|
|||
content?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines a page with its metedata in a wiki.
|
||||
*/
|
||||
export interface WikiPageDetail {
|
||||
/**
|
||||
* When present, permanent identifier for the wiki page
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* Path of the wiki page.
|
||||
*/
|
||||
path?: string;
|
||||
/**
|
||||
* Path of the wiki page.
|
||||
*/
|
||||
viewStats?: WikiPageStat[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Request contract for Wiki Page Move.
|
||||
*/
|
||||
|
@ -217,6 +235,38 @@ export interface WikiPageResponse {
|
|||
page?: WikiPage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contract encapsulating parameters for the pages batch.
|
||||
*/
|
||||
export interface WikiPagesBatchRequest {
|
||||
/**
|
||||
* If the list of page data returned is not complete, a continuation token to query next batch of pages is included in the response header as "x-ms-continuationtoken". Omit this parameter to get the first batch of Wiki Page Data.
|
||||
*/
|
||||
continuationToken?: string;
|
||||
/**
|
||||
* last N days from the current day for which page views is to be returned. It's inclusive of current day.
|
||||
*/
|
||||
pageViewsForDays?: number;
|
||||
/**
|
||||
* Total count of pages on a wiki to return.
|
||||
*/
|
||||
top?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines properties for wiki page stat.
|
||||
*/
|
||||
export interface WikiPageStat {
|
||||
/**
|
||||
* the count of the stat for the Day
|
||||
*/
|
||||
count?: number;
|
||||
/**
|
||||
* Day of the stat
|
||||
*/
|
||||
day?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines properties for wiki page view stats.
|
||||
*/
|
||||
|
@ -311,6 +361,10 @@ export var TypeInfo = {
|
|||
},
|
||||
WikiCreateParametersV2: <any>{
|
||||
},
|
||||
WikiPageDetail: <any>{
|
||||
},
|
||||
WikiPageStat: <any>{
|
||||
},
|
||||
WikiPageViewStats: <any>{
|
||||
},
|
||||
WikiType: {
|
||||
|
@ -346,6 +400,19 @@ TypeInfo.WikiCreateParametersV2.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.WikiPageDetail.fields = {
|
||||
viewStats: {
|
||||
isArray: true,
|
||||
typeInfo: TypeInfo.WikiPageStat
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.WikiPageStat.fields = {
|
||||
day: {
|
||||
isDate: true,
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.WikiPageViewStats.fields = {
|
||||
lastViewedTime: {
|
||||
isDate: true,
|
||||
|
|
|
@ -107,7 +107,7 @@ export interface BacklogLevelConfiguration {
|
|||
*/
|
||||
columnFields?: BacklogColumn[];
|
||||
/**
|
||||
* Defaulst Work Item Type for the backlog
|
||||
* Default Work Item Type for the backlog
|
||||
*/
|
||||
defaultWorkItemType?: WorkItemTrackingInterfaces.WorkItemTypeReference;
|
||||
/**
|
||||
|
@ -422,7 +422,7 @@ export interface DateRange {
|
|||
*/
|
||||
export interface DeliveryViewData extends PlanViewData {
|
||||
/**
|
||||
* Work item child id to parenet id map
|
||||
* Work item child id to parent id map
|
||||
*/
|
||||
childIdToParentIdMap?: { [key: number] : number; };
|
||||
/**
|
||||
|
@ -550,6 +550,11 @@ export enum IdentityDisplayFormat {
|
|||
AvatarAndFullName = 2,
|
||||
}
|
||||
|
||||
export interface ITaskboardColumnMapping {
|
||||
state?: string;
|
||||
workItemType?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents work items in an iteration backlog
|
||||
*/
|
||||
|
@ -818,6 +823,80 @@ export interface Rule {
|
|||
settings?: attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents the taskbord column
|
||||
*/
|
||||
export interface TaskboardColumn {
|
||||
/**
|
||||
* Column ID
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* Work item type states mapped to this column to support auto state update when column is updated.
|
||||
*/
|
||||
mappings?: ITaskboardColumnMapping[];
|
||||
/**
|
||||
* Column name
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Column position relative to other columns in the same board
|
||||
*/
|
||||
order?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents the state to column mapping per work item type This allows auto state update when the column changes
|
||||
*/
|
||||
export interface TaskboardColumnMapping {
|
||||
/**
|
||||
* State of the work item type mapped to the column
|
||||
*/
|
||||
state?: string;
|
||||
/**
|
||||
* Work Item Type name who's state is mapped to the column
|
||||
*/
|
||||
workItemType?: string;
|
||||
}
|
||||
|
||||
export interface TaskboardColumns {
|
||||
columns?: TaskboardColumn[];
|
||||
/**
|
||||
* Are the columns cutomized for this team
|
||||
*/
|
||||
isCustomized?: boolean;
|
||||
/**
|
||||
* Specifies if the referenced WIT and State is valid
|
||||
*/
|
||||
isValid?: boolean;
|
||||
/**
|
||||
* Details of validation failure if the state to column mapping is invalid
|
||||
*/
|
||||
validationMesssage?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Column value of a work item in the taskboard
|
||||
*/
|
||||
export interface TaskboardWorkItemColumn {
|
||||
/**
|
||||
* Work item column value in the taskboard
|
||||
*/
|
||||
column?: string;
|
||||
/**
|
||||
* Work item column id in the taskboard
|
||||
*/
|
||||
columnId?: string;
|
||||
/**
|
||||
* Work Item state value
|
||||
*/
|
||||
state?: string;
|
||||
/**
|
||||
* Work item id
|
||||
*/
|
||||
workItemId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mapping of teams to the corresponding work item category
|
||||
*/
|
||||
|
@ -1176,6 +1255,29 @@ export interface UpdatePlan {
|
|||
type?: PlanType;
|
||||
}
|
||||
|
||||
export interface UpdateTaskboardColumn {
|
||||
/**
|
||||
* Column ID, keep it null for new column
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* Work item type states mapped to this column to support auto state update when column is updated.
|
||||
*/
|
||||
mappings?: TaskboardColumnMapping[];
|
||||
/**
|
||||
* Column name is required
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* Column position relative to other columns in the same board
|
||||
*/
|
||||
order?: number;
|
||||
}
|
||||
|
||||
export interface UpdateTaskboardWorkItemColumn {
|
||||
newColumn?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Work item color and icon.
|
||||
*/
|
||||
|
|
|
@ -99,7 +99,7 @@ export interface AccountRecentMentionWorkItemModel {
|
|||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* Lastest date that the user were mentioned
|
||||
* Latest date that the user were mentioned
|
||||
*/
|
||||
mentionedDateField?: Date;
|
||||
/**
|
||||
|
@ -240,10 +240,6 @@ export enum CommentExpandOptions {
|
|||
* Include comment reactions.
|
||||
*/
|
||||
Reactions = 1,
|
||||
/**
|
||||
* Include comment mentions.
|
||||
*/
|
||||
Mentions = 2,
|
||||
/**
|
||||
* Include the rendered text (html) in addition to MD text.
|
||||
*/
|
||||
|
@ -405,6 +401,34 @@ export interface CommentVersion extends WorkItemTrackingResource {
|
|||
version?: number;
|
||||
}
|
||||
|
||||
export interface ExternalDeployment {
|
||||
artifactId?: string;
|
||||
createdBy?: string;
|
||||
description?: string;
|
||||
displayName?: string;
|
||||
environment?: ExternalEnvironment;
|
||||
group?: string;
|
||||
pipeline?: ExternalPipeline;
|
||||
relatedWorkItemIds?: number[];
|
||||
runId?: number;
|
||||
sequenceNumber?: number;
|
||||
status?: string;
|
||||
statusDate?: Date;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
export interface ExternalEnvironment {
|
||||
displayName?: string;
|
||||
id?: number;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface ExternalPipeline {
|
||||
displayName?: string;
|
||||
id?: number;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes a list of dependent fields for a rule.
|
||||
*/
|
||||
|
@ -415,28 +439,6 @@ export interface FieldDependentRule extends WorkItemTrackingResource {
|
|||
dependentFields?: WorkItemFieldReference[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes a set fields for rule evaluation.
|
||||
*/
|
||||
export interface FieldsToEvaluate {
|
||||
/**
|
||||
* List of fields to evaluate.
|
||||
*/
|
||||
fields?: string[];
|
||||
/**
|
||||
* Updated field values to evaluate.
|
||||
*/
|
||||
fieldUpdates?: { [key: string] : any; };
|
||||
/**
|
||||
* Initial field values.
|
||||
*/
|
||||
fieldValues?: { [key: string] : any; };
|
||||
/**
|
||||
* URL of the work item type for which the rules need to be executed.
|
||||
*/
|
||||
rulesFrom?: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Enum for field types.
|
||||
*/
|
||||
|
@ -537,6 +539,10 @@ export enum GetFieldsExpand {
|
|||
* Adds extension fields to the response.
|
||||
*/
|
||||
ExtensionFields = 1,
|
||||
/**
|
||||
* Includes fields that have been deleted.
|
||||
*/
|
||||
IncludeDeleted = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -602,6 +608,30 @@ export enum LogicalOperation {
|
|||
OR = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Stores process ID.
|
||||
*/
|
||||
export interface ProcessIdModel {
|
||||
/**
|
||||
* The ID of the process.
|
||||
*/
|
||||
typeId?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stores project ID and its process ID.
|
||||
*/
|
||||
export interface ProcessMigrationResultModel {
|
||||
/**
|
||||
* The ID of the process.
|
||||
*/
|
||||
processId?: string;
|
||||
/**
|
||||
* The ID of the project.
|
||||
*/
|
||||
projectId?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Project work item type state colors
|
||||
*/
|
||||
|
@ -880,7 +910,7 @@ export interface ReportingWorkItemRevisionsBatch extends StreamedBatch<WorkItem>
|
|||
}
|
||||
|
||||
/**
|
||||
* The class reprensents the reporting work item revision filer.
|
||||
* The class represents the reporting work item revision filer.
|
||||
*/
|
||||
export interface ReportingWorkItemRevisionsFilter {
|
||||
/**
|
||||
|
@ -914,7 +944,7 @@ export interface ReportingWorkItemRevisionsFilter {
|
|||
*/
|
||||
export interface StreamedBatch<T> {
|
||||
/**
|
||||
* ContinuationToken acts as a waterMark. Used while quering large results.
|
||||
* ContinuationToken acts as a waterMark. Used while querying large results.
|
||||
*/
|
||||
continuationToken?: string;
|
||||
/**
|
||||
|
@ -961,6 +991,16 @@ export enum TreeStructureGroup {
|
|||
Iterations = 1,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes an update request for a work item field.
|
||||
*/
|
||||
export interface UpdateWorkItemField {
|
||||
/**
|
||||
* Indicates whether the user wants to restore the field.
|
||||
*/
|
||||
isDeleted?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* A WIQL query
|
||||
*/
|
||||
|
@ -1277,6 +1317,10 @@ export interface WorkItemField extends WorkItemTrackingResource {
|
|||
* The description of the field.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* Indicates whether this field is deleted.
|
||||
*/
|
||||
isDeleted?: boolean;
|
||||
/**
|
||||
* Indicates whether this field is an identity field.
|
||||
*/
|
||||
|
@ -1540,7 +1584,7 @@ export interface WorkItemRelation extends Link {
|
|||
}
|
||||
|
||||
/**
|
||||
* Represents the work item type relatiion type.
|
||||
* Represents the work item type relation type.
|
||||
*/
|
||||
export interface WorkItemRelationType extends WorkItemTrackingReference {
|
||||
/**
|
||||
|
@ -1550,7 +1594,7 @@ export interface WorkItemRelationType extends WorkItemTrackingReference {
|
|||
}
|
||||
|
||||
/**
|
||||
* Descrives updates to a work item's relations.
|
||||
* Describes updates to a work item's relations.
|
||||
*/
|
||||
export interface WorkItemRelationUpdates {
|
||||
/**
|
||||
|
@ -1599,6 +1643,12 @@ export interface WorkItemStateTransition {
|
|||
to?: string;
|
||||
}
|
||||
|
||||
export interface WorkItemTagDefinition {
|
||||
id?: string;
|
||||
name?: string;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes a work item template.
|
||||
*/
|
||||
|
@ -1726,7 +1776,7 @@ export interface WorkItemTypeCategory extends WorkItemTrackingResource {
|
|||
*/
|
||||
referenceName?: string;
|
||||
/**
|
||||
* The work item types that belond to the category.
|
||||
* The work item types that belong to the category.
|
||||
*/
|
||||
workItemTypes?: WorkItemTypeReference[];
|
||||
}
|
||||
|
@ -1758,7 +1808,7 @@ export interface WorkItemTypeColorAndIcon {
|
|||
*/
|
||||
color?: string;
|
||||
/**
|
||||
* Tthe work item type icon.
|
||||
* The work item type icon.
|
||||
*/
|
||||
icon?: string;
|
||||
/**
|
||||
|
@ -1950,7 +2000,6 @@ export var TypeInfo = {
|
|||
enumValues: {
|
||||
"none": 0,
|
||||
"reactions": 1,
|
||||
"mentions": 2,
|
||||
"renderedText": 8,
|
||||
"renderedTextOnly": 16,
|
||||
"all": -17
|
||||
|
@ -1978,6 +2027,8 @@ export var TypeInfo = {
|
|||
},
|
||||
CommentVersion: <any>{
|
||||
},
|
||||
ExternalDeployment: <any>{
|
||||
},
|
||||
FieldType: {
|
||||
enumValues: {
|
||||
"string": 0,
|
||||
|
@ -2008,7 +2059,8 @@ export var TypeInfo = {
|
|||
GetFieldsExpand: {
|
||||
enumValues: {
|
||||
"none": 0,
|
||||
"extensionFields": 1
|
||||
"extensionFields": 1,
|
||||
"includeDeleted": 2
|
||||
}
|
||||
},
|
||||
LinkQueryMode: {
|
||||
|
@ -2255,6 +2307,12 @@ TypeInfo.CommentVersion.fields = {
|
|||
}
|
||||
};
|
||||
|
||||
TypeInfo.ExternalDeployment.fields = {
|
||||
statusDate: {
|
||||
isDate: true,
|
||||
}
|
||||
};
|
||||
|
||||
TypeInfo.QueryBatchGetRequest.fields = {
|
||||
$expand: {
|
||||
enumType: TypeInfo.QueryExpand
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* Class that describes a request to add a field in a work item type.
|
||||
*/
|
||||
export interface AddProcessWorkItemTypeFieldRequest {
|
||||
/**
|
||||
* The list of field allowed values.
|
||||
*/
|
||||
allowedValues?: string[];
|
||||
/**
|
||||
* Allow setting field value to a group identity. Only applies to identity fields.
|
||||
*/
|
||||
|
@ -792,6 +796,10 @@ export interface ProcessWorkItemType {
|
|||
* Class that describes a field in a work item type and its properties.
|
||||
*/
|
||||
export interface ProcessWorkItemTypeField {
|
||||
/**
|
||||
* The list of field allowed values.
|
||||
*/
|
||||
allowedValues?: any[];
|
||||
/**
|
||||
* Allow setting field value to a group identity. Only applies to identity fields.
|
||||
*/
|
||||
|
@ -834,6 +842,24 @@ export interface ProcessWorkItemTypeField {
|
|||
url?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Expand options for the work item field(s) request.
|
||||
*/
|
||||
export enum ProcessWorkItemTypeFieldsExpandLevel {
|
||||
/**
|
||||
* Includes only basic properties of the field.
|
||||
*/
|
||||
None = 0,
|
||||
/**
|
||||
* Includes allowed values for the field.
|
||||
*/
|
||||
AllowedValues = 1,
|
||||
/**
|
||||
* Includes allowed values and dependent fields of the field.
|
||||
*/
|
||||
All = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the project reference class.
|
||||
*/
|
||||
|
@ -939,6 +965,10 @@ export enum RuleActionType {
|
|||
* Use the current user to set the value of the target field.
|
||||
*/
|
||||
CopyFromServerCurrentUser = 13,
|
||||
/**
|
||||
* Hides target field from the form. This is a server side only action.
|
||||
*/
|
||||
HideTargetField = 14,
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -991,6 +1021,8 @@ export enum RuleConditionType {
|
|||
WhenWorkItemIsCreated = 8,
|
||||
WhenValueIsDefined = 9,
|
||||
WhenValueIsNotDefined = 10,
|
||||
WhenCurrentUserIsMemberOfGroup = 11,
|
||||
WhenCurrentUserIsNotMemberOfGroup = 12,
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1047,6 +1079,10 @@ export interface UpdateProcessRuleRequest extends CreateProcessRuleRequest {
|
|||
* Class to describe a request that updates a field's properties in a work item type.
|
||||
*/
|
||||
export interface UpdateProcessWorkItemTypeFieldRequest {
|
||||
/**
|
||||
* The list of field allowed values.
|
||||
*/
|
||||
allowedValues?: string[];
|
||||
/**
|
||||
* Allow setting field value to a group identity. Only applies to identity fields.
|
||||
*/
|
||||
|
@ -1328,6 +1364,13 @@ export var TypeInfo = {
|
|||
},
|
||||
ProcessWorkItemTypeField: <any>{
|
||||
},
|
||||
ProcessWorkItemTypeFieldsExpandLevel: {
|
||||
enumValues: {
|
||||
"none": 0,
|
||||
"allowedValues": 1,
|
||||
"all": 2
|
||||
}
|
||||
},
|
||||
RuleAction: <any>{
|
||||
},
|
||||
RuleActionType: {
|
||||
|
@ -1344,7 +1387,8 @@ export var TypeInfo = {
|
|||
"copyFromField": 10,
|
||||
"setValueToEmpty": 11,
|
||||
"copyFromServerClock": 12,
|
||||
"copyFromServerCurrentUser": 13
|
||||
"copyFromServerCurrentUser": 13,
|
||||
"hideTargetField": 14
|
||||
}
|
||||
},
|
||||
RuleCondition: <any>{
|
||||
|
@ -1360,7 +1404,9 @@ export var TypeInfo = {
|
|||
"whenStateChangedFromAndTo": 7,
|
||||
"whenWorkItemIsCreated": 8,
|
||||
"whenValueIsDefined": 9,
|
||||
"whenValueIsNotDefined": 10
|
||||
"whenValueIsNotDefined": 10,
|
||||
"whenCurrentUserIsMemberOfGroup": 11,
|
||||
"whenCurrentUserIsNotMemberOfGroup": 12
|
||||
}
|
||||
},
|
||||
UpdateProcessRuleRequest: <any>{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-devops-node-api",
|
||||
"version": "9.0.3",
|
||||
"version": "10.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "azure-devops-node-api",
|
||||
"description": "Node client for Azure DevOps and TFS REST APIs",
|
||||
"version": "9.0.3",
|
||||
"version": "10.0.0",
|
||||
"main": "./WebApi.js",
|
||||
"types": "./WebApi.d.ts",
|
||||
"scripts": {
|
||||
|
|
|
@ -7,27 +7,9 @@
|
|||
"azure-devops-node-api": {
|
||||
"version": "file:../_build",
|
||||
"requires": {
|
||||
"tunnel": "0.0.4",
|
||||
"tunnel": "0.0.6",
|
||||
"typed-rest-client": "1.2.0",
|
||||
"underscore": "1.8.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"tunnel": {
|
||||
"version": "0.0.4",
|
||||
"bundled": true
|
||||
},
|
||||
"typed-rest-client": {
|
||||
"version": "1.2.0",
|
||||
"bundled": true,
|
||||
"requires": {
|
||||
"tunnel": "0.0.4",
|
||||
"underscore": "1.8.3"
|
||||
}
|
||||
},
|
||||
"underscore": {
|
||||
"version": "1.8.3",
|
||||
"bundled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче