@vkontakte/calls-sdk 2.8.2 → 2.8.3-dev.01ddc0f.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 +1 -0
- package/abstract/BaseApi.d.ts +1 -0
- package/calls-sdk.cjs.js +9 -9
- package/calls-sdk.esm.js +8 -8
- package/classes/Conversation.d.ts +1 -0
- package/default/Api.d.ts +1 -0
- package/package.json +1 -1
package/CallsSDK.d.ts
CHANGED
|
@@ -651,6 +651,7 @@ export declare function acceptPromotion(reject?: boolean): Promise<void>;
|
|
|
651
651
|
export declare function getParticipantListChunk(participantListChunkParameters: ParticipantListChunkParameters): Promise<ExternalParticipantListChunk>;
|
|
652
652
|
export declare function getParticipants(parameters: IGetParticipantsParameters): Promise<ExternalParticipant[]>;
|
|
653
653
|
export declare function feedback(key: string): Promise<SignalingMessage>;
|
|
654
|
+
export declare function userFeedbackStats(userResponse: number, reason?: string, groupCallUsersCount?: number): void;
|
|
654
655
|
export declare function enableFeatureForRoles(feature: ConversationFeature, roles: UserRole[]): Promise<void>;
|
|
655
656
|
/**
|
|
656
657
|
* Удаляет записи истории звонков
|
package/abstract/BaseApi.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export default abstract class BaseApi {
|
|
|
50
50
|
getCachedOkIdByExternalId(externalId: ExternalId): ParticipantId | null;
|
|
51
51
|
cacheExternalId(participantId: CompositeUserId, externalId: ExternalParticipantId): void;
|
|
52
52
|
hangupConversation(conversationId: string): void;
|
|
53
|
+
sendUserFeedbackStats(conversationId: string, userResponse: number, reason?: string, groupCallUsersCount?: number): void;
|
|
53
54
|
removeHistoryRecords(recordIds: number[]): Promise<void>;
|
|
54
55
|
cleanup(): void;
|
|
55
56
|
}
|