From c5d443a20a9d58245e21d13a9db584b47a93e62f Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 15 May 2026 17:34:25 +0400 Subject: [PATCH] api --- bots/api/TYPES.md | 1 + packages/simplex-chat-client/types/typescript/src/types.ts | 1 + packages/simplex-chat-python/src/simplex_chat/types/_types.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bots/api/TYPES.md b/bots/api/TYPES.md index 2cd61778d5..cd530ef088 100644 --- a/bots/api/TYPES.md +++ b/bots/api/TYPES.md @@ -3349,6 +3349,7 @@ ParseError: - "accepted" - "active" - "inactive" +- "rejected" --- diff --git a/packages/simplex-chat-client/types/typescript/src/types.ts b/packages/simplex-chat-client/types/typescript/src/types.ts index 3c391766a7..ce3da6f308 100644 --- a/packages/simplex-chat-client/types/typescript/src/types.ts +++ b/packages/simplex-chat-client/types/typescript/src/types.ts @@ -3750,6 +3750,7 @@ export enum RelayStatus { Accepted = "accepted", Active = "active", Inactive = "inactive", + Rejected = "rejected", } export enum ReportReason { 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 b5c448948a..0ed97e6ea1 100644 --- a/packages/simplex-chat-python/src/simplex_chat/types/_types.py +++ b/packages/simplex-chat-python/src/simplex_chat/types/_types.py @@ -2627,7 +2627,7 @@ class RelayProfile(TypedDict): shortDescr: NotRequired[str] image: NotRequired[str] -RelayStatus = Literal["new", "invited", "accepted", "active", "inactive"] +RelayStatus = Literal["new", "invited", "accepted", "active", "inactive", "rejected"] ReportReason = Literal["spam", "content", "community", "profile", "other"]