azure-devops-extension-api 2.225.0 → 2.226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accounts/AccountsClient.js +3 -3
- package/Accounts/AccountsClient.min.js +1 -1
- package/Build/BuildClient.js +97 -97
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/ContributionsClient.js +4 -4
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Core/CoreClient.js +33 -33
- package/Core/CoreClient.min.js +1 -1
- package/Dashboard/DashboardClient.js +13 -13
- package/Dashboard/DashboardClient.min.js +1 -1
- package/ExtensionManagement/ExtensionManagementClient.js +25 -25
- package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
- package/Favorite/FavoriteClient.js +10 -10
- package/Favorite/FavoriteClient.min.js +1 -1
- package/FeatureAvailability/FeatureAvailabilityClient.js +5 -5
- package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
- package/FeatureManagement/FeatureManagementClient.js +9 -9
- package/FeatureManagement/FeatureManagementClient.min.js +1 -1
- package/FileContainer/FileContainerClient.js +4 -4
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/Gallery/GalleryClient.js +83 -83
- package/Gallery/GalleryClient.min.js +1 -1
- package/Git/Git.d.ts +17 -0
- package/Git/GitClient.d.ts +19 -9
- package/Git/GitClient.js +195 -169
- package/Git/GitClient.min.js +1 -1
- package/Graph/GraphClient.js +40 -40
- package/Graph/GraphClient.min.js +1 -1
- package/Locations/LocationsClient.js +9 -9
- package/Locations/LocationsClient.min.js +1 -1
- package/Notification/NotificationClient.js +24 -24
- package/Notification/NotificationClient.min.js +1 -1
- package/Operations/OperationsClient.js +1 -1
- package/Operations/OperationsClient.min.js +1 -1
- package/Pipelines/PipelinesClient.js +10 -10
- package/Pipelines/PipelinesClient.min.js +1 -1
- package/Policy/PolicyClient.js +12 -12
- package/Policy/PolicyClient.min.js +1 -1
- package/Profile/ProfileClient.js +12 -12
- package/Profile/ProfileClient.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysisClient.js +4 -4
- package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
- package/Release/ReleaseClient.js +88 -88
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.js +25 -25
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceHooks/ServiceHooksClient.js +23 -23
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/TaskAgent/TaskAgentClient.js +155 -155
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/Test/TestClient.js +76 -76
- package/Test/TestClient.min.js +1 -1
- package/TestPlan/TestPlanClient.js +42 -42
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestResults/TestResultsClient.js +96 -96
- package/TestResults/TestResultsClient.min.js +1 -1
- package/Tfvc/TfvcClient.js +24 -24
- package/Tfvc/TfvcClient.min.js +1 -1
- package/Work/WorkClient.js +56 -56
- package/Work/WorkClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +3 -0
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +1 -1
- package/WorkItemTracking/WorkItemTrackingClient.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +57 -57
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +46 -46
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/package.json +1 -1
package/Git/GitClient.js
CHANGED
|
@@ -73,7 +73,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
73
73
|
projectIds: projectIds
|
|
74
74
|
};
|
|
75
75
|
return [2 /*return*/, this.beginRequest({
|
|
76
|
-
apiVersion: "7.
|
|
76
|
+
apiVersion: "7.2-preview.1",
|
|
77
77
|
method: "DELETE",
|
|
78
78
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
79
79
|
queryParams: queryValues
|
|
@@ -100,7 +100,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
100
100
|
'$take': take
|
|
101
101
|
};
|
|
102
102
|
return [2 /*return*/, this.beginRequest({
|
|
103
|
-
apiVersion: "7.
|
|
103
|
+
apiVersion: "7.2-preview.1",
|
|
104
104
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
105
105
|
queryParams: queryValues
|
|
106
106
|
})];
|
|
@@ -118,7 +118,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
118
118
|
'$enableOnCreateHost': enableOnCreateHost
|
|
119
119
|
};
|
|
120
120
|
return [2 /*return*/, this.beginRequest({
|
|
121
|
-
apiVersion: "7.
|
|
121
|
+
apiVersion: "7.2-preview.1",
|
|
122
122
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
123
123
|
queryParams: queryValues
|
|
124
124
|
})];
|
|
@@ -136,7 +136,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
136
136
|
'$enableOnCreateProjectId': enableOnCreateProjectId
|
|
137
137
|
};
|
|
138
138
|
return [2 /*return*/, this.beginRequest({
|
|
139
|
-
apiVersion: "7.
|
|
139
|
+
apiVersion: "7.2-preview.1",
|
|
140
140
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
141
141
|
queryParams: queryValues
|
|
142
142
|
})];
|
|
@@ -154,7 +154,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
154
154
|
'$enableOnCreateHost': enableOnCreateHost
|
|
155
155
|
};
|
|
156
156
|
return [2 /*return*/, this.beginRequest({
|
|
157
|
-
apiVersion: "7.
|
|
157
|
+
apiVersion: "7.2-preview.1",
|
|
158
158
|
method: "PUT",
|
|
159
159
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
160
160
|
queryParams: queryValues
|
|
@@ -175,7 +175,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
175
175
|
'$enableOnStatus': enableOnStatus
|
|
176
176
|
};
|
|
177
177
|
return [2 /*return*/, this.beginRequest({
|
|
178
|
-
apiVersion: "7.
|
|
178
|
+
apiVersion: "7.2-preview.1",
|
|
179
179
|
method: "PUT",
|
|
180
180
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
181
181
|
queryParams: queryValues
|
|
@@ -192,7 +192,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
192
192
|
return __awaiter(this, void 0, void 0, function () {
|
|
193
193
|
return __generator(this, function (_a) {
|
|
194
194
|
return [2 /*return*/, this.beginRequest({
|
|
195
|
-
apiVersion: "7.
|
|
195
|
+
apiVersion: "7.2-preview.1",
|
|
196
196
|
method: "POST",
|
|
197
197
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
198
198
|
body: enablementUpdates
|
|
@@ -200,6 +200,58 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
};
|
|
203
|
+
/**
|
|
204
|
+
* Get estimated billable pushers for an Organization for last 90 days.
|
|
205
|
+
*
|
|
206
|
+
*/
|
|
207
|
+
GitRestClient.prototype.getEstimatedBillablePushersOrg = function () {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
209
|
+
return __generator(this, function (_a) {
|
|
210
|
+
return [2 /*return*/, this.beginRequest({
|
|
211
|
+
apiVersion: "7.2-preview.1",
|
|
212
|
+
routeTemplate: "_apis/git/advsecEstimate"
|
|
213
|
+
})];
|
|
214
|
+
});
|
|
215
|
+
});
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Get estimated billable pushers for a project for last 90 days.
|
|
219
|
+
*
|
|
220
|
+
* @param project - Project ID or project name
|
|
221
|
+
*/
|
|
222
|
+
GitRestClient.prototype.getEstimatedBillablePushersProject = function (project) {
|
|
223
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
224
|
+
return __generator(this, function (_a) {
|
|
225
|
+
return [2 /*return*/, this.beginRequest({
|
|
226
|
+
apiVersion: "7.2-preview.1",
|
|
227
|
+
routeTemplate: "{project}/_apis/git/advsecEstimate",
|
|
228
|
+
routeValues: {
|
|
229
|
+
project: project
|
|
230
|
+
}
|
|
231
|
+
})];
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Get estimated billable committers for a repository for the last 90 days.
|
|
237
|
+
*
|
|
238
|
+
* @param project - Project ID or project name
|
|
239
|
+
* @param repositoryId -
|
|
240
|
+
*/
|
|
241
|
+
GitRestClient.prototype.getEstimatedBillableCommittersRepo = function (project, repositoryId) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
243
|
+
return __generator(this, function (_a) {
|
|
244
|
+
return [2 /*return*/, this.beginRequest({
|
|
245
|
+
apiVersion: "7.2-preview.1",
|
|
246
|
+
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/advsecEstimate",
|
|
247
|
+
routeValues: {
|
|
248
|
+
project: project,
|
|
249
|
+
repositoryId: repositoryId
|
|
250
|
+
}
|
|
251
|
+
})];
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
};
|
|
203
255
|
/**
|
|
204
256
|
* GET Advanced Security Permission status.
|
|
205
257
|
*
|
|
@@ -217,7 +269,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
217
269
|
'$permission': permission
|
|
218
270
|
};
|
|
219
271
|
return [2 /*return*/, this.beginRequest({
|
|
220
|
-
apiVersion: "7.
|
|
272
|
+
apiVersion: "7.2-preview.1",
|
|
221
273
|
routeTemplate: "_apis/git/advsecPermissions",
|
|
222
274
|
queryParams: queryValues
|
|
223
275
|
})];
|
|
@@ -235,7 +287,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
235
287
|
return __awaiter(this, void 0, void 0, function () {
|
|
236
288
|
return __generator(this, function (_a) {
|
|
237
289
|
return [2 /*return*/, this.beginRequest({
|
|
238
|
-
apiVersion: "7.
|
|
290
|
+
apiVersion: "7.2-preview.1",
|
|
239
291
|
method: "POST",
|
|
240
292
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/annotatedTags/{objectId}",
|
|
241
293
|
routeValues: {
|
|
@@ -258,7 +310,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
258
310
|
return __awaiter(this, void 0, void 0, function () {
|
|
259
311
|
return __generator(this, function (_a) {
|
|
260
312
|
return [2 /*return*/, this.beginRequest({
|
|
261
|
-
apiVersion: "7.
|
|
313
|
+
apiVersion: "7.2-preview.1",
|
|
262
314
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/annotatedTags/{objectId}",
|
|
263
315
|
routeValues: {
|
|
264
316
|
project: project,
|
|
@@ -287,7 +339,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
287
339
|
'$take': take
|
|
288
340
|
};
|
|
289
341
|
return [2 /*return*/, this.beginRequest({
|
|
290
|
-
apiVersion: "7.
|
|
342
|
+
apiVersion: "7.2-preview.1",
|
|
291
343
|
routeTemplate: "{project}/_apis/git/billableCommitters",
|
|
292
344
|
routeValues: {
|
|
293
345
|
project: project
|
|
@@ -298,7 +350,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
298
350
|
});
|
|
299
351
|
};
|
|
300
352
|
/**
|
|
301
|
-
* Retrieve detailed actual billable committers for Advanced Security service for a given date.
|
|
353
|
+
* Retrieve detailed actual billable committers for Advanced Security service for a given date. Detailed results intentionally does not filter out soft deleted projects and repositories to help diagnose billing issues.
|
|
302
354
|
*
|
|
303
355
|
* @param project - Project ID or project name
|
|
304
356
|
* @param includeDetails - Return all the details on the billable committers.
|
|
@@ -317,33 +369,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
317
369
|
'$take': take
|
|
318
370
|
};
|
|
319
371
|
return [2 /*return*/, this.beginRequest({
|
|
320
|
-
apiVersion: "7.
|
|
321
|
-
routeTemplate: "{project}/_apis/git/billableCommitters",
|
|
322
|
-
routeValues: {
|
|
323
|
-
project: project
|
|
324
|
-
},
|
|
325
|
-
queryParams: queryValues
|
|
326
|
-
})];
|
|
327
|
-
});
|
|
328
|
-
});
|
|
329
|
-
};
|
|
330
|
-
/**
|
|
331
|
-
* Retrieve actual billable committers for Advanced Security service for a given date.
|
|
332
|
-
*
|
|
333
|
-
* @param project - Project ID or project name
|
|
334
|
-
* @param estimateOnly -
|
|
335
|
-
* @param repositoryId -
|
|
336
|
-
*/
|
|
337
|
-
GitRestClient.prototype.getEstimatedBillableCommitters = function (project, estimateOnly, repositoryId) {
|
|
338
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
339
|
-
var queryValues;
|
|
340
|
-
return __generator(this, function (_a) {
|
|
341
|
-
queryValues = {
|
|
342
|
-
'$estimateOnly': estimateOnly,
|
|
343
|
-
'$repositoryId': repositoryId
|
|
344
|
-
};
|
|
345
|
-
return [2 /*return*/, this.beginRequest({
|
|
346
|
-
apiVersion: "7.1-preview.1",
|
|
372
|
+
apiVersion: "7.2-preview.1",
|
|
347
373
|
routeTemplate: "{project}/_apis/git/billableCommitters",
|
|
348
374
|
routeValues: {
|
|
349
375
|
project: project
|
|
@@ -373,7 +399,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
373
399
|
resolveLfs: resolveLfs
|
|
374
400
|
};
|
|
375
401
|
return [2 /*return*/, this.beginRequest({
|
|
376
|
-
apiVersion: "7.
|
|
402
|
+
apiVersion: "7.2-preview.1",
|
|
377
403
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
378
404
|
routeValues: {
|
|
379
405
|
project: project,
|
|
@@ -405,7 +431,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
405
431
|
resolveLfs: resolveLfs
|
|
406
432
|
};
|
|
407
433
|
return [2 /*return*/, this.beginRequest({
|
|
408
|
-
apiVersion: "7.
|
|
434
|
+
apiVersion: "7.2-preview.1",
|
|
409
435
|
httpResponseType: "application/octet-stream",
|
|
410
436
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
411
437
|
routeValues: {
|
|
@@ -434,7 +460,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
434
460
|
filename: filename
|
|
435
461
|
};
|
|
436
462
|
return [2 /*return*/, this.beginRequest({
|
|
437
|
-
apiVersion: "7.
|
|
463
|
+
apiVersion: "7.2-preview.1",
|
|
438
464
|
method: "POST",
|
|
439
465
|
httpResponseType: "application/zip",
|
|
440
466
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
@@ -468,7 +494,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
468
494
|
resolveLfs: resolveLfs
|
|
469
495
|
};
|
|
470
496
|
return [2 /*return*/, this.beginRequest({
|
|
471
|
-
apiVersion: "7.
|
|
497
|
+
apiVersion: "7.2-preview.1",
|
|
472
498
|
httpResponseType: "application/zip",
|
|
473
499
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
474
500
|
routeValues: {
|
|
@@ -498,7 +524,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
498
524
|
baseVersionDescriptor: baseVersionDescriptor
|
|
499
525
|
};
|
|
500
526
|
return [2 /*return*/, this.beginRequest({
|
|
501
|
-
apiVersion: "7.
|
|
527
|
+
apiVersion: "7.2-preview.1",
|
|
502
528
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/stats/branches",
|
|
503
529
|
routeValues: {
|
|
504
530
|
project: project,
|
|
@@ -524,7 +550,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
524
550
|
baseVersionDescriptor: baseVersionDescriptor
|
|
525
551
|
};
|
|
526
552
|
return [2 /*return*/, this.beginRequest({
|
|
527
|
-
apiVersion: "7.
|
|
553
|
+
apiVersion: "7.2-preview.1",
|
|
528
554
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/stats/branches",
|
|
529
555
|
routeValues: {
|
|
530
556
|
project: project,
|
|
@@ -544,7 +570,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
544
570
|
return __awaiter(this, void 0, void 0, function () {
|
|
545
571
|
return __generator(this, function (_a) {
|
|
546
572
|
return [2 /*return*/, this.beginRequest({
|
|
547
|
-
apiVersion: "7.
|
|
573
|
+
apiVersion: "7.2-preview.1",
|
|
548
574
|
method: "POST",
|
|
549
575
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/stats/branches",
|
|
550
576
|
routeValues: {
|
|
@@ -574,7 +600,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
574
600
|
skip: skip
|
|
575
601
|
};
|
|
576
602
|
return [2 /*return*/, this.beginRequest({
|
|
577
|
-
apiVersion: "7.
|
|
603
|
+
apiVersion: "7.2-preview.1",
|
|
578
604
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/Changes",
|
|
579
605
|
routeValues: {
|
|
580
606
|
project: project,
|
|
@@ -598,7 +624,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
598
624
|
return __awaiter(this, void 0, void 0, function () {
|
|
599
625
|
return __generator(this, function (_a) {
|
|
600
626
|
return [2 /*return*/, this.beginRequest({
|
|
601
|
-
apiVersion: "7.
|
|
627
|
+
apiVersion: "7.2-preview.1",
|
|
602
628
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
603
629
|
routeValues: {
|
|
604
630
|
project: project,
|
|
@@ -635,7 +661,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
635
661
|
includeObsolete: includeObsolete
|
|
636
662
|
};
|
|
637
663
|
return [2 /*return*/, this.beginRequest({
|
|
638
|
-
apiVersion: "7.
|
|
664
|
+
apiVersion: "7.2-preview.1",
|
|
639
665
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
640
666
|
routeValues: {
|
|
641
667
|
project: project,
|
|
@@ -672,7 +698,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
672
698
|
return __awaiter(this, void 0, void 0, function () {
|
|
673
699
|
return __generator(this, function (_a) {
|
|
674
700
|
return [2 /*return*/, this.beginRequest({
|
|
675
|
-
apiVersion: "7.
|
|
701
|
+
apiVersion: "7.2-preview.1",
|
|
676
702
|
method: "PATCH",
|
|
677
703
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
678
704
|
routeValues: {
|
|
@@ -698,7 +724,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
698
724
|
return __awaiter(this, void 0, void 0, function () {
|
|
699
725
|
return __generator(this, function (_a) {
|
|
700
726
|
return [2 /*return*/, this.beginRequest({
|
|
701
|
-
apiVersion: "7.
|
|
727
|
+
apiVersion: "7.2-preview.1",
|
|
702
728
|
method: "PATCH",
|
|
703
729
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
704
730
|
routeValues: {
|
|
@@ -727,7 +753,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
727
753
|
includeLinks: includeLinks
|
|
728
754
|
};
|
|
729
755
|
return [2 /*return*/, this.beginRequest({
|
|
730
|
-
apiVersion: "7.
|
|
756
|
+
apiVersion: "7.2-preview.1",
|
|
731
757
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/cherryPickRelationships/{commitId}",
|
|
732
758
|
routeValues: {
|
|
733
759
|
project: project,
|
|
@@ -750,7 +776,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
750
776
|
return __awaiter(this, void 0, void 0, function () {
|
|
751
777
|
return __generator(this, function (_a) {
|
|
752
778
|
return [2 /*return*/, this.beginRequest({
|
|
753
|
-
apiVersion: "7.
|
|
779
|
+
apiVersion: "7.2-preview.1",
|
|
754
780
|
method: "POST",
|
|
755
781
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}",
|
|
756
782
|
routeValues: {
|
|
@@ -773,7 +799,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
773
799
|
return __awaiter(this, void 0, void 0, function () {
|
|
774
800
|
return __generator(this, function (_a) {
|
|
775
801
|
return [2 /*return*/, this.beginRequest({
|
|
776
|
-
apiVersion: "7.
|
|
802
|
+
apiVersion: "7.2-preview.1",
|
|
777
803
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}",
|
|
778
804
|
routeValues: {
|
|
779
805
|
project: project,
|
|
@@ -799,7 +825,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
799
825
|
refName: refName
|
|
800
826
|
};
|
|
801
827
|
return [2 /*return*/, this.beginRequest({
|
|
802
|
-
apiVersion: "7.
|
|
828
|
+
apiVersion: "7.2-preview.1",
|
|
803
829
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}",
|
|
804
830
|
routeValues: {
|
|
805
831
|
project: project,
|
|
@@ -841,7 +867,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
841
867
|
queryValues.targetVersionOptions = targetVersionDescriptor.versionOptions;
|
|
842
868
|
}
|
|
843
869
|
return [2 /*return*/, this.beginRequest({
|
|
844
|
-
apiVersion: "7.
|
|
870
|
+
apiVersion: "7.2-preview.1",
|
|
845
871
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/diffs/commits",
|
|
846
872
|
routeValues: {
|
|
847
873
|
project: project,
|
|
@@ -868,7 +894,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
868
894
|
changeCount: changeCount
|
|
869
895
|
};
|
|
870
896
|
return [2 /*return*/, this.beginRequest({
|
|
871
|
-
apiVersion: "7.
|
|
897
|
+
apiVersion: "7.2-preview.1",
|
|
872
898
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Commits/{commitId}",
|
|
873
899
|
routeValues: {
|
|
874
900
|
project: project,
|
|
@@ -895,7 +921,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
895
921
|
searchCriteria: searchCriteria
|
|
896
922
|
};
|
|
897
923
|
return [2 /*return*/, this.beginRequest({
|
|
898
|
-
apiVersion: "7.
|
|
924
|
+
apiVersion: "7.2-preview.1",
|
|
899
925
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Commits/{commitId}",
|
|
900
926
|
routeValues: {
|
|
901
927
|
project: project,
|
|
@@ -927,7 +953,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
927
953
|
includeLinks: includeLinks
|
|
928
954
|
};
|
|
929
955
|
return [2 /*return*/, this.beginRequest({
|
|
930
|
-
apiVersion: "7.
|
|
956
|
+
apiVersion: "7.2-preview.1",
|
|
931
957
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Commits/{commitId}",
|
|
932
958
|
routeValues: {
|
|
933
959
|
project: project,
|
|
@@ -958,7 +984,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
958
984
|
includeStatuses: includeStatuses
|
|
959
985
|
};
|
|
960
986
|
return [2 /*return*/, this.beginRequest({
|
|
961
|
-
apiVersion: "7.
|
|
987
|
+
apiVersion: "7.2-preview.1",
|
|
962
988
|
method: "POST",
|
|
963
989
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/CommitsBatch",
|
|
964
990
|
routeValues: {
|
|
@@ -980,7 +1006,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
980
1006
|
return __awaiter(this, void 0, void 0, function () {
|
|
981
1007
|
return __generator(this, function (_a) {
|
|
982
1008
|
return [2 /*return*/, this.beginRequest({
|
|
983
|
-
apiVersion: "7.
|
|
1009
|
+
apiVersion: "7.2-preview.1",
|
|
984
1010
|
routeTemplate: "{project}/_apis/git/DeletedRepositories",
|
|
985
1011
|
routeValues: {
|
|
986
1012
|
project: project
|
|
@@ -1000,7 +1026,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1000
1026
|
return __awaiter(this, void 0, void 0, function () {
|
|
1001
1027
|
return __generator(this, function (_a) {
|
|
1002
1028
|
return [2 /*return*/, this.beginRequest({
|
|
1003
|
-
apiVersion: "7.
|
|
1029
|
+
apiVersion: "7.2-preview.1",
|
|
1004
1030
|
method: "POST",
|
|
1005
1031
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/FileDiffs",
|
|
1006
1032
|
routeValues: {
|
|
@@ -1028,7 +1054,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1028
1054
|
includeLinks: includeLinks
|
|
1029
1055
|
};
|
|
1030
1056
|
return [2 /*return*/, this.beginRequest({
|
|
1031
|
-
apiVersion: "7.
|
|
1057
|
+
apiVersion: "7.2-preview.1",
|
|
1032
1058
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forks/{collectionId}",
|
|
1033
1059
|
routeValues: {
|
|
1034
1060
|
project: project,
|
|
@@ -1056,7 +1082,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1056
1082
|
includeLinks: includeLinks
|
|
1057
1083
|
};
|
|
1058
1084
|
return [2 /*return*/, this.beginRequest({
|
|
1059
|
-
apiVersion: "7.
|
|
1085
|
+
apiVersion: "7.2-preview.1",
|
|
1060
1086
|
method: "POST",
|
|
1061
1087
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forkSyncRequests/{forkSyncOperationId}",
|
|
1062
1088
|
routeValues: {
|
|
@@ -1085,7 +1111,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1085
1111
|
includeLinks: includeLinks
|
|
1086
1112
|
};
|
|
1087
1113
|
return [2 /*return*/, this.beginRequest({
|
|
1088
|
-
apiVersion: "7.
|
|
1114
|
+
apiVersion: "7.2-preview.1",
|
|
1089
1115
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forkSyncRequests/{forkSyncOperationId}",
|
|
1090
1116
|
routeValues: {
|
|
1091
1117
|
project: project,
|
|
@@ -1114,7 +1140,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1114
1140
|
includeLinks: includeLinks
|
|
1115
1141
|
};
|
|
1116
1142
|
return [2 /*return*/, this.beginRequest({
|
|
1117
|
-
apiVersion: "7.
|
|
1143
|
+
apiVersion: "7.2-preview.1",
|
|
1118
1144
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forkSyncRequests/{forkSyncOperationId}",
|
|
1119
1145
|
routeValues: {
|
|
1120
1146
|
project: project,
|
|
@@ -1136,7 +1162,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1136
1162
|
return __awaiter(this, void 0, void 0, function () {
|
|
1137
1163
|
return __generator(this, function (_a) {
|
|
1138
1164
|
return [2 /*return*/, this.beginRequest({
|
|
1139
|
-
apiVersion: "7.
|
|
1165
|
+
apiVersion: "7.2-preview.1",
|
|
1140
1166
|
method: "POST",
|
|
1141
1167
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1142
1168
|
routeValues: {
|
|
@@ -1159,7 +1185,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1159
1185
|
return __awaiter(this, void 0, void 0, function () {
|
|
1160
1186
|
return __generator(this, function (_a) {
|
|
1161
1187
|
return [2 /*return*/, this.beginRequest({
|
|
1162
|
-
apiVersion: "7.
|
|
1188
|
+
apiVersion: "7.2-preview.1",
|
|
1163
1189
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1164
1190
|
routeValues: {
|
|
1165
1191
|
project: project,
|
|
@@ -1185,7 +1211,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1185
1211
|
includeAbandoned: includeAbandoned
|
|
1186
1212
|
};
|
|
1187
1213
|
return [2 /*return*/, this.beginRequest({
|
|
1188
|
-
apiVersion: "7.
|
|
1214
|
+
apiVersion: "7.2-preview.1",
|
|
1189
1215
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1190
1216
|
routeValues: {
|
|
1191
1217
|
project: project,
|
|
@@ -1208,7 +1234,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1208
1234
|
return __awaiter(this, void 0, void 0, function () {
|
|
1209
1235
|
return __generator(this, function (_a) {
|
|
1210
1236
|
return [2 /*return*/, this.beginRequest({
|
|
1211
|
-
apiVersion: "7.
|
|
1237
|
+
apiVersion: "7.2-preview.1",
|
|
1212
1238
|
method: "PATCH",
|
|
1213
1239
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1214
1240
|
routeValues: {
|
|
@@ -1254,7 +1280,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1254
1280
|
sanitize: sanitize
|
|
1255
1281
|
};
|
|
1256
1282
|
return [2 /*return*/, this.beginRequest({
|
|
1257
|
-
apiVersion: "7.
|
|
1283
|
+
apiVersion: "7.2-preview.1",
|
|
1258
1284
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1259
1285
|
routeValues: {
|
|
1260
1286
|
project: project,
|
|
@@ -1298,7 +1324,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1298
1324
|
sanitize: sanitize
|
|
1299
1325
|
};
|
|
1300
1326
|
return [2 /*return*/, this.beginRequest({
|
|
1301
|
-
apiVersion: "7.
|
|
1327
|
+
apiVersion: "7.2-preview.1",
|
|
1302
1328
|
httpResponseType: "application/octet-stream",
|
|
1303
1329
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1304
1330
|
routeValues: {
|
|
@@ -1339,7 +1365,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1339
1365
|
zipForUnix: zipForUnix
|
|
1340
1366
|
};
|
|
1341
1367
|
return [2 /*return*/, this.beginRequest({
|
|
1342
|
-
apiVersion: "7.
|
|
1368
|
+
apiVersion: "7.2-preview.1",
|
|
1343
1369
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1344
1370
|
routeValues: {
|
|
1345
1371
|
project: project,
|
|
@@ -1383,7 +1409,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1383
1409
|
sanitize: sanitize
|
|
1384
1410
|
};
|
|
1385
1411
|
return [2 /*return*/, this.beginRequest({
|
|
1386
|
-
apiVersion: "7.
|
|
1412
|
+
apiVersion: "7.2-preview.1",
|
|
1387
1413
|
httpResponseType: "text/plain",
|
|
1388
1414
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1389
1415
|
routeValues: {
|
|
@@ -1428,7 +1454,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1428
1454
|
sanitize: sanitize
|
|
1429
1455
|
};
|
|
1430
1456
|
return [2 /*return*/, this.beginRequest({
|
|
1431
|
-
apiVersion: "7.
|
|
1457
|
+
apiVersion: "7.2-preview.1",
|
|
1432
1458
|
httpResponseType: "application/zip",
|
|
1433
1459
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1434
1460
|
routeValues: {
|
|
@@ -1451,7 +1477,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1451
1477
|
return __awaiter(this, void 0, void 0, function () {
|
|
1452
1478
|
return __generator(this, function (_a) {
|
|
1453
1479
|
return [2 /*return*/, this.beginRequest({
|
|
1454
|
-
apiVersion: "7.
|
|
1480
|
+
apiVersion: "7.2-preview.1",
|
|
1455
1481
|
method: "POST",
|
|
1456
1482
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/ItemsBatch",
|
|
1457
1483
|
routeValues: {
|
|
@@ -1483,7 +1509,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1483
1509
|
otherRepositoryId: otherRepositoryId
|
|
1484
1510
|
};
|
|
1485
1511
|
return [2 /*return*/, this.beginRequest({
|
|
1486
|
-
apiVersion: "7.
|
|
1512
|
+
apiVersion: "7.2-preview.1",
|
|
1487
1513
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/commits/{commitId}/mergeBases",
|
|
1488
1514
|
routeValues: {
|
|
1489
1515
|
project: project,
|
|
@@ -1511,7 +1537,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1511
1537
|
includeLinks: includeLinks
|
|
1512
1538
|
};
|
|
1513
1539
|
return [2 /*return*/, this.beginRequest({
|
|
1514
|
-
apiVersion: "7.
|
|
1540
|
+
apiVersion: "7.2-preview.1",
|
|
1515
1541
|
method: "POST",
|
|
1516
1542
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/merges/{mergeOperationId}",
|
|
1517
1543
|
routeValues: {
|
|
@@ -1540,7 +1566,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1540
1566
|
includeLinks: includeLinks
|
|
1541
1567
|
};
|
|
1542
1568
|
return [2 /*return*/, this.beginRequest({
|
|
1543
|
-
apiVersion: "7.
|
|
1569
|
+
apiVersion: "7.2-preview.1",
|
|
1544
1570
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/merges/{mergeOperationId}",
|
|
1545
1571
|
routeValues: {
|
|
1546
1572
|
project: project,
|
|
@@ -1565,7 +1591,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1565
1591
|
return __awaiter(this, void 0, void 0, function () {
|
|
1566
1592
|
return __generator(this, function (_a) {
|
|
1567
1593
|
return [2 /*return*/, this.beginRequest({
|
|
1568
|
-
apiVersion: "7.
|
|
1594
|
+
apiVersion: "7.2-preview.1",
|
|
1569
1595
|
method: "POST",
|
|
1570
1596
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1571
1597
|
routeValues: {
|
|
@@ -1595,7 +1621,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1595
1621
|
return __awaiter(this, void 0, void 0, function () {
|
|
1596
1622
|
return __generator(this, function (_a) {
|
|
1597
1623
|
return [2 /*return*/, this.beginRequest({
|
|
1598
|
-
apiVersion: "7.
|
|
1624
|
+
apiVersion: "7.2-preview.1",
|
|
1599
1625
|
method: "DELETE",
|
|
1600
1626
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1601
1627
|
routeValues: {
|
|
@@ -1620,7 +1646,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1620
1646
|
return __awaiter(this, void 0, void 0, function () {
|
|
1621
1647
|
return __generator(this, function (_a) {
|
|
1622
1648
|
return [2 /*return*/, this.beginRequest({
|
|
1623
|
-
apiVersion: "7.
|
|
1649
|
+
apiVersion: "7.2-preview.1",
|
|
1624
1650
|
httpResponseType: "application/octet-stream",
|
|
1625
1651
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1626
1652
|
routeValues: {
|
|
@@ -1644,7 +1670,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1644
1670
|
return __awaiter(this, void 0, void 0, function () {
|
|
1645
1671
|
return __generator(this, function (_a) {
|
|
1646
1672
|
return [2 /*return*/, this.beginRequest({
|
|
1647
|
-
apiVersion: "7.
|
|
1673
|
+
apiVersion: "7.2-preview.1",
|
|
1648
1674
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1649
1675
|
routeValues: {
|
|
1650
1676
|
project: project,
|
|
@@ -1667,7 +1693,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1667
1693
|
return __awaiter(this, void 0, void 0, function () {
|
|
1668
1694
|
return __generator(this, function (_a) {
|
|
1669
1695
|
return [2 /*return*/, this.beginRequest({
|
|
1670
|
-
apiVersion: "7.
|
|
1696
|
+
apiVersion: "7.2-preview.1",
|
|
1671
1697
|
httpResponseType: "application/zip",
|
|
1672
1698
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1673
1699
|
routeValues: {
|
|
@@ -1693,7 +1719,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1693
1719
|
return __awaiter(this, void 0, void 0, function () {
|
|
1694
1720
|
return __generator(this, function (_a) {
|
|
1695
1721
|
return [2 /*return*/, this.beginRequest({
|
|
1696
|
-
apiVersion: "7.
|
|
1722
|
+
apiVersion: "7.2-preview.1",
|
|
1697
1723
|
method: "POST",
|
|
1698
1724
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}/likes",
|
|
1699
1725
|
routeValues: {
|
|
@@ -1720,7 +1746,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1720
1746
|
return __awaiter(this, void 0, void 0, function () {
|
|
1721
1747
|
return __generator(this, function (_a) {
|
|
1722
1748
|
return [2 /*return*/, this.beginRequest({
|
|
1723
|
-
apiVersion: "7.
|
|
1749
|
+
apiVersion: "7.2-preview.1",
|
|
1724
1750
|
method: "DELETE",
|
|
1725
1751
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}/likes",
|
|
1726
1752
|
routeValues: {
|
|
@@ -1747,7 +1773,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1747
1773
|
return __awaiter(this, void 0, void 0, function () {
|
|
1748
1774
|
return __generator(this, function (_a) {
|
|
1749
1775
|
return [2 /*return*/, this.beginRequest({
|
|
1750
|
-
apiVersion: "7.
|
|
1776
|
+
apiVersion: "7.2-preview.1",
|
|
1751
1777
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}/likes",
|
|
1752
1778
|
routeValues: {
|
|
1753
1779
|
project: project,
|
|
@@ -1779,7 +1805,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1779
1805
|
skip: skip
|
|
1780
1806
|
};
|
|
1781
1807
|
return [2 /*return*/, this.beginRequest({
|
|
1782
|
-
apiVersion: "7.
|
|
1808
|
+
apiVersion: "7.2-preview.1",
|
|
1783
1809
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/commits",
|
|
1784
1810
|
routeValues: {
|
|
1785
1811
|
project: project,
|
|
@@ -1804,7 +1830,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1804
1830
|
var _this = this;
|
|
1805
1831
|
return __generator(this, function (_a) {
|
|
1806
1832
|
return [2 /*return*/, this.beginRequest({
|
|
1807
|
-
apiVersion: "7.
|
|
1833
|
+
apiVersion: "7.2-preview.1",
|
|
1808
1834
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/commits",
|
|
1809
1835
|
routeValues: {
|
|
1810
1836
|
project: project,
|
|
@@ -1839,7 +1865,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1839
1865
|
return __awaiter(this, void 0, void 0, function () {
|
|
1840
1866
|
return __generator(this, function (_a) {
|
|
1841
1867
|
return [2 /*return*/, this.beginRequest({
|
|
1842
|
-
apiVersion: "7.
|
|
1868
|
+
apiVersion: "7.2-preview.1",
|
|
1843
1869
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1844
1870
|
routeValues: {
|
|
1845
1871
|
project: project,
|
|
@@ -1875,7 +1901,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1875
1901
|
onlyResolved: onlyResolved
|
|
1876
1902
|
};
|
|
1877
1903
|
return [2 /*return*/, this.beginRequest({
|
|
1878
|
-
apiVersion: "7.
|
|
1904
|
+
apiVersion: "7.2-preview.1",
|
|
1879
1905
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1880
1906
|
routeValues: {
|
|
1881
1907
|
project: project,
|
|
@@ -1900,7 +1926,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1900
1926
|
return __awaiter(this, void 0, void 0, function () {
|
|
1901
1927
|
return __generator(this, function (_a) {
|
|
1902
1928
|
return [2 /*return*/, this.beginRequest({
|
|
1903
|
-
apiVersion: "7.
|
|
1929
|
+
apiVersion: "7.2-preview.1",
|
|
1904
1930
|
method: "PATCH",
|
|
1905
1931
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1906
1932
|
routeValues: {
|
|
@@ -1926,7 +1952,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1926
1952
|
return __awaiter(this, void 0, void 0, function () {
|
|
1927
1953
|
return __generator(this, function (_a) {
|
|
1928
1954
|
return [2 /*return*/, this.beginRequest({
|
|
1929
|
-
apiVersion: "7.
|
|
1955
|
+
apiVersion: "7.2-preview.1",
|
|
1930
1956
|
method: "PATCH",
|
|
1931
1957
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1932
1958
|
routeValues: {
|
|
@@ -1960,7 +1986,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1960
1986
|
'$compareTo': compareTo
|
|
1961
1987
|
};
|
|
1962
1988
|
return [2 /*return*/, this.beginRequest({
|
|
1963
|
-
apiVersion: "7.
|
|
1989
|
+
apiVersion: "7.2-preview.1",
|
|
1964
1990
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/changes",
|
|
1965
1991
|
routeValues: {
|
|
1966
1992
|
project: project,
|
|
@@ -1985,7 +2011,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1985
2011
|
return __awaiter(this, void 0, void 0, function () {
|
|
1986
2012
|
return __generator(this, function (_a) {
|
|
1987
2013
|
return [2 /*return*/, this.beginRequest({
|
|
1988
|
-
apiVersion: "7.
|
|
2014
|
+
apiVersion: "7.2-preview.2",
|
|
1989
2015
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}",
|
|
1990
2016
|
routeValues: {
|
|
1991
2017
|
project: project,
|
|
@@ -2013,7 +2039,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2013
2039
|
includeCommits: includeCommits
|
|
2014
2040
|
};
|
|
2015
2041
|
return [2 /*return*/, this.beginRequest({
|
|
2016
|
-
apiVersion: "7.
|
|
2042
|
+
apiVersion: "7.2-preview.2",
|
|
2017
2043
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}",
|
|
2018
2044
|
routeValues: {
|
|
2019
2045
|
project: project,
|
|
@@ -2038,7 +2064,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2038
2064
|
return __awaiter(this, void 0, void 0, function () {
|
|
2039
2065
|
return __generator(this, function (_a) {
|
|
2040
2066
|
return [2 /*return*/, this.beginRequest({
|
|
2041
|
-
apiVersion: "7.
|
|
2067
|
+
apiVersion: "7.2-preview.1",
|
|
2042
2068
|
method: "POST",
|
|
2043
2069
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2044
2070
|
routeValues: {
|
|
@@ -2065,7 +2091,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2065
2091
|
return __awaiter(this, void 0, void 0, function () {
|
|
2066
2092
|
return __generator(this, function (_a) {
|
|
2067
2093
|
return [2 /*return*/, this.beginRequest({
|
|
2068
|
-
apiVersion: "7.
|
|
2094
|
+
apiVersion: "7.2-preview.1",
|
|
2069
2095
|
method: "DELETE",
|
|
2070
2096
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2071
2097
|
routeValues: {
|
|
@@ -2092,7 +2118,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2092
2118
|
return __awaiter(this, void 0, void 0, function () {
|
|
2093
2119
|
return __generator(this, function (_a) {
|
|
2094
2120
|
return [2 /*return*/, this.beginRequest({
|
|
2095
|
-
apiVersion: "7.
|
|
2121
|
+
apiVersion: "7.2-preview.1",
|
|
2096
2122
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2097
2123
|
routeValues: {
|
|
2098
2124
|
project: project,
|
|
@@ -2117,7 +2143,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2117
2143
|
return __awaiter(this, void 0, void 0, function () {
|
|
2118
2144
|
return __generator(this, function (_a) {
|
|
2119
2145
|
return [2 /*return*/, this.beginRequest({
|
|
2120
|
-
apiVersion: "7.
|
|
2146
|
+
apiVersion: "7.2-preview.1",
|
|
2121
2147
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2122
2148
|
routeValues: {
|
|
2123
2149
|
project: project,
|
|
@@ -2142,7 +2168,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2142
2168
|
return __awaiter(this, void 0, void 0, function () {
|
|
2143
2169
|
return __generator(this, function (_a) {
|
|
2144
2170
|
return [2 /*return*/, this.beginRequest({
|
|
2145
|
-
apiVersion: "7.
|
|
2171
|
+
apiVersion: "7.2-preview.1",
|
|
2146
2172
|
method: "PATCH",
|
|
2147
2173
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2148
2174
|
routeValues: {
|
|
@@ -2176,7 +2202,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2176
2202
|
projectId: projectId
|
|
2177
2203
|
};
|
|
2178
2204
|
return [2 /*return*/, this.beginRequest({
|
|
2179
|
-
apiVersion: "7.
|
|
2205
|
+
apiVersion: "7.2-preview.1",
|
|
2180
2206
|
method: "POST",
|
|
2181
2207
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2182
2208
|
routeValues: {
|
|
@@ -2207,7 +2233,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2207
2233
|
projectId: projectId
|
|
2208
2234
|
};
|
|
2209
2235
|
return [2 /*return*/, this.beginRequest({
|
|
2210
|
-
apiVersion: "7.
|
|
2236
|
+
apiVersion: "7.2-preview.1",
|
|
2211
2237
|
method: "DELETE",
|
|
2212
2238
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2213
2239
|
routeValues: {
|
|
@@ -2238,7 +2264,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2238
2264
|
projectId: projectId
|
|
2239
2265
|
};
|
|
2240
2266
|
return [2 /*return*/, this.beginRequest({
|
|
2241
|
-
apiVersion: "7.
|
|
2267
|
+
apiVersion: "7.2-preview.1",
|
|
2242
2268
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2243
2269
|
routeValues: {
|
|
2244
2270
|
project: project,
|
|
@@ -2267,7 +2293,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2267
2293
|
projectId: projectId
|
|
2268
2294
|
};
|
|
2269
2295
|
return [2 /*return*/, this.beginRequest({
|
|
2270
|
-
apiVersion: "7.
|
|
2296
|
+
apiVersion: "7.2-preview.1",
|
|
2271
2297
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2272
2298
|
routeValues: {
|
|
2273
2299
|
project: project,
|
|
@@ -2290,7 +2316,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2290
2316
|
return __awaiter(this, void 0, void 0, function () {
|
|
2291
2317
|
return __generator(this, function (_a) {
|
|
2292
2318
|
return [2 /*return*/, this.beginRequest({
|
|
2293
|
-
apiVersion: "7.
|
|
2319
|
+
apiVersion: "7.2-preview.1",
|
|
2294
2320
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/properties",
|
|
2295
2321
|
routeValues: {
|
|
2296
2322
|
project: project,
|
|
@@ -2313,7 +2339,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2313
2339
|
return __awaiter(this, void 0, void 0, function () {
|
|
2314
2340
|
return __generator(this, function (_a) {
|
|
2315
2341
|
return [2 /*return*/, this.beginRequest({
|
|
2316
|
-
apiVersion: "7.
|
|
2342
|
+
apiVersion: "7.2-preview.1",
|
|
2317
2343
|
method: "PATCH",
|
|
2318
2344
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/properties",
|
|
2319
2345
|
routeValues: {
|
|
@@ -2340,7 +2366,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2340
2366
|
return __awaiter(this, void 0, void 0, function () {
|
|
2341
2367
|
return __generator(this, function (_a) {
|
|
2342
2368
|
return [2 /*return*/, this.beginRequest({
|
|
2343
|
-
apiVersion: "7.
|
|
2369
|
+
apiVersion: "7.2-preview.1",
|
|
2344
2370
|
method: "POST",
|
|
2345
2371
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/PullRequestQuery",
|
|
2346
2372
|
routeValues: {
|
|
@@ -2365,7 +2391,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2365
2391
|
return __awaiter(this, void 0, void 0, function () {
|
|
2366
2392
|
return __generator(this, function (_a) {
|
|
2367
2393
|
return [2 /*return*/, this.beginRequest({
|
|
2368
|
-
apiVersion: "7.
|
|
2394
|
+
apiVersion: "7.2-preview.1",
|
|
2369
2395
|
method: "PUT",
|
|
2370
2396
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2371
2397
|
routeValues: {
|
|
@@ -2391,7 +2417,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2391
2417
|
return __awaiter(this, void 0, void 0, function () {
|
|
2392
2418
|
return __generator(this, function (_a) {
|
|
2393
2419
|
return [2 /*return*/, this.beginRequest({
|
|
2394
|
-
apiVersion: "7.
|
|
2420
|
+
apiVersion: "7.2-preview.1",
|
|
2395
2421
|
method: "POST",
|
|
2396
2422
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2397
2423
|
routeValues: {
|
|
@@ -2416,7 +2442,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2416
2442
|
return __awaiter(this, void 0, void 0, function () {
|
|
2417
2443
|
return __generator(this, function (_a) {
|
|
2418
2444
|
return [2 /*return*/, this.beginRequest({
|
|
2419
|
-
apiVersion: "7.
|
|
2445
|
+
apiVersion: "7.2-preview.1",
|
|
2420
2446
|
method: "PUT",
|
|
2421
2447
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2422
2448
|
routeValues: {
|
|
@@ -2441,7 +2467,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2441
2467
|
return __awaiter(this, void 0, void 0, function () {
|
|
2442
2468
|
return __generator(this, function (_a) {
|
|
2443
2469
|
return [2 /*return*/, this.beginRequest({
|
|
2444
|
-
apiVersion: "7.
|
|
2470
|
+
apiVersion: "7.2-preview.1",
|
|
2445
2471
|
method: "DELETE",
|
|
2446
2472
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2447
2473
|
routeValues: {
|
|
@@ -2466,7 +2492,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2466
2492
|
return __awaiter(this, void 0, void 0, function () {
|
|
2467
2493
|
return __generator(this, function (_a) {
|
|
2468
2494
|
return [2 /*return*/, this.beginRequest({
|
|
2469
|
-
apiVersion: "7.
|
|
2495
|
+
apiVersion: "7.2-preview.1",
|
|
2470
2496
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2471
2497
|
routeValues: {
|
|
2472
2498
|
project: project,
|
|
@@ -2489,7 +2515,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2489
2515
|
return __awaiter(this, void 0, void 0, function () {
|
|
2490
2516
|
return __generator(this, function (_a) {
|
|
2491
2517
|
return [2 /*return*/, this.beginRequest({
|
|
2492
|
-
apiVersion: "7.
|
|
2518
|
+
apiVersion: "7.2-preview.1",
|
|
2493
2519
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2494
2520
|
routeValues: {
|
|
2495
2521
|
project: project,
|
|
@@ -2513,7 +2539,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2513
2539
|
return __awaiter(this, void 0, void 0, function () {
|
|
2514
2540
|
return __generator(this, function (_a) {
|
|
2515
2541
|
return [2 /*return*/, this.beginRequest({
|
|
2516
|
-
apiVersion: "7.
|
|
2542
|
+
apiVersion: "7.2-preview.1",
|
|
2517
2543
|
method: "PATCH",
|
|
2518
2544
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2519
2545
|
routeValues: {
|
|
@@ -2539,7 +2565,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2539
2565
|
return __awaiter(this, void 0, void 0, function () {
|
|
2540
2566
|
return __generator(this, function (_a) {
|
|
2541
2567
|
return [2 /*return*/, this.beginRequest({
|
|
2542
|
-
apiVersion: "7.
|
|
2568
|
+
apiVersion: "7.2-preview.1",
|
|
2543
2569
|
method: "PATCH",
|
|
2544
2570
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2545
2571
|
routeValues: {
|
|
@@ -2562,7 +2588,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2562
2588
|
return __awaiter(this, void 0, void 0, function () {
|
|
2563
2589
|
return __generator(this, function (_a) {
|
|
2564
2590
|
return [2 /*return*/, this.beginRequest({
|
|
2565
|
-
apiVersion: "7.
|
|
2591
|
+
apiVersion: "7.2-preview.1",
|
|
2566
2592
|
routeTemplate: "{project}/_apis/git/pullRequests/{pullRequestId}",
|
|
2567
2593
|
routeValues: {
|
|
2568
2594
|
project: project,
|
|
@@ -2592,7 +2618,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2592
2618
|
'$top': top
|
|
2593
2619
|
};
|
|
2594
2620
|
return [2 /*return*/, this.beginRequest({
|
|
2595
|
-
apiVersion: "7.
|
|
2621
|
+
apiVersion: "7.2-preview.1",
|
|
2596
2622
|
routeTemplate: "{project}/_apis/git/pullRequests",
|
|
2597
2623
|
routeValues: {
|
|
2598
2624
|
project: project
|
|
@@ -2618,7 +2644,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2618
2644
|
supportsIterations: supportsIterations
|
|
2619
2645
|
};
|
|
2620
2646
|
return [2 /*return*/, this.beginRequest({
|
|
2621
|
-
apiVersion: "7.
|
|
2647
|
+
apiVersion: "7.2-preview.1",
|
|
2622
2648
|
method: "POST",
|
|
2623
2649
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2624
2650
|
routeValues: {
|
|
@@ -2655,7 +2681,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2655
2681
|
includeWorkItemRefs: includeWorkItemRefs
|
|
2656
2682
|
};
|
|
2657
2683
|
return [2 /*return*/, this.beginRequest({
|
|
2658
|
-
apiVersion: "7.
|
|
2684
|
+
apiVersion: "7.2-preview.1",
|
|
2659
2685
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2660
2686
|
routeValues: {
|
|
2661
2687
|
project: project,
|
|
@@ -2688,7 +2714,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2688
2714
|
'$top': top
|
|
2689
2715
|
};
|
|
2690
2716
|
return [2 /*return*/, this.beginRequest({
|
|
2691
|
-
apiVersion: "7.
|
|
2717
|
+
apiVersion: "7.2-preview.1",
|
|
2692
2718
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2693
2719
|
routeValues: {
|
|
2694
2720
|
project: project,
|
|
@@ -2711,7 +2737,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2711
2737
|
return __awaiter(this, void 0, void 0, function () {
|
|
2712
2738
|
return __generator(this, function (_a) {
|
|
2713
2739
|
return [2 /*return*/, this.beginRequest({
|
|
2714
|
-
apiVersion: "7.
|
|
2740
|
+
apiVersion: "7.2-preview.1",
|
|
2715
2741
|
method: "PATCH",
|
|
2716
2742
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2717
2743
|
routeValues: {
|
|
@@ -2736,7 +2762,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2736
2762
|
return __awaiter(this, void 0, void 0, function () {
|
|
2737
2763
|
return __generator(this, function (_a) {
|
|
2738
2764
|
return [2 /*return*/, this.beginRequest({
|
|
2739
|
-
apiVersion: "7.
|
|
2765
|
+
apiVersion: "7.2-preview.1",
|
|
2740
2766
|
method: "POST",
|
|
2741
2767
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/share",
|
|
2742
2768
|
routeValues: {
|
|
@@ -2761,7 +2787,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2761
2787
|
return __awaiter(this, void 0, void 0, function () {
|
|
2762
2788
|
return __generator(this, function (_a) {
|
|
2763
2789
|
return [2 /*return*/, this.beginRequest({
|
|
2764
|
-
apiVersion: "7.
|
|
2790
|
+
apiVersion: "7.2-preview.1",
|
|
2765
2791
|
method: "POST",
|
|
2766
2792
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2767
2793
|
routeValues: {
|
|
@@ -2786,7 +2812,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2786
2812
|
return __awaiter(this, void 0, void 0, function () {
|
|
2787
2813
|
return __generator(this, function (_a) {
|
|
2788
2814
|
return [2 /*return*/, this.beginRequest({
|
|
2789
|
-
apiVersion: "7.
|
|
2815
|
+
apiVersion: "7.2-preview.1",
|
|
2790
2816
|
method: "DELETE",
|
|
2791
2817
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2792
2818
|
routeValues: {
|
|
@@ -2811,7 +2837,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2811
2837
|
return __awaiter(this, void 0, void 0, function () {
|
|
2812
2838
|
return __generator(this, function (_a) {
|
|
2813
2839
|
return [2 /*return*/, this.beginRequest({
|
|
2814
|
-
apiVersion: "7.
|
|
2840
|
+
apiVersion: "7.2-preview.1",
|
|
2815
2841
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2816
2842
|
routeValues: {
|
|
2817
2843
|
project: project,
|
|
@@ -2834,7 +2860,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2834
2860
|
return __awaiter(this, void 0, void 0, function () {
|
|
2835
2861
|
return __generator(this, function (_a) {
|
|
2836
2862
|
return [2 /*return*/, this.beginRequest({
|
|
2837
|
-
apiVersion: "7.
|
|
2863
|
+
apiVersion: "7.2-preview.1",
|
|
2838
2864
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2839
2865
|
routeValues: {
|
|
2840
2866
|
project: project,
|
|
@@ -2857,7 +2883,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2857
2883
|
return __awaiter(this, void 0, void 0, function () {
|
|
2858
2884
|
return __generator(this, function (_a) {
|
|
2859
2885
|
return [2 /*return*/, this.beginRequest({
|
|
2860
|
-
apiVersion: "7.
|
|
2886
|
+
apiVersion: "7.2-preview.1",
|
|
2861
2887
|
method: "PATCH",
|
|
2862
2888
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2863
2889
|
routeValues: {
|
|
@@ -2886,7 +2912,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2886
2912
|
return __awaiter(this, void 0, void 0, function () {
|
|
2887
2913
|
return __generator(this, function (_a) {
|
|
2888
2914
|
return [2 /*return*/, this.beginRequest({
|
|
2889
|
-
apiVersion: "7.
|
|
2915
|
+
apiVersion: "7.2-preview.1",
|
|
2890
2916
|
method: "POST",
|
|
2891
2917
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2892
2918
|
routeValues: {
|
|
@@ -2913,7 +2939,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2913
2939
|
return __awaiter(this, void 0, void 0, function () {
|
|
2914
2940
|
return __generator(this, function (_a) {
|
|
2915
2941
|
return [2 /*return*/, this.beginRequest({
|
|
2916
|
-
apiVersion: "7.
|
|
2942
|
+
apiVersion: "7.2-preview.1",
|
|
2917
2943
|
method: "DELETE",
|
|
2918
2944
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2919
2945
|
routeValues: {
|
|
@@ -2940,7 +2966,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2940
2966
|
return __awaiter(this, void 0, void 0, function () {
|
|
2941
2967
|
return __generator(this, function (_a) {
|
|
2942
2968
|
return [2 /*return*/, this.beginRequest({
|
|
2943
|
-
apiVersion: "7.
|
|
2969
|
+
apiVersion: "7.2-preview.1",
|
|
2944
2970
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2945
2971
|
routeValues: {
|
|
2946
2972
|
project: project,
|
|
@@ -2965,7 +2991,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2965
2991
|
return __awaiter(this, void 0, void 0, function () {
|
|
2966
2992
|
return __generator(this, function (_a) {
|
|
2967
2993
|
return [2 /*return*/, this.beginRequest({
|
|
2968
|
-
apiVersion: "7.
|
|
2994
|
+
apiVersion: "7.2-preview.1",
|
|
2969
2995
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2970
2996
|
routeValues: {
|
|
2971
2997
|
project: project,
|
|
@@ -2991,7 +3017,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2991
3017
|
return __awaiter(this, void 0, void 0, function () {
|
|
2992
3018
|
return __generator(this, function (_a) {
|
|
2993
3019
|
return [2 /*return*/, this.beginRequest({
|
|
2994
|
-
apiVersion: "7.
|
|
3020
|
+
apiVersion: "7.2-preview.1",
|
|
2995
3021
|
method: "PATCH",
|
|
2996
3022
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2997
3023
|
routeValues: {
|
|
@@ -3018,7 +3044,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3018
3044
|
return __awaiter(this, void 0, void 0, function () {
|
|
3019
3045
|
return __generator(this, function (_a) {
|
|
3020
3046
|
return [2 /*return*/, this.beginRequest({
|
|
3021
|
-
apiVersion: "7.
|
|
3047
|
+
apiVersion: "7.2-preview.1",
|
|
3022
3048
|
method: "POST",
|
|
3023
3049
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
3024
3050
|
routeValues: {
|
|
@@ -3050,7 +3076,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3050
3076
|
'$baseIteration': baseIteration
|
|
3051
3077
|
};
|
|
3052
3078
|
return [2 /*return*/, this.beginRequest({
|
|
3053
|
-
apiVersion: "7.
|
|
3079
|
+
apiVersion: "7.2-preview.1",
|
|
3054
3080
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
3055
3081
|
routeValues: {
|
|
3056
3082
|
project: project,
|
|
@@ -3081,7 +3107,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3081
3107
|
'$baseIteration': baseIteration
|
|
3082
3108
|
};
|
|
3083
3109
|
return [2 /*return*/, this.beginRequest({
|
|
3084
|
-
apiVersion: "7.
|
|
3110
|
+
apiVersion: "7.2-preview.1",
|
|
3085
3111
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
3086
3112
|
routeValues: {
|
|
3087
3113
|
project: project,
|
|
@@ -3106,7 +3132,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3106
3132
|
return __awaiter(this, void 0, void 0, function () {
|
|
3107
3133
|
return __generator(this, function (_a) {
|
|
3108
3134
|
return [2 /*return*/, this.beginRequest({
|
|
3109
|
-
apiVersion: "7.
|
|
3135
|
+
apiVersion: "7.2-preview.1",
|
|
3110
3136
|
method: "PATCH",
|
|
3111
3137
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
3112
3138
|
routeValues: {
|
|
@@ -3131,7 +3157,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3131
3157
|
return __awaiter(this, void 0, void 0, function () {
|
|
3132
3158
|
return __generator(this, function (_a) {
|
|
3133
3159
|
return [2 /*return*/, this.beginRequest({
|
|
3134
|
-
apiVersion: "7.
|
|
3160
|
+
apiVersion: "7.2-preview.1",
|
|
3135
3161
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/workitems",
|
|
3136
3162
|
routeValues: {
|
|
3137
3163
|
project: project,
|
|
@@ -3153,7 +3179,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3153
3179
|
return __awaiter(this, void 0, void 0, function () {
|
|
3154
3180
|
return __generator(this, function (_a) {
|
|
3155
3181
|
return [2 /*return*/, this.beginRequest({
|
|
3156
|
-
apiVersion: "7.
|
|
3182
|
+
apiVersion: "7.2-preview.2",
|
|
3157
3183
|
method: "POST",
|
|
3158
3184
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pushes/{pushId}",
|
|
3159
3185
|
routeValues: {
|
|
@@ -3183,7 +3209,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3183
3209
|
includeRefUpdates: includeRefUpdates
|
|
3184
3210
|
};
|
|
3185
3211
|
return [2 /*return*/, this.beginRequest({
|
|
3186
|
-
apiVersion: "7.
|
|
3212
|
+
apiVersion: "7.2-preview.2",
|
|
3187
3213
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pushes/{pushId}",
|
|
3188
3214
|
routeValues: {
|
|
3189
3215
|
project: project,
|
|
@@ -3214,7 +3240,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3214
3240
|
searchCriteria: searchCriteria
|
|
3215
3241
|
};
|
|
3216
3242
|
return [2 /*return*/, this.beginRequest({
|
|
3217
|
-
apiVersion: "7.
|
|
3243
|
+
apiVersion: "7.2-preview.2",
|
|
3218
3244
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pushes/{pushId}",
|
|
3219
3245
|
routeValues: {
|
|
3220
3246
|
project: project,
|
|
@@ -3235,7 +3261,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3235
3261
|
return __awaiter(this, void 0, void 0, function () {
|
|
3236
3262
|
return __generator(this, function (_a) {
|
|
3237
3263
|
return [2 /*return*/, this.beginRequest({
|
|
3238
|
-
apiVersion: "7.
|
|
3264
|
+
apiVersion: "7.2-preview.1",
|
|
3239
3265
|
method: "DELETE",
|
|
3240
3266
|
routeTemplate: "{project}/_apis/git/recycleBin/repositories/{repositoryId}",
|
|
3241
3267
|
routeValues: {
|
|
@@ -3255,7 +3281,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3255
3281
|
return __awaiter(this, void 0, void 0, function () {
|
|
3256
3282
|
return __generator(this, function (_a) {
|
|
3257
3283
|
return [2 /*return*/, this.beginRequest({
|
|
3258
|
-
apiVersion: "7.
|
|
3284
|
+
apiVersion: "7.2-preview.1",
|
|
3259
3285
|
routeTemplate: "{project}/_apis/git/recycleBin/repositories/{repositoryId}",
|
|
3260
3286
|
routeValues: {
|
|
3261
3287
|
project: project
|
|
@@ -3275,7 +3301,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3275
3301
|
return __awaiter(this, void 0, void 0, function () {
|
|
3276
3302
|
return __generator(this, function (_a) {
|
|
3277
3303
|
return [2 /*return*/, this.beginRequest({
|
|
3278
|
-
apiVersion: "7.
|
|
3304
|
+
apiVersion: "7.2-preview.1",
|
|
3279
3305
|
method: "PATCH",
|
|
3280
3306
|
routeTemplate: "{project}/_apis/git/recycleBin/repositories/{repositoryId}",
|
|
3281
3307
|
routeValues: {
|
|
@@ -3315,7 +3341,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3315
3341
|
filterContains: filterContains
|
|
3316
3342
|
};
|
|
3317
3343
|
return [2 /*return*/, this.beginRequest({
|
|
3318
|
-
apiVersion: "7.
|
|
3344
|
+
apiVersion: "7.2-preview.1",
|
|
3319
3345
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/refs/{*filter}",
|
|
3320
3346
|
routeValues: {
|
|
3321
3347
|
project: project,
|
|
@@ -3356,7 +3382,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3356
3382
|
projectId: projectId
|
|
3357
3383
|
};
|
|
3358
3384
|
return [2 /*return*/, this.beginRequest({
|
|
3359
|
-
apiVersion: "7.
|
|
3385
|
+
apiVersion: "7.2-preview.1",
|
|
3360
3386
|
method: "PATCH",
|
|
3361
3387
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/refs/{*filter}",
|
|
3362
3388
|
routeValues: {
|
|
@@ -3385,7 +3411,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3385
3411
|
projectId: projectId
|
|
3386
3412
|
};
|
|
3387
3413
|
return [2 /*return*/, this.beginRequest({
|
|
3388
|
-
apiVersion: "7.
|
|
3414
|
+
apiVersion: "7.2-preview.1",
|
|
3389
3415
|
method: "POST",
|
|
3390
3416
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/refs/{*filter}",
|
|
3391
3417
|
routeValues: {
|
|
@@ -3408,7 +3434,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3408
3434
|
return __awaiter(this, void 0, void 0, function () {
|
|
3409
3435
|
return __generator(this, function (_a) {
|
|
3410
3436
|
return [2 /*return*/, this.beginRequest({
|
|
3411
|
-
apiVersion: "7.
|
|
3437
|
+
apiVersion: "7.2-preview.1",
|
|
3412
3438
|
method: "POST",
|
|
3413
3439
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3414
3440
|
routeValues: {
|
|
@@ -3429,7 +3455,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3429
3455
|
return __awaiter(this, void 0, void 0, function () {
|
|
3430
3456
|
return __generator(this, function (_a) {
|
|
3431
3457
|
return [2 /*return*/, this.beginRequest({
|
|
3432
|
-
apiVersion: "7.
|
|
3458
|
+
apiVersion: "7.2-preview.1",
|
|
3433
3459
|
method: "DELETE",
|
|
3434
3460
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3435
3461
|
routeValues: {
|
|
@@ -3450,7 +3476,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3450
3476
|
return __awaiter(this, void 0, void 0, function () {
|
|
3451
3477
|
return __generator(this, function (_a) {
|
|
3452
3478
|
return [2 /*return*/, this.beginRequest({
|
|
3453
|
-
apiVersion: "7.
|
|
3479
|
+
apiVersion: "7.2-preview.1",
|
|
3454
3480
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3455
3481
|
routeValues: {
|
|
3456
3482
|
project: project,
|
|
@@ -3476,7 +3502,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3476
3502
|
identityId: identityId
|
|
3477
3503
|
};
|
|
3478
3504
|
return [2 /*return*/, this.beginRequest({
|
|
3479
|
-
apiVersion: "7.
|
|
3505
|
+
apiVersion: "7.2-preview.1",
|
|
3480
3506
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3481
3507
|
routeValues: {
|
|
3482
3508
|
project: project
|
|
@@ -3501,7 +3527,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3501
3527
|
sourceRef: sourceRef
|
|
3502
3528
|
};
|
|
3503
3529
|
return [2 /*return*/, this.beginRequest({
|
|
3504
|
-
apiVersion: "7.
|
|
3530
|
+
apiVersion: "7.2-preview.1",
|
|
3505
3531
|
method: "POST",
|
|
3506
3532
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3507
3533
|
routeValues: {
|
|
@@ -3523,7 +3549,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3523
3549
|
return __awaiter(this, void 0, void 0, function () {
|
|
3524
3550
|
return __generator(this, function (_a) {
|
|
3525
3551
|
return [2 /*return*/, this.beginRequest({
|
|
3526
|
-
apiVersion: "7.
|
|
3552
|
+
apiVersion: "7.2-preview.1",
|
|
3527
3553
|
method: "DELETE",
|
|
3528
3554
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3529
3555
|
routeValues: {
|
|
@@ -3552,7 +3578,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3552
3578
|
includeHidden: includeHidden
|
|
3553
3579
|
};
|
|
3554
3580
|
return [2 /*return*/, this.beginRequest({
|
|
3555
|
-
apiVersion: "7.
|
|
3581
|
+
apiVersion: "7.2-preview.1",
|
|
3556
3582
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3557
3583
|
routeValues: {
|
|
3558
3584
|
project: project
|
|
@@ -3572,7 +3598,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3572
3598
|
return __awaiter(this, void 0, void 0, function () {
|
|
3573
3599
|
return __generator(this, function (_a) {
|
|
3574
3600
|
return [2 /*return*/, this.beginRequest({
|
|
3575
|
-
apiVersion: "7.
|
|
3601
|
+
apiVersion: "7.2-preview.1",
|
|
3576
3602
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3577
3603
|
routeValues: {
|
|
3578
3604
|
project: project,
|
|
@@ -3597,7 +3623,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3597
3623
|
includeParent: includeParent
|
|
3598
3624
|
};
|
|
3599
3625
|
return [2 /*return*/, this.beginRequest({
|
|
3600
|
-
apiVersion: "7.
|
|
3626
|
+
apiVersion: "7.2-preview.1",
|
|
3601
3627
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3602
3628
|
routeValues: {
|
|
3603
3629
|
project: project,
|
|
@@ -3619,7 +3645,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3619
3645
|
return __awaiter(this, void 0, void 0, function () {
|
|
3620
3646
|
return __generator(this, function (_a) {
|
|
3621
3647
|
return [2 /*return*/, this.beginRequest({
|
|
3622
|
-
apiVersion: "7.
|
|
3648
|
+
apiVersion: "7.2-preview.1",
|
|
3623
3649
|
method: "PATCH",
|
|
3624
3650
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3625
3651
|
routeValues: {
|
|
@@ -3643,7 +3669,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3643
3669
|
return __awaiter(this, void 0, void 0, function () {
|
|
3644
3670
|
return __generator(this, function (_a) {
|
|
3645
3671
|
return [2 /*return*/, this.beginRequest({
|
|
3646
|
-
apiVersion: "7.
|
|
3672
|
+
apiVersion: "7.2-preview.1",
|
|
3647
3673
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3648
3674
|
routeValues: {
|
|
3649
3675
|
project: project,
|
|
@@ -3680,7 +3706,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3680
3706
|
includeObsolete: includeObsolete
|
|
3681
3707
|
};
|
|
3682
3708
|
return [2 /*return*/, this.beginRequest({
|
|
3683
|
-
apiVersion: "7.
|
|
3709
|
+
apiVersion: "7.2-preview.1",
|
|
3684
3710
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3685
3711
|
routeValues: {
|
|
3686
3712
|
project: project,
|
|
@@ -3717,7 +3743,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3717
3743
|
return __awaiter(this, void 0, void 0, function () {
|
|
3718
3744
|
return __generator(this, function (_a) {
|
|
3719
3745
|
return [2 /*return*/, this.beginRequest({
|
|
3720
|
-
apiVersion: "7.
|
|
3746
|
+
apiVersion: "7.2-preview.1",
|
|
3721
3747
|
method: "PATCH",
|
|
3722
3748
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3723
3749
|
routeValues: {
|
|
@@ -3743,7 +3769,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3743
3769
|
return __awaiter(this, void 0, void 0, function () {
|
|
3744
3770
|
return __generator(this, function (_a) {
|
|
3745
3771
|
return [2 /*return*/, this.beginRequest({
|
|
3746
|
-
apiVersion: "7.
|
|
3772
|
+
apiVersion: "7.2-preview.1",
|
|
3747
3773
|
method: "PATCH",
|
|
3748
3774
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3749
3775
|
routeValues: {
|
|
@@ -3767,7 +3793,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3767
3793
|
return __awaiter(this, void 0, void 0, function () {
|
|
3768
3794
|
return __generator(this, function (_a) {
|
|
3769
3795
|
return [2 /*return*/, this.beginRequest({
|
|
3770
|
-
apiVersion: "7.
|
|
3796
|
+
apiVersion: "7.2-preview.1",
|
|
3771
3797
|
method: "POST",
|
|
3772
3798
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}",
|
|
3773
3799
|
routeValues: {
|
|
@@ -3790,7 +3816,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3790
3816
|
return __awaiter(this, void 0, void 0, function () {
|
|
3791
3817
|
return __generator(this, function (_a) {
|
|
3792
3818
|
return [2 /*return*/, this.beginRequest({
|
|
3793
|
-
apiVersion: "7.
|
|
3819
|
+
apiVersion: "7.2-preview.1",
|
|
3794
3820
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}",
|
|
3795
3821
|
routeValues: {
|
|
3796
3822
|
project: project,
|
|
@@ -3816,7 +3842,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3816
3842
|
refName: refName
|
|
3817
3843
|
};
|
|
3818
3844
|
return [2 /*return*/, this.beginRequest({
|
|
3819
|
-
apiVersion: "7.
|
|
3845
|
+
apiVersion: "7.2-preview.1",
|
|
3820
3846
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}",
|
|
3821
3847
|
routeValues: {
|
|
3822
3848
|
project: project,
|
|
@@ -3839,7 +3865,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3839
3865
|
return __awaiter(this, void 0, void 0, function () {
|
|
3840
3866
|
return __generator(this, function (_a) {
|
|
3841
3867
|
return [2 /*return*/, this.beginRequest({
|
|
3842
|
-
apiVersion: "7.
|
|
3868
|
+
apiVersion: "7.2-preview.1",
|
|
3843
3869
|
method: "POST",
|
|
3844
3870
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/Statuses",
|
|
3845
3871
|
routeValues: {
|
|
@@ -3872,7 +3898,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3872
3898
|
latestOnly: latestOnly
|
|
3873
3899
|
};
|
|
3874
3900
|
return [2 /*return*/, this.beginRequest({
|
|
3875
|
-
apiVersion: "7.
|
|
3901
|
+
apiVersion: "7.2-preview.1",
|
|
3876
3902
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/Statuses",
|
|
3877
3903
|
routeValues: {
|
|
3878
3904
|
project: project,
|
|
@@ -3894,7 +3920,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3894
3920
|
return __awaiter(this, void 0, void 0, function () {
|
|
3895
3921
|
return __generator(this, function (_a) {
|
|
3896
3922
|
return [2 /*return*/, this.beginRequest({
|
|
3897
|
-
apiVersion: "7.
|
|
3923
|
+
apiVersion: "7.2-preview.1",
|
|
3898
3924
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/suggestions",
|
|
3899
3925
|
routeValues: {
|
|
3900
3926
|
project: project,
|
|
@@ -3924,7 +3950,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3924
3950
|
fileName: fileName
|
|
3925
3951
|
};
|
|
3926
3952
|
return [2 /*return*/, this.beginRequest({
|
|
3927
|
-
apiVersion: "7.
|
|
3953
|
+
apiVersion: "7.2-preview.1",
|
|
3928
3954
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Trees/{sha1}",
|
|
3929
3955
|
routeValues: {
|
|
3930
3956
|
project: project,
|
|
@@ -3956,7 +3982,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3956
3982
|
fileName: fileName
|
|
3957
3983
|
};
|
|
3958
3984
|
return [2 /*return*/, this.beginRequest({
|
|
3959
|
-
apiVersion: "7.
|
|
3985
|
+
apiVersion: "7.2-preview.1",
|
|
3960
3986
|
httpResponseType: "application/zip",
|
|
3961
3987
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Trees/{sha1}",
|
|
3962
3988
|
routeValues: {
|