azure-devops-extension-api 2.224.0 → 2.226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accounts/AccountsClient.js +3 -3
- package/Accounts/AccountsClient.min.js +1 -1
- package/Build/Build.d.ts +70 -0
- package/Build/BuildClient.js +97 -97
- package/Build/BuildClient.min.js +1 -1
- package/Contributions/ContributionsClient.js +4 -4
- package/Contributions/ContributionsClient.min.js +1 -1
- package/Core/CoreClient.js +33 -33
- package/Core/CoreClient.min.js +1 -1
- package/Dashboard/DashboardClient.js +13 -13
- package/Dashboard/DashboardClient.min.js +1 -1
- package/ExtensionManagement/ExtensionManagementClient.js +25 -25
- package/ExtensionManagement/ExtensionManagementClient.min.js +1 -1
- package/Favorite/FavoriteClient.js +10 -10
- package/Favorite/FavoriteClient.min.js +1 -1
- package/FeatureAvailability/FeatureAvailabilityClient.js +5 -5
- package/FeatureAvailability/FeatureAvailabilityClient.min.js +1 -1
- package/FeatureManagement/FeatureManagementClient.js +9 -9
- package/FeatureManagement/FeatureManagementClient.min.js +1 -1
- package/FileContainer/FileContainerClient.js +4 -4
- package/FileContainer/FileContainerClient.min.js +1 -1
- package/Gallery/GalleryClient.js +83 -83
- package/Gallery/GalleryClient.min.js +1 -1
- package/Git/Git.d.ts +17 -0
- package/Git/GitClient.d.ts +38 -11
- package/Git/GitClient.js +269 -167
- package/Git/GitClient.min.js +1 -1
- package/Graph/GraphClient.js +40 -40
- package/Graph/GraphClient.min.js +1 -1
- package/Locations/LocationsClient.js +9 -9
- package/Locations/LocationsClient.min.js +1 -1
- package/Notification/NotificationClient.js +24 -24
- package/Notification/NotificationClient.min.js +1 -1
- package/Operations/OperationsClient.js +1 -1
- package/Operations/OperationsClient.min.js +1 -1
- package/Pipelines/PipelinesClient.js +10 -10
- package/Pipelines/PipelinesClient.min.js +1 -1
- package/Policy/PolicyClient.js +12 -12
- package/Policy/PolicyClient.min.js +1 -1
- package/Profile/ProfileClient.js +12 -12
- package/Profile/ProfileClient.min.js +1 -1
- package/ProjectAnalysis/ProjectAnalysisClient.js +4 -4
- package/ProjectAnalysis/ProjectAnalysisClient.min.js +1 -1
- package/Release/ReleaseClient.js +88 -88
- package/Release/ReleaseClient.min.js +1 -1
- package/ServiceEndpoint/ServiceEndpointClient.js +25 -25
- package/ServiceEndpoint/ServiceEndpointClient.min.js +1 -1
- package/ServiceHooks/ServiceHooksClient.js +23 -23
- package/ServiceHooks/ServiceHooksClient.min.js +1 -1
- package/TaskAgent/TaskAgentClient.js +155 -155
- package/TaskAgent/TaskAgentClient.min.js +1 -1
- package/Test/TestClient.js +76 -76
- package/Test/TestClient.min.js +1 -1
- package/TestPlan/TestPlan.d.ts +17 -0
- package/TestPlan/TestPlanClient.d.ts +7 -0
- package/TestPlan/TestPlanClient.js +63 -41
- package/TestPlan/TestPlanClient.min.js +1 -1
- package/TestResults/TestResultsClient.js +96 -96
- package/TestResults/TestResultsClient.min.js +1 -1
- package/Tfvc/TfvcClient.js +24 -24
- package/Tfvc/TfvcClient.min.js +1 -1
- package/Work/WorkClient.js +56 -56
- package/Work/WorkClient.min.js +1 -1
- package/WorkItemTracking/WorkItemTracking.d.ts +3 -0
- package/WorkItemTracking/WorkItemTrackingClient.d.ts +1 -1
- package/WorkItemTracking/WorkItemTrackingClient.js +1 -1
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.js +57 -57
- package/WorkItemTrackingProcess/WorkItemTrackingProcessClient.min.js +1 -1
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.js +46 -46
- package/WorkItemTrackingProcessDefinitions/WorkItemTrackingProcessDefinitionsClient.min.js +1 -1
- package/package.json +1 -1
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,83 @@ 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
|
+
routeTemplate: "_apis/git/advsecEnablement",
|
|
105
|
+
queryParams: queryValues
|
|
106
|
+
})];
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @param enableOnCreateHost -
|
|
112
|
+
*/
|
|
113
|
+
GitRestClient.prototype.getEnableOnCreateHost = function (enableOnCreateHost) {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
115
|
+
var queryValues;
|
|
116
|
+
return __generator(this, function (_a) {
|
|
117
|
+
queryValues = {
|
|
118
|
+
'$enableOnCreateHost': enableOnCreateHost
|
|
119
|
+
};
|
|
120
|
+
return [2 /*return*/, this.beginRequest({
|
|
121
|
+
apiVersion: "7.2-preview.1",
|
|
122
|
+
routeTemplate: "_apis/git/advsecEnablement",
|
|
123
|
+
queryParams: queryValues
|
|
124
|
+
})];
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @param enableOnCreateProjectId -
|
|
130
|
+
*/
|
|
131
|
+
GitRestClient.prototype.getEnableOnCreateProject = function (enableOnCreateProjectId) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
133
|
+
var queryValues;
|
|
134
|
+
return __generator(this, function (_a) {
|
|
135
|
+
queryValues = {
|
|
136
|
+
'$enableOnCreateProjectId': enableOnCreateProjectId
|
|
137
|
+
};
|
|
138
|
+
return [2 /*return*/, this.beginRequest({
|
|
139
|
+
apiVersion: "7.2-preview.1",
|
|
140
|
+
routeTemplate: "_apis/git/advsecEnablement",
|
|
141
|
+
queryParams: queryValues
|
|
142
|
+
})];
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* @param enableOnCreateHost -
|
|
148
|
+
*/
|
|
149
|
+
GitRestClient.prototype.setEnableOnCreateHost = function (enableOnCreateHost) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
151
|
+
var queryValues;
|
|
152
|
+
return __generator(this, function (_a) {
|
|
153
|
+
queryValues = {
|
|
154
|
+
'$enableOnCreateHost': enableOnCreateHost
|
|
155
|
+
};
|
|
156
|
+
return [2 /*return*/, this.beginRequest({
|
|
157
|
+
apiVersion: "7.2-preview.1",
|
|
158
|
+
method: "PUT",
|
|
159
|
+
routeTemplate: "_apis/git/advsecEnablement",
|
|
160
|
+
queryParams: queryValues
|
|
161
|
+
})];
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* @param enableOnCreateProjectId -
|
|
167
|
+
* @param enableOnStatus -
|
|
168
|
+
*/
|
|
169
|
+
GitRestClient.prototype.setEnableOnCreateProject = function (enableOnCreateProjectId, enableOnStatus) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
171
|
+
var queryValues;
|
|
172
|
+
return __generator(this, function (_a) {
|
|
173
|
+
queryValues = {
|
|
174
|
+
'$enableOnCreateProjectId': enableOnCreateProjectId,
|
|
175
|
+
'$enableOnStatus': enableOnStatus
|
|
176
|
+
};
|
|
177
|
+
return [2 /*return*/, this.beginRequest({
|
|
178
|
+
apiVersion: "7.2-preview.1",
|
|
179
|
+
method: "PUT",
|
|
104
180
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
105
181
|
queryParams: queryValues
|
|
106
182
|
})];
|
|
@@ -116,7 +192,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
116
192
|
return __awaiter(this, void 0, void 0, function () {
|
|
117
193
|
return __generator(this, function (_a) {
|
|
118
194
|
return [2 /*return*/, this.beginRequest({
|
|
119
|
-
apiVersion: "7.
|
|
195
|
+
apiVersion: "7.2-preview.1",
|
|
120
196
|
method: "POST",
|
|
121
197
|
routeTemplate: "_apis/git/advsecEnablement",
|
|
122
198
|
body: enablementUpdates
|
|
@@ -124,6 +200,58 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
124
200
|
});
|
|
125
201
|
});
|
|
126
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
|
+
};
|
|
127
255
|
/**
|
|
128
256
|
* GET Advanced Security Permission status.
|
|
129
257
|
*
|
|
@@ -141,7 +269,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
141
269
|
'$permission': permission
|
|
142
270
|
};
|
|
143
271
|
return [2 /*return*/, this.beginRequest({
|
|
144
|
-
apiVersion: "7.
|
|
272
|
+
apiVersion: "7.2-preview.1",
|
|
145
273
|
routeTemplate: "_apis/git/advsecPermissions",
|
|
146
274
|
queryParams: queryValues
|
|
147
275
|
})];
|
|
@@ -159,7 +287,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
159
287
|
return __awaiter(this, void 0, void 0, function () {
|
|
160
288
|
return __generator(this, function (_a) {
|
|
161
289
|
return [2 /*return*/, this.beginRequest({
|
|
162
|
-
apiVersion: "7.
|
|
290
|
+
apiVersion: "7.2-preview.1",
|
|
163
291
|
method: "POST",
|
|
164
292
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/annotatedTags/{objectId}",
|
|
165
293
|
routeValues: {
|
|
@@ -182,7 +310,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
182
310
|
return __awaiter(this, void 0, void 0, function () {
|
|
183
311
|
return __generator(this, function (_a) {
|
|
184
312
|
return [2 /*return*/, this.beginRequest({
|
|
185
|
-
apiVersion: "7.
|
|
313
|
+
apiVersion: "7.2-preview.1",
|
|
186
314
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/annotatedTags/{objectId}",
|
|
187
315
|
routeValues: {
|
|
188
316
|
project: project,
|
|
@@ -211,7 +339,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
211
339
|
'$take': take
|
|
212
340
|
};
|
|
213
341
|
return [2 /*return*/, this.beginRequest({
|
|
214
|
-
apiVersion: "7.
|
|
342
|
+
apiVersion: "7.2-preview.1",
|
|
215
343
|
routeTemplate: "{project}/_apis/git/billableCommitters",
|
|
216
344
|
routeValues: {
|
|
217
345
|
project: project
|
|
@@ -222,7 +350,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
222
350
|
});
|
|
223
351
|
};
|
|
224
352
|
/**
|
|
225
|
-
* 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.
|
|
226
354
|
*
|
|
227
355
|
* @param project - Project ID or project name
|
|
228
356
|
* @param includeDetails - Return all the details on the billable committers.
|
|
@@ -241,33 +369,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
241
369
|
'$take': take
|
|
242
370
|
};
|
|
243
371
|
return [2 /*return*/, this.beginRequest({
|
|
244
|
-
apiVersion: "7.
|
|
245
|
-
routeTemplate: "{project}/_apis/git/billableCommitters",
|
|
246
|
-
routeValues: {
|
|
247
|
-
project: project
|
|
248
|
-
},
|
|
249
|
-
queryParams: queryValues
|
|
250
|
-
})];
|
|
251
|
-
});
|
|
252
|
-
});
|
|
253
|
-
};
|
|
254
|
-
/**
|
|
255
|
-
* Retrieve actual billable committers for Advanced Security service for a given date.
|
|
256
|
-
*
|
|
257
|
-
* @param project - Project ID or project name
|
|
258
|
-
* @param estimateOnly -
|
|
259
|
-
* @param repositoryId -
|
|
260
|
-
*/
|
|
261
|
-
GitRestClient.prototype.getEstimatedBillableCommitters = function (project, estimateOnly, repositoryId) {
|
|
262
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
263
|
-
var queryValues;
|
|
264
|
-
return __generator(this, function (_a) {
|
|
265
|
-
queryValues = {
|
|
266
|
-
'$estimateOnly': estimateOnly,
|
|
267
|
-
'$repositoryId': repositoryId
|
|
268
|
-
};
|
|
269
|
-
return [2 /*return*/, this.beginRequest({
|
|
270
|
-
apiVersion: "7.1-preview.1",
|
|
372
|
+
apiVersion: "7.2-preview.1",
|
|
271
373
|
routeTemplate: "{project}/_apis/git/billableCommitters",
|
|
272
374
|
routeValues: {
|
|
273
375
|
project: project
|
|
@@ -297,7 +399,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
297
399
|
resolveLfs: resolveLfs
|
|
298
400
|
};
|
|
299
401
|
return [2 /*return*/, this.beginRequest({
|
|
300
|
-
apiVersion: "7.
|
|
402
|
+
apiVersion: "7.2-preview.1",
|
|
301
403
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
302
404
|
routeValues: {
|
|
303
405
|
project: project,
|
|
@@ -329,7 +431,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
329
431
|
resolveLfs: resolveLfs
|
|
330
432
|
};
|
|
331
433
|
return [2 /*return*/, this.beginRequest({
|
|
332
|
-
apiVersion: "7.
|
|
434
|
+
apiVersion: "7.2-preview.1",
|
|
333
435
|
httpResponseType: "application/octet-stream",
|
|
334
436
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
335
437
|
routeValues: {
|
|
@@ -358,7 +460,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
358
460
|
filename: filename
|
|
359
461
|
};
|
|
360
462
|
return [2 /*return*/, this.beginRequest({
|
|
361
|
-
apiVersion: "7.
|
|
463
|
+
apiVersion: "7.2-preview.1",
|
|
362
464
|
method: "POST",
|
|
363
465
|
httpResponseType: "application/zip",
|
|
364
466
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
@@ -392,7 +494,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
392
494
|
resolveLfs: resolveLfs
|
|
393
495
|
};
|
|
394
496
|
return [2 /*return*/, this.beginRequest({
|
|
395
|
-
apiVersion: "7.
|
|
497
|
+
apiVersion: "7.2-preview.1",
|
|
396
498
|
httpResponseType: "application/zip",
|
|
397
499
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Blobs/{sha1}",
|
|
398
500
|
routeValues: {
|
|
@@ -422,7 +524,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
422
524
|
baseVersionDescriptor: baseVersionDescriptor
|
|
423
525
|
};
|
|
424
526
|
return [2 /*return*/, this.beginRequest({
|
|
425
|
-
apiVersion: "7.
|
|
527
|
+
apiVersion: "7.2-preview.1",
|
|
426
528
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/stats/branches",
|
|
427
529
|
routeValues: {
|
|
428
530
|
project: project,
|
|
@@ -448,7 +550,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
448
550
|
baseVersionDescriptor: baseVersionDescriptor
|
|
449
551
|
};
|
|
450
552
|
return [2 /*return*/, this.beginRequest({
|
|
451
|
-
apiVersion: "7.
|
|
553
|
+
apiVersion: "7.2-preview.1",
|
|
452
554
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/stats/branches",
|
|
453
555
|
routeValues: {
|
|
454
556
|
project: project,
|
|
@@ -468,7 +570,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
468
570
|
return __awaiter(this, void 0, void 0, function () {
|
|
469
571
|
return __generator(this, function (_a) {
|
|
470
572
|
return [2 /*return*/, this.beginRequest({
|
|
471
|
-
apiVersion: "7.
|
|
573
|
+
apiVersion: "7.2-preview.1",
|
|
472
574
|
method: "POST",
|
|
473
575
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/stats/branches",
|
|
474
576
|
routeValues: {
|
|
@@ -498,7 +600,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
498
600
|
skip: skip
|
|
499
601
|
};
|
|
500
602
|
return [2 /*return*/, this.beginRequest({
|
|
501
|
-
apiVersion: "7.
|
|
603
|
+
apiVersion: "7.2-preview.1",
|
|
502
604
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/Changes",
|
|
503
605
|
routeValues: {
|
|
504
606
|
project: project,
|
|
@@ -522,7 +624,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
522
624
|
return __awaiter(this, void 0, void 0, function () {
|
|
523
625
|
return __generator(this, function (_a) {
|
|
524
626
|
return [2 /*return*/, this.beginRequest({
|
|
525
|
-
apiVersion: "7.
|
|
627
|
+
apiVersion: "7.2-preview.1",
|
|
526
628
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
527
629
|
routeValues: {
|
|
528
630
|
project: project,
|
|
@@ -559,7 +661,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
559
661
|
includeObsolete: includeObsolete
|
|
560
662
|
};
|
|
561
663
|
return [2 /*return*/, this.beginRequest({
|
|
562
|
-
apiVersion: "7.
|
|
664
|
+
apiVersion: "7.2-preview.1",
|
|
563
665
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
564
666
|
routeValues: {
|
|
565
667
|
project: project,
|
|
@@ -596,7 +698,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
596
698
|
return __awaiter(this, void 0, void 0, function () {
|
|
597
699
|
return __generator(this, function (_a) {
|
|
598
700
|
return [2 /*return*/, this.beginRequest({
|
|
599
|
-
apiVersion: "7.
|
|
701
|
+
apiVersion: "7.2-preview.1",
|
|
600
702
|
method: "PATCH",
|
|
601
703
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
602
704
|
routeValues: {
|
|
@@ -622,7 +724,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
622
724
|
return __awaiter(this, void 0, void 0, function () {
|
|
623
725
|
return __generator(this, function (_a) {
|
|
624
726
|
return [2 /*return*/, this.beginRequest({
|
|
625
|
-
apiVersion: "7.
|
|
727
|
+
apiVersion: "7.2-preview.1",
|
|
626
728
|
method: "PATCH",
|
|
627
729
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}/conflicts/{conflictId}",
|
|
628
730
|
routeValues: {
|
|
@@ -651,7 +753,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
651
753
|
includeLinks: includeLinks
|
|
652
754
|
};
|
|
653
755
|
return [2 /*return*/, this.beginRequest({
|
|
654
|
-
apiVersion: "7.
|
|
756
|
+
apiVersion: "7.2-preview.1",
|
|
655
757
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/cherryPickRelationships/{commitId}",
|
|
656
758
|
routeValues: {
|
|
657
759
|
project: project,
|
|
@@ -674,7 +776,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
674
776
|
return __awaiter(this, void 0, void 0, function () {
|
|
675
777
|
return __generator(this, function (_a) {
|
|
676
778
|
return [2 /*return*/, this.beginRequest({
|
|
677
|
-
apiVersion: "7.
|
|
779
|
+
apiVersion: "7.2-preview.1",
|
|
678
780
|
method: "POST",
|
|
679
781
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}",
|
|
680
782
|
routeValues: {
|
|
@@ -697,7 +799,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
697
799
|
return __awaiter(this, void 0, void 0, function () {
|
|
698
800
|
return __generator(this, function (_a) {
|
|
699
801
|
return [2 /*return*/, this.beginRequest({
|
|
700
|
-
apiVersion: "7.
|
|
802
|
+
apiVersion: "7.2-preview.1",
|
|
701
803
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}",
|
|
702
804
|
routeValues: {
|
|
703
805
|
project: project,
|
|
@@ -723,7 +825,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
723
825
|
refName: refName
|
|
724
826
|
};
|
|
725
827
|
return [2 /*return*/, this.beginRequest({
|
|
726
|
-
apiVersion: "7.
|
|
828
|
+
apiVersion: "7.2-preview.1",
|
|
727
829
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/cherryPicks/{cherryPickId}",
|
|
728
830
|
routeValues: {
|
|
729
831
|
project: project,
|
|
@@ -765,7 +867,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
765
867
|
queryValues.targetVersionOptions = targetVersionDescriptor.versionOptions;
|
|
766
868
|
}
|
|
767
869
|
return [2 /*return*/, this.beginRequest({
|
|
768
|
-
apiVersion: "7.
|
|
870
|
+
apiVersion: "7.2-preview.1",
|
|
769
871
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/diffs/commits",
|
|
770
872
|
routeValues: {
|
|
771
873
|
project: project,
|
|
@@ -792,7 +894,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
792
894
|
changeCount: changeCount
|
|
793
895
|
};
|
|
794
896
|
return [2 /*return*/, this.beginRequest({
|
|
795
|
-
apiVersion: "7.
|
|
897
|
+
apiVersion: "7.2-preview.1",
|
|
796
898
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Commits/{commitId}",
|
|
797
899
|
routeValues: {
|
|
798
900
|
project: project,
|
|
@@ -819,7 +921,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
819
921
|
searchCriteria: searchCriteria
|
|
820
922
|
};
|
|
821
923
|
return [2 /*return*/, this.beginRequest({
|
|
822
|
-
apiVersion: "7.
|
|
924
|
+
apiVersion: "7.2-preview.1",
|
|
823
925
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Commits/{commitId}",
|
|
824
926
|
routeValues: {
|
|
825
927
|
project: project,
|
|
@@ -851,7 +953,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
851
953
|
includeLinks: includeLinks
|
|
852
954
|
};
|
|
853
955
|
return [2 /*return*/, this.beginRequest({
|
|
854
|
-
apiVersion: "7.
|
|
956
|
+
apiVersion: "7.2-preview.1",
|
|
855
957
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Commits/{commitId}",
|
|
856
958
|
routeValues: {
|
|
857
959
|
project: project,
|
|
@@ -868,8 +970,8 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
868
970
|
* @param searchCriteria - Search options
|
|
869
971
|
* @param repositoryId - The name or ID of the repository.
|
|
870
972
|
* @param project - Project ID or project name
|
|
871
|
-
* @param skip - Number of commits to skip.
|
|
872
|
-
* @param top - Maximum number of commits to return.
|
|
973
|
+
* @param skip - Number of commits to skip. The value cannot exceed 3,000,000.
|
|
974
|
+
* @param top - Maximum number of commits to return. The value cannot exceed 50,000.
|
|
873
975
|
* @param includeStatuses - True to include additional commit status information.
|
|
874
976
|
*/
|
|
875
977
|
GitRestClient.prototype.getCommitsBatch = function (searchCriteria, repositoryId, project, skip, top, includeStatuses) {
|
|
@@ -882,7 +984,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
882
984
|
includeStatuses: includeStatuses
|
|
883
985
|
};
|
|
884
986
|
return [2 /*return*/, this.beginRequest({
|
|
885
|
-
apiVersion: "7.
|
|
987
|
+
apiVersion: "7.2-preview.1",
|
|
886
988
|
method: "POST",
|
|
887
989
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/CommitsBatch",
|
|
888
990
|
routeValues: {
|
|
@@ -904,7 +1006,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
904
1006
|
return __awaiter(this, void 0, void 0, function () {
|
|
905
1007
|
return __generator(this, function (_a) {
|
|
906
1008
|
return [2 /*return*/, this.beginRequest({
|
|
907
|
-
apiVersion: "7.
|
|
1009
|
+
apiVersion: "7.2-preview.1",
|
|
908
1010
|
routeTemplate: "{project}/_apis/git/DeletedRepositories",
|
|
909
1011
|
routeValues: {
|
|
910
1012
|
project: project
|
|
@@ -924,7 +1026,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
924
1026
|
return __awaiter(this, void 0, void 0, function () {
|
|
925
1027
|
return __generator(this, function (_a) {
|
|
926
1028
|
return [2 /*return*/, this.beginRequest({
|
|
927
|
-
apiVersion: "7.
|
|
1029
|
+
apiVersion: "7.2-preview.1",
|
|
928
1030
|
method: "POST",
|
|
929
1031
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/FileDiffs",
|
|
930
1032
|
routeValues: {
|
|
@@ -952,7 +1054,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
952
1054
|
includeLinks: includeLinks
|
|
953
1055
|
};
|
|
954
1056
|
return [2 /*return*/, this.beginRequest({
|
|
955
|
-
apiVersion: "7.
|
|
1057
|
+
apiVersion: "7.2-preview.1",
|
|
956
1058
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forks/{collectionId}",
|
|
957
1059
|
routeValues: {
|
|
958
1060
|
project: project,
|
|
@@ -980,7 +1082,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
980
1082
|
includeLinks: includeLinks
|
|
981
1083
|
};
|
|
982
1084
|
return [2 /*return*/, this.beginRequest({
|
|
983
|
-
apiVersion: "7.
|
|
1085
|
+
apiVersion: "7.2-preview.1",
|
|
984
1086
|
method: "POST",
|
|
985
1087
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forkSyncRequests/{forkSyncOperationId}",
|
|
986
1088
|
routeValues: {
|
|
@@ -1009,7 +1111,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1009
1111
|
includeLinks: includeLinks
|
|
1010
1112
|
};
|
|
1011
1113
|
return [2 /*return*/, this.beginRequest({
|
|
1012
|
-
apiVersion: "7.
|
|
1114
|
+
apiVersion: "7.2-preview.1",
|
|
1013
1115
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forkSyncRequests/{forkSyncOperationId}",
|
|
1014
1116
|
routeValues: {
|
|
1015
1117
|
project: project,
|
|
@@ -1038,7 +1140,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1038
1140
|
includeLinks: includeLinks
|
|
1039
1141
|
};
|
|
1040
1142
|
return [2 /*return*/, this.beginRequest({
|
|
1041
|
-
apiVersion: "7.
|
|
1143
|
+
apiVersion: "7.2-preview.1",
|
|
1042
1144
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/forkSyncRequests/{forkSyncOperationId}",
|
|
1043
1145
|
routeValues: {
|
|
1044
1146
|
project: project,
|
|
@@ -1060,7 +1162,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1060
1162
|
return __awaiter(this, void 0, void 0, function () {
|
|
1061
1163
|
return __generator(this, function (_a) {
|
|
1062
1164
|
return [2 /*return*/, this.beginRequest({
|
|
1063
|
-
apiVersion: "7.
|
|
1165
|
+
apiVersion: "7.2-preview.1",
|
|
1064
1166
|
method: "POST",
|
|
1065
1167
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1066
1168
|
routeValues: {
|
|
@@ -1083,7 +1185,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1083
1185
|
return __awaiter(this, void 0, void 0, function () {
|
|
1084
1186
|
return __generator(this, function (_a) {
|
|
1085
1187
|
return [2 /*return*/, this.beginRequest({
|
|
1086
|
-
apiVersion: "7.
|
|
1188
|
+
apiVersion: "7.2-preview.1",
|
|
1087
1189
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1088
1190
|
routeValues: {
|
|
1089
1191
|
project: project,
|
|
@@ -1109,7 +1211,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1109
1211
|
includeAbandoned: includeAbandoned
|
|
1110
1212
|
};
|
|
1111
1213
|
return [2 /*return*/, this.beginRequest({
|
|
1112
|
-
apiVersion: "7.
|
|
1214
|
+
apiVersion: "7.2-preview.1",
|
|
1113
1215
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1114
1216
|
routeValues: {
|
|
1115
1217
|
project: project,
|
|
@@ -1132,7 +1234,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1132
1234
|
return __awaiter(this, void 0, void 0, function () {
|
|
1133
1235
|
return __generator(this, function (_a) {
|
|
1134
1236
|
return [2 /*return*/, this.beginRequest({
|
|
1135
|
-
apiVersion: "7.
|
|
1237
|
+
apiVersion: "7.2-preview.1",
|
|
1136
1238
|
method: "PATCH",
|
|
1137
1239
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/importRequests/{importRequestId}",
|
|
1138
1240
|
routeValues: {
|
|
@@ -1178,7 +1280,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1178
1280
|
sanitize: sanitize
|
|
1179
1281
|
};
|
|
1180
1282
|
return [2 /*return*/, this.beginRequest({
|
|
1181
|
-
apiVersion: "7.
|
|
1283
|
+
apiVersion: "7.2-preview.1",
|
|
1182
1284
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1183
1285
|
routeValues: {
|
|
1184
1286
|
project: project,
|
|
@@ -1222,7 +1324,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1222
1324
|
sanitize: sanitize
|
|
1223
1325
|
};
|
|
1224
1326
|
return [2 /*return*/, this.beginRequest({
|
|
1225
|
-
apiVersion: "7.
|
|
1327
|
+
apiVersion: "7.2-preview.1",
|
|
1226
1328
|
httpResponseType: "application/octet-stream",
|
|
1227
1329
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1228
1330
|
routeValues: {
|
|
@@ -1263,7 +1365,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1263
1365
|
zipForUnix: zipForUnix
|
|
1264
1366
|
};
|
|
1265
1367
|
return [2 /*return*/, this.beginRequest({
|
|
1266
|
-
apiVersion: "7.
|
|
1368
|
+
apiVersion: "7.2-preview.1",
|
|
1267
1369
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1268
1370
|
routeValues: {
|
|
1269
1371
|
project: project,
|
|
@@ -1307,7 +1409,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1307
1409
|
sanitize: sanitize
|
|
1308
1410
|
};
|
|
1309
1411
|
return [2 /*return*/, this.beginRequest({
|
|
1310
|
-
apiVersion: "7.
|
|
1412
|
+
apiVersion: "7.2-preview.1",
|
|
1311
1413
|
httpResponseType: "text/plain",
|
|
1312
1414
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1313
1415
|
routeValues: {
|
|
@@ -1352,7 +1454,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1352
1454
|
sanitize: sanitize
|
|
1353
1455
|
};
|
|
1354
1456
|
return [2 /*return*/, this.beginRequest({
|
|
1355
|
-
apiVersion: "7.
|
|
1457
|
+
apiVersion: "7.2-preview.1",
|
|
1356
1458
|
httpResponseType: "application/zip",
|
|
1357
1459
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Items/{*path}",
|
|
1358
1460
|
routeValues: {
|
|
@@ -1375,7 +1477,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1375
1477
|
return __awaiter(this, void 0, void 0, function () {
|
|
1376
1478
|
return __generator(this, function (_a) {
|
|
1377
1479
|
return [2 /*return*/, this.beginRequest({
|
|
1378
|
-
apiVersion: "7.
|
|
1480
|
+
apiVersion: "7.2-preview.1",
|
|
1379
1481
|
method: "POST",
|
|
1380
1482
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/ItemsBatch",
|
|
1381
1483
|
routeValues: {
|
|
@@ -1407,7 +1509,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1407
1509
|
otherRepositoryId: otherRepositoryId
|
|
1408
1510
|
};
|
|
1409
1511
|
return [2 /*return*/, this.beginRequest({
|
|
1410
|
-
apiVersion: "7.
|
|
1512
|
+
apiVersion: "7.2-preview.1",
|
|
1411
1513
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/commits/{commitId}/mergeBases",
|
|
1412
1514
|
routeValues: {
|
|
1413
1515
|
project: project,
|
|
@@ -1435,7 +1537,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1435
1537
|
includeLinks: includeLinks
|
|
1436
1538
|
};
|
|
1437
1539
|
return [2 /*return*/, this.beginRequest({
|
|
1438
|
-
apiVersion: "7.
|
|
1540
|
+
apiVersion: "7.2-preview.1",
|
|
1439
1541
|
method: "POST",
|
|
1440
1542
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/merges/{mergeOperationId}",
|
|
1441
1543
|
routeValues: {
|
|
@@ -1464,7 +1566,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1464
1566
|
includeLinks: includeLinks
|
|
1465
1567
|
};
|
|
1466
1568
|
return [2 /*return*/, this.beginRequest({
|
|
1467
|
-
apiVersion: "7.
|
|
1569
|
+
apiVersion: "7.2-preview.1",
|
|
1468
1570
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryNameOrId}/merges/{mergeOperationId}",
|
|
1469
1571
|
routeValues: {
|
|
1470
1572
|
project: project,
|
|
@@ -1489,7 +1591,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1489
1591
|
return __awaiter(this, void 0, void 0, function () {
|
|
1490
1592
|
return __generator(this, function (_a) {
|
|
1491
1593
|
return [2 /*return*/, this.beginRequest({
|
|
1492
|
-
apiVersion: "7.
|
|
1594
|
+
apiVersion: "7.2-preview.1",
|
|
1493
1595
|
method: "POST",
|
|
1494
1596
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1495
1597
|
routeValues: {
|
|
@@ -1519,7 +1621,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1519
1621
|
return __awaiter(this, void 0, void 0, function () {
|
|
1520
1622
|
return __generator(this, function (_a) {
|
|
1521
1623
|
return [2 /*return*/, this.beginRequest({
|
|
1522
|
-
apiVersion: "7.
|
|
1624
|
+
apiVersion: "7.2-preview.1",
|
|
1523
1625
|
method: "DELETE",
|
|
1524
1626
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1525
1627
|
routeValues: {
|
|
@@ -1544,7 +1646,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1544
1646
|
return __awaiter(this, void 0, void 0, function () {
|
|
1545
1647
|
return __generator(this, function (_a) {
|
|
1546
1648
|
return [2 /*return*/, this.beginRequest({
|
|
1547
|
-
apiVersion: "7.
|
|
1649
|
+
apiVersion: "7.2-preview.1",
|
|
1548
1650
|
httpResponseType: "application/octet-stream",
|
|
1549
1651
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1550
1652
|
routeValues: {
|
|
@@ -1568,7 +1670,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1568
1670
|
return __awaiter(this, void 0, void 0, function () {
|
|
1569
1671
|
return __generator(this, function (_a) {
|
|
1570
1672
|
return [2 /*return*/, this.beginRequest({
|
|
1571
|
-
apiVersion: "7.
|
|
1673
|
+
apiVersion: "7.2-preview.1",
|
|
1572
1674
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1573
1675
|
routeValues: {
|
|
1574
1676
|
project: project,
|
|
@@ -1591,7 +1693,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1591
1693
|
return __awaiter(this, void 0, void 0, function () {
|
|
1592
1694
|
return __generator(this, function (_a) {
|
|
1593
1695
|
return [2 /*return*/, this.beginRequest({
|
|
1594
|
-
apiVersion: "7.
|
|
1696
|
+
apiVersion: "7.2-preview.1",
|
|
1595
1697
|
httpResponseType: "application/zip",
|
|
1596
1698
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/attachments/{fileName}",
|
|
1597
1699
|
routeValues: {
|
|
@@ -1617,7 +1719,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1617
1719
|
return __awaiter(this, void 0, void 0, function () {
|
|
1618
1720
|
return __generator(this, function (_a) {
|
|
1619
1721
|
return [2 /*return*/, this.beginRequest({
|
|
1620
|
-
apiVersion: "7.
|
|
1722
|
+
apiVersion: "7.2-preview.1",
|
|
1621
1723
|
method: "POST",
|
|
1622
1724
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}/likes",
|
|
1623
1725
|
routeValues: {
|
|
@@ -1644,7 +1746,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1644
1746
|
return __awaiter(this, void 0, void 0, function () {
|
|
1645
1747
|
return __generator(this, function (_a) {
|
|
1646
1748
|
return [2 /*return*/, this.beginRequest({
|
|
1647
|
-
apiVersion: "7.
|
|
1749
|
+
apiVersion: "7.2-preview.1",
|
|
1648
1750
|
method: "DELETE",
|
|
1649
1751
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}/likes",
|
|
1650
1752
|
routeValues: {
|
|
@@ -1671,7 +1773,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1671
1773
|
return __awaiter(this, void 0, void 0, function () {
|
|
1672
1774
|
return __generator(this, function (_a) {
|
|
1673
1775
|
return [2 /*return*/, this.beginRequest({
|
|
1674
|
-
apiVersion: "7.
|
|
1776
|
+
apiVersion: "7.2-preview.1",
|
|
1675
1777
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}/likes",
|
|
1676
1778
|
routeValues: {
|
|
1677
1779
|
project: project,
|
|
@@ -1703,7 +1805,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1703
1805
|
skip: skip
|
|
1704
1806
|
};
|
|
1705
1807
|
return [2 /*return*/, this.beginRequest({
|
|
1706
|
-
apiVersion: "7.
|
|
1808
|
+
apiVersion: "7.2-preview.1",
|
|
1707
1809
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/commits",
|
|
1708
1810
|
routeValues: {
|
|
1709
1811
|
project: project,
|
|
@@ -1728,7 +1830,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1728
1830
|
var _this = this;
|
|
1729
1831
|
return __generator(this, function (_a) {
|
|
1730
1832
|
return [2 /*return*/, this.beginRequest({
|
|
1731
|
-
apiVersion: "7.
|
|
1833
|
+
apiVersion: "7.2-preview.1",
|
|
1732
1834
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/commits",
|
|
1733
1835
|
routeValues: {
|
|
1734
1836
|
project: project,
|
|
@@ -1763,7 +1865,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1763
1865
|
return __awaiter(this, void 0, void 0, function () {
|
|
1764
1866
|
return __generator(this, function (_a) {
|
|
1765
1867
|
return [2 /*return*/, this.beginRequest({
|
|
1766
|
-
apiVersion: "7.
|
|
1868
|
+
apiVersion: "7.2-preview.1",
|
|
1767
1869
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1768
1870
|
routeValues: {
|
|
1769
1871
|
project: project,
|
|
@@ -1799,7 +1901,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1799
1901
|
onlyResolved: onlyResolved
|
|
1800
1902
|
};
|
|
1801
1903
|
return [2 /*return*/, this.beginRequest({
|
|
1802
|
-
apiVersion: "7.
|
|
1904
|
+
apiVersion: "7.2-preview.1",
|
|
1803
1905
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1804
1906
|
routeValues: {
|
|
1805
1907
|
project: project,
|
|
@@ -1824,7 +1926,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1824
1926
|
return __awaiter(this, void 0, void 0, function () {
|
|
1825
1927
|
return __generator(this, function (_a) {
|
|
1826
1928
|
return [2 /*return*/, this.beginRequest({
|
|
1827
|
-
apiVersion: "7.
|
|
1929
|
+
apiVersion: "7.2-preview.1",
|
|
1828
1930
|
method: "PATCH",
|
|
1829
1931
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1830
1932
|
routeValues: {
|
|
@@ -1850,7 +1952,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1850
1952
|
return __awaiter(this, void 0, void 0, function () {
|
|
1851
1953
|
return __generator(this, function (_a) {
|
|
1852
1954
|
return [2 /*return*/, this.beginRequest({
|
|
1853
|
-
apiVersion: "7.
|
|
1955
|
+
apiVersion: "7.2-preview.1",
|
|
1854
1956
|
method: "PATCH",
|
|
1855
1957
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/conflicts/{conflictId}",
|
|
1856
1958
|
routeValues: {
|
|
@@ -1884,7 +1986,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1884
1986
|
'$compareTo': compareTo
|
|
1885
1987
|
};
|
|
1886
1988
|
return [2 /*return*/, this.beginRequest({
|
|
1887
|
-
apiVersion: "7.
|
|
1989
|
+
apiVersion: "7.2-preview.1",
|
|
1888
1990
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/changes",
|
|
1889
1991
|
routeValues: {
|
|
1890
1992
|
project: project,
|
|
@@ -1909,7 +2011,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1909
2011
|
return __awaiter(this, void 0, void 0, function () {
|
|
1910
2012
|
return __generator(this, function (_a) {
|
|
1911
2013
|
return [2 /*return*/, this.beginRequest({
|
|
1912
|
-
apiVersion: "7.
|
|
2014
|
+
apiVersion: "7.2-preview.2",
|
|
1913
2015
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}",
|
|
1914
2016
|
routeValues: {
|
|
1915
2017
|
project: project,
|
|
@@ -1937,7 +2039,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1937
2039
|
includeCommits: includeCommits
|
|
1938
2040
|
};
|
|
1939
2041
|
return [2 /*return*/, this.beginRequest({
|
|
1940
|
-
apiVersion: "7.
|
|
2042
|
+
apiVersion: "7.2-preview.2",
|
|
1941
2043
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}",
|
|
1942
2044
|
routeValues: {
|
|
1943
2045
|
project: project,
|
|
@@ -1962,7 +2064,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1962
2064
|
return __awaiter(this, void 0, void 0, function () {
|
|
1963
2065
|
return __generator(this, function (_a) {
|
|
1964
2066
|
return [2 /*return*/, this.beginRequest({
|
|
1965
|
-
apiVersion: "7.
|
|
2067
|
+
apiVersion: "7.2-preview.1",
|
|
1966
2068
|
method: "POST",
|
|
1967
2069
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
1968
2070
|
routeValues: {
|
|
@@ -1989,7 +2091,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
1989
2091
|
return __awaiter(this, void 0, void 0, function () {
|
|
1990
2092
|
return __generator(this, function (_a) {
|
|
1991
2093
|
return [2 /*return*/, this.beginRequest({
|
|
1992
|
-
apiVersion: "7.
|
|
2094
|
+
apiVersion: "7.2-preview.1",
|
|
1993
2095
|
method: "DELETE",
|
|
1994
2096
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
1995
2097
|
routeValues: {
|
|
@@ -2016,7 +2118,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2016
2118
|
return __awaiter(this, void 0, void 0, function () {
|
|
2017
2119
|
return __generator(this, function (_a) {
|
|
2018
2120
|
return [2 /*return*/, this.beginRequest({
|
|
2019
|
-
apiVersion: "7.
|
|
2121
|
+
apiVersion: "7.2-preview.1",
|
|
2020
2122
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2021
2123
|
routeValues: {
|
|
2022
2124
|
project: project,
|
|
@@ -2041,7 +2143,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2041
2143
|
return __awaiter(this, void 0, void 0, function () {
|
|
2042
2144
|
return __generator(this, function (_a) {
|
|
2043
2145
|
return [2 /*return*/, this.beginRequest({
|
|
2044
|
-
apiVersion: "7.
|
|
2146
|
+
apiVersion: "7.2-preview.1",
|
|
2045
2147
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2046
2148
|
routeValues: {
|
|
2047
2149
|
project: project,
|
|
@@ -2066,7 +2168,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2066
2168
|
return __awaiter(this, void 0, void 0, function () {
|
|
2067
2169
|
return __generator(this, function (_a) {
|
|
2068
2170
|
return [2 /*return*/, this.beginRequest({
|
|
2069
|
-
apiVersion: "7.
|
|
2171
|
+
apiVersion: "7.2-preview.1",
|
|
2070
2172
|
method: "PATCH",
|
|
2071
2173
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/iterations/{iterationId}/statuses/{statusId}",
|
|
2072
2174
|
routeValues: {
|
|
@@ -2100,7 +2202,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2100
2202
|
projectId: projectId
|
|
2101
2203
|
};
|
|
2102
2204
|
return [2 /*return*/, this.beginRequest({
|
|
2103
|
-
apiVersion: "7.
|
|
2205
|
+
apiVersion: "7.2-preview.1",
|
|
2104
2206
|
method: "POST",
|
|
2105
2207
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2106
2208
|
routeValues: {
|
|
@@ -2131,7 +2233,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2131
2233
|
projectId: projectId
|
|
2132
2234
|
};
|
|
2133
2235
|
return [2 /*return*/, this.beginRequest({
|
|
2134
|
-
apiVersion: "7.
|
|
2236
|
+
apiVersion: "7.2-preview.1",
|
|
2135
2237
|
method: "DELETE",
|
|
2136
2238
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2137
2239
|
routeValues: {
|
|
@@ -2162,7 +2264,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2162
2264
|
projectId: projectId
|
|
2163
2265
|
};
|
|
2164
2266
|
return [2 /*return*/, this.beginRequest({
|
|
2165
|
-
apiVersion: "7.
|
|
2267
|
+
apiVersion: "7.2-preview.1",
|
|
2166
2268
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2167
2269
|
routeValues: {
|
|
2168
2270
|
project: project,
|
|
@@ -2191,7 +2293,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2191
2293
|
projectId: projectId
|
|
2192
2294
|
};
|
|
2193
2295
|
return [2 /*return*/, this.beginRequest({
|
|
2194
|
-
apiVersion: "7.
|
|
2296
|
+
apiVersion: "7.2-preview.1",
|
|
2195
2297
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/labels/{labelIdOrName}",
|
|
2196
2298
|
routeValues: {
|
|
2197
2299
|
project: project,
|
|
@@ -2214,7 +2316,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2214
2316
|
return __awaiter(this, void 0, void 0, function () {
|
|
2215
2317
|
return __generator(this, function (_a) {
|
|
2216
2318
|
return [2 /*return*/, this.beginRequest({
|
|
2217
|
-
apiVersion: "7.
|
|
2319
|
+
apiVersion: "7.2-preview.1",
|
|
2218
2320
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/properties",
|
|
2219
2321
|
routeValues: {
|
|
2220
2322
|
project: project,
|
|
@@ -2237,7 +2339,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2237
2339
|
return __awaiter(this, void 0, void 0, function () {
|
|
2238
2340
|
return __generator(this, function (_a) {
|
|
2239
2341
|
return [2 /*return*/, this.beginRequest({
|
|
2240
|
-
apiVersion: "7.
|
|
2342
|
+
apiVersion: "7.2-preview.1",
|
|
2241
2343
|
method: "PATCH",
|
|
2242
2344
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/properties",
|
|
2243
2345
|
routeValues: {
|
|
@@ -2264,7 +2366,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2264
2366
|
return __awaiter(this, void 0, void 0, function () {
|
|
2265
2367
|
return __generator(this, function (_a) {
|
|
2266
2368
|
return [2 /*return*/, this.beginRequest({
|
|
2267
|
-
apiVersion: "7.
|
|
2369
|
+
apiVersion: "7.2-preview.1",
|
|
2268
2370
|
method: "POST",
|
|
2269
2371
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/PullRequestQuery",
|
|
2270
2372
|
routeValues: {
|
|
@@ -2289,7 +2391,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2289
2391
|
return __awaiter(this, void 0, void 0, function () {
|
|
2290
2392
|
return __generator(this, function (_a) {
|
|
2291
2393
|
return [2 /*return*/, this.beginRequest({
|
|
2292
|
-
apiVersion: "7.
|
|
2394
|
+
apiVersion: "7.2-preview.1",
|
|
2293
2395
|
method: "PUT",
|
|
2294
2396
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2295
2397
|
routeValues: {
|
|
@@ -2315,7 +2417,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2315
2417
|
return __awaiter(this, void 0, void 0, function () {
|
|
2316
2418
|
return __generator(this, function (_a) {
|
|
2317
2419
|
return [2 /*return*/, this.beginRequest({
|
|
2318
|
-
apiVersion: "7.
|
|
2420
|
+
apiVersion: "7.2-preview.1",
|
|
2319
2421
|
method: "POST",
|
|
2320
2422
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2321
2423
|
routeValues: {
|
|
@@ -2340,7 +2442,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2340
2442
|
return __awaiter(this, void 0, void 0, function () {
|
|
2341
2443
|
return __generator(this, function (_a) {
|
|
2342
2444
|
return [2 /*return*/, this.beginRequest({
|
|
2343
|
-
apiVersion: "7.
|
|
2445
|
+
apiVersion: "7.2-preview.1",
|
|
2344
2446
|
method: "PUT",
|
|
2345
2447
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2346
2448
|
routeValues: {
|
|
@@ -2365,7 +2467,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2365
2467
|
return __awaiter(this, void 0, void 0, function () {
|
|
2366
2468
|
return __generator(this, function (_a) {
|
|
2367
2469
|
return [2 /*return*/, this.beginRequest({
|
|
2368
|
-
apiVersion: "7.
|
|
2470
|
+
apiVersion: "7.2-preview.1",
|
|
2369
2471
|
method: "DELETE",
|
|
2370
2472
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2371
2473
|
routeValues: {
|
|
@@ -2390,7 +2492,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2390
2492
|
return __awaiter(this, void 0, void 0, function () {
|
|
2391
2493
|
return __generator(this, function (_a) {
|
|
2392
2494
|
return [2 /*return*/, this.beginRequest({
|
|
2393
|
-
apiVersion: "7.
|
|
2495
|
+
apiVersion: "7.2-preview.1",
|
|
2394
2496
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2395
2497
|
routeValues: {
|
|
2396
2498
|
project: project,
|
|
@@ -2413,7 +2515,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2413
2515
|
return __awaiter(this, void 0, void 0, function () {
|
|
2414
2516
|
return __generator(this, function (_a) {
|
|
2415
2517
|
return [2 /*return*/, this.beginRequest({
|
|
2416
|
-
apiVersion: "7.
|
|
2518
|
+
apiVersion: "7.2-preview.1",
|
|
2417
2519
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2418
2520
|
routeValues: {
|
|
2419
2521
|
project: project,
|
|
@@ -2437,7 +2539,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2437
2539
|
return __awaiter(this, void 0, void 0, function () {
|
|
2438
2540
|
return __generator(this, function (_a) {
|
|
2439
2541
|
return [2 /*return*/, this.beginRequest({
|
|
2440
|
-
apiVersion: "7.
|
|
2542
|
+
apiVersion: "7.2-preview.1",
|
|
2441
2543
|
method: "PATCH",
|
|
2442
2544
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2443
2545
|
routeValues: {
|
|
@@ -2463,7 +2565,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2463
2565
|
return __awaiter(this, void 0, void 0, function () {
|
|
2464
2566
|
return __generator(this, function (_a) {
|
|
2465
2567
|
return [2 /*return*/, this.beginRequest({
|
|
2466
|
-
apiVersion: "7.
|
|
2568
|
+
apiVersion: "7.2-preview.1",
|
|
2467
2569
|
method: "PATCH",
|
|
2468
2570
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/reviewers/{reviewerId}",
|
|
2469
2571
|
routeValues: {
|
|
@@ -2486,7 +2588,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2486
2588
|
return __awaiter(this, void 0, void 0, function () {
|
|
2487
2589
|
return __generator(this, function (_a) {
|
|
2488
2590
|
return [2 /*return*/, this.beginRequest({
|
|
2489
|
-
apiVersion: "7.
|
|
2591
|
+
apiVersion: "7.2-preview.1",
|
|
2490
2592
|
routeTemplate: "{project}/_apis/git/pullRequests/{pullRequestId}",
|
|
2491
2593
|
routeValues: {
|
|
2492
2594
|
project: project,
|
|
@@ -2516,7 +2618,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2516
2618
|
'$top': top
|
|
2517
2619
|
};
|
|
2518
2620
|
return [2 /*return*/, this.beginRequest({
|
|
2519
|
-
apiVersion: "7.
|
|
2621
|
+
apiVersion: "7.2-preview.1",
|
|
2520
2622
|
routeTemplate: "{project}/_apis/git/pullRequests",
|
|
2521
2623
|
routeValues: {
|
|
2522
2624
|
project: project
|
|
@@ -2542,7 +2644,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2542
2644
|
supportsIterations: supportsIterations
|
|
2543
2645
|
};
|
|
2544
2646
|
return [2 /*return*/, this.beginRequest({
|
|
2545
|
-
apiVersion: "7.
|
|
2647
|
+
apiVersion: "7.2-preview.1",
|
|
2546
2648
|
method: "POST",
|
|
2547
2649
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2548
2650
|
routeValues: {
|
|
@@ -2579,7 +2681,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2579
2681
|
includeWorkItemRefs: includeWorkItemRefs
|
|
2580
2682
|
};
|
|
2581
2683
|
return [2 /*return*/, this.beginRequest({
|
|
2582
|
-
apiVersion: "7.
|
|
2684
|
+
apiVersion: "7.2-preview.1",
|
|
2583
2685
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2584
2686
|
routeValues: {
|
|
2585
2687
|
project: project,
|
|
@@ -2612,7 +2714,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2612
2714
|
'$top': top
|
|
2613
2715
|
};
|
|
2614
2716
|
return [2 /*return*/, this.beginRequest({
|
|
2615
|
-
apiVersion: "7.
|
|
2717
|
+
apiVersion: "7.2-preview.1",
|
|
2616
2718
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2617
2719
|
routeValues: {
|
|
2618
2720
|
project: project,
|
|
@@ -2635,7 +2737,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2635
2737
|
return __awaiter(this, void 0, void 0, function () {
|
|
2636
2738
|
return __generator(this, function (_a) {
|
|
2637
2739
|
return [2 /*return*/, this.beginRequest({
|
|
2638
|
-
apiVersion: "7.
|
|
2740
|
+
apiVersion: "7.2-preview.1",
|
|
2639
2741
|
method: "PATCH",
|
|
2640
2742
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}",
|
|
2641
2743
|
routeValues: {
|
|
@@ -2660,7 +2762,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2660
2762
|
return __awaiter(this, void 0, void 0, function () {
|
|
2661
2763
|
return __generator(this, function (_a) {
|
|
2662
2764
|
return [2 /*return*/, this.beginRequest({
|
|
2663
|
-
apiVersion: "7.
|
|
2765
|
+
apiVersion: "7.2-preview.1",
|
|
2664
2766
|
method: "POST",
|
|
2665
2767
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/share",
|
|
2666
2768
|
routeValues: {
|
|
@@ -2685,7 +2787,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2685
2787
|
return __awaiter(this, void 0, void 0, function () {
|
|
2686
2788
|
return __generator(this, function (_a) {
|
|
2687
2789
|
return [2 /*return*/, this.beginRequest({
|
|
2688
|
-
apiVersion: "7.
|
|
2790
|
+
apiVersion: "7.2-preview.1",
|
|
2689
2791
|
method: "POST",
|
|
2690
2792
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2691
2793
|
routeValues: {
|
|
@@ -2710,7 +2812,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2710
2812
|
return __awaiter(this, void 0, void 0, function () {
|
|
2711
2813
|
return __generator(this, function (_a) {
|
|
2712
2814
|
return [2 /*return*/, this.beginRequest({
|
|
2713
|
-
apiVersion: "7.
|
|
2815
|
+
apiVersion: "7.2-preview.1",
|
|
2714
2816
|
method: "DELETE",
|
|
2715
2817
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2716
2818
|
routeValues: {
|
|
@@ -2735,7 +2837,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2735
2837
|
return __awaiter(this, void 0, void 0, function () {
|
|
2736
2838
|
return __generator(this, function (_a) {
|
|
2737
2839
|
return [2 /*return*/, this.beginRequest({
|
|
2738
|
-
apiVersion: "7.
|
|
2840
|
+
apiVersion: "7.2-preview.1",
|
|
2739
2841
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2740
2842
|
routeValues: {
|
|
2741
2843
|
project: project,
|
|
@@ -2758,7 +2860,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2758
2860
|
return __awaiter(this, void 0, void 0, function () {
|
|
2759
2861
|
return __generator(this, function (_a) {
|
|
2760
2862
|
return [2 /*return*/, this.beginRequest({
|
|
2761
|
-
apiVersion: "7.
|
|
2863
|
+
apiVersion: "7.2-preview.1",
|
|
2762
2864
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2763
2865
|
routeValues: {
|
|
2764
2866
|
project: project,
|
|
@@ -2781,7 +2883,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2781
2883
|
return __awaiter(this, void 0, void 0, function () {
|
|
2782
2884
|
return __generator(this, function (_a) {
|
|
2783
2885
|
return [2 /*return*/, this.beginRequest({
|
|
2784
|
-
apiVersion: "7.
|
|
2886
|
+
apiVersion: "7.2-preview.1",
|
|
2785
2887
|
method: "PATCH",
|
|
2786
2888
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses/{statusId}",
|
|
2787
2889
|
routeValues: {
|
|
@@ -2810,7 +2912,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2810
2912
|
return __awaiter(this, void 0, void 0, function () {
|
|
2811
2913
|
return __generator(this, function (_a) {
|
|
2812
2914
|
return [2 /*return*/, this.beginRequest({
|
|
2813
|
-
apiVersion: "7.
|
|
2915
|
+
apiVersion: "7.2-preview.1",
|
|
2814
2916
|
method: "POST",
|
|
2815
2917
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2816
2918
|
routeValues: {
|
|
@@ -2837,7 +2939,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2837
2939
|
return __awaiter(this, void 0, void 0, function () {
|
|
2838
2940
|
return __generator(this, function (_a) {
|
|
2839
2941
|
return [2 /*return*/, this.beginRequest({
|
|
2840
|
-
apiVersion: "7.
|
|
2942
|
+
apiVersion: "7.2-preview.1",
|
|
2841
2943
|
method: "DELETE",
|
|
2842
2944
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2843
2945
|
routeValues: {
|
|
@@ -2864,7 +2966,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2864
2966
|
return __awaiter(this, void 0, void 0, function () {
|
|
2865
2967
|
return __generator(this, function (_a) {
|
|
2866
2968
|
return [2 /*return*/, this.beginRequest({
|
|
2867
|
-
apiVersion: "7.
|
|
2969
|
+
apiVersion: "7.2-preview.1",
|
|
2868
2970
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2869
2971
|
routeValues: {
|
|
2870
2972
|
project: project,
|
|
@@ -2889,7 +2991,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2889
2991
|
return __awaiter(this, void 0, void 0, function () {
|
|
2890
2992
|
return __generator(this, function (_a) {
|
|
2891
2993
|
return [2 /*return*/, this.beginRequest({
|
|
2892
|
-
apiVersion: "7.
|
|
2994
|
+
apiVersion: "7.2-preview.1",
|
|
2893
2995
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2894
2996
|
routeValues: {
|
|
2895
2997
|
project: project,
|
|
@@ -2915,7 +3017,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2915
3017
|
return __awaiter(this, void 0, void 0, function () {
|
|
2916
3018
|
return __generator(this, function (_a) {
|
|
2917
3019
|
return [2 /*return*/, this.beginRequest({
|
|
2918
|
-
apiVersion: "7.
|
|
3020
|
+
apiVersion: "7.2-preview.1",
|
|
2919
3021
|
method: "PATCH",
|
|
2920
3022
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}/comments/{commentId}",
|
|
2921
3023
|
routeValues: {
|
|
@@ -2942,7 +3044,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2942
3044
|
return __awaiter(this, void 0, void 0, function () {
|
|
2943
3045
|
return __generator(this, function (_a) {
|
|
2944
3046
|
return [2 /*return*/, this.beginRequest({
|
|
2945
|
-
apiVersion: "7.
|
|
3047
|
+
apiVersion: "7.2-preview.1",
|
|
2946
3048
|
method: "POST",
|
|
2947
3049
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
2948
3050
|
routeValues: {
|
|
@@ -2974,7 +3076,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
2974
3076
|
'$baseIteration': baseIteration
|
|
2975
3077
|
};
|
|
2976
3078
|
return [2 /*return*/, this.beginRequest({
|
|
2977
|
-
apiVersion: "7.
|
|
3079
|
+
apiVersion: "7.2-preview.1",
|
|
2978
3080
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
2979
3081
|
routeValues: {
|
|
2980
3082
|
project: project,
|
|
@@ -3005,7 +3107,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3005
3107
|
'$baseIteration': baseIteration
|
|
3006
3108
|
};
|
|
3007
3109
|
return [2 /*return*/, this.beginRequest({
|
|
3008
|
-
apiVersion: "7.
|
|
3110
|
+
apiVersion: "7.2-preview.1",
|
|
3009
3111
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
3010
3112
|
routeValues: {
|
|
3011
3113
|
project: project,
|
|
@@ -3030,7 +3132,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3030
3132
|
return __awaiter(this, void 0, void 0, function () {
|
|
3031
3133
|
return __generator(this, function (_a) {
|
|
3032
3134
|
return [2 /*return*/, this.beginRequest({
|
|
3033
|
-
apiVersion: "7.
|
|
3135
|
+
apiVersion: "7.2-preview.1",
|
|
3034
3136
|
method: "PATCH",
|
|
3035
3137
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/threads/{threadId}",
|
|
3036
3138
|
routeValues: {
|
|
@@ -3055,7 +3157,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3055
3157
|
return __awaiter(this, void 0, void 0, function () {
|
|
3056
3158
|
return __generator(this, function (_a) {
|
|
3057
3159
|
return [2 /*return*/, this.beginRequest({
|
|
3058
|
-
apiVersion: "7.
|
|
3160
|
+
apiVersion: "7.2-preview.1",
|
|
3059
3161
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/workitems",
|
|
3060
3162
|
routeValues: {
|
|
3061
3163
|
project: project,
|
|
@@ -3077,7 +3179,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3077
3179
|
return __awaiter(this, void 0, void 0, function () {
|
|
3078
3180
|
return __generator(this, function (_a) {
|
|
3079
3181
|
return [2 /*return*/, this.beginRequest({
|
|
3080
|
-
apiVersion: "7.
|
|
3182
|
+
apiVersion: "7.2-preview.2",
|
|
3081
3183
|
method: "POST",
|
|
3082
3184
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pushes/{pushId}",
|
|
3083
3185
|
routeValues: {
|
|
@@ -3107,7 +3209,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3107
3209
|
includeRefUpdates: includeRefUpdates
|
|
3108
3210
|
};
|
|
3109
3211
|
return [2 /*return*/, this.beginRequest({
|
|
3110
|
-
apiVersion: "7.
|
|
3212
|
+
apiVersion: "7.2-preview.2",
|
|
3111
3213
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pushes/{pushId}",
|
|
3112
3214
|
routeValues: {
|
|
3113
3215
|
project: project,
|
|
@@ -3138,7 +3240,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3138
3240
|
searchCriteria: searchCriteria
|
|
3139
3241
|
};
|
|
3140
3242
|
return [2 /*return*/, this.beginRequest({
|
|
3141
|
-
apiVersion: "7.
|
|
3243
|
+
apiVersion: "7.2-preview.2",
|
|
3142
3244
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/pushes/{pushId}",
|
|
3143
3245
|
routeValues: {
|
|
3144
3246
|
project: project,
|
|
@@ -3159,7 +3261,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3159
3261
|
return __awaiter(this, void 0, void 0, function () {
|
|
3160
3262
|
return __generator(this, function (_a) {
|
|
3161
3263
|
return [2 /*return*/, this.beginRequest({
|
|
3162
|
-
apiVersion: "7.
|
|
3264
|
+
apiVersion: "7.2-preview.1",
|
|
3163
3265
|
method: "DELETE",
|
|
3164
3266
|
routeTemplate: "{project}/_apis/git/recycleBin/repositories/{repositoryId}",
|
|
3165
3267
|
routeValues: {
|
|
@@ -3179,7 +3281,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3179
3281
|
return __awaiter(this, void 0, void 0, function () {
|
|
3180
3282
|
return __generator(this, function (_a) {
|
|
3181
3283
|
return [2 /*return*/, this.beginRequest({
|
|
3182
|
-
apiVersion: "7.
|
|
3284
|
+
apiVersion: "7.2-preview.1",
|
|
3183
3285
|
routeTemplate: "{project}/_apis/git/recycleBin/repositories/{repositoryId}",
|
|
3184
3286
|
routeValues: {
|
|
3185
3287
|
project: project
|
|
@@ -3199,7 +3301,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3199
3301
|
return __awaiter(this, void 0, void 0, function () {
|
|
3200
3302
|
return __generator(this, function (_a) {
|
|
3201
3303
|
return [2 /*return*/, this.beginRequest({
|
|
3202
|
-
apiVersion: "7.
|
|
3304
|
+
apiVersion: "7.2-preview.1",
|
|
3203
3305
|
method: "PATCH",
|
|
3204
3306
|
routeTemplate: "{project}/_apis/git/recycleBin/repositories/{repositoryId}",
|
|
3205
3307
|
routeValues: {
|
|
@@ -3239,7 +3341,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3239
3341
|
filterContains: filterContains
|
|
3240
3342
|
};
|
|
3241
3343
|
return [2 /*return*/, this.beginRequest({
|
|
3242
|
-
apiVersion: "7.
|
|
3344
|
+
apiVersion: "7.2-preview.1",
|
|
3243
3345
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/refs/{*filter}",
|
|
3244
3346
|
routeValues: {
|
|
3245
3347
|
project: project,
|
|
@@ -3280,7 +3382,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3280
3382
|
projectId: projectId
|
|
3281
3383
|
};
|
|
3282
3384
|
return [2 /*return*/, this.beginRequest({
|
|
3283
|
-
apiVersion: "7.
|
|
3385
|
+
apiVersion: "7.2-preview.1",
|
|
3284
3386
|
method: "PATCH",
|
|
3285
3387
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/refs/{*filter}",
|
|
3286
3388
|
routeValues: {
|
|
@@ -3309,7 +3411,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3309
3411
|
projectId: projectId
|
|
3310
3412
|
};
|
|
3311
3413
|
return [2 /*return*/, this.beginRequest({
|
|
3312
|
-
apiVersion: "7.
|
|
3414
|
+
apiVersion: "7.2-preview.1",
|
|
3313
3415
|
method: "POST",
|
|
3314
3416
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/refs/{*filter}",
|
|
3315
3417
|
routeValues: {
|
|
@@ -3332,7 +3434,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3332
3434
|
return __awaiter(this, void 0, void 0, function () {
|
|
3333
3435
|
return __generator(this, function (_a) {
|
|
3334
3436
|
return [2 /*return*/, this.beginRequest({
|
|
3335
|
-
apiVersion: "7.
|
|
3437
|
+
apiVersion: "7.2-preview.1",
|
|
3336
3438
|
method: "POST",
|
|
3337
3439
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3338
3440
|
routeValues: {
|
|
@@ -3353,7 +3455,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3353
3455
|
return __awaiter(this, void 0, void 0, function () {
|
|
3354
3456
|
return __generator(this, function (_a) {
|
|
3355
3457
|
return [2 /*return*/, this.beginRequest({
|
|
3356
|
-
apiVersion: "7.
|
|
3458
|
+
apiVersion: "7.2-preview.1",
|
|
3357
3459
|
method: "DELETE",
|
|
3358
3460
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3359
3461
|
routeValues: {
|
|
@@ -3374,7 +3476,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3374
3476
|
return __awaiter(this, void 0, void 0, function () {
|
|
3375
3477
|
return __generator(this, function (_a) {
|
|
3376
3478
|
return [2 /*return*/, this.beginRequest({
|
|
3377
|
-
apiVersion: "7.
|
|
3479
|
+
apiVersion: "7.2-preview.1",
|
|
3378
3480
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3379
3481
|
routeValues: {
|
|
3380
3482
|
project: project,
|
|
@@ -3400,7 +3502,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3400
3502
|
identityId: identityId
|
|
3401
3503
|
};
|
|
3402
3504
|
return [2 /*return*/, this.beginRequest({
|
|
3403
|
-
apiVersion: "7.
|
|
3505
|
+
apiVersion: "7.2-preview.1",
|
|
3404
3506
|
routeTemplate: "{project}/_apis/git/favorites/refs/{favoriteId}",
|
|
3405
3507
|
routeValues: {
|
|
3406
3508
|
project: project
|
|
@@ -3425,7 +3527,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3425
3527
|
sourceRef: sourceRef
|
|
3426
3528
|
};
|
|
3427
3529
|
return [2 /*return*/, this.beginRequest({
|
|
3428
|
-
apiVersion: "7.
|
|
3530
|
+
apiVersion: "7.2-preview.1",
|
|
3429
3531
|
method: "POST",
|
|
3430
3532
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3431
3533
|
routeValues: {
|
|
@@ -3447,7 +3549,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3447
3549
|
return __awaiter(this, void 0, void 0, function () {
|
|
3448
3550
|
return __generator(this, function (_a) {
|
|
3449
3551
|
return [2 /*return*/, this.beginRequest({
|
|
3450
|
-
apiVersion: "7.
|
|
3552
|
+
apiVersion: "7.2-preview.1",
|
|
3451
3553
|
method: "DELETE",
|
|
3452
3554
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3453
3555
|
routeValues: {
|
|
@@ -3476,7 +3578,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3476
3578
|
includeHidden: includeHidden
|
|
3477
3579
|
};
|
|
3478
3580
|
return [2 /*return*/, this.beginRequest({
|
|
3479
|
-
apiVersion: "7.
|
|
3581
|
+
apiVersion: "7.2-preview.1",
|
|
3480
3582
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3481
3583
|
routeValues: {
|
|
3482
3584
|
project: project
|
|
@@ -3496,7 +3598,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3496
3598
|
return __awaiter(this, void 0, void 0, function () {
|
|
3497
3599
|
return __generator(this, function (_a) {
|
|
3498
3600
|
return [2 /*return*/, this.beginRequest({
|
|
3499
|
-
apiVersion: "7.
|
|
3601
|
+
apiVersion: "7.2-preview.1",
|
|
3500
3602
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3501
3603
|
routeValues: {
|
|
3502
3604
|
project: project,
|
|
@@ -3521,7 +3623,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3521
3623
|
includeParent: includeParent
|
|
3522
3624
|
};
|
|
3523
3625
|
return [2 /*return*/, this.beginRequest({
|
|
3524
|
-
apiVersion: "7.
|
|
3626
|
+
apiVersion: "7.2-preview.1",
|
|
3525
3627
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3526
3628
|
routeValues: {
|
|
3527
3629
|
project: project,
|
|
@@ -3543,7 +3645,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3543
3645
|
return __awaiter(this, void 0, void 0, function () {
|
|
3544
3646
|
return __generator(this, function (_a) {
|
|
3545
3647
|
return [2 /*return*/, this.beginRequest({
|
|
3546
|
-
apiVersion: "7.
|
|
3648
|
+
apiVersion: "7.2-preview.1",
|
|
3547
3649
|
method: "PATCH",
|
|
3548
3650
|
routeTemplate: "{project}/_apis/git/Repositories/{repositoryId}",
|
|
3549
3651
|
routeValues: {
|
|
@@ -3567,7 +3669,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3567
3669
|
return __awaiter(this, void 0, void 0, function () {
|
|
3568
3670
|
return __generator(this, function (_a) {
|
|
3569
3671
|
return [2 /*return*/, this.beginRequest({
|
|
3570
|
-
apiVersion: "7.
|
|
3672
|
+
apiVersion: "7.2-preview.1",
|
|
3571
3673
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3572
3674
|
routeValues: {
|
|
3573
3675
|
project: project,
|
|
@@ -3604,7 +3706,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3604
3706
|
includeObsolete: includeObsolete
|
|
3605
3707
|
};
|
|
3606
3708
|
return [2 /*return*/, this.beginRequest({
|
|
3607
|
-
apiVersion: "7.
|
|
3709
|
+
apiVersion: "7.2-preview.1",
|
|
3608
3710
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3609
3711
|
routeValues: {
|
|
3610
3712
|
project: project,
|
|
@@ -3641,7 +3743,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3641
3743
|
return __awaiter(this, void 0, void 0, function () {
|
|
3642
3744
|
return __generator(this, function (_a) {
|
|
3643
3745
|
return [2 /*return*/, this.beginRequest({
|
|
3644
|
-
apiVersion: "7.
|
|
3746
|
+
apiVersion: "7.2-preview.1",
|
|
3645
3747
|
method: "PATCH",
|
|
3646
3748
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3647
3749
|
routeValues: {
|
|
@@ -3667,7 +3769,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3667
3769
|
return __awaiter(this, void 0, void 0, function () {
|
|
3668
3770
|
return __generator(this, function (_a) {
|
|
3669
3771
|
return [2 /*return*/, this.beginRequest({
|
|
3670
|
-
apiVersion: "7.
|
|
3772
|
+
apiVersion: "7.2-preview.1",
|
|
3671
3773
|
method: "PATCH",
|
|
3672
3774
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}/conflicts/{conflictId}",
|
|
3673
3775
|
routeValues: {
|
|
@@ -3691,7 +3793,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3691
3793
|
return __awaiter(this, void 0, void 0, function () {
|
|
3692
3794
|
return __generator(this, function (_a) {
|
|
3693
3795
|
return [2 /*return*/, this.beginRequest({
|
|
3694
|
-
apiVersion: "7.
|
|
3796
|
+
apiVersion: "7.2-preview.1",
|
|
3695
3797
|
method: "POST",
|
|
3696
3798
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}",
|
|
3697
3799
|
routeValues: {
|
|
@@ -3714,7 +3816,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3714
3816
|
return __awaiter(this, void 0, void 0, function () {
|
|
3715
3817
|
return __generator(this, function (_a) {
|
|
3716
3818
|
return [2 /*return*/, this.beginRequest({
|
|
3717
|
-
apiVersion: "7.
|
|
3819
|
+
apiVersion: "7.2-preview.1",
|
|
3718
3820
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}",
|
|
3719
3821
|
routeValues: {
|
|
3720
3822
|
project: project,
|
|
@@ -3740,7 +3842,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3740
3842
|
refName: refName
|
|
3741
3843
|
};
|
|
3742
3844
|
return [2 /*return*/, this.beginRequest({
|
|
3743
|
-
apiVersion: "7.
|
|
3845
|
+
apiVersion: "7.2-preview.1",
|
|
3744
3846
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/reverts/{revertId}",
|
|
3745
3847
|
routeValues: {
|
|
3746
3848
|
project: project,
|
|
@@ -3763,7 +3865,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3763
3865
|
return __awaiter(this, void 0, void 0, function () {
|
|
3764
3866
|
return __generator(this, function (_a) {
|
|
3765
3867
|
return [2 /*return*/, this.beginRequest({
|
|
3766
|
-
apiVersion: "7.
|
|
3868
|
+
apiVersion: "7.2-preview.1",
|
|
3767
3869
|
method: "POST",
|
|
3768
3870
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/Statuses",
|
|
3769
3871
|
routeValues: {
|
|
@@ -3796,7 +3898,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3796
3898
|
latestOnly: latestOnly
|
|
3797
3899
|
};
|
|
3798
3900
|
return [2 /*return*/, this.beginRequest({
|
|
3799
|
-
apiVersion: "7.
|
|
3901
|
+
apiVersion: "7.2-preview.1",
|
|
3800
3902
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/commits/{commitId}/Statuses",
|
|
3801
3903
|
routeValues: {
|
|
3802
3904
|
project: project,
|
|
@@ -3818,7 +3920,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3818
3920
|
return __awaiter(this, void 0, void 0, function () {
|
|
3819
3921
|
return __generator(this, function (_a) {
|
|
3820
3922
|
return [2 /*return*/, this.beginRequest({
|
|
3821
|
-
apiVersion: "7.
|
|
3923
|
+
apiVersion: "7.2-preview.1",
|
|
3822
3924
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/suggestions",
|
|
3823
3925
|
routeValues: {
|
|
3824
3926
|
project: project,
|
|
@@ -3848,7 +3950,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3848
3950
|
fileName: fileName
|
|
3849
3951
|
};
|
|
3850
3952
|
return [2 /*return*/, this.beginRequest({
|
|
3851
|
-
apiVersion: "7.
|
|
3953
|
+
apiVersion: "7.2-preview.1",
|
|
3852
3954
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Trees/{sha1}",
|
|
3853
3955
|
routeValues: {
|
|
3854
3956
|
project: project,
|
|
@@ -3880,7 +3982,7 @@ define(["require", "exports", "../Common/RestClientBase", "../Common/Util/Serial
|
|
|
3880
3982
|
fileName: fileName
|
|
3881
3983
|
};
|
|
3882
3984
|
return [2 /*return*/, this.beginRequest({
|
|
3883
|
-
apiVersion: "7.
|
|
3985
|
+
apiVersion: "7.2-preview.1",
|
|
3884
3986
|
httpResponseType: "application/zip",
|
|
3885
3987
|
routeTemplate: "{project}/_apis/git/repositories/{repositoryId}/Trees/{sha1}",
|
|
3886
3988
|
routeValues: {
|