@vkontakte/calls-sdk 2.8.6-dev.c60ca25f.0 → 2.8.6-dev.d75ce56d.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
@@ -235,7 +235,7 @@ export declare function init(params: Partial<ParamsObject>): Promise<void>;
235
235
  * @param onlyAdminCanShareMovie Только администратор может включать совметсный просмотр
236
236
  */
237
237
  export declare function callTo(externalId?: ExternalId | ExternalId[], mediaOptions?: MediaOption[], payload?: string, joiningAllowed?: boolean, requireAuthToJoin?: boolean, onlyAdminCanShareMovie?: boolean): Promise<ConversationData>;
238
- export declare function callInternal(ids: OkUserId[], type: CallType | undefined, mediaOptions: MediaOption[], payload?: string, joiningAllowed?: boolean, requireAuthToJoin?: boolean, onlyAdminCanShareMovie?: boolean): Promise<ConversationData>;
238
+ export declare function callInternal(ids: OkUserId[], type: CallType | undefined, mediaOptions: MediaOption[], payload?: string, joiningAllowed?: boolean, requireAuthToJoin?: boolean, onlyAdminCanShareMovie?: boolean, externalIds?: ExternalId[]): Promise<ConversationData>;
239
239
  /**
240
240
  * Обработать пуш о входящем звонке
241
241
  *
@@ -245,9 +245,10 @@ export declare function callInternal(ids: OkUserId[], type: CallType | undefined
245
245
  * `acceptCall` и `declineCall` будут работать только после вызова `processPush`
246
246
  *
247
247
  * @param conversationId ID звонка
248
+ * @param conversationParams conversationParams в base64
248
249
  */
249
- export declare function processPush(conversationId: string): Promise<void>;
250
- export declare function processPushInternal(conversationId: string, type?: UserType, peerId?: number): Promise<void>;
250
+ export declare function processPush(conversationId: string, conversationParams?: string): Promise<void>;
251
+ export declare function processPushInternal(conversationId: string, type?: UserType, peerId?: number, conversationParams?: string): Promise<void>;
251
252
  /**
252
253
  * Авторизоваться для совершения звонков
253
254
  *
@@ -37,7 +37,7 @@ export default abstract class BaseApi {
37
37
  }, speakerIds?: OkUserId[]): Promise<ConversationResponse>;
38
38
  abstract startConversation(conversationId: string, ids?: OkUserId[], type?: CallType, isVideo?: boolean, payload?: string, joiningAllowed?: boolean, requireAuthToJoin?: boolean, createConversationParameters?: {
39
39
  onlyAdminCanShareMovie?: boolean;
40
- }): Promise<ConversationResponse>;
40
+ }, externalIds?: ExternalId[]): Promise<ConversationResponse>;
41
41
  abstract joinConversation(conversationId: string, isVideo?: boolean, chatId?: string): Promise<ConversationResponse>;
42
42
  createJoinLink(conversationId: string): Promise<{
43
43
  join_link: string;
@@ -124,7 +124,6 @@ export default abstract class BaseSignaling extends EventEmitter {
124
124
  setParticipantIdRegistry(participantIdRegistry: ParticipantIdRegistry): void;
125
125
  requestRealloc(): void;
126
126
  setEndpoint(endpoint: string): void;
127
- setWebTransportEndpoint(endpoint: string | null): void;
128
127
  setConversationId(conversationId: string): void;
129
128
  readyToSend(isReady?: boolean): void;
130
129
  cleanup(): void;