Update CallLogEvent to latest spec
This commit is contained in:
parent
815fd77849
commit
fc08e70c0f
12 changed files with 366 additions and 142 deletions
|
@ -28,6 +28,7 @@ import type {
|
|||
CallHistoryFilter,
|
||||
CallHistoryGroup,
|
||||
CallHistoryPagination,
|
||||
CallLogEventTarget,
|
||||
} from '../types/CallDisposition';
|
||||
import type { CallLinkStateType, CallLinkType } from '../types/CallLink';
|
||||
import type { AttachmentDownloadJobType } from '../types/AttachmentDownload';
|
||||
|
@ -666,14 +667,17 @@ export type DataInterface = {
|
|||
conversationId: string;
|
||||
}): Promise<MessageType | undefined>;
|
||||
getAllCallHistory: () => Promise<ReadonlyArray<CallHistoryDetails>>;
|
||||
clearCallHistory: (
|
||||
target: CallLogEventTarget
|
||||
) => Promise<ReadonlyArray<string>>;
|
||||
markCallHistoryDeleted: (callId: string) => Promise<void>;
|
||||
clearCallHistory: (beforeTimestamp: number) => Promise<Array<string>>;
|
||||
cleanupCallHistoryMessages: () => Promise<void>;
|
||||
getCallHistoryUnreadCount(): Promise<number>;
|
||||
markCallHistoryRead(callId: string): Promise<void>;
|
||||
markAllCallHistoryRead(
|
||||
beforeTimestamp: number
|
||||
): Promise<ReadonlyArray<string>>;
|
||||
markAllCallHistoryRead(target: CallLogEventTarget): Promise<void>;
|
||||
markAllCallHistoryReadInConversation(
|
||||
target: CallLogEventTarget
|
||||
): Promise<void>;
|
||||
getCallHistoryMessageByCallId(options: {
|
||||
conversationId: string;
|
||||
callId: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue