azure-devops-extension-api 1.158.0 → 2.220.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.
Files changed (146) hide show
  1. package/Accounts/AccountsClient.d.ts +1 -1
  2. package/Accounts/AccountsClient.js +4 -4
  3. package/Accounts/AccountsClient.min.js +1 -1
  4. package/Build/Build.d.ts +205 -3
  5. package/Build/Build.js +6 -2
  6. package/Build/Build.min.js +1 -1
  7. package/Build/BuildClient.d.ts +121 -13
  8. package/Build/BuildClient.js +468 -101
  9. package/Build/BuildClient.min.js +1 -1
  10. package/Contributions/Contributions.d.ts +1 -1
  11. package/Contributions/ContributionsClient.js +4 -4
  12. package/Contributions/ContributionsClient.min.js +1 -1
  13. package/Core/CoreClient.d.ts +2 -2
  14. package/Core/CoreClient.js +49 -36
  15. package/Core/CoreClient.min.js +1 -1
  16. package/Dashboard/Dashboard.d.ts +79 -2
  17. package/Dashboard/Dashboard.js +10 -0
  18. package/Dashboard/Dashboard.min.js +1 -1
  19. package/Dashboard/DashboardClient.d.ts +2 -2
  20. package/Dashboard/DashboardClient.js +15 -15
  21. package/Dashboard/DashboardClient.min.js +1 -1
  22. package/ExtensionManagement/ExtensionManagement.d.ts +2 -2
  23. package/ExtensionManagement/ExtensionManagementClient.d.ts +2 -2
  24. package/ExtensionManagement/ExtensionManagementClient.js +27 -27
  25. package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
  26. package/Favorite/Favorite.d.ts +124 -0
  27. package/Favorite/Favorite.js +9 -0
  28. package/Favorite/Favorite.min.js +1 -0
  29. package/Favorite/FavoriteClient.d.ts +78 -0
  30. package/Favorite/FavoriteClient.js +314 -0
  31. package/Favorite/FavoriteClient.min.js +1 -0
  32. package/FeatureAvailability/FeatureAvailabilityClient.js +5 -5
  33. package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
  34. package/FeatureManagement/FeatureManagementClient.js +9 -9
  35. package/FeatureManagement/FeatureManagementClient.min.js +1 -1
  36. package/FileContainer/FileContainer.d.ts +22 -0
  37. package/FileContainer/FileContainer.js +8 -0
  38. package/FileContainer/FileContainer.min.js +1 -1
  39. package/FileContainer/FileContainerClient.d.ts +5 -2
  40. package/FileContainer/FileContainerClient.js +13 -7
  41. package/FileContainer/FileContainerClient.min.js +1 -1
  42. package/FormInput/FormInput.d.ts +1 -1
  43. package/Gallery/Gallery.d.ts +92 -7
  44. package/Gallery/Gallery.js +25 -3
  45. package/Gallery/Gallery.min.js +1 -1
  46. package/Gallery/GalleryClient.d.ts +41 -9
  47. package/Gallery/GalleryClient.js +211 -90
  48. package/Gallery/GalleryClient.min.js +1 -1
  49. package/Git/Git.d.ts +121 -7
  50. package/Git/Git.js +2 -1
  51. package/Git/Git.min.js +1 -1
  52. package/Git/GitClient.d.ts +182 -28
  53. package/Git/GitClient.js +657 -162
  54. package/Git/GitClient.min.js +1 -1
  55. package/Graph/Graph.d.ts +107 -17
  56. package/Graph/GraphClient.d.ts +42 -3
  57. package/Graph/GraphClient.js +159 -38
  58. package/Graph/GraphClient.min.js +1 -1
  59. package/Identities/Identities.d.ts +15 -0
  60. package/Locations/LocationsClient.js +9 -9
  61. package/Locations/LocationsClient.min.js +1 -1
  62. package/Notification/Notification.d.ts +3 -3
  63. package/Notification/NotificationClient.d.ts +6 -0
  64. package/Notification/NotificationClient.js +40 -23
  65. package/Notification/NotificationClient.min.js +1 -1
  66. package/Operations/OperationsClient.d.ts +1 -1
  67. package/Operations/OperationsClient.js +2 -2
  68. package/Operations/OperationsClient.min.js +1 -1
  69. package/Pipelines/Pipelines.d.ts +318 -0
  70. package/Pipelines/Pipelines.js +82 -0
  71. package/Pipelines/Pipelines.min.js +1 -0
  72. package/Pipelines/PipelinesClient.d.ts +92 -0
  73. package/Pipelines/PipelinesClient.js +325 -0
  74. package/Pipelines/PipelinesClient.min.js +1 -0
  75. package/Policy/Policy.d.ts +4 -0
  76. package/Policy/PolicyClient.d.ts +3 -3
  77. package/Policy/PolicyClient.js +30 -19
  78. package/Policy/PolicyClient.min.js +1 -1
  79. package/Profile/ProfileClient.js +12 -12
  80. package/Profile/ProfileClient.min.js +1 -1
  81. package/ProjectAnalysis/ProjectAnalysisClient.js +4 -4
  82. package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
  83. package/Release/Release.d.ts +81 -7
  84. package/Release/Release.js +11 -0
  85. package/Release/Release.min.js +1 -1
  86. package/Release/ReleaseClient.d.ts +31 -5
  87. package/Release/ReleaseClient.js +223 -95
  88. package/Release/ReleaseClient.min.js +1 -1
  89. package/ServiceEndpoint/ServiceEndpoint.d.ts +11 -2
  90. package/ServiceEndpoint/ServiceEndpoint.js +1 -0
  91. package/ServiceEndpoint/ServiceEndpoint.min.js +1 -1
  92. package/ServiceEndpoint/ServiceEndpointClient.d.ts +33 -31
  93. package/ServiceEndpoint/ServiceEndpointClient.js +122 -107
  94. package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
  95. package/ServiceHooks/ServiceHooks.d.ts +2 -1
  96. package/ServiceHooks/ServiceHooksClient.js +23 -23
  97. package/ServiceHooks/ServiceHooksClient.min.js +1 -1
  98. package/TaskAgent/TaskAgent.d.ts +740 -17
  99. package/TaskAgent/TaskAgent.js +133 -0
  100. package/TaskAgent/TaskAgent.min.js +1 -1
  101. package/TaskAgent/TaskAgentClient.d.ts +28 -16
  102. package/TaskAgent/TaskAgentClient.js +336 -195
  103. package/TaskAgent/TaskAgentClient.min.js +1 -1
  104. package/Test/Test.d.ts +96 -25
  105. package/Test/Test.js +8 -0
  106. package/Test/Test.min.js +1 -1
  107. package/Test/TestClient.d.ts +17 -34
  108. package/Test/TestClient.js +163 -152
  109. package/Test/TestClient.min.js +1 -1
  110. package/TestPlan/TestPlan.d.ts +215 -18
  111. package/TestPlan/TestPlan.js +47 -1
  112. package/TestPlan/TestPlan.min.js +1 -1
  113. package/TestPlan/TestPlanClient.d.ts +48 -14
  114. package/TestPlan/TestPlanClient.js +255 -74
  115. package/TestPlan/TestPlanClient.min.js +1 -1
  116. package/TestResults/TestResultsClient.d.ts +112 -27
  117. package/TestResults/TestResultsClient.js +518 -134
  118. package/TestResults/TestResultsClient.min.js +1 -1
  119. package/Tfvc/Tfvc.d.ts +9 -1
  120. package/Tfvc/TfvcClient.d.ts +3 -2
  121. package/Tfvc/TfvcClient.js +41 -28
  122. package/Tfvc/TfvcClient.min.js +1 -1
  123. package/WebApi/WebApi.d.ts +22 -3
  124. package/Wiki/Wiki.d.ts +51 -0
  125. package/Wiki/WikiClient.d.ts +18 -0
  126. package/Wiki/WikiClient.js +71 -1
  127. package/Wiki/WikiClient.min.js +1 -1
  128. package/Work/Work.d.ts +68 -1
  129. package/Work/WorkClient.d.ts +10 -3
  130. package/Work/WorkClient.js +78 -58
  131. package/Work/WorkClient.min.js +1 -1
  132. package/WorkItemTracking/WorkItemTracking.d.ts +221 -1
  133. package/WorkItemTracking/WorkItemTrackingClient.d.ts +18 -2
  134. package/WorkItemTracking/WorkItemTrackingClient.js +107 -60
  135. package/WorkItemTracking/WorkItemTrackingClient.min.js +1 -1
  136. package/WorkItemTrackingProcess/WorkItemTrackingProcess.d.ts +15 -2
  137. package/WorkItemTrackingProcess/WorkItemTrackingProcess.js +4 -0
  138. package/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -1
  139. package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.d.ts +1 -1
  140. package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +58 -58
  141. package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
  142. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.d.ts +3 -1
  143. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.d.ts +9 -1
  144. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +69 -46
  145. package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
  146. package/package.json +3 -3
@@ -14,7 +14,7 @@ export declare class AccountsRestClient extends RestClientBase {
14
14
  */
15
15
  getAccount(accountId: string): Promise<Accounts.Account>;
16
16
  /**
17
- * Get a list of accounts for a specific owner or a specific member.
17
+ * Get a list of accounts for a specific owner or a specific member. One of the following parameters is required: ownerId, memberId.
18
18
  *
19
19
  * @param ownerId - ID for the owner of the accounts.
20
20
  * @param memberId - ID for a member of the accounts.
@@ -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: "5.2-preview.1",
71
+ apiVersion: "7.1-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: "5.2-preview.1",
87
+ apiVersion: "7.1-preview.1",
88
88
  routeTemplate: "_apis/Accounts/{accountId}",
89
89
  routeValues: {
90
90
  accountId: accountId
@@ -94,7 +94,7 @@ define(["require", "exports", "../Common/RestClientBase"], function (require, ex
94
94
  });
95
95
  };
96
96
  /**
97
- * Get a list of accounts for a specific owner or a specific member.
97
+ * Get a list of accounts for a specific owner or a specific member. One of the following parameters is required: ownerId, memberId.
98
98
  *
99
99
  * @param ownerId - ID for the owner of the accounts.
100
100
  * @param memberId - ID for a member of the accounts.
@@ -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: "5.2-preview.1",
113
+ apiVersion: "7.1-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:"5.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:"5.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:"5.2-preview.1",routeTemplate:"_apis/Accounts/{accountId}",queryParams:r})]})})},e.RESOURCE_AREA_ID="0d55247a-1c47-4462-9b1f-5e2125590ee6",e}(n.RestClientBase);e.AccountsRestClient=r});
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-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.1-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.1-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
@@ -137,6 +137,10 @@ export interface Build {
137
137
  * The agent specification for the build.
138
138
  */
139
139
  agentSpecification: AgentSpecification;
140
+ /**
141
+ * Append Commit Message To BuildNumber in UI.
142
+ */
143
+ appendCommitMessageToRunName: boolean;
140
144
  /**
141
145
  * The build number/name of the build.
142
146
  */
@@ -223,7 +227,7 @@ export interface Build {
223
227
  */
224
228
  quality: string;
225
229
  /**
226
- * The queue. This is only set if the definition type is Build.
230
+ * The queue. This is only set if the definition type is Build. WARNING: this field is deprecated and does not corresponds to the jobs queues.
227
231
  */
228
232
  queue: AgentPoolQueue;
229
233
  /**
@@ -279,6 +283,12 @@ export interface Build {
279
283
  */
280
284
  status: BuildStatus;
281
285
  tags: string[];
286
+ /**
287
+ * Parameters to template expression evaluation
288
+ */
289
+ templateParameters: {
290
+ [key: string]: string;
291
+ };
282
292
  /**
283
293
  * The build that triggered this build via a Build completion trigger.
284
294
  */
@@ -704,6 +714,10 @@ export interface BuildDefinitionStep {
704
714
  * The reference name for this step.
705
715
  */
706
716
  refName: string;
717
+ /**
718
+ * Number of retries.
719
+ */
720
+ retryCountOnTaskFailure: number;
707
721
  /**
708
722
  * The task associated with this step.
709
723
  */
@@ -1087,14 +1101,18 @@ export declare enum BuildReason {
1087
1101
  * The build was started when another build completed.
1088
1102
  */
1089
1103
  BuildCompletion = 512,
1104
+ /**
1105
+ * The build was started when resources in pipeline triggered it
1106
+ */
1107
+ ResourceTrigger = 1024,
1090
1108
  /**
1091
1109
  * The build was triggered for retention policy purposes.
1092
1110
  */
1093
- Triggered = 943,
1111
+ Triggered = 1967,
1094
1112
  /**
1095
1113
  * All reasons.
1096
1114
  */
1097
- All = 1007
1115
+ All = 2031
1098
1116
  }
1099
1117
  /**
1100
1118
  * Represents a reference to a build.
@@ -1254,6 +1272,36 @@ export declare enum BuildResult {
1254
1272
  */
1255
1273
  Canceled = 32
1256
1274
  }
1275
+ /**
1276
+ * A historical overview of build retention information. This includes a list of snapshots taken about build retention usage, and a list of builds that have exceeded the default 30 day retention policy.
1277
+ */
1278
+ export interface BuildRetentionHistory {
1279
+ /**
1280
+ * A list of builds that are older than the default retention policy, but are not marked as retained. Something is causing these builds to not get cleaned up.
1281
+ */
1282
+ buildRetentionSamples: BuildRetentionSample[];
1283
+ }
1284
+ /**
1285
+ * A snapshot of build retention information. This class takes a sample at the given time. It provides information about retained builds, files associated with those retained builds, and number of files being retained.
1286
+ */
1287
+ export interface BuildRetentionSample {
1288
+ /**
1289
+ * Summary of retention by build
1290
+ */
1291
+ builds: string;
1292
+ /**
1293
+ * List of build definitions
1294
+ */
1295
+ definitions: string;
1296
+ /**
1297
+ * Summary of files consumed by retained builds
1298
+ */
1299
+ files: string;
1300
+ /**
1301
+ * The date and time when the sample was taken
1302
+ */
1303
+ sampleTime: Date;
1304
+ }
1257
1305
  export interface BuildsDeletedEvent extends BuildsDeletedEvent1 {
1258
1306
  }
1259
1307
  export interface BuildsDeletedEvent1 {
@@ -1772,6 +1820,10 @@ export declare enum FolderQueryOrder {
1772
1820
  * Represents the ability to build forks of the selected repository.
1773
1821
  */
1774
1822
  export interface Forks {
1823
+ /**
1824
+ * Indicates whether a build should allow a full access token or scope it down when building forks of the selected repository.
1825
+ */
1826
+ allowFullAccessToken: boolean;
1775
1827
  /**
1776
1828
  * Indicates whether a build should use secrets when building forks of the selected repository.
1777
1829
  */
@@ -1883,6 +1935,20 @@ export interface MappingDetails {
1883
1935
  */
1884
1936
  serverPath: string;
1885
1937
  }
1938
+ export interface MinimalRetentionLease {
1939
+ /**
1940
+ * The pipeline definition of the run.
1941
+ */
1942
+ definitionId: number;
1943
+ /**
1944
+ * User-provided string that identifies the owner of a retention lease.
1945
+ */
1946
+ ownerId: string;
1947
+ /**
1948
+ * The pipeline run to protect.
1949
+ */
1950
+ runId: number;
1951
+ }
1886
1952
  /**
1887
1953
  * Represents options for running a phase against multiple agents.
1888
1954
  */
@@ -1896,6 +1962,31 @@ export interface MultipleAgentExecutionOptions extends AgentTargetExecutionOptio
1896
1962
  */
1897
1963
  maxConcurrency: number;
1898
1964
  }
1965
+ /**
1966
+ * Required information to create a new retention lease.
1967
+ */
1968
+ export interface NewRetentionLease {
1969
+ /**
1970
+ * The number of days to consider the lease valid. A retention lease valid for more than 100 years (36500 days) will display as retaining the build "forever".
1971
+ */
1972
+ daysValid: number;
1973
+ /**
1974
+ * The pipeline definition of the run.
1975
+ */
1976
+ definitionId: number;
1977
+ /**
1978
+ * User-provided string that identifies the owner of a retention lease.
1979
+ */
1980
+ ownerId: string;
1981
+ /**
1982
+ * If set, this lease will also prevent the pipeline from being deleted while the lease is still valid.
1983
+ */
1984
+ protectPipeline: boolean;
1985
+ /**
1986
+ * The pipeline run to protect.
1987
+ */
1988
+ runId: number;
1989
+ }
1899
1990
  /**
1900
1991
  * Represents a phase of a build definition.
1901
1992
  */
@@ -1943,6 +2034,43 @@ export interface PhaseTarget {
1943
2034
  */
1944
2035
  type: number;
1945
2036
  }
2037
+ /**
2038
+ * Contains pipeline general settings.
2039
+ */
2040
+ export interface PipelineGeneralSettings {
2041
+ /**
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
+ */
2044
+ auditEnforceSettableVar: boolean;
2045
+ /**
2046
+ * Disable classic pipelines creation.
2047
+ */
2048
+ disableClassicPipelineCreation: boolean;
2049
+ /**
2050
+ * If enabled, scope of access for all non-release pipelines reduces to the current project.
2051
+ */
2052
+ enforceJobAuthScope: boolean;
2053
+ /**
2054
+ * If enabled, scope of access for all release pipelines reduces to the current project.
2055
+ */
2056
+ enforceJobAuthScopeForReleases: boolean;
2057
+ /**
2058
+ * Restricts the scope of access for all pipelines to only repositories explicitly referenced by the pipeline.
2059
+ */
2060
+ enforceReferencedRepoScopedToken: boolean;
2061
+ /**
2062
+ * If enabled, only those variables that are explicitly marked as "Settable at queue time" can be set at queue time.
2063
+ */
2064
+ enforceSettableVar: boolean;
2065
+ /**
2066
+ * Allows pipelines to record metadata.
2067
+ */
2068
+ publishPipelineMetadata: boolean;
2069
+ /**
2070
+ * Anonymous users can access the status badge API for all pipelines unless this option is enabled.
2071
+ */
2072
+ statusBadgesArePrivate: boolean;
2073
+ }
1946
2074
  export declare enum ProcessTemplateType {
1947
2075
  /**
1948
2076
  * Indicates a custom template.
@@ -1973,6 +2101,10 @@ export interface ProjectRetentionSetting {
1973
2101
  * The rules for pipeline run retention.
1974
2102
  */
1975
2103
  purgeRuns: RetentionSetting;
2104
+ /**
2105
+ * The rules for retaining runs per protected branch.
2106
+ */
2107
+ retainRunsPerProtectedBranch: RetentionSetting;
1976
2108
  }
1977
2109
  /**
1978
2110
  * Represents a pull request object. These are retrieved from Source Providers.
@@ -1994,6 +2126,10 @@ export interface PullRequest {
1994
2126
  * Description for the pull request.
1995
2127
  */
1996
2128
  description: string;
2129
+ /**
2130
+ * Returns if pull request is draft
2131
+ */
2132
+ draft: boolean;
1997
2133
  /**
1998
2134
  * Unique identifier for the pull request
1999
2135
  */
@@ -2035,6 +2171,7 @@ export interface PullRequestTrigger extends BuildTrigger {
2035
2171
  forks: Forks;
2036
2172
  isCommentRequiredForPullRequest: boolean;
2037
2173
  pathFilters: string[];
2174
+ requireCommentsForNonTeamMemberAndNonContributors: boolean;
2038
2175
  requireCommentsForNonTeamMembersOnly: boolean;
2039
2176
  settingsSourceType: number;
2040
2177
  }
@@ -2132,6 +2269,52 @@ export declare enum ResultSet {
2132
2269
  */
2133
2270
  Top = 1
2134
2271
  }
2272
+ /**
2273
+ * A valid retention lease prevents automated systems from deleting a pipeline run.
2274
+ */
2275
+ export interface RetentionLease {
2276
+ /**
2277
+ * When the lease was created.
2278
+ */
2279
+ createdOn: Date;
2280
+ /**
2281
+ * The pipeline definition of the run.
2282
+ */
2283
+ definitionId: number;
2284
+ /**
2285
+ * The unique identifier for this lease.
2286
+ */
2287
+ leaseId: number;
2288
+ /**
2289
+ * Non-unique string that identifies the owner of a retention lease.
2290
+ */
2291
+ ownerId: string;
2292
+ /**
2293
+ * If set, this lease will also prevent the pipeline from being deleted while the lease is still valid.
2294
+ */
2295
+ protectPipeline: boolean;
2296
+ /**
2297
+ * The pipeline run protected by this lease.
2298
+ */
2299
+ runId: number;
2300
+ /**
2301
+ * The last day the lease is considered valid.
2302
+ */
2303
+ validUntil: Date;
2304
+ }
2305
+ /**
2306
+ * An update to the retention parameters of a retention lease.
2307
+ */
2308
+ export interface RetentionLeaseUpdate {
2309
+ /**
2310
+ * The number of days to consider the lease valid. A retention lease valid for more than 100 years (36500 days) will display as retaining the build "forever".
2311
+ */
2312
+ daysValid: number;
2313
+ /**
2314
+ * If set, this lease will also prevent the pipeline from being deleted while the lease is still valid.
2315
+ */
2316
+ protectPipeline: boolean;
2317
+ }
2135
2318
  /**
2136
2319
  * Represents a retention policy for a build definition.
2137
2320
  */
@@ -2667,6 +2850,10 @@ export interface TimelineRecord {
2667
2850
  */
2668
2851
  percentComplete: number;
2669
2852
  previousAttempts: TimelineAttempt[];
2853
+ /**
2854
+ * The queue ID of the queue that the operation ran on.
2855
+ */
2856
+ queueId: number;
2670
2857
  /**
2671
2858
  * The result.
2672
2859
  */
@@ -2735,14 +2922,20 @@ export interface TimelineReference {
2735
2922
  export interface UpdateProjectRetentionSettingModel {
2736
2923
  artifactsRetention: UpdateRetentionSettingModel;
2737
2924
  pullRequestRunRetention: UpdateRetentionSettingModel;
2925
+ retainRunsPerProtectedBranch: UpdateRetentionSettingModel;
2738
2926
  runRetention: UpdateRetentionSettingModel;
2739
2927
  }
2740
2928
  export interface UpdateRetentionSettingModel {
2741
2929
  value: number;
2742
2930
  }
2743
2931
  export interface UpdateStageParameters {
2932
+ forceRetryAllJobs: boolean;
2744
2933
  state: StageUpdateType;
2745
2934
  }
2935
+ export interface UpdateTagParameters {
2936
+ tagsToAdd: string[];
2937
+ tagsToRemove: string[];
2938
+ }
2746
2939
  export declare enum ValidationResult {
2747
2940
  OK = 0,
2748
2941
  Warning = 1,
@@ -2970,6 +3163,15 @@ export interface XamlDefinitionReference {
2970
3163
  */
2971
3164
  url: string;
2972
3165
  }
3166
+ /**
3167
+ * Represents a yaml build.
3168
+ */
3169
+ export interface YamlBuild {
3170
+ /**
3171
+ * The yaml used to define the build
3172
+ */
3173
+ yaml: string;
3174
+ }
2973
3175
  /**
2974
3176
  * Represents a YAML process.
2975
3177
  */
package/Build/Build.js CHANGED
@@ -142,14 +142,18 @@ define(["require", "exports"], function (require, exports) {
142
142
  * The build was started when another build completed.
143
143
  */
144
144
  BuildReason[BuildReason["BuildCompletion"] = 512] = "BuildCompletion";
145
+ /**
146
+ * The build was started when resources in pipeline triggered it
147
+ */
148
+ BuildReason[BuildReason["ResourceTrigger"] = 1024] = "ResourceTrigger";
145
149
  /**
146
150
  * The build was triggered for retention policy purposes.
147
151
  */
148
- BuildReason[BuildReason["Triggered"] = 943] = "Triggered";
152
+ BuildReason[BuildReason["Triggered"] = 1967] = "Triggered";
149
153
  /**
150
154
  * All reasons.
151
155
  */
152
- BuildReason[BuildReason["All"] = 1007] = "All";
156
+ BuildReason[BuildReason["All"] = 2031] = "All";
153
157
  })(BuildReason = exports.BuildReason || (exports.BuildReason = {}));
154
158
  /**
155
159
  * This is not a Flags enum because we don't want to set multiple statuses on a build. However, when adding values, please stick to powers of 2 as if it were a Flags enum This will ensure that things that key off multiple result types (like labelling sources) continue to work
@@ -1 +1 @@
1
- define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.Unavailable=0]="Unavailable",e[e.Available=1]="Available",e[e.Offline=2]="Offline"}(n.AgentStatus||(n.AgentStatus={}));!function(e){e[e.Add=1]="Add",e[e.Update=2]="Update",e[e.Delete=3]="Delete"}(n.AuditAction||(n.AuditAction={}));!function(e){e[e.ProjectCollection=1]="ProjectCollection",e[e.Project=2]="Project"}(n.BuildAuthorizationScope||(n.BuildAuthorizationScope={}));!function(e){e[e.String=0]="String",e[e.Boolean=1]="Boolean",e[e.StringList=2]="StringList",e[e.Radio=3]="Radio",e[e.PickList=4]="PickList",e[e.MultiLine=5]="MultiLine",e[e.BranchFilter=6]="BranchFilter"}(n.BuildOptionInputType||(n.BuildOptionInputType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Failed=1]="Failed",e[e.Succeeded=2]="Succeeded"}(n.BuildPhaseStatus||(n.BuildPhaseStatus={}));!function(e){e[e.FinishTimeAscending=2]="FinishTimeAscending",e[e.FinishTimeDescending=3]="FinishTimeDescending",e[e.QueueTimeDescending=4]="QueueTimeDescending",e[e.QueueTimeAscending=5]="QueueTimeAscending",e[e.StartTimeDescending=6]="StartTimeDescending",e[e.StartTimeAscending=7]="StartTimeAscending"}(n.BuildQueryOrder||(n.BuildQueryOrder={}));!function(e){e[e.None=0]="None",e[e.Manual=1]="Manual",e[e.IndividualCI=2]="IndividualCI",e[e.BatchedCI=4]="BatchedCI",e[e.Schedule=8]="Schedule",e[e.ScheduleForced=16]="ScheduleForced",e[e.UserCreated=32]="UserCreated",e[e.ValidateShelveset=64]="ValidateShelveset",e[e.CheckInShelveset=128]="CheckInShelveset",e[e.PullRequest=256]="PullRequest",e[e.BuildCompletion=512]="BuildCompletion",e[e.Triggered=943]="Triggered",e[e.All=1007]="All"}(n.BuildReason||(n.BuildReason={}));!function(e){e[e.None=0]="None",e[e.Succeeded=2]="Succeeded",e[e.PartiallySucceeded=4]="PartiallySucceeded",e[e.Failed=8]="Failed",e[e.Canceled=32]="Canceled"}(n.BuildResult||(n.BuildResult={}));!function(e){e[e.None=0]="None",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed",e[e.Cancelling=4]="Cancelling",e[e.Postponed=8]="Postponed",e[e.NotStarted=32]="NotStarted",e[e.All=47]="All"}(n.BuildStatus||(n.BuildStatus={}));!function(e){e[e.Unavailable=0]="Unavailable",e[e.Available=1]="Available",e[e.Offline=2]="Offline"}(n.ControllerStatus||(n.ControllerStatus={}));!function(e){e[e.Definition=1]="Definition",e[e.Draft=2]="Draft"}(n.DefinitionQuality||(n.DefinitionQuality={}));!function(e){e[e.None=0]="None",e[e.LastModifiedAscending=1]="LastModifiedAscending",e[e.LastModifiedDescending=2]="LastModifiedDescending",e[e.DefinitionNameAscending=3]="DefinitionNameAscending",e[e.DefinitionNameDescending=4]="DefinitionNameDescending"}(n.DefinitionQueryOrder||(n.DefinitionQueryOrder={}));!function(e){e[e.Enabled=0]="Enabled",e[e.Paused=1]="Paused",e[e.Disabled=2]="Disabled"}(n.DefinitionQueueStatus||(n.DefinitionQueueStatus={}));!function(e){e[e.None=1]="None",e[e.ContinuousIntegration=2]="ContinuousIntegration",e[e.BatchedContinuousIntegration=4]="BatchedContinuousIntegration",e[e.Schedule=8]="Schedule",e[e.GatedCheckIn=16]="GatedCheckIn",e[e.BatchedGatedCheckIn=32]="BatchedGatedCheckIn",e[e.PullRequest=64]="PullRequest",e[e.BuildCompletion=128]="BuildCompletion",e[e.All=255]="All"}(n.DefinitionTriggerType||(n.DefinitionTriggerType={}));!function(e){e[e.Xaml=1]="Xaml",e[e.Build=2]="Build"}(n.DefinitionType||(n.DefinitionType={}));!function(e){e[e.None=0]="None",e[e.DropLocation=1]="DropLocation",e[e.TestResults=2]="TestResults",e[e.Label=4]="Label",e[e.Details=8]="Details",e[e.Symbols=16]="Symbols",e[e.All=31]="All"}(n.DeleteOptions||(n.DeleteOptions={}));!function(e){e[e.None=0]="None",e[e.FolderAscending=1]="FolderAscending",e[e.FolderDescending=2]="FolderDescending"}(n.FolderQueryOrder||(n.FolderQueryOrder={}));!function(e){e[e.LatestOnQueue=0]="LatestOnQueue",e[e.LatestOnBuild=1]="LatestOnBuild",e[e.Custom=2]="Custom"}(n.GetOption||(n.GetOption={}));!function(e){e[e.Error=1]="Error",e[e.Warning=2]="Warning"}(n.IssueType||(n.IssueType={}));!function(e){e[e.Custom=0]="Custom",e[e.Default=1]="Default",e[e.Upgrade=2]="Upgrade"}(n.ProcessTemplateType||(n.ProcessTemplateType={}));!function(e){e[e.ExcludeDeleted=0]="ExcludeDeleted",e[e.IncludeDeleted=1]="IncludeDeleted",e[e.OnlyDeleted=2]="OnlyDeleted"}(n.QueryDeletedOption||(n.QueryDeletedOption={}));!function(e){e[e.None=0]="None",e[e.DoNotRun=1]="DoNotRun"}(n.QueueOptions||(n.QueueOptions={}));!function(e){e[e.Low=5]="Low",e[e.BelowNormal=4]="BelowNormal",e[e.Normal=3]="Normal",e[e.AboveNormal=2]="AboveNormal",e[e.High=1]="High"}(n.QueuePriority||(n.QueuePriority={}));!function(e){e[e.Source=0]="Source",e[e.SourceAndOutputDir=1]="SourceAndOutputDir",e[e.SourceDir=2]="SourceDir",e[e.AllBuildDir=3]="AllBuildDir"}(n.RepositoryCleanOptions||(n.RepositoryCleanOptions={}));!function(e){e[e.All=0]="All",e[e.Top=1]="Top"}(n.ResultSet||(n.ResultSet={}));!function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday",e[e.All=127]="All"}(n.ScheduleDays||(n.ScheduleDays={}));!function(e){e[e.Online=1]="Online",e[e.Offline=2]="Offline"}(n.ServiceHostStatus||(n.ServiceHostStatus={}));!function(e){e[e.Hosted=1]="Hosted",e[e.OnPremises=2]="OnPremises",e[e.All=3]="All"}(n.SourceProviderAvailability||(n.SourceProviderAvailability={}));!function(e){e[e.Cancel=0]="Cancel",e[e.Retry=1]="Retry"}(n.StageUpdateType||(n.StageUpdateType={}));!function(e){e[e.Unsupported=0]="Unsupported",e[e.Supported=1]="Supported",e[e.Required=2]="Required"}(n.SupportLevel||(n.SupportLevel={}));!function(e){e[e.Succeeded=0]="Succeeded",e[e.SucceededWithIssues=1]="SucceededWithIssues",e[e.Failed=2]="Failed",e[e.Canceled=3]="Canceled",e[e.Skipped=4]="Skipped",e[e.Abandoned=5]="Abandoned"}(n.TaskResult||(n.TaskResult={}));!function(e){e[e.Pending=0]="Pending",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed"}(n.TimelineRecordState||(n.TimelineRecordState={}));!function(e){e[e.OK=0]="OK",e[e.Warning=1]="Warning",e[e.Error=2]="Error"}(n.ValidationResult||(n.ValidationResult={}));!function(e){e[e.Map=0]="Map",e[e.Cloak=1]="Cloak"}(n.WorkspaceMappingType||(n.WorkspaceMappingType={}))});
1
+ define(["require","exports"],function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});!function(e){e[e.Unavailable=0]="Unavailable",e[e.Available=1]="Available",e[e.Offline=2]="Offline"}(n.AgentStatus||(n.AgentStatus={}));!function(e){e[e.Add=1]="Add",e[e.Update=2]="Update",e[e.Delete=3]="Delete"}(n.AuditAction||(n.AuditAction={}));!function(e){e[e.ProjectCollection=1]="ProjectCollection",e[e.Project=2]="Project"}(n.BuildAuthorizationScope||(n.BuildAuthorizationScope={}));!function(e){e[e.String=0]="String",e[e.Boolean=1]="Boolean",e[e.StringList=2]="StringList",e[e.Radio=3]="Radio",e[e.PickList=4]="PickList",e[e.MultiLine=5]="MultiLine",e[e.BranchFilter=6]="BranchFilter"}(n.BuildOptionInputType||(n.BuildOptionInputType={}));!function(e){e[e.Unknown=0]="Unknown",e[e.Failed=1]="Failed",e[e.Succeeded=2]="Succeeded"}(n.BuildPhaseStatus||(n.BuildPhaseStatus={}));!function(e){e[e.FinishTimeAscending=2]="FinishTimeAscending",e[e.FinishTimeDescending=3]="FinishTimeDescending",e[e.QueueTimeDescending=4]="QueueTimeDescending",e[e.QueueTimeAscending=5]="QueueTimeAscending",e[e.StartTimeDescending=6]="StartTimeDescending",e[e.StartTimeAscending=7]="StartTimeAscending"}(n.BuildQueryOrder||(n.BuildQueryOrder={}));!function(e){e[e.None=0]="None",e[e.Manual=1]="Manual",e[e.IndividualCI=2]="IndividualCI",e[e.BatchedCI=4]="BatchedCI",e[e.Schedule=8]="Schedule",e[e.ScheduleForced=16]="ScheduleForced",e[e.UserCreated=32]="UserCreated",e[e.ValidateShelveset=64]="ValidateShelveset",e[e.CheckInShelveset=128]="CheckInShelveset",e[e.PullRequest=256]="PullRequest",e[e.BuildCompletion=512]="BuildCompletion",e[e.ResourceTrigger=1024]="ResourceTrigger",e[e.Triggered=1967]="Triggered",e[e.All=2031]="All"}(n.BuildReason||(n.BuildReason={}));!function(e){e[e.None=0]="None",e[e.Succeeded=2]="Succeeded",e[e.PartiallySucceeded=4]="PartiallySucceeded",e[e.Failed=8]="Failed",e[e.Canceled=32]="Canceled"}(n.BuildResult||(n.BuildResult={}));!function(e){e[e.None=0]="None",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed",e[e.Cancelling=4]="Cancelling",e[e.Postponed=8]="Postponed",e[e.NotStarted=32]="NotStarted",e[e.All=47]="All"}(n.BuildStatus||(n.BuildStatus={}));!function(e){e[e.Unavailable=0]="Unavailable",e[e.Available=1]="Available",e[e.Offline=2]="Offline"}(n.ControllerStatus||(n.ControllerStatus={}));!function(e){e[e.Definition=1]="Definition",e[e.Draft=2]="Draft"}(n.DefinitionQuality||(n.DefinitionQuality={}));!function(e){e[e.None=0]="None",e[e.LastModifiedAscending=1]="LastModifiedAscending",e[e.LastModifiedDescending=2]="LastModifiedDescending",e[e.DefinitionNameAscending=3]="DefinitionNameAscending",e[e.DefinitionNameDescending=4]="DefinitionNameDescending"}(n.DefinitionQueryOrder||(n.DefinitionQueryOrder={}));!function(e){e[e.Enabled=0]="Enabled",e[e.Paused=1]="Paused",e[e.Disabled=2]="Disabled"}(n.DefinitionQueueStatus||(n.DefinitionQueueStatus={}));!function(e){e[e.None=1]="None",e[e.ContinuousIntegration=2]="ContinuousIntegration",e[e.BatchedContinuousIntegration=4]="BatchedContinuousIntegration",e[e.Schedule=8]="Schedule",e[e.GatedCheckIn=16]="GatedCheckIn",e[e.BatchedGatedCheckIn=32]="BatchedGatedCheckIn",e[e.PullRequest=64]="PullRequest",e[e.BuildCompletion=128]="BuildCompletion",e[e.All=255]="All"}(n.DefinitionTriggerType||(n.DefinitionTriggerType={}));!function(e){e[e.Xaml=1]="Xaml",e[e.Build=2]="Build"}(n.DefinitionType||(n.DefinitionType={}));!function(e){e[e.None=0]="None",e[e.DropLocation=1]="DropLocation",e[e.TestResults=2]="TestResults",e[e.Label=4]="Label",e[e.Details=8]="Details",e[e.Symbols=16]="Symbols",e[e.All=31]="All"}(n.DeleteOptions||(n.DeleteOptions={}));!function(e){e[e.None=0]="None",e[e.FolderAscending=1]="FolderAscending",e[e.FolderDescending=2]="FolderDescending"}(n.FolderQueryOrder||(n.FolderQueryOrder={}));!function(e){e[e.LatestOnQueue=0]="LatestOnQueue",e[e.LatestOnBuild=1]="LatestOnBuild",e[e.Custom=2]="Custom"}(n.GetOption||(n.GetOption={}));!function(e){e[e.Error=1]="Error",e[e.Warning=2]="Warning"}(n.IssueType||(n.IssueType={}));!function(e){e[e.Custom=0]="Custom",e[e.Default=1]="Default",e[e.Upgrade=2]="Upgrade"}(n.ProcessTemplateType||(n.ProcessTemplateType={}));!function(e){e[e.ExcludeDeleted=0]="ExcludeDeleted",e[e.IncludeDeleted=1]="IncludeDeleted",e[e.OnlyDeleted=2]="OnlyDeleted"}(n.QueryDeletedOption||(n.QueryDeletedOption={}));!function(e){e[e.None=0]="None",e[e.DoNotRun=1]="DoNotRun"}(n.QueueOptions||(n.QueueOptions={}));!function(e){e[e.Low=5]="Low",e[e.BelowNormal=4]="BelowNormal",e[e.Normal=3]="Normal",e[e.AboveNormal=2]="AboveNormal",e[e.High=1]="High"}(n.QueuePriority||(n.QueuePriority={}));!function(e){e[e.Source=0]="Source",e[e.SourceAndOutputDir=1]="SourceAndOutputDir",e[e.SourceDir=2]="SourceDir",e[e.AllBuildDir=3]="AllBuildDir"}(n.RepositoryCleanOptions||(n.RepositoryCleanOptions={}));!function(e){e[e.All=0]="All",e[e.Top=1]="Top"}(n.ResultSet||(n.ResultSet={}));!function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday",e[e.All=127]="All"}(n.ScheduleDays||(n.ScheduleDays={}));!function(e){e[e.Online=1]="Online",e[e.Offline=2]="Offline"}(n.ServiceHostStatus||(n.ServiceHostStatus={}));!function(e){e[e.Hosted=1]="Hosted",e[e.OnPremises=2]="OnPremises",e[e.All=3]="All"}(n.SourceProviderAvailability||(n.SourceProviderAvailability={}));!function(e){e[e.Cancel=0]="Cancel",e[e.Retry=1]="Retry"}(n.StageUpdateType||(n.StageUpdateType={}));!function(e){e[e.Unsupported=0]="Unsupported",e[e.Supported=1]="Supported",e[e.Required=2]="Required"}(n.SupportLevel||(n.SupportLevel={}));!function(e){e[e.Succeeded=0]="Succeeded",e[e.SucceededWithIssues=1]="SucceededWithIssues",e[e.Failed=2]="Failed",e[e.Canceled=3]="Canceled",e[e.Skipped=4]="Skipped",e[e.Abandoned=5]="Abandoned"}(n.TaskResult||(n.TaskResult={}));!function(e){e[e.Pending=0]="Pending",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed"}(n.TimelineRecordState||(n.TimelineRecordState={}));!function(e){e[e.OK=0]="OK",e[e.Warning=1]="Warning",e[e.Error=2]="Error"}(n.ValidationResult||(n.ValidationResult={}));!function(e){e[e.Map=0]="Map",e[e.Cloak=1]="Cloak"}(n.WorkspaceMappingType||(n.WorkspaceMappingType={}))});