@vkontakte/calls-sdk 2.5.3-dev.6fa8b9b.0 → 2.5.3-dev.80ed530.0

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/CallsSDK.d.ts CHANGED
@@ -34,13 +34,14 @@ import Utils from './static/Utils';
34
34
  import WebRTCUtils, { FacingMode } from './static/WebRTCUtils';
35
35
  import ConversationParams from './types/ConversationParams';
36
36
  import ConversationResponse from './types/ConversationResponse';
37
- import { ExternalId, ExternalIdType, ExternalParticipant, ExternalParticipantId, ExternalUserId } from './types/ExternalId';
37
+ import { ExternalId, ExternalIdType, ExternalParticipant, ExternalParticipantId, ExternalParticipantListMarkers, ExternalUserId } from './types/ExternalId';
38
38
  import IceServer from './types/IceServer';
39
39
  import MediaModifiers from './types/MediaModifiers';
40
40
  import { IVideoDimentions, MediaSettings } from './types/MediaSettings';
41
41
  import MuteStates from './types/MuteStates';
42
42
  import { OkUserId, ParticipantStateMapped } from './types/Participant';
43
43
  import ParticipantLayout, { Layout, StopStream } from './types/ParticipantLayout';
44
+ import { ParticipantListChunkParameters } from './types/ParticipantListChunk';
44
45
  import ParticipantPriority from './types/ParticipantPriority';
45
46
  import { MediaType, ParticipantStreamDescription } from './types/ParticipantStreamDescription';
46
47
  import SignalingMessage from './types/SignalingMessage';
@@ -502,11 +503,12 @@ export declare function getWaitingHall(pageMarker?: string | null, count?: numbe
502
503
  * @param demote Запретить вход
503
504
  */
504
505
  export declare function promoteParticipant(externalId: ExternalId, demote?: boolean): Promise<void>;
506
+ export declare function getParticipantListChunk(participantListChunkParameters: ParticipantListChunkParameters): Promise<import("./types/ExternalId").ExternalParticipantListChunk>;
505
507
  /**
506
508
  * Удаляет записи истории звонков
507
509
  *
508
510
  * @param recordIds Идентификаторы записей истории
509
511
  */
510
512
  export declare function removeHistoryRecords(recordIds: number[]): Promise<void>;
511
- export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantId, HangupReasonData, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, SignalingMessage, StatResult, StopStream, WaitingHallResponse, IVideoDimentions, };
513
+ export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantListMarkers as ExternalParticipantMarkers, ExternalParticipantId, HangupReasonData, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, ParticipantListChunkParameters, SignalingMessage, StatResult, StopStream, WaitingHallResponse, IVideoDimentions, };
512
514
  export { Api, BaseApi, BaseLogger, BaseSignaling, CallDirection, CallType, ChatRoomEventType, ConversationOption, DebugMessageType, ExternalIdType, FacingMode, FatalError, HangupReason, HangupType, MediaOption, MediaTrackKind, MediaType, MuteState, ParticipantState, ParticipantStatus, RecordRole, Signaling, SignalingCommandType, SignalingConnectionType, SignalingNotification, UserRole, UserType, Utils, };
@@ -13,6 +13,7 @@ import MediaModifiers from '../types/MediaModifiers';
13
13
  import MediaSettings from '../types/MediaSettings';
14
14
  import MuteStates from '../types/MuteStates';
15
15
  import { CompositeUserId, ParticipantId } from '../types/Participant';
16
+ import { ParticipantListChunkParameters } from '../types/ParticipantListChunk';
16
17
  import SignalingMessage from '../types/SignalingMessage';
17
18
  import { WaitingParticipantId } from '../types/WaitingHall';
18
19
  /**
@@ -77,6 +78,7 @@ export default abstract class BaseSignaling extends EventEmitter {
77
78
  abstract promoteParticipant(participantId: CompositeUserId, demote?: boolean): Promise<SignalingMessage>;
78
79
  abstract setProducerNotificationDataChannel(dataChannel: RTCDataChannel): void;
79
80
  abstract setProducerCommandDataChannel(dataChannel: RTCDataChannel): void;
81
+ abstract getParticipantListChunk(participantListChunkParameters: ParticipantListChunkParameters): Promise<SignalingMessage>;
80
82
  get ready(): boolean;
81
83
  setParticipantIdRegistry(participantIdRegistry: ParticipantIdRegistry): void;
82
84
  requestRealloc(): void;