azure-devops-extension-api 1.158.0 → 2.218.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.d.ts +1 -1
- package/Accounts/AccountsClient.js +4 -4
- package/Accounts/AccountsClient.min.js +1 -1
- package/Build/Build.d.ts +201 -3
- package/Build/Build.js +6 -2
- package/Build/Build.min.js +1 -1
- package/Build/BuildClient.d.ts +121 -13
- package/Build/BuildClient.js +468 -101
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/Contributions.d.ts +1 -1
- package/Contributions/ContributionsClient.js +4 -4
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Core/CoreClient.d.ts +2 -2
- package/Core/CoreClient.js +49 -36
- package/Core/CoreClient.min.js +1 -1
- package/Dashboard/Dashboard.d.ts +79 -2
- package/Dashboard/Dashboard.js +10 -0
- package/Dashboard/Dashboard.min.js +1 -1
- package/Dashboard/DashboardClient.d.ts +2 -2
- package/Dashboard/DashboardClient.js +15 -15
- package/Dashboard/DashboardClient.min.js +1 -1
- package/ExtensionManagement/ExtensionManagement.d.ts +2 -2
- package/ExtensionManagement/ExtensionManagementClient.d.ts +2 -2
- package/ExtensionManagement/ExtensionManagementClient.js +27 -27
- package/ExtensionManagement/ExtensionManagementClient.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/FileContainer.d.ts +22 -0
- package/FileContainer/FileContainer.js +8 -0
- package/FileContainer/FileContainer.min.js +1 -1
- package/FileContainer/FileContainerClient.d.ts +5 -2
- package/FileContainer/FileContainerClient.js +13 -7
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/FormInput/FormInput.d.ts +1 -1
- package/Gallery/Gallery.d.ts +92 -7
- package/Gallery/Gallery.js +25 -3
- package/Gallery/Gallery.min.js +1 -1
- package/Gallery/GalleryClient.d.ts +41 -9
- package/Gallery/GalleryClient.js +211 -90
- package/Gallery/GalleryClient.min.js +1 -1
- package/Git/Git.d.ts +121 -7
- package/Git/Git.js +2 -1
- package/Git/Git.min.js +1 -1
- package/Git/GitClient.d.ts +173 -28
- package/Git/GitClient.js +630 -162
- package/Git/GitClient.min.js +1 -1
- package/Graph/Graph.d.ts +107 -17
- package/Graph/GraphClient.d.ts +41 -2
- package/Graph/GraphClient.js +158 -37
- package/Graph/GraphClient.min.js +1 -1
- package/Identities/Identities.d.ts +15 -0
- package/Locations/LocationsClient.js +9 -9
- package/Locations/LocationsClient.min.js +1 -1
- package/Notification/Notification.d.ts +3 -3
- package/Notification/NotificationClient.d.ts +6 -0
- package/Notification/NotificationClient.js +40 -23
- package/Notification/NotificationClient.min.js +1 -1
- package/Operations/OperationsClient.d.ts +1 -1
- package/Operations/OperationsClient.js +2 -2
- package/Operations/OperationsClient.min.js +1 -1
- package/Pipelines/Pipelines.d.ts +318 -0
- package/Pipelines/Pipelines.js +82 -0
- package/Pipelines/Pipelines.min.js +1 -0
- package/Pipelines/PipelinesClient.d.ts +92 -0
- package/Pipelines/PipelinesClient.js +325 -0
- package/Pipelines/PipelinesClient.min.js +1 -0
- package/Policy/Policy.d.ts +4 -0
- package/Policy/PolicyClient.d.ts +3 -3
- package/Policy/PolicyClient.js +30 -19
- 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/Release.d.ts +81 -7
- package/Release/Release.js +11 -0
- package/Release/Release.min.js +1 -1
- package/Release/ReleaseClient.d.ts +31 -5
- package/Release/ReleaseClient.js +223 -95
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpoint.d.ts +11 -2
- package/ServiceEndpoint/ServiceEndpoint.js +1 -0
- package/ServiceEndpoint/ServiceEndpoint.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.d.ts +33 -31
- package/ServiceEndpoint/ServiceEndpointClient.js +122 -107
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceHooks/ServiceHooks.d.ts +2 -1
- package/ServiceHooks/ServiceHooksClient.js +23 -23
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/TaskAgent/TaskAgent.d.ts +737 -17
- package/TaskAgent/TaskAgent.js +133 -0
- package/TaskAgent/TaskAgent.min.js +1 -1
- package/TaskAgent/TaskAgentClient.d.ts +28 -16
- package/TaskAgent/TaskAgentClient.js +336 -195
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/Test/Test.d.ts +96 -25
- package/Test/Test.js +8 -0
- package/Test/Test.min.js +1 -1
- package/Test/TestClient.d.ts +17 -34
- package/Test/TestClient.js +163 -152
- package/Test/TestClient.min.js +1 -1
- package/TestPlan/TestPlan.d.ts +215 -18
- package/TestPlan/TestPlan.js +47 -1
- package/TestPlan/TestPlan.min.js +1 -1
- package/TestPlan/TestPlanClient.d.ts +48 -14
- package/TestPlan/TestPlanClient.js +255 -74
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestResults/TestResultsClient.d.ts +112 -27
- package/TestResults/TestResultsClient.js +518 -134
- package/TestResults/TestResultsClient.min.js +1 -1
- package/Tfvc/Tfvc.d.ts +9 -1
- package/Tfvc/TfvcClient.d.ts +3 -2
- package/Tfvc/TfvcClient.js +41 -28
- package/Tfvc/TfvcClient.min.js +1 -1
- package/WebApi/WebApi.d.ts +22 -3
- package/Wiki/Wiki.d.ts +51 -0
- package/Wiki/WikiClient.d.ts +18 -0
- package/Wiki/WikiClient.js +71 -1
- package/Wiki/WikiClient.min.js +1 -1
- package/Work/Work.d.ts +68 -1
- package/Work/WorkClient.d.ts +10 -3
- package/Work/WorkClient.js +78 -58
- package/Work/WorkClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +170 -1
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +18 -2
- package/WorkItemTracking/WorkItemTrackingClient.js +107 -60
- package/WorkItemTracking/WorkItemTrackingClient.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.d.ts +15 -2
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.js +4 -0
- package/WorkItemTrackingProcess/WorkItemTrackingProcess.min.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.d.ts +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +58 -58
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitions.d.ts +3 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.d.ts +9 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +69 -46
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/package.json +3 -3
package/Git/GitClient.d.ts
CHANGED
|
@@ -6,6 +6,28 @@ import * as WebApi from "../WebApi/WebApi";
|
|
|
6
6
|
export declare class GitRestClient extends RestClientBase {
|
|
7
7
|
constructor(options: IVssRestClientOptions);
|
|
8
8
|
static readonly RESOURCE_AREA_ID: string;
|
|
9
|
+
/**
|
|
10
|
+
* GET Enablement status for project's repositories.
|
|
11
|
+
*
|
|
12
|
+
* @param projectIds - Null defaults to all projects in the host, list of project's repos status to return
|
|
13
|
+
* @param billingDate - Null defaults to Now(), can be provided for a point in time status
|
|
14
|
+
* @param skip - Skip X rows of resultset to simulate paging.
|
|
15
|
+
* @param take - Return Y rows of resultset to simulate paging.
|
|
16
|
+
*/
|
|
17
|
+
getEnablementStatus(projectIds?: string[], billingDate?: Date, skip?: number, take?: number): Promise<Git.AdvSecEnablementStatus[]>;
|
|
18
|
+
/**
|
|
19
|
+
* POST Enablement status for repositories.
|
|
20
|
+
*
|
|
21
|
+
* @param enablementUpdates -
|
|
22
|
+
*/
|
|
23
|
+
updateEnablementStatus(enablementUpdates: Git.AdvSecEnablementUpdate[]): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* GET Advanced Security Permission status.
|
|
26
|
+
*
|
|
27
|
+
* @param repositoryId - Repository user is trying to access
|
|
28
|
+
* @param permission - Permission being requestd, must be "viewAlert" "dismissAlert" or "manage"
|
|
29
|
+
*/
|
|
30
|
+
getPermission(repositoryId?: string, permission?: string): Promise<boolean>;
|
|
9
31
|
/**
|
|
10
32
|
* Create an annotated tag.
|
|
11
33
|
*
|
|
@@ -22,6 +44,33 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
22
44
|
* @param objectId - ObjectId (Sha1Id) of tag to get.
|
|
23
45
|
*/
|
|
24
46
|
getAnnotatedTag(project: string, repositoryId: string, objectId: string): Promise<Git.GitAnnotatedTag>;
|
|
47
|
+
/**
|
|
48
|
+
* Retrieve actual billable committers for Advanced Security service for a given date.
|
|
49
|
+
*
|
|
50
|
+
* @param project - Project ID or project name
|
|
51
|
+
* @param billingDate - If not specified defaults to the previous billing day.
|
|
52
|
+
* @param skip - Skip X rows of resultset to simulate paging.
|
|
53
|
+
* @param take - Return Y rows of resultset to simulate paging.
|
|
54
|
+
*/
|
|
55
|
+
getBillableCommitters(project: string, billingDate?: Date, skip?: number, take?: number): Promise<Git.BillableCommitter[]>;
|
|
56
|
+
/**
|
|
57
|
+
* Retrieve detailed actual billable committers for Advanced Security service for a given date.
|
|
58
|
+
*
|
|
59
|
+
* @param project - Project ID or project name
|
|
60
|
+
* @param includeDetails - Return all the details on the billable committers.
|
|
61
|
+
* @param billingDate - If not specified defaults to the previous billing day.
|
|
62
|
+
* @param skip - Skip X rows of resultset to simulate paging.
|
|
63
|
+
* @param take - Return Y rows of resultset to simulate paging.
|
|
64
|
+
*/
|
|
65
|
+
getBillableCommittersDetail(project: string, includeDetails: string, billingDate?: Date, skip?: number, take?: number): Promise<Git.BillableCommitterDetail[]>;
|
|
66
|
+
/**
|
|
67
|
+
* Retrieve actual billable committers for Advanced Security service for a given date.
|
|
68
|
+
*
|
|
69
|
+
* @param project - Project ID or project name
|
|
70
|
+
* @param estimateOnly -
|
|
71
|
+
* @param repositoryId -
|
|
72
|
+
*/
|
|
73
|
+
getEstimatedBillableCommitters(project: string, estimateOnly: string, repositoryId?: string): Promise<Git.BillableCommitter[]>;
|
|
25
74
|
/**
|
|
26
75
|
* Get a single blob.
|
|
27
76
|
*
|
|
@@ -97,6 +146,47 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
97
146
|
* @param skip - The number of changes to skip.
|
|
98
147
|
*/
|
|
99
148
|
getChanges(commitId: string, repositoryId: string, project?: string, top?: number, skip?: number): Promise<Git.GitCommitChanges>;
|
|
149
|
+
/**
|
|
150
|
+
* Retrieve one conflict for a cherry pick by ID
|
|
151
|
+
*
|
|
152
|
+
* @param repositoryId -
|
|
153
|
+
* @param cherryPickId -
|
|
154
|
+
* @param conflictId -
|
|
155
|
+
* @param project - Project ID or project name
|
|
156
|
+
*/
|
|
157
|
+
getCherryPickConflict(repositoryId: string, cherryPickId: number, conflictId: number, project?: string): Promise<Git.GitConflict>;
|
|
158
|
+
/**
|
|
159
|
+
* Retrieve all conflicts for a cherry pick
|
|
160
|
+
*
|
|
161
|
+
* @param repositoryId -
|
|
162
|
+
* @param cherryPickId -
|
|
163
|
+
* @param project - Project ID or project name
|
|
164
|
+
* @param continuationToken -
|
|
165
|
+
* @param top -
|
|
166
|
+
* @param excludeResolved -
|
|
167
|
+
* @param onlyResolved -
|
|
168
|
+
* @param includeObsolete -
|
|
169
|
+
*/
|
|
170
|
+
getCherryPickConflicts(repositoryId: string, cherryPickId: number, project?: string, continuationToken?: string, top?: number, excludeResolved?: boolean, onlyResolved?: boolean, includeObsolete?: boolean): Promise<WebApi.PagedList<Git.GitConflict>>;
|
|
171
|
+
/**
|
|
172
|
+
* Update merge conflict resolution
|
|
173
|
+
*
|
|
174
|
+
* @param conflict -
|
|
175
|
+
* @param repositoryId -
|
|
176
|
+
* @param cherryPickId -
|
|
177
|
+
* @param conflictId -
|
|
178
|
+
* @param project - Project ID or project name
|
|
179
|
+
*/
|
|
180
|
+
updateCherryPickConflict(conflict: Git.GitConflict, repositoryId: string, cherryPickId: number, conflictId: number, project?: string): Promise<Git.GitConflict>;
|
|
181
|
+
/**
|
|
182
|
+
* Update multiple merge conflict resolutions
|
|
183
|
+
*
|
|
184
|
+
* @param conflictUpdates -
|
|
185
|
+
* @param repositoryId -
|
|
186
|
+
* @param cherryPickId -
|
|
187
|
+
* @param project - Project ID or project name
|
|
188
|
+
*/
|
|
189
|
+
updateCherryPickConflicts(conflictUpdates: Git.GitConflict[], repositoryId: string, cherryPickId: number, project?: string): Promise<Git.GitConflictUpdateResult[]>;
|
|
100
190
|
/**
|
|
101
191
|
* Given a commitId, returns a list of commits that are in the same cherry-pick family.
|
|
102
192
|
*
|
|
@@ -115,7 +205,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
115
205
|
*/
|
|
116
206
|
createCherryPick(cherryPickToCreate: Git.GitAsyncRefOperationParameters, project: string, repositoryId: string): Promise<Git.GitCherryPick>;
|
|
117
207
|
/**
|
|
118
|
-
* Retrieve information about a cherry pick by cherry pick Id.
|
|
208
|
+
* Retrieve information about a cherry pick operation by cherry pick Id.
|
|
119
209
|
*
|
|
120
210
|
* @param project - Project ID or project name
|
|
121
211
|
* @param cherryPickId - ID of the cherry pick.
|
|
@@ -123,7 +213,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
123
213
|
*/
|
|
124
214
|
getCherryPick(project: string, cherryPickId: number, repositoryId: string): Promise<Git.GitCherryPick>;
|
|
125
215
|
/**
|
|
126
|
-
* Retrieve information about a cherry pick for a specific branch.
|
|
216
|
+
* Retrieve information about a cherry pick operation for a specific branch. This operation is expensive due to the underlying object structure, so this API only looks at the 1000 most recent cherry pick operations.
|
|
127
217
|
*
|
|
128
218
|
* @param project - Project ID or project name
|
|
129
219
|
* @param repositoryId - ID of the repository.
|
|
@@ -278,8 +368,9 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
278
368
|
* @param versionDescriptor - Version descriptor. Default is the default branch for the repository.
|
|
279
369
|
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
280
370
|
* @param resolveLfs - Set to true to resolve Git LFS pointer files to return actual content from Git LFS. Default is false.
|
|
371
|
+
* @param sanitize - Set to true to sanitize an svg file and return it as image. Useful only if requested for svg file. Default is false.
|
|
281
372
|
*/
|
|
282
|
-
getItem(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean): Promise<Git.GitItem>;
|
|
373
|
+
getItem(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean, sanitize?: boolean): Promise<Git.GitItem>;
|
|
283
374
|
/**
|
|
284
375
|
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content, which is always returned as a download.
|
|
285
376
|
*
|
|
@@ -294,8 +385,9 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
294
385
|
* @param versionDescriptor - Version descriptor. Default is the default branch for the repository.
|
|
295
386
|
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
296
387
|
* @param resolveLfs - Set to true to resolve Git LFS pointer files to return actual content from Git LFS. Default is false.
|
|
388
|
+
* @param sanitize - Set to true to sanitize an svg file and return it as image. Useful only if requested for svg file. Default is false.
|
|
297
389
|
*/
|
|
298
|
-
getItemContent(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean): Promise<ArrayBuffer>;
|
|
390
|
+
getItemContent(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean, sanitize?: boolean): Promise<ArrayBuffer>;
|
|
299
391
|
/**
|
|
300
392
|
* Get Item Metadata and/or Content for a collection of items. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content which is always returned as a download.
|
|
301
393
|
*
|
|
@@ -308,8 +400,9 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
308
400
|
* @param download - Set to true to download the response as a file. Default is false.
|
|
309
401
|
* @param includeLinks - Set to true to include links to items. Default is false.
|
|
310
402
|
* @param versionDescriptor - Version descriptor. Default is the default branch for the repository.
|
|
403
|
+
* @param zipForUnix - Set to true to keep the file permissions for unix (and POSIX) systems like executables and symlinks
|
|
311
404
|
*/
|
|
312
|
-
getItems(repositoryId: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, includeLinks?: boolean, versionDescriptor?: Git.GitVersionDescriptor): Promise<Git.GitItem[]>;
|
|
405
|
+
getItems(repositoryId: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, includeLinks?: boolean, versionDescriptor?: Git.GitVersionDescriptor, zipForUnix?: boolean): Promise<Git.GitItem[]>;
|
|
313
406
|
/**
|
|
314
407
|
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content, which is always returned as a download.
|
|
315
408
|
*
|
|
@@ -324,8 +417,9 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
324
417
|
* @param versionDescriptor - Version descriptor. Default is the default branch for the repository.
|
|
325
418
|
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
326
419
|
* @param resolveLfs - Set to true to resolve Git LFS pointer files to return actual content from Git LFS. Default is false.
|
|
420
|
+
* @param sanitize - Set to true to sanitize an svg file and return it as image. Useful only if requested for svg file. Default is false.
|
|
327
421
|
*/
|
|
328
|
-
getItemText(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean): Promise<string>;
|
|
422
|
+
getItemText(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean, sanitize?: boolean): Promise<string>;
|
|
329
423
|
/**
|
|
330
424
|
* Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn't apply to zipped content, which is always returned as a download.
|
|
331
425
|
*
|
|
@@ -340,8 +434,9 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
340
434
|
* @param versionDescriptor - Version descriptor. Default is the default branch for the repository.
|
|
341
435
|
* @param includeContent - Set to true to include item content when requesting json. Default is false.
|
|
342
436
|
* @param resolveLfs - Set to true to resolve Git LFS pointer files to return actual content from Git LFS. Default is false.
|
|
437
|
+
* @param sanitize - Set to true to sanitize an svg file and return it as image. Useful only if requested for svg file. Default is false.
|
|
343
438
|
*/
|
|
344
|
-
getItemZip(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean): Promise<ArrayBuffer>;
|
|
439
|
+
getItemZip(repositoryId: string, path: string, project?: string, scopePath?: string, recursionLevel?: Git.VersionControlRecursionType, includeContentMetadata?: boolean, latestProcessedChange?: boolean, download?: boolean, versionDescriptor?: Git.GitVersionDescriptor, includeContent?: boolean, resolveLfs?: boolean, sanitize?: boolean): Promise<ArrayBuffer>;
|
|
345
440
|
/**
|
|
346
441
|
* Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path
|
|
347
442
|
*
|
|
@@ -472,7 +567,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
472
567
|
* @param pullRequestId - ID of the pull request.
|
|
473
568
|
* @param project - Project ID or project name
|
|
474
569
|
*/
|
|
475
|
-
getPullRequestCommits(repositoryId: string, pullRequestId: number, project?: string): Promise<Git.GitCommitRef
|
|
570
|
+
getPullRequestCommits(repositoryId: string, pullRequestId: number, project?: string): Promise<WebApi.PagedList<Git.GitCommitRef>>;
|
|
476
571
|
/**
|
|
477
572
|
* Retrieve one conflict for a pull request by ID
|
|
478
573
|
*
|
|
@@ -485,14 +580,14 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
485
580
|
/**
|
|
486
581
|
* Retrieve all conflicts for a pull request
|
|
487
582
|
*
|
|
488
|
-
* @param repositoryId -
|
|
489
|
-
* @param pullRequestId -
|
|
583
|
+
* @param repositoryId - The repository of the Pull Request.
|
|
584
|
+
* @param pullRequestId - The pull request ID.
|
|
490
585
|
* @param project - Project ID or project name
|
|
491
|
-
* @param skip -
|
|
492
|
-
* @param top -
|
|
493
|
-
* @param includeObsolete -
|
|
494
|
-
* @param excludeResolved -
|
|
495
|
-
* @param onlyResolved -
|
|
586
|
+
* @param skip - Conflicts to skip.
|
|
587
|
+
* @param top - Conflicts to return after skip.
|
|
588
|
+
* @param includeObsolete - Includes obsolete conflicts.
|
|
589
|
+
* @param excludeResolved - Excludes conflicts already resolved.
|
|
590
|
+
* @param onlyResolved - Returns only the conflicts that are resolved.
|
|
496
591
|
*/
|
|
497
592
|
getPullRequestConflicts(repositoryId: string, pullRequestId: number, project?: string, skip?: number, top?: number, includeObsolete?: boolean, excludeResolved?: boolean, onlyResolved?: boolean): Promise<Git.GitConflict[]>;
|
|
498
593
|
/**
|
|
@@ -519,7 +614,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
519
614
|
*
|
|
520
615
|
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
521
616
|
* @param pullRequestId - ID of the pull request.
|
|
522
|
-
* @param iterationId - ID of the pull request iteration. \<br /\> Iteration
|
|
617
|
+
* @param iterationId - ID of the pull request iteration. \<br /\> Iteration one is the head of the source branch at the time the pull request is created and subsequent iterations are created when there are pushes to the source branch. Allowed values are between 1 and the maximum iteration on this pull request.
|
|
523
618
|
* @param project - Project ID or project name
|
|
524
619
|
* @param top - Optional. The number of changes to retrieve. The default value is 100 and the maximum value is 2000.
|
|
525
620
|
* @param skip - Optional. The number of changes to ignore. For example, to retrieve changes 101-150, set top 50 and skip to 100.
|
|
@@ -661,7 +756,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
661
756
|
* Add a reviewer to a pull request or cast a vote.
|
|
662
757
|
*
|
|
663
758
|
* @param reviewer - Reviewer's vote.\<br /\>If the reviewer's ID is included here, it must match the reviewerID parameter.\<br /\>Reviewers can set their own vote with this method. When adding other reviewers, vote must be set to zero.
|
|
664
|
-
* @param repositoryId - The repository ID of the pull request
|
|
759
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
665
760
|
* @param pullRequestId - ID of the pull request.
|
|
666
761
|
* @param reviewerId - ID of the reviewer.
|
|
667
762
|
* @param project - Project ID or project name
|
|
@@ -671,15 +766,24 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
671
766
|
* Add reviewers to a pull request.
|
|
672
767
|
*
|
|
673
768
|
* @param reviewers - Reviewers to add to the pull request.
|
|
674
|
-
* @param repositoryId - The repository ID of the pull request
|
|
769
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
675
770
|
* @param pullRequestId - ID of the pull request.
|
|
676
771
|
* @param project - Project ID or project name
|
|
677
772
|
*/
|
|
678
773
|
createPullRequestReviewers(reviewers: WebApi.IdentityRef[], repositoryId: string, pullRequestId: number, project?: string): Promise<Git.IdentityRefWithVote[]>;
|
|
774
|
+
/**
|
|
775
|
+
* Add an unmaterialized identity to the reviewers of a pull request.
|
|
776
|
+
*
|
|
777
|
+
* @param reviewer - Reviewer to add to the pull request.
|
|
778
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
779
|
+
* @param pullRequestId - ID of the pull request.
|
|
780
|
+
* @param project - Project ID or project name
|
|
781
|
+
*/
|
|
782
|
+
createUnmaterializedPullRequestReviewer(reviewer: Git.IdentityRefWithVote, repositoryId: string, pullRequestId: number, project?: string): Promise<Git.IdentityRefWithVote>;
|
|
679
783
|
/**
|
|
680
784
|
* Remove a reviewer from a pull request.
|
|
681
785
|
*
|
|
682
|
-
* @param repositoryId - The repository ID of the pull request
|
|
786
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
683
787
|
* @param pullRequestId - ID of the pull request.
|
|
684
788
|
* @param reviewerId - ID of the reviewer to remove.
|
|
685
789
|
* @param project - Project ID or project name
|
|
@@ -688,7 +792,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
688
792
|
/**
|
|
689
793
|
* Retrieve information about a particular reviewer on a pull request
|
|
690
794
|
*
|
|
691
|
-
* @param repositoryId - The repository ID of the pull request
|
|
795
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
692
796
|
* @param pullRequestId - ID of the pull request.
|
|
693
797
|
* @param reviewerId - ID of the reviewer.
|
|
694
798
|
* @param project - Project ID or project name
|
|
@@ -697,16 +801,16 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
697
801
|
/**
|
|
698
802
|
* Retrieve the reviewers for a pull request
|
|
699
803
|
*
|
|
700
|
-
* @param repositoryId - The repository ID of the pull request
|
|
804
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
701
805
|
* @param pullRequestId - ID of the pull request.
|
|
702
806
|
* @param project - Project ID or project name
|
|
703
807
|
*/
|
|
704
808
|
getPullRequestReviewers(repositoryId: string, pullRequestId: number, project?: string): Promise<Git.IdentityRefWithVote[]>;
|
|
705
809
|
/**
|
|
706
|
-
* Edit a reviewer entry. These fields are patchable: isFlagged
|
|
810
|
+
* Edit a reviewer entry. These fields are patchable: isFlagged, hasDeclined
|
|
707
811
|
*
|
|
708
812
|
* @param reviewer - Reviewer data.\<br /\>If the reviewer's ID is included here, it must match the reviewerID parameter.
|
|
709
|
-
* @param repositoryId - The repository ID of the pull request
|
|
813
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
710
814
|
* @param pullRequestId - ID of the pull request.
|
|
711
815
|
* @param reviewerId - ID of the reviewer.
|
|
712
816
|
* @param project - Project ID or project name
|
|
@@ -716,7 +820,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
716
820
|
* Reset the votes of multiple reviewers on a pull request. NOTE: This endpoint only supports updating votes, but does not support updating required reviewers (use policy) or display names.
|
|
717
821
|
*
|
|
718
822
|
* @param patchVotes - IDs of the reviewers whose votes will be reset to zero
|
|
719
|
-
* @param repositoryId - The repository ID of the pull request
|
|
823
|
+
* @param repositoryId - The repository ID of the pull request's target branch.
|
|
720
824
|
* @param pullRequestId - ID of the pull request
|
|
721
825
|
* @param project - Project ID or project name
|
|
722
826
|
*/
|
|
@@ -993,7 +1097,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
993
1097
|
* @param peelTags - [optional] Annotated tags will populate the PeeledObjectId property. default is false.
|
|
994
1098
|
* @param filterContains - [optional] A filter to apply to the refs (contains).
|
|
995
1099
|
*/
|
|
996
|
-
getRefs(repositoryId: string, project?: string, filter?: string, includeLinks?: boolean, includeStatuses?: boolean, includeMyBranches?: boolean, latestStatusesOnly?: boolean, peelTags?: boolean, filterContains?: string): Promise<Git.GitRef
|
|
1100
|
+
getRefs(repositoryId: string, project?: string, filter?: string, includeLinks?: boolean, includeStatuses?: boolean, includeMyBranches?: boolean, latestStatusesOnly?: boolean, peelTags?: boolean, filterContains?: string): Promise<WebApi.PagedList<Git.GitRef>>;
|
|
997
1101
|
/**
|
|
998
1102
|
* Lock or Unlock a branch.
|
|
999
1103
|
*
|
|
@@ -1045,7 +1149,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
1045
1149
|
/**
|
|
1046
1150
|
* Create a git repository in a team project.
|
|
1047
1151
|
*
|
|
1048
|
-
* @param gitRepositoryToCreate - Specify the repo name, team project and/or parent repository. Team project information can be
|
|
1152
|
+
* @param gitRepositoryToCreate - Specify the repo name, team project and/or parent repository. Team project information can be omitted from gitRepositoryToCreate if the request is project-scoped (i.e., includes project Id).
|
|
1049
1153
|
* @param project - Project ID or project name
|
|
1050
1154
|
* @param sourceRef - [optional] Specify the source refs to use while creating a fork repo
|
|
1051
1155
|
*/
|
|
@@ -1053,7 +1157,7 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
1053
1157
|
/**
|
|
1054
1158
|
* Delete a git repository
|
|
1055
1159
|
*
|
|
1056
|
-
* @param repositoryId - The
|
|
1160
|
+
* @param repositoryId - The ID of the repository.
|
|
1057
1161
|
* @param project - Project ID or project name
|
|
1058
1162
|
*/
|
|
1059
1163
|
deleteRepository(repositoryId: string, project?: string): Promise<void>;
|
|
@@ -1085,10 +1189,51 @@ export declare class GitRestClient extends RestClientBase {
|
|
|
1085
1189
|
* Updates the Git repository with either a new repo name or a new default branch.
|
|
1086
1190
|
*
|
|
1087
1191
|
* @param newRepositoryInfo - Specify a new repo name or a new default branch of the repository
|
|
1088
|
-
* @param repositoryId - The
|
|
1192
|
+
* @param repositoryId - The ID of the repository.
|
|
1089
1193
|
* @param project - Project ID or project name
|
|
1090
1194
|
*/
|
|
1091
1195
|
updateRepository(newRepositoryInfo: Git.GitRepository, repositoryId: string, project?: string): Promise<Git.GitRepository>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Retrieve one conflict for a revert by ID
|
|
1198
|
+
*
|
|
1199
|
+
* @param repositoryId -
|
|
1200
|
+
* @param revertId -
|
|
1201
|
+
* @param conflictId -
|
|
1202
|
+
* @param project - Project ID or project name
|
|
1203
|
+
*/
|
|
1204
|
+
getRevertConflict(repositoryId: string, revertId: number, conflictId: number, project?: string): Promise<Git.GitConflict>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Retrieve all conflicts for a revert
|
|
1207
|
+
*
|
|
1208
|
+
* @param repositoryId -
|
|
1209
|
+
* @param revertId -
|
|
1210
|
+
* @param project - Project ID or project name
|
|
1211
|
+
* @param continuationToken -
|
|
1212
|
+
* @param top -
|
|
1213
|
+
* @param excludeResolved -
|
|
1214
|
+
* @param onlyResolved -
|
|
1215
|
+
* @param includeObsolete -
|
|
1216
|
+
*/
|
|
1217
|
+
getRevertConflicts(repositoryId: string, revertId: number, project?: string, continuationToken?: string, top?: number, excludeResolved?: boolean, onlyResolved?: boolean, includeObsolete?: boolean): Promise<WebApi.PagedList<Git.GitConflict>>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Update merge conflict resolution
|
|
1220
|
+
*
|
|
1221
|
+
* @param conflict -
|
|
1222
|
+
* @param repositoryId -
|
|
1223
|
+
* @param revertId -
|
|
1224
|
+
* @param conflictId -
|
|
1225
|
+
* @param project - Project ID or project name
|
|
1226
|
+
*/
|
|
1227
|
+
updateRevertConflict(conflict: Git.GitConflict, repositoryId: string, revertId: number, conflictId: number, project?: string): Promise<Git.GitConflict>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Update multiple merge conflict resolutions
|
|
1230
|
+
*
|
|
1231
|
+
* @param conflictUpdates -
|
|
1232
|
+
* @param repositoryId -
|
|
1233
|
+
* @param revertId -
|
|
1234
|
+
* @param project - Project ID or project name
|
|
1235
|
+
*/
|
|
1236
|
+
updateRevertConflicts(conflictUpdates: Git.GitConflict[], repositoryId: string, revertId: number, project?: string): Promise<Git.GitConflictUpdateResult[]>;
|
|
1092
1237
|
/**
|
|
1093
1238
|
* Starts the operation to create a new branch which reverts changes introduced by either a specific commit or commits that are associated to a pull request.
|
|
1094
1239
|
*
|