diff --git a/packages/simplex-chat-client/types/typescript/src/types.ts b/packages/simplex-chat-client/types/typescript/src/types.ts index 92a89514c2..6de93ed130 100644 --- a/packages/simplex-chat-client/types/typescript/src/types.ts +++ b/packages/simplex-chat-client/types/typescript/src/types.ts @@ -2784,7 +2784,6 @@ export interface GroupMember { updatedAt: string // ISO-8601 timestamp supportChat?: GroupSupportChat memberPubKey?: string - userMemberKeyStatus: KeySendStatus relayLink?: string memberVerifiedCode?: SecurityCode } @@ -2997,38 +2996,6 @@ export namespace InvitedBy { } } -export type KeySendStatus = - | KeySendStatus.Sent - | KeySendStatus.Failed - | KeySendStatus.Error - | KeySendStatus.Attempts - -export namespace KeySendStatus { - export type Tag = "sent" | "failed" | "error" | "attempts" - - interface Interface { - type: Tag - } - - export interface Sent extends Interface { - type: "sent" - } - - export interface Failed extends Interface { - type: "failed" - } - - export interface Error extends Interface { - type: "error" - sendError: string - } - - export interface Attempts extends Interface { - type: "attempts" - sendAttempts: number // int - } -} - export type LinkContent = LinkContent.Page | LinkContent.Image | LinkContent.Video | LinkContent.Unknown export namespace LinkContent { diff --git a/packages/simplex-chat-python/src/simplex_chat/types/_types.py b/packages/simplex-chat-python/src/simplex_chat/types/_types.py index 445cde5a4c..325f5b14a6 100644 --- a/packages/simplex-chat-python/src/simplex_chat/types/_types.py +++ b/packages/simplex-chat-python/src/simplex_chat/types/_types.py @@ -1960,7 +1960,6 @@ class GroupMember(TypedDict): updatedAt: str # ISO-8601 timestamp supportChat: NotRequired["GroupSupportChat"] memberPubKey: NotRequired[str] - userMemberKeyStatus: "KeySendStatus" relayLink: NotRequired[str] memberVerifiedCode: NotRequired["SecurityCode"] @@ -2094,29 +2093,6 @@ InvitedBy = InvitedBy_contact | InvitedBy_user | InvitedBy_unknown InvitedBy_Tag = Literal["contact", "user", "unknown"] -class KeySendStatus_sent(TypedDict): - type: Literal["sent"] - -class KeySendStatus_failed(TypedDict): - type: Literal["failed"] - -class KeySendStatus_error(TypedDict): - type: Literal["error"] - sendError: str - -class KeySendStatus_attempts(TypedDict): - type: Literal["attempts"] - sendAttempts: int # int - -KeySendStatus = ( - KeySendStatus_sent - | KeySendStatus_failed - | KeySendStatus_error - | KeySendStatus_attempts -) - -KeySendStatus_Tag = Literal["sent", "failed", "error", "attempts"] - class LinkContent_page(TypedDict): type: Literal["page"]