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