diff --git a/package-lock.json b/package-lock.json index 3f86c0b..a68cf61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "azure-devops-extension-api", - "version": "4.240.0", + "version": "4.241.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "azure-devops-extension-api", - "version": "4.240.0", + "version": "4.241.1", "license": "MIT", "dependencies": { "whatwg-fetch": "~3.0.0" diff --git a/package.json b/package.json index 374a7da..75b8e48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "azure-devops-extension-api", - "version": "4.240.0", + "version": "4.241.1", "description": "REST client libraries and contracts for Azure DevOps web extension developers.", "repository": { "type": "git", diff --git a/src/Git/Git.ts b/src/Git/Git.ts index afde367..c84e04b 100644 --- a/src/Git/Git.ts +++ b/src/Git/Git.ts @@ -8,6 +8,13 @@ import * as TfsCore from "../Core/Core"; import * as Policy from "../Policy/Policy"; import * as WebApi from "../WebApi/WebApi"; +export interface AdvSecEnablementOptions { + /** + * Enforces secret scanning job for a repo where AdvSec is already enabled. + */ + forceRepoSecretScanning: boolean; +} + export interface AdvSecEnablementStatus { /** * Enabled by VSID @@ -44,6 +51,10 @@ export interface AdvSecEnablementUpdate { * New status */ newStatus: boolean; + /** + * Options that can be added during enablement (i.e. force secret scanning job to run) + */ + options: AdvSecEnablementOptions; /** * ProjectId */ diff --git a/src/Release/Release.ts b/src/Release/Release.ts index 69d3f96..665b526 100644 --- a/src/Release/Release.ts +++ b/src/Release/Release.ts @@ -2108,6 +2108,10 @@ export interface ProofOfPresenceTenant { * Gets name of protected tenant. */ tenantName: string; + /** + * Gets timeout of protected tenant PoP check. + */ + timeout: number; } export interface PropertySelector { diff --git a/src/ServiceEndpoint/ServiceEndpoint.ts b/src/ServiceEndpoint/ServiceEndpoint.ts index 78314bf..851a245 100644 --- a/src/ServiceEndpoint/ServiceEndpoint.ts +++ b/src/ServiceEndpoint/ServiceEndpoint.ts @@ -528,6 +528,10 @@ export interface ServiceEndpoint { * Gets or sets the identity reference for the user who created the Service endpoint. */ createdBy: WebApi.IdentityRef; + /** + * Gets or sets the date, when the Service endpoint has been created. + */ + creationDate: Date; data: { [key: string] : string; }; /** * Gets or sets the description of endpoint. @@ -557,6 +561,14 @@ export interface ServiceEndpoint { * Indicates whether service endpoint is shared with other projects or not. */ isShared: boolean; + /** + * Gets or sets the date, when the Service endpoint has been modified. + */ + modificationDate: Date; + /** + * Gets or sets the identity reference for the user who did the latest modification of the Service endpoint. + */ + modifiedBy: WebApi.IdentityRef; /** * Gets or sets the friendly name of the endpoint. */ diff --git a/src/TaskAgent/TaskAgent.ts b/src/TaskAgent/TaskAgent.ts index 352e1dc..e6ea377 100644 --- a/src/TaskAgent/TaskAgent.ts +++ b/src/TaskAgent/TaskAgent.ts @@ -1770,6 +1770,10 @@ export interface ServiceEndpoint { * Gets or sets the identity reference for the user who created the Service endpoint. */ createdBy: WebApi.IdentityRef; + /** + * Gets or sets the date, when the Service endpoint has been created. + */ + creationDate: Date; data: { [key: string] : string; }; /** * Gets or sets the description of endpoint. @@ -1792,6 +1796,14 @@ export interface ServiceEndpoint { * Indicates whether service endpoint is shared with other projects or not. */ isShared: boolean; + /** + * Gets or sets the date, when the Service endpoint has been modified. + */ + modificationDate: Date; + /** + * Gets or sets the identity reference for the user who did the latest modification of the Service endpoint. + */ + modifiedBy: WebApi.IdentityRef; /** * Gets or sets the friendly name of the endpoint. */