UNPKG

26.6 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.WorkItemTypeFieldsExpandLevel = exports.WorkItemRecentActivityType = exports.WorkItemExpand = exports.WorkItemErrorPolicy = exports.TreeStructureGroup = exports.TreeNodeStructureType = exports.TemplateType = exports.ReportingRevisionsExpand = exports.QueryType = exports.QueryResultType = exports.QueryRecursionOption = exports.QueryOption = exports.QueryExpand = exports.QueryErrorPolicy = exports.ProvisioningActionType = exports.LogicalOperation = exports.LinkQueryMode = exports.GetFieldsExpand = exports.FieldUsage = exports.FieldType = exports.CommentSortOrder = exports.CommentReactionType = exports.CommentFormat = exports.CommentExpandOptions = exports.ClassificationNodesErrorPolicy = void 0;
13/**
14 * Flag to control error policy in a batch classification nodes get request.
15 */
16var ClassificationNodesErrorPolicy;
17(function (ClassificationNodesErrorPolicy) {
18 ClassificationNodesErrorPolicy[ClassificationNodesErrorPolicy["Fail"] = 1] = "Fail";
19 ClassificationNodesErrorPolicy[ClassificationNodesErrorPolicy["Omit"] = 2] = "Omit";
20})(ClassificationNodesErrorPolicy = exports.ClassificationNodesErrorPolicy || (exports.ClassificationNodesErrorPolicy = {}));
21/**
22 * Specifies the additional data retrieval options for work item comments.
23 */
24var CommentExpandOptions;
25(function (CommentExpandOptions) {
26 CommentExpandOptions[CommentExpandOptions["None"] = 0] = "None";
27 /**
28 * Include comment reactions.
29 */
30 CommentExpandOptions[CommentExpandOptions["Reactions"] = 1] = "Reactions";
31 /**
32 * Include the rendered text (html) in addition to MD text.
33 */
34 CommentExpandOptions[CommentExpandOptions["RenderedText"] = 8] = "RenderedText";
35 /**
36 * If specified, then ONLY rendered text (html) will be returned, w/o markdown. Supposed to be used internally from data provides for optimization purposes.
37 */
38 CommentExpandOptions[CommentExpandOptions["RenderedTextOnly"] = 16] = "RenderedTextOnly";
39 CommentExpandOptions[CommentExpandOptions["All"] = -17] = "All";
40})(CommentExpandOptions = exports.CommentExpandOptions || (exports.CommentExpandOptions = {}));
41/**
42 * Represents the possible types for the comment format. Should be in sync with WorkItemCommentFormat.cs
43 */
44var CommentFormat;
45(function (CommentFormat) {
46 CommentFormat[CommentFormat["Markdown"] = 0] = "Markdown";
47 CommentFormat[CommentFormat["Html"] = 1] = "Html";
48})(CommentFormat = exports.CommentFormat || (exports.CommentFormat = {}));
49/**
50 * Represents different reaction types for a work item comment.
51 */
52var CommentReactionType;
53(function (CommentReactionType) {
54 CommentReactionType[CommentReactionType["Like"] = 0] = "Like";
55 CommentReactionType[CommentReactionType["Dislike"] = 1] = "Dislike";
56 CommentReactionType[CommentReactionType["Heart"] = 2] = "Heart";
57 CommentReactionType[CommentReactionType["Hooray"] = 3] = "Hooray";
58 CommentReactionType[CommentReactionType["Smile"] = 4] = "Smile";
59 CommentReactionType[CommentReactionType["Confused"] = 5] = "Confused";
60})(CommentReactionType = exports.CommentReactionType || (exports.CommentReactionType = {}));
61var CommentSortOrder;
62(function (CommentSortOrder) {
63 /**
64 * The results will be sorted in Ascending order.
65 */
66 CommentSortOrder[CommentSortOrder["Asc"] = 1] = "Asc";
67 /**
68 * The results will be sorted in Descending order.
69 */
70 CommentSortOrder[CommentSortOrder["Desc"] = 2] = "Desc";
71})(CommentSortOrder = exports.CommentSortOrder || (exports.CommentSortOrder = {}));
72/**
73 * Enum for field types.
74 */
75var FieldType;
76(function (FieldType) {
77 /**
78 * String field type.
79 */
80 FieldType[FieldType["String"] = 0] = "String";
81 /**
82 * Integer field type.
83 */
84 FieldType[FieldType["Integer"] = 1] = "Integer";
85 /**
86 * Datetime field type.
87 */
88 FieldType[FieldType["DateTime"] = 2] = "DateTime";
89 /**
90 * Plain text field type.
91 */
92 FieldType[FieldType["PlainText"] = 3] = "PlainText";
93 /**
94 * HTML (Multiline) field type.
95 */
96 FieldType[FieldType["Html"] = 4] = "Html";
97 /**
98 * Treepath field type.
99 */
100 FieldType[FieldType["TreePath"] = 5] = "TreePath";
101 /**
102 * History field type.
103 */
104 FieldType[FieldType["History"] = 6] = "History";
105 /**
106 * Double field type.
107 */
108 FieldType[FieldType["Double"] = 7] = "Double";
109 /**
110 * Guid field type.
111 */
112 FieldType[FieldType["Guid"] = 8] = "Guid";
113 /**
114 * Boolean field type.
115 */
116 FieldType[FieldType["Boolean"] = 9] = "Boolean";
117 /**
118 * Identity field type.
119 */
120 FieldType[FieldType["Identity"] = 10] = "Identity";
121 /**
122 * String picklist field type. When creating a string picklist field from REST API, use "String" FieldType.
123 */
124 FieldType[FieldType["PicklistString"] = 11] = "PicklistString";
125 /**
126 * Integer picklist field type. When creating a integer picklist field from REST API, use "Integer" FieldType.
127 */
128 FieldType[FieldType["PicklistInteger"] = 12] = "PicklistInteger";
129 /**
130 * Double picklist field type. When creating a double picklist field from REST API, use "Double" FieldType.
131 */
132 FieldType[FieldType["PicklistDouble"] = 13] = "PicklistDouble";
133})(FieldType = exports.FieldType || (exports.FieldType = {}));
134/**
135 * Enum for field usages.
136 */
137var FieldUsage;
138(function (FieldUsage) {
139 /**
140 * Empty usage.
141 */
142 FieldUsage[FieldUsage["None"] = 0] = "None";
143 /**
144 * Work item field usage.
145 */
146 FieldUsage[FieldUsage["WorkItem"] = 1] = "WorkItem";
147 /**
148 * Work item link field usage.
149 */
150 FieldUsage[FieldUsage["WorkItemLink"] = 2] = "WorkItemLink";
151 /**
152 * Treenode field usage.
153 */
154 FieldUsage[FieldUsage["Tree"] = 3] = "Tree";
155 /**
156 * Work Item Type Extension usage.
157 */
158 FieldUsage[FieldUsage["WorkItemTypeExtension"] = 4] = "WorkItemTypeExtension";
159})(FieldUsage = exports.FieldUsage || (exports.FieldUsage = {}));
160/**
161 * Flag to expand types of fields.
162 */
163var GetFieldsExpand;
164(function (GetFieldsExpand) {
165 /**
166 * Default behavior.
167 */
168 GetFieldsExpand[GetFieldsExpand["None"] = 0] = "None";
169 /**
170 * Adds extension fields to the response.
171 */
172 GetFieldsExpand[GetFieldsExpand["ExtensionFields"] = 1] = "ExtensionFields";
173 /**
174 * Includes fields that have been deleted.
175 */
176 GetFieldsExpand[GetFieldsExpand["IncludeDeleted"] = 2] = "IncludeDeleted";
177})(GetFieldsExpand = exports.GetFieldsExpand || (exports.GetFieldsExpand = {}));
178/**
179 * The link query mode which determines the behavior of the query.
180 */
181var LinkQueryMode;
182(function (LinkQueryMode) {
183 /**
184 * Returns flat list of work items.
185 */
186 LinkQueryMode[LinkQueryMode["WorkItems"] = 0] = "WorkItems";
187 /**
188 * Returns work items where the source, target, and link criteria are all satisfied.
189 */
190 LinkQueryMode[LinkQueryMode["LinksOneHopMustContain"] = 1] = "LinksOneHopMustContain";
191 /**
192 * Returns work items that satisfy the source and link criteria, even if no linked work item satisfies the target criteria.
193 */
194 LinkQueryMode[LinkQueryMode["LinksOneHopMayContain"] = 2] = "LinksOneHopMayContain";
195 /**
196 * Returns work items that satisfy the source, only if no linked work item satisfies the link and target criteria.
197 */
198 LinkQueryMode[LinkQueryMode["LinksOneHopDoesNotContain"] = 3] = "LinksOneHopDoesNotContain";
199 LinkQueryMode[LinkQueryMode["LinksRecursiveMustContain"] = 4] = "LinksRecursiveMustContain";
200 /**
201 * Returns work items a hierarchy of work items that by default satisfy the source
202 */
203 LinkQueryMode[LinkQueryMode["LinksRecursiveMayContain"] = 5] = "LinksRecursiveMayContain";
204 LinkQueryMode[LinkQueryMode["LinksRecursiveDoesNotContain"] = 6] = "LinksRecursiveDoesNotContain";
205})(LinkQueryMode = exports.LinkQueryMode || (exports.LinkQueryMode = {}));
206var LogicalOperation;
207(function (LogicalOperation) {
208 LogicalOperation[LogicalOperation["NONE"] = 0] = "NONE";
209 LogicalOperation[LogicalOperation["AND"] = 1] = "AND";
210 LogicalOperation[LogicalOperation["OR"] = 2] = "OR";
211})(LogicalOperation = exports.LogicalOperation || (exports.LogicalOperation = {}));
212/**
213 * Enumerates the possible provisioning actions that can be triggered on process template update.
214 */
215var ProvisioningActionType;
216(function (ProvisioningActionType) {
217 ProvisioningActionType[ProvisioningActionType["Import"] = 0] = "Import";
218 ProvisioningActionType[ProvisioningActionType["Validate"] = 1] = "Validate";
219})(ProvisioningActionType = exports.ProvisioningActionType || (exports.ProvisioningActionType = {}));
220/**
221 * Enum to control error policy in a query batch request.
222 */
223var QueryErrorPolicy;
224(function (QueryErrorPolicy) {
225 QueryErrorPolicy[QueryErrorPolicy["Fail"] = 1] = "Fail";
226 QueryErrorPolicy[QueryErrorPolicy["Omit"] = 2] = "Omit";
227})(QueryErrorPolicy = exports.QueryErrorPolicy || (exports.QueryErrorPolicy = {}));
228/**
229 * Determines which set of additional query properties to display
230 */
231var QueryExpand;
232(function (QueryExpand) {
233 /**
234 * Expands Columns, Links and ChangeInfo
235 */
236 QueryExpand[QueryExpand["None"] = 0] = "None";
237 /**
238 * Expands Columns, Links, ChangeInfo and WIQL text
239 */
240 QueryExpand[QueryExpand["Wiql"] = 1] = "Wiql";
241 /**
242 * Expands Columns, Links, ChangeInfo, WIQL text and clauses
243 */
244 QueryExpand[QueryExpand["Clauses"] = 2] = "Clauses";
245 /**
246 * Expands all properties
247 */
248 QueryExpand[QueryExpand["All"] = 3] = "All";
249 /**
250 * Displays minimal properties and the WIQL text
251 */
252 QueryExpand[QueryExpand["Minimal"] = 4] = "Minimal";
253})(QueryExpand = exports.QueryExpand || (exports.QueryExpand = {}));
254var QueryOption;
255(function (QueryOption) {
256 QueryOption[QueryOption["Doing"] = 1] = "Doing";
257 QueryOption[QueryOption["Done"] = 2] = "Done";
258 QueryOption[QueryOption["Followed"] = 3] = "Followed";
259})(QueryOption = exports.QueryOption || (exports.QueryOption = {}));
260/**
261 * Determines whether a tree query matches parents or children first.
262 */
263var QueryRecursionOption;
264(function (QueryRecursionOption) {
265 /**
266 * Returns work items that satisfy the source, even if no linked work item satisfies the target and link criteria.
267 */
268 QueryRecursionOption[QueryRecursionOption["ParentFirst"] = 0] = "ParentFirst";
269 /**
270 * Returns work items that satisfy the target criteria, even if no work item satisfies the source and link criteria.
271 */
272 QueryRecursionOption[QueryRecursionOption["ChildFirst"] = 1] = "ChildFirst";
273})(QueryRecursionOption = exports.QueryRecursionOption || (exports.QueryRecursionOption = {}));
274/**
275 * The query result type
276 */
277var QueryResultType;
278(function (QueryResultType) {
279 /**
280 * A list of work items (for flat queries).
281 */
282 QueryResultType[QueryResultType["WorkItem"] = 1] = "WorkItem";
283 /**
284 * A list of work item links (for OneHop and Tree queries).
285 */
286 QueryResultType[QueryResultType["WorkItemLink"] = 2] = "WorkItemLink";
287})(QueryResultType = exports.QueryResultType || (exports.QueryResultType = {}));
288/**
289 * The type of query.
290 */
291var QueryType;
292(function (QueryType) {
293 /**
294 * Gets a flat list of work items.
295 */
296 QueryType[QueryType["Flat"] = 1] = "Flat";
297 /**
298 * Gets a tree of work items showing their link hierarchy.
299 */
300 QueryType[QueryType["Tree"] = 2] = "Tree";
301 /**
302 * Gets a list of work items and their direct links.
303 */
304 QueryType[QueryType["OneHop"] = 3] = "OneHop";
305})(QueryType = exports.QueryType || (exports.QueryType = {}));
306/**
307 * The reporting revision expand level.
308 */
309var ReportingRevisionsExpand;
310(function (ReportingRevisionsExpand) {
311 /**
312 * Default behavior.
313 */
314 ReportingRevisionsExpand[ReportingRevisionsExpand["None"] = 0] = "None";
315 /**
316 * Add fields to the response.
317 */
318 ReportingRevisionsExpand[ReportingRevisionsExpand["Fields"] = 1] = "Fields";
319})(ReportingRevisionsExpand = exports.ReportingRevisionsExpand || (exports.ReportingRevisionsExpand = {}));
320/**
321 * Enumerates types of supported xml templates used for customization.
322 */
323var TemplateType;
324(function (TemplateType) {
325 TemplateType[TemplateType["WorkItemType"] = 0] = "WorkItemType";
326 TemplateType[TemplateType["GlobalWorkflow"] = 1] = "GlobalWorkflow";
327})(TemplateType = exports.TemplateType || (exports.TemplateType = {}));
328/**
329 * Types of tree node structures.
330 */
331var TreeNodeStructureType;
332(function (TreeNodeStructureType) {
333 /**
334 * Area type.
335 */
336 TreeNodeStructureType[TreeNodeStructureType["Area"] = 0] = "Area";
337 /**
338 * Iteration type.
339 */
340 TreeNodeStructureType[TreeNodeStructureType["Iteration"] = 1] = "Iteration";
341})(TreeNodeStructureType = exports.TreeNodeStructureType || (exports.TreeNodeStructureType = {}));
342/**
343 * Types of tree structures groups.
344 */
345var TreeStructureGroup;
346(function (TreeStructureGroup) {
347 TreeStructureGroup[TreeStructureGroup["Areas"] = 0] = "Areas";
348 TreeStructureGroup[TreeStructureGroup["Iterations"] = 1] = "Iterations";
349})(TreeStructureGroup = exports.TreeStructureGroup || (exports.TreeStructureGroup = {}));
350/**
351 * Enum to control error policy in a bulk get work items request.
352 */
353var WorkItemErrorPolicy;
354(function (WorkItemErrorPolicy) {
355 /**
356 * Fail work error policy.
357 */
358 WorkItemErrorPolicy[WorkItemErrorPolicy["Fail"] = 1] = "Fail";
359 /**
360 * Omit work error policy.
361 */
362 WorkItemErrorPolicy[WorkItemErrorPolicy["Omit"] = 2] = "Omit";
363})(WorkItemErrorPolicy = exports.WorkItemErrorPolicy || (exports.WorkItemErrorPolicy = {}));
364/**
365 * Flag to control payload properties from get work item command.
366 */
367var WorkItemExpand;
368(function (WorkItemExpand) {
369 /**
370 * Default behavior.
371 */
372 WorkItemExpand[WorkItemExpand["None"] = 0] = "None";
373 /**
374 * Relations work item expand.
375 */
376 WorkItemExpand[WorkItemExpand["Relations"] = 1] = "Relations";
377 /**
378 * Fields work item expand.
379 */
380 WorkItemExpand[WorkItemExpand["Fields"] = 2] = "Fields";
381 /**
382 * Links work item expand.
383 */
384 WorkItemExpand[WorkItemExpand["Links"] = 3] = "Links";
385 /**
386 * Expands all.
387 */
388 WorkItemExpand[WorkItemExpand["All"] = 4] = "All";
389})(WorkItemExpand = exports.WorkItemExpand || (exports.WorkItemExpand = {}));
390/**
391 * Type of the activity
392 */
393var WorkItemRecentActivityType;
394(function (WorkItemRecentActivityType) {
395 WorkItemRecentActivityType[WorkItemRecentActivityType["Visited"] = 0] = "Visited";
396 WorkItemRecentActivityType[WorkItemRecentActivityType["Edited"] = 1] = "Edited";
397 WorkItemRecentActivityType[WorkItemRecentActivityType["Deleted"] = 2] = "Deleted";
398 WorkItemRecentActivityType[WorkItemRecentActivityType["Restored"] = 3] = "Restored";
399})(WorkItemRecentActivityType = exports.WorkItemRecentActivityType || (exports.WorkItemRecentActivityType = {}));
400/**
401 * Expand options for the work item field(s) request.
402 */
403var WorkItemTypeFieldsExpandLevel;
404(function (WorkItemTypeFieldsExpandLevel) {
405 /**
406 * Includes only basic properties of the field.
407 */
408 WorkItemTypeFieldsExpandLevel[WorkItemTypeFieldsExpandLevel["None"] = 0] = "None";
409 /**
410 * Includes allowed values for the field.
411 */
412 WorkItemTypeFieldsExpandLevel[WorkItemTypeFieldsExpandLevel["AllowedValues"] = 1] = "AllowedValues";
413 /**
414 * Includes dependent fields of the field.
415 */
416 WorkItemTypeFieldsExpandLevel[WorkItemTypeFieldsExpandLevel["DependentFields"] = 2] = "DependentFields";
417 /**
418 * Includes allowed values and dependent fields of the field.
419 */
420 WorkItemTypeFieldsExpandLevel[WorkItemTypeFieldsExpandLevel["All"] = 3] = "All";
421})(WorkItemTypeFieldsExpandLevel = exports.WorkItemTypeFieldsExpandLevel || (exports.WorkItemTypeFieldsExpandLevel = {}));
422exports.TypeInfo = {
423 AccountMyWorkResult: {},
424 AccountRecentActivityWorkItemModel: {},
425 AccountRecentActivityWorkItemModel2: {},
426 AccountRecentActivityWorkItemModelBase: {},
427 AccountRecentMentionWorkItemModel: {},
428 AccountWorkWorkItemModel: {},
429 ClassificationNodesErrorPolicy: {
430 enumValues: {
431 "fail": 1,
432 "omit": 2
433 }
434 },
435 Comment: {},
436 CommentExpandOptions: {
437 enumValues: {
438 "none": 0,
439 "reactions": 1,
440 "renderedText": 8,
441 "renderedTextOnly": 16,
442 "all": -17
443 }
444 },
445 CommentFormat: {
446 enumValues: {
447 "markdown": 0,
448 "html": 1
449 }
450 },
451 CommentList: {},
452 CommentReaction: {},
453 CommentReactionType: {
454 enumValues: {
455 "like": 0,
456 "dislike": 1,
457 "heart": 2,
458 "hooray": 3,
459 "smile": 4,
460 "confused": 5
461 }
462 },
463 CommentSortOrder: {
464 enumValues: {
465 "asc": 1,
466 "desc": 2
467 }
468 },
469 CommentVersion: {},
470 ExternalDeployment: {},
471 FieldType: {
472 enumValues: {
473 "string": 0,
474 "integer": 1,
475 "dateTime": 2,
476 "plainText": 3,
477 "html": 4,
478 "treePath": 5,
479 "history": 6,
480 "double": 7,
481 "guid": 8,
482 "boolean": 9,
483 "identity": 10,
484 "picklistString": 11,
485 "picklistInteger": 12,
486 "picklistDouble": 13
487 }
488 },
489 FieldUsage: {
490 enumValues: {
491 "none": 0,
492 "workItem": 1,
493 "workItemLink": 2,
494 "tree": 3,
495 "workItemTypeExtension": 4
496 }
497 },
498 GetFieldsExpand: {
499 enumValues: {
500 "none": 0,
501 "extensionFields": 1,
502 "includeDeleted": 2
503 }
504 },
505 LinkQueryMode: {
506 enumValues: {
507 "workItems": 0,
508 "linksOneHopMustContain": 1,
509 "linksOneHopMayContain": 2,
510 "linksOneHopDoesNotContain": 3,
511 "linksRecursiveMustContain": 4,
512 "linksRecursiveMayContain": 5,
513 "linksRecursiveDoesNotContain": 6
514 }
515 },
516 LogicalOperation: {
517 enumValues: {
518 "none": 0,
519 "and": 1,
520 "or": 2
521 }
522 },
523 ProvisioningActionType: {
524 enumValues: {
525 "import": 0,
526 "validate": 1
527 }
528 },
529 QueryBatchGetRequest: {},
530 QueryErrorPolicy: {
531 enumValues: {
532 "fail": 1,
533 "omit": 2
534 }
535 },
536 QueryExpand: {
537 enumValues: {
538 "none": 0,
539 "wiql": 1,
540 "clauses": 2,
541 "all": 3,
542 "minimal": 4
543 }
544 },
545 QueryHierarchyItem: {},
546 QueryHierarchyItemsResult: {},
547 QueryOption: {
548 enumValues: {
549 "doing": 1,
550 "done": 2,
551 "followed": 3
552 }
553 },
554 QueryRecursionOption: {
555 enumValues: {
556 "parentFirst": 0,
557 "childFirst": 1
558 }
559 },
560 QueryResultType: {
561 enumValues: {
562 "workItem": 1,
563 "workItemLink": 2
564 }
565 },
566 QueryType: {
567 enumValues: {
568 "flat": 1,
569 "tree": 2,
570 "oneHop": 3
571 }
572 },
573 ReportingRevisionsExpand: {
574 enumValues: {
575 "none": 0,
576 "fields": 1
577 }
578 },
579 TemplateType: {
580 enumValues: {
581 "workItemType": 0,
582 "globalWorkflow": 1
583 }
584 },
585 TreeNodeStructureType: {
586 enumValues: {
587 "area": 0,
588 "iteration": 1
589 }
590 },
591 TreeStructureGroup: {
592 enumValues: {
593 "areas": 0,
594 "iterations": 1
595 }
596 },
597 WorkItemBatchGetRequest: {},
598 WorkItemClassificationNode: {},
599 WorkItemComment: {},
600 WorkItemComments: {},
601 WorkItemErrorPolicy: {
602 enumValues: {
603 "fail": 1,
604 "omit": 2
605 }
606 },
607 WorkItemExpand: {
608 enumValues: {
609 "none": 0,
610 "relations": 1,
611 "fields": 2,
612 "links": 3,
613 "all": 4
614 }
615 },
616 WorkItemField: {},
617 WorkItemField2: {},
618 WorkItemHistory: {},
619 WorkItemQueryClause: {},
620 WorkItemQueryResult: {},
621 WorkItemRecentActivityType: {
622 enumValues: {
623 "visited": 0,
624 "edited": 1,
625 "deleted": 2,
626 "restored": 3
627 }
628 },
629 WorkItemTagDefinition: {},
630 WorkItemTypeFieldsExpandLevel: {
631 enumValues: {
632 "none": 0,
633 "allowedValues": 1,
634 "dependentFields": 2,
635 "all": 3
636 }
637 },
638 WorkItemTypeTemplateUpdateModel: {},
639 WorkItemUpdate: {},
640};
641exports.TypeInfo.AccountMyWorkResult.fields = {
642 workItemDetails: {
643 isArray: true,
644 typeInfo: exports.TypeInfo.AccountWorkWorkItemModel
645 }
646};
647exports.TypeInfo.AccountRecentActivityWorkItemModel.fields = {
648 activityDate: {
649 isDate: true,
650 },
651 activityType: {
652 enumType: exports.TypeInfo.WorkItemRecentActivityType
653 },
654 changedDate: {
655 isDate: true,
656 }
657};
658exports.TypeInfo.AccountRecentActivityWorkItemModel2.fields = {
659 activityDate: {
660 isDate: true,
661 },
662 activityType: {
663 enumType: exports.TypeInfo.WorkItemRecentActivityType
664 },
665 changedDate: {
666 isDate: true,
667 }
668};
669exports.TypeInfo.AccountRecentActivityWorkItemModelBase.fields = {
670 activityDate: {
671 isDate: true,
672 },
673 activityType: {
674 enumType: exports.TypeInfo.WorkItemRecentActivityType
675 },
676 changedDate: {
677 isDate: true,
678 }
679};
680exports.TypeInfo.AccountRecentMentionWorkItemModel.fields = {
681 mentionedDateField: {
682 isDate: true,
683 }
684};
685exports.TypeInfo.AccountWorkWorkItemModel.fields = {
686 changedDate: {
687 isDate: true,
688 }
689};
690exports.TypeInfo.Comment.fields = {
691 createdDate: {
692 isDate: true,
693 },
694 createdOnBehalfDate: {
695 isDate: true,
696 },
697 format: {
698 enumType: exports.TypeInfo.CommentFormat
699 },
700 modifiedDate: {
701 isDate: true,
702 },
703 reactions: {
704 isArray: true,
705 typeInfo: exports.TypeInfo.CommentReaction
706 }
707};
708exports.TypeInfo.CommentList.fields = {
709 comments: {
710 isArray: true,
711 typeInfo: exports.TypeInfo.Comment
712 }
713};
714exports.TypeInfo.CommentReaction.fields = {
715 type: {
716 enumType: exports.TypeInfo.CommentReactionType
717 }
718};
719exports.TypeInfo.CommentVersion.fields = {
720 createdDate: {
721 isDate: true,
722 },
723 createdOnBehalfDate: {
724 isDate: true,
725 },
726 modifiedDate: {
727 isDate: true,
728 }
729};
730exports.TypeInfo.ExternalDeployment.fields = {
731 statusDate: {
732 isDate: true,
733 }
734};
735exports.TypeInfo.QueryBatchGetRequest.fields = {
736 $expand: {
737 enumType: exports.TypeInfo.QueryExpand
738 },
739 errorPolicy: {
740 enumType: exports.TypeInfo.QueryErrorPolicy
741 }
742};
743exports.TypeInfo.QueryHierarchyItem.fields = {
744 children: {
745 isArray: true,
746 typeInfo: exports.TypeInfo.QueryHierarchyItem
747 },
748 clauses: {
749 typeInfo: exports.TypeInfo.WorkItemQueryClause
750 },
751 createdDate: {
752 isDate: true,
753 },
754 filterOptions: {
755 enumType: exports.TypeInfo.LinkQueryMode
756 },
757 lastExecutedDate: {
758 isDate: true,
759 },
760 lastModifiedDate: {
761 isDate: true,
762 },
763 linkClauses: {
764 typeInfo: exports.TypeInfo.WorkItemQueryClause
765 },
766 queryRecursionOption: {
767 enumType: exports.TypeInfo.QueryRecursionOption
768 },
769 queryType: {
770 enumType: exports.TypeInfo.QueryType
771 },
772 sourceClauses: {
773 typeInfo: exports.TypeInfo.WorkItemQueryClause
774 },
775 targetClauses: {
776 typeInfo: exports.TypeInfo.WorkItemQueryClause
777 }
778};
779exports.TypeInfo.QueryHierarchyItemsResult.fields = {
780 value: {
781 isArray: true,
782 typeInfo: exports.TypeInfo.QueryHierarchyItem
783 }
784};
785exports.TypeInfo.WorkItemBatchGetRequest.fields = {
786 $expand: {
787 enumType: exports.TypeInfo.WorkItemExpand
788 },
789 asOf: {
790 isDate: true,
791 },
792 errorPolicy: {
793 enumType: exports.TypeInfo.WorkItemErrorPolicy
794 }
795};
796exports.TypeInfo.WorkItemClassificationNode.fields = {
797 children: {
798 isArray: true,
799 typeInfo: exports.TypeInfo.WorkItemClassificationNode
800 },
801 structureType: {
802 enumType: exports.TypeInfo.TreeNodeStructureType
803 }
804};
805exports.TypeInfo.WorkItemComment.fields = {
806 format: {
807 enumType: exports.TypeInfo.CommentFormat
808 },
809 revisedDate: {
810 isDate: true,
811 }
812};
813exports.TypeInfo.WorkItemComments.fields = {
814 comments: {
815 isArray: true,
816 typeInfo: exports.TypeInfo.WorkItemComment
817 }
818};
819exports.TypeInfo.WorkItemField.fields = {
820 type: {
821 enumType: exports.TypeInfo.FieldType
822 },
823 usage: {
824 enumType: exports.TypeInfo.FieldUsage
825 }
826};
827exports.TypeInfo.WorkItemField2.fields = {
828 type: {
829 enumType: exports.TypeInfo.FieldType
830 },
831 usage: {
832 enumType: exports.TypeInfo.FieldUsage
833 }
834};
835exports.TypeInfo.WorkItemHistory.fields = {
836 revisedDate: {
837 isDate: true,
838 }
839};
840exports.TypeInfo.WorkItemQueryClause.fields = {
841 clauses: {
842 isArray: true,
843 typeInfo: exports.TypeInfo.WorkItemQueryClause
844 },
845 logicalOperator: {
846 enumType: exports.TypeInfo.LogicalOperation
847 }
848};
849exports.TypeInfo.WorkItemQueryResult.fields = {
850 asOf: {
851 isDate: true,
852 },
853 queryResultType: {
854 enumType: exports.TypeInfo.QueryResultType
855 },
856 queryType: {
857 enumType: exports.TypeInfo.QueryType
858 }
859};
860exports.TypeInfo.WorkItemTagDefinition.fields = {
861 lastUpdated: {
862 isDate: true,
863 }
864};
865exports.TypeInfo.WorkItemTypeTemplateUpdateModel.fields = {
866 actionType: {
867 enumType: exports.TypeInfo.ProvisioningActionType
868 },
869 templateType: {
870 enumType: exports.TypeInfo.TemplateType
871 }
872};
873exports.TypeInfo.WorkItemUpdate.fields = {
874 revisedDate: {
875 isDate: true,
876 }
877};