@webex/plugin-meetings 3.0.0-beta.200 → 3.0.0-beta.202

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.
Files changed (37) hide show
  1. package/dist/breakouts/breakout.js +1 -1
  2. package/dist/breakouts/index.js +1 -1
  3. package/dist/constants.js +10 -4
  4. package/dist/constants.js.map +1 -1
  5. package/dist/interpretation/index.js +1 -1
  6. package/dist/interpretation/siLanguage.js +1 -1
  7. package/dist/locus-info/index.js +2 -5
  8. package/dist/locus-info/index.js.map +1 -1
  9. package/dist/locus-info/infoUtils.js +7 -1
  10. package/dist/locus-info/infoUtils.js.map +1 -1
  11. package/dist/meeting/in-meeting-actions.js +3 -1
  12. package/dist/meeting/in-meeting-actions.js.map +1 -1
  13. package/dist/meeting/index.js +214 -178
  14. package/dist/meeting/index.js.map +1 -1
  15. package/dist/meeting/util.js +3 -1
  16. package/dist/meeting/util.js.map +1 -1
  17. package/dist/recording-controller/index.js +0 -1
  18. package/dist/recording-controller/index.js.map +1 -1
  19. package/dist/types/constants.d.ts +3 -0
  20. package/dist/types/locus-info/index.d.ts +1 -1
  21. package/dist/types/meeting/in-meeting-actions.d.ts +2 -0
  22. package/dist/types/meeting/index.d.ts +9 -0
  23. package/dist/types/recording-controller/index.d.ts +0 -1
  24. package/package.json +19 -19
  25. package/src/constants.ts +7 -0
  26. package/src/locus-info/index.ts +2 -3
  27. package/src/locus-info/infoUtils.ts +10 -2
  28. package/src/meeting/in-meeting-actions.ts +4 -0
  29. package/src/meeting/index.ts +247 -224
  30. package/src/meeting/util.ts +1 -1
  31. package/src/recording-controller/index.ts +0 -1
  32. package/test/unit/spec/locus-info/index.js +69 -2
  33. package/test/unit/spec/locus-info/infoUtils.js +37 -15
  34. package/test/unit/spec/meeting/in-meeting-actions.ts +2 -0
  35. package/test/unit/spec/meeting/index.js +255 -140
  36. package/test/unit/spec/meeting/utils.js +12 -8
  37. package/test/unit/spec/meetings/index.js +1 -1
@@ -775,10 +775,12 @@ describe('plugin-meetings', () => {
775
775
  MeetingUtil.parseInterpretationInfo(meeting, meetingInfo);
776
776
  assert.calledWith(meeting.simultaneousInterpretation.updateMeetingSIEnabled, true, true);
777
777
  assert.calledWith(meeting.simultaneousInterpretation.updateHostSIEnabled, true);
778
- assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation, [
779
- { languageName: 'en', languageCode: 1 },
780
- { languageName: 'es', languageCode: 2 },
781
- ]);
778
+ assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation, {
779
+ siLanguages: [
780
+ { languageName: 'en', languageCode: 1 },
781
+ { languageName: 'es', languageCode: 2 },
782
+ ]
783
+ });
782
784
  });
783
785
 
784
786
  it('should update simultaneous interpretation settings with host SI disabled', () => {
@@ -787,10 +789,12 @@ describe('plugin-meetings', () => {
787
789
  MeetingUtil.parseInterpretationInfo(meeting, meetingInfo);
788
790
  assert.calledWith(meeting.simultaneousInterpretation.updateMeetingSIEnabled, true, false);
789
791
  assert.calledWith(meeting.simultaneousInterpretation.updateHostSIEnabled, false);
790
- assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation, [
791
- { languageName: 'en', languageCode: 1 },
792
- { languageName: 'es', languageCode: 2 },
793
- ]);
792
+ assert.calledWith(meeting.simultaneousInterpretation.updateInterpretation, {
793
+ siLanguages: [
794
+ { languageName: 'en', languageCode: 1 },
795
+ { languageName: 'es', languageCode: 2 },
796
+ ]
797
+ });
794
798
  });
795
799
  it('should update simultaneous interpretation settings with SI disabled', () => {
796
800
  meetingInfo.turnOnSimultaneousInterpretation = false;
@@ -1088,7 +1088,7 @@ describe('plugin-meetings', () => {
1088
1088
  assert.calledOnce(webex.meetings.meetingInfo.fetchMeetingInfo);
1089
1089
  assert.calledOnce(MeetingsUtil.getMeetingAddedType);
1090
1090
  assert.notCalled(setTimeoutSpy);
1091
- assert.callCount(TriggerProxy.trigger, 4);
1091
+ assert.callCount(TriggerProxy.trigger, 5);
1092
1092
  assert.calledWith(webex.meetings.meetingInfo.fetchMeetingInfo, destination, type, null, null, undefined, undefined, extraParams, {meetingId: meeting.id});
1093
1093
  assert.calledWith(MeetingsUtil.getMeetingAddedType, 'test type');
1094
1094