UNPKG

78.5 kBJavaScriptView Raw
1/*
2 * ---------------------------------------------------------
3 * Copyright(C) Microsoft Corporation. All rights reserved.
4 * ---------------------------------------------------------
5 *
6 * ---------------------------------------------------------
7 * Generated file, DO NOT EDIT
8 * ---------------------------------------------------------
9 */
10"use strict";
11Object.defineProperty(exports, "__esModule", { value: true });
12exports.TypeInfo = exports.VersionControlRecursionType = exports.VersionControlChangeType = exports.TfvcVersionType = exports.TfvcVersionOption = exports.SupportedIdeType = exports.RefFavoriteType = exports.PullRequestTimeRangeType = exports.PullRequestStatus = exports.PullRequestMergeFailureType = exports.PullRequestAsyncStatus = exports.LineDiffBlockChangeType = exports.IterationReason = exports.ItemContentType = exports.GitVersionType = exports.GitVersionOptions = exports.GitStatusState = exports.GitResolutionWhichAction = exports.GitResolutionStatus = exports.GitResolutionRename1to2Action = exports.GitResolutionPathConflictAction = exports.GitResolutionMergeType = exports.GitResolutionError = exports.GitRefUpdateStatus = exports.GitRefUpdateMode = exports.GitRefSearchType = exports.GitPullRequestReviewFileType = exports.GitPullRequestQueryType = exports.GitPullRequestMergeStrategy = exports.GitPathActions = exports.GitObjectType = exports.GitHistoryMode = exports.GitConflictUpdateStatus = exports.GitConflictType = exports.GitAsyncRefOperationFailureStatus = exports.GitAsyncOperationStatus = exports.CommentType = exports.CommentThreadStatus = void 0;
13const PolicyInterfaces = require("../interfaces/PolicyInterfaces");
14const TfsCoreInterfaces = require("../interfaces/CoreInterfaces");
15/**
16 * The status of a comment thread.
17 */
18var CommentThreadStatus;
19(function (CommentThreadStatus) {
20 /**
21 * The thread status is unknown.
22 */
23 CommentThreadStatus[CommentThreadStatus["Unknown"] = 0] = "Unknown";
24 /**
25 * The thread status is active.
26 */
27 CommentThreadStatus[CommentThreadStatus["Active"] = 1] = "Active";
28 /**
29 * The thread status is resolved as fixed.
30 */
31 CommentThreadStatus[CommentThreadStatus["Fixed"] = 2] = "Fixed";
32 /**
33 * The thread status is resolved as won't fix.
34 */
35 CommentThreadStatus[CommentThreadStatus["WontFix"] = 3] = "WontFix";
36 /**
37 * The thread status is closed.
38 */
39 CommentThreadStatus[CommentThreadStatus["Closed"] = 4] = "Closed";
40 /**
41 * The thread status is resolved as by design.
42 */
43 CommentThreadStatus[CommentThreadStatus["ByDesign"] = 5] = "ByDesign";
44 /**
45 * The thread status is pending.
46 */
47 CommentThreadStatus[CommentThreadStatus["Pending"] = 6] = "Pending";
48})(CommentThreadStatus = exports.CommentThreadStatus || (exports.CommentThreadStatus = {}));
49/**
50 * The type of a comment.
51 */
52var CommentType;
53(function (CommentType) {
54 /**
55 * The comment type is not known.
56 */
57 CommentType[CommentType["Unknown"] = 0] = "Unknown";
58 /**
59 * This is a regular user comment.
60 */
61 CommentType[CommentType["Text"] = 1] = "Text";
62 /**
63 * The comment comes as a result of a code change.
64 */
65 CommentType[CommentType["CodeChange"] = 2] = "CodeChange";
66 /**
67 * The comment represents a system message.
68 */
69 CommentType[CommentType["System"] = 3] = "System";
70})(CommentType = exports.CommentType || (exports.CommentType = {}));
71/**
72 * Current status of the asynchronous operation.
73 */
74var GitAsyncOperationStatus;
75(function (GitAsyncOperationStatus) {
76 /**
77 * The operation is waiting in a queue and has not yet started.
78 */
79 GitAsyncOperationStatus[GitAsyncOperationStatus["Queued"] = 1] = "Queued";
80 /**
81 * The operation is currently in progress.
82 */
83 GitAsyncOperationStatus[GitAsyncOperationStatus["InProgress"] = 2] = "InProgress";
84 /**
85 * The operation has completed.
86 */
87 GitAsyncOperationStatus[GitAsyncOperationStatus["Completed"] = 3] = "Completed";
88 /**
89 * The operation has failed. Check for an error message.
90 */
91 GitAsyncOperationStatus[GitAsyncOperationStatus["Failed"] = 4] = "Failed";
92 /**
93 * The operation has been abandoned.
94 */
95 GitAsyncOperationStatus[GitAsyncOperationStatus["Abandoned"] = 5] = "Abandoned";
96})(GitAsyncOperationStatus = exports.GitAsyncOperationStatus || (exports.GitAsyncOperationStatus = {}));
97var GitAsyncRefOperationFailureStatus;
98(function (GitAsyncRefOperationFailureStatus) {
99 /**
100 * No status
101 */
102 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["None"] = 0] = "None";
103 /**
104 * Indicates that the ref update request could not be completed because the ref name presented in the request was not valid.
105 */
106 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["InvalidRefName"] = 1] = "InvalidRefName";
107 /**
108 * The ref update could not be completed because, in case-insensitive mode, the ref name conflicts with an existing, differently-cased ref name.
109 */
110 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["RefNameConflict"] = 2] = "RefNameConflict";
111 /**
112 * The ref update request could not be completed because the user lacks the permission to create a branch
113 */
114 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["CreateBranchPermissionRequired"] = 3] = "CreateBranchPermissionRequired";
115 /**
116 * The ref update request could not be completed because the user lacks write permissions required to write this ref
117 */
118 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["WritePermissionRequired"] = 4] = "WritePermissionRequired";
119 /**
120 * Target branch was deleted after Git async operation started
121 */
122 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["TargetBranchDeleted"] = 5] = "TargetBranchDeleted";
123 /**
124 * Git object is too large to materialize into memory
125 */
126 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["GitObjectTooLarge"] = 6] = "GitObjectTooLarge";
127 /**
128 * Identity who authorized the operation was not found
129 */
130 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["OperationIndentityNotFound"] = 7] = "OperationIndentityNotFound";
131 /**
132 * Async operation was not found
133 */
134 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["AsyncOperationNotFound"] = 8] = "AsyncOperationNotFound";
135 /**
136 * Unexpected failure
137 */
138 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["Other"] = 9] = "Other";
139 /**
140 * Initiator of async operation has signature with empty name or email
141 */
142 GitAsyncRefOperationFailureStatus[GitAsyncRefOperationFailureStatus["EmptyCommitterSignature"] = 10] = "EmptyCommitterSignature";
143})(GitAsyncRefOperationFailureStatus = exports.GitAsyncRefOperationFailureStatus || (exports.GitAsyncRefOperationFailureStatus = {}));
144/**
145 * The type of a merge conflict.
146 */
147var GitConflictType;
148(function (GitConflictType) {
149 /**
150 * No conflict
151 */
152 GitConflictType[GitConflictType["None"] = 0] = "None";
153 /**
154 * Added on source and target; content differs
155 */
156 GitConflictType[GitConflictType["AddAdd"] = 1] = "AddAdd";
157 /**
158 * Added on source and rename destination on target
159 */
160 GitConflictType[GitConflictType["AddRename"] = 2] = "AddRename";
161 /**
162 * Deleted on source and edited on target
163 */
164 GitConflictType[GitConflictType["DeleteEdit"] = 3] = "DeleteEdit";
165 /**
166 * Deleted on source and renamed on target
167 */
168 GitConflictType[GitConflictType["DeleteRename"] = 4] = "DeleteRename";
169 /**
170 * Path is a directory on source and a file on target
171 */
172 GitConflictType[GitConflictType["DirectoryFile"] = 5] = "DirectoryFile";
173 /**
174 * Children of directory which has DirectoryFile or FileDirectory conflict
175 */
176 GitConflictType[GitConflictType["DirectoryChild"] = 6] = "DirectoryChild";
177 /**
178 * Edited on source and deleted on target
179 */
180 GitConflictType[GitConflictType["EditDelete"] = 7] = "EditDelete";
181 /**
182 * Edited on source and target; content differs
183 */
184 GitConflictType[GitConflictType["EditEdit"] = 8] = "EditEdit";
185 /**
186 * Path is a file on source and a directory on target
187 */
188 GitConflictType[GitConflictType["FileDirectory"] = 9] = "FileDirectory";
189 /**
190 * Same file renamed on both source and target; destination paths differ
191 */
192 GitConflictType[GitConflictType["Rename1to2"] = 10] = "Rename1to2";
193 /**
194 * Different files renamed to same destination path on both source and target
195 */
196 GitConflictType[GitConflictType["Rename2to1"] = 11] = "Rename2to1";
197 /**
198 * Rename destination on source and new file on target
199 */
200 GitConflictType[GitConflictType["RenameAdd"] = 12] = "RenameAdd";
201 /**
202 * Renamed on source and deleted on target
203 */
204 GitConflictType[GitConflictType["RenameDelete"] = 13] = "RenameDelete";
205 /**
206 * Rename destination on both source and target; content differs
207 */
208 GitConflictType[GitConflictType["RenameRename"] = 14] = "RenameRename";
209})(GitConflictType = exports.GitConflictType || (exports.GitConflictType = {}));
210/**
211 * Represents the possible outcomes from a request to update a pull request conflict
212 */
213var GitConflictUpdateStatus;
214(function (GitConflictUpdateStatus) {
215 /**
216 * Indicates that pull request conflict update request was completed successfully
217 */
218 GitConflictUpdateStatus[GitConflictUpdateStatus["Succeeded"] = 0] = "Succeeded";
219 /**
220 * Indicates that the update request did not fit the expected data contract
221 */
222 GitConflictUpdateStatus[GitConflictUpdateStatus["BadRequest"] = 1] = "BadRequest";
223 /**
224 * Indicates that the requested resolution was not valid
225 */
226 GitConflictUpdateStatus[GitConflictUpdateStatus["InvalidResolution"] = 2] = "InvalidResolution";
227 /**
228 * Indicates that the conflict in the update request was not a supported conflict type
229 */
230 GitConflictUpdateStatus[GitConflictUpdateStatus["UnsupportedConflictType"] = 3] = "UnsupportedConflictType";
231 /**
232 * Indicates that the conflict could not be found
233 */
234 GitConflictUpdateStatus[GitConflictUpdateStatus["NotFound"] = 4] = "NotFound";
235})(GitConflictUpdateStatus = exports.GitConflictUpdateStatus || (exports.GitConflictUpdateStatus = {}));
236/**
237 * Accepted types of version
238 */
239var GitHistoryMode;
240(function (GitHistoryMode) {
241 /**
242 * The history mode used by `git log`. This is the default.
243 */
244 GitHistoryMode[GitHistoryMode["SimplifiedHistory"] = 0] = "SimplifiedHistory";
245 /**
246 * The history mode used by `git log --first-parent`
247 */
248 GitHistoryMode[GitHistoryMode["FirstParent"] = 1] = "FirstParent";
249 /**
250 * The history mode used by `git log --full-history`
251 */
252 GitHistoryMode[GitHistoryMode["FullHistory"] = 2] = "FullHistory";
253 /**
254 * The history mode used by `git log --full-history --simplify-merges`
255 */
256 GitHistoryMode[GitHistoryMode["FullHistorySimplifyMerges"] = 3] = "FullHistorySimplifyMerges";
257})(GitHistoryMode = exports.GitHistoryMode || (exports.GitHistoryMode = {}));
258var GitObjectType;
259(function (GitObjectType) {
260 GitObjectType[GitObjectType["Bad"] = 0] = "Bad";
261 GitObjectType[GitObjectType["Commit"] = 1] = "Commit";
262 GitObjectType[GitObjectType["Tree"] = 2] = "Tree";
263 GitObjectType[GitObjectType["Blob"] = 3] = "Blob";
264 GitObjectType[GitObjectType["Tag"] = 4] = "Tag";
265 GitObjectType[GitObjectType["Ext2"] = 5] = "Ext2";
266 GitObjectType[GitObjectType["OfsDelta"] = 6] = "OfsDelta";
267 GitObjectType[GitObjectType["RefDelta"] = 7] = "RefDelta";
268})(GitObjectType = exports.GitObjectType || (exports.GitObjectType = {}));
269var GitPathActions;
270(function (GitPathActions) {
271 GitPathActions[GitPathActions["None"] = 0] = "None";
272 GitPathActions[GitPathActions["Edit"] = 1] = "Edit";
273 GitPathActions[GitPathActions["Delete"] = 2] = "Delete";
274 GitPathActions[GitPathActions["Add"] = 3] = "Add";
275 GitPathActions[GitPathActions["Rename"] = 4] = "Rename";
276})(GitPathActions = exports.GitPathActions || (exports.GitPathActions = {}));
277/**
278 * Enumeration of possible merge strategies which can be used to complete a pull request.
279 */
280var GitPullRequestMergeStrategy;
281(function (GitPullRequestMergeStrategy) {
282 /**
283 * A two-parent, no-fast-forward merge. The source branch is unchanged. This is the default behavior.
284 */
285 GitPullRequestMergeStrategy[GitPullRequestMergeStrategy["NoFastForward"] = 1] = "NoFastForward";
286 /**
287 * Put all changes from the pull request into a single-parent commit.
288 */
289 GitPullRequestMergeStrategy[GitPullRequestMergeStrategy["Squash"] = 2] = "Squash";
290 /**
291 * Rebase the source branch on top of the target branch HEAD commit, and fast-forward the target branch. The source branch is updated during the rebase operation.
292 */
293 GitPullRequestMergeStrategy[GitPullRequestMergeStrategy["Rebase"] = 3] = "Rebase";
294 /**
295 * Rebase the source branch on top of the target branch HEAD commit, and create a two-parent, no-fast-forward merge. The source branch is updated during the rebase operation.
296 */
297 GitPullRequestMergeStrategy[GitPullRequestMergeStrategy["RebaseMerge"] = 4] = "RebaseMerge";
298})(GitPullRequestMergeStrategy = exports.GitPullRequestMergeStrategy || (exports.GitPullRequestMergeStrategy = {}));
299/**
300 * Accepted types of pull request queries.
301 */
302var GitPullRequestQueryType;
303(function (GitPullRequestQueryType) {
304 /**
305 * No query type set.
306 */
307 GitPullRequestQueryType[GitPullRequestQueryType["NotSet"] = 0] = "NotSet";
308 /**
309 * Search for pull requests that created the supplied merge commits.
310 */
311 GitPullRequestQueryType[GitPullRequestQueryType["LastMergeCommit"] = 1] = "LastMergeCommit";
312 /**
313 * Search for pull requests that merged the supplied commits.
314 */
315 GitPullRequestQueryType[GitPullRequestQueryType["Commit"] = 2] = "Commit";
316})(GitPullRequestQueryType = exports.GitPullRequestQueryType || (exports.GitPullRequestQueryType = {}));
317var GitPullRequestReviewFileType;
318(function (GitPullRequestReviewFileType) {
319 GitPullRequestReviewFileType[GitPullRequestReviewFileType["ChangeEntry"] = 0] = "ChangeEntry";
320 GitPullRequestReviewFileType[GitPullRequestReviewFileType["Attachment"] = 1] = "Attachment";
321})(GitPullRequestReviewFileType = exports.GitPullRequestReviewFileType || (exports.GitPullRequestReviewFileType = {}));
322/**
323 * Search type on ref name
324 */
325var GitRefSearchType;
326(function (GitRefSearchType) {
327 GitRefSearchType[GitRefSearchType["Exact"] = 0] = "Exact";
328 GitRefSearchType[GitRefSearchType["StartsWith"] = 1] = "StartsWith";
329 GitRefSearchType[GitRefSearchType["Contains"] = 2] = "Contains";
330})(GitRefSearchType = exports.GitRefSearchType || (exports.GitRefSearchType = {}));
331/**
332 * Enumerates the modes under which ref updates can be written to their repositories.
333 */
334var GitRefUpdateMode;
335(function (GitRefUpdateMode) {
336 /**
337 * Indicates the Git protocol model where any refs that can be updated will be updated, but any failures will not prevent other updates from succeeding.
338 */
339 GitRefUpdateMode[GitRefUpdateMode["BestEffort"] = 0] = "BestEffort";
340 /**
341 * Indicates that all ref updates must succeed or none will succeed. All ref updates will be atomically written. If any failure is encountered, previously successful updates will be rolled back and the entire operation will fail.
342 */
343 GitRefUpdateMode[GitRefUpdateMode["AllOrNone"] = 1] = "AllOrNone";
344})(GitRefUpdateMode = exports.GitRefUpdateMode || (exports.GitRefUpdateMode = {}));
345/**
346 * Represents the possible outcomes from a request to update a ref in a repository.
347 */
348var GitRefUpdateStatus;
349(function (GitRefUpdateStatus) {
350 /**
351 * Indicates that the ref update request was completed successfully.
352 */
353 GitRefUpdateStatus[GitRefUpdateStatus["Succeeded"] = 0] = "Succeeded";
354 /**
355 * Indicates that the ref update request could not be completed because part of the graph would be disconnected by this change, and the caller does not have ForcePush permission on the repository.
356 */
357 GitRefUpdateStatus[GitRefUpdateStatus["ForcePushRequired"] = 1] = "ForcePushRequired";
358 /**
359 * Indicates that the ref update request could not be completed because the old object ID presented in the request was not the object ID of the ref when the database attempted the update. The most likely scenario is that the caller lost a race to update the ref.
360 */
361 GitRefUpdateStatus[GitRefUpdateStatus["StaleOldObjectId"] = 2] = "StaleOldObjectId";
362 /**
363 * Indicates that the ref update request could not be completed because the ref name presented in the request was not valid.
364 */
365 GitRefUpdateStatus[GitRefUpdateStatus["InvalidRefName"] = 3] = "InvalidRefName";
366 /**
367 * The request was not processed
368 */
369 GitRefUpdateStatus[GitRefUpdateStatus["Unprocessed"] = 4] = "Unprocessed";
370 /**
371 * The ref update request could not be completed because the new object ID for the ref could not be resolved to a commit object (potentially through any number of tags)
372 */
373 GitRefUpdateStatus[GitRefUpdateStatus["UnresolvableToCommit"] = 5] = "UnresolvableToCommit";
374 /**
375 * The ref update request could not be completed because the user lacks write permissions required to write this ref
376 */
377 GitRefUpdateStatus[GitRefUpdateStatus["WritePermissionRequired"] = 6] = "WritePermissionRequired";
378 /**
379 * The ref update request could not be completed because the user lacks note creation permissions required to write this note
380 */
381 GitRefUpdateStatus[GitRefUpdateStatus["ManageNotePermissionRequired"] = 7] = "ManageNotePermissionRequired";
382 /**
383 * The ref update request could not be completed because the user lacks the permission to create a branch
384 */
385 GitRefUpdateStatus[GitRefUpdateStatus["CreateBranchPermissionRequired"] = 8] = "CreateBranchPermissionRequired";
386 /**
387 * The ref update request could not be completed because the user lacks the permission to create a tag
388 */
389 GitRefUpdateStatus[GitRefUpdateStatus["CreateTagPermissionRequired"] = 9] = "CreateTagPermissionRequired";
390 /**
391 * The ref update could not be completed because it was rejected by the plugin.
392 */
393 GitRefUpdateStatus[GitRefUpdateStatus["RejectedByPlugin"] = 10] = "RejectedByPlugin";
394 /**
395 * The ref update could not be completed because the ref is locked by another user.
396 */
397 GitRefUpdateStatus[GitRefUpdateStatus["Locked"] = 11] = "Locked";
398 /**
399 * The ref update could not be completed because, in case-insensitive mode, the ref name conflicts with an existing, differently-cased ref name.
400 */
401 GitRefUpdateStatus[GitRefUpdateStatus["RefNameConflict"] = 12] = "RefNameConflict";
402 /**
403 * The ref update could not be completed because it was rejected by policy.
404 */
405 GitRefUpdateStatus[GitRefUpdateStatus["RejectedByPolicy"] = 13] = "RejectedByPolicy";
406 /**
407 * Indicates that the ref update request was completed successfully, but the ref doesn't actually exist so no changes were made. This should only happen during deletes.
408 */
409 GitRefUpdateStatus[GitRefUpdateStatus["SucceededNonExistentRef"] = 14] = "SucceededNonExistentRef";
410 /**
411 * Indicates that the ref update request was completed successfully, but the passed-in ref was corrupt - as in, the old object ID was bad. This should only happen during deletes.
412 */
413 GitRefUpdateStatus[GitRefUpdateStatus["SucceededCorruptRef"] = 15] = "SucceededCorruptRef";
414})(GitRefUpdateStatus = exports.GitRefUpdateStatus || (exports.GitRefUpdateStatus = {}));
415/**
416 * The type of a merge conflict.
417 */
418var GitResolutionError;
419(function (GitResolutionError) {
420 /**
421 * No error
422 */
423 GitResolutionError[GitResolutionError["None"] = 0] = "None";
424 /**
425 * User set a blob id for resolving a content merge, but blob was not found in repo during application
426 */
427 GitResolutionError[GitResolutionError["MergeContentNotFound"] = 1] = "MergeContentNotFound";
428 /**
429 * Attempted to resolve a conflict by moving a file to another path, but path was already in use
430 */
431 GitResolutionError[GitResolutionError["PathInUse"] = 2] = "PathInUse";
432 /**
433 * No error
434 */
435 GitResolutionError[GitResolutionError["InvalidPath"] = 3] = "InvalidPath";
436 /**
437 * GitResolutionAction was set to an unrecognized value
438 */
439 GitResolutionError[GitResolutionError["UnknownAction"] = 4] = "UnknownAction";
440 /**
441 * GitResolutionMergeType was set to an unrecognized value
442 */
443 GitResolutionError[GitResolutionError["UnknownMergeType"] = 5] = "UnknownMergeType";
444 /**
445 * Any error for which a more specific code doesn't apply
446 */
447 GitResolutionError[GitResolutionError["OtherError"] = 255] = "OtherError";
448})(GitResolutionError = exports.GitResolutionError || (exports.GitResolutionError = {}));
449var GitResolutionMergeType;
450(function (GitResolutionMergeType) {
451 GitResolutionMergeType[GitResolutionMergeType["Undecided"] = 0] = "Undecided";
452 GitResolutionMergeType[GitResolutionMergeType["TakeSourceContent"] = 1] = "TakeSourceContent";
453 GitResolutionMergeType[GitResolutionMergeType["TakeTargetContent"] = 2] = "TakeTargetContent";
454 GitResolutionMergeType[GitResolutionMergeType["AutoMerged"] = 3] = "AutoMerged";
455 GitResolutionMergeType[GitResolutionMergeType["UserMerged"] = 4] = "UserMerged";
456})(GitResolutionMergeType = exports.GitResolutionMergeType || (exports.GitResolutionMergeType = {}));
457var GitResolutionPathConflictAction;
458(function (GitResolutionPathConflictAction) {
459 GitResolutionPathConflictAction[GitResolutionPathConflictAction["Undecided"] = 0] = "Undecided";
460 GitResolutionPathConflictAction[GitResolutionPathConflictAction["KeepSourceRenameTarget"] = 1] = "KeepSourceRenameTarget";
461 GitResolutionPathConflictAction[GitResolutionPathConflictAction["KeepSourceDeleteTarget"] = 2] = "KeepSourceDeleteTarget";
462 GitResolutionPathConflictAction[GitResolutionPathConflictAction["KeepTargetRenameSource"] = 3] = "KeepTargetRenameSource";
463 GitResolutionPathConflictAction[GitResolutionPathConflictAction["KeepTargetDeleteSource"] = 4] = "KeepTargetDeleteSource";
464})(GitResolutionPathConflictAction = exports.GitResolutionPathConflictAction || (exports.GitResolutionPathConflictAction = {}));
465var GitResolutionRename1to2Action;
466(function (GitResolutionRename1to2Action) {
467 GitResolutionRename1to2Action[GitResolutionRename1to2Action["Undecided"] = 0] = "Undecided";
468 GitResolutionRename1to2Action[GitResolutionRename1to2Action["KeepSourcePath"] = 1] = "KeepSourcePath";
469 GitResolutionRename1to2Action[GitResolutionRename1to2Action["KeepTargetPath"] = 2] = "KeepTargetPath";
470 GitResolutionRename1to2Action[GitResolutionRename1to2Action["KeepBothFiles"] = 3] = "KeepBothFiles";
471})(GitResolutionRename1to2Action = exports.GitResolutionRename1to2Action || (exports.GitResolutionRename1to2Action = {}));
472/**
473 * Resolution status of a conflict.
474 */
475var GitResolutionStatus;
476(function (GitResolutionStatus) {
477 GitResolutionStatus[GitResolutionStatus["Unresolved"] = 0] = "Unresolved";
478 GitResolutionStatus[GitResolutionStatus["PartiallyResolved"] = 1] = "PartiallyResolved";
479 GitResolutionStatus[GitResolutionStatus["Resolved"] = 2] = "Resolved";
480})(GitResolutionStatus = exports.GitResolutionStatus || (exports.GitResolutionStatus = {}));
481var GitResolutionWhichAction;
482(function (GitResolutionWhichAction) {
483 GitResolutionWhichAction[GitResolutionWhichAction["Undecided"] = 0] = "Undecided";
484 GitResolutionWhichAction[GitResolutionWhichAction["PickSourceAction"] = 1] = "PickSourceAction";
485 GitResolutionWhichAction[GitResolutionWhichAction["PickTargetAction"] = 2] = "PickTargetAction";
486})(GitResolutionWhichAction = exports.GitResolutionWhichAction || (exports.GitResolutionWhichAction = {}));
487/**
488 * State of the status.
489 */
490var GitStatusState;
491(function (GitStatusState) {
492 /**
493 * Status state not set. Default state.
494 */
495 GitStatusState[GitStatusState["NotSet"] = 0] = "NotSet";
496 /**
497 * Status pending.
498 */
499 GitStatusState[GitStatusState["Pending"] = 1] = "Pending";
500 /**
501 * Status succeeded.
502 */
503 GitStatusState[GitStatusState["Succeeded"] = 2] = "Succeeded";
504 /**
505 * Status failed.
506 */
507 GitStatusState[GitStatusState["Failed"] = 3] = "Failed";
508 /**
509 * Status with an error.
510 */
511 GitStatusState[GitStatusState["Error"] = 4] = "Error";
512 /**
513 * Status is not applicable to the target object.
514 */
515 GitStatusState[GitStatusState["NotApplicable"] = 5] = "NotApplicable";
516 /**
517 * Status Partially Succeeded, build finished with warnings.
518 */
519 GitStatusState[GitStatusState["PartiallySucceeded"] = 6] = "PartiallySucceeded";
520})(GitStatusState = exports.GitStatusState || (exports.GitStatusState = {}));
521/**
522 * Accepted types of version options
523 */
524var GitVersionOptions;
525(function (GitVersionOptions) {
526 /**
527 * Not specified
528 */
529 GitVersionOptions[GitVersionOptions["None"] = 0] = "None";
530 /**
531 * Commit that changed item prior to the current version
532 */
533 GitVersionOptions[GitVersionOptions["PreviousChange"] = 1] = "PreviousChange";
534 /**
535 * First parent of commit (HEAD^)
536 */
537 GitVersionOptions[GitVersionOptions["FirstParent"] = 2] = "FirstParent";
538})(GitVersionOptions = exports.GitVersionOptions || (exports.GitVersionOptions = {}));
539/**
540 * Accepted types of version
541 */
542var GitVersionType;
543(function (GitVersionType) {
544 /**
545 * Interpret the version as a branch name
546 */
547 GitVersionType[GitVersionType["Branch"] = 0] = "Branch";
548 /**
549 * Interpret the version as a tag name
550 */
551 GitVersionType[GitVersionType["Tag"] = 1] = "Tag";
552 /**
553 * Interpret the version as a commit ID (SHA1)
554 */
555 GitVersionType[GitVersionType["Commit"] = 2] = "Commit";
556})(GitVersionType = exports.GitVersionType || (exports.GitVersionType = {}));
557var ItemContentType;
558(function (ItemContentType) {
559 ItemContentType[ItemContentType["RawText"] = 0] = "RawText";
560 ItemContentType[ItemContentType["Base64Encoded"] = 1] = "Base64Encoded";
561})(ItemContentType = exports.ItemContentType || (exports.ItemContentType = {}));
562/**
563 * The reason for which the pull request iteration was created.
564 */
565var IterationReason;
566(function (IterationReason) {
567 IterationReason[IterationReason["Push"] = 0] = "Push";
568 IterationReason[IterationReason["ForcePush"] = 1] = "ForcePush";
569 IterationReason[IterationReason["Create"] = 2] = "Create";
570 IterationReason[IterationReason["Rebase"] = 4] = "Rebase";
571 IterationReason[IterationReason["Unknown"] = 8] = "Unknown";
572 IterationReason[IterationReason["Retarget"] = 16] = "Retarget";
573 IterationReason[IterationReason["ResolveConflicts"] = 32] = "ResolveConflicts";
574})(IterationReason = exports.IterationReason || (exports.IterationReason = {}));
575/**
576 * Type of change for a line diff block
577 */
578var LineDiffBlockChangeType;
579(function (LineDiffBlockChangeType) {
580 /**
581 * No change - both the blocks are identical
582 */
583 LineDiffBlockChangeType[LineDiffBlockChangeType["None"] = 0] = "None";
584 /**
585 * Lines were added to the block in the modified file
586 */
587 LineDiffBlockChangeType[LineDiffBlockChangeType["Add"] = 1] = "Add";
588 /**
589 * Lines were deleted from the block in the original file
590 */
591 LineDiffBlockChangeType[LineDiffBlockChangeType["Delete"] = 2] = "Delete";
592 /**
593 * Lines were modified
594 */
595 LineDiffBlockChangeType[LineDiffBlockChangeType["Edit"] = 3] = "Edit";
596})(LineDiffBlockChangeType = exports.LineDiffBlockChangeType || (exports.LineDiffBlockChangeType = {}));
597/**
598 * The status of a pull request merge.
599 */
600var PullRequestAsyncStatus;
601(function (PullRequestAsyncStatus) {
602 /**
603 * Status is not set. Default state.
604 */
605 PullRequestAsyncStatus[PullRequestAsyncStatus["NotSet"] = 0] = "NotSet";
606 /**
607 * Pull request merge is queued.
608 */
609 PullRequestAsyncStatus[PullRequestAsyncStatus["Queued"] = 1] = "Queued";
610 /**
611 * Pull request merge failed due to conflicts.
612 */
613 PullRequestAsyncStatus[PullRequestAsyncStatus["Conflicts"] = 2] = "Conflicts";
614 /**
615 * Pull request merge succeeded.
616 */
617 PullRequestAsyncStatus[PullRequestAsyncStatus["Succeeded"] = 3] = "Succeeded";
618 /**
619 * Pull request merge rejected by policy.
620 */
621 PullRequestAsyncStatus[PullRequestAsyncStatus["RejectedByPolicy"] = 4] = "RejectedByPolicy";
622 /**
623 * Pull request merge failed.
624 */
625 PullRequestAsyncStatus[PullRequestAsyncStatus["Failure"] = 5] = "Failure";
626})(PullRequestAsyncStatus = exports.PullRequestAsyncStatus || (exports.PullRequestAsyncStatus = {}));
627/**
628 * The specific type of a pull request merge failure.
629 */
630var PullRequestMergeFailureType;
631(function (PullRequestMergeFailureType) {
632 /**
633 * Type is not set. Default type.
634 */
635 PullRequestMergeFailureType[PullRequestMergeFailureType["None"] = 0] = "None";
636 /**
637 * Pull request merge failure type unknown.
638 */
639 PullRequestMergeFailureType[PullRequestMergeFailureType["Unknown"] = 1] = "Unknown";
640 /**
641 * Pull request merge failed due to case mismatch.
642 */
643 PullRequestMergeFailureType[PullRequestMergeFailureType["CaseSensitive"] = 2] = "CaseSensitive";
644 /**
645 * Pull request merge failed due to an object being too large.
646 */
647 PullRequestMergeFailureType[PullRequestMergeFailureType["ObjectTooLarge"] = 3] = "ObjectTooLarge";
648})(PullRequestMergeFailureType = exports.PullRequestMergeFailureType || (exports.PullRequestMergeFailureType = {}));
649/**
650 * Status of a pull request.
651 */
652var PullRequestStatus;
653(function (PullRequestStatus) {
654 /**
655 * Status not set. Default state.
656 */
657 PullRequestStatus[PullRequestStatus["NotSet"] = 0] = "NotSet";
658 /**
659 * Pull request is active.
660 */
661 PullRequestStatus[PullRequestStatus["Active"] = 1] = "Active";
662 /**
663 * Pull request is abandoned.
664 */
665 PullRequestStatus[PullRequestStatus["Abandoned"] = 2] = "Abandoned";
666 /**
667 * Pull request is completed.
668 */
669 PullRequestStatus[PullRequestStatus["Completed"] = 3] = "Completed";
670 /**
671 * Used in pull request search criteria to include all statuses.
672 */
673 PullRequestStatus[PullRequestStatus["All"] = 4] = "All";
674})(PullRequestStatus = exports.PullRequestStatus || (exports.PullRequestStatus = {}));
675/**
676 * Specifies the desired type of time range for pull requests queries.
677 */
678var PullRequestTimeRangeType;
679(function (PullRequestTimeRangeType) {
680 /**
681 * The date when the pull request was created.
682 */
683 PullRequestTimeRangeType[PullRequestTimeRangeType["Created"] = 1] = "Created";
684 /**
685 * The date when the pull request was closed (completed, abandoned, or merged externally).
686 */
687 PullRequestTimeRangeType[PullRequestTimeRangeType["Closed"] = 2] = "Closed";
688})(PullRequestTimeRangeType = exports.PullRequestTimeRangeType || (exports.PullRequestTimeRangeType = {}));
689var RefFavoriteType;
690(function (RefFavoriteType) {
691 RefFavoriteType[RefFavoriteType["Invalid"] = 0] = "Invalid";
692 RefFavoriteType[RefFavoriteType["Folder"] = 1] = "Folder";
693 RefFavoriteType[RefFavoriteType["Ref"] = 2] = "Ref";
694})(RefFavoriteType = exports.RefFavoriteType || (exports.RefFavoriteType = {}));
695/**
696 * Enumeration that represents the types of IDEs supported.
697 */
698var SupportedIdeType;
699(function (SupportedIdeType) {
700 SupportedIdeType[SupportedIdeType["Unknown"] = 0] = "Unknown";
701 SupportedIdeType[SupportedIdeType["AndroidStudio"] = 1] = "AndroidStudio";
702 SupportedIdeType[SupportedIdeType["AppCode"] = 2] = "AppCode";
703 SupportedIdeType[SupportedIdeType["CLion"] = 3] = "CLion";
704 SupportedIdeType[SupportedIdeType["DataGrip"] = 4] = "DataGrip";
705 SupportedIdeType[SupportedIdeType["Eclipse"] = 13] = "Eclipse";
706 SupportedIdeType[SupportedIdeType["IntelliJ"] = 5] = "IntelliJ";
707 SupportedIdeType[SupportedIdeType["MPS"] = 6] = "MPS";
708 SupportedIdeType[SupportedIdeType["PhpStorm"] = 7] = "PhpStorm";
709 SupportedIdeType[SupportedIdeType["PyCharm"] = 8] = "PyCharm";
710 SupportedIdeType[SupportedIdeType["RubyMine"] = 9] = "RubyMine";
711 SupportedIdeType[SupportedIdeType["Tower"] = 10] = "Tower";
712 SupportedIdeType[SupportedIdeType["VisualStudio"] = 11] = "VisualStudio";
713 SupportedIdeType[SupportedIdeType["VSCode"] = 14] = "VSCode";
714 SupportedIdeType[SupportedIdeType["WebStorm"] = 12] = "WebStorm";
715})(SupportedIdeType = exports.SupportedIdeType || (exports.SupportedIdeType = {}));
716/**
717 * Options for Version handling.
718 */
719var TfvcVersionOption;
720(function (TfvcVersionOption) {
721 /**
722 * None.
723 */
724 TfvcVersionOption[TfvcVersionOption["None"] = 0] = "None";
725 /**
726 * Return the previous version.
727 */
728 TfvcVersionOption[TfvcVersionOption["Previous"] = 1] = "Previous";
729 /**
730 * Only usuable with versiontype MergeSource and integer versions, uses RenameSource identifier instead of Merge identifier.
731 */
732 TfvcVersionOption[TfvcVersionOption["UseRename"] = 2] = "UseRename";
733})(TfvcVersionOption = exports.TfvcVersionOption || (exports.TfvcVersionOption = {}));
734/**
735 * Type of Version object
736 */
737var TfvcVersionType;
738(function (TfvcVersionType) {
739 /**
740 * Version is treated as a ChangesetId.
741 */
742 TfvcVersionType[TfvcVersionType["None"] = 0] = "None";
743 /**
744 * Version is treated as a ChangesetId.
745 */
746 TfvcVersionType[TfvcVersionType["Changeset"] = 1] = "Changeset";
747 /**
748 * Version is treated as a Shelveset name and owner.
749 */
750 TfvcVersionType[TfvcVersionType["Shelveset"] = 2] = "Shelveset";
751 /**
752 * Version is treated as a Change.
753 */
754 TfvcVersionType[TfvcVersionType["Change"] = 3] = "Change";
755 /**
756 * Version is treated as a Date.
757 */
758 TfvcVersionType[TfvcVersionType["Date"] = 4] = "Date";
759 /**
760 * If Version is defined the Latest of that Version will be used, if no version is defined the latest ChangesetId will be used.
761 */
762 TfvcVersionType[TfvcVersionType["Latest"] = 5] = "Latest";
763 /**
764 * Version will be treated as a Tip, if no version is defined latest will be used.
765 */
766 TfvcVersionType[TfvcVersionType["Tip"] = 6] = "Tip";
767 /**
768 * Version will be treated as a MergeSource.
769 */
770 TfvcVersionType[TfvcVersionType["MergeSource"] = 7] = "MergeSource";
771})(TfvcVersionType = exports.TfvcVersionType || (exports.TfvcVersionType = {}));
772var VersionControlChangeType;
773(function (VersionControlChangeType) {
774 VersionControlChangeType[VersionControlChangeType["None"] = 0] = "None";
775 VersionControlChangeType[VersionControlChangeType["Add"] = 1] = "Add";
776 VersionControlChangeType[VersionControlChangeType["Edit"] = 2] = "Edit";
777 VersionControlChangeType[VersionControlChangeType["Encoding"] = 4] = "Encoding";
778 VersionControlChangeType[VersionControlChangeType["Rename"] = 8] = "Rename";
779 VersionControlChangeType[VersionControlChangeType["Delete"] = 16] = "Delete";
780 VersionControlChangeType[VersionControlChangeType["Undelete"] = 32] = "Undelete";
781 VersionControlChangeType[VersionControlChangeType["Branch"] = 64] = "Branch";
782 VersionControlChangeType[VersionControlChangeType["Merge"] = 128] = "Merge";
783 VersionControlChangeType[VersionControlChangeType["Lock"] = 256] = "Lock";
784 VersionControlChangeType[VersionControlChangeType["Rollback"] = 512] = "Rollback";
785 VersionControlChangeType[VersionControlChangeType["SourceRename"] = 1024] = "SourceRename";
786 VersionControlChangeType[VersionControlChangeType["TargetRename"] = 2048] = "TargetRename";
787 VersionControlChangeType[VersionControlChangeType["Property"] = 4096] = "Property";
788 VersionControlChangeType[VersionControlChangeType["All"] = 8191] = "All";
789})(VersionControlChangeType = exports.VersionControlChangeType || (exports.VersionControlChangeType = {}));
790var VersionControlRecursionType;
791(function (VersionControlRecursionType) {
792 /**
793 * Only return the specified item.
794 */
795 VersionControlRecursionType[VersionControlRecursionType["None"] = 0] = "None";
796 /**
797 * Return the specified item and its direct children.
798 */
799 VersionControlRecursionType[VersionControlRecursionType["OneLevel"] = 1] = "OneLevel";
800 /**
801 * Return the specified item and its direct children, as well as recursive chains of nested child folders that only contain a single folder.
802 */
803 VersionControlRecursionType[VersionControlRecursionType["OneLevelPlusNestedEmptyFolders"] = 4] = "OneLevelPlusNestedEmptyFolders";
804 /**
805 * Return specified item and all descendants
806 */
807 VersionControlRecursionType[VersionControlRecursionType["Full"] = 120] = "Full";
808})(VersionControlRecursionType = exports.VersionControlRecursionType || (exports.VersionControlRecursionType = {}));
809exports.TypeInfo = {
810 AdvSecEnablementStatus: {},
811 Attachment: {},
812 BillableCommitterDetail: {},
813 Change: {},
814 ChangeList: {},
815 Comment: {},
816 CommentThread: {},
817 CommentThreadStatus: {
818 enumValues: {
819 "unknown": 0,
820 "active": 1,
821 "fixed": 2,
822 "wontFix": 3,
823 "closed": 4,
824 "byDesign": 5,
825 "pending": 6
826 }
827 },
828 CommentType: {
829 enumValues: {
830 "unknown": 0,
831 "text": 1,
832 "codeChange": 2,
833 "system": 3
834 }
835 },
836 FileDiff: {},
837 GitAnnotatedTag: {},
838 GitAsyncOperationStatus: {
839 enumValues: {
840 "queued": 1,
841 "inProgress": 2,
842 "completed": 3,
843 "failed": 4,
844 "abandoned": 5
845 }
846 },
847 GitAsyncRefOperation: {},
848 GitAsyncRefOperationDetail: {},
849 GitAsyncRefOperationFailureStatus: {
850 enumValues: {
851 "none": 0,
852 "invalidRefName": 1,
853 "refNameConflict": 2,
854 "createBranchPermissionRequired": 3,
855 "writePermissionRequired": 4,
856 "targetBranchDeleted": 5,
857 "gitObjectTooLarge": 6,
858 "operationIndentityNotFound": 7,
859 "asyncOperationNotFound": 8,
860 "other": 9,
861 "emptyCommitterSignature": 10
862 }
863 },
864 GitAsyncRefOperationParameters: {},
865 GitAsyncRefOperationSource: {},
866 GitBaseVersionDescriptor: {},
867 GitBranchStats: {},
868 GitChange: {},
869 GitCherryPick: {},
870 GitCommit: {},
871 GitCommitChanges: {},
872 GitCommitDiffs: {},
873 GitCommitRef: {},
874 GitCommitToCreate: {},
875 GitConflict: {},
876 GitConflictAddAdd: {},
877 GitConflictAddRename: {},
878 GitConflictDeleteEdit: {},
879 GitConflictDeleteRename: {},
880 GitConflictDirectoryFile: {},
881 GitConflictEditDelete: {},
882 GitConflictEditEdit: {},
883 GitConflictFileDirectory: {},
884 GitConflictRename1to2: {},
885 GitConflictRename2to1: {},
886 GitConflictRenameAdd: {},
887 GitConflictRenameDelete: {},
888 GitConflictRenameRename: {},
889 GitConflictType: {
890 enumValues: {
891 "none": 0,
892 "addAdd": 1,
893 "addRename": 2,
894 "deleteEdit": 3,
895 "deleteRename": 4,
896 "directoryFile": 5,
897 "directoryChild": 6,
898 "editDelete": 7,
899 "editEdit": 8,
900 "fileDirectory": 9,
901 "rename1to2": 10,
902 "rename2to1": 11,
903 "renameAdd": 12,
904 "renameDelete": 13,
905 "renameRename": 14
906 }
907 },
908 GitConflictUpdateResult: {},
909 GitConflictUpdateStatus: {
910 enumValues: {
911 "succeeded": 0,
912 "badRequest": 1,
913 "invalidResolution": 2,
914 "unsupportedConflictType": 3,
915 "notFound": 4
916 }
917 },
918 GitDeletedRepository: {},
919 GitForkRef: {},
920 GitForkSyncRequest: {},
921 GitForkTeamProjectReference: {},
922 GitHistoryMode: {
923 enumValues: {
924 "simplifiedHistory": 0,
925 "firstParent": 1,
926 "fullHistory": 2,
927 "fullHistorySimplifyMerges": 3
928 }
929 },
930 GitImportFailedEvent: {},
931 GitImportRequest: {},
932 GitImportSucceededEvent: {},
933 GitItem: {},
934 GitItemDescriptor: {},
935 GitItemRequestData: {},
936 GitLastChangeTreeItems: {},
937 GitMerge: {},
938 GitObject: {},
939 GitObjectType: {
940 enumValues: {
941 "bad": 0,
942 "commit": 1,
943 "tree": 2,
944 "blob": 3,
945 "tag": 4,
946 "ext2": 5,
947 "ofsDelta": 6,
948 "refDelta": 7
949 }
950 },
951 GitPathAction: {},
952 GitPathActions: {
953 enumValues: {
954 "none": 0,
955 "edit": 1,
956 "delete": 2,
957 "add": 3,
958 "rename": 4
959 }
960 },
961 GitPathToItemsCollection: {},
962 GitPolicyConfigurationResponse: {},
963 GitPullRequest: {},
964 GitPullRequestChange: {},
965 GitPullRequestCommentThread: {},
966 GitPullRequestCompletionOptions: {},
967 GitPullRequestIteration: {},
968 GitPullRequestIterationChanges: {},
969 GitPullRequestMergeStrategy: {
970 enumValues: {
971 "noFastForward": 1,
972 "squash": 2,
973 "rebase": 3,
974 "rebaseMerge": 4
975 }
976 },
977 GitPullRequestQuery: {},
978 GitPullRequestQueryInput: {},
979 GitPullRequestQueryType: {
980 enumValues: {
981 "notSet": 0,
982 "lastMergeCommit": 1,
983 "commit": 2
984 }
985 },
986 GitPullRequestReviewFileType: {
987 enumValues: {
988 "changeEntry": 0,
989 "attachment": 1
990 }
991 },
992 GitPullRequestSearchCriteria: {},
993 GitPullRequestStatus: {},
994 GitPush: {},
995 GitPushEventData: {},
996 GitPushRef: {},
997 GitPushSearchCriteria: {},
998 GitQueryBranchStatsCriteria: {},
999 GitQueryCommitsCriteria: {},
1000 GitQueryRefsCriteria: {},
1001 GitRef: {},
1002 GitRefFavorite: {},
1003 GitRefSearchType: {
1004 enumValues: {
1005 "exact": 0,
1006 "startsWith": 1,
1007 "contains": 2
1008 }
1009 },
1010 GitRefUpdateMode: {
1011 enumValues: {
1012 "bestEffort": 0,
1013 "allOrNone": 1
1014 }
1015 },
1016 GitRefUpdateResult: {},
1017 GitRefUpdateStatus: {
1018 enumValues: {
1019 "succeeded": 0,
1020 "forcePushRequired": 1,
1021 "staleOldObjectId": 2,
1022 "invalidRefName": 3,
1023 "unprocessed": 4,
1024 "unresolvableToCommit": 5,
1025 "writePermissionRequired": 6,
1026 "manageNotePermissionRequired": 7,
1027 "createBranchPermissionRequired": 8,
1028 "createTagPermissionRequired": 9,
1029 "rejectedByPlugin": 10,
1030 "locked": 11,
1031 "refNameConflict": 12,
1032 "rejectedByPolicy": 13,
1033 "succeededNonExistentRef": 14,
1034 "succeededCorruptRef": 15
1035 }
1036 },
1037 GitRepository: {},
1038 GitRepositoryCreateOptions: {},
1039 GitRepositoryRef: {},
1040 GitResolutionError: {
1041 enumValues: {
1042 "none": 0,
1043 "mergeContentNotFound": 1,
1044 "pathInUse": 2,
1045 "invalidPath": 3,
1046 "unknownAction": 4,
1047 "unknownMergeType": 5,
1048 "otherError": 255
1049 }
1050 },
1051 GitResolutionMergeContent: {},
1052 GitResolutionMergeType: {
1053 enumValues: {
1054 "undecided": 0,
1055 "takeSourceContent": 1,
1056 "takeTargetContent": 2,
1057 "autoMerged": 3,
1058 "userMerged": 4
1059 }
1060 },
1061 GitResolutionPathConflict: {},
1062 GitResolutionPathConflictAction: {
1063 enumValues: {
1064 "undecided": 0,
1065 "keepSourceRenameTarget": 1,
1066 "keepSourceDeleteTarget": 2,
1067 "keepTargetRenameSource": 3,
1068 "keepTargetDeleteSource": 4
1069 }
1070 },
1071 GitResolutionPickOneAction: {},
1072 GitResolutionRename1to2: {},
1073 GitResolutionRename1to2Action: {
1074 enumValues: {
1075 "undecided": 0,
1076 "keepSourcePath": 1,
1077 "keepTargetPath": 2,
1078 "keepBothFiles": 3
1079 }
1080 },
1081 GitResolutionStatus: {
1082 enumValues: {
1083 "unresolved": 0,
1084 "partiallyResolved": 1,
1085 "resolved": 2
1086 }
1087 },
1088 GitResolutionWhichAction: {
1089 enumValues: {
1090 "undecided": 0,
1091 "pickSourceAction": 1,
1092 "pickTargetAction": 2
1093 }
1094 },
1095 GitRevert: {},
1096 GitStatus: {},
1097 GitStatusState: {
1098 enumValues: {
1099 "notSet": 0,
1100 "pending": 1,
1101 "succeeded": 2,
1102 "failed": 3,
1103 "error": 4,
1104 "notApplicable": 5,
1105 "partiallySucceeded": 6
1106 }
1107 },
1108 GitTargetVersionDescriptor: {},
1109 GitTreeDiff: {},
1110 GitTreeDiffEntry: {},
1111 GitTreeDiffResponse: {},
1112 GitTreeEntryRef: {},
1113 GitTreeRef: {},
1114 GitUserDate: {},
1115 GitVersionDescriptor: {},
1116 GitVersionOptions: {
1117 enumValues: {
1118 "none": 0,
1119 "previousChange": 1,
1120 "firstParent": 2
1121 }
1122 },
1123 GitVersionType: {
1124 enumValues: {
1125 "branch": 0,
1126 "tag": 1,
1127 "commit": 2
1128 }
1129 },
1130 HistoryEntry: {},
1131 IncludedGitCommit: {},
1132 ItemContent: {},
1133 ItemContentType: {
1134 enumValues: {
1135 "rawText": 0,
1136 "base64Encoded": 1
1137 }
1138 },
1139 ItemDetailsOptions: {},
1140 IterationReason: {
1141 enumValues: {
1142 "push": 0,
1143 "forcePush": 1,
1144 "create": 2,
1145 "rebase": 4,
1146 "unknown": 8,
1147 "retarget": 16,
1148 "resolveConflicts": 32
1149 }
1150 },
1151 LineDiffBlock: {},
1152 LineDiffBlockChangeType: {
1153 enumValues: {
1154 "none": 0,
1155 "add": 1,
1156 "delete": 2,
1157 "edit": 3
1158 }
1159 },
1160 PullRequestAsyncStatus: {
1161 enumValues: {
1162 "notSet": 0,
1163 "queued": 1,
1164 "conflicts": 2,
1165 "succeeded": 3,
1166 "rejectedByPolicy": 4,
1167 "failure": 5
1168 }
1169 },
1170 PullRequestMergeFailureType: {
1171 enumValues: {
1172 "none": 0,
1173 "unknown": 1,
1174 "caseSensitive": 2,
1175 "objectTooLarge": 3
1176 }
1177 },
1178 PullRequestStatus: {
1179 enumValues: {
1180 "notSet": 0,
1181 "active": 1,
1182 "abandoned": 2,
1183 "completed": 3,
1184 "all": 4
1185 }
1186 },
1187 PullRequestTimeRangeType: {
1188 enumValues: {
1189 "created": 1,
1190 "closed": 2
1191 }
1192 },
1193 RefFavoriteType: {
1194 enumValues: {
1195 "invalid": 0,
1196 "folder": 1,
1197 "ref": 2
1198 }
1199 },
1200 SupportedIde: {},
1201 SupportedIdeType: {
1202 enumValues: {
1203 "unknown": 0,
1204 "androidStudio": 1,
1205 "appCode": 2,
1206 "cLion": 3,
1207 "dataGrip": 4,
1208 "eclipse": 13,
1209 "intelliJ": 5,
1210 "mps": 6,
1211 "phpStorm": 7,
1212 "pyCharm": 8,
1213 "rubyMine": 9,
1214 "tower": 10,
1215 "visualStudio": 11,
1216 "vsCode": 14,
1217 "webStorm": 12
1218 }
1219 },
1220 TfvcBranch: {},
1221 TfvcBranchRef: {},
1222 TfvcChange: {},
1223 TfvcChangeset: {},
1224 TfvcChangesetRef: {},
1225 TfvcCheckinEventData: {},
1226 TfvcHistoryEntry: {},
1227 TfvcItem: {},
1228 TfvcItemDescriptor: {},
1229 TfvcItemPreviousHash: {},
1230 TfvcItemRequestData: {},
1231 TfvcLabel: {},
1232 TfvcLabelRef: {},
1233 TfvcShelveset: {},
1234 TfvcShelvesetRef: {},
1235 TfvcVersionDescriptor: {},
1236 TfvcVersionOption: {
1237 enumValues: {
1238 "none": 0,
1239 "previous": 1,
1240 "useRename": 2
1241 }
1242 },
1243 TfvcVersionType: {
1244 enumValues: {
1245 "none": 0,
1246 "changeset": 1,
1247 "shelveset": 2,
1248 "change": 3,
1249 "date": 4,
1250 "latest": 5,
1251 "tip": 6,
1252 "mergeSource": 7
1253 }
1254 },
1255 UpdateRefsRequest: {},
1256 VersionControlChangeType: {
1257 enumValues: {
1258 "none": 0,
1259 "add": 1,
1260 "edit": 2,
1261 "encoding": 4,
1262 "rename": 8,
1263 "delete": 16,
1264 "undelete": 32,
1265 "branch": 64,
1266 "merge": 128,
1267 "lock": 256,
1268 "rollback": 512,
1269 "sourceRename": 1024,
1270 "targetRename": 2048,
1271 "property": 4096,
1272 "all": 8191
1273 }
1274 },
1275 VersionControlProjectInfo: {},
1276 VersionControlRecursionType: {
1277 enumValues: {
1278 "none": 0,
1279 "oneLevel": 1,
1280 "oneLevelPlusNestedEmptyFolders": 4,
1281 "full": 120
1282 }
1283 },
1284};
1285exports.TypeInfo.AdvSecEnablementStatus.fields = {
1286 changedOnDate: {
1287 isDate: true,
1288 }
1289};
1290exports.TypeInfo.Attachment.fields = {
1291 createdDate: {
1292 isDate: true,
1293 }
1294};
1295exports.TypeInfo.BillableCommitterDetail.fields = {
1296 commitTime: {
1297 isDate: true,
1298 },
1299 pushedTime: {
1300 isDate: true,
1301 }
1302};
1303exports.TypeInfo.Change.fields = {
1304 changeType: {
1305 enumType: exports.TypeInfo.VersionControlChangeType
1306 },
1307 newContent: {
1308 typeInfo: exports.TypeInfo.ItemContent
1309 }
1310};
1311exports.TypeInfo.ChangeList.fields = {
1312 changeCounts: {
1313 isDictionary: true,
1314 dictionaryKeyEnumType: exports.TypeInfo.VersionControlChangeType,
1315 },
1316 creationDate: {
1317 isDate: true,
1318 },
1319 sortDate: {
1320 isDate: true,
1321 }
1322};
1323exports.TypeInfo.Comment.fields = {
1324 commentType: {
1325 enumType: exports.TypeInfo.CommentType
1326 },
1327 lastContentUpdatedDate: {
1328 isDate: true,
1329 },
1330 lastUpdatedDate: {
1331 isDate: true,
1332 },
1333 publishedDate: {
1334 isDate: true,
1335 }
1336};
1337exports.TypeInfo.CommentThread.fields = {
1338 comments: {
1339 isArray: true,
1340 typeInfo: exports.TypeInfo.Comment
1341 },
1342 lastUpdatedDate: {
1343 isDate: true,
1344 },
1345 publishedDate: {
1346 isDate: true,
1347 },
1348 status: {
1349 enumType: exports.TypeInfo.CommentThreadStatus
1350 }
1351};
1352exports.TypeInfo.FileDiff.fields = {
1353 lineDiffBlocks: {
1354 isArray: true,
1355 typeInfo: exports.TypeInfo.LineDiffBlock
1356 }
1357};
1358exports.TypeInfo.GitAnnotatedTag.fields = {
1359 taggedBy: {
1360 typeInfo: exports.TypeInfo.GitUserDate
1361 },
1362 taggedObject: {
1363 typeInfo: exports.TypeInfo.GitObject
1364 }
1365};
1366exports.TypeInfo.GitAsyncRefOperation.fields = {
1367 detailedStatus: {
1368 typeInfo: exports.TypeInfo.GitAsyncRefOperationDetail
1369 },
1370 parameters: {
1371 typeInfo: exports.TypeInfo.GitAsyncRefOperationParameters
1372 },
1373 status: {
1374 enumType: exports.TypeInfo.GitAsyncOperationStatus
1375 }
1376};
1377exports.TypeInfo.GitAsyncRefOperationDetail.fields = {
1378 status: {
1379 enumType: exports.TypeInfo.GitAsyncRefOperationFailureStatus
1380 }
1381};
1382exports.TypeInfo.GitAsyncRefOperationParameters.fields = {
1383 repository: {
1384 typeInfo: exports.TypeInfo.GitRepository
1385 },
1386 source: {
1387 typeInfo: exports.TypeInfo.GitAsyncRefOperationSource
1388 }
1389};
1390exports.TypeInfo.GitAsyncRefOperationSource.fields = {
1391 commitList: {
1392 isArray: true,
1393 typeInfo: exports.TypeInfo.GitCommitRef
1394 }
1395};
1396exports.TypeInfo.GitBaseVersionDescriptor.fields = {
1397 baseVersionOptions: {
1398 enumType: exports.TypeInfo.GitVersionOptions
1399 },
1400 baseVersionType: {
1401 enumType: exports.TypeInfo.GitVersionType
1402 },
1403 versionOptions: {
1404 enumType: exports.TypeInfo.GitVersionOptions
1405 },
1406 versionType: {
1407 enumType: exports.TypeInfo.GitVersionType
1408 }
1409};
1410exports.TypeInfo.GitBranchStats.fields = {
1411 commit: {
1412 typeInfo: exports.TypeInfo.GitCommitRef
1413 }
1414};
1415exports.TypeInfo.GitChange.fields = {
1416 changeType: {
1417 enumType: exports.TypeInfo.VersionControlChangeType
1418 },
1419 newContent: {
1420 typeInfo: exports.TypeInfo.ItemContent
1421 }
1422};
1423exports.TypeInfo.GitCherryPick.fields = {
1424 detailedStatus: {
1425 typeInfo: exports.TypeInfo.GitAsyncRefOperationDetail
1426 },
1427 parameters: {
1428 typeInfo: exports.TypeInfo.GitAsyncRefOperationParameters
1429 },
1430 status: {
1431 enumType: exports.TypeInfo.GitAsyncOperationStatus
1432 }
1433};
1434exports.TypeInfo.GitCommit.fields = {
1435 author: {
1436 typeInfo: exports.TypeInfo.GitUserDate
1437 },
1438 changes: {
1439 isArray: true,
1440 typeInfo: exports.TypeInfo.GitChange
1441 },
1442 committer: {
1443 typeInfo: exports.TypeInfo.GitUserDate
1444 },
1445 push: {
1446 typeInfo: exports.TypeInfo.GitPushRef
1447 },
1448 statuses: {
1449 isArray: true,
1450 typeInfo: exports.TypeInfo.GitStatus
1451 }
1452};
1453exports.TypeInfo.GitCommitChanges.fields = {
1454 changes: {
1455 isArray: true,
1456 typeInfo: exports.TypeInfo.GitChange
1457 }
1458};
1459exports.TypeInfo.GitCommitDiffs.fields = {
1460 changeCounts: {
1461 isDictionary: true,
1462 dictionaryKeyEnumType: exports.TypeInfo.VersionControlChangeType,
1463 },
1464 changes: {
1465 isArray: true,
1466 typeInfo: exports.TypeInfo.GitChange
1467 }
1468};
1469exports.TypeInfo.GitCommitRef.fields = {
1470 author: {
1471 typeInfo: exports.TypeInfo.GitUserDate
1472 },
1473 changes: {
1474 isArray: true,
1475 typeInfo: exports.TypeInfo.GitChange
1476 },
1477 committer: {
1478 typeInfo: exports.TypeInfo.GitUserDate
1479 },
1480 push: {
1481 typeInfo: exports.TypeInfo.GitPushRef
1482 },
1483 statuses: {
1484 isArray: true,
1485 typeInfo: exports.TypeInfo.GitStatus
1486 }
1487};
1488exports.TypeInfo.GitCommitToCreate.fields = {
1489 baseRef: {
1490 typeInfo: exports.TypeInfo.GitRef
1491 },
1492 pathActions: {
1493 isArray: true,
1494 typeInfo: exports.TypeInfo.GitPathAction
1495 }
1496};
1497exports.TypeInfo.GitConflict.fields = {
1498 conflictType: {
1499 enumType: exports.TypeInfo.GitConflictType
1500 },
1501 mergeBaseCommit: {
1502 typeInfo: exports.TypeInfo.GitCommitRef
1503 },
1504 mergeSourceCommit: {
1505 typeInfo: exports.TypeInfo.GitCommitRef
1506 },
1507 mergeTargetCommit: {
1508 typeInfo: exports.TypeInfo.GitCommitRef
1509 },
1510 resolutionError: {
1511 enumType: exports.TypeInfo.GitResolutionError
1512 },
1513 resolutionStatus: {
1514 enumType: exports.TypeInfo.GitResolutionStatus
1515 },
1516 resolvedDate: {
1517 isDate: true,
1518 }
1519};
1520exports.TypeInfo.GitConflictAddAdd.fields = {
1521 conflictType: {
1522 enumType: exports.TypeInfo.GitConflictType
1523 },
1524 mergeBaseCommit: {
1525 typeInfo: exports.TypeInfo.GitCommitRef
1526 },
1527 mergeSourceCommit: {
1528 typeInfo: exports.TypeInfo.GitCommitRef
1529 },
1530 mergeTargetCommit: {
1531 typeInfo: exports.TypeInfo.GitCommitRef
1532 },
1533 resolution: {
1534 typeInfo: exports.TypeInfo.GitResolutionMergeContent
1535 },
1536 resolutionError: {
1537 enumType: exports.TypeInfo.GitResolutionError
1538 },
1539 resolutionStatus: {
1540 enumType: exports.TypeInfo.GitResolutionStatus
1541 },
1542 resolvedDate: {
1543 isDate: true,
1544 }
1545};
1546exports.TypeInfo.GitConflictAddRename.fields = {
1547 conflictType: {
1548 enumType: exports.TypeInfo.GitConflictType
1549 },
1550 mergeBaseCommit: {
1551 typeInfo: exports.TypeInfo.GitCommitRef
1552 },
1553 mergeSourceCommit: {
1554 typeInfo: exports.TypeInfo.GitCommitRef
1555 },
1556 mergeTargetCommit: {
1557 typeInfo: exports.TypeInfo.GitCommitRef
1558 },
1559 resolution: {
1560 typeInfo: exports.TypeInfo.GitResolutionPathConflict
1561 },
1562 resolutionError: {
1563 enumType: exports.TypeInfo.GitResolutionError
1564 },
1565 resolutionStatus: {
1566 enumType: exports.TypeInfo.GitResolutionStatus
1567 },
1568 resolvedDate: {
1569 isDate: true,
1570 }
1571};
1572exports.TypeInfo.GitConflictDeleteEdit.fields = {
1573 conflictType: {
1574 enumType: exports.TypeInfo.GitConflictType
1575 },
1576 mergeBaseCommit: {
1577 typeInfo: exports.TypeInfo.GitCommitRef
1578 },
1579 mergeSourceCommit: {
1580 typeInfo: exports.TypeInfo.GitCommitRef
1581 },
1582 mergeTargetCommit: {
1583 typeInfo: exports.TypeInfo.GitCommitRef
1584 },
1585 resolution: {
1586 typeInfo: exports.TypeInfo.GitResolutionPickOneAction
1587 },
1588 resolutionError: {
1589 enumType: exports.TypeInfo.GitResolutionError
1590 },
1591 resolutionStatus: {
1592 enumType: exports.TypeInfo.GitResolutionStatus
1593 },
1594 resolvedDate: {
1595 isDate: true,
1596 }
1597};
1598exports.TypeInfo.GitConflictDeleteRename.fields = {
1599 conflictType: {
1600 enumType: exports.TypeInfo.GitConflictType
1601 },
1602 mergeBaseCommit: {
1603 typeInfo: exports.TypeInfo.GitCommitRef
1604 },
1605 mergeSourceCommit: {
1606 typeInfo: exports.TypeInfo.GitCommitRef
1607 },
1608 mergeTargetCommit: {
1609 typeInfo: exports.TypeInfo.GitCommitRef
1610 },
1611 resolution: {
1612 typeInfo: exports.TypeInfo.GitResolutionPickOneAction
1613 },
1614 resolutionError: {
1615 enumType: exports.TypeInfo.GitResolutionError
1616 },
1617 resolutionStatus: {
1618 enumType: exports.TypeInfo.GitResolutionStatus
1619 },
1620 resolvedDate: {
1621 isDate: true,
1622 }
1623};
1624exports.TypeInfo.GitConflictDirectoryFile.fields = {
1625 conflictType: {
1626 enumType: exports.TypeInfo.GitConflictType
1627 },
1628 mergeBaseCommit: {
1629 typeInfo: exports.TypeInfo.GitCommitRef
1630 },
1631 mergeSourceCommit: {
1632 typeInfo: exports.TypeInfo.GitCommitRef
1633 },
1634 mergeTargetCommit: {
1635 typeInfo: exports.TypeInfo.GitCommitRef
1636 },
1637 resolution: {
1638 typeInfo: exports.TypeInfo.GitResolutionPathConflict
1639 },
1640 resolutionError: {
1641 enumType: exports.TypeInfo.GitResolutionError
1642 },
1643 resolutionStatus: {
1644 enumType: exports.TypeInfo.GitResolutionStatus
1645 },
1646 resolvedDate: {
1647 isDate: true,
1648 },
1649 sourceTree: {
1650 typeInfo: exports.TypeInfo.GitTreeRef
1651 }
1652};
1653exports.TypeInfo.GitConflictEditDelete.fields = {
1654 conflictType: {
1655 enumType: exports.TypeInfo.GitConflictType
1656 },
1657 mergeBaseCommit: {
1658 typeInfo: exports.TypeInfo.GitCommitRef
1659 },
1660 mergeSourceCommit: {
1661 typeInfo: exports.TypeInfo.GitCommitRef
1662 },
1663 mergeTargetCommit: {
1664 typeInfo: exports.TypeInfo.GitCommitRef
1665 },
1666 resolution: {
1667 typeInfo: exports.TypeInfo.GitResolutionPickOneAction
1668 },
1669 resolutionError: {
1670 enumType: exports.TypeInfo.GitResolutionError
1671 },
1672 resolutionStatus: {
1673 enumType: exports.TypeInfo.GitResolutionStatus
1674 },
1675 resolvedDate: {
1676 isDate: true,
1677 }
1678};
1679exports.TypeInfo.GitConflictEditEdit.fields = {
1680 conflictType: {
1681 enumType: exports.TypeInfo.GitConflictType
1682 },
1683 mergeBaseCommit: {
1684 typeInfo: exports.TypeInfo.GitCommitRef
1685 },
1686 mergeSourceCommit: {
1687 typeInfo: exports.TypeInfo.GitCommitRef
1688 },
1689 mergeTargetCommit: {
1690 typeInfo: exports.TypeInfo.GitCommitRef
1691 },
1692 resolution: {
1693 typeInfo: exports.TypeInfo.GitResolutionMergeContent
1694 },
1695 resolutionError: {
1696 enumType: exports.TypeInfo.GitResolutionError
1697 },
1698 resolutionStatus: {
1699 enumType: exports.TypeInfo.GitResolutionStatus
1700 },
1701 resolvedDate: {
1702 isDate: true,
1703 }
1704};
1705exports.TypeInfo.GitConflictFileDirectory.fields = {
1706 conflictType: {
1707 enumType: exports.TypeInfo.GitConflictType
1708 },
1709 mergeBaseCommit: {
1710 typeInfo: exports.TypeInfo.GitCommitRef
1711 },
1712 mergeSourceCommit: {
1713 typeInfo: exports.TypeInfo.GitCommitRef
1714 },
1715 mergeTargetCommit: {
1716 typeInfo: exports.TypeInfo.GitCommitRef
1717 },
1718 resolution: {
1719 typeInfo: exports.TypeInfo.GitResolutionPathConflict
1720 },
1721 resolutionError: {
1722 enumType: exports.TypeInfo.GitResolutionError
1723 },
1724 resolutionStatus: {
1725 enumType: exports.TypeInfo.GitResolutionStatus
1726 },
1727 resolvedDate: {
1728 isDate: true,
1729 },
1730 targetTree: {
1731 typeInfo: exports.TypeInfo.GitTreeRef
1732 }
1733};
1734exports.TypeInfo.GitConflictRename1to2.fields = {
1735 conflictType: {
1736 enumType: exports.TypeInfo.GitConflictType
1737 },
1738 mergeBaseCommit: {
1739 typeInfo: exports.TypeInfo.GitCommitRef
1740 },
1741 mergeSourceCommit: {
1742 typeInfo: exports.TypeInfo.GitCommitRef
1743 },
1744 mergeTargetCommit: {
1745 typeInfo: exports.TypeInfo.GitCommitRef
1746 },
1747 resolution: {
1748 typeInfo: exports.TypeInfo.GitResolutionRename1to2
1749 },
1750 resolutionError: {
1751 enumType: exports.TypeInfo.GitResolutionError
1752 },
1753 resolutionStatus: {
1754 enumType: exports.TypeInfo.GitResolutionStatus
1755 },
1756 resolvedDate: {
1757 isDate: true,
1758 }
1759};
1760exports.TypeInfo.GitConflictRename2to1.fields = {
1761 conflictType: {
1762 enumType: exports.TypeInfo.GitConflictType
1763 },
1764 mergeBaseCommit: {
1765 typeInfo: exports.TypeInfo.GitCommitRef
1766 },
1767 mergeSourceCommit: {
1768 typeInfo: exports.TypeInfo.GitCommitRef
1769 },
1770 mergeTargetCommit: {
1771 typeInfo: exports.TypeInfo.GitCommitRef
1772 },
1773 resolution: {
1774 typeInfo: exports.TypeInfo.GitResolutionPathConflict
1775 },
1776 resolutionError: {
1777 enumType: exports.TypeInfo.GitResolutionError
1778 },
1779 resolutionStatus: {
1780 enumType: exports.TypeInfo.GitResolutionStatus
1781 },
1782 resolvedDate: {
1783 isDate: true,
1784 }
1785};
1786exports.TypeInfo.GitConflictRenameAdd.fields = {
1787 conflictType: {
1788 enumType: exports.TypeInfo.GitConflictType
1789 },
1790 mergeBaseCommit: {
1791 typeInfo: exports.TypeInfo.GitCommitRef
1792 },
1793 mergeSourceCommit: {
1794 typeInfo: exports.TypeInfo.GitCommitRef
1795 },
1796 mergeTargetCommit: {
1797 typeInfo: exports.TypeInfo.GitCommitRef
1798 },
1799 resolution: {
1800 typeInfo: exports.TypeInfo.GitResolutionPathConflict
1801 },
1802 resolutionError: {
1803 enumType: exports.TypeInfo.GitResolutionError
1804 },
1805 resolutionStatus: {
1806 enumType: exports.TypeInfo.GitResolutionStatus
1807 },
1808 resolvedDate: {
1809 isDate: true,
1810 }
1811};
1812exports.TypeInfo.GitConflictRenameDelete.fields = {
1813 conflictType: {
1814 enumType: exports.TypeInfo.GitConflictType
1815 },
1816 mergeBaseCommit: {
1817 typeInfo: exports.TypeInfo.GitCommitRef
1818 },
1819 mergeSourceCommit: {
1820 typeInfo: exports.TypeInfo.GitCommitRef
1821 },
1822 mergeTargetCommit: {
1823 typeInfo: exports.TypeInfo.GitCommitRef
1824 },
1825 resolution: {
1826 typeInfo: exports.TypeInfo.GitResolutionPickOneAction
1827 },
1828 resolutionError: {
1829 enumType: exports.TypeInfo.GitResolutionError
1830 },
1831 resolutionStatus: {
1832 enumType: exports.TypeInfo.GitResolutionStatus
1833 },
1834 resolvedDate: {
1835 isDate: true,
1836 }
1837};
1838exports.TypeInfo.GitConflictRenameRename.fields = {
1839 conflictType: {
1840 enumType: exports.TypeInfo.GitConflictType
1841 },
1842 mergeBaseCommit: {
1843 typeInfo: exports.TypeInfo.GitCommitRef
1844 },
1845 mergeSourceCommit: {
1846 typeInfo: exports.TypeInfo.GitCommitRef
1847 },
1848 mergeTargetCommit: {
1849 typeInfo: exports.TypeInfo.GitCommitRef
1850 },
1851 resolution: {
1852 typeInfo: exports.TypeInfo.GitResolutionMergeContent
1853 },
1854 resolutionError: {
1855 enumType: exports.TypeInfo.GitResolutionError
1856 },
1857 resolutionStatus: {
1858 enumType: exports.TypeInfo.GitResolutionStatus
1859 },
1860 resolvedDate: {
1861 isDate: true,
1862 }
1863};
1864exports.TypeInfo.GitConflictUpdateResult.fields = {
1865 updatedConflict: {
1866 typeInfo: exports.TypeInfo.GitConflict
1867 },
1868 updateStatus: {
1869 enumType: exports.TypeInfo.GitConflictUpdateStatus
1870 }
1871};
1872exports.TypeInfo.GitDeletedRepository.fields = {
1873 createdDate: {
1874 isDate: true,
1875 },
1876 deletedDate: {
1877 isDate: true,
1878 },
1879 project: {
1880 typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
1881 }
1882};
1883exports.TypeInfo.GitForkRef.fields = {
1884 repository: {
1885 typeInfo: exports.TypeInfo.GitRepository
1886 },
1887 statuses: {
1888 isArray: true,
1889 typeInfo: exports.TypeInfo.GitStatus
1890 }
1891};
1892exports.TypeInfo.GitForkSyncRequest.fields = {
1893 status: {
1894 enumType: exports.TypeInfo.GitAsyncOperationStatus
1895 }
1896};
1897exports.TypeInfo.GitForkTeamProjectReference.fields = {
1898 lastUpdateTime: {
1899 isDate: true,
1900 },
1901 visibility: {
1902 enumType: TfsCoreInterfaces.TypeInfo.ProjectVisibility
1903 }
1904};
1905exports.TypeInfo.GitImportFailedEvent.fields = {
1906 targetRepository: {
1907 typeInfo: exports.TypeInfo.GitRepository
1908 }
1909};
1910exports.TypeInfo.GitImportRequest.fields = {
1911 repository: {
1912 typeInfo: exports.TypeInfo.GitRepository
1913 },
1914 status: {
1915 enumType: exports.TypeInfo.GitAsyncOperationStatus
1916 }
1917};
1918exports.TypeInfo.GitImportSucceededEvent.fields = {
1919 targetRepository: {
1920 typeInfo: exports.TypeInfo.GitRepository
1921 }
1922};
1923exports.TypeInfo.GitItem.fields = {
1924 gitObjectType: {
1925 enumType: exports.TypeInfo.GitObjectType
1926 },
1927 latestProcessedChange: {
1928 typeInfo: exports.TypeInfo.GitCommitRef
1929 }
1930};
1931exports.TypeInfo.GitItemDescriptor.fields = {
1932 recursionLevel: {
1933 enumType: exports.TypeInfo.VersionControlRecursionType
1934 },
1935 versionOptions: {
1936 enumType: exports.TypeInfo.GitVersionOptions
1937 },
1938 versionType: {
1939 enumType: exports.TypeInfo.GitVersionType
1940 }
1941};
1942exports.TypeInfo.GitItemRequestData.fields = {
1943 itemDescriptors: {
1944 isArray: true,
1945 typeInfo: exports.TypeInfo.GitItemDescriptor
1946 }
1947};
1948exports.TypeInfo.GitLastChangeTreeItems.fields = {
1949 commits: {
1950 isArray: true,
1951 typeInfo: exports.TypeInfo.GitCommitRef
1952 },
1953 lastExploredTime: {
1954 isDate: true,
1955 }
1956};
1957exports.TypeInfo.GitMerge.fields = {
1958 status: {
1959 enumType: exports.TypeInfo.GitAsyncOperationStatus
1960 }
1961};
1962exports.TypeInfo.GitObject.fields = {
1963 objectType: {
1964 enumType: exports.TypeInfo.GitObjectType
1965 }
1966};
1967exports.TypeInfo.GitPathAction.fields = {
1968 action: {
1969 enumType: exports.TypeInfo.GitPathActions
1970 }
1971};
1972exports.TypeInfo.GitPathToItemsCollection.fields = {
1973 items: {
1974 isDictionary: true,
1975 dictionaryValueFieldInfo: {
1976 isArray: true,
1977 typeInfo: exports.TypeInfo.GitItem
1978 }
1979 }
1980};
1981exports.TypeInfo.GitPolicyConfigurationResponse.fields = {
1982 policyConfigurations: {
1983 isArray: true,
1984 typeInfo: PolicyInterfaces.TypeInfo.PolicyConfiguration
1985 }
1986};
1987exports.TypeInfo.GitPullRequest.fields = {
1988 closedDate: {
1989 isDate: true,
1990 },
1991 commits: {
1992 isArray: true,
1993 typeInfo: exports.TypeInfo.GitCommitRef
1994 },
1995 completionOptions: {
1996 typeInfo: exports.TypeInfo.GitPullRequestCompletionOptions
1997 },
1998 completionQueueTime: {
1999 isDate: true,
2000 },
2001 creationDate: {
2002 isDate: true,
2003 },
2004 forkSource: {
2005 typeInfo: exports.TypeInfo.GitForkRef
2006 },
2007 lastMergeCommit: {
2008 typeInfo: exports.TypeInfo.GitCommitRef
2009 },
2010 lastMergeSourceCommit: {
2011 typeInfo: exports.TypeInfo.GitCommitRef
2012 },
2013 lastMergeTargetCommit: {
2014 typeInfo: exports.TypeInfo.GitCommitRef
2015 },
2016 mergeFailureType: {
2017 enumType: exports.TypeInfo.PullRequestMergeFailureType
2018 },
2019 mergeStatus: {
2020 enumType: exports.TypeInfo.PullRequestAsyncStatus
2021 },
2022 repository: {
2023 typeInfo: exports.TypeInfo.GitRepository
2024 },
2025 status: {
2026 enumType: exports.TypeInfo.PullRequestStatus
2027 }
2028};
2029exports.TypeInfo.GitPullRequestChange.fields = {
2030 changeType: {
2031 enumType: exports.TypeInfo.VersionControlChangeType
2032 },
2033 newContent: {
2034 typeInfo: exports.TypeInfo.ItemContent
2035 }
2036};
2037exports.TypeInfo.GitPullRequestCommentThread.fields = {
2038 comments: {
2039 isArray: true,
2040 typeInfo: exports.TypeInfo.Comment
2041 },
2042 lastUpdatedDate: {
2043 isDate: true,
2044 },
2045 publishedDate: {
2046 isDate: true,
2047 },
2048 status: {
2049 enumType: exports.TypeInfo.CommentThreadStatus
2050 }
2051};
2052exports.TypeInfo.GitPullRequestCompletionOptions.fields = {
2053 mergeStrategy: {
2054 enumType: exports.TypeInfo.GitPullRequestMergeStrategy
2055 }
2056};
2057exports.TypeInfo.GitPullRequestIteration.fields = {
2058 changeList: {
2059 isArray: true,
2060 typeInfo: exports.TypeInfo.GitPullRequestChange
2061 },
2062 commits: {
2063 isArray: true,
2064 typeInfo: exports.TypeInfo.GitCommitRef
2065 },
2066 commonRefCommit: {
2067 typeInfo: exports.TypeInfo.GitCommitRef
2068 },
2069 createdDate: {
2070 isDate: true,
2071 },
2072 push: {
2073 typeInfo: exports.TypeInfo.GitPushRef
2074 },
2075 reason: {
2076 enumType: exports.TypeInfo.IterationReason
2077 },
2078 sourceRefCommit: {
2079 typeInfo: exports.TypeInfo.GitCommitRef
2080 },
2081 targetRefCommit: {
2082 typeInfo: exports.TypeInfo.GitCommitRef
2083 },
2084 updatedDate: {
2085 isDate: true,
2086 }
2087};
2088exports.TypeInfo.GitPullRequestIterationChanges.fields = {
2089 changeEntries: {
2090 isArray: true,
2091 typeInfo: exports.TypeInfo.GitPullRequestChange
2092 }
2093};
2094exports.TypeInfo.GitPullRequestQuery.fields = {
2095 queries: {
2096 isArray: true,
2097 typeInfo: exports.TypeInfo.GitPullRequestQueryInput
2098 },
2099};
2100exports.TypeInfo.GitPullRequestQueryInput.fields = {
2101 type: {
2102 enumType: exports.TypeInfo.GitPullRequestQueryType
2103 }
2104};
2105exports.TypeInfo.GitPullRequestSearchCriteria.fields = {
2106 maxTime: {
2107 isDate: true,
2108 },
2109 minTime: {
2110 isDate: true,
2111 },
2112 queryTimeRangeType: {
2113 enumType: exports.TypeInfo.PullRequestTimeRangeType
2114 },
2115 status: {
2116 enumType: exports.TypeInfo.PullRequestStatus
2117 }
2118};
2119exports.TypeInfo.GitPullRequestStatus.fields = {
2120 creationDate: {
2121 isDate: true,
2122 },
2123 state: {
2124 enumType: exports.TypeInfo.GitStatusState
2125 },
2126 updatedDate: {
2127 isDate: true,
2128 }
2129};
2130exports.TypeInfo.GitPush.fields = {
2131 commits: {
2132 isArray: true,
2133 typeInfo: exports.TypeInfo.GitCommitRef
2134 },
2135 date: {
2136 isDate: true,
2137 },
2138 repository: {
2139 typeInfo: exports.TypeInfo.GitRepository
2140 }
2141};
2142exports.TypeInfo.GitPushEventData.fields = {
2143 commits: {
2144 isArray: true,
2145 typeInfo: exports.TypeInfo.GitCommit
2146 },
2147 repository: {
2148 typeInfo: exports.TypeInfo.GitRepository
2149 }
2150};
2151exports.TypeInfo.GitPushRef.fields = {
2152 date: {
2153 isDate: true,
2154 }
2155};
2156exports.TypeInfo.GitPushSearchCriteria.fields = {
2157 fromDate: {
2158 isDate: true,
2159 },
2160 toDate: {
2161 isDate: true,
2162 }
2163};
2164exports.TypeInfo.GitQueryBranchStatsCriteria.fields = {
2165 baseCommit: {
2166 typeInfo: exports.TypeInfo.GitVersionDescriptor
2167 },
2168 targetCommits: {
2169 isArray: true,
2170 typeInfo: exports.TypeInfo.GitVersionDescriptor
2171 }
2172};
2173exports.TypeInfo.GitQueryCommitsCriteria.fields = {
2174 compareVersion: {
2175 typeInfo: exports.TypeInfo.GitVersionDescriptor
2176 },
2177 historyMode: {
2178 enumType: exports.TypeInfo.GitHistoryMode
2179 },
2180 itemVersion: {
2181 typeInfo: exports.TypeInfo.GitVersionDescriptor
2182 }
2183};
2184exports.TypeInfo.GitQueryRefsCriteria.fields = {
2185 searchType: {
2186 enumType: exports.TypeInfo.GitRefSearchType
2187 }
2188};
2189exports.TypeInfo.GitRef.fields = {
2190 statuses: {
2191 isArray: true,
2192 typeInfo: exports.TypeInfo.GitStatus
2193 }
2194};
2195exports.TypeInfo.GitRefFavorite.fields = {
2196 type: {
2197 enumType: exports.TypeInfo.RefFavoriteType
2198 }
2199};
2200exports.TypeInfo.GitRefUpdateResult.fields = {
2201 updateStatus: {
2202 enumType: exports.TypeInfo.GitRefUpdateStatus
2203 }
2204};
2205exports.TypeInfo.GitRepository.fields = {
2206 parentRepository: {
2207 typeInfo: exports.TypeInfo.GitRepositoryRef
2208 },
2209 project: {
2210 typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
2211 }
2212};
2213exports.TypeInfo.GitRepositoryCreateOptions.fields = {
2214 parentRepository: {
2215 typeInfo: exports.TypeInfo.GitRepositoryRef
2216 },
2217 project: {
2218 typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
2219 }
2220};
2221exports.TypeInfo.GitRepositoryRef.fields = {
2222 project: {
2223 typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
2224 }
2225};
2226exports.TypeInfo.GitResolutionMergeContent.fields = {
2227 mergeType: {
2228 enumType: exports.TypeInfo.GitResolutionMergeType
2229 }
2230};
2231exports.TypeInfo.GitResolutionPathConflict.fields = {
2232 action: {
2233 enumType: exports.TypeInfo.GitResolutionPathConflictAction
2234 }
2235};
2236exports.TypeInfo.GitResolutionPickOneAction.fields = {
2237 action: {
2238 enumType: exports.TypeInfo.GitResolutionWhichAction
2239 }
2240};
2241exports.TypeInfo.GitResolutionRename1to2.fields = {
2242 action: {
2243 enumType: exports.TypeInfo.GitResolutionRename1to2Action
2244 },
2245 mergeType: {
2246 enumType: exports.TypeInfo.GitResolutionMergeType
2247 }
2248};
2249exports.TypeInfo.GitRevert.fields = {
2250 detailedStatus: {
2251 typeInfo: exports.TypeInfo.GitAsyncRefOperationDetail
2252 },
2253 parameters: {
2254 typeInfo: exports.TypeInfo.GitAsyncRefOperationParameters
2255 },
2256 status: {
2257 enumType: exports.TypeInfo.GitAsyncOperationStatus
2258 }
2259};
2260exports.TypeInfo.GitStatus.fields = {
2261 creationDate: {
2262 isDate: true,
2263 },
2264 state: {
2265 enumType: exports.TypeInfo.GitStatusState
2266 },
2267 updatedDate: {
2268 isDate: true,
2269 }
2270};
2271exports.TypeInfo.GitTargetVersionDescriptor.fields = {
2272 targetVersionOptions: {
2273 enumType: exports.TypeInfo.GitVersionOptions
2274 },
2275 targetVersionType: {
2276 enumType: exports.TypeInfo.GitVersionType
2277 },
2278 versionOptions: {
2279 enumType: exports.TypeInfo.GitVersionOptions
2280 },
2281 versionType: {
2282 enumType: exports.TypeInfo.GitVersionType
2283 }
2284};
2285exports.TypeInfo.GitTreeDiff.fields = {
2286 diffEntries: {
2287 isArray: true,
2288 typeInfo: exports.TypeInfo.GitTreeDiffEntry
2289 }
2290};
2291exports.TypeInfo.GitTreeDiffEntry.fields = {
2292 changeType: {
2293 enumType: exports.TypeInfo.VersionControlChangeType
2294 },
2295 objectType: {
2296 enumType: exports.TypeInfo.GitObjectType
2297 }
2298};
2299exports.TypeInfo.GitTreeDiffResponse.fields = {
2300 treeDiff: {
2301 typeInfo: exports.TypeInfo.GitTreeDiff
2302 }
2303};
2304exports.TypeInfo.GitTreeEntryRef.fields = {
2305 gitObjectType: {
2306 enumType: exports.TypeInfo.GitObjectType
2307 }
2308};
2309exports.TypeInfo.GitTreeRef.fields = {
2310 treeEntries: {
2311 isArray: true,
2312 typeInfo: exports.TypeInfo.GitTreeEntryRef
2313 }
2314};
2315exports.TypeInfo.GitUserDate.fields = {
2316 date: {
2317 isDate: true,
2318 }
2319};
2320exports.TypeInfo.GitVersionDescriptor.fields = {
2321 versionOptions: {
2322 enumType: exports.TypeInfo.GitVersionOptions
2323 },
2324 versionType: {
2325 enumType: exports.TypeInfo.GitVersionType
2326 }
2327};
2328exports.TypeInfo.HistoryEntry.fields = {
2329 itemChangeType: {
2330 enumType: exports.TypeInfo.VersionControlChangeType
2331 }
2332};
2333exports.TypeInfo.IncludedGitCommit.fields = {
2334 commitTime: {
2335 isDate: true,
2336 }
2337};
2338exports.TypeInfo.ItemContent.fields = {
2339 contentType: {
2340 enumType: exports.TypeInfo.ItemContentType
2341 }
2342};
2343exports.TypeInfo.ItemDetailsOptions.fields = {
2344 recursionLevel: {
2345 enumType: exports.TypeInfo.VersionControlRecursionType
2346 }
2347};
2348exports.TypeInfo.LineDiffBlock.fields = {
2349 changeType: {
2350 enumType: exports.TypeInfo.LineDiffBlockChangeType
2351 }
2352};
2353exports.TypeInfo.SupportedIde.fields = {
2354 ideType: {
2355 enumType: exports.TypeInfo.SupportedIdeType
2356 }
2357};
2358exports.TypeInfo.TfvcBranch.fields = {
2359 children: {
2360 isArray: true,
2361 typeInfo: exports.TypeInfo.TfvcBranch
2362 },
2363 createdDate: {
2364 isDate: true,
2365 }
2366};
2367exports.TypeInfo.TfvcBranchRef.fields = {
2368 createdDate: {
2369 isDate: true,
2370 }
2371};
2372exports.TypeInfo.TfvcChange.fields = {
2373 changeType: {
2374 enumType: exports.TypeInfo.VersionControlChangeType
2375 },
2376 newContent: {
2377 typeInfo: exports.TypeInfo.ItemContent
2378 }
2379};
2380exports.TypeInfo.TfvcChangeset.fields = {
2381 changes: {
2382 isArray: true,
2383 typeInfo: exports.TypeInfo.TfvcChange
2384 },
2385 createdDate: {
2386 isDate: true,
2387 }
2388};
2389exports.TypeInfo.TfvcChangesetRef.fields = {
2390 createdDate: {
2391 isDate: true,
2392 }
2393};
2394exports.TypeInfo.TfvcCheckinEventData.fields = {
2395 changeset: {
2396 typeInfo: exports.TypeInfo.TfvcChangeset
2397 },
2398 project: {
2399 typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
2400 }
2401};
2402exports.TypeInfo.TfvcHistoryEntry.fields = {
2403 itemChangeType: {
2404 enumType: exports.TypeInfo.VersionControlChangeType
2405 }
2406};
2407exports.TypeInfo.TfvcItem.fields = {
2408 changeDate: {
2409 isDate: true,
2410 }
2411};
2412exports.TypeInfo.TfvcItemDescriptor.fields = {
2413 recursionLevel: {
2414 enumType: exports.TypeInfo.VersionControlRecursionType
2415 },
2416 versionOption: {
2417 enumType: exports.TypeInfo.TfvcVersionOption
2418 },
2419 versionType: {
2420 enumType: exports.TypeInfo.TfvcVersionType
2421 }
2422};
2423exports.TypeInfo.TfvcItemPreviousHash.fields = {
2424 changeDate: {
2425 isDate: true,
2426 }
2427};
2428exports.TypeInfo.TfvcItemRequestData.fields = {
2429 itemDescriptors: {
2430 isArray: true,
2431 typeInfo: exports.TypeInfo.TfvcItemDescriptor
2432 }
2433};
2434exports.TypeInfo.TfvcLabel.fields = {
2435 items: {
2436 isArray: true,
2437 typeInfo: exports.TypeInfo.TfvcItem
2438 },
2439 modifiedDate: {
2440 isDate: true,
2441 }
2442};
2443exports.TypeInfo.TfvcLabelRef.fields = {
2444 modifiedDate: {
2445 isDate: true,
2446 }
2447};
2448exports.TypeInfo.TfvcShelveset.fields = {
2449 changes: {
2450 isArray: true,
2451 typeInfo: exports.TypeInfo.TfvcChange
2452 },
2453 createdDate: {
2454 isDate: true,
2455 }
2456};
2457exports.TypeInfo.TfvcShelvesetRef.fields = {
2458 createdDate: {
2459 isDate: true,
2460 }
2461};
2462exports.TypeInfo.TfvcVersionDescriptor.fields = {
2463 versionOption: {
2464 enumType: exports.TypeInfo.TfvcVersionOption
2465 },
2466 versionType: {
2467 enumType: exports.TypeInfo.TfvcVersionType
2468 }
2469};
2470exports.TypeInfo.UpdateRefsRequest.fields = {
2471 updateMode: {
2472 enumType: exports.TypeInfo.GitRefUpdateMode
2473 }
2474};
2475exports.TypeInfo.VersionControlProjectInfo.fields = {
2476 defaultSourceControlType: {
2477 enumType: TfsCoreInterfaces.TypeInfo.SourceControlTypes
2478 },
2479 project: {
2480 typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
2481 }
2482};