@webex/plugin-meetings 3.12.0-auth-prejoin-fetch.1 → 3.12.0-llmrefactor.10

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 (63) hide show
  1. package/dist/aiEnableRequest/index.js +1 -1
  2. package/dist/annotation/index.js +53 -17
  3. package/dist/annotation/index.js.map +1 -1
  4. package/dist/breakouts/breakout.js +1 -1
  5. package/dist/breakouts/index.js +35 -9
  6. package/dist/breakouts/index.js.map +1 -1
  7. package/dist/hashTree/hashTreeParser.js +101 -48
  8. package/dist/hashTree/hashTreeParser.js.map +1 -1
  9. package/dist/interceptors/dataChannelAuthToken.js +41 -59
  10. package/dist/interceptors/dataChannelAuthToken.js.map +1 -1
  11. package/dist/interpretation/index.js +1 -1
  12. package/dist/interpretation/siLanguage.js +1 -1
  13. package/dist/locus-info/index.js +27 -2
  14. package/dist/locus-info/index.js.map +1 -1
  15. package/dist/locus-info/types.js +2 -1
  16. package/dist/locus-info/types.js.map +1 -1
  17. package/dist/meeting/index.js +913 -921
  18. package/dist/meeting/index.js.map +1 -1
  19. package/dist/meeting/util.js +5 -1
  20. package/dist/meeting/util.js.map +1 -1
  21. package/dist/meeting/voicea-meeting.js +2 -1
  22. package/dist/meeting/voicea-meeting.js.map +1 -1
  23. package/dist/meeting-info/meeting-info-v2.js +36 -92
  24. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  25. package/dist/meetings/index.js +33 -93
  26. package/dist/meetings/index.js.map +1 -1
  27. package/dist/meetings/meetings.types.js.map +1 -1
  28. package/dist/types/annotation/index.d.ts +19 -0
  29. package/dist/types/hashTree/hashTreeParser.d.ts +12 -0
  30. package/dist/types/locus-info/index.d.ts +6 -0
  31. package/dist/types/locus-info/types.d.ts +1 -0
  32. package/dist/types/meeting/index.d.ts +47 -20
  33. package/dist/types/meeting/util.d.ts +3 -1
  34. package/dist/types/meeting-info/meeting-info-v2.d.ts +1 -24
  35. package/dist/types/meetings/index.d.ts +2 -13
  36. package/dist/types/meetings/meetings.types.d.ts +1 -15
  37. package/dist/webinar/index.js +298 -255
  38. package/dist/webinar/index.js.map +1 -1
  39. package/package.json +21 -21
  40. package/src/annotation/index.ts +55 -25
  41. package/src/breakouts/index.ts +33 -11
  42. package/src/hashTree/hashTreeParser.ts +67 -3
  43. package/src/interceptors/dataChannelAuthToken.ts +48 -77
  44. package/src/locus-info/index.ts +20 -0
  45. package/src/locus-info/types.ts +1 -0
  46. package/src/meeting/index.ts +318 -332
  47. package/src/meeting/util.ts +2 -2
  48. package/src/meeting/voicea-meeting.ts +1 -1
  49. package/src/meeting-info/meeting-info-v2.ts +18 -74
  50. package/src/meetings/index.ts +6 -70
  51. package/src/meetings/meetings.types.ts +1 -17
  52. package/src/webinar/index.ts +168 -188
  53. package/test/unit/spec/annotation/index.ts +214 -182
  54. package/test/unit/spec/breakouts/index.ts +126 -25
  55. package/test/unit/spec/hashTree/hashTreeParser.ts +212 -1
  56. package/test/unit/spec/interceptors/dataChannelAuthToken.ts +81 -99
  57. package/test/unit/spec/locus-info/index.js +79 -0
  58. package/test/unit/spec/meeting/index.js +979 -701
  59. package/test/unit/spec/meeting/utils.js +16 -2
  60. package/test/unit/spec/meeting/voicea-meeting.ts +85 -1
  61. package/test/unit/spec/meeting-info/meetinginfov2.js +0 -210
  62. package/test/unit/spec/meetings/index.js +5 -231
  63. package/test/unit/spec/webinar/index.ts +886 -718
@@ -21,6 +21,7 @@ var EndMeetingReason = exports.EndMeetingReason = {
21
21
  breakoutEnded: 'BREAKOUT_ENDED' // indicates that only a breakout session ended, not the whole meeting
22
22
  };
23
23
  var LocusErrorCodes = exports.LocusErrorCodes = {
24
- LOCUS_INACTIVE: 2403004
24
+ LOCUS_INACTIVE: 2403004,
25
+ LOCUS_USER_FULL: 2423001
25
26
  };
26
27
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["EndMeetingReason","exports","maxMeetingDuration","allParticipantsLeft","sipHostLeft","noHost","waitingForMpsEndMeetingTimeout","fraudDetection","meetingEndedByHost","meetingUpdated","meetingCancelled","autoEndWithSingleParticipant","breakoutEnded","LocusErrorCodes","LOCUS_INACTIVE"],"sources":["types.ts"],"sourcesContent":["import {Enum} from '../constants';\nimport {HtMeta} from '../hashTree/types';\n\nexport const EndMeetingReason = {\n maxMeetingDuration: 'MAX_MEETING_DURATION',\n allParticipantsLeft: 'ALL_PARTICIPANTS_LEFT',\n sipHostLeft: 'SIP_HOST_LEFT',\n noHost: 'NO_HOST',\n waitingForMpsEndMeetingTimeout: 'WAITING_FOR_MPS_END_MEETING_TIMEOUT',\n fraudDetection: 'FRAUD_DETECTION',\n meetingEndedByHost: 'MEETING_ENDED_BY_HOST',\n meetingUpdated: 'MEETING_UPDATED', // Locus code has comment about EndMeetingIfPossible reason for this one\n meetingCancelled: 'MEETING_CANCELLED', // Locus code has comment about EndMeetingIfPossible reason for this one\n autoEndWithSingleParticipant: 'AUTO_END_WITH_SINGLE_PARTICIPANT',\n breakoutEnded: 'BREAKOUT_ENDED', // indicates that only a breakout session ended, not the whole meeting\n} as const;\n\nexport type EndMeetingReason = Enum<typeof EndMeetingReason>;\n\nexport type LocusFullState = {\n active: boolean;\n count: number;\n lastActive: string;\n locked: boolean;\n sessionId: string;\n sessionIds: string[];\n startTime: number;\n state: string;\n type: string;\n endMeetingReason?: EndMeetingReason;\n};\n\nexport type Links = {\n services: Record<'breakout' | 'record', {url: string}>; // there exist also other services, but these are the ones we currently use\n resources: Record<'webcastInstance' | 'visibleDataSets', {url: string}>; // there exist also other resources, but these are the ones we currently use\n};\n\nexport type LocusDTO = {\n controls?: any;\n embeddedApps?: any[];\n fullState?: LocusFullState;\n host?: {\n id: string;\n incomingCallProtocols: any[];\n isExternal: boolean;\n name: string;\n orgId: string;\n };\n htMeta?: HtMeta;\n info?: any;\n jsSdkMeta?: {\n removedParticipantIds: string[]; // list of ids of participants that are removed in the last update\n forceReplaceMembers?: boolean; // when true, forces a full replacement of meeting members (e.g. when switching to a new hash tree parser - when moving between breakouts)\n };\n links?: Links;\n mediaShares?: any[];\n meetings?: any[];\n participants: any[];\n replaces?: any[];\n self?: any;\n sequence?: {\n dirtyParticipants: number;\n entries: number[];\n rangeEnd: number;\n rangeStart: number;\n sequenceHash: number;\n sessionToken: string;\n since: string;\n totalParticipants: number;\n };\n syncUrl?: string;\n url?: string;\n};\n\nexport type ReplacesInfo = {\n locusUrl: string;\n replacedAt: string;\n sessionId: string;\n};\n\nexport const LocusErrorCodes = {\n LOCUS_INACTIVE: 2403004,\n} as const;\n\nexport type LocusErrorCodes = Enum<typeof LocusErrorCodes>;\n"],"mappings":";;;;;;;AAGO,IAAMA,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG;EAC9BE,kBAAkB,EAAE,sBAAsB;EAC1CC,mBAAmB,EAAE,uBAAuB;EAC5CC,WAAW,EAAE,eAAe;EAC5BC,MAAM,EAAE,SAAS;EACjBC,8BAA8B,EAAE,qCAAqC;EACrEC,cAAc,EAAE,iBAAiB;EACjCC,kBAAkB,EAAE,uBAAuB;EAC3CC,cAAc,EAAE,iBAAiB;EAAE;EACnCC,gBAAgB,EAAE,mBAAmB;EAAE;EACvCC,4BAA4B,EAAE,kCAAkC;EAChEC,aAAa,EAAE,gBAAgB,CAAE;AACnC,CAAU;AAiEH,IAAMC,eAAe,GAAAZ,OAAA,CAAAY,eAAA,GAAG;EAC7BC,cAAc,EAAE;AAClB,CAAU","ignoreList":[]}
1
+ {"version":3,"names":["EndMeetingReason","exports","maxMeetingDuration","allParticipantsLeft","sipHostLeft","noHost","waitingForMpsEndMeetingTimeout","fraudDetection","meetingEndedByHost","meetingUpdated","meetingCancelled","autoEndWithSingleParticipant","breakoutEnded","LocusErrorCodes","LOCUS_INACTIVE","LOCUS_USER_FULL"],"sources":["types.ts"],"sourcesContent":["import {Enum} from '../constants';\nimport {HtMeta} from '../hashTree/types';\n\nexport const EndMeetingReason = {\n maxMeetingDuration: 'MAX_MEETING_DURATION',\n allParticipantsLeft: 'ALL_PARTICIPANTS_LEFT',\n sipHostLeft: 'SIP_HOST_LEFT',\n noHost: 'NO_HOST',\n waitingForMpsEndMeetingTimeout: 'WAITING_FOR_MPS_END_MEETING_TIMEOUT',\n fraudDetection: 'FRAUD_DETECTION',\n meetingEndedByHost: 'MEETING_ENDED_BY_HOST',\n meetingUpdated: 'MEETING_UPDATED', // Locus code has comment about EndMeetingIfPossible reason for this one\n meetingCancelled: 'MEETING_CANCELLED', // Locus code has comment about EndMeetingIfPossible reason for this one\n autoEndWithSingleParticipant: 'AUTO_END_WITH_SINGLE_PARTICIPANT',\n breakoutEnded: 'BREAKOUT_ENDED', // indicates that only a breakout session ended, not the whole meeting\n} as const;\n\nexport type EndMeetingReason = Enum<typeof EndMeetingReason>;\n\nexport type LocusFullState = {\n active: boolean;\n count: number;\n lastActive: string;\n locked: boolean;\n sessionId: string;\n sessionIds: string[];\n startTime: number;\n state: string;\n type: string;\n endMeetingReason?: EndMeetingReason;\n};\n\nexport type Links = {\n services: Record<'breakout' | 'record', {url: string}>; // there exist also other services, but these are the ones we currently use\n resources: Record<'webcastInstance' | 'visibleDataSets', {url: string}>; // there exist also other resources, but these are the ones we currently use\n};\n\nexport type LocusDTO = {\n controls?: any;\n embeddedApps?: any[];\n fullState?: LocusFullState;\n host?: {\n id: string;\n incomingCallProtocols: any[];\n isExternal: boolean;\n name: string;\n orgId: string;\n };\n htMeta?: HtMeta;\n info?: any;\n jsSdkMeta?: {\n removedParticipantIds: string[]; // list of ids of participants that are removed in the last update\n forceReplaceMembers?: boolean; // when true, forces a full replacement of meeting members (e.g. when switching to a new hash tree parser - when moving between breakouts)\n };\n links?: Links;\n mediaShares?: any[];\n meetings?: any[];\n participants: any[];\n replaces?: any[];\n self?: any;\n sequence?: {\n dirtyParticipants: number;\n entries: number[];\n rangeEnd: number;\n rangeStart: number;\n sequenceHash: number;\n sessionToken: string;\n since: string;\n totalParticipants: number;\n };\n syncUrl?: string;\n url?: string;\n};\n\nexport type ReplacesInfo = {\n locusUrl: string;\n replacedAt: string;\n sessionId: string;\n};\n\nexport const LocusErrorCodes = {\n LOCUS_INACTIVE: 2403004,\n LOCUS_USER_FULL: 2423001,\n} as const;\n\nexport type LocusErrorCodes = Enum<typeof LocusErrorCodes>;\n"],"mappings":";;;;;;;AAGO,IAAMA,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG;EAC9BE,kBAAkB,EAAE,sBAAsB;EAC1CC,mBAAmB,EAAE,uBAAuB;EAC5CC,WAAW,EAAE,eAAe;EAC5BC,MAAM,EAAE,SAAS;EACjBC,8BAA8B,EAAE,qCAAqC;EACrEC,cAAc,EAAE,iBAAiB;EACjCC,kBAAkB,EAAE,uBAAuB;EAC3CC,cAAc,EAAE,iBAAiB;EAAE;EACnCC,gBAAgB,EAAE,mBAAmB;EAAE;EACvCC,4BAA4B,EAAE,kCAAkC;EAChEC,aAAa,EAAE,gBAAgB,CAAE;AACnC,CAAU;AAiEH,IAAMC,eAAe,GAAAZ,OAAA,CAAAY,eAAA,GAAG;EAC7BC,cAAc,EAAE,OAAO;EACvBC,eAAe,EAAE;AACnB,CAAU","ignoreList":[]}