@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.
@@ -4754,7 +4754,7 @@ var getApiClient = (forServer ) => {
4754
4754
 
4755
4755
 
4756
4756
 
4757
-
4757
+
4758
4758
 
4759
4759
 
4760
4760
 
@@ -4774,7 +4774,7 @@ class AdHocAPIConference {
4774
4774
 
4775
4775
 
4776
4776
 
4777
-
4777
+
4778
4778
 
4779
4779
 
4780
4780
 
@@ -4786,7 +4786,7 @@ class AdHocAPIConference {
4786
4786
  participants,
4787
4787
  started,
4788
4788
  finished,
4789
- startTime,
4789
+ answerTime,
4790
4790
  conferenceId,
4791
4791
  muted,
4792
4792
  paused,
@@ -4796,7 +4796,7 @@ class AdHocAPIConference {
4796
4796
  this.participants = participants || {};
4797
4797
  this.started = started || false;
4798
4798
  this.finished = finished || false;
4799
- this.startTime = startTime;
4799
+ this.answerTime = answerTime;
4800
4800
  this.conferenceId = conferenceId || '';
4801
4801
  this.muted = muted || false;
4802
4802
  this.paused = paused || false;
@@ -4809,7 +4809,7 @@ class AdHocAPIConference {
4809
4809
  async start() {
4810
4810
  this.started = true;
4811
4811
  // $FlowFixMe
4812
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
4812
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
4813
4813
 
4814
4814
  const participantIds = Object.keys(this.participants);
4815
4815
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -54,7 +54,7 @@ var updateFrom = (instance , from ) => {
54
54
 
55
55
 
56
56
 
57
-
57
+
58
58
 
59
59
 
60
60
 
@@ -80,7 +80,7 @@ class SwitchboardCall {
80
80
 
81
81
 
82
82
 
83
-
83
+
84
84
 
85
85
 
86
86
 
@@ -94,7 +94,7 @@ class SwitchboardCall {
94
94
  callerIdName: plain.caller_id_name || null,
95
95
  callerIdNumber: plain.caller_id_number || null,
96
96
  participantId: plain.participantId || null,
97
- startTime: plain.startTime,
97
+ answerTime: plain.startTime,
98
98
  state: plain.state,
99
99
  switchboardName: plain.switchboardName,
100
100
  switchboardUuid: plain.switchboardUuid,
@@ -107,7 +107,7 @@ class SwitchboardCall {
107
107
  callerIdName,
108
108
  callerIdNumber,
109
109
  participantId,
110
- startTime,
110
+ answerTime,
111
111
  state,
112
112
  switchboardName,
113
113
  switchboardUuid,
@@ -117,7 +117,7 @@ class SwitchboardCall {
117
117
  this.callerIdName = callerIdName;
118
118
  this.callerIdNumber = callerIdNumber;
119
119
  this.participantId = participantId;
120
- this.startTime = startTime;
120
+ this.answerTime = answerTime;
121
121
  this.state = state;
122
122
  this.switchboardName = switchboardName;
123
123
  this.switchboardUuid = switchboardUuid;
package/esm/index.js CHANGED
@@ -9202,7 +9202,7 @@ class Room$1 {
9202
9202
 
9203
9203
 
9204
9204
 
9205
-
9205
+
9206
9206
 
9207
9207
 
9208
9208
 
@@ -9228,7 +9228,7 @@ class SwitchboardCall {
9228
9228
 
9229
9229
 
9230
9230
 
9231
-
9231
+
9232
9232
 
9233
9233
 
9234
9234
 
@@ -9242,7 +9242,7 @@ class SwitchboardCall {
9242
9242
  callerIdName: plain.caller_id_name || null,
9243
9243
  callerIdNumber: plain.caller_id_number || null,
9244
9244
  participantId: plain.participantId || null,
9245
- startTime: plain.startTime,
9245
+ answerTime: plain.startTime,
9246
9246
  state: plain.state,
9247
9247
  switchboardName: plain.switchboardName,
9248
9248
  switchboardUuid: plain.switchboardUuid,
@@ -9255,7 +9255,7 @@ class SwitchboardCall {
9255
9255
  callerIdName,
9256
9256
  callerIdNumber,
9257
9257
  participantId,
9258
- startTime,
9258
+ answerTime,
9259
9259
  state,
9260
9260
  switchboardName,
9261
9261
  switchboardUuid,
@@ -9265,7 +9265,7 @@ class SwitchboardCall {
9265
9265
  this.callerIdName = callerIdName;
9266
9266
  this.callerIdNumber = callerIdNumber;
9267
9267
  this.participantId = participantId;
9268
- this.startTime = startTime;
9268
+ this.answerTime = answerTime;
9269
9269
  this.state = state;
9270
9270
  this.switchboardName = switchboardName;
9271
9271
  this.switchboardUuid = switchboardUuid;
@@ -11993,7 +11993,7 @@ var Auth$1 = global.wazoAuthInstance;
11993
11993
 
11994
11994
 
11995
11995
 
11996
-
11996
+
11997
11997
 
11998
11998
 
11999
11999
 
@@ -12013,7 +12013,7 @@ class AdHocAPIConference {
12013
12013
 
12014
12014
 
12015
12015
 
12016
-
12016
+
12017
12017
 
12018
12018
 
12019
12019
 
@@ -12025,7 +12025,7 @@ class AdHocAPIConference {
12025
12025
  participants,
12026
12026
  started,
12027
12027
  finished,
12028
- startTime,
12028
+ answerTime,
12029
12029
  conferenceId,
12030
12030
  muted,
12031
12031
  paused,
@@ -12035,7 +12035,7 @@ class AdHocAPIConference {
12035
12035
  this.participants = participants || {};
12036
12036
  this.started = started || false;
12037
12037
  this.finished = finished || false;
12038
- this.startTime = startTime;
12038
+ this.answerTime = answerTime;
12039
12039
  this.conferenceId = conferenceId || '';
12040
12040
  this.muted = muted || false;
12041
12041
  this.paused = paused || false;
@@ -12048,7 +12048,7 @@ class AdHocAPIConference {
12048
12048
  async start() {
12049
12049
  this.started = true;
12050
12050
  // $FlowFixMe
12051
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
12051
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
12052
12052
 
12053
12053
  const participantIds = Object.keys(this.participants);
12054
12054
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -5631,7 +5631,7 @@ var getApiClient = (forServer ) => {
5631
5631
 
5632
5632
 
5633
5633
 
5634
-
5634
+
5635
5635
 
5636
5636
 
5637
5637
 
@@ -5651,7 +5651,7 @@ class AdHocAPIConference {
5651
5651
 
5652
5652
 
5653
5653
 
5654
-
5654
+
5655
5655
 
5656
5656
 
5657
5657
 
@@ -5663,7 +5663,7 @@ class AdHocAPIConference {
5663
5663
  participants,
5664
5664
  started,
5665
5665
  finished,
5666
- startTime,
5666
+ answerTime,
5667
5667
  conferenceId,
5668
5668
  muted,
5669
5669
  paused,
@@ -5673,7 +5673,7 @@ class AdHocAPIConference {
5673
5673
  this.participants = participants || {};
5674
5674
  this.started = started || false;
5675
5675
  this.finished = finished || false;
5676
- this.startTime = startTime;
5676
+ this.answerTime = answerTime;
5677
5677
  this.conferenceId = conferenceId || '';
5678
5678
  this.muted = muted || false;
5679
5679
  this.paused = paused || false;
@@ -5686,7 +5686,7 @@ class AdHocAPIConference {
5686
5686
  async start() {
5687
5687
  this.started = true;
5688
5688
  // $FlowFixMe
5689
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5689
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5690
5690
 
5691
5691
  const participantIds = Object.keys(this.participants);
5692
5692
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -12980,7 +12980,7 @@ class Room {
12980
12980
 
12981
12981
 
12982
12982
 
12983
-
12983
+
12984
12984
 
12985
12985
 
12986
12986
 
@@ -13006,7 +13006,7 @@ class SwitchboardCall {
13006
13006
 
13007
13007
 
13008
13008
 
13009
-
13009
+
13010
13010
 
13011
13011
 
13012
13012
 
@@ -13020,7 +13020,7 @@ class SwitchboardCall {
13020
13020
  callerIdName: plain.caller_id_name || null,
13021
13021
  callerIdNumber: plain.caller_id_number || null,
13022
13022
  participantId: plain.participantId || null,
13023
- startTime: plain.startTime,
13023
+ answerTime: plain.startTime,
13024
13024
  state: plain.state,
13025
13025
  switchboardName: plain.switchboardName,
13026
13026
  switchboardUuid: plain.switchboardUuid,
@@ -13033,7 +13033,7 @@ class SwitchboardCall {
13033
13033
  callerIdName,
13034
13034
  callerIdNumber,
13035
13035
  participantId,
13036
- startTime,
13036
+ answerTime,
13037
13037
  state,
13038
13038
  switchboardName,
13039
13039
  switchboardUuid,
@@ -13043,7 +13043,7 @@ class SwitchboardCall {
13043
13043
  this.callerIdName = callerIdName;
13044
13044
  this.callerIdNumber = callerIdNumber;
13045
13045
  this.participantId = participantId;
13046
- this.startTime = startTime;
13046
+ this.answerTime = answerTime;
13047
13047
  this.state = state;
13048
13048
  this.switchboardName = switchboardName;
13049
13049
  this.switchboardUuid = switchboardUuid;
@@ -5631,7 +5631,7 @@ var getApiClient = (forServer ) => {
5631
5631
 
5632
5632
 
5633
5633
 
5634
-
5634
+
5635
5635
 
5636
5636
 
5637
5637
 
@@ -5651,7 +5651,7 @@ class AdHocAPIConference {
5651
5651
 
5652
5652
 
5653
5653
 
5654
-
5654
+
5655
5655
 
5656
5656
 
5657
5657
 
@@ -5663,7 +5663,7 @@ class AdHocAPIConference {
5663
5663
  participants,
5664
5664
  started,
5665
5665
  finished,
5666
- startTime,
5666
+ answerTime,
5667
5667
  conferenceId,
5668
5668
  muted,
5669
5669
  paused,
@@ -5673,7 +5673,7 @@ class AdHocAPIConference {
5673
5673
  this.participants = participants || {};
5674
5674
  this.started = started || false;
5675
5675
  this.finished = finished || false;
5676
- this.startTime = startTime;
5676
+ this.answerTime = answerTime;
5677
5677
  this.conferenceId = conferenceId || '';
5678
5678
  this.muted = muted || false;
5679
5679
  this.paused = paused || false;
@@ -5686,7 +5686,7 @@ class AdHocAPIConference {
5686
5686
  async start() {
5687
5687
  this.started = true;
5688
5688
  // $FlowFixMe
5689
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5689
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5690
5690
 
5691
5691
  const participantIds = Object.keys(this.participants);
5692
5692
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -12963,7 +12963,7 @@ class Room {
12963
12963
 
12964
12964
 
12965
12965
 
12966
-
12966
+
12967
12967
 
12968
12968
 
12969
12969
 
@@ -12989,7 +12989,7 @@ class SwitchboardCall {
12989
12989
 
12990
12990
 
12991
12991
 
12992
-
12992
+
12993
12993
 
12994
12994
 
12995
12995
 
@@ -13003,7 +13003,7 @@ class SwitchboardCall {
13003
13003
  callerIdName: plain.caller_id_name || null,
13004
13004
  callerIdNumber: plain.caller_id_number || null,
13005
13005
  participantId: plain.participantId || null,
13006
- startTime: plain.startTime,
13006
+ answerTime: plain.startTime,
13007
13007
  state: plain.state,
13008
13008
  switchboardName: plain.switchboardName,
13009
13009
  switchboardUuid: plain.switchboardUuid,
@@ -13016,7 +13016,7 @@ class SwitchboardCall {
13016
13016
  callerIdName,
13017
13017
  callerIdNumber,
13018
13018
  participantId,
13019
- startTime,
13019
+ answerTime,
13020
13020
  state,
13021
13021
  switchboardName,
13022
13022
  switchboardUuid,
@@ -13026,7 +13026,7 @@ class SwitchboardCall {
13026
13026
  this.callerIdName = callerIdName;
13027
13027
  this.callerIdNumber = callerIdNumber;
13028
13028
  this.participantId = participantId;
13029
- this.startTime = startTime;
13029
+ this.answerTime = answerTime;
13030
13030
  this.state = state;
13031
13031
  this.switchboardName = switchboardName;
13032
13032
  this.switchboardUuid = switchboardUuid;
@@ -5631,7 +5631,7 @@ var getApiClient = (forServer ) => {
5631
5631
 
5632
5632
 
5633
5633
 
5634
-
5634
+
5635
5635
 
5636
5636
 
5637
5637
 
@@ -5651,7 +5651,7 @@ class AdHocAPIConference {
5651
5651
 
5652
5652
 
5653
5653
 
5654
-
5654
+
5655
5655
 
5656
5656
 
5657
5657
 
@@ -5663,7 +5663,7 @@ class AdHocAPIConference {
5663
5663
  participants,
5664
5664
  started,
5665
5665
  finished,
5666
- startTime,
5666
+ answerTime,
5667
5667
  conferenceId,
5668
5668
  muted,
5669
5669
  paused,
@@ -5673,7 +5673,7 @@ class AdHocAPIConference {
5673
5673
  this.participants = participants || {};
5674
5674
  this.started = started || false;
5675
5675
  this.finished = finished || false;
5676
- this.startTime = startTime;
5676
+ this.answerTime = answerTime;
5677
5677
  this.conferenceId = conferenceId || '';
5678
5678
  this.muted = muted || false;
5679
5679
  this.paused = paused || false;
@@ -5686,7 +5686,7 @@ class AdHocAPIConference {
5686
5686
  async start() {
5687
5687
  this.started = true;
5688
5688
  // $FlowFixMe
5689
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5689
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5690
5690
 
5691
5691
  const participantIds = Object.keys(this.participants);
5692
5692
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -12845,7 +12845,7 @@ class Room {
12845
12845
 
12846
12846
 
12847
12847
 
12848
-
12848
+
12849
12849
 
12850
12850
 
12851
12851
 
@@ -12871,7 +12871,7 @@ class SwitchboardCall {
12871
12871
 
12872
12872
 
12873
12873
 
12874
-
12874
+
12875
12875
 
12876
12876
 
12877
12877
 
@@ -12885,7 +12885,7 @@ class SwitchboardCall {
12885
12885
  callerIdName: plain.caller_id_name || null,
12886
12886
  callerIdNumber: plain.caller_id_number || null,
12887
12887
  participantId: plain.participantId || null,
12888
- startTime: plain.startTime,
12888
+ answerTime: plain.startTime,
12889
12889
  state: plain.state,
12890
12890
  switchboardName: plain.switchboardName,
12891
12891
  switchboardUuid: plain.switchboardUuid,
@@ -12898,7 +12898,7 @@ class SwitchboardCall {
12898
12898
  callerIdName,
12899
12899
  callerIdNumber,
12900
12900
  participantId,
12901
- startTime,
12901
+ answerTime,
12902
12902
  state,
12903
12903
  switchboardName,
12904
12904
  switchboardUuid,
@@ -12908,7 +12908,7 @@ class SwitchboardCall {
12908
12908
  this.callerIdName = callerIdName;
12909
12909
  this.callerIdNumber = callerIdNumber;
12910
12910
  this.participantId = participantId;
12911
- this.startTime = startTime;
12911
+ this.answerTime = answerTime;
12912
12912
  this.state = state;
12913
12913
  this.switchboardName = switchboardName;
12914
12914
  this.switchboardUuid = switchboardUuid;
@@ -5906,7 +5906,7 @@ var Auth$1 = global.wazoAuthInstance;
5906
5906
 
5907
5907
 
5908
5908
 
5909
-
5909
+
5910
5910
 
5911
5911
 
5912
5912
 
@@ -5926,7 +5926,7 @@ class AdHocAPIConference {
5926
5926
 
5927
5927
 
5928
5928
 
5929
-
5929
+
5930
5930
 
5931
5931
 
5932
5932
 
@@ -5938,7 +5938,7 @@ class AdHocAPIConference {
5938
5938
  participants,
5939
5939
  started,
5940
5940
  finished,
5941
- startTime,
5941
+ answerTime,
5942
5942
  conferenceId,
5943
5943
  muted,
5944
5944
  paused,
@@ -5948,7 +5948,7 @@ class AdHocAPIConference {
5948
5948
  this.participants = participants || {};
5949
5949
  this.started = started || false;
5950
5950
  this.finished = finished || false;
5951
- this.startTime = startTime;
5951
+ this.answerTime = answerTime;
5952
5952
  this.conferenceId = conferenceId || '';
5953
5953
  this.muted = muted || false;
5954
5954
  this.paused = paused || false;
@@ -5961,7 +5961,7 @@ class AdHocAPIConference {
5961
5961
  async start() {
5962
5962
  this.started = true;
5963
5963
  // $FlowFixMe
5964
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5964
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5965
5965
 
5966
5966
  const participantIds = Object.keys(this.participants);
5967
5967
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -13255,7 +13255,7 @@ class Room {
13255
13255
 
13256
13256
 
13257
13257
 
13258
-
13258
+
13259
13259
 
13260
13260
 
13261
13261
 
@@ -13281,7 +13281,7 @@ class SwitchboardCall {
13281
13281
 
13282
13282
 
13283
13283
 
13284
-
13284
+
13285
13285
 
13286
13286
 
13287
13287
 
@@ -13295,7 +13295,7 @@ class SwitchboardCall {
13295
13295
  callerIdName: plain.caller_id_name || null,
13296
13296
  callerIdNumber: plain.caller_id_number || null,
13297
13297
  participantId: plain.participantId || null,
13298
- startTime: plain.startTime,
13298
+ answerTime: plain.startTime,
13299
13299
  state: plain.state,
13300
13300
  switchboardName: plain.switchboardName,
13301
13301
  switchboardUuid: plain.switchboardUuid,
@@ -13308,7 +13308,7 @@ class SwitchboardCall {
13308
13308
  callerIdName,
13309
13309
  callerIdNumber,
13310
13310
  participantId,
13311
- startTime,
13311
+ answerTime,
13312
13312
  state,
13313
13313
  switchboardName,
13314
13314
  switchboardUuid,
@@ -13318,7 +13318,7 @@ class SwitchboardCall {
13318
13318
  this.callerIdName = callerIdName;
13319
13319
  this.callerIdNumber = callerIdNumber;
13320
13320
  this.participantId = participantId;
13321
- this.startTime = startTime;
13321
+ this.answerTime = answerTime;
13322
13322
  this.state = state;
13323
13323
  this.switchboardName = switchboardName;
13324
13324
  this.switchboardUuid = switchboardUuid;
@@ -5906,7 +5906,7 @@ var Auth$1 = global.wazoAuthInstance;
5906
5906
 
5907
5907
 
5908
5908
 
5909
-
5909
+
5910
5910
 
5911
5911
 
5912
5912
 
@@ -5926,7 +5926,7 @@ class AdHocAPIConference {
5926
5926
 
5927
5927
 
5928
5928
 
5929
-
5929
+
5930
5930
 
5931
5931
 
5932
5932
 
@@ -5938,7 +5938,7 @@ class AdHocAPIConference {
5938
5938
  participants,
5939
5939
  started,
5940
5940
  finished,
5941
- startTime,
5941
+ answerTime,
5942
5942
  conferenceId,
5943
5943
  muted,
5944
5944
  paused,
@@ -5948,7 +5948,7 @@ class AdHocAPIConference {
5948
5948
  this.participants = participants || {};
5949
5949
  this.started = started || false;
5950
5950
  this.finished = finished || false;
5951
- this.startTime = startTime;
5951
+ this.answerTime = answerTime;
5952
5952
  this.conferenceId = conferenceId || '';
5953
5953
  this.muted = muted || false;
5954
5954
  this.paused = paused || false;
@@ -5961,7 +5961,7 @@ class AdHocAPIConference {
5961
5961
  async start() {
5962
5962
  this.started = true;
5963
5963
  // $FlowFixMe
5964
- this.startTime = Object.values(this.participants).length ? Object.values(this.participants)[0].startTime : null;
5964
+ this.answerTime = Object.values(this.participants).length ? Object.values(this.participants)[0].answerTime : null;
5965
5965
 
5966
5966
  const participantIds = Object.keys(this.participants);
5967
5967
  const conference = await getApiClient().calld.createAdHocConference(this.host.callId, participantIds);
@@ -12124,7 +12124,7 @@ class Room$1 {
12124
12124
 
12125
12125
 
12126
12126
 
12127
-
12127
+
12128
12128
 
12129
12129
 
12130
12130
 
@@ -12150,7 +12150,7 @@ class SwitchboardCall {
12150
12150
 
12151
12151
 
12152
12152
 
12153
-
12153
+
12154
12154
 
12155
12155
 
12156
12156
 
@@ -12164,7 +12164,7 @@ class SwitchboardCall {
12164
12164
  callerIdName: plain.caller_id_name || null,
12165
12165
  callerIdNumber: plain.caller_id_number || null,
12166
12166
  participantId: plain.participantId || null,
12167
- startTime: plain.startTime,
12167
+ answerTime: plain.startTime,
12168
12168
  state: plain.state,
12169
12169
  switchboardName: plain.switchboardName,
12170
12170
  switchboardUuid: plain.switchboardUuid,
@@ -12177,7 +12177,7 @@ class SwitchboardCall {
12177
12177
  callerIdName,
12178
12178
  callerIdNumber,
12179
12179
  participantId,
12180
- startTime,
12180
+ answerTime,
12181
12181
  state,
12182
12182
  switchboardName,
12183
12183
  switchboardUuid,
@@ -12187,7 +12187,7 @@ class SwitchboardCall {
12187
12187
  this.callerIdName = callerIdName;
12188
12188
  this.callerIdNumber = callerIdNumber;
12189
12189
  this.participantId = participantId;
12190
- this.startTime = startTime;
12190
+ this.answerTime = answerTime;
12191
12191
  this.state = state;
12192
12192
  this.switchboardName = switchboardName;
12193
12193
  this.switchboardUuid = switchboardUuid;