@microsoft/msgraph-sdk 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/graphRequestAdapter.d.ts +15 -0
- package/graphRequestAdapter.d.ts.map +1 -0
- package/graphRequestAdapter.js +21 -0
- package/graphServiceClient.d.ts +19 -0
- package/graphServiceClient.d.ts.map +1 -0
- package/graphServiceClient.js +51 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -0
- package/index.js +18 -0
- package/models/callRecords/index.d.ts +1414 -0
- package/models/callRecords/index.d.ts.map +1 -0
- package/models/callRecords/index.js +1104 -0
- package/models/externalConnectors/index.d.ts +975 -0
- package/models/externalConnectors/index.d.ts.map +1 -0
- package/models/externalConnectors/index.js +928 -0
- package/models/identityGovernance/index.d.ts +1334 -0
- package/models/identityGovernance/index.d.ts.map +1 -0
- package/models/identityGovernance/index.js +1189 -0
- package/models/index.d.ts +86017 -0
- package/models/index.d.ts.map +1 -0
- package/models/index.js +74768 -0
- package/models/oDataErrors/index.d.ts +158 -0
- package/models/oDataErrors/index.d.ts.map +1 -0
- package/models/oDataErrors/index.js +139 -0
- package/models/security/index.d.ts +6556 -0
- package/models/security/index.d.ts.map +1 -0
- package/models/security/index.js +5717 -0
- package/models/termStore/index.d.ts +454 -0
- package/models/termStore/index.d.ts.map +1 -0
- package/models/termStore/index.js +406 -0
- package/package.json +51 -0
- package/tsconfig.json +9 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +4 -0
|
@@ -0,0 +1,928 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deserializeIntoPropertyRule = exports.deserializeIntoProperty = exports.deserializeIntoProperties = exports.deserializeIntoItemIdResolver = exports.deserializeIntoIdentityCollectionResponse = exports.deserializeIntoIdentity = exports.deserializeIntoExternalItemContent = exports.deserializeIntoExternalItemCollectionResponse = exports.deserializeIntoExternalItem = exports.deserializeIntoExternalGroupCollectionResponse = exports.deserializeIntoExternalGroup = exports.deserializeIntoExternalConnectionCollectionResponse = exports.deserializeIntoExternalConnection = exports.deserializeIntoExternalActivityResult = exports.deserializeIntoExternalActivityCollectionResponse = exports.deserializeIntoExternalActivity = exports.deserializeIntoExternal = exports.deserializeIntoDisplayTemplate = exports.deserializeIntoConnectionOperationCollectionResponse = exports.deserializeIntoConnectionOperation = exports.deserializeIntoConfiguration = exports.deserializeIntoActivitySettings = exports.deserializeIntoAcl = exports.createUrlToItemResolverBaseFromDiscriminatorValue = exports.createUrlMatchInfoFromDiscriminatorValue = exports.createSearchSettingsFromDiscriminatorValue = exports.createSchemaFromDiscriminatorValue = exports.createPropertyRuleFromDiscriminatorValue = exports.createPropertyFromDiscriminatorValue = exports.createPropertiesFromDiscriminatorValue = exports.createItemIdResolverFromDiscriminatorValue = exports.createIdentityFromDiscriminatorValue = exports.createIdentityCollectionResponseFromDiscriminatorValue = exports.createExternalItemFromDiscriminatorValue = exports.createExternalItemContentFromDiscriminatorValue = exports.createExternalItemCollectionResponseFromDiscriminatorValue = exports.createExternalGroupFromDiscriminatorValue = exports.createExternalGroupCollectionResponseFromDiscriminatorValue = exports.createExternalFromDiscriminatorValue = exports.createExternalConnectionFromDiscriminatorValue = exports.createExternalConnectionCollectionResponseFromDiscriminatorValue = exports.createExternalActivityResultFromDiscriminatorValue = exports.createExternalActivityFromDiscriminatorValue = exports.createExternalActivityCollectionResponseFromDiscriminatorValue = exports.createDisplayTemplateFromDiscriminatorValue = exports.createConnectionOperationFromDiscriminatorValue = exports.createConnectionOperationCollectionResponseFromDiscriminatorValue = exports.createConfigurationFromDiscriminatorValue = exports.createActivitySettingsFromDiscriminatorValue = exports.createAclFromDiscriminatorValue = void 0;
|
|
4
|
+
exports.RuleOperationObject = exports.PropertyTypeObject = exports.LabelObject = exports.IdentityTypeObject = exports.ExternalItemContentTypeObject = exports.ExternalActivityTypeObject = exports.ConnectionStateObject = exports.ConnectionOperationStatusObject = exports.AclTypeObject = exports.AccessTypeObject = exports.serializeUrlToItemResolverBase = exports.serializeUrlMatchInfo = exports.serializeSearchSettings = exports.serializeSchema = exports.serializePropertyRule = exports.serializeProperty = exports.serializeProperties = exports.serializeItemIdResolver = exports.serializeIdentityCollectionResponse = exports.serializeIdentity = exports.serializeExternalItemContent = exports.serializeExternalItemCollectionResponse = exports.serializeExternalItem = exports.serializeExternalGroupCollectionResponse = exports.serializeExternalGroup = exports.serializeExternalConnectionCollectionResponse = exports.serializeExternalConnection = exports.serializeExternalActivityResult = exports.serializeExternalActivityCollectionResponse = exports.serializeExternalActivity = exports.serializeExternal = exports.serializeDisplayTemplate = exports.serializeConnectionOperationCollectionResponse = exports.serializeConnectionOperation = exports.serializeConfiguration = exports.serializeActivitySettings = exports.serializeAcl = exports.deserializeIntoUrlToItemResolverBase = exports.deserializeIntoUrlMatchInfo = exports.deserializeIntoSearchSettings = exports.deserializeIntoSchema = void 0;
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
// Generated by Microsoft Kiota
|
|
8
|
+
const __1 = require("../");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a acl
|
|
13
|
+
*/
|
|
14
|
+
function createAclFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoAcl;
|
|
16
|
+
}
|
|
17
|
+
exports.createAclFromDiscriminatorValue = createAclFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns a activitySettings
|
|
22
|
+
*/
|
|
23
|
+
function createActivitySettingsFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoActivitySettings;
|
|
25
|
+
}
|
|
26
|
+
exports.createActivitySettingsFromDiscriminatorValue = createActivitySettingsFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
29
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
30
|
+
* @returns a configuration
|
|
31
|
+
*/
|
|
32
|
+
function createConfigurationFromDiscriminatorValue(parseNode) {
|
|
33
|
+
return deserializeIntoConfiguration;
|
|
34
|
+
}
|
|
35
|
+
exports.createConfigurationFromDiscriminatorValue = createConfigurationFromDiscriminatorValue;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
38
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
39
|
+
* @returns a connectionOperationCollectionResponse
|
|
40
|
+
*/
|
|
41
|
+
function createConnectionOperationCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
42
|
+
return deserializeIntoConnectionOperationCollectionResponse;
|
|
43
|
+
}
|
|
44
|
+
exports.createConnectionOperationCollectionResponseFromDiscriminatorValue = createConnectionOperationCollectionResponseFromDiscriminatorValue;
|
|
45
|
+
/**
|
|
46
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
47
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
48
|
+
* @returns a connectionOperation
|
|
49
|
+
*/
|
|
50
|
+
function createConnectionOperationFromDiscriminatorValue(parseNode) {
|
|
51
|
+
return deserializeIntoConnectionOperation;
|
|
52
|
+
}
|
|
53
|
+
exports.createConnectionOperationFromDiscriminatorValue = createConnectionOperationFromDiscriminatorValue;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
56
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
57
|
+
* @returns a displayTemplate
|
|
58
|
+
*/
|
|
59
|
+
function createDisplayTemplateFromDiscriminatorValue(parseNode) {
|
|
60
|
+
return deserializeIntoDisplayTemplate;
|
|
61
|
+
}
|
|
62
|
+
exports.createDisplayTemplateFromDiscriminatorValue = createDisplayTemplateFromDiscriminatorValue;
|
|
63
|
+
/**
|
|
64
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
65
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
66
|
+
* @returns a externalActivityCollectionResponse
|
|
67
|
+
*/
|
|
68
|
+
function createExternalActivityCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
69
|
+
return deserializeIntoExternalActivityCollectionResponse;
|
|
70
|
+
}
|
|
71
|
+
exports.createExternalActivityCollectionResponseFromDiscriminatorValue = createExternalActivityCollectionResponseFromDiscriminatorValue;
|
|
72
|
+
/**
|
|
73
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
74
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
75
|
+
* @returns a externalActivity
|
|
76
|
+
*/
|
|
77
|
+
function createExternalActivityFromDiscriminatorValue(parseNode) {
|
|
78
|
+
if (!parseNode)
|
|
79
|
+
throw new Error("parseNode cannot be undefined");
|
|
80
|
+
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
81
|
+
if (mappingValueNode) {
|
|
82
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
83
|
+
if (mappingValue) {
|
|
84
|
+
switch (mappingValue) {
|
|
85
|
+
case "#microsoft.graph.externalConnectors.externalActivityResult":
|
|
86
|
+
return deserializeIntoExternalActivityResult;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return deserializeIntoExternalActivity;
|
|
91
|
+
}
|
|
92
|
+
exports.createExternalActivityFromDiscriminatorValue = createExternalActivityFromDiscriminatorValue;
|
|
93
|
+
/**
|
|
94
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
95
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
96
|
+
* @returns a externalActivityResult
|
|
97
|
+
*/
|
|
98
|
+
function createExternalActivityResultFromDiscriminatorValue(parseNode) {
|
|
99
|
+
return deserializeIntoExternalActivityResult;
|
|
100
|
+
}
|
|
101
|
+
exports.createExternalActivityResultFromDiscriminatorValue = createExternalActivityResultFromDiscriminatorValue;
|
|
102
|
+
/**
|
|
103
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
104
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
105
|
+
* @returns a externalConnectionCollectionResponse
|
|
106
|
+
*/
|
|
107
|
+
function createExternalConnectionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
108
|
+
return deserializeIntoExternalConnectionCollectionResponse;
|
|
109
|
+
}
|
|
110
|
+
exports.createExternalConnectionCollectionResponseFromDiscriminatorValue = createExternalConnectionCollectionResponseFromDiscriminatorValue;
|
|
111
|
+
/**
|
|
112
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
113
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
114
|
+
* @returns a externalConnection
|
|
115
|
+
*/
|
|
116
|
+
function createExternalConnectionFromDiscriminatorValue(parseNode) {
|
|
117
|
+
return deserializeIntoExternalConnection;
|
|
118
|
+
}
|
|
119
|
+
exports.createExternalConnectionFromDiscriminatorValue = createExternalConnectionFromDiscriminatorValue;
|
|
120
|
+
/**
|
|
121
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
122
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
123
|
+
* @returns a external
|
|
124
|
+
*/
|
|
125
|
+
function createExternalFromDiscriminatorValue(parseNode) {
|
|
126
|
+
return deserializeIntoExternal;
|
|
127
|
+
}
|
|
128
|
+
exports.createExternalFromDiscriminatorValue = createExternalFromDiscriminatorValue;
|
|
129
|
+
/**
|
|
130
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
131
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
132
|
+
* @returns a externalGroupCollectionResponse
|
|
133
|
+
*/
|
|
134
|
+
function createExternalGroupCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
135
|
+
return deserializeIntoExternalGroupCollectionResponse;
|
|
136
|
+
}
|
|
137
|
+
exports.createExternalGroupCollectionResponseFromDiscriminatorValue = createExternalGroupCollectionResponseFromDiscriminatorValue;
|
|
138
|
+
/**
|
|
139
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
140
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
141
|
+
* @returns a externalGroup
|
|
142
|
+
*/
|
|
143
|
+
function createExternalGroupFromDiscriminatorValue(parseNode) {
|
|
144
|
+
return deserializeIntoExternalGroup;
|
|
145
|
+
}
|
|
146
|
+
exports.createExternalGroupFromDiscriminatorValue = createExternalGroupFromDiscriminatorValue;
|
|
147
|
+
/**
|
|
148
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
149
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
150
|
+
* @returns a externalItemCollectionResponse
|
|
151
|
+
*/
|
|
152
|
+
function createExternalItemCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
153
|
+
return deserializeIntoExternalItemCollectionResponse;
|
|
154
|
+
}
|
|
155
|
+
exports.createExternalItemCollectionResponseFromDiscriminatorValue = createExternalItemCollectionResponseFromDiscriminatorValue;
|
|
156
|
+
/**
|
|
157
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
158
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
159
|
+
* @returns a externalItemContent
|
|
160
|
+
*/
|
|
161
|
+
function createExternalItemContentFromDiscriminatorValue(parseNode) {
|
|
162
|
+
return deserializeIntoExternalItemContent;
|
|
163
|
+
}
|
|
164
|
+
exports.createExternalItemContentFromDiscriminatorValue = createExternalItemContentFromDiscriminatorValue;
|
|
165
|
+
/**
|
|
166
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
167
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
168
|
+
* @returns a externalItem
|
|
169
|
+
*/
|
|
170
|
+
function createExternalItemFromDiscriminatorValue(parseNode) {
|
|
171
|
+
return deserializeIntoExternalItem;
|
|
172
|
+
}
|
|
173
|
+
exports.createExternalItemFromDiscriminatorValue = createExternalItemFromDiscriminatorValue;
|
|
174
|
+
/**
|
|
175
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
176
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
177
|
+
* @returns a identityCollectionResponse
|
|
178
|
+
*/
|
|
179
|
+
function createIdentityCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
180
|
+
return deserializeIntoIdentityCollectionResponse;
|
|
181
|
+
}
|
|
182
|
+
exports.createIdentityCollectionResponseFromDiscriminatorValue = createIdentityCollectionResponseFromDiscriminatorValue;
|
|
183
|
+
/**
|
|
184
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
185
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
186
|
+
* @returns a identity
|
|
187
|
+
*/
|
|
188
|
+
function createIdentityFromDiscriminatorValue(parseNode) {
|
|
189
|
+
return deserializeIntoIdentity;
|
|
190
|
+
}
|
|
191
|
+
exports.createIdentityFromDiscriminatorValue = createIdentityFromDiscriminatorValue;
|
|
192
|
+
/**
|
|
193
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
194
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
195
|
+
* @returns a itemIdResolver
|
|
196
|
+
*/
|
|
197
|
+
function createItemIdResolverFromDiscriminatorValue(parseNode) {
|
|
198
|
+
return deserializeIntoItemIdResolver;
|
|
199
|
+
}
|
|
200
|
+
exports.createItemIdResolverFromDiscriminatorValue = createItemIdResolverFromDiscriminatorValue;
|
|
201
|
+
/**
|
|
202
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
203
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
204
|
+
* @returns a properties
|
|
205
|
+
*/
|
|
206
|
+
function createPropertiesFromDiscriminatorValue(parseNode) {
|
|
207
|
+
return deserializeIntoProperties;
|
|
208
|
+
}
|
|
209
|
+
exports.createPropertiesFromDiscriminatorValue = createPropertiesFromDiscriminatorValue;
|
|
210
|
+
/**
|
|
211
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
212
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
213
|
+
* @returns a property
|
|
214
|
+
*/
|
|
215
|
+
function createPropertyFromDiscriminatorValue(parseNode) {
|
|
216
|
+
return deserializeIntoProperty;
|
|
217
|
+
}
|
|
218
|
+
exports.createPropertyFromDiscriminatorValue = createPropertyFromDiscriminatorValue;
|
|
219
|
+
/**
|
|
220
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
221
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
222
|
+
* @returns a propertyRule
|
|
223
|
+
*/
|
|
224
|
+
function createPropertyRuleFromDiscriminatorValue(parseNode) {
|
|
225
|
+
return deserializeIntoPropertyRule;
|
|
226
|
+
}
|
|
227
|
+
exports.createPropertyRuleFromDiscriminatorValue = createPropertyRuleFromDiscriminatorValue;
|
|
228
|
+
/**
|
|
229
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
230
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
231
|
+
* @returns a schema
|
|
232
|
+
*/
|
|
233
|
+
function createSchemaFromDiscriminatorValue(parseNode) {
|
|
234
|
+
return deserializeIntoSchema;
|
|
235
|
+
}
|
|
236
|
+
exports.createSchemaFromDiscriminatorValue = createSchemaFromDiscriminatorValue;
|
|
237
|
+
/**
|
|
238
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
239
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
240
|
+
* @returns a searchSettings
|
|
241
|
+
*/
|
|
242
|
+
function createSearchSettingsFromDiscriminatorValue(parseNode) {
|
|
243
|
+
return deserializeIntoSearchSettings;
|
|
244
|
+
}
|
|
245
|
+
exports.createSearchSettingsFromDiscriminatorValue = createSearchSettingsFromDiscriminatorValue;
|
|
246
|
+
/**
|
|
247
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
248
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
249
|
+
* @returns a urlMatchInfo
|
|
250
|
+
*/
|
|
251
|
+
function createUrlMatchInfoFromDiscriminatorValue(parseNode) {
|
|
252
|
+
return deserializeIntoUrlMatchInfo;
|
|
253
|
+
}
|
|
254
|
+
exports.createUrlMatchInfoFromDiscriminatorValue = createUrlMatchInfoFromDiscriminatorValue;
|
|
255
|
+
/**
|
|
256
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
257
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
258
|
+
* @returns a urlToItemResolverBase
|
|
259
|
+
*/
|
|
260
|
+
function createUrlToItemResolverBaseFromDiscriminatorValue(parseNode) {
|
|
261
|
+
if (!parseNode)
|
|
262
|
+
throw new Error("parseNode cannot be undefined");
|
|
263
|
+
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
264
|
+
if (mappingValueNode) {
|
|
265
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
266
|
+
if (mappingValue) {
|
|
267
|
+
switch (mappingValue) {
|
|
268
|
+
case "#microsoft.graph.externalConnectors.itemIdResolver":
|
|
269
|
+
return deserializeIntoItemIdResolver;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return deserializeIntoUrlToItemResolverBase;
|
|
274
|
+
}
|
|
275
|
+
exports.createUrlToItemResolverBaseFromDiscriminatorValue = createUrlToItemResolverBaseFromDiscriminatorValue;
|
|
276
|
+
/**
|
|
277
|
+
* The deserialization information for the current model
|
|
278
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
279
|
+
*/
|
|
280
|
+
function deserializeIntoAcl(acl = {}) {
|
|
281
|
+
return {
|
|
282
|
+
"accessType": n => { acl.accessType = n.getEnumValue(exports.AccessTypeObject); },
|
|
283
|
+
"backingStoreEnabled": n => { acl.backingStoreEnabled = true; },
|
|
284
|
+
"@odata.type": n => { acl.odataType = n.getStringValue(); },
|
|
285
|
+
"type": n => { acl.type = n.getEnumValue(exports.AclTypeObject); },
|
|
286
|
+
"value": n => { acl.value = n.getStringValue(); },
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
exports.deserializeIntoAcl = deserializeIntoAcl;
|
|
290
|
+
/**
|
|
291
|
+
* The deserialization information for the current model
|
|
292
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
293
|
+
*/
|
|
294
|
+
function deserializeIntoActivitySettings(activitySettings = {}) {
|
|
295
|
+
return {
|
|
296
|
+
"backingStoreEnabled": n => { activitySettings.backingStoreEnabled = true; },
|
|
297
|
+
"@odata.type": n => { activitySettings.odataType = n.getStringValue(); },
|
|
298
|
+
"urlToItemResolvers": n => { activitySettings.urlToItemResolvers = n.getCollectionOfObjectValues(createUrlToItemResolverBaseFromDiscriminatorValue); },
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
exports.deserializeIntoActivitySettings = deserializeIntoActivitySettings;
|
|
302
|
+
/**
|
|
303
|
+
* The deserialization information for the current model
|
|
304
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
305
|
+
*/
|
|
306
|
+
function deserializeIntoConfiguration(configuration = {}) {
|
|
307
|
+
return {
|
|
308
|
+
"authorizedAppIds": n => { configuration.authorizedAppIds = n.getCollectionOfPrimitiveValues(); },
|
|
309
|
+
"backingStoreEnabled": n => { configuration.backingStoreEnabled = true; },
|
|
310
|
+
"@odata.type": n => { configuration.odataType = n.getStringValue(); },
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
exports.deserializeIntoConfiguration = deserializeIntoConfiguration;
|
|
314
|
+
/**
|
|
315
|
+
* The deserialization information for the current model
|
|
316
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
317
|
+
*/
|
|
318
|
+
function deserializeIntoConnectionOperation(connectionOperation = {}) {
|
|
319
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(connectionOperation)), { "error": n => { connectionOperation.errorEscaped = n.getObjectValue(__1.createPublicErrorFromDiscriminatorValue); }, "status": n => { connectionOperation.status = n.getEnumValue(exports.ConnectionOperationStatusObject); } });
|
|
320
|
+
}
|
|
321
|
+
exports.deserializeIntoConnectionOperation = deserializeIntoConnectionOperation;
|
|
322
|
+
/**
|
|
323
|
+
* The deserialization information for the current model
|
|
324
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
325
|
+
*/
|
|
326
|
+
function deserializeIntoConnectionOperationCollectionResponse(connectionOperationCollectionResponse = {}) {
|
|
327
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(connectionOperationCollectionResponse)), { "value": n => { connectionOperationCollectionResponse.value = n.getCollectionOfObjectValues(createConnectionOperationFromDiscriminatorValue); } });
|
|
328
|
+
}
|
|
329
|
+
exports.deserializeIntoConnectionOperationCollectionResponse = deserializeIntoConnectionOperationCollectionResponse;
|
|
330
|
+
/**
|
|
331
|
+
* The deserialization information for the current model
|
|
332
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
333
|
+
*/
|
|
334
|
+
function deserializeIntoDisplayTemplate(displayTemplate = {}) {
|
|
335
|
+
return {
|
|
336
|
+
"backingStoreEnabled": n => { displayTemplate.backingStoreEnabled = true; },
|
|
337
|
+
"id": n => { displayTemplate.id = n.getStringValue(); },
|
|
338
|
+
"layout": n => { displayTemplate.layout = n.getObjectValue(__1.createJsonFromDiscriminatorValue); },
|
|
339
|
+
"@odata.type": n => { displayTemplate.odataType = n.getStringValue(); },
|
|
340
|
+
"priority": n => { displayTemplate.priority = n.getNumberValue(); },
|
|
341
|
+
"rules": n => { displayTemplate.rules = n.getCollectionOfObjectValues(createPropertyRuleFromDiscriminatorValue); },
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
exports.deserializeIntoDisplayTemplate = deserializeIntoDisplayTemplate;
|
|
345
|
+
/**
|
|
346
|
+
* The deserialization information for the current model
|
|
347
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
348
|
+
*/
|
|
349
|
+
function deserializeIntoExternal(external = {}) {
|
|
350
|
+
return {
|
|
351
|
+
"backingStoreEnabled": n => { external.backingStoreEnabled = true; },
|
|
352
|
+
"connections": n => { external.connections = n.getCollectionOfObjectValues(createExternalConnectionFromDiscriminatorValue); },
|
|
353
|
+
"@odata.type": n => { external.odataType = n.getStringValue(); },
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
exports.deserializeIntoExternal = deserializeIntoExternal;
|
|
357
|
+
/**
|
|
358
|
+
* The deserialization information for the current model
|
|
359
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
360
|
+
*/
|
|
361
|
+
function deserializeIntoExternalActivity(externalActivity = {}) {
|
|
362
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(externalActivity)), { "performedBy": n => { externalActivity.performedBy = n.getObjectValue(createIdentityFromDiscriminatorValue); }, "startDateTime": n => { externalActivity.startDateTime = n.getDateValue(); }, "type": n => { externalActivity.type = n.getEnumValue(exports.ExternalActivityTypeObject); } });
|
|
363
|
+
}
|
|
364
|
+
exports.deserializeIntoExternalActivity = deserializeIntoExternalActivity;
|
|
365
|
+
/**
|
|
366
|
+
* The deserialization information for the current model
|
|
367
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
368
|
+
*/
|
|
369
|
+
function deserializeIntoExternalActivityCollectionResponse(externalActivityCollectionResponse = {}) {
|
|
370
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(externalActivityCollectionResponse)), { "value": n => { externalActivityCollectionResponse.value = n.getCollectionOfObjectValues(createExternalActivityFromDiscriminatorValue); } });
|
|
371
|
+
}
|
|
372
|
+
exports.deserializeIntoExternalActivityCollectionResponse = deserializeIntoExternalActivityCollectionResponse;
|
|
373
|
+
/**
|
|
374
|
+
* The deserialization information for the current model
|
|
375
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
376
|
+
*/
|
|
377
|
+
function deserializeIntoExternalActivityResult(externalActivityResult = {}) {
|
|
378
|
+
return Object.assign(Object.assign({}, deserializeIntoExternalActivity(externalActivityResult)), { "error": n => { externalActivityResult.errorEscaped = n.getObjectValue(__1.createPublicErrorFromDiscriminatorValue); } });
|
|
379
|
+
}
|
|
380
|
+
exports.deserializeIntoExternalActivityResult = deserializeIntoExternalActivityResult;
|
|
381
|
+
/**
|
|
382
|
+
* The deserialization information for the current model
|
|
383
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
384
|
+
*/
|
|
385
|
+
function deserializeIntoExternalConnection(externalConnection = {}) {
|
|
386
|
+
return Object.assign(Object.assign({}, (0, __1.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(exports.ConnectionStateObject); } });
|
|
387
|
+
}
|
|
388
|
+
exports.deserializeIntoExternalConnection = deserializeIntoExternalConnection;
|
|
389
|
+
/**
|
|
390
|
+
* The deserialization information for the current model
|
|
391
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
392
|
+
*/
|
|
393
|
+
function deserializeIntoExternalConnectionCollectionResponse(externalConnectionCollectionResponse = {}) {
|
|
394
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(externalConnectionCollectionResponse)), { "value": n => { externalConnectionCollectionResponse.value = n.getCollectionOfObjectValues(createExternalConnectionFromDiscriminatorValue); } });
|
|
395
|
+
}
|
|
396
|
+
exports.deserializeIntoExternalConnectionCollectionResponse = deserializeIntoExternalConnectionCollectionResponse;
|
|
397
|
+
/**
|
|
398
|
+
* The deserialization information for the current model
|
|
399
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
400
|
+
*/
|
|
401
|
+
function deserializeIntoExternalGroup(externalGroup = {}) {
|
|
402
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(externalGroup)), { "description": n => { externalGroup.description = n.getStringValue(); }, "displayName": n => { externalGroup.displayName = n.getStringValue(); }, "members": n => { externalGroup.members = n.getCollectionOfObjectValues(createIdentityFromDiscriminatorValue); } });
|
|
403
|
+
}
|
|
404
|
+
exports.deserializeIntoExternalGroup = deserializeIntoExternalGroup;
|
|
405
|
+
/**
|
|
406
|
+
* The deserialization information for the current model
|
|
407
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
408
|
+
*/
|
|
409
|
+
function deserializeIntoExternalGroupCollectionResponse(externalGroupCollectionResponse = {}) {
|
|
410
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(externalGroupCollectionResponse)), { "value": n => { externalGroupCollectionResponse.value = n.getCollectionOfObjectValues(createExternalGroupFromDiscriminatorValue); } });
|
|
411
|
+
}
|
|
412
|
+
exports.deserializeIntoExternalGroupCollectionResponse = deserializeIntoExternalGroupCollectionResponse;
|
|
413
|
+
/**
|
|
414
|
+
* The deserialization information for the current model
|
|
415
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
416
|
+
*/
|
|
417
|
+
function deserializeIntoExternalItem(externalItem = {}) {
|
|
418
|
+
return Object.assign(Object.assign({}, (0, __1.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); } });
|
|
419
|
+
}
|
|
420
|
+
exports.deserializeIntoExternalItem = deserializeIntoExternalItem;
|
|
421
|
+
/**
|
|
422
|
+
* The deserialization information for the current model
|
|
423
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
424
|
+
*/
|
|
425
|
+
function deserializeIntoExternalItemCollectionResponse(externalItemCollectionResponse = {}) {
|
|
426
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(externalItemCollectionResponse)), { "value": n => { externalItemCollectionResponse.value = n.getCollectionOfObjectValues(createExternalItemFromDiscriminatorValue); } });
|
|
427
|
+
}
|
|
428
|
+
exports.deserializeIntoExternalItemCollectionResponse = deserializeIntoExternalItemCollectionResponse;
|
|
429
|
+
/**
|
|
430
|
+
* The deserialization information for the current model
|
|
431
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
432
|
+
*/
|
|
433
|
+
function deserializeIntoExternalItemContent(externalItemContent = {}) {
|
|
434
|
+
return {
|
|
435
|
+
"backingStoreEnabled": n => { externalItemContent.backingStoreEnabled = true; },
|
|
436
|
+
"@odata.type": n => { externalItemContent.odataType = n.getStringValue(); },
|
|
437
|
+
"type": n => { externalItemContent.type = n.getEnumValue(exports.ExternalItemContentTypeObject); },
|
|
438
|
+
"value": n => { externalItemContent.value = n.getStringValue(); },
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
exports.deserializeIntoExternalItemContent = deserializeIntoExternalItemContent;
|
|
442
|
+
/**
|
|
443
|
+
* The deserialization information for the current model
|
|
444
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
445
|
+
*/
|
|
446
|
+
function deserializeIntoIdentity(identity = {}) {
|
|
447
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(identity)), { "type": n => { identity.type = n.getEnumValue(exports.IdentityTypeObject); } });
|
|
448
|
+
}
|
|
449
|
+
exports.deserializeIntoIdentity = deserializeIntoIdentity;
|
|
450
|
+
/**
|
|
451
|
+
* The deserialization information for the current model
|
|
452
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
453
|
+
*/
|
|
454
|
+
function deserializeIntoIdentityCollectionResponse(identityCollectionResponse = {}) {
|
|
455
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(identityCollectionResponse)), { "value": n => { identityCollectionResponse.value = n.getCollectionOfObjectValues(createIdentityFromDiscriminatorValue); } });
|
|
456
|
+
}
|
|
457
|
+
exports.deserializeIntoIdentityCollectionResponse = deserializeIntoIdentityCollectionResponse;
|
|
458
|
+
/**
|
|
459
|
+
* The deserialization information for the current model
|
|
460
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
461
|
+
*/
|
|
462
|
+
function deserializeIntoItemIdResolver(itemIdResolver = {}) {
|
|
463
|
+
return Object.assign(Object.assign({}, deserializeIntoUrlToItemResolverBase(itemIdResolver)), { "itemId": n => { itemIdResolver.itemId = n.getStringValue(); }, "urlMatchInfo": n => { itemIdResolver.urlMatchInfo = n.getObjectValue(createUrlMatchInfoFromDiscriminatorValue); } });
|
|
464
|
+
}
|
|
465
|
+
exports.deserializeIntoItemIdResolver = deserializeIntoItemIdResolver;
|
|
466
|
+
/**
|
|
467
|
+
* The deserialization information for the current model
|
|
468
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
469
|
+
*/
|
|
470
|
+
function deserializeIntoProperties(properties = {}) {
|
|
471
|
+
return {
|
|
472
|
+
"backingStoreEnabled": n => { properties.backingStoreEnabled = true; },
|
|
473
|
+
"@odata.type": n => { properties.odataType = n.getStringValue(); },
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
exports.deserializeIntoProperties = deserializeIntoProperties;
|
|
477
|
+
/**
|
|
478
|
+
* The deserialization information for the current model
|
|
479
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
480
|
+
*/
|
|
481
|
+
function deserializeIntoProperty(property = {}) {
|
|
482
|
+
return {
|
|
483
|
+
"aliases": n => { property.aliases = n.getCollectionOfPrimitiveValues(); },
|
|
484
|
+
"backingStoreEnabled": n => { property.backingStoreEnabled = true; },
|
|
485
|
+
"isQueryable": n => { property.isQueryable = n.getBooleanValue(); },
|
|
486
|
+
"isRefinable": n => { property.isRefinable = n.getBooleanValue(); },
|
|
487
|
+
"isRetrievable": n => { property.isRetrievable = n.getBooleanValue(); },
|
|
488
|
+
"isSearchable": n => { property.isSearchable = n.getBooleanValue(); },
|
|
489
|
+
"labels": n => { property.labels = n.getCollectionOfEnumValues(exports.LabelObject); },
|
|
490
|
+
"name": n => { property.name = n.getStringValue(); },
|
|
491
|
+
"@odata.type": n => { property.odataType = n.getStringValue(); },
|
|
492
|
+
"type": n => { property.type = n.getEnumValue(exports.PropertyTypeObject); },
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
exports.deserializeIntoProperty = deserializeIntoProperty;
|
|
496
|
+
/**
|
|
497
|
+
* The deserialization information for the current model
|
|
498
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
499
|
+
*/
|
|
500
|
+
function deserializeIntoPropertyRule(propertyRule = {}) {
|
|
501
|
+
return {
|
|
502
|
+
"backingStoreEnabled": n => { propertyRule.backingStoreEnabled = true; },
|
|
503
|
+
"@odata.type": n => { propertyRule.odataType = n.getStringValue(); },
|
|
504
|
+
"operation": n => { propertyRule.operation = n.getEnumValue(exports.RuleOperationObject); },
|
|
505
|
+
"property": n => { propertyRule.property = n.getStringValue(); },
|
|
506
|
+
"values": n => { propertyRule.values = n.getCollectionOfPrimitiveValues(); },
|
|
507
|
+
"valuesJoinedBy": n => { propertyRule.valuesJoinedBy = n.getEnumValue(__1.BinaryOperatorObject); },
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
exports.deserializeIntoPropertyRule = deserializeIntoPropertyRule;
|
|
511
|
+
/**
|
|
512
|
+
* The deserialization information for the current model
|
|
513
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
514
|
+
*/
|
|
515
|
+
function deserializeIntoSchema(schema = {}) {
|
|
516
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(schema)), { "baseType": n => { schema.baseType = n.getStringValue(); }, "properties": n => { schema.properties = n.getCollectionOfObjectValues(createPropertyFromDiscriminatorValue); } });
|
|
517
|
+
}
|
|
518
|
+
exports.deserializeIntoSchema = deserializeIntoSchema;
|
|
519
|
+
/**
|
|
520
|
+
* The deserialization information for the current model
|
|
521
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
522
|
+
*/
|
|
523
|
+
function deserializeIntoSearchSettings(searchSettings = {}) {
|
|
524
|
+
return {
|
|
525
|
+
"backingStoreEnabled": n => { searchSettings.backingStoreEnabled = true; },
|
|
526
|
+
"@odata.type": n => { searchSettings.odataType = n.getStringValue(); },
|
|
527
|
+
"searchResultTemplates": n => { searchSettings.searchResultTemplates = n.getCollectionOfObjectValues(createDisplayTemplateFromDiscriminatorValue); },
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
exports.deserializeIntoSearchSettings = deserializeIntoSearchSettings;
|
|
531
|
+
/**
|
|
532
|
+
* The deserialization information for the current model
|
|
533
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
534
|
+
*/
|
|
535
|
+
function deserializeIntoUrlMatchInfo(urlMatchInfo = {}) {
|
|
536
|
+
return {
|
|
537
|
+
"backingStoreEnabled": n => { urlMatchInfo.backingStoreEnabled = true; },
|
|
538
|
+
"baseUrls": n => { urlMatchInfo.baseUrls = n.getCollectionOfPrimitiveValues(); },
|
|
539
|
+
"@odata.type": n => { urlMatchInfo.odataType = n.getStringValue(); },
|
|
540
|
+
"urlPattern": n => { urlMatchInfo.urlPattern = n.getStringValue(); },
|
|
541
|
+
};
|
|
542
|
+
}
|
|
543
|
+
exports.deserializeIntoUrlMatchInfo = deserializeIntoUrlMatchInfo;
|
|
544
|
+
/**
|
|
545
|
+
* The deserialization information for the current model
|
|
546
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
547
|
+
*/
|
|
548
|
+
function deserializeIntoUrlToItemResolverBase(urlToItemResolverBase = {}) {
|
|
549
|
+
return {
|
|
550
|
+
"backingStoreEnabled": n => { urlToItemResolverBase.backingStoreEnabled = true; },
|
|
551
|
+
"@odata.type": n => { urlToItemResolverBase.odataType = n.getStringValue(); },
|
|
552
|
+
"priority": n => { urlToItemResolverBase.priority = n.getNumberValue(); },
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
exports.deserializeIntoUrlToItemResolverBase = deserializeIntoUrlToItemResolverBase;
|
|
556
|
+
/**
|
|
557
|
+
* Serializes information the current object
|
|
558
|
+
* @param writer Serialization writer to use to serialize this model
|
|
559
|
+
*/
|
|
560
|
+
function serializeAcl(writer, acl = {}) {
|
|
561
|
+
writer.writeEnumValue("accessType", acl.accessType);
|
|
562
|
+
writer.writeStringValue("@odata.type", acl.odataType);
|
|
563
|
+
writer.writeEnumValue("type", acl.type);
|
|
564
|
+
writer.writeStringValue("value", acl.value);
|
|
565
|
+
writer.writeAdditionalData(acl.additionalData);
|
|
566
|
+
}
|
|
567
|
+
exports.serializeAcl = serializeAcl;
|
|
568
|
+
/**
|
|
569
|
+
* Serializes information the current object
|
|
570
|
+
* @param writer Serialization writer to use to serialize this model
|
|
571
|
+
*/
|
|
572
|
+
function serializeActivitySettings(writer, activitySettings = {}) {
|
|
573
|
+
writer.writeStringValue("@odata.type", activitySettings.odataType);
|
|
574
|
+
writer.writeCollectionOfObjectValues("urlToItemResolvers", activitySettings.urlToItemResolvers, serializeUrlToItemResolverBase);
|
|
575
|
+
writer.writeAdditionalData(activitySettings.additionalData);
|
|
576
|
+
}
|
|
577
|
+
exports.serializeActivitySettings = serializeActivitySettings;
|
|
578
|
+
/**
|
|
579
|
+
* Serializes information the current object
|
|
580
|
+
* @param writer Serialization writer to use to serialize this model
|
|
581
|
+
*/
|
|
582
|
+
function serializeConfiguration(writer, configuration = {}) {
|
|
583
|
+
writer.writeCollectionOfPrimitiveValues("authorizedAppIds", configuration.authorizedAppIds);
|
|
584
|
+
writer.writeStringValue("@odata.type", configuration.odataType);
|
|
585
|
+
writer.writeAdditionalData(configuration.additionalData);
|
|
586
|
+
}
|
|
587
|
+
exports.serializeConfiguration = serializeConfiguration;
|
|
588
|
+
/**
|
|
589
|
+
* Serializes information the current object
|
|
590
|
+
* @param writer Serialization writer to use to serialize this model
|
|
591
|
+
*/
|
|
592
|
+
function serializeConnectionOperation(writer, connectionOperation = {}) {
|
|
593
|
+
(0, __1.serializeEntity)(writer, connectionOperation);
|
|
594
|
+
writer.writeObjectValue("error", connectionOperation.errorEscaped, __1.serializePublicError);
|
|
595
|
+
writer.writeEnumValue("status", connectionOperation.status);
|
|
596
|
+
}
|
|
597
|
+
exports.serializeConnectionOperation = serializeConnectionOperation;
|
|
598
|
+
/**
|
|
599
|
+
* Serializes information the current object
|
|
600
|
+
* @param writer Serialization writer to use to serialize this model
|
|
601
|
+
*/
|
|
602
|
+
function serializeConnectionOperationCollectionResponse(writer, connectionOperationCollectionResponse = {}) {
|
|
603
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, connectionOperationCollectionResponse);
|
|
604
|
+
writer.writeCollectionOfObjectValues("value", connectionOperationCollectionResponse.value, serializeConnectionOperation);
|
|
605
|
+
}
|
|
606
|
+
exports.serializeConnectionOperationCollectionResponse = serializeConnectionOperationCollectionResponse;
|
|
607
|
+
/**
|
|
608
|
+
* Serializes information the current object
|
|
609
|
+
* @param writer Serialization writer to use to serialize this model
|
|
610
|
+
*/
|
|
611
|
+
function serializeDisplayTemplate(writer, displayTemplate = {}) {
|
|
612
|
+
writer.writeStringValue("id", displayTemplate.id);
|
|
613
|
+
writer.writeObjectValue("layout", displayTemplate.layout, __1.serializeJson);
|
|
614
|
+
writer.writeStringValue("@odata.type", displayTemplate.odataType);
|
|
615
|
+
writer.writeNumberValue("priority", displayTemplate.priority);
|
|
616
|
+
writer.writeCollectionOfObjectValues("rules", displayTemplate.rules, serializePropertyRule);
|
|
617
|
+
writer.writeAdditionalData(displayTemplate.additionalData);
|
|
618
|
+
}
|
|
619
|
+
exports.serializeDisplayTemplate = serializeDisplayTemplate;
|
|
620
|
+
/**
|
|
621
|
+
* Serializes information the current object
|
|
622
|
+
* @param writer Serialization writer to use to serialize this model
|
|
623
|
+
*/
|
|
624
|
+
function serializeExternal(writer, external = {}) {
|
|
625
|
+
writer.writeCollectionOfObjectValues("connections", external.connections, serializeExternalConnection);
|
|
626
|
+
writer.writeStringValue("@odata.type", external.odataType);
|
|
627
|
+
writer.writeAdditionalData(external.additionalData);
|
|
628
|
+
}
|
|
629
|
+
exports.serializeExternal = serializeExternal;
|
|
630
|
+
/**
|
|
631
|
+
* Serializes information the current object
|
|
632
|
+
* @param writer Serialization writer to use to serialize this model
|
|
633
|
+
*/
|
|
634
|
+
function serializeExternalActivity(writer, externalActivity = {}) {
|
|
635
|
+
(0, __1.serializeEntity)(writer, externalActivity);
|
|
636
|
+
writer.writeObjectValue("performedBy", externalActivity.performedBy, serializeIdentity);
|
|
637
|
+
writer.writeDateValue("startDateTime", externalActivity.startDateTime);
|
|
638
|
+
writer.writeEnumValue("type", externalActivity.type);
|
|
639
|
+
}
|
|
640
|
+
exports.serializeExternalActivity = serializeExternalActivity;
|
|
641
|
+
/**
|
|
642
|
+
* Serializes information the current object
|
|
643
|
+
* @param writer Serialization writer to use to serialize this model
|
|
644
|
+
*/
|
|
645
|
+
function serializeExternalActivityCollectionResponse(writer, externalActivityCollectionResponse = {}) {
|
|
646
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, externalActivityCollectionResponse);
|
|
647
|
+
writer.writeCollectionOfObjectValues("value", externalActivityCollectionResponse.value, serializeExternalActivity);
|
|
648
|
+
}
|
|
649
|
+
exports.serializeExternalActivityCollectionResponse = serializeExternalActivityCollectionResponse;
|
|
650
|
+
/**
|
|
651
|
+
* Serializes information the current object
|
|
652
|
+
* @param writer Serialization writer to use to serialize this model
|
|
653
|
+
*/
|
|
654
|
+
function serializeExternalActivityResult(writer, externalActivityResult = {}) {
|
|
655
|
+
serializeExternalActivity(writer, externalActivityResult);
|
|
656
|
+
writer.writeObjectValue("error", externalActivityResult.errorEscaped, __1.serializePublicError);
|
|
657
|
+
}
|
|
658
|
+
exports.serializeExternalActivityResult = serializeExternalActivityResult;
|
|
659
|
+
/**
|
|
660
|
+
* Serializes information the current object
|
|
661
|
+
* @param writer Serialization writer to use to serialize this model
|
|
662
|
+
*/
|
|
663
|
+
function serializeExternalConnection(writer, externalConnection = {}) {
|
|
664
|
+
(0, __1.serializeEntity)(writer, externalConnection);
|
|
665
|
+
writer.writeObjectValue("activitySettings", externalConnection.activitySettings, serializeActivitySettings);
|
|
666
|
+
writer.writeObjectValue("configuration", externalConnection.configuration, serializeConfiguration);
|
|
667
|
+
writer.writeStringValue("connectorId", externalConnection.connectorId);
|
|
668
|
+
writer.writeStringValue("description", externalConnection.description);
|
|
669
|
+
writer.writeCollectionOfObjectValues("groups", externalConnection.groups, serializeExternalGroup);
|
|
670
|
+
writer.writeCollectionOfObjectValues("items", externalConnection.items, serializeExternalItem);
|
|
671
|
+
writer.writeStringValue("name", externalConnection.name);
|
|
672
|
+
writer.writeCollectionOfObjectValues("operations", externalConnection.operations, serializeConnectionOperation);
|
|
673
|
+
writer.writeObjectValue("schema", externalConnection.schema, serializeSchema);
|
|
674
|
+
writer.writeObjectValue("searchSettings", externalConnection.searchSettings, serializeSearchSettings);
|
|
675
|
+
}
|
|
676
|
+
exports.serializeExternalConnection = serializeExternalConnection;
|
|
677
|
+
/**
|
|
678
|
+
* Serializes information the current object
|
|
679
|
+
* @param writer Serialization writer to use to serialize this model
|
|
680
|
+
*/
|
|
681
|
+
function serializeExternalConnectionCollectionResponse(writer, externalConnectionCollectionResponse = {}) {
|
|
682
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, externalConnectionCollectionResponse);
|
|
683
|
+
writer.writeCollectionOfObjectValues("value", externalConnectionCollectionResponse.value, serializeExternalConnection);
|
|
684
|
+
}
|
|
685
|
+
exports.serializeExternalConnectionCollectionResponse = serializeExternalConnectionCollectionResponse;
|
|
686
|
+
/**
|
|
687
|
+
* Serializes information the current object
|
|
688
|
+
* @param writer Serialization writer to use to serialize this model
|
|
689
|
+
*/
|
|
690
|
+
function serializeExternalGroup(writer, externalGroup = {}) {
|
|
691
|
+
(0, __1.serializeEntity)(writer, externalGroup);
|
|
692
|
+
writer.writeStringValue("description", externalGroup.description);
|
|
693
|
+
writer.writeStringValue("displayName", externalGroup.displayName);
|
|
694
|
+
writer.writeCollectionOfObjectValues("members", externalGroup.members, serializeIdentity);
|
|
695
|
+
}
|
|
696
|
+
exports.serializeExternalGroup = serializeExternalGroup;
|
|
697
|
+
/**
|
|
698
|
+
* Serializes information the current object
|
|
699
|
+
* @param writer Serialization writer to use to serialize this model
|
|
700
|
+
*/
|
|
701
|
+
function serializeExternalGroupCollectionResponse(writer, externalGroupCollectionResponse = {}) {
|
|
702
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, externalGroupCollectionResponse);
|
|
703
|
+
writer.writeCollectionOfObjectValues("value", externalGroupCollectionResponse.value, serializeExternalGroup);
|
|
704
|
+
}
|
|
705
|
+
exports.serializeExternalGroupCollectionResponse = serializeExternalGroupCollectionResponse;
|
|
706
|
+
/**
|
|
707
|
+
* Serializes information the current object
|
|
708
|
+
* @param writer Serialization writer to use to serialize this model
|
|
709
|
+
*/
|
|
710
|
+
function serializeExternalItem(writer, externalItem = {}) {
|
|
711
|
+
(0, __1.serializeEntity)(writer, externalItem);
|
|
712
|
+
writer.writeCollectionOfObjectValues("acl", externalItem.acl, serializeAcl);
|
|
713
|
+
writer.writeCollectionOfObjectValues("activities", externalItem.activities, serializeExternalActivity);
|
|
714
|
+
writer.writeObjectValue("content", externalItem.content, serializeExternalItemContent);
|
|
715
|
+
writer.writeObjectValue("properties", externalItem.properties, serializeProperties);
|
|
716
|
+
}
|
|
717
|
+
exports.serializeExternalItem = serializeExternalItem;
|
|
718
|
+
/**
|
|
719
|
+
* Serializes information the current object
|
|
720
|
+
* @param writer Serialization writer to use to serialize this model
|
|
721
|
+
*/
|
|
722
|
+
function serializeExternalItemCollectionResponse(writer, externalItemCollectionResponse = {}) {
|
|
723
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, externalItemCollectionResponse);
|
|
724
|
+
writer.writeCollectionOfObjectValues("value", externalItemCollectionResponse.value, serializeExternalItem);
|
|
725
|
+
}
|
|
726
|
+
exports.serializeExternalItemCollectionResponse = serializeExternalItemCollectionResponse;
|
|
727
|
+
/**
|
|
728
|
+
* Serializes information the current object
|
|
729
|
+
* @param writer Serialization writer to use to serialize this model
|
|
730
|
+
*/
|
|
731
|
+
function serializeExternalItemContent(writer, externalItemContent = {}) {
|
|
732
|
+
writer.writeStringValue("@odata.type", externalItemContent.odataType);
|
|
733
|
+
writer.writeEnumValue("type", externalItemContent.type);
|
|
734
|
+
writer.writeStringValue("value", externalItemContent.value);
|
|
735
|
+
writer.writeAdditionalData(externalItemContent.additionalData);
|
|
736
|
+
}
|
|
737
|
+
exports.serializeExternalItemContent = serializeExternalItemContent;
|
|
738
|
+
/**
|
|
739
|
+
* Serializes information the current object
|
|
740
|
+
* @param writer Serialization writer to use to serialize this model
|
|
741
|
+
*/
|
|
742
|
+
function serializeIdentity(writer, identity = {}) {
|
|
743
|
+
(0, __1.serializeEntity)(writer, identity);
|
|
744
|
+
writer.writeEnumValue("type", identity.type);
|
|
745
|
+
}
|
|
746
|
+
exports.serializeIdentity = serializeIdentity;
|
|
747
|
+
/**
|
|
748
|
+
* Serializes information the current object
|
|
749
|
+
* @param writer Serialization writer to use to serialize this model
|
|
750
|
+
*/
|
|
751
|
+
function serializeIdentityCollectionResponse(writer, identityCollectionResponse = {}) {
|
|
752
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, identityCollectionResponse);
|
|
753
|
+
writer.writeCollectionOfObjectValues("value", identityCollectionResponse.value, serializeIdentity);
|
|
754
|
+
}
|
|
755
|
+
exports.serializeIdentityCollectionResponse = serializeIdentityCollectionResponse;
|
|
756
|
+
/**
|
|
757
|
+
* Serializes information the current object
|
|
758
|
+
* @param writer Serialization writer to use to serialize this model
|
|
759
|
+
*/
|
|
760
|
+
function serializeItemIdResolver(writer, itemIdResolver = {}) {
|
|
761
|
+
serializeUrlToItemResolverBase(writer, itemIdResolver);
|
|
762
|
+
writer.writeStringValue("itemId", itemIdResolver.itemId);
|
|
763
|
+
writer.writeObjectValue("urlMatchInfo", itemIdResolver.urlMatchInfo, serializeUrlMatchInfo);
|
|
764
|
+
}
|
|
765
|
+
exports.serializeItemIdResolver = serializeItemIdResolver;
|
|
766
|
+
/**
|
|
767
|
+
* Serializes information the current object
|
|
768
|
+
* @param writer Serialization writer to use to serialize this model
|
|
769
|
+
*/
|
|
770
|
+
function serializeProperties(writer, properties = {}) {
|
|
771
|
+
writer.writeStringValue("@odata.type", properties.odataType);
|
|
772
|
+
writer.writeAdditionalData(properties.additionalData);
|
|
773
|
+
}
|
|
774
|
+
exports.serializeProperties = serializeProperties;
|
|
775
|
+
/**
|
|
776
|
+
* Serializes information the current object
|
|
777
|
+
* @param writer Serialization writer to use to serialize this model
|
|
778
|
+
*/
|
|
779
|
+
function serializeProperty(writer, property = {}) {
|
|
780
|
+
writer.writeCollectionOfPrimitiveValues("aliases", property.aliases);
|
|
781
|
+
writer.writeBooleanValue("isQueryable", property.isQueryable);
|
|
782
|
+
writer.writeBooleanValue("isRefinable", property.isRefinable);
|
|
783
|
+
writer.writeBooleanValue("isRetrievable", property.isRetrievable);
|
|
784
|
+
writer.writeBooleanValue("isSearchable", property.isSearchable);
|
|
785
|
+
if (property.labels)
|
|
786
|
+
writer.writeEnumValue("labels", ...property.labels);
|
|
787
|
+
writer.writeStringValue("name", property.name);
|
|
788
|
+
writer.writeStringValue("@odata.type", property.odataType);
|
|
789
|
+
writer.writeEnumValue("type", property.type);
|
|
790
|
+
writer.writeAdditionalData(property.additionalData);
|
|
791
|
+
}
|
|
792
|
+
exports.serializeProperty = serializeProperty;
|
|
793
|
+
/**
|
|
794
|
+
* Serializes information the current object
|
|
795
|
+
* @param writer Serialization writer to use to serialize this model
|
|
796
|
+
*/
|
|
797
|
+
function serializePropertyRule(writer, propertyRule = {}) {
|
|
798
|
+
writer.writeStringValue("@odata.type", propertyRule.odataType);
|
|
799
|
+
writer.writeEnumValue("operation", propertyRule.operation);
|
|
800
|
+
writer.writeStringValue("property", propertyRule.property);
|
|
801
|
+
writer.writeCollectionOfPrimitiveValues("values", propertyRule.values);
|
|
802
|
+
writer.writeEnumValue("valuesJoinedBy", propertyRule.valuesJoinedBy);
|
|
803
|
+
writer.writeAdditionalData(propertyRule.additionalData);
|
|
804
|
+
}
|
|
805
|
+
exports.serializePropertyRule = serializePropertyRule;
|
|
806
|
+
/**
|
|
807
|
+
* Serializes information the current object
|
|
808
|
+
* @param writer Serialization writer to use to serialize this model
|
|
809
|
+
*/
|
|
810
|
+
function serializeSchema(writer, schema = {}) {
|
|
811
|
+
(0, __1.serializeEntity)(writer, schema);
|
|
812
|
+
writer.writeStringValue("baseType", schema.baseType);
|
|
813
|
+
writer.writeCollectionOfObjectValues("properties", schema.properties, serializeProperty);
|
|
814
|
+
}
|
|
815
|
+
exports.serializeSchema = serializeSchema;
|
|
816
|
+
/**
|
|
817
|
+
* Serializes information the current object
|
|
818
|
+
* @param writer Serialization writer to use to serialize this model
|
|
819
|
+
*/
|
|
820
|
+
function serializeSearchSettings(writer, searchSettings = {}) {
|
|
821
|
+
writer.writeStringValue("@odata.type", searchSettings.odataType);
|
|
822
|
+
writer.writeCollectionOfObjectValues("searchResultTemplates", searchSettings.searchResultTemplates, serializeDisplayTemplate);
|
|
823
|
+
writer.writeAdditionalData(searchSettings.additionalData);
|
|
824
|
+
}
|
|
825
|
+
exports.serializeSearchSettings = serializeSearchSettings;
|
|
826
|
+
/**
|
|
827
|
+
* Serializes information the current object
|
|
828
|
+
* @param writer Serialization writer to use to serialize this model
|
|
829
|
+
*/
|
|
830
|
+
function serializeUrlMatchInfo(writer, urlMatchInfo = {}) {
|
|
831
|
+
writer.writeCollectionOfPrimitiveValues("baseUrls", urlMatchInfo.baseUrls);
|
|
832
|
+
writer.writeStringValue("@odata.type", urlMatchInfo.odataType);
|
|
833
|
+
writer.writeStringValue("urlPattern", urlMatchInfo.urlPattern);
|
|
834
|
+
writer.writeAdditionalData(urlMatchInfo.additionalData);
|
|
835
|
+
}
|
|
836
|
+
exports.serializeUrlMatchInfo = serializeUrlMatchInfo;
|
|
837
|
+
/**
|
|
838
|
+
* Serializes information the current object
|
|
839
|
+
* @param writer Serialization writer to use to serialize this model
|
|
840
|
+
*/
|
|
841
|
+
function serializeUrlToItemResolverBase(writer, urlToItemResolverBase = {}) {
|
|
842
|
+
writer.writeStringValue("@odata.type", urlToItemResolverBase.odataType);
|
|
843
|
+
writer.writeNumberValue("priority", urlToItemResolverBase.priority);
|
|
844
|
+
writer.writeAdditionalData(urlToItemResolverBase.additionalData);
|
|
845
|
+
}
|
|
846
|
+
exports.serializeUrlToItemResolverBase = serializeUrlToItemResolverBase;
|
|
847
|
+
exports.AccessTypeObject = {
|
|
848
|
+
Grant: "grant",
|
|
849
|
+
Deny: "deny",
|
|
850
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
851
|
+
};
|
|
852
|
+
exports.AclTypeObject = {
|
|
853
|
+
User: "user",
|
|
854
|
+
Group: "group",
|
|
855
|
+
Everyone: "everyone",
|
|
856
|
+
EveryoneExceptGuests: "everyoneExceptGuests",
|
|
857
|
+
ExternalGroup: "externalGroup",
|
|
858
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
859
|
+
};
|
|
860
|
+
exports.ConnectionOperationStatusObject = {
|
|
861
|
+
Unspecified: "unspecified",
|
|
862
|
+
Inprogress: "inprogress",
|
|
863
|
+
Completed: "completed",
|
|
864
|
+
Failed: "failed",
|
|
865
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
866
|
+
};
|
|
867
|
+
exports.ConnectionStateObject = {
|
|
868
|
+
Draft: "draft",
|
|
869
|
+
Ready: "ready",
|
|
870
|
+
Obsolete: "obsolete",
|
|
871
|
+
LimitExceeded: "limitExceeded",
|
|
872
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
873
|
+
};
|
|
874
|
+
exports.ExternalActivityTypeObject = {
|
|
875
|
+
Viewed: "viewed",
|
|
876
|
+
Modified: "modified",
|
|
877
|
+
Created: "created",
|
|
878
|
+
Commented: "commented",
|
|
879
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
880
|
+
};
|
|
881
|
+
exports.ExternalItemContentTypeObject = {
|
|
882
|
+
Text: "text",
|
|
883
|
+
Html: "html",
|
|
884
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
885
|
+
};
|
|
886
|
+
exports.IdentityTypeObject = {
|
|
887
|
+
User: "user",
|
|
888
|
+
Group: "group",
|
|
889
|
+
ExternalGroup: "externalGroup",
|
|
890
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
891
|
+
};
|
|
892
|
+
exports.LabelObject = {
|
|
893
|
+
Title: "title",
|
|
894
|
+
Url: "url",
|
|
895
|
+
CreatedBy: "createdBy",
|
|
896
|
+
LastModifiedBy: "lastModifiedBy",
|
|
897
|
+
Authors: "authors",
|
|
898
|
+
CreatedDateTime: "createdDateTime",
|
|
899
|
+
LastModifiedDateTime: "lastModifiedDateTime",
|
|
900
|
+
FileName: "fileName",
|
|
901
|
+
FileExtension: "fileExtension",
|
|
902
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
903
|
+
IconUrl: "iconUrl",
|
|
904
|
+
};
|
|
905
|
+
exports.PropertyTypeObject = {
|
|
906
|
+
String: "string",
|
|
907
|
+
Int64: "int64",
|
|
908
|
+
Double: "double",
|
|
909
|
+
DateTime: "dateTime",
|
|
910
|
+
Boolean: "boolean",
|
|
911
|
+
StringCollection: "stringCollection",
|
|
912
|
+
Int64Collection: "int64Collection",
|
|
913
|
+
DoubleCollection: "doubleCollection",
|
|
914
|
+
DateTimeCollection: "dateTimeCollection",
|
|
915
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
916
|
+
};
|
|
917
|
+
exports.RuleOperationObject = {
|
|
918
|
+
Equals: "equals",
|
|
919
|
+
NotEquals: "notEquals",
|
|
920
|
+
Contains: "contains",
|
|
921
|
+
NotContains: "notContains",
|
|
922
|
+
LessThan: "lessThan",
|
|
923
|
+
GreaterThan: "greaterThan",
|
|
924
|
+
StartsWith: "startsWith",
|
|
925
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
926
|
+
};
|
|
927
|
+
/* tslint:enable */
|
|
928
|
+
/* eslint-enable */
|