@microsoft/msgraph-sdk 1.0.0-preview.23 → 1.0.0-preview.24
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.
- package/graphRequestAdapter.js +8 -11
- package/graphRequestAdapter.js.map +1 -0
- package/graphServiceClient.js +17 -21
- package/graphServiceClient.js.map +1 -0
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.js +3 -18
- package/index.js.map +1 -0
- package/models/callRecords/index.d.ts +118 -4
- package/models/callRecords/index.d.ts.map +1 -1
- package/models/callRecords/index.js +241 -180
- package/models/callRecords/index.js.map +1 -0
- package/models/externalConnectors/index.d.ts +4 -4
- package/models/externalConnectors/index.d.ts.map +1 -1
- package/models/externalConnectors/index.js +133 -215
- package/models/externalConnectors/index.js.map +1 -0
- package/models/identityGovernance/index.d.ts +2 -2
- package/models/identityGovernance/index.d.ts.map +1 -1
- package/models/identityGovernance/index.js +184 -296
- package/models/identityGovernance/index.js.map +1 -0
- package/models/index.d.ts +1312 -225
- package/models/index.d.ts.map +1 -1
- package/models/index.js +8747 -14356
- package/models/index.js.map +1 -0
- package/models/oDataErrors/index.js +13 -27
- package/models/oDataErrors/index.js.map +1 -0
- package/models/partners/billing/index.d.ts +1 -1
- package/models/partners/billing/index.d.ts.map +1 -1
- package/models/partners/billing/index.js +68 -112
- package/models/partners/billing/index.js.map +1 -0
- package/models/partners/index.d.ts +0 -1
- package/models/partners/index.js +1 -1
- package/models/partners/index.js.map +1 -0
- package/models/search/index.d.ts +1 -1
- package/models/search/index.d.ts.map +1 -1
- package/models/search/index.js +48 -83
- package/models/search/index.js.map +1 -0
- package/models/security/index.d.ts +6 -6
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +869 -1487
- package/models/security/index.js.map +1 -0
- package/models/termStore/index.d.ts +1 -1
- package/models/termStore/index.d.ts.map +1 -1
- package/models/termStore/index.js +65 -106
- package/models/termStore/index.js.map +1 -0
- package/package.json +3 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.js +2 -4
- package/version.js.map +1 -0
|
@@ -1,262 +1,230 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deserializeIntoTask = exports.deserializeIntoRunSummary = exports.deserializeIntoRunCollectionResponse = exports.deserializeIntoRun = exports.deserializeIntoRuleBasedSubjectSet = exports.deserializeIntoParameter = exports.deserializeIntoOnDemandExecutionOnly = exports.deserializeIntoLifecycleWorkflowsContainer = exports.deserializeIntoLifecycleManagementSettings = exports.deserializeIntoCustomTaskExtensionCollectionResponse = exports.deserializeIntoCustomTaskExtensionCalloutData = exports.deserializeIntoCustomTaskExtensionCallbackData = exports.deserializeIntoCustomTaskExtensionCallbackConfiguration = exports.deserializeIntoCustomTaskExtension = exports.createWorkflowVersionFromDiscriminatorValue = exports.createWorkflowVersionCollectionResponseFromDiscriminatorValue = exports.createWorkflowTemplateFromDiscriminatorValue = exports.createWorkflowTemplateCollectionResponseFromDiscriminatorValue = exports.createWorkflowFromDiscriminatorValue = exports.createWorkflowExecutionTriggerFromDiscriminatorValue = exports.createWorkflowExecutionConditionsFromDiscriminatorValue = exports.createWorkflowCollectionResponseFromDiscriminatorValue = exports.createWorkflowBaseFromDiscriminatorValue = exports.createUserSummaryFromDiscriminatorValue = exports.createUserProcessingResultFromDiscriminatorValue = exports.createUserProcessingResultCollectionResponseFromDiscriminatorValue = exports.createTriggerAndScopeBasedConditionsFromDiscriminatorValue = exports.createTimeBasedAttributeTriggerFromDiscriminatorValue = exports.createTaskReportSummaryFromDiscriminatorValue = exports.createTaskReportFromDiscriminatorValue = exports.createTaskReportCollectionResponseFromDiscriminatorValue = exports.createTaskProcessingResultFromDiscriminatorValue = exports.createTaskProcessingResultCollectionResponseFromDiscriminatorValue = exports.createTaskFromDiscriminatorValue = exports.createTaskDefinitionFromDiscriminatorValue = exports.createTaskDefinitionCollectionResponseFromDiscriminatorValue = exports.createTaskCollectionResponseFromDiscriminatorValue = exports.createRunSummaryFromDiscriminatorValue = exports.createRunFromDiscriminatorValue = exports.createRunCollectionResponseFromDiscriminatorValue = exports.createRuleBasedSubjectSetFromDiscriminatorValue = exports.createParameterFromDiscriminatorValue = exports.createOnDemandExecutionOnlyFromDiscriminatorValue = exports.createLifecycleWorkflowsContainerFromDiscriminatorValue = exports.createLifecycleManagementSettingsFromDiscriminatorValue = exports.createCustomTaskExtensionFromDiscriminatorValue = exports.createCustomTaskExtensionCollectionResponseFromDiscriminatorValue = exports.createCustomTaskExtensionCalloutDataFromDiscriminatorValue = exports.createCustomTaskExtensionCallbackDataFromDiscriminatorValue = exports.createCustomTaskExtensionCallbackConfigurationFromDiscriminatorValue = void 0;
|
|
4
|
-
exports.serializeWorkflow = exports.serializeUserSummary = exports.serializeUserProcessingResultCollectionResponse = exports.serializeUserProcessingResult = exports.serializeTriggerAndScopeBasedConditions = exports.serializeTimeBasedAttributeTrigger = exports.serializeTaskReportSummary = exports.serializeTaskReportCollectionResponse = exports.serializeTaskReport = exports.serializeTaskProcessingResultCollectionResponse = exports.serializeTaskProcessingResult = exports.serializeTaskDefinitionCollectionResponse = exports.serializeTaskDefinition = exports.serializeTaskCollectionResponse = exports.serializeTask = exports.serializeRunSummary = exports.serializeRunCollectionResponse = exports.serializeRun = exports.serializeRuleBasedSubjectSet = exports.serializeParameter = exports.serializeOnDemandExecutionOnly = exports.serializeLifecycleWorkflowsContainer = exports.serializeLifecycleManagementSettings = exports.serializeCustomTaskExtensionCollectionResponse = exports.serializeCustomTaskExtensionCalloutData = exports.serializeCustomTaskExtensionCallbackData = exports.serializeCustomTaskExtensionCallbackConfiguration = exports.serializeCustomTaskExtension = exports.deserializeIntoWorkflowVersionCollectionResponse = exports.deserializeIntoWorkflowVersion = exports.deserializeIntoWorkflowTemplateCollectionResponse = exports.deserializeIntoWorkflowTemplate = exports.deserializeIntoWorkflowExecutionTrigger = exports.deserializeIntoWorkflowExecutionConditions = exports.deserializeIntoWorkflowCollectionResponse = exports.deserializeIntoWorkflowBase = exports.deserializeIntoWorkflow = exports.deserializeIntoUserSummary = exports.deserializeIntoUserProcessingResultCollectionResponse = exports.deserializeIntoUserProcessingResult = exports.deserializeIntoTriggerAndScopeBasedConditions = exports.deserializeIntoTimeBasedAttributeTrigger = exports.deserializeIntoTaskReportSummary = exports.deserializeIntoTaskReportCollectionResponse = exports.deserializeIntoTaskReport = exports.deserializeIntoTaskProcessingResultCollectionResponse = exports.deserializeIntoTaskProcessingResult = exports.deserializeIntoTaskDefinitionCollectionResponse = exports.deserializeIntoTaskDefinition = exports.deserializeIntoTaskCollectionResponse = void 0;
|
|
5
|
-
exports.WorkflowTriggerTimeBasedAttributeObject = exports.WorkflowExecutionTypeObject = exports.ValueTypeObject = exports.LifecycleWorkflowProcessingStatusObject = exports.LifecycleWorkflowCategoryObject = exports.LifecycleTaskCategoryObject = exports.CustomTaskExtensionOperationStatusObject = exports.serializeWorkflowVersionCollectionResponse = exports.serializeWorkflowVersion = exports.serializeWorkflowTemplateCollectionResponse = exports.serializeWorkflowTemplate = exports.serializeWorkflowExecutionTrigger = exports.serializeWorkflowExecutionConditions = exports.serializeWorkflowCollectionResponse = exports.serializeWorkflowBase = void 0;
|
|
6
1
|
/* tslint:disable */
|
|
7
2
|
/* eslint-disable */
|
|
8
3
|
// Generated by Microsoft Kiota
|
|
9
4
|
// @ts-ignore
|
|
10
|
-
|
|
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';
|
|
11
6
|
/**
|
|
12
7
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
13
8
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
14
9
|
* @returns {CustomTaskExtensionCallbackConfiguration}
|
|
15
10
|
*/
|
|
16
|
-
function createCustomTaskExtensionCallbackConfigurationFromDiscriminatorValue(parseNode) {
|
|
11
|
+
export function createCustomTaskExtensionCallbackConfigurationFromDiscriminatorValue(parseNode) {
|
|
17
12
|
return deserializeIntoCustomTaskExtensionCallbackConfiguration;
|
|
18
13
|
}
|
|
19
|
-
exports.createCustomTaskExtensionCallbackConfigurationFromDiscriminatorValue = createCustomTaskExtensionCallbackConfigurationFromDiscriminatorValue;
|
|
20
14
|
/**
|
|
21
15
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
22
16
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
23
17
|
* @returns {CustomTaskExtensionCallbackData}
|
|
24
18
|
*/
|
|
25
|
-
function createCustomTaskExtensionCallbackDataFromDiscriminatorValue(parseNode) {
|
|
19
|
+
export function createCustomTaskExtensionCallbackDataFromDiscriminatorValue(parseNode) {
|
|
26
20
|
return deserializeIntoCustomTaskExtensionCallbackData;
|
|
27
21
|
}
|
|
28
|
-
exports.createCustomTaskExtensionCallbackDataFromDiscriminatorValue = createCustomTaskExtensionCallbackDataFromDiscriminatorValue;
|
|
29
22
|
/**
|
|
30
23
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
31
24
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
32
25
|
* @returns {CustomTaskExtensionCalloutData}
|
|
33
26
|
*/
|
|
34
|
-
function createCustomTaskExtensionCalloutDataFromDiscriminatorValue(parseNode) {
|
|
27
|
+
export function createCustomTaskExtensionCalloutDataFromDiscriminatorValue(parseNode) {
|
|
35
28
|
return deserializeIntoCustomTaskExtensionCalloutData;
|
|
36
29
|
}
|
|
37
|
-
exports.createCustomTaskExtensionCalloutDataFromDiscriminatorValue = createCustomTaskExtensionCalloutDataFromDiscriminatorValue;
|
|
38
30
|
/**
|
|
39
31
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
40
32
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
41
33
|
* @returns {CustomTaskExtensionCollectionResponse}
|
|
42
34
|
*/
|
|
43
|
-
function createCustomTaskExtensionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
35
|
+
export function createCustomTaskExtensionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
44
36
|
return deserializeIntoCustomTaskExtensionCollectionResponse;
|
|
45
37
|
}
|
|
46
|
-
exports.createCustomTaskExtensionCollectionResponseFromDiscriminatorValue = createCustomTaskExtensionCollectionResponseFromDiscriminatorValue;
|
|
47
38
|
/**
|
|
48
39
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
49
40
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
50
41
|
* @returns {CustomTaskExtension}
|
|
51
42
|
*/
|
|
52
|
-
function createCustomTaskExtensionFromDiscriminatorValue(parseNode) {
|
|
43
|
+
export function createCustomTaskExtensionFromDiscriminatorValue(parseNode) {
|
|
53
44
|
return deserializeIntoCustomTaskExtension;
|
|
54
45
|
}
|
|
55
|
-
exports.createCustomTaskExtensionFromDiscriminatorValue = createCustomTaskExtensionFromDiscriminatorValue;
|
|
56
46
|
/**
|
|
57
47
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
58
48
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
59
49
|
* @returns {LifecycleManagementSettings}
|
|
60
50
|
*/
|
|
61
|
-
function createLifecycleManagementSettingsFromDiscriminatorValue(parseNode) {
|
|
51
|
+
export function createLifecycleManagementSettingsFromDiscriminatorValue(parseNode) {
|
|
62
52
|
return deserializeIntoLifecycleManagementSettings;
|
|
63
53
|
}
|
|
64
|
-
exports.createLifecycleManagementSettingsFromDiscriminatorValue = createLifecycleManagementSettingsFromDiscriminatorValue;
|
|
65
54
|
/**
|
|
66
55
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
67
56
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
68
57
|
* @returns {LifecycleWorkflowsContainer}
|
|
69
58
|
*/
|
|
70
|
-
function createLifecycleWorkflowsContainerFromDiscriminatorValue(parseNode) {
|
|
59
|
+
export function createLifecycleWorkflowsContainerFromDiscriminatorValue(parseNode) {
|
|
71
60
|
return deserializeIntoLifecycleWorkflowsContainer;
|
|
72
61
|
}
|
|
73
|
-
exports.createLifecycleWorkflowsContainerFromDiscriminatorValue = createLifecycleWorkflowsContainerFromDiscriminatorValue;
|
|
74
62
|
/**
|
|
75
63
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
76
64
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
77
65
|
* @returns {OnDemandExecutionOnly}
|
|
78
66
|
*/
|
|
79
|
-
function createOnDemandExecutionOnlyFromDiscriminatorValue(parseNode) {
|
|
67
|
+
export function createOnDemandExecutionOnlyFromDiscriminatorValue(parseNode) {
|
|
80
68
|
return deserializeIntoOnDemandExecutionOnly;
|
|
81
69
|
}
|
|
82
|
-
exports.createOnDemandExecutionOnlyFromDiscriminatorValue = createOnDemandExecutionOnlyFromDiscriminatorValue;
|
|
83
70
|
/**
|
|
84
71
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
85
72
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
86
73
|
* @returns {Parameter}
|
|
87
74
|
*/
|
|
88
|
-
function createParameterFromDiscriminatorValue(parseNode) {
|
|
75
|
+
export function createParameterFromDiscriminatorValue(parseNode) {
|
|
89
76
|
return deserializeIntoParameter;
|
|
90
77
|
}
|
|
91
|
-
exports.createParameterFromDiscriminatorValue = createParameterFromDiscriminatorValue;
|
|
92
78
|
/**
|
|
93
79
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
94
80
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
95
81
|
* @returns {RuleBasedSubjectSet}
|
|
96
82
|
*/
|
|
97
|
-
function createRuleBasedSubjectSetFromDiscriminatorValue(parseNode) {
|
|
83
|
+
export function createRuleBasedSubjectSetFromDiscriminatorValue(parseNode) {
|
|
98
84
|
return deserializeIntoRuleBasedSubjectSet;
|
|
99
85
|
}
|
|
100
|
-
exports.createRuleBasedSubjectSetFromDiscriminatorValue = createRuleBasedSubjectSetFromDiscriminatorValue;
|
|
101
86
|
/**
|
|
102
87
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
103
88
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
104
89
|
* @returns {RunCollectionResponse}
|
|
105
90
|
*/
|
|
106
|
-
function createRunCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
91
|
+
export function createRunCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
107
92
|
return deserializeIntoRunCollectionResponse;
|
|
108
93
|
}
|
|
109
|
-
exports.createRunCollectionResponseFromDiscriminatorValue = createRunCollectionResponseFromDiscriminatorValue;
|
|
110
94
|
/**
|
|
111
95
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
112
96
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
113
97
|
* @returns {Run}
|
|
114
98
|
*/
|
|
115
|
-
function createRunFromDiscriminatorValue(parseNode) {
|
|
99
|
+
export function createRunFromDiscriminatorValue(parseNode) {
|
|
116
100
|
return deserializeIntoRun;
|
|
117
101
|
}
|
|
118
|
-
exports.createRunFromDiscriminatorValue = createRunFromDiscriminatorValue;
|
|
119
102
|
/**
|
|
120
103
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
121
104
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
122
105
|
* @returns {RunSummary}
|
|
123
106
|
*/
|
|
124
|
-
function createRunSummaryFromDiscriminatorValue(parseNode) {
|
|
107
|
+
export function createRunSummaryFromDiscriminatorValue(parseNode) {
|
|
125
108
|
return deserializeIntoRunSummary;
|
|
126
109
|
}
|
|
127
|
-
exports.createRunSummaryFromDiscriminatorValue = createRunSummaryFromDiscriminatorValue;
|
|
128
110
|
/**
|
|
129
111
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
130
112
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
131
113
|
* @returns {TaskCollectionResponse}
|
|
132
114
|
*/
|
|
133
|
-
function createTaskCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
115
|
+
export function createTaskCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
134
116
|
return deserializeIntoTaskCollectionResponse;
|
|
135
117
|
}
|
|
136
|
-
exports.createTaskCollectionResponseFromDiscriminatorValue = createTaskCollectionResponseFromDiscriminatorValue;
|
|
137
118
|
/**
|
|
138
119
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
139
120
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
140
121
|
* @returns {TaskDefinitionCollectionResponse}
|
|
141
122
|
*/
|
|
142
|
-
function createTaskDefinitionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
123
|
+
export function createTaskDefinitionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
143
124
|
return deserializeIntoTaskDefinitionCollectionResponse;
|
|
144
125
|
}
|
|
145
|
-
exports.createTaskDefinitionCollectionResponseFromDiscriminatorValue = createTaskDefinitionCollectionResponseFromDiscriminatorValue;
|
|
146
126
|
/**
|
|
147
127
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
148
128
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
149
129
|
* @returns {TaskDefinition}
|
|
150
130
|
*/
|
|
151
|
-
function createTaskDefinitionFromDiscriminatorValue(parseNode) {
|
|
131
|
+
export function createTaskDefinitionFromDiscriminatorValue(parseNode) {
|
|
152
132
|
return deserializeIntoTaskDefinition;
|
|
153
133
|
}
|
|
154
|
-
exports.createTaskDefinitionFromDiscriminatorValue = createTaskDefinitionFromDiscriminatorValue;
|
|
155
134
|
/**
|
|
156
135
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
157
136
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
158
137
|
* @returns {Task}
|
|
159
138
|
*/
|
|
160
|
-
function createTaskFromDiscriminatorValue(parseNode) {
|
|
139
|
+
export function createTaskFromDiscriminatorValue(parseNode) {
|
|
161
140
|
return deserializeIntoTask;
|
|
162
141
|
}
|
|
163
|
-
exports.createTaskFromDiscriminatorValue = createTaskFromDiscriminatorValue;
|
|
164
142
|
/**
|
|
165
143
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
166
144
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
167
145
|
* @returns {TaskProcessingResultCollectionResponse}
|
|
168
146
|
*/
|
|
169
|
-
function createTaskProcessingResultCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
147
|
+
export function createTaskProcessingResultCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
170
148
|
return deserializeIntoTaskProcessingResultCollectionResponse;
|
|
171
149
|
}
|
|
172
|
-
exports.createTaskProcessingResultCollectionResponseFromDiscriminatorValue = createTaskProcessingResultCollectionResponseFromDiscriminatorValue;
|
|
173
150
|
/**
|
|
174
151
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
175
152
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
176
153
|
* @returns {TaskProcessingResult}
|
|
177
154
|
*/
|
|
178
|
-
function createTaskProcessingResultFromDiscriminatorValue(parseNode) {
|
|
155
|
+
export function createTaskProcessingResultFromDiscriminatorValue(parseNode) {
|
|
179
156
|
return deserializeIntoTaskProcessingResult;
|
|
180
157
|
}
|
|
181
|
-
exports.createTaskProcessingResultFromDiscriminatorValue = createTaskProcessingResultFromDiscriminatorValue;
|
|
182
158
|
/**
|
|
183
159
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
184
160
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
185
161
|
* @returns {TaskReportCollectionResponse}
|
|
186
162
|
*/
|
|
187
|
-
function createTaskReportCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
163
|
+
export function createTaskReportCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
188
164
|
return deserializeIntoTaskReportCollectionResponse;
|
|
189
165
|
}
|
|
190
|
-
exports.createTaskReportCollectionResponseFromDiscriminatorValue = createTaskReportCollectionResponseFromDiscriminatorValue;
|
|
191
166
|
/**
|
|
192
167
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
193
168
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
194
169
|
* @returns {TaskReport}
|
|
195
170
|
*/
|
|
196
|
-
function createTaskReportFromDiscriminatorValue(parseNode) {
|
|
171
|
+
export function createTaskReportFromDiscriminatorValue(parseNode) {
|
|
197
172
|
return deserializeIntoTaskReport;
|
|
198
173
|
}
|
|
199
|
-
exports.createTaskReportFromDiscriminatorValue = createTaskReportFromDiscriminatorValue;
|
|
200
174
|
/**
|
|
201
175
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
202
176
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
203
177
|
* @returns {TaskReportSummary}
|
|
204
178
|
*/
|
|
205
|
-
function createTaskReportSummaryFromDiscriminatorValue(parseNode) {
|
|
179
|
+
export function createTaskReportSummaryFromDiscriminatorValue(parseNode) {
|
|
206
180
|
return deserializeIntoTaskReportSummary;
|
|
207
181
|
}
|
|
208
|
-
exports.createTaskReportSummaryFromDiscriminatorValue = createTaskReportSummaryFromDiscriminatorValue;
|
|
209
182
|
/**
|
|
210
183
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
211
184
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
212
185
|
* @returns {TimeBasedAttributeTrigger}
|
|
213
186
|
*/
|
|
214
|
-
function createTimeBasedAttributeTriggerFromDiscriminatorValue(parseNode) {
|
|
187
|
+
export function createTimeBasedAttributeTriggerFromDiscriminatorValue(parseNode) {
|
|
215
188
|
return deserializeIntoTimeBasedAttributeTrigger;
|
|
216
189
|
}
|
|
217
|
-
exports.createTimeBasedAttributeTriggerFromDiscriminatorValue = createTimeBasedAttributeTriggerFromDiscriminatorValue;
|
|
218
190
|
/**
|
|
219
191
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
220
192
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
221
193
|
* @returns {TriggerAndScopeBasedConditions}
|
|
222
194
|
*/
|
|
223
|
-
function createTriggerAndScopeBasedConditionsFromDiscriminatorValue(parseNode) {
|
|
195
|
+
export function createTriggerAndScopeBasedConditionsFromDiscriminatorValue(parseNode) {
|
|
224
196
|
return deserializeIntoTriggerAndScopeBasedConditions;
|
|
225
197
|
}
|
|
226
|
-
exports.createTriggerAndScopeBasedConditionsFromDiscriminatorValue = createTriggerAndScopeBasedConditionsFromDiscriminatorValue;
|
|
227
198
|
/**
|
|
228
199
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
229
200
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
230
201
|
* @returns {UserProcessingResultCollectionResponse}
|
|
231
202
|
*/
|
|
232
|
-
function createUserProcessingResultCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
203
|
+
export function createUserProcessingResultCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
233
204
|
return deserializeIntoUserProcessingResultCollectionResponse;
|
|
234
205
|
}
|
|
235
|
-
exports.createUserProcessingResultCollectionResponseFromDiscriminatorValue = createUserProcessingResultCollectionResponseFromDiscriminatorValue;
|
|
236
206
|
/**
|
|
237
207
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
238
208
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
239
209
|
* @returns {UserProcessingResult}
|
|
240
210
|
*/
|
|
241
|
-
function createUserProcessingResultFromDiscriminatorValue(parseNode) {
|
|
211
|
+
export function createUserProcessingResultFromDiscriminatorValue(parseNode) {
|
|
242
212
|
return deserializeIntoUserProcessingResult;
|
|
243
213
|
}
|
|
244
|
-
exports.createUserProcessingResultFromDiscriminatorValue = createUserProcessingResultFromDiscriminatorValue;
|
|
245
214
|
/**
|
|
246
215
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
247
216
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
248
217
|
* @returns {UserSummary}
|
|
249
218
|
*/
|
|
250
|
-
function createUserSummaryFromDiscriminatorValue(parseNode) {
|
|
219
|
+
export function createUserSummaryFromDiscriminatorValue(parseNode) {
|
|
251
220
|
return deserializeIntoUserSummary;
|
|
252
221
|
}
|
|
253
|
-
exports.createUserSummaryFromDiscriminatorValue = createUserSummaryFromDiscriminatorValue;
|
|
254
222
|
/**
|
|
255
223
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
256
224
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
257
225
|
* @returns {WorkflowBase}
|
|
258
226
|
*/
|
|
259
|
-
function createWorkflowBaseFromDiscriminatorValue(parseNode) {
|
|
227
|
+
export function createWorkflowBaseFromDiscriminatorValue(parseNode) {
|
|
260
228
|
if (!parseNode)
|
|
261
229
|
throw new Error("parseNode cannot be undefined");
|
|
262
230
|
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
@@ -273,22 +241,20 @@ function createWorkflowBaseFromDiscriminatorValue(parseNode) {
|
|
|
273
241
|
}
|
|
274
242
|
return deserializeIntoWorkflowBase;
|
|
275
243
|
}
|
|
276
|
-
exports.createWorkflowBaseFromDiscriminatorValue = createWorkflowBaseFromDiscriminatorValue;
|
|
277
244
|
/**
|
|
278
245
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
279
246
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
280
247
|
* @returns {WorkflowCollectionResponse}
|
|
281
248
|
*/
|
|
282
|
-
function createWorkflowCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
249
|
+
export function createWorkflowCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
283
250
|
return deserializeIntoWorkflowCollectionResponse;
|
|
284
251
|
}
|
|
285
|
-
exports.createWorkflowCollectionResponseFromDiscriminatorValue = createWorkflowCollectionResponseFromDiscriminatorValue;
|
|
286
252
|
/**
|
|
287
253
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
288
254
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
289
255
|
* @returns {WorkflowExecutionConditions}
|
|
290
256
|
*/
|
|
291
|
-
function createWorkflowExecutionConditionsFromDiscriminatorValue(parseNode) {
|
|
257
|
+
export function createWorkflowExecutionConditionsFromDiscriminatorValue(parseNode) {
|
|
292
258
|
if (!parseNode)
|
|
293
259
|
throw new Error("parseNode cannot be undefined");
|
|
294
260
|
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
@@ -305,13 +271,12 @@ function createWorkflowExecutionConditionsFromDiscriminatorValue(parseNode) {
|
|
|
305
271
|
}
|
|
306
272
|
return deserializeIntoWorkflowExecutionConditions;
|
|
307
273
|
}
|
|
308
|
-
exports.createWorkflowExecutionConditionsFromDiscriminatorValue = createWorkflowExecutionConditionsFromDiscriminatorValue;
|
|
309
274
|
/**
|
|
310
275
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
311
276
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
312
277
|
* @returns {WorkflowExecutionTrigger}
|
|
313
278
|
*/
|
|
314
|
-
function createWorkflowExecutionTriggerFromDiscriminatorValue(parseNode) {
|
|
279
|
+
export function createWorkflowExecutionTriggerFromDiscriminatorValue(parseNode) {
|
|
315
280
|
if (!parseNode)
|
|
316
281
|
throw new Error("parseNode cannot be undefined");
|
|
317
282
|
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
@@ -326,159 +291,141 @@ function createWorkflowExecutionTriggerFromDiscriminatorValue(parseNode) {
|
|
|
326
291
|
}
|
|
327
292
|
return deserializeIntoWorkflowExecutionTrigger;
|
|
328
293
|
}
|
|
329
|
-
exports.createWorkflowExecutionTriggerFromDiscriminatorValue = createWorkflowExecutionTriggerFromDiscriminatorValue;
|
|
330
294
|
/**
|
|
331
295
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
332
296
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
333
297
|
* @returns {Workflow}
|
|
334
298
|
*/
|
|
335
|
-
function createWorkflowFromDiscriminatorValue(parseNode) {
|
|
299
|
+
export function createWorkflowFromDiscriminatorValue(parseNode) {
|
|
336
300
|
return deserializeIntoWorkflow;
|
|
337
301
|
}
|
|
338
|
-
exports.createWorkflowFromDiscriminatorValue = createWorkflowFromDiscriminatorValue;
|
|
339
302
|
/**
|
|
340
303
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
341
304
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
342
305
|
* @returns {WorkflowTemplateCollectionResponse}
|
|
343
306
|
*/
|
|
344
|
-
function createWorkflowTemplateCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
307
|
+
export function createWorkflowTemplateCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
345
308
|
return deserializeIntoWorkflowTemplateCollectionResponse;
|
|
346
309
|
}
|
|
347
|
-
exports.createWorkflowTemplateCollectionResponseFromDiscriminatorValue = createWorkflowTemplateCollectionResponseFromDiscriminatorValue;
|
|
348
310
|
/**
|
|
349
311
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
350
312
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
351
313
|
* @returns {WorkflowTemplate}
|
|
352
314
|
*/
|
|
353
|
-
function createWorkflowTemplateFromDiscriminatorValue(parseNode) {
|
|
315
|
+
export function createWorkflowTemplateFromDiscriminatorValue(parseNode) {
|
|
354
316
|
return deserializeIntoWorkflowTemplate;
|
|
355
317
|
}
|
|
356
|
-
exports.createWorkflowTemplateFromDiscriminatorValue = createWorkflowTemplateFromDiscriminatorValue;
|
|
357
318
|
/**
|
|
358
319
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
359
320
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
360
321
|
* @returns {WorkflowVersionCollectionResponse}
|
|
361
322
|
*/
|
|
362
|
-
function createWorkflowVersionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
323
|
+
export function createWorkflowVersionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
363
324
|
return deserializeIntoWorkflowVersionCollectionResponse;
|
|
364
325
|
}
|
|
365
|
-
exports.createWorkflowVersionCollectionResponseFromDiscriminatorValue = createWorkflowVersionCollectionResponseFromDiscriminatorValue;
|
|
366
326
|
/**
|
|
367
327
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
368
328
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
369
329
|
* @returns {WorkflowVersion}
|
|
370
330
|
*/
|
|
371
|
-
function createWorkflowVersionFromDiscriminatorValue(parseNode) {
|
|
331
|
+
export function createWorkflowVersionFromDiscriminatorValue(parseNode) {
|
|
372
332
|
return deserializeIntoWorkflowVersion;
|
|
373
333
|
}
|
|
374
|
-
exports.createWorkflowVersionFromDiscriminatorValue = createWorkflowVersionFromDiscriminatorValue;
|
|
375
334
|
/**
|
|
376
335
|
* The deserialization information for the current model
|
|
377
336
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
378
337
|
*/
|
|
379
|
-
function deserializeIntoCustomTaskExtension(customTaskExtension = {}) {
|
|
380
|
-
return Object.assign(Object.assign({},
|
|
338
|
+
export function deserializeIntoCustomTaskExtension(customTaskExtension = {}) {
|
|
339
|
+
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(); } });
|
|
381
340
|
}
|
|
382
|
-
exports.deserializeIntoCustomTaskExtension = deserializeIntoCustomTaskExtension;
|
|
383
341
|
/**
|
|
384
342
|
* The deserialization information for the current model
|
|
385
343
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
386
344
|
*/
|
|
387
|
-
function deserializeIntoCustomTaskExtensionCallbackConfiguration(customTaskExtensionCallbackConfiguration = {}) {
|
|
388
|
-
return Object.assign(Object.assign({},
|
|
345
|
+
export function deserializeIntoCustomTaskExtensionCallbackConfiguration(customTaskExtensionCallbackConfiguration = {}) {
|
|
346
|
+
return Object.assign(Object.assign({}, deserializeIntoCustomExtensionCallbackConfiguration(customTaskExtensionCallbackConfiguration)), { "authorizedApps": n => { customTaskExtensionCallbackConfiguration.authorizedApps = n.getCollectionOfObjectValues(createApplicationFromDiscriminatorValue); } });
|
|
389
347
|
}
|
|
390
|
-
exports.deserializeIntoCustomTaskExtensionCallbackConfiguration = deserializeIntoCustomTaskExtensionCallbackConfiguration;
|
|
391
348
|
/**
|
|
392
349
|
* The deserialization information for the current model
|
|
393
350
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
394
351
|
*/
|
|
395
|
-
function deserializeIntoCustomTaskExtensionCallbackData(customTaskExtensionCallbackData = {}) {
|
|
396
|
-
return Object.assign(Object.assign({},
|
|
352
|
+
export function deserializeIntoCustomTaskExtensionCallbackData(customTaskExtensionCallbackData = {}) {
|
|
353
|
+
return Object.assign(Object.assign({}, deserializeIntoCustomExtensionData(customTaskExtensionCallbackData)), { "operationStatus": n => { customTaskExtensionCallbackData.operationStatus = n.getEnumValue(CustomTaskExtensionOperationStatusObject); } });
|
|
397
354
|
}
|
|
398
|
-
exports.deserializeIntoCustomTaskExtensionCallbackData = deserializeIntoCustomTaskExtensionCallbackData;
|
|
399
355
|
/**
|
|
400
356
|
* The deserialization information for the current model
|
|
401
357
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
402
358
|
*/
|
|
403
|
-
function deserializeIntoCustomTaskExtensionCalloutData(customTaskExtensionCalloutData = {}) {
|
|
404
|
-
return Object.assign(Object.assign({},
|
|
359
|
+
export function deserializeIntoCustomTaskExtensionCalloutData(customTaskExtensionCalloutData = {}) {
|
|
360
|
+
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); } });
|
|
405
361
|
}
|
|
406
|
-
exports.deserializeIntoCustomTaskExtensionCalloutData = deserializeIntoCustomTaskExtensionCalloutData;
|
|
407
362
|
/**
|
|
408
363
|
* The deserialization information for the current model
|
|
409
364
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
410
365
|
*/
|
|
411
|
-
function deserializeIntoCustomTaskExtensionCollectionResponse(customTaskExtensionCollectionResponse = {}) {
|
|
412
|
-
return Object.assign(Object.assign({},
|
|
366
|
+
export function deserializeIntoCustomTaskExtensionCollectionResponse(customTaskExtensionCollectionResponse = {}) {
|
|
367
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(customTaskExtensionCollectionResponse)), { "value": n => { customTaskExtensionCollectionResponse.value = n.getCollectionOfObjectValues(createCustomTaskExtensionFromDiscriminatorValue); } });
|
|
413
368
|
}
|
|
414
|
-
exports.deserializeIntoCustomTaskExtensionCollectionResponse = deserializeIntoCustomTaskExtensionCollectionResponse;
|
|
415
369
|
/**
|
|
416
370
|
* The deserialization information for the current model
|
|
417
371
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
418
372
|
*/
|
|
419
|
-
function deserializeIntoLifecycleManagementSettings(lifecycleManagementSettings = {}) {
|
|
420
|
-
return Object.assign(Object.assign({},
|
|
373
|
+
export function deserializeIntoLifecycleManagementSettings(lifecycleManagementSettings = {}) {
|
|
374
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(lifecycleManagementSettings)), { "emailSettings": n => { lifecycleManagementSettings.emailSettings = n.getObjectValue(createEmailSettingsFromDiscriminatorValue); }, "workflowScheduleIntervalInHours": n => { lifecycleManagementSettings.workflowScheduleIntervalInHours = n.getNumberValue(); } });
|
|
421
375
|
}
|
|
422
|
-
exports.deserializeIntoLifecycleManagementSettings = deserializeIntoLifecycleManagementSettings;
|
|
423
376
|
/**
|
|
424
377
|
* The deserialization information for the current model
|
|
425
378
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
426
379
|
*/
|
|
427
|
-
function deserializeIntoLifecycleWorkflowsContainer(lifecycleWorkflowsContainer = {}) {
|
|
428
|
-
return Object.assign(Object.assign({},
|
|
380
|
+
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); } });
|
|
429
382
|
}
|
|
430
|
-
exports.deserializeIntoLifecycleWorkflowsContainer = deserializeIntoLifecycleWorkflowsContainer;
|
|
431
383
|
/**
|
|
432
384
|
* The deserialization information for the current model
|
|
433
385
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
434
386
|
*/
|
|
435
|
-
function deserializeIntoOnDemandExecutionOnly(onDemandExecutionOnly = {}) {
|
|
387
|
+
export function deserializeIntoOnDemandExecutionOnly(onDemandExecutionOnly = {}) {
|
|
436
388
|
return Object.assign({}, deserializeIntoWorkflowExecutionConditions(onDemandExecutionOnly));
|
|
437
389
|
}
|
|
438
|
-
exports.deserializeIntoOnDemandExecutionOnly = deserializeIntoOnDemandExecutionOnly;
|
|
439
390
|
/**
|
|
440
391
|
* The deserialization information for the current model
|
|
441
392
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
442
393
|
*/
|
|
443
|
-
function deserializeIntoParameter(parameter = {}) {
|
|
394
|
+
export function deserializeIntoParameter(parameter = {}) {
|
|
444
395
|
return {
|
|
445
396
|
"backingStoreEnabled": n => { parameter.backingStoreEnabled = true; },
|
|
446
397
|
"name": n => { parameter.name = n.getStringValue(); },
|
|
447
398
|
"@odata.type": n => { parameter.odataType = n.getStringValue(); },
|
|
448
399
|
"values": n => { parameter.values = n.getCollectionOfPrimitiveValues(); },
|
|
449
|
-
"valueType": n => { parameter.valueType = n.getEnumValue(
|
|
400
|
+
"valueType": n => { parameter.valueType = n.getEnumValue(ValueTypeObject); },
|
|
450
401
|
};
|
|
451
402
|
}
|
|
452
|
-
exports.deserializeIntoParameter = deserializeIntoParameter;
|
|
453
403
|
/**
|
|
454
404
|
* The deserialization information for the current model
|
|
455
405
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
456
406
|
*/
|
|
457
|
-
function deserializeIntoRuleBasedSubjectSet(ruleBasedSubjectSet = {}) {
|
|
458
|
-
return Object.assign(Object.assign({},
|
|
407
|
+
export function deserializeIntoRuleBasedSubjectSet(ruleBasedSubjectSet = {}) {
|
|
408
|
+
return Object.assign(Object.assign({}, deserializeIntoSubjectSet(ruleBasedSubjectSet)), { "rule": n => { ruleBasedSubjectSet.rule = n.getStringValue(); } });
|
|
459
409
|
}
|
|
460
|
-
exports.deserializeIntoRuleBasedSubjectSet = deserializeIntoRuleBasedSubjectSet;
|
|
461
410
|
/**
|
|
462
411
|
* The deserialization information for the current model
|
|
463
412
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
464
413
|
*/
|
|
465
|
-
function deserializeIntoRun(run = {}) {
|
|
466
|
-
return Object.assign(Object.assign({},
|
|
414
|
+
export function deserializeIntoRun(run = {}) {
|
|
415
|
+
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); } });
|
|
467
416
|
}
|
|
468
|
-
exports.deserializeIntoRun = deserializeIntoRun;
|
|
469
417
|
/**
|
|
470
418
|
* The deserialization information for the current model
|
|
471
419
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
472
420
|
*/
|
|
473
|
-
function deserializeIntoRunCollectionResponse(runCollectionResponse = {}) {
|
|
474
|
-
return Object.assign(Object.assign({},
|
|
421
|
+
export function deserializeIntoRunCollectionResponse(runCollectionResponse = {}) {
|
|
422
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(runCollectionResponse)), { "value": n => { runCollectionResponse.value = n.getCollectionOfObjectValues(createRunFromDiscriminatorValue); } });
|
|
475
423
|
}
|
|
476
|
-
exports.deserializeIntoRunCollectionResponse = deserializeIntoRunCollectionResponse;
|
|
477
424
|
/**
|
|
478
425
|
* The deserialization information for the current model
|
|
479
426
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
480
427
|
*/
|
|
481
|
-
function deserializeIntoRunSummary(runSummary = {}) {
|
|
428
|
+
export function deserializeIntoRunSummary(runSummary = {}) {
|
|
482
429
|
return {
|
|
483
430
|
"backingStoreEnabled": n => { runSummary.backingStoreEnabled = true; },
|
|
484
431
|
"failedRuns": n => { runSummary.failedRuns = n.getNumberValue(); },
|
|
@@ -490,76 +437,67 @@ function deserializeIntoRunSummary(runSummary = {}) {
|
|
|
490
437
|
"totalUsers": n => { runSummary.totalUsers = n.getNumberValue(); },
|
|
491
438
|
};
|
|
492
439
|
}
|
|
493
|
-
exports.deserializeIntoRunSummary = deserializeIntoRunSummary;
|
|
494
440
|
/**
|
|
495
441
|
* The deserialization information for the current model
|
|
496
442
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
497
443
|
*/
|
|
498
|
-
function deserializeIntoTask(task = {}) {
|
|
499
|
-
return Object.assign(Object.assign({},
|
|
444
|
+
export function deserializeIntoTask(task = {}) {
|
|
445
|
+
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); } });
|
|
500
446
|
}
|
|
501
|
-
exports.deserializeIntoTask = deserializeIntoTask;
|
|
502
447
|
/**
|
|
503
448
|
* The deserialization information for the current model
|
|
504
449
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
505
450
|
*/
|
|
506
|
-
function deserializeIntoTaskCollectionResponse(taskCollectionResponse = {}) {
|
|
507
|
-
return Object.assign(Object.assign({},
|
|
451
|
+
export function deserializeIntoTaskCollectionResponse(taskCollectionResponse = {}) {
|
|
452
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskCollectionResponse)), { "value": n => { taskCollectionResponse.value = n.getCollectionOfObjectValues(createTaskFromDiscriminatorValue); } });
|
|
508
453
|
}
|
|
509
|
-
exports.deserializeIntoTaskCollectionResponse = deserializeIntoTaskCollectionResponse;
|
|
510
454
|
/**
|
|
511
455
|
* The deserialization information for the current model
|
|
512
456
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
513
457
|
*/
|
|
514
|
-
function deserializeIntoTaskDefinition(taskDefinition = {}) {
|
|
515
|
-
return Object.assign(Object.assign({},
|
|
458
|
+
export function deserializeIntoTaskDefinition(taskDefinition = {}) {
|
|
459
|
+
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(); } });
|
|
516
460
|
}
|
|
517
|
-
exports.deserializeIntoTaskDefinition = deserializeIntoTaskDefinition;
|
|
518
461
|
/**
|
|
519
462
|
* The deserialization information for the current model
|
|
520
463
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
521
464
|
*/
|
|
522
|
-
function deserializeIntoTaskDefinitionCollectionResponse(taskDefinitionCollectionResponse = {}) {
|
|
523
|
-
return Object.assign(Object.assign({},
|
|
465
|
+
export function deserializeIntoTaskDefinitionCollectionResponse(taskDefinitionCollectionResponse = {}) {
|
|
466
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskDefinitionCollectionResponse)), { "value": n => { taskDefinitionCollectionResponse.value = n.getCollectionOfObjectValues(createTaskDefinitionFromDiscriminatorValue); } });
|
|
524
467
|
}
|
|
525
|
-
exports.deserializeIntoTaskDefinitionCollectionResponse = deserializeIntoTaskDefinitionCollectionResponse;
|
|
526
468
|
/**
|
|
527
469
|
* The deserialization information for the current model
|
|
528
470
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
529
471
|
*/
|
|
530
|
-
function deserializeIntoTaskProcessingResult(taskProcessingResult = {}) {
|
|
531
|
-
return Object.assign(Object.assign({},
|
|
472
|
+
export function deserializeIntoTaskProcessingResult(taskProcessingResult = {}) {
|
|
473
|
+
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); } });
|
|
532
474
|
}
|
|
533
|
-
exports.deserializeIntoTaskProcessingResult = deserializeIntoTaskProcessingResult;
|
|
534
475
|
/**
|
|
535
476
|
* The deserialization information for the current model
|
|
536
477
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
537
478
|
*/
|
|
538
|
-
function deserializeIntoTaskProcessingResultCollectionResponse(taskProcessingResultCollectionResponse = {}) {
|
|
539
|
-
return Object.assign(Object.assign({},
|
|
479
|
+
export function deserializeIntoTaskProcessingResultCollectionResponse(taskProcessingResultCollectionResponse = {}) {
|
|
480
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskProcessingResultCollectionResponse)), { "value": n => { taskProcessingResultCollectionResponse.value = n.getCollectionOfObjectValues(createTaskProcessingResultFromDiscriminatorValue); } });
|
|
540
481
|
}
|
|
541
|
-
exports.deserializeIntoTaskProcessingResultCollectionResponse = deserializeIntoTaskProcessingResultCollectionResponse;
|
|
542
482
|
/**
|
|
543
483
|
* The deserialization information for the current model
|
|
544
484
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
545
485
|
*/
|
|
546
|
-
function deserializeIntoTaskReport(taskReport = {}) {
|
|
547
|
-
return Object.assign(Object.assign({},
|
|
486
|
+
export function deserializeIntoTaskReport(taskReport = {}) {
|
|
487
|
+
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(); } });
|
|
548
488
|
}
|
|
549
|
-
exports.deserializeIntoTaskReport = deserializeIntoTaskReport;
|
|
550
489
|
/**
|
|
551
490
|
* The deserialization information for the current model
|
|
552
491
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
553
492
|
*/
|
|
554
|
-
function deserializeIntoTaskReportCollectionResponse(taskReportCollectionResponse = {}) {
|
|
555
|
-
return Object.assign(Object.assign({},
|
|
493
|
+
export function deserializeIntoTaskReportCollectionResponse(taskReportCollectionResponse = {}) {
|
|
494
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(taskReportCollectionResponse)), { "value": n => { taskReportCollectionResponse.value = n.getCollectionOfObjectValues(createTaskReportFromDiscriminatorValue); } });
|
|
556
495
|
}
|
|
557
|
-
exports.deserializeIntoTaskReportCollectionResponse = deserializeIntoTaskReportCollectionResponse;
|
|
558
496
|
/**
|
|
559
497
|
* The deserialization information for the current model
|
|
560
498
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
561
499
|
*/
|
|
562
|
-
function deserializeIntoTaskReportSummary(taskReportSummary = {}) {
|
|
500
|
+
export function deserializeIntoTaskReportSummary(taskReportSummary = {}) {
|
|
563
501
|
return {
|
|
564
502
|
"backingStoreEnabled": n => { taskReportSummary.backingStoreEnabled = true; },
|
|
565
503
|
"failedTasks": n => { taskReportSummary.failedTasks = n.getNumberValue(); },
|
|
@@ -569,44 +507,39 @@ function deserializeIntoTaskReportSummary(taskReportSummary = {}) {
|
|
|
569
507
|
"unprocessedTasks": n => { taskReportSummary.unprocessedTasks = n.getNumberValue(); },
|
|
570
508
|
};
|
|
571
509
|
}
|
|
572
|
-
exports.deserializeIntoTaskReportSummary = deserializeIntoTaskReportSummary;
|
|
573
510
|
/**
|
|
574
511
|
* The deserialization information for the current model
|
|
575
512
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
576
513
|
*/
|
|
577
|
-
function deserializeIntoTimeBasedAttributeTrigger(timeBasedAttributeTrigger = {}) {
|
|
578
|
-
return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionTrigger(timeBasedAttributeTrigger)), { "offsetInDays": n => { timeBasedAttributeTrigger.offsetInDays = n.getNumberValue(); }, "timeBasedAttribute": n => { timeBasedAttributeTrigger.timeBasedAttribute = n.getEnumValue(
|
|
514
|
+
export function deserializeIntoTimeBasedAttributeTrigger(timeBasedAttributeTrigger = {}) {
|
|
515
|
+
return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionTrigger(timeBasedAttributeTrigger)), { "offsetInDays": n => { timeBasedAttributeTrigger.offsetInDays = n.getNumberValue(); }, "timeBasedAttribute": n => { timeBasedAttributeTrigger.timeBasedAttribute = n.getEnumValue(WorkflowTriggerTimeBasedAttributeObject); } });
|
|
579
516
|
}
|
|
580
|
-
exports.deserializeIntoTimeBasedAttributeTrigger = deserializeIntoTimeBasedAttributeTrigger;
|
|
581
517
|
/**
|
|
582
518
|
* The deserialization information for the current model
|
|
583
519
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
584
520
|
*/
|
|
585
|
-
function deserializeIntoTriggerAndScopeBasedConditions(triggerAndScopeBasedConditions = {}) {
|
|
586
|
-
return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionConditions(triggerAndScopeBasedConditions)), { "scope": n => { triggerAndScopeBasedConditions.scope = n.getObjectValue(
|
|
521
|
+
export function deserializeIntoTriggerAndScopeBasedConditions(triggerAndScopeBasedConditions = {}) {
|
|
522
|
+
return Object.assign(Object.assign({}, deserializeIntoWorkflowExecutionConditions(triggerAndScopeBasedConditions)), { "scope": n => { triggerAndScopeBasedConditions.scope = n.getObjectValue(createSubjectSetFromDiscriminatorValue); }, "trigger": n => { triggerAndScopeBasedConditions.trigger = n.getObjectValue(createWorkflowExecutionTriggerFromDiscriminatorValue); } });
|
|
587
523
|
}
|
|
588
|
-
exports.deserializeIntoTriggerAndScopeBasedConditions = deserializeIntoTriggerAndScopeBasedConditions;
|
|
589
524
|
/**
|
|
590
525
|
* The deserialization information for the current model
|
|
591
526
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
592
527
|
*/
|
|
593
|
-
function deserializeIntoUserProcessingResult(userProcessingResult = {}) {
|
|
594
|
-
return Object.assign(Object.assign({},
|
|
528
|
+
export function deserializeIntoUserProcessingResult(userProcessingResult = {}) {
|
|
529
|
+
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(); } });
|
|
595
530
|
}
|
|
596
|
-
exports.deserializeIntoUserProcessingResult = deserializeIntoUserProcessingResult;
|
|
597
531
|
/**
|
|
598
532
|
* The deserialization information for the current model
|
|
599
533
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
600
534
|
*/
|
|
601
|
-
function deserializeIntoUserProcessingResultCollectionResponse(userProcessingResultCollectionResponse = {}) {
|
|
602
|
-
return Object.assign(Object.assign({},
|
|
535
|
+
export function deserializeIntoUserProcessingResultCollectionResponse(userProcessingResultCollectionResponse = {}) {
|
|
536
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(userProcessingResultCollectionResponse)), { "value": n => { userProcessingResultCollectionResponse.value = n.getCollectionOfObjectValues(createUserProcessingResultFromDiscriminatorValue); } });
|
|
603
537
|
}
|
|
604
|
-
exports.deserializeIntoUserProcessingResultCollectionResponse = deserializeIntoUserProcessingResultCollectionResponse;
|
|
605
538
|
/**
|
|
606
539
|
* The deserialization information for the current model
|
|
607
540
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
608
541
|
*/
|
|
609
|
-
function deserializeIntoUserSummary(userSummary = {}) {
|
|
542
|
+
export function deserializeIntoUserSummary(userSummary = {}) {
|
|
610
543
|
return {
|
|
611
544
|
"backingStoreEnabled": n => { userSummary.backingStoreEnabled = true; },
|
|
612
545
|
"failedTasks": n => { userSummary.failedTasks = n.getNumberValue(); },
|
|
@@ -617,210 +550,190 @@ function deserializeIntoUserSummary(userSummary = {}) {
|
|
|
617
550
|
"totalUsers": n => { userSummary.totalUsers = n.getNumberValue(); },
|
|
618
551
|
};
|
|
619
552
|
}
|
|
620
|
-
exports.deserializeIntoUserSummary = deserializeIntoUserSummary;
|
|
621
553
|
/**
|
|
622
554
|
* The deserialization information for the current model
|
|
623
555
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
624
556
|
*/
|
|
625
|
-
function deserializeIntoWorkflow(workflow = {}) {
|
|
557
|
+
export function deserializeIntoWorkflow(workflow = {}) {
|
|
626
558
|
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); } });
|
|
627
559
|
}
|
|
628
|
-
exports.deserializeIntoWorkflow = deserializeIntoWorkflow;
|
|
629
560
|
/**
|
|
630
561
|
* The deserialization information for the current model
|
|
631
562
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
632
563
|
*/
|
|
633
|
-
function deserializeIntoWorkflowBase(workflowBase = {}) {
|
|
564
|
+
export function deserializeIntoWorkflowBase(workflowBase = {}) {
|
|
634
565
|
return {
|
|
635
566
|
"backingStoreEnabled": n => { workflowBase.backingStoreEnabled = true; },
|
|
636
|
-
"category": n => { workflowBase.category = n.getEnumValue(
|
|
637
|
-
"createdBy": n => { workflowBase.createdBy = n.getObjectValue(
|
|
567
|
+
"category": n => { workflowBase.category = n.getEnumValue(LifecycleWorkflowCategoryObject); },
|
|
568
|
+
"createdBy": n => { workflowBase.createdBy = n.getObjectValue(createUserFromDiscriminatorValue); },
|
|
638
569
|
"createdDateTime": n => { workflowBase.createdDateTime = n.getDateValue(); },
|
|
639
570
|
"description": n => { workflowBase.description = n.getStringValue(); },
|
|
640
571
|
"displayName": n => { workflowBase.displayName = n.getStringValue(); },
|
|
641
572
|
"executionConditions": n => { workflowBase.executionConditions = n.getObjectValue(createWorkflowExecutionConditionsFromDiscriminatorValue); },
|
|
642
573
|
"isEnabled": n => { workflowBase.isEnabled = n.getBooleanValue(); },
|
|
643
574
|
"isSchedulingEnabled": n => { workflowBase.isSchedulingEnabled = n.getBooleanValue(); },
|
|
644
|
-
"lastModifiedBy": n => { workflowBase.lastModifiedBy = n.getObjectValue(
|
|
575
|
+
"lastModifiedBy": n => { workflowBase.lastModifiedBy = n.getObjectValue(createUserFromDiscriminatorValue); },
|
|
645
576
|
"lastModifiedDateTime": n => { workflowBase.lastModifiedDateTime = n.getDateValue(); },
|
|
646
577
|
"@odata.type": n => { workflowBase.odataType = n.getStringValue(); },
|
|
647
578
|
"tasks": n => { workflowBase.tasks = n.getCollectionOfObjectValues(createTaskFromDiscriminatorValue); },
|
|
648
579
|
};
|
|
649
580
|
}
|
|
650
|
-
exports.deserializeIntoWorkflowBase = deserializeIntoWorkflowBase;
|
|
651
581
|
/**
|
|
652
582
|
* The deserialization information for the current model
|
|
653
583
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
654
584
|
*/
|
|
655
|
-
function deserializeIntoWorkflowCollectionResponse(workflowCollectionResponse = {}) {
|
|
656
|
-
return Object.assign(Object.assign({},
|
|
585
|
+
export function deserializeIntoWorkflowCollectionResponse(workflowCollectionResponse = {}) {
|
|
586
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(workflowCollectionResponse)), { "value": n => { workflowCollectionResponse.value = n.getCollectionOfObjectValues(createWorkflowFromDiscriminatorValue); } });
|
|
657
587
|
}
|
|
658
|
-
exports.deserializeIntoWorkflowCollectionResponse = deserializeIntoWorkflowCollectionResponse;
|
|
659
588
|
/**
|
|
660
589
|
* The deserialization information for the current model
|
|
661
590
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
662
591
|
*/
|
|
663
|
-
function deserializeIntoWorkflowExecutionConditions(workflowExecutionConditions = {}) {
|
|
592
|
+
export function deserializeIntoWorkflowExecutionConditions(workflowExecutionConditions = {}) {
|
|
664
593
|
return {
|
|
665
594
|
"backingStoreEnabled": n => { workflowExecutionConditions.backingStoreEnabled = true; },
|
|
666
595
|
"@odata.type": n => { workflowExecutionConditions.odataType = n.getStringValue(); },
|
|
667
596
|
};
|
|
668
597
|
}
|
|
669
|
-
exports.deserializeIntoWorkflowExecutionConditions = deserializeIntoWorkflowExecutionConditions;
|
|
670
598
|
/**
|
|
671
599
|
* The deserialization information for the current model
|
|
672
600
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
673
601
|
*/
|
|
674
|
-
function deserializeIntoWorkflowExecutionTrigger(workflowExecutionTrigger = {}) {
|
|
602
|
+
export function deserializeIntoWorkflowExecutionTrigger(workflowExecutionTrigger = {}) {
|
|
675
603
|
return {
|
|
676
604
|
"backingStoreEnabled": n => { workflowExecutionTrigger.backingStoreEnabled = true; },
|
|
677
605
|
"@odata.type": n => { workflowExecutionTrigger.odataType = n.getStringValue(); },
|
|
678
606
|
};
|
|
679
607
|
}
|
|
680
|
-
exports.deserializeIntoWorkflowExecutionTrigger = deserializeIntoWorkflowExecutionTrigger;
|
|
681
608
|
/**
|
|
682
609
|
* The deserialization information for the current model
|
|
683
610
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
684
611
|
*/
|
|
685
|
-
function deserializeIntoWorkflowTemplate(workflowTemplate = {}) {
|
|
686
|
-
return Object.assign(Object.assign({},
|
|
612
|
+
export function deserializeIntoWorkflowTemplate(workflowTemplate = {}) {
|
|
613
|
+
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); } });
|
|
687
614
|
}
|
|
688
|
-
exports.deserializeIntoWorkflowTemplate = deserializeIntoWorkflowTemplate;
|
|
689
615
|
/**
|
|
690
616
|
* The deserialization information for the current model
|
|
691
617
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
692
618
|
*/
|
|
693
|
-
function deserializeIntoWorkflowTemplateCollectionResponse(workflowTemplateCollectionResponse = {}) {
|
|
694
|
-
return Object.assign(Object.assign({},
|
|
619
|
+
export function deserializeIntoWorkflowTemplateCollectionResponse(workflowTemplateCollectionResponse = {}) {
|
|
620
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(workflowTemplateCollectionResponse)), { "value": n => { workflowTemplateCollectionResponse.value = n.getCollectionOfObjectValues(createWorkflowTemplateFromDiscriminatorValue); } });
|
|
695
621
|
}
|
|
696
|
-
exports.deserializeIntoWorkflowTemplateCollectionResponse = deserializeIntoWorkflowTemplateCollectionResponse;
|
|
697
622
|
/**
|
|
698
623
|
* The deserialization information for the current model
|
|
699
624
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
700
625
|
*/
|
|
701
|
-
function deserializeIntoWorkflowVersion(workflowVersion = {}) {
|
|
626
|
+
export function deserializeIntoWorkflowVersion(workflowVersion = {}) {
|
|
702
627
|
return Object.assign(Object.assign({}, deserializeIntoWorkflowBase(workflowVersion)), { "versionNumber": n => { workflowVersion.versionNumber = n.getNumberValue(); } });
|
|
703
628
|
}
|
|
704
|
-
exports.deserializeIntoWorkflowVersion = deserializeIntoWorkflowVersion;
|
|
705
629
|
/**
|
|
706
630
|
* The deserialization information for the current model
|
|
707
631
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
708
632
|
*/
|
|
709
|
-
function deserializeIntoWorkflowVersionCollectionResponse(workflowVersionCollectionResponse = {}) {
|
|
710
|
-
return Object.assign(Object.assign({},
|
|
633
|
+
export function deserializeIntoWorkflowVersionCollectionResponse(workflowVersionCollectionResponse = {}) {
|
|
634
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(workflowVersionCollectionResponse)), { "value": n => { workflowVersionCollectionResponse.value = n.getCollectionOfObjectValues(createWorkflowVersionFromDiscriminatorValue); } });
|
|
711
635
|
}
|
|
712
|
-
exports.deserializeIntoWorkflowVersionCollectionResponse = deserializeIntoWorkflowVersionCollectionResponse;
|
|
713
636
|
/**
|
|
714
637
|
* Serializes information the current object
|
|
715
638
|
* @param writer Serialization writer to use to serialize this model
|
|
716
639
|
*/
|
|
717
|
-
function serializeCustomTaskExtension(writer, customTaskExtension = {}) {
|
|
718
|
-
|
|
719
|
-
writer.writeObjectValue("callbackConfiguration", customTaskExtension.callbackConfiguration,
|
|
720
|
-
writer.writeObjectValue("createdBy", customTaskExtension.createdBy,
|
|
640
|
+
export function serializeCustomTaskExtension(writer, customTaskExtension = {}) {
|
|
641
|
+
serializeCustomCalloutExtension(writer, customTaskExtension);
|
|
642
|
+
writer.writeObjectValue("callbackConfiguration", customTaskExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration);
|
|
643
|
+
writer.writeObjectValue("createdBy", customTaskExtension.createdBy, serializeUser);
|
|
721
644
|
writer.writeDateValue("createdDateTime", customTaskExtension.createdDateTime);
|
|
722
|
-
writer.writeObjectValue("lastModifiedBy", customTaskExtension.lastModifiedBy,
|
|
645
|
+
writer.writeObjectValue("lastModifiedBy", customTaskExtension.lastModifiedBy, serializeUser);
|
|
723
646
|
writer.writeDateValue("lastModifiedDateTime", customTaskExtension.lastModifiedDateTime);
|
|
724
647
|
}
|
|
725
|
-
exports.serializeCustomTaskExtension = serializeCustomTaskExtension;
|
|
726
648
|
/**
|
|
727
649
|
* Serializes information the current object
|
|
728
650
|
* @param writer Serialization writer to use to serialize this model
|
|
729
651
|
*/
|
|
730
|
-
function serializeCustomTaskExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration = {}) {
|
|
731
|
-
|
|
732
|
-
writer.writeCollectionOfObjectValues("authorizedApps", customTaskExtensionCallbackConfiguration.authorizedApps,
|
|
652
|
+
export function serializeCustomTaskExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration = {}) {
|
|
653
|
+
serializeCustomExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration);
|
|
654
|
+
writer.writeCollectionOfObjectValues("authorizedApps", customTaskExtensionCallbackConfiguration.authorizedApps, serializeApplication);
|
|
733
655
|
}
|
|
734
|
-
exports.serializeCustomTaskExtensionCallbackConfiguration = serializeCustomTaskExtensionCallbackConfiguration;
|
|
735
656
|
/**
|
|
736
657
|
* Serializes information the current object
|
|
737
658
|
* @param writer Serialization writer to use to serialize this model
|
|
738
659
|
*/
|
|
739
|
-
function serializeCustomTaskExtensionCallbackData(writer, customTaskExtensionCallbackData = {}) {
|
|
740
|
-
|
|
660
|
+
export function serializeCustomTaskExtensionCallbackData(writer, customTaskExtensionCallbackData = {}) {
|
|
661
|
+
serializeCustomExtensionData(writer, customTaskExtensionCallbackData);
|
|
741
662
|
writer.writeEnumValue("operationStatus", customTaskExtensionCallbackData.operationStatus);
|
|
742
663
|
}
|
|
743
|
-
exports.serializeCustomTaskExtensionCallbackData = serializeCustomTaskExtensionCallbackData;
|
|
744
664
|
/**
|
|
745
665
|
* Serializes information the current object
|
|
746
666
|
* @param writer Serialization writer to use to serialize this model
|
|
747
667
|
*/
|
|
748
|
-
function serializeCustomTaskExtensionCalloutData(writer, customTaskExtensionCalloutData = {}) {
|
|
749
|
-
|
|
750
|
-
writer.writeObjectValue("subject", customTaskExtensionCalloutData.subject,
|
|
668
|
+
export function serializeCustomTaskExtensionCalloutData(writer, customTaskExtensionCalloutData = {}) {
|
|
669
|
+
serializeCustomExtensionData(writer, customTaskExtensionCalloutData);
|
|
670
|
+
writer.writeObjectValue("subject", customTaskExtensionCalloutData.subject, serializeUser);
|
|
751
671
|
writer.writeObjectValue("task", customTaskExtensionCalloutData.task, serializeTask);
|
|
752
672
|
writer.writeObjectValue("taskProcessingresult", customTaskExtensionCalloutData.taskProcessingresult, serializeTaskProcessingResult);
|
|
753
673
|
writer.writeObjectValue("workflow", customTaskExtensionCalloutData.workflow, serializeWorkflow);
|
|
754
674
|
}
|
|
755
|
-
exports.serializeCustomTaskExtensionCalloutData = serializeCustomTaskExtensionCalloutData;
|
|
756
675
|
/**
|
|
757
676
|
* Serializes information the current object
|
|
758
677
|
* @param writer Serialization writer to use to serialize this model
|
|
759
678
|
*/
|
|
760
|
-
function serializeCustomTaskExtensionCollectionResponse(writer, customTaskExtensionCollectionResponse = {}) {
|
|
761
|
-
|
|
679
|
+
export function serializeCustomTaskExtensionCollectionResponse(writer, customTaskExtensionCollectionResponse = {}) {
|
|
680
|
+
serializeBaseCollectionPaginationCountResponse(writer, customTaskExtensionCollectionResponse);
|
|
762
681
|
writer.writeCollectionOfObjectValues("value", customTaskExtensionCollectionResponse.value, serializeCustomTaskExtension);
|
|
763
682
|
}
|
|
764
|
-
exports.serializeCustomTaskExtensionCollectionResponse = serializeCustomTaskExtensionCollectionResponse;
|
|
765
683
|
/**
|
|
766
684
|
* Serializes information the current object
|
|
767
685
|
* @param writer Serialization writer to use to serialize this model
|
|
768
686
|
*/
|
|
769
|
-
function serializeLifecycleManagementSettings(writer, lifecycleManagementSettings = {}) {
|
|
770
|
-
|
|
771
|
-
writer.writeObjectValue("emailSettings", lifecycleManagementSettings.emailSettings,
|
|
687
|
+
export function serializeLifecycleManagementSettings(writer, lifecycleManagementSettings = {}) {
|
|
688
|
+
serializeEntity(writer, lifecycleManagementSettings);
|
|
689
|
+
writer.writeObjectValue("emailSettings", lifecycleManagementSettings.emailSettings, serializeEmailSettings);
|
|
772
690
|
writer.writeNumberValue("workflowScheduleIntervalInHours", lifecycleManagementSettings.workflowScheduleIntervalInHours);
|
|
773
691
|
}
|
|
774
|
-
exports.serializeLifecycleManagementSettings = serializeLifecycleManagementSettings;
|
|
775
692
|
/**
|
|
776
693
|
* Serializes information the current object
|
|
777
694
|
* @param writer Serialization writer to use to serialize this model
|
|
778
695
|
*/
|
|
779
|
-
function serializeLifecycleWorkflowsContainer(writer, lifecycleWorkflowsContainer = {}) {
|
|
780
|
-
|
|
696
|
+
export function serializeLifecycleWorkflowsContainer(writer, lifecycleWorkflowsContainer = {}) {
|
|
697
|
+
serializeEntity(writer, lifecycleWorkflowsContainer);
|
|
781
698
|
writer.writeCollectionOfObjectValues("customTaskExtensions", lifecycleWorkflowsContainer.customTaskExtensions, serializeCustomTaskExtension);
|
|
782
|
-
writer.writeObjectValue("deletedItems", lifecycleWorkflowsContainer.deletedItems,
|
|
699
|
+
writer.writeObjectValue("deletedItems", lifecycleWorkflowsContainer.deletedItems, serializeDeletedItemContainer);
|
|
783
700
|
writer.writeObjectValue("settings", lifecycleWorkflowsContainer.settings, serializeLifecycleManagementSettings);
|
|
784
701
|
writer.writeCollectionOfObjectValues("taskDefinitions", lifecycleWorkflowsContainer.taskDefinitions, serializeTaskDefinition);
|
|
785
702
|
writer.writeCollectionOfObjectValues("workflows", lifecycleWorkflowsContainer.workflows, serializeWorkflow);
|
|
786
703
|
writer.writeCollectionOfObjectValues("workflowTemplates", lifecycleWorkflowsContainer.workflowTemplates, serializeWorkflowTemplate);
|
|
787
704
|
}
|
|
788
|
-
exports.serializeLifecycleWorkflowsContainer = serializeLifecycleWorkflowsContainer;
|
|
789
705
|
/**
|
|
790
706
|
* Serializes information the current object
|
|
791
707
|
* @param writer Serialization writer to use to serialize this model
|
|
792
708
|
*/
|
|
793
|
-
function serializeOnDemandExecutionOnly(writer, onDemandExecutionOnly = {}) {
|
|
709
|
+
export function serializeOnDemandExecutionOnly(writer, onDemandExecutionOnly = {}) {
|
|
794
710
|
serializeWorkflowExecutionConditions(writer, onDemandExecutionOnly);
|
|
795
711
|
}
|
|
796
|
-
exports.serializeOnDemandExecutionOnly = serializeOnDemandExecutionOnly;
|
|
797
712
|
/**
|
|
798
713
|
* Serializes information the current object
|
|
799
714
|
* @param writer Serialization writer to use to serialize this model
|
|
800
715
|
*/
|
|
801
|
-
function serializeParameter(writer, parameter = {}) {
|
|
716
|
+
export function serializeParameter(writer, parameter = {}) {
|
|
802
717
|
writer.writeStringValue("name", parameter.name);
|
|
803
718
|
writer.writeStringValue("@odata.type", parameter.odataType);
|
|
804
719
|
writer.writeCollectionOfPrimitiveValues("values", parameter.values);
|
|
805
720
|
writer.writeEnumValue("valueType", parameter.valueType);
|
|
806
721
|
writer.writeAdditionalData(parameter.additionalData);
|
|
807
722
|
}
|
|
808
|
-
exports.serializeParameter = serializeParameter;
|
|
809
723
|
/**
|
|
810
724
|
* Serializes information the current object
|
|
811
725
|
* @param writer Serialization writer to use to serialize this model
|
|
812
726
|
*/
|
|
813
|
-
function serializeRuleBasedSubjectSet(writer, ruleBasedSubjectSet = {}) {
|
|
814
|
-
|
|
727
|
+
export function serializeRuleBasedSubjectSet(writer, ruleBasedSubjectSet = {}) {
|
|
728
|
+
serializeSubjectSet(writer, ruleBasedSubjectSet);
|
|
815
729
|
writer.writeStringValue("rule", ruleBasedSubjectSet.rule);
|
|
816
730
|
}
|
|
817
|
-
exports.serializeRuleBasedSubjectSet = serializeRuleBasedSubjectSet;
|
|
818
731
|
/**
|
|
819
732
|
* Serializes information the current object
|
|
820
733
|
* @param writer Serialization writer to use to serialize this model
|
|
821
734
|
*/
|
|
822
|
-
function serializeRun(writer, run = {}) {
|
|
823
|
-
|
|
735
|
+
export function serializeRun(writer, run = {}) {
|
|
736
|
+
serializeEntity(writer, run);
|
|
824
737
|
writer.writeDateValue("completedDateTime", run.completedDateTime);
|
|
825
738
|
writer.writeNumberValue("failedTasksCount", run.failedTasksCount);
|
|
826
739
|
writer.writeNumberValue("failedUsersCount", run.failedUsersCount);
|
|
@@ -836,21 +749,19 @@ function serializeRun(writer, run = {}) {
|
|
|
836
749
|
writer.writeCollectionOfObjectValues("userProcessingResults", run.userProcessingResults, serializeUserProcessingResult);
|
|
837
750
|
writer.writeEnumValue("workflowExecutionType", run.workflowExecutionType);
|
|
838
751
|
}
|
|
839
|
-
exports.serializeRun = serializeRun;
|
|
840
752
|
/**
|
|
841
753
|
* Serializes information the current object
|
|
842
754
|
* @param writer Serialization writer to use to serialize this model
|
|
843
755
|
*/
|
|
844
|
-
function serializeRunCollectionResponse(writer, runCollectionResponse = {}) {
|
|
845
|
-
|
|
756
|
+
export function serializeRunCollectionResponse(writer, runCollectionResponse = {}) {
|
|
757
|
+
serializeBaseCollectionPaginationCountResponse(writer, runCollectionResponse);
|
|
846
758
|
writer.writeCollectionOfObjectValues("value", runCollectionResponse.value, serializeRun);
|
|
847
759
|
}
|
|
848
|
-
exports.serializeRunCollectionResponse = serializeRunCollectionResponse;
|
|
849
760
|
/**
|
|
850
761
|
* Serializes information the current object
|
|
851
762
|
* @param writer Serialization writer to use to serialize this model
|
|
852
763
|
*/
|
|
853
|
-
function serializeRunSummary(writer, runSummary = {}) {
|
|
764
|
+
export function serializeRunSummary(writer, runSummary = {}) {
|
|
854
765
|
writer.writeNumberValue("failedRuns", runSummary.failedRuns);
|
|
855
766
|
writer.writeNumberValue("failedTasks", runSummary.failedTasks);
|
|
856
767
|
writer.writeStringValue("@odata.type", runSummary.odataType);
|
|
@@ -860,14 +771,13 @@ function serializeRunSummary(writer, runSummary = {}) {
|
|
|
860
771
|
writer.writeNumberValue("totalUsers", runSummary.totalUsers);
|
|
861
772
|
writer.writeAdditionalData(runSummary.additionalData);
|
|
862
773
|
}
|
|
863
|
-
exports.serializeRunSummary = serializeRunSummary;
|
|
864
774
|
/**
|
|
865
775
|
* Serializes information the current object
|
|
866
776
|
* @param writer Serialization writer to use to serialize this model
|
|
867
777
|
*/
|
|
868
|
-
function serializeTask(writer, task = {}) {
|
|
869
|
-
|
|
870
|
-
writer.writeCollectionOfObjectValues("arguments", task.arguments,
|
|
778
|
+
export function serializeTask(writer, task = {}) {
|
|
779
|
+
serializeEntity(writer, task);
|
|
780
|
+
writer.writeCollectionOfObjectValues("arguments", task.arguments, serializeKeyValuePair);
|
|
871
781
|
writer.writeEnumValue("category", task.category);
|
|
872
782
|
writer.writeBooleanValue("continueOnError", task.continueOnError);
|
|
873
783
|
writer.writeStringValue("description", task.description);
|
|
@@ -877,22 +787,20 @@ function serializeTask(writer, task = {}) {
|
|
|
877
787
|
writer.writeStringValue("taskDefinitionId", task.taskDefinitionId);
|
|
878
788
|
writer.writeCollectionOfObjectValues("taskProcessingResults", task.taskProcessingResults, serializeTaskProcessingResult);
|
|
879
789
|
}
|
|
880
|
-
exports.serializeTask = serializeTask;
|
|
881
790
|
/**
|
|
882
791
|
* Serializes information the current object
|
|
883
792
|
* @param writer Serialization writer to use to serialize this model
|
|
884
793
|
*/
|
|
885
|
-
function serializeTaskCollectionResponse(writer, taskCollectionResponse = {}) {
|
|
886
|
-
|
|
794
|
+
export function serializeTaskCollectionResponse(writer, taskCollectionResponse = {}) {
|
|
795
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskCollectionResponse);
|
|
887
796
|
writer.writeCollectionOfObjectValues("value", taskCollectionResponse.value, serializeTask);
|
|
888
797
|
}
|
|
889
|
-
exports.serializeTaskCollectionResponse = serializeTaskCollectionResponse;
|
|
890
798
|
/**
|
|
891
799
|
* Serializes information the current object
|
|
892
800
|
* @param writer Serialization writer to use to serialize this model
|
|
893
801
|
*/
|
|
894
|
-
function serializeTaskDefinition(writer, taskDefinition = {}) {
|
|
895
|
-
|
|
802
|
+
export function serializeTaskDefinition(writer, taskDefinition = {}) {
|
|
803
|
+
serializeEntity(writer, taskDefinition);
|
|
896
804
|
writer.writeEnumValue("category", taskDefinition.category);
|
|
897
805
|
writer.writeBooleanValue("continueOnError", taskDefinition.continueOnError);
|
|
898
806
|
writer.writeStringValue("description", taskDefinition.description);
|
|
@@ -900,46 +808,42 @@ function serializeTaskDefinition(writer, taskDefinition = {}) {
|
|
|
900
808
|
writer.writeCollectionOfObjectValues("parameters", taskDefinition.parameters, serializeParameter);
|
|
901
809
|
writer.writeNumberValue("version", taskDefinition.version);
|
|
902
810
|
}
|
|
903
|
-
exports.serializeTaskDefinition = serializeTaskDefinition;
|
|
904
811
|
/**
|
|
905
812
|
* Serializes information the current object
|
|
906
813
|
* @param writer Serialization writer to use to serialize this model
|
|
907
814
|
*/
|
|
908
|
-
function serializeTaskDefinitionCollectionResponse(writer, taskDefinitionCollectionResponse = {}) {
|
|
909
|
-
|
|
815
|
+
export function serializeTaskDefinitionCollectionResponse(writer, taskDefinitionCollectionResponse = {}) {
|
|
816
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskDefinitionCollectionResponse);
|
|
910
817
|
writer.writeCollectionOfObjectValues("value", taskDefinitionCollectionResponse.value, serializeTaskDefinition);
|
|
911
818
|
}
|
|
912
|
-
exports.serializeTaskDefinitionCollectionResponse = serializeTaskDefinitionCollectionResponse;
|
|
913
819
|
/**
|
|
914
820
|
* Serializes information the current object
|
|
915
821
|
* @param writer Serialization writer to use to serialize this model
|
|
916
822
|
*/
|
|
917
|
-
function serializeTaskProcessingResult(writer, taskProcessingResult = {}) {
|
|
918
|
-
|
|
823
|
+
export function serializeTaskProcessingResult(writer, taskProcessingResult = {}) {
|
|
824
|
+
serializeEntity(writer, taskProcessingResult);
|
|
919
825
|
writer.writeDateValue("completedDateTime", taskProcessingResult.completedDateTime);
|
|
920
826
|
writer.writeDateValue("createdDateTime", taskProcessingResult.createdDateTime);
|
|
921
827
|
writer.writeStringValue("failureReason", taskProcessingResult.failureReason);
|
|
922
828
|
writer.writeEnumValue("processingStatus", taskProcessingResult.processingStatus);
|
|
923
829
|
writer.writeDateValue("startedDateTime", taskProcessingResult.startedDateTime);
|
|
924
|
-
writer.writeObjectValue("subject", taskProcessingResult.subject,
|
|
830
|
+
writer.writeObjectValue("subject", taskProcessingResult.subject, serializeUser);
|
|
925
831
|
writer.writeObjectValue("task", taskProcessingResult.task, serializeTask);
|
|
926
832
|
}
|
|
927
|
-
exports.serializeTaskProcessingResult = serializeTaskProcessingResult;
|
|
928
833
|
/**
|
|
929
834
|
* Serializes information the current object
|
|
930
835
|
* @param writer Serialization writer to use to serialize this model
|
|
931
836
|
*/
|
|
932
|
-
function serializeTaskProcessingResultCollectionResponse(writer, taskProcessingResultCollectionResponse = {}) {
|
|
933
|
-
|
|
837
|
+
export function serializeTaskProcessingResultCollectionResponse(writer, taskProcessingResultCollectionResponse = {}) {
|
|
838
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskProcessingResultCollectionResponse);
|
|
934
839
|
writer.writeCollectionOfObjectValues("value", taskProcessingResultCollectionResponse.value, serializeTaskProcessingResult);
|
|
935
840
|
}
|
|
936
|
-
exports.serializeTaskProcessingResultCollectionResponse = serializeTaskProcessingResultCollectionResponse;
|
|
937
841
|
/**
|
|
938
842
|
* Serializes information the current object
|
|
939
843
|
* @param writer Serialization writer to use to serialize this model
|
|
940
844
|
*/
|
|
941
|
-
function serializeTaskReport(writer, taskReport = {}) {
|
|
942
|
-
|
|
845
|
+
export function serializeTaskReport(writer, taskReport = {}) {
|
|
846
|
+
serializeEntity(writer, taskReport);
|
|
943
847
|
writer.writeDateValue("completedDateTime", taskReport.completedDateTime);
|
|
944
848
|
writer.writeNumberValue("failedUsersCount", taskReport.failedUsersCount);
|
|
945
849
|
writer.writeDateValue("lastUpdatedDateTime", taskReport.lastUpdatedDateTime);
|
|
@@ -953,21 +857,19 @@ function serializeTaskReport(writer, taskReport = {}) {
|
|
|
953
857
|
writer.writeNumberValue("totalUsersCount", taskReport.totalUsersCount);
|
|
954
858
|
writer.writeNumberValue("unprocessedUsersCount", taskReport.unprocessedUsersCount);
|
|
955
859
|
}
|
|
956
|
-
exports.serializeTaskReport = serializeTaskReport;
|
|
957
860
|
/**
|
|
958
861
|
* Serializes information the current object
|
|
959
862
|
* @param writer Serialization writer to use to serialize this model
|
|
960
863
|
*/
|
|
961
|
-
function serializeTaskReportCollectionResponse(writer, taskReportCollectionResponse = {}) {
|
|
962
|
-
|
|
864
|
+
export function serializeTaskReportCollectionResponse(writer, taskReportCollectionResponse = {}) {
|
|
865
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskReportCollectionResponse);
|
|
963
866
|
writer.writeCollectionOfObjectValues("value", taskReportCollectionResponse.value, serializeTaskReport);
|
|
964
867
|
}
|
|
965
|
-
exports.serializeTaskReportCollectionResponse = serializeTaskReportCollectionResponse;
|
|
966
868
|
/**
|
|
967
869
|
* Serializes information the current object
|
|
968
870
|
* @param writer Serialization writer to use to serialize this model
|
|
969
871
|
*/
|
|
970
|
-
function serializeTaskReportSummary(writer, taskReportSummary = {}) {
|
|
872
|
+
export function serializeTaskReportSummary(writer, taskReportSummary = {}) {
|
|
971
873
|
writer.writeNumberValue("failedTasks", taskReportSummary.failedTasks);
|
|
972
874
|
writer.writeStringValue("@odata.type", taskReportSummary.odataType);
|
|
973
875
|
writer.writeNumberValue("successfulTasks", taskReportSummary.successfulTasks);
|
|
@@ -975,60 +877,55 @@ function serializeTaskReportSummary(writer, taskReportSummary = {}) {
|
|
|
975
877
|
writer.writeNumberValue("unprocessedTasks", taskReportSummary.unprocessedTasks);
|
|
976
878
|
writer.writeAdditionalData(taskReportSummary.additionalData);
|
|
977
879
|
}
|
|
978
|
-
exports.serializeTaskReportSummary = serializeTaskReportSummary;
|
|
979
880
|
/**
|
|
980
881
|
* Serializes information the current object
|
|
981
882
|
* @param writer Serialization writer to use to serialize this model
|
|
982
883
|
*/
|
|
983
|
-
function serializeTimeBasedAttributeTrigger(writer, timeBasedAttributeTrigger = {}) {
|
|
884
|
+
export function serializeTimeBasedAttributeTrigger(writer, timeBasedAttributeTrigger = {}) {
|
|
984
885
|
serializeWorkflowExecutionTrigger(writer, timeBasedAttributeTrigger);
|
|
985
886
|
writer.writeNumberValue("offsetInDays", timeBasedAttributeTrigger.offsetInDays);
|
|
986
887
|
writer.writeEnumValue("timeBasedAttribute", timeBasedAttributeTrigger.timeBasedAttribute);
|
|
987
888
|
}
|
|
988
|
-
exports.serializeTimeBasedAttributeTrigger = serializeTimeBasedAttributeTrigger;
|
|
989
889
|
/**
|
|
990
890
|
* Serializes information the current object
|
|
991
891
|
* @param writer Serialization writer to use to serialize this model
|
|
992
892
|
*/
|
|
993
|
-
function serializeTriggerAndScopeBasedConditions(writer, triggerAndScopeBasedConditions = {}) {
|
|
893
|
+
export function serializeTriggerAndScopeBasedConditions(writer, triggerAndScopeBasedConditions = {}) {
|
|
994
894
|
serializeWorkflowExecutionConditions(writer, triggerAndScopeBasedConditions);
|
|
995
|
-
writer.writeObjectValue("scope", triggerAndScopeBasedConditions.scope,
|
|
895
|
+
writer.writeObjectValue("scope", triggerAndScopeBasedConditions.scope, serializeSubjectSet);
|
|
996
896
|
writer.writeObjectValue("trigger", triggerAndScopeBasedConditions.trigger, serializeWorkflowExecutionTrigger);
|
|
997
897
|
}
|
|
998
|
-
exports.serializeTriggerAndScopeBasedConditions = serializeTriggerAndScopeBasedConditions;
|
|
999
898
|
/**
|
|
1000
899
|
* Serializes information the current object
|
|
1001
900
|
* @param writer Serialization writer to use to serialize this model
|
|
1002
901
|
*/
|
|
1003
|
-
function serializeUserProcessingResult(writer, userProcessingResult = {}) {
|
|
1004
|
-
|
|
902
|
+
export function serializeUserProcessingResult(writer, userProcessingResult = {}) {
|
|
903
|
+
serializeEntity(writer, userProcessingResult);
|
|
1005
904
|
writer.writeDateValue("completedDateTime", userProcessingResult.completedDateTime);
|
|
1006
905
|
writer.writeNumberValue("failedTasksCount", userProcessingResult.failedTasksCount);
|
|
1007
906
|
writer.writeEnumValue("processingStatus", userProcessingResult.processingStatus);
|
|
1008
907
|
writer.writeDateValue("scheduledDateTime", userProcessingResult.scheduledDateTime);
|
|
1009
908
|
writer.writeDateValue("startedDateTime", userProcessingResult.startedDateTime);
|
|
1010
|
-
writer.writeObjectValue("subject", userProcessingResult.subject,
|
|
909
|
+
writer.writeObjectValue("subject", userProcessingResult.subject, serializeUser);
|
|
1011
910
|
writer.writeCollectionOfObjectValues("taskProcessingResults", userProcessingResult.taskProcessingResults, serializeTaskProcessingResult);
|
|
1012
911
|
writer.writeNumberValue("totalTasksCount", userProcessingResult.totalTasksCount);
|
|
1013
912
|
writer.writeNumberValue("totalUnprocessedTasksCount", userProcessingResult.totalUnprocessedTasksCount);
|
|
1014
913
|
writer.writeEnumValue("workflowExecutionType", userProcessingResult.workflowExecutionType);
|
|
1015
914
|
writer.writeNumberValue("workflowVersion", userProcessingResult.workflowVersion);
|
|
1016
915
|
}
|
|
1017
|
-
exports.serializeUserProcessingResult = serializeUserProcessingResult;
|
|
1018
916
|
/**
|
|
1019
917
|
* Serializes information the current object
|
|
1020
918
|
* @param writer Serialization writer to use to serialize this model
|
|
1021
919
|
*/
|
|
1022
|
-
function serializeUserProcessingResultCollectionResponse(writer, userProcessingResultCollectionResponse = {}) {
|
|
1023
|
-
|
|
920
|
+
export function serializeUserProcessingResultCollectionResponse(writer, userProcessingResultCollectionResponse = {}) {
|
|
921
|
+
serializeBaseCollectionPaginationCountResponse(writer, userProcessingResultCollectionResponse);
|
|
1024
922
|
writer.writeCollectionOfObjectValues("value", userProcessingResultCollectionResponse.value, serializeUserProcessingResult);
|
|
1025
923
|
}
|
|
1026
|
-
exports.serializeUserProcessingResultCollectionResponse = serializeUserProcessingResultCollectionResponse;
|
|
1027
924
|
/**
|
|
1028
925
|
* Serializes information the current object
|
|
1029
926
|
* @param writer Serialization writer to use to serialize this model
|
|
1030
927
|
*/
|
|
1031
|
-
function serializeUserSummary(writer, userSummary = {}) {
|
|
928
|
+
export function serializeUserSummary(writer, userSummary = {}) {
|
|
1032
929
|
writer.writeNumberValue("failedTasks", userSummary.failedTasks);
|
|
1033
930
|
writer.writeNumberValue("failedUsers", userSummary.failedUsers);
|
|
1034
931
|
writer.writeStringValue("@odata.type", userSummary.odataType);
|
|
@@ -1037,12 +934,11 @@ function serializeUserSummary(writer, userSummary = {}) {
|
|
|
1037
934
|
writer.writeNumberValue("totalUsers", userSummary.totalUsers);
|
|
1038
935
|
writer.writeAdditionalData(userSummary.additionalData);
|
|
1039
936
|
}
|
|
1040
|
-
exports.serializeUserSummary = serializeUserSummary;
|
|
1041
937
|
/**
|
|
1042
938
|
* Serializes information the current object
|
|
1043
939
|
* @param writer Serialization writer to use to serialize this model
|
|
1044
940
|
*/
|
|
1045
|
-
function serializeWorkflow(writer, workflow = {}) {
|
|
941
|
+
export function serializeWorkflow(writer, workflow = {}) {
|
|
1046
942
|
serializeWorkflowBase(writer, workflow);
|
|
1047
943
|
writer.writeDateValue("deletedDateTime", workflow.deletedDateTime);
|
|
1048
944
|
writer.writeCollectionOfObjectValues("executionScope", workflow.executionScope, serializeUserProcessingResult);
|
|
@@ -1054,112 +950,103 @@ function serializeWorkflow(writer, workflow = {}) {
|
|
|
1054
950
|
writer.writeNumberValue("version", workflow.version);
|
|
1055
951
|
writer.writeCollectionOfObjectValues("versions", workflow.versions, serializeWorkflowVersion);
|
|
1056
952
|
}
|
|
1057
|
-
exports.serializeWorkflow = serializeWorkflow;
|
|
1058
953
|
/**
|
|
1059
954
|
* Serializes information the current object
|
|
1060
955
|
* @param writer Serialization writer to use to serialize this model
|
|
1061
956
|
*/
|
|
1062
|
-
function serializeWorkflowBase(writer, workflowBase = {}) {
|
|
957
|
+
export function serializeWorkflowBase(writer, workflowBase = {}) {
|
|
1063
958
|
writer.writeEnumValue("category", workflowBase.category);
|
|
1064
|
-
writer.writeObjectValue("createdBy", workflowBase.createdBy,
|
|
959
|
+
writer.writeObjectValue("createdBy", workflowBase.createdBy, serializeUser);
|
|
1065
960
|
writer.writeDateValue("createdDateTime", workflowBase.createdDateTime);
|
|
1066
961
|
writer.writeStringValue("description", workflowBase.description);
|
|
1067
962
|
writer.writeStringValue("displayName", workflowBase.displayName);
|
|
1068
963
|
writer.writeObjectValue("executionConditions", workflowBase.executionConditions, serializeWorkflowExecutionConditions);
|
|
1069
964
|
writer.writeBooleanValue("isEnabled", workflowBase.isEnabled);
|
|
1070
965
|
writer.writeBooleanValue("isSchedulingEnabled", workflowBase.isSchedulingEnabled);
|
|
1071
|
-
writer.writeObjectValue("lastModifiedBy", workflowBase.lastModifiedBy,
|
|
966
|
+
writer.writeObjectValue("lastModifiedBy", workflowBase.lastModifiedBy, serializeUser);
|
|
1072
967
|
writer.writeDateValue("lastModifiedDateTime", workflowBase.lastModifiedDateTime);
|
|
1073
968
|
writer.writeStringValue("@odata.type", workflowBase.odataType);
|
|
1074
969
|
writer.writeCollectionOfObjectValues("tasks", workflowBase.tasks, serializeTask);
|
|
1075
970
|
writer.writeAdditionalData(workflowBase.additionalData);
|
|
1076
971
|
}
|
|
1077
|
-
exports.serializeWorkflowBase = serializeWorkflowBase;
|
|
1078
972
|
/**
|
|
1079
973
|
* Serializes information the current object
|
|
1080
974
|
* @param writer Serialization writer to use to serialize this model
|
|
1081
975
|
*/
|
|
1082
|
-
function serializeWorkflowCollectionResponse(writer, workflowCollectionResponse = {}) {
|
|
1083
|
-
|
|
976
|
+
export function serializeWorkflowCollectionResponse(writer, workflowCollectionResponse = {}) {
|
|
977
|
+
serializeBaseCollectionPaginationCountResponse(writer, workflowCollectionResponse);
|
|
1084
978
|
writer.writeCollectionOfObjectValues("value", workflowCollectionResponse.value, serializeWorkflow);
|
|
1085
979
|
}
|
|
1086
|
-
exports.serializeWorkflowCollectionResponse = serializeWorkflowCollectionResponse;
|
|
1087
980
|
/**
|
|
1088
981
|
* Serializes information the current object
|
|
1089
982
|
* @param writer Serialization writer to use to serialize this model
|
|
1090
983
|
*/
|
|
1091
|
-
function serializeWorkflowExecutionConditions(writer, workflowExecutionConditions = {}) {
|
|
984
|
+
export function serializeWorkflowExecutionConditions(writer, workflowExecutionConditions = {}) {
|
|
1092
985
|
writer.writeStringValue("@odata.type", workflowExecutionConditions.odataType);
|
|
1093
986
|
writer.writeAdditionalData(workflowExecutionConditions.additionalData);
|
|
1094
987
|
}
|
|
1095
|
-
exports.serializeWorkflowExecutionConditions = serializeWorkflowExecutionConditions;
|
|
1096
988
|
/**
|
|
1097
989
|
* Serializes information the current object
|
|
1098
990
|
* @param writer Serialization writer to use to serialize this model
|
|
1099
991
|
*/
|
|
1100
|
-
function serializeWorkflowExecutionTrigger(writer, workflowExecutionTrigger = {}) {
|
|
992
|
+
export function serializeWorkflowExecutionTrigger(writer, workflowExecutionTrigger = {}) {
|
|
1101
993
|
writer.writeStringValue("@odata.type", workflowExecutionTrigger.odataType);
|
|
1102
994
|
writer.writeAdditionalData(workflowExecutionTrigger.additionalData);
|
|
1103
995
|
}
|
|
1104
|
-
exports.serializeWorkflowExecutionTrigger = serializeWorkflowExecutionTrigger;
|
|
1105
996
|
/**
|
|
1106
997
|
* Serializes information the current object
|
|
1107
998
|
* @param writer Serialization writer to use to serialize this model
|
|
1108
999
|
*/
|
|
1109
|
-
function serializeWorkflowTemplate(writer, workflowTemplate = {}) {
|
|
1110
|
-
|
|
1000
|
+
export function serializeWorkflowTemplate(writer, workflowTemplate = {}) {
|
|
1001
|
+
serializeEntity(writer, workflowTemplate);
|
|
1111
1002
|
writer.writeEnumValue("category", workflowTemplate.category);
|
|
1112
1003
|
writer.writeStringValue("description", workflowTemplate.description);
|
|
1113
1004
|
writer.writeStringValue("displayName", workflowTemplate.displayName);
|
|
1114
1005
|
writer.writeObjectValue("executionConditions", workflowTemplate.executionConditions, serializeWorkflowExecutionConditions);
|
|
1115
1006
|
writer.writeCollectionOfObjectValues("tasks", workflowTemplate.tasks, serializeTask);
|
|
1116
1007
|
}
|
|
1117
|
-
exports.serializeWorkflowTemplate = serializeWorkflowTemplate;
|
|
1118
1008
|
/**
|
|
1119
1009
|
* Serializes information the current object
|
|
1120
1010
|
* @param writer Serialization writer to use to serialize this model
|
|
1121
1011
|
*/
|
|
1122
|
-
function serializeWorkflowTemplateCollectionResponse(writer, workflowTemplateCollectionResponse = {}) {
|
|
1123
|
-
|
|
1012
|
+
export function serializeWorkflowTemplateCollectionResponse(writer, workflowTemplateCollectionResponse = {}) {
|
|
1013
|
+
serializeBaseCollectionPaginationCountResponse(writer, workflowTemplateCollectionResponse);
|
|
1124
1014
|
writer.writeCollectionOfObjectValues("value", workflowTemplateCollectionResponse.value, serializeWorkflowTemplate);
|
|
1125
1015
|
}
|
|
1126
|
-
exports.serializeWorkflowTemplateCollectionResponse = serializeWorkflowTemplateCollectionResponse;
|
|
1127
1016
|
/**
|
|
1128
1017
|
* Serializes information the current object
|
|
1129
1018
|
* @param writer Serialization writer to use to serialize this model
|
|
1130
1019
|
*/
|
|
1131
|
-
function serializeWorkflowVersion(writer, workflowVersion = {}) {
|
|
1020
|
+
export function serializeWorkflowVersion(writer, workflowVersion = {}) {
|
|
1132
1021
|
serializeWorkflowBase(writer, workflowVersion);
|
|
1133
1022
|
writer.writeNumberValue("versionNumber", workflowVersion.versionNumber);
|
|
1134
1023
|
}
|
|
1135
|
-
exports.serializeWorkflowVersion = serializeWorkflowVersion;
|
|
1136
1024
|
/**
|
|
1137
1025
|
* Serializes information the current object
|
|
1138
1026
|
* @param writer Serialization writer to use to serialize this model
|
|
1139
1027
|
*/
|
|
1140
|
-
function serializeWorkflowVersionCollectionResponse(writer, workflowVersionCollectionResponse = {}) {
|
|
1141
|
-
|
|
1028
|
+
export function serializeWorkflowVersionCollectionResponse(writer, workflowVersionCollectionResponse = {}) {
|
|
1029
|
+
serializeBaseCollectionPaginationCountResponse(writer, workflowVersionCollectionResponse);
|
|
1142
1030
|
writer.writeCollectionOfObjectValues("value", workflowVersionCollectionResponse.value, serializeWorkflowVersion);
|
|
1143
1031
|
}
|
|
1144
|
-
|
|
1145
|
-
exports.CustomTaskExtensionOperationStatusObject = {
|
|
1032
|
+
export const CustomTaskExtensionOperationStatusObject = {
|
|
1146
1033
|
Completed: "completed",
|
|
1147
1034
|
Failed: "failed",
|
|
1148
1035
|
UnknownFutureValue: "unknownFutureValue",
|
|
1149
1036
|
};
|
|
1150
|
-
|
|
1037
|
+
export const LifecycleTaskCategoryObject = {
|
|
1151
1038
|
Joiner: "joiner",
|
|
1152
1039
|
Leaver: "leaver",
|
|
1153
1040
|
UnknownFutureValue: "unknownFutureValue",
|
|
1154
1041
|
Mover: "mover",
|
|
1155
1042
|
};
|
|
1156
|
-
|
|
1043
|
+
export const LifecycleWorkflowCategoryObject = {
|
|
1157
1044
|
Joiner: "joiner",
|
|
1158
1045
|
Leaver: "leaver",
|
|
1159
1046
|
UnknownFutureValue: "unknownFutureValue",
|
|
1160
1047
|
Mover: "mover",
|
|
1161
1048
|
};
|
|
1162
|
-
|
|
1049
|
+
export const LifecycleWorkflowProcessingStatusObject = {
|
|
1163
1050
|
Queued: "queued",
|
|
1164
1051
|
InProgress: "inProgress",
|
|
1165
1052
|
Completed: "completed",
|
|
@@ -1168,19 +1055,19 @@ exports.LifecycleWorkflowProcessingStatusObject = {
|
|
|
1168
1055
|
Failed: "failed",
|
|
1169
1056
|
UnknownFutureValue: "unknownFutureValue",
|
|
1170
1057
|
};
|
|
1171
|
-
|
|
1058
|
+
export const ValueTypeObject = {
|
|
1172
1059
|
EnumEscaped: "enum",
|
|
1173
1060
|
String: "string",
|
|
1174
1061
|
Int: "int",
|
|
1175
1062
|
Bool: "bool",
|
|
1176
1063
|
UnknownFutureValue: "unknownFutureValue",
|
|
1177
1064
|
};
|
|
1178
|
-
|
|
1065
|
+
export const WorkflowExecutionTypeObject = {
|
|
1179
1066
|
Scheduled: "scheduled",
|
|
1180
1067
|
OnDemand: "onDemand",
|
|
1181
1068
|
UnknownFutureValue: "unknownFutureValue",
|
|
1182
1069
|
};
|
|
1183
|
-
|
|
1070
|
+
export const WorkflowTriggerTimeBasedAttributeObject = {
|
|
1184
1071
|
EmployeeHireDate: "employeeHireDate",
|
|
1185
1072
|
EmployeeLeaveDateTime: "employeeLeaveDateTime",
|
|
1186
1073
|
UnknownFutureValue: "unknownFutureValue",
|
|
@@ -1188,3 +1075,4 @@ exports.WorkflowTriggerTimeBasedAttributeObject = {
|
|
|
1188
1075
|
};
|
|
1189
1076
|
/* tslint:enable */
|
|
1190
1077
|
/* eslint-enable */
|
|
1078
|
+
//# sourceMappingURL=index.js.map
|