api types, schema

This commit is contained in:
Evgeny Poberezkin
2026-06-28 17:19:00 +01:00
parent 8c1162ee59
commit b0387898cb
7 changed files with 33 additions and 15 deletions
@@ -2119,9 +2119,8 @@ class LocalProfile(TypedDict):
peerType: NotRequired["ChatPeerType"]
localBadge: NotRequired["LocalBadge"]
localAlias: str
contactDomain: NotRequired["SimplexNameInfo"]
simplexName: NotRequired["SimplexNameClaim"]
contactDomainVerification: NotRequired[bool]
contactDomainProof: NotRequired["NameClaimProof"]
MemberCriteria = Literal["all"]
@@ -2392,8 +2391,7 @@ class Profile(TypedDict):
preferences: NotRequired["Preferences"]
peerType: NotRequired["ChatPeerType"]
badge: NotRequired["BadgeProof"]
contactDomain: NotRequired[str]
contactDomainProof: NotRequired["NameClaimProof"]
simplexName: NotRequired["SimplexNameClaim"]
class ProxyClientError_protocolError(TypedDict):
type: Literal["protocolError"]
@@ -2781,6 +2779,10 @@ class SimplePreference(TypedDict):
SimplexLinkType = Literal["contact", "invitation", "group", "channel", "relay"]
class SimplexNameClaim(TypedDict):
name: "SimplexNameInfo"
proof: NotRequired["NameClaimProof"]
class SimplexNameDomain(TypedDict):
nameTLD: "SimplexTLD"
domain: str