UNPKG

35.4 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.SubscriptionTemplateType = exports.SubscriptionTemplateQueryFlags = exports.SubscriptionStatus = exports.SubscriptionQueryFlags = exports.SubscriptionPermissions = exports.SubscriptionFlags = exports.SubscriptionFieldType = exports.SubscriberFlags = exports.NotificationSubscriberDeliveryPreference = exports.NotificationStatisticType = exports.NotificationReasonType = exports.NotificationOperation = exports.EventTypeQueryFlags = exports.EventPublisherQueryFlags = exports.EvaluationOperationStatus = exports.DefaultGroupDeliveryPreference = void 0;
13/**
14 * Default delivery preference for group subscribers. Indicates how the subscriber should be notified.
15 */
16var DefaultGroupDeliveryPreference;
17(function (DefaultGroupDeliveryPreference) {
18 /**
19 * Do not send notifications by default. Note: notifications can still be delivered to subscribers, for example via a custom subscription.
20 */
21 DefaultGroupDeliveryPreference[DefaultGroupDeliveryPreference["NoDelivery"] = -1] = "NoDelivery";
22 /**
23 * Deliver notifications to each member of the group representing the subscriber. Only applicable when the subscriber is a group.
24 */
25 DefaultGroupDeliveryPreference[DefaultGroupDeliveryPreference["EachMember"] = 2] = "EachMember";
26})(DefaultGroupDeliveryPreference = exports.DefaultGroupDeliveryPreference || (exports.DefaultGroupDeliveryPreference = {}));
27/**
28 * Describes the subscription evaluation operation status.
29 */
30var EvaluationOperationStatus;
31(function (EvaluationOperationStatus) {
32 /**
33 * The operation object does not have the status set.
34 */
35 EvaluationOperationStatus[EvaluationOperationStatus["NotSet"] = 0] = "NotSet";
36 /**
37 * The operation has been queued.
38 */
39 EvaluationOperationStatus[EvaluationOperationStatus["Queued"] = 1] = "Queued";
40 /**
41 * The operation is in progress.
42 */
43 EvaluationOperationStatus[EvaluationOperationStatus["InProgress"] = 2] = "InProgress";
44 /**
45 * The operation was cancelled by the user.
46 */
47 EvaluationOperationStatus[EvaluationOperationStatus["Cancelled"] = 3] = "Cancelled";
48 /**
49 * The operation completed successfully.
50 */
51 EvaluationOperationStatus[EvaluationOperationStatus["Succeeded"] = 4] = "Succeeded";
52 /**
53 * The operation completed with a failure.
54 */
55 EvaluationOperationStatus[EvaluationOperationStatus["Failed"] = 5] = "Failed";
56 /**
57 * The operation timed out.
58 */
59 EvaluationOperationStatus[EvaluationOperationStatus["TimedOut"] = 6] = "TimedOut";
60 /**
61 * The operation could not be found.
62 */
63 EvaluationOperationStatus[EvaluationOperationStatus["NotFound"] = 7] = "NotFound";
64})(EvaluationOperationStatus = exports.EvaluationOperationStatus || (exports.EvaluationOperationStatus = {}));
65/**
66 * Set of flags used to determine which set of information is retrieved when querying for event publishers
67 */
68var EventPublisherQueryFlags;
69(function (EventPublisherQueryFlags) {
70 EventPublisherQueryFlags[EventPublisherQueryFlags["None"] = 0] = "None";
71 /**
72 * Include event types from the remote services too
73 */
74 EventPublisherQueryFlags[EventPublisherQueryFlags["IncludeRemoteServices"] = 2] = "IncludeRemoteServices";
75})(EventPublisherQueryFlags = exports.EventPublisherQueryFlags || (exports.EventPublisherQueryFlags = {}));
76/**
77 * Set of flags used to determine which set of information is retrieved when querying for eventtypes
78 */
79var EventTypeQueryFlags;
80(function (EventTypeQueryFlags) {
81 EventTypeQueryFlags[EventTypeQueryFlags["None"] = 0] = "None";
82 /**
83 * IncludeFields will include all fields and their types
84 */
85 EventTypeQueryFlags[EventTypeQueryFlags["IncludeFields"] = 1] = "IncludeFields";
86})(EventTypeQueryFlags = exports.EventTypeQueryFlags || (exports.EventTypeQueryFlags = {}));
87var NotificationOperation;
88(function (NotificationOperation) {
89 NotificationOperation[NotificationOperation["None"] = 0] = "None";
90 NotificationOperation[NotificationOperation["SuspendUnprocessed"] = 1] = "SuspendUnprocessed";
91})(NotificationOperation = exports.NotificationOperation || (exports.NotificationOperation = {}));
92var NotificationReasonType;
93(function (NotificationReasonType) {
94 NotificationReasonType[NotificationReasonType["Unknown"] = 0] = "Unknown";
95 NotificationReasonType[NotificationReasonType["Follows"] = 1] = "Follows";
96 NotificationReasonType[NotificationReasonType["Personal"] = 2] = "Personal";
97 NotificationReasonType[NotificationReasonType["PersonalAlias"] = 3] = "PersonalAlias";
98 NotificationReasonType[NotificationReasonType["DirectMember"] = 4] = "DirectMember";
99 NotificationReasonType[NotificationReasonType["IndirectMember"] = 5] = "IndirectMember";
100 NotificationReasonType[NotificationReasonType["GroupAlias"] = 6] = "GroupAlias";
101 NotificationReasonType[NotificationReasonType["SubscriptionAlias"] = 7] = "SubscriptionAlias";
102 NotificationReasonType[NotificationReasonType["SingleRole"] = 8] = "SingleRole";
103 NotificationReasonType[NotificationReasonType["DirectMemberGroupRole"] = 9] = "DirectMemberGroupRole";
104 NotificationReasonType[NotificationReasonType["InDirectMemberGroupRole"] = 10] = "InDirectMemberGroupRole";
105 NotificationReasonType[NotificationReasonType["AliasMemberGroupRole"] = 11] = "AliasMemberGroupRole";
106})(NotificationReasonType = exports.NotificationReasonType || (exports.NotificationReasonType = {}));
107var NotificationStatisticType;
108(function (NotificationStatisticType) {
109 NotificationStatisticType[NotificationStatisticType["NotificationBySubscription"] = 0] = "NotificationBySubscription";
110 NotificationStatisticType[NotificationStatisticType["EventsByEventType"] = 1] = "EventsByEventType";
111 NotificationStatisticType[NotificationStatisticType["NotificationByEventType"] = 2] = "NotificationByEventType";
112 NotificationStatisticType[NotificationStatisticType["EventsByEventTypePerUser"] = 3] = "EventsByEventTypePerUser";
113 NotificationStatisticType[NotificationStatisticType["NotificationByEventTypePerUser"] = 4] = "NotificationByEventTypePerUser";
114 NotificationStatisticType[NotificationStatisticType["Events"] = 5] = "Events";
115 NotificationStatisticType[NotificationStatisticType["Notifications"] = 6] = "Notifications";
116 NotificationStatisticType[NotificationStatisticType["NotificationFailureBySubscription"] = 7] = "NotificationFailureBySubscription";
117 NotificationStatisticType[NotificationStatisticType["UnprocessedRangeStart"] = 100] = "UnprocessedRangeStart";
118 NotificationStatisticType[NotificationStatisticType["UnprocessedEventsByPublisher"] = 101] = "UnprocessedEventsByPublisher";
119 NotificationStatisticType[NotificationStatisticType["UnprocessedEventDelayByPublisher"] = 102] = "UnprocessedEventDelayByPublisher";
120 NotificationStatisticType[NotificationStatisticType["UnprocessedNotificationsByChannelByPublisher"] = 103] = "UnprocessedNotificationsByChannelByPublisher";
121 NotificationStatisticType[NotificationStatisticType["UnprocessedNotificationDelayByChannelByPublisher"] = 104] = "UnprocessedNotificationDelayByChannelByPublisher";
122 NotificationStatisticType[NotificationStatisticType["DelayRangeStart"] = 200] = "DelayRangeStart";
123 NotificationStatisticType[NotificationStatisticType["TotalPipelineTime"] = 201] = "TotalPipelineTime";
124 NotificationStatisticType[NotificationStatisticType["NotificationPipelineTime"] = 202] = "NotificationPipelineTime";
125 NotificationStatisticType[NotificationStatisticType["EventPipelineTime"] = 203] = "EventPipelineTime";
126 NotificationStatisticType[NotificationStatisticType["HourlyRangeStart"] = 1000] = "HourlyRangeStart";
127 NotificationStatisticType[NotificationStatisticType["HourlyNotificationBySubscription"] = 1001] = "HourlyNotificationBySubscription";
128 NotificationStatisticType[NotificationStatisticType["HourlyEventsByEventTypePerUser"] = 1002] = "HourlyEventsByEventTypePerUser";
129 NotificationStatisticType[NotificationStatisticType["HourlyEvents"] = 1003] = "HourlyEvents";
130 NotificationStatisticType[NotificationStatisticType["HourlyNotifications"] = 1004] = "HourlyNotifications";
131 NotificationStatisticType[NotificationStatisticType["HourlyUnprocessedEventsByPublisher"] = 1101] = "HourlyUnprocessedEventsByPublisher";
132 NotificationStatisticType[NotificationStatisticType["HourlyUnprocessedEventDelayByPublisher"] = 1102] = "HourlyUnprocessedEventDelayByPublisher";
133 NotificationStatisticType[NotificationStatisticType["HourlyUnprocessedNotificationsByChannelByPublisher"] = 1103] = "HourlyUnprocessedNotificationsByChannelByPublisher";
134 NotificationStatisticType[NotificationStatisticType["HourlyUnprocessedNotificationDelayByChannelByPublisher"] = 1104] = "HourlyUnprocessedNotificationDelayByChannelByPublisher";
135 NotificationStatisticType[NotificationStatisticType["HourlyTotalPipelineTime"] = 1201] = "HourlyTotalPipelineTime";
136 NotificationStatisticType[NotificationStatisticType["HourlyNotificationPipelineTime"] = 1202] = "HourlyNotificationPipelineTime";
137 NotificationStatisticType[NotificationStatisticType["HourlyEventPipelineTime"] = 1203] = "HourlyEventPipelineTime";
138})(NotificationStatisticType = exports.NotificationStatisticType || (exports.NotificationStatisticType = {}));
139/**
140 * Delivery preference for a subscriber. Indicates how the subscriber should be notified.
141 */
142var NotificationSubscriberDeliveryPreference;
143(function (NotificationSubscriberDeliveryPreference) {
144 /**
145 * Do not send notifications by default. Note: notifications can still be delivered to this subscriber, for example via a custom subscription.
146 */
147 NotificationSubscriberDeliveryPreference[NotificationSubscriberDeliveryPreference["NoDelivery"] = -1] = "NoDelivery";
148 /**
149 * Deliver notifications to the subscriber's preferred email address.
150 */
151 NotificationSubscriberDeliveryPreference[NotificationSubscriberDeliveryPreference["PreferredEmailAddress"] = 1] = "PreferredEmailAddress";
152 /**
153 * Deliver notifications to each member of the group representing the subscriber. Only applicable when the subscriber is a group.
154 */
155 NotificationSubscriberDeliveryPreference[NotificationSubscriberDeliveryPreference["EachMember"] = 2] = "EachMember";
156 /**
157 * Use default
158 */
159 NotificationSubscriberDeliveryPreference[NotificationSubscriberDeliveryPreference["UseDefault"] = 3] = "UseDefault";
160})(NotificationSubscriberDeliveryPreference = exports.NotificationSubscriberDeliveryPreference || (exports.NotificationSubscriberDeliveryPreference = {}));
161var SubscriberFlags;
162(function (SubscriberFlags) {
163 SubscriberFlags[SubscriberFlags["None"] = 0] = "None";
164 /**
165 * Subscriber's delivery preferences could be updated
166 */
167 SubscriberFlags[SubscriberFlags["DeliveryPreferencesEditable"] = 2] = "DeliveryPreferencesEditable";
168 /**
169 * Subscriber's delivery preferences supports email delivery
170 */
171 SubscriberFlags[SubscriberFlags["SupportsPreferredEmailAddressDelivery"] = 4] = "SupportsPreferredEmailAddressDelivery";
172 /**
173 * Subscriber's delivery preferences supports individual members delivery(group expansion)
174 */
175 SubscriberFlags[SubscriberFlags["SupportsEachMemberDelivery"] = 8] = "SupportsEachMemberDelivery";
176 /**
177 * Subscriber's delivery preferences supports no delivery
178 */
179 SubscriberFlags[SubscriberFlags["SupportsNoDelivery"] = 16] = "SupportsNoDelivery";
180 /**
181 * Subscriber is a user
182 */
183 SubscriberFlags[SubscriberFlags["IsUser"] = 32] = "IsUser";
184 /**
185 * Subscriber is a group
186 */
187 SubscriberFlags[SubscriberFlags["IsGroup"] = 64] = "IsGroup";
188 /**
189 * Subscriber is a team
190 */
191 SubscriberFlags[SubscriberFlags["IsTeam"] = 128] = "IsTeam";
192})(SubscriberFlags = exports.SubscriberFlags || (exports.SubscriberFlags = {}));
193var SubscriptionFieldType;
194(function (SubscriptionFieldType) {
195 SubscriptionFieldType[SubscriptionFieldType["String"] = 1] = "String";
196 SubscriptionFieldType[SubscriptionFieldType["Integer"] = 2] = "Integer";
197 SubscriptionFieldType[SubscriptionFieldType["DateTime"] = 3] = "DateTime";
198 SubscriptionFieldType[SubscriptionFieldType["PlainText"] = 5] = "PlainText";
199 SubscriptionFieldType[SubscriptionFieldType["Html"] = 7] = "Html";
200 SubscriptionFieldType[SubscriptionFieldType["TreePath"] = 8] = "TreePath";
201 SubscriptionFieldType[SubscriptionFieldType["History"] = 9] = "History";
202 SubscriptionFieldType[SubscriptionFieldType["Double"] = 10] = "Double";
203 SubscriptionFieldType[SubscriptionFieldType["Guid"] = 11] = "Guid";
204 SubscriptionFieldType[SubscriptionFieldType["Boolean"] = 12] = "Boolean";
205 SubscriptionFieldType[SubscriptionFieldType["Identity"] = 13] = "Identity";
206 SubscriptionFieldType[SubscriptionFieldType["PicklistInteger"] = 14] = "PicklistInteger";
207 SubscriptionFieldType[SubscriptionFieldType["PicklistString"] = 15] = "PicklistString";
208 SubscriptionFieldType[SubscriptionFieldType["PicklistDouble"] = 16] = "PicklistDouble";
209 SubscriptionFieldType[SubscriptionFieldType["TeamProject"] = 17] = "TeamProject";
210})(SubscriptionFieldType = exports.SubscriptionFieldType || (exports.SubscriptionFieldType = {}));
211/**
212 * Read-only indicators that further describe the subscription.
213 */
214var SubscriptionFlags;
215(function (SubscriptionFlags) {
216 /**
217 * None
218 */
219 SubscriptionFlags[SubscriptionFlags["None"] = 0] = "None";
220 /**
221 * Subscription's subscriber is a group, not a user
222 */
223 SubscriptionFlags[SubscriptionFlags["GroupSubscription"] = 1] = "GroupSubscription";
224 /**
225 * Subscription is contributed and not persisted. This means certain fields of the subscription, like Filter, are read-only.
226 */
227 SubscriptionFlags[SubscriptionFlags["ContributedSubscription"] = 2] = "ContributedSubscription";
228 /**
229 * A user that is member of the subscription's subscriber group can opt in/out of the subscription.
230 */
231 SubscriptionFlags[SubscriptionFlags["CanOptOut"] = 4] = "CanOptOut";
232 /**
233 * If the subscriber is a group, is it a team.
234 */
235 SubscriptionFlags[SubscriptionFlags["TeamSubscription"] = 8] = "TeamSubscription";
236 /**
237 * For role based subscriptions, there is an expectation that there will always be at least one actor that matches
238 */
239 SubscriptionFlags[SubscriptionFlags["OneActorMatches"] = 16] = "OneActorMatches";
240})(SubscriptionFlags = exports.SubscriptionFlags || (exports.SubscriptionFlags = {}));
241/**
242 * The permissions that a user has to a certain subscription
243 */
244var SubscriptionPermissions;
245(function (SubscriptionPermissions) {
246 /**
247 * None
248 */
249 SubscriptionPermissions[SubscriptionPermissions["None"] = 0] = "None";
250 /**
251 * full view of description, filters, etc. Not limited.
252 */
253 SubscriptionPermissions[SubscriptionPermissions["View"] = 1] = "View";
254 /**
255 * update subscription
256 */
257 SubscriptionPermissions[SubscriptionPermissions["Edit"] = 2] = "Edit";
258 /**
259 * delete subscription
260 */
261 SubscriptionPermissions[SubscriptionPermissions["Delete"] = 4] = "Delete";
262})(SubscriptionPermissions = exports.SubscriptionPermissions || (exports.SubscriptionPermissions = {}));
263/**
264 * Flags that influence the result set of a subscription query.
265 */
266var SubscriptionQueryFlags;
267(function (SubscriptionQueryFlags) {
268 SubscriptionQueryFlags[SubscriptionQueryFlags["None"] = 0] = "None";
269 /**
270 * Include subscriptions with invalid subscribers.
271 */
272 SubscriptionQueryFlags[SubscriptionQueryFlags["IncludeInvalidSubscriptions"] = 2] = "IncludeInvalidSubscriptions";
273 /**
274 * Include subscriptions marked for deletion.
275 */
276 SubscriptionQueryFlags[SubscriptionQueryFlags["IncludeDeletedSubscriptions"] = 4] = "IncludeDeletedSubscriptions";
277 /**
278 * Include the full filter details with each subscription.
279 */
280 SubscriptionQueryFlags[SubscriptionQueryFlags["IncludeFilterDetails"] = 8] = "IncludeFilterDetails";
281 /**
282 * For a subscription the caller does not have permission to view, return basic (non-confidential) information.
283 */
284 SubscriptionQueryFlags[SubscriptionQueryFlags["AlwaysReturnBasicInformation"] = 16] = "AlwaysReturnBasicInformation";
285 /**
286 * Include system subscriptions.
287 */
288 SubscriptionQueryFlags[SubscriptionQueryFlags["IncludeSystemSubscriptions"] = 32] = "IncludeSystemSubscriptions";
289})(SubscriptionQueryFlags = exports.SubscriptionQueryFlags || (exports.SubscriptionQueryFlags = {}));
290/**
291 * Subscription status values. A value greater than or equal to zero indicates the subscription is enabled. A negative value indicates the subscription is disabled.
292 */
293var SubscriptionStatus;
294(function (SubscriptionStatus) {
295 /**
296 * Subscription is disabled because it generated a high volume of notifications.
297 */
298 SubscriptionStatus[SubscriptionStatus["JailedByNotificationsVolume"] = -200] = "JailedByNotificationsVolume";
299 /**
300 * Subscription is disabled and will be deleted.
301 */
302 SubscriptionStatus[SubscriptionStatus["PendingDeletion"] = -100] = "PendingDeletion";
303 /**
304 * Subscription is disabled because of an Argument Exception while processing the subscription
305 */
306 SubscriptionStatus[SubscriptionStatus["DisabledArgumentException"] = -12] = "DisabledArgumentException";
307 /**
308 * Subscription is disabled because the project is invalid
309 */
310 SubscriptionStatus[SubscriptionStatus["DisabledProjectInvalid"] = -11] = "DisabledProjectInvalid";
311 /**
312 * Subscription is disabled because the identity does not have the appropriate permissions
313 */
314 SubscriptionStatus[SubscriptionStatus["DisabledMissingPermissions"] = -10] = "DisabledMissingPermissions";
315 /**
316 * Subscription is disabled service due to failures.
317 */
318 SubscriptionStatus[SubscriptionStatus["DisabledFromProbation"] = -9] = "DisabledFromProbation";
319 /**
320 * Subscription is disabled because the identity is no longer active
321 */
322 SubscriptionStatus[SubscriptionStatus["DisabledInactiveIdentity"] = -8] = "DisabledInactiveIdentity";
323 /**
324 * Subscription is disabled because message queue is not supported.
325 */
326 SubscriptionStatus[SubscriptionStatus["DisabledMessageQueueNotSupported"] = -7] = "DisabledMessageQueueNotSupported";
327 /**
328 * Subscription is disabled because its subscriber is unknown.
329 */
330 SubscriptionStatus[SubscriptionStatus["DisabledMissingIdentity"] = -6] = "DisabledMissingIdentity";
331 /**
332 * Subscription is disabled because it has an invalid role expression.
333 */
334 SubscriptionStatus[SubscriptionStatus["DisabledInvalidRoleExpression"] = -5] = "DisabledInvalidRoleExpression";
335 /**
336 * Subscription is disabled because it has an invalid filter expression.
337 */
338 SubscriptionStatus[SubscriptionStatus["DisabledInvalidPathClause"] = -4] = "DisabledInvalidPathClause";
339 /**
340 * Subscription is disabled because it is a duplicate of a default subscription.
341 */
342 SubscriptionStatus[SubscriptionStatus["DisabledAsDuplicateOfDefault"] = -3] = "DisabledAsDuplicateOfDefault";
343 /**
344 * Subscription is disabled by an administrator, not the subscription's subscriber.
345 */
346 SubscriptionStatus[SubscriptionStatus["DisabledByAdmin"] = -2] = "DisabledByAdmin";
347 /**
348 * Subscription is disabled, typically by the owner of the subscription, and will not produce any notifications.
349 */
350 SubscriptionStatus[SubscriptionStatus["Disabled"] = -1] = "Disabled";
351 /**
352 * Subscription is active.
353 */
354 SubscriptionStatus[SubscriptionStatus["Enabled"] = 0] = "Enabled";
355 /**
356 * Subscription is active, but is on probation due to failed deliveries or other issues with the subscription.
357 */
358 SubscriptionStatus[SubscriptionStatus["EnabledOnProbation"] = 1] = "EnabledOnProbation";
359})(SubscriptionStatus = exports.SubscriptionStatus || (exports.SubscriptionStatus = {}));
360/**
361 * Set of flags used to determine which set of templates is retrieved when querying for subscription templates
362 */
363var SubscriptionTemplateQueryFlags;
364(function (SubscriptionTemplateQueryFlags) {
365 SubscriptionTemplateQueryFlags[SubscriptionTemplateQueryFlags["None"] = 0] = "None";
366 /**
367 * Include user templates
368 */
369 SubscriptionTemplateQueryFlags[SubscriptionTemplateQueryFlags["IncludeUser"] = 1] = "IncludeUser";
370 /**
371 * Include group templates
372 */
373 SubscriptionTemplateQueryFlags[SubscriptionTemplateQueryFlags["IncludeGroup"] = 2] = "IncludeGroup";
374 /**
375 * Include user and group templates
376 */
377 SubscriptionTemplateQueryFlags[SubscriptionTemplateQueryFlags["IncludeUserAndGroup"] = 4] = "IncludeUserAndGroup";
378 /**
379 * Include the event type details like the fields and operators
380 */
381 SubscriptionTemplateQueryFlags[SubscriptionTemplateQueryFlags["IncludeEventTypeInformation"] = 22] = "IncludeEventTypeInformation";
382})(SubscriptionTemplateQueryFlags = exports.SubscriptionTemplateQueryFlags || (exports.SubscriptionTemplateQueryFlags = {}));
383var SubscriptionTemplateType;
384(function (SubscriptionTemplateType) {
385 SubscriptionTemplateType[SubscriptionTemplateType["User"] = 0] = "User";
386 SubscriptionTemplateType[SubscriptionTemplateType["Team"] = 1] = "Team";
387 SubscriptionTemplateType[SubscriptionTemplateType["Both"] = 2] = "Both";
388 SubscriptionTemplateType[SubscriptionTemplateType["None"] = 3] = "None";
389})(SubscriptionTemplateType = exports.SubscriptionTemplateType || (exports.SubscriptionTemplateType = {}));
390exports.TypeInfo = {
391 ActorNotificationReason: {},
392 BatchNotificationOperation: {},
393 DefaultGroupDeliveryPreference: {
394 enumValues: {
395 "noDelivery": -1,
396 "eachMember": 2
397 }
398 },
399 EvaluationOperationStatus: {
400 enumValues: {
401 "notSet": 0,
402 "queued": 1,
403 "inProgress": 2,
404 "cancelled": 3,
405 "succeeded": 4,
406 "failed": 5,
407 "timedOut": 6,
408 "notFound": 7
409 }
410 },
411 EventBacklogStatus: {},
412 EventProcessingLog: {},
413 EventPublisherQueryFlags: {
414 enumValues: {
415 "none": 0,
416 "includeRemoteServices": 2
417 }
418 },
419 EventTypeQueryFlags: {
420 enumValues: {
421 "none": 0,
422 "includeFields": 1
423 }
424 },
425 INotificationDiagnosticLog: {},
426 NotificationAdminSettings: {},
427 NotificationAdminSettingsUpdateParameters: {},
428 NotificationBacklogStatus: {},
429 NotificationDeliveryLog: {},
430 NotificationDiagnosticLog: {},
431 NotificationEventBacklogStatus: {},
432 NotificationEventField: {},
433 NotificationEventFieldType: {},
434 NotificationEventType: {},
435 NotificationJobDiagnosticLog: {},
436 NotificationOperation: {
437 enumValues: {
438 "none": 0,
439 "suspendUnprocessed": 1
440 }
441 },
442 NotificationReason: {},
443 NotificationReasonType: {
444 enumValues: {
445 "unknown": 0,
446 "follows": 1,
447 "personal": 2,
448 "personalAlias": 3,
449 "directMember": 4,
450 "indirectMember": 5,
451 "groupAlias": 6,
452 "subscriptionAlias": 7,
453 "singleRole": 8,
454 "directMemberGroupRole": 9,
455 "inDirectMemberGroupRole": 10,
456 "aliasMemberGroupRole": 11
457 }
458 },
459 NotificationStatistic: {},
460 NotificationStatisticsQuery: {},
461 NotificationStatisticsQueryConditions: {},
462 NotificationStatisticType: {
463 enumValues: {
464 "notificationBySubscription": 0,
465 "eventsByEventType": 1,
466 "notificationByEventType": 2,
467 "eventsByEventTypePerUser": 3,
468 "notificationByEventTypePerUser": 4,
469 "events": 5,
470 "notifications": 6,
471 "notificationFailureBySubscription": 7,
472 "unprocessedRangeStart": 100,
473 "unprocessedEventsByPublisher": 101,
474 "unprocessedEventDelayByPublisher": 102,
475 "unprocessedNotificationsByChannelByPublisher": 103,
476 "unprocessedNotificationDelayByChannelByPublisher": 104,
477 "delayRangeStart": 200,
478 "totalPipelineTime": 201,
479 "notificationPipelineTime": 202,
480 "eventPipelineTime": 203,
481 "hourlyRangeStart": 1000,
482 "hourlyNotificationBySubscription": 1001,
483 "hourlyEventsByEventTypePerUser": 1002,
484 "hourlyEvents": 1003,
485 "hourlyNotifications": 1004,
486 "hourlyUnprocessedEventsByPublisher": 1101,
487 "hourlyUnprocessedEventDelayByPublisher": 1102,
488 "hourlyUnprocessedNotificationsByChannelByPublisher": 1103,
489 "hourlyUnprocessedNotificationDelayByChannelByPublisher": 1104,
490 "hourlyTotalPipelineTime": 1201,
491 "hourlyNotificationPipelineTime": 1202,
492 "hourlyEventPipelineTime": 1203
493 }
494 },
495 NotificationSubscriber: {},
496 NotificationSubscriberDeliveryPreference: {
497 enumValues: {
498 "noDelivery": -1,
499 "preferredEmailAddress": 1,
500 "eachMember": 2,
501 "useDefault": 3
502 }
503 },
504 NotificationSubscriberUpdateParameters: {},
505 NotificationSubscription: {},
506 NotificationSubscriptionTemplate: {},
507 NotificationSubscriptionUpdateParameters: {},
508 SubscriberFlags: {
509 enumValues: {
510 "none": 0,
511 "deliveryPreferencesEditable": 2,
512 "supportsPreferredEmailAddressDelivery": 4,
513 "supportsEachMemberDelivery": 8,
514 "supportsNoDelivery": 16,
515 "isUser": 32,
516 "isGroup": 64,
517 "isTeam": 128
518 }
519 },
520 SubscriptionDiagnostics: {},
521 SubscriptionEvaluationRequest: {},
522 SubscriptionEvaluationResult: {},
523 SubscriptionFieldType: {
524 enumValues: {
525 "string": 1,
526 "integer": 2,
527 "dateTime": 3,
528 "plainText": 5,
529 "html": 7,
530 "treePath": 8,
531 "history": 9,
532 "double": 10,
533 "guid": 11,
534 "boolean": 12,
535 "identity": 13,
536 "picklistInteger": 14,
537 "picklistString": 15,
538 "picklistDouble": 16,
539 "teamProject": 17
540 }
541 },
542 SubscriptionFlags: {
543 enumValues: {
544 "none": 0,
545 "groupSubscription": 1,
546 "contributedSubscription": 2,
547 "canOptOut": 4,
548 "teamSubscription": 8,
549 "oneActorMatches": 16
550 }
551 },
552 SubscriptionPermissions: {
553 enumValues: {
554 "none": 0,
555 "view": 1,
556 "edit": 2,
557 "delete": 4
558 }
559 },
560 SubscriptionQuery: {},
561 SubscriptionQueryCondition: {},
562 SubscriptionQueryFlags: {
563 enumValues: {
564 "none": 0,
565 "includeInvalidSubscriptions": 2,
566 "includeDeletedSubscriptions": 4,
567 "includeFilterDetails": 8,
568 "alwaysReturnBasicInformation": 16,
569 "includeSystemSubscriptions": 32
570 }
571 },
572 SubscriptionStatus: {
573 enumValues: {
574 "jailedByNotificationsVolume": -200,
575 "pendingDeletion": -100,
576 "disabledArgumentException": -12,
577 "disabledProjectInvalid": -11,
578 "disabledMissingPermissions": -10,
579 "disabledFromProbation": -9,
580 "disabledInactiveIdentity": -8,
581 "disabledMessageQueueNotSupported": -7,
582 "disabledMissingIdentity": -6,
583 "disabledInvalidRoleExpression": -5,
584 "disabledInvalidPathClause": -4,
585 "disabledAsDuplicateOfDefault": -3,
586 "disabledByAdmin": -2,
587 "disabled": -1,
588 "enabled": 0,
589 "enabledOnProbation": 1
590 }
591 },
592 SubscriptionTemplateQueryFlags: {
593 enumValues: {
594 "none": 0,
595 "includeUser": 1,
596 "includeGroup": 2,
597 "includeUserAndGroup": 4,
598 "includeEventTypeInformation": 22
599 }
600 },
601 SubscriptionTemplateType: {
602 enumValues: {
603 "user": 0,
604 "team": 1,
605 "both": 2,
606 "none": 3
607 }
608 },
609 SubscriptionTraceDiagnosticLog: {},
610 SubscriptionTraceEventProcessingLog: {},
611 SubscriptionTraceNotificationDeliveryLog: {},
612 SubscriptionTracing: {},
613};
614exports.TypeInfo.ActorNotificationReason.fields = {
615 notificationReasonType: {
616 enumType: exports.TypeInfo.NotificationReasonType
617 }
618};
619exports.TypeInfo.BatchNotificationOperation.fields = {
620 notificationOperation: {
621 enumType: exports.TypeInfo.NotificationOperation
622 }
623};
624exports.TypeInfo.EventBacklogStatus.fields = {
625 captureTime: {
626 isDate: true,
627 },
628 lastEventBatchStartTime: {
629 isDate: true,
630 },
631 lastEventProcessedTime: {
632 isDate: true,
633 },
634 lastJobBatchStartTime: {
635 isDate: true,
636 },
637 lastJobProcessedTime: {
638 isDate: true,
639 },
640 oldestPendingEventTime: {
641 isDate: true,
642 }
643};
644exports.TypeInfo.EventProcessingLog.fields = {
645 endTime: {
646 isDate: true,
647 },
648 startTime: {
649 isDate: true,
650 }
651};
652exports.TypeInfo.INotificationDiagnosticLog.fields = {
653 endTime: {
654 isDate: true,
655 },
656 startTime: {
657 isDate: true,
658 }
659};
660exports.TypeInfo.NotificationAdminSettings.fields = {
661 defaultGroupDeliveryPreference: {
662 enumType: exports.TypeInfo.DefaultGroupDeliveryPreference
663 }
664};
665exports.TypeInfo.NotificationAdminSettingsUpdateParameters.fields = {
666 defaultGroupDeliveryPreference: {
667 enumType: exports.TypeInfo.DefaultGroupDeliveryPreference
668 }
669};
670exports.TypeInfo.NotificationBacklogStatus.fields = {
671 captureTime: {
672 isDate: true,
673 },
674 lastJobBatchStartTime: {
675 isDate: true,
676 },
677 lastJobProcessedTime: {
678 isDate: true,
679 },
680 lastNotificationBatchStartTime: {
681 isDate: true,
682 },
683 lastNotificationProcessedTime: {
684 isDate: true,
685 },
686 oldestPendingNotificationTime: {
687 isDate: true,
688 }
689};
690exports.TypeInfo.NotificationDeliveryLog.fields = {
691 endTime: {
692 isDate: true,
693 },
694 startTime: {
695 isDate: true,
696 }
697};
698exports.TypeInfo.NotificationDiagnosticLog.fields = {
699 endTime: {
700 isDate: true,
701 },
702 startTime: {
703 isDate: true,
704 }
705};
706exports.TypeInfo.NotificationEventBacklogStatus.fields = {
707 eventBacklogStatus: {
708 isArray: true,
709 typeInfo: exports.TypeInfo.EventBacklogStatus
710 },
711 notificationBacklogStatus: {
712 isArray: true,
713 typeInfo: exports.TypeInfo.NotificationBacklogStatus
714 }
715};
716exports.TypeInfo.NotificationEventField.fields = {
717 fieldType: {
718 typeInfo: exports.TypeInfo.NotificationEventFieldType
719 }
720};
721exports.TypeInfo.NotificationEventFieldType.fields = {
722 subscriptionFieldType: {
723 enumType: exports.TypeInfo.SubscriptionFieldType
724 }
725};
726exports.TypeInfo.NotificationEventType.fields = {
727 fields: {
728 isDictionary: true,
729 dictionaryValueTypeInfo: exports.TypeInfo.NotificationEventField
730 }
731};
732exports.TypeInfo.NotificationJobDiagnosticLog.fields = {
733 endTime: {
734 isDate: true,
735 },
736 startTime: {
737 isDate: true,
738 }
739};
740exports.TypeInfo.NotificationReason.fields = {
741 notificationReasonType: {
742 enumType: exports.TypeInfo.NotificationReasonType
743 }
744};
745exports.TypeInfo.NotificationStatistic.fields = {
746 date: {
747 isDate: true,
748 },
749 type: {
750 enumType: exports.TypeInfo.NotificationStatisticType
751 }
752};
753exports.TypeInfo.NotificationStatisticsQuery.fields = {
754 conditions: {
755 isArray: true,
756 typeInfo: exports.TypeInfo.NotificationStatisticsQueryConditions
757 }
758};
759exports.TypeInfo.NotificationStatisticsQueryConditions.fields = {
760 endDate: {
761 isDate: true,
762 },
763 startDate: {
764 isDate: true,
765 },
766 type: {
767 enumType: exports.TypeInfo.NotificationStatisticType
768 }
769};
770exports.TypeInfo.NotificationSubscriber.fields = {
771 deliveryPreference: {
772 enumType: exports.TypeInfo.NotificationSubscriberDeliveryPreference
773 },
774 flags: {
775 enumType: exports.TypeInfo.SubscriberFlags
776 }
777};
778exports.TypeInfo.NotificationSubscriberUpdateParameters.fields = {
779 deliveryPreference: {
780 enumType: exports.TypeInfo.NotificationSubscriberDeliveryPreference
781 }
782};
783exports.TypeInfo.NotificationSubscription.fields = {
784 diagnostics: {
785 typeInfo: exports.TypeInfo.SubscriptionDiagnostics
786 },
787 flags: {
788 enumType: exports.TypeInfo.SubscriptionFlags
789 },
790 modifiedDate: {
791 isDate: true,
792 },
793 permissions: {
794 enumType: exports.TypeInfo.SubscriptionPermissions
795 },
796 status: {
797 enumType: exports.TypeInfo.SubscriptionStatus
798 }
799};
800exports.TypeInfo.NotificationSubscriptionTemplate.fields = {
801 notificationEventInformation: {
802 typeInfo: exports.TypeInfo.NotificationEventType
803 },
804 type: {
805 enumType: exports.TypeInfo.SubscriptionTemplateType
806 }
807};
808exports.TypeInfo.NotificationSubscriptionUpdateParameters.fields = {
809 status: {
810 enumType: exports.TypeInfo.SubscriptionStatus
811 }
812};
813exports.TypeInfo.SubscriptionDiagnostics.fields = {
814 deliveryResults: {
815 typeInfo: exports.TypeInfo.SubscriptionTracing
816 },
817 deliveryTracing: {
818 typeInfo: exports.TypeInfo.SubscriptionTracing
819 },
820 evaluationTracing: {
821 typeInfo: exports.TypeInfo.SubscriptionTracing
822 }
823};
824exports.TypeInfo.SubscriptionEvaluationRequest.fields = {
825 minEventsCreatedDate: {
826 isDate: true,
827 }
828};
829exports.TypeInfo.SubscriptionEvaluationResult.fields = {
830 evaluationJobStatus: {
831 enumType: exports.TypeInfo.EvaluationOperationStatus
832 }
833};
834exports.TypeInfo.SubscriptionQuery.fields = {
835 conditions: {
836 isArray: true,
837 typeInfo: exports.TypeInfo.SubscriptionQueryCondition
838 },
839 queryFlags: {
840 enumType: exports.TypeInfo.SubscriptionQueryFlags
841 }
842};
843exports.TypeInfo.SubscriptionQueryCondition.fields = {
844 flags: {
845 enumType: exports.TypeInfo.SubscriptionFlags
846 }
847};
848exports.TypeInfo.SubscriptionTraceDiagnosticLog.fields = {
849 endTime: {
850 isDate: true,
851 },
852 startTime: {
853 isDate: true,
854 }
855};
856exports.TypeInfo.SubscriptionTraceEventProcessingLog.fields = {
857 endTime: {
858 isDate: true,
859 },
860 startTime: {
861 isDate: true,
862 }
863};
864exports.TypeInfo.SubscriptionTraceNotificationDeliveryLog.fields = {
865 endTime: {
866 isDate: true,
867 },
868 startTime: {
869 isDate: true,
870 }
871};
872exports.TypeInfo.SubscriptionTracing.fields = {
873 endDate: {
874 isDate: true,
875 },
876 startDate: {
877 isDate: true,
878 }
879};