@microsoft/msgraph-sdk 1.0.0-preview.10

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/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/graphRequestAdapter.d.ts +15 -0
  4. package/graphRequestAdapter.d.ts.map +1 -0
  5. package/graphRequestAdapter.js +21 -0
  6. package/graphServiceClient.d.ts +19 -0
  7. package/graphServiceClient.d.ts.map +1 -0
  8. package/graphServiceClient.js +51 -0
  9. package/index.d.ts +3 -0
  10. package/index.d.ts.map +1 -0
  11. package/index.js +18 -0
  12. package/models/callRecords/index.d.ts +1414 -0
  13. package/models/callRecords/index.d.ts.map +1 -0
  14. package/models/callRecords/index.js +1104 -0
  15. package/models/externalConnectors/index.d.ts +975 -0
  16. package/models/externalConnectors/index.d.ts.map +1 -0
  17. package/models/externalConnectors/index.js +928 -0
  18. package/models/identityGovernance/index.d.ts +1334 -0
  19. package/models/identityGovernance/index.d.ts.map +1 -0
  20. package/models/identityGovernance/index.js +1189 -0
  21. package/models/index.d.ts +86017 -0
  22. package/models/index.d.ts.map +1 -0
  23. package/models/index.js +74768 -0
  24. package/models/oDataErrors/index.d.ts +158 -0
  25. package/models/oDataErrors/index.d.ts.map +1 -0
  26. package/models/oDataErrors/index.js +139 -0
  27. package/models/security/index.d.ts +6556 -0
  28. package/models/security/index.d.ts.map +1 -0
  29. package/models/security/index.js +5717 -0
  30. package/models/termStore/index.d.ts +454 -0
  31. package/models/termStore/index.d.ts.map +1 -0
  32. package/models/termStore/index.js +406 -0
  33. package/package.json +51 -0
  34. package/tsconfig.json +9 -0
  35. package/tsconfig.tsbuildinfo +1 -0
  36. package/version.d.ts +2 -0
  37. package/version.d.ts.map +1 -0
  38. package/version.js +4 -0
@@ -0,0 +1,1334 @@
1
+ import { type Application, type BaseCollectionPaginationCountResponse, type CustomCalloutExtension, type CustomExtensionCallbackConfiguration, type CustomExtensionData, type DeletedItemContainer, type EmailSettings, type Entity, type KeyValuePair, type SubjectSet, type User } from '../';
2
+ import { type AdditionalDataHolder, type BackedModel, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a customTaskExtensionCallbackConfiguration
7
+ */
8
+ export declare function createCustomTaskExtensionCallbackConfigurationFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCustomTaskExtensionCallbackConfiguration;
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a customTaskExtensionCallbackData
13
+ */
14
+ export declare function createCustomTaskExtensionCallbackDataFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCustomTaskExtensionCallbackData;
15
+ /**
16
+ * Creates a new instance of the appropriate class based on discriminator value
17
+ * @param parseNode The parse node to use to read the discriminator value and create the object
18
+ * @returns a customTaskExtensionCalloutData
19
+ */
20
+ export declare function createCustomTaskExtensionCalloutDataFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCustomTaskExtensionCalloutData;
21
+ /**
22
+ * Creates a new instance of the appropriate class based on discriminator value
23
+ * @param parseNode The parse node to use to read the discriminator value and create the object
24
+ * @returns a customTaskExtensionCollectionResponse
25
+ */
26
+ export declare function createCustomTaskExtensionCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCustomTaskExtensionCollectionResponse;
27
+ /**
28
+ * Creates a new instance of the appropriate class based on discriminator value
29
+ * @param parseNode The parse node to use to read the discriminator value and create the object
30
+ * @returns a customTaskExtension
31
+ */
32
+ export declare function createCustomTaskExtensionFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCustomTaskExtension;
33
+ /**
34
+ * Creates a new instance of the appropriate class based on discriminator value
35
+ * @param parseNode The parse node to use to read the discriminator value and create the object
36
+ * @returns a lifecycleManagementSettings
37
+ */
38
+ export declare function createLifecycleManagementSettingsFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoLifecycleManagementSettings;
39
+ /**
40
+ * Creates a new instance of the appropriate class based on discriminator value
41
+ * @param parseNode The parse node to use to read the discriminator value and create the object
42
+ * @returns a lifecycleWorkflowsContainer
43
+ */
44
+ export declare function createLifecycleWorkflowsContainerFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoLifecycleWorkflowsContainer;
45
+ /**
46
+ * Creates a new instance of the appropriate class based on discriminator value
47
+ * @param parseNode The parse node to use to read the discriminator value and create the object
48
+ * @returns a onDemandExecutionOnly
49
+ */
50
+ export declare function createOnDemandExecutionOnlyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoOnDemandExecutionOnly;
51
+ /**
52
+ * Creates a new instance of the appropriate class based on discriminator value
53
+ * @param parseNode The parse node to use to read the discriminator value and create the object
54
+ * @returns a parameter
55
+ */
56
+ export declare function createParameterFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoParameter;
57
+ /**
58
+ * Creates a new instance of the appropriate class based on discriminator value
59
+ * @param parseNode The parse node to use to read the discriminator value and create the object
60
+ * @returns a ruleBasedSubjectSet
61
+ */
62
+ export declare function createRuleBasedSubjectSetFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRuleBasedSubjectSet;
63
+ /**
64
+ * Creates a new instance of the appropriate class based on discriminator value
65
+ * @param parseNode The parse node to use to read the discriminator value and create the object
66
+ * @returns a runCollectionResponse
67
+ */
68
+ export declare function createRunCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRunCollectionResponse;
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 a run
73
+ */
74
+ export declare function createRunFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRun;
75
+ /**
76
+ * Creates a new instance of the appropriate class based on discriminator value
77
+ * @param parseNode The parse node to use to read the discriminator value and create the object
78
+ * @returns a runSummary
79
+ */
80
+ export declare function createRunSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRunSummary;
81
+ /**
82
+ * Creates a new instance of the appropriate class based on discriminator value
83
+ * @param parseNode The parse node to use to read the discriminator value and create the object
84
+ * @returns a taskCollectionResponse
85
+ */
86
+ export declare function createTaskCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskCollectionResponse;
87
+ /**
88
+ * Creates a new instance of the appropriate class based on discriminator value
89
+ * @param parseNode The parse node to use to read the discriminator value and create the object
90
+ * @returns a taskDefinitionCollectionResponse
91
+ */
92
+ export declare function createTaskDefinitionCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskDefinitionCollectionResponse;
93
+ /**
94
+ * Creates a new instance of the appropriate class based on discriminator value
95
+ * @param parseNode The parse node to use to read the discriminator value and create the object
96
+ * @returns a taskDefinition
97
+ */
98
+ export declare function createTaskDefinitionFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskDefinition;
99
+ /**
100
+ * Creates a new instance of the appropriate class based on discriminator value
101
+ * @param parseNode The parse node to use to read the discriminator value and create the object
102
+ * @returns a task
103
+ */
104
+ export declare function createTaskFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTask;
105
+ /**
106
+ * Creates a new instance of the appropriate class based on discriminator value
107
+ * @param parseNode The parse node to use to read the discriminator value and create the object
108
+ * @returns a taskProcessingResultCollectionResponse
109
+ */
110
+ export declare function createTaskProcessingResultCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskProcessingResultCollectionResponse;
111
+ /**
112
+ * Creates a new instance of the appropriate class based on discriminator value
113
+ * @param parseNode The parse node to use to read the discriminator value and create the object
114
+ * @returns a taskProcessingResult
115
+ */
116
+ export declare function createTaskProcessingResultFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskProcessingResult;
117
+ /**
118
+ * Creates a new instance of the appropriate class based on discriminator value
119
+ * @param parseNode The parse node to use to read the discriminator value and create the object
120
+ * @returns a taskReportCollectionResponse
121
+ */
122
+ export declare function createTaskReportCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskReportCollectionResponse;
123
+ /**
124
+ * Creates a new instance of the appropriate class based on discriminator value
125
+ * @param parseNode The parse node to use to read the discriminator value and create the object
126
+ * @returns a taskReport
127
+ */
128
+ export declare function createTaskReportFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskReport;
129
+ /**
130
+ * Creates a new instance of the appropriate class based on discriminator value
131
+ * @param parseNode The parse node to use to read the discriminator value and create the object
132
+ * @returns a taskReportSummary
133
+ */
134
+ export declare function createTaskReportSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTaskReportSummary;
135
+ /**
136
+ * Creates a new instance of the appropriate class based on discriminator value
137
+ * @param parseNode The parse node to use to read the discriminator value and create the object
138
+ * @returns a timeBasedAttributeTrigger
139
+ */
140
+ export declare function createTimeBasedAttributeTriggerFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTimeBasedAttributeTrigger;
141
+ /**
142
+ * Creates a new instance of the appropriate class based on discriminator value
143
+ * @param parseNode The parse node to use to read the discriminator value and create the object
144
+ * @returns a triggerAndScopeBasedConditions
145
+ */
146
+ export declare function createTriggerAndScopeBasedConditionsFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTriggerAndScopeBasedConditions;
147
+ /**
148
+ * Creates a new instance of the appropriate class based on discriminator value
149
+ * @param parseNode The parse node to use to read the discriminator value and create the object
150
+ * @returns a userProcessingResultCollectionResponse
151
+ */
152
+ export declare function createUserProcessingResultCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoUserProcessingResultCollectionResponse;
153
+ /**
154
+ * Creates a new instance of the appropriate class based on discriminator value
155
+ * @param parseNode The parse node to use to read the discriminator value and create the object
156
+ * @returns a userProcessingResult
157
+ */
158
+ export declare function createUserProcessingResultFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoUserProcessingResult;
159
+ /**
160
+ * Creates a new instance of the appropriate class based on discriminator value
161
+ * @param parseNode The parse node to use to read the discriminator value and create the object
162
+ * @returns a userSummary
163
+ */
164
+ export declare function createUserSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoUserSummary;
165
+ /**
166
+ * Creates a new instance of the appropriate class based on discriminator value
167
+ * @param parseNode The parse node to use to read the discriminator value and create the object
168
+ * @returns a workflowBase
169
+ */
170
+ export declare function createWorkflowBaseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoWorkflow | typeof deserializeIntoWorkflowVersion;
171
+ /**
172
+ * Creates a new instance of the appropriate class based on discriminator value
173
+ * @param parseNode The parse node to use to read the discriminator value and create the object
174
+ * @returns a workflowCollectionResponse
175
+ */
176
+ export declare function createWorkflowCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoWorkflowCollectionResponse;
177
+ /**
178
+ * Creates a new instance of the appropriate class based on discriminator value
179
+ * @param parseNode The parse node to use to read the discriminator value and create the object
180
+ * @returns a workflowExecutionConditions
181
+ */
182
+ export declare function createWorkflowExecutionConditionsFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTriggerAndScopeBasedConditions;
183
+ /**
184
+ * Creates a new instance of the appropriate class based on discriminator value
185
+ * @param parseNode The parse node to use to read the discriminator value and create the object
186
+ * @returns a workflowExecutionTrigger
187
+ */
188
+ export declare function createWorkflowExecutionTriggerFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoTimeBasedAttributeTrigger;
189
+ /**
190
+ * Creates a new instance of the appropriate class based on discriminator value
191
+ * @param parseNode The parse node to use to read the discriminator value and create the object
192
+ * @returns a workflow
193
+ */
194
+ export declare function createWorkflowFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoWorkflow;
195
+ /**
196
+ * Creates a new instance of the appropriate class based on discriminator value
197
+ * @param parseNode The parse node to use to read the discriminator value and create the object
198
+ * @returns a workflowTemplateCollectionResponse
199
+ */
200
+ export declare function createWorkflowTemplateCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoWorkflowTemplateCollectionResponse;
201
+ /**
202
+ * Creates a new instance of the appropriate class based on discriminator value
203
+ * @param parseNode The parse node to use to read the discriminator value and create the object
204
+ * @returns a workflowTemplate
205
+ */
206
+ export declare function createWorkflowTemplateFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoWorkflowTemplate;
207
+ /**
208
+ * Creates a new instance of the appropriate class based on discriminator value
209
+ * @param parseNode The parse node to use to read the discriminator value and create the object
210
+ * @returns a workflowVersionCollectionResponse
211
+ */
212
+ export declare function createWorkflowVersionCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoWorkflowVersionCollectionResponse;
213
+ /**
214
+ * Creates a new instance of the appropriate class based on discriminator value
215
+ * @param parseNode The parse node to use to read the discriminator value and create the object
216
+ * @returns a workflowVersion
217
+ */
218
+ export declare function createWorkflowVersionFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoWorkflowVersion;
219
+ export interface CustomTaskExtension extends CustomCalloutExtension, Parsable {
220
+ /**
221
+ * The callback configuration for a custom task extension.
222
+ */
223
+ callbackConfiguration?: CustomExtensionCallbackConfiguration;
224
+ /**
225
+ * The unique identifier of the Microsoft Entra user that created the custom task extension.Supports $filter(eq, ne) and $expand.
226
+ */
227
+ createdBy?: User;
228
+ /**
229
+ * When the custom task extension was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
230
+ */
231
+ createdDateTime?: Date;
232
+ /**
233
+ * The unique identifier of the Microsoft Entra user that modified the custom task extension last.Supports $filter(eq, ne) and $expand.
234
+ */
235
+ lastModifiedBy?: User;
236
+ /**
237
+ * When the custom extension was last modified.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
238
+ */
239
+ lastModifiedDateTime?: Date;
240
+ }
241
+ export interface CustomTaskExtensionCallbackConfiguration extends CustomExtensionCallbackConfiguration, Parsable {
242
+ /**
243
+ * The authorizedApps property
244
+ */
245
+ authorizedApps?: Application[];
246
+ }
247
+ export interface CustomTaskExtensionCallbackData extends CustomExtensionData, Parsable {
248
+ /**
249
+ * Operation status that's provided by the Azure Logic App indicating whenever the Azure Logic App has run successfully or not. Supported values: completed, failed, unknownFutureValue.
250
+ */
251
+ operationStatus?: CustomTaskExtensionOperationStatus;
252
+ }
253
+ export interface CustomTaskExtensionCalloutData extends CustomExtensionData, Parsable {
254
+ /**
255
+ * The subject property
256
+ */
257
+ subject?: User;
258
+ /**
259
+ * The task property
260
+ */
261
+ task?: Task;
262
+ /**
263
+ * The taskProcessingresult property
264
+ */
265
+ taskProcessingresult?: TaskProcessingResult;
266
+ /**
267
+ * The workflow property
268
+ */
269
+ workflow?: Workflow;
270
+ }
271
+ export interface CustomTaskExtensionCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
272
+ /**
273
+ * The value property
274
+ */
275
+ value?: CustomTaskExtension[];
276
+ }
277
+ export type CustomTaskExtensionOperationStatus = (typeof CustomTaskExtensionOperationStatusObject)[keyof typeof CustomTaskExtensionOperationStatusObject];
278
+ /**
279
+ * The deserialization information for the current model
280
+ * @returns a Record<string, (node: ParseNode) => void>
281
+ */
282
+ export declare function deserializeIntoCustomTaskExtension(customTaskExtension?: CustomTaskExtension | undefined): Record<string, (node: ParseNode) => void>;
283
+ /**
284
+ * The deserialization information for the current model
285
+ * @returns a Record<string, (node: ParseNode) => void>
286
+ */
287
+ export declare function deserializeIntoCustomTaskExtensionCallbackConfiguration(customTaskExtensionCallbackConfiguration?: CustomTaskExtensionCallbackConfiguration | undefined): Record<string, (node: ParseNode) => void>;
288
+ /**
289
+ * The deserialization information for the current model
290
+ * @returns a Record<string, (node: ParseNode) => void>
291
+ */
292
+ export declare function deserializeIntoCustomTaskExtensionCallbackData(customTaskExtensionCallbackData?: CustomTaskExtensionCallbackData | undefined): Record<string, (node: ParseNode) => void>;
293
+ /**
294
+ * The deserialization information for the current model
295
+ * @returns a Record<string, (node: ParseNode) => void>
296
+ */
297
+ export declare function deserializeIntoCustomTaskExtensionCalloutData(customTaskExtensionCalloutData?: CustomTaskExtensionCalloutData | undefined): Record<string, (node: ParseNode) => void>;
298
+ /**
299
+ * The deserialization information for the current model
300
+ * @returns a Record<string, (node: ParseNode) => void>
301
+ */
302
+ export declare function deserializeIntoCustomTaskExtensionCollectionResponse(customTaskExtensionCollectionResponse?: CustomTaskExtensionCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
303
+ /**
304
+ * The deserialization information for the current model
305
+ * @returns a Record<string, (node: ParseNode) => void>
306
+ */
307
+ export declare function deserializeIntoLifecycleManagementSettings(lifecycleManagementSettings?: LifecycleManagementSettings | undefined): Record<string, (node: ParseNode) => void>;
308
+ /**
309
+ * The deserialization information for the current model
310
+ * @returns a Record<string, (node: ParseNode) => void>
311
+ */
312
+ export declare function deserializeIntoLifecycleWorkflowsContainer(lifecycleWorkflowsContainer?: LifecycleWorkflowsContainer | undefined): Record<string, (node: ParseNode) => void>;
313
+ /**
314
+ * The deserialization information for the current model
315
+ * @returns a Record<string, (node: ParseNode) => void>
316
+ */
317
+ export declare function deserializeIntoOnDemandExecutionOnly(onDemandExecutionOnly?: OnDemandExecutionOnly | undefined): Record<string, (node: ParseNode) => void>;
318
+ /**
319
+ * The deserialization information for the current model
320
+ * @returns a Record<string, (node: ParseNode) => void>
321
+ */
322
+ export declare function deserializeIntoParameter(parameter?: Parameter | undefined): Record<string, (node: ParseNode) => void>;
323
+ /**
324
+ * The deserialization information for the current model
325
+ * @returns a Record<string, (node: ParseNode) => void>
326
+ */
327
+ export declare function deserializeIntoRuleBasedSubjectSet(ruleBasedSubjectSet?: RuleBasedSubjectSet | undefined): Record<string, (node: ParseNode) => void>;
328
+ /**
329
+ * The deserialization information for the current model
330
+ * @returns a Record<string, (node: ParseNode) => void>
331
+ */
332
+ export declare function deserializeIntoRun(run?: Run | undefined): Record<string, (node: ParseNode) => void>;
333
+ /**
334
+ * The deserialization information for the current model
335
+ * @returns a Record<string, (node: ParseNode) => void>
336
+ */
337
+ export declare function deserializeIntoRunCollectionResponse(runCollectionResponse?: RunCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
338
+ /**
339
+ * The deserialization information for the current model
340
+ * @returns a Record<string, (node: ParseNode) => void>
341
+ */
342
+ export declare function deserializeIntoRunSummary(runSummary?: RunSummary | undefined): Record<string, (node: ParseNode) => void>;
343
+ /**
344
+ * The deserialization information for the current model
345
+ * @returns a Record<string, (node: ParseNode) => void>
346
+ */
347
+ export declare function deserializeIntoTask(task?: Task | undefined): Record<string, (node: ParseNode) => void>;
348
+ /**
349
+ * The deserialization information for the current model
350
+ * @returns a Record<string, (node: ParseNode) => void>
351
+ */
352
+ export declare function deserializeIntoTaskCollectionResponse(taskCollectionResponse?: TaskCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
353
+ /**
354
+ * The deserialization information for the current model
355
+ * @returns a Record<string, (node: ParseNode) => void>
356
+ */
357
+ export declare function deserializeIntoTaskDefinition(taskDefinition?: TaskDefinition | undefined): Record<string, (node: ParseNode) => void>;
358
+ /**
359
+ * The deserialization information for the current model
360
+ * @returns a Record<string, (node: ParseNode) => void>
361
+ */
362
+ export declare function deserializeIntoTaskDefinitionCollectionResponse(taskDefinitionCollectionResponse?: TaskDefinitionCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
363
+ /**
364
+ * The deserialization information for the current model
365
+ * @returns a Record<string, (node: ParseNode) => void>
366
+ */
367
+ export declare function deserializeIntoTaskProcessingResult(taskProcessingResult?: TaskProcessingResult | undefined): Record<string, (node: ParseNode) => void>;
368
+ /**
369
+ * The deserialization information for the current model
370
+ * @returns a Record<string, (node: ParseNode) => void>
371
+ */
372
+ export declare function deserializeIntoTaskProcessingResultCollectionResponse(taskProcessingResultCollectionResponse?: TaskProcessingResultCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
373
+ /**
374
+ * The deserialization information for the current model
375
+ * @returns a Record<string, (node: ParseNode) => void>
376
+ */
377
+ export declare function deserializeIntoTaskReport(taskReport?: TaskReport | undefined): Record<string, (node: ParseNode) => void>;
378
+ /**
379
+ * The deserialization information for the current model
380
+ * @returns a Record<string, (node: ParseNode) => void>
381
+ */
382
+ export declare function deserializeIntoTaskReportCollectionResponse(taskReportCollectionResponse?: TaskReportCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
383
+ /**
384
+ * The deserialization information for the current model
385
+ * @returns a Record<string, (node: ParseNode) => void>
386
+ */
387
+ export declare function deserializeIntoTaskReportSummary(taskReportSummary?: TaskReportSummary | undefined): Record<string, (node: ParseNode) => void>;
388
+ /**
389
+ * The deserialization information for the current model
390
+ * @returns a Record<string, (node: ParseNode) => void>
391
+ */
392
+ export declare function deserializeIntoTimeBasedAttributeTrigger(timeBasedAttributeTrigger?: TimeBasedAttributeTrigger | undefined): Record<string, (node: ParseNode) => void>;
393
+ /**
394
+ * The deserialization information for the current model
395
+ * @returns a Record<string, (node: ParseNode) => void>
396
+ */
397
+ export declare function deserializeIntoTriggerAndScopeBasedConditions(triggerAndScopeBasedConditions?: TriggerAndScopeBasedConditions | undefined): Record<string, (node: ParseNode) => void>;
398
+ /**
399
+ * The deserialization information for the current model
400
+ * @returns a Record<string, (node: ParseNode) => void>
401
+ */
402
+ export declare function deserializeIntoUserProcessingResult(userProcessingResult?: UserProcessingResult | undefined): Record<string, (node: ParseNode) => void>;
403
+ /**
404
+ * The deserialization information for the current model
405
+ * @returns a Record<string, (node: ParseNode) => void>
406
+ */
407
+ export declare function deserializeIntoUserProcessingResultCollectionResponse(userProcessingResultCollectionResponse?: UserProcessingResultCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
408
+ /**
409
+ * The deserialization information for the current model
410
+ * @returns a Record<string, (node: ParseNode) => void>
411
+ */
412
+ export declare function deserializeIntoUserSummary(userSummary?: UserSummary | undefined): Record<string, (node: ParseNode) => void>;
413
+ /**
414
+ * The deserialization information for the current model
415
+ * @returns a Record<string, (node: ParseNode) => void>
416
+ */
417
+ export declare function deserializeIntoWorkflow(workflow?: Workflow | undefined): Record<string, (node: ParseNode) => void>;
418
+ /**
419
+ * The deserialization information for the current model
420
+ * @returns a Record<string, (node: ParseNode) => void>
421
+ */
422
+ export declare function deserializeIntoWorkflowBase(workflowBase?: WorkflowBase | undefined): Record<string, (node: ParseNode) => void>;
423
+ /**
424
+ * The deserialization information for the current model
425
+ * @returns a Record<string, (node: ParseNode) => void>
426
+ */
427
+ export declare function deserializeIntoWorkflowCollectionResponse(workflowCollectionResponse?: WorkflowCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
428
+ /**
429
+ * The deserialization information for the current model
430
+ * @returns a Record<string, (node: ParseNode) => void>
431
+ */
432
+ export declare function deserializeIntoWorkflowExecutionConditions(workflowExecutionConditions?: WorkflowExecutionConditions | undefined): Record<string, (node: ParseNode) => void>;
433
+ /**
434
+ * The deserialization information for the current model
435
+ * @returns a Record<string, (node: ParseNode) => void>
436
+ */
437
+ export declare function deserializeIntoWorkflowExecutionTrigger(workflowExecutionTrigger?: WorkflowExecutionTrigger | undefined): Record<string, (node: ParseNode) => void>;
438
+ /**
439
+ * The deserialization information for the current model
440
+ * @returns a Record<string, (node: ParseNode) => void>
441
+ */
442
+ export declare function deserializeIntoWorkflowTemplate(workflowTemplate?: WorkflowTemplate | undefined): Record<string, (node: ParseNode) => void>;
443
+ /**
444
+ * The deserialization information for the current model
445
+ * @returns a Record<string, (node: ParseNode) => void>
446
+ */
447
+ export declare function deserializeIntoWorkflowTemplateCollectionResponse(workflowTemplateCollectionResponse?: WorkflowTemplateCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
448
+ /**
449
+ * The deserialization information for the current model
450
+ * @returns a Record<string, (node: ParseNode) => void>
451
+ */
452
+ export declare function deserializeIntoWorkflowVersion(workflowVersion?: WorkflowVersion | undefined): Record<string, (node: ParseNode) => void>;
453
+ /**
454
+ * The deserialization information for the current model
455
+ * @returns a Record<string, (node: ParseNode) => void>
456
+ */
457
+ export declare function deserializeIntoWorkflowVersionCollectionResponse(workflowVersionCollectionResponse?: WorkflowVersionCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
458
+ export interface LifecycleManagementSettings extends Entity, Parsable {
459
+ /**
460
+ * The emailSettings property
461
+ */
462
+ emailSettings?: EmailSettings;
463
+ /**
464
+ * The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours.
465
+ */
466
+ workflowScheduleIntervalInHours?: number;
467
+ }
468
+ export type LifecycleTaskCategory = (typeof LifecycleTaskCategoryObject)[keyof typeof LifecycleTaskCategoryObject];
469
+ export type LifecycleWorkflowCategory = (typeof LifecycleWorkflowCategoryObject)[keyof typeof LifecycleWorkflowCategoryObject];
470
+ export type LifecycleWorkflowProcessingStatus = (typeof LifecycleWorkflowProcessingStatusObject)[keyof typeof LifecycleWorkflowProcessingStatusObject];
471
+ export interface LifecycleWorkflowsContainer extends Entity, Parsable {
472
+ /**
473
+ * The customTaskExtension instance.
474
+ */
475
+ customTaskExtensions?: CustomTaskExtension[];
476
+ /**
477
+ * Deleted workflows in your lifecycle workflows instance.
478
+ */
479
+ deletedItems?: DeletedItemContainer;
480
+ /**
481
+ * The settings property
482
+ */
483
+ settings?: LifecycleManagementSettings;
484
+ /**
485
+ * The definition of tasks within the lifecycle workflows instance.
486
+ */
487
+ taskDefinitions?: TaskDefinition[];
488
+ /**
489
+ * The workflows in the lifecycle workflows instance.
490
+ */
491
+ workflows?: Workflow[];
492
+ /**
493
+ * The workflow templates in the lifecycle workflow instance.
494
+ */
495
+ workflowTemplates?: WorkflowTemplate[];
496
+ }
497
+ export interface OnDemandExecutionOnly extends Parsable, WorkflowExecutionConditions {
498
+ }
499
+ export interface Parameter extends AdditionalDataHolder, BackedModel, Parsable {
500
+ /**
501
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
502
+ */
503
+ additionalData?: Record<string, unknown>;
504
+ /**
505
+ * Stores model information.
506
+ */
507
+ backingStoreEnabled?: boolean;
508
+ /**
509
+ * The name of the parameter.
510
+ */
511
+ name?: string;
512
+ /**
513
+ * The OdataType property
514
+ */
515
+ odataType?: string;
516
+ /**
517
+ * The values of the parameter.
518
+ */
519
+ values?: string[];
520
+ /**
521
+ * The valueType property
522
+ */
523
+ valueType?: ValueType;
524
+ }
525
+ export interface RuleBasedSubjectSet extends Parsable, SubjectSet {
526
+ /**
527
+ * The rule for the subject set. Lifecycle Workflows supports a rich set of user properties for configuring the rules using $filter query expressions. For more information, see supported user and query parameters.
528
+ */
529
+ rule?: string;
530
+ }
531
+ export interface Run extends Entity, Parsable {
532
+ /**
533
+ * The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
534
+ */
535
+ completedDateTime?: Date;
536
+ /**
537
+ * The number of tasks that failed in the run execution.
538
+ */
539
+ failedTasksCount?: number;
540
+ /**
541
+ * The number of users that failed in the run execution.
542
+ */
543
+ failedUsersCount?: number;
544
+ /**
545
+ * The datetime that the run was last updated.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
546
+ */
547
+ lastUpdatedDateTime?: Date;
548
+ /**
549
+ * The processingStatus property
550
+ */
551
+ processingStatus?: LifecycleWorkflowProcessingStatus;
552
+ /**
553
+ * The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
554
+ */
555
+ scheduledDateTime?: Date;
556
+ /**
557
+ * The date time that the run execution started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
558
+ */
559
+ startedDateTime?: Date;
560
+ /**
561
+ * The number of successfully completed users in the run.
562
+ */
563
+ successfulUsersCount?: number;
564
+ /**
565
+ * The related taskProcessingResults.
566
+ */
567
+ taskProcessingResults?: TaskProcessingResult[];
568
+ /**
569
+ * The totalTasksCount property
570
+ */
571
+ totalTasksCount?: number;
572
+ /**
573
+ * The total number of unprocessed tasks in the run execution.
574
+ */
575
+ totalUnprocessedTasksCount?: number;
576
+ /**
577
+ * The total number of users in the workflow execution.
578
+ */
579
+ totalUsersCount?: number;
580
+ /**
581
+ * The associated individual user execution.
582
+ */
583
+ userProcessingResults?: UserProcessingResult[];
584
+ /**
585
+ * The workflowExecutionType property
586
+ */
587
+ workflowExecutionType?: WorkflowExecutionType;
588
+ }
589
+ export interface RunCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
590
+ /**
591
+ * The value property
592
+ */
593
+ value?: Run[];
594
+ }
595
+ export interface RunSummary extends AdditionalDataHolder, BackedModel, Parsable {
596
+ /**
597
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
598
+ */
599
+ additionalData?: Record<string, unknown>;
600
+ /**
601
+ * Stores model information.
602
+ */
603
+ backingStoreEnabled?: boolean;
604
+ /**
605
+ * The number of failed workflow runs.
606
+ */
607
+ failedRuns?: number;
608
+ /**
609
+ * The number of failed tasks of a workflow.
610
+ */
611
+ failedTasks?: number;
612
+ /**
613
+ * The OdataType property
614
+ */
615
+ odataType?: string;
616
+ /**
617
+ * The number of successful workflow runs.
618
+ */
619
+ successfulRuns?: number;
620
+ /**
621
+ * The total number of runs for a workflow.
622
+ */
623
+ totalRuns?: number;
624
+ /**
625
+ * The total number of tasks processed by a workflow.
626
+ */
627
+ totalTasks?: number;
628
+ /**
629
+ * The total number of users processed by a workflow.
630
+ */
631
+ totalUsers?: number;
632
+ }
633
+ /**
634
+ * Serializes information the current object
635
+ * @param writer Serialization writer to use to serialize this model
636
+ */
637
+ export declare function serializeCustomTaskExtension(writer: SerializationWriter, customTaskExtension?: CustomTaskExtension | undefined): void;
638
+ /**
639
+ * Serializes information the current object
640
+ * @param writer Serialization writer to use to serialize this model
641
+ */
642
+ export declare function serializeCustomTaskExtensionCallbackConfiguration(writer: SerializationWriter, customTaskExtensionCallbackConfiguration?: CustomTaskExtensionCallbackConfiguration | undefined): void;
643
+ /**
644
+ * Serializes information the current object
645
+ * @param writer Serialization writer to use to serialize this model
646
+ */
647
+ export declare function serializeCustomTaskExtensionCallbackData(writer: SerializationWriter, customTaskExtensionCallbackData?: CustomTaskExtensionCallbackData | undefined): void;
648
+ /**
649
+ * Serializes information the current object
650
+ * @param writer Serialization writer to use to serialize this model
651
+ */
652
+ export declare function serializeCustomTaskExtensionCalloutData(writer: SerializationWriter, customTaskExtensionCalloutData?: CustomTaskExtensionCalloutData | undefined): void;
653
+ /**
654
+ * Serializes information the current object
655
+ * @param writer Serialization writer to use to serialize this model
656
+ */
657
+ export declare function serializeCustomTaskExtensionCollectionResponse(writer: SerializationWriter, customTaskExtensionCollectionResponse?: CustomTaskExtensionCollectionResponse | undefined): void;
658
+ /**
659
+ * Serializes information the current object
660
+ * @param writer Serialization writer to use to serialize this model
661
+ */
662
+ export declare function serializeLifecycleManagementSettings(writer: SerializationWriter, lifecycleManagementSettings?: LifecycleManagementSettings | undefined): void;
663
+ /**
664
+ * Serializes information the current object
665
+ * @param writer Serialization writer to use to serialize this model
666
+ */
667
+ export declare function serializeLifecycleWorkflowsContainer(writer: SerializationWriter, lifecycleWorkflowsContainer?: LifecycleWorkflowsContainer | undefined): void;
668
+ /**
669
+ * Serializes information the current object
670
+ * @param writer Serialization writer to use to serialize this model
671
+ */
672
+ export declare function serializeOnDemandExecutionOnly(writer: SerializationWriter, onDemandExecutionOnly?: OnDemandExecutionOnly | undefined): void;
673
+ /**
674
+ * Serializes information the current object
675
+ * @param writer Serialization writer to use to serialize this model
676
+ */
677
+ export declare function serializeParameter(writer: SerializationWriter, parameter?: Parameter | undefined): void;
678
+ /**
679
+ * Serializes information the current object
680
+ * @param writer Serialization writer to use to serialize this model
681
+ */
682
+ export declare function serializeRuleBasedSubjectSet(writer: SerializationWriter, ruleBasedSubjectSet?: RuleBasedSubjectSet | undefined): void;
683
+ /**
684
+ * Serializes information the current object
685
+ * @param writer Serialization writer to use to serialize this model
686
+ */
687
+ export declare function serializeRun(writer: SerializationWriter, run?: Run | undefined): void;
688
+ /**
689
+ * Serializes information the current object
690
+ * @param writer Serialization writer to use to serialize this model
691
+ */
692
+ export declare function serializeRunCollectionResponse(writer: SerializationWriter, runCollectionResponse?: RunCollectionResponse | undefined): void;
693
+ /**
694
+ * Serializes information the current object
695
+ * @param writer Serialization writer to use to serialize this model
696
+ */
697
+ export declare function serializeRunSummary(writer: SerializationWriter, runSummary?: RunSummary | undefined): void;
698
+ /**
699
+ * Serializes information the current object
700
+ * @param writer Serialization writer to use to serialize this model
701
+ */
702
+ export declare function serializeTask(writer: SerializationWriter, task?: Task | undefined): void;
703
+ /**
704
+ * Serializes information the current object
705
+ * @param writer Serialization writer to use to serialize this model
706
+ */
707
+ export declare function serializeTaskCollectionResponse(writer: SerializationWriter, taskCollectionResponse?: TaskCollectionResponse | undefined): void;
708
+ /**
709
+ * Serializes information the current object
710
+ * @param writer Serialization writer to use to serialize this model
711
+ */
712
+ export declare function serializeTaskDefinition(writer: SerializationWriter, taskDefinition?: TaskDefinition | undefined): void;
713
+ /**
714
+ * Serializes information the current object
715
+ * @param writer Serialization writer to use to serialize this model
716
+ */
717
+ export declare function serializeTaskDefinitionCollectionResponse(writer: SerializationWriter, taskDefinitionCollectionResponse?: TaskDefinitionCollectionResponse | undefined): void;
718
+ /**
719
+ * Serializes information the current object
720
+ * @param writer Serialization writer to use to serialize this model
721
+ */
722
+ export declare function serializeTaskProcessingResult(writer: SerializationWriter, taskProcessingResult?: TaskProcessingResult | undefined): void;
723
+ /**
724
+ * Serializes information the current object
725
+ * @param writer Serialization writer to use to serialize this model
726
+ */
727
+ export declare function serializeTaskProcessingResultCollectionResponse(writer: SerializationWriter, taskProcessingResultCollectionResponse?: TaskProcessingResultCollectionResponse | undefined): void;
728
+ /**
729
+ * Serializes information the current object
730
+ * @param writer Serialization writer to use to serialize this model
731
+ */
732
+ export declare function serializeTaskReport(writer: SerializationWriter, taskReport?: TaskReport | undefined): void;
733
+ /**
734
+ * Serializes information the current object
735
+ * @param writer Serialization writer to use to serialize this model
736
+ */
737
+ export declare function serializeTaskReportCollectionResponse(writer: SerializationWriter, taskReportCollectionResponse?: TaskReportCollectionResponse | undefined): void;
738
+ /**
739
+ * Serializes information the current object
740
+ * @param writer Serialization writer to use to serialize this model
741
+ */
742
+ export declare function serializeTaskReportSummary(writer: SerializationWriter, taskReportSummary?: TaskReportSummary | undefined): void;
743
+ /**
744
+ * Serializes information the current object
745
+ * @param writer Serialization writer to use to serialize this model
746
+ */
747
+ export declare function serializeTimeBasedAttributeTrigger(writer: SerializationWriter, timeBasedAttributeTrigger?: TimeBasedAttributeTrigger | undefined): void;
748
+ /**
749
+ * Serializes information the current object
750
+ * @param writer Serialization writer to use to serialize this model
751
+ */
752
+ export declare function serializeTriggerAndScopeBasedConditions(writer: SerializationWriter, triggerAndScopeBasedConditions?: TriggerAndScopeBasedConditions | undefined): void;
753
+ /**
754
+ * Serializes information the current object
755
+ * @param writer Serialization writer to use to serialize this model
756
+ */
757
+ export declare function serializeUserProcessingResult(writer: SerializationWriter, userProcessingResult?: UserProcessingResult | undefined): void;
758
+ /**
759
+ * Serializes information the current object
760
+ * @param writer Serialization writer to use to serialize this model
761
+ */
762
+ export declare function serializeUserProcessingResultCollectionResponse(writer: SerializationWriter, userProcessingResultCollectionResponse?: UserProcessingResultCollectionResponse | undefined): void;
763
+ /**
764
+ * Serializes information the current object
765
+ * @param writer Serialization writer to use to serialize this model
766
+ */
767
+ export declare function serializeUserSummary(writer: SerializationWriter, userSummary?: UserSummary | undefined): void;
768
+ /**
769
+ * Serializes information the current object
770
+ * @param writer Serialization writer to use to serialize this model
771
+ */
772
+ export declare function serializeWorkflow(writer: SerializationWriter, workflow?: Workflow | undefined): void;
773
+ /**
774
+ * Serializes information the current object
775
+ * @param writer Serialization writer to use to serialize this model
776
+ */
777
+ export declare function serializeWorkflowBase(writer: SerializationWriter, workflowBase?: WorkflowBase | undefined): void;
778
+ /**
779
+ * Serializes information the current object
780
+ * @param writer Serialization writer to use to serialize this model
781
+ */
782
+ export declare function serializeWorkflowCollectionResponse(writer: SerializationWriter, workflowCollectionResponse?: WorkflowCollectionResponse | undefined): void;
783
+ /**
784
+ * Serializes information the current object
785
+ * @param writer Serialization writer to use to serialize this model
786
+ */
787
+ export declare function serializeWorkflowExecutionConditions(writer: SerializationWriter, workflowExecutionConditions?: WorkflowExecutionConditions | undefined): void;
788
+ /**
789
+ * Serializes information the current object
790
+ * @param writer Serialization writer to use to serialize this model
791
+ */
792
+ export declare function serializeWorkflowExecutionTrigger(writer: SerializationWriter, workflowExecutionTrigger?: WorkflowExecutionTrigger | undefined): void;
793
+ /**
794
+ * Serializes information the current object
795
+ * @param writer Serialization writer to use to serialize this model
796
+ */
797
+ export declare function serializeWorkflowTemplate(writer: SerializationWriter, workflowTemplate?: WorkflowTemplate | undefined): void;
798
+ /**
799
+ * Serializes information the current object
800
+ * @param writer Serialization writer to use to serialize this model
801
+ */
802
+ export declare function serializeWorkflowTemplateCollectionResponse(writer: SerializationWriter, workflowTemplateCollectionResponse?: WorkflowTemplateCollectionResponse | undefined): void;
803
+ /**
804
+ * Serializes information the current object
805
+ * @param writer Serialization writer to use to serialize this model
806
+ */
807
+ export declare function serializeWorkflowVersion(writer: SerializationWriter, workflowVersion?: WorkflowVersion | undefined): void;
808
+ /**
809
+ * Serializes information the current object
810
+ * @param writer Serialization writer to use to serialize this model
811
+ */
812
+ export declare function serializeWorkflowVersionCollectionResponse(writer: SerializationWriter, workflowVersionCollectionResponse?: WorkflowVersionCollectionResponse | undefined): void;
813
+ export interface Task extends Entity, Parsable {
814
+ /**
815
+ * Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.
816
+ */
817
+ arguments?: KeyValuePair[];
818
+ /**
819
+ * The category property
820
+ */
821
+ category?: LifecycleTaskCategory[];
822
+ /**
823
+ * A boolean value that specifies whether, if this task fails, the workflow will stop, and subsequent tasks will not run. Optional.
824
+ */
825
+ continueOnError?: boolean;
826
+ /**
827
+ * A string that describes the purpose of the task for administrative use. Optional.
828
+ */
829
+ description?: string;
830
+ /**
831
+ * A unique string that identifies the task. Required.Supports $filter(eq, ne) and orderBy.
832
+ */
833
+ displayName?: string;
834
+ /**
835
+ * An integer that states in what order the task will run in a workflow.Supports $orderby.
836
+ */
837
+ executionSequence?: number;
838
+ /**
839
+ * A boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy.
840
+ */
841
+ isEnabled?: boolean;
842
+ /**
843
+ * A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see supported tasks. Required.Supports $filter(eq, ne).
844
+ */
845
+ taskDefinitionId?: string;
846
+ /**
847
+ * The result of processing the task.
848
+ */
849
+ taskProcessingResults?: TaskProcessingResult[];
850
+ }
851
+ export interface TaskCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
852
+ /**
853
+ * The value property
854
+ */
855
+ value?: Task[];
856
+ }
857
+ export interface TaskDefinition extends Entity, Parsable {
858
+ /**
859
+ * The category property
860
+ */
861
+ category?: LifecycleTaskCategory[];
862
+ /**
863
+ * The continueOnError property
864
+ */
865
+ continueOnError?: boolean;
866
+ /**
867
+ * The description of the taskDefinition.
868
+ */
869
+ description?: string;
870
+ /**
871
+ * The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.
872
+ */
873
+ displayName?: string;
874
+ /**
875
+ * The parameters that must be supplied when creating a workflow task object.Supports $filter(any).
876
+ */
877
+ parameters?: Parameter[];
878
+ /**
879
+ * The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.
880
+ */
881
+ version?: number;
882
+ }
883
+ export interface TaskDefinitionCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
884
+ /**
885
+ * The value property
886
+ */
887
+ value?: TaskDefinition[];
888
+ }
889
+ export interface TaskProcessingResult extends Entity, Parsable {
890
+ /**
891
+ * The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
892
+ */
893
+ completedDateTime?: Date;
894
+ /**
895
+ * The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
896
+ */
897
+ createdDateTime?: Date;
898
+ /**
899
+ * Describes why the taskProcessingResult has failed.
900
+ */
901
+ failureReason?: string;
902
+ /**
903
+ * The processingStatus property
904
+ */
905
+ processingStatus?: LifecycleWorkflowProcessingStatus;
906
+ /**
907
+ * The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
908
+ */
909
+ startedDateTime?: Date;
910
+ /**
911
+ * The subject property
912
+ */
913
+ subject?: User;
914
+ /**
915
+ * The task property
916
+ */
917
+ task?: Task;
918
+ }
919
+ export interface TaskProcessingResultCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
920
+ /**
921
+ * The value property
922
+ */
923
+ value?: TaskProcessingResult[];
924
+ }
925
+ export interface TaskReport extends Entity, Parsable {
926
+ /**
927
+ * The date time that the associated run completed. Value is null if the run has not completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
928
+ */
929
+ completedDateTime?: Date;
930
+ /**
931
+ * The number of users in the run execution for which the associated task failed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
932
+ */
933
+ failedUsersCount?: number;
934
+ /**
935
+ * The date and time that the task report was last updated.
936
+ */
937
+ lastUpdatedDateTime?: Date;
938
+ /**
939
+ * The processingStatus property
940
+ */
941
+ processingStatus?: LifecycleWorkflowProcessingStatus;
942
+ /**
943
+ * The unique identifier of the associated run.
944
+ */
945
+ runId?: string;
946
+ /**
947
+ * The date time that the associated run started. Value is null if the run has not started.
948
+ */
949
+ startedDateTime?: Date;
950
+ /**
951
+ * The number of users in the run execution for which the associated task succeeded.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
952
+ */
953
+ successfulUsersCount?: number;
954
+ /**
955
+ * The task property
956
+ */
957
+ task?: Task;
958
+ /**
959
+ * The taskDefinition property
960
+ */
961
+ taskDefinition?: TaskDefinition;
962
+ /**
963
+ * The related lifecycle workflow taskProcessingResults.
964
+ */
965
+ taskProcessingResults?: TaskProcessingResult[];
966
+ /**
967
+ * The total number of users in the run execution for which the associated task was scheduled to execute.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
968
+ */
969
+ totalUsersCount?: number;
970
+ /**
971
+ * The number of users in the run execution for which the associated task is queued, in progress, or canceled.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
972
+ */
973
+ unprocessedUsersCount?: number;
974
+ }
975
+ export interface TaskReportCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
976
+ /**
977
+ * The value property
978
+ */
979
+ value?: TaskReport[];
980
+ }
981
+ export interface TaskReportSummary extends AdditionalDataHolder, BackedModel, Parsable {
982
+ /**
983
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
984
+ */
985
+ additionalData?: Record<string, unknown>;
986
+ /**
987
+ * Stores model information.
988
+ */
989
+ backingStoreEnabled?: boolean;
990
+ /**
991
+ * The number of failed tasks in a report.
992
+ */
993
+ failedTasks?: number;
994
+ /**
995
+ * The OdataType property
996
+ */
997
+ odataType?: string;
998
+ /**
999
+ * The total number of successful tasks in a report.
1000
+ */
1001
+ successfulTasks?: number;
1002
+ /**
1003
+ * The total number of tasks in a report.
1004
+ */
1005
+ totalTasks?: number;
1006
+ /**
1007
+ * The number of unprocessed tasks in a report.
1008
+ */
1009
+ unprocessedTasks?: number;
1010
+ }
1011
+ export interface TimeBasedAttributeTrigger extends Parsable, WorkflowExecutionTrigger {
1012
+ /**
1013
+ * How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date. The value can range between -180 and 180 days.
1014
+ */
1015
+ offsetInDays?: number;
1016
+ /**
1017
+ * The timeBasedAttribute property
1018
+ */
1019
+ timeBasedAttribute?: WorkflowTriggerTimeBasedAttribute;
1020
+ }
1021
+ export interface TriggerAndScopeBasedConditions extends Parsable, WorkflowExecutionConditions {
1022
+ /**
1023
+ * Defines who the workflow runs for.
1024
+ */
1025
+ scope?: SubjectSet;
1026
+ /**
1027
+ * What triggers a workflow to run.
1028
+ */
1029
+ trigger?: WorkflowExecutionTrigger;
1030
+ }
1031
+ export interface UserProcessingResult extends Entity, Parsable {
1032
+ /**
1033
+ * The date time that the workflow execution for a user completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
1034
+ */
1035
+ completedDateTime?: Date;
1036
+ /**
1037
+ * The number of tasks that failed in the workflow execution.
1038
+ */
1039
+ failedTasksCount?: number;
1040
+ /**
1041
+ * The processingStatus property
1042
+ */
1043
+ processingStatus?: LifecycleWorkflowProcessingStatus;
1044
+ /**
1045
+ * The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
1046
+ */
1047
+ scheduledDateTime?: Date;
1048
+ /**
1049
+ * The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
1050
+ */
1051
+ startedDateTime?: Date;
1052
+ /**
1053
+ * The subject property
1054
+ */
1055
+ subject?: User;
1056
+ /**
1057
+ * The associated individual task execution.
1058
+ */
1059
+ taskProcessingResults?: TaskProcessingResult[];
1060
+ /**
1061
+ * The total number of tasks that in the workflow execution.
1062
+ */
1063
+ totalTasksCount?: number;
1064
+ /**
1065
+ * The total number of unprocessed tasks for the workflow.
1066
+ */
1067
+ totalUnprocessedTasksCount?: number;
1068
+ /**
1069
+ * The workflowExecutionType property
1070
+ */
1071
+ workflowExecutionType?: WorkflowExecutionType;
1072
+ /**
1073
+ * The version of the workflow that was executed.
1074
+ */
1075
+ workflowVersion?: number;
1076
+ }
1077
+ export interface UserProcessingResultCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
1078
+ /**
1079
+ * The value property
1080
+ */
1081
+ value?: UserProcessingResult[];
1082
+ }
1083
+ export interface UserSummary extends AdditionalDataHolder, BackedModel, Parsable {
1084
+ /**
1085
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1086
+ */
1087
+ additionalData?: Record<string, unknown>;
1088
+ /**
1089
+ * Stores model information.
1090
+ */
1091
+ backingStoreEnabled?: boolean;
1092
+ /**
1093
+ * The number of failed tasks for users in a user summary.
1094
+ */
1095
+ failedTasks?: number;
1096
+ /**
1097
+ * The number of failed users in a user summary.
1098
+ */
1099
+ failedUsers?: number;
1100
+ /**
1101
+ * The OdataType property
1102
+ */
1103
+ odataType?: string;
1104
+ /**
1105
+ * The number of successful users in a user summary.
1106
+ */
1107
+ successfulUsers?: number;
1108
+ /**
1109
+ * The total tasks of users in a user summary.
1110
+ */
1111
+ totalTasks?: number;
1112
+ /**
1113
+ * The total number of users in a user summary
1114
+ */
1115
+ totalUsers?: number;
1116
+ }
1117
+ export type ValueType = (typeof ValueTypeObject)[keyof typeof ValueTypeObject];
1118
+ export interface Workflow extends Parsable, WorkflowBase {
1119
+ /**
1120
+ * When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
1121
+ */
1122
+ deletedDateTime?: Date;
1123
+ /**
1124
+ * The unique identifier of the Microsoft Entra identity that last modified the workflow object.
1125
+ */
1126
+ executionScope?: UserProcessingResult[];
1127
+ /**
1128
+ * Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
1129
+ */
1130
+ id?: string;
1131
+ /**
1132
+ * The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby.
1133
+ */
1134
+ nextScheduleRunDateTime?: Date;
1135
+ /**
1136
+ * Workflow runs.
1137
+ */
1138
+ runs?: Run[];
1139
+ /**
1140
+ * Represents the aggregation of task execution data for tasks within a workflow object.
1141
+ */
1142
+ taskReports?: TaskReport[];
1143
+ /**
1144
+ * Per-user workflow execution results.
1145
+ */
1146
+ userProcessingResults?: UserProcessingResult[];
1147
+ /**
1148
+ * The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
1149
+ */
1150
+ version?: number;
1151
+ /**
1152
+ * The workflow versions that are available.
1153
+ */
1154
+ versions?: WorkflowVersion[];
1155
+ }
1156
+ export interface WorkflowBase extends AdditionalDataHolder, BackedModel, Parsable {
1157
+ /**
1158
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1159
+ */
1160
+ additionalData?: Record<string, unknown>;
1161
+ /**
1162
+ * Stores model information.
1163
+ */
1164
+ backingStoreEnabled?: boolean;
1165
+ /**
1166
+ * The category property
1167
+ */
1168
+ category?: LifecycleWorkflowCategory;
1169
+ /**
1170
+ * The user who created the workflow.
1171
+ */
1172
+ createdBy?: User;
1173
+ /**
1174
+ * When a workflow was created.
1175
+ */
1176
+ createdDateTime?: Date;
1177
+ /**
1178
+ * A string that describes the purpose of the workflow.
1179
+ */
1180
+ description?: string;
1181
+ /**
1182
+ * A string to identify the workflow.
1183
+ */
1184
+ displayName?: string;
1185
+ /**
1186
+ * Defines when and for who the workflow will run.
1187
+ */
1188
+ executionConditions?: WorkflowExecutionConditions;
1189
+ /**
1190
+ * Whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true.
1191
+ */
1192
+ isEnabled?: boolean;
1193
+ /**
1194
+ * If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Can't be true for a disabled workflow (where isEnabled is false).
1195
+ */
1196
+ isSchedulingEnabled?: boolean;
1197
+ /**
1198
+ * The unique identifier of the Microsoft Entra identity that last modified the workflow.
1199
+ */
1200
+ lastModifiedBy?: User;
1201
+ /**
1202
+ * When the workflow was last modified.
1203
+ */
1204
+ lastModifiedDateTime?: Date;
1205
+ /**
1206
+ * The OdataType property
1207
+ */
1208
+ odataType?: string;
1209
+ /**
1210
+ * The tasks in the workflow.
1211
+ */
1212
+ tasks?: Task[];
1213
+ }
1214
+ export interface WorkflowCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
1215
+ /**
1216
+ * The value property
1217
+ */
1218
+ value?: Workflow[];
1219
+ }
1220
+ export interface WorkflowExecutionConditions extends AdditionalDataHolder, BackedModel, Parsable {
1221
+ /**
1222
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1223
+ */
1224
+ additionalData?: Record<string, unknown>;
1225
+ /**
1226
+ * Stores model information.
1227
+ */
1228
+ backingStoreEnabled?: boolean;
1229
+ /**
1230
+ * The OdataType property
1231
+ */
1232
+ odataType?: string;
1233
+ }
1234
+ export interface WorkflowExecutionTrigger extends AdditionalDataHolder, BackedModel, Parsable {
1235
+ /**
1236
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1237
+ */
1238
+ additionalData?: Record<string, unknown>;
1239
+ /**
1240
+ * Stores model information.
1241
+ */
1242
+ backingStoreEnabled?: boolean;
1243
+ /**
1244
+ * The OdataType property
1245
+ */
1246
+ odataType?: string;
1247
+ }
1248
+ export type WorkflowExecutionType = (typeof WorkflowExecutionTypeObject)[keyof typeof WorkflowExecutionTypeObject];
1249
+ export interface WorkflowTemplate extends Entity, Parsable {
1250
+ /**
1251
+ * The category property
1252
+ */
1253
+ category?: LifecycleWorkflowCategory;
1254
+ /**
1255
+ * The description of the workflowTemplate.
1256
+ */
1257
+ description?: string;
1258
+ /**
1259
+ * The display name of the workflowTemplate.Supports $filter(eq, ne) and $orderby.
1260
+ */
1261
+ displayName?: string;
1262
+ /**
1263
+ * Conditions describing when to execute the workflow and the criteria to identify in-scope subject set.
1264
+ */
1265
+ executionConditions?: WorkflowExecutionConditions;
1266
+ /**
1267
+ * Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default.
1268
+ */
1269
+ tasks?: Task[];
1270
+ }
1271
+ export interface WorkflowTemplateCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
1272
+ /**
1273
+ * The value property
1274
+ */
1275
+ value?: WorkflowTemplate[];
1276
+ }
1277
+ export type WorkflowTriggerTimeBasedAttribute = (typeof WorkflowTriggerTimeBasedAttributeObject)[keyof typeof WorkflowTriggerTimeBasedAttributeObject];
1278
+ export interface WorkflowVersion extends Parsable, WorkflowBase {
1279
+ /**
1280
+ * The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
1281
+ */
1282
+ versionNumber?: number;
1283
+ }
1284
+ export interface WorkflowVersionCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
1285
+ /**
1286
+ * The value property
1287
+ */
1288
+ value?: WorkflowVersion[];
1289
+ }
1290
+ export declare const CustomTaskExtensionOperationStatusObject: {
1291
+ readonly Completed: "completed";
1292
+ readonly Failed: "failed";
1293
+ readonly UnknownFutureValue: "unknownFutureValue";
1294
+ };
1295
+ export declare const LifecycleTaskCategoryObject: {
1296
+ readonly Joiner: "joiner";
1297
+ readonly Leaver: "leaver";
1298
+ readonly UnknownFutureValue: "unknownFutureValue";
1299
+ readonly Mover: "mover";
1300
+ };
1301
+ export declare const LifecycleWorkflowCategoryObject: {
1302
+ readonly Joiner: "joiner";
1303
+ readonly Leaver: "leaver";
1304
+ readonly UnknownFutureValue: "unknownFutureValue";
1305
+ readonly Mover: "mover";
1306
+ };
1307
+ export declare const LifecycleWorkflowProcessingStatusObject: {
1308
+ readonly Queued: "queued";
1309
+ readonly InProgress: "inProgress";
1310
+ readonly Completed: "completed";
1311
+ readonly CompletedWithErrors: "completedWithErrors";
1312
+ readonly Canceled: "canceled";
1313
+ readonly Failed: "failed";
1314
+ readonly UnknownFutureValue: "unknownFutureValue";
1315
+ };
1316
+ export declare const ValueTypeObject: {
1317
+ readonly EnumEscaped: "enum";
1318
+ readonly String: "string";
1319
+ readonly Int: "int";
1320
+ readonly Bool: "bool";
1321
+ readonly UnknownFutureValue: "unknownFutureValue";
1322
+ };
1323
+ export declare const WorkflowExecutionTypeObject: {
1324
+ readonly Scheduled: "scheduled";
1325
+ readonly OnDemand: "onDemand";
1326
+ readonly UnknownFutureValue: "unknownFutureValue";
1327
+ };
1328
+ export declare const WorkflowTriggerTimeBasedAttributeObject: {
1329
+ readonly EmployeeHireDate: "employeeHireDate";
1330
+ readonly EmployeeLeaveDateTime: "employeeLeaveDateTime";
1331
+ readonly UnknownFutureValue: "unknownFutureValue";
1332
+ readonly CreatedDateTime: "createdDateTime";
1333
+ };
1334
+ //# sourceMappingURL=index.d.ts.map