azure-devops-extension-api 4.253.0 → 4.255.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/AdvancedSecurity.Reporting/Reporting.d.ts +25 -3
- package/AdvancedSecurity.Reporting/ReportingClient.d.ts +3 -0
- package/AdvancedSecurity.Reporting/ReportingClient.js +15 -0
- package/AdvancedSecurity.Reporting/ReportingClient.min.js +1 -1
- package/Alert/Alert.d.ts +55 -18
- package/Alert/Alert.js +50 -18
- package/Alert/Alert.min.js +1 -1
- package/Alert/AlertClient.d.ts +2 -2
- package/Contributions/Contributions.d.ts +4 -0
- package/ExtensionManagement/ExtensionManagement.d.ts +4 -0
- package/Git/Git.d.ts +21 -0
- package/Git/Git.js +14 -0
- package/Git/Git.min.js +1 -1
- package/Git/GitClient.js +6 -6
- package/Git/GitClient.min.js +1 -1
- package/Locations/LocationsClient.d.ts +6 -0
- package/Locations/LocationsClient.js +24 -0
- package/Locations/LocationsClient.min.js +1 -1
- package/Management/Management.d.ts +77 -87
- package/Management/Management.js +19 -0
- package/Management/Management.min.js +1 -1
- package/Management/ManagementClient.d.ts +24 -35
- package/Management/ManagementClient.js +59 -82
- package/Management/ManagementClient.min.js +1 -1
- package/Pipelines/Pipelines.d.ts +1 -0
- package/Pipelines/Pipelines.js +1 -0
- package/Pipelines/Pipelines.min.js +1 -1
- package/Release/ReleaseClient.d.ts +2 -1
- package/Release/ReleaseClient.js +7 -1
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpoint.d.ts +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.d.ts +7 -0
- package/ServiceEndpoint/ServiceEndpointClient.js +22 -0
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/TaskAgent/TaskAgent.d.ts +13 -0
- package/TaskAgent/TaskAgentClient.js +4 -4
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/TestPlan/TestPlan.d.ts +31 -4
- package/Tfvc/Tfvc.d.ts +4 -0
- package/WebApi/WebApi.d.ts +0 -13
- package/WebApi/WebApi.js +0 -15
- package/WebApi/WebApi.min.js +1 -1
- package/_manifest/spdx_2.2/ESRPClientLogs0703003127834.json +1 -0
- package/_manifest/spdx_2.2/bsi.cose +0 -0
- package/_manifest/spdx_2.2/bsi.json +1 -0
- package/_manifest/spdx_2.2/manifest.cat +0 -0
- package/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
- package/_manifest/spdx_2.2/manifest.spdx.json +9799 -0
- package/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -0
- package/package.json +1 -1
|
@@ -64,7 +64,7 @@ export declare enum AlertType {
|
|
|
64
64
|
}
|
|
65
65
|
export interface FilterCriteria {
|
|
66
66
|
/**
|
|
67
|
-
* If provided, only return alerts of this type. Otherwise, return alerts of all types.
|
|
67
|
+
* If provided, only return summary data for alerts of this type. Otherwise, return summary data for alerts of all types.
|
|
68
68
|
*/
|
|
69
69
|
alertTypes: AlertType[];
|
|
70
70
|
/**
|
|
@@ -72,11 +72,15 @@ export interface FilterCriteria {
|
|
|
72
72
|
*/
|
|
73
73
|
keywords: string;
|
|
74
74
|
/**
|
|
75
|
-
* If provided,
|
|
75
|
+
* If provided, summary data will be scoped to this time period.
|
|
76
76
|
*/
|
|
77
77
|
period: TimePeriod;
|
|
78
78
|
/**
|
|
79
|
-
* If provided, only return
|
|
79
|
+
* If provided, only return summary data for these projects Otherwise, return summary data for all projects.
|
|
80
|
+
*/
|
|
81
|
+
projects: string[];
|
|
82
|
+
/**
|
|
83
|
+
* If provided, only return summary data for alerts at these severities. \<br /\>Otherwise, return summary data for alerts at any severity.
|
|
80
84
|
*/
|
|
81
85
|
severities: Severity[];
|
|
82
86
|
}
|
|
@@ -106,6 +110,10 @@ export interface OrgEnablementSummary {
|
|
|
106
110
|
*/
|
|
107
111
|
projects: ProjectEnablementSummary[];
|
|
108
112
|
}
|
|
113
|
+
export interface Project {
|
|
114
|
+
id: string;
|
|
115
|
+
name: string;
|
|
116
|
+
}
|
|
109
117
|
/**
|
|
110
118
|
* Project Alert Summary.
|
|
111
119
|
*/
|
|
@@ -177,6 +185,10 @@ export interface RepoEnablementSummary {
|
|
|
177
185
|
* AdvSec is enabled for the repo.
|
|
178
186
|
*/
|
|
179
187
|
advSecIsEnabled: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* Code Security plan is enabled for the repo. Only present for Azure Dev Ops orgs who had enabled Advanced security after billing sku split has went live.
|
|
190
|
+
*/
|
|
191
|
+
codeSecurityEnabled: boolean;
|
|
180
192
|
/**
|
|
181
193
|
* RepoId.
|
|
182
194
|
*/
|
|
@@ -191,6 +203,16 @@ export interface RepoEnablementSummary {
|
|
|
191
203
|
scanTypeSummary: {
|
|
192
204
|
[key: number]: ScanTypeSummaryProperties;
|
|
193
205
|
};
|
|
206
|
+
/**
|
|
207
|
+
* Secret Protection plan is enabled for the repo. Only present for Azure Dev Ops orgs who had enabled Advanced security after billing sku split has went live.
|
|
208
|
+
*/
|
|
209
|
+
secretProtectionEnabled: boolean;
|
|
210
|
+
}
|
|
211
|
+
export interface RiskUXComputedFilters {
|
|
212
|
+
/**
|
|
213
|
+
* Display alerts for specified projects. Show alerts for all projects if none are specified.
|
|
214
|
+
*/
|
|
215
|
+
projects: Project[];
|
|
194
216
|
}
|
|
195
217
|
export interface ScanTypeSummaryProperties {
|
|
196
218
|
/**
|
|
@@ -3,6 +3,9 @@ import { RestClientBase } from "../Common/RestClientBase";
|
|
|
3
3
|
import * as Reporting from "../AdvancedSecurity.Reporting/Reporting";
|
|
4
4
|
export declare class ReportingRestClient extends RestClientBase {
|
|
5
5
|
constructor(options: IVssRestClientOptions);
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
getRiskUXComputedFilters(): Promise<Reporting.RiskUXComputedFilters>;
|
|
6
9
|
/**
|
|
7
10
|
* Get Alert summary by severity for the org
|
|
8
11
|
*
|
|
@@ -56,6 +56,21 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
56
56
|
function ReportingRestClient(options) {
|
|
57
57
|
return _super.call(this, options) || this;
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
*/
|
|
61
|
+
ReportingRestClient.prototype.getRiskUXComputedFilters = function () {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
63
|
+
return __generator(this, function (_a) {
|
|
64
|
+
return [2 /*return*/, this.beginRequest({
|
|
65
|
+
apiVersion: "7.2-preview.1",
|
|
66
|
+
routeTemplate: "_apis/Reporting/filters/{action}",
|
|
67
|
+
routeValues: {
|
|
68
|
+
action: "Alerts"
|
|
69
|
+
}
|
|
70
|
+
})];
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
};
|
|
59
74
|
/**
|
|
60
75
|
* Get Alert summary by severity for the org
|
|
61
76
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var
|
|
1
|
+
var __extends=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),__awaiter=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{s(n.next(t))}catch(t){i(t)}}function u(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){t.done?o(t.value):new r(function(e){e(t.value)}).then(a,u)}s((n=n.apply(t,e||[])).next())})},__generator=this&&this.__generator||function(t,e){function r(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){u=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){u.label=r[1];break}if(6===r[0]&&u.label<i[1]){u.label=i[1],i=r;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(r);break}i[2]&&u.ops.pop(),u.trys.pop();continue}r=e.call(t,u)}catch(t){r=[6,t],o=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}var n,o,i,a,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a};define(["require","exports","../Common/RestClientBase"],function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.getRiskUXComputedFilters=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Reporting/filters/{action}",routeValues:{action:"Alerts"}})]})})},e.prototype.getAlertSummaryForOrg=function(t){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(r){return e={criteria:t},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Reporting/summary/{action}",routeValues:{action:"Alerts"},queryParams:e})]})})},e.prototype.getEnablementSummaryForOrg=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Reporting/summary/{action}",routeValues:{action:"Enablement"}})]})})},e}(r.RestClientBase);e.ReportingRestClient=n});
|
package/Alert/Alert.d.ts
CHANGED
|
@@ -179,6 +179,28 @@ export declare enum AlertType {
|
|
|
179
179
|
*/
|
|
180
180
|
License = 4
|
|
181
181
|
}
|
|
182
|
+
export declare enum AlertValidationRequestStatus {
|
|
183
|
+
/**
|
|
184
|
+
* Default, when the request status is not set/applicable.
|
|
185
|
+
*/
|
|
186
|
+
None = 0,
|
|
187
|
+
/**
|
|
188
|
+
* First validation request for the alert's validation fingerprints, created when the sarif is submitted for processing.
|
|
189
|
+
*/
|
|
190
|
+
Created = 1,
|
|
191
|
+
/**
|
|
192
|
+
* The secret validation jobs for the alert's validation fingerprints have been manually queued and at least one is still in progress.
|
|
193
|
+
*/
|
|
194
|
+
InProgress = 2,
|
|
195
|
+
/**
|
|
196
|
+
* All the secret validation jobs for the alert's validation fingerprints have returned Completed or Failed.
|
|
197
|
+
*/
|
|
198
|
+
Completed = 3,
|
|
199
|
+
/**
|
|
200
|
+
* This status is set only when there is an exception in the ValidationService.
|
|
201
|
+
*/
|
|
202
|
+
Failed = 4
|
|
203
|
+
}
|
|
182
204
|
/**
|
|
183
205
|
* Validity data for an alert that will be part of Alerts APIs and UI.
|
|
184
206
|
*/
|
|
@@ -187,9 +209,22 @@ export interface AlertValidityInfo {
|
|
|
187
209
|
validityStatus: AlertValidityStatus;
|
|
188
210
|
}
|
|
189
211
|
export declare enum AlertValidityStatus {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
212
|
+
/**
|
|
213
|
+
* When there are no validation fingerprints attached to the alert.
|
|
214
|
+
*/
|
|
215
|
+
None = 0,
|
|
216
|
+
/**
|
|
217
|
+
* When the validations for validation fingerprints associated to the alert have not been conclusive.
|
|
218
|
+
*/
|
|
219
|
+
Unknown = 1,
|
|
220
|
+
/**
|
|
221
|
+
* When atleast one validation fingerprint associated to the alert is exploitable.
|
|
222
|
+
*/
|
|
223
|
+
Active = 2,
|
|
224
|
+
/**
|
|
225
|
+
* When all validation fingerprints associated to the alert are not exploitable.
|
|
226
|
+
*/
|
|
227
|
+
Inactive = 3
|
|
193
228
|
}
|
|
194
229
|
/**
|
|
195
230
|
* AnalysisConfiguration class models a build definition.
|
|
@@ -890,9 +925,9 @@ export interface SearchCriteria {
|
|
|
890
925
|
*/
|
|
891
926
|
toolName: string;
|
|
892
927
|
/**
|
|
893
|
-
* If provided, only return alerts with the validity specified here. If the validity status is Unknown, fetch alerts of all validity results. \<br /\>Only applicable for secret alerts.
|
|
928
|
+
* If provided, only return alerts with the validity specified here. If the validity status is Unknown, fetch alerts of all validity results. \<br /\>Only applicable for secret alerts. \<br /\>Filtering by validity status may cause less alerts to be returned than requested with TOP parameter. \<br /\>Due to this behavior, the ContinuationToken(\<![CDATA[\<header name\>]]\>) in the response header should be relied on to decide if another batch needs to be fetched.
|
|
894
929
|
*/
|
|
895
|
-
validity: AlertValidityStatus;
|
|
930
|
+
validity: AlertValidityStatus[];
|
|
896
931
|
}
|
|
897
932
|
export declare enum Severity {
|
|
898
933
|
Low = 0,
|
|
@@ -1002,29 +1037,31 @@ export interface ValidationFingerprint {
|
|
|
1002
1037
|
/**
|
|
1003
1038
|
* The result of the validation.
|
|
1004
1039
|
*/
|
|
1005
|
-
validityResult:
|
|
1040
|
+
validityResult: ValidationResult;
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* Data associated to a validation request for an alert. Along with the request status, this includes the validity data that is part of Get Alert(s) response.
|
|
1044
|
+
*/
|
|
1045
|
+
export interface ValidationRequestInfo extends AlertValidityInfo {
|
|
1046
|
+
alertValidationRequestStatus: AlertValidationRequestStatus;
|
|
1006
1047
|
}
|
|
1007
|
-
export declare enum
|
|
1048
|
+
export declare enum ValidationResult {
|
|
1008
1049
|
/**
|
|
1009
|
-
* Default value, no information about the
|
|
1050
|
+
* Default value, no information about the secret can be inferred from this.
|
|
1010
1051
|
*/
|
|
1011
1052
|
None = 0,
|
|
1012
1053
|
/**
|
|
1013
|
-
*
|
|
1054
|
+
* Represents a secret that can be used to connect to a resource.
|
|
1014
1055
|
*/
|
|
1015
|
-
|
|
1056
|
+
Exploitable = 1,
|
|
1016
1057
|
/**
|
|
1017
|
-
*
|
|
1058
|
+
* Represents a secret that can't be used to connect to a resource.
|
|
1018
1059
|
*/
|
|
1019
|
-
|
|
1020
|
-
/**
|
|
1021
|
-
* The secret validation job(s) for the alert have failed.
|
|
1022
|
-
*/
|
|
1023
|
-
Failed = 3,
|
|
1060
|
+
NotExploitable = 2,
|
|
1024
1061
|
/**
|
|
1025
|
-
*
|
|
1062
|
+
* Represents a secret where no determination can be made about its exploitability.
|
|
1026
1063
|
*/
|
|
1027
|
-
|
|
1064
|
+
Inconclusive = 3
|
|
1028
1065
|
}
|
|
1029
1066
|
/**
|
|
1030
1067
|
* Information for locating files in a source control system
|
package/Alert/Alert.js
CHANGED
|
@@ -40,11 +40,47 @@ define(["require", "exports"], function (require, exports) {
|
|
|
40
40
|
*/
|
|
41
41
|
AlertType[AlertType["License"] = 4] = "License";
|
|
42
42
|
})(AlertType = exports.AlertType || (exports.AlertType = {}));
|
|
43
|
+
var AlertValidationRequestStatus;
|
|
44
|
+
(function (AlertValidationRequestStatus) {
|
|
45
|
+
/**
|
|
46
|
+
* Default, when the request status is not set/applicable.
|
|
47
|
+
*/
|
|
48
|
+
AlertValidationRequestStatus[AlertValidationRequestStatus["None"] = 0] = "None";
|
|
49
|
+
/**
|
|
50
|
+
* First validation request for the alert's validation fingerprints, created when the sarif is submitted for processing.
|
|
51
|
+
*/
|
|
52
|
+
AlertValidationRequestStatus[AlertValidationRequestStatus["Created"] = 1] = "Created";
|
|
53
|
+
/**
|
|
54
|
+
* The secret validation jobs for the alert's validation fingerprints have been manually queued and at least one is still in progress.
|
|
55
|
+
*/
|
|
56
|
+
AlertValidationRequestStatus[AlertValidationRequestStatus["InProgress"] = 2] = "InProgress";
|
|
57
|
+
/**
|
|
58
|
+
* All the secret validation jobs for the alert's validation fingerprints have returned Completed or Failed.
|
|
59
|
+
*/
|
|
60
|
+
AlertValidationRequestStatus[AlertValidationRequestStatus["Completed"] = 3] = "Completed";
|
|
61
|
+
/**
|
|
62
|
+
* This status is set only when there is an exception in the ValidationService.
|
|
63
|
+
*/
|
|
64
|
+
AlertValidationRequestStatus[AlertValidationRequestStatus["Failed"] = 4] = "Failed";
|
|
65
|
+
})(AlertValidationRequestStatus = exports.AlertValidationRequestStatus || (exports.AlertValidationRequestStatus = {}));
|
|
43
66
|
var AlertValidityStatus;
|
|
44
67
|
(function (AlertValidityStatus) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
68
|
+
/**
|
|
69
|
+
* When there are no validation fingerprints attached to the alert.
|
|
70
|
+
*/
|
|
71
|
+
AlertValidityStatus[AlertValidityStatus["None"] = 0] = "None";
|
|
72
|
+
/**
|
|
73
|
+
* When the validations for validation fingerprints associated to the alert have not been conclusive.
|
|
74
|
+
*/
|
|
75
|
+
AlertValidityStatus[AlertValidityStatus["Unknown"] = 1] = "Unknown";
|
|
76
|
+
/**
|
|
77
|
+
* When atleast one validation fingerprint associated to the alert is exploitable.
|
|
78
|
+
*/
|
|
79
|
+
AlertValidityStatus[AlertValidityStatus["Active"] = 2] = "Active";
|
|
80
|
+
/**
|
|
81
|
+
* When all validation fingerprints associated to the alert are not exploitable.
|
|
82
|
+
*/
|
|
83
|
+
AlertValidityStatus[AlertValidityStatus["Inactive"] = 3] = "Inactive";
|
|
48
84
|
})(AlertValidityStatus = exports.AlertValidityStatus || (exports.AlertValidityStatus = {}));
|
|
49
85
|
var AnalysisConfigurationType;
|
|
50
86
|
(function (AnalysisConfigurationType) {
|
|
@@ -308,27 +344,23 @@ define(["require", "exports"], function (require, exports) {
|
|
|
308
344
|
*/
|
|
309
345
|
State[State["AutoDismissed"] = 8] = "AutoDismissed";
|
|
310
346
|
})(State = exports.State || (exports.State = {}));
|
|
311
|
-
var
|
|
312
|
-
(function (
|
|
313
|
-
/**
|
|
314
|
-
* Default value, no information about the status of validation can be inferred for the secret.
|
|
315
|
-
*/
|
|
316
|
-
ValidationStatus[ValidationStatus["None"] = 0] = "None";
|
|
347
|
+
var ValidationResult;
|
|
348
|
+
(function (ValidationResult) {
|
|
317
349
|
/**
|
|
318
|
-
*
|
|
350
|
+
* Default value, no information about the secret can be inferred from this.
|
|
319
351
|
*/
|
|
320
|
-
|
|
352
|
+
ValidationResult[ValidationResult["None"] = 0] = "None";
|
|
321
353
|
/**
|
|
322
|
-
*
|
|
354
|
+
* Represents a secret that can be used to connect to a resource.
|
|
323
355
|
*/
|
|
324
|
-
|
|
356
|
+
ValidationResult[ValidationResult["Exploitable"] = 1] = "Exploitable";
|
|
325
357
|
/**
|
|
326
|
-
*
|
|
358
|
+
* Represents a secret that can't be used to connect to a resource.
|
|
327
359
|
*/
|
|
328
|
-
|
|
360
|
+
ValidationResult[ValidationResult["NotExploitable"] = 2] = "NotExploitable";
|
|
329
361
|
/**
|
|
330
|
-
*
|
|
362
|
+
* Represents a secret where no determination can be made about its exploitability.
|
|
331
363
|
*/
|
|
332
|
-
|
|
333
|
-
})(
|
|
364
|
+
ValidationResult[ValidationResult["Inconclusive"] = 3] = "Inconclusive";
|
|
365
|
+
})(ValidationResult = exports.ValidationResult || (exports.ValidationResult = {}));
|
|
334
366
|
});
|
package/Alert/Alert.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.None=0]="None",e[e.Minimal=1]="Minimal"}(n.AlertListExpandOption||(n.AlertListExpandOption={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.Secret=2]="Secret",e[e.Code=3]="Code",e[e.License=4]="License"}(n.AlertType||(n.AlertType={}));!function(e){e[e.
|
|
1
|
+
define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.None=0]="None",e[e.Minimal=1]="Minimal"}(n.AlertListExpandOption||(n.AlertListExpandOption={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.Secret=2]="Secret",e[e.Code=3]="Code",e[e.License=4]="License"}(n.AlertType||(n.AlertType={}));!function(e){e[e.None=0]="None",e[e.Created=1]="Created",e[e.InProgress=2]="InProgress",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed"}(n.AlertValidationRequestStatus||(n.AlertValidationRequestStatus={}));!function(e){e[e.None=0]="None",e[e.Unknown=1]="Unknown",e[e.Active=2]="Active",e[e.Inactive=3]="Inactive"}(n.AlertValidityStatus||(n.AlertValidityStatus={}));!function(e){e[e.Default=0]="Default",e[e.AdoPipeline=1]="AdoPipeline"}(n.AnalysisConfigurationType||(n.AnalysisConfigurationType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.NuGet=1]="NuGet",e[e.Npm=2]="Npm",e[e.Maven=3]="Maven",e[e.Git=4]="Git",e[e.Other=5]="Other",e[e.RubyGems=6]="RubyGems",e[e.Cargo=7]="Cargo",e[e.Pip=8]="Pip",e[e.File=9]="File",e[e.Go=10]="Go",e[e.DockerImage=11]="DockerImage",e[e.Pod=12]="Pod",e[e.Linux=13]="Linux",e[e.Conda=14]="Conda",e[e.DockerReference=15]="DockerReference",e[e.Vcpkg=16]="Vcpkg"}(n.ComponentType||(n.ComponentType={}));!function(e){e[e.High=0]="High",e[e.Other=1]="Other"}(n.Confidence||(n.Confidence={}));!function(e){e[e.Unknown=0]="Unknown",e[e.RootDependency=1]="RootDependency",e[e.Component=2]="Component",e[e.VulnerableDependency=3]="VulnerableDependency"}(n.DependencyKind||(n.DependencyKind={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Fixed=1]="Fixed",e[e.AcceptedRisk=2]="AcceptedRisk",e[e.FalsePositive=3]="FalsePositive",e[e.AgreedToGuidance=4]="AgreedToGuidance",e[e.ToolUpgrade=5]="ToolUpgrade"}(n.DismissalType||(n.DismissalType={}));!function(e){e[e.None=0]="None",e[e.ValidationFingerprint=1]="ValidationFingerprint"}(n.ExpandOption||(n.ExpandOption={}));!function(e){e[e.Unknown=0]="Unknown",e[e.NotHarvested=1]="NotHarvested",e[e.Harvested=2]="Harvested"}(n.LicenseState||(n.LicenseState={}));!function(e){e[e.None=0]="None",e[e.Created=1]="Created",e[e.Updated=2]="Updated",e[e.Deleted=3]="Deleted"}(n.MetadataChangeType||(n.MetadataChangeType={}));!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Remove=2]="Remove"}(n.MetadataOperation||(n.MetadataOperation={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Dependency=1]="Dependency",e[e.VersionControl=2]="VersionControl"}(n.ResultType||(n.ResultType={}));!function(e){e[e.New=0]="New",e[e.Queued=1]="Queued",e[e.Completed=2]="Completed",e[e.Failed=3]="Failed",e[e.Requeued=4]="Requeued"}(n.SarifJobStatus||(n.SarifJobStatus={}));!function(e){e[e.Low=0]="Low",e[e.Medium=1]="Medium",e[e.High=2]="High",e[e.Critical=3]="Critical",e[e.Note=4]="Note",e[e.Warning=5]="Warning",e[e.Error=6]="Error",e[e.Undefined=7]="Undefined"}(n.Severity||(n.Severity={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Active=1]="Active",e[e.Dismissed=2]="Dismissed",e[e.Fixed=4]="Fixed",e[e.AutoDismissed=8]="AutoDismissed"}(n.State||(n.State={}));!function(e){e[e.None=0]="None",e[e.Exploitable=1]="Exploitable",e[e.NotExploitable=2]="NotExploitable",e[e.Inconclusive=3]="Inconclusive"}(n.ValidationResult||(n.ValidationResult={}))});
|
package/Alert/AlertClient.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export declare class AlertRestClient extends RestClientBase {
|
|
|
111
111
|
* @param repository - The name or ID of a repository
|
|
112
112
|
* @param alertId - The ID of the alert
|
|
113
113
|
*/
|
|
114
|
-
getValidityData(project: string, repository: string, alertId: number): Promise<Alert.
|
|
114
|
+
getValidityData(project: string, repository: string, alertId: number): Promise<Alert.ValidationRequestInfo>;
|
|
115
115
|
/**
|
|
116
116
|
* Initiate the validation process for a given alert
|
|
117
117
|
*
|
|
@@ -119,5 +119,5 @@ export declare class AlertRestClient extends RestClientBase {
|
|
|
119
119
|
* @param repository - The name or ID of a repository
|
|
120
120
|
* @param alertId - The ID of the alert
|
|
121
121
|
*/
|
|
122
|
-
initiateValidation(project: string, repository: string, alertId: number): Promise<Alert.
|
|
122
|
+
initiateValidation(project: string, repository: string, alertId: number): Promise<Alert.AlertValidationRequestStatus>;
|
|
123
123
|
}
|
|
@@ -506,6 +506,10 @@ export interface ExtensionManifest {
|
|
|
506
506
|
* Version of the extension manifest format/content
|
|
507
507
|
*/
|
|
508
508
|
manifestVersion: number;
|
|
509
|
+
/**
|
|
510
|
+
* Marketplace uri used as base for other relative uris defined in extension. Uri might be the same as BaseUri.
|
|
511
|
+
*/
|
|
512
|
+
marketplaceBaseUri: string;
|
|
509
513
|
/**
|
|
510
514
|
* Default user claims applied to all contributions (except the ones which have been specified restrictedTo explicitly) to control the visibility of a contribution.
|
|
511
515
|
*/
|
|
@@ -783,6 +783,10 @@ export interface ExtensionManifest {
|
|
|
783
783
|
* Version of the extension manifest format/content
|
|
784
784
|
*/
|
|
785
785
|
manifestVersion: number;
|
|
786
|
+
/**
|
|
787
|
+
* Marketplace uri used as base for other relative uris defined in extension. Uri might be the same as BaseUri.
|
|
788
|
+
*/
|
|
789
|
+
marketplaceBaseUri: string;
|
|
786
790
|
/**
|
|
787
791
|
* Default user claims applied to all contributions (except the ones which have been specified restrictedTo explicitly) to control the visibility of a contribution.
|
|
788
792
|
*/
|
package/Git/Git.d.ts
CHANGED
|
@@ -1962,10 +1962,27 @@ export interface GitPullRequestQuery {
|
|
|
1962
1962
|
[key: string]: GitPullRequest[];
|
|
1963
1963
|
}[];
|
|
1964
1964
|
}
|
|
1965
|
+
/**
|
|
1966
|
+
* Options for including additional elements in the pull request query response.
|
|
1967
|
+
*/
|
|
1968
|
+
export declare enum GitPullRequestQueryIncludeOptions {
|
|
1969
|
+
/**
|
|
1970
|
+
* No additional elements included.
|
|
1971
|
+
*/
|
|
1972
|
+
NotSet = 0,
|
|
1973
|
+
/**
|
|
1974
|
+
* Enforces adding associated labels to the response.
|
|
1975
|
+
*/
|
|
1976
|
+
Labels = 1
|
|
1977
|
+
}
|
|
1965
1978
|
/**
|
|
1966
1979
|
* Pull request query input parameters.
|
|
1967
1980
|
*/
|
|
1968
1981
|
export interface GitPullRequestQueryInput {
|
|
1982
|
+
/**
|
|
1983
|
+
* Options for including additional PR properties in the response.
|
|
1984
|
+
*/
|
|
1985
|
+
include: GitPullRequestQueryIncludeOptions;
|
|
1969
1986
|
/**
|
|
1970
1987
|
* The list of commit IDs to search for.
|
|
1971
1988
|
*/
|
|
@@ -2363,6 +2380,10 @@ export declare enum GitRefUpdateStatus {
|
|
|
2363
2380
|
}
|
|
2364
2381
|
export interface GitRepository {
|
|
2365
2382
|
_links: any;
|
|
2383
|
+
/**
|
|
2384
|
+
* The timestamp when the repository was created.
|
|
2385
|
+
*/
|
|
2386
|
+
creationDate: Date;
|
|
2366
2387
|
defaultBranch: string;
|
|
2367
2388
|
id: string;
|
|
2368
2389
|
/**
|
package/Git/Git.js
CHANGED
|
@@ -290,6 +290,20 @@ define(["require", "exports"], function (require, exports) {
|
|
|
290
290
|
*/
|
|
291
291
|
GitPullRequestMergeStrategy[GitPullRequestMergeStrategy["RebaseMerge"] = 4] = "RebaseMerge";
|
|
292
292
|
})(GitPullRequestMergeStrategy = exports.GitPullRequestMergeStrategy || (exports.GitPullRequestMergeStrategy = {}));
|
|
293
|
+
/**
|
|
294
|
+
* Options for including additional elements in the pull request query response.
|
|
295
|
+
*/
|
|
296
|
+
var GitPullRequestQueryIncludeOptions;
|
|
297
|
+
(function (GitPullRequestQueryIncludeOptions) {
|
|
298
|
+
/**
|
|
299
|
+
* No additional elements included.
|
|
300
|
+
*/
|
|
301
|
+
GitPullRequestQueryIncludeOptions[GitPullRequestQueryIncludeOptions["NotSet"] = 0] = "NotSet";
|
|
302
|
+
/**
|
|
303
|
+
* Enforces adding associated labels to the response.
|
|
304
|
+
*/
|
|
305
|
+
GitPullRequestQueryIncludeOptions[GitPullRequestQueryIncludeOptions["Labels"] = 1] = "Labels";
|
|
306
|
+
})(GitPullRequestQueryIncludeOptions = exports.GitPullRequestQueryIncludeOptions || (exports.GitPullRequestQueryIncludeOptions = {}));
|
|
293
307
|
/**
|
|
294
308
|
* Accepted types of pull request queries.
|
|
295
309
|
*/
|
package/Git/Git.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
define(["require","exports"],function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e[e.Unknown=0]="Unknown",e[e.Active=1]="Active",e[e.Fixed=2]="Fixed",e[e.WontFix=3]="WontFix",e[e.Closed=4]="Closed",e[e.ByDesign=5]="ByDesign",e[e.Pending=6]="Pending"}(t.CommentThreadStatus||(t.CommentThreadStatus={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.CodeChange=2]="CodeChange",e[e.System=3]="System"}(t.CommentType||(t.CommentType={}));!function(e){e[e.Queued=1]="Queued",e[e.InProgress=2]="InProgress",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed",e[e.Abandoned=5]="Abandoned"}(t.GitAsyncOperationStatus||(t.GitAsyncOperationStatus={}));!function(e){e[e.None=0]="None",e[e.InvalidRefName=1]="InvalidRefName",e[e.RefNameConflict=2]="RefNameConflict",e[e.CreateBranchPermissionRequired=3]="CreateBranchPermissionRequired",e[e.WritePermissionRequired=4]="WritePermissionRequired",e[e.TargetBranchDeleted=5]="TargetBranchDeleted",e[e.GitObjectTooLarge=6]="GitObjectTooLarge",e[e.OperationIndentityNotFound=7]="OperationIndentityNotFound",e[e.AsyncOperationNotFound=8]="AsyncOperationNotFound",e[e.Other=9]="Other",e[e.EmptyCommitterSignature=10]="EmptyCommitterSignature"}(t.GitAsyncRefOperationFailureStatus||(t.GitAsyncRefOperationFailureStatus={}));!function(e){e[e.None=0]="None",e[e.AddAdd=1]="AddAdd",e[e.AddRename=2]="AddRename",e[e.DeleteEdit=3]="DeleteEdit",e[e.DeleteRename=4]="DeleteRename",e[e.DirectoryFile=5]="DirectoryFile",e[e.DirectoryChild=6]="DirectoryChild",e[e.EditDelete=7]="EditDelete",e[e.EditEdit=8]="EditEdit",e[e.FileDirectory=9]="FileDirectory",e[e.Rename1to2=10]="Rename1to2",e[e.Rename2to1=11]="Rename2to1",e[e.RenameAdd=12]="RenameAdd",e[e.RenameDelete=13]="RenameDelete",e[e.RenameRename=14]="RenameRename"}(t.GitConflictType||(t.GitConflictType={}));!function(e){e[e.Succeeded=0]="Succeeded",e[e.BadRequest=1]="BadRequest",e[e.InvalidResolution=2]="InvalidResolution",e[e.UnsupportedConflictType=3]="UnsupportedConflictType",e[e.NotFound=4]="NotFound"}(t.GitConflictUpdateStatus||(t.GitConflictUpdateStatus={}));!function(e){e[e.SimplifiedHistory=0]="SimplifiedHistory",e[e.FirstParent=1]="FirstParent",e[e.FullHistory=2]="FullHistory",e[e.FullHistorySimplifyMerges=3]="FullHistorySimplifyMerges"}(t.GitHistoryMode||(t.GitHistoryMode={}));!function(e){e[e.Bad=0]="Bad",e[e.Commit=1]="Commit",e[e.Tree=2]="Tree",e[e.Blob=3]="Blob",e[e.Tag=4]="Tag",e[e.Ext2=5]="Ext2",e[e.OfsDelta=6]="OfsDelta",e[e.RefDelta=7]="RefDelta"}(t.GitObjectType||(t.GitObjectType={}));!function(e){e[e.None=0]="None",e[e.Edit=1]="Edit",e[e.Delete=2]="Delete",e[e.Add=3]="Add",e[e.Rename=4]="Rename"}(t.GitPathActions||(t.GitPathActions={}));!function(e){e[e.NoFastForward=1]="NoFastForward",e[e.Squash=2]="Squash",e[e.Rebase=3]="Rebase",e[e.RebaseMerge=4]="RebaseMerge"}(t.GitPullRequestMergeStrategy||(t.GitPullRequestMergeStrategy={}));!function(e){e[e.NotSet=0]="NotSet",e[e.LastMergeCommit=1]="LastMergeCommit",e[e.Commit=2]="Commit"}(t.GitPullRequestQueryType||(t.GitPullRequestQueryType={}));!function(e){e[e.ChangeEntry=0]="ChangeEntry",e[e.Attachment=1]="Attachment"}(t.GitPullRequestReviewFileType||(t.GitPullRequestReviewFileType={}));!function(e){e[e.Exact=0]="Exact",e[e.StartsWith=1]="StartsWith",e[e.Contains=2]="Contains"}(t.GitRefSearchType||(t.GitRefSearchType={}));!function(e){e[e.BestEffort=0]="BestEffort",e[e.AllOrNone=1]="AllOrNone"}(t.GitRefUpdateMode||(t.GitRefUpdateMode={}));!function(e){e[e.Succeeded=0]="Succeeded",e[e.ForcePushRequired=1]="ForcePushRequired",e[e.StaleOldObjectId=2]="StaleOldObjectId",e[e.InvalidRefName=3]="InvalidRefName",e[e.Unprocessed=4]="Unprocessed",e[e.UnresolvableToCommit=5]="UnresolvableToCommit",e[e.WritePermissionRequired=6]="WritePermissionRequired",e[e.ManageNotePermissionRequired=7]="ManageNotePermissionRequired",e[e.CreateBranchPermissionRequired=8]="CreateBranchPermissionRequired",e[e.CreateTagPermissionRequired=9]="CreateTagPermissionRequired",e[e.RejectedByPlugin=10]="RejectedByPlugin",e[e.Locked=11]="Locked",e[e.RefNameConflict=12]="RefNameConflict",e[e.RejectedByPolicy=13]="RejectedByPolicy",e[e.SucceededNonExistentRef=14]="SucceededNonExistentRef",e[e.SucceededCorruptRef=15]="SucceededCorruptRef"}(t.GitRefUpdateStatus||(t.GitRefUpdateStatus={}));!function(e){e[e.None=0]="None",e[e.MergeContentNotFound=1]="MergeContentNotFound",e[e.PathInUse=2]="PathInUse",e[e.InvalidPath=3]="InvalidPath",e[e.UnknownAction=4]="UnknownAction",e[e.UnknownMergeType=5]="UnknownMergeType",e[e.OtherError=255]="OtherError"}(t.GitResolutionError||(t.GitResolutionError={}));!function(e){e[e.Undecided=0]="Undecided",e[e.TakeSourceContent=1]="TakeSourceContent",e[e.TakeTargetContent=2]="TakeTargetContent",e[e.AutoMerged=3]="AutoMerged",e[e.UserMerged=4]="UserMerged"}(t.GitResolutionMergeType||(t.GitResolutionMergeType={}));!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourceRenameTarget=1]="KeepSourceRenameTarget",e[e.KeepSourceDeleteTarget=2]="KeepSourceDeleteTarget",e[e.KeepTargetRenameSource=3]="KeepTargetRenameSource",e[e.KeepTargetDeleteSource=4]="KeepTargetDeleteSource"}(t.GitResolutionPathConflictAction||(t.GitResolutionPathConflictAction={}));!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourcePath=1]="KeepSourcePath",e[e.KeepTargetPath=2]="KeepTargetPath",e[e.KeepBothFiles=3]="KeepBothFiles"}(t.GitResolutionRename1to2Action||(t.GitResolutionRename1to2Action={}));!function(e){e[e.Unresolved=0]="Unresolved",e[e.PartiallyResolved=1]="PartiallyResolved",e[e.Resolved=2]="Resolved"}(t.GitResolutionStatus||(t.GitResolutionStatus={}));!function(e){e[e.Undecided=0]="Undecided",e[e.PickSourceAction=1]="PickSourceAction",e[e.PickTargetAction=2]="PickTargetAction"}(t.GitResolutionWhichAction||(t.GitResolutionWhichAction={}));!function(e){e[e.NotSet=0]="NotSet",e[e.Pending=1]="Pending",e[e.Succeeded=2]="Succeeded",e[e.Failed=3]="Failed",e[e.Error=4]="Error",e[e.NotApplicable=5]="NotApplicable",e[e.PartiallySucceeded=6]="PartiallySucceeded"}(t.GitStatusState||(t.GitStatusState={}));!function(e){e[e.None=0]="None",e[e.PreviousChange=1]="PreviousChange",e[e.FirstParent=2]="FirstParent"}(t.GitVersionOptions||(t.GitVersionOptions={}));!function(e){e[e.Branch=0]="Branch",e[e.Tag=1]="Tag",e[e.Commit=2]="Commit"}(t.GitVersionType||(t.GitVersionType={}));!function(e){e[e.RawText=0]="RawText",e[e.Base64Encoded=1]="Base64Encoded"}(t.ItemContentType||(t.ItemContentType={}));!function(e){e[e.Push=0]="Push",e[e.ForcePush=1]="ForcePush",e[e.Create=2]="Create",e[e.Rebase=4]="Rebase",e[e.Unknown=8]="Unknown",e[e.Retarget=16]="Retarget",e[e.ResolveConflicts=32]="ResolveConflicts"}(t.IterationReason||(t.IterationReason={}));!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Delete=2]="Delete",e[e.Edit=3]="Edit"}(t.LineDiffBlockChangeType||(t.LineDiffBlockChangeType={}));!function(e){e[e.NotSet=0]="NotSet",e[e.Queued=1]="Queued",e[e.Conflicts=2]="Conflicts",e[e.Succeeded=3]="Succeeded",e[e.RejectedByPolicy=4]="RejectedByPolicy",e[e.Failure=5]="Failure"}(t.PullRequestAsyncStatus||(t.PullRequestAsyncStatus={}));!function(e){e[e.None=0]="None",e[e.Unknown=1]="Unknown",e[e.CaseSensitive=2]="CaseSensitive",e[e.ObjectTooLarge=3]="ObjectTooLarge"}(t.PullRequestMergeFailureType||(t.PullRequestMergeFailureType={}));!function(e){e[e.NotSet=0]="NotSet",e[e.Active=1]="Active",e[e.Abandoned=2]="Abandoned",e[e.Completed=3]="Completed",e[e.All=4]="All"}(t.PullRequestStatus||(t.PullRequestStatus={}));!function(e){e[e.Created=1]="Created",e[e.Closed=2]="Closed"}(t.PullRequestTimeRangeType||(t.PullRequestTimeRangeType={}));!function(e){e[e.Invalid=0]="Invalid",e[e.Folder=1]="Folder",e[e.Ref=2]="Ref"}(t.RefFavoriteType||(t.RefFavoriteType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.AndroidStudio=1]="AndroidStudio",e[e.AppCode=2]="AppCode",e[e.CLion=3]="CLion",e[e.DataGrip=4]="DataGrip",e[e.Eclipse=13]="Eclipse",e[e.IntelliJ=5]="IntelliJ",e[e.MPS=6]="MPS",e[e.PhpStorm=7]="PhpStorm",e[e.PyCharm=8]="PyCharm",e[e.RubyMine=9]="RubyMine",e[e.Tower=10]="Tower",e[e.VisualStudio=11]="VisualStudio",e[e.VSCode=14]="VSCode",e[e.WebStorm=12]="WebStorm"}(t.SupportedIdeType||(t.SupportedIdeType={}));!function(e){e[e.None=0]="None",e[e.Previous=1]="Previous",e[e.UseRename=2]="UseRename"}(t.TfvcVersionOption||(t.TfvcVersionOption={}));!function(e){e[e.None=0]="None",e[e.Changeset=1]="Changeset",e[e.Shelveset=2]="Shelveset",e[e.Change=3]="Change",e[e.Date=4]="Date",e[e.Latest=5]="Latest",e[e.Tip=6]="Tip",e[e.MergeSource=7]="MergeSource"}(t.TfvcVersionType||(t.TfvcVersionType={}));!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Edit=2]="Edit",e[e.Encoding=4]="Encoding",e[e.Rename=8]="Rename",e[e.Delete=16]="Delete",e[e.Undelete=32]="Undelete",e[e.Branch=64]="Branch",e[e.Merge=128]="Merge",e[e.Lock=256]="Lock",e[e.Rollback=512]="Rollback",e[e.SourceRename=1024]="SourceRename",e[e.TargetRename=2048]="TargetRename",e[e.Property=4096]="Property",e[e.All=8191]="All"}(t.VersionControlChangeType||(t.VersionControlChangeType={}));!function(e){e[e.None=0]="None",e[e.OneLevel=1]="OneLevel",e[e.OneLevelPlusNestedEmptyFolders=4]="OneLevelPlusNestedEmptyFolders",e[e.Full=120]="Full"}(t.VersionControlRecursionType||(t.VersionControlRecursionType={}))});
|
|
1
|
+
define(["require","exports"],function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e[e.Unknown=0]="Unknown",e[e.Active=1]="Active",e[e.Fixed=2]="Fixed",e[e.WontFix=3]="WontFix",e[e.Closed=4]="Closed",e[e.ByDesign=5]="ByDesign",e[e.Pending=6]="Pending"}(t.CommentThreadStatus||(t.CommentThreadStatus={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.CodeChange=2]="CodeChange",e[e.System=3]="System"}(t.CommentType||(t.CommentType={}));!function(e){e[e.Queued=1]="Queued",e[e.InProgress=2]="InProgress",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed",e[e.Abandoned=5]="Abandoned"}(t.GitAsyncOperationStatus||(t.GitAsyncOperationStatus={}));!function(e){e[e.None=0]="None",e[e.InvalidRefName=1]="InvalidRefName",e[e.RefNameConflict=2]="RefNameConflict",e[e.CreateBranchPermissionRequired=3]="CreateBranchPermissionRequired",e[e.WritePermissionRequired=4]="WritePermissionRequired",e[e.TargetBranchDeleted=5]="TargetBranchDeleted",e[e.GitObjectTooLarge=6]="GitObjectTooLarge",e[e.OperationIndentityNotFound=7]="OperationIndentityNotFound",e[e.AsyncOperationNotFound=8]="AsyncOperationNotFound",e[e.Other=9]="Other",e[e.EmptyCommitterSignature=10]="EmptyCommitterSignature"}(t.GitAsyncRefOperationFailureStatus||(t.GitAsyncRefOperationFailureStatus={}));!function(e){e[e.None=0]="None",e[e.AddAdd=1]="AddAdd",e[e.AddRename=2]="AddRename",e[e.DeleteEdit=3]="DeleteEdit",e[e.DeleteRename=4]="DeleteRename",e[e.DirectoryFile=5]="DirectoryFile",e[e.DirectoryChild=6]="DirectoryChild",e[e.EditDelete=7]="EditDelete",e[e.EditEdit=8]="EditEdit",e[e.FileDirectory=9]="FileDirectory",e[e.Rename1to2=10]="Rename1to2",e[e.Rename2to1=11]="Rename2to1",e[e.RenameAdd=12]="RenameAdd",e[e.RenameDelete=13]="RenameDelete",e[e.RenameRename=14]="RenameRename"}(t.GitConflictType||(t.GitConflictType={}));!function(e){e[e.Succeeded=0]="Succeeded",e[e.BadRequest=1]="BadRequest",e[e.InvalidResolution=2]="InvalidResolution",e[e.UnsupportedConflictType=3]="UnsupportedConflictType",e[e.NotFound=4]="NotFound"}(t.GitConflictUpdateStatus||(t.GitConflictUpdateStatus={}));!function(e){e[e.SimplifiedHistory=0]="SimplifiedHistory",e[e.FirstParent=1]="FirstParent",e[e.FullHistory=2]="FullHistory",e[e.FullHistorySimplifyMerges=3]="FullHistorySimplifyMerges"}(t.GitHistoryMode||(t.GitHistoryMode={}));!function(e){e[e.Bad=0]="Bad",e[e.Commit=1]="Commit",e[e.Tree=2]="Tree",e[e.Blob=3]="Blob",e[e.Tag=4]="Tag",e[e.Ext2=5]="Ext2",e[e.OfsDelta=6]="OfsDelta",e[e.RefDelta=7]="RefDelta"}(t.GitObjectType||(t.GitObjectType={}));!function(e){e[e.None=0]="None",e[e.Edit=1]="Edit",e[e.Delete=2]="Delete",e[e.Add=3]="Add",e[e.Rename=4]="Rename"}(t.GitPathActions||(t.GitPathActions={}));!function(e){e[e.NoFastForward=1]="NoFastForward",e[e.Squash=2]="Squash",e[e.Rebase=3]="Rebase",e[e.RebaseMerge=4]="RebaseMerge"}(t.GitPullRequestMergeStrategy||(t.GitPullRequestMergeStrategy={}));!function(e){e[e.NotSet=0]="NotSet",e[e.Labels=1]="Labels"}(t.GitPullRequestQueryIncludeOptions||(t.GitPullRequestQueryIncludeOptions={}));!function(e){e[e.NotSet=0]="NotSet",e[e.LastMergeCommit=1]="LastMergeCommit",e[e.Commit=2]="Commit"}(t.GitPullRequestQueryType||(t.GitPullRequestQueryType={}));!function(e){e[e.ChangeEntry=0]="ChangeEntry",e[e.Attachment=1]="Attachment"}(t.GitPullRequestReviewFileType||(t.GitPullRequestReviewFileType={}));!function(e){e[e.Exact=0]="Exact",e[e.StartsWith=1]="StartsWith",e[e.Contains=2]="Contains"}(t.GitRefSearchType||(t.GitRefSearchType={}));!function(e){e[e.BestEffort=0]="BestEffort",e[e.AllOrNone=1]="AllOrNone"}(t.GitRefUpdateMode||(t.GitRefUpdateMode={}));!function(e){e[e.Succeeded=0]="Succeeded",e[e.ForcePushRequired=1]="ForcePushRequired",e[e.StaleOldObjectId=2]="StaleOldObjectId",e[e.InvalidRefName=3]="InvalidRefName",e[e.Unprocessed=4]="Unprocessed",e[e.UnresolvableToCommit=5]="UnresolvableToCommit",e[e.WritePermissionRequired=6]="WritePermissionRequired",e[e.ManageNotePermissionRequired=7]="ManageNotePermissionRequired",e[e.CreateBranchPermissionRequired=8]="CreateBranchPermissionRequired",e[e.CreateTagPermissionRequired=9]="CreateTagPermissionRequired",e[e.RejectedByPlugin=10]="RejectedByPlugin",e[e.Locked=11]="Locked",e[e.RefNameConflict=12]="RefNameConflict",e[e.RejectedByPolicy=13]="RejectedByPolicy",e[e.SucceededNonExistentRef=14]="SucceededNonExistentRef",e[e.SucceededCorruptRef=15]="SucceededCorruptRef"}(t.GitRefUpdateStatus||(t.GitRefUpdateStatus={}));!function(e){e[e.None=0]="None",e[e.MergeContentNotFound=1]="MergeContentNotFound",e[e.PathInUse=2]="PathInUse",e[e.InvalidPath=3]="InvalidPath",e[e.UnknownAction=4]="UnknownAction",e[e.UnknownMergeType=5]="UnknownMergeType",e[e.OtherError=255]="OtherError"}(t.GitResolutionError||(t.GitResolutionError={}));!function(e){e[e.Undecided=0]="Undecided",e[e.TakeSourceContent=1]="TakeSourceContent",e[e.TakeTargetContent=2]="TakeTargetContent",e[e.AutoMerged=3]="AutoMerged",e[e.UserMerged=4]="UserMerged"}(t.GitResolutionMergeType||(t.GitResolutionMergeType={}));!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourceRenameTarget=1]="KeepSourceRenameTarget",e[e.KeepSourceDeleteTarget=2]="KeepSourceDeleteTarget",e[e.KeepTargetRenameSource=3]="KeepTargetRenameSource",e[e.KeepTargetDeleteSource=4]="KeepTargetDeleteSource"}(t.GitResolutionPathConflictAction||(t.GitResolutionPathConflictAction={}));!function(e){e[e.Undecided=0]="Undecided",e[e.KeepSourcePath=1]="KeepSourcePath",e[e.KeepTargetPath=2]="KeepTargetPath",e[e.KeepBothFiles=3]="KeepBothFiles"}(t.GitResolutionRename1to2Action||(t.GitResolutionRename1to2Action={}));!function(e){e[e.Unresolved=0]="Unresolved",e[e.PartiallyResolved=1]="PartiallyResolved",e[e.Resolved=2]="Resolved"}(t.GitResolutionStatus||(t.GitResolutionStatus={}));!function(e){e[e.Undecided=0]="Undecided",e[e.PickSourceAction=1]="PickSourceAction",e[e.PickTargetAction=2]="PickTargetAction"}(t.GitResolutionWhichAction||(t.GitResolutionWhichAction={}));!function(e){e[e.NotSet=0]="NotSet",e[e.Pending=1]="Pending",e[e.Succeeded=2]="Succeeded",e[e.Failed=3]="Failed",e[e.Error=4]="Error",e[e.NotApplicable=5]="NotApplicable",e[e.PartiallySucceeded=6]="PartiallySucceeded"}(t.GitStatusState||(t.GitStatusState={}));!function(e){e[e.None=0]="None",e[e.PreviousChange=1]="PreviousChange",e[e.FirstParent=2]="FirstParent"}(t.GitVersionOptions||(t.GitVersionOptions={}));!function(e){e[e.Branch=0]="Branch",e[e.Tag=1]="Tag",e[e.Commit=2]="Commit"}(t.GitVersionType||(t.GitVersionType={}));!function(e){e[e.RawText=0]="RawText",e[e.Base64Encoded=1]="Base64Encoded"}(t.ItemContentType||(t.ItemContentType={}));!function(e){e[e.Push=0]="Push",e[e.ForcePush=1]="ForcePush",e[e.Create=2]="Create",e[e.Rebase=4]="Rebase",e[e.Unknown=8]="Unknown",e[e.Retarget=16]="Retarget",e[e.ResolveConflicts=32]="ResolveConflicts"}(t.IterationReason||(t.IterationReason={}));!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Delete=2]="Delete",e[e.Edit=3]="Edit"}(t.LineDiffBlockChangeType||(t.LineDiffBlockChangeType={}));!function(e){e[e.NotSet=0]="NotSet",e[e.Queued=1]="Queued",e[e.Conflicts=2]="Conflicts",e[e.Succeeded=3]="Succeeded",e[e.RejectedByPolicy=4]="RejectedByPolicy",e[e.Failure=5]="Failure"}(t.PullRequestAsyncStatus||(t.PullRequestAsyncStatus={}));!function(e){e[e.None=0]="None",e[e.Unknown=1]="Unknown",e[e.CaseSensitive=2]="CaseSensitive",e[e.ObjectTooLarge=3]="ObjectTooLarge"}(t.PullRequestMergeFailureType||(t.PullRequestMergeFailureType={}));!function(e){e[e.NotSet=0]="NotSet",e[e.Active=1]="Active",e[e.Abandoned=2]="Abandoned",e[e.Completed=3]="Completed",e[e.All=4]="All"}(t.PullRequestStatus||(t.PullRequestStatus={}));!function(e){e[e.Created=1]="Created",e[e.Closed=2]="Closed"}(t.PullRequestTimeRangeType||(t.PullRequestTimeRangeType={}));!function(e){e[e.Invalid=0]="Invalid",e[e.Folder=1]="Folder",e[e.Ref=2]="Ref"}(t.RefFavoriteType||(t.RefFavoriteType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.AndroidStudio=1]="AndroidStudio",e[e.AppCode=2]="AppCode",e[e.CLion=3]="CLion",e[e.DataGrip=4]="DataGrip",e[e.Eclipse=13]="Eclipse",e[e.IntelliJ=5]="IntelliJ",e[e.MPS=6]="MPS",e[e.PhpStorm=7]="PhpStorm",e[e.PyCharm=8]="PyCharm",e[e.RubyMine=9]="RubyMine",e[e.Tower=10]="Tower",e[e.VisualStudio=11]="VisualStudio",e[e.VSCode=14]="VSCode",e[e.WebStorm=12]="WebStorm"}(t.SupportedIdeType||(t.SupportedIdeType={}));!function(e){e[e.None=0]="None",e[e.Previous=1]="Previous",e[e.UseRename=2]="UseRename"}(t.TfvcVersionOption||(t.TfvcVersionOption={}));!function(e){e[e.None=0]="None",e[e.Changeset=1]="Changeset",e[e.Shelveset=2]="Shelveset",e[e.Change=3]="Change",e[e.Date=4]="Date",e[e.Latest=5]="Latest",e[e.Tip=6]="Tip",e[e.MergeSource=7]="MergeSource"}(t.TfvcVersionType||(t.TfvcVersionType={}));!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Edit=2]="Edit",e[e.Encoding=4]="Encoding",e[e.Rename=8]="Rename",e[e.Delete=16]="Delete",e[e.Undelete=32]="Undelete",e[e.Branch=64]="Branch",e[e.Merge=128]="Merge",e[e.Lock=256]="Lock",e[e.Rollback=512]="Rollback",e[e.SourceRename=1024]="SourceRename",e[e.TargetRename=2048]="TargetRename",e[e.Property=4096]="Property",e[e.All=8191]="All"}(t.VersionControlChangeType||(t.VersionControlChangeType={}));!function(e){e[e.None=0]="None",e[e.OneLevel=1]="OneLevel",e[e.OneLevelPlusNestedEmptyFolders=4]="OneLevelPlusNestedEmptyFolders",e[e.Full=120]="Full"}(t.VersionControlRecursionType||(t.VersionControlRecursionType={}))});
|
package/Git/GitClient.js
CHANGED
|
@@ -3766,7 +3766,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3766
3766
|
sourceRef: sourceRef
|
|
3767
3767
|
};
|
|
3768
3768
|
return [2 /*return*/, this.beginRequest({
|
|
3769
|
-
apiVersion: "7.2-preview.
|
|
3769
|
+
apiVersion: "7.2-preview.2",
|
|
3770
3770
|
method: "POST",
|
|
3771
3771
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3772
3772
|
routeValues: {
|
|
@@ -3788,7 +3788,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3788
3788
|
return __awaiter(this, void 0, void 0, function () {
|
|
3789
3789
|
return __generator(this, function (_a) {
|
|
3790
3790
|
return [2 /*return*/, this.beginRequest({
|
|
3791
|
-
apiVersion: "7.2-preview.
|
|
3791
|
+
apiVersion: "7.2-preview.2",
|
|
3792
3792
|
method: "DELETE",
|
|
3793
3793
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3794
3794
|
routeValues: {
|
|
@@ -3817,7 +3817,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3817
3817
|
includeHidden: includeHidden
|
|
3818
3818
|
};
|
|
3819
3819
|
return [2 /*return*/, this.beginRequest({
|
|
3820
|
-
apiVersion: "7.2-preview.
|
|
3820
|
+
apiVersion: "7.2-preview.2",
|
|
3821
3821
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3822
3822
|
routeValues: {
|
|
3823
3823
|
project: project
|
|
@@ -3837,7 +3837,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3837
3837
|
return __awaiter(this, void 0, void 0, function () {
|
|
3838
3838
|
return __generator(this, function (_a) {
|
|
3839
3839
|
return [2 /*return*/, this.beginRequest({
|
|
3840
|
-
apiVersion: "7.2-preview.
|
|
3840
|
+
apiVersion: "7.2-preview.2",
|
|
3841
3841
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3842
3842
|
routeValues: {
|
|
3843
3843
|
project: project,
|
|
@@ -3862,7 +3862,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3862
3862
|
includeParent: includeParent
|
|
3863
3863
|
};
|
|
3864
3864
|
return [2 /*return*/, this.beginRequest({
|
|
3865
|
-
apiVersion: "7.2-preview.
|
|
3865
|
+
apiVersion: "7.2-preview.2",
|
|
3866
3866
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3867
3867
|
routeValues: {
|
|
3868
3868
|
project: project,
|
|
@@ -3884,7 +3884,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3884
3884
|
return __awaiter(this, void 0, void 0, function () {
|
|
3885
3885
|
return __generator(this, function (_a) {
|
|
3886
3886
|
return [2 /*return*/, this.beginRequest({
|
|
3887
|
-
apiVersion: "7.2-preview.
|
|
3887
|
+
apiVersion: "7.2-preview.2",
|
|
3888
3888
|
method: "PATCH",
|
|
3889
3889
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3890
3890
|
routeValues: {
|