@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,63 +1,54 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.serializeEndpoint = exports.serializeDirectRoutingLogRow = exports.serializeDeviceInfo = exports.serializeClientUserAgent = exports.serializeCallRecordCollectionResponse = exports.serializeCallRecord = exports.deserializeIntoUserFeedback = exports.deserializeIntoUserAgent = exports.deserializeIntoTraceRouteHop = exports.deserializeIntoSessionCollectionResponse = exports.deserializeIntoSession = exports.deserializeIntoServiceUserAgent = exports.deserializeIntoServiceEndpoint = exports.deserializeIntoSegmentCollectionResponse = exports.deserializeIntoSegment = exports.deserializeIntoPstnCallLogRow = exports.deserializeIntoParticipantEndpoint = exports.deserializeIntoNetworkInfo = exports.deserializeIntoMediaStream = exports.deserializeIntoMedia = exports.deserializeIntoFeedbackTokenSet = exports.deserializeIntoFailureInfo = exports.deserializeIntoEndpoint = exports.deserializeIntoDirectRoutingLogRow = exports.deserializeIntoDeviceInfo = exports.deserializeIntoClientUserAgent = exports.deserializeIntoCallRecordCollectionResponse = exports.deserializeIntoCallRecord = exports.createUserFeedbackFromDiscriminatorValue = exports.createUserAgentFromDiscriminatorValue = exports.createTraceRouteHopFromDiscriminatorValue = exports.createSessionFromDiscriminatorValue = exports.createSessionCollectionResponseFromDiscriminatorValue = exports.createServiceUserAgentFromDiscriminatorValue = exports.createServiceEndpointFromDiscriminatorValue = exports.createSegmentFromDiscriminatorValue = exports.createSegmentCollectionResponseFromDiscriminatorValue = exports.createPstnCallLogRowFromDiscriminatorValue = exports.createParticipantEndpointFromDiscriminatorValue = exports.createNetworkInfoFromDiscriminatorValue = exports.createMediaStreamFromDiscriminatorValue = exports.createMediaFromDiscriminatorValue = exports.createFeedbackTokenSetFromDiscriminatorValue = exports.createFailureInfoFromDiscriminatorValue = exports.createEndpointFromDiscriminatorValue = exports.createDirectRoutingLogRowFromDiscriminatorValue = exports.createDeviceInfoFromDiscriminatorValue = exports.createClientUserAgentFromDiscriminatorValue = exports.createCallRecordFromDiscriminatorValue = exports.createCallRecordCollectionResponseFromDiscriminatorValue = void 0;
|
|
4
|
-
exports.WifiRadioTypeObject = exports.WifiBandObject = exports.VideoCodecObject = exports.UserFeedbackRatingObject = exports.ServiceRoleObject = exports.PstnCallDurationSourceObject = exports.ProductFamilyObject = exports.NetworkTransportProtocolObject = exports.NetworkConnectionTypeObject = exports.ModalityObject = exports.MediaStreamDirectionObject = exports.FailureStageObject = exports.ClientPlatformObject = exports.CallTypeObject = exports.AudioCodecObject = exports.serializeUserFeedback = exports.serializeUserAgent = exports.serializeTraceRouteHop = exports.serializeSessionCollectionResponse = exports.serializeSession = exports.serializeServiceUserAgent = exports.serializeServiceEndpoint = exports.serializeSegmentCollectionResponse = exports.serializeSegment = exports.serializePstnCallLogRow = exports.serializeParticipantEndpoint = exports.serializeNetworkInfo = exports.serializeMediaStream = exports.serializeMedia = exports.serializeFeedbackTokenSet = exports.serializeFailureInfo = void 0;
|
|
5
1
|
/* tslint:disable */
|
|
6
2
|
/* eslint-disable */
|
|
7
3
|
// Generated by Microsoft Kiota
|
|
8
4
|
// @ts-ignore
|
|
9
|
-
|
|
5
|
+
import { createCommunicationsIdentitySetFromDiscriminatorValue, createIdentityFromDiscriminatorValue, createIdentitySetFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, deserializeIntoEntity, deserializeIntoIdentity, serializeBaseCollectionPaginationCountResponse, serializeCommunicationsIdentitySet, serializeEntity, serializeIdentity, serializeIdentitySet } from '../index.js';
|
|
10
6
|
/**
|
|
11
7
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
12
8
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
13
9
|
* @returns {CallRecordCollectionResponse}
|
|
14
10
|
*/
|
|
15
|
-
function createCallRecordCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
11
|
+
export function createCallRecordCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
16
12
|
return deserializeIntoCallRecordCollectionResponse;
|
|
17
13
|
}
|
|
18
|
-
exports.createCallRecordCollectionResponseFromDiscriminatorValue = createCallRecordCollectionResponseFromDiscriminatorValue;
|
|
19
14
|
/**
|
|
20
15
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
21
16
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
22
17
|
* @returns {CallRecord}
|
|
23
18
|
*/
|
|
24
|
-
function createCallRecordFromDiscriminatorValue(parseNode) {
|
|
19
|
+
export function createCallRecordFromDiscriminatorValue(parseNode) {
|
|
25
20
|
return deserializeIntoCallRecord;
|
|
26
21
|
}
|
|
27
|
-
exports.createCallRecordFromDiscriminatorValue = createCallRecordFromDiscriminatorValue;
|
|
28
22
|
/**
|
|
29
23
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
30
24
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
31
25
|
* @returns {ClientUserAgent}
|
|
32
26
|
*/
|
|
33
|
-
function createClientUserAgentFromDiscriminatorValue(parseNode) {
|
|
27
|
+
export function createClientUserAgentFromDiscriminatorValue(parseNode) {
|
|
34
28
|
return deserializeIntoClientUserAgent;
|
|
35
29
|
}
|
|
36
|
-
exports.createClientUserAgentFromDiscriminatorValue = createClientUserAgentFromDiscriminatorValue;
|
|
37
30
|
/**
|
|
38
31
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
39
32
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
40
33
|
* @returns {DeviceInfo}
|
|
41
34
|
*/
|
|
42
|
-
function createDeviceInfoFromDiscriminatorValue(parseNode) {
|
|
35
|
+
export function createDeviceInfoFromDiscriminatorValue(parseNode) {
|
|
43
36
|
return deserializeIntoDeviceInfo;
|
|
44
37
|
}
|
|
45
|
-
exports.createDeviceInfoFromDiscriminatorValue = createDeviceInfoFromDiscriminatorValue;
|
|
46
38
|
/**
|
|
47
39
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
48
40
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
49
41
|
* @returns {DirectRoutingLogRow}
|
|
50
42
|
*/
|
|
51
|
-
function createDirectRoutingLogRowFromDiscriminatorValue(parseNode) {
|
|
43
|
+
export function createDirectRoutingLogRowFromDiscriminatorValue(parseNode) {
|
|
52
44
|
return deserializeIntoDirectRoutingLogRow;
|
|
53
45
|
}
|
|
54
|
-
exports.createDirectRoutingLogRowFromDiscriminatorValue = createDirectRoutingLogRowFromDiscriminatorValue;
|
|
55
46
|
/**
|
|
56
47
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
57
48
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
58
49
|
* @returns {Endpoint}
|
|
59
50
|
*/
|
|
60
|
-
function createEndpointFromDiscriminatorValue(parseNode) {
|
|
51
|
+
export function createEndpointFromDiscriminatorValue(parseNode) {
|
|
61
52
|
if (!parseNode)
|
|
62
53
|
throw new Error("parseNode cannot be undefined");
|
|
63
54
|
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
@@ -74,139 +65,170 @@ function createEndpointFromDiscriminatorValue(parseNode) {
|
|
|
74
65
|
}
|
|
75
66
|
return deserializeIntoEndpoint;
|
|
76
67
|
}
|
|
77
|
-
exports.createEndpointFromDiscriminatorValue = createEndpointFromDiscriminatorValue;
|
|
78
68
|
/**
|
|
79
69
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
80
70
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
81
71
|
* @returns {FailureInfo}
|
|
82
72
|
*/
|
|
83
|
-
function createFailureInfoFromDiscriminatorValue(parseNode) {
|
|
73
|
+
export function createFailureInfoFromDiscriminatorValue(parseNode) {
|
|
84
74
|
return deserializeIntoFailureInfo;
|
|
85
75
|
}
|
|
86
|
-
exports.createFailureInfoFromDiscriminatorValue = createFailureInfoFromDiscriminatorValue;
|
|
87
76
|
/**
|
|
88
77
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
89
78
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
90
79
|
* @returns {FeedbackTokenSet}
|
|
91
80
|
*/
|
|
92
|
-
function createFeedbackTokenSetFromDiscriminatorValue(parseNode) {
|
|
81
|
+
export function createFeedbackTokenSetFromDiscriminatorValue(parseNode) {
|
|
93
82
|
return deserializeIntoFeedbackTokenSet;
|
|
94
83
|
}
|
|
95
|
-
exports.createFeedbackTokenSetFromDiscriminatorValue = createFeedbackTokenSetFromDiscriminatorValue;
|
|
96
84
|
/**
|
|
97
85
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
98
86
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
99
87
|
* @returns {Media}
|
|
100
88
|
*/
|
|
101
|
-
function createMediaFromDiscriminatorValue(parseNode) {
|
|
89
|
+
export function createMediaFromDiscriminatorValue(parseNode) {
|
|
102
90
|
return deserializeIntoMedia;
|
|
103
91
|
}
|
|
104
|
-
exports.createMediaFromDiscriminatorValue = createMediaFromDiscriminatorValue;
|
|
105
92
|
/**
|
|
106
93
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
107
94
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
108
95
|
* @returns {MediaStream}
|
|
109
96
|
*/
|
|
110
|
-
function createMediaStreamFromDiscriminatorValue(parseNode) {
|
|
97
|
+
export function createMediaStreamFromDiscriminatorValue(parseNode) {
|
|
111
98
|
return deserializeIntoMediaStream;
|
|
112
99
|
}
|
|
113
|
-
exports.createMediaStreamFromDiscriminatorValue = createMediaStreamFromDiscriminatorValue;
|
|
114
100
|
/**
|
|
115
101
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
116
102
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
117
103
|
* @returns {NetworkInfo}
|
|
118
104
|
*/
|
|
119
|
-
function createNetworkInfoFromDiscriminatorValue(parseNode) {
|
|
105
|
+
export function createNetworkInfoFromDiscriminatorValue(parseNode) {
|
|
120
106
|
return deserializeIntoNetworkInfo;
|
|
121
107
|
}
|
|
122
|
-
|
|
108
|
+
/**
|
|
109
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
110
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
111
|
+
* @returns {Organizer}
|
|
112
|
+
*/
|
|
113
|
+
export function createOrganizerFromDiscriminatorValue(parseNode) {
|
|
114
|
+
return deserializeIntoOrganizer;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
118
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
119
|
+
* @returns {ParticipantBase}
|
|
120
|
+
*/
|
|
121
|
+
export function createParticipantBaseFromDiscriminatorValue(parseNode) {
|
|
122
|
+
if (!parseNode)
|
|
123
|
+
throw new Error("parseNode cannot be undefined");
|
|
124
|
+
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
125
|
+
if (mappingValueNode) {
|
|
126
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
127
|
+
if (mappingValue) {
|
|
128
|
+
switch (mappingValue) {
|
|
129
|
+
case "#microsoft.graph.callRecords.organizer":
|
|
130
|
+
return deserializeIntoOrganizer;
|
|
131
|
+
case "#microsoft.graph.callRecords.participant":
|
|
132
|
+
return deserializeIntoParticipant;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return deserializeIntoParticipantBase;
|
|
137
|
+
}
|
|
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 {ParticipantCollectionResponse}
|
|
142
|
+
*/
|
|
143
|
+
export function createParticipantCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
144
|
+
return deserializeIntoParticipantCollectionResponse;
|
|
145
|
+
}
|
|
123
146
|
/**
|
|
124
147
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
125
148
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
126
149
|
* @returns {ParticipantEndpoint}
|
|
127
150
|
*/
|
|
128
|
-
function createParticipantEndpointFromDiscriminatorValue(parseNode) {
|
|
151
|
+
export function createParticipantEndpointFromDiscriminatorValue(parseNode) {
|
|
129
152
|
return deserializeIntoParticipantEndpoint;
|
|
130
153
|
}
|
|
131
|
-
|
|
154
|
+
/**
|
|
155
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
156
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
157
|
+
* @returns {Participant}
|
|
158
|
+
*/
|
|
159
|
+
export function createParticipantFromDiscriminatorValue(parseNode) {
|
|
160
|
+
return deserializeIntoParticipant;
|
|
161
|
+
}
|
|
132
162
|
/**
|
|
133
163
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
134
164
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
135
165
|
* @returns {PstnCallLogRow}
|
|
136
166
|
*/
|
|
137
|
-
function createPstnCallLogRowFromDiscriminatorValue(parseNode) {
|
|
167
|
+
export function createPstnCallLogRowFromDiscriminatorValue(parseNode) {
|
|
138
168
|
return deserializeIntoPstnCallLogRow;
|
|
139
169
|
}
|
|
140
|
-
exports.createPstnCallLogRowFromDiscriminatorValue = createPstnCallLogRowFromDiscriminatorValue;
|
|
141
170
|
/**
|
|
142
171
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
143
172
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
144
173
|
* @returns {SegmentCollectionResponse}
|
|
145
174
|
*/
|
|
146
|
-
function createSegmentCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
175
|
+
export function createSegmentCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
147
176
|
return deserializeIntoSegmentCollectionResponse;
|
|
148
177
|
}
|
|
149
|
-
exports.createSegmentCollectionResponseFromDiscriminatorValue = createSegmentCollectionResponseFromDiscriminatorValue;
|
|
150
178
|
/**
|
|
151
179
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
152
180
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
153
181
|
* @returns {Segment}
|
|
154
182
|
*/
|
|
155
|
-
function createSegmentFromDiscriminatorValue(parseNode) {
|
|
183
|
+
export function createSegmentFromDiscriminatorValue(parseNode) {
|
|
156
184
|
return deserializeIntoSegment;
|
|
157
185
|
}
|
|
158
|
-
exports.createSegmentFromDiscriminatorValue = createSegmentFromDiscriminatorValue;
|
|
159
186
|
/**
|
|
160
187
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
161
188
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
162
189
|
* @returns {ServiceEndpoint}
|
|
163
190
|
*/
|
|
164
|
-
function createServiceEndpointFromDiscriminatorValue(parseNode) {
|
|
191
|
+
export function createServiceEndpointFromDiscriminatorValue(parseNode) {
|
|
165
192
|
return deserializeIntoServiceEndpoint;
|
|
166
193
|
}
|
|
167
|
-
exports.createServiceEndpointFromDiscriminatorValue = createServiceEndpointFromDiscriminatorValue;
|
|
168
194
|
/**
|
|
169
195
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
170
196
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
171
197
|
* @returns {ServiceUserAgent}
|
|
172
198
|
*/
|
|
173
|
-
function createServiceUserAgentFromDiscriminatorValue(parseNode) {
|
|
199
|
+
export function createServiceUserAgentFromDiscriminatorValue(parseNode) {
|
|
174
200
|
return deserializeIntoServiceUserAgent;
|
|
175
201
|
}
|
|
176
|
-
exports.createServiceUserAgentFromDiscriminatorValue = createServiceUserAgentFromDiscriminatorValue;
|
|
177
202
|
/**
|
|
178
203
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
179
204
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
180
205
|
* @returns {SessionCollectionResponse}
|
|
181
206
|
*/
|
|
182
|
-
function createSessionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
207
|
+
export function createSessionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
183
208
|
return deserializeIntoSessionCollectionResponse;
|
|
184
209
|
}
|
|
185
|
-
exports.createSessionCollectionResponseFromDiscriminatorValue = createSessionCollectionResponseFromDiscriminatorValue;
|
|
186
210
|
/**
|
|
187
211
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
188
212
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
189
213
|
* @returns {Session}
|
|
190
214
|
*/
|
|
191
|
-
function createSessionFromDiscriminatorValue(parseNode) {
|
|
215
|
+
export function createSessionFromDiscriminatorValue(parseNode) {
|
|
192
216
|
return deserializeIntoSession;
|
|
193
217
|
}
|
|
194
|
-
exports.createSessionFromDiscriminatorValue = createSessionFromDiscriminatorValue;
|
|
195
218
|
/**
|
|
196
219
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
197
220
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
198
221
|
* @returns {TraceRouteHop}
|
|
199
222
|
*/
|
|
200
|
-
function createTraceRouteHopFromDiscriminatorValue(parseNode) {
|
|
223
|
+
export function createTraceRouteHopFromDiscriminatorValue(parseNode) {
|
|
201
224
|
return deserializeIntoTraceRouteHop;
|
|
202
225
|
}
|
|
203
|
-
exports.createTraceRouteHopFromDiscriminatorValue = createTraceRouteHopFromDiscriminatorValue;
|
|
204
226
|
/**
|
|
205
227
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
206
228
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
207
229
|
* @returns {UserAgent}
|
|
208
230
|
*/
|
|
209
|
-
function createUserAgentFromDiscriminatorValue(parseNode) {
|
|
231
|
+
export function createUserAgentFromDiscriminatorValue(parseNode) {
|
|
210
232
|
if (!parseNode)
|
|
211
233
|
throw new Error("parseNode cannot be undefined");
|
|
212
234
|
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
@@ -223,45 +245,48 @@ function createUserAgentFromDiscriminatorValue(parseNode) {
|
|
|
223
245
|
}
|
|
224
246
|
return deserializeIntoUserAgent;
|
|
225
247
|
}
|
|
226
|
-
exports.createUserAgentFromDiscriminatorValue = createUserAgentFromDiscriminatorValue;
|
|
227
248
|
/**
|
|
228
249
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
229
250
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
230
251
|
* @returns {UserFeedback}
|
|
231
252
|
*/
|
|
232
|
-
function createUserFeedbackFromDiscriminatorValue(parseNode) {
|
|
253
|
+
export function createUserFeedbackFromDiscriminatorValue(parseNode) {
|
|
233
254
|
return deserializeIntoUserFeedback;
|
|
234
255
|
}
|
|
235
|
-
|
|
256
|
+
/**
|
|
257
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
258
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
259
|
+
* @returns {UserIdentity}
|
|
260
|
+
*/
|
|
261
|
+
export function createUserIdentityFromDiscriminatorValue(parseNode) {
|
|
262
|
+
return deserializeIntoUserIdentity;
|
|
263
|
+
}
|
|
236
264
|
/**
|
|
237
265
|
* The deserialization information for the current model
|
|
238
266
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
239
267
|
*/
|
|
240
|
-
function deserializeIntoCallRecord(callRecord = {}) {
|
|
241
|
-
return Object.assign(Object.assign({},
|
|
268
|
+
export function deserializeIntoCallRecord(callRecord = {}) {
|
|
269
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(callRecord)), { "endDateTime": n => { callRecord.endDateTime = n.getDateValue(); }, "joinWebUrl": n => { callRecord.joinWebUrl = n.getStringValue(); }, "lastModifiedDateTime": n => { callRecord.lastModifiedDateTime = n.getDateValue(); }, "modalities": n => { callRecord.modalities = n.getCollectionOfEnumValues(ModalityObject); }, "organizer": n => { callRecord.organizer = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "organizer_v2": n => { callRecord.organizer_v2 = n.getObjectValue(createOrganizerFromDiscriminatorValue); }, "participants": n => { callRecord.participants = n.getCollectionOfObjectValues(createIdentitySetFromDiscriminatorValue); }, "participants_v2": n => { callRecord.participants_v2 = n.getCollectionOfObjectValues(createParticipantFromDiscriminatorValue); }, "sessions": n => { callRecord.sessions = n.getCollectionOfObjectValues(createSessionFromDiscriminatorValue); }, "startDateTime": n => { callRecord.startDateTime = n.getDateValue(); }, "type": n => { callRecord.type = n.getEnumValue(CallTypeObject); }, "version": n => { callRecord.version = n.getNumberValue(); } });
|
|
242
270
|
}
|
|
243
|
-
exports.deserializeIntoCallRecord = deserializeIntoCallRecord;
|
|
244
271
|
/**
|
|
245
272
|
* The deserialization information for the current model
|
|
246
273
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
247
274
|
*/
|
|
248
|
-
function deserializeIntoCallRecordCollectionResponse(callRecordCollectionResponse = {}) {
|
|
249
|
-
return Object.assign(Object.assign({},
|
|
275
|
+
export function deserializeIntoCallRecordCollectionResponse(callRecordCollectionResponse = {}) {
|
|
276
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(callRecordCollectionResponse)), { "value": n => { callRecordCollectionResponse.value = n.getCollectionOfObjectValues(createCallRecordFromDiscriminatorValue); } });
|
|
250
277
|
}
|
|
251
|
-
exports.deserializeIntoCallRecordCollectionResponse = deserializeIntoCallRecordCollectionResponse;
|
|
252
278
|
/**
|
|
253
279
|
* The deserialization information for the current model
|
|
254
280
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
255
281
|
*/
|
|
256
|
-
function deserializeIntoClientUserAgent(clientUserAgent = {}) {
|
|
257
|
-
return Object.assign(Object.assign({}, deserializeIntoUserAgent(clientUserAgent)), { "azureADAppId": n => { clientUserAgent.azureADAppId = n.getStringValue(); }, "communicationServiceId": n => { clientUserAgent.communicationServiceId = n.getStringValue(); }, "platform": n => { clientUserAgent.platform = n.getEnumValue(
|
|
282
|
+
export function deserializeIntoClientUserAgent(clientUserAgent = {}) {
|
|
283
|
+
return Object.assign(Object.assign({}, deserializeIntoUserAgent(clientUserAgent)), { "azureADAppId": n => { clientUserAgent.azureADAppId = n.getStringValue(); }, "communicationServiceId": n => { clientUserAgent.communicationServiceId = n.getStringValue(); }, "platform": n => { clientUserAgent.platform = n.getEnumValue(ClientPlatformObject); }, "productFamily": n => { clientUserAgent.productFamily = n.getEnumValue(ProductFamilyObject); } });
|
|
258
284
|
}
|
|
259
|
-
exports.deserializeIntoClientUserAgent = deserializeIntoClientUserAgent;
|
|
260
285
|
/**
|
|
261
286
|
* The deserialization information for the current model
|
|
262
287
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
263
288
|
*/
|
|
264
|
-
function deserializeIntoDeviceInfo(deviceInfo = {}) {
|
|
289
|
+
export function deserializeIntoDeviceInfo(deviceInfo = {}) {
|
|
265
290
|
return {
|
|
266
291
|
"backingStoreEnabled": n => { deviceInfo.backingStoreEnabled = true; },
|
|
267
292
|
"captureDeviceDriver": n => { deviceInfo.captureDeviceDriver = n.getStringValue(); },
|
|
@@ -288,12 +313,11 @@ function deserializeIntoDeviceInfo(deviceInfo = {}) {
|
|
|
288
313
|
"speakerGlitchRate": n => { deviceInfo.speakerGlitchRate = n.getNumberValue(); },
|
|
289
314
|
};
|
|
290
315
|
}
|
|
291
|
-
exports.deserializeIntoDeviceInfo = deserializeIntoDeviceInfo;
|
|
292
316
|
/**
|
|
293
317
|
* The deserialization information for the current model
|
|
294
318
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
295
319
|
*/
|
|
296
|
-
function deserializeIntoDirectRoutingLogRow(directRoutingLogRow = {}) {
|
|
320
|
+
export function deserializeIntoDirectRoutingLogRow(directRoutingLogRow = {}) {
|
|
297
321
|
return {
|
|
298
322
|
"backingStoreEnabled": n => { directRoutingLogRow.backingStoreEnabled = true; },
|
|
299
323
|
"calleeNumber": n => { directRoutingLogRow.calleeNumber = n.getStringValue(); },
|
|
@@ -320,48 +344,44 @@ function deserializeIntoDirectRoutingLogRow(directRoutingLogRow = {}) {
|
|
|
320
344
|
"userPrincipalName": n => { directRoutingLogRow.userPrincipalName = n.getStringValue(); },
|
|
321
345
|
};
|
|
322
346
|
}
|
|
323
|
-
exports.deserializeIntoDirectRoutingLogRow = deserializeIntoDirectRoutingLogRow;
|
|
324
347
|
/**
|
|
325
348
|
* The deserialization information for the current model
|
|
326
349
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
327
350
|
*/
|
|
328
|
-
function deserializeIntoEndpoint(endpoint = {}) {
|
|
351
|
+
export function deserializeIntoEndpoint(endpoint = {}) {
|
|
329
352
|
return {
|
|
330
353
|
"backingStoreEnabled": n => { endpoint.backingStoreEnabled = true; },
|
|
331
354
|
"@odata.type": n => { endpoint.odataType = n.getStringValue(); },
|
|
332
355
|
"userAgent": n => { endpoint.userAgent = n.getObjectValue(createUserAgentFromDiscriminatorValue); },
|
|
333
356
|
};
|
|
334
357
|
}
|
|
335
|
-
exports.deserializeIntoEndpoint = deserializeIntoEndpoint;
|
|
336
358
|
/**
|
|
337
359
|
* The deserialization information for the current model
|
|
338
360
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
339
361
|
*/
|
|
340
|
-
function deserializeIntoFailureInfo(failureInfo = {}) {
|
|
362
|
+
export function deserializeIntoFailureInfo(failureInfo = {}) {
|
|
341
363
|
return {
|
|
342
364
|
"backingStoreEnabled": n => { failureInfo.backingStoreEnabled = true; },
|
|
343
365
|
"@odata.type": n => { failureInfo.odataType = n.getStringValue(); },
|
|
344
366
|
"reason": n => { failureInfo.reason = n.getStringValue(); },
|
|
345
|
-
"stage": n => { failureInfo.stage = n.getEnumValue(
|
|
367
|
+
"stage": n => { failureInfo.stage = n.getEnumValue(FailureStageObject); },
|
|
346
368
|
};
|
|
347
369
|
}
|
|
348
|
-
exports.deserializeIntoFailureInfo = deserializeIntoFailureInfo;
|
|
349
370
|
/**
|
|
350
371
|
* The deserialization information for the current model
|
|
351
372
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
352
373
|
*/
|
|
353
|
-
function deserializeIntoFeedbackTokenSet(feedbackTokenSet = {}) {
|
|
374
|
+
export function deserializeIntoFeedbackTokenSet(feedbackTokenSet = {}) {
|
|
354
375
|
return {
|
|
355
376
|
"backingStoreEnabled": n => { feedbackTokenSet.backingStoreEnabled = true; },
|
|
356
377
|
"@odata.type": n => { feedbackTokenSet.odataType = n.getStringValue(); },
|
|
357
378
|
};
|
|
358
379
|
}
|
|
359
|
-
exports.deserializeIntoFeedbackTokenSet = deserializeIntoFeedbackTokenSet;
|
|
360
380
|
/**
|
|
361
381
|
* The deserialization information for the current model
|
|
362
382
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
363
383
|
*/
|
|
364
|
-
function deserializeIntoMedia(media = {}) {
|
|
384
|
+
export function deserializeIntoMedia(media = {}) {
|
|
365
385
|
return {
|
|
366
386
|
"backingStoreEnabled": n => { media.backingStoreEnabled = true; },
|
|
367
387
|
"calleeDevice": n => { media.calleeDevice = n.getObjectValue(createDeviceInfoFromDiscriminatorValue); },
|
|
@@ -373,14 +393,13 @@ function deserializeIntoMedia(media = {}) {
|
|
|
373
393
|
"streams": n => { media.streams = n.getCollectionOfObjectValues(createMediaStreamFromDiscriminatorValue); },
|
|
374
394
|
};
|
|
375
395
|
}
|
|
376
|
-
exports.deserializeIntoMedia = deserializeIntoMedia;
|
|
377
396
|
/**
|
|
378
397
|
* The deserialization information for the current model
|
|
379
398
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
380
399
|
*/
|
|
381
|
-
function deserializeIntoMediaStream(mediaStream = {}) {
|
|
400
|
+
export function deserializeIntoMediaStream(mediaStream = {}) {
|
|
382
401
|
return {
|
|
383
|
-
"audioCodec": n => { mediaStream.audioCodec = n.getEnumValue(
|
|
402
|
+
"audioCodec": n => { mediaStream.audioCodec = n.getEnumValue(AudioCodecObject); },
|
|
384
403
|
"averageAudioDegradation": n => { mediaStream.averageAudioDegradation = n.getNumberValue(); },
|
|
385
404
|
"averageAudioNetworkJitter": n => { mediaStream.averageAudioNetworkJitter = n.getDurationValue(); },
|
|
386
405
|
"averageBandwidthEstimate": n => { mediaStream.averageBandwidthEstimate = n.getNumberValue(); },
|
|
@@ -408,29 +427,28 @@ function deserializeIntoMediaStream(mediaStream = {}) {
|
|
|
408
427
|
"postForwardErrorCorrectionPacketLossRate": n => { mediaStream.postForwardErrorCorrectionPacketLossRate = n.getNumberValue(); },
|
|
409
428
|
"rmsFreezeDuration": n => { mediaStream.rmsFreezeDuration = n.getDurationValue(); },
|
|
410
429
|
"startDateTime": n => { mediaStream.startDateTime = n.getDateValue(); },
|
|
411
|
-
"streamDirection": n => { mediaStream.streamDirection = n.getEnumValue(
|
|
430
|
+
"streamDirection": n => { mediaStream.streamDirection = n.getEnumValue(MediaStreamDirectionObject); },
|
|
412
431
|
"streamId": n => { mediaStream.streamId = n.getStringValue(); },
|
|
413
|
-
"videoCodec": n => { mediaStream.videoCodec = n.getEnumValue(
|
|
432
|
+
"videoCodec": n => { mediaStream.videoCodec = n.getEnumValue(VideoCodecObject); },
|
|
414
433
|
"wasMediaBypassed": n => { mediaStream.wasMediaBypassed = n.getBooleanValue(); },
|
|
415
434
|
};
|
|
416
435
|
}
|
|
417
|
-
exports.deserializeIntoMediaStream = deserializeIntoMediaStream;
|
|
418
436
|
/**
|
|
419
437
|
* The deserialization information for the current model
|
|
420
438
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
421
439
|
*/
|
|
422
|
-
function deserializeIntoNetworkInfo(networkInfo = {}) {
|
|
440
|
+
export function deserializeIntoNetworkInfo(networkInfo = {}) {
|
|
423
441
|
return {
|
|
424
442
|
"backingStoreEnabled": n => { networkInfo.backingStoreEnabled = true; },
|
|
425
443
|
"bandwidthLowEventRatio": n => { networkInfo.bandwidthLowEventRatio = n.getNumberValue(); },
|
|
426
444
|
"basicServiceSetIdentifier": n => { networkInfo.basicServiceSetIdentifier = n.getStringValue(); },
|
|
427
|
-
"connectionType": n => { networkInfo.connectionType = n.getEnumValue(
|
|
445
|
+
"connectionType": n => { networkInfo.connectionType = n.getEnumValue(NetworkConnectionTypeObject); },
|
|
428
446
|
"delayEventRatio": n => { networkInfo.delayEventRatio = n.getNumberValue(); },
|
|
429
447
|
"dnsSuffix": n => { networkInfo.dnsSuffix = n.getStringValue(); },
|
|
430
448
|
"ipAddress": n => { networkInfo.ipAddress = n.getStringValue(); },
|
|
431
449
|
"linkSpeed": n => { networkInfo.linkSpeed = n.getNumberValue(); },
|
|
432
450
|
"macAddress": n => { networkInfo.macAddress = n.getStringValue(); },
|
|
433
|
-
"networkTransportProtocol": n => { networkInfo.networkTransportProtocol = n.getEnumValue(
|
|
451
|
+
"networkTransportProtocol": n => { networkInfo.networkTransportProtocol = n.getEnumValue(NetworkTransportProtocolObject); },
|
|
434
452
|
"@odata.type": n => { networkInfo.odataType = n.getStringValue(); },
|
|
435
453
|
"port": n => { networkInfo.port = n.getNumberValue(); },
|
|
436
454
|
"receivedQualityEventRatio": n => { networkInfo.receivedQualityEventRatio = n.getNumberValue(); },
|
|
@@ -440,34 +458,60 @@ function deserializeIntoNetworkInfo(networkInfo = {}) {
|
|
|
440
458
|
"sentQualityEventRatio": n => { networkInfo.sentQualityEventRatio = n.getNumberValue(); },
|
|
441
459
|
"subnet": n => { networkInfo.subnet = n.getStringValue(); },
|
|
442
460
|
"traceRouteHops": n => { networkInfo.traceRouteHops = n.getCollectionOfObjectValues(createTraceRouteHopFromDiscriminatorValue); },
|
|
443
|
-
"wifiBand": n => { networkInfo.wifiBand = n.getEnumValue(
|
|
461
|
+
"wifiBand": n => { networkInfo.wifiBand = n.getEnumValue(WifiBandObject); },
|
|
444
462
|
"wifiBatteryCharge": n => { networkInfo.wifiBatteryCharge = n.getNumberValue(); },
|
|
445
463
|
"wifiChannel": n => { networkInfo.wifiChannel = n.getNumberValue(); },
|
|
446
464
|
"wifiMicrosoftDriver": n => { networkInfo.wifiMicrosoftDriver = n.getStringValue(); },
|
|
447
465
|
"wifiMicrosoftDriverVersion": n => { networkInfo.wifiMicrosoftDriverVersion = n.getStringValue(); },
|
|
448
|
-
"wifiRadioType": n => { networkInfo.wifiRadioType = n.getEnumValue(
|
|
466
|
+
"wifiRadioType": n => { networkInfo.wifiRadioType = n.getEnumValue(WifiRadioTypeObject); },
|
|
449
467
|
"wifiSignalStrength": n => { networkInfo.wifiSignalStrength = n.getNumberValue(); },
|
|
450
468
|
"wifiVendorDriver": n => { networkInfo.wifiVendorDriver = n.getStringValue(); },
|
|
451
469
|
"wifiVendorDriverVersion": n => { networkInfo.wifiVendorDriverVersion = n.getStringValue(); },
|
|
452
470
|
};
|
|
453
471
|
}
|
|
454
|
-
exports.deserializeIntoNetworkInfo = deserializeIntoNetworkInfo;
|
|
455
472
|
/**
|
|
456
473
|
* The deserialization information for the current model
|
|
457
474
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
458
475
|
*/
|
|
459
|
-
function
|
|
460
|
-
return Object.assign(
|
|
476
|
+
export function deserializeIntoOrganizer(organizer = {}) {
|
|
477
|
+
return Object.assign({}, deserializeIntoParticipantBase(organizer));
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* The deserialization information for the current model
|
|
481
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
482
|
+
*/
|
|
483
|
+
export function deserializeIntoParticipant(participant = {}) {
|
|
484
|
+
return Object.assign({}, deserializeIntoParticipantBase(participant));
|
|
461
485
|
}
|
|
462
|
-
exports.deserializeIntoParticipantEndpoint = deserializeIntoParticipantEndpoint;
|
|
463
486
|
/**
|
|
464
487
|
* The deserialization information for the current model
|
|
465
488
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
466
489
|
*/
|
|
467
|
-
function
|
|
490
|
+
export function deserializeIntoParticipantBase(participantBase = {}) {
|
|
491
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(participantBase)), { "identity": n => { participantBase.identity = n.getObjectValue(createCommunicationsIdentitySetFromDiscriminatorValue); } });
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* The deserialization information for the current model
|
|
495
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
496
|
+
*/
|
|
497
|
+
export function deserializeIntoParticipantCollectionResponse(participantCollectionResponse = {}) {
|
|
498
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(participantCollectionResponse)), { "value": n => { participantCollectionResponse.value = n.getCollectionOfObjectValues(createParticipantFromDiscriminatorValue); } });
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* The deserialization information for the current model
|
|
502
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
503
|
+
*/
|
|
504
|
+
export function deserializeIntoParticipantEndpoint(participantEndpoint = {}) {
|
|
505
|
+
return Object.assign(Object.assign({}, deserializeIntoEndpoint(participantEndpoint)), { "associatedIdentity": n => { participantEndpoint.associatedIdentity = n.getObjectValue(createIdentityFromDiscriminatorValue); }, "cpuCoresCount": n => { participantEndpoint.cpuCoresCount = n.getNumberValue(); }, "cpuName": n => { participantEndpoint.cpuName = n.getStringValue(); }, "cpuProcessorSpeedInMhz": n => { participantEndpoint.cpuProcessorSpeedInMhz = n.getNumberValue(); }, "feedback": n => { participantEndpoint.feedback = n.getObjectValue(createUserFeedbackFromDiscriminatorValue); }, "identity": n => { participantEndpoint.identity = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "name": n => { participantEndpoint.name = n.getStringValue(); } });
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* The deserialization information for the current model
|
|
509
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
510
|
+
*/
|
|
511
|
+
export function deserializeIntoPstnCallLogRow(pstnCallLogRow = {}) {
|
|
468
512
|
return {
|
|
469
513
|
"backingStoreEnabled": n => { pstnCallLogRow.backingStoreEnabled = true; },
|
|
470
|
-
"callDurationSource": n => { pstnCallLogRow.callDurationSource = n.getEnumValue(
|
|
514
|
+
"callDurationSource": n => { pstnCallLogRow.callDurationSource = n.getEnumValue(PstnCallDurationSourceObject); },
|
|
471
515
|
"calleeNumber": n => { pstnCallLogRow.calleeNumber = n.getStringValue(); },
|
|
472
516
|
"callerNumber": n => { pstnCallLogRow.callerNumber = n.getStringValue(); },
|
|
473
517
|
"callId": n => { pstnCallLogRow.callId = n.getStringValue(); },
|
|
@@ -493,60 +537,53 @@ function deserializeIntoPstnCallLogRow(pstnCallLogRow = {}) {
|
|
|
493
537
|
"userPrincipalName": n => { pstnCallLogRow.userPrincipalName = n.getStringValue(); },
|
|
494
538
|
};
|
|
495
539
|
}
|
|
496
|
-
exports.deserializeIntoPstnCallLogRow = deserializeIntoPstnCallLogRow;
|
|
497
540
|
/**
|
|
498
541
|
* The deserialization information for the current model
|
|
499
542
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
500
543
|
*/
|
|
501
|
-
function deserializeIntoSegment(segment = {}) {
|
|
502
|
-
return Object.assign(Object.assign({},
|
|
544
|
+
export function deserializeIntoSegment(segment = {}) {
|
|
545
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(segment)), { "callee": n => { segment.callee = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "caller": n => { segment.caller = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "endDateTime": n => { segment.endDateTime = n.getDateValue(); }, "failureInfo": n => { segment.failureInfo = n.getObjectValue(createFailureInfoFromDiscriminatorValue); }, "media": n => { segment.media = n.getCollectionOfObjectValues(createMediaFromDiscriminatorValue); }, "startDateTime": n => { segment.startDateTime = n.getDateValue(); } });
|
|
503
546
|
}
|
|
504
|
-
exports.deserializeIntoSegment = deserializeIntoSegment;
|
|
505
547
|
/**
|
|
506
548
|
* The deserialization information for the current model
|
|
507
549
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
508
550
|
*/
|
|
509
|
-
function deserializeIntoSegmentCollectionResponse(segmentCollectionResponse = {}) {
|
|
510
|
-
return Object.assign(Object.assign({},
|
|
551
|
+
export function deserializeIntoSegmentCollectionResponse(segmentCollectionResponse = {}) {
|
|
552
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(segmentCollectionResponse)), { "value": n => { segmentCollectionResponse.value = n.getCollectionOfObjectValues(createSegmentFromDiscriminatorValue); } });
|
|
511
553
|
}
|
|
512
|
-
exports.deserializeIntoSegmentCollectionResponse = deserializeIntoSegmentCollectionResponse;
|
|
513
554
|
/**
|
|
514
555
|
* The deserialization information for the current model
|
|
515
556
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
516
557
|
*/
|
|
517
|
-
function deserializeIntoServiceEndpoint(serviceEndpoint = {}) {
|
|
558
|
+
export function deserializeIntoServiceEndpoint(serviceEndpoint = {}) {
|
|
518
559
|
return Object.assign({}, deserializeIntoEndpoint(serviceEndpoint));
|
|
519
560
|
}
|
|
520
|
-
exports.deserializeIntoServiceEndpoint = deserializeIntoServiceEndpoint;
|
|
521
561
|
/**
|
|
522
562
|
* The deserialization information for the current model
|
|
523
563
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
524
564
|
*/
|
|
525
|
-
function deserializeIntoServiceUserAgent(serviceUserAgent = {}) {
|
|
526
|
-
return Object.assign(Object.assign({}, deserializeIntoUserAgent(serviceUserAgent)), { "role": n => { serviceUserAgent.role = n.getEnumValue(
|
|
565
|
+
export function deserializeIntoServiceUserAgent(serviceUserAgent = {}) {
|
|
566
|
+
return Object.assign(Object.assign({}, deserializeIntoUserAgent(serviceUserAgent)), { "role": n => { serviceUserAgent.role = n.getEnumValue(ServiceRoleObject); } });
|
|
527
567
|
}
|
|
528
|
-
exports.deserializeIntoServiceUserAgent = deserializeIntoServiceUserAgent;
|
|
529
568
|
/**
|
|
530
569
|
* The deserialization information for the current model
|
|
531
570
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
532
571
|
*/
|
|
533
|
-
function deserializeIntoSession(session = {}) {
|
|
534
|
-
return Object.assign(Object.assign({},
|
|
572
|
+
export function deserializeIntoSession(session = {}) {
|
|
573
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(session)), { "callee": n => { session.callee = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "caller": n => { session.caller = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "endDateTime": n => { session.endDateTime = n.getDateValue(); }, "failureInfo": n => { session.failureInfo = n.getObjectValue(createFailureInfoFromDiscriminatorValue); }, "isTest": n => { session.isTest = n.getBooleanValue(); }, "modalities": n => { session.modalities = n.getCollectionOfEnumValues(ModalityObject); }, "segments": n => { session.segments = n.getCollectionOfObjectValues(createSegmentFromDiscriminatorValue); }, "startDateTime": n => { session.startDateTime = n.getDateValue(); } });
|
|
535
574
|
}
|
|
536
|
-
exports.deserializeIntoSession = deserializeIntoSession;
|
|
537
575
|
/**
|
|
538
576
|
* The deserialization information for the current model
|
|
539
577
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
540
578
|
*/
|
|
541
|
-
function deserializeIntoSessionCollectionResponse(sessionCollectionResponse = {}) {
|
|
542
|
-
return Object.assign(Object.assign({},
|
|
579
|
+
export function deserializeIntoSessionCollectionResponse(sessionCollectionResponse = {}) {
|
|
580
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(sessionCollectionResponse)), { "value": n => { sessionCollectionResponse.value = n.getCollectionOfObjectValues(createSessionFromDiscriminatorValue); } });
|
|
543
581
|
}
|
|
544
|
-
exports.deserializeIntoSessionCollectionResponse = deserializeIntoSessionCollectionResponse;
|
|
545
582
|
/**
|
|
546
583
|
* The deserialization information for the current model
|
|
547
584
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
548
585
|
*/
|
|
549
|
-
function deserializeIntoTraceRouteHop(traceRouteHop = {}) {
|
|
586
|
+
export function deserializeIntoTraceRouteHop(traceRouteHop = {}) {
|
|
550
587
|
return {
|
|
551
588
|
"backingStoreEnabled": n => { traceRouteHop.backingStoreEnabled = true; },
|
|
552
589
|
"hopCount": n => { traceRouteHop.hopCount = n.getNumberValue(); },
|
|
@@ -555,12 +592,11 @@ function deserializeIntoTraceRouteHop(traceRouteHop = {}) {
|
|
|
555
592
|
"roundTripTime": n => { traceRouteHop.roundTripTime = n.getDurationValue(); },
|
|
556
593
|
};
|
|
557
594
|
}
|
|
558
|
-
exports.deserializeIntoTraceRouteHop = deserializeIntoTraceRouteHop;
|
|
559
595
|
/**
|
|
560
596
|
* The deserialization information for the current model
|
|
561
597
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
562
598
|
*/
|
|
563
|
-
function deserializeIntoUserAgent(userAgent = {}) {
|
|
599
|
+
export function deserializeIntoUserAgent(userAgent = {}) {
|
|
564
600
|
return {
|
|
565
601
|
"applicationVersion": n => { userAgent.applicationVersion = n.getStringValue(); },
|
|
566
602
|
"backingStoreEnabled": n => { userAgent.backingStoreEnabled = true; },
|
|
@@ -568,66 +604,70 @@ function deserializeIntoUserAgent(userAgent = {}) {
|
|
|
568
604
|
"@odata.type": n => { userAgent.odataType = n.getStringValue(); },
|
|
569
605
|
};
|
|
570
606
|
}
|
|
571
|
-
exports.deserializeIntoUserAgent = deserializeIntoUserAgent;
|
|
572
607
|
/**
|
|
573
608
|
* The deserialization information for the current model
|
|
574
609
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
575
610
|
*/
|
|
576
|
-
function deserializeIntoUserFeedback(userFeedback = {}) {
|
|
611
|
+
export function deserializeIntoUserFeedback(userFeedback = {}) {
|
|
577
612
|
return {
|
|
578
613
|
"backingStoreEnabled": n => { userFeedback.backingStoreEnabled = true; },
|
|
579
614
|
"@odata.type": n => { userFeedback.odataType = n.getStringValue(); },
|
|
580
|
-
"rating": n => { userFeedback.rating = n.getEnumValue(
|
|
615
|
+
"rating": n => { userFeedback.rating = n.getEnumValue(UserFeedbackRatingObject); },
|
|
581
616
|
"text": n => { userFeedback.text = n.getStringValue(); },
|
|
582
617
|
"tokens": n => { userFeedback.tokens = n.getObjectValue(createFeedbackTokenSetFromDiscriminatorValue); },
|
|
583
618
|
};
|
|
584
619
|
}
|
|
585
|
-
|
|
620
|
+
/**
|
|
621
|
+
* The deserialization information for the current model
|
|
622
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
623
|
+
*/
|
|
624
|
+
export function deserializeIntoUserIdentity(userIdentity = {}) {
|
|
625
|
+
return Object.assign(Object.assign({}, deserializeIntoIdentity(userIdentity)), { "userPrincipalName": n => { userIdentity.userPrincipalName = n.getStringValue(); } });
|
|
626
|
+
}
|
|
586
627
|
/**
|
|
587
628
|
* Serializes information the current object
|
|
588
629
|
* @param writer Serialization writer to use to serialize this model
|
|
589
630
|
*/
|
|
590
|
-
function serializeCallRecord(writer, callRecord = {}) {
|
|
591
|
-
|
|
631
|
+
export function serializeCallRecord(writer, callRecord = {}) {
|
|
632
|
+
serializeEntity(writer, callRecord);
|
|
592
633
|
writer.writeDateValue("endDateTime", callRecord.endDateTime);
|
|
593
634
|
writer.writeStringValue("joinWebUrl", callRecord.joinWebUrl);
|
|
594
635
|
writer.writeDateValue("lastModifiedDateTime", callRecord.lastModifiedDateTime);
|
|
595
636
|
if (callRecord.modalities)
|
|
596
637
|
writer.writeEnumValue("modalities", ...callRecord.modalities);
|
|
597
|
-
writer.writeObjectValue("organizer", callRecord.organizer,
|
|
598
|
-
writer.
|
|
638
|
+
writer.writeObjectValue("organizer", callRecord.organizer, serializeIdentitySet);
|
|
639
|
+
writer.writeObjectValue("organizer_v2", callRecord.organizer_v2, serializeOrganizer);
|
|
640
|
+
writer.writeCollectionOfObjectValues("participants", callRecord.participants, serializeIdentitySet);
|
|
641
|
+
writer.writeCollectionOfObjectValues("participants_v2", callRecord.participants_v2, serializeParticipant);
|
|
599
642
|
writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, serializeSession);
|
|
600
643
|
writer.writeDateValue("startDateTime", callRecord.startDateTime);
|
|
601
644
|
writer.writeEnumValue("type", callRecord.type);
|
|
602
645
|
writer.writeNumberValue("version", callRecord.version);
|
|
603
646
|
}
|
|
604
|
-
exports.serializeCallRecord = serializeCallRecord;
|
|
605
647
|
/**
|
|
606
648
|
* Serializes information the current object
|
|
607
649
|
* @param writer Serialization writer to use to serialize this model
|
|
608
650
|
*/
|
|
609
|
-
function serializeCallRecordCollectionResponse(writer, callRecordCollectionResponse = {}) {
|
|
610
|
-
|
|
651
|
+
export function serializeCallRecordCollectionResponse(writer, callRecordCollectionResponse = {}) {
|
|
652
|
+
serializeBaseCollectionPaginationCountResponse(writer, callRecordCollectionResponse);
|
|
611
653
|
writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, serializeCallRecord);
|
|
612
654
|
}
|
|
613
|
-
exports.serializeCallRecordCollectionResponse = serializeCallRecordCollectionResponse;
|
|
614
655
|
/**
|
|
615
656
|
* Serializes information the current object
|
|
616
657
|
* @param writer Serialization writer to use to serialize this model
|
|
617
658
|
*/
|
|
618
|
-
function serializeClientUserAgent(writer, clientUserAgent = {}) {
|
|
659
|
+
export function serializeClientUserAgent(writer, clientUserAgent = {}) {
|
|
619
660
|
serializeUserAgent(writer, clientUserAgent);
|
|
620
661
|
writer.writeStringValue("azureADAppId", clientUserAgent.azureADAppId);
|
|
621
662
|
writer.writeStringValue("communicationServiceId", clientUserAgent.communicationServiceId);
|
|
622
663
|
writer.writeEnumValue("platform", clientUserAgent.platform);
|
|
623
664
|
writer.writeEnumValue("productFamily", clientUserAgent.productFamily);
|
|
624
665
|
}
|
|
625
|
-
exports.serializeClientUserAgent = serializeClientUserAgent;
|
|
626
666
|
/**
|
|
627
667
|
* Serializes information the current object
|
|
628
668
|
* @param writer Serialization writer to use to serialize this model
|
|
629
669
|
*/
|
|
630
|
-
function serializeDeviceInfo(writer, deviceInfo = {}) {
|
|
670
|
+
export function serializeDeviceInfo(writer, deviceInfo = {}) {
|
|
631
671
|
writer.writeStringValue("captureDeviceDriver", deviceInfo.captureDeviceDriver);
|
|
632
672
|
writer.writeStringValue("captureDeviceName", deviceInfo.captureDeviceName);
|
|
633
673
|
writer.writeNumberValue("captureNotFunctioningEventRatio", deviceInfo.captureNotFunctioningEventRatio);
|
|
@@ -652,12 +692,11 @@ function serializeDeviceInfo(writer, deviceInfo = {}) {
|
|
|
652
692
|
writer.writeNumberValue("speakerGlitchRate", deviceInfo.speakerGlitchRate);
|
|
653
693
|
writer.writeAdditionalData(deviceInfo.additionalData);
|
|
654
694
|
}
|
|
655
|
-
exports.serializeDeviceInfo = serializeDeviceInfo;
|
|
656
695
|
/**
|
|
657
696
|
* Serializes information the current object
|
|
658
697
|
* @param writer Serialization writer to use to serialize this model
|
|
659
698
|
*/
|
|
660
|
-
function serializeDirectRoutingLogRow(writer, directRoutingLogRow = {}) {
|
|
699
|
+
export function serializeDirectRoutingLogRow(writer, directRoutingLogRow = {}) {
|
|
661
700
|
writer.writeStringValue("calleeNumber", directRoutingLogRow.calleeNumber);
|
|
662
701
|
writer.writeNumberValue("callEndSubReason", directRoutingLogRow.callEndSubReason);
|
|
663
702
|
writer.writeStringValue("callerNumber", directRoutingLogRow.callerNumber);
|
|
@@ -682,42 +721,38 @@ function serializeDirectRoutingLogRow(writer, directRoutingLogRow = {}) {
|
|
|
682
721
|
writer.writeStringValue("userPrincipalName", directRoutingLogRow.userPrincipalName);
|
|
683
722
|
writer.writeAdditionalData(directRoutingLogRow.additionalData);
|
|
684
723
|
}
|
|
685
|
-
exports.serializeDirectRoutingLogRow = serializeDirectRoutingLogRow;
|
|
686
724
|
/**
|
|
687
725
|
* Serializes information the current object
|
|
688
726
|
* @param writer Serialization writer to use to serialize this model
|
|
689
727
|
*/
|
|
690
|
-
function serializeEndpoint(writer, endpoint = {}) {
|
|
728
|
+
export function serializeEndpoint(writer, endpoint = {}) {
|
|
691
729
|
writer.writeStringValue("@odata.type", endpoint.odataType);
|
|
692
730
|
writer.writeObjectValue("userAgent", endpoint.userAgent, serializeUserAgent);
|
|
693
731
|
writer.writeAdditionalData(endpoint.additionalData);
|
|
694
732
|
}
|
|
695
|
-
exports.serializeEndpoint = serializeEndpoint;
|
|
696
733
|
/**
|
|
697
734
|
* Serializes information the current object
|
|
698
735
|
* @param writer Serialization writer to use to serialize this model
|
|
699
736
|
*/
|
|
700
|
-
function serializeFailureInfo(writer, failureInfo = {}) {
|
|
737
|
+
export function serializeFailureInfo(writer, failureInfo = {}) {
|
|
701
738
|
writer.writeStringValue("@odata.type", failureInfo.odataType);
|
|
702
739
|
writer.writeStringValue("reason", failureInfo.reason);
|
|
703
740
|
writer.writeEnumValue("stage", failureInfo.stage);
|
|
704
741
|
writer.writeAdditionalData(failureInfo.additionalData);
|
|
705
742
|
}
|
|
706
|
-
exports.serializeFailureInfo = serializeFailureInfo;
|
|
707
743
|
/**
|
|
708
744
|
* Serializes information the current object
|
|
709
745
|
* @param writer Serialization writer to use to serialize this model
|
|
710
746
|
*/
|
|
711
|
-
function serializeFeedbackTokenSet(writer, feedbackTokenSet = {}) {
|
|
747
|
+
export function serializeFeedbackTokenSet(writer, feedbackTokenSet = {}) {
|
|
712
748
|
writer.writeStringValue("@odata.type", feedbackTokenSet.odataType);
|
|
713
749
|
writer.writeAdditionalData(feedbackTokenSet.additionalData);
|
|
714
750
|
}
|
|
715
|
-
exports.serializeFeedbackTokenSet = serializeFeedbackTokenSet;
|
|
716
751
|
/**
|
|
717
752
|
* Serializes information the current object
|
|
718
753
|
* @param writer Serialization writer to use to serialize this model
|
|
719
754
|
*/
|
|
720
|
-
function serializeMedia(writer, media = {}) {
|
|
755
|
+
export function serializeMedia(writer, media = {}) {
|
|
721
756
|
writer.writeObjectValue("calleeDevice", media.calleeDevice, serializeDeviceInfo);
|
|
722
757
|
writer.writeObjectValue("calleeNetwork", media.calleeNetwork, serializeNetworkInfo);
|
|
723
758
|
writer.writeObjectValue("callerDevice", media.callerDevice, serializeDeviceInfo);
|
|
@@ -727,12 +762,11 @@ function serializeMedia(writer, media = {}) {
|
|
|
727
762
|
writer.writeCollectionOfObjectValues("streams", media.streams, serializeMediaStream);
|
|
728
763
|
writer.writeAdditionalData(media.additionalData);
|
|
729
764
|
}
|
|
730
|
-
exports.serializeMedia = serializeMedia;
|
|
731
765
|
/**
|
|
732
766
|
* Serializes information the current object
|
|
733
767
|
* @param writer Serialization writer to use to serialize this model
|
|
734
768
|
*/
|
|
735
|
-
function serializeMediaStream(writer, mediaStream = {}) {
|
|
769
|
+
export function serializeMediaStream(writer, mediaStream = {}) {
|
|
736
770
|
writer.writeEnumValue("audioCodec", mediaStream.audioCodec);
|
|
737
771
|
writer.writeNumberValue("averageAudioDegradation", mediaStream.averageAudioDegradation);
|
|
738
772
|
writer.writeDurationValue("averageAudioNetworkJitter", mediaStream.averageAudioNetworkJitter);
|
|
@@ -766,12 +800,11 @@ function serializeMediaStream(writer, mediaStream = {}) {
|
|
|
766
800
|
writer.writeBooleanValue("wasMediaBypassed", mediaStream.wasMediaBypassed);
|
|
767
801
|
writer.writeAdditionalData(mediaStream.additionalData);
|
|
768
802
|
}
|
|
769
|
-
exports.serializeMediaStream = serializeMediaStream;
|
|
770
803
|
/**
|
|
771
804
|
* Serializes information the current object
|
|
772
805
|
* @param writer Serialization writer to use to serialize this model
|
|
773
806
|
*/
|
|
774
|
-
function serializeNetworkInfo(writer, networkInfo = {}) {
|
|
807
|
+
export function serializeNetworkInfo(writer, networkInfo = {}) {
|
|
775
808
|
writer.writeNumberValue("bandwidthLowEventRatio", networkInfo.bandwidthLowEventRatio);
|
|
776
809
|
writer.writeStringValue("basicServiceSetIdentifier", networkInfo.basicServiceSetIdentifier);
|
|
777
810
|
writer.writeEnumValue("connectionType", networkInfo.connectionType);
|
|
@@ -801,26 +834,55 @@ function serializeNetworkInfo(writer, networkInfo = {}) {
|
|
|
801
834
|
writer.writeStringValue("wifiVendorDriverVersion", networkInfo.wifiVendorDriverVersion);
|
|
802
835
|
writer.writeAdditionalData(networkInfo.additionalData);
|
|
803
836
|
}
|
|
804
|
-
exports.serializeNetworkInfo = serializeNetworkInfo;
|
|
805
837
|
/**
|
|
806
838
|
* Serializes information the current object
|
|
807
839
|
* @param writer Serialization writer to use to serialize this model
|
|
808
840
|
*/
|
|
809
|
-
function
|
|
841
|
+
export function serializeOrganizer(writer, organizer = {}) {
|
|
842
|
+
serializeParticipantBase(writer, organizer);
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* Serializes information the current object
|
|
846
|
+
* @param writer Serialization writer to use to serialize this model
|
|
847
|
+
*/
|
|
848
|
+
export function serializeParticipant(writer, participant = {}) {
|
|
849
|
+
serializeParticipantBase(writer, participant);
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* Serializes information the current object
|
|
853
|
+
* @param writer Serialization writer to use to serialize this model
|
|
854
|
+
*/
|
|
855
|
+
export function serializeParticipantBase(writer, participantBase = {}) {
|
|
856
|
+
serializeEntity(writer, participantBase);
|
|
857
|
+
writer.writeObjectValue("identity", participantBase.identity, serializeCommunicationsIdentitySet);
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* Serializes information the current object
|
|
861
|
+
* @param writer Serialization writer to use to serialize this model
|
|
862
|
+
*/
|
|
863
|
+
export function serializeParticipantCollectionResponse(writer, participantCollectionResponse = {}) {
|
|
864
|
+
serializeBaseCollectionPaginationCountResponse(writer, participantCollectionResponse);
|
|
865
|
+
writer.writeCollectionOfObjectValues("value", participantCollectionResponse.value, serializeParticipant);
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* Serializes information the current object
|
|
869
|
+
* @param writer Serialization writer to use to serialize this model
|
|
870
|
+
*/
|
|
871
|
+
export function serializeParticipantEndpoint(writer, participantEndpoint = {}) {
|
|
810
872
|
serializeEndpoint(writer, participantEndpoint);
|
|
873
|
+
writer.writeObjectValue("associatedIdentity", participantEndpoint.associatedIdentity, serializeIdentity);
|
|
811
874
|
writer.writeNumberValue("cpuCoresCount", participantEndpoint.cpuCoresCount);
|
|
812
875
|
writer.writeStringValue("cpuName", participantEndpoint.cpuName);
|
|
813
876
|
writer.writeNumberValue("cpuProcessorSpeedInMhz", participantEndpoint.cpuProcessorSpeedInMhz);
|
|
814
877
|
writer.writeObjectValue("feedback", participantEndpoint.feedback, serializeUserFeedback);
|
|
815
|
-
writer.writeObjectValue("identity", participantEndpoint.identity,
|
|
878
|
+
writer.writeObjectValue("identity", participantEndpoint.identity, serializeIdentitySet);
|
|
816
879
|
writer.writeStringValue("name", participantEndpoint.name);
|
|
817
880
|
}
|
|
818
|
-
exports.serializeParticipantEndpoint = serializeParticipantEndpoint;
|
|
819
881
|
/**
|
|
820
882
|
* Serializes information the current object
|
|
821
883
|
* @param writer Serialization writer to use to serialize this model
|
|
822
884
|
*/
|
|
823
|
-
function serializePstnCallLogRow(writer, pstnCallLogRow = {}) {
|
|
885
|
+
export function serializePstnCallLogRow(writer, pstnCallLogRow = {}) {
|
|
824
886
|
writer.writeEnumValue("callDurationSource", pstnCallLogRow.callDurationSource);
|
|
825
887
|
writer.writeStringValue("calleeNumber", pstnCallLogRow.calleeNumber);
|
|
826
888
|
writer.writeStringValue("callerNumber", pstnCallLogRow.callerNumber);
|
|
@@ -847,13 +909,12 @@ function serializePstnCallLogRow(writer, pstnCallLogRow = {}) {
|
|
|
847
909
|
writer.writeStringValue("userPrincipalName", pstnCallLogRow.userPrincipalName);
|
|
848
910
|
writer.writeAdditionalData(pstnCallLogRow.additionalData);
|
|
849
911
|
}
|
|
850
|
-
exports.serializePstnCallLogRow = serializePstnCallLogRow;
|
|
851
912
|
/**
|
|
852
913
|
* Serializes information the current object
|
|
853
914
|
* @param writer Serialization writer to use to serialize this model
|
|
854
915
|
*/
|
|
855
|
-
function serializeSegment(writer, segment = {}) {
|
|
856
|
-
|
|
916
|
+
export function serializeSegment(writer, segment = {}) {
|
|
917
|
+
serializeEntity(writer, segment);
|
|
857
918
|
writer.writeObjectValue("callee", segment.callee, serializeEndpoint);
|
|
858
919
|
writer.writeObjectValue("caller", segment.caller, serializeEndpoint);
|
|
859
920
|
writer.writeDateValue("endDateTime", segment.endDateTime);
|
|
@@ -861,39 +922,35 @@ function serializeSegment(writer, segment = {}) {
|
|
|
861
922
|
writer.writeCollectionOfObjectValues("media", segment.media, serializeMedia);
|
|
862
923
|
writer.writeDateValue("startDateTime", segment.startDateTime);
|
|
863
924
|
}
|
|
864
|
-
exports.serializeSegment = serializeSegment;
|
|
865
925
|
/**
|
|
866
926
|
* Serializes information the current object
|
|
867
927
|
* @param writer Serialization writer to use to serialize this model
|
|
868
928
|
*/
|
|
869
|
-
function serializeSegmentCollectionResponse(writer, segmentCollectionResponse = {}) {
|
|
870
|
-
|
|
929
|
+
export function serializeSegmentCollectionResponse(writer, segmentCollectionResponse = {}) {
|
|
930
|
+
serializeBaseCollectionPaginationCountResponse(writer, segmentCollectionResponse);
|
|
871
931
|
writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, serializeSegment);
|
|
872
932
|
}
|
|
873
|
-
exports.serializeSegmentCollectionResponse = serializeSegmentCollectionResponse;
|
|
874
933
|
/**
|
|
875
934
|
* Serializes information the current object
|
|
876
935
|
* @param writer Serialization writer to use to serialize this model
|
|
877
936
|
*/
|
|
878
|
-
function serializeServiceEndpoint(writer, serviceEndpoint = {}) {
|
|
937
|
+
export function serializeServiceEndpoint(writer, serviceEndpoint = {}) {
|
|
879
938
|
serializeEndpoint(writer, serviceEndpoint);
|
|
880
939
|
}
|
|
881
|
-
exports.serializeServiceEndpoint = serializeServiceEndpoint;
|
|
882
940
|
/**
|
|
883
941
|
* Serializes information the current object
|
|
884
942
|
* @param writer Serialization writer to use to serialize this model
|
|
885
943
|
*/
|
|
886
|
-
function serializeServiceUserAgent(writer, serviceUserAgent = {}) {
|
|
944
|
+
export function serializeServiceUserAgent(writer, serviceUserAgent = {}) {
|
|
887
945
|
serializeUserAgent(writer, serviceUserAgent);
|
|
888
946
|
writer.writeEnumValue("role", serviceUserAgent.role);
|
|
889
947
|
}
|
|
890
|
-
exports.serializeServiceUserAgent = serializeServiceUserAgent;
|
|
891
948
|
/**
|
|
892
949
|
* Serializes information the current object
|
|
893
950
|
* @param writer Serialization writer to use to serialize this model
|
|
894
951
|
*/
|
|
895
|
-
function serializeSession(writer, session = {}) {
|
|
896
|
-
|
|
952
|
+
export function serializeSession(writer, session = {}) {
|
|
953
|
+
serializeEntity(writer, session);
|
|
897
954
|
writer.writeObjectValue("callee", session.callee, serializeEndpoint);
|
|
898
955
|
writer.writeObjectValue("caller", session.caller, serializeEndpoint);
|
|
899
956
|
writer.writeDateValue("endDateTime", session.endDateTime);
|
|
@@ -904,52 +961,55 @@ function serializeSession(writer, session = {}) {
|
|
|
904
961
|
writer.writeCollectionOfObjectValues("segments", session.segments, serializeSegment);
|
|
905
962
|
writer.writeDateValue("startDateTime", session.startDateTime);
|
|
906
963
|
}
|
|
907
|
-
exports.serializeSession = serializeSession;
|
|
908
964
|
/**
|
|
909
965
|
* Serializes information the current object
|
|
910
966
|
* @param writer Serialization writer to use to serialize this model
|
|
911
967
|
*/
|
|
912
|
-
function serializeSessionCollectionResponse(writer, sessionCollectionResponse = {}) {
|
|
913
|
-
|
|
968
|
+
export function serializeSessionCollectionResponse(writer, sessionCollectionResponse = {}) {
|
|
969
|
+
serializeBaseCollectionPaginationCountResponse(writer, sessionCollectionResponse);
|
|
914
970
|
writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, serializeSession);
|
|
915
971
|
}
|
|
916
|
-
exports.serializeSessionCollectionResponse = serializeSessionCollectionResponse;
|
|
917
972
|
/**
|
|
918
973
|
* Serializes information the current object
|
|
919
974
|
* @param writer Serialization writer to use to serialize this model
|
|
920
975
|
*/
|
|
921
|
-
function serializeTraceRouteHop(writer, traceRouteHop = {}) {
|
|
976
|
+
export function serializeTraceRouteHop(writer, traceRouteHop = {}) {
|
|
922
977
|
writer.writeNumberValue("hopCount", traceRouteHop.hopCount);
|
|
923
978
|
writer.writeStringValue("ipAddress", traceRouteHop.ipAddress);
|
|
924
979
|
writer.writeStringValue("@odata.type", traceRouteHop.odataType);
|
|
925
980
|
writer.writeDurationValue("roundTripTime", traceRouteHop.roundTripTime);
|
|
926
981
|
writer.writeAdditionalData(traceRouteHop.additionalData);
|
|
927
982
|
}
|
|
928
|
-
exports.serializeTraceRouteHop = serializeTraceRouteHop;
|
|
929
983
|
/**
|
|
930
984
|
* Serializes information the current object
|
|
931
985
|
* @param writer Serialization writer to use to serialize this model
|
|
932
986
|
*/
|
|
933
|
-
function serializeUserAgent(writer, userAgent = {}) {
|
|
987
|
+
export function serializeUserAgent(writer, userAgent = {}) {
|
|
934
988
|
writer.writeStringValue("applicationVersion", userAgent.applicationVersion);
|
|
935
989
|
writer.writeStringValue("headerValue", userAgent.headerValue);
|
|
936
990
|
writer.writeStringValue("@odata.type", userAgent.odataType);
|
|
937
991
|
writer.writeAdditionalData(userAgent.additionalData);
|
|
938
992
|
}
|
|
939
|
-
exports.serializeUserAgent = serializeUserAgent;
|
|
940
993
|
/**
|
|
941
994
|
* Serializes information the current object
|
|
942
995
|
* @param writer Serialization writer to use to serialize this model
|
|
943
996
|
*/
|
|
944
|
-
function serializeUserFeedback(writer, userFeedback = {}) {
|
|
997
|
+
export function serializeUserFeedback(writer, userFeedback = {}) {
|
|
945
998
|
writer.writeStringValue("@odata.type", userFeedback.odataType);
|
|
946
999
|
writer.writeEnumValue("rating", userFeedback.rating);
|
|
947
1000
|
writer.writeStringValue("text", userFeedback.text);
|
|
948
1001
|
writer.writeObjectValue("tokens", userFeedback.tokens, serializeFeedbackTokenSet);
|
|
949
1002
|
writer.writeAdditionalData(userFeedback.additionalData);
|
|
950
1003
|
}
|
|
951
|
-
|
|
952
|
-
|
|
1004
|
+
/**
|
|
1005
|
+
* Serializes information the current object
|
|
1006
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1007
|
+
*/
|
|
1008
|
+
export function serializeUserIdentity(writer, userIdentity = {}) {
|
|
1009
|
+
serializeIdentity(writer, userIdentity);
|
|
1010
|
+
writer.writeStringValue("userPrincipalName", userIdentity.userPrincipalName);
|
|
1011
|
+
}
|
|
1012
|
+
export const AudioCodecObject = {
|
|
953
1013
|
Unknown: "unknown",
|
|
954
1014
|
Invalid: "invalid",
|
|
955
1015
|
Cn: "cn",
|
|
@@ -974,13 +1034,13 @@ exports.AudioCodecObject = {
|
|
|
974
1034
|
XmsRta: "xmsRta",
|
|
975
1035
|
UnknownFutureValue: "unknownFutureValue",
|
|
976
1036
|
};
|
|
977
|
-
|
|
1037
|
+
export const CallTypeObject = {
|
|
978
1038
|
Unknown: "unknown",
|
|
979
1039
|
GroupCall: "groupCall",
|
|
980
1040
|
PeerToPeer: "peerToPeer",
|
|
981
1041
|
UnknownFutureValue: "unknownFutureValue",
|
|
982
1042
|
};
|
|
983
|
-
|
|
1043
|
+
export const ClientPlatformObject = {
|
|
984
1044
|
Unknown: "unknown",
|
|
985
1045
|
Windows: "windows",
|
|
986
1046
|
MacOS: "macOS",
|
|
@@ -993,17 +1053,17 @@ exports.ClientPlatformObject = {
|
|
|
993
1053
|
HoloLens: "holoLens",
|
|
994
1054
|
UnknownFutureValue: "unknownFutureValue",
|
|
995
1055
|
};
|
|
996
|
-
|
|
1056
|
+
export const FailureStageObject = {
|
|
997
1057
|
Unknown: "unknown",
|
|
998
1058
|
CallSetup: "callSetup",
|
|
999
1059
|
Midcall: "midcall",
|
|
1000
1060
|
UnknownFutureValue: "unknownFutureValue",
|
|
1001
1061
|
};
|
|
1002
|
-
|
|
1062
|
+
export const MediaStreamDirectionObject = {
|
|
1003
1063
|
CallerToCallee: "callerToCallee",
|
|
1004
1064
|
CalleeToCaller: "calleeToCaller",
|
|
1005
1065
|
};
|
|
1006
|
-
|
|
1066
|
+
export const ModalityObject = {
|
|
1007
1067
|
Audio: "audio",
|
|
1008
1068
|
Video: "video",
|
|
1009
1069
|
VideoBasedScreenSharing: "videoBasedScreenSharing",
|
|
@@ -1011,7 +1071,7 @@ exports.ModalityObject = {
|
|
|
1011
1071
|
ScreenSharing: "screenSharing",
|
|
1012
1072
|
UnknownFutureValue: "unknownFutureValue",
|
|
1013
1073
|
};
|
|
1014
|
-
|
|
1074
|
+
export const NetworkConnectionTypeObject = {
|
|
1015
1075
|
Unknown: "unknown",
|
|
1016
1076
|
Wired: "wired",
|
|
1017
1077
|
Wifi: "wifi",
|
|
@@ -1019,13 +1079,13 @@ exports.NetworkConnectionTypeObject = {
|
|
|
1019
1079
|
Tunnel: "tunnel",
|
|
1020
1080
|
UnknownFutureValue: "unknownFutureValue",
|
|
1021
1081
|
};
|
|
1022
|
-
|
|
1082
|
+
export const NetworkTransportProtocolObject = {
|
|
1023
1083
|
Unknown: "unknown",
|
|
1024
1084
|
Udp: "udp",
|
|
1025
1085
|
Tcp: "tcp",
|
|
1026
1086
|
UnknownFutureValue: "unknownFutureValue",
|
|
1027
1087
|
};
|
|
1028
|
-
|
|
1088
|
+
export const ProductFamilyObject = {
|
|
1029
1089
|
Unknown: "unknown",
|
|
1030
1090
|
Teams: "teams",
|
|
1031
1091
|
SkypeForBusiness: "skypeForBusiness",
|
|
@@ -1033,11 +1093,11 @@ exports.ProductFamilyObject = {
|
|
|
1033
1093
|
UnknownFutureValue: "unknownFutureValue",
|
|
1034
1094
|
AzureCommunicationServices: "azureCommunicationServices",
|
|
1035
1095
|
};
|
|
1036
|
-
|
|
1096
|
+
export const PstnCallDurationSourceObject = {
|
|
1037
1097
|
Microsoft: "microsoft",
|
|
1038
1098
|
Operator: "operator",
|
|
1039
1099
|
};
|
|
1040
|
-
|
|
1100
|
+
export const ServiceRoleObject = {
|
|
1041
1101
|
Unknown: "unknown",
|
|
1042
1102
|
CustomBot: "customBot",
|
|
1043
1103
|
SkypeForBusinessMicrosoftTeamsGateway: "skypeForBusinessMicrosoftTeamsGateway",
|
|
@@ -1061,7 +1121,7 @@ exports.ServiceRoleObject = {
|
|
|
1061
1121
|
Voicemail: "voicemail",
|
|
1062
1122
|
UnknownFutureValue: "unknownFutureValue",
|
|
1063
1123
|
};
|
|
1064
|
-
|
|
1124
|
+
export const UserFeedbackRatingObject = {
|
|
1065
1125
|
NotRated: "notRated",
|
|
1066
1126
|
Bad: "bad",
|
|
1067
1127
|
Poor: "poor",
|
|
@@ -1070,7 +1130,7 @@ exports.UserFeedbackRatingObject = {
|
|
|
1070
1130
|
Excellent: "excellent",
|
|
1071
1131
|
UnknownFutureValue: "unknownFutureValue",
|
|
1072
1132
|
};
|
|
1073
|
-
|
|
1133
|
+
export const VideoCodecObject = {
|
|
1074
1134
|
Unknown: "unknown",
|
|
1075
1135
|
Invalid: "invalid",
|
|
1076
1136
|
Av1: "av1",
|
|
@@ -1084,14 +1144,14 @@ exports.VideoCodecObject = {
|
|
|
1084
1144
|
Xrtvc1: "xrtvc1",
|
|
1085
1145
|
UnknownFutureValue: "unknownFutureValue",
|
|
1086
1146
|
};
|
|
1087
|
-
|
|
1147
|
+
export const WifiBandObject = {
|
|
1088
1148
|
Unknown: "unknown",
|
|
1089
1149
|
Frequency24GHz: "frequency24GHz",
|
|
1090
1150
|
Frequency50GHz: "frequency50GHz",
|
|
1091
1151
|
Frequency60GHz: "frequency60GHz",
|
|
1092
1152
|
UnknownFutureValue: "unknownFutureValue",
|
|
1093
1153
|
};
|
|
1094
|
-
|
|
1154
|
+
export const WifiRadioTypeObject = {
|
|
1095
1155
|
Unknown: "unknown",
|
|
1096
1156
|
Wifi80211a: "wifi80211a",
|
|
1097
1157
|
Wifi80211b: "wifi80211b",
|
|
@@ -1103,3 +1163,4 @@ exports.WifiRadioTypeObject = {
|
|
|
1103
1163
|
};
|
|
1104
1164
|
/* tslint:enable */
|
|
1105
1165
|
/* eslint-enable */
|
|
1166
|
+
//# sourceMappingURL=index.js.map
|