* Regen

* Update samples

* Re-regen

* re-regen

* Get rid of extraneous interfaces
This commit is contained in:
Danny McCormick 2019-05-02 08:00:01 -04:00 коммит произвёл GitHub
Родитель b200d7908a
Коммит d6c74df97a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
48 изменённых файлов: 9314 добавлений и 4804 удалений

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

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

@ -19,6 +19,8 @@ import OperationsInterfaces = require("./interfaces/common/OperationsInterfaces"
import VSSInterfaces = require("./interfaces/common/VSSInterfaces");
export interface ICoreApi extends basem.ClientApiBase {
removeProjectAvatar(projectId: string): Promise<void>;
setProjectAvatar(avatarBlob: CoreInterfaces.ProjectAvatar, projectId: string): Promise<void>;
createConnectedService(connectedServiceCreationData: CoreInterfaces.WebApiConnectedServiceDetails, projectId: string): Promise<CoreInterfaces.WebApiConnectedService>;
getConnectedServiceDetails(projectId: string, name: string): Promise<CoreInterfaces.WebApiConnectedServiceDetails>;
getConnectedServices(projectId: string, kind?: CoreInterfaces.ConnectedServiceKind): Promise<CoreInterfaces.WebApiConnectedService[]>;
@ -33,7 +35,7 @@ export interface ICoreApi extends basem.ClientApiBase {
getProjectCollections(top?: number, skip?: number): Promise<CoreInterfaces.TeamProjectCollectionReference[]>;
getProjectHistoryEntries(minRevision?: number): Promise<CoreInterfaces.ProjectInfo[]>;
getProject(projectId: string, includeCapabilities?: boolean, includeHistory?: boolean): Promise<CoreInterfaces.TeamProject>;
getProjects(stateFilter?: any, top?: number, skip?: number, continuationToken?: string): Promise<CoreInterfaces.TeamProjectReference[]>;
getProjects(stateFilter?: any, top?: number, skip?: number, continuationToken?: string, getDefaultTeamImageUrl?: boolean): Promise<CoreInterfaces.TeamProjectReference[]>;
queueCreateProject(projectToCreate: CoreInterfaces.TeamProject): Promise<OperationsInterfaces.OperationReference>;
queueDeleteProject(projectId: string): Promise<OperationsInterfaces.OperationReference>;
updateProject(projectUpdate: CoreInterfaces.TeamProject, projectId: string): Promise<OperationsInterfaces.OperationReference>;
@ -42,11 +44,11 @@ export interface ICoreApi extends basem.ClientApiBase {
createOrUpdateProxy(proxy: CoreInterfaces.Proxy): Promise<CoreInterfaces.Proxy>;
deleteProxy(proxyUrl: string, site?: string): Promise<void>;
getProxies(proxyUrl?: string): Promise<CoreInterfaces.Proxy[]>;
getAllTeams(mine?: boolean, top?: number, skip?: number): Promise<CoreInterfaces.WebApiTeam[]>;
getAllTeams(mine?: boolean, top?: number, skip?: number, expandIdentity?: boolean): Promise<CoreInterfaces.WebApiTeam[]>;
createTeam(team: CoreInterfaces.WebApiTeam, projectId: string): Promise<CoreInterfaces.WebApiTeam>;
deleteTeam(projectId: string, teamId: string): Promise<void>;
getTeam(projectId: string, teamId: string): Promise<CoreInterfaces.WebApiTeam>;
getTeams(projectId: string, mine?: boolean, top?: number, skip?: number): Promise<CoreInterfaces.WebApiTeam[]>;
getTeam(projectId: string, teamId: string, expandIdentity?: boolean): Promise<CoreInterfaces.WebApiTeam>;
getTeams(projectId: string, mine?: boolean, top?: number, skip?: number, expandIdentity?: boolean): Promise<CoreInterfaces.WebApiTeam[]>;
updateTeam(teamData: CoreInterfaces.WebApiTeam, projectId: string, teamId: string): Promise<CoreInterfaces.WebApiTeam>;
}
@ -57,6 +59,90 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
public static readonly RESOURCE_AREA_ID = "79134c72-4a58-4b42-976c-04e7115f32bf";
/**
* Removes the avatar for the project.
*
* @param {string} projectId - The ID or name of the project.
*/
public async removeProjectAvatar(
projectId: string
): Promise<void> {
return new Promise<void>(async (resolve, reject) => {
let routeValues: any = {
projectId: projectId
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.1-preview.1",
"core",
"54b2a2a0-859b-4d05-827c-ec4c862f641a",
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);
}
});
}
/**
* Sets the avatar for the project.
*
* @param {CoreInterfaces.ProjectAvatar} avatarBlob - The avatar blob data object to upload.
* @param {string} projectId - The ID or name of the project.
*/
public async setProjectAvatar(
avatarBlob: CoreInterfaces.ProjectAvatar,
projectId: string
): Promise<void> {
return new Promise<void>(async (resolve, reject) => {
let routeValues: any = {
projectId: projectId
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.1-preview.1",
"core",
"54b2a2a0-859b-4d05-827c-ec4c862f641a",
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.replace<void>(url, avatarBlob, options);
let ret = this.formatResponse(res.result,
null,
false);
resolve(ret);
}
catch (err) {
reject(err);
}
});
}
/**
* @param {CoreInterfaces.WebApiConnectedServiceDetails} connectedServiceCreationData
* @param {string} projectId
@ -73,12 +159,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"b4f70219-e18b-42c5-abe3-98b07d35525e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -115,12 +201,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"b4f70219-e18b-42c5-abe3-98b07d35525e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -160,13 +246,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"b4f70219-e18b-42c5-abe3-98b07d35525e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -202,12 +288,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"5ead0b70-2572-4697-97e9-f341069a783a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -243,12 +329,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"5ead0b70-2572-4697-97e9-f341069a783a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -282,12 +368,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"5ead0b70-2572-4697-97e9-f341069a783a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -323,12 +409,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"5ead0b70-2572-4697-97e9-f341069a783a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -376,13 +462,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"core",
"294c494c-2600-4d7e-b76c-3dd50c3c95be",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -418,12 +504,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"93878975-88c5-4e6a-8abb-7ddd77a8a7d8",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -456,12 +542,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"93878975-88c5-4e6a-8abb-7ddd77a8a7d8",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -497,12 +583,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"core",
"8031090f-ef1d-4af6-85fc-698cd75d42bf",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -510,7 +596,7 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
res = await this.rest.get<CoreInterfaces.TeamProjectCollection>(url, options);
let ret = this.formatResponse(res.result,
null,
CoreInterfaces.TypeInfo.TeamProjectCollection,
false);
resolve(ret);
@ -544,13 +630,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"core",
"8031090f-ef1d-4af6-85fc-698cd75d42bf",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -571,7 +657,9 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
}
/**
* @param {number} minRevision
* Gets the history of changes to the project.
*
* @param {number} minRevision - The minimum revision number to return in the history.
*/
public async getProjectHistoryEntries(
minRevision?: number
@ -587,13 +675,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"core",
"6488a877-4749-4954-82ea-7340d36be9f2",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -638,13 +726,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.4",
"core",
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -671,12 +759,14 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
* @param {number} top
* @param {number} skip
* @param {string} continuationToken
* @param {boolean} getDefaultTeamImageUrl
*/
public async getProjects(
stateFilter?: any,
top?: number,
skip?: number,
continuationToken?: string
continuationToken?: string,
getDefaultTeamImageUrl?: boolean
): Promise<CoreInterfaces.TeamProjectReference[]> {
return new Promise<CoreInterfaces.TeamProjectReference[]>(async (resolve, reject) => {
@ -688,17 +778,18 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
'$top': top,
'$skip': skip,
continuationToken: continuationToken,
getDefaultTeamImageUrl: getDefaultTeamImageUrl,
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.4",
"core",
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -733,12 +824,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.4",
"core",
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -774,12 +865,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.4",
"core",
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -800,9 +891,9 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
}
/**
* Update an existing project's name, abbreviation, or description.
* Update an existing project's name, abbreviation, description, or restore a project.
*
* @param {CoreInterfaces.TeamProject} projectUpdate - The updates for the project.
* @param {CoreInterfaces.TeamProject} projectUpdate - The updates for the project. The state must be set to wellFormed to restore the project.
* @param {string} projectId - The project id of the project to update.
*/
public async updateProject(
@ -817,12 +908,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.4",
"core",
"603fe2ac-9723-48b9-88ad-09305aa6c6e1",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -864,13 +955,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"4976a71a-4487-49aa-8aab-a1eda469037a",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -912,12 +1003,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"core",
"4976a71a-4487-49aa-8aab-a1eda469037a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
options.additionalHeaders = customHeaders;
@ -951,12 +1042,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"core",
"ec1f4311-f2b4-4c15-b2b8-8990b80d2908",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -999,13 +1090,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"core",
"ec1f4311-f2b4-4c15-b2b8-8990b80d2908",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1042,13 +1133,13 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"core",
"ec1f4311-f2b4-4c15-b2b8-8990b80d2908",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1071,14 +1162,16 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
/**
* Get a list of all teams.
*
* @param {boolean} mine - If true return all the teams requesting user is member, otherwise return all the teams user has read access
* @param {boolean} mine - If true, then return all teams requesting user is member. Otherwise return all teams user has read access.
* @param {number} top - Maximum number of teams to return.
* @param {number} skip - Number of teams to skip.
* @param {boolean} expandIdentity - A value indicating whether or not to expand Identity information in the result WebApiTeam object.
*/
public async getAllTeams(
mine?: boolean,
top?: number,
skip?: number
skip?: number,
expandIdentity?: boolean
): Promise<CoreInterfaces.WebApiTeam[]> {
return new Promise<CoreInterfaces.WebApiTeam[]>(async (resolve, reject) => {
@ -1089,17 +1182,18 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
'$mine': mine,
'$top': top,
'$skip': skip,
'$expandIdentity': expandIdentity,
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.3",
"core",
"7a4d9ee9-3433-4347-b47a-7a80f1cf307e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1137,12 +1231,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.3",
"core",
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1181,12 +1275,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.3",
"core",
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1211,10 +1305,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
*
* @param {string} projectId - The name or ID (GUID) of the team project containing the team.
* @param {string} teamId - The name or ID (GUID) of the team.
* @param {boolean} expandIdentity - A value indicating whether or not to expand Identity information in the result WebApiTeam object.
*/
public async getTeam(
projectId: string,
teamId: string
teamId: string,
expandIdentity?: boolean
): Promise<CoreInterfaces.WebApiTeam> {
return new Promise<CoreInterfaces.WebApiTeam>(async (resolve, reject) => {
@ -1223,14 +1319,19 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
teamId: teamId
};
let queryValues: any = {
'$expandIdentity': expandIdentity,
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.3",
"core",
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
routeValues);
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1254,15 +1355,17 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
* Get a list of teams.
*
* @param {string} projectId
* @param {boolean} mine - If true return all the teams requesting user is member, otherwise return all the teams user has read access
* @param {boolean} mine - If true return all the teams requesting user is member, otherwise return all the teams user has read access.
* @param {number} top - Maximum number of teams to return.
* @param {number} skip - Number of teams to skip.
* @param {boolean} expandIdentity - A value indicating whether or not to expand Identity information in the result WebApiTeam object.
*/
public async getTeams(
projectId: string,
mine?: boolean,
top?: number,
skip?: number
skip?: number,
expandIdentity?: boolean
): Promise<CoreInterfaces.WebApiTeam[]> {
return new Promise<CoreInterfaces.WebApiTeam[]>(async (resolve, reject) => {
@ -1274,17 +1377,18 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
'$mine': mine,
'$top': top,
'$skip': skip,
'$expandIdentity': expandIdentity,
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.3",
"core",
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1325,12 +1429,12 @@ export class CoreApi extends basem.ClientApiBase implements ICoreApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.3",
"core",
"d30a3dd1-f8ba-442a-b86a-bd0c0c383e59",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -66,12 +66,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"454b3e51-2e6e-48d4-ad81-978154089351",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -118,12 +118,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"454b3e51-2e6e-48d4-ad81-978154089351",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -170,12 +170,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"454b3e51-2e6e-48d4-ad81-978154089351",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -219,12 +219,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"454b3e51-2e6e-48d4-ad81-978154089351",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -273,12 +273,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"454b3e51-2e6e-48d4-ad81-978154089351",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -324,12 +324,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"454b3e51-2e6e-48d4-ad81-978154089351",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -378,12 +378,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"bdcff53a-8355-4172-a00a-40497ea23afc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -433,12 +433,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"bdcff53a-8355-4172-a00a-40497ea23afc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -488,12 +488,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"bdcff53a-8355-4172-a00a-40497ea23afc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -545,12 +545,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"bdcff53a-8355-4172-a00a-40497ea23afc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -602,12 +602,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"Dashboard",
"bdcff53a-8355-4172-a00a-40497ea23afc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -646,12 +646,12 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Dashboard",
"6b3628d3-e96f-4fc7-b176-50240b03b515",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -696,13 +696,13 @@ export class DashboardApi extends basem.ClientApiBase implements IDashboardApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Dashboard",
"6b3628d3-e96f-4fc7-b176-50240b03b515",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -20,6 +20,7 @@ import GalleryInterfaces = require("./interfaces/GalleryInterfaces");
export interface IExtensionManagementApi extends basem.ClientApiBase {
getAcquisitionOptions(itemId: string, testCommerce?: boolean, isFreeOrTrialInstall?: boolean, isAccountOwner?: boolean, isLinked?: boolean, isConnectedServer?: boolean, isBuyOperationValid?: boolean): Promise<ExtensionManagementInterfaces.AcquisitionOptions>;
requestAcquisition(acquisitionRequest: ExtensionManagementInterfaces.ExtensionAcquisitionRequest): Promise<ExtensionManagementInterfaces.ExtensionAcquisitionRequest>;
getAuditLog(publisherName: string, extensionName: string): Promise<ExtensionManagementInterfaces.ExtensionAuditLog>;
registerAuthorization(publisherName: string, extensionName: string, registrationId: string): Promise<ExtensionManagementInterfaces.ExtensionAuthorization>;
createDocumentByName(doc: any, publisherName: string, extensionName: string, scopeType: string, scopeValue: string, collectionName: string): Promise<any>;
deleteDocumentByName(publisherName: string, extensionName: string, scopeType: string, scopeValue: string, collectionName: string, documentId: string): Promise<void>;
@ -89,13 +90,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"288dff58-d13b-468e-9671-0fb754e9398c",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -128,12 +129,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"da616457-eed3-4672-92d7-18d21f5c1658",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -153,6 +154,48 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
});
}
/**
* @param {string} publisherName
* @param {string} extensionName
*/
public async getAuditLog(
publisherName: string,
extensionName: string
): Promise<ExtensionManagementInterfaces.ExtensionAuditLog> {
return new Promise<ExtensionManagementInterfaces.ExtensionAuditLog>(async (resolve, reject) => {
let routeValues: any = {
publisherName: publisherName,
extensionName: extensionName
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.1-preview.1",
"ExtensionManagement",
"23a312e0-562d-42fb-a505-5a046b5635db",
routeValues);
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
let res: restm.IRestResponse<ExtensionManagementInterfaces.ExtensionAuditLog>;
res = await this.rest.get<ExtensionManagementInterfaces.ExtensionAuditLog>(url, options);
let ret = this.formatResponse(res.result,
ExtensionManagementInterfaces.TypeInfo.ExtensionAuditLog,
false);
resolve(ret);
}
catch (err) {
reject(err);
}
});
}
/**
* @param {string} publisherName
* @param {string} extensionName
@ -173,12 +216,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"f21cfc80-d2d2-4248-98bb-7820c74c4606",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -226,12 +269,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -280,12 +323,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -334,12 +377,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -385,12 +428,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -438,12 +481,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -491,12 +534,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"bbe06c18-1c8b-4fcd-b9c6-1535aaab8749",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -537,12 +580,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"56c331f1-ce53-4318-adfd-4db5c52a7a2e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -587,13 +630,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"92755d3d-9a8a-42b3-8a4d-87359fe5aa93",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -626,12 +669,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"046c980f-1345-4ce2-bf85-b46d10ff4cfd",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -679,13 +722,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"275424d0-c844-4fe2-bda6-04933a1357d8",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -720,12 +763,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"275424d0-c844-4fe2-bda6-04933a1357d8",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -770,13 +813,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"fb0da285-f23e-4b56-8b53-3ef5f9f6de66",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -818,12 +861,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"fb0da285-f23e-4b56-8b53-3ef5f9f6de66",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -871,13 +914,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"fb0da285-f23e-4b56-8b53-3ef5f9f6de66",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -911,12 +954,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"e5cc8c09-407b-4867-8319-2ae3338cbf6f",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -967,13 +1010,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"aa93e1f3-511c-4364-8b9c-eb98818f2e0b",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1004,12 +1047,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"216b978f-b164-424e-ada2-b77561e842b7",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1057,13 +1100,13 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"ba93e1f3-511c-4364-8b9c-eb98818f2e0b",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1100,12 +1143,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"f5afca1e-a728-4294-aa2d-4af0173431b5",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1144,12 +1187,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"f5afca1e-a728-4294-aa2d-4af0173431b5",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1180,12 +1223,12 @@ export class ExtensionManagementApi extends basem.ClientApiBase implements IExte
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"ExtensionManagement",
"3a2e24ed-1d6f-4cb2-9f3b-45a96bbfaf50",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -49,12 +49,12 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"c4209f25-7a27-41dd-9f04-06080c7b6afd",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -93,13 +93,13 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"c4209f25-7a27-41dd-9f04-06080c7b6afd",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -138,12 +138,12 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"98911314-3f9b-4eaf-80e8-83900d8e85d9",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -193,13 +193,13 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"98911314-3f9b-4eaf-80e8-83900d8e85d9",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -244,12 +244,12 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"dd291e43-aa9f-4cee-8465-a93c78e414a4",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -305,13 +305,13 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"dd291e43-aa9f-4cee-8465-a93c78e414a4",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -346,12 +346,12 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"2b4486ad-122b-400c-ae65-17b6672c1f9d",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -389,12 +389,12 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"3f810f28-03e2-4239-b0bc-788add3005e5",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -438,12 +438,12 @@ export class FeatureManagementApi extends basem.ClientApiBase implements IFeatur
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"FeatureManagement",
"f29e997b-c2da-4d15-8380-765788a1a74c",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -53,13 +53,13 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.4",
"5.1-preview.4",
"Container",
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -107,13 +107,13 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.4",
"5.1-preview.4",
"Container",
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -155,13 +155,13 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.4",
"5.1-preview.4",
"Container",
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -219,13 +219,13 @@ export class FileContainerApiBase extends basem.ClientApiBase implements IFileCo
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.4",
"5.1-preview.4",
"Container",
"e4f5c81e-e250-447b-9fef-bd48471bea5e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

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

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

@ -59,13 +59,13 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"00d9565f-ed9c-4a06-9a50-00e7896ccab4",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -108,13 +108,13 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"e81700f7-3be2-46de-8624-2eb35882fcaa",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -157,13 +157,13 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"e81700f7-3be2-46de-8624-2eb35882fcaa",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -203,13 +203,13 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"e81700f7-3be2-46de-8624-2eb35882fcaa",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -249,13 +249,13 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"e81700f7-3be2-46de-8624-2eb35882fcaa",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -292,12 +292,12 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -345,13 +345,13 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -385,12 +385,12 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -423,12 +423,12 @@ export class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"Location",
"d810a47d-f4f4-4a62-a03f-fa1860585c4c",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -61,12 +61,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"8f3c6ab2-5bae-4537-b16e-f84e0955599e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -114,13 +114,13 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"991842f3-eb16-4aea-ac81-81353ef2b75c",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -154,12 +154,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"20f1929d-4be7-4c2e-a74e-d47640ff3418",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -195,12 +195,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"20f1929d-4be7-4c2e-a74e-d47640ff3418",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -221,7 +221,7 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
}
/**
* Publish an event.
* Publish an event. This request must be directed to the service "extmgmt".
*
* @param {VSSInterfaces.VssNotificationEvent} notificationEvent
*/
@ -235,12 +235,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"14c57b7a-c0e6-4555-9f51-e067188fdd8e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -275,12 +275,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"9463a800-1b44-450e-9083-f948ea174b45",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -316,12 +316,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"b5bbdd21-c178-4398-b6db-0166d910028a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -357,12 +357,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -401,13 +401,13 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"cc84fb5f-6247-4c7a-aeae-e5a3c3fddb21",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -441,12 +441,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"19824fa9-1c76-40e6-9cce-cf0b9ca1cb60",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -483,13 +483,13 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"19824fa9-1c76-40e6-9cce-cf0b9ca1cb60",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -520,12 +520,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"cbe076d8-2803-45ff-8d8d-44653686ea2a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -558,12 +558,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"cbe076d8-2803-45ff-8d8d-44653686ea2a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -597,12 +597,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"4d5caff1-25ba-430b-b808-7a1f352cc197",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -638,12 +638,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"4d5caff1-25ba-430b-b808-7a1f352cc197",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -678,12 +678,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"6864db85-08c0-4006-8e8e-cc1bebe31675",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -718,12 +718,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"70f911d6-abac-488c-85b3-a206bf57e165",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -759,12 +759,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"70f911d6-abac-488c-85b3-a206bf57e165",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -806,13 +806,13 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"70f911d6-abac-488c-85b3-a206bf57e165",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -855,13 +855,13 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"70f911d6-abac-488c-85b3-a206bf57e165",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -899,12 +899,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"70f911d6-abac-488c-85b3-a206bf57e165",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -937,12 +937,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"fa5d24ba-7484-4f3d-888d-4ec6b1974082",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -983,12 +983,12 @@ export class NotificationApi extends basem.ClientApiBase implements INotificatio
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"notification",
"ed5a3dff-aeb5-41b1-b4f7-89e66e58b62e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -59,12 +59,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"dad91cbe-d183-45f8-9c6e-9c1164472121",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -103,12 +103,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"dad91cbe-d183-45f8-9c6e-9c1164472121",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -147,12 +147,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"dad91cbe-d183-45f8-9c6e-9c1164472121",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -176,7 +176,7 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
* Get a list of policy configurations in a project.
*
* @param {string} project - Project ID or project name
* @param {string} scope - The scope on which a subset of policies is defined.
* @param {string} scope - [Provided for legacy reasons] The scope on which a subset of policies is defined.
* @param {string} policyType - Filter returned policies to only this type
*/
public async getPolicyConfigurations(
@ -197,13 +197,13 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"dad91cbe-d183-45f8-9c6e-9c1164472121",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -244,12 +244,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"dad91cbe-d183-45f8-9c6e-9c1164472121",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -288,12 +288,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"46aecb7a-5d2c-4647-897b-0209505a9fe4",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -332,12 +332,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"46aecb7a-5d2c-4647-897b-0209505a9fe4",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -391,13 +391,13 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"c23ddff5-229c-4d04-a80b-0fdce9f360c8",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -439,12 +439,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"fe1e68a2-60d3-43cb-855b-85e41ae97c95",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -492,13 +492,13 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"fe1e68a2-60d3-43cb-855b-85e41ae97c95",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -537,12 +537,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"44096322-2d3d-466a-bb30-d1b7de69f61f",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -578,12 +578,12 @@ export class PolicyApi extends basem.ClientApiBase implements IPolicyApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"policy",
"44096322-2d3d-466a-bb30-d1b7de69f61f",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -44,12 +44,12 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"projectanalysis",
"5b02a779-1867-433f-90b7-d23ed5e33e57",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -98,13 +98,13 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"projectanalysis",
"e40ae584-9ea6-4f06-a7c7-6284651b466b",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -167,13 +167,13 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"projectanalysis",
"df7fbbca-630a-40e3-8aa3-7a3faf66947e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -225,13 +225,13 @@ export class ProjectAnalysisApi extends basem.ClientApiBase implements IProjectA
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"projectanalysis",
"df7fbbca-630a-40e3-8aa3-7a3faf66947e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

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

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

@ -68,12 +68,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"eb55e5d6-2f30-4295-b5ed-38da50b1fc52",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -131,12 +131,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"7898f959-9cdf-4096-b29e-7f293031629e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -189,12 +189,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"7898f959-9cdf-4096-b29e-7f293031629e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -246,12 +246,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"7898f959-9cdf-4096-b29e-7f293031629e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
@ -292,12 +292,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"7898f959-9cdf-4096-b29e-7f293031629e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -345,12 +345,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"858983e4-19bd-4c5e-864c-507b59b58b12",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -399,12 +399,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -447,12 +447,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -504,13 +504,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -550,12 +550,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"46f5667d-263a-4684-91b1-dff7fdcf64e2",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -592,12 +592,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"038fd4d5-cda7-44ca-92c0-935843fee1a7",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -643,13 +643,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"0dd73091-3e36-4f43-b443-1b76dd426d84",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -689,12 +689,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"65fd0708-bc1e-447b-a731-0587c5464e5b",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -734,12 +734,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"5cecd946-d704-471e-a45f-3b4064fcfaba",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -788,13 +788,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"8893bc5b-35b2-4be7-83cb-99e683551db4",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -839,12 +839,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"8893bc5b-35b2-4be7-83cb-99e683551db4",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -886,12 +886,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"83597576-cc2c-453c-bea6-2882ae6a1653",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -934,12 +934,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"83597576-cc2c-453c-bea6-2882ae6a1653",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -991,13 +991,13 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"83597576-cc2c-453c-bea6-2882ae6a1653",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1037,12 +1037,12 @@ export class TaskApi extends basem.ClientApiBase implements ITaskApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"distributedtask",
"83597576-cc2c-453c-bea6-2882ae6a1653",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

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

@ -81,13 +81,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"bc1f417e-239d-42e7-85e1-76e80cb2d6eb",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -138,13 +138,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"bc1f417e-239d-42e7-85e1-76e80cb2d6eb",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -195,13 +195,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"bc1f417e-239d-42e7-85e1-76e80cb2d6eb",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -246,13 +246,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"f32b86f2-15b9-4fe6-81b1-6f8938617ee5",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -290,12 +290,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.3",
"tfvc",
"0bc8f0a4-6bfb-42a9-ba84-139da7b99c49",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -364,13 +364,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.3",
"tfvc",
"0bc8f0a4-6bfb-42a9-ba84-139da7b99c49",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -424,13 +424,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.3",
"5.1-preview.3",
"tfvc",
"0bc8f0a4-6bfb-42a9-ba84-139da7b99c49",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -465,12 +465,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"b7e7c173-803c-4fea-9ec8-31ee35c5502a",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -506,12 +506,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"64ae0bea-1d71-47c9-a9e5-fe73f5ea0ff4",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -549,12 +549,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"fe6f827b-5f64-480f-b8af-1eca3b80e833",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -592,12 +592,12 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"fe6f827b-5f64-480f-b8af-1eca3b80e833",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
@ -652,13 +652,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -721,13 +721,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("application/octet-stream", apiVersion);
@ -770,13 +770,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -839,13 +839,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
@ -900,13 +900,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"ba9fc436-9a38-4578-89d6-e4f3241f5040",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
@ -943,13 +943,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"06166e34-de17-4b60-8cd1-23182a346fda",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -997,13 +997,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"a5d9bd7f-b661-4d0e-b9be-d9c16affae54",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1054,13 +1054,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"a5d9bd7f-b661-4d0e-b9be-d9c16affae54",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1108,13 +1108,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"dbaf075b-0445-4c34-9e5b-82292f856522",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1159,13 +1159,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"e36d44fb-e907-4b0a-b194-f83f1ed32ad3",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1210,13 +1210,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"e36d44fb-e907-4b0a-b194-f83f1ed32ad3",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1258,13 +1258,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"a7a0c1c1-373e-425a-b031-a519474d743d",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1306,13 +1306,13 @@ export class TfvcApi extends basem.ClientApiBase implements ITfvcApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"tfvc",
"e15c74c0-3605-40e0-aed4-4cc61e549ed8",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -20,6 +20,8 @@ import WikiInterfaces = require("./interfaces/WikiInterfaces");
export interface IWikiApi extends basem.ClientApiBase {
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>;
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>;
@ -69,13 +71,13 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"wiki",
"25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
@ -121,13 +123,111 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"wiki",
"25d3fbc7-fe3d-46cb-b5a5-0b6f79caf27b",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
resolve((await this.http.get(url, { "Accept": accept })).message);
}
catch (err) {
reject(err);
}
});
}
/**
* 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 {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)
*/
public async getPageByIdText(
project: string,
wikiIdentifier: string,
id: number,
recursionLevel?: GitInterfaces.VersionControlRecursionType,
includeContent?: boolean
): Promise<NodeJS.ReadableStream> {
return new Promise<NodeJS.ReadableStream>(async (resolve, reject) => {
let routeValues: any = {
project: project,
wikiIdentifier: wikiIdentifier,
id: id
};
let queryValues: any = {
recursionLevel: recursionLevel,
includeContent: includeContent,
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.1-preview.1",
"wiki",
"ceddcf75-1068-452d-8b13-2d4d76e1f970",
routeValues,
queryValues);
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("text/plain", apiVersion);
resolve((await this.http.get(url, { "Accept": accept })).message);
}
catch (err) {
reject(err);
}
});
}
/**
* 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 {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)
*/
public async getPageByIdZip(
project: string,
wikiIdentifier: string,
id: number,
recursionLevel?: GitInterfaces.VersionControlRecursionType,
includeContent?: boolean
): Promise<NodeJS.ReadableStream> {
return new Promise<NodeJS.ReadableStream>(async (resolve, reject) => {
let routeValues: any = {
project: project,
wikiIdentifier: wikiIdentifier,
id: id
};
let queryValues: any = {
recursionLevel: recursionLevel,
includeContent: includeContent,
};
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.1-preview.1",
"wiki",
"ceddcf75-1068-452d-8b13-2d4d76e1f970",
routeValues,
queryValues);
let url: string = verData.requestUrl!;
let apiVersion: string = verData.apiVersion;
let accept: string = this.createAcceptHeader("application/zip", apiVersion);
@ -176,13 +276,13 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"wiki",
"1087b746-5d15-41b9-bea6-14e325e7f880",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -220,12 +320,12 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"wiki",
"288d122c-dbd4-451d-aa5f-7dbbba070728",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -264,12 +364,12 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"wiki",
"288d122c-dbd4-451d-aa5f-7dbbba070728",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -305,12 +405,12 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"wiki",
"288d122c-dbd4-451d-aa5f-7dbbba070728",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -349,12 +449,12 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"wiki",
"288d122c-dbd4-451d-aa5f-7dbbba070728",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -395,12 +495,12 @@ export class WikiApi extends basem.ClientApiBase implements IWikiApi {
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"wiki",
"288d122c-dbd4-451d-aa5f-7dbbba070728",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

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

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

@ -78,6 +78,8 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
super(baseUrl, handlers, 'node-WorkItemTracking-api', options);
}
public static readonly RESOURCE_AREA_ID = "5264459e-e5e0-4bd8-b118-0985e68a4ec5";
/**
* Creates a single behavior in the given process.
*
@ -96,12 +98,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -140,12 +142,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -190,13 +192,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -238,13 +240,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -285,12 +287,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"d1800200-f184-4e75-a5f2-ad0b04b4373e",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -334,12 +336,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -392,13 +394,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -443,12 +445,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -495,12 +497,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"1f59b363-a2d0-4b7e-9bc6-eb9f5f3f0e58",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -541,12 +543,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -585,12 +587,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -632,12 +634,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -679,12 +681,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -728,12 +730,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"bc0ad8dc-e3f3-46b0-b06c-5bf861793196",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -780,12 +782,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -850,13 +852,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -915,13 +917,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -969,12 +971,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1024,12 +1026,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"766e44e1-36a8-41d7-9050-c343ff02f7a5",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1068,12 +1070,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"fa8646eb-43cd-4b71-9564-40106fd63e40",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1108,12 +1110,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"01e15468-e27c-4e20-a974-bd957dcccebc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1149,12 +1151,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"01e15468-e27c-4e20-a974-bd957dcccebc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1190,12 +1192,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"01e15468-e27c-4e20-a974-bd957dcccebc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1228,12 +1230,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"01e15468-e27c-4e20-a974-bd957dcccebc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1271,12 +1273,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"01e15468-e27c-4e20-a974-bd957dcccebc",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1317,12 +1319,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"1cc7b29f-6697-4d9d-b0a1-2650d3e1d584",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1364,12 +1366,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"1cc7b29f-6697-4d9d-b0a1-2650d3e1d584",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1410,12 +1412,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"1cc7b29f-6697-4d9d-b0a1-2650d3e1d584",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1450,12 +1452,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1491,12 +1493,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1534,12 +1536,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1578,13 +1580,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1626,13 +1628,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"02cc6a73-5cfb-427d-8c8e-b49fb086e8af",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1673,12 +1675,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1720,12 +1722,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1767,12 +1769,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1811,12 +1813,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1860,12 +1862,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"76fe3432-d825-479d-a5f6-983bbb78b4f3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1906,12 +1908,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1953,12 +1955,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2000,12 +2002,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2044,12 +2046,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2093,12 +2095,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2142,12 +2144,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"31015d57-2dff-4a46-adb3-2fb4ee3dcec9",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2185,12 +2187,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2229,12 +2231,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2279,13 +2281,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2327,13 +2329,13 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2374,12 +2376,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.2",
"5.1-preview.2",
"processes",
"e2e9d1a6-432d-4062-8870-bfcb8c324ad7",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2420,12 +2422,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"6d765a2e-4e1b-4b11-be93-f953be676024",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2467,12 +2469,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"6d765a2e-4e1b-4b11-be93-f953be676024",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2511,12 +2513,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"6d765a2e-4e1b-4b11-be93-f953be676024",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2558,12 +2560,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"6d765a2e-4e1b-4b11-be93-f953be676024",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2604,12 +2606,12 @@ export class WorkItemTrackingProcessApi extends basem.ClientApiBase implements I
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processes",
"6d765a2e-4e1b-4b11-be93-f953be676024",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -89,12 +89,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -133,12 +133,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -177,12 +177,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -218,12 +218,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -264,12 +264,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"47a651f4-fb70-43bf-b96b-7c0ba947142b",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -313,12 +313,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -365,12 +365,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -415,12 +415,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -473,13 +473,13 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"e2e3166a-627a-4e9b-85b2-d6a097bbd731",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -517,12 +517,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"f36c66c7-911d-4163-8938-d3c5d0d7f5aa",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -560,12 +560,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"f36c66c7-911d-4163-8938-d3c5d0d7f5aa",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -612,12 +612,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"2617828b-e850-4375-a92a-04855704d4c3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -667,12 +667,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"2617828b-e850-4375-a92a-04855704d4c3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -720,12 +720,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"2617828b-e850-4375-a92a-04855704d4c3",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -790,13 +790,13 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"2617828b-e850-4375-a92a-04855704d4c3",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -855,13 +855,13 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"2617828b-e850-4375-a92a-04855704d4c3",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -900,12 +900,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"3eacc80a-ddca-4404-857a-6331aac99063",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -938,12 +938,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"b45cc931-98e3-44a1-b1cd-2e8e9c6dc1c6",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -978,12 +978,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1019,12 +1019,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1060,12 +1060,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1103,12 +1103,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"0b6179e2-23ce-46b2-b094-2ffa5ee70286",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1149,12 +1149,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1b4ac126-59b2-4f37-b4df-0a48ba807edb",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1195,12 +1195,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1b4ac126-59b2-4f37-b4df-0a48ba807edb",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1242,12 +1242,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1b4ac126-59b2-4f37-b4df-0a48ba807edb",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1288,12 +1288,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"4303625d-08f4-4461-b14b-32c65bba5599",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1335,12 +1335,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"4303625d-08f4-4461-b14b-32c65bba5599",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1382,12 +1382,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"4303625d-08f4-4461-b14b-32c65bba5599",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1426,12 +1426,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"4303625d-08f4-4461-b14b-32c65bba5599",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1475,12 +1475,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"4303625d-08f4-4461-b14b-32c65bba5599",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1524,12 +1524,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"4303625d-08f4-4461-b14b-32c65bba5599",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1570,12 +1570,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1617,12 +1617,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1661,12 +1661,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1708,12 +1708,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1754,12 +1754,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"921dfb88-ef57-4c69-94e5-dd7da2d7031d",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1797,12 +1797,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1841,12 +1841,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1891,13 +1891,13 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1939,13 +1939,13 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
routeValues,
queryValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -1986,12 +1986,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"1ce0acad-4638-49c3-969c-04aa65ba6bea",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2032,12 +2032,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"976713b4-a62e-499e-94dc-eeb869ea9126",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2079,12 +2079,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"976713b4-a62e-499e-94dc-eeb869ea9126",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2123,12 +2123,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"976713b4-a62e-499e-94dc-eeb869ea9126",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);
@ -2170,12 +2170,12 @@ export class WorkItemTrackingProcessDefinitionsApi extends basem.ClientApiBase i
try {
let verData: vsom.ClientVersioningData = await this.vsoClient.getVersioningData(
"5.0-preview.1",
"5.1-preview.1",
"processDefinitions",
"976713b4-a62e-499e-94dc-eeb869ea9126",
routeValues);
let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
let options: restm.IRequestOptions = this.createRequestOptions('application/json',
verData.apiVersion);

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

@ -11,8 +11,8 @@
"use strict";
import DistributedTaskCommonInterfaces = require("../interfaces/DistributedTaskCommonInterfaces");
import TFS_SourceControl_Contracts = require("./TfvcInterfaces");
import TFS_TestManagement_Contracts = require("./TestInterfaces");
import TFS_SourceControl_Contracts = require("../interfaces/TfvcInterfaces");
import TFS_TestManagement_Contracts = require("../interfaces/TestInterfaces");
import TfsCoreInterfaces = require("../interfaces/CoreInterfaces");
import VSSInterfaces = require("../interfaces/common/VSSInterfaces");
@ -54,6 +54,10 @@ export interface AgentPoolQueueReference extends ResourceReference {
* Describes how a phase should run against an agent queue.
*/
export interface AgentPoolQueueTarget extends PhaseTarget {
/**
* Agent specification of the target.
*/
agentSpecification?: AgentSpecification;
/**
* Enables scripts and other processes launched while executing phase to access the OAuth token
*/
@ -69,6 +73,16 @@ export interface AgentPoolQueueTarget extends PhaseTarget {
queue?: AgentPoolQueue;
}
/**
* Specification of the agent defined by the pool provider.
*/
export interface AgentSpecification {
/**
* Agent specification unique identifier.
*/
identifier?: string;
}
export enum AgentStatus {
/**
* Indicates that the build agent cannot be contacted.
@ -100,10 +114,6 @@ export interface ArtifactResource {
* Type-specific data about the artifact.
*/
data?: string;
/**
* A secret that can be sent in a request header to retrieve an artifact anonymously. Valid for a limited amount of time. Optional.
*/
downloadTicket?: string;
/**
* A link to download the resource.
*/
@ -144,6 +154,10 @@ export enum AuditAction {
*/
export interface Build {
_links?: any;
/**
* The agent specification for the build.
*/
agentSpecification?: AgentSpecification;
/**
* The build number/name of the build.
*/
@ -1057,6 +1071,9 @@ export enum BuildQueryOrder {
StartTimeAscending = 7,
}
export interface BuildQueuedEvent extends BuildUpdatedEvent {
}
export enum BuildReason {
/**
* No reason. This value should not be used.
@ -1078,6 +1095,10 @@ export enum BuildReason {
* The build was started for the trigger TriggerType.Schedule.
*/
Schedule = 8,
/**
* The build was started for the trigger TriggerType.ScheduleForced.
*/
ScheduleForced = 16,
/**
* The build was created by a user.
*/
@ -1545,7 +1566,7 @@ export enum DefinitionQueueStatus {
*/
export interface DefinitionReference {
/**
* The date the definition was created.
* The date this version of the definition was created.
*/
createdDate?: Date;
/**
@ -1741,9 +1762,30 @@ export interface DeploymentTest extends Deployment {
*/
export interface DesignerProcess extends BuildProcess {
phases?: Phase[];
/**
* The target for the build process.
*/
target?: DesignerProcessTarget;
}
/**
* Represents the target for the build process.
*/
export interface DesignerProcessTarget {
/**
* Agent specification for the build process.
*/
agentSpecification?: AgentSpecification;
}
export interface DockerProcess extends BuildProcess {
target?: DockerProcessTarget;
}
/**
* Represents the target for the docker build process.
*/
export interface DockerProcessTarget extends DesignerProcessTarget {
}
/**
@ -2044,10 +2086,16 @@ export interface PullRequest {
* Represents a pull request trigger.
*/
export interface PullRequestTrigger extends BuildTrigger {
/**
* Indicates if an update to a PR should delete current in-progress builds.
*/
autoCancel?: boolean;
branchFilters?: string[];
forks?: Forks;
isCommentRequiredForPullRequest?: boolean;
pathFilters?: string[];
requireCommentsForNonTeamMembersOnly?: boolean;
settingsSourceType?: number;
}
export enum QueryDeletedOption {
@ -2619,11 +2667,30 @@ export interface Timeline extends TimelineReference {
records?: TimelineRecord[];
}
export interface TimelineAttempt {
/**
* Gets or sets the attempt of the record.
*/
attempt?: number;
/**
* Gets or sets the record identifier located within the specified timeline.
*/
recordId?: string;
/**
* Gets or sets the timeline identifier which owns the record representing this attempt.
*/
timelineId?: string;
}
/**
* Represents an entry in a build's timeline.
*/
export interface TimelineRecord {
_links?: any;
/**
* Attempt number of record.
*/
attempt?: number;
/**
* The change ID.
*/
@ -2648,6 +2715,10 @@ export interface TimelineRecord {
* The ID of the record.
*/
id?: string;
/**
* String identifier that is consistent across attempts.
*/
identifier?: string;
issues?: Issue[];
/**
* The time the record was last modified.
@ -2673,6 +2744,7 @@ export interface TimelineRecord {
* The current completion percentage.
*/
percentComplete?: number;
previousAttempts?: TimelineAttempt[];
/**
* The result.
*/
@ -3081,6 +3153,8 @@ export var TypeInfo = {
"startTimeAscending": 7
}
},
BuildQueuedEvent: <any>{
},
BuildReason: {
enumValues: {
"none": 0,
@ -3088,6 +3162,7 @@ export var TypeInfo = {
"individualCI": 2,
"batchedCI": 4,
"schedule": 8,
"scheduleForced": 16,
"userCreated": 32,
"validateShelveset": 64,
"checkInShelveset": 128,
@ -3343,7 +3418,7 @@ export var TypeInfo = {
},
ValidationResult: {
enumValues: {
"oK": 0,
"ok": 0,
"warning": 1,
"error": 2
}
@ -3688,6 +3763,12 @@ TypeInfo.BuildProcessTemplate.fields = {
}
};
TypeInfo.BuildQueuedEvent.fields = {
build: {
typeInfo: TypeInfo.Build
}
};
TypeInfo.BuildReference.fields = {
finishTime: {
isDate: true,

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

@ -45,6 +45,20 @@ export interface Process extends ProcessReference {
type?: ProcessType;
}
/**
* Type of process customization on a collection.
*/
export enum ProcessCustomizationType {
/**
* Customization based on project-scoped xml customization
*/
Xml = 0,
/**
* Customization based on process inheritance
*/
Inherited = 1,
}
export interface ProcessReference {
name?: string;
url?: string;
@ -56,6 +70,16 @@ export enum ProcessType {
Inherited = 2,
}
/**
* Contains the image data for project avatar.
*/
export interface ProjectAvatar {
/**
* The avatar image represented as a byte array.
*/
image?: number[];
}
export enum ProjectChangeType {
Modified = 0,
Deleted = 1,
@ -63,22 +87,52 @@ export enum ProjectChangeType {
}
/**
* Contains information of the project
* Contains information describing a project.
*/
export interface ProjectInfo {
/**
* The abbreviated name of the project.
*/
abbreviation?: string;
/**
* The description of the project.
*/
description?: string;
/**
* The id of the project.
*/
id?: string;
/**
* The time that this project was last updated.
*/
lastUpdateTime?: Date;
/**
* The name of the project.
*/
name?: string;
/**
* A set of name-value pairs storing additional property data related to the project.
*/
properties?: ProjectProperty[];
/**
* Current revision of the project
* The current revision of the project.
*/
revision?: number;
/**
* The current state of the project.
*/
state?: any;
/**
* A Uri that can be used to refer to this project.
*/
uri?: string;
/**
* The version number of the project.
*/
version?: number;
/**
* Indicates whom the project is visible to.
*/
visibility?: ProjectVisibility;
}
@ -88,15 +142,33 @@ export interface ProjectMessage {
shouldInvalidateSystemStore?: boolean;
}
/**
* A named value associated with a project.
*/
export interface ProjectProperty {
/**
* The name of the property.
*/
name?: string;
/**
* The value of the property.
*/
value?: any;
}
export enum ProjectVisibility {
Unchanged = -1,
/**
* The project is only visible to users with explicit access.
*/
Private = 0,
/**
* Enterprise level project visibility
*/
Organization = 1,
/**
* The project is visible to all.
*/
Public = 2,
SystemPrivate = 3,
}
@ -200,9 +272,9 @@ export interface TeamProjectCollection extends TeamProjectCollectionReference {
*/
description?: string;
/**
* True if collection supports inherited process customization model.
* Process customzation type on this collection. It can be Xml or Inherited.
*/
enableInheritedProcessCustomization?: boolean;
processCustomizationType?: ProcessCustomizationType;
/**
* Project collection state.
*/
@ -235,6 +307,10 @@ export interface TeamProjectReference {
* Project abbreviation.
*/
abbreviation?: string;
/**
* Url to default team identity image.
*/
defaultTeamImageUrl?: string;
/**
* The project's description (if any).
*/
@ -243,6 +319,10 @@ export interface TeamProjectReference {
* Project identifier.
*/
id?: string;
/**
* Project last update time.
*/
lastUpdateTime?: Date;
/**
* Project name.
*/
@ -283,6 +363,20 @@ export interface TemporaryDataDTO {
value?: any;
}
/**
* Updateable properties for a WebApiTeam.
*/
export interface UpdateTeam {
/**
* New description for the team.
*/
description?: string;
/**
* New name for the team.
*/
name?: string;
}
export interface WebApiConnectedService extends WebApiConnectedServiceRef {
/**
* The user who did the OAuth authentication to created this service
@ -416,6 +510,10 @@ export interface WebApiTeam extends WebApiTeamRef {
* Team description
*/
description?: string;
/**
* Team identity.
*/
identity?: IdentitiesInterfaces.Identity;
/**
* Identity REST API Url to this team
*/
@ -450,6 +548,12 @@ export var TypeInfo = {
},
Process: <any>{
},
ProcessCustomizationType: {
enumValues: {
"xml": 0,
"inherited": 1
}
},
ProcessType: {
enumValues: {
"system": 0,
@ -483,6 +587,8 @@ export var TypeInfo = {
},
TeamProject: <any>{
},
TeamProjectCollection: <any>{
},
TeamProjectReference: <any>{
},
TemporaryDataCreatedDTO: <any>{
@ -520,12 +626,24 @@ TypeInfo.ProjectMessage.fields = {
};
TypeInfo.TeamProject.fields = {
lastUpdateTime: {
isDate: true,
},
visibility: {
enumType: TypeInfo.ProjectVisibility
}
};
TypeInfo.TeamProjectCollection.fields = {
processCustomizationType: {
enumType: TypeInfo.ProcessCustomizationType
}
};
TypeInfo.TeamProjectReference.fields = {
lastUpdateTime: {
isDate: true,
},
visibility: {
enumType: TypeInfo.ProjectVisibility
}
@ -550,6 +668,9 @@ TypeInfo.WebApiConnectedServiceDetails.fields = {
};
TypeInfo.WebApiProject.fields = {
lastUpdateTime: {
isDate: true,
},
visibility: {
enumType: TypeInfo.ProjectVisibility
}

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

@ -1,8 +1,8 @@
/*
/*
* ---------------------------------------------------------
* Copyright(C) Microsoft Corporation. All rights reserved.
* ---------------------------------------------------------
*
*
* ---------------------------------------------------------
* Generated file, DO NOT EDIT
* ---------------------------------------------------------
@ -12,39 +12,105 @@
export interface AuthorizationHeader {
name?: string;
value?: string;
}
/**
* Represents binding of data source for the service endpoint request.
*/
export interface DataSourceBindingBase {
dataSourceName: string;
endpointId: string;
endpointUrl: string;
parameters: { [key: string] : string; };
resultSelector: string;
resultTemplate: string;
target: string;
/**
* Pagination format supported by this data source(ContinuationToken/SkipTop).
*/
callbackContextTemplate?: string;
/**
* Subsequent calls needed?
*/
callbackRequiredTemplate?: string;
/**
* Gets or sets the name of the data source.
*/
dataSourceName?: string;
/**
* Gets or sets the endpoint Id.
*/
endpointId?: string;
/**
* Gets or sets the url of the service endpoint.
*/
endpointUrl?: string;
/**
* Gets or sets the authorization headers.
*/
headers?: AuthorizationHeader[];
/**
* Defines the initial value of the query params
*/
initialContextTemplate?: string;
/**
* Gets or sets the parameters for the data source.
*/
parameters?: { [key: string] : string; };
/**
* Gets or sets http request body
*/
requestContent?: string;
/**
* Gets or sets http request verb
*/
requestVerb?: string;
/**
* Gets or sets the result selector.
*/
resultSelector?: string;
/**
* Gets or sets the result template.
*/
resultTemplate?: string;
/**
* Gets or sets the target of the data source.
*/
target?: string;
}
export interface ProcessParameters {
dataSourceBindings: DataSourceBindingBase[];
inputs: TaskInputDefinitionBase[];
sourceDefinitions: TaskSourceDefinitionBase[];
dataSourceBindings?: DataSourceBindingBase[];
inputs?: TaskInputDefinitionBase[];
sourceDefinitions?: TaskSourceDefinitionBase[];
}
export interface TaskInputDefinitionBase {
defaultValue: string;
groupName: string;
helpMarkDown: string;
label: string;
name: string;
options: { [key: string] : string; };
properties: { [key: string] : string; };
required: boolean;
type: string;
visibleRule: string;
aliases?: string[];
defaultValue?: string;
groupName?: string;
helpMarkDown?: string;
label?: string;
name?: string;
options?: { [key: string] : string; };
properties?: { [key: string] : string; };
required?: boolean;
type?: string;
validation?: TaskInputValidation;
visibleRule?: string;
}
export interface TaskInputValidation {
/**
* Conditional expression
*/
expression?: string;
/**
* Message explaining how user can correct if validation fails
*/
message?: string;
}
export interface TaskSourceDefinitionBase {
authKey: string;
endpoint: string;
keySelector: string;
selector: string;
target: string;
authKey?: string;
endpoint?: string;
keySelector?: string;
selector?: string;
target?: string;
}

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

@ -10,6 +10,7 @@
"use strict";
import VSSInterfaces = require("../interfaces/common/VSSInterfaces");
/**
@ -547,6 +548,7 @@ export interface ExtensionPayload {
displayName?: string;
fileName?: string;
installationTargets?: InstallationTarget[];
isPreview?: boolean;
isSignedByMicrosoft?: boolean;
isValid?: boolean;
metadata?: { key: string; value: string }[];
@ -1212,6 +1214,70 @@ export interface PublisherQueryResult {
results?: PublisherFilterResult[];
}
/**
* Access definition for a RoleAssignment.
*/
export enum PublisherRoleAccess {
/**
* Access has been explicitly set.
*/
Assigned = 1,
/**
* Access has been inherited from a higher scope.
*/
Inherited = 2,
}
export interface PublisherRoleAssignment {
/**
* Designates the role as explicitly assigned or inherited.
*/
access?: PublisherRoleAccess;
/**
* User friendly description of access assignment.
*/
accessDisplayName?: string;
/**
* The user to whom the role is assigned.
*/
identity?: VSSInterfaces.IdentityRef;
/**
* The role assigned to the user.
*/
role?: PublisherSecurityRole;
}
export interface PublisherSecurityRole {
/**
* Permissions the role is allowed.
*/
allowPermissions?: number;
/**
* Permissions the role is denied.
*/
denyPermissions?: number;
/**
* Description of user access defined by the role
*/
description?: string;
/**
* User friendly name of the role.
*/
displayName?: string;
/**
* Globally unique identifier for the role.
*/
identifier?: string;
/**
* Unique name of the role in the scope.
*/
name?: string;
/**
* Returns the id of the ParentScope.
*/
scope?: string;
}
export enum PublisherState {
/**
* No state exists for this publisher.
@ -1235,6 +1301,21 @@ export enum PublisherState {
CertificationRevoked = 8,
}
export interface PublisherUserRoleAssignmentRef {
/**
* The name of the role assigned.
*/
roleName?: string;
/**
* Identifier of the user given the role assignment.
*/
uniqueName?: string;
/**
* Unique id of the user given the role assignment.
*/
userId?: string;
}
/**
* The core structure of a QnA item
*/
@ -1736,6 +1817,7 @@ export interface UnpackagedExtensionData {
extensionName?: string;
installationTargets?: InstallationTarget[];
isConvertedToMarkdown?: boolean;
isPreview?: boolean;
pricingCategory?: string;
product?: string;
publisherName?: string;
@ -2063,6 +2145,14 @@ export var TypeInfo = {
},
PublisherQueryResult: <any>{
},
PublisherRoleAccess: {
enumValues: {
"assigned": 1,
"inherited": 2
}
},
PublisherRoleAssignment: <any>{
},
PublisherState: {
enumValues: {
"none": 0,
@ -2422,6 +2512,12 @@ TypeInfo.PublisherQueryResult.fields = {
}
};
TypeInfo.PublisherRoleAssignment.fields = {
access: {
enumType: TypeInfo.PublisherRoleAccess
}
};
TypeInfo.QnAItem.fields = {
createdDate: {
isDate: true,

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

@ -10,6 +10,7 @@
"use strict";
import PolicyInterfaces = require("../interfaces/PolicyInterfaces");
import TfsCoreInterfaces = require("../interfaces/CoreInterfaces");
import VSSInterfaces = require("../interfaces/common/VSSInterfaces");
@ -477,6 +478,56 @@ export interface FileContentMetadata {
vsLink?: string;
}
/**
* Provides properties that describe file differences
*/
export interface FileDiff {
/**
* The collection of line diff blocks
*/
lineDiffBlocks?: LineDiffBlock[];
/**
* Original path of item if different from current path.
*/
originalPath?: string;
/**
* Current path of item
*/
path?: string;
}
/**
* Provides parameters that describe inputs for the file diff
*/
export interface FileDiffParams {
/**
* Original path of the file
*/
originalPath?: string;
/**
* Current path of the file
*/
path?: string;
}
/**
* Provides properties that describe inputs for the file diffs
*/
export interface FileDiffsCriteria {
/**
* Commit ID of the base version
*/
baseVersionCommit?: string;
/**
* List of parameters for each of the files for which we need to get the file diff
*/
fileDiffParams?: FileDiffParams[];
/**
* Commit ID of the target version
*/
targetVersionCommit?: string;
}
/**
* A Git annotated tag.
*/
@ -1391,10 +1442,57 @@ export interface GitLastChangeTreeItems {
lastExploredTime?: Date;
}
export interface GitMerge extends GitMergeParameters {
/**
* Reference links.
*/
_links?: any;
/**
* Detailed status of the merge operation.
*/
detailedStatus?: GitMergeOperationStatusDetail;
/**
* Unique identifier for the merge operation.
*/
mergeOperationId?: number;
/**
* Status of the merge operation.
*/
status?: GitAsyncOperationStatus;
}
/**
* Status information about a requested merge operation.
*/
export interface GitMergeOperationStatusDetail {
/**
* Error message if the operation failed.
*/
failureMessage?: string;
/**
* The commitId of the resultant merge commit.
*/
mergeCommitId?: string;
}
export interface GitMergeOriginRef {
pullRequestId?: number;
}
/**
* Parameters required for performing git merge.
*/
export interface GitMergeParameters {
/**
* Comment or message of the commit.
*/
comment?: string;
/**
* An enumeration of the parent commit IDs for the merge commit.
*/
parents?: string[];
}
/**
* Git object identifier and type information.
*/
@ -1440,6 +1538,14 @@ export interface GitPathToItemsCollection {
items?: { [key: string] : GitItem[]; };
}
export interface GitPolicyConfigurationResponse {
/**
* The HTTP client methods find the continuation token header in the response and populate this field.
*/
continuationToken?: string;
policyConfigurations?: PolicyInterfaces.PolicyConfiguration[];
}
/**
* Represents all the data associated with a pull request.
*/
@ -1641,7 +1747,11 @@ export interface GitPullRequestCompletionOptions {
*/
mergeCommitMessage?: string;
/**
* If true, the commits in the pull request will be squash-merged into the specified target branch on completion.
* Specify the strategy used to merge the pull request during completion. If MergeStrategy is not set to any value, a no-FF merge will be created if SquashMerge == false. If MergeStrategy is not set to any value, the pull request commits will be squash if SquashMerge == true. The SquashMerge member is deprecated. It is recommended that you explicitly set MergeStrategy in all cases. If an explicit value is provided for MergeStrategy, the SquashMerge member will be ignored.
*/
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?: boolean;
/**
@ -1753,6 +1863,28 @@ export interface GitPullRequestMergeOptions {
disableRenames?: boolean;
}
/**
* Enumeration of possible merge strategies which can be used to complete a pull request.
*/
export enum GitPullRequestMergeStrategy {
/**
* A two-parent, no-fast-forward merge. The source branch is unchanged. This is the default behavior.
*/
NoFastForward = 1,
/**
* Put all changes from the pull request into a single-parent commit.
*/
Squash = 2,
/**
* Rebase the source branch on top of the target branch HEAD commit, and fast-forward the target branch. The source branch is updated during the rebase operation.
*/
Rebase = 3,
/**
* Rebase the source branch on top of the target branch HEAD commit, and create a two-parent, no-fast-forward merge. The source branch is updated during the rebase operation.
*/
RebaseMerge = 4,
}
/**
* A set of pull request queries and their results.
*/
@ -2186,6 +2318,7 @@ export interface GitRepository {
sshUrl?: string;
url?: string;
validRemoteUrls?: string[];
webUrl?: string;
}
export interface GitRepositoryCreateOptions {
@ -2218,6 +2351,13 @@ export interface GitRepositoryStats {
repositoryId?: string;
}
export interface GitResolution {
/**
* User who created the resolution.
*/
author?: VSSInterfaces.IdentityRef;
}
/**
* The type of a merge conflict.
*/
@ -2252,7 +2392,7 @@ export enum GitResolutionError {
OtherError = 255,
}
export interface GitResolutionMergeContent {
export interface GitResolutionMergeContent extends GitResolution {
mergeType?: GitResolutionMergeType;
userMergedBlob?: GitBlobRef;
userMergedContent?: number[];
@ -2266,7 +2406,7 @@ export enum GitResolutionMergeType {
UserMerged = 4,
}
export interface GitResolutionPathConflict {
export interface GitResolutionPathConflict extends GitResolution {
action?: GitResolutionPathConflictAction;
renamePath?: string;
}
@ -2279,7 +2419,7 @@ export enum GitResolutionPathConflictAction {
KeepTargetDeleteSource = 4,
}
export interface GitResolutionPickOneAction {
export interface GitResolutionPickOneAction extends GitResolution {
action?: GitResolutionWhichAction;
}
@ -2736,6 +2876,54 @@ export enum IterationReason {
export interface LabelsUpdatedEvent extends RealTimePullRequestEvent {
}
/**
* The class to represent the line diff block
*/
export interface LineDiffBlock {
/**
* Type of change that was made to the block.
*/
changeType?: LineDiffBlockChangeType;
/**
* Line number where this block starts in modified file.
*/
modifiedLineNumberStart?: number;
/**
* Count of lines in this block in modified file.
*/
modifiedLinesCount?: number;
/**
* Line number where this block starts in original file.
*/
originalLineNumberStart?: number;
/**
* Count of lines in this block in original file.
*/
originalLinesCount?: number;
}
/**
* Type of change for a line diff block
*/
export enum LineDiffBlockChangeType {
/**
* No change - both the blocks are identical
*/
None = 0,
/**
* Lines were added to the block in the modified file
*/
Add = 1,
/**
* Lines were deleted from the block in the original file
*/
Delete = 2,
/**
* Lines were modified
*/
Edit = 3,
}
/**
* Real time event (SignalR) for a merge completed on a pull request
*/
@ -3478,6 +3666,8 @@ export var TypeInfo = {
"system": 3
}
},
FileDiff: <any>{
},
GitAnnotatedTag: <any>{
},
GitAsyncOperationStatus: {
@ -3618,6 +3808,8 @@ export var TypeInfo = {
},
GitLastChangeTreeItems: <any>{
},
GitMerge: <any>{
},
GitObject: <any>{
},
GitObjectType: {
@ -3645,16 +3837,28 @@ export var TypeInfo = {
},
GitPathToItemsCollection: <any>{
},
GitPolicyConfigurationResponse: <any>{
},
GitPullRequest: <any>{
},
GitPullRequestChange: <any>{
},
GitPullRequestCommentThread: <any>{
},
GitPullRequestCompletionOptions: <any>{
},
GitPullRequestIteration: <any>{
},
GitPullRequestIterationChanges: <any>{
},
GitPullRequestMergeStrategy: {
enumValues: {
"noFastForward": 1,
"squash": 2,
"rebase": 3,
"rebaseMerge": 4
}
},
GitPullRequestQuery: <any>{
},
GitPullRequestQueryInput: <any>{
@ -3862,6 +4066,16 @@ export var TypeInfo = {
"retarget": 16
}
},
LineDiffBlock: <any>{
},
LineDiffBlockChangeType: {
enumValues: {
"none": 0,
"add": 1,
"delete": 2,
"edit": 3
}
},
PullRequestAsyncStatus: {
enumValues: {
"notSet": 0,
@ -3907,13 +4121,13 @@ export var TypeInfo = {
"dataGrip": 4,
"eclipse": 13,
"intelliJ": 5,
"mPS": 6,
"mps": 6,
"phpStorm": 7,
"pyCharm": 8,
"rubyMine": 9,
"tower": 10,
"visualStudio": 11,
"vSCode": 14,
"vsCode": 14,
"webStorm": 12
}
},
@ -4060,6 +4274,13 @@ TypeInfo.CommentThread.fields = {
}
};
TypeInfo.FileDiff.fields = {
lineDiffBlocks: {
isArray: true,
typeInfo: TypeInfo.LineDiffBlock
}
};
TypeInfo.GitAnnotatedTag.fields = {
taggedBy: {
typeInfo: TypeInfo.GitUserDate
@ -4632,6 +4853,9 @@ TypeInfo.GitForkSyncRequest.fields = {
};
TypeInfo.GitForkTeamProjectReference.fields = {
lastUpdateTime: {
isDate: true,
},
visibility: {
enumType: TfsCoreInterfaces.TypeInfo.ProjectVisibility
}
@ -4696,6 +4920,12 @@ TypeInfo.GitLastChangeTreeItems.fields = {
}
};
TypeInfo.GitMerge.fields = {
status: {
enumType: TypeInfo.GitAsyncOperationStatus
}
};
TypeInfo.GitObject.fields = {
objectType: {
enumType: TypeInfo.GitObjectType
@ -4718,6 +4948,13 @@ TypeInfo.GitPathToItemsCollection.fields = {
}
};
TypeInfo.GitPolicyConfigurationResponse.fields = {
policyConfigurations: {
isArray: true,
typeInfo: PolicyInterfaces.TypeInfo.PolicyConfiguration
}
};
TypeInfo.GitPullRequest.fields = {
closedDate: {
isDate: true,
@ -4726,6 +4963,9 @@ TypeInfo.GitPullRequest.fields = {
isArray: true,
typeInfo: TypeInfo.GitCommitRef
},
completionOptions: {
typeInfo: TypeInfo.GitPullRequestCompletionOptions
},
completionQueueTime: {
isDate: true,
},
@ -4783,6 +5023,12 @@ TypeInfo.GitPullRequestCommentThread.fields = {
}
};
TypeInfo.GitPullRequestCompletionOptions.fields = {
mergeStrategy: {
enumType: TypeInfo.GitPullRequestMergeStrategy
}
};
TypeInfo.GitPullRequestIteration.fields = {
changeList: {
isArray: true,
@ -5102,6 +5348,12 @@ TypeInfo.ItemDetailsOptions.fields = {
}
};
TypeInfo.LineDiffBlock.fields = {
changeType: {
enumType: TypeInfo.LineDiffBlockChangeType
}
};
TypeInfo.SupportedIde.fields = {
ideType: {
enumType: TypeInfo.SupportedIdeType

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

@ -20,6 +20,9 @@ export interface GraphCachePolicies {
cacheSize?: number;
}
/**
* Subject descriptor of a Graph entity
*/
export interface GraphDescriptorResult {
/**
* This field contains zero or more interesting links about the graph descriptor. These links may be invoked to obtain additional relationships or more detailed information about this graph descriptor.
@ -36,10 +39,6 @@ export interface GraphFederatedProviderData {
* The access token that can be used to communicated with the federated provider on behalf on the target identity, if we were able to successfully acquire one, otherwise <code>null</code>, if we were not.
*/
accessToken?: string;
/**
* Whether or not the immediate provider (i.e. AAD) has indicated that we can call them to attempt to get an access token to communicate with the federated provider on behalf of the target identity.
*/
canQueryAccessToken?: boolean;
/**
* The name of the federated provider, e.g. "github.com".
*/
@ -59,6 +58,9 @@ export interface GraphGlobalExtendedPropertyBatch {
subjectDescriptors?: string[];
}
/**
* Graph group entity
*/
export interface GraphGroup extends GraphMember {
/**
* A short phrase to help human readers disambiguate groups with similar names
@ -183,6 +185,9 @@ export enum GraphMemberSearchFactor {
DirectoryAlias = 8,
}
/**
* Relationship between a container and a member
*/
export interface GraphMembership {
/**
* This field contains zero or more interesting links about the graph membership. These links may be invoked to obtain additional relationships or more detailed information about this graph membership.
@ -192,11 +197,17 @@ export interface GraphMembership {
memberDescriptor?: string;
}
/**
* Status of a Graph membership (active/inactive)
*/
export interface GraphMembershipState {
/**
* This field contains zero or more interesting links about the graph membership state. These links may be invoked to obtain additional relationships or more detailed information about this graph membership state.
*/
_links?: any;
/**
* When true, the membership is active
*/
active?: boolean;
}
@ -245,6 +256,9 @@ export interface GraphProviderInfo {
originId?: string;
}
/**
* Container where a graph entity is defined (organization, project, team)
*/
export interface GraphScope extends GraphSubject {
/**
* The subject descriptor that references the administrators group for this scope. Only members of this group can change the contents of this scope or assign other users permissions to access this scope.
@ -298,6 +312,9 @@ export interface GraphScopeCreationContext {
storageKey?: string;
}
/**
* Storage key of a Graph entity
*/
export interface GraphStorageKeyResult {
/**
* This field contains zero or more interesting links about the graph storage key. These links may be invoked to obtain additional relationships or more detailed information about this graph storage key.
@ -306,6 +323,9 @@ export interface GraphStorageKeyResult {
value?: string;
}
/**
* Top-level graph entity
*/
export interface GraphSubject extends GraphSubjectBase {
/**
* [Internal Use Only] The legacy descriptor is here in case you need to access old version IMS using identity descriptor.
@ -344,6 +364,9 @@ export interface GraphSubjectBase {
url?: string;
}
/**
* Batching of subjects to lookup using the Graph API
*/
export interface GraphSubjectLookup {
lookupKeys?: GraphSubjectLookupKey[];
}
@ -361,7 +384,17 @@ export enum GraphTraversalDirection {
Up = 2,
}
/**
* Graph user entity
*/
export interface GraphUser extends GraphMember {
/**
* The short, generally unique name for the user in the backing directory. For AAD users, this corresponds to the mail nickname, which is often but not necessarily similar to the part of the user's mail address before the @ sign. For GitHub users, this corresponds to the GitHub user handle.
*/
directoryAlias?: string;
/**
* When true, the group has been deleted in the identity provider
*/
isDeletedInOrigin?: boolean;
metadataUpdateDate?: Date;
/**
@ -397,6 +430,16 @@ export interface GraphUserOriginIdCreationContext extends GraphUserCreationConte
originId: string;
}
/**
* Use this type to update an existing user using the OriginID as a reference to an existing user from an external AD or AAD backed provider. This is the subset of GraphUser fields required for creation of a GraphUser for the AD and AAD use case when looking up the user by its unique ID in the backing provider.
*/
export interface GraphUserOriginIdUpdateContext extends GraphUserUpdateContext {
/**
* This should be the object id or sid of the user from the source AD or AAD provider. Example: d47d025a-ce2f-4a79-8618-e8862ade30dd Azure Devops will communicate with the source provider to fill all other fields on creation.
*/
originId: string;
}
/**
* Use this type to create a new user using the principal name as a reference to an existing user from an external AD or AAD backed provider. This is the subset of GraphUser fields required for creation of a GraphUser for the AD and AAD use case when looking up the user by its principal name in the backing provider.
*/
@ -407,10 +450,14 @@ export interface GraphUserPrincipalNameCreationContext extends GraphUserCreation
principalName: string;
}
export enum IdentityShardingState {
Undefined = 0,
Enabled = 1,
Disabled = 2,
/**
* Do not attempt to use this type to update user. Use one of the subclasses instead. This type does not contain sufficient fields to create a new user.
*/
export interface GraphUserUpdateContext {
/**
* Storage key should not be specified in case of updating user
*/
storageKey?: string;
}
export interface PagedGraphGroups {
@ -461,13 +508,6 @@ export var TypeInfo = {
},
GraphUser: <any>{
},
IdentityShardingState: {
enumValues: {
"undefined": 0,
"enabled": 1,
"disabled": 2
}
},
PagedGraphUsers: <any>{
},
};

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

@ -114,6 +114,7 @@ export interface IdentityBase {
*/
providerDisplayName?: string;
resourceVersion?: number;
socialDescriptor?: string;
subjectDescriptor?: string;
uniqueUserId?: number;
}
@ -239,6 +240,7 @@ export interface TenantInfo {
homeTenant?: boolean;
tenantId?: string;
tenantName?: string;
verifiedDomains?: string[];
}
export var TypeInfo = {

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

@ -1076,6 +1076,10 @@ export enum SubscriptionFlags {
* If the subscriber is a group, is it a team.
*/
TeamSubscription = 8,
/**
* For role based subscriptions, there is an expectation that there will always be at least one actor that matches
*/
OneActorMatches = 16,
}
/**
@ -1169,6 +1173,10 @@ export enum SubscriptionQueryFlags {
* For a subscription the caller does not have permission to view, return basic (non-confidential) information.
*/
AlwaysReturnBasicInformation = 16,
/**
* Include system subscriptions.
*/
IncludeSystemSubscriptions = 32,
}
/**
@ -1562,7 +1570,8 @@ export var TypeInfo = {
"groupSubscription": 1,
"contributedSubscription": 2,
"canOptOut": 4,
"teamSubscription": 8
"teamSubscription": 8,
"oneActorMatches": 16
}
},
SubscriptionPermissions: {
@ -1583,7 +1592,8 @@ export var TypeInfo = {
"includeInvalidSubscriptions": 2,
"includeDeletedSubscriptions": 4,
"includeFilterDetails": 8,
"alwaysReturnBasicInformation": 16
"alwaysReturnBasicInformation": 16,
"includeSystemSubscriptions": 32
}
},
SubscriptionStatus: {

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

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

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

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

@ -87,6 +87,7 @@ export interface GitRepository {
sshUrl?: string;
url?: string;
validRemoteUrls?: string[];
webUrl?: string;
}
export interface GitRepositoryRef {

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

@ -117,6 +117,10 @@ export interface WikiPage extends WikiPageCreateOrUpdateParameters {
* Path of the git item corresponding to the wiki page stored in the backing Git repository.
*/
gitItemPath?: string;
/**
* When present, permanent identifier for the wiki page
*/
id?: number;
/**
* True if a page is non-conforming, i.e. 1) if the name doesn't match page naming standards. 2) if the page does not have a valid entry in the appropriate order file.
*/
@ -235,7 +239,13 @@ export interface WikiPageViewStats {
* Wiki types.
*/
export enum WikiType {
/**
* Indicates that the wiki is provisioned for the team project
*/
ProjectWiki = 0,
/**
* Indicates that the wiki is published from a git repository
*/
CodeWiki = 1,
}

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

@ -41,6 +41,10 @@ export interface BacklogConfiguration {
* Hidden Backlog
*/
hiddenBacklogs?: string[];
/**
* Is BugsBehavior Configured in the process
*/
isBugsBehaviorConfigured?: boolean;
/**
* Portfolio backlog descriptors
*/
@ -175,6 +179,38 @@ export interface Board extends BoardReference {
rows?: BoardRow[];
}
/**
* Represents a board badge.
*/
export interface BoardBadge {
/**
* The ID of the board represented by this badge.
*/
boardId?: string;
/**
* A link to the SVG resource.
*/
imageUrl?: string;
}
/**
* Determines what columns to include on the board badge
*/
export enum BoardBadgeColumnOptions {
/**
* Only include In Progress columns
*/
InProgressColumns = 0,
/**
* Include all columns
*/
AllColumns = 1,
/**
* Include a custom set of columns
*/
CustomColumns = 2,
}
export interface BoardCardRuleSettings {
_links?: any;
rules?: { [key: string] : Rule[]; };
@ -266,6 +302,17 @@ export enum BugsBehavior {
AsTasks = 2,
}
export interface CapacityContractBase extends TeamSettingsDataContractBase {
/**
* Collection of capacities associated with the team member
*/
activities?: Activity[];
/**
* The days off associated with the team member
*/
daysOff?: DateRange[];
}
/**
* Expected data from PATCH
*/
@ -386,6 +433,10 @@ export interface DeliveryViewData extends PlanViewData {
* The end date of the delivery view data
*/
endDate?: Date;
/**
* Max number of teams can be configured for a delivery plan.
*/
maxExpandedTeams?: number;
/**
* The start date for the delivery view data
*/
@ -770,29 +821,40 @@ export interface TeamFieldValuesPatch {
}
export interface TeamIterationAttributes {
/**
* Finish date of the iteration. Date-only, correct unadjusted at midnight in UTC.
*/
finishDate?: Date;
/**
* Start date of the iteration. Date-only, correct unadjusted at midnight in UTC.
*/
startDate?: Date;
/**
* Time frame of the iteration, such as past, current or future.
*/
timeFrame?: TimeFrame;
}
/**
* Represents capacity for a specific team member
*/
export interface TeamMemberCapacity extends TeamSettingsDataContractBase {
/**
* Collection of capacities associated with the team member
*/
activities?: Activity[];
/**
* The days off associated with the team member
*/
daysOff?: DateRange[];
export interface TeamMemberCapacity extends CapacityContractBase {
/**
* Shallow Ref to the associated team member
*/
teamMember?: Member;
}
/**
* Represents capacity for a specific team member
*/
export interface TeamMemberCapacityIdentityRef extends CapacityContractBase {
/**
* Identity ref of the associated team member
*/
teamMember?: VSSInterfaces.IdentityRef;
}
/**
* Data contract for TeamSettings
*/
@ -846,23 +908,23 @@ export interface TeamSettingsDaysOffPatch {
}
/**
* Represents a shallow ref for a single iteration
* Represents a shallow ref for a single iteration.
*/
export interface TeamSettingsIteration extends TeamSettingsDataContractBase {
/**
* Attributes such as start and end date
* Attributes of the iteration such as start and end date.
*/
attributes?: TeamIterationAttributes;
/**
* Id of the resource
* Id of the iteration.
*/
id?: string;
/**
* Name of the resource
* Name of the iteration.
*/
name?: string;
/**
* Relative path of the iteration
* Relative path of the iteration.
*/
path?: string;
}
@ -1104,6 +1166,13 @@ export var TypeInfo = {
},
Board: <any>{
},
BoardBadgeColumnOptions: {
enumValues: {
"inProgressColumns": 0,
"allColumns": 1,
"customColumns": 2
}
},
BoardColumn: <any>{
},
BoardColumnType: {
@ -1120,6 +1189,8 @@ export var TypeInfo = {
"asTasks": 2
}
},
CapacityContractBase: <any>{
},
CapacityPatch: <any>{
},
CardFieldSettings: <any>{
@ -1179,6 +1250,8 @@ export var TypeInfo = {
},
TeamMemberCapacity: <any>{
},
TeamMemberCapacityIdentityRef: <any>{
},
TeamSetting: <any>{
},
TeamSettingsDaysOff: <any>{
@ -1200,7 +1273,7 @@ export var TypeInfo = {
},
TimelineCriteriaStatusCode: {
enumValues: {
"oK": 0,
"ok": 0,
"invalidFilterClause": 1,
"unknown": 2
}
@ -1209,7 +1282,7 @@ export var TypeInfo = {
},
TimelineIterationStatusCode: {
enumValues: {
"oK": 0,
"ok": 0,
"isOverlapping": 1
}
},
@ -1221,7 +1294,7 @@ export var TypeInfo = {
},
TimelineTeamStatusCode: {
enumValues: {
"oK": 0,
"ok": 0,
"doesntExistOrAccessDenied": 1,
"maxTeamsExceeded": 2,
"maxTeamFieldsExceeded": 3,
@ -1269,6 +1342,13 @@ TypeInfo.BoardColumn.fields = {
}
};
TypeInfo.CapacityContractBase.fields = {
daysOff: {
isArray: true,
typeInfo: TypeInfo.DateRange
}
};
TypeInfo.CapacityPatch.fields = {
daysOff: {
isArray: true,
@ -1392,6 +1472,13 @@ TypeInfo.TeamMemberCapacity.fields = {
}
};
TypeInfo.TeamMemberCapacityIdentityRef.fields = {
daysOff: {
isArray: true,
typeInfo: TypeInfo.DateRange
}
};
TypeInfo.TeamSetting.fields = {
backlogIteration: {
typeInfo: TypeInfo.TeamSettingsIteration

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

@ -27,7 +27,27 @@ export interface AccountMyWorkResult {
/**
* Represents Work Item Recent Activity
*/
export interface AccountRecentActivityWorkItemModel {
export interface AccountRecentActivityWorkItemModel extends AccountRecentActivityWorkItemModelBase {
/**
* Assigned To
*/
assignedTo?: string;
}
/**
* Represents Work Item Recent Activity
*/
export interface AccountRecentActivityWorkItemModel2 extends AccountRecentActivityWorkItemModelBase {
/**
* Assigned To
*/
assignedTo?: VSSInterfaces.IdentityRef;
}
/**
* Represents Work Item Recent Activity
*/
export interface AccountRecentActivityWorkItemModelBase {
/**
* Date of the last Activity by the user
*/
@ -36,10 +56,6 @@ export interface AccountRecentActivityWorkItemModel {
* Type of the activity
*/
activityType?: WorkItemRecentActivityType;
/**
* Assigned To
*/
assignedTo?: string;
/**
* Last changed date of the work item
*/
@ -147,11 +163,248 @@ export enum ClassificationNodesErrorPolicy {
Omit = 2,
}
/**
* Comment on a Work Item.
*/
export interface Comment extends WorkItemTrackingResource {
/**
* IdentityRef of the creator of the comment.
*/
createdBy?: VSSInterfaces.IdentityRef;
/**
* The creation date of the comment.
*/
createdDate?: Date;
/**
* Effective Date/time value for adding the comment. Can be optionally different from CreatedDate.
*/
createdOnBehalfDate?: Date;
/**
* Identity on whose behalf this comment has been added. Can be optionally different from CreatedBy.
*/
createdOnBehalfOf?: VSSInterfaces.IdentityRef;
/**
* 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 reactions of the comment.
*/
reactions?: CommentReaction[];
/**
* The text of the comment.
*/
text?: string;
/**
* The current version of the comment.
*/
version?: number;
/**
* The id of the work item this comment belongs to.
*/
workItemId?: number;
}
/**
* Represents a request to create a work item comment.
*/
export interface CommentCreate {
/**
* The text of the comment.
*/
text: string;
}
/**
* Specifies the additional data retrieval options for work item comments.
*/
export enum CommentExpandOptions {
None = 0,
/**
* Include comment reactions.
*/
Reactions = 1,
/**
* Include comment mentions.
*/
Mentions = 2,
/**
* Include the rendered text (html) in addition to MD text.
*/
RenderedText = 8,
/**
* If specified, then ONLY rendered text (html) will be returned, w/o markdown. Supposed to be used internally from data provides for optimization purposes.
*/
RenderedTextOnly = 16,
All = -17,
}
/**
* Represents a list of work item comments.
*/
export interface CommentList extends WorkItemTrackingResource {
/**
* 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;
}
export interface CommentMention extends WorkItemTrackingResource {
/**
* The artifact portion of the parsed text. (i.e. the work item's id)
*/
artifactId?: string;
/**
* The type the parser assigned to the mention. (i.e. person, work item, etc)
*/
artifactType?: string;
/**
* The comment id of the mention.
*/
commentId?: number;
/**
* The resolved target of the mention. An example of this could be a user's tfid
*/
targetId?: string;
}
/**
* Contains information about work item comment reaction for a particular reaction type.
*/
export interface CommentReaction extends WorkItemTrackingResource {
/**
* 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 work item comment.
*/
export enum CommentReactionType {
Like = 0,
Dislike = 1,
Heart = 2,
Hooray = 3,
Smile = 4,
Confused = 5,
}
export enum CommentSortOrder {
/**
* The results will be sorted in Ascending order.
*/
Asc = 1,
/**
* The results will be sorted in Descending order.
*/
Desc = 2,
}
/**
* Represents a request to update a work item comment.
*/
export interface CommentUpdate {
/**
* The updated text of the comment.
*/
text: string;
}
/**
* Represents a specific version of a comment on a work item.
*/
export interface CommentVersion extends WorkItemTrackingResource {
/**
* IdentityRef of the creator of the comment.
*/
createdBy?: VSSInterfaces.IdentityRef;
/**
* The creation date of the comment.
*/
createdDate?: Date;
/**
* Effective Date/time value for adding the comment. Can be optionally different from CreatedDate.
*/
createdOnBehalfDate?: Date;
/**
* Identity on whose behalf this comment has been added. Can be optionally different from CreatedBy.
*/
createdOnBehalfOf?: VSSInterfaces.IdentityRef;
/**
* 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;
/**
* The text of the comment at this version.
*/
text?: string;
/**
* The version number.
*/
version?: number;
}
/**
* Describes a list of dependent fields for a rule.
*/
@ -319,6 +572,9 @@ export interface Link {
* The link query mode which determines the behavior of the query.
*/
export enum LinkQueryMode {
/**
* Returns flat list of work items.
*/
WorkItems = 0,
/**
* Returns work items where the source, target, and link criteria are all satisfied.
@ -378,6 +634,32 @@ export interface ProvisioningResult {
provisioningImportEvents?: string[];
}
/**
* Describes a request to get a list of queries
*/
export interface QueryBatchGetRequest {
/**
* The expand parameters for queries. Possible options are { None, Wiql, Clauses, All, Minimal }
*/
$expand?: QueryExpand;
/**
* The flag to control error policy in a query batch request. Possible options are { Fail, Omit }.
*/
errorPolicy?: QueryErrorPolicy;
/**
* The requested query ids
*/
ids?: string[];
}
/**
* Enum to control error policy in a query batch request.
*/
export enum QueryErrorPolicy {
Fail = 1,
Omit = 2,
}
/**
* Determines which set of additional query properties to display
*/
@ -577,8 +859,17 @@ export enum QueryType {
OneHop = 3,
}
/**
* The reporting revision expand level.
*/
export enum ReportingRevisionsExpand {
/**
* Default behavior.
*/
None = 0,
/**
* Add fields to the response.
*/
Fields = 1,
}
@ -588,6 +879,9 @@ export interface ReportingWorkItemLinksBatch extends StreamedBatch<WorkItemRelat
export interface ReportingWorkItemRevisionsBatch extends StreamedBatch<WorkItem> {
}
/**
* The class reprensents the reporting work item revision filer.
*/
export interface ReportingWorkItemRevisionsFilter {
/**
* A list of fields to return in work item revisions. Omit this parameter to get all reportable fields.
@ -615,10 +909,25 @@ export interface ReportingWorkItemRevisionsFilter {
types?: string[];
}
/**
* The class describes reporting work item revision batch.
*/
export interface StreamedBatch<T> {
/**
* ContinuationToken acts as a waterMark. Used while quering large results.
*/
continuationToken?: string;
/**
* Returns 'true' if it's last batch, 'false' otherwise.
*/
isLastBatch?: boolean;
/**
* The next link for the work item.
*/
nextLink?: string;
/**
* Values such as rel, sourceId, TargetId, ChangedDate, isActive.
*/
values?: T[];
}
@ -684,6 +993,10 @@ export interface WorkArtifactLink {
* Describes a work item.
*/
export interface WorkItem extends WorkItemTrackingResource {
/**
* Reference to a specific version of the comment added/edited/deleted in this revision.
*/
commentVersionRef?: WorkItemCommentVersionRef;
/**
* Map of field and values for the work item.
*/
@ -756,6 +1069,10 @@ export interface WorkItemClassificationNode extends WorkItemTrackingResource {
* Name of the classification node.
*/
name?: string;
/**
* Path of the classification node.
*/
path?: string;
/**
* Node structure type.
*/
@ -785,7 +1102,7 @@ export interface WorkItemComment extends WorkItemTrackingResource {
}
/**
* Collection of comments
* Collection of comments.
*/
export interface WorkItemComments extends WorkItemTrackingResource {
/**
@ -806,6 +1123,32 @@ export interface WorkItemComments extends WorkItemTrackingResource {
totalCount?: number;
}
/**
* Represents the reference to a specific version of a comment on a Work Item.
*/
export interface WorkItemCommentVersionRef extends WorkItemTrackingResourceReference {
/**
* The id assigned to the comment.
*/
commentId?: number;
/**
* [Internal] The work item revision where this comment was originally added.
*/
createdInRevision?: number;
/**
* [Internal] Specifies whether comment was deleted.
*/
isDeleted?: boolean;
/**
* [Internal] The text of the comment.
*/
text?: string;
/**
* The version number.
*/
version?: number;
}
/**
* Full deleted work item object. Includes the work item itself.
*/
@ -886,7 +1229,13 @@ export interface WorkItemDeleteUpdate {
* Enum to control error policy in a bulk get work items request.
*/
export enum WorkItemErrorPolicy {
/**
* Fail work error policy.
*/
Fail = 1,
/**
* Omit work error policy.
*/
Omit = 2,
}
@ -894,10 +1243,25 @@ export enum WorkItemErrorPolicy {
* Flag to control payload properties from get work item command.
*/
export enum WorkItemExpand {
/**
* Default behavior.
*/
None = 0,
/**
* Relations work item expand.
*/
Relations = 1,
/**
* Fields work item expand.
*/
Fields = 2,
/**
* Links work item expand.
*/
Links = 3,
/**
* Expands all.
*/
All = 4,
}
@ -964,7 +1328,7 @@ export interface WorkItemField extends WorkItemTrackingResource {
*/
export interface WorkItemFieldOperation {
/**
* Name of the operation.
* Friendly name of the operation.
*/
name?: string;
/**
@ -978,7 +1342,7 @@ export interface WorkItemFieldOperation {
*/
export interface WorkItemFieldReference {
/**
* The name of the field.
* The friendly name of the field.
*/
name?: string;
/**
@ -1331,6 +1695,10 @@ export interface WorkItemType extends WorkItemTrackingResource {
* The reference name of the work item type.
*/
referenceName?: string;
/**
* Gets state information for the work item type.
*/
states?: WorkItemStateColor[];
/**
* Gets the various state transition mappings in the work item type.
*/
@ -1562,6 +1930,10 @@ export var TypeInfo = {
},
AccountRecentActivityWorkItemModel: <any>{
},
AccountRecentActivityWorkItemModel2: <any>{
},
AccountRecentActivityWorkItemModelBase: <any>{
},
AccountRecentMentionWorkItemModel: <any>{
},
AccountWorkWorkItemModel: <any>{
@ -1572,12 +1944,40 @@ export var TypeInfo = {
"omit": 2
}
},
Comment: <any>{
},
CommentExpandOptions: {
enumValues: {
"none": 0,
"reactions": 1,
"mentions": 2,
"renderedText": 8,
"renderedTextOnly": 16,
"all": -17
}
},
CommentList: <any>{
},
CommentReaction: <any>{
},
CommentReactionType: {
enumValues: {
"like": 0,
"dislike": 1,
"heart": 2,
"hooray": 3,
"smile": 4,
"confused": 5
}
},
CommentSortOrder: {
enumValues: {
"asc": 1,
"desc": 2
}
},
CommentVersion: <any>{
},
FieldType: {
enumValues: {
"string": 0,
@ -1624,9 +2024,9 @@ export var TypeInfo = {
},
LogicalOperation: {
enumValues: {
"nONE": 0,
"aND": 1,
"oR": 2
"none": 0,
"and": 1,
"or": 2
}
},
ProvisioningActionType: {
@ -1635,6 +2035,14 @@ export var TypeInfo = {
"validate": 1
}
},
QueryBatchGetRequest: <any>{
},
QueryErrorPolicy: {
enumValues: {
"fail": 1,
"omit": 2
}
},
QueryExpand: {
enumValues: {
"none": 0,
@ -1770,6 +2178,30 @@ TypeInfo.AccountRecentActivityWorkItemModel.fields = {
}
};
TypeInfo.AccountRecentActivityWorkItemModel2.fields = {
activityDate: {
isDate: true,
},
activityType: {
enumType: TypeInfo.WorkItemRecentActivityType
},
changedDate: {
isDate: true,
}
};
TypeInfo.AccountRecentActivityWorkItemModelBase.fields = {
activityDate: {
isDate: true,
},
activityType: {
enumType: TypeInfo.WorkItemRecentActivityType
},
changedDate: {
isDate: true,
}
};
TypeInfo.AccountRecentMentionWorkItemModel.fields = {
mentionedDateField: {
isDate: true,
@ -1782,6 +2214,56 @@ TypeInfo.AccountWorkWorkItemModel.fields = {
}
};
TypeInfo.Comment.fields = {
createdDate: {
isDate: true,
},
createdOnBehalfDate: {
isDate: true,
},
modifiedDate: {
isDate: true,
},
reactions: {
isArray: true,
typeInfo: TypeInfo.CommentReaction
}
};
TypeInfo.CommentList.fields = {
comments: {
isArray: true,
typeInfo: TypeInfo.Comment
}
};
TypeInfo.CommentReaction.fields = {
type: {
enumType: TypeInfo.CommentReactionType
}
};
TypeInfo.CommentVersion.fields = {
createdDate: {
isDate: true,
},
createdOnBehalfDate: {
isDate: true,
},
modifiedDate: {
isDate: true,
}
};
TypeInfo.QueryBatchGetRequest.fields = {
$expand: {
enumType: TypeInfo.QueryExpand
},
errorPolicy: {
enumType: TypeInfo.QueryErrorPolicy
}
};
TypeInfo.QueryHierarchyItem.fields = {
children: {
isArray: true,

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

@ -170,20 +170,65 @@ export interface FieldModel {
url?: string;
}
/**
* Enum for the type of a field.
*/
export enum FieldType {
/**
* String field type.
*/
String = 1,
/**
* Integer field type.
*/
Integer = 2,
/**
* Datetime field type.
*/
DateTime = 3,
/**
* Plain Text field type.
*/
PlainText = 5,
/**
* HTML (Multiline) field type.
*/
Html = 7,
/**
* Treepath field type.
*/
TreePath = 8,
/**
* History field type.
*/
History = 9,
/**
* Double field type.
*/
Double = 10,
/**
* Guid field type.
*/
Guid = 11,
/**
* Boolean field type.
*/
Boolean = 12,
/**
* Identity field type.
*/
Identity = 13,
/**
* Integer picklist field type.
*/
PicklistInteger = 14,
/**
* String picklist field type.
*/
PicklistString = 15,
/**
* Double picklist field type.
*/
PicklistDouble = 16,
}

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

@ -96,6 +96,9 @@ export interface Control {
watermark?: string;
}
/**
* Describes a process being created.
*/
export interface CreateProcessModel {
/**
* Description of the process
@ -110,7 +113,7 @@ export interface CreateProcessModel {
*/
parentProcessTypeId?: string;
/**
* Reference name of the process
* Reference name of process being created. If not specified, server will assign a unique reference name
*/
referenceName?: string;
}
@ -217,19 +220,61 @@ export interface FieldRuleModel {
* Enum for the type of a field.
*/
export enum FieldType {
/**
* String field type.
*/
String = 1,
/**
* Integer field type.
*/
Integer = 2,
/**
* DateTime field type.
*/
DateTime = 3,
/**
* Plain text field type.
*/
PlainText = 5,
/**
* HTML (Multiline) field type.
*/
Html = 7,
/**
* Treepath field type.
*/
TreePath = 8,
/**
* History field type.
*/
History = 9,
/**
* Double field type.
*/
Double = 10,
/**
* Guid field type.
*/
Guid = 11,
/**
* Boolean field type.
*/
Boolean = 12,
/**
* Identity field type.
*/
Identity = 13,
/**
* Integer picklist field type.
*/
PicklistInteger = 14,
/**
* String picklist field type.
*/
PicklistString = 15,
/**
* Double picklist field type.
*/
PicklistDouble = 16,
}
@ -269,8 +314,17 @@ export enum GetBehaviorsExpand {
CombinedFields = 2,
}
/**
* The expand level of returned processes.
*/
export enum GetProcessExpandLevel {
/**
* No expand level.
*/
None = 0,
/**
* Projects expand level.
*/
Projects = 1,
}
@ -278,9 +332,21 @@ export enum GetProcessExpandLevel {
* Flag to define what properties to return in get work item type response.
*/
export enum GetWorkItemTypeExpand {
/**
* Returns no properties in get work item type response.
*/
None = 0,
/**
* Returns states property in get work item type response.
*/
States = 1,
/**
* Returns behaviors property in get work item type response.
*/
Behaviors = 2,
/**
* Returns layout property in get work item type response.
*/
Layout = 4,
}
@ -330,7 +396,13 @@ export interface Group {
visible?: boolean;
}
/**
* Class that describes the work item state is hidden.
*/
export interface HideStateModel {
/**
* Returns 'true', if workitem state is hidden, 'false' otherwise.
*/
hidden?: boolean;
}
@ -388,9 +460,21 @@ export interface Page {
* Enum for the types of pages in the work item form layout
*/
export enum PageType {
/**
* Custom page type.
*/
Custom = 1,
/**
* History page type.
*/
History = 2,
/**
* Link page type.
*/
Links = 3,
/**
* Attachment page type.
*/
Attachments = 4,
}
@ -712,6 +796,9 @@ export interface ProcessWorkItemTypeField {
* Allow setting field value to a group identity. Only applies to identity fields.
*/
allowGroups?: boolean;
/**
* Indicates the type of customization on this work item.
*/
customization?: CustomizationType;
/**
* The default value of the field.
@ -747,6 +834,9 @@ export interface ProcessWorkItemTypeField {
url?: string;
}
/**
* Defines the project reference class.
*/
export interface ProjectReference {
/**
* Description of the project
@ -766,6 +856,9 @@ export interface ProjectReference {
url?: string;
}
/**
* Action to take when the rule is triggered.
*/
export interface RuleAction {
/**
* Type of action to take when the rule is triggered.
@ -781,6 +874,9 @@ export interface RuleAction {
value?: string;
}
/**
* Action to take when the rule is triggered.
*/
export interface RuleActionModel {
actionType?: string;
targetField?: string;
@ -1032,11 +1128,23 @@ export interface WorkItemBehaviorField {
url?: string;
}
/**
* Reference to the behavior of a work item type.
*/
export interface WorkItemBehaviorReference {
/**
* The ID of the reference behavior.
*/
id?: string;
/**
* The url of the reference behavior.
*/
url?: string;
}
/**
* Class That represents a work item state input.
*/
export interface WorkItemStateInputModel {
/**
* Color of the state
@ -1056,14 +1164,41 @@ export interface WorkItemStateInputModel {
stateCategory?: string;
}
/**
* Class that represents a work item state result.
*/
export interface WorkItemStateResultModel {
/**
* Work item state color.
*/
color?: string;
/**
* Work item state customization type.
*/
customizationType?: CustomizationType;
/**
* If the Work item state is hidden.
*/
hidden?: boolean;
/**
* Id of the Workitemstate.
*/
id?: string;
/**
* Work item state name.
*/
name?: string;
/**
* Work item state order.
*/
order?: number;
/**
* Work item state statecategory.
*/
stateCategory?: string;
/**
* Work item state url.
*/
url?: string;
}

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

@ -10,23 +10,10 @@
"use strict";
import OperationsInterfaces = require("../interfaces/common/OperationsInterfaces");
import LicensingInterfaces = require("../../interfaces/common/LicensingInterfaces");
import OperationsInterfaces = require("../../interfaces/common/OperationsInterfaces");
export enum AccountLicenseType {
None = 0,
EarlyAdopter = 1,
Express = 2,
Professional = 3,
Advanced = 4,
Stakeholder = 5,
}
export interface AccountUserLicense {
license?: number;
source?: LicensingSource;
}
export interface ApplicationStatus {
extensions?: ExtensionApplicationStatus[];
isTruncated?: boolean;
@ -55,6 +42,9 @@ export interface ExtensionRule {
status?: GroupLicensingRuleStatus;
}
/**
* Batching of subjects to lookup using the Graph API
*/
export interface GraphSubjectLookup {
lookupKeys?: GraphSubjectLookupKey[];
}
@ -115,26 +105,16 @@ export interface GroupLicensingRuleUpdate {
/**
* New License
*/
license?: License;
license?: LicensingInterfaces.License;
/**
* SubjectDescriptor for the rule
*/
subjectDescriptor?: string;
}
/**
* The base class for a specific license source and license
*/
export interface License {
/**
* Gets the source of the license
*/
source?: LicensingSource;
}
export interface LicenseApplicationStatus extends LicensingApplicationStatus {
accountUserLicense?: AccountUserLicense;
license?: License;
accountUserLicense?: LicensingInterfaces.AccountUserLicense;
license?: LicensingInterfaces.License;
}
/**
@ -148,7 +128,7 @@ export interface LicenseRule {
/**
* License
*/
license?: License;
license?: LicensingInterfaces.License;
/**
* Status of the group rule (applied, missing licenses, etc)
*/
@ -161,44 +141,12 @@ export interface LicensingApplicationStatus {
insufficientResources?: number;
}
export enum LicensingSource {
None = 0,
Account = 1,
Msdn = 2,
Profile = 3,
Auto = 4,
Trial = 5,
}
export enum MsdnLicenseType {
None = 0,
Eligible = 1,
Professional = 2,
Platforms = 3,
TestProfessional = 4,
Premium = 5,
Ultimate = 6,
Enterprise = 7,
}
export enum RuleOption {
ApplyGroupRule = 0,
TestApplyGroupRule = 1,
}
export var TypeInfo = {
AccountLicenseType: {
enumValues: {
"none": 0,
"earlyAdopter": 1,
"express": 2,
"professional": 3,
"advanced": 4,
"stakeholder": 5
}
},
AccountUserLicense: <any>{
},
ApplicationStatus: <any>{
},
ExtensionRule: <any>{
@ -215,34 +163,10 @@ export var TypeInfo = {
},
GroupLicensingRuleUpdate: <any>{
},
License: <any>{
},
LicenseApplicationStatus: <any>{
},
LicenseRule: <any>{
},
LicensingSource: {
enumValues: {
"none": 0,
"account": 1,
"msdn": 2,
"profile": 3,
"auto": 4,
"trial": 5
}
},
MsdnLicenseType: {
enumValues: {
"none": 0,
"eligible": 1,
"professional": 2,
"platforms": 3,
"testProfessional": 4,
"premium": 5,
"ultimate": 6,
"enterprise": 7
}
},
RuleOption: {
enumValues: {
"applyGroupRule": 0,
@ -251,12 +175,6 @@ export var TypeInfo = {
},
};
TypeInfo.AccountUserLicense.fields = {
source: {
enumType: TypeInfo.LicensingSource
}
};
TypeInfo.ApplicationStatus.fields = {
licenses: {
isArray: true,
@ -288,22 +206,16 @@ TypeInfo.GroupLicensingRule.fields = {
TypeInfo.GroupLicensingRuleUpdate.fields = {
license: {
typeInfo: TypeInfo.License
}
};
TypeInfo.License.fields = {
source: {
enumType: TypeInfo.LicensingSource
typeInfo: LicensingInterfaces.TypeInfo.License
}
};
TypeInfo.LicenseApplicationStatus.fields = {
accountUserLicense: {
typeInfo: TypeInfo.AccountUserLicense
typeInfo: LicensingInterfaces.TypeInfo.AccountUserLicense
},
license: {
typeInfo: TypeInfo.License
typeInfo: LicensingInterfaces.TypeInfo.License
}
};
@ -312,7 +224,7 @@ TypeInfo.LicenseRule.fields = {
isDate: true,
},
license: {
typeInfo: TypeInfo.License
typeInfo: LicensingInterfaces.TypeInfo.License
},
status: {
enumType: TypeInfo.GroupLicensingRuleStatus

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

@ -10,7 +10,7 @@
"use strict";
import GraphInterfaces = require("../GraphInterfaces");
import GraphInterfaces = require("../../interfaces/GraphInterfaces");
/**
@ -69,87 +69,6 @@ export interface ApiResourceVersion {
resourceVersion?: number;
}
export interface AuditLogEntry {
/**
* The action if for the event, i.e Git.CreateRepo, Project.RenameProject
*/
actionId?: string;
/**
* ActivityId
*/
activityId?: string;
/**
* The Actor's CUID
*/
actorCUID?: string;
/**
* The Actor's User Id
*/
actorUserId?: string;
/**
* Type of authentication used by the author
*/
authenticationMechanism?: string;
/**
* This allows us to group things together, like one user action that caused a cascade of event entries (project creation).
*/
correlationId?: string;
/**
* External data such as CUIDs, item names, etc.
*/
data?: { [key: string] : any; };
/**
* EventId, should be unique
*/
id?: string;
/**
* IP Address where the event was originated
*/
iPAddress?: string;
/**
* The org, collection or project Id
*/
scopeId?: string;
/**
* The type of the scope, collection, org, project, etc.
*/
scopeType?: AuditScopeType;
/**
* The time when the event occurred in UTC
*/
timestamp?: Date;
/**
* The user agent from the request
*/
userAgent?: string;
}
/**
* The type of scope from where the event is originated
*/
export enum AuditScopeType {
/**
* The scope is not known or has not been set
*/
Unknown = 0,
/**
* Deployment
*/
Deployment = 1,
/**
* Organization
*/
Organization = 2,
/**
* Collection
*/
Collection = 4,
/**
* Project
*/
Project = 8,
}
/**
* Enumeration of the options that can be passed in on Connect.
*/
@ -215,14 +134,35 @@ export interface EventScope {
}
export interface IdentityRef extends GraphInterfaces.GraphSubjectBase {
/**
* Deprecated - Can be retrieved by querying the Graph user referenced in the "self" entry of the IdentityRef "_links" dictionary
*/
directoryAlias?: string;
id?: string;
/**
* Deprecated - Available in the "avatar" entry of the IdentityRef "_links" dictionary
*/
imageUrl?: string;
/**
* Deprecated - Can be retrieved by querying the Graph membership state referenced in the "membershipState" entry of the GraphUser "_links" dictionary
*/
inactive?: boolean;
/**
* Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType)
*/
isAadIdentity?: boolean;
/**
* Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType)
*/
isContainer?: boolean;
isDeletedInOrigin?: boolean;
/**
* Deprecated - not in use in most preexisting implementations of ToIdentityRef
*/
profileUrl?: string;
/**
* Deprecated - use Domain+PrincipalName instead
*/
uniqueName?: string;
}
@ -249,7 +189,7 @@ export interface JsonPatchOperation {
*/
op: Operation;
/**
* The path for the operation
* The path for the operation. In the case of an array, a zero based index can be used to specify the position in the array (e.g. /biscuits/0/name). The "-" character can be used instead of an index to insert at the end of the array (e.g. /biscuits/-).
*/
path: string;
/**
@ -474,17 +414,6 @@ export interface WrappedException {
}
export var TypeInfo = {
AuditLogEntry: <any>{
},
AuditScopeType: {
enumValues: {
"unknown": 0,
"deployment": 1,
"organization": 2,
"collection": 4,
"project": 8
}
},
ConnectOptions: {
enumValues: {
"none": 0,
@ -526,15 +455,6 @@ export var TypeInfo = {
},
};
TypeInfo.AuditLogEntry.fields = {
scopeType: {
enumType: TypeInfo.AuditScopeType
},
timestamp: {
isDate: true,
}
};
TypeInfo.JsonPatchOperation.fields = {
op: {
enumType: TypeInfo.Operation

2
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "azure-devops-node-api",
"version": "7.3.0",
"version": "8.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": "7.3.0",
"version": "8.0.0",
"main": "./WebApi.js",
"types": "./WebApi.d.ts",
"scripts": {

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

@ -25,7 +25,7 @@ export async function run() {
for (let i: number = 0; i < defs.length; i++) {
let defRef: bi.DefinitionReference = defs[i];
let def: bi.BuildDefinition = await vstsBuild.getDefinition(defRef.id, project);
let def: bi.BuildDefinition = await vstsBuild.getDefinition(project, defRef.id);
lastDef = def;
let rep: bi.BuildRepository = def.repository;
@ -116,7 +116,7 @@ export async function run() {
// delete def
console.log("deleting", createdDef.name);
await vstsBuild.deleteDefinition(createdDef.id, project);
await vstsBuild.deleteDefinition(project, createdDef.id);
console.log("deleted");
}
}

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

@ -41,7 +41,7 @@ export async function run() {
// Retrieve the list of artifacts for the latest build.
cm.heading(`Artifacts for build ${latestBuild.id}, ${project} project`);
const artifacts: bi.BuildArtifact[] = await vstsBuild.getArtifacts(latestBuild.id, project);
const artifacts: bi.BuildArtifact[] = await vstsBuild.getArtifacts(project, latestBuild.id);
let downloadableArtifact;
for (const artifact of artifacts) {
@ -60,7 +60,7 @@ export async function run() {
// Download an artifact.
if (downloadableArtifact) {
cm.heading(`Download zip of artifact '${downloadableArtifact.name}' for build ${latestBuild.id}, ${project} project`);
const artifactStream: NodeJS.ReadableStream = await vstsBuild.getArtifactContentZip(latestBuild.id, downloadableArtifact.name, project);
const artifactStream: NodeJS.ReadableStream = await vstsBuild.getArtifactContentZip(project, latestBuild.id, downloadableArtifact.name);
const path = `${downloadableArtifact.name}.zip`;

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

@ -14,7 +14,7 @@ import { ResourceAreaInfo } from "azure-devops-node-api/interfaces/LocationsInte
import { RequestedExtension } from "azure-devops-node-api/interfaces/ExtensionManagementInterfaces";
import { SecurityRole } from "azure-devops-node-api/interfaces/SecurityRolesInterfaces";
import { TaskAgentPool } from "azure-devops-node-api/interfaces/TaskAgentInterfaces";
import { TestPlan } from "azure-devops-node-api/interfaces/TestInterfaces";
import { TestRun } from "azure-devops-node-api/interfaces/TestInterfaces";
import { Timeline as TaskAgentTimeline } from "azure-devops-node-api/interfaces/TaskAgentInterfaces";
import { WebApiTeam } from "azure-devops-node-api/interfaces/CoreInterfaces";
import { WidgetScope, WidgetTypesResponse } from "azure-devops-node-api/interfaces/DashboardInterfaces";
@ -196,10 +196,10 @@ export async function run() {
/********** Test **********/
printSectionStart("Test");
const testApi = await vstsCollectionLevel.getTestApi();
const plans: TestPlan[] = await testApi.getPlans(common.getProject());
const runs: TestRun[] = await testApi.getTestRuns(common.getProject());
if (plans) {
console.log(`found ${plans.length} plans`);
if (runs) {
console.log(`found ${runs.length} test runs`);
}
/********** Tfvc **********/

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

@ -17,62 +17,35 @@ export async function run(createdProjectId: string) {
common.banner('Testing Samples');
common.heading('Get test suite plans');
const plans: TestInterfaces.TestPlan[] = await testApiObject.getPlans(projectId);
console.log('Current Plans:', plans);
common.heading('Get test suite runs');
const runs: TestInterfaces.TestRun[] = await testApiObject.getTestRuns(projectId);
console.log('Current Runs:', runs);
common.heading('Get code coverage');
const buildApiObject: BuildApi.IBuildApi = await webApi.getBuildApi();
const defs: BuildInterfaces.DefinitionReference[] = await buildApiObject.getDefinitions(projectId);
console.log('Code coverage for build' + defs[0].id + ':', await testApiObject.getCodeCoverageSummary(projectId, defs[0].id));
common.heading('Create test suite plan');
const testPlanModel: TestInterfaces.PlanUpdateModel = {area: null,
automatedTestEnvironment: null,
automatedTestSettings: null,
build: null,
buildDefinition: null,
configurationIds: null,
description: 'autogenerated, should be deleted',
common.heading('Create test session');
const testSessionModel: TestInterfaces.TestSession = {area: null,
comment: 'autogenerated, should be deleted',
endDate: null,
iteration: null,
manualTestEnvironment: null,
manualTestSettings: null,
name: 'myPlan',
id: 1012,
title: 'mySession',
owner: null,
releaseEnvironmentDefinition: null,
startDate: null,
state: null,
status: null};
const testPlan = await testApiObject.createTestPlan(testPlanModel, createdProjectId);
console.log('Created plan', testPlan.name);
state: null};
const teamContext: CoreInterfaces.TeamContext = {project: project.name,
projectId: project.id,
team: project.defaultTeam.name,
teamId: project.defaultTeam.id};
const testSession = await testApiObject.createTestSession(testSessionModel, teamContext);
console.log('Created session', testSession.title);
common.heading('Create test suite');
common.heading('Create test run');
const suiteId = 1;
const testSuiteModel: TestInterfaces.SuiteCreateModel = {name: 'myTestSuite', queryString: 'myTestSuite', requirementIds: [], suiteType: 'StaticTestSuite'};
const testSuite: TestInterfaces.TestSuite[] = await testApiObject.createTestSuite(testSuiteModel, createdProjectId, testPlan.id, suiteId);
console.log('Empty suite created, should be null:', testSuite);
common.heading('Create test variable');
const variableToCreate: TestInterfaces.TestVariable = {description: 'variable for testing',
id: null,
name: 'testVar',
project: null,
revision: null,
url: null,
values: ['values', 'that', 'are', 'allowed']};
const testVariable: TestInterfaces.TestVariable = await testApiObject.createTestVariable(variableToCreate, createdProjectId);
console.log('Variable created:', testVariable);
common.heading('Delete test variable');
await testApiObject.deleteTestVariable(createdProjectId, testVariable.id);
console.log('Trying to get test variable now returns', await testApiObject.getTestVariableById(createdProjectId, testVariable.id));
common.heading('Delete test suite');
await testApiObject.deleteTestSuite(createdProjectId, testPlan.id, suiteId);
console.log('Trying to get suite now returns', await testApiObject.getTestSuiteById(createdProjectId, testPlan.id, suiteId));
common.heading('Delete test suite plan');
await testApiObject.deleteTestPlan(project.id, testPlan.id);
console.log('Trying to get plan now returns', await testApiObject.getPlanById(createdProjectId, testPlan.id));
const testSuiteModel: TestInterfaces.RunCreateModel = {name: 'myRun', configurationIds: [], plan: null };
const testRun: TestInterfaces.TestRun = await testApiObject.createTestRun(testSuiteModel, project.id);
console.log('Empty run, should be null:', testRun);
}

23
test/package-lock.json сгенерированный
Просмотреть файл

@ -7,32 +7,9 @@
"azure-devops-node-api": {
"version": "file:../_build",
"requires": {
"os": "0.1.1",
"tunnel": "0.0.4",
"typed-rest-client": "1.2.0",
"underscore": "1.8.3"
},
"dependencies": {
"os": {
"version": "0.1.1",
"bundled": true
},
"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
}
}
}
}