Fix type maps

This commit is contained in:
Alois 2026-07-26 03:37:12 +02:00
commit 6d97b5b993
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24

View file

@ -1,267 +1,231 @@
protocol_version: "1.0"
# Fixed CommunicationType markers are:
# Error: 0
# ErrorParsing: 1
# ErrorBadVersion: 2
# Disconnect: 3
# Redirect: 4
# Shutdown: 5
# BadRequest: 6
# Unauthorized: 7
# Forbidden: 8
# NotFound: 9
# TooManyRequests: 10
# InternalServerError: 11
# BadGateway: 12
# ServiceUnavailable: 13
# GatewayTimeout: 14
# Identification: 15
# IdentificationResponse: 16
# Register: 17
# RegisterResponse: 18
# Ping: 19
# Pong: 20
# Fixed DataType markers are:
# Error: 0
# ErrorParsing: 1
# ErrorMessage: 2
# Version: 3
# Description: 4
# Timestamp: 5
# Id: 6
# ClientNonce: 7
# ServerNonce: 8
# PublicKeys: 9
# Signature: 10
# Connected: 11
type_maps:
"1.0":
CommunicationTypes:
ErrorProtocol: 21
ErrorAnonymous: 22
ErrorInternal: 23
ErrorInvalidData: 24
ErrorInvalidUserId: 25
ErrorInvalidOmikronId: 26
ErrorNotFound: 27
ErrorNotAuthenticated: 28
ErrorNoIota: 29
ErrorInvalidChallenge: 30
ErrorInvalidSecret: 31
ErrorInvalidPrivateKey: 32
ErrorInvalidPublicKey: 33
ErrorNoUserId: 34
ErrorNoCallId: 35
ErrorInvalidCallId: 36
Success: 37
ShortenLink: 38
SettingsSave: 39
SettingsLoad: 40
SettingsList: 41
GlobalSettingsSave: 42
GlobalSettingsLoad: 43
Message: 44
MessageState: 45
MessageSend: 46
MessageLive: 47
MessageOtherIota: 48
MessageChunk: 49
MessageGet: 50
MessagesGet: 51
MessageDelete: 52
PushNotification: 53
ReadNotification: 54
GetNotifications: 55
TauriIdentification: 56
ChangeConfirm: 57
ConfirmReceive: 58
ConfirmRead: 59
GetChats: 60
GetStates: 61
AddCommunity: 62
RemoveCommunity: 63
GetCommunities: 64
RegisterIota: 65
RegisterIotaSuccess: 66
AddConversation: 67
SendChat: 68
ClientChanged: 69
ClientConnected: 70
ClientDisconnected: 71
ClientClosed: 72
PublicKey: 73
PrivateKey: 74
WebrtcSdp: 75
WebrtcIce: 76
StartStream: 77
EndStream: 78
WatchStream: 79
CallToken: 80
CallInvite: 81
CallDisconnectUser: 82
CallTimeoutUser: 83
CallSetAnonymousJoining: 84
CallData: 85
EndCall: 86
Function: 87
Update: 88
CreateUser: 89
RhoUpdate: 90
UserConnected: 91
UserDisconnected: 92
IotaConnected: 93
IotaDisconnected: 94
SyncClientIotaStatus: 95
GetUserData: 96
GetIotaData: 97
IotaUserData: 98
ChangeUserData: 99
ChangeIotaData: 100
GetRegister: 101
CompleteRegisterUser: 102
CompleteRegisterIota: 103
DeleteUser: 104
DeleteIota: 105
StartRegister: 106
CompleteRegister: 107
GetApp: 108
CreateApp: 109
DeleteApp: 110
SaveAppData: 111
LoadAppData: 112
AppIdentification: 113
AppChallenge: 114
AppChallengeResponse: 115
AppIdentificationResponse: 116
LoadTxtRecord: 117
ErrorNotSet: 118
SetChatSecret: 119
GetChatSecret: 120
ChatSecretResponse: 121
ChatSecretForward: 122
MessageEditLive: 123
MessageEdit: 124
MessageReactionAdd: 125
MessageReactionRemove: 126
MessageReactionLive: 127
MessageDeleteLive: 128
ErrorProtocol: 33
ErrorAnonymous: 34
ErrorInternal: 35
ErrorInvalidData: 36
ErrorInvalidUserId: 37
ErrorInvalidOmikronId: 38
ErrorNotFound: 39
ErrorNotAuthenticated: 40
ErrorNoIota: 41
ErrorInvalidChallenge: 42
ErrorInvalidSecret: 43
ErrorInvalidPrivateKey: 44
ErrorInvalidPublicKey: 45
ErrorNoUserId: 46
ErrorNoCallId: 47
ErrorInvalidCallId: 48
Success: 49
ShortenLink: 50
SettingsSave: 51
SettingsLoad: 52
SettingsList: 53
GlobalSettingsSave: 54
GlobalSettingsLoad: 55
Message: 56
MessageState: 57
MessageSend: 58
MessageLive: 59
MessageOtherIota: 60
MessageChunk: 61
MessageGet: 62
MessagesGet: 63
MessageDelete: 64
PushNotification: 65
ReadNotification: 66
GetNotifications: 67
TauriIdentification: 68
ChangeConfirm: 69
ConfirmReceive: 70
ConfirmRead: 71
GetChats: 72
GetStates: 73
AddCommunity: 74
RemoveCommunity: 75
GetCommunities: 76
RegisterIota: 77
RegisterIotaSuccess: 78
AddConversation: 79
SendChat: 80
ClientChanged: 81
ClientConnected: 82
ClientDisconnected: 83
ClientClosed: 84
PublicKey: 85
PrivateKey: 86
WebrtcSdp: 87
WebrtcIce: 88
StartStream: 89
EndStream: 90
WatchStream: 91
CallToken: 92
CallInvite: 93
CallDisconnectUser: 94
CallTimeoutUser: 95
CallSetAnonymousJoining: 96
CallData: 97
EndCall: 98
Function: 99
Update: 100
CreateUser: 101
RhoUpdate: 102
UserConnected: 103
UserDisconnected: 104
IotaConnected: 105
IotaDisconnected: 106
SyncClientIotaStatus: 107
GetUserData: 108
GetIotaData: 109
IotaUserData: 110
ChangeUserData: 111
ChangeIotaData: 112
GetRegister: 113
CompleteRegisterUser: 114
CompleteRegisterIota: 115
DeleteUser: 116
DeleteIota: 117
StartRegister: 118
CompleteRegister: 119
GetApp: 120
CreateApp: 121
DeleteApp: 122
SaveAppData: 123
LoadAppData: 124
AppIdentification: 125
AppChallenge: 126
AppChallengeResponse: 127
AppIdentificationResponse: 128
LoadTxtRecord: 129
ErrorNotSet: 130
SetChatSecret: 131
GetChatSecret: 132
ChatSecretResponse: 133
ChatSecretForward: 134
MessageEditLive: 135
MessageEdit: 136
MessageReactionAdd: 137
MessageReactionRemove: 138
MessageReactionLive: 139
MessageDeleteLive: 140
DataTypes:
ErrorType: 12
ErrorProtocol: 13
AcceptedIds: 14
Uuid: 15
RegisterId: 16
Link: 17
Settings: 18
SettingsName: 19
ChatPartnerId: 20
ChatPartnerName: 21
IotaId: 22
UserId: 23
UserIds: 24
IotaIds: 25
UserState: 26
UserStates: 27
UserPings: 28
CallState: 29
ScreenShare: 30
PrivateKeyHash: 31
AcceptedProfiles: 32
DeniedProfiles: 33
Content: 34
Messages: 35
Notifications: 36
SendTime: 37
GetTime: 38
GetVariant: 39
SharedSecretOwn: 40
SharedSecretOther: 41
SharedSecretSign: 42
SharedSecret: 43
CallId: 44
CallToken: 45
CallSecret: 46
Untill: 47
Enabled: 48
StartDate: 49
EndDate: 50
ReceiverId: 51
SenderId: 52
Signed: 53
Message: 54
MessageState: 55
LastPing: 56
PingIota: 57
PingClients: 58
Matches: 59
Omikron: 60
Offset: 61
Amount: 62
Position: 63
Name: 64
Path: 65
Codec: 66
Function: 67
Payload: 68
Result: 69
Interactables: 70
WantToWatch: 71
Watcher: 72
CreatedAt: 73
Username: 74
Display: 75
Avatar: 76
About: 77
Status: 78
PublicKey: 79
SubLevel: 80
SubEnd: 81
CommunityAddress: 82
CommunityTitle: 83
Communities: 84
RhoConnections: 85
User: 86
OnlineStatus: 87
OmikronId: 88
OmikronConnections: 89
ResetToken: 90
NewToken: 91
CallInvited: 92
CallMembers: 93
Calls: 94
Timeout: 95
HasAdmin: 96
LastMessageAt: 97
Height: 98
SentBySelf: 99
SessionId: 100
Contacts: 101
LastMessage: 102
AppIdentifier: 103
AppPrivateKey: 104
AppPublicKey: 105
AppSession: 106
AppData: 107
TauriToken: 108
Challenge: 109
EncryptedPayload: 110
SecurePayload: 111
DeviceId: 112
ClientId: 113
SecretId: 114
VersionNumber: 115
EncryptedSecret: 116
WrappingScheme: 117
UpdatedAt: 118
ChatId: 119
KemCiphertext: 120
SenderUserId: 121
RecipientUserId: 122
Recipients: 123
Edited: 124
Reactions: 125
Reaction: 126
ReplyId: 127
ErrorType: 32
ErrorProtocol: 33
AcceptedIds: 34
Uuid: 35
RegisterId: 36
Link: 37
Settings: 38
SettingsName: 39
ChatPartnerId: 40
ChatPartnerName: 41
IotaId: 42
UserId: 43
UserIds: 44
IotaIds: 45
UserState: 46
UserStates: 47
UserPings: 48
CallState: 49
ScreenShare: 50
PrivateKeyHash: 51
AcceptedProfiles: 52
DeniedProfiles: 53
Content: 54
Messages: 55
Notifications: 56
SendTime: 57
GetTime: 58
GetVariant: 59
SharedSecretOwn: 60
SharedSecretOther: 61
SharedSecretSign: 62
SharedSecret: 63
CallId: 64
CallToken: 65
CallSecret: 66
Untill: 67
Enabled: 68
StartDate: 69
EndDate: 70
ReceiverId: 71
SenderId: 72
Signed: 73
Message: 74
MessageState: 75
LastPing: 76
PingIota: 77
PingClients: 78
Matches: 79
Omikron: 80
Offset: 81
Amount: 82
Position: 83
Name: 84
Path: 85
Codec: 86
Function: 87
Payload: 88
Result: 89
Interactables: 90
WantToWatch: 91
Watcher: 92
CreatedAt: 93
Username: 94
Display: 95
Avatar: 96
About: 97
Status: 98
PublicKey: 99
SubLevel: 100
SubEnd: 101
CommunityAddress: 102
CommunityTitle: 103
Communities: 104
RhoConnections: 105
User: 106
OnlineStatus: 107
OmikronId: 108
OmikronConnections: 109
ResetToken: 110
NewToken: 111
CallInvited: 112
CallMembers: 113
Calls: 114
Timeout: 115
HasAdmin: 116
LastMessageAt: 117
Height: 118
SentBySelf: 119
SessionId: 120
Contacts: 121
LastMessage: 122
AppIdentifier: 123
AppPrivateKey: 124
AppPublicKey: 125
AppSession: 126
AppData: 127
TauriToken: 128
Challenge: 129
EncryptedPayload: 130
SecurePayload: 131
DeviceId: 132
ClientId: 133
SecretId: 134
VersionNumber: 135
EncryptedSecret: 136
WrappingScheme: 137
UpdatedAt: 138
ChatId: 139
KemCiphertext: 140
SenderUserId: 141
RecipientUserId: 142
Recipients: 143
Edited: 144
Reactions: 145
Reaction: 146
ReplyId: 147