gd-sprest-def 1.1.8 → 1.1.9

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/clean.js CHANGED
@@ -30,8 +30,11 @@ console.log("Cleaning the files...");
30
30
  // Delete the folder
31
31
  deleteDirectory("./lib");
32
32
 
33
- // Delete the file
34
- fs.unlinkSync("./graph.xml");
33
+ // See if the file exists
34
+ if (fs.existsSync("./graph.xml")) {
35
+ // Delete the file
36
+ fs.unlinkSync("./graph.xml");
37
+ }
35
38
 
36
39
  // Create the folder
37
40
  fs.mkdirSync("./lib");
@@ -1,7 +1,6 @@
1
1
  import { Base } from "../../../";
2
2
  import { microsoft } from "../../../";
3
- import { Edm } from "../../../";
4
- import { graph } from "../../../";
3
+ import { graph } from "../../";
5
4
 
6
5
  /*********************************************
7
6
  * userAgent
@@ -22,8 +21,8 @@ export interface userAgentCollections {
22
21
  * clientUserAgent
23
22
  **********************************************/
24
23
  export interface clientUserAgent {
25
- platform?: microsoft.graph.callRecords.clientPlatform;
26
- productFamily?: microsoft.graph.callRecords.productFamily;
24
+ platform?: microsoft.graph.clientPlatform;
25
+ productFamily?: microsoft.graph.productFamily;
27
26
  }
28
27
 
29
28
  /*********************************************
@@ -77,16 +76,16 @@ export interface directRoutingLogRow {
77
76
  callType?: string;
78
77
  correlationId?: string;
79
78
  duration?: number;
80
- endDateTime?: anyOffset;
81
- failureDateTime?: anyOffset;
79
+ endDateTime?: any;
80
+ failureDateTime?: any;
82
81
  finalSipCode?: number;
83
82
  finalSipCodePhrase?: string;
84
83
  id?: string;
85
- inviteDateTime?: anyOffset;
84
+ inviteDateTime?: any;
86
85
  mediaBypassEnabled?: boolean;
87
86
  mediaPathLocation?: string;
88
87
  signalingLocation?: string;
89
- startDateTime?: anyOffset;
88
+ startDateTime?: any;
90
89
  successfulCall?: boolean;
91
90
  trunkFullyQualifiedDomainName?: string;
92
91
  userDisplayName?: string;
@@ -120,7 +119,7 @@ export interface endpointCollections {
120
119
  **********************************************/
121
120
  export interface failureInfo {
122
121
  reason?: string;
123
- stage?: microsoft.graph.callRecords.failureStage;
122
+ stage?: microsoft.graph.failureStage;
124
123
  }
125
124
 
126
125
  /*********************************************
@@ -169,13 +168,13 @@ export interface mediaCollections {
169
168
  export interface networkInfo {
170
169
  bandwidthLowEventRatio?: any;
171
170
  basicServiceSetIdentifier?: string;
172
- connectionType?: microsoft.graph.callRecords.networkConnectionType;
171
+ connectionType?: microsoft.graph.networkConnectionType;
173
172
  delayEventRatio?: any;
174
173
  dnsSuffix?: string;
175
174
  ipAddress?: string;
176
175
  linkSpeed?: number;
177
176
  macAddress?: string;
178
- networkTransportProtocol?: microsoft.graph.callRecords.networkTransportProtocol;
177
+ networkTransportProtocol?: microsoft.graph.networkTransportProtocol;
179
178
  port?: number;
180
179
  receivedQualityEventRatio?: any;
181
180
  reflexiveIPAddress?: string;
@@ -184,12 +183,12 @@ export interface networkInfo {
184
183
  sentQualityEventRatio?: any;
185
184
  subnet?: string;
186
185
  traceRouteHops?: Array<microsoft.graph.callRecords.traceRouteHop>;
187
- wifiBand?: microsoft.graph.callRecords.wifiBand;
186
+ wifiBand?: microsoft.graph.wifiBand;
188
187
  wifiBatteryCharge?: number;
189
188
  wifiChannel?: number;
190
189
  wifiMicrosoftDriver?: string;
191
190
  wifiMicrosoftDriverVersion?: string;
192
- wifiRadioType?: microsoft.graph.callRecords.wifiRadioType;
191
+ wifiRadioType?: microsoft.graph.wifiRadioType;
193
192
  wifiSignalStrength?: number;
194
193
  wifiVendorDriver?: string;
195
194
  wifiVendorDriverVersion?: string;
@@ -206,32 +205,32 @@ export interface networkInfoCollections {
206
205
  * mediaStream
207
206
  **********************************************/
208
207
  export interface mediaStream {
209
- audioCodec?: microsoft.graph.callRecords.audioCodec;
208
+ audioCodec?: microsoft.graph.audioCodec;
210
209
  averageAudioDegradation?: any;
211
- averageAudioNetworkJitter?: Edm.Duration;
210
+ averageAudioNetworkJitter?: number;
212
211
  averageBandwidthEstimate?: number;
213
- averageJitter?: Edm.Duration;
212
+ averageJitter?: number;
214
213
  averagePacketLossRate?: any;
215
214
  averageRatioOfConcealedSamples?: any;
216
215
  averageReceivedFrameRate?: any;
217
- averageRoundTripTime?: Edm.Duration;
216
+ averageRoundTripTime?: number;
218
217
  averageVideoFrameLossPercentage?: any;
219
218
  averageVideoFrameRate?: any;
220
219
  averageVideoPacketLossRate?: any;
221
- endDateTime?: anyOffset;
220
+ endDateTime?: any;
222
221
  lowFrameRateRatio?: any;
223
222
  lowVideoProcessingCapabilityRatio?: any;
224
- maxAudioNetworkJitter?: Edm.Duration;
225
- maxJitter?: Edm.Duration;
223
+ maxAudioNetworkJitter?: number;
224
+ maxJitter?: number;
226
225
  maxPacketLossRate?: any;
227
226
  maxRatioOfConcealedSamples?: any;
228
- maxRoundTripTime?: Edm.Duration;
227
+ maxRoundTripTime?: number;
229
228
  packetUtilization?: number;
230
229
  postForwardErrorCorrectionPacketLossRate?: any;
231
- startDateTime?: anyOffset;
232
- streamDirection?: microsoft.graph.callRecords.mediaStreamDirection;
230
+ startDateTime?: any;
231
+ streamDirection?: microsoft.graph.mediaStreamDirection;
233
232
  streamId?: string;
234
- videoCodec?: microsoft.graph.callRecords.videoCodec;
233
+ videoCodec?: microsoft.graph.videoCodec;
235
234
  wasMediaBypassed?: boolean;
236
235
  }
237
236
 
@@ -248,7 +247,7 @@ export interface mediaStreamCollections {
248
247
  export interface traceRouteHop {
249
248
  hopCount?: number;
250
249
  ipAddress?: string;
251
- roundTripTime?: Edm.Duration;
250
+ roundTripTime?: number;
252
251
  }
253
252
 
254
253
  /*********************************************
@@ -277,7 +276,7 @@ export interface participantEndpointCollections {
277
276
  * userFeedback
278
277
  **********************************************/
279
278
  export interface userFeedback {
280
- rating?: microsoft.graph.callRecords.userFeedbackRating;
279
+ rating?: microsoft.graph.userFeedbackRating;
281
280
  text?: string;
282
281
  tokens?: microsoft.graph.callRecords.feedbackTokenSet;
283
282
  }
@@ -293,7 +292,7 @@ export interface userFeedbackCollections {
293
292
  * pstnCallLogRow
294
293
  **********************************************/
295
294
  export interface pstnCallLogRow {
296
- callDurationSource?: microsoft.graph.callRecords.pstnCallDurationSource;
295
+ callDurationSource?: microsoft.graph.pstnCallDurationSource;
297
296
  calleeNumber?: string;
298
297
  callerNumber?: string;
299
298
  callId?: string;
@@ -305,12 +304,12 @@ export interface pstnCallLogRow {
305
304
  destinationContext?: string;
306
305
  destinationName?: string;
307
306
  duration?: number;
308
- endDateTime?: anyOffset;
307
+ endDateTime?: any;
309
308
  id?: string;
310
309
  inventoryType?: string;
311
310
  licenseCapability?: string;
312
311
  operator?: string;
313
- startDateTime?: anyOffset;
312
+ startDateTime?: any;
314
313
  tenantCountryCode?: string;
315
314
  usageCountryCode?: string;
316
315
  userDisplayName?: string;
@@ -343,7 +342,7 @@ export interface serviceEndpointCollections {
343
342
  * serviceUserAgent
344
343
  **********************************************/
345
344
  export interface serviceUserAgent {
346
- role?: microsoft.graph.callRecords.serviceRole;
345
+ role?: microsoft.graph.serviceRole;
347
346
  }
348
347
 
349
348
  /*********************************************
@@ -1,19 +1,19 @@
1
1
  import { Base } from "../../../";
2
- import { graph } from "../../../";
2
+ import { graph } from "../../";
3
3
  import { microsoft } from "../../../";
4
4
 
5
5
  /*********************************************
6
6
  * callRecord
7
7
  **********************************************/
8
8
  export interface callRecord {
9
- endDateTime?: anyOffset;
9
+ endDateTime?: any;
10
10
  joinWebUrl?: string;
11
- lastModifiedDateTime?: anyOffset;
11
+ lastModifiedDateTime?: any;
12
12
  modalities?: { results: Array<microsoft.graph.callRecords.modality> };
13
13
  organizer?: graph.identitySet;
14
14
  participants?: { results: Array<graph.identitySet> };
15
- startDateTime?: anyOffset;
16
- type?: microsoft.graph.callRecords.callType;
15
+ startDateTime?: any;
16
+ type?: microsoft.graph.callType;
17
17
  version?: number;
18
18
  }
19
19
 
@@ -30,10 +30,10 @@ export interface callRecordCollections {
30
30
  export interface session {
31
31
  callee?: microsoft.graph.callRecords.endpoint;
32
32
  caller?: microsoft.graph.callRecords.endpoint;
33
- endDateTime?: anyOffset;
33
+ endDateTime?: any;
34
34
  failureInfo?: microsoft.graph.callRecords.failureInfo;
35
35
  modalities?: { results: Array<microsoft.graph.callRecords.modality> };
36
- startDateTime?: anyOffset;
36
+ startDateTime?: any;
37
37
  }
38
38
 
39
39
  /*********************************************
@@ -49,10 +49,10 @@ export interface sessionCollections {
49
49
  export interface segment {
50
50
  callee?: microsoft.graph.callRecords.endpoint;
51
51
  caller?: microsoft.graph.callRecords.endpoint;
52
- endDateTime?: anyOffset;
52
+ endDateTime?: any;
53
53
  failureInfo?: microsoft.graph.callRecords.failureInfo;
54
54
  media?: { results: Array<microsoft.graph.callRecords.media> };
55
- startDateTime?: anyOffset;
55
+ startDateTime?: any;
56
56
  }
57
57
 
58
58
  /*********************************************
@@ -1,5 +1,4 @@
1
1
 
2
- export * from "./enumtypes";
3
2
  export * from "./entitytypes";
4
3
  export * from "./complextypes";
5
4
  export * from "./functions";