@wazo/sdk 0.37.37 → 0.37.38

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.
@@ -5916,7 +5916,7 @@ var Auth$1 = global.wazoAuthInstance;
5916
5916
 
5917
5917
 
5918
5918
 
5919
-
5919
+
5920
5920
 
5921
5921
 
5922
5922
 
@@ -5936,7 +5936,7 @@ class AdHocAPIConference {
5936
5936
 
5937
5937
 
5938
5938
 
5939
-
5939
+
5940
5940
 
5941
5941
 
5942
5942
 
@@ -5948,7 +5948,7 @@ class AdHocAPIConference {
5948
5948
  participants,
5949
5949
  started,
5950
5950
  finished,
5951
- startTime,
5951
+ answerTime,
5952
5952
  conferenceId,
5953
5953
  muted,
5954
5954
  paused,
@@ -5958,7 +5958,7 @@ class AdHocAPIConference {
5958
5958
  this.participants = participants || {};
5959
5959
  this.started = started || false;
5960
5960
  this.finished = finished || false;
5961
- this.startTime = startTime;
5961
+ this.answerTime = answerTime;
5962
5962
  this.conferenceId = conferenceId || '';
5963
5963
  this.muted = muted || false;
5964
5964
  this.paused = paused || false;
@@ -5971,7 +5971,7 @@ class AdHocAPIConference {
5971
5971
  async start() {
5972
5972
  this.started = true;
5973
5973
  // $FlowFixMe
5974
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5974
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5975
5975
 
5976
5976
  const participantIds = Object.keys(this.participants);
5977
5977
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -12418,7 +12418,7 @@ class Room$1 {
12418
12418
 
12419
12419
 
12420
12420
 
12421
-
12421
+
12422
12422
 
12423
12423
 
12424
12424
 
@@ -12444,7 +12444,7 @@ class SwitchboardCall {
12444
12444
 
12445
12445
 
12446
12446
 
12447
-
12447
+
12448
12448
 
12449
12449
 
12450
12450
 
@@ -12458,7 +12458,7 @@ class SwitchboardCall {
12458
12458
  callerIdName: plain.caller_id_name || null,
12459
12459
  callerIdNumber: plain.caller_id_number || null,
12460
12460
  participantId: plain.participantId || null,
12461
- startTime: plain.startTime,
12461
+ answerTime: plain.startTime,
12462
12462
  state: plain.state,
12463
12463
  switchboardName: plain.switchboardName,
12464
12464
  switchboardUuid: plain.switchboardUuid,
@@ -12471,7 +12471,7 @@ class SwitchboardCall {
12471
12471
  callerIdName,
12472
12472
  callerIdNumber,
12473
12473
  participantId,
12474
- startTime,
12474
+ answerTime,
12475
12475
  state,
12476
12476
  switchboardName,
12477
12477
  switchboardUuid,
@@ -12481,7 +12481,7 @@ class SwitchboardCall {
12481
12481
  this.callerIdName = callerIdName;
12482
12482
  this.callerIdNumber = callerIdNumber;
12483
12483
  this.participantId = participantId;
12484
- this.startTime = startTime;
12484
+ this.answerTime = answerTime;
12485
12485
  this.state = state;
12486
12486
  this.switchboardName = switchboardName;
12487
12487
  this.switchboardUuid = switchboardUuid;
@@ -5918,7 +5918,7 @@ var Auth$1 = global.wazoAuthInstance;
5918
5918
 
5919
5919
 
5920
5920
 
5921
-
5921
+
5922
5922
 
5923
5923
 
5924
5924
 
@@ -5938,7 +5938,7 @@ class AdHocAPIConference {
5938
5938
 
5939
5939
 
5940
5940
 
5941
-
5941
+
5942
5942
 
5943
5943
 
5944
5944
 
@@ -5950,7 +5950,7 @@ class AdHocAPIConference {
5950
5950
  participants,
5951
5951
  started,
5952
5952
  finished,
5953
- startTime,
5953
+ answerTime,
5954
5954
  conferenceId,
5955
5955
  muted,
5956
5956
  paused,
@@ -5960,7 +5960,7 @@ class AdHocAPIConference {
5960
5960
  this.participants = participants || {};
5961
5961
  this.started = started || false;
5962
5962
  this.finished = finished || false;
5963
- this.startTime = startTime;
5963
+ this.answerTime = answerTime;
5964
5964
  this.conferenceId = conferenceId || '';
5965
5965
  this.muted = muted || false;
5966
5966
  this.paused = paused || false;
@@ -5973,7 +5973,7 @@ class AdHocAPIConference {
5973
5973
  async start() {
5974
5974
  this.started = true;
5975
5975
  // $FlowFixMe
5976
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5976
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5977
5977
 
5978
5978
  const participantIds = Object.keys(this.participants);
5979
5979
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -12431,7 +12431,7 @@ class Room$1 {
12431
12431
 
12432
12432
 
12433
12433
 
12434
-
12434
+
12435
12435
 
12436
12436
 
12437
12437
 
@@ -12457,7 +12457,7 @@ class SwitchboardCall {
12457
12457
 
12458
12458
 
12459
12459
 
12460
-
12460
+
12461
12461
 
12462
12462
 
12463
12463
 
@@ -12471,7 +12471,7 @@ class SwitchboardCall {
12471
12471
  callerIdName: plain.caller_id_name || null,
12472
12472
  callerIdNumber: plain.caller_id_number || null,
12473
12473
  participantId: plain.participantId || null,
12474
- startTime: plain.startTime,
12474
+ answerTime: plain.startTime,
12475
12475
  state: plain.state,
12476
12476
  switchboardName: plain.switchboardName,
12477
12477
  switchboardUuid: plain.switchboardUuid,
@@ -12484,7 +12484,7 @@ class SwitchboardCall {
12484
12484
  callerIdName,
12485
12485
  callerIdNumber,
12486
12486
  participantId,
12487
- startTime,
12487
+ answerTime,
12488
12488
  state,
12489
12489
  switchboardName,
12490
12490
  switchboardUuid,
@@ -12494,7 +12494,7 @@ class SwitchboardCall {
12494
12494
  this.callerIdName = callerIdName;
12495
12495
  this.callerIdNumber = callerIdNumber;
12496
12496
  this.participantId = participantId;
12497
- this.startTime = startTime;
12497
+ this.answerTime = answerTime;
12498
12498
  this.state = state;
12499
12499
  this.switchboardName = switchboardName;
12500
12500
  this.switchboardUuid = switchboardUuid;
@@ -5916,7 +5916,7 @@ var Auth$1 = global.wazoAuthInstance;
5916
5916
 
5917
5917
 
5918
5918
 
5919
-
5919
+
5920
5920
 
5921
5921
 
5922
5922
 
@@ -5936,7 +5936,7 @@ class AdHocAPIConference {
5936
5936
 
5937
5937
 
5938
5938
 
5939
-
5939
+
5940
5940
 
5941
5941
 
5942
5942
 
@@ -5948,7 +5948,7 @@ class AdHocAPIConference {
5948
5948
  participants,
5949
5949
  started,
5950
5950
  finished,
5951
- startTime,
5951
+ answerTime,
5952
5952
  conferenceId,
5953
5953
  muted,
5954
5954
  paused,
@@ -5958,7 +5958,7 @@ class AdHocAPIConference {
5958
5958
  this.participants = participants || {};
5959
5959
  this.started = started || false;
5960
5960
  this.finished = finished || false;
5961
- this.startTime = startTime;
5961
+ this.answerTime = answerTime;
5962
5962
  this.conferenceId = conferenceId || '';
5963
5963
  this.muted = muted || false;
5964
5964
  this.paused = paused || false;
@@ -5971,7 +5971,7 @@ class AdHocAPIConference {
5971
5971
  async start() {
5972
5972
  this.started = true;
5973
5973
  // $FlowFixMe
5974
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5974
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5975
5975
 
5976
5976
  const participantIds = Object.keys(this.participants);
5977
5977
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -13126,7 +13126,7 @@ class Room {
13126
13126
 
13127
13127
 
13128
13128
 
13129
-
13129
+
13130
13130
 
13131
13131
 
13132
13132
 
@@ -13152,7 +13152,7 @@ class SwitchboardCall {
13152
13152
 
13153
13153
 
13154
13154
 
13155
-
13155
+
13156
13156
 
13157
13157
 
13158
13158
 
@@ -13166,7 +13166,7 @@ class SwitchboardCall {
13166
13166
  callerIdName: plain.caller_id_name || null,
13167
13167
  callerIdNumber: plain.caller_id_number || null,
13168
13168
  participantId: plain.participantId || null,
13169
- startTime: plain.startTime,
13169
+ answerTime: plain.startTime,
13170
13170
  state: plain.state,
13171
13171
  switchboardName: plain.switchboardName,
13172
13172
  switchboardUuid: plain.switchboardUuid,
@@ -13179,7 +13179,7 @@ class SwitchboardCall {
13179
13179
  callerIdName,
13180
13180
  callerIdNumber,
13181
13181
  participantId,
13182
- startTime,
13182
+ answerTime,
13183
13183
  state,
13184
13184
  switchboardName,
13185
13185
  switchboardUuid,
@@ -13189,7 +13189,7 @@ class SwitchboardCall {
13189
13189
  this.callerIdName = callerIdName;
13190
13190
  this.callerIdNumber = callerIdNumber;
13191
13191
  this.participantId = participantId;
13192
- this.startTime = startTime;
13192
+ this.answerTime = answerTime;
13193
13193
  this.state = state;
13194
13194
  this.switchboardName = switchboardName;
13195
13195
  this.switchboardUuid = switchboardUuid;
@@ -5916,7 +5916,7 @@ var Auth$1 = global.wazoAuthInstance;
5916
5916
 
5917
5917
 
5918
5918
 
5919
-
5919
+
5920
5920
 
5921
5921
 
5922
5922
 
@@ -5936,7 +5936,7 @@ class AdHocAPIConference {
5936
5936
 
5937
5937
 
5938
5938
 
5939
-
5939
+
5940
5940
 
5941
5941
 
5942
5942
 
@@ -5948,7 +5948,7 @@ class AdHocAPIConference {
5948
5948
  participants,
5949
5949
  started,
5950
5950
  finished,
5951
- startTime,
5951
+ answerTime,
5952
5952
  conferenceId,
5953
5953
  muted,
5954
5954
  paused,
@@ -5958,7 +5958,7 @@ class AdHocAPIConference {
5958
5958
  this.participants = participants || {};
5959
5959
  this.started = started || false;
5960
5960
  this.finished = finished || false;
5961
- this.startTime = startTime;
5961
+ this.answerTime = answerTime;
5962
5962
  this.conferenceId = conferenceId || '';
5963
5963
  this.muted = muted || false;
5964
5964
  this.paused = paused || false;
@@ -5971,7 +5971,7 @@ class AdHocAPIConference {
5971
5971
  async start() {
5972
5972
  this.started = true;
5973
5973
  // $FlowFixMe
5974
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5974
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5975
5975
 
5976
5976
  const participantIds = Object.keys(this.participants);
5977
5977
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -13207,7 +13207,7 @@ class Room {
13207
13207
 
13208
13208
 
13209
13209
 
13210
-
13210
+
13211
13211
 
13212
13212
 
13213
13213
 
@@ -13233,7 +13233,7 @@ class SwitchboardCall {
13233
13233
 
13234
13234
 
13235
13235
 
13236
-
13236
+
13237
13237
 
13238
13238
 
13239
13239
 
@@ -13247,7 +13247,7 @@ class SwitchboardCall {
13247
13247
  callerIdName: plain.caller_id_name || null,
13248
13248
  callerIdNumber: plain.caller_id_number || null,
13249
13249
  participantId: plain.participantId || null,
13250
- startTime: plain.startTime,
13250
+ answerTime: plain.startTime,
13251
13251
  state: plain.state,
13252
13252
  switchboardName: plain.switchboardName,
13253
13253
  switchboardUuid: plain.switchboardUuid,
@@ -13260,7 +13260,7 @@ class SwitchboardCall {
13260
13260
  callerIdName,
13261
13261
  callerIdNumber,
13262
13262
  participantId,
13263
- startTime,
13263
+ answerTime,
13264
13264
  state,
13265
13265
  switchboardName,
13266
13266
  switchboardUuid,
@@ -13270,7 +13270,7 @@ class SwitchboardCall {
13270
13270
  this.callerIdName = callerIdName;
13271
13271
  this.callerIdNumber = callerIdNumber;
13272
13272
  this.participantId = participantId;
13273
- this.startTime = startTime;
13273
+ this.answerTime = answerTime;
13274
13274
  this.state = state;
13275
13275
  this.switchboardName = switchboardName;
13276
13276
  this.switchboardUuid = switchboardUuid;
@@ -5916,7 +5916,7 @@ var Auth$1 = global.wazoAuthInstance;
5916
5916
 
5917
5917
 
5918
5918
 
5919
-
5919
+
5920
5920
 
5921
5921
 
5922
5922
 
@@ -5936,7 +5936,7 @@ class AdHocAPIConference {
5936
5936
 
5937
5937
 
5938
5938
 
5939
-
5939
+
5940
5940
 
5941
5941
 
5942
5942
 
@@ -5948,7 +5948,7 @@ class AdHocAPIConference {
5948
5948
  participants,
5949
5949
  started,
5950
5950
  finished,
5951
- startTime,
5951
+ answerTime,
5952
5952
  conferenceId,
5953
5953
  muted,
5954
5954
  paused,
@@ -5958,7 +5958,7 @@ class AdHocAPIConference {
5958
5958
  this.participants = participants || {};
5959
5959
  this.started = started || false;
5960
5960
  this.finished = finished || false;
5961
- this.startTime = startTime;
5961
+ this.answerTime = answerTime;
5962
5962
  this.conferenceId = conferenceId || '';
5963
5963
  this.muted = muted || false;
5964
5964
  this.paused = paused || false;
@@ -5971,7 +5971,7 @@ class AdHocAPIConference {
5971
5971
  async start() {
5972
5972
  this.started = true;
5973
5973
  // $FlowFixMe
5974
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5974
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5975
5975
 
5976
5976
  const participantIds = Object.keys(this.participants);
5977
5977
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -13265,7 +13265,7 @@ class Room {
13265
13265
 
13266
13266
 
13267
13267
 
13268
-
13268
+
13269
13269
 
13270
13270
 
13271
13271
 
@@ -13291,7 +13291,7 @@ class SwitchboardCall {
13291
13291
 
13292
13292
 
13293
13293
 
13294
-
13294
+
13295
13295
 
13296
13296
 
13297
13297
 
@@ -13305,7 +13305,7 @@ class SwitchboardCall {
13305
13305
  callerIdName: plain.caller_id_name || null,
13306
13306
  callerIdNumber: plain.caller_id_number || null,
13307
13307
  participantId: plain.participantId || null,
13308
- startTime: plain.startTime,
13308
+ answerTime: plain.startTime,
13309
13309
  state: plain.state,
13310
13310
  switchboardName: plain.switchboardName,
13311
13311
  switchboardUuid: plain.switchboardUuid,
@@ -13318,7 +13318,7 @@ class SwitchboardCall {
13318
13318
  callerIdName,
13319
13319
  callerIdNumber,
13320
13320
  participantId,
13321
- startTime,
13321
+ answerTime,
13322
13322
  state,
13323
13323
  switchboardName,
13324
13324
  switchboardUuid,
@@ -13328,7 +13328,7 @@ class SwitchboardCall {
13328
13328
  this.callerIdName = callerIdName;
13329
13329
  this.callerIdNumber = callerIdNumber;
13330
13330
  this.participantId = participantId;
13331
- this.startTime = startTime;
13331
+ this.answerTime = answerTime;
13332
13332
  this.state = state;
13333
13333
  this.switchboardName = switchboardName;
13334
13334
  this.switchboardUuid = switchboardUuid;
@@ -5918,7 +5918,7 @@ var Auth$1 = global.wazoAuthInstance;
5918
5918
 
5919
5919
 
5920
5920
 
5921
-
5921
+
5922
5922
 
5923
5923
 
5924
5924
 
@@ -5938,7 +5938,7 @@ class AdHocAPIConference {
5938
5938
 
5939
5939
 
5940
5940
 
5941
-
5941
+
5942
5942
 
5943
5943
 
5944
5944
 
@@ -5950,7 +5950,7 @@ class AdHocAPIConference {
5950
5950
  participants,
5951
5951
  started,
5952
5952
  finished,
5953
- startTime,
5953
+ answerTime,
5954
5954
  conferenceId,
5955
5955
  muted,
5956
5956
  paused,
@@ -5960,7 +5960,7 @@ class AdHocAPIConference {
5960
5960
  this.participants = participants || {};
5961
5961
  this.started = started || false;
5962
5962
  this.finished = finished || false;
5963
- this.startTime = startTime;
5963
+ this.answerTime = answerTime;
5964
5964
  this.conferenceId = conferenceId || '';
5965
5965
  this.muted = muted || false;
5966
5966
  this.paused = paused || false;
@@ -5973,7 +5973,7 @@ class AdHocAPIConference {
5973
5973
  async start() {
5974
5974
  this.started = true;
5975
5975
  // $FlowFixMe
5976
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5976
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5977
5977
 
5978
5978
  const participantIds = Object.keys(this.participants);
5979
5979
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -13251,7 +13251,7 @@ class Room {
13251
13251
 
13252
13252
 
13253
13253
 
13254
-
13254
+
13255
13255
 
13256
13256
 
13257
13257
 
@@ -13277,7 +13277,7 @@ class SwitchboardCall {
13277
13277
 
13278
13278
 
13279
13279
 
13280
-
13280
+
13281
13281
 
13282
13282
 
13283
13283
 
@@ -13291,7 +13291,7 @@ class SwitchboardCall {
13291
13291
  callerIdName: plain.caller_id_name || null,
13292
13292
  callerIdNumber: plain.caller_id_number || null,
13293
13293
  participantId: plain.participantId || null,
13294
- startTime: plain.startTime,
13294
+ answerTime: plain.startTime,
13295
13295
  state: plain.state,
13296
13296
  switchboardName: plain.switchboardName,
13297
13297
  switchboardUuid: plain.switchboardUuid,
@@ -13304,7 +13304,7 @@ class SwitchboardCall {
13304
13304
  callerIdName,
13305
13305
  callerIdNumber,
13306
13306
  participantId,
13307
- startTime,
13307
+ answerTime,
13308
13308
  state,
13309
13309
  switchboardName,
13310
13310
  switchboardUuid,
@@ -13314,7 +13314,7 @@ class SwitchboardCall {
13314
13314
  this.callerIdName = callerIdName;
13315
13315
  this.callerIdNumber = callerIdNumber;
13316
13316
  this.participantId = participantId;
13317
- this.startTime = startTime;
13317
+ this.answerTime = answerTime;
13318
13318
  this.state = state;
13319
13319
  this.switchboardName = switchboardName;
13320
13320
  this.switchboardUuid = switchboardUuid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wazo/sdk",
3
- "version": "0.37.37",
3
+ "version": "0.37.38",
4
4
  "description": "Wazo's JavaScript Software Development Kit.",
5
5
  "main": "dist/wazo-sdk.js",
6
6
  "author": "Wazo (http://wazo.io)",
@@ -27,7 +27,7 @@ export type ConferenceArguments = {
27
27
  finished?: boolean,
28
28
  participants: {[string]: CallSession};
29
29
  started?: boolean,
30
- startTime?: ?number,
30
+ answerTime?: ?number,
31
31
  conferenceId?: ?string,
32
32
  muted?: boolean,
33
33
  paused?: boolean,
@@ -47,7 +47,7 @@ export default class AdHocAPIConference {
47
47
 
48
48
  conferenceId: string;
49
49
 
50
- startTime: ?number;
50
+ answerTime: ?number;
51
51
 
52
52
  muted: boolean;
53
53
 
@@ -59,7 +59,7 @@ export default class AdHocAPIConference {
59
59
  participants,
60
60
  started,
61
61
  finished,
62
- startTime,
62
+ answerTime,
63
63
  conferenceId,
64
64
  muted,
65
65
  paused,
@@ -69,7 +69,7 @@ export default class AdHocAPIConference {
69
69
  this.participants = participants || {};
70
70
  this.started = started || false;
71
71
  this.finished = finished || false;
72
- this.startTime = startTime;
72
+ this.answerTime = answerTime;
73
73
  this.conferenceId = conferenceId || '';
74
74
  this.muted = muted || false;
75
75
  this.paused = paused || false;
@@ -82,7 +82,7 @@ export default class AdHocAPIConference {
82
82
  async start() {
83
83
  this.started = true;
84
84
  // $FlowFixMe
85
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
85
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
86
86
 
87
87
  const participantIds = Object.keys(this.participants);
88
88
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -28,7 +28,7 @@ type SwitchboardCallArguments = {
28
28
  callSession: ?CallSession,
29
29
  callerIdName: ?string,
30
30
  callerIdNumber: ?string,
31
- startTime: ?Date,
31
+ answerTime: ?Date,
32
32
  participantId: ?string,
33
33
  state: string,
34
34
  switchboardName: string,
@@ -54,7 +54,7 @@ class SwitchboardCall {
54
54
  callSession: ?CallSession;
55
55
  callerIdName: ?string;
56
56
  callerIdNumber: ?string;
57
- startTime: ?Date;
57
+ answerTime: ?Date;
58
58
  participantId: ?string;
59
59
  state: string;
60
60
  switchboardName: string;
@@ -68,7 +68,7 @@ class SwitchboardCall {
68
68
  callerIdName: plain.caller_id_name || null,
69
69
  callerIdNumber: plain.caller_id_number || null,
70
70
  participantId: plain.participantId || null,
71
- startTime: plain.startTime,
71
+ answerTime: plain.startTime,
72
72
  state: plain.state,
73
73
  switchboardName: plain.switchboardName,
74
74
  switchboardUuid: plain.switchboardUuid,
@@ -81,7 +81,7 @@ class SwitchboardCall {
81
81
  callerIdName,
82
82
  callerIdNumber,
83
83
  participantId,
84
- startTime,
84
+ answerTime,
85
85
  state,
86
86
  switchboardName,
87
87
  switchboardUuid,
@@ -91,7 +91,7 @@ class SwitchboardCall {
91
91
  this.callerIdName = callerIdName;
92
92
  this.callerIdNumber = callerIdNumber;
93
93
  this.participantId = participantId;
94
- this.startTime = startTime;
94
+ this.answerTime = answerTime;
95
95
  this.state = state;
96
96
  this.switchboardName = switchboardName;
97
97
  this.switchboardUuid = switchboardUuid;