@wazo/sdk 0.38.12 → 0.38.13
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/dist/wazo-sdk.js +1 -1
- package/esm/domain/Features.js +5 -1
- package/esm/index.js +5 -1
- package/esm/simple/Auth.js +5 -1
- package/esm/simple/Configuration.js +5 -1
- package/esm/simple/Phone.js +5 -1
- package/esm/simple/index.js +5 -1
- package/esm/simple/room/LocalParticipant.js +5 -1
- package/esm/simple/room/Participant.js +5 -1
- package/esm/simple/room/RemoteParticipant.js +5 -1
- package/esm/simple/room/Room.js +5 -1
- package/esm/simple/room/SipRoom.js +5 -1
- package/esm/simple/room/Stream.js +5 -1
- package/esm/simple/room/__tests__/Participant.test.js +5 -1
- package/esm/simple/room/__tests__/RemoteParticipant.test.js +5 -1
- package/esm/simple/utils.js +5 -1
- package/lib/domain/Features.js +5 -1
- package/lib/index.js +5 -1
- package/lib/simple/Auth.js +5 -1
- package/lib/simple/Configuration.js +5 -1
- package/lib/simple/Phone.js +5 -1
- package/lib/simple/index.js +5 -1
- package/lib/simple/room/LocalParticipant.js +5 -1
- package/lib/simple/room/Participant.js +5 -1
- package/lib/simple/room/RemoteParticipant.js +5 -1
- package/lib/simple/room/Room.js +5 -1
- package/lib/simple/room/SipRoom.js +5 -1
- package/lib/simple/room/Stream.js +5 -1
- package/lib/simple/room/__tests__/Participant.test.js +5 -1
- package/lib/simple/room/__tests__/RemoteParticipant.test.js +5 -1
- package/lib/simple/utils.js +5 -1
- package/package.json +1 -1
- package/src/domain/Features.js +5 -1
package/lib/index.js
CHANGED
|
@@ -9230,7 +9230,7 @@ var COUNTRIES = {
|
|
|
9230
9230
|
|
|
9231
9231
|
//
|
|
9232
9232
|
|
|
9233
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
9233
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
9234
9234
|
|
|
9235
9235
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
9236
9236
|
|
|
@@ -9244,6 +9244,7 @@ class Features {
|
|
|
9244
9244
|
|
|
9245
9245
|
|
|
9246
9246
|
|
|
9247
|
+
|
|
9247
9248
|
|
|
9248
9249
|
constructor() {
|
|
9249
9250
|
this._hasChat = true;
|
|
@@ -9252,6 +9253,7 @@ class Features {
|
|
|
9252
9253
|
this._hasFax = true;
|
|
9253
9254
|
this._hasMobileDoubleCall = true;
|
|
9254
9255
|
this._hasMobileGsm = true;
|
|
9256
|
+
this._hasMeeting = true;
|
|
9255
9257
|
}
|
|
9256
9258
|
|
|
9257
9259
|
async fetchAccess() {
|
|
@@ -9272,6 +9274,7 @@ class Features {
|
|
|
9272
9274
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
9273
9275
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
9274
9276
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
9277
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
9275
9278
|
}
|
|
9276
9279
|
|
|
9277
9280
|
hasChat() { return this._hasChat; }
|
|
@@ -9280,6 +9283,7 @@ class Features {
|
|
|
9280
9283
|
hasFax() { return this._hasFax; }
|
|
9281
9284
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
9282
9285
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
9286
|
+
hasMeeting() { return this._hasMeeting; }
|
|
9283
9287
|
|
|
9284
9288
|
_hasFeatures(scopes , featureName ) {
|
|
9285
9289
|
const scopeName = getScopeName(featureName);
|
package/lib/simple/Auth.js
CHANGED
|
@@ -13405,7 +13405,7 @@ SwitchboardCall.STATE = {
|
|
|
13405
13405
|
|
|
13406
13406
|
//
|
|
13407
13407
|
|
|
13408
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13408
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13409
13409
|
|
|
13410
13410
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13411
13411
|
|
|
@@ -13419,6 +13419,7 @@ class Features {
|
|
|
13419
13419
|
|
|
13420
13420
|
|
|
13421
13421
|
|
|
13422
|
+
|
|
13422
13423
|
|
|
13423
13424
|
constructor() {
|
|
13424
13425
|
this._hasChat = true;
|
|
@@ -13427,6 +13428,7 @@ class Features {
|
|
|
13427
13428
|
this._hasFax = true;
|
|
13428
13429
|
this._hasMobileDoubleCall = true;
|
|
13429
13430
|
this._hasMobileGsm = true;
|
|
13431
|
+
this._hasMeeting = true;
|
|
13430
13432
|
}
|
|
13431
13433
|
|
|
13432
13434
|
async fetchAccess() {
|
|
@@ -13447,6 +13449,7 @@ class Features {
|
|
|
13447
13449
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13448
13450
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13449
13451
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13452
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13450
13453
|
}
|
|
13451
13454
|
|
|
13452
13455
|
hasChat() { return this._hasChat; }
|
|
@@ -13455,6 +13458,7 @@ class Features {
|
|
|
13455
13458
|
hasFax() { return this._hasFax; }
|
|
13456
13459
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13457
13460
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13461
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13458
13462
|
|
|
13459
13463
|
_hasFeatures(scopes , featureName ) {
|
|
13460
13464
|
const scopeName = getScopeName(featureName);
|
|
@@ -13386,7 +13386,7 @@ SwitchboardCall.STATE = {
|
|
|
13386
13386
|
|
|
13387
13387
|
//
|
|
13388
13388
|
|
|
13389
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13389
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13390
13390
|
|
|
13391
13391
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13392
13392
|
|
|
@@ -13400,6 +13400,7 @@ class Features {
|
|
|
13400
13400
|
|
|
13401
13401
|
|
|
13402
13402
|
|
|
13403
|
+
|
|
13403
13404
|
|
|
13404
13405
|
constructor() {
|
|
13405
13406
|
this._hasChat = true;
|
|
@@ -13408,6 +13409,7 @@ class Features {
|
|
|
13408
13409
|
this._hasFax = true;
|
|
13409
13410
|
this._hasMobileDoubleCall = true;
|
|
13410
13411
|
this._hasMobileGsm = true;
|
|
13412
|
+
this._hasMeeting = true;
|
|
13411
13413
|
}
|
|
13412
13414
|
|
|
13413
13415
|
async fetchAccess() {
|
|
@@ -13428,6 +13430,7 @@ class Features {
|
|
|
13428
13430
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13429
13431
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13430
13432
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13433
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13431
13434
|
}
|
|
13432
13435
|
|
|
13433
13436
|
hasChat() { return this._hasChat; }
|
|
@@ -13436,6 +13439,7 @@ class Features {
|
|
|
13436
13439
|
hasFax() { return this._hasFax; }
|
|
13437
13440
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13438
13441
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13442
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13439
13443
|
|
|
13440
13444
|
_hasFeatures(scopes , featureName ) {
|
|
13441
13445
|
const scopeName = getScopeName(featureName);
|
package/lib/simple/Phone.js
CHANGED
|
@@ -13324,7 +13324,7 @@ SwitchboardCall.STATE = {
|
|
|
13324
13324
|
|
|
13325
13325
|
//
|
|
13326
13326
|
|
|
13327
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13327
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13328
13328
|
|
|
13329
13329
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13330
13330
|
|
|
@@ -13338,6 +13338,7 @@ class Features {
|
|
|
13338
13338
|
|
|
13339
13339
|
|
|
13340
13340
|
|
|
13341
|
+
|
|
13341
13342
|
|
|
13342
13343
|
constructor() {
|
|
13343
13344
|
this._hasChat = true;
|
|
@@ -13346,6 +13347,7 @@ class Features {
|
|
|
13346
13347
|
this._hasFax = true;
|
|
13347
13348
|
this._hasMobileDoubleCall = true;
|
|
13348
13349
|
this._hasMobileGsm = true;
|
|
13350
|
+
this._hasMeeting = true;
|
|
13349
13351
|
}
|
|
13350
13352
|
|
|
13351
13353
|
async fetchAccess() {
|
|
@@ -13366,6 +13368,7 @@ class Features {
|
|
|
13366
13368
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13367
13369
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13368
13370
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13371
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13369
13372
|
}
|
|
13370
13373
|
|
|
13371
13374
|
hasChat() { return this._hasChat; }
|
|
@@ -13374,6 +13377,7 @@ class Features {
|
|
|
13374
13377
|
hasFax() { return this._hasFax; }
|
|
13375
13378
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13376
13379
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13380
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13377
13381
|
|
|
13378
13382
|
_hasFeatures(scopes , featureName ) {
|
|
13379
13383
|
const scopeName = getScopeName(featureName);
|
package/lib/simple/index.js
CHANGED
|
@@ -13734,7 +13734,7 @@ SwitchboardCall.STATE = {
|
|
|
13734
13734
|
|
|
13735
13735
|
//
|
|
13736
13736
|
|
|
13737
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13737
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13738
13738
|
|
|
13739
13739
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13740
13740
|
|
|
@@ -13748,6 +13748,7 @@ class Features {
|
|
|
13748
13748
|
|
|
13749
13749
|
|
|
13750
13750
|
|
|
13751
|
+
|
|
13751
13752
|
|
|
13752
13753
|
constructor() {
|
|
13753
13754
|
this._hasChat = true;
|
|
@@ -13756,6 +13757,7 @@ class Features {
|
|
|
13756
13757
|
this._hasFax = true;
|
|
13757
13758
|
this._hasMobileDoubleCall = true;
|
|
13758
13759
|
this._hasMobileGsm = true;
|
|
13760
|
+
this._hasMeeting = true;
|
|
13759
13761
|
}
|
|
13760
13762
|
|
|
13761
13763
|
async fetchAccess() {
|
|
@@ -13776,6 +13778,7 @@ class Features {
|
|
|
13776
13778
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13777
13779
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13778
13780
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13781
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13779
13782
|
}
|
|
13780
13783
|
|
|
13781
13784
|
hasChat() { return this._hasChat; }
|
|
@@ -13784,6 +13787,7 @@ class Features {
|
|
|
13784
13787
|
hasFax() { return this._hasFax; }
|
|
13785
13788
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13786
13789
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13790
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13787
13791
|
|
|
13788
13792
|
_hasFeatures(scopes , featureName ) {
|
|
13789
13793
|
const scopeName = getScopeName(featureName);
|
|
@@ -12564,7 +12564,7 @@ SwitchboardCall.STATE = {
|
|
|
12564
12564
|
|
|
12565
12565
|
//
|
|
12566
12566
|
|
|
12567
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
12567
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
12568
12568
|
|
|
12569
12569
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
12570
12570
|
|
|
@@ -12578,6 +12578,7 @@ class Features {
|
|
|
12578
12578
|
|
|
12579
12579
|
|
|
12580
12580
|
|
|
12581
|
+
|
|
12581
12582
|
|
|
12582
12583
|
constructor() {
|
|
12583
12584
|
this._hasChat = true;
|
|
@@ -12586,6 +12587,7 @@ class Features {
|
|
|
12586
12587
|
this._hasFax = true;
|
|
12587
12588
|
this._hasMobileDoubleCall = true;
|
|
12588
12589
|
this._hasMobileGsm = true;
|
|
12590
|
+
this._hasMeeting = true;
|
|
12589
12591
|
}
|
|
12590
12592
|
|
|
12591
12593
|
async fetchAccess() {
|
|
@@ -12606,6 +12608,7 @@ class Features {
|
|
|
12606
12608
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
12607
12609
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
12608
12610
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
12611
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
12609
12612
|
}
|
|
12610
12613
|
|
|
12611
12614
|
hasChat() { return this._hasChat; }
|
|
@@ -12614,6 +12617,7 @@ class Features {
|
|
|
12614
12617
|
hasFax() { return this._hasFax; }
|
|
12615
12618
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
12616
12619
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
12620
|
+
hasMeeting() { return this._hasMeeting; }
|
|
12617
12621
|
|
|
12618
12622
|
_hasFeatures(scopes , featureName ) {
|
|
12619
12623
|
const scopeName = getScopeName(featureName);
|
|
@@ -12569,7 +12569,7 @@ SwitchboardCall.STATE = {
|
|
|
12569
12569
|
|
|
12570
12570
|
//
|
|
12571
12571
|
|
|
12572
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
12572
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
12573
12573
|
|
|
12574
12574
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
12575
12575
|
|
|
@@ -12583,6 +12583,7 @@ class Features {
|
|
|
12583
12583
|
|
|
12584
12584
|
|
|
12585
12585
|
|
|
12586
|
+
|
|
12586
12587
|
|
|
12587
12588
|
constructor() {
|
|
12588
12589
|
this._hasChat = true;
|
|
@@ -12591,6 +12592,7 @@ class Features {
|
|
|
12591
12592
|
this._hasFax = true;
|
|
12592
12593
|
this._hasMobileDoubleCall = true;
|
|
12593
12594
|
this._hasMobileGsm = true;
|
|
12595
|
+
this._hasMeeting = true;
|
|
12594
12596
|
}
|
|
12595
12597
|
|
|
12596
12598
|
async fetchAccess() {
|
|
@@ -12611,6 +12613,7 @@ class Features {
|
|
|
12611
12613
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
12612
12614
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
12613
12615
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
12616
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
12614
12617
|
}
|
|
12615
12618
|
|
|
12616
12619
|
hasChat() { return this._hasChat; }
|
|
@@ -12619,6 +12622,7 @@ class Features {
|
|
|
12619
12622
|
hasFax() { return this._hasFax; }
|
|
12620
12623
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
12621
12624
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
12625
|
+
hasMeeting() { return this._hasMeeting; }
|
|
12622
12626
|
|
|
12623
12627
|
_hasFeatures(scopes , featureName ) {
|
|
12624
12628
|
const scopeName = getScopeName(featureName);
|
|
@@ -12887,7 +12887,7 @@ SwitchboardCall.STATE = {
|
|
|
12887
12887
|
|
|
12888
12888
|
//
|
|
12889
12889
|
|
|
12890
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
12890
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
12891
12891
|
|
|
12892
12892
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
12893
12893
|
|
|
@@ -12901,6 +12901,7 @@ class Features {
|
|
|
12901
12901
|
|
|
12902
12902
|
|
|
12903
12903
|
|
|
12904
|
+
|
|
12904
12905
|
|
|
12905
12906
|
constructor() {
|
|
12906
12907
|
this._hasChat = true;
|
|
@@ -12909,6 +12910,7 @@ class Features {
|
|
|
12909
12910
|
this._hasFax = true;
|
|
12910
12911
|
this._hasMobileDoubleCall = true;
|
|
12911
12912
|
this._hasMobileGsm = true;
|
|
12913
|
+
this._hasMeeting = true;
|
|
12912
12914
|
}
|
|
12913
12915
|
|
|
12914
12916
|
async fetchAccess() {
|
|
@@ -12929,6 +12931,7 @@ class Features {
|
|
|
12929
12931
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
12930
12932
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
12931
12933
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
12934
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
12932
12935
|
}
|
|
12933
12936
|
|
|
12934
12937
|
hasChat() { return this._hasChat; }
|
|
@@ -12937,6 +12940,7 @@ class Features {
|
|
|
12937
12940
|
hasFax() { return this._hasFax; }
|
|
12938
12941
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
12939
12942
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
12943
|
+
hasMeeting() { return this._hasMeeting; }
|
|
12940
12944
|
|
|
12941
12945
|
_hasFeatures(scopes , featureName ) {
|
|
12942
12946
|
const scopeName = getScopeName(featureName);
|
package/lib/simple/room/Room.js
CHANGED
|
@@ -12900,7 +12900,7 @@ SwitchboardCall.STATE = {
|
|
|
12900
12900
|
|
|
12901
12901
|
//
|
|
12902
12902
|
|
|
12903
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
12903
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
12904
12904
|
|
|
12905
12905
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
12906
12906
|
|
|
@@ -12914,6 +12914,7 @@ class Features {
|
|
|
12914
12914
|
|
|
12915
12915
|
|
|
12916
12916
|
|
|
12917
|
+
|
|
12917
12918
|
|
|
12918
12919
|
constructor() {
|
|
12919
12920
|
this._hasChat = true;
|
|
@@ -12922,6 +12923,7 @@ class Features {
|
|
|
12922
12923
|
this._hasFax = true;
|
|
12923
12924
|
this._hasMobileDoubleCall = true;
|
|
12924
12925
|
this._hasMobileGsm = true;
|
|
12926
|
+
this._hasMeeting = true;
|
|
12925
12927
|
}
|
|
12926
12928
|
|
|
12927
12929
|
async fetchAccess() {
|
|
@@ -12942,6 +12944,7 @@ class Features {
|
|
|
12942
12944
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
12943
12945
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
12944
12946
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
12947
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
12945
12948
|
}
|
|
12946
12949
|
|
|
12947
12950
|
hasChat() { return this._hasChat; }
|
|
@@ -12950,6 +12953,7 @@ class Features {
|
|
|
12950
12953
|
hasFax() { return this._hasFax; }
|
|
12951
12954
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
12952
12955
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
12956
|
+
hasMeeting() { return this._hasMeeting; }
|
|
12953
12957
|
|
|
12954
12958
|
_hasFeatures(scopes , featureName ) {
|
|
12955
12959
|
const scopeName = getScopeName(featureName);
|
|
@@ -13595,7 +13595,7 @@ SwitchboardCall.STATE = {
|
|
|
13595
13595
|
|
|
13596
13596
|
//
|
|
13597
13597
|
|
|
13598
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13598
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13599
13599
|
|
|
13600
13600
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13601
13601
|
|
|
@@ -13609,6 +13609,7 @@ class Features {
|
|
|
13609
13609
|
|
|
13610
13610
|
|
|
13611
13611
|
|
|
13612
|
+
|
|
13612
13613
|
|
|
13613
13614
|
constructor() {
|
|
13614
13615
|
this._hasChat = true;
|
|
@@ -13617,6 +13618,7 @@ class Features {
|
|
|
13617
13618
|
this._hasFax = true;
|
|
13618
13619
|
this._hasMobileDoubleCall = true;
|
|
13619
13620
|
this._hasMobileGsm = true;
|
|
13621
|
+
this._hasMeeting = true;
|
|
13620
13622
|
}
|
|
13621
13623
|
|
|
13622
13624
|
async fetchAccess() {
|
|
@@ -13637,6 +13639,7 @@ class Features {
|
|
|
13637
13639
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13638
13640
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13639
13641
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13642
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13640
13643
|
}
|
|
13641
13644
|
|
|
13642
13645
|
hasChat() { return this._hasChat; }
|
|
@@ -13645,6 +13648,7 @@ class Features {
|
|
|
13645
13648
|
hasFax() { return this._hasFax; }
|
|
13646
13649
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13647
13650
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13651
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13648
13652
|
|
|
13649
13653
|
_hasFeatures(scopes , featureName ) {
|
|
13650
13654
|
const scopeName = getScopeName(featureName);
|
|
@@ -13676,7 +13676,7 @@ SwitchboardCall.STATE = {
|
|
|
13676
13676
|
|
|
13677
13677
|
//
|
|
13678
13678
|
|
|
13679
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13679
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13680
13680
|
|
|
13681
13681
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13682
13682
|
|
|
@@ -13690,6 +13690,7 @@ class Features {
|
|
|
13690
13690
|
|
|
13691
13691
|
|
|
13692
13692
|
|
|
13693
|
+
|
|
13693
13694
|
|
|
13694
13695
|
constructor() {
|
|
13695
13696
|
this._hasChat = true;
|
|
@@ -13698,6 +13699,7 @@ class Features {
|
|
|
13698
13699
|
this._hasFax = true;
|
|
13699
13700
|
this._hasMobileDoubleCall = true;
|
|
13700
13701
|
this._hasMobileGsm = true;
|
|
13702
|
+
this._hasMeeting = true;
|
|
13701
13703
|
}
|
|
13702
13704
|
|
|
13703
13705
|
async fetchAccess() {
|
|
@@ -13718,6 +13720,7 @@ class Features {
|
|
|
13718
13720
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13719
13721
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13720
13722
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13723
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13721
13724
|
}
|
|
13722
13725
|
|
|
13723
13726
|
hasChat() { return this._hasChat; }
|
|
@@ -13726,6 +13729,7 @@ class Features {
|
|
|
13726
13729
|
hasFax() { return this._hasFax; }
|
|
13727
13730
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13728
13731
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13732
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13729
13733
|
|
|
13730
13734
|
_hasFeatures(scopes , featureName ) {
|
|
13731
13735
|
const scopeName = getScopeName(featureName);
|
|
@@ -13734,7 +13734,7 @@ SwitchboardCall.STATE = {
|
|
|
13734
13734
|
|
|
13735
13735
|
//
|
|
13736
13736
|
|
|
13737
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13737
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13738
13738
|
|
|
13739
13739
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13740
13740
|
|
|
@@ -13748,6 +13748,7 @@ class Features {
|
|
|
13748
13748
|
|
|
13749
13749
|
|
|
13750
13750
|
|
|
13751
|
+
|
|
13751
13752
|
|
|
13752
13753
|
constructor() {
|
|
13753
13754
|
this._hasChat = true;
|
|
@@ -13756,6 +13757,7 @@ class Features {
|
|
|
13756
13757
|
this._hasFax = true;
|
|
13757
13758
|
this._hasMobileDoubleCall = true;
|
|
13758
13759
|
this._hasMobileGsm = true;
|
|
13760
|
+
this._hasMeeting = true;
|
|
13759
13761
|
}
|
|
13760
13762
|
|
|
13761
13763
|
async fetchAccess() {
|
|
@@ -13776,6 +13778,7 @@ class Features {
|
|
|
13776
13778
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13777
13779
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13778
13780
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13781
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13779
13782
|
}
|
|
13780
13783
|
|
|
13781
13784
|
hasChat() { return this._hasChat; }
|
|
@@ -13784,6 +13787,7 @@ class Features {
|
|
|
13784
13787
|
hasFax() { return this._hasFax; }
|
|
13785
13788
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13786
13789
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13790
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13787
13791
|
|
|
13788
13792
|
_hasFeatures(scopes , featureName ) {
|
|
13789
13793
|
const scopeName = getScopeName(featureName);
|
|
@@ -13734,7 +13734,7 @@ SwitchboardCall.STATE = {
|
|
|
13734
13734
|
|
|
13735
13735
|
//
|
|
13736
13736
|
|
|
13737
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13737
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13738
13738
|
|
|
13739
13739
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13740
13740
|
|
|
@@ -13748,6 +13748,7 @@ class Features {
|
|
|
13748
13748
|
|
|
13749
13749
|
|
|
13750
13750
|
|
|
13751
|
+
|
|
13751
13752
|
|
|
13752
13753
|
constructor() {
|
|
13753
13754
|
this._hasChat = true;
|
|
@@ -13756,6 +13757,7 @@ class Features {
|
|
|
13756
13757
|
this._hasFax = true;
|
|
13757
13758
|
this._hasMobileDoubleCall = true;
|
|
13758
13759
|
this._hasMobileGsm = true;
|
|
13760
|
+
this._hasMeeting = true;
|
|
13759
13761
|
}
|
|
13760
13762
|
|
|
13761
13763
|
async fetchAccess() {
|
|
@@ -13776,6 +13778,7 @@ class Features {
|
|
|
13776
13778
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13777
13779
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13778
13780
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13781
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13779
13782
|
}
|
|
13780
13783
|
|
|
13781
13784
|
hasChat() { return this._hasChat; }
|
|
@@ -13784,6 +13787,7 @@ class Features {
|
|
|
13784
13787
|
hasFax() { return this._hasFax; }
|
|
13785
13788
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13786
13789
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13790
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13787
13791
|
|
|
13788
13792
|
_hasFeatures(scopes , featureName ) {
|
|
13789
13793
|
const scopeName = getScopeName(featureName);
|
package/lib/simple/utils.js
CHANGED
|
@@ -13720,7 +13720,7 @@ SwitchboardCall.STATE = {
|
|
|
13720
13720
|
|
|
13721
13721
|
//
|
|
13722
13722
|
|
|
13723
|
-
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
13723
|
+
const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
13724
13724
|
|
|
13725
13725
|
const getScopeName = (featureName ) => `enterprise.app.${featureName}`;
|
|
13726
13726
|
|
|
@@ -13734,6 +13734,7 @@ class Features {
|
|
|
13734
13734
|
|
|
13735
13735
|
|
|
13736
13736
|
|
|
13737
|
+
|
|
13737
13738
|
|
|
13738
13739
|
constructor() {
|
|
13739
13740
|
this._hasChat = true;
|
|
@@ -13742,6 +13743,7 @@ class Features {
|
|
|
13742
13743
|
this._hasFax = true;
|
|
13743
13744
|
this._hasMobileDoubleCall = true;
|
|
13744
13745
|
this._hasMobileGsm = true;
|
|
13746
|
+
this._hasMeeting = true;
|
|
13745
13747
|
}
|
|
13746
13748
|
|
|
13747
13749
|
async fetchAccess() {
|
|
@@ -13762,6 +13764,7 @@ class Features {
|
|
|
13762
13764
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
13763
13765
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
13764
13766
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
13767
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
13765
13768
|
}
|
|
13766
13769
|
|
|
13767
13770
|
hasChat() { return this._hasChat; }
|
|
@@ -13770,6 +13773,7 @@ class Features {
|
|
|
13770
13773
|
hasFax() { return this._hasFax; }
|
|
13771
13774
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
13772
13775
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
13776
|
+
hasMeeting() { return this._hasMeeting; }
|
|
13773
13777
|
|
|
13774
13778
|
_hasFeatures(scopes , featureName ) {
|
|
13775
13779
|
const scopeName = getScopeName(featureName);
|
package/package.json
CHANGED
package/src/domain/Features.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import getApiClient from '../service/getApiClient';
|
|
4
4
|
|
|
5
|
-
export const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm'];
|
|
5
|
+
export const FEATURES = ['chat', 'video', 'call_recording', 'fax', 'mobile_double_call', 'mobile_gsm', 'meeting'];
|
|
6
6
|
|
|
7
7
|
export const getScopeName = (featureName: string) => `enterprise.app.${featureName}`;
|
|
8
8
|
|
|
@@ -16,6 +16,7 @@ class Features {
|
|
|
16
16
|
_hasFax: boolean;
|
|
17
17
|
_hasMobileDoubleCall: boolean;
|
|
18
18
|
_hasMobileGsm: boolean;
|
|
19
|
+
_hasMeeting: boolean;
|
|
19
20
|
|
|
20
21
|
constructor() {
|
|
21
22
|
this._hasChat = true;
|
|
@@ -24,6 +25,7 @@ class Features {
|
|
|
24
25
|
this._hasFax = true;
|
|
25
26
|
this._hasMobileDoubleCall = true;
|
|
26
27
|
this._hasMobileGsm = true;
|
|
28
|
+
this._hasMeeting = true;
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
async fetchAccess() {
|
|
@@ -44,6 +46,7 @@ class Features {
|
|
|
44
46
|
this._hasFax = this._hasFeatures(scopes, 'fax');
|
|
45
47
|
this._hasMobileDoubleCall = this._hasFeatures(scopes, 'mobile_double_call');
|
|
46
48
|
this._hasMobileGsm = this._hasFeatures(scopes, 'mobile_gsm');
|
|
49
|
+
this._hasMeeting = this._hasFeatures(scopes, 'meeting');
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
hasChat() { return this._hasChat; }
|
|
@@ -52,6 +55,7 @@ class Features {
|
|
|
52
55
|
hasFax() { return this._hasFax; }
|
|
53
56
|
hasMobileDoubleCall() { return this._hasMobileDoubleCall; }
|
|
54
57
|
hasMobileGsm() { return this._hasMobileGsm; }
|
|
58
|
+
hasMeeting() { return this._hasMeeting; }
|
|
55
59
|
|
|
56
60
|
_hasFeatures(scopes: Object, featureName: string) {
|
|
57
61
|
const scopeName = getScopeName(featureName);
|