@wazo/sdk 0.38.3 → 0.38.4

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.
@@ -12871,7 +12871,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
12871
12871
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
12872
12872
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
12873
12873
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
12874
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
12874
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
12875
12875
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
12876
12876
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
12877
12877
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -12915,7 +12915,7 @@ class Softphone {
12915
12915
  onIFrameLoaded() {}
12916
12916
 
12917
12917
  onCallLocallyAnswered(call ) {}
12918
- onCallRemotelyAnswered(call ) {}
12918
+ onCallEstablished(call ) {}
12919
12919
  onOutgoingCallMade(call ) {}
12920
12920
  onCallIncoming(call ) {}
12921
12921
  onCallRejected(call ) {}
@@ -13221,8 +13221,8 @@ class Softphone {
13221
13221
  case BRIDGE_ON_CALL_REJECTED:
13222
13222
  this.onCallRejected(event.data.call);
13223
13223
  break;
13224
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
13225
- this.onCallRemotelyAnswered(event.data.call);
13224
+ case BRIDGE_ON_CALL_ESTABLISHED:
13225
+ this.onCallEstablished(event.data.call);
13226
13226
  break;
13227
13227
  default:
13228
13228
  this.onUnHandledEvent(event);
@@ -13150,7 +13150,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
13150
13150
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
13151
13151
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
13152
13152
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
13153
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
13153
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
13154
13154
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
13155
13155
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
13156
13156
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -13194,7 +13194,7 @@ class Softphone {
13194
13194
  onIFrameLoaded() {}
13195
13195
 
13196
13196
  onCallLocallyAnswered(call ) {}
13197
- onCallRemotelyAnswered(call ) {}
13197
+ onCallEstablished(call ) {}
13198
13198
  onOutgoingCallMade(call ) {}
13199
13199
  onCallIncoming(call ) {}
13200
13200
  onCallRejected(call ) {}
@@ -13500,8 +13500,8 @@ class Softphone {
13500
13500
  case BRIDGE_ON_CALL_REJECTED:
13501
13501
  this.onCallRejected(event.data.call);
13502
13502
  break;
13503
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
13504
- this.onCallRemotelyAnswered(event.data.call);
13503
+ case BRIDGE_ON_CALL_ESTABLISHED:
13504
+ this.onCallEstablished(event.data.call);
13505
13505
  break;
13506
13506
  default:
13507
13507
  this.onUnHandledEvent(event);
@@ -13163,7 +13163,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
13163
13163
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
13164
13164
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
13165
13165
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
13166
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
13166
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
13167
13167
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
13168
13168
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
13169
13169
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -13207,7 +13207,7 @@ class Softphone {
13207
13207
  onIFrameLoaded() {}
13208
13208
 
13209
13209
  onCallLocallyAnswered(call ) {}
13210
- onCallRemotelyAnswered(call ) {}
13210
+ onCallEstablished(call ) {}
13211
13211
  onOutgoingCallMade(call ) {}
13212
13212
  onCallIncoming(call ) {}
13213
13213
  onCallRejected(call ) {}
@@ -13513,8 +13513,8 @@ class Softphone {
13513
13513
  case BRIDGE_ON_CALL_REJECTED:
13514
13514
  this.onCallRejected(event.data.call);
13515
13515
  break;
13516
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
13517
- this.onCallRemotelyAnswered(event.data.call);
13516
+ case BRIDGE_ON_CALL_ESTABLISHED:
13517
+ this.onCallEstablished(event.data.call);
13518
13518
  break;
13519
13519
  default:
13520
13520
  this.onUnHandledEvent(event);
@@ -13858,7 +13858,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
13858
13858
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
13859
13859
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
13860
13860
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
13861
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
13861
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
13862
13862
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
13863
13863
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
13864
13864
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -13902,7 +13902,7 @@ class Softphone {
13902
13902
  onIFrameLoaded() {}
13903
13903
 
13904
13904
  onCallLocallyAnswered(call ) {}
13905
- onCallRemotelyAnswered(call ) {}
13905
+ onCallEstablished(call ) {}
13906
13906
  onOutgoingCallMade(call ) {}
13907
13907
  onCallIncoming(call ) {}
13908
13908
  onCallRejected(call ) {}
@@ -14208,8 +14208,8 @@ class Softphone {
14208
14208
  case BRIDGE_ON_CALL_REJECTED:
14209
14209
  this.onCallRejected(event.data.call);
14210
14210
  break;
14211
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
14212
- this.onCallRemotelyAnswered(event.data.call);
14211
+ case BRIDGE_ON_CALL_ESTABLISHED:
14212
+ this.onCallEstablished(event.data.call);
14213
14213
  break;
14214
14214
  default:
14215
14215
  this.onUnHandledEvent(event);
@@ -13939,7 +13939,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
13939
13939
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
13940
13940
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
13941
13941
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
13942
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
13942
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
13943
13943
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
13944
13944
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
13945
13945
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -13983,7 +13983,7 @@ class Softphone {
13983
13983
  onIFrameLoaded() {}
13984
13984
 
13985
13985
  onCallLocallyAnswered(call ) {}
13986
- onCallRemotelyAnswered(call ) {}
13986
+ onCallEstablished(call ) {}
13987
13987
  onOutgoingCallMade(call ) {}
13988
13988
  onCallIncoming(call ) {}
13989
13989
  onCallRejected(call ) {}
@@ -14289,8 +14289,8 @@ class Softphone {
14289
14289
  case BRIDGE_ON_CALL_REJECTED:
14290
14290
  this.onCallRejected(event.data.call);
14291
14291
  break;
14292
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
14293
- this.onCallRemotelyAnswered(event.data.call);
14292
+ case BRIDGE_ON_CALL_ESTABLISHED:
14293
+ this.onCallEstablished(event.data.call);
14294
14294
  break;
14295
14295
  default:
14296
14296
  this.onUnHandledEvent(event);
@@ -13997,7 +13997,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
13997
13997
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
13998
13998
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
13999
13999
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
14000
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
14000
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
14001
14001
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
14002
14002
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
14003
14003
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -14041,7 +14041,7 @@ class Softphone {
14041
14041
  onIFrameLoaded() {}
14042
14042
 
14043
14043
  onCallLocallyAnswered(call ) {}
14044
- onCallRemotelyAnswered(call ) {}
14044
+ onCallEstablished(call ) {}
14045
14045
  onOutgoingCallMade(call ) {}
14046
14046
  onCallIncoming(call ) {}
14047
14047
  onCallRejected(call ) {}
@@ -14347,8 +14347,8 @@ class Softphone {
14347
14347
  case BRIDGE_ON_CALL_REJECTED:
14348
14348
  this.onCallRejected(event.data.call);
14349
14349
  break;
14350
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
14351
- this.onCallRemotelyAnswered(event.data.call);
14350
+ case BRIDGE_ON_CALL_ESTABLISHED:
14351
+ this.onCallEstablished(event.data.call);
14352
14352
  break;
14353
14353
  default:
14354
14354
  this.onUnHandledEvent(event);
@@ -13983,7 +13983,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
13983
13983
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
13984
13984
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
13985
13985
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
13986
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
13986
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
13987
13987
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
13988
13988
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
13989
13989
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -14027,7 +14027,7 @@ class Softphone {
14027
14027
  onIFrameLoaded() {}
14028
14028
 
14029
14029
  onCallLocallyAnswered(call ) {}
14030
- onCallRemotelyAnswered(call ) {}
14030
+ onCallEstablished(call ) {}
14031
14031
  onOutgoingCallMade(call ) {}
14032
14032
  onCallIncoming(call ) {}
14033
14033
  onCallRejected(call ) {}
@@ -14333,8 +14333,8 @@ class Softphone {
14333
14333
  case BRIDGE_ON_CALL_REJECTED:
14334
14334
  this.onCallRejected(event.data.call);
14335
14335
  break;
14336
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
14337
- this.onCallRemotelyAnswered(event.data.call);
14336
+ case BRIDGE_ON_CALL_ESTABLISHED:
14337
+ this.onCallEstablished(event.data.call);
14338
14338
  break;
14339
14339
  default:
14340
14340
  this.onUnHandledEvent(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wazo/sdk",
3
- "version": "0.38.3",
3
+ "version": "0.38.4",
4
4
  "description": "Wazo's JavaScript Software Development Kit.",
5
5
  "main": "dist/wazo-sdk.js",
6
6
  "author": "Wazo (http://wazo.io)",
@@ -16,7 +16,7 @@ const BRIDGE_ON_AGENT_RESUMED = 'bridge/BRIDGE_ON_AGENT_RESUMED';
16
16
  const BRIDGE_ON_LANGUAGE_CHANGED = 'bridge/BRIDGE_ON_LANGUAGE_CHANGED';
17
17
  const BRIDGE_ON_CALL_LOCALLY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_LOCALLY_ACCEPTED';
18
18
  const BRIDGE_ON_CALL_REJECTED = 'bridge/BRIDGE_ON_CALL_REJECTED';
19
- const BRIDGE_ON_CALL_REMOTELY_ACCEPTED = 'bridge/BRIDGE_ON_CALL_REMOTELY_ACCEPTED';
19
+ const BRIDGE_ON_CALL_ESTABLISHED = 'bridge/BRIDGE_ON_CALL_ESTABLISHED';
20
20
  const BRIDGE_ON_CALL_HELD = 'bridge/BRIDGE_ON_CALL_HELD';
21
21
  const BRIDGE_ON_CALL_RESUMED = 'bridge/BRIDGE_ON_CALL_RESUMED';
22
22
  const BRIDGE_ON_CALL_MUTED = 'bridge/BRIDGE_ON_CALL_MUTED';
@@ -60,7 +60,7 @@ class Softphone {
60
60
  onIFrameLoaded() {}
61
61
 
62
62
  onCallLocallyAnswered(call: Object) {}
63
- onCallRemotelyAnswered(call: Object) {}
63
+ onCallEstablished(call: Object) {}
64
64
  onOutgoingCallMade(call: Object) {}
65
65
  onCallIncoming(call: Object) {}
66
66
  onCallRejected(call: Object) {}
@@ -366,8 +366,8 @@ class Softphone {
366
366
  case BRIDGE_ON_CALL_REJECTED:
367
367
  this.onCallRejected(event.data.call);
368
368
  break;
369
- case BRIDGE_ON_CALL_REMOTELY_ACCEPTED:
370
- this.onCallRemotelyAnswered(event.data.call);
369
+ case BRIDGE_ON_CALL_ESTABLISHED:
370
+ this.onCallEstablished(event.data.call);
371
371
  break;
372
372
  default:
373
373
  this.onUnHandledEvent(event);