vss-web-extension-sdk
Advanced tools
Comparing version 1.104.0 to 1.105.0
{ | ||
"name": "vss-web-extension-sdk", | ||
"version": "1.104.0", | ||
"version": "1.105.0", | ||
"description": "Visual Studio Services Client SDK. JavaScript library for Visual Studio Online extensions.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Microsoft Visual Studio Services v104.20160831.1112 | ||
// Type definitions for Microsoft Visual Studio Services v105.20160914.0830 | ||
// Project: https://www.visualstudio.com/integrate/extensions/overview | ||
@@ -68,2 +68,4 @@ // Definitions by: Microsoft <vsointegration@microsoft.com> | ||
var ReleaseDefinitionId: string; | ||
var ReleaseDefinitionEnvironmentId: string; | ||
var DeploymentId: string; | ||
var ReleaseUri: string; | ||
@@ -304,4 +306,26 @@ var ReleaseWebUrl: string; | ||
target: string; | ||
transformationTemplate: string; | ||
} | ||
export interface DefinitionEnvironmentReference { | ||
definitionEnvironmentId: number; | ||
releaseDefinitionId: number; | ||
} | ||
export interface Deployment { | ||
attempt: number; | ||
conditions: Condition[]; | ||
definitionEnvironmentId: number; | ||
deploymentStatus: DeploymentStatus; | ||
id: number; | ||
lastModifiedBy: VSS_Common_Contracts.IdentityRef; | ||
lastModifiedOn: Date; | ||
operationStatus: DeploymentOperationStatus; | ||
postDeployApprovals: ReleaseApproval[]; | ||
preDeployApprovals: ReleaseApproval[]; | ||
reason: DeploymentReason; | ||
release: ReleaseReference; | ||
releaseDefinition: ShallowReference; | ||
releaseEnvironment: ShallowReference; | ||
requestedBy: VSS_Common_Contracts.IdentityRef; | ||
scheduledDeploymentTime: Date; | ||
startedOn: Date; | ||
} | ||
export interface DeploymentApprovalCompletedEvent { | ||
@@ -364,3 +388,16 @@ approval: ReleaseApproval; | ||
PhaseCanceled = 4096, | ||
ManualInterventionPending = 8192, | ||
} | ||
export interface DeploymentQueryParameters { | ||
artifactSourceId: string; | ||
artifactTypeId: string; | ||
artifactVersions: string[]; | ||
deploymentStatus: DeploymentStatus; | ||
environments: DefinitionEnvironmentReference[]; | ||
isDeleted: boolean; | ||
latestDeploymentsOnly: boolean; | ||
maxDeploymentsPerEnvironment: number; | ||
operationStatus: DeploymentOperationStatus; | ||
queryOrder: ReleaseQueryOrder; | ||
} | ||
export enum DeploymentReason { | ||
@@ -385,3 +422,2 @@ None = 0, | ||
export interface DeployPhase { | ||
controlOptions: ControlOptions; | ||
name: string; | ||
@@ -737,5 +773,2 @@ phaseType: DeployPhaseTypes; | ||
releaseId: number; | ||
runOptions: { | ||
[key: string]: string; | ||
}; | ||
scheduledDeploymentTime: Date; | ||
@@ -789,2 +822,8 @@ schedules: ReleaseSchedule[]; | ||
} | ||
export interface ReleaseReference { | ||
artifacts: Artifact[]; | ||
id: number; | ||
name: string; | ||
url: string; | ||
} | ||
export interface ReleaseRevision { | ||
@@ -821,2 +860,5 @@ changedBy: VSS_Common_Contracts.IdentityRef; | ||
} | ||
export interface ReleaseSettings { | ||
retentionSettings: RetentionSettings; | ||
} | ||
export interface ReleaseStartMetadata { | ||
@@ -887,2 +929,7 @@ artifacts: ArtifactMetadata[]; | ||
} | ||
export interface RetentionSettings { | ||
daysToKeepDeletedReleases: number; | ||
defaultEnvironmentRetentionPolicy: EnvironmentRetentionPolicy; | ||
maximumEnvironmentRetentionPolicy: EnvironmentRetentionPolicy; | ||
} | ||
export interface RunOnServerDeployPhase extends DeployPhase { | ||
@@ -1015,2 +1062,3 @@ } | ||
}; | ||
Deployment: any; | ||
DeploymentApprovalCompletedEvent: any; | ||
@@ -1037,4 +1085,6 @@ DeploymentApprovalPendingEvent: any; | ||
"phaseCanceled": number; | ||
"manualInterventionPending": number; | ||
}; | ||
}; | ||
DeploymentQueryParameters: any; | ||
DeploymentReason: { | ||
@@ -1494,5 +1544,6 @@ enumValues: { | ||
* @param {boolean} includeArtifact | ||
* @param {number[]} definitionEnvironmentIdsFilter | ||
* @return IPromise<Contracts.ReleaseDefinitionSummary> | ||
*/ | ||
getReleaseDefinitionSummary(project: string, definitionId: number, releaseCount: number, includeArtifact?: boolean): IPromise<Contracts.ReleaseDefinitionSummary>; | ||
getReleaseDefinitionSummary(project: string, definitionId: number, releaseCount: number, includeArtifact?: boolean, definitionEnvironmentIdsFilter?: number[]): IPromise<Contracts.ReleaseDefinitionSummary>; | ||
/** | ||
@@ -1730,2 +1781,26 @@ * [Preview API] | ||
* @param {string} project - Project ID or project name | ||
* @param {number} definitionId | ||
* @param {number} definitionEnvironmentId | ||
* @param {string} createdBy | ||
* @param {Contracts.DeploymentStatus} deploymentStatus | ||
* @param {Contracts.DeploymentOperationStatus} operationStatus | ||
* @param {boolean} latestAttemptsOnly | ||
* @param {Contracts.ReleaseQueryOrder} queryOrder | ||
* @param {number} top | ||
* @param {number} continuationToken | ||
* @return IPromise<Contracts.Deployment[]> | ||
*/ | ||
getDeployments(project: string, definitionId?: number, definitionEnvironmentId?: number, createdBy?: string, deploymentStatus?: Contracts.DeploymentStatus, operationStatus?: Contracts.DeploymentOperationStatus, latestAttemptsOnly?: boolean, queryOrder?: Contracts.ReleaseQueryOrder, top?: number, continuationToken?: number): IPromise<Contracts.Deployment[]>; | ||
/** | ||
* [Preview API] | ||
* | ||
* @param {Contracts.DeploymentQueryParameters} queryParameters | ||
* @param {string} project - Project ID or project name | ||
* @return IPromise<Contracts.Deployment[]> | ||
*/ | ||
getDeploymentsForMultipleEnvironments(queryParameters: Contracts.DeploymentQueryParameters, project: string): IPromise<Contracts.Deployment[]>; | ||
/** | ||
* [Preview API] | ||
* | ||
* @param {string} project - Project ID or project name | ||
* @param {number} releaseId | ||
@@ -1778,2 +1853,17 @@ * @param {number} environmentId | ||
* @param {string} project - Project ID or project name | ||
* @return IPromise<Contracts.ReleaseSettings> | ||
*/ | ||
getReleaseSettings(project: string): IPromise<Contracts.ReleaseSettings>; | ||
/** | ||
* [Preview API] Updates the release settings | ||
* | ||
* @param {Contracts.ReleaseSettings} releaseSettings | ||
* @param {string} project - Project ID or project name | ||
* @return IPromise<Contracts.ReleaseSettings> | ||
*/ | ||
updateReleaseSettings(releaseSettings: Contracts.ReleaseSettings, project: string): IPromise<Contracts.ReleaseSettings>; | ||
/** | ||
* [Preview API] | ||
* | ||
* @param {string} project - Project ID or project name | ||
* @param {number} definitionId | ||
@@ -1797,5 +1887,23 @@ * @return IPromise<string[]> | ||
*/ | ||
export class ReleaseHttpClient2_3 extends CommonMethods2_2To3 { | ||
constructor(rootRequestPath: string, options?: VSS_WebApi.IVssHttpClientOptions); | ||
} | ||
/** | ||
* @exemptedapi | ||
*/ | ||
export class ReleaseHttpClient2_2 extends CommonMethods2_2To3 { | ||
constructor(rootRequestPath: string, options?: VSS_WebApi.IVssHttpClientOptions); | ||
} | ||
/** | ||
* @exemptedapi | ||
*/ | ||
export class ReleaseHttpClient2_1 extends CommonMethods2To3 { | ||
constructor(rootRequestPath: string, options?: VSS_WebApi.IVssHttpClientOptions); | ||
} | ||
/** | ||
* @exemptedapi | ||
*/ | ||
export class ReleaseHttpClient2 extends CommonMethods2To3 { | ||
constructor(rootRequestPath: string, options?: VSS_WebApi.IVssHttpClientOptions); | ||
} | ||
export class ReleaseHttpClient extends ReleaseHttpClient3 { | ||
@@ -1807,5 +1915,5 @@ constructor(rootRequestPath: string, options?: VSS_WebApi.IVssHttpClientOptions); | ||
* | ||
* @return ReleaseHttpClient2_2 | ||
* @return ReleaseHttpClient2_3 | ||
*/ | ||
export function getClient(options?: VSS_WebApi.IVssHttpClientOptions): ReleaseHttpClient2_2; | ||
export function getClient(options?: VSS_WebApi.IVssHttpClientOptions): ReleaseHttpClient2_3; | ||
} | ||
@@ -1812,0 +1920,0 @@ declare module "ReleaseManagement/Core/Utils" { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1701774
48733