@microsoft/msgraph-sdk 1.0.0-preview.25 → 1.0.0-preview.27
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/models/callRecords/index.d.ts +233 -233
- package/models/callRecords/index.d.ts.map +1 -1
- package/models/callRecords/index.js +358 -223
- package/models/callRecords/index.js.map +1 -1
- package/models/externalConnectors/index.d.ts +114 -114
- package/models/externalConnectors/index.d.ts.map +1 -1
- package/models/externalConnectors/index.js +237 -102
- package/models/externalConnectors/index.js.map +1 -1
- package/models/identityGovernance/index.d.ts +582 -190
- package/models/identityGovernance/index.d.ts.map +1 -1
- package/models/identityGovernance/index.js +712 -182
- package/models/identityGovernance/index.js.map +1 -1
- package/models/index.d.ts +15650 -12803
- package/models/index.d.ts.map +1 -1
- package/models/index.js +25928 -11904
- package/models/index.js.map +1 -1
- package/models/oDataErrors/index.d.ts +21 -21
- package/models/oDataErrors/index.d.ts.map +1 -1
- package/models/oDataErrors/index.js +37 -17
- package/models/oDataErrors/index.js.map +1 -1
- package/models/partners/billing/index.d.ts +42 -42
- package/models/partners/billing/index.d.ts.map +1 -1
- package/models/partners/billing/index.js +111 -41
- package/models/partners/billing/index.js.map +1 -1
- package/models/search/index.d.ts +62 -62
- package/models/search/index.d.ts.map +1 -1
- package/models/search/index.js +115 -60
- package/models/search/index.js.map +1 -1
- package/models/security/index.d.ts +1145 -1065
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +2104 -1030
- package/models/security/index.js.map +1 -1
- package/models/termStore/index.d.ts +61 -61
- package/models/termStore/index.d.ts.map +1 -1
- package/models/termStore/index.js +123 -58
- package/models/termStore/index.js.map +1 -1
- package/package.json +3 -5
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -10,6 +10,7 @@ import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstra
|
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
11
|
* @returns {Acl}
|
|
12
12
|
*/
|
|
13
|
+
// @ts-ignore
|
|
13
14
|
export function createAclFromDiscriminatorValue(parseNode) {
|
|
14
15
|
return deserializeIntoAcl;
|
|
15
16
|
}
|
|
@@ -18,6 +19,7 @@ export function createAclFromDiscriminatorValue(parseNode) {
|
|
|
18
19
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19
20
|
* @returns {ActivitySettings}
|
|
20
21
|
*/
|
|
22
|
+
// @ts-ignore
|
|
21
23
|
export function createActivitySettingsFromDiscriminatorValue(parseNode) {
|
|
22
24
|
return deserializeIntoActivitySettings;
|
|
23
25
|
}
|
|
@@ -26,6 +28,7 @@ export function createActivitySettingsFromDiscriminatorValue(parseNode) {
|
|
|
26
28
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
27
29
|
* @returns {Configuration}
|
|
28
30
|
*/
|
|
31
|
+
// @ts-ignore
|
|
29
32
|
export function createConfigurationFromDiscriminatorValue(parseNode) {
|
|
30
33
|
return deserializeIntoConfiguration;
|
|
31
34
|
}
|
|
@@ -34,6 +37,7 @@ export function createConfigurationFromDiscriminatorValue(parseNode) {
|
|
|
34
37
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
35
38
|
* @returns {ConnectionOperationCollectionResponse}
|
|
36
39
|
*/
|
|
40
|
+
// @ts-ignore
|
|
37
41
|
export function createConnectionOperationCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
38
42
|
return deserializeIntoConnectionOperationCollectionResponse;
|
|
39
43
|
}
|
|
@@ -42,6 +46,7 @@ export function createConnectionOperationCollectionResponseFromDiscriminatorValu
|
|
|
42
46
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
43
47
|
* @returns {ConnectionOperation}
|
|
44
48
|
*/
|
|
49
|
+
// @ts-ignore
|
|
45
50
|
export function createConnectionOperationFromDiscriminatorValue(parseNode) {
|
|
46
51
|
return deserializeIntoConnectionOperation;
|
|
47
52
|
}
|
|
@@ -50,6 +55,7 @@ export function createConnectionOperationFromDiscriminatorValue(parseNode) {
|
|
|
50
55
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
51
56
|
* @returns {DisplayTemplate}
|
|
52
57
|
*/
|
|
58
|
+
// @ts-ignore
|
|
53
59
|
export function createDisplayTemplateFromDiscriminatorValue(parseNode) {
|
|
54
60
|
return deserializeIntoDisplayTemplate;
|
|
55
61
|
}
|
|
@@ -58,6 +64,7 @@ export function createDisplayTemplateFromDiscriminatorValue(parseNode) {
|
|
|
58
64
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
59
65
|
* @returns {ExternalActivityCollectionResponse}
|
|
60
66
|
*/
|
|
67
|
+
// @ts-ignore
|
|
61
68
|
export function createExternalActivityCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
62
69
|
return deserializeIntoExternalActivityCollectionResponse;
|
|
63
70
|
}
|
|
@@ -66,6 +73,7 @@ export function createExternalActivityCollectionResponseFromDiscriminatorValue(p
|
|
|
66
73
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
67
74
|
* @returns {ExternalActivity}
|
|
68
75
|
*/
|
|
76
|
+
// @ts-ignore
|
|
69
77
|
export function createExternalActivityFromDiscriminatorValue(parseNode) {
|
|
70
78
|
if (!parseNode)
|
|
71
79
|
throw new Error("parseNode cannot be undefined");
|
|
@@ -86,6 +94,7 @@ export function createExternalActivityFromDiscriminatorValue(parseNode) {
|
|
|
86
94
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
87
95
|
* @returns {ExternalActivityResult}
|
|
88
96
|
*/
|
|
97
|
+
// @ts-ignore
|
|
89
98
|
export function createExternalActivityResultFromDiscriminatorValue(parseNode) {
|
|
90
99
|
return deserializeIntoExternalActivityResult;
|
|
91
100
|
}
|
|
@@ -94,6 +103,7 @@ export function createExternalActivityResultFromDiscriminatorValue(parseNode) {
|
|
|
94
103
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
95
104
|
* @returns {ExternalConnectionCollectionResponse}
|
|
96
105
|
*/
|
|
106
|
+
// @ts-ignore
|
|
97
107
|
export function createExternalConnectionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
98
108
|
return deserializeIntoExternalConnectionCollectionResponse;
|
|
99
109
|
}
|
|
@@ -102,6 +112,7 @@ export function createExternalConnectionCollectionResponseFromDiscriminatorValue
|
|
|
102
112
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
103
113
|
* @returns {ExternalConnection}
|
|
104
114
|
*/
|
|
115
|
+
// @ts-ignore
|
|
105
116
|
export function createExternalConnectionFromDiscriminatorValue(parseNode) {
|
|
106
117
|
return deserializeIntoExternalConnection;
|
|
107
118
|
}
|
|
@@ -110,6 +121,7 @@ export function createExternalConnectionFromDiscriminatorValue(parseNode) {
|
|
|
110
121
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
111
122
|
* @returns {External}
|
|
112
123
|
*/
|
|
124
|
+
// @ts-ignore
|
|
113
125
|
export function createExternalFromDiscriminatorValue(parseNode) {
|
|
114
126
|
return deserializeIntoExternal;
|
|
115
127
|
}
|
|
@@ -118,6 +130,7 @@ export function createExternalFromDiscriminatorValue(parseNode) {
|
|
|
118
130
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
119
131
|
* @returns {ExternalGroupCollectionResponse}
|
|
120
132
|
*/
|
|
133
|
+
// @ts-ignore
|
|
121
134
|
export function createExternalGroupCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
122
135
|
return deserializeIntoExternalGroupCollectionResponse;
|
|
123
136
|
}
|
|
@@ -126,6 +139,7 @@ export function createExternalGroupCollectionResponseFromDiscriminatorValue(pars
|
|
|
126
139
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
127
140
|
* @returns {ExternalGroup}
|
|
128
141
|
*/
|
|
142
|
+
// @ts-ignore
|
|
129
143
|
export function createExternalGroupFromDiscriminatorValue(parseNode) {
|
|
130
144
|
return deserializeIntoExternalGroup;
|
|
131
145
|
}
|
|
@@ -134,6 +148,7 @@ export function createExternalGroupFromDiscriminatorValue(parseNode) {
|
|
|
134
148
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
135
149
|
* @returns {ExternalItemCollectionResponse}
|
|
136
150
|
*/
|
|
151
|
+
// @ts-ignore
|
|
137
152
|
export function createExternalItemCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
138
153
|
return deserializeIntoExternalItemCollectionResponse;
|
|
139
154
|
}
|
|
@@ -142,6 +157,7 @@ export function createExternalItemCollectionResponseFromDiscriminatorValue(parse
|
|
|
142
157
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
143
158
|
* @returns {ExternalItemContent}
|
|
144
159
|
*/
|
|
160
|
+
// @ts-ignore
|
|
145
161
|
export function createExternalItemContentFromDiscriminatorValue(parseNode) {
|
|
146
162
|
return deserializeIntoExternalItemContent;
|
|
147
163
|
}
|
|
@@ -150,6 +166,7 @@ export function createExternalItemContentFromDiscriminatorValue(parseNode) {
|
|
|
150
166
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
151
167
|
* @returns {ExternalItem}
|
|
152
168
|
*/
|
|
169
|
+
// @ts-ignore
|
|
153
170
|
export function createExternalItemFromDiscriminatorValue(parseNode) {
|
|
154
171
|
return deserializeIntoExternalItem;
|
|
155
172
|
}
|
|
@@ -158,6 +175,7 @@ export function createExternalItemFromDiscriminatorValue(parseNode) {
|
|
|
158
175
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
159
176
|
* @returns {IdentityCollectionResponse}
|
|
160
177
|
*/
|
|
178
|
+
// @ts-ignore
|
|
161
179
|
export function createIdentityCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
162
180
|
return deserializeIntoIdentityCollectionResponse;
|
|
163
181
|
}
|
|
@@ -166,6 +184,7 @@ export function createIdentityCollectionResponseFromDiscriminatorValue(parseNode
|
|
|
166
184
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
167
185
|
* @returns {Identity}
|
|
168
186
|
*/
|
|
187
|
+
// @ts-ignore
|
|
169
188
|
export function createIdentityFromDiscriminatorValue(parseNode) {
|
|
170
189
|
return deserializeIntoIdentity;
|
|
171
190
|
}
|
|
@@ -174,6 +193,7 @@ export function createIdentityFromDiscriminatorValue(parseNode) {
|
|
|
174
193
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
175
194
|
* @returns {ItemIdResolver}
|
|
176
195
|
*/
|
|
196
|
+
// @ts-ignore
|
|
177
197
|
export function createItemIdResolverFromDiscriminatorValue(parseNode) {
|
|
178
198
|
return deserializeIntoItemIdResolver;
|
|
179
199
|
}
|
|
@@ -182,6 +202,7 @@ export function createItemIdResolverFromDiscriminatorValue(parseNode) {
|
|
|
182
202
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
183
203
|
* @returns {Properties}
|
|
184
204
|
*/
|
|
205
|
+
// @ts-ignore
|
|
185
206
|
export function createPropertiesFromDiscriminatorValue(parseNode) {
|
|
186
207
|
return deserializeIntoProperties;
|
|
187
208
|
}
|
|
@@ -190,6 +211,7 @@ export function createPropertiesFromDiscriminatorValue(parseNode) {
|
|
|
190
211
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
191
212
|
* @returns {Property}
|
|
192
213
|
*/
|
|
214
|
+
// @ts-ignore
|
|
193
215
|
export function createPropertyFromDiscriminatorValue(parseNode) {
|
|
194
216
|
return deserializeIntoProperty;
|
|
195
217
|
}
|
|
@@ -198,6 +220,7 @@ export function createPropertyFromDiscriminatorValue(parseNode) {
|
|
|
198
220
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
199
221
|
* @returns {PropertyRule}
|
|
200
222
|
*/
|
|
223
|
+
// @ts-ignore
|
|
201
224
|
export function createPropertyRuleFromDiscriminatorValue(parseNode) {
|
|
202
225
|
return deserializeIntoPropertyRule;
|
|
203
226
|
}
|
|
@@ -206,6 +229,7 @@ export function createPropertyRuleFromDiscriminatorValue(parseNode) {
|
|
|
206
229
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
207
230
|
* @returns {Schema}
|
|
208
231
|
*/
|
|
232
|
+
// @ts-ignore
|
|
209
233
|
export function createSchemaFromDiscriminatorValue(parseNode) {
|
|
210
234
|
return deserializeIntoSchema;
|
|
211
235
|
}
|
|
@@ -214,6 +238,7 @@ export function createSchemaFromDiscriminatorValue(parseNode) {
|
|
|
214
238
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
215
239
|
* @returns {SearchSettings}
|
|
216
240
|
*/
|
|
241
|
+
// @ts-ignore
|
|
217
242
|
export function createSearchSettingsFromDiscriminatorValue(parseNode) {
|
|
218
243
|
return deserializeIntoSearchSettings;
|
|
219
244
|
}
|
|
@@ -222,6 +247,7 @@ export function createSearchSettingsFromDiscriminatorValue(parseNode) {
|
|
|
222
247
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
223
248
|
* @returns {UrlMatchInfo}
|
|
224
249
|
*/
|
|
250
|
+
// @ts-ignore
|
|
225
251
|
export function createUrlMatchInfoFromDiscriminatorValue(parseNode) {
|
|
226
252
|
return deserializeIntoUrlMatchInfo;
|
|
227
253
|
}
|
|
@@ -230,6 +256,7 @@ export function createUrlMatchInfoFromDiscriminatorValue(parseNode) {
|
|
|
230
256
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
231
257
|
* @returns {UrlToItemResolverBase}
|
|
232
258
|
*/
|
|
259
|
+
// @ts-ignore
|
|
233
260
|
export function createUrlToItemResolverBaseFromDiscriminatorValue(parseNode) {
|
|
234
261
|
if (!parseNode)
|
|
235
262
|
throw new Error("parseNode cannot be undefined");
|
|
@@ -249,6 +276,7 @@ export function createUrlToItemResolverBaseFromDiscriminatorValue(parseNode) {
|
|
|
249
276
|
* The deserialization information for the current model
|
|
250
277
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
251
278
|
*/
|
|
279
|
+
// @ts-ignore
|
|
252
280
|
export function deserializeIntoAcl(acl = {}) {
|
|
253
281
|
return {
|
|
254
282
|
"accessType": n => { acl.accessType = n.getEnumValue(AccessTypeObject); },
|
|
@@ -262,6 +290,7 @@ export function deserializeIntoAcl(acl = {}) {
|
|
|
262
290
|
* The deserialization information for the current model
|
|
263
291
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
264
292
|
*/
|
|
293
|
+
// @ts-ignore
|
|
265
294
|
export function deserializeIntoActivitySettings(activitySettings = {}) {
|
|
266
295
|
return {
|
|
267
296
|
"backingStoreEnabled": n => { activitySettings.backingStoreEnabled = true; },
|
|
@@ -273,6 +302,7 @@ export function deserializeIntoActivitySettings(activitySettings = {}) {
|
|
|
273
302
|
* The deserialization information for the current model
|
|
274
303
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
275
304
|
*/
|
|
305
|
+
// @ts-ignore
|
|
276
306
|
export function deserializeIntoConfiguration(configuration = {}) {
|
|
277
307
|
return {
|
|
278
308
|
"authorizedAppIds": n => { configuration.authorizedAppIds = n.getCollectionOfPrimitiveValues(); },
|
|
@@ -284,6 +314,7 @@ export function deserializeIntoConfiguration(configuration = {}) {
|
|
|
284
314
|
* The deserialization information for the current model
|
|
285
315
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
286
316
|
*/
|
|
317
|
+
// @ts-ignore
|
|
287
318
|
export function deserializeIntoConnectionOperation(connectionOperation = {}) {
|
|
288
319
|
return Object.assign(Object.assign({}, deserializeIntoEntity(connectionOperation)), { "error": n => { connectionOperation.errorEscaped = n.getObjectValue(createPublicErrorFromDiscriminatorValue); }, "status": n => { connectionOperation.status = n.getEnumValue(ConnectionOperationStatusObject); } });
|
|
289
320
|
}
|
|
@@ -291,6 +322,7 @@ export function deserializeIntoConnectionOperation(connectionOperation = {}) {
|
|
|
291
322
|
* The deserialization information for the current model
|
|
292
323
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
293
324
|
*/
|
|
325
|
+
// @ts-ignore
|
|
294
326
|
export function deserializeIntoConnectionOperationCollectionResponse(connectionOperationCollectionResponse = {}) {
|
|
295
327
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(connectionOperationCollectionResponse)), { "value": n => { connectionOperationCollectionResponse.value = n.getCollectionOfObjectValues(createConnectionOperationFromDiscriminatorValue); } });
|
|
296
328
|
}
|
|
@@ -298,6 +330,7 @@ export function deserializeIntoConnectionOperationCollectionResponse(connectionO
|
|
|
298
330
|
* The deserialization information for the current model
|
|
299
331
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
300
332
|
*/
|
|
333
|
+
// @ts-ignore
|
|
301
334
|
export function deserializeIntoDisplayTemplate(displayTemplate = {}) {
|
|
302
335
|
return {
|
|
303
336
|
"backingStoreEnabled": n => { displayTemplate.backingStoreEnabled = true; },
|
|
@@ -312,6 +345,7 @@ export function deserializeIntoDisplayTemplate(displayTemplate = {}) {
|
|
|
312
345
|
* The deserialization information for the current model
|
|
313
346
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
314
347
|
*/
|
|
348
|
+
// @ts-ignore
|
|
315
349
|
export function deserializeIntoExternal(external = {}) {
|
|
316
350
|
return {
|
|
317
351
|
"backingStoreEnabled": n => { external.backingStoreEnabled = true; },
|
|
@@ -323,6 +357,7 @@ export function deserializeIntoExternal(external = {}) {
|
|
|
323
357
|
* The deserialization information for the current model
|
|
324
358
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
325
359
|
*/
|
|
360
|
+
// @ts-ignore
|
|
326
361
|
export function deserializeIntoExternalActivity(externalActivity = {}) {
|
|
327
362
|
return Object.assign(Object.assign({}, deserializeIntoEntity(externalActivity)), { "performedBy": n => { externalActivity.performedBy = n.getObjectValue(createIdentityFromDiscriminatorValue); }, "startDateTime": n => { externalActivity.startDateTime = n.getDateValue(); }, "type": n => { externalActivity.type = n.getEnumValue(ExternalActivityTypeObject); } });
|
|
328
363
|
}
|
|
@@ -330,6 +365,7 @@ export function deserializeIntoExternalActivity(externalActivity = {}) {
|
|
|
330
365
|
* The deserialization information for the current model
|
|
331
366
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
332
367
|
*/
|
|
368
|
+
// @ts-ignore
|
|
333
369
|
export function deserializeIntoExternalActivityCollectionResponse(externalActivityCollectionResponse = {}) {
|
|
334
370
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(externalActivityCollectionResponse)), { "value": n => { externalActivityCollectionResponse.value = n.getCollectionOfObjectValues(createExternalActivityFromDiscriminatorValue); } });
|
|
335
371
|
}
|
|
@@ -337,6 +373,7 @@ export function deserializeIntoExternalActivityCollectionResponse(externalActivi
|
|
|
337
373
|
* The deserialization information for the current model
|
|
338
374
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
339
375
|
*/
|
|
376
|
+
// @ts-ignore
|
|
340
377
|
export function deserializeIntoExternalActivityResult(externalActivityResult = {}) {
|
|
341
378
|
return Object.assign(Object.assign({}, deserializeIntoExternalActivity(externalActivityResult)), { "error": n => { externalActivityResult.errorEscaped = n.getObjectValue(createPublicErrorFromDiscriminatorValue); } });
|
|
342
379
|
}
|
|
@@ -344,6 +381,7 @@ export function deserializeIntoExternalActivityResult(externalActivityResult = {
|
|
|
344
381
|
* The deserialization information for the current model
|
|
345
382
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
346
383
|
*/
|
|
384
|
+
// @ts-ignore
|
|
347
385
|
export function deserializeIntoExternalConnection(externalConnection = {}) {
|
|
348
386
|
return Object.assign(Object.assign({}, deserializeIntoEntity(externalConnection)), { "activitySettings": n => { externalConnection.activitySettings = n.getObjectValue(createActivitySettingsFromDiscriminatorValue); }, "configuration": n => { externalConnection.configuration = n.getObjectValue(createConfigurationFromDiscriminatorValue); }, "connectorId": n => { externalConnection.connectorId = n.getStringValue(); }, "description": n => { externalConnection.description = n.getStringValue(); }, "groups": n => { externalConnection.groups = n.getCollectionOfObjectValues(createExternalGroupFromDiscriminatorValue); }, "items": n => { externalConnection.items = n.getCollectionOfObjectValues(createExternalItemFromDiscriminatorValue); }, "name": n => { externalConnection.name = n.getStringValue(); }, "operations": n => { externalConnection.operations = n.getCollectionOfObjectValues(createConnectionOperationFromDiscriminatorValue); }, "schema": n => { externalConnection.schema = n.getObjectValue(createSchemaFromDiscriminatorValue); }, "searchSettings": n => { externalConnection.searchSettings = n.getObjectValue(createSearchSettingsFromDiscriminatorValue); }, "state": n => { externalConnection.state = n.getEnumValue(ConnectionStateObject); } });
|
|
349
387
|
}
|
|
@@ -351,6 +389,7 @@ export function deserializeIntoExternalConnection(externalConnection = {}) {
|
|
|
351
389
|
* The deserialization information for the current model
|
|
352
390
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
353
391
|
*/
|
|
392
|
+
// @ts-ignore
|
|
354
393
|
export function deserializeIntoExternalConnectionCollectionResponse(externalConnectionCollectionResponse = {}) {
|
|
355
394
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(externalConnectionCollectionResponse)), { "value": n => { externalConnectionCollectionResponse.value = n.getCollectionOfObjectValues(createExternalConnectionFromDiscriminatorValue); } });
|
|
356
395
|
}
|
|
@@ -358,6 +397,7 @@ export function deserializeIntoExternalConnectionCollectionResponse(externalConn
|
|
|
358
397
|
* The deserialization information for the current model
|
|
359
398
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
360
399
|
*/
|
|
400
|
+
// @ts-ignore
|
|
361
401
|
export function deserializeIntoExternalGroup(externalGroup = {}) {
|
|
362
402
|
return Object.assign(Object.assign({}, deserializeIntoEntity(externalGroup)), { "description": n => { externalGroup.description = n.getStringValue(); }, "displayName": n => { externalGroup.displayName = n.getStringValue(); }, "members": n => { externalGroup.members = n.getCollectionOfObjectValues(createIdentityFromDiscriminatorValue); } });
|
|
363
403
|
}
|
|
@@ -365,6 +405,7 @@ export function deserializeIntoExternalGroup(externalGroup = {}) {
|
|
|
365
405
|
* The deserialization information for the current model
|
|
366
406
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
367
407
|
*/
|
|
408
|
+
// @ts-ignore
|
|
368
409
|
export function deserializeIntoExternalGroupCollectionResponse(externalGroupCollectionResponse = {}) {
|
|
369
410
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(externalGroupCollectionResponse)), { "value": n => { externalGroupCollectionResponse.value = n.getCollectionOfObjectValues(createExternalGroupFromDiscriminatorValue); } });
|
|
370
411
|
}
|
|
@@ -372,6 +413,7 @@ export function deserializeIntoExternalGroupCollectionResponse(externalGroupColl
|
|
|
372
413
|
* The deserialization information for the current model
|
|
373
414
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
374
415
|
*/
|
|
416
|
+
// @ts-ignore
|
|
375
417
|
export function deserializeIntoExternalItem(externalItem = {}) {
|
|
376
418
|
return Object.assign(Object.assign({}, deserializeIntoEntity(externalItem)), { "acl": n => { externalItem.acl = n.getCollectionOfObjectValues(createAclFromDiscriminatorValue); }, "activities": n => { externalItem.activities = n.getCollectionOfObjectValues(createExternalActivityFromDiscriminatorValue); }, "content": n => { externalItem.content = n.getObjectValue(createExternalItemContentFromDiscriminatorValue); }, "properties": n => { externalItem.properties = n.getObjectValue(createPropertiesFromDiscriminatorValue); } });
|
|
377
419
|
}
|
|
@@ -379,6 +421,7 @@ export function deserializeIntoExternalItem(externalItem = {}) {
|
|
|
379
421
|
* The deserialization information for the current model
|
|
380
422
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
381
423
|
*/
|
|
424
|
+
// @ts-ignore
|
|
382
425
|
export function deserializeIntoExternalItemCollectionResponse(externalItemCollectionResponse = {}) {
|
|
383
426
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(externalItemCollectionResponse)), { "value": n => { externalItemCollectionResponse.value = n.getCollectionOfObjectValues(createExternalItemFromDiscriminatorValue); } });
|
|
384
427
|
}
|
|
@@ -386,6 +429,7 @@ export function deserializeIntoExternalItemCollectionResponse(externalItemCollec
|
|
|
386
429
|
* The deserialization information for the current model
|
|
387
430
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
388
431
|
*/
|
|
432
|
+
// @ts-ignore
|
|
389
433
|
export function deserializeIntoExternalItemContent(externalItemContent = {}) {
|
|
390
434
|
return {
|
|
391
435
|
"backingStoreEnabled": n => { externalItemContent.backingStoreEnabled = true; },
|
|
@@ -398,6 +442,7 @@ export function deserializeIntoExternalItemContent(externalItemContent = {}) {
|
|
|
398
442
|
* The deserialization information for the current model
|
|
399
443
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
400
444
|
*/
|
|
445
|
+
// @ts-ignore
|
|
401
446
|
export function deserializeIntoIdentity(identity = {}) {
|
|
402
447
|
return Object.assign(Object.assign({}, deserializeIntoEntity(identity)), { "type": n => { identity.type = n.getEnumValue(IdentityTypeObject); } });
|
|
403
448
|
}
|
|
@@ -405,6 +450,7 @@ export function deserializeIntoIdentity(identity = {}) {
|
|
|
405
450
|
* The deserialization information for the current model
|
|
406
451
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
407
452
|
*/
|
|
453
|
+
// @ts-ignore
|
|
408
454
|
export function deserializeIntoIdentityCollectionResponse(identityCollectionResponse = {}) {
|
|
409
455
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(identityCollectionResponse)), { "value": n => { identityCollectionResponse.value = n.getCollectionOfObjectValues(createIdentityFromDiscriminatorValue); } });
|
|
410
456
|
}
|
|
@@ -412,6 +458,7 @@ export function deserializeIntoIdentityCollectionResponse(identityCollectionResp
|
|
|
412
458
|
* The deserialization information for the current model
|
|
413
459
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
414
460
|
*/
|
|
461
|
+
// @ts-ignore
|
|
415
462
|
export function deserializeIntoItemIdResolver(itemIdResolver = {}) {
|
|
416
463
|
return Object.assign(Object.assign({}, deserializeIntoUrlToItemResolverBase(itemIdResolver)), { "itemId": n => { itemIdResolver.itemId = n.getStringValue(); }, "urlMatchInfo": n => { itemIdResolver.urlMatchInfo = n.getObjectValue(createUrlMatchInfoFromDiscriminatorValue); } });
|
|
417
464
|
}
|
|
@@ -419,6 +466,7 @@ export function deserializeIntoItemIdResolver(itemIdResolver = {}) {
|
|
|
419
466
|
* The deserialization information for the current model
|
|
420
467
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
421
468
|
*/
|
|
469
|
+
// @ts-ignore
|
|
422
470
|
export function deserializeIntoProperties(properties = {}) {
|
|
423
471
|
return {
|
|
424
472
|
"backingStoreEnabled": n => { properties.backingStoreEnabled = true; },
|
|
@@ -429,6 +477,7 @@ export function deserializeIntoProperties(properties = {}) {
|
|
|
429
477
|
* The deserialization information for the current model
|
|
430
478
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
431
479
|
*/
|
|
480
|
+
// @ts-ignore
|
|
432
481
|
export function deserializeIntoProperty(property = {}) {
|
|
433
482
|
return {
|
|
434
483
|
"aliases": n => { property.aliases = n.getCollectionOfPrimitiveValues(); },
|
|
@@ -447,6 +496,7 @@ export function deserializeIntoProperty(property = {}) {
|
|
|
447
496
|
* The deserialization information for the current model
|
|
448
497
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
449
498
|
*/
|
|
499
|
+
// @ts-ignore
|
|
450
500
|
export function deserializeIntoPropertyRule(propertyRule = {}) {
|
|
451
501
|
return {
|
|
452
502
|
"backingStoreEnabled": n => { propertyRule.backingStoreEnabled = true; },
|
|
@@ -461,6 +511,7 @@ export function deserializeIntoPropertyRule(propertyRule = {}) {
|
|
|
461
511
|
* The deserialization information for the current model
|
|
462
512
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
463
513
|
*/
|
|
514
|
+
// @ts-ignore
|
|
464
515
|
export function deserializeIntoSchema(schema = {}) {
|
|
465
516
|
return Object.assign(Object.assign({}, deserializeIntoEntity(schema)), { "baseType": n => { schema.baseType = n.getStringValue(); }, "properties": n => { schema.properties = n.getCollectionOfObjectValues(createPropertyFromDiscriminatorValue); } });
|
|
466
517
|
}
|
|
@@ -468,6 +519,7 @@ export function deserializeIntoSchema(schema = {}) {
|
|
|
468
519
|
* The deserialization information for the current model
|
|
469
520
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
470
521
|
*/
|
|
522
|
+
// @ts-ignore
|
|
471
523
|
export function deserializeIntoSearchSettings(searchSettings = {}) {
|
|
472
524
|
return {
|
|
473
525
|
"backingStoreEnabled": n => { searchSettings.backingStoreEnabled = true; },
|
|
@@ -479,6 +531,7 @@ export function deserializeIntoSearchSettings(searchSettings = {}) {
|
|
|
479
531
|
* The deserialization information for the current model
|
|
480
532
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
481
533
|
*/
|
|
534
|
+
// @ts-ignore
|
|
482
535
|
export function deserializeIntoUrlMatchInfo(urlMatchInfo = {}) {
|
|
483
536
|
return {
|
|
484
537
|
"backingStoreEnabled": n => { urlMatchInfo.backingStoreEnabled = true; },
|
|
@@ -491,6 +544,7 @@ export function deserializeIntoUrlMatchInfo(urlMatchInfo = {}) {
|
|
|
491
544
|
* The deserialization information for the current model
|
|
492
545
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
493
546
|
*/
|
|
547
|
+
// @ts-ignore
|
|
494
548
|
export function deserializeIntoUrlToItemResolverBase(urlToItemResolverBase = {}) {
|
|
495
549
|
return {
|
|
496
550
|
"backingStoreEnabled": n => { urlToItemResolverBase.backingStoreEnabled = true; },
|
|
@@ -502,265 +556,346 @@ export function deserializeIntoUrlToItemResolverBase(urlToItemResolverBase = {})
|
|
|
502
556
|
* Serializes information the current object
|
|
503
557
|
* @param writer Serialization writer to use to serialize this model
|
|
504
558
|
*/
|
|
559
|
+
// @ts-ignore
|
|
505
560
|
export function serializeAcl(writer, acl = {}) {
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
561
|
+
if (acl) {
|
|
562
|
+
writer.writeEnumValue("accessType", acl.accessType);
|
|
563
|
+
writer.writeStringValue("@odata.type", acl.odataType);
|
|
564
|
+
writer.writeEnumValue("type", acl.type);
|
|
565
|
+
writer.writeStringValue("value", acl.value);
|
|
566
|
+
writer.writeAdditionalData(acl.additionalData);
|
|
567
|
+
}
|
|
511
568
|
}
|
|
512
569
|
/**
|
|
513
570
|
* Serializes information the current object
|
|
514
571
|
* @param writer Serialization writer to use to serialize this model
|
|
515
572
|
*/
|
|
573
|
+
// @ts-ignore
|
|
516
574
|
export function serializeActivitySettings(writer, activitySettings = {}) {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
575
|
+
if (activitySettings) {
|
|
576
|
+
writer.writeStringValue("@odata.type", activitySettings.odataType);
|
|
577
|
+
writer.writeCollectionOfObjectValues("urlToItemResolvers", activitySettings.urlToItemResolvers, serializeUrlToItemResolverBase);
|
|
578
|
+
writer.writeAdditionalData(activitySettings.additionalData);
|
|
579
|
+
}
|
|
520
580
|
}
|
|
521
581
|
/**
|
|
522
582
|
* Serializes information the current object
|
|
523
583
|
* @param writer Serialization writer to use to serialize this model
|
|
524
584
|
*/
|
|
585
|
+
// @ts-ignore
|
|
525
586
|
export function serializeConfiguration(writer, configuration = {}) {
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
587
|
+
if (configuration) {
|
|
588
|
+
writer.writeCollectionOfPrimitiveValues("authorizedAppIds", configuration.authorizedAppIds);
|
|
589
|
+
writer.writeStringValue("@odata.type", configuration.odataType);
|
|
590
|
+
writer.writeAdditionalData(configuration.additionalData);
|
|
591
|
+
}
|
|
529
592
|
}
|
|
530
593
|
/**
|
|
531
594
|
* Serializes information the current object
|
|
532
595
|
* @param writer Serialization writer to use to serialize this model
|
|
533
596
|
*/
|
|
597
|
+
// @ts-ignore
|
|
534
598
|
export function serializeConnectionOperation(writer, connectionOperation = {}) {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
599
|
+
if (connectionOperation) {
|
|
600
|
+
serializeEntity(writer, connectionOperation);
|
|
601
|
+
writer.writeObjectValue("error", connectionOperation.errorEscaped, serializePublicError);
|
|
602
|
+
writer.writeEnumValue("status", connectionOperation.status);
|
|
603
|
+
}
|
|
538
604
|
}
|
|
539
605
|
/**
|
|
540
606
|
* Serializes information the current object
|
|
541
607
|
* @param writer Serialization writer to use to serialize this model
|
|
542
608
|
*/
|
|
609
|
+
// @ts-ignore
|
|
543
610
|
export function serializeConnectionOperationCollectionResponse(writer, connectionOperationCollectionResponse = {}) {
|
|
544
|
-
|
|
545
|
-
|
|
611
|
+
if (connectionOperationCollectionResponse) {
|
|
612
|
+
serializeBaseCollectionPaginationCountResponse(writer, connectionOperationCollectionResponse);
|
|
613
|
+
writer.writeCollectionOfObjectValues("value", connectionOperationCollectionResponse.value, serializeConnectionOperation);
|
|
614
|
+
}
|
|
546
615
|
}
|
|
547
616
|
/**
|
|
548
617
|
* Serializes information the current object
|
|
549
618
|
* @param writer Serialization writer to use to serialize this model
|
|
550
619
|
*/
|
|
620
|
+
// @ts-ignore
|
|
551
621
|
export function serializeDisplayTemplate(writer, displayTemplate = {}) {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
622
|
+
if (displayTemplate) {
|
|
623
|
+
writer.writeStringValue("id", displayTemplate.id);
|
|
624
|
+
writer.writeObjectValue("layout", displayTemplate.layout);
|
|
625
|
+
writer.writeStringValue("@odata.type", displayTemplate.odataType);
|
|
626
|
+
writer.writeNumberValue("priority", displayTemplate.priority);
|
|
627
|
+
writer.writeCollectionOfObjectValues("rules", displayTemplate.rules, serializePropertyRule);
|
|
628
|
+
writer.writeAdditionalData(displayTemplate.additionalData);
|
|
629
|
+
}
|
|
558
630
|
}
|
|
559
631
|
/**
|
|
560
632
|
* Serializes information the current object
|
|
561
633
|
* @param writer Serialization writer to use to serialize this model
|
|
562
634
|
*/
|
|
635
|
+
// @ts-ignore
|
|
563
636
|
export function serializeExternal(writer, external = {}) {
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
637
|
+
if (external) {
|
|
638
|
+
writer.writeCollectionOfObjectValues("connections", external.connections, serializeExternalConnection);
|
|
639
|
+
writer.writeStringValue("@odata.type", external.odataType);
|
|
640
|
+
writer.writeAdditionalData(external.additionalData);
|
|
641
|
+
}
|
|
567
642
|
}
|
|
568
643
|
/**
|
|
569
644
|
* Serializes information the current object
|
|
570
645
|
* @param writer Serialization writer to use to serialize this model
|
|
571
646
|
*/
|
|
647
|
+
// @ts-ignore
|
|
572
648
|
export function serializeExternalActivity(writer, externalActivity = {}) {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
649
|
+
if (externalActivity) {
|
|
650
|
+
serializeEntity(writer, externalActivity);
|
|
651
|
+
writer.writeObjectValue("performedBy", externalActivity.performedBy, serializeIdentity);
|
|
652
|
+
writer.writeDateValue("startDateTime", externalActivity.startDateTime);
|
|
653
|
+
writer.writeEnumValue("type", externalActivity.type);
|
|
654
|
+
}
|
|
577
655
|
}
|
|
578
656
|
/**
|
|
579
657
|
* Serializes information the current object
|
|
580
658
|
* @param writer Serialization writer to use to serialize this model
|
|
581
659
|
*/
|
|
660
|
+
// @ts-ignore
|
|
582
661
|
export function serializeExternalActivityCollectionResponse(writer, externalActivityCollectionResponse = {}) {
|
|
583
|
-
|
|
584
|
-
|
|
662
|
+
if (externalActivityCollectionResponse) {
|
|
663
|
+
serializeBaseCollectionPaginationCountResponse(writer, externalActivityCollectionResponse);
|
|
664
|
+
writer.writeCollectionOfObjectValues("value", externalActivityCollectionResponse.value, serializeExternalActivity);
|
|
665
|
+
}
|
|
585
666
|
}
|
|
586
667
|
/**
|
|
587
668
|
* Serializes information the current object
|
|
588
669
|
* @param writer Serialization writer to use to serialize this model
|
|
589
670
|
*/
|
|
671
|
+
// @ts-ignore
|
|
590
672
|
export function serializeExternalActivityResult(writer, externalActivityResult = {}) {
|
|
591
|
-
|
|
592
|
-
|
|
673
|
+
if (externalActivityResult) {
|
|
674
|
+
serializeExternalActivity(writer, externalActivityResult);
|
|
675
|
+
writer.writeObjectValue("error", externalActivityResult.errorEscaped, serializePublicError);
|
|
676
|
+
}
|
|
593
677
|
}
|
|
594
678
|
/**
|
|
595
679
|
* Serializes information the current object
|
|
596
680
|
* @param writer Serialization writer to use to serialize this model
|
|
597
681
|
*/
|
|
682
|
+
// @ts-ignore
|
|
598
683
|
export function serializeExternalConnection(writer, externalConnection = {}) {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
684
|
+
if (externalConnection) {
|
|
685
|
+
serializeEntity(writer, externalConnection);
|
|
686
|
+
writer.writeObjectValue("activitySettings", externalConnection.activitySettings, serializeActivitySettings);
|
|
687
|
+
writer.writeObjectValue("configuration", externalConnection.configuration, serializeConfiguration);
|
|
688
|
+
writer.writeStringValue("connectorId", externalConnection.connectorId);
|
|
689
|
+
writer.writeStringValue("description", externalConnection.description);
|
|
690
|
+
writer.writeCollectionOfObjectValues("groups", externalConnection.groups, serializeExternalGroup);
|
|
691
|
+
writer.writeCollectionOfObjectValues("items", externalConnection.items, serializeExternalItem);
|
|
692
|
+
writer.writeStringValue("name", externalConnection.name);
|
|
693
|
+
writer.writeCollectionOfObjectValues("operations", externalConnection.operations, serializeConnectionOperation);
|
|
694
|
+
writer.writeObjectValue("schema", externalConnection.schema, serializeSchema);
|
|
695
|
+
writer.writeObjectValue("searchSettings", externalConnection.searchSettings, serializeSearchSettings);
|
|
696
|
+
}
|
|
610
697
|
}
|
|
611
698
|
/**
|
|
612
699
|
* Serializes information the current object
|
|
613
700
|
* @param writer Serialization writer to use to serialize this model
|
|
614
701
|
*/
|
|
702
|
+
// @ts-ignore
|
|
615
703
|
export function serializeExternalConnectionCollectionResponse(writer, externalConnectionCollectionResponse = {}) {
|
|
616
|
-
|
|
617
|
-
|
|
704
|
+
if (externalConnectionCollectionResponse) {
|
|
705
|
+
serializeBaseCollectionPaginationCountResponse(writer, externalConnectionCollectionResponse);
|
|
706
|
+
writer.writeCollectionOfObjectValues("value", externalConnectionCollectionResponse.value, serializeExternalConnection);
|
|
707
|
+
}
|
|
618
708
|
}
|
|
619
709
|
/**
|
|
620
710
|
* Serializes information the current object
|
|
621
711
|
* @param writer Serialization writer to use to serialize this model
|
|
622
712
|
*/
|
|
713
|
+
// @ts-ignore
|
|
623
714
|
export function serializeExternalGroup(writer, externalGroup = {}) {
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
715
|
+
if (externalGroup) {
|
|
716
|
+
serializeEntity(writer, externalGroup);
|
|
717
|
+
writer.writeStringValue("description", externalGroup.description);
|
|
718
|
+
writer.writeStringValue("displayName", externalGroup.displayName);
|
|
719
|
+
writer.writeCollectionOfObjectValues("members", externalGroup.members, serializeIdentity);
|
|
720
|
+
}
|
|
628
721
|
}
|
|
629
722
|
/**
|
|
630
723
|
* Serializes information the current object
|
|
631
724
|
* @param writer Serialization writer to use to serialize this model
|
|
632
725
|
*/
|
|
726
|
+
// @ts-ignore
|
|
633
727
|
export function serializeExternalGroupCollectionResponse(writer, externalGroupCollectionResponse = {}) {
|
|
634
|
-
|
|
635
|
-
|
|
728
|
+
if (externalGroupCollectionResponse) {
|
|
729
|
+
serializeBaseCollectionPaginationCountResponse(writer, externalGroupCollectionResponse);
|
|
730
|
+
writer.writeCollectionOfObjectValues("value", externalGroupCollectionResponse.value, serializeExternalGroup);
|
|
731
|
+
}
|
|
636
732
|
}
|
|
637
733
|
/**
|
|
638
734
|
* Serializes information the current object
|
|
639
735
|
* @param writer Serialization writer to use to serialize this model
|
|
640
736
|
*/
|
|
737
|
+
// @ts-ignore
|
|
641
738
|
export function serializeExternalItem(writer, externalItem = {}) {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
739
|
+
if (externalItem) {
|
|
740
|
+
serializeEntity(writer, externalItem);
|
|
741
|
+
writer.writeCollectionOfObjectValues("acl", externalItem.acl, serializeAcl);
|
|
742
|
+
writer.writeCollectionOfObjectValues("activities", externalItem.activities, serializeExternalActivity);
|
|
743
|
+
writer.writeObjectValue("content", externalItem.content, serializeExternalItemContent);
|
|
744
|
+
writer.writeObjectValue("properties", externalItem.properties, serializeProperties);
|
|
745
|
+
}
|
|
647
746
|
}
|
|
648
747
|
/**
|
|
649
748
|
* Serializes information the current object
|
|
650
749
|
* @param writer Serialization writer to use to serialize this model
|
|
651
750
|
*/
|
|
751
|
+
// @ts-ignore
|
|
652
752
|
export function serializeExternalItemCollectionResponse(writer, externalItemCollectionResponse = {}) {
|
|
653
|
-
|
|
654
|
-
|
|
753
|
+
if (externalItemCollectionResponse) {
|
|
754
|
+
serializeBaseCollectionPaginationCountResponse(writer, externalItemCollectionResponse);
|
|
755
|
+
writer.writeCollectionOfObjectValues("value", externalItemCollectionResponse.value, serializeExternalItem);
|
|
756
|
+
}
|
|
655
757
|
}
|
|
656
758
|
/**
|
|
657
759
|
* Serializes information the current object
|
|
658
760
|
* @param writer Serialization writer to use to serialize this model
|
|
659
761
|
*/
|
|
762
|
+
// @ts-ignore
|
|
660
763
|
export function serializeExternalItemContent(writer, externalItemContent = {}) {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
764
|
+
if (externalItemContent) {
|
|
765
|
+
writer.writeStringValue("@odata.type", externalItemContent.odataType);
|
|
766
|
+
writer.writeEnumValue("type", externalItemContent.type);
|
|
767
|
+
writer.writeStringValue("value", externalItemContent.value);
|
|
768
|
+
writer.writeAdditionalData(externalItemContent.additionalData);
|
|
769
|
+
}
|
|
665
770
|
}
|
|
666
771
|
/**
|
|
667
772
|
* Serializes information the current object
|
|
668
773
|
* @param writer Serialization writer to use to serialize this model
|
|
669
774
|
*/
|
|
775
|
+
// @ts-ignore
|
|
670
776
|
export function serializeIdentity(writer, identity = {}) {
|
|
671
|
-
|
|
672
|
-
|
|
777
|
+
if (identity) {
|
|
778
|
+
serializeEntity(writer, identity);
|
|
779
|
+
writer.writeEnumValue("type", identity.type);
|
|
780
|
+
}
|
|
673
781
|
}
|
|
674
782
|
/**
|
|
675
783
|
* Serializes information the current object
|
|
676
784
|
* @param writer Serialization writer to use to serialize this model
|
|
677
785
|
*/
|
|
786
|
+
// @ts-ignore
|
|
678
787
|
export function serializeIdentityCollectionResponse(writer, identityCollectionResponse = {}) {
|
|
679
|
-
|
|
680
|
-
|
|
788
|
+
if (identityCollectionResponse) {
|
|
789
|
+
serializeBaseCollectionPaginationCountResponse(writer, identityCollectionResponse);
|
|
790
|
+
writer.writeCollectionOfObjectValues("value", identityCollectionResponse.value, serializeIdentity);
|
|
791
|
+
}
|
|
681
792
|
}
|
|
682
793
|
/**
|
|
683
794
|
* Serializes information the current object
|
|
684
795
|
* @param writer Serialization writer to use to serialize this model
|
|
685
796
|
*/
|
|
797
|
+
// @ts-ignore
|
|
686
798
|
export function serializeItemIdResolver(writer, itemIdResolver = {}) {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
799
|
+
if (itemIdResolver) {
|
|
800
|
+
serializeUrlToItemResolverBase(writer, itemIdResolver);
|
|
801
|
+
writer.writeStringValue("itemId", itemIdResolver.itemId);
|
|
802
|
+
writer.writeObjectValue("urlMatchInfo", itemIdResolver.urlMatchInfo, serializeUrlMatchInfo);
|
|
803
|
+
}
|
|
690
804
|
}
|
|
691
805
|
/**
|
|
692
806
|
* Serializes information the current object
|
|
693
807
|
* @param writer Serialization writer to use to serialize this model
|
|
694
808
|
*/
|
|
809
|
+
// @ts-ignore
|
|
695
810
|
export function serializeProperties(writer, properties = {}) {
|
|
696
|
-
|
|
697
|
-
|
|
811
|
+
if (properties) {
|
|
812
|
+
writer.writeStringValue("@odata.type", properties.odataType);
|
|
813
|
+
writer.writeAdditionalData(properties.additionalData);
|
|
814
|
+
}
|
|
698
815
|
}
|
|
699
816
|
/**
|
|
700
817
|
* Serializes information the current object
|
|
701
818
|
* @param writer Serialization writer to use to serialize this model
|
|
702
819
|
*/
|
|
820
|
+
// @ts-ignore
|
|
703
821
|
export function serializeProperty(writer, property = {}) {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
822
|
+
if (property) {
|
|
823
|
+
writer.writeCollectionOfPrimitiveValues("aliases", property.aliases);
|
|
824
|
+
writer.writeBooleanValue("isQueryable", property.isQueryable);
|
|
825
|
+
writer.writeBooleanValue("isRefinable", property.isRefinable);
|
|
826
|
+
writer.writeBooleanValue("isRetrievable", property.isRetrievable);
|
|
827
|
+
writer.writeBooleanValue("isSearchable", property.isSearchable);
|
|
828
|
+
if (property.labels)
|
|
829
|
+
writer.writeEnumValue("labels", ...property.labels);
|
|
830
|
+
writer.writeStringValue("name", property.name);
|
|
831
|
+
writer.writeStringValue("@odata.type", property.odataType);
|
|
832
|
+
writer.writeEnumValue("type", property.type);
|
|
833
|
+
writer.writeAdditionalData(property.additionalData);
|
|
834
|
+
}
|
|
715
835
|
}
|
|
716
836
|
/**
|
|
717
837
|
* Serializes information the current object
|
|
718
838
|
* @param writer Serialization writer to use to serialize this model
|
|
719
839
|
*/
|
|
840
|
+
// @ts-ignore
|
|
720
841
|
export function serializePropertyRule(writer, propertyRule = {}) {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
842
|
+
if (propertyRule) {
|
|
843
|
+
writer.writeStringValue("@odata.type", propertyRule.odataType);
|
|
844
|
+
writer.writeEnumValue("operation", propertyRule.operation);
|
|
845
|
+
writer.writeStringValue("property", propertyRule.property);
|
|
846
|
+
writer.writeCollectionOfPrimitiveValues("values", propertyRule.values);
|
|
847
|
+
writer.writeEnumValue("valuesJoinedBy", propertyRule.valuesJoinedBy);
|
|
848
|
+
writer.writeAdditionalData(propertyRule.additionalData);
|
|
849
|
+
}
|
|
727
850
|
}
|
|
728
851
|
/**
|
|
729
852
|
* Serializes information the current object
|
|
730
853
|
* @param writer Serialization writer to use to serialize this model
|
|
731
854
|
*/
|
|
855
|
+
// @ts-ignore
|
|
732
856
|
export function serializeSchema(writer, schema = {}) {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
857
|
+
if (schema) {
|
|
858
|
+
serializeEntity(writer, schema);
|
|
859
|
+
writer.writeStringValue("baseType", schema.baseType);
|
|
860
|
+
writer.writeCollectionOfObjectValues("properties", schema.properties, serializeProperty);
|
|
861
|
+
}
|
|
736
862
|
}
|
|
737
863
|
/**
|
|
738
864
|
* Serializes information the current object
|
|
739
865
|
* @param writer Serialization writer to use to serialize this model
|
|
740
866
|
*/
|
|
867
|
+
// @ts-ignore
|
|
741
868
|
export function serializeSearchSettings(writer, searchSettings = {}) {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
869
|
+
if (searchSettings) {
|
|
870
|
+
writer.writeStringValue("@odata.type", searchSettings.odataType);
|
|
871
|
+
writer.writeCollectionOfObjectValues("searchResultTemplates", searchSettings.searchResultTemplates, serializeDisplayTemplate);
|
|
872
|
+
writer.writeAdditionalData(searchSettings.additionalData);
|
|
873
|
+
}
|
|
745
874
|
}
|
|
746
875
|
/**
|
|
747
876
|
* Serializes information the current object
|
|
748
877
|
* @param writer Serialization writer to use to serialize this model
|
|
749
878
|
*/
|
|
879
|
+
// @ts-ignore
|
|
750
880
|
export function serializeUrlMatchInfo(writer, urlMatchInfo = {}) {
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
881
|
+
if (urlMatchInfo) {
|
|
882
|
+
writer.writeCollectionOfPrimitiveValues("baseUrls", urlMatchInfo.baseUrls);
|
|
883
|
+
writer.writeStringValue("@odata.type", urlMatchInfo.odataType);
|
|
884
|
+
writer.writeStringValue("urlPattern", urlMatchInfo.urlPattern);
|
|
885
|
+
writer.writeAdditionalData(urlMatchInfo.additionalData);
|
|
886
|
+
}
|
|
755
887
|
}
|
|
756
888
|
/**
|
|
757
889
|
* Serializes information the current object
|
|
758
890
|
* @param writer Serialization writer to use to serialize this model
|
|
759
891
|
*/
|
|
892
|
+
// @ts-ignore
|
|
760
893
|
export function serializeUrlToItemResolverBase(writer, urlToItemResolverBase = {}) {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
894
|
+
if (urlToItemResolverBase) {
|
|
895
|
+
writer.writeStringValue("@odata.type", urlToItemResolverBase.odataType);
|
|
896
|
+
writer.writeNumberValue("priority", urlToItemResolverBase.priority);
|
|
897
|
+
writer.writeAdditionalData(urlToItemResolverBase.additionalData);
|
|
898
|
+
}
|
|
764
899
|
}
|
|
765
900
|
export const AccessTypeObject = {
|
|
766
901
|
Grant: "grant",
|