@microsoft/msgraph-sdk 1.0.0-preview.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/graphRequestAdapter.d.ts +15 -0
  4. package/graphRequestAdapter.d.ts.map +1 -0
  5. package/graphRequestAdapter.js +21 -0
  6. package/graphServiceClient.d.ts +19 -0
  7. package/graphServiceClient.d.ts.map +1 -0
  8. package/graphServiceClient.js +51 -0
  9. package/index.d.ts +3 -0
  10. package/index.d.ts.map +1 -0
  11. package/index.js +18 -0
  12. package/models/callRecords/index.d.ts +1414 -0
  13. package/models/callRecords/index.d.ts.map +1 -0
  14. package/models/callRecords/index.js +1104 -0
  15. package/models/externalConnectors/index.d.ts +975 -0
  16. package/models/externalConnectors/index.d.ts.map +1 -0
  17. package/models/externalConnectors/index.js +928 -0
  18. package/models/identityGovernance/index.d.ts +1334 -0
  19. package/models/identityGovernance/index.d.ts.map +1 -0
  20. package/models/identityGovernance/index.js +1189 -0
  21. package/models/index.d.ts +86017 -0
  22. package/models/index.d.ts.map +1 -0
  23. package/models/index.js +74768 -0
  24. package/models/oDataErrors/index.d.ts +158 -0
  25. package/models/oDataErrors/index.d.ts.map +1 -0
  26. package/models/oDataErrors/index.js +139 -0
  27. package/models/security/index.d.ts +6556 -0
  28. package/models/security/index.d.ts.map +1 -0
  29. package/models/security/index.js +5717 -0
  30. package/models/termStore/index.d.ts +454 -0
  31. package/models/termStore/index.d.ts.map +1 -0
  32. package/models/termStore/index.js +406 -0
  33. package/package.json +51 -0
  34. package/tsconfig.json +9 -0
  35. package/tsconfig.tsbuildinfo +1 -0
  36. package/version.d.ts +2 -0
  37. package/version.d.ts.map +1 -0
  38. package/version.js +4 -0
@@ -0,0 +1,1104 @@
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
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ // Generated by Microsoft Kiota
8
+ const __1 = require("../");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a callRecordCollectionResponse
13
+ */
14
+ function createCallRecordCollectionResponseFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoCallRecordCollectionResponse;
16
+ }
17
+ exports.createCallRecordCollectionResponseFromDiscriminatorValue = createCallRecordCollectionResponseFromDiscriminatorValue;
18
+ /**
19
+ * Creates a new instance of the appropriate class based on discriminator value
20
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21
+ * @returns a callRecord
22
+ */
23
+ function createCallRecordFromDiscriminatorValue(parseNode) {
24
+ return deserializeIntoCallRecord;
25
+ }
26
+ exports.createCallRecordFromDiscriminatorValue = createCallRecordFromDiscriminatorValue;
27
+ /**
28
+ * Creates a new instance of the appropriate class based on discriminator value
29
+ * @param parseNode The parse node to use to read the discriminator value and create the object
30
+ * @returns a clientUserAgent
31
+ */
32
+ function createClientUserAgentFromDiscriminatorValue(parseNode) {
33
+ return deserializeIntoClientUserAgent;
34
+ }
35
+ exports.createClientUserAgentFromDiscriminatorValue = createClientUserAgentFromDiscriminatorValue;
36
+ /**
37
+ * Creates a new instance of the appropriate class based on discriminator value
38
+ * @param parseNode The parse node to use to read the discriminator value and create the object
39
+ * @returns a deviceInfo
40
+ */
41
+ function createDeviceInfoFromDiscriminatorValue(parseNode) {
42
+ return deserializeIntoDeviceInfo;
43
+ }
44
+ exports.createDeviceInfoFromDiscriminatorValue = createDeviceInfoFromDiscriminatorValue;
45
+ /**
46
+ * Creates a new instance of the appropriate class based on discriminator value
47
+ * @param parseNode The parse node to use to read the discriminator value and create the object
48
+ * @returns a directRoutingLogRow
49
+ */
50
+ function createDirectRoutingLogRowFromDiscriminatorValue(parseNode) {
51
+ return deserializeIntoDirectRoutingLogRow;
52
+ }
53
+ exports.createDirectRoutingLogRowFromDiscriminatorValue = createDirectRoutingLogRowFromDiscriminatorValue;
54
+ /**
55
+ * Creates a new instance of the appropriate class based on discriminator value
56
+ * @param parseNode The parse node to use to read the discriminator value and create the object
57
+ * @returns a endpoint
58
+ */
59
+ function createEndpointFromDiscriminatorValue(parseNode) {
60
+ if (!parseNode)
61
+ throw new Error("parseNode cannot be undefined");
62
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
63
+ if (mappingValueNode) {
64
+ const mappingValue = mappingValueNode.getStringValue();
65
+ if (mappingValue) {
66
+ switch (mappingValue) {
67
+ case "#microsoft.graph.callRecords.participantEndpoint":
68
+ return deserializeIntoParticipantEndpoint;
69
+ case "#microsoft.graph.callRecords.serviceEndpoint":
70
+ return deserializeIntoServiceEndpoint;
71
+ }
72
+ }
73
+ }
74
+ return deserializeIntoEndpoint;
75
+ }
76
+ exports.createEndpointFromDiscriminatorValue = createEndpointFromDiscriminatorValue;
77
+ /**
78
+ * Creates a new instance of the appropriate class based on discriminator value
79
+ * @param parseNode The parse node to use to read the discriminator value and create the object
80
+ * @returns a failureInfo
81
+ */
82
+ function createFailureInfoFromDiscriminatorValue(parseNode) {
83
+ return deserializeIntoFailureInfo;
84
+ }
85
+ exports.createFailureInfoFromDiscriminatorValue = createFailureInfoFromDiscriminatorValue;
86
+ /**
87
+ * Creates a new instance of the appropriate class based on discriminator value
88
+ * @param parseNode The parse node to use to read the discriminator value and create the object
89
+ * @returns a feedbackTokenSet
90
+ */
91
+ function createFeedbackTokenSetFromDiscriminatorValue(parseNode) {
92
+ return deserializeIntoFeedbackTokenSet;
93
+ }
94
+ exports.createFeedbackTokenSetFromDiscriminatorValue = createFeedbackTokenSetFromDiscriminatorValue;
95
+ /**
96
+ * Creates a new instance of the appropriate class based on discriminator value
97
+ * @param parseNode The parse node to use to read the discriminator value and create the object
98
+ * @returns a media
99
+ */
100
+ function createMediaFromDiscriminatorValue(parseNode) {
101
+ return deserializeIntoMedia;
102
+ }
103
+ exports.createMediaFromDiscriminatorValue = createMediaFromDiscriminatorValue;
104
+ /**
105
+ * Creates a new instance of the appropriate class based on discriminator value
106
+ * @param parseNode The parse node to use to read the discriminator value and create the object
107
+ * @returns a mediaStream
108
+ */
109
+ function createMediaStreamFromDiscriminatorValue(parseNode) {
110
+ return deserializeIntoMediaStream;
111
+ }
112
+ exports.createMediaStreamFromDiscriminatorValue = createMediaStreamFromDiscriminatorValue;
113
+ /**
114
+ * Creates a new instance of the appropriate class based on discriminator value
115
+ * @param parseNode The parse node to use to read the discriminator value and create the object
116
+ * @returns a networkInfo
117
+ */
118
+ function createNetworkInfoFromDiscriminatorValue(parseNode) {
119
+ return deserializeIntoNetworkInfo;
120
+ }
121
+ exports.createNetworkInfoFromDiscriminatorValue = createNetworkInfoFromDiscriminatorValue;
122
+ /**
123
+ * Creates a new instance of the appropriate class based on discriminator value
124
+ * @param parseNode The parse node to use to read the discriminator value and create the object
125
+ * @returns a participantEndpoint
126
+ */
127
+ function createParticipantEndpointFromDiscriminatorValue(parseNode) {
128
+ return deserializeIntoParticipantEndpoint;
129
+ }
130
+ exports.createParticipantEndpointFromDiscriminatorValue = createParticipantEndpointFromDiscriminatorValue;
131
+ /**
132
+ * Creates a new instance of the appropriate class based on discriminator value
133
+ * @param parseNode The parse node to use to read the discriminator value and create the object
134
+ * @returns a pstnCallLogRow
135
+ */
136
+ function createPstnCallLogRowFromDiscriminatorValue(parseNode) {
137
+ return deserializeIntoPstnCallLogRow;
138
+ }
139
+ exports.createPstnCallLogRowFromDiscriminatorValue = createPstnCallLogRowFromDiscriminatorValue;
140
+ /**
141
+ * Creates a new instance of the appropriate class based on discriminator value
142
+ * @param parseNode The parse node to use to read the discriminator value and create the object
143
+ * @returns a segmentCollectionResponse
144
+ */
145
+ function createSegmentCollectionResponseFromDiscriminatorValue(parseNode) {
146
+ return deserializeIntoSegmentCollectionResponse;
147
+ }
148
+ exports.createSegmentCollectionResponseFromDiscriminatorValue = createSegmentCollectionResponseFromDiscriminatorValue;
149
+ /**
150
+ * Creates a new instance of the appropriate class based on discriminator value
151
+ * @param parseNode The parse node to use to read the discriminator value and create the object
152
+ * @returns a segment
153
+ */
154
+ function createSegmentFromDiscriminatorValue(parseNode) {
155
+ return deserializeIntoSegment;
156
+ }
157
+ exports.createSegmentFromDiscriminatorValue = createSegmentFromDiscriminatorValue;
158
+ /**
159
+ * Creates a new instance of the appropriate class based on discriminator value
160
+ * @param parseNode The parse node to use to read the discriminator value and create the object
161
+ * @returns a serviceEndpoint
162
+ */
163
+ function createServiceEndpointFromDiscriminatorValue(parseNode) {
164
+ return deserializeIntoServiceEndpoint;
165
+ }
166
+ exports.createServiceEndpointFromDiscriminatorValue = createServiceEndpointFromDiscriminatorValue;
167
+ /**
168
+ * Creates a new instance of the appropriate class based on discriminator value
169
+ * @param parseNode The parse node to use to read the discriminator value and create the object
170
+ * @returns a serviceUserAgent
171
+ */
172
+ function createServiceUserAgentFromDiscriminatorValue(parseNode) {
173
+ return deserializeIntoServiceUserAgent;
174
+ }
175
+ exports.createServiceUserAgentFromDiscriminatorValue = createServiceUserAgentFromDiscriminatorValue;
176
+ /**
177
+ * Creates a new instance of the appropriate class based on discriminator value
178
+ * @param parseNode The parse node to use to read the discriminator value and create the object
179
+ * @returns a sessionCollectionResponse
180
+ */
181
+ function createSessionCollectionResponseFromDiscriminatorValue(parseNode) {
182
+ return deserializeIntoSessionCollectionResponse;
183
+ }
184
+ exports.createSessionCollectionResponseFromDiscriminatorValue = createSessionCollectionResponseFromDiscriminatorValue;
185
+ /**
186
+ * Creates a new instance of the appropriate class based on discriminator value
187
+ * @param parseNode The parse node to use to read the discriminator value and create the object
188
+ * @returns a session
189
+ */
190
+ function createSessionFromDiscriminatorValue(parseNode) {
191
+ return deserializeIntoSession;
192
+ }
193
+ exports.createSessionFromDiscriminatorValue = createSessionFromDiscriminatorValue;
194
+ /**
195
+ * Creates a new instance of the appropriate class based on discriminator value
196
+ * @param parseNode The parse node to use to read the discriminator value and create the object
197
+ * @returns a traceRouteHop
198
+ */
199
+ function createTraceRouteHopFromDiscriminatorValue(parseNode) {
200
+ return deserializeIntoTraceRouteHop;
201
+ }
202
+ exports.createTraceRouteHopFromDiscriminatorValue = createTraceRouteHopFromDiscriminatorValue;
203
+ /**
204
+ * Creates a new instance of the appropriate class based on discriminator value
205
+ * @param parseNode The parse node to use to read the discriminator value and create the object
206
+ * @returns a userAgent
207
+ */
208
+ function createUserAgentFromDiscriminatorValue(parseNode) {
209
+ if (!parseNode)
210
+ throw new Error("parseNode cannot be undefined");
211
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
212
+ if (mappingValueNode) {
213
+ const mappingValue = mappingValueNode.getStringValue();
214
+ if (mappingValue) {
215
+ switch (mappingValue) {
216
+ case "#microsoft.graph.callRecords.clientUserAgent":
217
+ return deserializeIntoClientUserAgent;
218
+ case "#microsoft.graph.callRecords.serviceUserAgent":
219
+ return deserializeIntoServiceUserAgent;
220
+ }
221
+ }
222
+ }
223
+ return deserializeIntoUserAgent;
224
+ }
225
+ exports.createUserAgentFromDiscriminatorValue = createUserAgentFromDiscriminatorValue;
226
+ /**
227
+ * Creates a new instance of the appropriate class based on discriminator value
228
+ * @param parseNode The parse node to use to read the discriminator value and create the object
229
+ * @returns a userFeedback
230
+ */
231
+ function createUserFeedbackFromDiscriminatorValue(parseNode) {
232
+ return deserializeIntoUserFeedback;
233
+ }
234
+ exports.createUserFeedbackFromDiscriminatorValue = createUserFeedbackFromDiscriminatorValue;
235
+ /**
236
+ * The deserialization information for the current model
237
+ * @returns a Record<string, (node: ParseNode) => void>
238
+ */
239
+ function deserializeIntoCallRecord(callRecord = {}) {
240
+ return Object.assign(Object.assign({}, (0, __1.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(exports.ModalityObject); }, "organizer": n => { callRecord.organizer = n.getObjectValue(__1.createIdentitySetFromDiscriminatorValue); }, "participants": n => { callRecord.participants = n.getCollectionOfObjectValues(__1.createIdentitySetFromDiscriminatorValue); }, "sessions": n => { callRecord.sessions = n.getCollectionOfObjectValues(createSessionFromDiscriminatorValue); }, "startDateTime": n => { callRecord.startDateTime = n.getDateValue(); }, "type": n => { callRecord.type = n.getEnumValue(exports.CallTypeObject); }, "version": n => { callRecord.version = n.getNumberValue(); } });
241
+ }
242
+ exports.deserializeIntoCallRecord = deserializeIntoCallRecord;
243
+ /**
244
+ * The deserialization information for the current model
245
+ * @returns a Record<string, (node: ParseNode) => void>
246
+ */
247
+ function deserializeIntoCallRecordCollectionResponse(callRecordCollectionResponse = {}) {
248
+ return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(callRecordCollectionResponse)), { "value": n => { callRecordCollectionResponse.value = n.getCollectionOfObjectValues(createCallRecordFromDiscriminatorValue); } });
249
+ }
250
+ exports.deserializeIntoCallRecordCollectionResponse = deserializeIntoCallRecordCollectionResponse;
251
+ /**
252
+ * The deserialization information for the current model
253
+ * @returns a Record<string, (node: ParseNode) => void>
254
+ */
255
+ function deserializeIntoClientUserAgent(clientUserAgent = {}) {
256
+ 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(exports.ClientPlatformObject); }, "productFamily": n => { clientUserAgent.productFamily = n.getEnumValue(exports.ProductFamilyObject); } });
257
+ }
258
+ exports.deserializeIntoClientUserAgent = deserializeIntoClientUserAgent;
259
+ /**
260
+ * The deserialization information for the current model
261
+ * @returns a Record<string, (node: ParseNode) => void>
262
+ */
263
+ function deserializeIntoDeviceInfo(deviceInfo = {}) {
264
+ return {
265
+ "backingStoreEnabled": n => { deviceInfo.backingStoreEnabled = true; },
266
+ "captureDeviceDriver": n => { deviceInfo.captureDeviceDriver = n.getStringValue(); },
267
+ "captureDeviceName": n => { deviceInfo.captureDeviceName = n.getStringValue(); },
268
+ "captureNotFunctioningEventRatio": n => { deviceInfo.captureNotFunctioningEventRatio = n.getNumberValue(); },
269
+ "cpuInsufficentEventRatio": n => { deviceInfo.cpuInsufficentEventRatio = n.getNumberValue(); },
270
+ "deviceClippingEventRatio": n => { deviceInfo.deviceClippingEventRatio = n.getNumberValue(); },
271
+ "deviceGlitchEventRatio": n => { deviceInfo.deviceGlitchEventRatio = n.getNumberValue(); },
272
+ "howlingEventCount": n => { deviceInfo.howlingEventCount = n.getNumberValue(); },
273
+ "initialSignalLevelRootMeanSquare": n => { deviceInfo.initialSignalLevelRootMeanSquare = n.getNumberValue(); },
274
+ "lowSpeechLevelEventRatio": n => { deviceInfo.lowSpeechLevelEventRatio = n.getNumberValue(); },
275
+ "lowSpeechToNoiseEventRatio": n => { deviceInfo.lowSpeechToNoiseEventRatio = n.getNumberValue(); },
276
+ "micGlitchRate": n => { deviceInfo.micGlitchRate = n.getNumberValue(); },
277
+ "@odata.type": n => { deviceInfo.odataType = n.getStringValue(); },
278
+ "receivedNoiseLevel": n => { deviceInfo.receivedNoiseLevel = n.getNumberValue(); },
279
+ "receivedSignalLevel": n => { deviceInfo.receivedSignalLevel = n.getNumberValue(); },
280
+ "renderDeviceDriver": n => { deviceInfo.renderDeviceDriver = n.getStringValue(); },
281
+ "renderDeviceName": n => { deviceInfo.renderDeviceName = n.getStringValue(); },
282
+ "renderMuteEventRatio": n => { deviceInfo.renderMuteEventRatio = n.getNumberValue(); },
283
+ "renderNotFunctioningEventRatio": n => { deviceInfo.renderNotFunctioningEventRatio = n.getNumberValue(); },
284
+ "renderZeroVolumeEventRatio": n => { deviceInfo.renderZeroVolumeEventRatio = n.getNumberValue(); },
285
+ "sentNoiseLevel": n => { deviceInfo.sentNoiseLevel = n.getNumberValue(); },
286
+ "sentSignalLevel": n => { deviceInfo.sentSignalLevel = n.getNumberValue(); },
287
+ "speakerGlitchRate": n => { deviceInfo.speakerGlitchRate = n.getNumberValue(); },
288
+ };
289
+ }
290
+ exports.deserializeIntoDeviceInfo = deserializeIntoDeviceInfo;
291
+ /**
292
+ * The deserialization information for the current model
293
+ * @returns a Record<string, (node: ParseNode) => void>
294
+ */
295
+ function deserializeIntoDirectRoutingLogRow(directRoutingLogRow = {}) {
296
+ return {
297
+ "backingStoreEnabled": n => { directRoutingLogRow.backingStoreEnabled = true; },
298
+ "calleeNumber": n => { directRoutingLogRow.calleeNumber = n.getStringValue(); },
299
+ "callEndSubReason": n => { directRoutingLogRow.callEndSubReason = n.getNumberValue(); },
300
+ "callerNumber": n => { directRoutingLogRow.callerNumber = n.getStringValue(); },
301
+ "callType": n => { directRoutingLogRow.callType = n.getStringValue(); },
302
+ "correlationId": n => { directRoutingLogRow.correlationId = n.getStringValue(); },
303
+ "duration": n => { directRoutingLogRow.duration = n.getNumberValue(); },
304
+ "endDateTime": n => { directRoutingLogRow.endDateTime = n.getDateValue(); },
305
+ "failureDateTime": n => { directRoutingLogRow.failureDateTime = n.getDateValue(); },
306
+ "finalSipCode": n => { directRoutingLogRow.finalSipCode = n.getNumberValue(); },
307
+ "finalSipCodePhrase": n => { directRoutingLogRow.finalSipCodePhrase = n.getStringValue(); },
308
+ "id": n => { directRoutingLogRow.id = n.getStringValue(); },
309
+ "inviteDateTime": n => { directRoutingLogRow.inviteDateTime = n.getDateValue(); },
310
+ "mediaBypassEnabled": n => { directRoutingLogRow.mediaBypassEnabled = n.getBooleanValue(); },
311
+ "mediaPathLocation": n => { directRoutingLogRow.mediaPathLocation = n.getStringValue(); },
312
+ "@odata.type": n => { directRoutingLogRow.odataType = n.getStringValue(); },
313
+ "signalingLocation": n => { directRoutingLogRow.signalingLocation = n.getStringValue(); },
314
+ "startDateTime": n => { directRoutingLogRow.startDateTime = n.getDateValue(); },
315
+ "successfulCall": n => { directRoutingLogRow.successfulCall = n.getBooleanValue(); },
316
+ "trunkFullyQualifiedDomainName": n => { directRoutingLogRow.trunkFullyQualifiedDomainName = n.getStringValue(); },
317
+ "userDisplayName": n => { directRoutingLogRow.userDisplayName = n.getStringValue(); },
318
+ "userId": n => { directRoutingLogRow.userId = n.getStringValue(); },
319
+ "userPrincipalName": n => { directRoutingLogRow.userPrincipalName = n.getStringValue(); },
320
+ };
321
+ }
322
+ exports.deserializeIntoDirectRoutingLogRow = deserializeIntoDirectRoutingLogRow;
323
+ /**
324
+ * The deserialization information for the current model
325
+ * @returns a Record<string, (node: ParseNode) => void>
326
+ */
327
+ function deserializeIntoEndpoint(endpoint = {}) {
328
+ return {
329
+ "backingStoreEnabled": n => { endpoint.backingStoreEnabled = true; },
330
+ "@odata.type": n => { endpoint.odataType = n.getStringValue(); },
331
+ "userAgent": n => { endpoint.userAgent = n.getObjectValue(createUserAgentFromDiscriminatorValue); },
332
+ };
333
+ }
334
+ exports.deserializeIntoEndpoint = deserializeIntoEndpoint;
335
+ /**
336
+ * The deserialization information for the current model
337
+ * @returns a Record<string, (node: ParseNode) => void>
338
+ */
339
+ function deserializeIntoFailureInfo(failureInfo = {}) {
340
+ return {
341
+ "backingStoreEnabled": n => { failureInfo.backingStoreEnabled = true; },
342
+ "@odata.type": n => { failureInfo.odataType = n.getStringValue(); },
343
+ "reason": n => { failureInfo.reason = n.getStringValue(); },
344
+ "stage": n => { failureInfo.stage = n.getEnumValue(exports.FailureStageObject); },
345
+ };
346
+ }
347
+ exports.deserializeIntoFailureInfo = deserializeIntoFailureInfo;
348
+ /**
349
+ * The deserialization information for the current model
350
+ * @returns a Record<string, (node: ParseNode) => void>
351
+ */
352
+ function deserializeIntoFeedbackTokenSet(feedbackTokenSet = {}) {
353
+ return {
354
+ "backingStoreEnabled": n => { feedbackTokenSet.backingStoreEnabled = true; },
355
+ "@odata.type": n => { feedbackTokenSet.odataType = n.getStringValue(); },
356
+ };
357
+ }
358
+ exports.deserializeIntoFeedbackTokenSet = deserializeIntoFeedbackTokenSet;
359
+ /**
360
+ * The deserialization information for the current model
361
+ * @returns a Record<string, (node: ParseNode) => void>
362
+ */
363
+ function deserializeIntoMedia(media = {}) {
364
+ return {
365
+ "backingStoreEnabled": n => { media.backingStoreEnabled = true; },
366
+ "calleeDevice": n => { media.calleeDevice = n.getObjectValue(createDeviceInfoFromDiscriminatorValue); },
367
+ "calleeNetwork": n => { media.calleeNetwork = n.getObjectValue(createNetworkInfoFromDiscriminatorValue); },
368
+ "callerDevice": n => { media.callerDevice = n.getObjectValue(createDeviceInfoFromDiscriminatorValue); },
369
+ "callerNetwork": n => { media.callerNetwork = n.getObjectValue(createNetworkInfoFromDiscriminatorValue); },
370
+ "label": n => { media.label = n.getStringValue(); },
371
+ "@odata.type": n => { media.odataType = n.getStringValue(); },
372
+ "streams": n => { media.streams = n.getCollectionOfObjectValues(createMediaStreamFromDiscriminatorValue); },
373
+ };
374
+ }
375
+ exports.deserializeIntoMedia = deserializeIntoMedia;
376
+ /**
377
+ * The deserialization information for the current model
378
+ * @returns a Record<string, (node: ParseNode) => void>
379
+ */
380
+ function deserializeIntoMediaStream(mediaStream = {}) {
381
+ return {
382
+ "audioCodec": n => { mediaStream.audioCodec = n.getEnumValue(exports.AudioCodecObject); },
383
+ "averageAudioDegradation": n => { mediaStream.averageAudioDegradation = n.getNumberValue(); },
384
+ "averageAudioNetworkJitter": n => { mediaStream.averageAudioNetworkJitter = n.getDurationValue(); },
385
+ "averageBandwidthEstimate": n => { mediaStream.averageBandwidthEstimate = n.getNumberValue(); },
386
+ "averageFreezeDuration": n => { mediaStream.averageFreezeDuration = n.getDurationValue(); },
387
+ "averageJitter": n => { mediaStream.averageJitter = n.getDurationValue(); },
388
+ "averagePacketLossRate": n => { mediaStream.averagePacketLossRate = n.getNumberValue(); },
389
+ "averageRatioOfConcealedSamples": n => { mediaStream.averageRatioOfConcealedSamples = n.getNumberValue(); },
390
+ "averageReceivedFrameRate": n => { mediaStream.averageReceivedFrameRate = n.getNumberValue(); },
391
+ "averageRoundTripTime": n => { mediaStream.averageRoundTripTime = n.getDurationValue(); },
392
+ "averageVideoFrameLossPercentage": n => { mediaStream.averageVideoFrameLossPercentage = n.getNumberValue(); },
393
+ "averageVideoFrameRate": n => { mediaStream.averageVideoFrameRate = n.getNumberValue(); },
394
+ "averageVideoPacketLossRate": n => { mediaStream.averageVideoPacketLossRate = n.getNumberValue(); },
395
+ "backingStoreEnabled": n => { mediaStream.backingStoreEnabled = true; },
396
+ "endDateTime": n => { mediaStream.endDateTime = n.getDateValue(); },
397
+ "isAudioForwardErrorCorrectionUsed": n => { mediaStream.isAudioForwardErrorCorrectionUsed = n.getBooleanValue(); },
398
+ "lowFrameRateRatio": n => { mediaStream.lowFrameRateRatio = n.getNumberValue(); },
399
+ "lowVideoProcessingCapabilityRatio": n => { mediaStream.lowVideoProcessingCapabilityRatio = n.getNumberValue(); },
400
+ "maxAudioNetworkJitter": n => { mediaStream.maxAudioNetworkJitter = n.getDurationValue(); },
401
+ "maxJitter": n => { mediaStream.maxJitter = n.getDurationValue(); },
402
+ "maxPacketLossRate": n => { mediaStream.maxPacketLossRate = n.getNumberValue(); },
403
+ "maxRatioOfConcealedSamples": n => { mediaStream.maxRatioOfConcealedSamples = n.getNumberValue(); },
404
+ "maxRoundTripTime": n => { mediaStream.maxRoundTripTime = n.getDurationValue(); },
405
+ "@odata.type": n => { mediaStream.odataType = n.getStringValue(); },
406
+ "packetUtilization": n => { mediaStream.packetUtilization = n.getNumberValue(); },
407
+ "postForwardErrorCorrectionPacketLossRate": n => { mediaStream.postForwardErrorCorrectionPacketLossRate = n.getNumberValue(); },
408
+ "rmsFreezeDuration": n => { mediaStream.rmsFreezeDuration = n.getDurationValue(); },
409
+ "startDateTime": n => { mediaStream.startDateTime = n.getDateValue(); },
410
+ "streamDirection": n => { mediaStream.streamDirection = n.getEnumValue(exports.MediaStreamDirectionObject); },
411
+ "streamId": n => { mediaStream.streamId = n.getStringValue(); },
412
+ "videoCodec": n => { mediaStream.videoCodec = n.getEnumValue(exports.VideoCodecObject); },
413
+ "wasMediaBypassed": n => { mediaStream.wasMediaBypassed = n.getBooleanValue(); },
414
+ };
415
+ }
416
+ exports.deserializeIntoMediaStream = deserializeIntoMediaStream;
417
+ /**
418
+ * The deserialization information for the current model
419
+ * @returns a Record<string, (node: ParseNode) => void>
420
+ */
421
+ function deserializeIntoNetworkInfo(networkInfo = {}) {
422
+ return {
423
+ "backingStoreEnabled": n => { networkInfo.backingStoreEnabled = true; },
424
+ "bandwidthLowEventRatio": n => { networkInfo.bandwidthLowEventRatio = n.getNumberValue(); },
425
+ "basicServiceSetIdentifier": n => { networkInfo.basicServiceSetIdentifier = n.getStringValue(); },
426
+ "connectionType": n => { networkInfo.connectionType = n.getEnumValue(exports.NetworkConnectionTypeObject); },
427
+ "delayEventRatio": n => { networkInfo.delayEventRatio = n.getNumberValue(); },
428
+ "dnsSuffix": n => { networkInfo.dnsSuffix = n.getStringValue(); },
429
+ "ipAddress": n => { networkInfo.ipAddress = n.getStringValue(); },
430
+ "linkSpeed": n => { networkInfo.linkSpeed = n.getNumberValue(); },
431
+ "macAddress": n => { networkInfo.macAddress = n.getStringValue(); },
432
+ "networkTransportProtocol": n => { networkInfo.networkTransportProtocol = n.getEnumValue(exports.NetworkTransportProtocolObject); },
433
+ "@odata.type": n => { networkInfo.odataType = n.getStringValue(); },
434
+ "port": n => { networkInfo.port = n.getNumberValue(); },
435
+ "receivedQualityEventRatio": n => { networkInfo.receivedQualityEventRatio = n.getNumberValue(); },
436
+ "reflexiveIPAddress": n => { networkInfo.reflexiveIPAddress = n.getStringValue(); },
437
+ "relayIPAddress": n => { networkInfo.relayIPAddress = n.getStringValue(); },
438
+ "relayPort": n => { networkInfo.relayPort = n.getNumberValue(); },
439
+ "sentQualityEventRatio": n => { networkInfo.sentQualityEventRatio = n.getNumberValue(); },
440
+ "subnet": n => { networkInfo.subnet = n.getStringValue(); },
441
+ "traceRouteHops": n => { networkInfo.traceRouteHops = n.getCollectionOfObjectValues(createTraceRouteHopFromDiscriminatorValue); },
442
+ "wifiBand": n => { networkInfo.wifiBand = n.getEnumValue(exports.WifiBandObject); },
443
+ "wifiBatteryCharge": n => { networkInfo.wifiBatteryCharge = n.getNumberValue(); },
444
+ "wifiChannel": n => { networkInfo.wifiChannel = n.getNumberValue(); },
445
+ "wifiMicrosoftDriver": n => { networkInfo.wifiMicrosoftDriver = n.getStringValue(); },
446
+ "wifiMicrosoftDriverVersion": n => { networkInfo.wifiMicrosoftDriverVersion = n.getStringValue(); },
447
+ "wifiRadioType": n => { networkInfo.wifiRadioType = n.getEnumValue(exports.WifiRadioTypeObject); },
448
+ "wifiSignalStrength": n => { networkInfo.wifiSignalStrength = n.getNumberValue(); },
449
+ "wifiVendorDriver": n => { networkInfo.wifiVendorDriver = n.getStringValue(); },
450
+ "wifiVendorDriverVersion": n => { networkInfo.wifiVendorDriverVersion = n.getStringValue(); },
451
+ };
452
+ }
453
+ exports.deserializeIntoNetworkInfo = deserializeIntoNetworkInfo;
454
+ /**
455
+ * The deserialization information for the current model
456
+ * @returns a Record<string, (node: ParseNode) => void>
457
+ */
458
+ function deserializeIntoParticipantEndpoint(participantEndpoint = {}) {
459
+ return Object.assign(Object.assign({}, deserializeIntoEndpoint(participantEndpoint)), { "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(__1.createIdentitySetFromDiscriminatorValue); }, "name": n => { participantEndpoint.name = n.getStringValue(); } });
460
+ }
461
+ exports.deserializeIntoParticipantEndpoint = deserializeIntoParticipantEndpoint;
462
+ /**
463
+ * The deserialization information for the current model
464
+ * @returns a Record<string, (node: ParseNode) => void>
465
+ */
466
+ function deserializeIntoPstnCallLogRow(pstnCallLogRow = {}) {
467
+ return {
468
+ "backingStoreEnabled": n => { pstnCallLogRow.backingStoreEnabled = true; },
469
+ "callDurationSource": n => { pstnCallLogRow.callDurationSource = n.getEnumValue(exports.PstnCallDurationSourceObject); },
470
+ "calleeNumber": n => { pstnCallLogRow.calleeNumber = n.getStringValue(); },
471
+ "callerNumber": n => { pstnCallLogRow.callerNumber = n.getStringValue(); },
472
+ "callId": n => { pstnCallLogRow.callId = n.getStringValue(); },
473
+ "callType": n => { pstnCallLogRow.callType = n.getStringValue(); },
474
+ "charge": n => { pstnCallLogRow.charge = n.getNumberValue(); },
475
+ "conferenceId": n => { pstnCallLogRow.conferenceId = n.getStringValue(); },
476
+ "connectionCharge": n => { pstnCallLogRow.connectionCharge = n.getNumberValue(); },
477
+ "currency": n => { pstnCallLogRow.currency = n.getStringValue(); },
478
+ "destinationContext": n => { pstnCallLogRow.destinationContext = n.getStringValue(); },
479
+ "destinationName": n => { pstnCallLogRow.destinationName = n.getStringValue(); },
480
+ "duration": n => { pstnCallLogRow.duration = n.getNumberValue(); },
481
+ "endDateTime": n => { pstnCallLogRow.endDateTime = n.getDateValue(); },
482
+ "id": n => { pstnCallLogRow.id = n.getStringValue(); },
483
+ "inventoryType": n => { pstnCallLogRow.inventoryType = n.getStringValue(); },
484
+ "licenseCapability": n => { pstnCallLogRow.licenseCapability = n.getStringValue(); },
485
+ "@odata.type": n => { pstnCallLogRow.odataType = n.getStringValue(); },
486
+ "operator": n => { pstnCallLogRow.operator = n.getStringValue(); },
487
+ "startDateTime": n => { pstnCallLogRow.startDateTime = n.getDateValue(); },
488
+ "tenantCountryCode": n => { pstnCallLogRow.tenantCountryCode = n.getStringValue(); },
489
+ "usageCountryCode": n => { pstnCallLogRow.usageCountryCode = n.getStringValue(); },
490
+ "userDisplayName": n => { pstnCallLogRow.userDisplayName = n.getStringValue(); },
491
+ "userId": n => { pstnCallLogRow.userId = n.getStringValue(); },
492
+ "userPrincipalName": n => { pstnCallLogRow.userPrincipalName = n.getStringValue(); },
493
+ };
494
+ }
495
+ exports.deserializeIntoPstnCallLogRow = deserializeIntoPstnCallLogRow;
496
+ /**
497
+ * The deserialization information for the current model
498
+ * @returns a Record<string, (node: ParseNode) => void>
499
+ */
500
+ function deserializeIntoSegment(segment = {}) {
501
+ return Object.assign(Object.assign({}, (0, __1.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(); } });
502
+ }
503
+ exports.deserializeIntoSegment = deserializeIntoSegment;
504
+ /**
505
+ * The deserialization information for the current model
506
+ * @returns a Record<string, (node: ParseNode) => void>
507
+ */
508
+ function deserializeIntoSegmentCollectionResponse(segmentCollectionResponse = {}) {
509
+ return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(segmentCollectionResponse)), { "value": n => { segmentCollectionResponse.value = n.getCollectionOfObjectValues(createSegmentFromDiscriminatorValue); } });
510
+ }
511
+ exports.deserializeIntoSegmentCollectionResponse = deserializeIntoSegmentCollectionResponse;
512
+ /**
513
+ * The deserialization information for the current model
514
+ * @returns a Record<string, (node: ParseNode) => void>
515
+ */
516
+ function deserializeIntoServiceEndpoint(serviceEndpoint = {}) {
517
+ return Object.assign({}, deserializeIntoEndpoint(serviceEndpoint));
518
+ }
519
+ exports.deserializeIntoServiceEndpoint = deserializeIntoServiceEndpoint;
520
+ /**
521
+ * The deserialization information for the current model
522
+ * @returns a Record<string, (node: ParseNode) => void>
523
+ */
524
+ function deserializeIntoServiceUserAgent(serviceUserAgent = {}) {
525
+ return Object.assign(Object.assign({}, deserializeIntoUserAgent(serviceUserAgent)), { "role": n => { serviceUserAgent.role = n.getEnumValue(exports.ServiceRoleObject); } });
526
+ }
527
+ exports.deserializeIntoServiceUserAgent = deserializeIntoServiceUserAgent;
528
+ /**
529
+ * The deserialization information for the current model
530
+ * @returns a Record<string, (node: ParseNode) => void>
531
+ */
532
+ function deserializeIntoSession(session = {}) {
533
+ return Object.assign(Object.assign({}, (0, __1.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(exports.ModalityObject); }, "segments": n => { session.segments = n.getCollectionOfObjectValues(createSegmentFromDiscriminatorValue); }, "startDateTime": n => { session.startDateTime = n.getDateValue(); } });
534
+ }
535
+ exports.deserializeIntoSession = deserializeIntoSession;
536
+ /**
537
+ * The deserialization information for the current model
538
+ * @returns a Record<string, (node: ParseNode) => void>
539
+ */
540
+ function deserializeIntoSessionCollectionResponse(sessionCollectionResponse = {}) {
541
+ return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(sessionCollectionResponse)), { "value": n => { sessionCollectionResponse.value = n.getCollectionOfObjectValues(createSessionFromDiscriminatorValue); } });
542
+ }
543
+ exports.deserializeIntoSessionCollectionResponse = deserializeIntoSessionCollectionResponse;
544
+ /**
545
+ * The deserialization information for the current model
546
+ * @returns a Record<string, (node: ParseNode) => void>
547
+ */
548
+ function deserializeIntoTraceRouteHop(traceRouteHop = {}) {
549
+ return {
550
+ "backingStoreEnabled": n => { traceRouteHop.backingStoreEnabled = true; },
551
+ "hopCount": n => { traceRouteHop.hopCount = n.getNumberValue(); },
552
+ "ipAddress": n => { traceRouteHop.ipAddress = n.getStringValue(); },
553
+ "@odata.type": n => { traceRouteHop.odataType = n.getStringValue(); },
554
+ "roundTripTime": n => { traceRouteHop.roundTripTime = n.getDurationValue(); },
555
+ };
556
+ }
557
+ exports.deserializeIntoTraceRouteHop = deserializeIntoTraceRouteHop;
558
+ /**
559
+ * The deserialization information for the current model
560
+ * @returns a Record<string, (node: ParseNode) => void>
561
+ */
562
+ function deserializeIntoUserAgent(userAgent = {}) {
563
+ return {
564
+ "applicationVersion": n => { userAgent.applicationVersion = n.getStringValue(); },
565
+ "backingStoreEnabled": n => { userAgent.backingStoreEnabled = true; },
566
+ "headerValue": n => { userAgent.headerValue = n.getStringValue(); },
567
+ "@odata.type": n => { userAgent.odataType = n.getStringValue(); },
568
+ };
569
+ }
570
+ exports.deserializeIntoUserAgent = deserializeIntoUserAgent;
571
+ /**
572
+ * The deserialization information for the current model
573
+ * @returns a Record<string, (node: ParseNode) => void>
574
+ */
575
+ function deserializeIntoUserFeedback(userFeedback = {}) {
576
+ return {
577
+ "backingStoreEnabled": n => { userFeedback.backingStoreEnabled = true; },
578
+ "@odata.type": n => { userFeedback.odataType = n.getStringValue(); },
579
+ "rating": n => { userFeedback.rating = n.getEnumValue(exports.UserFeedbackRatingObject); },
580
+ "text": n => { userFeedback.text = n.getStringValue(); },
581
+ "tokens": n => { userFeedback.tokens = n.getObjectValue(createFeedbackTokenSetFromDiscriminatorValue); },
582
+ };
583
+ }
584
+ exports.deserializeIntoUserFeedback = deserializeIntoUserFeedback;
585
+ /**
586
+ * Serializes information the current object
587
+ * @param writer Serialization writer to use to serialize this model
588
+ */
589
+ function serializeCallRecord(writer, callRecord = {}) {
590
+ (0, __1.serializeEntity)(writer, callRecord);
591
+ writer.writeDateValue("endDateTime", callRecord.endDateTime);
592
+ writer.writeStringValue("joinWebUrl", callRecord.joinWebUrl);
593
+ writer.writeDateValue("lastModifiedDateTime", callRecord.lastModifiedDateTime);
594
+ if (callRecord.modalities)
595
+ writer.writeEnumValue("modalities", ...callRecord.modalities);
596
+ writer.writeObjectValue("organizer", callRecord.organizer, __1.serializeIdentitySet);
597
+ writer.writeCollectionOfObjectValues("participants", callRecord.participants, __1.serializeIdentitySet);
598
+ writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, serializeSession);
599
+ writer.writeDateValue("startDateTime", callRecord.startDateTime);
600
+ writer.writeEnumValue("type", callRecord.type);
601
+ writer.writeNumberValue("version", callRecord.version);
602
+ }
603
+ exports.serializeCallRecord = serializeCallRecord;
604
+ /**
605
+ * Serializes information the current object
606
+ * @param writer Serialization writer to use to serialize this model
607
+ */
608
+ function serializeCallRecordCollectionResponse(writer, callRecordCollectionResponse = {}) {
609
+ (0, __1.serializeBaseCollectionPaginationCountResponse)(writer, callRecordCollectionResponse);
610
+ writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, serializeCallRecord);
611
+ }
612
+ exports.serializeCallRecordCollectionResponse = serializeCallRecordCollectionResponse;
613
+ /**
614
+ * Serializes information the current object
615
+ * @param writer Serialization writer to use to serialize this model
616
+ */
617
+ function serializeClientUserAgent(writer, clientUserAgent = {}) {
618
+ serializeUserAgent(writer, clientUserAgent);
619
+ writer.writeStringValue("azureADAppId", clientUserAgent.azureADAppId);
620
+ writer.writeStringValue("communicationServiceId", clientUserAgent.communicationServiceId);
621
+ writer.writeEnumValue("platform", clientUserAgent.platform);
622
+ writer.writeEnumValue("productFamily", clientUserAgent.productFamily);
623
+ }
624
+ exports.serializeClientUserAgent = serializeClientUserAgent;
625
+ /**
626
+ * Serializes information the current object
627
+ * @param writer Serialization writer to use to serialize this model
628
+ */
629
+ function serializeDeviceInfo(writer, deviceInfo = {}) {
630
+ writer.writeStringValue("captureDeviceDriver", deviceInfo.captureDeviceDriver);
631
+ writer.writeStringValue("captureDeviceName", deviceInfo.captureDeviceName);
632
+ writer.writeNumberValue("captureNotFunctioningEventRatio", deviceInfo.captureNotFunctioningEventRatio);
633
+ writer.writeNumberValue("cpuInsufficentEventRatio", deviceInfo.cpuInsufficentEventRatio);
634
+ writer.writeNumberValue("deviceClippingEventRatio", deviceInfo.deviceClippingEventRatio);
635
+ writer.writeNumberValue("deviceGlitchEventRatio", deviceInfo.deviceGlitchEventRatio);
636
+ writer.writeNumberValue("howlingEventCount", deviceInfo.howlingEventCount);
637
+ writer.writeNumberValue("initialSignalLevelRootMeanSquare", deviceInfo.initialSignalLevelRootMeanSquare);
638
+ writer.writeNumberValue("lowSpeechLevelEventRatio", deviceInfo.lowSpeechLevelEventRatio);
639
+ writer.writeNumberValue("lowSpeechToNoiseEventRatio", deviceInfo.lowSpeechToNoiseEventRatio);
640
+ writer.writeNumberValue("micGlitchRate", deviceInfo.micGlitchRate);
641
+ writer.writeStringValue("@odata.type", deviceInfo.odataType);
642
+ writer.writeNumberValue("receivedNoiseLevel", deviceInfo.receivedNoiseLevel);
643
+ writer.writeNumberValue("receivedSignalLevel", deviceInfo.receivedSignalLevel);
644
+ writer.writeStringValue("renderDeviceDriver", deviceInfo.renderDeviceDriver);
645
+ writer.writeStringValue("renderDeviceName", deviceInfo.renderDeviceName);
646
+ writer.writeNumberValue("renderMuteEventRatio", deviceInfo.renderMuteEventRatio);
647
+ writer.writeNumberValue("renderNotFunctioningEventRatio", deviceInfo.renderNotFunctioningEventRatio);
648
+ writer.writeNumberValue("renderZeroVolumeEventRatio", deviceInfo.renderZeroVolumeEventRatio);
649
+ writer.writeNumberValue("sentNoiseLevel", deviceInfo.sentNoiseLevel);
650
+ writer.writeNumberValue("sentSignalLevel", deviceInfo.sentSignalLevel);
651
+ writer.writeNumberValue("speakerGlitchRate", deviceInfo.speakerGlitchRate);
652
+ writer.writeAdditionalData(deviceInfo.additionalData);
653
+ }
654
+ exports.serializeDeviceInfo = serializeDeviceInfo;
655
+ /**
656
+ * Serializes information the current object
657
+ * @param writer Serialization writer to use to serialize this model
658
+ */
659
+ function serializeDirectRoutingLogRow(writer, directRoutingLogRow = {}) {
660
+ writer.writeStringValue("calleeNumber", directRoutingLogRow.calleeNumber);
661
+ writer.writeNumberValue("callEndSubReason", directRoutingLogRow.callEndSubReason);
662
+ writer.writeStringValue("callerNumber", directRoutingLogRow.callerNumber);
663
+ writer.writeStringValue("callType", directRoutingLogRow.callType);
664
+ writer.writeStringValue("correlationId", directRoutingLogRow.correlationId);
665
+ writer.writeNumberValue("duration", directRoutingLogRow.duration);
666
+ writer.writeDateValue("endDateTime", directRoutingLogRow.endDateTime);
667
+ writer.writeDateValue("failureDateTime", directRoutingLogRow.failureDateTime);
668
+ writer.writeNumberValue("finalSipCode", directRoutingLogRow.finalSipCode);
669
+ writer.writeStringValue("finalSipCodePhrase", directRoutingLogRow.finalSipCodePhrase);
670
+ writer.writeStringValue("id", directRoutingLogRow.id);
671
+ writer.writeDateValue("inviteDateTime", directRoutingLogRow.inviteDateTime);
672
+ writer.writeBooleanValue("mediaBypassEnabled", directRoutingLogRow.mediaBypassEnabled);
673
+ writer.writeStringValue("mediaPathLocation", directRoutingLogRow.mediaPathLocation);
674
+ writer.writeStringValue("@odata.type", directRoutingLogRow.odataType);
675
+ writer.writeStringValue("signalingLocation", directRoutingLogRow.signalingLocation);
676
+ writer.writeDateValue("startDateTime", directRoutingLogRow.startDateTime);
677
+ writer.writeBooleanValue("successfulCall", directRoutingLogRow.successfulCall);
678
+ writer.writeStringValue("trunkFullyQualifiedDomainName", directRoutingLogRow.trunkFullyQualifiedDomainName);
679
+ writer.writeStringValue("userDisplayName", directRoutingLogRow.userDisplayName);
680
+ writer.writeStringValue("userId", directRoutingLogRow.userId);
681
+ writer.writeStringValue("userPrincipalName", directRoutingLogRow.userPrincipalName);
682
+ writer.writeAdditionalData(directRoutingLogRow.additionalData);
683
+ }
684
+ exports.serializeDirectRoutingLogRow = serializeDirectRoutingLogRow;
685
+ /**
686
+ * Serializes information the current object
687
+ * @param writer Serialization writer to use to serialize this model
688
+ */
689
+ function serializeEndpoint(writer, endpoint = {}) {
690
+ writer.writeStringValue("@odata.type", endpoint.odataType);
691
+ writer.writeObjectValue("userAgent", endpoint.userAgent, serializeUserAgent);
692
+ writer.writeAdditionalData(endpoint.additionalData);
693
+ }
694
+ exports.serializeEndpoint = serializeEndpoint;
695
+ /**
696
+ * Serializes information the current object
697
+ * @param writer Serialization writer to use to serialize this model
698
+ */
699
+ function serializeFailureInfo(writer, failureInfo = {}) {
700
+ writer.writeStringValue("@odata.type", failureInfo.odataType);
701
+ writer.writeStringValue("reason", failureInfo.reason);
702
+ writer.writeEnumValue("stage", failureInfo.stage);
703
+ writer.writeAdditionalData(failureInfo.additionalData);
704
+ }
705
+ exports.serializeFailureInfo = serializeFailureInfo;
706
+ /**
707
+ * Serializes information the current object
708
+ * @param writer Serialization writer to use to serialize this model
709
+ */
710
+ function serializeFeedbackTokenSet(writer, feedbackTokenSet = {}) {
711
+ writer.writeStringValue("@odata.type", feedbackTokenSet.odataType);
712
+ writer.writeAdditionalData(feedbackTokenSet.additionalData);
713
+ }
714
+ exports.serializeFeedbackTokenSet = serializeFeedbackTokenSet;
715
+ /**
716
+ * Serializes information the current object
717
+ * @param writer Serialization writer to use to serialize this model
718
+ */
719
+ function serializeMedia(writer, media = {}) {
720
+ writer.writeObjectValue("calleeDevice", media.calleeDevice, serializeDeviceInfo);
721
+ writer.writeObjectValue("calleeNetwork", media.calleeNetwork, serializeNetworkInfo);
722
+ writer.writeObjectValue("callerDevice", media.callerDevice, serializeDeviceInfo);
723
+ writer.writeObjectValue("callerNetwork", media.callerNetwork, serializeNetworkInfo);
724
+ writer.writeStringValue("label", media.label);
725
+ writer.writeStringValue("@odata.type", media.odataType);
726
+ writer.writeCollectionOfObjectValues("streams", media.streams, serializeMediaStream);
727
+ writer.writeAdditionalData(media.additionalData);
728
+ }
729
+ exports.serializeMedia = serializeMedia;
730
+ /**
731
+ * Serializes information the current object
732
+ * @param writer Serialization writer to use to serialize this model
733
+ */
734
+ function serializeMediaStream(writer, mediaStream = {}) {
735
+ writer.writeEnumValue("audioCodec", mediaStream.audioCodec);
736
+ writer.writeNumberValue("averageAudioDegradation", mediaStream.averageAudioDegradation);
737
+ writer.writeDurationValue("averageAudioNetworkJitter", mediaStream.averageAudioNetworkJitter);
738
+ writer.writeNumberValue("averageBandwidthEstimate", mediaStream.averageBandwidthEstimate);
739
+ writer.writeDurationValue("averageFreezeDuration", mediaStream.averageFreezeDuration);
740
+ writer.writeDurationValue("averageJitter", mediaStream.averageJitter);
741
+ writer.writeNumberValue("averagePacketLossRate", mediaStream.averagePacketLossRate);
742
+ writer.writeNumberValue("averageRatioOfConcealedSamples", mediaStream.averageRatioOfConcealedSamples);
743
+ writer.writeNumberValue("averageReceivedFrameRate", mediaStream.averageReceivedFrameRate);
744
+ writer.writeDurationValue("averageRoundTripTime", mediaStream.averageRoundTripTime);
745
+ writer.writeNumberValue("averageVideoFrameLossPercentage", mediaStream.averageVideoFrameLossPercentage);
746
+ writer.writeNumberValue("averageVideoFrameRate", mediaStream.averageVideoFrameRate);
747
+ writer.writeNumberValue("averageVideoPacketLossRate", mediaStream.averageVideoPacketLossRate);
748
+ writer.writeDateValue("endDateTime", mediaStream.endDateTime);
749
+ writer.writeBooleanValue("isAudioForwardErrorCorrectionUsed", mediaStream.isAudioForwardErrorCorrectionUsed);
750
+ writer.writeNumberValue("lowFrameRateRatio", mediaStream.lowFrameRateRatio);
751
+ writer.writeNumberValue("lowVideoProcessingCapabilityRatio", mediaStream.lowVideoProcessingCapabilityRatio);
752
+ writer.writeDurationValue("maxAudioNetworkJitter", mediaStream.maxAudioNetworkJitter);
753
+ writer.writeDurationValue("maxJitter", mediaStream.maxJitter);
754
+ writer.writeNumberValue("maxPacketLossRate", mediaStream.maxPacketLossRate);
755
+ writer.writeNumberValue("maxRatioOfConcealedSamples", mediaStream.maxRatioOfConcealedSamples);
756
+ writer.writeDurationValue("maxRoundTripTime", mediaStream.maxRoundTripTime);
757
+ writer.writeStringValue("@odata.type", mediaStream.odataType);
758
+ writer.writeNumberValue("packetUtilization", mediaStream.packetUtilization);
759
+ writer.writeNumberValue("postForwardErrorCorrectionPacketLossRate", mediaStream.postForwardErrorCorrectionPacketLossRate);
760
+ writer.writeDurationValue("rmsFreezeDuration", mediaStream.rmsFreezeDuration);
761
+ writer.writeDateValue("startDateTime", mediaStream.startDateTime);
762
+ writer.writeEnumValue("streamDirection", mediaStream.streamDirection);
763
+ writer.writeStringValue("streamId", mediaStream.streamId);
764
+ writer.writeEnumValue("videoCodec", mediaStream.videoCodec);
765
+ writer.writeBooleanValue("wasMediaBypassed", mediaStream.wasMediaBypassed);
766
+ writer.writeAdditionalData(mediaStream.additionalData);
767
+ }
768
+ exports.serializeMediaStream = serializeMediaStream;
769
+ /**
770
+ * Serializes information the current object
771
+ * @param writer Serialization writer to use to serialize this model
772
+ */
773
+ function serializeNetworkInfo(writer, networkInfo = {}) {
774
+ writer.writeNumberValue("bandwidthLowEventRatio", networkInfo.bandwidthLowEventRatio);
775
+ writer.writeStringValue("basicServiceSetIdentifier", networkInfo.basicServiceSetIdentifier);
776
+ writer.writeEnumValue("connectionType", networkInfo.connectionType);
777
+ writer.writeNumberValue("delayEventRatio", networkInfo.delayEventRatio);
778
+ writer.writeStringValue("dnsSuffix", networkInfo.dnsSuffix);
779
+ writer.writeStringValue("ipAddress", networkInfo.ipAddress);
780
+ writer.writeNumberValue("linkSpeed", networkInfo.linkSpeed);
781
+ writer.writeStringValue("macAddress", networkInfo.macAddress);
782
+ writer.writeEnumValue("networkTransportProtocol", networkInfo.networkTransportProtocol);
783
+ writer.writeStringValue("@odata.type", networkInfo.odataType);
784
+ writer.writeNumberValue("port", networkInfo.port);
785
+ writer.writeNumberValue("receivedQualityEventRatio", networkInfo.receivedQualityEventRatio);
786
+ writer.writeStringValue("reflexiveIPAddress", networkInfo.reflexiveIPAddress);
787
+ writer.writeStringValue("relayIPAddress", networkInfo.relayIPAddress);
788
+ writer.writeNumberValue("relayPort", networkInfo.relayPort);
789
+ writer.writeNumberValue("sentQualityEventRatio", networkInfo.sentQualityEventRatio);
790
+ writer.writeStringValue("subnet", networkInfo.subnet);
791
+ writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, serializeTraceRouteHop);
792
+ writer.writeEnumValue("wifiBand", networkInfo.wifiBand);
793
+ writer.writeNumberValue("wifiBatteryCharge", networkInfo.wifiBatteryCharge);
794
+ writer.writeNumberValue("wifiChannel", networkInfo.wifiChannel);
795
+ writer.writeStringValue("wifiMicrosoftDriver", networkInfo.wifiMicrosoftDriver);
796
+ writer.writeStringValue("wifiMicrosoftDriverVersion", networkInfo.wifiMicrosoftDriverVersion);
797
+ writer.writeEnumValue("wifiRadioType", networkInfo.wifiRadioType);
798
+ writer.writeNumberValue("wifiSignalStrength", networkInfo.wifiSignalStrength);
799
+ writer.writeStringValue("wifiVendorDriver", networkInfo.wifiVendorDriver);
800
+ writer.writeStringValue("wifiVendorDriverVersion", networkInfo.wifiVendorDriverVersion);
801
+ writer.writeAdditionalData(networkInfo.additionalData);
802
+ }
803
+ exports.serializeNetworkInfo = serializeNetworkInfo;
804
+ /**
805
+ * Serializes information the current object
806
+ * @param writer Serialization writer to use to serialize this model
807
+ */
808
+ function serializeParticipantEndpoint(writer, participantEndpoint = {}) {
809
+ serializeEndpoint(writer, participantEndpoint);
810
+ writer.writeNumberValue("cpuCoresCount", participantEndpoint.cpuCoresCount);
811
+ writer.writeStringValue("cpuName", participantEndpoint.cpuName);
812
+ writer.writeNumberValue("cpuProcessorSpeedInMhz", participantEndpoint.cpuProcessorSpeedInMhz);
813
+ writer.writeObjectValue("feedback", participantEndpoint.feedback, serializeUserFeedback);
814
+ writer.writeObjectValue("identity", participantEndpoint.identity, __1.serializeIdentitySet);
815
+ writer.writeStringValue("name", participantEndpoint.name);
816
+ }
817
+ exports.serializeParticipantEndpoint = serializeParticipantEndpoint;
818
+ /**
819
+ * Serializes information the current object
820
+ * @param writer Serialization writer to use to serialize this model
821
+ */
822
+ function serializePstnCallLogRow(writer, pstnCallLogRow = {}) {
823
+ writer.writeEnumValue("callDurationSource", pstnCallLogRow.callDurationSource);
824
+ writer.writeStringValue("calleeNumber", pstnCallLogRow.calleeNumber);
825
+ writer.writeStringValue("callerNumber", pstnCallLogRow.callerNumber);
826
+ writer.writeStringValue("callId", pstnCallLogRow.callId);
827
+ writer.writeStringValue("callType", pstnCallLogRow.callType);
828
+ writer.writeNumberValue("charge", pstnCallLogRow.charge);
829
+ writer.writeStringValue("conferenceId", pstnCallLogRow.conferenceId);
830
+ writer.writeNumberValue("connectionCharge", pstnCallLogRow.connectionCharge);
831
+ writer.writeStringValue("currency", pstnCallLogRow.currency);
832
+ writer.writeStringValue("destinationContext", pstnCallLogRow.destinationContext);
833
+ writer.writeStringValue("destinationName", pstnCallLogRow.destinationName);
834
+ writer.writeNumberValue("duration", pstnCallLogRow.duration);
835
+ writer.writeDateValue("endDateTime", pstnCallLogRow.endDateTime);
836
+ writer.writeStringValue("id", pstnCallLogRow.id);
837
+ writer.writeStringValue("inventoryType", pstnCallLogRow.inventoryType);
838
+ writer.writeStringValue("licenseCapability", pstnCallLogRow.licenseCapability);
839
+ writer.writeStringValue("@odata.type", pstnCallLogRow.odataType);
840
+ writer.writeStringValue("operator", pstnCallLogRow.operator);
841
+ writer.writeDateValue("startDateTime", pstnCallLogRow.startDateTime);
842
+ writer.writeStringValue("tenantCountryCode", pstnCallLogRow.tenantCountryCode);
843
+ writer.writeStringValue("usageCountryCode", pstnCallLogRow.usageCountryCode);
844
+ writer.writeStringValue("userDisplayName", pstnCallLogRow.userDisplayName);
845
+ writer.writeStringValue("userId", pstnCallLogRow.userId);
846
+ writer.writeStringValue("userPrincipalName", pstnCallLogRow.userPrincipalName);
847
+ writer.writeAdditionalData(pstnCallLogRow.additionalData);
848
+ }
849
+ exports.serializePstnCallLogRow = serializePstnCallLogRow;
850
+ /**
851
+ * Serializes information the current object
852
+ * @param writer Serialization writer to use to serialize this model
853
+ */
854
+ function serializeSegment(writer, segment = {}) {
855
+ (0, __1.serializeEntity)(writer, segment);
856
+ writer.writeObjectValue("callee", segment.callee, serializeEndpoint);
857
+ writer.writeObjectValue("caller", segment.caller, serializeEndpoint);
858
+ writer.writeDateValue("endDateTime", segment.endDateTime);
859
+ writer.writeObjectValue("failureInfo", segment.failureInfo, serializeFailureInfo);
860
+ writer.writeCollectionOfObjectValues("media", segment.media, serializeMedia);
861
+ writer.writeDateValue("startDateTime", segment.startDateTime);
862
+ }
863
+ exports.serializeSegment = serializeSegment;
864
+ /**
865
+ * Serializes information the current object
866
+ * @param writer Serialization writer to use to serialize this model
867
+ */
868
+ function serializeSegmentCollectionResponse(writer, segmentCollectionResponse = {}) {
869
+ (0, __1.serializeBaseCollectionPaginationCountResponse)(writer, segmentCollectionResponse);
870
+ writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, serializeSegment);
871
+ }
872
+ exports.serializeSegmentCollectionResponse = serializeSegmentCollectionResponse;
873
+ /**
874
+ * Serializes information the current object
875
+ * @param writer Serialization writer to use to serialize this model
876
+ */
877
+ function serializeServiceEndpoint(writer, serviceEndpoint = {}) {
878
+ serializeEndpoint(writer, serviceEndpoint);
879
+ }
880
+ exports.serializeServiceEndpoint = serializeServiceEndpoint;
881
+ /**
882
+ * Serializes information the current object
883
+ * @param writer Serialization writer to use to serialize this model
884
+ */
885
+ function serializeServiceUserAgent(writer, serviceUserAgent = {}) {
886
+ serializeUserAgent(writer, serviceUserAgent);
887
+ writer.writeEnumValue("role", serviceUserAgent.role);
888
+ }
889
+ exports.serializeServiceUserAgent = serializeServiceUserAgent;
890
+ /**
891
+ * Serializes information the current object
892
+ * @param writer Serialization writer to use to serialize this model
893
+ */
894
+ function serializeSession(writer, session = {}) {
895
+ (0, __1.serializeEntity)(writer, session);
896
+ writer.writeObjectValue("callee", session.callee, serializeEndpoint);
897
+ writer.writeObjectValue("caller", session.caller, serializeEndpoint);
898
+ writer.writeDateValue("endDateTime", session.endDateTime);
899
+ writer.writeObjectValue("failureInfo", session.failureInfo, serializeFailureInfo);
900
+ writer.writeBooleanValue("isTest", session.isTest);
901
+ if (session.modalities)
902
+ writer.writeEnumValue("modalities", ...session.modalities);
903
+ writer.writeCollectionOfObjectValues("segments", session.segments, serializeSegment);
904
+ writer.writeDateValue("startDateTime", session.startDateTime);
905
+ }
906
+ exports.serializeSession = serializeSession;
907
+ /**
908
+ * Serializes information the current object
909
+ * @param writer Serialization writer to use to serialize this model
910
+ */
911
+ function serializeSessionCollectionResponse(writer, sessionCollectionResponse = {}) {
912
+ (0, __1.serializeBaseCollectionPaginationCountResponse)(writer, sessionCollectionResponse);
913
+ writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, serializeSession);
914
+ }
915
+ exports.serializeSessionCollectionResponse = serializeSessionCollectionResponse;
916
+ /**
917
+ * Serializes information the current object
918
+ * @param writer Serialization writer to use to serialize this model
919
+ */
920
+ function serializeTraceRouteHop(writer, traceRouteHop = {}) {
921
+ writer.writeNumberValue("hopCount", traceRouteHop.hopCount);
922
+ writer.writeStringValue("ipAddress", traceRouteHop.ipAddress);
923
+ writer.writeStringValue("@odata.type", traceRouteHop.odataType);
924
+ writer.writeDurationValue("roundTripTime", traceRouteHop.roundTripTime);
925
+ writer.writeAdditionalData(traceRouteHop.additionalData);
926
+ }
927
+ exports.serializeTraceRouteHop = serializeTraceRouteHop;
928
+ /**
929
+ * Serializes information the current object
930
+ * @param writer Serialization writer to use to serialize this model
931
+ */
932
+ function serializeUserAgent(writer, userAgent = {}) {
933
+ writer.writeStringValue("applicationVersion", userAgent.applicationVersion);
934
+ writer.writeStringValue("headerValue", userAgent.headerValue);
935
+ writer.writeStringValue("@odata.type", userAgent.odataType);
936
+ writer.writeAdditionalData(userAgent.additionalData);
937
+ }
938
+ exports.serializeUserAgent = serializeUserAgent;
939
+ /**
940
+ * Serializes information the current object
941
+ * @param writer Serialization writer to use to serialize this model
942
+ */
943
+ function serializeUserFeedback(writer, userFeedback = {}) {
944
+ writer.writeStringValue("@odata.type", userFeedback.odataType);
945
+ writer.writeEnumValue("rating", userFeedback.rating);
946
+ writer.writeStringValue("text", userFeedback.text);
947
+ writer.writeObjectValue("tokens", userFeedback.tokens, serializeFeedbackTokenSet);
948
+ writer.writeAdditionalData(userFeedback.additionalData);
949
+ }
950
+ exports.serializeUserFeedback = serializeUserFeedback;
951
+ exports.AudioCodecObject = {
952
+ Unknown: "unknown",
953
+ Invalid: "invalid",
954
+ Cn: "cn",
955
+ Pcma: "pcma",
956
+ Pcmu: "pcmu",
957
+ AmrWide: "amrWide",
958
+ G722: "g722",
959
+ G7221: "g7221",
960
+ G7221c: "g7221c",
961
+ G729: "g729",
962
+ MultiChannelAudio: "multiChannelAudio",
963
+ Muchv2: "muchv2",
964
+ Opus: "opus",
965
+ Satin: "satin",
966
+ SatinFullband: "satinFullband",
967
+ RtAudio8: "rtAudio8",
968
+ RtAudio16: "rtAudio16",
969
+ Silk: "silk",
970
+ SilkNarrow: "silkNarrow",
971
+ SilkWide: "silkWide",
972
+ Siren: "siren",
973
+ XmsRta: "xmsRta",
974
+ UnknownFutureValue: "unknownFutureValue",
975
+ };
976
+ exports.CallTypeObject = {
977
+ Unknown: "unknown",
978
+ GroupCall: "groupCall",
979
+ PeerToPeer: "peerToPeer",
980
+ UnknownFutureValue: "unknownFutureValue",
981
+ };
982
+ exports.ClientPlatformObject = {
983
+ Unknown: "unknown",
984
+ Windows: "windows",
985
+ MacOS: "macOS",
986
+ IOS: "iOS",
987
+ Android: "android",
988
+ Web: "web",
989
+ IpPhone: "ipPhone",
990
+ RoomSystem: "roomSystem",
991
+ SurfaceHub: "surfaceHub",
992
+ HoloLens: "holoLens",
993
+ UnknownFutureValue: "unknownFutureValue",
994
+ };
995
+ exports.FailureStageObject = {
996
+ Unknown: "unknown",
997
+ CallSetup: "callSetup",
998
+ Midcall: "midcall",
999
+ UnknownFutureValue: "unknownFutureValue",
1000
+ };
1001
+ exports.MediaStreamDirectionObject = {
1002
+ CallerToCallee: "callerToCallee",
1003
+ CalleeToCaller: "calleeToCaller",
1004
+ };
1005
+ exports.ModalityObject = {
1006
+ Audio: "audio",
1007
+ Video: "video",
1008
+ VideoBasedScreenSharing: "videoBasedScreenSharing",
1009
+ Data: "data",
1010
+ ScreenSharing: "screenSharing",
1011
+ UnknownFutureValue: "unknownFutureValue",
1012
+ };
1013
+ exports.NetworkConnectionTypeObject = {
1014
+ Unknown: "unknown",
1015
+ Wired: "wired",
1016
+ Wifi: "wifi",
1017
+ Mobile: "mobile",
1018
+ Tunnel: "tunnel",
1019
+ UnknownFutureValue: "unknownFutureValue",
1020
+ };
1021
+ exports.NetworkTransportProtocolObject = {
1022
+ Unknown: "unknown",
1023
+ Udp: "udp",
1024
+ Tcp: "tcp",
1025
+ UnknownFutureValue: "unknownFutureValue",
1026
+ };
1027
+ exports.ProductFamilyObject = {
1028
+ Unknown: "unknown",
1029
+ Teams: "teams",
1030
+ SkypeForBusiness: "skypeForBusiness",
1031
+ Lync: "lync",
1032
+ UnknownFutureValue: "unknownFutureValue",
1033
+ AzureCommunicationServices: "azureCommunicationServices",
1034
+ };
1035
+ exports.PstnCallDurationSourceObject = {
1036
+ Microsoft: "microsoft",
1037
+ Operator: "operator",
1038
+ };
1039
+ exports.ServiceRoleObject = {
1040
+ Unknown: "unknown",
1041
+ CustomBot: "customBot",
1042
+ SkypeForBusinessMicrosoftTeamsGateway: "skypeForBusinessMicrosoftTeamsGateway",
1043
+ SkypeForBusinessAudioVideoMcu: "skypeForBusinessAudioVideoMcu",
1044
+ SkypeForBusinessApplicationSharingMcu: "skypeForBusinessApplicationSharingMcu",
1045
+ SkypeForBusinessCallQueues: "skypeForBusinessCallQueues",
1046
+ SkypeForBusinessAutoAttendant: "skypeForBusinessAutoAttendant",
1047
+ MediationServer: "mediationServer",
1048
+ MediationServerCloudConnectorEdition: "mediationServerCloudConnectorEdition",
1049
+ ExchangeUnifiedMessagingService: "exchangeUnifiedMessagingService",
1050
+ MediaController: "mediaController",
1051
+ ConferencingAnnouncementService: "conferencingAnnouncementService",
1052
+ ConferencingAttendant: "conferencingAttendant",
1053
+ AudioTeleconferencerController: "audioTeleconferencerController",
1054
+ SkypeForBusinessUnifiedCommunicationApplicationPlatform: "skypeForBusinessUnifiedCommunicationApplicationPlatform",
1055
+ ResponseGroupServiceAnnouncementService: "responseGroupServiceAnnouncementService",
1056
+ Gateway: "gateway",
1057
+ SkypeTranslator: "skypeTranslator",
1058
+ SkypeForBusinessAttendant: "skypeForBusinessAttendant",
1059
+ ResponseGroupService: "responseGroupService",
1060
+ Voicemail: "voicemail",
1061
+ UnknownFutureValue: "unknownFutureValue",
1062
+ };
1063
+ exports.UserFeedbackRatingObject = {
1064
+ NotRated: "notRated",
1065
+ Bad: "bad",
1066
+ Poor: "poor",
1067
+ Fair: "fair",
1068
+ Good: "good",
1069
+ Excellent: "excellent",
1070
+ UnknownFutureValue: "unknownFutureValue",
1071
+ };
1072
+ exports.VideoCodecObject = {
1073
+ Unknown: "unknown",
1074
+ Invalid: "invalid",
1075
+ Av1: "av1",
1076
+ H263: "h263",
1077
+ H264: "h264",
1078
+ H264s: "h264s",
1079
+ H264uc: "h264uc",
1080
+ H265: "h265",
1081
+ Rtvc1: "rtvc1",
1082
+ RtVideo: "rtVideo",
1083
+ Xrtvc1: "xrtvc1",
1084
+ UnknownFutureValue: "unknownFutureValue",
1085
+ };
1086
+ exports.WifiBandObject = {
1087
+ Unknown: "unknown",
1088
+ Frequency24GHz: "frequency24GHz",
1089
+ Frequency50GHz: "frequency50GHz",
1090
+ Frequency60GHz: "frequency60GHz",
1091
+ UnknownFutureValue: "unknownFutureValue",
1092
+ };
1093
+ exports.WifiRadioTypeObject = {
1094
+ Unknown: "unknown",
1095
+ Wifi80211a: "wifi80211a",
1096
+ Wifi80211b: "wifi80211b",
1097
+ Wifi80211g: "wifi80211g",
1098
+ Wifi80211n: "wifi80211n",
1099
+ Wifi80211ac: "wifi80211ac",
1100
+ Wifi80211ax: "wifi80211ax",
1101
+ UnknownFutureValue: "unknownFutureValue",
1102
+ };
1103
+ /* tslint:enable */
1104
+ /* eslint-enable */