azure-devops-extension-api 2.224.0 → 2.226.0
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/Accounts/AccountsClient.js +3 -3
- package/Accounts/AccountsClient.min.js +1 -1
- package/Build/Build.d.ts +70 -0
- package/Build/BuildClient.js +97 -97
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/ContributionsClient.js +4 -4
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Core/CoreClient.js +33 -33
- package/Core/CoreClient.min.js +1 -1
- package/Dashboard/DashboardClient.js +13 -13
- package/Dashboard/DashboardClient.min.js +1 -1
- package/ExtensionManagement/ExtensionManagementClient.js +25 -25
- package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
- package/Favorite/FavoriteClient.js +10 -10
- package/Favorite/FavoriteClient.min.js +1 -1
- package/FeatureAvailability/FeatureAvailabilityClient.js +5 -5
- package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
- package/FeatureManagement/FeatureManagementClient.js +9 -9
- package/FeatureManagement/FeatureManagementClient.min.js +1 -1
- package/FileContainer/FileContainerClient.js +4 -4
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/Gallery/GalleryClient.js +83 -83
- package/Gallery/GalleryClient.min.js +1 -1
- package/Git/Git.d.ts +17 -0
- package/Git/GitClient.d.ts +38 -11
- package/Git/GitClient.js +269 -167
- package/Git/GitClient.min.js +1 -1
- package/Graph/GraphClient.js +40 -40
- package/Graph/GraphClient.min.js +1 -1
- package/Locations/LocationsClient.js +9 -9
- package/Locations/LocationsClient.min.js +1 -1
- package/Notification/NotificationClient.js +24 -24
- package/Notification/NotificationClient.min.js +1 -1
- package/Operations/OperationsClient.js +1 -1
- package/Operations/OperationsClient.min.js +1 -1
- package/Pipelines/PipelinesClient.js +10 -10
- package/Pipelines/PipelinesClient.min.js +1 -1
- package/Policy/PolicyClient.js +12 -12
- package/Policy/PolicyClient.min.js +1 -1
- package/Profile/ProfileClient.js +12 -12
- package/Profile/ProfileClient.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysisClient.js +4 -4
- package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
- package/Release/ReleaseClient.js +88 -88
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.js +25 -25
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceHooks/ServiceHooksClient.js +23 -23
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/TaskAgent/TaskAgentClient.js +155 -155
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/Test/TestClient.js +76 -76
- package/Test/TestClient.min.js +1 -1
- package/TestPlan/TestPlan.d.ts +17 -0
- package/TestPlan/TestPlanClient.d.ts +7 -0
- package/TestPlan/TestPlanClient.js +63 -41
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestResults/TestResultsClient.js +96 -96
- package/TestResults/TestResultsClient.min.js +1 -1
- package/Tfvc/TfvcClient.js +24 -24
- package/Tfvc/TfvcClient.min.js +1 -1
- package/Work/WorkClient.js +56 -56
- package/Work/WorkClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +3 -0
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +1 -1
- package/WorkItemTracking/WorkItemTrackingClient.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +57 -57
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +46 -46
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/package.json +1 -1
|
@@ -68,7 +68,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
68
68
|
usePrecreated: usePrecreated
|
|
69
69
|
};
|
|
70
70
|
return [2 /*return*/, this.beginRequest({
|
|
71
|
-
apiVersion: "7.
|
|
71
|
+
apiVersion: "7.2-preview.1",
|
|
72
72
|
method: "POST",
|
|
73
73
|
routeTemplate: "_apis/Accounts/{accountId}",
|
|
74
74
|
queryParams: queryValues,
|
|
@@ -84,7 +84,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
84
84
|
return __awaiter(this, void 0, void 0, function () {
|
|
85
85
|
return __generator(this, function (_a) {
|
|
86
86
|
return [2 /*return*/, this.beginRequest({
|
|
87
|
-
apiVersion: "7.
|
|
87
|
+
apiVersion: "7.2-preview.1",
|
|
88
88
|
routeTemplate: "_apis/Accounts/{accountId}",
|
|
89
89
|
routeValues: {
|
|
90
90
|
accountId: accountId
|
|
@@ -110,7 +110,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
|
|
|
110
110
|
properties: properties
|
|
111
111
|
};
|
|
112
112
|
return [2 /*return*/, this.beginRequest({
|
|
113
|
-
apiVersion: "7.
|
|
113
|
+
apiVersion: "7.2-preview.1",
|
|
114
114
|
routeTemplate: "_apis/Accounts/{accountId}",
|
|
115
115
|
queryParams: queryValues
|
|
116
116
|
})];
|
|
@@ -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 n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),__awaiter=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,a)}c((r=r.apply(t,e||[])).next())})},__generator=this&&this.__generator||function(t,e){function n(n){return function(u){return function(n){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(i=2&n[0]?o.return:n[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,n[1])).done)return i;switch(o=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,o=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],o=0}finally{r=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,u])}}var r,o,i,u,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u};define(["require","exports","../Common/RestClientBase"],function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.createAccount=function(t,e){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(r){return n={usePrecreated:e},[2,this.beginRequest({apiVersion:"7.
|
|
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 n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),__awaiter=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,a)}c((r=r.apply(t,e||[])).next())})},__generator=this&&this.__generator||function(t,e){function n(n){return function(u){return function(n){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(i=2&n[0]?o.return:n[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,n[1])).done)return i;switch(o=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,o=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],o=0}finally{r=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,u])}}var r,o,i,u,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u};define(["require","exports","../Common/RestClientBase"],function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.createAccount=function(t,e){return __awaiter(this,void 0,void 0,function(){var n;return __generator(this,function(r){return n={usePrecreated:e},[2,this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Accounts/{accountId}",queryParams:n,body:t})]})})},e.prototype.getAccount=function(t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Accounts/{accountId}",routeValues:{accountId:t}})]})})},e.prototype.getAccounts=function(t,e,n){return __awaiter(this,void 0,void 0,function(){var r;return __generator(this,function(o){return r={ownerId:t,memberId:e,properties:n},[2,this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Accounts/{accountId}",queryParams:r})]})})},e.RESOURCE_AREA_ID="0d55247a-1c47-4462-9b1f-5e2125590ee6",e}(n.RestClientBase);e.AccountsRestClient=r});
|
package/Build/Build.d.ts
CHANGED
|
@@ -2042,6 +2042,10 @@ export interface PipelineGeneralSettings {
|
|
|
2042
2042
|
* If enabled, audit logs will be generated whenever someone queues a pipeline run and defines variables that are not marked as "Settable at queue time".
|
|
2043
2043
|
*/
|
|
2044
2044
|
auditEnforceSettableVar: boolean;
|
|
2045
|
+
/**
|
|
2046
|
+
* Enable forked repositories to build pull requests.
|
|
2047
|
+
*/
|
|
2048
|
+
buildsEnabledForForks: boolean;
|
|
2045
2049
|
/**
|
|
2046
2050
|
* Disable classic build pipelines creation.
|
|
2047
2051
|
*/
|
|
@@ -2054,14 +2058,30 @@ export interface PipelineGeneralSettings {
|
|
|
2054
2058
|
* Disable classic release pipelines creation.
|
|
2055
2059
|
*/
|
|
2056
2060
|
disableClassicReleasePipelineCreation: boolean;
|
|
2061
|
+
/**
|
|
2062
|
+
* Enable shell tasks args sanitizing.
|
|
2063
|
+
*/
|
|
2064
|
+
enableShellTasksArgsSanitizing: boolean;
|
|
2065
|
+
/**
|
|
2066
|
+
* Enable shell tasks args sanitizing preview.
|
|
2067
|
+
*/
|
|
2068
|
+
enableShellTasksArgsSanitizingAudit: boolean;
|
|
2057
2069
|
/**
|
|
2058
2070
|
* If enabled, scope of access for all non-release pipelines reduces to the current project.
|
|
2059
2071
|
*/
|
|
2060
2072
|
enforceJobAuthScope: boolean;
|
|
2073
|
+
/**
|
|
2074
|
+
* Enforce job auth scope for builds of forked repositories.
|
|
2075
|
+
*/
|
|
2076
|
+
enforceJobAuthScopeForForks: boolean;
|
|
2061
2077
|
/**
|
|
2062
2078
|
* If enabled, scope of access for all release pipelines reduces to the current project.
|
|
2063
2079
|
*/
|
|
2064
2080
|
enforceJobAuthScopeForReleases: boolean;
|
|
2081
|
+
/**
|
|
2082
|
+
* Enforce no access to secrets for builds of forked repositories.
|
|
2083
|
+
*/
|
|
2084
|
+
enforceNoAccessToSecretsFromForks: boolean;
|
|
2065
2085
|
/**
|
|
2066
2086
|
* Restricts the scope of access for all pipelines to only repositories explicitly referenced by the pipeline.
|
|
2067
2087
|
*/
|
|
@@ -2070,15 +2090,64 @@ export interface PipelineGeneralSettings {
|
|
|
2070
2090
|
* If enabled, only those variables that are explicitly marked as "Settable at queue time" can be set at queue time.
|
|
2071
2091
|
*/
|
|
2072
2092
|
enforceSettableVar: boolean;
|
|
2093
|
+
/**
|
|
2094
|
+
* Enable settings that enforce certain levels of protection for building pull requests from forks globally.
|
|
2095
|
+
*/
|
|
2096
|
+
forkProtectionEnabled: boolean;
|
|
2097
|
+
/**
|
|
2098
|
+
* Make comments required to have builds in all pull requests.
|
|
2099
|
+
*/
|
|
2100
|
+
isCommentRequiredForPullRequest: boolean;
|
|
2073
2101
|
/**
|
|
2074
2102
|
* Allows pipelines to record metadata.
|
|
2075
2103
|
*/
|
|
2076
2104
|
publishPipelineMetadata: boolean;
|
|
2105
|
+
/**
|
|
2106
|
+
* Make comments required to have builds in pull requests from non-team members and non-contributors.
|
|
2107
|
+
*/
|
|
2108
|
+
requireCommentsForNonTeamMemberAndNonContributors: boolean;
|
|
2109
|
+
/**
|
|
2110
|
+
* Make comments required to have builds in pull requests from non-team members.
|
|
2111
|
+
*/
|
|
2112
|
+
requireCommentsForNonTeamMembersOnly: boolean;
|
|
2077
2113
|
/**
|
|
2078
2114
|
* Anonymous users can access the status badge API for all pipelines unless this option is enabled.
|
|
2079
2115
|
*/
|
|
2080
2116
|
statusBadgesArePrivate: boolean;
|
|
2081
2117
|
}
|
|
2118
|
+
/**
|
|
2119
|
+
* Represents the effective settings applicable to individual pipeline triggers.
|
|
2120
|
+
*/
|
|
2121
|
+
export interface PipelineTriggerSettings {
|
|
2122
|
+
/**
|
|
2123
|
+
* Enable forked repositories to build pull requests.
|
|
2124
|
+
*/
|
|
2125
|
+
buildsEnabledForForks: boolean;
|
|
2126
|
+
/**
|
|
2127
|
+
* Enforce job auth scope for builds of forked repositories.
|
|
2128
|
+
*/
|
|
2129
|
+
enforceJobAuthScopeForForks: boolean;
|
|
2130
|
+
/**
|
|
2131
|
+
* Enforce no access to secrets for builds of forked repositories.
|
|
2132
|
+
*/
|
|
2133
|
+
enforceNoAccessToSecretsFromForks: boolean;
|
|
2134
|
+
/**
|
|
2135
|
+
* Enable settings that enforce certain levels of protection for building pull requests from forks globally.
|
|
2136
|
+
*/
|
|
2137
|
+
forkProtectionEnabled: boolean;
|
|
2138
|
+
/**
|
|
2139
|
+
* Make comments required to have builds in all pull requests.
|
|
2140
|
+
*/
|
|
2141
|
+
isCommentRequiredForPullRequest: boolean;
|
|
2142
|
+
/**
|
|
2143
|
+
* Make comments required to have builds in pull requests from non-team members and non-contributors.
|
|
2144
|
+
*/
|
|
2145
|
+
requireCommentsForNonTeamMemberAndNonContributors: boolean;
|
|
2146
|
+
/**
|
|
2147
|
+
* Make comments required to have builds in pull requests from non-team members.
|
|
2148
|
+
*/
|
|
2149
|
+
requireCommentsForNonTeamMembersOnly: boolean;
|
|
2150
|
+
}
|
|
2082
2151
|
export declare enum ProcessTemplateType {
|
|
2083
2152
|
/**
|
|
2084
2153
|
* Indicates a custom template.
|
|
@@ -2179,6 +2248,7 @@ export interface PullRequestTrigger extends BuildTrigger {
|
|
|
2179
2248
|
forks: Forks;
|
|
2180
2249
|
isCommentRequiredForPullRequest: boolean;
|
|
2181
2250
|
pathFilters: string[];
|
|
2251
|
+
pipelineTriggerSettings: PipelineTriggerSettings;
|
|
2182
2252
|
requireCommentsForNonTeamMemberAndNonContributors: boolean;
|
|
2183
2253
|
requireCommentsForNonTeamMembersOnly: boolean;
|
|
2184
2254
|
settingsSourceType: number;
|