azure-devops-extension-api 4.240.0 → 4.241.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Git/Git.d.ts CHANGED
@@ -1,6 +1,12 @@
1
1
  import * as TfsCore from "../Core/Core";
2
2
  import * as Policy from "../Policy/Policy";
3
3
  import * as WebApi from "../WebApi/WebApi";
4
+ export interface AdvSecEnablementOptions {
5
+ /**
6
+ * Enforces secret scanning job for a repo where AdvSec is already enabled.
7
+ */
8
+ forceRepoSecretScanning: boolean;
9
+ }
4
10
  export interface AdvSecEnablementStatus {
5
11
  /**
6
12
  * Enabled by VSID
@@ -36,6 +42,10 @@ export interface AdvSecEnablementUpdate {
36
42
  * New status
37
43
  */
38
44
  newStatus: boolean;
45
+ /**
46
+ * Options that can be added during enablement (i.e. force secret scanning job to run)
47
+ */
48
+ options: AdvSecEnablementOptions;
39
49
  /**
40
50
  * ProjectId
41
51
  */
@@ -2011,6 +2011,10 @@ export interface ProofOfPresenceTenant {
2011
2011
  * Gets name of protected tenant.
2012
2012
  */
2013
2013
  tenantName: string;
2014
+ /**
2015
+ * Gets timeout of protected tenant PoP check.
2016
+ */
2017
+ timeout: number;
2014
2018
  }
2015
2019
  export interface PropertySelector {
2016
2020
  /**
@@ -497,6 +497,10 @@ export interface ServiceEndpoint {
497
497
  * Gets or sets the identity reference for the user who created the Service endpoint.
498
498
  */
499
499
  createdBy: WebApi.IdentityRef;
500
+ /**
501
+ * Gets or sets the date, when the Service endpoint has been created.
502
+ */
503
+ creationDate: Date;
500
504
  data: {
501
505
  [key: string]: string;
502
506
  };
@@ -528,6 +532,14 @@ export interface ServiceEndpoint {
528
532
  * Indicates whether service endpoint is shared with other projects or not.
529
533
  */
530
534
  isShared: boolean;
535
+ /**
536
+ * Gets or sets the date, when the Service endpoint has been modified.
537
+ */
538
+ modificationDate: Date;
539
+ /**
540
+ * Gets or sets the identity reference for the user who did the latest modification of the Service endpoint.
541
+ */
542
+ modifiedBy: WebApi.IdentityRef;
531
543
  /**
532
544
  * Gets or sets the friendly name of the endpoint.
533
545
  */
@@ -1656,6 +1656,10 @@ export interface ServiceEndpoint {
1656
1656
  * Gets or sets the identity reference for the user who created the Service endpoint.
1657
1657
  */
1658
1658
  createdBy: WebApi.IdentityRef;
1659
+ /**
1660
+ * Gets or sets the date, when the Service endpoint has been created.
1661
+ */
1662
+ creationDate: Date;
1659
1663
  data: {
1660
1664
  [key: string]: string;
1661
1665
  };
@@ -1680,6 +1684,14 @@ export interface ServiceEndpoint {
1680
1684
  * Indicates whether service endpoint is shared with other projects or not.
1681
1685
  */
1682
1686
  isShared: boolean;
1687
+ /**
1688
+ * Gets or sets the date, when the Service endpoint has been modified.
1689
+ */
1690
+ modificationDate: Date;
1691
+ /**
1692
+ * Gets or sets the identity reference for the user who did the latest modification of the Service endpoint.
1693
+ */
1694
+ modifiedBy: WebApi.IdentityRef;
1683
1695
  /**
1684
1696
  * Gets or sets the friendly name of the endpoint.
1685
1697
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azure-devops-extension-api",
3
- "version": "4.240.0",
3
+ "version": "4.241.1",
4
4
  "description": "REST client libraries and contracts for Azure DevOps web extension developers.",
5
5
  "repository": {
6
6
  "type": "git",