@ylink-sdk/meeting 1.0.5-beta.5 → 1.0.5-beta.7

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/meeting.d.ts CHANGED
@@ -1071,6 +1071,7 @@ declare type Events = {
1071
1071
  regionChange: string;
1072
1072
  checkIn: any;
1073
1073
  exclusiveLayout: any;
1074
+ leaveUsers: any;
1074
1075
  };
1075
1076
 
1076
1077
  declare type Events_10 = {
@@ -1170,6 +1171,7 @@ declare type Events_2 = {
1170
1171
  [MeEvent.BORETURNMEETINGNOTIFY]: {
1171
1172
  operatorUserID: number;
1172
1173
  };
1174
+ [MeEvent.MAINVENUE]: boolean;
1173
1175
  [MeEvent.LEAVE]: any;
1174
1176
  };
1175
1177
 
@@ -1234,7 +1236,11 @@ declare type Events_26 = {
1234
1236
  declare type Events_27 = {
1235
1237
  enabledChange: boolean;
1236
1238
  exclusiveLayoutsChange: ExclusiveLayoutItem[];
1237
- exclusiveLayoutChanges: ExclusiveLayoutData;
1239
+ exclusiveLayoutChange: ExclusiveLayoutData;
1240
+ };
1241
+
1242
+ declare type Events_28 = {
1243
+ leaveUsersChange: LeaveUser[];
1238
1244
  };
1239
1245
 
1240
1246
  declare type Events_3 = Record<EventType, any>;
@@ -1370,8 +1376,8 @@ export declare class ExclusiveLayout extends Module<ExclusiveLayoutData, Events_
1370
1376
  * @returns
1371
1377
  */
1372
1378
  applyExclusiveLayout(params: {
1373
- enabled: boolean;
1374
- exclusiveLayouts: ExclusiveLayoutItem[];
1379
+ enabled?: boolean;
1380
+ exclusiveLayouts?: ExclusiveLayoutItem[];
1375
1381
  }): Promise<any>;
1376
1382
  }
1377
1383
 
@@ -1386,6 +1392,7 @@ export declare interface ExclusiveLayoutItem {
1386
1392
  exclusiveLayoutType: number;
1387
1393
  enabled: boolean;
1388
1394
  layoutID: number;
1395
+ layout: LayoutContent;
1389
1396
  }
1390
1397
 
1391
1398
  export declare interface ExclusiveLayoutPayload {
@@ -1926,6 +1933,32 @@ export declare interface LayoutContent {
1926
1933
 
1927
1934
  export declare type LayoutMode = 'custom' | 'basic';
1928
1935
 
1936
+ declare interface LeaveUser {
1937
+ userID: number;
1938
+ displayName: string;
1939
+ subjectID: string;
1940
+ account: string;
1941
+ groupIDs: string[];
1942
+ resultInfo: ResultInfo;
1943
+ leaveTime: number;
1944
+ displayNamePinyin?: string;
1945
+ }
1946
+
1947
+ declare class LeaveUsers extends Module<LeaveUsersData, Events_28> {
1948
+ static setDisplayNamePinyinProp: (name: string) => string;
1949
+ static setUserGroupIDs: (groupIDs: string[], endpointType: string) => string[];
1950
+ constructor(ctx: Context);
1951
+ _topic(): string[];
1952
+ _bindOn(): void;
1953
+ cleanup(): void;
1954
+ }
1955
+
1956
+ declare interface LeaveUsersBody {
1957
+ users: LeaveUser[];
1958
+ }
1959
+
1960
+ declare type LeaveUsersData = LeaveUsersBody;
1961
+
1929
1962
  export declare interface Live {
1930
1963
  duration?: number;
1931
1964
  lastStartTime?: number;
@@ -2237,6 +2270,7 @@ export declare interface MeData {
2237
2270
  };
2238
2271
  avatarURL?: string;
2239
2272
  translationChannel?: string;
2273
+ mainVenue?: boolean;
2240
2274
  }
2241
2275
 
2242
2276
  declare interface MediaContent {
@@ -2367,6 +2401,10 @@ export declare enum MeEvent {
2367
2401
  * 翻译语种变更
2368
2402
  */
2369
2403
  TRANSLATIONCHANNELCHANGE = "translationChannelChange",
2404
+ /**
2405
+ * 是否主席会场
2406
+ */
2407
+ MAINVENUE = "mainVenue",
2370
2408
  /**
2371
2409
  * 离开会议
2372
2410
  */
@@ -3319,6 +3357,7 @@ declare interface Status_2 {
3319
3357
 
3320
3358
  export declare interface SubscribeToUser {
3321
3359
  userID?: number;
3360
+ subjectID?: string;
3322
3361
  }
3323
3362
 
3324
3363
  export declare interface ThirdPartyLiveData {
@@ -4796,7 +4835,6 @@ export declare interface YlinkSDKMeeting {
4796
4835
  * RTSP 接入
4797
4836
  */
4798
4837
  rtsp?: RTSP;
4799
- [props: string]: any;
4800
4838
  /**
4801
4839
  * 会议签到
4802
4840
  */
@@ -4805,6 +4843,11 @@ export declare interface YlinkSDKMeeting {
4805
4843
  * 专属布局
4806
4844
  */
4807
4845
  exclusiveLayout?: ExclusiveLayout;
4846
+ /**
4847
+ * 退会成员列表
4848
+ */
4849
+ leaveUsers?: LeaveUsers;
4850
+ [props: string]: any;
4808
4851
  }
4809
4852
 
4810
4853
  export { }