mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 17:31:55 +00:00
/goal iteration 4 - unconfirmed
This commit is contained in:
1 parent
4f21e68972
commit
bfc4e1fbaa
17 files changed
+798
-280
No files matched your search
@@ -212,6 +212,7 @@ This file is generated automatically.
|
||||
- [UserProfileUpdateSummary](#userprofileupdatesummary)
|
||||
- [UserPwdHash](#userpwdhash)
|
||||
- [VersionRange](#versionrange)
|
||||
- [WalletError](#walleterror)
|
||||
- [XFTPErrorType](#xftperrortype)
|
||||
- [XFTPRcvFile](#xftprcvfile)
|
||||
- [XFTPSndFile](#xftpsndfile)
|
||||
@@ -1158,6 +1159,10 @@ SimplexDomainNotReady:
|
||||
- simplexDomain: [SimplexDomain](#simplexdomain)
|
||||
- simplexDomainError: [SimplexDomainError](#simplexdomainerror)
|
||||
|
||||
Wallet:
|
||||
- type: "wallet"
|
||||
- walletError: [WalletError](#walleterror)
|
||||
|
||||
NotResolvedLocally:
|
||||
- type: "notResolvedLocally"
|
||||
|
||||
@@ -4494,6 +4499,38 @@ Handshake:
|
||||
- maxVersion: int
|
||||
|
||||
|
||||
---
|
||||
|
||||
## WalletError
|
||||
|
||||
**Discriminated union type**:
|
||||
|
||||
NoMaster:
|
||||
- type: "noMaster"
|
||||
|
||||
MasterExists:
|
||||
- type: "masterExists"
|
||||
|
||||
BadMnemonic:
|
||||
- type: "badMnemonic"
|
||||
|
||||
HiddenProfile:
|
||||
- type: "hiddenProfile"
|
||||
|
||||
AccountBound:
|
||||
- type: "accountBound"
|
||||
|
||||
CounterUnknown:
|
||||
- type: "counterUnknown"
|
||||
|
||||
IndexTooLarge:
|
||||
- type: "indexTooLarge"
|
||||
|
||||
Derivation:
|
||||
- type: "derivation"
|
||||
- derivationError: string
|
||||
|
||||
|
||||
---
|
||||
|
||||
## XFTPErrorType
|
||||
|
||||
@@ -340,6 +340,7 @@ undocumentedCommands =
|
||||
"APIAddGroupShortLink",
|
||||
"APIAddMyAddressShortLink",
|
||||
"APIArchiveReceivedReports",
|
||||
"APIBindWalletAccount",
|
||||
"APICallStatus",
|
||||
"APIChangeConnectionUser",
|
||||
"APIChangePreparedContactUser",
|
||||
@@ -359,7 +360,9 @@ undocumentedCommands =
|
||||
"APICreateMemberContact",
|
||||
"APISendMemberContactInvitation",
|
||||
"APIAcceptMemberContact",
|
||||
"APICreateWallet",
|
||||
"APIDeleteChatTag",
|
||||
"APIDeleteWallet",
|
||||
"APIDeleteMemberSupportChat",
|
||||
"APIDeleteReceivedReports",
|
||||
"APIDeleteStorage",
|
||||
@@ -370,6 +373,8 @@ undocumentedCommands =
|
||||
"APIEndCall",
|
||||
"APIExportArchive",
|
||||
"APIForwardChatItems",
|
||||
"APIExportWalletAccount",
|
||||
"APIExportWalletMnemonic",
|
||||
"APIGetAppSettings",
|
||||
"APIGetCallInvitations",
|
||||
"APIGetChat",
|
||||
@@ -388,6 +393,8 @@ undocumentedCommands =
|
||||
"APIGetServerOperators",
|
||||
"APIGetUsageConditions",
|
||||
"APIGetUserServers",
|
||||
"APIGetWallet",
|
||||
"APIGetWalletAddress",
|
||||
"APIGroupInfo",
|
||||
"APIGetUpdatedGroupLinkData",
|
||||
"APIGroupMemberInfo",
|
||||
@@ -450,11 +457,6 @@ undocumentedCommands =
|
||||
"APIVerifyContactDomain",
|
||||
"APIVerifyGroupMember",
|
||||
"APIVerifyToken",
|
||||
"APIWallet",
|
||||
"APIWalletCreate",
|
||||
"APIWalletDelete",
|
||||
"APIWalletExportNameSecret",
|
||||
"APIWalletExportSeedMnemonic",
|
||||
"CheckChatRunning",
|
||||
"ConfirmRemoteCtrl",
|
||||
"ConnectRemoteCtrl",
|
||||
|
||||
@@ -213,7 +213,8 @@ undocumentedResponses =
|
||||
"CRUserServersValidation",
|
||||
"CRVersionInfo",
|
||||
"CRWallet",
|
||||
"CRWalletDerivedSecret",
|
||||
"CRWalletSeedMnemonic",
|
||||
"CRWalletAccountSecret",
|
||||
"CRWalletAddress",
|
||||
"CRWalletMnemonic",
|
||||
"CRWelcome"
|
||||
]
|
||||
@@ -36,6 +36,7 @@ import Simplex.Chat.Operators
|
||||
import Simplex.Messaging.Agent.Store.Entity (DBStored (..))
|
||||
import Simplex.Chat.Badges
|
||||
import Simplex.Chat.Names
|
||||
import Simplex.Chat.Wallet (WalletError (..))
|
||||
import Simplex.Chat.Types
|
||||
import Simplex.Chat.Types.Preferences
|
||||
import Simplex.Chat.Types.Shared
|
||||
@@ -394,6 +395,7 @@ chatTypesDocsData =
|
||||
(sti @UserInfo, STRecord, "", [], "", ""),
|
||||
(sti @UserProfileUpdateSummary, STRecord, "", [], "", ""),
|
||||
(sti @UserPwdHash, STRecord, "", [], "", ""),
|
||||
(sti @WalletError, STUnion, "WE", [], "", ""),
|
||||
(sti @XFTPErrorType, STUnion, "", [], "", ""),
|
||||
(sti @XFTPRcvFile, STRecord, "", [], "", ""),
|
||||
(sti @XFTPSndFile, STRecord, "", [], "", ""),
|
||||
@@ -626,6 +628,9 @@ deriving instance Generic UserContactRequest
|
||||
deriving instance Generic UserInfo
|
||||
deriving instance Generic UserProfileUpdateSummary
|
||||
deriving instance Generic UserPwdHash
|
||||
|
||||
deriving instance Generic WalletError
|
||||
|
||||
deriving instance Generic XFTPErrorType
|
||||
deriving instance Generic XFTPRcvFile
|
||||
deriving instance Generic XFTPSndFile
|
||||
|
||||
Reference in new issue
Block a user