@microsoft/msgraph-sdk 1.0.0-preview.26 → 1.0.0-preview.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/models/callRecords/index.d.ts +233 -233
  2. package/models/callRecords/index.d.ts.map +1 -1
  3. package/models/callRecords/index.js +362 -227
  4. package/models/callRecords/index.js.map +1 -1
  5. package/models/externalConnectors/index.d.ts +114 -114
  6. package/models/externalConnectors/index.d.ts.map +1 -1
  7. package/models/externalConnectors/index.js +239 -104
  8. package/models/externalConnectors/index.js.map +1 -1
  9. package/models/identityGovernance/index.d.ts +582 -190
  10. package/models/identityGovernance/index.d.ts.map +1 -1
  11. package/models/identityGovernance/index.js +715 -185
  12. package/models/identityGovernance/index.js.map +1 -1
  13. package/models/index.d.ts +14888 -12990
  14. package/models/index.d.ts.map +1 -1
  15. package/models/index.js +25329 -12193
  16. package/models/index.js.map +1 -1
  17. package/models/oDataErrors/index.d.ts +21 -21
  18. package/models/oDataErrors/index.d.ts.map +1 -1
  19. package/models/oDataErrors/index.js +37 -17
  20. package/models/oDataErrors/index.js.map +1 -1
  21. package/models/partners/billing/index.d.ts +42 -42
  22. package/models/partners/billing/index.d.ts.map +1 -1
  23. package/models/partners/billing/index.js +112 -42
  24. package/models/partners/billing/index.js.map +1 -1
  25. package/models/search/index.d.ts +62 -62
  26. package/models/search/index.d.ts.map +1 -1
  27. package/models/search/index.js +116 -61
  28. package/models/search/index.js.map +1 -1
  29. package/models/security/index.d.ts +1078 -1078
  30. package/models/security/index.d.ts.map +1 -1
  31. package/models/security/index.js +2072 -1057
  32. package/models/security/index.js.map +1 -1
  33. package/models/termStore/index.d.ts +61 -61
  34. package/models/termStore/index.d.ts.map +1 -1
  35. package/models/termStore/index.js +123 -58
  36. package/models/termStore/index.js.map +1 -1
  37. package/package.json +2 -2
  38. package/tsconfig.tsbuildinfo +1 -1
@@ -2,12 +2,22 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createApplicationFromDiscriminatorValue, createCustomExtensionCallbackConfigurationFromDiscriminatorValue, createDeletedItemContainerFromDiscriminatorValue, createEmailSettingsFromDiscriminatorValue, createKeyValuePairFromDiscriminatorValue, createSubjectSetFromDiscriminatorValue, createUserFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, deserializeIntoCustomCalloutExtension, deserializeIntoCustomExtensionCallbackConfiguration, deserializeIntoCustomExtensionData, deserializeIntoEntity, deserializeIntoSubjectSet, serializeApplication, serializeBaseCollectionPaginationCountResponse, serializeCustomCalloutExtension, serializeCustomExtensionCallbackConfiguration, serializeCustomExtensionData, serializeDeletedItemContainer, serializeEmailSettings, serializeEntity, serializeKeyValuePair, serializeSubjectSet, serializeUser } from '../index.js';
5
+ import { createApplicationFromDiscriminatorValue, createCustomExtensionCallbackConfigurationFromDiscriminatorValue, createDeletedItemContainerFromDiscriminatorValue, createEmailSettingsFromDiscriminatorValue, createGroupFromDiscriminatorValue, createKeyValuePairFromDiscriminatorValue, createSubjectSetFromDiscriminatorValue, createUserFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, deserializeIntoCustomCalloutExtension, deserializeIntoCustomExtensionCallbackConfiguration, deserializeIntoCustomExtensionData, deserializeIntoEntity, deserializeIntoSubjectSet, serializeApplication, serializeBaseCollectionPaginationCountResponse, serializeCustomCalloutExtension, serializeCustomExtensionCallbackConfiguration, serializeCustomExtensionData, serializeDeletedItemContainer, serializeEmailSettings, serializeEntity, serializeGroup, serializeKeyValuePair, serializeSubjectSet, serializeUser } from '../index.js';
6
+ /**
7
+ * Creates a new instance of the appropriate class based on discriminator value
8
+ * @param parseNode The parse node to use to read the discriminator value and create the object
9
+ * @returns {AttributeChangeTrigger}
10
+ */
11
+ // @ts-ignore
12
+ export function createAttributeChangeTriggerFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoAttributeChangeTrigger;
14
+ }
6
15
  /**
7
16
  * Creates a new instance of the appropriate class based on discriminator value
8
17
  * @param parseNode The parse node to use to read the discriminator value and create the object
9
18
  * @returns {CustomTaskExtensionCallbackConfiguration}
10
19
  */
20
+ // @ts-ignore
11
21
  export function createCustomTaskExtensionCallbackConfigurationFromDiscriminatorValue(parseNode) {
12
22
  return deserializeIntoCustomTaskExtensionCallbackConfiguration;
13
23
  }
@@ -16,6 +26,7 @@ export function createCustomTaskExtensionCallbackConfigurationFromDiscriminatorV
16
26
  * @param parseNode The parse node to use to read the discriminator value and create the object
17
27
  * @returns {CustomTaskExtensionCallbackData}
18
28
  */
29
+ // @ts-ignore
19
30
  export function createCustomTaskExtensionCallbackDataFromDiscriminatorValue(parseNode) {
20
31
  return deserializeIntoCustomTaskExtensionCallbackData;
21
32
  }
@@ -24,6 +35,7 @@ export function createCustomTaskExtensionCallbackDataFromDiscriminatorValue(pars
24
35
  * @param parseNode The parse node to use to read the discriminator value and create the object
25
36
  * @returns {CustomTaskExtensionCalloutData}
26
37
  */
38
+ // @ts-ignore
27
39
  export function createCustomTaskExtensionCalloutDataFromDiscriminatorValue(parseNode) {
28
40
  return deserializeIntoCustomTaskExtensionCalloutData;
29
41
  }
@@ -32,6 +44,7 @@ export function createCustomTaskExtensionCalloutDataFromDiscriminatorValue(parse
32
44
  * @param parseNode The parse node to use to read the discriminator value and create the object
33
45
  * @returns {CustomTaskExtensionCollectionResponse}
34
46
  */
47
+ // @ts-ignore
35
48
  export function createCustomTaskExtensionCollectionResponseFromDiscriminatorValue(parseNode) {
36
49
  return deserializeIntoCustomTaskExtensionCollectionResponse;
37
50
  }
@@ -40,14 +53,34 @@ export function createCustomTaskExtensionCollectionResponseFromDiscriminatorValu
40
53
  * @param parseNode The parse node to use to read the discriminator value and create the object
41
54
  * @returns {CustomTaskExtension}
42
55
  */
56
+ // @ts-ignore
43
57
  export function createCustomTaskExtensionFromDiscriminatorValue(parseNode) {
44
58
  return deserializeIntoCustomTaskExtension;
45
59
  }
60
+ /**
61
+ * Creates a new instance of the appropriate class based on discriminator value
62
+ * @param parseNode The parse node to use to read the discriminator value and create the object
63
+ * @returns {GroupBasedSubjectSet}
64
+ */
65
+ // @ts-ignore
66
+ export function createGroupBasedSubjectSetFromDiscriminatorValue(parseNode) {
67
+ return deserializeIntoGroupBasedSubjectSet;
68
+ }
69
+ /**
70
+ * Creates a new instance of the appropriate class based on discriminator value
71
+ * @param parseNode The parse node to use to read the discriminator value and create the object
72
+ * @returns {Insights}
73
+ */
74
+ // @ts-ignore
75
+ export function createInsightsFromDiscriminatorValue(parseNode) {
76
+ return deserializeIntoInsights;
77
+ }
46
78
  /**
47
79
  * Creates a new instance of the appropriate class based on discriminator value
48
80
  * @param parseNode The parse node to use to read the discriminator value and create the object
49
81
  * @returns {LifecycleManagementSettings}
50
82
  */
83
+ // @ts-ignore
51
84
  export function createLifecycleManagementSettingsFromDiscriminatorValue(parseNode) {
52
85
  return deserializeIntoLifecycleManagementSettings;
53
86
  }
@@ -56,14 +89,25 @@ export function createLifecycleManagementSettingsFromDiscriminatorValue(parseNod
56
89
  * @param parseNode The parse node to use to read the discriminator value and create the object
57
90
  * @returns {LifecycleWorkflowsContainer}
58
91
  */
92
+ // @ts-ignore
59
93
  export function createLifecycleWorkflowsContainerFromDiscriminatorValue(parseNode) {
60
94
  return deserializeIntoLifecycleWorkflowsContainer;
61
95
  }
96
+ /**
97
+ * Creates a new instance of the appropriate class based on discriminator value
98
+ * @param parseNode The parse node to use to read the discriminator value and create the object
99
+ * @returns {MembershipChangeTrigger}
100
+ */
101
+ // @ts-ignore
102
+ export function createMembershipChangeTriggerFromDiscriminatorValue(parseNode) {
103
+ return deserializeIntoMembershipChangeTrigger;
104
+ }
62
105
  /**
63
106
  * Creates a new instance of the appropriate class based on discriminator value
64
107
  * @param parseNode The parse node to use to read the discriminator value and create the object
65
108
  * @returns {OnDemandExecutionOnly}
66
109
  */
110
+ // @ts-ignore
67
111
  export function createOnDemandExecutionOnlyFromDiscriminatorValue(parseNode) {
68
112
  return deserializeIntoOnDemandExecutionOnly;
69
113
  }
@@ -72,6 +116,7 @@ export function createOnDemandExecutionOnlyFromDiscriminatorValue(parseNode) {
72
116
  * @param parseNode The parse node to use to read the discriminator value and create the object
73
117
  * @returns {Parameter}
74
118
  */
119
+ // @ts-ignore
75
120
  export function createParameterFromDiscriminatorValue(parseNode) {
76
121
  return deserializeIntoParameter;
77
122
  }
@@ -80,6 +125,7 @@ export function createParameterFromDiscriminatorValue(parseNode) {
80
125
  * @param parseNode The parse node to use to read the discriminator value and create the object
81
126
  * @returns {RuleBasedSubjectSet}
82
127
  */
128
+ // @ts-ignore
83
129
  export function createRuleBasedSubjectSetFromDiscriminatorValue(parseNode) {
84
130
  return deserializeIntoRuleBasedSubjectSet;
85
131
  }
@@ -88,6 +134,7 @@ export function createRuleBasedSubjectSetFromDiscriminatorValue(parseNode) {
88
134
  * @param parseNode The parse node to use to read the discriminator value and create the object
89
135
  * @returns {RunCollectionResponse}
90
136
  */
137
+ // @ts-ignore
91
138
  export function createRunCollectionResponseFromDiscriminatorValue(parseNode) {
92
139
  return deserializeIntoRunCollectionResponse;
93
140
  }
@@ -96,6 +143,7 @@ export function createRunCollectionResponseFromDiscriminatorValue(parseNode) {
96
143
  * @param parseNode The parse node to use to read the discriminator value and create the object
97
144
  * @returns {Run}
98
145
  */
146
+ // @ts-ignore
99
147
  export function createRunFromDiscriminatorValue(parseNode) {
100
148
  return deserializeIntoRun;
101
149
  }
@@ -104,6 +152,7 @@ export function createRunFromDiscriminatorValue(parseNode) {
104
152
  * @param parseNode The parse node to use to read the discriminator value and create the object
105
153
  * @returns {RunSummary}
106
154
  */
155
+ // @ts-ignore
107
156
  export function createRunSummaryFromDiscriminatorValue(parseNode) {
108
157
  return deserializeIntoRunSummary;
109
158
  }
@@ -112,6 +161,7 @@ export function createRunSummaryFromDiscriminatorValue(parseNode) {
112
161
  * @param parseNode The parse node to use to read the discriminator value and create the object
113
162
  * @returns {TaskCollectionResponse}
114
163
  */
164
+ // @ts-ignore
115
165
  export function createTaskCollectionResponseFromDiscriminatorValue(parseNode) {
116
166
  return deserializeIntoTaskCollectionResponse;
117
167
  }
@@ -120,6 +170,7 @@ export function createTaskCollectionResponseFromDiscriminatorValue(parseNode) {
120
170
  * @param parseNode The parse node to use to read the discriminator value and create the object
121
171
  * @returns {TaskDefinitionCollectionResponse}
122
172
  */
173
+ // @ts-ignore
123
174
  export function createTaskDefinitionCollectionResponseFromDiscriminatorValue(parseNode) {
124
175
  return deserializeIntoTaskDefinitionCollectionResponse;
125
176
  }
@@ -128,6 +179,7 @@ export function createTaskDefinitionCollectionResponseFromDiscriminatorValue(par
128
179
  * @param parseNode The parse node to use to read the discriminator value and create the object
129
180
  * @returns {TaskDefinition}
130
181
  */
182
+ // @ts-ignore
131
183
  export function createTaskDefinitionFromDiscriminatorValue(parseNode) {
132
184
  return deserializeIntoTaskDefinition;
133
185
  }
@@ -136,6 +188,7 @@ export function createTaskDefinitionFromDiscriminatorValue(parseNode) {
136
188
  * @param parseNode The parse node to use to read the discriminator value and create the object
137
189
  * @returns {Task}
138
190
  */
191
+ // @ts-ignore
139
192
  export function createTaskFromDiscriminatorValue(parseNode) {
140
193
  return deserializeIntoTask;
141
194
  }
@@ -144,6 +197,7 @@ export function createTaskFromDiscriminatorValue(parseNode) {
144
197
  * @param parseNode The parse node to use to read the discriminator value and create the object
145
198
  * @returns {TaskProcessingResultCollectionResponse}
146
199
  */
200
+ // @ts-ignore
147
201
  export function createTaskProcessingResultCollectionResponseFromDiscriminatorValue(parseNode) {
148
202
  return deserializeIntoTaskProcessingResultCollectionResponse;
149
203
  }
@@ -152,6 +206,7 @@ export function createTaskProcessingResultCollectionResponseFromDiscriminatorVal
152
206
  * @param parseNode The parse node to use to read the discriminator value and create the object
153
207
  * @returns {TaskProcessingResult}
154
208
  */
209
+ // @ts-ignore
155
210
  export function createTaskProcessingResultFromDiscriminatorValue(parseNode) {
156
211
  return deserializeIntoTaskProcessingResult;
157
212
  }
@@ -160,6 +215,7 @@ export function createTaskProcessingResultFromDiscriminatorValue(parseNode) {
160
215
  * @param parseNode The parse node to use to read the discriminator value and create the object
161
216
  * @returns {TaskReportCollectionResponse}
162
217
  */
218
+ // @ts-ignore
163
219
  export function createTaskReportCollectionResponseFromDiscriminatorValue(parseNode) {
164
220
  return deserializeIntoTaskReportCollectionResponse;
165
221
  }
@@ -168,6 +224,7 @@ export function createTaskReportCollectionResponseFromDiscriminatorValue(parseNo
168
224
  * @param parseNode The parse node to use to read the discriminator value and create the object
169
225
  * @returns {TaskReport}
170
226
  */
227
+ // @ts-ignore
171
228
  export function createTaskReportFromDiscriminatorValue(parseNode) {
172
229
  return deserializeIntoTaskReport;
173
230
  }
@@ -176,6 +233,7 @@ export function createTaskReportFromDiscriminatorValue(parseNode) {
176
233
  * @param parseNode The parse node to use to read the discriminator value and create the object
177
234
  * @returns {TaskReportSummary}
178
235
  */
236
+ // @ts-ignore
179
237
  export function createTaskReportSummaryFromDiscriminatorValue(parseNode) {
180
238
  return deserializeIntoTaskReportSummary;
181
239
  }
@@ -184,22 +242,52 @@ export function createTaskReportSummaryFromDiscriminatorValue(parseNode) {
184
242
  * @param parseNode The parse node to use to read the discriminator value and create the object
185
243
  * @returns {TimeBasedAttributeTrigger}
186
244
  */
245
+ // @ts-ignore
187
246
  export function createTimeBasedAttributeTriggerFromDiscriminatorValue(parseNode) {
188
247
  return deserializeIntoTimeBasedAttributeTrigger;
189
248
  }
249
+ /**
250
+ * Creates a new instance of the appropriate class based on discriminator value
251
+ * @param parseNode The parse node to use to read the discriminator value and create the object
252
+ * @returns {TopTasksInsightsSummary}
253
+ */
254
+ // @ts-ignore
255
+ export function createTopTasksInsightsSummaryFromDiscriminatorValue(parseNode) {
256
+ return deserializeIntoTopTasksInsightsSummary;
257
+ }
258
+ /**
259
+ * Creates a new instance of the appropriate class based on discriminator value
260
+ * @param parseNode The parse node to use to read the discriminator value and create the object
261
+ * @returns {TopWorkflowsInsightsSummary}
262
+ */
263
+ // @ts-ignore
264
+ export function createTopWorkflowsInsightsSummaryFromDiscriminatorValue(parseNode) {
265
+ return deserializeIntoTopWorkflowsInsightsSummary;
266
+ }
190
267
  /**
191
268
  * Creates a new instance of the appropriate class based on discriminator value
192
269
  * @param parseNode The parse node to use to read the discriminator value and create the object
193
270
  * @returns {TriggerAndScopeBasedConditions}
194
271
  */
272
+ // @ts-ignore
195
273
  export function createTriggerAndScopeBasedConditionsFromDiscriminatorValue(parseNode) {
196
274
  return deserializeIntoTriggerAndScopeBasedConditions;
197
275
  }
276
+ /**
277
+ * Creates a new instance of the appropriate class based on discriminator value
278
+ * @param parseNode The parse node to use to read the discriminator value and create the object
279
+ * @returns {TriggerAttribute}
280
+ */
281
+ // @ts-ignore
282
+ export function createTriggerAttributeFromDiscriminatorValue(parseNode) {
283
+ return deserializeIntoTriggerAttribute;
284
+ }
198
285
  /**
199
286
  * Creates a new instance of the appropriate class based on discriminator value
200
287
  * @param parseNode The parse node to use to read the discriminator value and create the object
201
288
  * @returns {UserProcessingResultCollectionResponse}
202
289
  */
290
+ // @ts-ignore
203
291
  export function createUserProcessingResultCollectionResponseFromDiscriminatorValue(parseNode) {
204
292
  return deserializeIntoUserProcessingResultCollectionResponse;
205
293
  }
@@ -208,6 +296,7 @@ export function createUserProcessingResultCollectionResponseFromDiscriminatorVal
208
296
  * @param parseNode The parse node to use to read the discriminator value and create the object
209
297
  * @returns {UserProcessingResult}
210
298
  */
299
+ // @ts-ignore
211
300
  export function createUserProcessingResultFromDiscriminatorValue(parseNode) {
212
301
  return deserializeIntoUserProcessingResult;
213
302
  }
@@ -216,6 +305,7 @@ export function createUserProcessingResultFromDiscriminatorValue(parseNode) {
216
305
  * @param parseNode The parse node to use to read the discriminator value and create the object
217
306
  * @returns {UserSummary}
218
307
  */
308
+ // @ts-ignore
219
309
  export function createUserSummaryFromDiscriminatorValue(parseNode) {
220
310
  return deserializeIntoUserSummary;
221
311
  }
@@ -224,10 +314,11 @@ export function createUserSummaryFromDiscriminatorValue(parseNode) {
224
314
  * @param parseNode The parse node to use to read the discriminator value and create the object
225
315
  * @returns {WorkflowBase}
226
316
  */
317
+ // @ts-ignore
227
318
  export function createWorkflowBaseFromDiscriminatorValue(parseNode) {
228
319
  if (!parseNode)
229
320
  throw new Error("parseNode cannot be undefined");
230
- const mappingValueNode = parseNode.getChildNode("@odata.type");
321
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
231
322
  if (mappingValueNode) {
232
323
  const mappingValue = mappingValueNode.getStringValue();
233
324
  if (mappingValue) {
@@ -246,6 +337,7 @@ export function createWorkflowBaseFromDiscriminatorValue(parseNode) {
246
337
  * @param parseNode The parse node to use to read the discriminator value and create the object
247
338
  * @returns {WorkflowCollectionResponse}
248
339
  */
340
+ // @ts-ignore
249
341
  export function createWorkflowCollectionResponseFromDiscriminatorValue(parseNode) {
250
342
  return deserializeIntoWorkflowCollectionResponse;
251
343
  }
@@ -254,10 +346,11 @@ export function createWorkflowCollectionResponseFromDiscriminatorValue(parseNode
254
346
  * @param parseNode The parse node to use to read the discriminator value and create the object
255
347
  * @returns {WorkflowExecutionConditions}
256
348
  */
349
+ // @ts-ignore
257
350
  export function createWorkflowExecutionConditionsFromDiscriminatorValue(parseNode) {
258
351
  if (!parseNode)
259
352
  throw new Error("parseNode cannot be undefined");
260
- const mappingValueNode = parseNode.getChildNode("@odata.type");
353
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
261
354
  if (mappingValueNode) {
262
355
  const mappingValue = mappingValueNode.getStringValue();
263
356
  if (mappingValue) {
@@ -276,14 +369,19 @@ export function createWorkflowExecutionConditionsFromDiscriminatorValue(parseNod
276
369
  * @param parseNode The parse node to use to read the discriminator value and create the object
277
370
  * @returns {WorkflowExecutionTrigger}
278
371
  */
372
+ // @ts-ignore
279
373
  export function createWorkflowExecutionTriggerFromDiscriminatorValue(parseNode) {
280
374
  if (!parseNode)
281
375
  throw new Error("parseNode cannot be undefined");
282
- const mappingValueNode = parseNode.getChildNode("@odata.type");
376
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
283
377
  if (mappingValueNode) {
284
378
  const mappingValue = mappingValueNode.getStringValue();
285
379
  if (mappingValue) {
286
380
  switch (mappingValue) {
381
+ case "#microsoft.graph.identityGovernance.attributeChangeTrigger":
382
+ return deserializeIntoAttributeChangeTrigger;
383
+ case "#microsoft.graph.identityGovernance.membershipChangeTrigger":
384
+ return deserializeIntoMembershipChangeTrigger;
287
385
  case "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger":
288
386
  return deserializeIntoTimeBasedAttributeTrigger;
289
387
  }
@@ -296,14 +394,34 @@ export function createWorkflowExecutionTriggerFromDiscriminatorValue(parseNode)
296
394
  * @param parseNode The parse node to use to read the discriminator value and create the object
297
395
  * @returns {Workflow}
298
396
  */
397
+ // @ts-ignore
299
398
  export function createWorkflowFromDiscriminatorValue(parseNode) {
300
399
  return deserializeIntoWorkflow;
301
400
  }
401
+ /**
402
+ * Creates a new instance of the appropriate class based on discriminator value
403
+ * @param parseNode The parse node to use to read the discriminator value and create the object
404
+ * @returns {WorkflowsInsightsByCategory}
405
+ */
406
+ // @ts-ignore
407
+ export function createWorkflowsInsightsByCategoryFromDiscriminatorValue(parseNode) {
408
+ return deserializeIntoWorkflowsInsightsByCategory;
409
+ }
410
+ /**
411
+ * Creates a new instance of the appropriate class based on discriminator value
412
+ * @param parseNode The parse node to use to read the discriminator value and create the object
413
+ * @returns {WorkflowsInsightsSummary}
414
+ */
415
+ // @ts-ignore
416
+ export function createWorkflowsInsightsSummaryFromDiscriminatorValue(parseNode) {
417
+ return deserializeIntoWorkflowsInsightsSummary;
418
+ }
302
419
  /**
303
420
  * Creates a new instance of the appropriate class based on discriminator value
304
421
  * @param parseNode The parse node to use to read the discriminator value and create the object
305
422
  * @returns {WorkflowTemplateCollectionResponse}
306
423
  */
424
+ // @ts-ignore
307
425
  export function createWorkflowTemplateCollectionResponseFromDiscriminatorValue(parseNode) {
308
426
  return deserializeIntoWorkflowTemplateCollectionResponse;
309
427
  }
@@ -312,6 +430,7 @@ export function createWorkflowTemplateCollectionResponseFromDiscriminatorValue(p
312
430
  * @param parseNode The parse node to use to read the discriminator value and create the object
313
431
  * @returns {WorkflowTemplate}
314
432
  */
433
+ // @ts-ignore
315
434
  export function createWorkflowTemplateFromDiscriminatorValue(parseNode) {
316
435
  return deserializeIntoWorkflowTemplate;
317
436
  }
@@ -320,6 +439,7 @@ export function createWorkflowTemplateFromDiscriminatorValue(parseNode) {
320
439
  * @param parseNode The parse node to use to read the discriminator value and create the object
321
440
  * @returns {WorkflowVersionCollectionResponse}
322
441
  */
442
+ // @ts-ignore
323
443
  export function createWorkflowVersionCollectionResponseFromDiscriminatorValue(parseNode) {
324
444
  return deserializeIntoWorkflowVersionCollectionResponse;
325
445
  }
@@ -328,6 +448,7 @@ export function createWorkflowVersionCollectionResponseFromDiscriminatorValue(pa
328
448
  * @param parseNode The parse node to use to read the discriminator value and create the object
329
449
  * @returns {WorkflowVersion}
330
450
  */
451
+ // @ts-ignore
331
452
  export function createWorkflowVersionFromDiscriminatorValue(parseNode) {
332
453
  return deserializeIntoWorkflowVersion;
333
454
  }
@@ -335,6 +456,15 @@ export function createWorkflowVersionFromDiscriminatorValue(parseNode) {
335
456
  * The deserialization information for the current model
336
457
  * @returns {Record<string, (node: ParseNode) => void>}
337
458
  */
459
+ // @ts-ignore
460
+ export function deserializeIntoAttributeChangeTrigger(attributeChangeTrigger = {}) {
461
+ return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionTrigger(attributeChangeTrigger)), { "triggerAttributes": n => { attributeChangeTrigger.triggerAttributes = n.getCollectionOfObjectValues(createTriggerAttributeFromDiscriminatorValue); } });
462
+ }
463
+ /**
464
+ * The deserialization information for the current model
465
+ * @returns {Record<string, (node: ParseNode) => void>}
466
+ */
467
+ // @ts-ignore
338
468
  export function deserializeIntoCustomTaskExtension(customTaskExtension = {}) {
339
469
  return Object.assign(Object.assign({}, deserializeIntoCustomCalloutExtension(customTaskExtension)), { "callbackConfiguration": n => { customTaskExtension.callbackConfiguration = n.getObjectValue(createCustomExtensionCallbackConfigurationFromDiscriminatorValue); }, "createdBy": n => { customTaskExtension.createdBy = n.getObjectValue(createUserFromDiscriminatorValue); }, "createdDateTime": n => { customTaskExtension.createdDateTime = n.getDateValue(); }, "lastModifiedBy": n => { customTaskExtension.lastModifiedBy = n.getObjectValue(createUserFromDiscriminatorValue); }, "lastModifiedDateTime": n => { customTaskExtension.lastModifiedDateTime = n.getDateValue(); } });
340
470
  }
@@ -342,6 +472,7 @@ export function deserializeIntoCustomTaskExtension(customTaskExtension = {}) {
342
472
  * The deserialization information for the current model
343
473
  * @returns {Record<string, (node: ParseNode) => void>}
344
474
  */
475
+ // @ts-ignore
345
476
  export function deserializeIntoCustomTaskExtensionCallbackConfiguration(customTaskExtensionCallbackConfiguration = {}) {
346
477
  return Object.assign(Object.assign({}, deserializeIntoCustomExtensionCallbackConfiguration(customTaskExtensionCallbackConfiguration)), { "authorizedApps": n => { customTaskExtensionCallbackConfiguration.authorizedApps = n.getCollectionOfObjectValues(createApplicationFromDiscriminatorValue); } });
347
478
  }
@@ -349,6 +480,7 @@ export function deserializeIntoCustomTaskExtensionCallbackConfiguration(customTa
349
480
  * The deserialization information for the current model
350
481
  * @returns {Record<string, (node: ParseNode) => void>}
351
482
  */
483
+ // @ts-ignore
352
484
  export function deserializeIntoCustomTaskExtensionCallbackData(customTaskExtensionCallbackData = {}) {
353
485
  return Object.assign(Object.assign({}, deserializeIntoCustomExtensionData(customTaskExtensionCallbackData)), { "operationStatus": n => { customTaskExtensionCallbackData.operationStatus = n.getEnumValue(CustomTaskExtensionOperationStatusObject); } });
354
486
  }
@@ -356,6 +488,7 @@ export function deserializeIntoCustomTaskExtensionCallbackData(customTaskExtensi
356
488
  * The deserialization information for the current model
357
489
  * @returns {Record<string, (node: ParseNode) => void>}
358
490
  */
491
+ // @ts-ignore
359
492
  export function deserializeIntoCustomTaskExtensionCalloutData(customTaskExtensionCalloutData = {}) {
360
493
  return Object.assign(Object.assign({}, deserializeIntoCustomExtensionData(customTaskExtensionCalloutData)), { "subject": n => { customTaskExtensionCalloutData.subject = n.getObjectValue(createUserFromDiscriminatorValue); }, "task": n => { customTaskExtensionCalloutData.task = n.getObjectValue(createTaskFromDiscriminatorValue); }, "taskProcessingresult": n => { customTaskExtensionCalloutData.taskProcessingresult = n.getObjectValue(createTaskProcessingResultFromDiscriminatorValue); }, "workflow": n => { customTaskExtensionCalloutData.workflow = n.getObjectValue(createWorkflowFromDiscriminatorValue); } });
361
494
  }
@@ -363,6 +496,7 @@ export function deserializeIntoCustomTaskExtensionCalloutData(customTaskExtensio
363
496
  * The deserialization information for the current model
364
497
  * @returns {Record<string, (node: ParseNode) => void>}
365
498
  */
499
+ // @ts-ignore
366
500
  export function deserializeIntoCustomTaskExtensionCollectionResponse(customTaskExtensionCollectionResponse = {}) {
367
501
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(customTaskExtensionCollectionResponse)), { "value": n => { customTaskExtensionCollectionResponse.value = n.getCollectionOfObjectValues(createCustomTaskExtensionFromDiscriminatorValue); } });
368
502
  }
@@ -370,6 +504,23 @@ export function deserializeIntoCustomTaskExtensionCollectionResponse(customTaskE
370
504
  * The deserialization information for the current model
371
505
  * @returns {Record<string, (node: ParseNode) => void>}
372
506
  */
507
+ // @ts-ignore
508
+ export function deserializeIntoGroupBasedSubjectSet(groupBasedSubjectSet = {}) {
509
+ return Object.assign(Object.assign({}, deserializeIntoSubjectSet(groupBasedSubjectSet)), { "groups": n => { groupBasedSubjectSet.groups = n.getCollectionOfObjectValues(createGroupFromDiscriminatorValue); } });
510
+ }
511
+ /**
512
+ * The deserialization information for the current model
513
+ * @returns {Record<string, (node: ParseNode) => void>}
514
+ */
515
+ // @ts-ignore
516
+ export function deserializeIntoInsights(insights = {}) {
517
+ return Object.assign({}, deserializeIntoEntity(insights));
518
+ }
519
+ /**
520
+ * The deserialization information for the current model
521
+ * @returns {Record<string, (node: ParseNode) => void>}
522
+ */
523
+ // @ts-ignore
373
524
  export function deserializeIntoLifecycleManagementSettings(lifecycleManagementSettings = {}) {
374
525
  return Object.assign(Object.assign({}, deserializeIntoEntity(lifecycleManagementSettings)), { "emailSettings": n => { lifecycleManagementSettings.emailSettings = n.getObjectValue(createEmailSettingsFromDiscriminatorValue); }, "workflowScheduleIntervalInHours": n => { lifecycleManagementSettings.workflowScheduleIntervalInHours = n.getNumberValue(); } });
375
526
  }
@@ -377,13 +528,23 @@ export function deserializeIntoLifecycleManagementSettings(lifecycleManagementSe
377
528
  * The deserialization information for the current model
378
529
  * @returns {Record<string, (node: ParseNode) => void>}
379
530
  */
531
+ // @ts-ignore
380
532
  export function deserializeIntoLifecycleWorkflowsContainer(lifecycleWorkflowsContainer = {}) {
381
- return Object.assign(Object.assign({}, deserializeIntoEntity(lifecycleWorkflowsContainer)), { "customTaskExtensions": n => { lifecycleWorkflowsContainer.customTaskExtensions = n.getCollectionOfObjectValues(createCustomTaskExtensionFromDiscriminatorValue); }, "deletedItems": n => { lifecycleWorkflowsContainer.deletedItems = n.getObjectValue(createDeletedItemContainerFromDiscriminatorValue); }, "settings": n => { lifecycleWorkflowsContainer.settings = n.getObjectValue(createLifecycleManagementSettingsFromDiscriminatorValue); }, "taskDefinitions": n => { lifecycleWorkflowsContainer.taskDefinitions = n.getCollectionOfObjectValues(createTaskDefinitionFromDiscriminatorValue); }, "workflows": n => { lifecycleWorkflowsContainer.workflows = n.getCollectionOfObjectValues(createWorkflowFromDiscriminatorValue); }, "workflowTemplates": n => { lifecycleWorkflowsContainer.workflowTemplates = n.getCollectionOfObjectValues(createWorkflowTemplateFromDiscriminatorValue); } });
533
+ return Object.assign(Object.assign({}, deserializeIntoEntity(lifecycleWorkflowsContainer)), { "customTaskExtensions": n => { lifecycleWorkflowsContainer.customTaskExtensions = n.getCollectionOfObjectValues(createCustomTaskExtensionFromDiscriminatorValue); }, "deletedItems": n => { lifecycleWorkflowsContainer.deletedItems = n.getObjectValue(createDeletedItemContainerFromDiscriminatorValue); }, "insights": n => { lifecycleWorkflowsContainer.insights = n.getObjectValue(createInsightsFromDiscriminatorValue); }, "settings": n => { lifecycleWorkflowsContainer.settings = n.getObjectValue(createLifecycleManagementSettingsFromDiscriminatorValue); }, "taskDefinitions": n => { lifecycleWorkflowsContainer.taskDefinitions = n.getCollectionOfObjectValues(createTaskDefinitionFromDiscriminatorValue); }, "workflows": n => { lifecycleWorkflowsContainer.workflows = n.getCollectionOfObjectValues(createWorkflowFromDiscriminatorValue); }, "workflowTemplates": n => { lifecycleWorkflowsContainer.workflowTemplates = n.getCollectionOfObjectValues(createWorkflowTemplateFromDiscriminatorValue); } });
534
+ }
535
+ /**
536
+ * The deserialization information for the current model
537
+ * @returns {Record<string, (node: ParseNode) => void>}
538
+ */
539
+ // @ts-ignore
540
+ export function deserializeIntoMembershipChangeTrigger(membershipChangeTrigger = {}) {
541
+ return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionTrigger(membershipChangeTrigger)), { "changeType": n => { membershipChangeTrigger.changeType = n.getEnumValue(MembershipChangeTypeObject); } });
382
542
  }
383
543
  /**
384
544
  * The deserialization information for the current model
385
545
  * @returns {Record<string, (node: ParseNode) => void>}
386
546
  */
547
+ // @ts-ignore
387
548
  export function deserializeIntoOnDemandExecutionOnly(onDemandExecutionOnly = {}) {
388
549
  return Object.assign({}, deserializeIntoWorkflowExecutionConditions(onDemandExecutionOnly));
389
550
  }
@@ -391,6 +552,7 @@ export function deserializeIntoOnDemandExecutionOnly(onDemandExecutionOnly = {})
391
552
  * The deserialization information for the current model
392
553
  * @returns {Record<string, (node: ParseNode) => void>}
393
554
  */
555
+ // @ts-ignore
394
556
  export function deserializeIntoParameter(parameter = {}) {
395
557
  return {
396
558
  "backingStoreEnabled": n => { parameter.backingStoreEnabled = true; },
@@ -404,6 +566,7 @@ export function deserializeIntoParameter(parameter = {}) {
404
566
  * The deserialization information for the current model
405
567
  * @returns {Record<string, (node: ParseNode) => void>}
406
568
  */
569
+ // @ts-ignore
407
570
  export function deserializeIntoRuleBasedSubjectSet(ruleBasedSubjectSet = {}) {
408
571
  return Object.assign(Object.assign({}, deserializeIntoSubjectSet(ruleBasedSubjectSet)), { "rule": n => { ruleBasedSubjectSet.rule = n.getStringValue(); } });
409
572
  }
@@ -411,6 +574,7 @@ export function deserializeIntoRuleBasedSubjectSet(ruleBasedSubjectSet = {}) {
411
574
  * The deserialization information for the current model
412
575
  * @returns {Record<string, (node: ParseNode) => void>}
413
576
  */
577
+ // @ts-ignore
414
578
  export function deserializeIntoRun(run = {}) {
415
579
  return Object.assign(Object.assign({}, deserializeIntoEntity(run)), { "completedDateTime": n => { run.completedDateTime = n.getDateValue(); }, "failedTasksCount": n => { run.failedTasksCount = n.getNumberValue(); }, "failedUsersCount": n => { run.failedUsersCount = n.getNumberValue(); }, "lastUpdatedDateTime": n => { run.lastUpdatedDateTime = n.getDateValue(); }, "processingStatus": n => { run.processingStatus = n.getEnumValue(LifecycleWorkflowProcessingStatusObject); }, "scheduledDateTime": n => { run.scheduledDateTime = n.getDateValue(); }, "startedDateTime": n => { run.startedDateTime = n.getDateValue(); }, "successfulUsersCount": n => { run.successfulUsersCount = n.getNumberValue(); }, "taskProcessingResults": n => { run.taskProcessingResults = n.getCollectionOfObjectValues(createTaskProcessingResultFromDiscriminatorValue); }, "totalTasksCount": n => { run.totalTasksCount = n.getNumberValue(); }, "totalUnprocessedTasksCount": n => { run.totalUnprocessedTasksCount = n.getNumberValue(); }, "totalUsersCount": n => { run.totalUsersCount = n.getNumberValue(); }, "userProcessingResults": n => { run.userProcessingResults = n.getCollectionOfObjectValues(createUserProcessingResultFromDiscriminatorValue); }, "workflowExecutionType": n => { run.workflowExecutionType = n.getEnumValue(WorkflowExecutionTypeObject); } });
416
580
  }
@@ -418,6 +582,7 @@ export function deserializeIntoRun(run = {}) {
418
582
  * The deserialization information for the current model
419
583
  * @returns {Record<string, (node: ParseNode) => void>}
420
584
  */
585
+ // @ts-ignore
421
586
  export function deserializeIntoRunCollectionResponse(runCollectionResponse = {}) {
422
587
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(runCollectionResponse)), { "value": n => { runCollectionResponse.value = n.getCollectionOfObjectValues(createRunFromDiscriminatorValue); } });
423
588
  }
@@ -425,6 +590,7 @@ export function deserializeIntoRunCollectionResponse(runCollectionResponse = {})
425
590
  * The deserialization information for the current model
426
591
  * @returns {Record<string, (node: ParseNode) => void>}
427
592
  */
593
+ // @ts-ignore
428
594
  export function deserializeIntoRunSummary(runSummary = {}) {
429
595
  return {
430
596
  "backingStoreEnabled": n => { runSummary.backingStoreEnabled = true; },
@@ -441,6 +607,7 @@ export function deserializeIntoRunSummary(runSummary = {}) {
441
607
  * The deserialization information for the current model
442
608
  * @returns {Record<string, (node: ParseNode) => void>}
443
609
  */
610
+ // @ts-ignore
444
611
  export function deserializeIntoTask(task = {}) {
445
612
  return Object.assign(Object.assign({}, deserializeIntoEntity(task)), { "arguments": n => { task.arguments = n.getCollectionOfObjectValues(createKeyValuePairFromDiscriminatorValue); }, "category": n => { task.category = n.getCollectionOfEnumValues(LifecycleTaskCategoryObject); }, "continueOnError": n => { task.continueOnError = n.getBooleanValue(); }, "description": n => { task.description = n.getStringValue(); }, "displayName": n => { task.displayName = n.getStringValue(); }, "executionSequence": n => { task.executionSequence = n.getNumberValue(); }, "isEnabled": n => { task.isEnabled = n.getBooleanValue(); }, "taskDefinitionId": n => { task.taskDefinitionId = n.getStringValue(); }, "taskProcessingResults": n => { task.taskProcessingResults = n.getCollectionOfObjectValues(createTaskProcessingResultFromDiscriminatorValue); } });
446
613
  }
@@ -448,6 +615,7 @@ export function deserializeIntoTask(task = {}) {
448
615
  * The deserialization information for the current model
449
616
  * @returns {Record<string, (node: ParseNode) => void>}
450
617
  */
618
+ // @ts-ignore
451
619
  export function deserializeIntoTaskCollectionResponse(taskCollectionResponse = {}) {
452
620
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskCollectionResponse)), { "value": n => { taskCollectionResponse.value = n.getCollectionOfObjectValues(createTaskFromDiscriminatorValue); } });
453
621
  }
@@ -455,6 +623,7 @@ export function deserializeIntoTaskCollectionResponse(taskCollectionResponse = {
455
623
  * The deserialization information for the current model
456
624
  * @returns {Record<string, (node: ParseNode) => void>}
457
625
  */
626
+ // @ts-ignore
458
627
  export function deserializeIntoTaskDefinition(taskDefinition = {}) {
459
628
  return Object.assign(Object.assign({}, deserializeIntoEntity(taskDefinition)), { "category": n => { taskDefinition.category = n.getCollectionOfEnumValues(LifecycleTaskCategoryObject); }, "continueOnError": n => { taskDefinition.continueOnError = n.getBooleanValue(); }, "description": n => { taskDefinition.description = n.getStringValue(); }, "displayName": n => { taskDefinition.displayName = n.getStringValue(); }, "parameters": n => { taskDefinition.parameters = n.getCollectionOfObjectValues(createParameterFromDiscriminatorValue); }, "version": n => { taskDefinition.version = n.getNumberValue(); } });
460
629
  }
@@ -462,6 +631,7 @@ export function deserializeIntoTaskDefinition(taskDefinition = {}) {
462
631
  * The deserialization information for the current model
463
632
  * @returns {Record<string, (node: ParseNode) => void>}
464
633
  */
634
+ // @ts-ignore
465
635
  export function deserializeIntoTaskDefinitionCollectionResponse(taskDefinitionCollectionResponse = {}) {
466
636
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskDefinitionCollectionResponse)), { "value": n => { taskDefinitionCollectionResponse.value = n.getCollectionOfObjectValues(createTaskDefinitionFromDiscriminatorValue); } });
467
637
  }
@@ -469,6 +639,7 @@ export function deserializeIntoTaskDefinitionCollectionResponse(taskDefinitionCo
469
639
  * The deserialization information for the current model
470
640
  * @returns {Record<string, (node: ParseNode) => void>}
471
641
  */
642
+ // @ts-ignore
472
643
  export function deserializeIntoTaskProcessingResult(taskProcessingResult = {}) {
473
644
  return Object.assign(Object.assign({}, deserializeIntoEntity(taskProcessingResult)), { "completedDateTime": n => { taskProcessingResult.completedDateTime = n.getDateValue(); }, "createdDateTime": n => { taskProcessingResult.createdDateTime = n.getDateValue(); }, "failureReason": n => { taskProcessingResult.failureReason = n.getStringValue(); }, "processingStatus": n => { taskProcessingResult.processingStatus = n.getEnumValue(LifecycleWorkflowProcessingStatusObject); }, "startedDateTime": n => { taskProcessingResult.startedDateTime = n.getDateValue(); }, "subject": n => { taskProcessingResult.subject = n.getObjectValue(createUserFromDiscriminatorValue); }, "task": n => { taskProcessingResult.task = n.getObjectValue(createTaskFromDiscriminatorValue); } });
474
645
  }
@@ -476,6 +647,7 @@ export function deserializeIntoTaskProcessingResult(taskProcessingResult = {}) {
476
647
  * The deserialization information for the current model
477
648
  * @returns {Record<string, (node: ParseNode) => void>}
478
649
  */
650
+ // @ts-ignore
479
651
  export function deserializeIntoTaskProcessingResultCollectionResponse(taskProcessingResultCollectionResponse = {}) {
480
652
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskProcessingResultCollectionResponse)), { "value": n => { taskProcessingResultCollectionResponse.value = n.getCollectionOfObjectValues(createTaskProcessingResultFromDiscriminatorValue); } });
481
653
  }
@@ -483,6 +655,7 @@ export function deserializeIntoTaskProcessingResultCollectionResponse(taskProces
483
655
  * The deserialization information for the current model
484
656
  * @returns {Record<string, (node: ParseNode) => void>}
485
657
  */
658
+ // @ts-ignore
486
659
  export function deserializeIntoTaskReport(taskReport = {}) {
487
660
  return Object.assign(Object.assign({}, deserializeIntoEntity(taskReport)), { "completedDateTime": n => { taskReport.completedDateTime = n.getDateValue(); }, "failedUsersCount": n => { taskReport.failedUsersCount = n.getNumberValue(); }, "lastUpdatedDateTime": n => { taskReport.lastUpdatedDateTime = n.getDateValue(); }, "processingStatus": n => { taskReport.processingStatus = n.getEnumValue(LifecycleWorkflowProcessingStatusObject); }, "runId": n => { taskReport.runId = n.getStringValue(); }, "startedDateTime": n => { taskReport.startedDateTime = n.getDateValue(); }, "successfulUsersCount": n => { taskReport.successfulUsersCount = n.getNumberValue(); }, "task": n => { taskReport.task = n.getObjectValue(createTaskFromDiscriminatorValue); }, "taskDefinition": n => { taskReport.taskDefinition = n.getObjectValue(createTaskDefinitionFromDiscriminatorValue); }, "taskProcessingResults": n => { taskReport.taskProcessingResults = n.getCollectionOfObjectValues(createTaskProcessingResultFromDiscriminatorValue); }, "totalUsersCount": n => { taskReport.totalUsersCount = n.getNumberValue(); }, "unprocessedUsersCount": n => { taskReport.unprocessedUsersCount = n.getNumberValue(); } });
488
661
  }
@@ -490,6 +663,7 @@ export function deserializeIntoTaskReport(taskReport = {}) {
490
663
  * The deserialization information for the current model
491
664
  * @returns {Record<string, (node: ParseNode) => void>}
492
665
  */
666
+ // @ts-ignore
493
667
  export function deserializeIntoTaskReportCollectionResponse(taskReportCollectionResponse = {}) {
494
668
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskReportCollectionResponse)), { "value": n => { taskReportCollectionResponse.value = n.getCollectionOfObjectValues(createTaskReportFromDiscriminatorValue); } });
495
669
  }
@@ -497,6 +671,7 @@ export function deserializeIntoTaskReportCollectionResponse(taskReportCollection
497
671
  * The deserialization information for the current model
498
672
  * @returns {Record<string, (node: ParseNode) => void>}
499
673
  */
674
+ // @ts-ignore
500
675
  export function deserializeIntoTaskReportSummary(taskReportSummary = {}) {
501
676
  return {
502
677
  "backingStoreEnabled": n => { taskReportSummary.backingStoreEnabled = true; },
@@ -511,6 +686,7 @@ export function deserializeIntoTaskReportSummary(taskReportSummary = {}) {
511
686
  * The deserialization information for the current model
512
687
  * @returns {Record<string, (node: ParseNode) => void>}
513
688
  */
689
+ // @ts-ignore
514
690
  export function deserializeIntoTimeBasedAttributeTrigger(timeBasedAttributeTrigger = {}) {
515
691
  return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionTrigger(timeBasedAttributeTrigger)), { "offsetInDays": n => { timeBasedAttributeTrigger.offsetInDays = n.getNumberValue(); }, "timeBasedAttribute": n => { timeBasedAttributeTrigger.timeBasedAttribute = n.getEnumValue(WorkflowTriggerTimeBasedAttributeObject); } });
516
692
  }
@@ -518,6 +694,47 @@ export function deserializeIntoTimeBasedAttributeTrigger(timeBasedAttributeTrigg
518
694
  * The deserialization information for the current model
519
695
  * @returns {Record<string, (node: ParseNode) => void>}
520
696
  */
697
+ // @ts-ignore
698
+ export function deserializeIntoTopTasksInsightsSummary(topTasksInsightsSummary = {}) {
699
+ return {
700
+ "backingStoreEnabled": n => { topTasksInsightsSummary.backingStoreEnabled = true; },
701
+ "failedTasks": n => { topTasksInsightsSummary.failedTasks = n.getNumberValue(); },
702
+ "failedUsers": n => { topTasksInsightsSummary.failedUsers = n.getNumberValue(); },
703
+ "@odata.type": n => { topTasksInsightsSummary.odataType = n.getStringValue(); },
704
+ "successfulTasks": n => { topTasksInsightsSummary.successfulTasks = n.getNumberValue(); },
705
+ "successfulUsers": n => { topTasksInsightsSummary.successfulUsers = n.getNumberValue(); },
706
+ "taskDefinitionDisplayName": n => { topTasksInsightsSummary.taskDefinitionDisplayName = n.getStringValue(); },
707
+ "taskDefinitionId": n => { topTasksInsightsSummary.taskDefinitionId = n.getStringValue(); },
708
+ "totalTasks": n => { topTasksInsightsSummary.totalTasks = n.getNumberValue(); },
709
+ "totalUsers": n => { topTasksInsightsSummary.totalUsers = n.getNumberValue(); },
710
+ };
711
+ }
712
+ /**
713
+ * The deserialization information for the current model
714
+ * @returns {Record<string, (node: ParseNode) => void>}
715
+ */
716
+ // @ts-ignore
717
+ export function deserializeIntoTopWorkflowsInsightsSummary(topWorkflowsInsightsSummary = {}) {
718
+ return {
719
+ "backingStoreEnabled": n => { topWorkflowsInsightsSummary.backingStoreEnabled = true; },
720
+ "failedRuns": n => { topWorkflowsInsightsSummary.failedRuns = n.getNumberValue(); },
721
+ "failedUsers": n => { topWorkflowsInsightsSummary.failedUsers = n.getNumberValue(); },
722
+ "@odata.type": n => { topWorkflowsInsightsSummary.odataType = n.getStringValue(); },
723
+ "successfulRuns": n => { topWorkflowsInsightsSummary.successfulRuns = n.getNumberValue(); },
724
+ "successfulUsers": n => { topWorkflowsInsightsSummary.successfulUsers = n.getNumberValue(); },
725
+ "totalRuns": n => { topWorkflowsInsightsSummary.totalRuns = n.getNumberValue(); },
726
+ "totalUsers": n => { topWorkflowsInsightsSummary.totalUsers = n.getNumberValue(); },
727
+ "workflowCategory": n => { topWorkflowsInsightsSummary.workflowCategory = n.getEnumValue(LifecycleWorkflowCategoryObject); },
728
+ "workflowDisplayName": n => { topWorkflowsInsightsSummary.workflowDisplayName = n.getStringValue(); },
729
+ "workflowId": n => { topWorkflowsInsightsSummary.workflowId = n.getStringValue(); },
730
+ "workflowVersion": n => { topWorkflowsInsightsSummary.workflowVersion = n.getNumberValue(); },
731
+ };
732
+ }
733
+ /**
734
+ * The deserialization information for the current model
735
+ * @returns {Record<string, (node: ParseNode) => void>}
736
+ */
737
+ // @ts-ignore
521
738
  export function deserializeIntoTriggerAndScopeBasedConditions(triggerAndScopeBasedConditions = {}) {
522
739
  return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionConditions(triggerAndScopeBasedConditions)), { "scope": n => { triggerAndScopeBasedConditions.scope = n.getObjectValue(createSubjectSetFromDiscriminatorValue); }, "trigger": n => { triggerAndScopeBasedConditions.trigger = n.getObjectValue(createWorkflowExecutionTriggerFromDiscriminatorValue); } });
523
740
  }
@@ -525,6 +742,19 @@ export function deserializeIntoTriggerAndScopeBasedConditions(triggerAndScopeBas
525
742
  * The deserialization information for the current model
526
743
  * @returns {Record<string, (node: ParseNode) => void>}
527
744
  */
745
+ // @ts-ignore
746
+ export function deserializeIntoTriggerAttribute(triggerAttribute = {}) {
747
+ return {
748
+ "backingStoreEnabled": n => { triggerAttribute.backingStoreEnabled = true; },
749
+ "name": n => { triggerAttribute.name = n.getStringValue(); },
750
+ "@odata.type": n => { triggerAttribute.odataType = n.getStringValue(); },
751
+ };
752
+ }
753
+ /**
754
+ * The deserialization information for the current model
755
+ * @returns {Record<string, (node: ParseNode) => void>}
756
+ */
757
+ // @ts-ignore
528
758
  export function deserializeIntoUserProcessingResult(userProcessingResult = {}) {
529
759
  return Object.assign(Object.assign({}, deserializeIntoEntity(userProcessingResult)), { "completedDateTime": n => { userProcessingResult.completedDateTime = n.getDateValue(); }, "failedTasksCount": n => { userProcessingResult.failedTasksCount = n.getNumberValue(); }, "processingStatus": n => { userProcessingResult.processingStatus = n.getEnumValue(LifecycleWorkflowProcessingStatusObject); }, "scheduledDateTime": n => { userProcessingResult.scheduledDateTime = n.getDateValue(); }, "startedDateTime": n => { userProcessingResult.startedDateTime = n.getDateValue(); }, "subject": n => { userProcessingResult.subject = n.getObjectValue(createUserFromDiscriminatorValue); }, "taskProcessingResults": n => { userProcessingResult.taskProcessingResults = n.getCollectionOfObjectValues(createTaskProcessingResultFromDiscriminatorValue); }, "totalTasksCount": n => { userProcessingResult.totalTasksCount = n.getNumberValue(); }, "totalUnprocessedTasksCount": n => { userProcessingResult.totalUnprocessedTasksCount = n.getNumberValue(); }, "workflowExecutionType": n => { userProcessingResult.workflowExecutionType = n.getEnumValue(WorkflowExecutionTypeObject); }, "workflowVersion": n => { userProcessingResult.workflowVersion = n.getNumberValue(); } });
530
760
  }
@@ -532,6 +762,7 @@ export function deserializeIntoUserProcessingResult(userProcessingResult = {}) {
532
762
  * The deserialization information for the current model
533
763
  * @returns {Record<string, (node: ParseNode) => void>}
534
764
  */
765
+ // @ts-ignore
535
766
  export function deserializeIntoUserProcessingResultCollectionResponse(userProcessingResultCollectionResponse = {}) {
536
767
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(userProcessingResultCollectionResponse)), { "value": n => { userProcessingResultCollectionResponse.value = n.getCollectionOfObjectValues(createUserProcessingResultFromDiscriminatorValue); } });
537
768
  }
@@ -539,6 +770,7 @@ export function deserializeIntoUserProcessingResultCollectionResponse(userProces
539
770
  * The deserialization information for the current model
540
771
  * @returns {Record<string, (node: ParseNode) => void>}
541
772
  */
773
+ // @ts-ignore
542
774
  export function deserializeIntoUserSummary(userSummary = {}) {
543
775
  return {
544
776
  "backingStoreEnabled": n => { userSummary.backingStoreEnabled = true; },
@@ -554,6 +786,7 @@ export function deserializeIntoUserSummary(userSummary = {}) {
554
786
  * The deserialization information for the current model
555
787
  * @returns {Record<string, (node: ParseNode) => void>}
556
788
  */
789
+ // @ts-ignore
557
790
  export function deserializeIntoWorkflow(workflow = {}) {
558
791
  return Object.assign(Object.assign({}, deserializeIntoWorkflowBase(workflow)), { "deletedDateTime": n => { workflow.deletedDateTime = n.getDateValue(); }, "executionScope": n => { workflow.executionScope = n.getCollectionOfObjectValues(createUserProcessingResultFromDiscriminatorValue); }, "id": n => { workflow.id = n.getStringValue(); }, "nextScheduleRunDateTime": n => { workflow.nextScheduleRunDateTime = n.getDateValue(); }, "runs": n => { workflow.runs = n.getCollectionOfObjectValues(createRunFromDiscriminatorValue); }, "taskReports": n => { workflow.taskReports = n.getCollectionOfObjectValues(createTaskReportFromDiscriminatorValue); }, "userProcessingResults": n => { workflow.userProcessingResults = n.getCollectionOfObjectValues(createUserProcessingResultFromDiscriminatorValue); }, "version": n => { workflow.version = n.getNumberValue(); }, "versions": n => { workflow.versions = n.getCollectionOfObjectValues(createWorkflowVersionFromDiscriminatorValue); } });
559
792
  }
@@ -561,6 +794,7 @@ export function deserializeIntoWorkflow(workflow = {}) {
561
794
  * The deserialization information for the current model
562
795
  * @returns {Record<string, (node: ParseNode) => void>}
563
796
  */
797
+ // @ts-ignore
564
798
  export function deserializeIntoWorkflowBase(workflowBase = {}) {
565
799
  return {
566
800
  "backingStoreEnabled": n => { workflowBase.backingStoreEnabled = true; },
@@ -582,6 +816,7 @@ export function deserializeIntoWorkflowBase(workflowBase = {}) {
582
816
  * The deserialization information for the current model
583
817
  * @returns {Record<string, (node: ParseNode) => void>}
584
818
  */
819
+ // @ts-ignore
585
820
  export function deserializeIntoWorkflowCollectionResponse(workflowCollectionResponse = {}) {
586
821
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(workflowCollectionResponse)), { "value": n => { workflowCollectionResponse.value = n.getCollectionOfObjectValues(createWorkflowFromDiscriminatorValue); } });
587
822
  }
@@ -589,6 +824,7 @@ export function deserializeIntoWorkflowCollectionResponse(workflowCollectionResp
589
824
  * The deserialization information for the current model
590
825
  * @returns {Record<string, (node: ParseNode) => void>}
591
826
  */
827
+ // @ts-ignore
592
828
  export function deserializeIntoWorkflowExecutionConditions(workflowExecutionConditions = {}) {
593
829
  return {
594
830
  "backingStoreEnabled": n => { workflowExecutionConditions.backingStoreEnabled = true; },
@@ -599,6 +835,7 @@ export function deserializeIntoWorkflowExecutionConditions(workflowExecutionCond
599
835
  * The deserialization information for the current model
600
836
  * @returns {Record<string, (node: ParseNode) => void>}
601
837
  */
838
+ // @ts-ignore
602
839
  export function deserializeIntoWorkflowExecutionTrigger(workflowExecutionTrigger = {}) {
603
840
  return {
604
841
  "backingStoreEnabled": n => { workflowExecutionTrigger.backingStoreEnabled = true; },
@@ -609,6 +846,47 @@ export function deserializeIntoWorkflowExecutionTrigger(workflowExecutionTrigger
609
846
  * The deserialization information for the current model
610
847
  * @returns {Record<string, (node: ParseNode) => void>}
611
848
  */
849
+ // @ts-ignore
850
+ export function deserializeIntoWorkflowsInsightsByCategory(workflowsInsightsByCategory = {}) {
851
+ return {
852
+ "backingStoreEnabled": n => { workflowsInsightsByCategory.backingStoreEnabled = true; },
853
+ "failedJoinerRuns": n => { workflowsInsightsByCategory.failedJoinerRuns = n.getNumberValue(); },
854
+ "failedLeaverRuns": n => { workflowsInsightsByCategory.failedLeaverRuns = n.getNumberValue(); },
855
+ "failedMoverRuns": n => { workflowsInsightsByCategory.failedMoverRuns = n.getNumberValue(); },
856
+ "@odata.type": n => { workflowsInsightsByCategory.odataType = n.getStringValue(); },
857
+ "successfulJoinerRuns": n => { workflowsInsightsByCategory.successfulJoinerRuns = n.getNumberValue(); },
858
+ "successfulLeaverRuns": n => { workflowsInsightsByCategory.successfulLeaverRuns = n.getNumberValue(); },
859
+ "successfulMoverRuns": n => { workflowsInsightsByCategory.successfulMoverRuns = n.getNumberValue(); },
860
+ "totalJoinerRuns": n => { workflowsInsightsByCategory.totalJoinerRuns = n.getNumberValue(); },
861
+ "totalLeaverRuns": n => { workflowsInsightsByCategory.totalLeaverRuns = n.getNumberValue(); },
862
+ "totalMoverRuns": n => { workflowsInsightsByCategory.totalMoverRuns = n.getNumberValue(); },
863
+ };
864
+ }
865
+ /**
866
+ * The deserialization information for the current model
867
+ * @returns {Record<string, (node: ParseNode) => void>}
868
+ */
869
+ // @ts-ignore
870
+ export function deserializeIntoWorkflowsInsightsSummary(workflowsInsightsSummary = {}) {
871
+ return {
872
+ "backingStoreEnabled": n => { workflowsInsightsSummary.backingStoreEnabled = true; },
873
+ "failedRuns": n => { workflowsInsightsSummary.failedRuns = n.getNumberValue(); },
874
+ "failedTasks": n => { workflowsInsightsSummary.failedTasks = n.getNumberValue(); },
875
+ "failedUsers": n => { workflowsInsightsSummary.failedUsers = n.getNumberValue(); },
876
+ "@odata.type": n => { workflowsInsightsSummary.odataType = n.getStringValue(); },
877
+ "successfulRuns": n => { workflowsInsightsSummary.successfulRuns = n.getNumberValue(); },
878
+ "successfulTasks": n => { workflowsInsightsSummary.successfulTasks = n.getNumberValue(); },
879
+ "successfulUsers": n => { workflowsInsightsSummary.successfulUsers = n.getNumberValue(); },
880
+ "totalRuns": n => { workflowsInsightsSummary.totalRuns = n.getNumberValue(); },
881
+ "totalTasks": n => { workflowsInsightsSummary.totalTasks = n.getNumberValue(); },
882
+ "totalUsers": n => { workflowsInsightsSummary.totalUsers = n.getNumberValue(); },
883
+ };
884
+ }
885
+ /**
886
+ * The deserialization information for the current model
887
+ * @returns {Record<string, (node: ParseNode) => void>}
888
+ */
889
+ // @ts-ignore
612
890
  export function deserializeIntoWorkflowTemplate(workflowTemplate = {}) {
613
891
  return Object.assign(Object.assign({}, deserializeIntoEntity(workflowTemplate)), { "category": n => { workflowTemplate.category = n.getEnumValue(LifecycleWorkflowCategoryObject); }, "description": n => { workflowTemplate.description = n.getStringValue(); }, "displayName": n => { workflowTemplate.displayName = n.getStringValue(); }, "executionConditions": n => { workflowTemplate.executionConditions = n.getObjectValue(createWorkflowExecutionConditionsFromDiscriminatorValue); }, "tasks": n => { workflowTemplate.tasks = n.getCollectionOfObjectValues(createTaskFromDiscriminatorValue); } });
614
892
  }
@@ -616,6 +894,7 @@ export function deserializeIntoWorkflowTemplate(workflowTemplate = {}) {
616
894
  * The deserialization information for the current model
617
895
  * @returns {Record<string, (node: ParseNode) => void>}
618
896
  */
897
+ // @ts-ignore
619
898
  export function deserializeIntoWorkflowTemplateCollectionResponse(workflowTemplateCollectionResponse = {}) {
620
899
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(workflowTemplateCollectionResponse)), { "value": n => { workflowTemplateCollectionResponse.value = n.getCollectionOfObjectValues(createWorkflowTemplateFromDiscriminatorValue); } });
621
900
  }
@@ -623,6 +902,7 @@ export function deserializeIntoWorkflowTemplateCollectionResponse(workflowTempla
623
902
  * The deserialization information for the current model
624
903
  * @returns {Record<string, (node: ParseNode) => void>}
625
904
  */
905
+ // @ts-ignore
626
906
  export function deserializeIntoWorkflowVersion(workflowVersion = {}) {
627
907
  return Object.assign(Object.assign({}, deserializeIntoWorkflowBase(workflowVersion)), { "versionNumber": n => { workflowVersion.versionNumber = n.getNumberValue(); } });
628
908
  }
@@ -630,6 +910,7 @@ export function deserializeIntoWorkflowVersion(workflowVersion = {}) {
630
910
  * The deserialization information for the current model
631
911
  * @returns {Record<string, (node: ParseNode) => void>}
632
912
  */
913
+ // @ts-ignore
633
914
  export function deserializeIntoWorkflowVersionCollectionResponse(workflowVersionCollectionResponse = {}) {
634
915
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(workflowVersionCollectionResponse)), { "value": n => { workflowVersionCollectionResponse.value = n.getCollectionOfObjectValues(createWorkflowVersionFromDiscriminatorValue); } });
635
916
  }
@@ -637,397 +918,641 @@ export function deserializeIntoWorkflowVersionCollectionResponse(workflowVersion
637
918
  * Serializes information the current object
638
919
  * @param writer Serialization writer to use to serialize this model
639
920
  */
921
+ // @ts-ignore
922
+ export function serializeAttributeChangeTrigger(writer, attributeChangeTrigger = {}) {
923
+ if (attributeChangeTrigger) {
924
+ serializeWorkflowExecutionTrigger(writer, attributeChangeTrigger);
925
+ writer.writeCollectionOfObjectValues("triggerAttributes", attributeChangeTrigger.triggerAttributes, serializeTriggerAttribute);
926
+ }
927
+ }
928
+ /**
929
+ * Serializes information the current object
930
+ * @param writer Serialization writer to use to serialize this model
931
+ */
932
+ // @ts-ignore
640
933
  export function serializeCustomTaskExtension(writer, customTaskExtension = {}) {
641
- serializeCustomCalloutExtension(writer, customTaskExtension);
642
- writer.writeObjectValue("callbackConfiguration", customTaskExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration);
643
- writer.writeObjectValue("createdBy", customTaskExtension.createdBy, serializeUser);
644
- writer.writeDateValue("createdDateTime", customTaskExtension.createdDateTime);
645
- writer.writeObjectValue("lastModifiedBy", customTaskExtension.lastModifiedBy, serializeUser);
646
- writer.writeDateValue("lastModifiedDateTime", customTaskExtension.lastModifiedDateTime);
934
+ if (customTaskExtension) {
935
+ serializeCustomCalloutExtension(writer, customTaskExtension);
936
+ writer.writeObjectValue("callbackConfiguration", customTaskExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration);
937
+ writer.writeObjectValue("createdBy", customTaskExtension.createdBy, serializeUser);
938
+ writer.writeDateValue("createdDateTime", customTaskExtension.createdDateTime);
939
+ writer.writeObjectValue("lastModifiedBy", customTaskExtension.lastModifiedBy, serializeUser);
940
+ writer.writeDateValue("lastModifiedDateTime", customTaskExtension.lastModifiedDateTime);
941
+ }
647
942
  }
648
943
  /**
649
944
  * Serializes information the current object
650
945
  * @param writer Serialization writer to use to serialize this model
651
946
  */
947
+ // @ts-ignore
652
948
  export function serializeCustomTaskExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration = {}) {
653
- serializeCustomExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration);
654
- writer.writeCollectionOfObjectValues("authorizedApps", customTaskExtensionCallbackConfiguration.authorizedApps, serializeApplication);
949
+ if (customTaskExtensionCallbackConfiguration) {
950
+ serializeCustomExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration);
951
+ writer.writeCollectionOfObjectValues("authorizedApps", customTaskExtensionCallbackConfiguration.authorizedApps, serializeApplication);
952
+ }
655
953
  }
656
954
  /**
657
955
  * Serializes information the current object
658
956
  * @param writer Serialization writer to use to serialize this model
659
957
  */
958
+ // @ts-ignore
660
959
  export function serializeCustomTaskExtensionCallbackData(writer, customTaskExtensionCallbackData = {}) {
661
- serializeCustomExtensionData(writer, customTaskExtensionCallbackData);
662
- writer.writeEnumValue("operationStatus", customTaskExtensionCallbackData.operationStatus);
960
+ if (customTaskExtensionCallbackData) {
961
+ serializeCustomExtensionData(writer, customTaskExtensionCallbackData);
962
+ writer.writeEnumValue("operationStatus", customTaskExtensionCallbackData.operationStatus);
963
+ }
663
964
  }
664
965
  /**
665
966
  * Serializes information the current object
666
967
  * @param writer Serialization writer to use to serialize this model
667
968
  */
969
+ // @ts-ignore
668
970
  export function serializeCustomTaskExtensionCalloutData(writer, customTaskExtensionCalloutData = {}) {
669
- serializeCustomExtensionData(writer, customTaskExtensionCalloutData);
670
- writer.writeObjectValue("subject", customTaskExtensionCalloutData.subject, serializeUser);
671
- writer.writeObjectValue("task", customTaskExtensionCalloutData.task, serializeTask);
672
- writer.writeObjectValue("taskProcessingresult", customTaskExtensionCalloutData.taskProcessingresult, serializeTaskProcessingResult);
673
- writer.writeObjectValue("workflow", customTaskExtensionCalloutData.workflow, serializeWorkflow);
971
+ if (customTaskExtensionCalloutData) {
972
+ serializeCustomExtensionData(writer, customTaskExtensionCalloutData);
973
+ writer.writeObjectValue("subject", customTaskExtensionCalloutData.subject, serializeUser);
974
+ writer.writeObjectValue("task", customTaskExtensionCalloutData.task, serializeTask);
975
+ writer.writeObjectValue("taskProcessingresult", customTaskExtensionCalloutData.taskProcessingresult, serializeTaskProcessingResult);
976
+ writer.writeObjectValue("workflow", customTaskExtensionCalloutData.workflow, serializeWorkflow);
977
+ }
674
978
  }
675
979
  /**
676
980
  * Serializes information the current object
677
981
  * @param writer Serialization writer to use to serialize this model
678
982
  */
983
+ // @ts-ignore
679
984
  export function serializeCustomTaskExtensionCollectionResponse(writer, customTaskExtensionCollectionResponse = {}) {
680
- serializeBaseCollectionPaginationCountResponse(writer, customTaskExtensionCollectionResponse);
681
- writer.writeCollectionOfObjectValues("value", customTaskExtensionCollectionResponse.value, serializeCustomTaskExtension);
985
+ if (customTaskExtensionCollectionResponse) {
986
+ serializeBaseCollectionPaginationCountResponse(writer, customTaskExtensionCollectionResponse);
987
+ writer.writeCollectionOfObjectValues("value", customTaskExtensionCollectionResponse.value, serializeCustomTaskExtension);
988
+ }
682
989
  }
683
990
  /**
684
991
  * Serializes information the current object
685
992
  * @param writer Serialization writer to use to serialize this model
686
993
  */
994
+ // @ts-ignore
995
+ export function serializeGroupBasedSubjectSet(writer, groupBasedSubjectSet = {}) {
996
+ if (groupBasedSubjectSet) {
997
+ serializeSubjectSet(writer, groupBasedSubjectSet);
998
+ writer.writeCollectionOfObjectValues("groups", groupBasedSubjectSet.groups, serializeGroup);
999
+ }
1000
+ }
1001
+ /**
1002
+ * Serializes information the current object
1003
+ * @param writer Serialization writer to use to serialize this model
1004
+ */
1005
+ // @ts-ignore
1006
+ export function serializeInsights(writer, insights = {}) {
1007
+ if (insights) {
1008
+ serializeEntity(writer, insights);
1009
+ }
1010
+ }
1011
+ /**
1012
+ * Serializes information the current object
1013
+ * @param writer Serialization writer to use to serialize this model
1014
+ */
1015
+ // @ts-ignore
687
1016
  export function serializeLifecycleManagementSettings(writer, lifecycleManagementSettings = {}) {
688
- serializeEntity(writer, lifecycleManagementSettings);
689
- writer.writeObjectValue("emailSettings", lifecycleManagementSettings.emailSettings, serializeEmailSettings);
690
- writer.writeNumberValue("workflowScheduleIntervalInHours", lifecycleManagementSettings.workflowScheduleIntervalInHours);
1017
+ if (lifecycleManagementSettings) {
1018
+ serializeEntity(writer, lifecycleManagementSettings);
1019
+ writer.writeObjectValue("emailSettings", lifecycleManagementSettings.emailSettings, serializeEmailSettings);
1020
+ writer.writeNumberValue("workflowScheduleIntervalInHours", lifecycleManagementSettings.workflowScheduleIntervalInHours);
1021
+ }
691
1022
  }
692
1023
  /**
693
1024
  * Serializes information the current object
694
1025
  * @param writer Serialization writer to use to serialize this model
695
1026
  */
1027
+ // @ts-ignore
696
1028
  export function serializeLifecycleWorkflowsContainer(writer, lifecycleWorkflowsContainer = {}) {
697
- serializeEntity(writer, lifecycleWorkflowsContainer);
698
- writer.writeCollectionOfObjectValues("customTaskExtensions", lifecycleWorkflowsContainer.customTaskExtensions, serializeCustomTaskExtension);
699
- writer.writeObjectValue("deletedItems", lifecycleWorkflowsContainer.deletedItems, serializeDeletedItemContainer);
700
- writer.writeObjectValue("settings", lifecycleWorkflowsContainer.settings, serializeLifecycleManagementSettings);
701
- writer.writeCollectionOfObjectValues("taskDefinitions", lifecycleWorkflowsContainer.taskDefinitions, serializeTaskDefinition);
702
- writer.writeCollectionOfObjectValues("workflows", lifecycleWorkflowsContainer.workflows, serializeWorkflow);
703
- writer.writeCollectionOfObjectValues("workflowTemplates", lifecycleWorkflowsContainer.workflowTemplates, serializeWorkflowTemplate);
1029
+ if (lifecycleWorkflowsContainer) {
1030
+ serializeEntity(writer, lifecycleWorkflowsContainer);
1031
+ writer.writeCollectionOfObjectValues("customTaskExtensions", lifecycleWorkflowsContainer.customTaskExtensions, serializeCustomTaskExtension);
1032
+ writer.writeObjectValue("deletedItems", lifecycleWorkflowsContainer.deletedItems, serializeDeletedItemContainer);
1033
+ writer.writeObjectValue("insights", lifecycleWorkflowsContainer.insights, serializeInsights);
1034
+ writer.writeObjectValue("settings", lifecycleWorkflowsContainer.settings, serializeLifecycleManagementSettings);
1035
+ writer.writeCollectionOfObjectValues("taskDefinitions", lifecycleWorkflowsContainer.taskDefinitions, serializeTaskDefinition);
1036
+ writer.writeCollectionOfObjectValues("workflows", lifecycleWorkflowsContainer.workflows, serializeWorkflow);
1037
+ writer.writeCollectionOfObjectValues("workflowTemplates", lifecycleWorkflowsContainer.workflowTemplates, serializeWorkflowTemplate);
1038
+ }
704
1039
  }
705
1040
  /**
706
1041
  * Serializes information the current object
707
1042
  * @param writer Serialization writer to use to serialize this model
708
1043
  */
1044
+ // @ts-ignore
1045
+ export function serializeMembershipChangeTrigger(writer, membershipChangeTrigger = {}) {
1046
+ if (membershipChangeTrigger) {
1047
+ serializeWorkflowExecutionTrigger(writer, membershipChangeTrigger);
1048
+ writer.writeEnumValue("changeType", membershipChangeTrigger.changeType);
1049
+ }
1050
+ }
1051
+ /**
1052
+ * Serializes information the current object
1053
+ * @param writer Serialization writer to use to serialize this model
1054
+ */
1055
+ // @ts-ignore
709
1056
  export function serializeOnDemandExecutionOnly(writer, onDemandExecutionOnly = {}) {
710
- serializeWorkflowExecutionConditions(writer, onDemandExecutionOnly);
1057
+ if (onDemandExecutionOnly) {
1058
+ serializeWorkflowExecutionConditions(writer, onDemandExecutionOnly);
1059
+ }
711
1060
  }
712
1061
  /**
713
1062
  * Serializes information the current object
714
1063
  * @param writer Serialization writer to use to serialize this model
715
1064
  */
1065
+ // @ts-ignore
716
1066
  export function serializeParameter(writer, parameter = {}) {
717
- writer.writeStringValue("name", parameter.name);
718
- writer.writeStringValue("@odata.type", parameter.odataType);
719
- writer.writeCollectionOfPrimitiveValues("values", parameter.values);
720
- writer.writeEnumValue("valueType", parameter.valueType);
721
- writer.writeAdditionalData(parameter.additionalData);
1067
+ if (parameter) {
1068
+ writer.writeStringValue("name", parameter.name);
1069
+ writer.writeStringValue("@odata.type", parameter.odataType);
1070
+ writer.writeCollectionOfPrimitiveValues("values", parameter.values);
1071
+ writer.writeEnumValue("valueType", parameter.valueType);
1072
+ writer.writeAdditionalData(parameter.additionalData);
1073
+ }
722
1074
  }
723
1075
  /**
724
1076
  * Serializes information the current object
725
1077
  * @param writer Serialization writer to use to serialize this model
726
1078
  */
1079
+ // @ts-ignore
727
1080
  export function serializeRuleBasedSubjectSet(writer, ruleBasedSubjectSet = {}) {
728
- serializeSubjectSet(writer, ruleBasedSubjectSet);
729
- writer.writeStringValue("rule", ruleBasedSubjectSet.rule);
1081
+ if (ruleBasedSubjectSet) {
1082
+ serializeSubjectSet(writer, ruleBasedSubjectSet);
1083
+ writer.writeStringValue("rule", ruleBasedSubjectSet.rule);
1084
+ }
730
1085
  }
731
1086
  /**
732
1087
  * Serializes information the current object
733
1088
  * @param writer Serialization writer to use to serialize this model
734
1089
  */
1090
+ // @ts-ignore
735
1091
  export function serializeRun(writer, run = {}) {
736
- serializeEntity(writer, run);
737
- writer.writeDateValue("completedDateTime", run.completedDateTime);
738
- writer.writeNumberValue("failedTasksCount", run.failedTasksCount);
739
- writer.writeNumberValue("failedUsersCount", run.failedUsersCount);
740
- writer.writeDateValue("lastUpdatedDateTime", run.lastUpdatedDateTime);
741
- writer.writeEnumValue("processingStatus", run.processingStatus);
742
- writer.writeDateValue("scheduledDateTime", run.scheduledDateTime);
743
- writer.writeDateValue("startedDateTime", run.startedDateTime);
744
- writer.writeNumberValue("successfulUsersCount", run.successfulUsersCount);
745
- writer.writeCollectionOfObjectValues("taskProcessingResults", run.taskProcessingResults, serializeTaskProcessingResult);
746
- writer.writeNumberValue("totalTasksCount", run.totalTasksCount);
747
- writer.writeNumberValue("totalUnprocessedTasksCount", run.totalUnprocessedTasksCount);
748
- writer.writeNumberValue("totalUsersCount", run.totalUsersCount);
749
- writer.writeCollectionOfObjectValues("userProcessingResults", run.userProcessingResults, serializeUserProcessingResult);
750
- writer.writeEnumValue("workflowExecutionType", run.workflowExecutionType);
1092
+ if (run) {
1093
+ serializeEntity(writer, run);
1094
+ writer.writeDateValue("completedDateTime", run.completedDateTime);
1095
+ writer.writeNumberValue("failedTasksCount", run.failedTasksCount);
1096
+ writer.writeNumberValue("failedUsersCount", run.failedUsersCount);
1097
+ writer.writeDateValue("lastUpdatedDateTime", run.lastUpdatedDateTime);
1098
+ writer.writeEnumValue("processingStatus", run.processingStatus);
1099
+ writer.writeDateValue("scheduledDateTime", run.scheduledDateTime);
1100
+ writer.writeDateValue("startedDateTime", run.startedDateTime);
1101
+ writer.writeNumberValue("successfulUsersCount", run.successfulUsersCount);
1102
+ writer.writeCollectionOfObjectValues("taskProcessingResults", run.taskProcessingResults, serializeTaskProcessingResult);
1103
+ writer.writeNumberValue("totalTasksCount", run.totalTasksCount);
1104
+ writer.writeNumberValue("totalUnprocessedTasksCount", run.totalUnprocessedTasksCount);
1105
+ writer.writeNumberValue("totalUsersCount", run.totalUsersCount);
1106
+ writer.writeCollectionOfObjectValues("userProcessingResults", run.userProcessingResults, serializeUserProcessingResult);
1107
+ writer.writeEnumValue("workflowExecutionType", run.workflowExecutionType);
1108
+ }
751
1109
  }
752
1110
  /**
753
1111
  * Serializes information the current object
754
1112
  * @param writer Serialization writer to use to serialize this model
755
1113
  */
1114
+ // @ts-ignore
756
1115
  export function serializeRunCollectionResponse(writer, runCollectionResponse = {}) {
757
- serializeBaseCollectionPaginationCountResponse(writer, runCollectionResponse);
758
- writer.writeCollectionOfObjectValues("value", runCollectionResponse.value, serializeRun);
1116
+ if (runCollectionResponse) {
1117
+ serializeBaseCollectionPaginationCountResponse(writer, runCollectionResponse);
1118
+ writer.writeCollectionOfObjectValues("value", runCollectionResponse.value, serializeRun);
1119
+ }
759
1120
  }
760
1121
  /**
761
1122
  * Serializes information the current object
762
1123
  * @param writer Serialization writer to use to serialize this model
763
1124
  */
1125
+ // @ts-ignore
764
1126
  export function serializeRunSummary(writer, runSummary = {}) {
765
- writer.writeNumberValue("failedRuns", runSummary.failedRuns);
766
- writer.writeNumberValue("failedTasks", runSummary.failedTasks);
767
- writer.writeStringValue("@odata.type", runSummary.odataType);
768
- writer.writeNumberValue("successfulRuns", runSummary.successfulRuns);
769
- writer.writeNumberValue("totalRuns", runSummary.totalRuns);
770
- writer.writeNumberValue("totalTasks", runSummary.totalTasks);
771
- writer.writeNumberValue("totalUsers", runSummary.totalUsers);
772
- writer.writeAdditionalData(runSummary.additionalData);
1127
+ if (runSummary) {
1128
+ writer.writeNumberValue("failedRuns", runSummary.failedRuns);
1129
+ writer.writeNumberValue("failedTasks", runSummary.failedTasks);
1130
+ writer.writeStringValue("@odata.type", runSummary.odataType);
1131
+ writer.writeNumberValue("successfulRuns", runSummary.successfulRuns);
1132
+ writer.writeNumberValue("totalRuns", runSummary.totalRuns);
1133
+ writer.writeNumberValue("totalTasks", runSummary.totalTasks);
1134
+ writer.writeNumberValue("totalUsers", runSummary.totalUsers);
1135
+ writer.writeAdditionalData(runSummary.additionalData);
1136
+ }
773
1137
  }
774
1138
  /**
775
1139
  * Serializes information the current object
776
1140
  * @param writer Serialization writer to use to serialize this model
777
1141
  */
1142
+ // @ts-ignore
778
1143
  export function serializeTask(writer, task = {}) {
779
- serializeEntity(writer, task);
780
- writer.writeCollectionOfObjectValues("arguments", task.arguments, serializeKeyValuePair);
781
- writer.writeEnumValue("category", task.category);
782
- writer.writeBooleanValue("continueOnError", task.continueOnError);
783
- writer.writeStringValue("description", task.description);
784
- writer.writeStringValue("displayName", task.displayName);
785
- writer.writeNumberValue("executionSequence", task.executionSequence);
786
- writer.writeBooleanValue("isEnabled", task.isEnabled);
787
- writer.writeStringValue("taskDefinitionId", task.taskDefinitionId);
788
- writer.writeCollectionOfObjectValues("taskProcessingResults", task.taskProcessingResults, serializeTaskProcessingResult);
1144
+ if (task) {
1145
+ serializeEntity(writer, task);
1146
+ writer.writeCollectionOfObjectValues("arguments", task.arguments, serializeKeyValuePair);
1147
+ writer.writeEnumValue("category", task.category);
1148
+ writer.writeBooleanValue("continueOnError", task.continueOnError);
1149
+ writer.writeStringValue("description", task.description);
1150
+ writer.writeStringValue("displayName", task.displayName);
1151
+ writer.writeNumberValue("executionSequence", task.executionSequence);
1152
+ writer.writeBooleanValue("isEnabled", task.isEnabled);
1153
+ writer.writeStringValue("taskDefinitionId", task.taskDefinitionId);
1154
+ writer.writeCollectionOfObjectValues("taskProcessingResults", task.taskProcessingResults, serializeTaskProcessingResult);
1155
+ }
789
1156
  }
790
1157
  /**
791
1158
  * Serializes information the current object
792
1159
  * @param writer Serialization writer to use to serialize this model
793
1160
  */
1161
+ // @ts-ignore
794
1162
  export function serializeTaskCollectionResponse(writer, taskCollectionResponse = {}) {
795
- serializeBaseCollectionPaginationCountResponse(writer, taskCollectionResponse);
796
- writer.writeCollectionOfObjectValues("value", taskCollectionResponse.value, serializeTask);
1163
+ if (taskCollectionResponse) {
1164
+ serializeBaseCollectionPaginationCountResponse(writer, taskCollectionResponse);
1165
+ writer.writeCollectionOfObjectValues("value", taskCollectionResponse.value, serializeTask);
1166
+ }
797
1167
  }
798
1168
  /**
799
1169
  * Serializes information the current object
800
1170
  * @param writer Serialization writer to use to serialize this model
801
1171
  */
1172
+ // @ts-ignore
802
1173
  export function serializeTaskDefinition(writer, taskDefinition = {}) {
803
- serializeEntity(writer, taskDefinition);
804
- writer.writeEnumValue("category", taskDefinition.category);
805
- writer.writeBooleanValue("continueOnError", taskDefinition.continueOnError);
806
- writer.writeStringValue("description", taskDefinition.description);
807
- writer.writeStringValue("displayName", taskDefinition.displayName);
808
- writer.writeCollectionOfObjectValues("parameters", taskDefinition.parameters, serializeParameter);
809
- writer.writeNumberValue("version", taskDefinition.version);
1174
+ if (taskDefinition) {
1175
+ serializeEntity(writer, taskDefinition);
1176
+ writer.writeEnumValue("category", taskDefinition.category);
1177
+ writer.writeBooleanValue("continueOnError", taskDefinition.continueOnError);
1178
+ writer.writeStringValue("description", taskDefinition.description);
1179
+ writer.writeStringValue("displayName", taskDefinition.displayName);
1180
+ writer.writeCollectionOfObjectValues("parameters", taskDefinition.parameters, serializeParameter);
1181
+ writer.writeNumberValue("version", taskDefinition.version);
1182
+ }
810
1183
  }
811
1184
  /**
812
1185
  * Serializes information the current object
813
1186
  * @param writer Serialization writer to use to serialize this model
814
1187
  */
1188
+ // @ts-ignore
815
1189
  export function serializeTaskDefinitionCollectionResponse(writer, taskDefinitionCollectionResponse = {}) {
816
- serializeBaseCollectionPaginationCountResponse(writer, taskDefinitionCollectionResponse);
817
- writer.writeCollectionOfObjectValues("value", taskDefinitionCollectionResponse.value, serializeTaskDefinition);
1190
+ if (taskDefinitionCollectionResponse) {
1191
+ serializeBaseCollectionPaginationCountResponse(writer, taskDefinitionCollectionResponse);
1192
+ writer.writeCollectionOfObjectValues("value", taskDefinitionCollectionResponse.value, serializeTaskDefinition);
1193
+ }
818
1194
  }
819
1195
  /**
820
1196
  * Serializes information the current object
821
1197
  * @param writer Serialization writer to use to serialize this model
822
1198
  */
1199
+ // @ts-ignore
823
1200
  export function serializeTaskProcessingResult(writer, taskProcessingResult = {}) {
824
- serializeEntity(writer, taskProcessingResult);
825
- writer.writeDateValue("completedDateTime", taskProcessingResult.completedDateTime);
826
- writer.writeDateValue("createdDateTime", taskProcessingResult.createdDateTime);
827
- writer.writeStringValue("failureReason", taskProcessingResult.failureReason);
828
- writer.writeEnumValue("processingStatus", taskProcessingResult.processingStatus);
829
- writer.writeDateValue("startedDateTime", taskProcessingResult.startedDateTime);
830
- writer.writeObjectValue("subject", taskProcessingResult.subject, serializeUser);
831
- writer.writeObjectValue("task", taskProcessingResult.task, serializeTask);
1201
+ if (taskProcessingResult) {
1202
+ serializeEntity(writer, taskProcessingResult);
1203
+ writer.writeDateValue("completedDateTime", taskProcessingResult.completedDateTime);
1204
+ writer.writeDateValue("createdDateTime", taskProcessingResult.createdDateTime);
1205
+ writer.writeStringValue("failureReason", taskProcessingResult.failureReason);
1206
+ writer.writeEnumValue("processingStatus", taskProcessingResult.processingStatus);
1207
+ writer.writeDateValue("startedDateTime", taskProcessingResult.startedDateTime);
1208
+ writer.writeObjectValue("subject", taskProcessingResult.subject, serializeUser);
1209
+ writer.writeObjectValue("task", taskProcessingResult.task, serializeTask);
1210
+ }
832
1211
  }
833
1212
  /**
834
1213
  * Serializes information the current object
835
1214
  * @param writer Serialization writer to use to serialize this model
836
1215
  */
1216
+ // @ts-ignore
837
1217
  export function serializeTaskProcessingResultCollectionResponse(writer, taskProcessingResultCollectionResponse = {}) {
838
- serializeBaseCollectionPaginationCountResponse(writer, taskProcessingResultCollectionResponse);
839
- writer.writeCollectionOfObjectValues("value", taskProcessingResultCollectionResponse.value, serializeTaskProcessingResult);
1218
+ if (taskProcessingResultCollectionResponse) {
1219
+ serializeBaseCollectionPaginationCountResponse(writer, taskProcessingResultCollectionResponse);
1220
+ writer.writeCollectionOfObjectValues("value", taskProcessingResultCollectionResponse.value, serializeTaskProcessingResult);
1221
+ }
840
1222
  }
841
1223
  /**
842
1224
  * Serializes information the current object
843
1225
  * @param writer Serialization writer to use to serialize this model
844
1226
  */
1227
+ // @ts-ignore
845
1228
  export function serializeTaskReport(writer, taskReport = {}) {
846
- serializeEntity(writer, taskReport);
847
- writer.writeDateValue("completedDateTime", taskReport.completedDateTime);
848
- writer.writeNumberValue("failedUsersCount", taskReport.failedUsersCount);
849
- writer.writeDateValue("lastUpdatedDateTime", taskReport.lastUpdatedDateTime);
850
- writer.writeEnumValue("processingStatus", taskReport.processingStatus);
851
- writer.writeStringValue("runId", taskReport.runId);
852
- writer.writeDateValue("startedDateTime", taskReport.startedDateTime);
853
- writer.writeNumberValue("successfulUsersCount", taskReport.successfulUsersCount);
854
- writer.writeObjectValue("task", taskReport.task, serializeTask);
855
- writer.writeObjectValue("taskDefinition", taskReport.taskDefinition, serializeTaskDefinition);
856
- writer.writeCollectionOfObjectValues("taskProcessingResults", taskReport.taskProcessingResults, serializeTaskProcessingResult);
857
- writer.writeNumberValue("totalUsersCount", taskReport.totalUsersCount);
858
- writer.writeNumberValue("unprocessedUsersCount", taskReport.unprocessedUsersCount);
1229
+ if (taskReport) {
1230
+ serializeEntity(writer, taskReport);
1231
+ writer.writeDateValue("completedDateTime", taskReport.completedDateTime);
1232
+ writer.writeNumberValue("failedUsersCount", taskReport.failedUsersCount);
1233
+ writer.writeDateValue("lastUpdatedDateTime", taskReport.lastUpdatedDateTime);
1234
+ writer.writeEnumValue("processingStatus", taskReport.processingStatus);
1235
+ writer.writeStringValue("runId", taskReport.runId);
1236
+ writer.writeDateValue("startedDateTime", taskReport.startedDateTime);
1237
+ writer.writeNumberValue("successfulUsersCount", taskReport.successfulUsersCount);
1238
+ writer.writeObjectValue("task", taskReport.task, serializeTask);
1239
+ writer.writeObjectValue("taskDefinition", taskReport.taskDefinition, serializeTaskDefinition);
1240
+ writer.writeCollectionOfObjectValues("taskProcessingResults", taskReport.taskProcessingResults, serializeTaskProcessingResult);
1241
+ writer.writeNumberValue("totalUsersCount", taskReport.totalUsersCount);
1242
+ writer.writeNumberValue("unprocessedUsersCount", taskReport.unprocessedUsersCount);
1243
+ }
859
1244
  }
860
1245
  /**
861
1246
  * Serializes information the current object
862
1247
  * @param writer Serialization writer to use to serialize this model
863
1248
  */
1249
+ // @ts-ignore
864
1250
  export function serializeTaskReportCollectionResponse(writer, taskReportCollectionResponse = {}) {
865
- serializeBaseCollectionPaginationCountResponse(writer, taskReportCollectionResponse);
866
- writer.writeCollectionOfObjectValues("value", taskReportCollectionResponse.value, serializeTaskReport);
1251
+ if (taskReportCollectionResponse) {
1252
+ serializeBaseCollectionPaginationCountResponse(writer, taskReportCollectionResponse);
1253
+ writer.writeCollectionOfObjectValues("value", taskReportCollectionResponse.value, serializeTaskReport);
1254
+ }
867
1255
  }
868
1256
  /**
869
1257
  * Serializes information the current object
870
1258
  * @param writer Serialization writer to use to serialize this model
871
1259
  */
1260
+ // @ts-ignore
872
1261
  export function serializeTaskReportSummary(writer, taskReportSummary = {}) {
873
- writer.writeNumberValue("failedTasks", taskReportSummary.failedTasks);
874
- writer.writeStringValue("@odata.type", taskReportSummary.odataType);
875
- writer.writeNumberValue("successfulTasks", taskReportSummary.successfulTasks);
876
- writer.writeNumberValue("totalTasks", taskReportSummary.totalTasks);
877
- writer.writeNumberValue("unprocessedTasks", taskReportSummary.unprocessedTasks);
878
- writer.writeAdditionalData(taskReportSummary.additionalData);
1262
+ if (taskReportSummary) {
1263
+ writer.writeNumberValue("failedTasks", taskReportSummary.failedTasks);
1264
+ writer.writeStringValue("@odata.type", taskReportSummary.odataType);
1265
+ writer.writeNumberValue("successfulTasks", taskReportSummary.successfulTasks);
1266
+ writer.writeNumberValue("totalTasks", taskReportSummary.totalTasks);
1267
+ writer.writeNumberValue("unprocessedTasks", taskReportSummary.unprocessedTasks);
1268
+ writer.writeAdditionalData(taskReportSummary.additionalData);
1269
+ }
879
1270
  }
880
1271
  /**
881
1272
  * Serializes information the current object
882
1273
  * @param writer Serialization writer to use to serialize this model
883
1274
  */
1275
+ // @ts-ignore
884
1276
  export function serializeTimeBasedAttributeTrigger(writer, timeBasedAttributeTrigger = {}) {
885
- serializeWorkflowExecutionTrigger(writer, timeBasedAttributeTrigger);
886
- writer.writeNumberValue("offsetInDays", timeBasedAttributeTrigger.offsetInDays);
887
- writer.writeEnumValue("timeBasedAttribute", timeBasedAttributeTrigger.timeBasedAttribute);
1277
+ if (timeBasedAttributeTrigger) {
1278
+ serializeWorkflowExecutionTrigger(writer, timeBasedAttributeTrigger);
1279
+ writer.writeNumberValue("offsetInDays", timeBasedAttributeTrigger.offsetInDays);
1280
+ writer.writeEnumValue("timeBasedAttribute", timeBasedAttributeTrigger.timeBasedAttribute);
1281
+ }
888
1282
  }
889
1283
  /**
890
1284
  * Serializes information the current object
891
1285
  * @param writer Serialization writer to use to serialize this model
892
1286
  */
1287
+ // @ts-ignore
1288
+ export function serializeTopTasksInsightsSummary(writer, topTasksInsightsSummary = {}) {
1289
+ if (topTasksInsightsSummary) {
1290
+ writer.writeNumberValue("failedTasks", topTasksInsightsSummary.failedTasks);
1291
+ writer.writeNumberValue("failedUsers", topTasksInsightsSummary.failedUsers);
1292
+ writer.writeStringValue("@odata.type", topTasksInsightsSummary.odataType);
1293
+ writer.writeNumberValue("successfulTasks", topTasksInsightsSummary.successfulTasks);
1294
+ writer.writeNumberValue("successfulUsers", topTasksInsightsSummary.successfulUsers);
1295
+ writer.writeStringValue("taskDefinitionDisplayName", topTasksInsightsSummary.taskDefinitionDisplayName);
1296
+ writer.writeStringValue("taskDefinitionId", topTasksInsightsSummary.taskDefinitionId);
1297
+ writer.writeNumberValue("totalTasks", topTasksInsightsSummary.totalTasks);
1298
+ writer.writeNumberValue("totalUsers", topTasksInsightsSummary.totalUsers);
1299
+ writer.writeAdditionalData(topTasksInsightsSummary.additionalData);
1300
+ }
1301
+ }
1302
+ /**
1303
+ * Serializes information the current object
1304
+ * @param writer Serialization writer to use to serialize this model
1305
+ */
1306
+ // @ts-ignore
1307
+ export function serializeTopWorkflowsInsightsSummary(writer, topWorkflowsInsightsSummary = {}) {
1308
+ if (topWorkflowsInsightsSummary) {
1309
+ writer.writeNumberValue("failedRuns", topWorkflowsInsightsSummary.failedRuns);
1310
+ writer.writeNumberValue("failedUsers", topWorkflowsInsightsSummary.failedUsers);
1311
+ writer.writeStringValue("@odata.type", topWorkflowsInsightsSummary.odataType);
1312
+ writer.writeNumberValue("successfulRuns", topWorkflowsInsightsSummary.successfulRuns);
1313
+ writer.writeNumberValue("successfulUsers", topWorkflowsInsightsSummary.successfulUsers);
1314
+ writer.writeNumberValue("totalRuns", topWorkflowsInsightsSummary.totalRuns);
1315
+ writer.writeNumberValue("totalUsers", topWorkflowsInsightsSummary.totalUsers);
1316
+ writer.writeEnumValue("workflowCategory", topWorkflowsInsightsSummary.workflowCategory);
1317
+ writer.writeStringValue("workflowDisplayName", topWorkflowsInsightsSummary.workflowDisplayName);
1318
+ writer.writeStringValue("workflowId", topWorkflowsInsightsSummary.workflowId);
1319
+ writer.writeNumberValue("workflowVersion", topWorkflowsInsightsSummary.workflowVersion);
1320
+ writer.writeAdditionalData(topWorkflowsInsightsSummary.additionalData);
1321
+ }
1322
+ }
1323
+ /**
1324
+ * Serializes information the current object
1325
+ * @param writer Serialization writer to use to serialize this model
1326
+ */
1327
+ // @ts-ignore
893
1328
  export function serializeTriggerAndScopeBasedConditions(writer, triggerAndScopeBasedConditions = {}) {
894
- serializeWorkflowExecutionConditions(writer, triggerAndScopeBasedConditions);
895
- writer.writeObjectValue("scope", triggerAndScopeBasedConditions.scope, serializeSubjectSet);
896
- writer.writeObjectValue("trigger", triggerAndScopeBasedConditions.trigger, serializeWorkflowExecutionTrigger);
1329
+ if (triggerAndScopeBasedConditions) {
1330
+ serializeWorkflowExecutionConditions(writer, triggerAndScopeBasedConditions);
1331
+ writer.writeObjectValue("scope", triggerAndScopeBasedConditions.scope, serializeSubjectSet);
1332
+ writer.writeObjectValue("trigger", triggerAndScopeBasedConditions.trigger, serializeWorkflowExecutionTrigger);
1333
+ }
1334
+ }
1335
+ /**
1336
+ * Serializes information the current object
1337
+ * @param writer Serialization writer to use to serialize this model
1338
+ */
1339
+ // @ts-ignore
1340
+ export function serializeTriggerAttribute(writer, triggerAttribute = {}) {
1341
+ if (triggerAttribute) {
1342
+ writer.writeStringValue("name", triggerAttribute.name);
1343
+ writer.writeStringValue("@odata.type", triggerAttribute.odataType);
1344
+ writer.writeAdditionalData(triggerAttribute.additionalData);
1345
+ }
897
1346
  }
898
1347
  /**
899
1348
  * Serializes information the current object
900
1349
  * @param writer Serialization writer to use to serialize this model
901
1350
  */
1351
+ // @ts-ignore
902
1352
  export function serializeUserProcessingResult(writer, userProcessingResult = {}) {
903
- serializeEntity(writer, userProcessingResult);
904
- writer.writeDateValue("completedDateTime", userProcessingResult.completedDateTime);
905
- writer.writeNumberValue("failedTasksCount", userProcessingResult.failedTasksCount);
906
- writer.writeEnumValue("processingStatus", userProcessingResult.processingStatus);
907
- writer.writeDateValue("scheduledDateTime", userProcessingResult.scheduledDateTime);
908
- writer.writeDateValue("startedDateTime", userProcessingResult.startedDateTime);
909
- writer.writeObjectValue("subject", userProcessingResult.subject, serializeUser);
910
- writer.writeCollectionOfObjectValues("taskProcessingResults", userProcessingResult.taskProcessingResults, serializeTaskProcessingResult);
911
- writer.writeNumberValue("totalTasksCount", userProcessingResult.totalTasksCount);
912
- writer.writeNumberValue("totalUnprocessedTasksCount", userProcessingResult.totalUnprocessedTasksCount);
913
- writer.writeEnumValue("workflowExecutionType", userProcessingResult.workflowExecutionType);
914
- writer.writeNumberValue("workflowVersion", userProcessingResult.workflowVersion);
1353
+ if (userProcessingResult) {
1354
+ serializeEntity(writer, userProcessingResult);
1355
+ writer.writeDateValue("completedDateTime", userProcessingResult.completedDateTime);
1356
+ writer.writeNumberValue("failedTasksCount", userProcessingResult.failedTasksCount);
1357
+ writer.writeEnumValue("processingStatus", userProcessingResult.processingStatus);
1358
+ writer.writeDateValue("scheduledDateTime", userProcessingResult.scheduledDateTime);
1359
+ writer.writeDateValue("startedDateTime", userProcessingResult.startedDateTime);
1360
+ writer.writeObjectValue("subject", userProcessingResult.subject, serializeUser);
1361
+ writer.writeCollectionOfObjectValues("taskProcessingResults", userProcessingResult.taskProcessingResults, serializeTaskProcessingResult);
1362
+ writer.writeNumberValue("totalTasksCount", userProcessingResult.totalTasksCount);
1363
+ writer.writeNumberValue("totalUnprocessedTasksCount", userProcessingResult.totalUnprocessedTasksCount);
1364
+ writer.writeEnumValue("workflowExecutionType", userProcessingResult.workflowExecutionType);
1365
+ writer.writeNumberValue("workflowVersion", userProcessingResult.workflowVersion);
1366
+ }
915
1367
  }
916
1368
  /**
917
1369
  * Serializes information the current object
918
1370
  * @param writer Serialization writer to use to serialize this model
919
1371
  */
1372
+ // @ts-ignore
920
1373
  export function serializeUserProcessingResultCollectionResponse(writer, userProcessingResultCollectionResponse = {}) {
921
- serializeBaseCollectionPaginationCountResponse(writer, userProcessingResultCollectionResponse);
922
- writer.writeCollectionOfObjectValues("value", userProcessingResultCollectionResponse.value, serializeUserProcessingResult);
1374
+ if (userProcessingResultCollectionResponse) {
1375
+ serializeBaseCollectionPaginationCountResponse(writer, userProcessingResultCollectionResponse);
1376
+ writer.writeCollectionOfObjectValues("value", userProcessingResultCollectionResponse.value, serializeUserProcessingResult);
1377
+ }
923
1378
  }
924
1379
  /**
925
1380
  * Serializes information the current object
926
1381
  * @param writer Serialization writer to use to serialize this model
927
1382
  */
1383
+ // @ts-ignore
928
1384
  export function serializeUserSummary(writer, userSummary = {}) {
929
- writer.writeNumberValue("failedTasks", userSummary.failedTasks);
930
- writer.writeNumberValue("failedUsers", userSummary.failedUsers);
931
- writer.writeStringValue("@odata.type", userSummary.odataType);
932
- writer.writeNumberValue("successfulUsers", userSummary.successfulUsers);
933
- writer.writeNumberValue("totalTasks", userSummary.totalTasks);
934
- writer.writeNumberValue("totalUsers", userSummary.totalUsers);
935
- writer.writeAdditionalData(userSummary.additionalData);
1385
+ if (userSummary) {
1386
+ writer.writeNumberValue("failedTasks", userSummary.failedTasks);
1387
+ writer.writeNumberValue("failedUsers", userSummary.failedUsers);
1388
+ writer.writeStringValue("@odata.type", userSummary.odataType);
1389
+ writer.writeNumberValue("successfulUsers", userSummary.successfulUsers);
1390
+ writer.writeNumberValue("totalTasks", userSummary.totalTasks);
1391
+ writer.writeNumberValue("totalUsers", userSummary.totalUsers);
1392
+ writer.writeAdditionalData(userSummary.additionalData);
1393
+ }
936
1394
  }
937
1395
  /**
938
1396
  * Serializes information the current object
939
1397
  * @param writer Serialization writer to use to serialize this model
940
1398
  */
1399
+ // @ts-ignore
941
1400
  export function serializeWorkflow(writer, workflow = {}) {
942
- serializeWorkflowBase(writer, workflow);
943
- writer.writeDateValue("deletedDateTime", workflow.deletedDateTime);
944
- writer.writeCollectionOfObjectValues("executionScope", workflow.executionScope, serializeUserProcessingResult);
945
- writer.writeStringValue("id", workflow.id);
946
- writer.writeDateValue("nextScheduleRunDateTime", workflow.nextScheduleRunDateTime);
947
- writer.writeCollectionOfObjectValues("runs", workflow.runs, serializeRun);
948
- writer.writeCollectionOfObjectValues("taskReports", workflow.taskReports, serializeTaskReport);
949
- writer.writeCollectionOfObjectValues("userProcessingResults", workflow.userProcessingResults, serializeUserProcessingResult);
950
- writer.writeNumberValue("version", workflow.version);
951
- writer.writeCollectionOfObjectValues("versions", workflow.versions, serializeWorkflowVersion);
1401
+ if (workflow) {
1402
+ serializeWorkflowBase(writer, workflow);
1403
+ writer.writeDateValue("deletedDateTime", workflow.deletedDateTime);
1404
+ writer.writeCollectionOfObjectValues("executionScope", workflow.executionScope, serializeUserProcessingResult);
1405
+ writer.writeStringValue("id", workflow.id);
1406
+ writer.writeDateValue("nextScheduleRunDateTime", workflow.nextScheduleRunDateTime);
1407
+ writer.writeCollectionOfObjectValues("runs", workflow.runs, serializeRun);
1408
+ writer.writeCollectionOfObjectValues("taskReports", workflow.taskReports, serializeTaskReport);
1409
+ writer.writeCollectionOfObjectValues("userProcessingResults", workflow.userProcessingResults, serializeUserProcessingResult);
1410
+ writer.writeNumberValue("version", workflow.version);
1411
+ writer.writeCollectionOfObjectValues("versions", workflow.versions, serializeWorkflowVersion);
1412
+ }
952
1413
  }
953
1414
  /**
954
1415
  * Serializes information the current object
955
1416
  * @param writer Serialization writer to use to serialize this model
956
1417
  */
1418
+ // @ts-ignore
957
1419
  export function serializeWorkflowBase(writer, workflowBase = {}) {
958
- writer.writeEnumValue("category", workflowBase.category);
959
- writer.writeObjectValue("createdBy", workflowBase.createdBy, serializeUser);
960
- writer.writeDateValue("createdDateTime", workflowBase.createdDateTime);
961
- writer.writeStringValue("description", workflowBase.description);
962
- writer.writeStringValue("displayName", workflowBase.displayName);
963
- writer.writeObjectValue("executionConditions", workflowBase.executionConditions, serializeWorkflowExecutionConditions);
964
- writer.writeBooleanValue("isEnabled", workflowBase.isEnabled);
965
- writer.writeBooleanValue("isSchedulingEnabled", workflowBase.isSchedulingEnabled);
966
- writer.writeObjectValue("lastModifiedBy", workflowBase.lastModifiedBy, serializeUser);
967
- writer.writeDateValue("lastModifiedDateTime", workflowBase.lastModifiedDateTime);
968
- writer.writeStringValue("@odata.type", workflowBase.odataType);
969
- writer.writeCollectionOfObjectValues("tasks", workflowBase.tasks, serializeTask);
970
- writer.writeAdditionalData(workflowBase.additionalData);
1420
+ if (workflowBase) {
1421
+ writer.writeEnumValue("category", workflowBase.category);
1422
+ writer.writeObjectValue("createdBy", workflowBase.createdBy, serializeUser);
1423
+ writer.writeDateValue("createdDateTime", workflowBase.createdDateTime);
1424
+ writer.writeStringValue("description", workflowBase.description);
1425
+ writer.writeStringValue("displayName", workflowBase.displayName);
1426
+ writer.writeObjectValue("executionConditions", workflowBase.executionConditions, serializeWorkflowExecutionConditions);
1427
+ writer.writeBooleanValue("isEnabled", workflowBase.isEnabled);
1428
+ writer.writeBooleanValue("isSchedulingEnabled", workflowBase.isSchedulingEnabled);
1429
+ writer.writeObjectValue("lastModifiedBy", workflowBase.lastModifiedBy, serializeUser);
1430
+ writer.writeDateValue("lastModifiedDateTime", workflowBase.lastModifiedDateTime);
1431
+ writer.writeStringValue("@odata.type", workflowBase.odataType);
1432
+ writer.writeCollectionOfObjectValues("tasks", workflowBase.tasks, serializeTask);
1433
+ writer.writeAdditionalData(workflowBase.additionalData);
1434
+ }
971
1435
  }
972
1436
  /**
973
1437
  * Serializes information the current object
974
1438
  * @param writer Serialization writer to use to serialize this model
975
1439
  */
1440
+ // @ts-ignore
976
1441
  export function serializeWorkflowCollectionResponse(writer, workflowCollectionResponse = {}) {
977
- serializeBaseCollectionPaginationCountResponse(writer, workflowCollectionResponse);
978
- writer.writeCollectionOfObjectValues("value", workflowCollectionResponse.value, serializeWorkflow);
1442
+ if (workflowCollectionResponse) {
1443
+ serializeBaseCollectionPaginationCountResponse(writer, workflowCollectionResponse);
1444
+ writer.writeCollectionOfObjectValues("value", workflowCollectionResponse.value, serializeWorkflow);
1445
+ }
979
1446
  }
980
1447
  /**
981
1448
  * Serializes information the current object
982
1449
  * @param writer Serialization writer to use to serialize this model
983
1450
  */
1451
+ // @ts-ignore
984
1452
  export function serializeWorkflowExecutionConditions(writer, workflowExecutionConditions = {}) {
985
- writer.writeStringValue("@odata.type", workflowExecutionConditions.odataType);
986
- writer.writeAdditionalData(workflowExecutionConditions.additionalData);
1453
+ if (workflowExecutionConditions) {
1454
+ writer.writeStringValue("@odata.type", workflowExecutionConditions.odataType);
1455
+ writer.writeAdditionalData(workflowExecutionConditions.additionalData);
1456
+ }
987
1457
  }
988
1458
  /**
989
1459
  * Serializes information the current object
990
1460
  * @param writer Serialization writer to use to serialize this model
991
1461
  */
1462
+ // @ts-ignore
992
1463
  export function serializeWorkflowExecutionTrigger(writer, workflowExecutionTrigger = {}) {
993
- writer.writeStringValue("@odata.type", workflowExecutionTrigger.odataType);
994
- writer.writeAdditionalData(workflowExecutionTrigger.additionalData);
1464
+ if (workflowExecutionTrigger) {
1465
+ writer.writeStringValue("@odata.type", workflowExecutionTrigger.odataType);
1466
+ writer.writeAdditionalData(workflowExecutionTrigger.additionalData);
1467
+ }
1468
+ }
1469
+ /**
1470
+ * Serializes information the current object
1471
+ * @param writer Serialization writer to use to serialize this model
1472
+ */
1473
+ // @ts-ignore
1474
+ export function serializeWorkflowsInsightsByCategory(writer, workflowsInsightsByCategory = {}) {
1475
+ if (workflowsInsightsByCategory) {
1476
+ writer.writeNumberValue("failedJoinerRuns", workflowsInsightsByCategory.failedJoinerRuns);
1477
+ writer.writeNumberValue("failedLeaverRuns", workflowsInsightsByCategory.failedLeaverRuns);
1478
+ writer.writeNumberValue("failedMoverRuns", workflowsInsightsByCategory.failedMoverRuns);
1479
+ writer.writeStringValue("@odata.type", workflowsInsightsByCategory.odataType);
1480
+ writer.writeNumberValue("successfulJoinerRuns", workflowsInsightsByCategory.successfulJoinerRuns);
1481
+ writer.writeNumberValue("successfulLeaverRuns", workflowsInsightsByCategory.successfulLeaverRuns);
1482
+ writer.writeNumberValue("successfulMoverRuns", workflowsInsightsByCategory.successfulMoverRuns);
1483
+ writer.writeNumberValue("totalJoinerRuns", workflowsInsightsByCategory.totalJoinerRuns);
1484
+ writer.writeNumberValue("totalLeaverRuns", workflowsInsightsByCategory.totalLeaverRuns);
1485
+ writer.writeNumberValue("totalMoverRuns", workflowsInsightsByCategory.totalMoverRuns);
1486
+ writer.writeAdditionalData(workflowsInsightsByCategory.additionalData);
1487
+ }
1488
+ }
1489
+ /**
1490
+ * Serializes information the current object
1491
+ * @param writer Serialization writer to use to serialize this model
1492
+ */
1493
+ // @ts-ignore
1494
+ export function serializeWorkflowsInsightsSummary(writer, workflowsInsightsSummary = {}) {
1495
+ if (workflowsInsightsSummary) {
1496
+ writer.writeNumberValue("failedRuns", workflowsInsightsSummary.failedRuns);
1497
+ writer.writeNumberValue("failedTasks", workflowsInsightsSummary.failedTasks);
1498
+ writer.writeNumberValue("failedUsers", workflowsInsightsSummary.failedUsers);
1499
+ writer.writeStringValue("@odata.type", workflowsInsightsSummary.odataType);
1500
+ writer.writeNumberValue("successfulRuns", workflowsInsightsSummary.successfulRuns);
1501
+ writer.writeNumberValue("successfulTasks", workflowsInsightsSummary.successfulTasks);
1502
+ writer.writeNumberValue("successfulUsers", workflowsInsightsSummary.successfulUsers);
1503
+ writer.writeNumberValue("totalRuns", workflowsInsightsSummary.totalRuns);
1504
+ writer.writeNumberValue("totalTasks", workflowsInsightsSummary.totalTasks);
1505
+ writer.writeNumberValue("totalUsers", workflowsInsightsSummary.totalUsers);
1506
+ writer.writeAdditionalData(workflowsInsightsSummary.additionalData);
1507
+ }
995
1508
  }
996
1509
  /**
997
1510
  * Serializes information the current object
998
1511
  * @param writer Serialization writer to use to serialize this model
999
1512
  */
1513
+ // @ts-ignore
1000
1514
  export function serializeWorkflowTemplate(writer, workflowTemplate = {}) {
1001
- serializeEntity(writer, workflowTemplate);
1002
- writer.writeEnumValue("category", workflowTemplate.category);
1003
- writer.writeStringValue("description", workflowTemplate.description);
1004
- writer.writeStringValue("displayName", workflowTemplate.displayName);
1005
- writer.writeObjectValue("executionConditions", workflowTemplate.executionConditions, serializeWorkflowExecutionConditions);
1006
- writer.writeCollectionOfObjectValues("tasks", workflowTemplate.tasks, serializeTask);
1515
+ if (workflowTemplate) {
1516
+ serializeEntity(writer, workflowTemplate);
1517
+ writer.writeEnumValue("category", workflowTemplate.category);
1518
+ writer.writeStringValue("description", workflowTemplate.description);
1519
+ writer.writeStringValue("displayName", workflowTemplate.displayName);
1520
+ writer.writeObjectValue("executionConditions", workflowTemplate.executionConditions, serializeWorkflowExecutionConditions);
1521
+ writer.writeCollectionOfObjectValues("tasks", workflowTemplate.tasks, serializeTask);
1522
+ }
1007
1523
  }
1008
1524
  /**
1009
1525
  * Serializes information the current object
1010
1526
  * @param writer Serialization writer to use to serialize this model
1011
1527
  */
1528
+ // @ts-ignore
1012
1529
  export function serializeWorkflowTemplateCollectionResponse(writer, workflowTemplateCollectionResponse = {}) {
1013
- serializeBaseCollectionPaginationCountResponse(writer, workflowTemplateCollectionResponse);
1014
- writer.writeCollectionOfObjectValues("value", workflowTemplateCollectionResponse.value, serializeWorkflowTemplate);
1530
+ if (workflowTemplateCollectionResponse) {
1531
+ serializeBaseCollectionPaginationCountResponse(writer, workflowTemplateCollectionResponse);
1532
+ writer.writeCollectionOfObjectValues("value", workflowTemplateCollectionResponse.value, serializeWorkflowTemplate);
1533
+ }
1015
1534
  }
1016
1535
  /**
1017
1536
  * Serializes information the current object
1018
1537
  * @param writer Serialization writer to use to serialize this model
1019
1538
  */
1539
+ // @ts-ignore
1020
1540
  export function serializeWorkflowVersion(writer, workflowVersion = {}) {
1021
- serializeWorkflowBase(writer, workflowVersion);
1022
- writer.writeNumberValue("versionNumber", workflowVersion.versionNumber);
1541
+ if (workflowVersion) {
1542
+ serializeWorkflowBase(writer, workflowVersion);
1543
+ writer.writeNumberValue("versionNumber", workflowVersion.versionNumber);
1544
+ }
1023
1545
  }
1024
1546
  /**
1025
1547
  * Serializes information the current object
1026
1548
  * @param writer Serialization writer to use to serialize this model
1027
1549
  */
1550
+ // @ts-ignore
1028
1551
  export function serializeWorkflowVersionCollectionResponse(writer, workflowVersionCollectionResponse = {}) {
1029
- serializeBaseCollectionPaginationCountResponse(writer, workflowVersionCollectionResponse);
1030
- writer.writeCollectionOfObjectValues("value", workflowVersionCollectionResponse.value, serializeWorkflowVersion);
1552
+ if (workflowVersionCollectionResponse) {
1553
+ serializeBaseCollectionPaginationCountResponse(writer, workflowVersionCollectionResponse);
1554
+ writer.writeCollectionOfObjectValues("value", workflowVersionCollectionResponse.value, serializeWorkflowVersion);
1555
+ }
1031
1556
  }
1032
1557
  export const CustomTaskExtensionOperationStatusObject = {
1033
1558
  Completed: "completed",
@@ -1055,6 +1580,11 @@ export const LifecycleWorkflowProcessingStatusObject = {
1055
1580
  Failed: "failed",
1056
1581
  UnknownFutureValue: "unknownFutureValue",
1057
1582
  };
1583
+ export const MembershipChangeTypeObject = {
1584
+ Add: "add",
1585
+ Remove: "remove",
1586
+ UnknownFutureValue: "unknownFutureValue",
1587
+ };
1058
1588
  export const ValueTypeObject = {
1059
1589
  EnumEscaped: "enum",
1060
1590
  String: "string",