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
@@ -112,6 +112,13 @@ export declare class BuildRestClient extends RestClientBase {
112
112
  * @param branchName - The branch name.
113
113
  */
114
114
  getBuildBadgeData(project: string, repoType: string, repoId?: string, branchName?: string): Promise<string>;
115
+ /**
116
+ * Gets all retention leases that apply to a specific build.
117
+ *
118
+ * @param project - Project ID or project name
119
+ * @param buildId - The ID of the build.
120
+ */
121
+ getRetentionLeasesForBuild(project: string, buildId: number): Promise<Build.RetentionLease[]>;
115
122
  /**
116
123
  * Deletes a build.
117
124
  *
@@ -152,7 +159,7 @@ export declare class BuildRestClient extends RestClientBase {
152
159
  * @param repositoryId - If specified, filters to builds that built from this repository.
153
160
  * @param repositoryType - If specified, filters to builds that built from repositories of this type.
154
161
  */
155
- getBuilds(project: string, definitions?: number[], queues?: number[], buildNumber?: string, minTime?: Date, maxTime?: Date, requestedFor?: string, reasonFilter?: Build.BuildReason, statusFilter?: Build.BuildStatus, resultFilter?: Build.BuildResult, tagFilters?: string[], properties?: string[], top?: number, continuationToken?: string, maxBuildsPerDefinition?: number, deletedFilter?: Build.QueryDeletedOption, queryOrder?: Build.BuildQueryOrder, branchName?: string, buildIds?: number[], repositoryId?: string, repositoryType?: string): Promise<Build.Build[]>;
162
+ getBuilds(project: string, definitions?: number[], queues?: number[], buildNumber?: string, minTime?: Date, maxTime?: Date, requestedFor?: string, reasonFilter?: Build.BuildReason, statusFilter?: Build.BuildStatus, resultFilter?: Build.BuildResult, tagFilters?: string[], properties?: string[], top?: number, continuationToken?: string, maxBuildsPerDefinition?: number, deletedFilter?: Build.QueryDeletedOption, queryOrder?: Build.BuildQueryOrder, branchName?: string, buildIds?: number[], repositoryId?: string, repositoryType?: string): Promise<WebApi.PagedList<Build.Build>>;
156
163
  /**
157
164
  * Queues a build
158
165
  *
@@ -161,8 +168,9 @@ export declare class BuildRestClient extends RestClientBase {
161
168
  * @param ignoreWarnings -
162
169
  * @param checkInTicket -
163
170
  * @param sourceBuildId -
171
+ * @param definitionId - Optional definition id to queue a build without a body. Ignored if there's a valid body
164
172
  */
165
- queueBuild(build: Build.Build, project: string, ignoreWarnings?: boolean, checkInTicket?: string, sourceBuildId?: number): Promise<Build.Build>;
173
+ queueBuild(build: Build.Build, project: string, ignoreWarnings?: boolean, checkInTicket?: string, sourceBuildId?: number, definitionId?: number): Promise<Build.Build>;
166
174
  /**
167
175
  * Updates a build.
168
176
  *
@@ -188,7 +196,7 @@ export declare class BuildRestClient extends RestClientBase {
188
196
  * @param top - The maximum number of changes to return
189
197
  * @param includeSourceChange -
190
198
  */
191
- getBuildChanges(project: string, buildId: number, continuationToken?: string, top?: number, includeSourceChange?: boolean): Promise<Build.Change[]>;
199
+ getBuildChanges(project: string, buildId: number, continuationToken?: string, top?: number, includeSourceChange?: boolean): Promise<WebApi.PagedList<Build.Change>>;
192
200
  /**
193
201
  * Gets the changes made to the repository between two given builds.
194
202
  *
@@ -256,9 +264,9 @@ export declare class BuildRestClient extends RestClientBase {
256
264
  * @param includeLatestBuilds - Indicates whether to return the latest and latest completed builds for this definition.
257
265
  * @param taskIdFilter - If specified, filters to definitions that use the specified task.
258
266
  * @param processType - If specified, filters to definitions with the given process type.
259
- * @param yamlFilename - If specified, filters to YAML definitions that match the given filename.
267
+ * @param yamlFilename - If specified, filters to YAML definitions that match the given filename. To use this filter includeAllProperties should be set to true
260
268
  */
261
- getDefinitions(project: string, name?: string, repositoryId?: string, repositoryType?: string, queryOrder?: Build.DefinitionQueryOrder, top?: number, continuationToken?: string, minMetricsTime?: Date, definitionIds?: number[], path?: string, builtAfter?: Date, notBuiltAfter?: Date, includeAllProperties?: boolean, includeLatestBuilds?: boolean, taskIdFilter?: string, processType?: number, yamlFilename?: string): Promise<Build.BuildDefinitionReference[]>;
269
+ getDefinitions(project: string, name?: string, repositoryId?: string, repositoryType?: string, queryOrder?: Build.DefinitionQueryOrder, top?: number, continuationToken?: string, minMetricsTime?: Date, definitionIds?: number[], path?: string, builtAfter?: Date, notBuiltAfter?: Date, includeAllProperties?: boolean, includeLatestBuilds?: boolean, taskIdFilter?: string, processType?: number, yamlFilename?: string): Promise<WebApi.PagedList<Build.BuildDefinitionReference>>;
262
270
  /**
263
271
  * Restores a deleted definition
264
272
  *
@@ -268,9 +276,9 @@ export declare class BuildRestClient extends RestClientBase {
268
276
  */
269
277
  restoreDefinition(project: string, definitionId: number, deleted: boolean): Promise<Build.BuildDefinition>;
270
278
  /**
271
- * Updates an existing definition.
279
+ * Updates an existing build definition. In order for this operation to succeed, the value of the "Revision" property of the request body must match the existing build definition's. It is recommended that you obtain the existing build definition by using GET, modify the build definition as necessary, and then submit the modified definition with PUT.
272
280
  *
273
- * @param definition - The new version of the defintion.
281
+ * @param definition - The new version of the definition. Its "Revision" property must match the existing definition for the update to be accepted.
274
282
  * @param project - Project ID or project name
275
283
  * @param definitionId - The ID of the definition.
276
284
  * @param secretsSourceDefinitionId -
@@ -319,14 +327,87 @@ export declare class BuildRestClient extends RestClientBase {
319
327
  * @param path - The full path to the folder.
320
328
  */
321
329
  updateFolder(folder: Build.Folder, project: string, path: string): Promise<Build.Folder>;
330
+ /**
331
+ * Gets pipeline general settings.
332
+ *
333
+ * @param project - Project ID or project name
334
+ */
335
+ getBuildGeneralSettings(project: string): Promise<Build.PipelineGeneralSettings>;
336
+ /**
337
+ * Updates pipeline general settings.
338
+ *
339
+ * @param newSettings -
340
+ * @param project - Project ID or project name
341
+ */
342
+ updateBuildGeneralSettings(newSettings: Build.PipelineGeneralSettings, project: string): Promise<Build.PipelineGeneralSettings>;
343
+ /**
344
+ * Returns the retention history for the project collection. This includes pipelines that have custom retention rules that may prevent the retention job from cleaning them up, runs per pipeline with retention type, files associated with pipelines owned by the collection with retention type, and the number of files per pipeline.
345
+ *
346
+ * @param daysToLookback -
347
+ */
348
+ getRetentionHistory(daysToLookback?: number): Promise<Build.BuildRetentionHistory>;
322
349
  /**
323
350
  * Gets the latest build for a definition, optionally scoped to a specific branch.
324
351
  *
325
352
  * @param project - Project ID or project name
326
353
  * @param definition - definition name with optional leading folder path, or the definition id
327
- * @param branchName - optional parameter that indicates the specific branch to use
354
+ * @param branchName - optional parameter that indicates the specific branch to use. If not specified, the default branch is used.
328
355
  */
329
356
  getLatestBuild(project: string, definition: string, branchName?: string): Promise<Build.Build>;
357
+ /**
358
+ * Adds new leases for pipeline runs.
359
+ *
360
+ * @param newLeases -
361
+ * @param project - Project ID or project name
362
+ */
363
+ addRetentionLeases(newLeases: Build.NewRetentionLease[], project: string): Promise<Build.RetentionLease[]>;
364
+ /**
365
+ * Removes specific retention leases.
366
+ *
367
+ * @param project - Project ID or project name
368
+ * @param ids -
369
+ */
370
+ deleteRetentionLeasesById(project: string, ids: number[]): Promise<void>;
371
+ /**
372
+ * Returns the details of the retention lease given a lease id.
373
+ *
374
+ * @param project - Project ID or project name
375
+ * @param leaseId -
376
+ */
377
+ getRetentionLease(project: string, leaseId: number): Promise<Build.RetentionLease>;
378
+ /**
379
+ * Returns any leases matching the specified MinimalRetentionLeases
380
+ *
381
+ * @param project - Project ID or project name
382
+ * @param leasesToFetch - List of JSON-serialized MinimalRetentionLeases separated by '|'
383
+ */
384
+ getRetentionLeasesByMinimalRetentionLeases(project: string, leasesToFetch: Build.MinimalRetentionLease[]): Promise<Build.RetentionLease[]>;
385
+ /**
386
+ * Returns any leases owned by the specified entity, optionally scoped to a single pipeline definition and run.
387
+ *
388
+ * @param project - Project ID or project name
389
+ * @param ownerId -
390
+ * @param definitionId - An optional parameter to limit the search to a specific pipeline definition.
391
+ * @param runId - An optional parameter to limit the search to a single pipeline run. Requires definitionId.
392
+ */
393
+ getRetentionLeasesByOwnerId(project: string, ownerId?: string, definitionId?: number, runId?: number): Promise<Build.RetentionLease[]>;
394
+ /**
395
+ * Returns any leases owned by the specified user, optionally scoped to a single pipeline definition and run.
396
+ *
397
+ * @param project - Project ID or project name
398
+ * @param userOwnerId - The user id to search for.
399
+ * @param definitionId - An optional parameter to limit the search to a specific pipeline definition.
400
+ * @param runId - An optional parameter to limit the search to a single pipeline run. Requires definitionId.
401
+ */
402
+ getRetentionLeasesByUserId(project: string, userOwnerId: string, definitionId?: number, runId?: number): Promise<Build.RetentionLease[]>;
403
+ /**
404
+ * Updates the duration or pipeline protection status of a retention lease.
405
+ *
406
+ * @param leaseUpdate - The new data for the retention lease.
407
+ * @param project - Project ID or project name
408
+ * @param leaseId - The ID of the lease to update.
409
+ */
410
+ updateRetentionLease(leaseUpdate: Build.RetentionLeaseUpdate, project: string, leaseId: number): Promise<Build.RetentionLease>;
330
411
  /**
331
412
  * Gets an individual log file for a build.
332
413
  *
@@ -543,7 +624,7 @@ export declare class BuildRestClient extends RestClientBase {
543
624
  *
544
625
  * @param project - Project ID or project name
545
626
  * @param definition - Either the definition name with optional leading folder path, or the definition id.
546
- * @param branchName - Only consider the most recent build for this branch.
627
+ * @param branchName - Only consider the most recent build for this branch. If not specified, the default branch is used.
547
628
  * @param stageName - Use this stage within the pipeline to render the status.
548
629
  * @param jobName - Use this job within a stage of the pipeline to render the status.
549
630
  * @param configuration - Use this job configuration to render the status
@@ -561,13 +642,13 @@ export declare class BuildRestClient extends RestClientBase {
561
642
  /**
562
643
  * Adds tags to a build.
563
644
  *
564
- * @param tags - The tags to add.
645
+ * @param tags - The tags to add. Request body is composed directly from listed tags.
565
646
  * @param project - Project ID or project name
566
647
  * @param buildId - The ID of the build.
567
648
  */
568
649
  addBuildTags(tags: string[], project: string, buildId: number): Promise<string[]>;
569
650
  /**
570
- * Removes a tag from a build.
651
+ * Removes a tag from a build. NOTE: This API will not work for tags with special characters. To remove tags with special characters, use the PATCH method instead (in 6.0+)
571
652
  *
572
653
  * @param project - Project ID or project name
573
654
  * @param buildId - The ID of the build.
@@ -581,6 +662,14 @@ export declare class BuildRestClient extends RestClientBase {
581
662
  * @param buildId - The ID of the build.
582
663
  */
583
664
  getBuildTags(project: string, buildId: number): Promise<string[]>;
665
+ /**
666
+ * Adds/Removes tags from a build.
667
+ *
668
+ * @param updateParameters - The tags to add/remove.
669
+ * @param project - Project ID or project name
670
+ * @param buildId - The ID of the build.
671
+ */
672
+ updateBuildTags(updateParameters: Build.UpdateTagParameters, project: string, buildId: number): Promise<string[]>;
584
673
  /**
585
674
  * Adds a tag to a definition
586
675
  *
@@ -598,7 +687,7 @@ export declare class BuildRestClient extends RestClientBase {
598
687
  */
599
688
  addDefinitionTags(tags: string[], project: string, definitionId: number): Promise<string[]>;
600
689
  /**
601
- * Removes a tag from a definition.
690
+ * Removes a tag from a definition. NOTE: This API will not work for tags with special characters. To remove tags with special characters, use the PATCH method instead (in 6.0+)
602
691
  *
603
692
  * @param project - Project ID or project name
604
693
  * @param definitionId - The ID of the definition.
@@ -613,6 +702,14 @@ export declare class BuildRestClient extends RestClientBase {
613
702
  * @param revision - The definition revision number. If not specified, uses the latest revision of the definition.
614
703
  */
615
704
  getDefinitionTags(project: string, definitionId: number, revision?: number): Promise<string[]>;
705
+ /**
706
+ * Adds/Removes tags from a definition.
707
+ *
708
+ * @param updateParameters - The tags to add/remove.
709
+ * @param project - Project ID or project name
710
+ * @param definitionId - The ID of the definition.
711
+ */
712
+ updateDefinitionTags(updateParameters: Build.UpdateTagParameters, project: string, definitionId: number): Promise<string[]>;
616
713
  /**
617
714
  * Removes a tag from builds, definitions, and from the tag store
618
715
  *
@@ -684,7 +781,7 @@ export declare class BuildRestClient extends RestClientBase {
684
781
  */
685
782
  listWebhooks(project: string, providerName: string, serviceEndpointId?: string, repository?: string): Promise<Build.RepositoryWebhook[]>;
686
783
  /**
687
- * Gets the work items associated with a build.
784
+ * Gets the work items associated with a build. Only work items in the same project are returned.
688
785
  *
689
786
  * @param project - Project ID or project name
690
787
  * @param buildId - The ID of the build.
@@ -709,4 +806,15 @@ export declare class BuildRestClient extends RestClientBase {
709
806
  * @param top - The maximum number of work items to return.
710
807
  */
711
808
  getWorkItemsBetweenBuilds(project: string, fromBuildId: number, toBuildId: number, top?: number): Promise<WebApi.ResourceRef[]>;
809
+ /**
810
+ * Converts a definition to YAML, optionally at a specific revision.
811
+ *
812
+ * @param project - Project ID or project name
813
+ * @param definitionId - The ID of the definition.
814
+ * @param revision - The revision number to retrieve. If this is not specified, the latest version will be returned.
815
+ * @param minMetricsTime - If specified, indicates the date from which metrics should be included.
816
+ * @param propertyFilters - A comma-delimited list of properties to include in the results.
817
+ * @param includeLatestBuilds -
818
+ */
819
+ getDefinitionYaml(project: string, definitionId: number, revision?: number, minMetricsTime?: Date, propertyFilters?: string[], includeLatestBuilds?: boolean): Promise<Build.YamlBuild>;
712
820
  }