@simplex-chat/types 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -177,6 +177,23 @@ export declare namespace APINewGroup {
177
177
  type Response = CR.GroupCreated | CR.ChatCmdError;
178
178
  function cmdString(self: APINewGroup): string;
179
179
  }
180
+ export interface APINewPublicGroup {
181
+ userId: number;
182
+ incognito: boolean;
183
+ relayIds: number[];
184
+ groupProfile: T.GroupProfile;
185
+ }
186
+ export declare namespace APINewPublicGroup {
187
+ type Response = CR.PublicGroupCreated | CR.PublicGroupCreationFailed | CR.ChatCmdError;
188
+ function cmdString(self: APINewPublicGroup): string;
189
+ }
190
+ export interface APIGetGroupRelays {
191
+ groupId: number;
192
+ }
193
+ export declare namespace APIGetGroupRelays {
194
+ type Response = CR.GroupRelays | CR.ChatCmdError;
195
+ function cmdString(self: APIGetGroupRelays): string;
196
+ }
180
197
  export interface APIUpdateGroupProfile {
181
198
  groupId: number;
182
199
  groupProfile: T.GroupProfile;
@@ -226,6 +243,8 @@ export declare namespace APIAddContact {
226
243
  export interface APIConnectPlan {
227
244
  userId: number;
228
245
  connectionLink?: string;
246
+ resolveKnown: boolean;
247
+ linkOwnerSig?: T.LinkOwnerSig;
229
248
  }
230
249
  export declare namespace APIConnectPlan {
231
250
  type Response = CR.ConnectionPlan | CR.ChatCmdError;
@@ -286,6 +305,30 @@ export declare namespace APIDeleteChat {
286
305
  type Response = CR.ContactDeleted | CR.ContactConnectionDeleted | CR.GroupDeletedUser | CR.ChatCmdError;
287
306
  function cmdString(self: APIDeleteChat): string;
288
307
  }
308
+ export interface APISetGroupCustomData {
309
+ groupId: number;
310
+ customData?: object;
311
+ }
312
+ export declare namespace APISetGroupCustomData {
313
+ type Response = CR.CmdOk | CR.ChatCmdError;
314
+ function cmdString(self: APISetGroupCustomData): string;
315
+ }
316
+ export interface APISetContactCustomData {
317
+ contactId: number;
318
+ customData?: object;
319
+ }
320
+ export declare namespace APISetContactCustomData {
321
+ type Response = CR.CmdOk | CR.ChatCmdError;
322
+ function cmdString(self: APISetContactCustomData): string;
323
+ }
324
+ export interface APISetUserAutoAcceptMemberContacts {
325
+ userId: number;
326
+ onOff: boolean;
327
+ }
328
+ export declare namespace APISetUserAutoAcceptMemberContacts {
329
+ type Response = CR.CmdOk | CR.ChatCmdError;
330
+ function cmdString(self: APISetUserAutoAcceptMemberContacts): string;
331
+ }
289
332
  export interface ShowActiveUser {
290
333
  }
291
334
  export declare namespace ShowActiveUser {
package/dist/commands.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // API Commands
3
3
  // This file is generated automatically.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.APIStopChat = exports.StartChat = exports.APISetContactPrefs = exports.APIUpdateProfile = exports.APIDeleteUser = exports.APISetActiveUser = exports.ListUsers = exports.CreateActiveUser = exports.ShowActiveUser = exports.APIDeleteChat = exports.APIListGroups = exports.APIListContacts = exports.APIRejectContact = exports.APIAcceptContact = exports.Connect = exports.APIConnect = exports.APIConnectPlan = exports.APIAddContact = exports.APIGetGroupLink = exports.APIDeleteGroupLink = exports.APIGroupLinkMemberRole = exports.APICreateGroupLink = exports.APIUpdateGroupProfile = exports.APINewGroup = exports.APIListMembers = exports.APILeaveGroup = exports.APIRemoveMembers = exports.APIBlockMembersForAll = exports.APIMembersRole = exports.APIAcceptMember = exports.APIJoinGroup = exports.APIAddMember = exports.CancelFile = exports.ReceiveFile = exports.APIChatItemReaction = exports.APIDeleteMemberChatItem = exports.APIDeleteChatItem = exports.APIUpdateChatItem = exports.APISendMessages = exports.APISetAddressSettings = exports.APISetProfileAddress = exports.APIShowMyAddress = exports.APIDeleteMyAddress = exports.APICreateMyAddress = void 0;
5
+ exports.APIStopChat = exports.StartChat = exports.APISetContactPrefs = exports.APIUpdateProfile = exports.APIDeleteUser = exports.APISetActiveUser = exports.ListUsers = exports.CreateActiveUser = exports.ShowActiveUser = exports.APISetUserAutoAcceptMemberContacts = exports.APISetContactCustomData = exports.APISetGroupCustomData = exports.APIDeleteChat = exports.APIListGroups = exports.APIListContacts = exports.APIRejectContact = exports.APIAcceptContact = exports.Connect = exports.APIConnect = exports.APIConnectPlan = exports.APIAddContact = exports.APIGetGroupLink = exports.APIDeleteGroupLink = exports.APIGroupLinkMemberRole = exports.APICreateGroupLink = exports.APIUpdateGroupProfile = exports.APIGetGroupRelays = exports.APINewPublicGroup = exports.APINewGroup = exports.APIListMembers = exports.APILeaveGroup = exports.APIRemoveMembers = exports.APIBlockMembersForAll = exports.APIMembersRole = exports.APIAcceptMember = exports.APIJoinGroup = exports.APIAddMember = exports.CancelFile = exports.ReceiveFile = exports.APIChatItemReaction = exports.APIDeleteMemberChatItem = exports.APIDeleteChatItem = exports.APIUpdateChatItem = exports.APISendMessages = exports.APISetAddressSettings = exports.APISetProfileAddress = exports.APIShowMyAddress = exports.APIDeleteMyAddress = exports.APICreateMyAddress = void 0;
6
6
  const T = require("./types");
7
7
  var APICreateMyAddress;
8
8
  (function (APICreateMyAddress) {
@@ -151,6 +151,20 @@ var APINewGroup;
151
151
  }
152
152
  APINewGroup.cmdString = cmdString;
153
153
  })(APINewGroup || (exports.APINewGroup = APINewGroup = {}));
154
+ var APINewPublicGroup;
155
+ (function (APINewPublicGroup) {
156
+ function cmdString(self) {
157
+ return '/_public group ' + self.userId + (self.incognito ? ' incognito=on' : '') + ' ' + self.relayIds.join(',') + ' ' + JSON.stringify(self.groupProfile);
158
+ }
159
+ APINewPublicGroup.cmdString = cmdString;
160
+ })(APINewPublicGroup || (exports.APINewPublicGroup = APINewPublicGroup = {}));
161
+ var APIGetGroupRelays;
162
+ (function (APIGetGroupRelays) {
163
+ function cmdString(self) {
164
+ return '/_get relays #' + self.groupId;
165
+ }
166
+ APIGetGroupRelays.cmdString = cmdString;
167
+ })(APIGetGroupRelays || (exports.APIGetGroupRelays = APIGetGroupRelays = {}));
154
168
  var APIUpdateGroupProfile;
155
169
  (function (APIUpdateGroupProfile) {
156
170
  function cmdString(self) {
@@ -249,6 +263,27 @@ var APIDeleteChat;
249
263
  }
250
264
  APIDeleteChat.cmdString = cmdString;
251
265
  })(APIDeleteChat || (exports.APIDeleteChat = APIDeleteChat = {}));
266
+ var APISetGroupCustomData;
267
+ (function (APISetGroupCustomData) {
268
+ function cmdString(self) {
269
+ return '/_set custom #' + self.groupId + (self.customData ? ' ' + JSON.stringify(self.customData) : '');
270
+ }
271
+ APISetGroupCustomData.cmdString = cmdString;
272
+ })(APISetGroupCustomData || (exports.APISetGroupCustomData = APISetGroupCustomData = {}));
273
+ var APISetContactCustomData;
274
+ (function (APISetContactCustomData) {
275
+ function cmdString(self) {
276
+ return '/_set custom @' + self.contactId + (self.customData ? ' ' + JSON.stringify(self.customData) : '');
277
+ }
278
+ APISetContactCustomData.cmdString = cmdString;
279
+ })(APISetContactCustomData || (exports.APISetContactCustomData = APISetContactCustomData = {}));
280
+ var APISetUserAutoAcceptMemberContacts;
281
+ (function (APISetUserAutoAcceptMemberContacts) {
282
+ function cmdString(self) {
283
+ return '/_set accept member contacts ' + self.userId + ' ' + (self.onOff ? 'on' : 'off');
284
+ }
285
+ APISetUserAutoAcceptMemberContacts.cmdString = cmdString;
286
+ })(APISetUserAutoAcceptMemberContacts || (exports.APISetUserAutoAcceptMemberContacts = APISetUserAutoAcceptMemberContacts = {}));
252
287
  var ShowActiveUser;
253
288
  (function (ShowActiveUser) {
254
289
  function cmdString(_self) {
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";AAAA,eAAe;AACf,wCAAwC;;;AAExC,6BAA4B;AAa5B,IAAiB,kBAAkB,CAMlC;AAND,WAAiB,kBAAkB;IAGjC,SAAgB,SAAS,CAAC,IAAwB;QAChD,OAAO,YAAY,GAAG,IAAI,CAAC,MAAM,CAAA;IACnC,CAAC;IAFe,4BAAS,YAExB,CAAA;AACH,CAAC,EANgB,kBAAkB,kCAAlB,kBAAkB,QAMlC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BAAgB,gCAAhB,gBAAgB,QAMhC;AASD,IAAiB,kBAAkB,CAMlC;AAND,WAAiB,kBAAkB;IAGjC,SAAgB,SAAS,CAAC,IAAwB;QAChD,OAAO,eAAe,GAAG,IAAI,CAAC,SAAS,GAAG,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAClF,CAAC;IAFe,4BAAS,YAExB,CAAA;AACH,CAAC,EANgB,kBAAkB,kCAAlB,kBAAkB,QAMlC;AAYD,IAAiB,SAAS,CAMzB;AAND,WAAiB,SAAS;IAGxB,SAAgB,SAAS,CAAC,KAAgB;QACxC,OAAO,SAAS,CAAA;IAClB,CAAC;IAFe,mBAAS,YAExB,CAAA;AACH,CAAC,EANgB,SAAS,yBAAT,SAAS,QAMzB;AAOD,IAAiB,WAAW,CAM3B;AAND,WAAiB,WAAW;IAG1B,SAAgB,SAAS,CAAC,KAAkB;QAC1C,OAAO,QAAQ,CAAA;IACjB,CAAC;IAFe,qBAAS,YAExB,CAAA;AACH,CAAC,EANgB,WAAW,2BAAX,WAAW,QAM3B"}
package/dist/events.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as T from "./types";
2
- export type ChatEvent = CEvt.ContactConnected | CEvt.ContactUpdated | CEvt.ContactDeletedByContact | CEvt.ReceivedContactRequest | CEvt.NewMemberContactReceivedInv | CEvt.ContactSndReady | CEvt.NewChatItems | CEvt.ChatItemReaction | CEvt.ChatItemsDeleted | CEvt.ChatItemUpdated | CEvt.GroupChatItemsDeleted | CEvt.ChatItemsStatusesUpdated | CEvt.ReceivedGroupInvitation | CEvt.UserJoinedGroup | CEvt.GroupUpdated | CEvt.JoinedGroupMember | CEvt.MemberRole | CEvt.DeletedMember | CEvt.LeftMember | CEvt.DeletedMemberUser | CEvt.GroupDeleted | CEvt.ConnectedToGroupMember | CEvt.MemberAcceptedByOther | CEvt.MemberBlockedForAll | CEvt.GroupMemberUpdated | CEvt.RcvFileDescrReady | CEvt.RcvFileComplete | CEvt.SndFileCompleteXFTP | CEvt.RcvFileStart | CEvt.RcvFileSndCancelled | CEvt.RcvFileAccepted | CEvt.RcvFileError | CEvt.RcvFileWarning | CEvt.SndFileError | CEvt.SndFileWarning | CEvt.AcceptingContactRequest | CEvt.AcceptingBusinessRequest | CEvt.ContactConnecting | CEvt.BusinessLinkConnecting | CEvt.JoinedGroupMemberConnecting | CEvt.SentGroupInvitation | CEvt.GroupLinkConnecting | CEvt.HostConnected | CEvt.HostDisconnected | CEvt.SubscriptionStatus | CEvt.MessageError | CEvt.ChatError | CEvt.ChatErrors;
2
+ export type ChatEvent = CEvt.ContactConnected | CEvt.ContactUpdated | CEvt.ContactDeletedByContact | CEvt.ReceivedContactRequest | CEvt.NewMemberContactReceivedInv | CEvt.ContactSndReady | CEvt.NewChatItems | CEvt.ChatItemReaction | CEvt.ChatItemsDeleted | CEvt.ChatItemUpdated | CEvt.GroupChatItemsDeleted | CEvt.ChatItemsStatusesUpdated | CEvt.ReceivedGroupInvitation | CEvt.UserJoinedGroup | CEvt.GroupUpdated | CEvt.JoinedGroupMember | CEvt.MemberRole | CEvt.DeletedMember | CEvt.LeftMember | CEvt.DeletedMemberUser | CEvt.GroupDeleted | CEvt.ConnectedToGroupMember | CEvt.MemberAcceptedByOther | CEvt.MemberBlockedForAll | CEvt.GroupMemberUpdated | CEvt.GroupLinkDataUpdated | CEvt.GroupRelayUpdated | CEvt.RcvFileDescrReady | CEvt.RcvFileComplete | CEvt.SndFileCompleteXFTP | CEvt.RcvFileStart | CEvt.RcvFileSndCancelled | CEvt.RcvFileAccepted | CEvt.RcvFileError | CEvt.RcvFileWarning | CEvt.SndFileError | CEvt.SndFileWarning | CEvt.AcceptingContactRequest | CEvt.AcceptingBusinessRequest | CEvt.ContactConnecting | CEvt.BusinessLinkConnecting | CEvt.JoinedGroupMemberConnecting | CEvt.SentGroupInvitation | CEvt.GroupLinkConnecting | CEvt.HostConnected | CEvt.HostDisconnected | CEvt.SubscriptionStatus | CEvt.MessageError | CEvt.ChatError | CEvt.ChatErrors;
3
3
  export declare namespace CEvt {
4
- export type Tag = "contactConnected" | "contactUpdated" | "contactDeletedByContact" | "receivedContactRequest" | "newMemberContactReceivedInv" | "contactSndReady" | "newChatItems" | "chatItemReaction" | "chatItemsDeleted" | "chatItemUpdated" | "groupChatItemsDeleted" | "chatItemsStatusesUpdated" | "receivedGroupInvitation" | "userJoinedGroup" | "groupUpdated" | "joinedGroupMember" | "memberRole" | "deletedMember" | "leftMember" | "deletedMemberUser" | "groupDeleted" | "connectedToGroupMember" | "memberAcceptedByOther" | "memberBlockedForAll" | "groupMemberUpdated" | "rcvFileDescrReady" | "rcvFileComplete" | "sndFileCompleteXFTP" | "rcvFileStart" | "rcvFileSndCancelled" | "rcvFileAccepted" | "rcvFileError" | "rcvFileWarning" | "sndFileError" | "sndFileWarning" | "acceptingContactRequest" | "acceptingBusinessRequest" | "contactConnecting" | "businessLinkConnecting" | "joinedGroupMemberConnecting" | "sentGroupInvitation" | "groupLinkConnecting" | "hostConnected" | "hostDisconnected" | "subscriptionStatus" | "messageError" | "chatError" | "chatErrors";
4
+ export type Tag = "contactConnected" | "contactUpdated" | "contactDeletedByContact" | "receivedContactRequest" | "newMemberContactReceivedInv" | "contactSndReady" | "newChatItems" | "chatItemReaction" | "chatItemsDeleted" | "chatItemUpdated" | "groupChatItemsDeleted" | "chatItemsStatusesUpdated" | "receivedGroupInvitation" | "userJoinedGroup" | "groupUpdated" | "joinedGroupMember" | "memberRole" | "deletedMember" | "leftMember" | "deletedMemberUser" | "groupDeleted" | "connectedToGroupMember" | "memberAcceptedByOther" | "memberBlockedForAll" | "groupMemberUpdated" | "groupLinkDataUpdated" | "groupRelayUpdated" | "rcvFileDescrReady" | "rcvFileComplete" | "sndFileCompleteXFTP" | "rcvFileStart" | "rcvFileSndCancelled" | "rcvFileAccepted" | "rcvFileError" | "rcvFileWarning" | "sndFileError" | "sndFileWarning" | "acceptingContactRequest" | "acceptingBusinessRequest" | "contactConnecting" | "businessLinkConnecting" | "joinedGroupMemberConnecting" | "sentGroupInvitation" | "groupLinkConnecting" | "hostConnected" | "hostDisconnected" | "subscriptionStatus" | "messageError" | "chatError" | "chatErrors";
5
5
  interface Interface {
6
6
  type: Tag;
7
7
  }
@@ -96,6 +96,7 @@ export declare namespace CEvt {
96
96
  fromGroup: T.GroupInfo;
97
97
  toGroup: T.GroupInfo;
98
98
  member_?: T.GroupMember;
99
+ msgSigned?: T.MsgSigStatus;
99
100
  }
100
101
  export interface JoinedGroupMember extends Interface {
101
102
  type: "joinedGroupMember";
@@ -111,6 +112,7 @@ export declare namespace CEvt {
111
112
  member: T.GroupMember;
112
113
  fromRole: T.GroupMemberRole;
113
114
  toRole: T.GroupMemberRole;
115
+ msgSigned?: T.MsgSigStatus;
114
116
  }
115
117
  export interface DeletedMember extends Interface {
116
118
  type: "deletedMember";
@@ -119,12 +121,14 @@ export declare namespace CEvt {
119
121
  byMember: T.GroupMember;
120
122
  deletedMember: T.GroupMember;
121
123
  withMessages: boolean;
124
+ msgSigned?: T.MsgSigStatus;
122
125
  }
123
126
  export interface LeftMember extends Interface {
124
127
  type: "leftMember";
125
128
  user: T.User;
126
129
  groupInfo: T.GroupInfo;
127
130
  member: T.GroupMember;
131
+ msgSigned?: T.MsgSigStatus;
128
132
  }
129
133
  export interface DeletedMemberUser extends Interface {
130
134
  type: "deletedMemberUser";
@@ -132,12 +136,14 @@ export declare namespace CEvt {
132
136
  groupInfo: T.GroupInfo;
133
137
  member: T.GroupMember;
134
138
  withMessages: boolean;
139
+ msgSigned?: T.MsgSigStatus;
135
140
  }
136
141
  export interface GroupDeleted extends Interface {
137
142
  type: "groupDeleted";
138
143
  user: T.User;
139
144
  groupInfo: T.GroupInfo;
140
145
  member: T.GroupMember;
146
+ msgSigned?: T.MsgSigStatus;
141
147
  }
142
148
  export interface ConnectedToGroupMember extends Interface {
143
149
  type: "connectedToGroupMember";
@@ -160,6 +166,7 @@ export declare namespace CEvt {
160
166
  byMember: T.GroupMember;
161
167
  member: T.GroupMember;
162
168
  blocked: boolean;
169
+ msgSigned?: T.MsgSigStatus;
163
170
  }
164
171
  export interface GroupMemberUpdated extends Interface {
165
172
  type: "groupMemberUpdated";
@@ -168,6 +175,21 @@ export declare namespace CEvt {
168
175
  fromMember: T.GroupMember;
169
176
  toMember: T.GroupMember;
170
177
  }
178
+ export interface GroupLinkDataUpdated extends Interface {
179
+ type: "groupLinkDataUpdated";
180
+ user: T.User;
181
+ groupInfo: T.GroupInfo;
182
+ groupLink: T.GroupLink;
183
+ groupRelays: T.GroupRelay[];
184
+ relaysChanged: boolean;
185
+ }
186
+ export interface GroupRelayUpdated extends Interface {
187
+ type: "groupRelayUpdated";
188
+ user: T.User;
189
+ groupInfo: T.GroupInfo;
190
+ member: T.GroupMember;
191
+ groupRelay: T.GroupRelay;
192
+ }
171
193
  export interface RcvFileDescrReady extends Interface {
172
194
  type: "rcvFileDescrReady";
173
195
  user: T.User;
@@ -1,7 +1,7 @@
1
1
  import * as T from "./types";
2
- export type ChatResponse = CR.AcceptingContactRequest | CR.ActiveUser | CR.ChatItemNotChanged | CR.ChatItemReaction | CR.ChatItemUpdated | CR.ChatItemsDeleted | CR.ChatRunning | CR.ChatStarted | CR.ChatStopped | CR.CmdOk | CR.ChatCmdError | CR.ConnectionPlan | CR.ContactAlreadyExists | CR.ContactConnectionDeleted | CR.ContactDeleted | CR.ContactPrefsUpdated | CR.ContactRequestRejected | CR.ContactsList | CR.GroupDeletedUser | CR.GroupLink | CR.GroupLinkCreated | CR.GroupLinkDeleted | CR.GroupCreated | CR.GroupMembers | CR.GroupUpdated | CR.GroupsList | CR.Invitation | CR.LeftMemberUser | CR.MemberAccepted | CR.MembersBlockedForAllUser | CR.MembersRoleUser | CR.NewChatItems | CR.RcvFileAccepted | CR.RcvFileAcceptedSndCancelled | CR.RcvFileCancelled | CR.SentConfirmation | CR.SentGroupInvitation | CR.SentInvitation | CR.SndFileCancelled | CR.UserAcceptedGroupSent | CR.UserContactLink | CR.UserContactLinkCreated | CR.UserContactLinkDeleted | CR.UserContactLinkUpdated | CR.UserDeletedMembers | CR.UserProfileUpdated | CR.UserProfileNoChange | CR.UsersList;
2
+ export type ChatResponse = CR.AcceptingContactRequest | CR.ActiveUser | CR.ChatItemNotChanged | CR.ChatItemReaction | CR.ChatItemUpdated | CR.ChatItemsDeleted | CR.ChatRunning | CR.ChatStarted | CR.ChatStopped | CR.CmdOk | CR.ChatCmdError | CR.ConnectionPlan | CR.ContactAlreadyExists | CR.ContactConnectionDeleted | CR.ContactDeleted | CR.ContactPrefsUpdated | CR.ContactRequestRejected | CR.ContactsList | CR.GroupDeletedUser | CR.GroupLink | CR.GroupLinkCreated | CR.GroupLinkDeleted | CR.GroupCreated | CR.PublicGroupCreated | CR.PublicGroupCreationFailed | CR.GroupRelays | CR.GroupMembers | CR.GroupUpdated | CR.GroupsList | CR.Invitation | CR.LeftMemberUser | CR.MemberAccepted | CR.MembersBlockedForAllUser | CR.MembersRoleUser | CR.NewChatItems | CR.RcvFileAccepted | CR.RcvFileAcceptedSndCancelled | CR.RcvFileCancelled | CR.SentConfirmation | CR.SentGroupInvitation | CR.SentInvitation | CR.SndFileCancelled | CR.UserAcceptedGroupSent | CR.UserContactLink | CR.UserContactLinkCreated | CR.UserContactLinkDeleted | CR.UserContactLinkUpdated | CR.UserDeletedMembers | CR.UserProfileUpdated | CR.UserProfileNoChange | CR.UsersList;
3
3
  export declare namespace CR {
4
- export type Tag = "acceptingContactRequest" | "activeUser" | "chatItemNotChanged" | "chatItemReaction" | "chatItemUpdated" | "chatItemsDeleted" | "chatRunning" | "chatStarted" | "chatStopped" | "cmdOk" | "chatCmdError" | "connectionPlan" | "contactAlreadyExists" | "contactConnectionDeleted" | "contactDeleted" | "contactPrefsUpdated" | "contactRequestRejected" | "contactsList" | "groupDeletedUser" | "groupLink" | "groupLinkCreated" | "groupLinkDeleted" | "groupCreated" | "groupMembers" | "groupUpdated" | "groupsList" | "invitation" | "leftMemberUser" | "memberAccepted" | "membersBlockedForAllUser" | "membersRoleUser" | "newChatItems" | "rcvFileAccepted" | "rcvFileAcceptedSndCancelled" | "rcvFileCancelled" | "sentConfirmation" | "sentGroupInvitation" | "sentInvitation" | "sndFileCancelled" | "userAcceptedGroupSent" | "userContactLink" | "userContactLinkCreated" | "userContactLinkDeleted" | "userContactLinkUpdated" | "userDeletedMembers" | "userProfileUpdated" | "userProfileNoChange" | "usersList";
4
+ export type Tag = "acceptingContactRequest" | "activeUser" | "chatItemNotChanged" | "chatItemReaction" | "chatItemUpdated" | "chatItemsDeleted" | "chatRunning" | "chatStarted" | "chatStopped" | "cmdOk" | "chatCmdError" | "connectionPlan" | "contactAlreadyExists" | "contactConnectionDeleted" | "contactDeleted" | "contactPrefsUpdated" | "contactRequestRejected" | "contactsList" | "groupDeletedUser" | "groupLink" | "groupLinkCreated" | "groupLinkDeleted" | "groupCreated" | "publicGroupCreated" | "publicGroupCreationFailed" | "groupRelays" | "groupMembers" | "groupUpdated" | "groupsList" | "invitation" | "leftMemberUser" | "memberAccepted" | "membersBlockedForAllUser" | "membersRoleUser" | "newChatItems" | "rcvFileAccepted" | "rcvFileAcceptedSndCancelled" | "rcvFileCancelled" | "sentConfirmation" | "sentGroupInvitation" | "sentInvitation" | "sndFileCancelled" | "userAcceptedGroupSent" | "userContactLink" | "userContactLinkCreated" | "userContactLinkDeleted" | "userContactLinkUpdated" | "userDeletedMembers" | "userProfileUpdated" | "userProfileNoChange" | "usersList";
5
5
  interface Interface {
6
6
  type: Tag;
7
7
  }
@@ -96,6 +96,7 @@ export declare namespace CR {
96
96
  type: "groupDeletedUser";
97
97
  user: T.User;
98
98
  groupInfo: T.GroupInfo;
99
+ msgSigned: boolean;
99
100
  }
100
101
  export interface GroupLink extends Interface {
101
102
  type: "groupLink";
@@ -119,6 +120,24 @@ export declare namespace CR {
119
120
  user: T.User;
120
121
  groupInfo: T.GroupInfo;
121
122
  }
123
+ export interface PublicGroupCreated extends Interface {
124
+ type: "publicGroupCreated";
125
+ user: T.User;
126
+ groupInfo: T.GroupInfo;
127
+ groupLink: T.GroupLink;
128
+ groupRelays: T.GroupRelay[];
129
+ }
130
+ export interface PublicGroupCreationFailed extends Interface {
131
+ type: "publicGroupCreationFailed";
132
+ user: T.User;
133
+ addRelayResults: T.AddRelayResult[];
134
+ }
135
+ export interface GroupRelays extends Interface {
136
+ type: "groupRelays";
137
+ user: T.User;
138
+ groupInfo: T.GroupInfo;
139
+ groupRelays: T.GroupRelay[];
140
+ }
122
141
  export interface GroupMembers extends Interface {
123
142
  type: "groupMembers";
124
143
  user: T.User;
@@ -130,6 +149,7 @@ export declare namespace CR {
130
149
  fromGroup: T.GroupInfo;
131
150
  toGroup: T.GroupInfo;
132
151
  member_?: T.GroupMember;
152
+ msgSigned: boolean;
133
153
  }
134
154
  export interface GroupsList extends Interface {
135
155
  type: "groupsList";
@@ -159,6 +179,7 @@ export declare namespace CR {
159
179
  groupInfo: T.GroupInfo;
160
180
  members: T.GroupMember[];
161
181
  blocked: boolean;
182
+ msgSigned: boolean;
162
183
  }
163
184
  export interface MembersRoleUser extends Interface {
164
185
  type: "membersRoleUser";
@@ -166,6 +187,7 @@ export declare namespace CR {
166
187
  groupInfo: T.GroupInfo;
167
188
  members: T.GroupMember[];
168
189
  toRole: T.GroupMemberRole;
190
+ msgSigned: boolean;
169
191
  }
170
192
  export interface NewChatItems extends Interface {
171
193
  type: "newChatItems";
@@ -245,6 +267,7 @@ export declare namespace CR {
245
267
  groupInfo: T.GroupInfo;
246
268
  members: T.GroupMember[];
247
269
  withMessages: boolean;
270
+ msgSigned: boolean;
248
271
  }
249
272
  export interface UserProfileUpdated extends Interface {
250
273
  type: "userProfileUpdated";
package/dist/types.d.ts CHANGED
@@ -11,6 +11,10 @@ export interface AChatItem {
11
11
  chatInfo: ChatInfo;
12
12
  chatItem: ChatItem;
13
13
  }
14
+ export interface AddRelayResult {
15
+ relay: UserChatRelay;
16
+ relayError?: ChatError;
17
+ }
14
18
  export interface AddressSettings {
15
19
  businessAddress: boolean;
16
20
  autoAccept?: AutoAccept;
@@ -176,9 +180,9 @@ export declare enum CICallStatus {
176
180
  Ended = "ended",
177
181
  Error = "error"
178
182
  }
179
- export type CIContent = CIContent.SndMsgContent | CIContent.RcvMsgContent | CIContent.SndDeleted | CIContent.RcvDeleted | CIContent.SndCall | CIContent.RcvCall | CIContent.RcvIntegrityError | CIContent.RcvDecryptionError | CIContent.RcvGroupInvitation | CIContent.SndGroupInvitation | CIContent.RcvDirectEvent | CIContent.RcvGroupEvent | CIContent.SndGroupEvent | CIContent.RcvConnEvent | CIContent.SndConnEvent | CIContent.RcvChatFeature | CIContent.SndChatFeature | CIContent.RcvChatPreference | CIContent.SndChatPreference | CIContent.RcvGroupFeature | CIContent.SndGroupFeature | CIContent.RcvChatFeatureRejected | CIContent.RcvGroupFeatureRejected | CIContent.SndModerated | CIContent.RcvModerated | CIContent.RcvBlocked | CIContent.SndDirectE2EEInfo | CIContent.RcvDirectE2EEInfo | CIContent.SndGroupE2EEInfo | CIContent.RcvGroupE2EEInfo | CIContent.ChatBanner;
183
+ export type CIContent = CIContent.SndMsgContent | CIContent.RcvMsgContent | CIContent.SndDeleted | CIContent.RcvDeleted | CIContent.SndCall | CIContent.RcvCall | CIContent.RcvIntegrityError | CIContent.RcvDecryptionError | CIContent.RcvMsgError | CIContent.RcvGroupInvitation | CIContent.SndGroupInvitation | CIContent.RcvDirectEvent | CIContent.RcvGroupEvent | CIContent.SndGroupEvent | CIContent.RcvConnEvent | CIContent.SndConnEvent | CIContent.RcvChatFeature | CIContent.SndChatFeature | CIContent.RcvChatPreference | CIContent.SndChatPreference | CIContent.RcvGroupFeature | CIContent.SndGroupFeature | CIContent.RcvChatFeatureRejected | CIContent.RcvGroupFeatureRejected | CIContent.SndModerated | CIContent.RcvModerated | CIContent.RcvBlocked | CIContent.SndDirectE2EEInfo | CIContent.RcvDirectE2EEInfo | CIContent.SndGroupE2EEInfo | CIContent.RcvGroupE2EEInfo | CIContent.ChatBanner;
180
184
  export declare namespace CIContent {
181
- export type Tag = "sndMsgContent" | "rcvMsgContent" | "sndDeleted" | "rcvDeleted" | "sndCall" | "rcvCall" | "rcvIntegrityError" | "rcvDecryptionError" | "rcvGroupInvitation" | "sndGroupInvitation" | "rcvDirectEvent" | "rcvGroupEvent" | "sndGroupEvent" | "rcvConnEvent" | "sndConnEvent" | "rcvChatFeature" | "sndChatFeature" | "rcvChatPreference" | "sndChatPreference" | "rcvGroupFeature" | "sndGroupFeature" | "rcvChatFeatureRejected" | "rcvGroupFeatureRejected" | "sndModerated" | "rcvModerated" | "rcvBlocked" | "sndDirectE2EEInfo" | "rcvDirectE2EEInfo" | "sndGroupE2EEInfo" | "rcvGroupE2EEInfo" | "chatBanner";
185
+ export type Tag = "sndMsgContent" | "rcvMsgContent" | "sndDeleted" | "rcvDeleted" | "sndCall" | "rcvCall" | "rcvIntegrityError" | "rcvDecryptionError" | "rcvMsgError" | "rcvGroupInvitation" | "sndGroupInvitation" | "rcvDirectEvent" | "rcvGroupEvent" | "sndGroupEvent" | "rcvConnEvent" | "sndConnEvent" | "rcvChatFeature" | "sndChatFeature" | "rcvChatPreference" | "sndChatPreference" | "rcvGroupFeature" | "sndGroupFeature" | "rcvChatFeatureRejected" | "rcvGroupFeatureRejected" | "sndModerated" | "rcvModerated" | "rcvBlocked" | "sndDirectE2EEInfo" | "rcvDirectE2EEInfo" | "sndGroupE2EEInfo" | "rcvGroupE2EEInfo" | "chatBanner";
182
186
  interface Interface {
183
187
  type: Tag;
184
188
  }
@@ -217,6 +221,10 @@ export declare namespace CIContent {
217
221
  msgDecryptError: MsgDecryptError;
218
222
  msgCount: number;
219
223
  }
224
+ export interface RcvMsgError extends Interface {
225
+ type: "rcvMsgError";
226
+ rcvMsgError: RcvMsgError;
227
+ }
220
228
  export interface RcvGroupInvitation extends Interface {
221
229
  type: "rcvGroupInvitation";
222
230
  groupInvitation: CIGroupInvitation;
@@ -354,9 +362,9 @@ export declare namespace CIDeleted {
354
362
  }
355
363
  export {};
356
364
  }
357
- export type CIDirection = CIDirection.DirectSnd | CIDirection.DirectRcv | CIDirection.GroupSnd | CIDirection.GroupRcv | CIDirection.LocalSnd | CIDirection.LocalRcv;
365
+ export type CIDirection = CIDirection.DirectSnd | CIDirection.DirectRcv | CIDirection.GroupSnd | CIDirection.GroupRcv | CIDirection.ChannelRcv | CIDirection.LocalSnd | CIDirection.LocalRcv;
358
366
  export declare namespace CIDirection {
359
- export type Tag = "directSnd" | "directRcv" | "groupSnd" | "groupRcv" | "localSnd" | "localRcv";
367
+ export type Tag = "directSnd" | "directRcv" | "groupSnd" | "groupRcv" | "channelRcv" | "localSnd" | "localRcv";
360
368
  interface Interface {
361
369
  type: Tag;
362
370
  }
@@ -373,6 +381,9 @@ export declare namespace CIDirection {
373
381
  type: "groupRcv";
374
382
  groupMember: GroupMember;
375
383
  }
384
+ export interface ChannelRcv extends Interface {
385
+ type: "channelRcv";
386
+ }
376
387
  export interface LocalSnd extends Interface {
377
388
  type: "localSnd";
378
389
  }
@@ -512,10 +523,12 @@ export interface CIMeta {
512
523
  itemTimed?: CITimed;
513
524
  itemLive?: boolean;
514
525
  userMention: boolean;
526
+ hasLink: boolean;
515
527
  deletable: boolean;
516
528
  editable: boolean;
517
529
  forwardedByMember?: number;
518
530
  showGroupAsSender: boolean;
531
+ msgSigned?: MsgSigStatus;
519
532
  createdAt: string;
520
533
  updatedAt: string;
521
534
  }
@@ -644,9 +657,9 @@ export declare namespace ChatError {
644
657
  }
645
658
  export {};
646
659
  }
647
- export type ChatErrorType = ChatErrorType.NoActiveUser | ChatErrorType.NoConnectionUser | ChatErrorType.NoSndFileUser | ChatErrorType.NoRcvFileUser | ChatErrorType.UserUnknown | ChatErrorType.ActiveUserExists | ChatErrorType.UserExists | ChatErrorType.DifferentActiveUser | ChatErrorType.CantDeleteActiveUser | ChatErrorType.CantDeleteLastUser | ChatErrorType.CantHideLastUser | ChatErrorType.HiddenUserAlwaysMuted | ChatErrorType.EmptyUserPassword | ChatErrorType.UserAlreadyHidden | ChatErrorType.UserNotHidden | ChatErrorType.InvalidDisplayName | ChatErrorType.ChatNotStarted | ChatErrorType.ChatNotStopped | ChatErrorType.ChatStoreChanged | ChatErrorType.InvalidConnReq | ChatErrorType.UnsupportedConnReq | ChatErrorType.ConnReqMessageProhibited | ChatErrorType.ContactNotReady | ChatErrorType.ContactNotActive | ChatErrorType.ContactDisabled | ChatErrorType.ConnectionDisabled | ChatErrorType.GroupUserRole | ChatErrorType.GroupMemberInitialRole | ChatErrorType.ContactIncognitoCantInvite | ChatErrorType.GroupIncognitoCantInvite | ChatErrorType.GroupContactRole | ChatErrorType.GroupDuplicateMember | ChatErrorType.GroupDuplicateMemberId | ChatErrorType.GroupNotJoined | ChatErrorType.GroupMemberNotActive | ChatErrorType.CantBlockMemberForSelf | ChatErrorType.GroupMemberUserRemoved | ChatErrorType.GroupMemberNotFound | ChatErrorType.GroupCantResendInvitation | ChatErrorType.GroupInternal | ChatErrorType.FileNotFound | ChatErrorType.FileSize | ChatErrorType.FileAlreadyReceiving | ChatErrorType.FileCancelled | ChatErrorType.FileCancel | ChatErrorType.FileAlreadyExists | ChatErrorType.FileWrite | ChatErrorType.FileSend | ChatErrorType.FileRcvChunk | ChatErrorType.FileInternal | ChatErrorType.FileImageType | ChatErrorType.FileImageSize | ChatErrorType.FileNotReceived | ChatErrorType.FileNotApproved | ChatErrorType.FallbackToSMPProhibited | ChatErrorType.InlineFileProhibited | ChatErrorType.InvalidForward | ChatErrorType.InvalidChatItemUpdate | ChatErrorType.InvalidChatItemDelete | ChatErrorType.HasCurrentCall | ChatErrorType.NoCurrentCall | ChatErrorType.CallContact | ChatErrorType.DirectMessagesProhibited | ChatErrorType.AgentVersion | ChatErrorType.AgentNoSubResult | ChatErrorType.CommandError | ChatErrorType.AgentCommandError | ChatErrorType.InvalidFileDescription | ChatErrorType.ConnectionIncognitoChangeProhibited | ChatErrorType.ConnectionUserChangeProhibited | ChatErrorType.PeerChatVRangeIncompatible | ChatErrorType.InternalError | ChatErrorType.Exception;
660
+ export type ChatErrorType = ChatErrorType.NoActiveUser | ChatErrorType.NoConnectionUser | ChatErrorType.NoSndFileUser | ChatErrorType.NoRcvFileUser | ChatErrorType.UserUnknown | ChatErrorType.ActiveUserExists | ChatErrorType.UserExists | ChatErrorType.ChatRelayExists | ChatErrorType.DifferentActiveUser | ChatErrorType.CantDeleteActiveUser | ChatErrorType.CantDeleteLastUser | ChatErrorType.CantHideLastUser | ChatErrorType.HiddenUserAlwaysMuted | ChatErrorType.EmptyUserPassword | ChatErrorType.UserAlreadyHidden | ChatErrorType.UserNotHidden | ChatErrorType.InvalidDisplayName | ChatErrorType.ChatNotStarted | ChatErrorType.ChatNotStopped | ChatErrorType.ChatStoreChanged | ChatErrorType.InvalidConnReq | ChatErrorType.UnsupportedConnReq | ChatErrorType.ConnReqMessageProhibited | ChatErrorType.ContactNotReady | ChatErrorType.ContactNotActive | ChatErrorType.ContactDisabled | ChatErrorType.ConnectionDisabled | ChatErrorType.GroupUserRole | ChatErrorType.GroupMemberInitialRole | ChatErrorType.ContactIncognitoCantInvite | ChatErrorType.GroupIncognitoCantInvite | ChatErrorType.GroupContactRole | ChatErrorType.GroupDuplicateMember | ChatErrorType.GroupDuplicateMemberId | ChatErrorType.GroupNotJoined | ChatErrorType.GroupMemberNotActive | ChatErrorType.CantBlockMemberForSelf | ChatErrorType.GroupMemberUserRemoved | ChatErrorType.GroupMemberNotFound | ChatErrorType.GroupCantResendInvitation | ChatErrorType.GroupInternal | ChatErrorType.FileNotFound | ChatErrorType.FileSize | ChatErrorType.FileAlreadyReceiving | ChatErrorType.FileCancelled | ChatErrorType.FileCancel | ChatErrorType.FileAlreadyExists | ChatErrorType.FileWrite | ChatErrorType.FileSend | ChatErrorType.FileRcvChunk | ChatErrorType.FileInternal | ChatErrorType.FileImageType | ChatErrorType.FileImageSize | ChatErrorType.FileNotReceived | ChatErrorType.FileNotApproved | ChatErrorType.FallbackToSMPProhibited | ChatErrorType.InlineFileProhibited | ChatErrorType.InvalidForward | ChatErrorType.InvalidChatItemUpdate | ChatErrorType.InvalidChatItemDelete | ChatErrorType.HasCurrentCall | ChatErrorType.NoCurrentCall | ChatErrorType.CallContact | ChatErrorType.DirectMessagesProhibited | ChatErrorType.AgentVersion | ChatErrorType.AgentNoSubResult | ChatErrorType.CommandError | ChatErrorType.AgentCommandError | ChatErrorType.InvalidFileDescription | ChatErrorType.ConnectionIncognitoChangeProhibited | ChatErrorType.ConnectionUserChangeProhibited | ChatErrorType.PeerChatVRangeIncompatible | ChatErrorType.RelayTestError | ChatErrorType.InternalError | ChatErrorType.Exception;
648
661
  export declare namespace ChatErrorType {
649
- export type Tag = "noActiveUser" | "noConnectionUser" | "noSndFileUser" | "noRcvFileUser" | "userUnknown" | "activeUserExists" | "userExists" | "differentActiveUser" | "cantDeleteActiveUser" | "cantDeleteLastUser" | "cantHideLastUser" | "hiddenUserAlwaysMuted" | "emptyUserPassword" | "userAlreadyHidden" | "userNotHidden" | "invalidDisplayName" | "chatNotStarted" | "chatNotStopped" | "chatStoreChanged" | "invalidConnReq" | "unsupportedConnReq" | "connReqMessageProhibited" | "contactNotReady" | "contactNotActive" | "contactDisabled" | "connectionDisabled" | "groupUserRole" | "groupMemberInitialRole" | "contactIncognitoCantInvite" | "groupIncognitoCantInvite" | "groupContactRole" | "groupDuplicateMember" | "groupDuplicateMemberId" | "groupNotJoined" | "groupMemberNotActive" | "cantBlockMemberForSelf" | "groupMemberUserRemoved" | "groupMemberNotFound" | "groupCantResendInvitation" | "groupInternal" | "fileNotFound" | "fileSize" | "fileAlreadyReceiving" | "fileCancelled" | "fileCancel" | "fileAlreadyExists" | "fileWrite" | "fileSend" | "fileRcvChunk" | "fileInternal" | "fileImageType" | "fileImageSize" | "fileNotReceived" | "fileNotApproved" | "fallbackToSMPProhibited" | "inlineFileProhibited" | "invalidForward" | "invalidChatItemUpdate" | "invalidChatItemDelete" | "hasCurrentCall" | "noCurrentCall" | "callContact" | "directMessagesProhibited" | "agentVersion" | "agentNoSubResult" | "commandError" | "agentCommandError" | "invalidFileDescription" | "connectionIncognitoChangeProhibited" | "connectionUserChangeProhibited" | "peerChatVRangeIncompatible" | "internalError" | "exception";
662
+ export type Tag = "noActiveUser" | "noConnectionUser" | "noSndFileUser" | "noRcvFileUser" | "userUnknown" | "activeUserExists" | "userExists" | "chatRelayExists" | "differentActiveUser" | "cantDeleteActiveUser" | "cantDeleteLastUser" | "cantHideLastUser" | "hiddenUserAlwaysMuted" | "emptyUserPassword" | "userAlreadyHidden" | "userNotHidden" | "invalidDisplayName" | "chatNotStarted" | "chatNotStopped" | "chatStoreChanged" | "invalidConnReq" | "unsupportedConnReq" | "connReqMessageProhibited" | "contactNotReady" | "contactNotActive" | "contactDisabled" | "connectionDisabled" | "groupUserRole" | "groupMemberInitialRole" | "contactIncognitoCantInvite" | "groupIncognitoCantInvite" | "groupContactRole" | "groupDuplicateMember" | "groupDuplicateMemberId" | "groupNotJoined" | "groupMemberNotActive" | "cantBlockMemberForSelf" | "groupMemberUserRemoved" | "groupMemberNotFound" | "groupCantResendInvitation" | "groupInternal" | "fileNotFound" | "fileSize" | "fileAlreadyReceiving" | "fileCancelled" | "fileCancel" | "fileAlreadyExists" | "fileWrite" | "fileSend" | "fileRcvChunk" | "fileInternal" | "fileImageType" | "fileImageSize" | "fileNotReceived" | "fileNotApproved" | "fallbackToSMPProhibited" | "inlineFileProhibited" | "invalidForward" | "invalidChatItemUpdate" | "invalidChatItemDelete" | "hasCurrentCall" | "noCurrentCall" | "callContact" | "directMessagesProhibited" | "agentVersion" | "agentNoSubResult" | "commandError" | "agentCommandError" | "invalidFileDescription" | "connectionIncognitoChangeProhibited" | "connectionUserChangeProhibited" | "peerChatVRangeIncompatible" | "relayTestError" | "internalError" | "exception";
650
663
  interface Interface {
651
664
  type: Tag;
652
665
  }
@@ -675,6 +688,9 @@ export declare namespace ChatErrorType {
675
688
  type: "userExists";
676
689
  contactName: string;
677
690
  }
691
+ export interface ChatRelayExists extends Interface {
692
+ type: "chatRelayExists";
693
+ }
678
694
  export interface DifferentActiveUser extends Interface {
679
695
  type: "differentActiveUser";
680
696
  commandUserId: number;
@@ -922,6 +938,10 @@ export declare namespace ChatErrorType {
922
938
  export interface PeerChatVRangeIncompatible extends Interface {
923
939
  type: "peerChatVRangeIncompatible";
924
940
  }
941
+ export interface RelayTestError extends Interface {
942
+ type: "relayTestError";
943
+ message: string;
944
+ }
925
945
  export interface InternalError extends Interface {
926
946
  type: "internalError";
927
947
  message: string;
@@ -1093,6 +1113,10 @@ export declare namespace CommandErrorType {
1093
1113
  }
1094
1114
  export {};
1095
1115
  }
1116
+ export interface CommentsGroupPreference {
1117
+ enable: GroupFeatureEnabled;
1118
+ duration?: number;
1119
+ }
1096
1120
  export interface ComposedMessage {
1097
1121
  fileSource?: CryptoFile;
1098
1122
  quotedItemId?: number;
@@ -1101,15 +1125,41 @@ export interface ComposedMessage {
1101
1125
  [key: string]: number;
1102
1126
  };
1103
1127
  }
1104
- export declare enum ConnStatus {
1105
- New = "new",
1106
- Prepared = "prepared",
1107
- Joined = "joined",
1108
- Requested = "requested",
1109
- Accepted = "accepted",
1110
- Snd_ready = "snd-ready",
1111
- Ready = "ready",
1112
- Deleted = "deleted"
1128
+ export type ConnStatus = ConnStatus.New | ConnStatus.Prepared | ConnStatus.Joined | ConnStatus.Requested | ConnStatus.Accepted | ConnStatus.SndReady | ConnStatus.Ready | ConnStatus.Deleted | ConnStatus.Failed;
1129
+ export declare namespace ConnStatus {
1130
+ export type Tag = "new" | "prepared" | "joined" | "requested" | "accepted" | "sndReady" | "ready" | "deleted" | "failed";
1131
+ interface Interface {
1132
+ type: Tag;
1133
+ }
1134
+ export interface New extends Interface {
1135
+ type: "new";
1136
+ }
1137
+ export interface Prepared extends Interface {
1138
+ type: "prepared";
1139
+ }
1140
+ export interface Joined extends Interface {
1141
+ type: "joined";
1142
+ }
1143
+ export interface Requested extends Interface {
1144
+ type: "requested";
1145
+ }
1146
+ export interface Accepted extends Interface {
1147
+ type: "accepted";
1148
+ }
1149
+ export interface SndReady extends Interface {
1150
+ type: "sndReady";
1151
+ }
1152
+ export interface Ready extends Interface {
1153
+ type: "ready";
1154
+ }
1155
+ export interface Deleted extends Interface {
1156
+ type: "deleted";
1157
+ }
1158
+ export interface Failed extends Interface {
1159
+ type: "failed";
1160
+ connError: string;
1161
+ }
1162
+ export {};
1113
1163
  }
1114
1164
  export declare enum ConnType {
1115
1165
  Contact = "contact",
@@ -1250,6 +1300,7 @@ export declare namespace ContactAddressPlan {
1250
1300
  export interface Ok extends Interface {
1251
1301
  type: "ok";
1252
1302
  contactSLinkData_?: ContactShortLinkData;
1303
+ ownerVerification?: OwnerVerification;
1253
1304
  }
1254
1305
  export interface OwnLink extends Interface {
1255
1306
  type: "ownLink";
@@ -1327,6 +1378,10 @@ export interface CryptoFileArgs {
1327
1378
  fileKey: string;
1328
1379
  fileNonce: string;
1329
1380
  }
1381
+ export interface DroppedMsg {
1382
+ brokerTs: string;
1383
+ attempts: number;
1384
+ }
1330
1385
  export interface E2EInfo {
1331
1386
  pqEnabled?: boolean;
1332
1387
  }
@@ -1480,9 +1535,9 @@ export interface FileTransferMeta {
1480
1535
  chunkSize: number;
1481
1536
  cancelled: boolean;
1482
1537
  }
1483
- export type Format = Format.Bold | Format.Italic | Format.StrikeThrough | Format.Snippet | Format.Secret | Format.Colored | Format.Uri | Format.HyperLink | Format.SimplexLink | Format.Command | Format.Mention | Format.Email | Format.Phone;
1538
+ export type Format = Format.Bold | Format.Italic | Format.StrikeThrough | Format.Snippet | Format.Secret | Format.Small | Format.Colored | Format.Uri | Format.HyperLink | Format.SimplexLink | Format.Command | Format.Mention | Format.Email | Format.Phone;
1484
1539
  export declare namespace Format {
1485
- export type Tag = "bold" | "italic" | "strikeThrough" | "snippet" | "secret" | "colored" | "uri" | "hyperLink" | "simplexLink" | "command" | "mention" | "email" | "phone";
1540
+ export type Tag = "bold" | "italic" | "strikeThrough" | "snippet" | "secret" | "small" | "colored" | "uri" | "hyperLink" | "simplexLink" | "command" | "mention" | "email" | "phone";
1486
1541
  interface Interface {
1487
1542
  type: Tag;
1488
1543
  }
@@ -1501,6 +1556,9 @@ export declare namespace Format {
1501
1556
  export interface Secret extends Interface {
1502
1557
  type: "secret";
1503
1558
  }
1559
+ export interface Small extends Interface {
1560
+ type: "small";
1561
+ }
1504
1562
  export interface Colored extends Interface {
1505
1563
  type: "colored";
1506
1564
  color: Color;
@@ -1551,6 +1609,7 @@ export interface FullGroupPreferences {
1551
1609
  reports: GroupPreference;
1552
1610
  history: GroupPreference;
1553
1611
  sessions: RoleGroupPreference;
1612
+ comments: CommentsGroupPreference;
1554
1613
  commands: ChatBotCommand[];
1555
1614
  }
1556
1615
  export interface FullPreferences {
@@ -1609,7 +1668,8 @@ export declare enum GroupFeature {
1609
1668
  SimplexLinks = "simplexLinks",
1610
1669
  Reports = "reports",
1611
1670
  History = "history",
1612
- Sessions = "sessions"
1671
+ Sessions = "sessions",
1672
+ Comments = "comments"
1613
1673
  }
1614
1674
  export declare enum GroupFeatureEnabled {
1615
1675
  On = "on",
@@ -1618,6 +1678,7 @@ export declare enum GroupFeatureEnabled {
1618
1678
  export interface GroupInfo {
1619
1679
  groupId: number;
1620
1680
  useRelays: boolean;
1681
+ relayOwnStatus?: RelayStatus;
1621
1682
  localDisplayName: string;
1622
1683
  groupProfile: GroupProfile;
1623
1684
  localAlias: string;
@@ -1637,6 +1698,12 @@ export interface GroupInfo {
1637
1698
  groupSummary: GroupSummary;
1638
1699
  membersRequireAttention: number;
1639
1700
  viaGroupLinkUri?: string;
1701
+ groupKeys?: GroupKeys;
1702
+ }
1703
+ export interface GroupKeys {
1704
+ publicGroupId: string;
1705
+ groupRootKey: GroupRootKey;
1706
+ memberPrivKey: string;
1640
1707
  }
1641
1708
  export interface GroupLink {
1642
1709
  userContactLinkId: number;
@@ -1646,15 +1713,21 @@ export interface GroupLink {
1646
1713
  groupLinkId: string;
1647
1714
  acceptMemberRole: GroupMemberRole;
1648
1715
  }
1649
- export type GroupLinkPlan = GroupLinkPlan.Ok | GroupLinkPlan.OwnLink | GroupLinkPlan.ConnectingConfirmReconnect | GroupLinkPlan.ConnectingProhibit | GroupLinkPlan.Known;
1716
+ export interface GroupLinkOwner {
1717
+ memberId: string;
1718
+ memberKey: string;
1719
+ }
1720
+ export type GroupLinkPlan = GroupLinkPlan.Ok | GroupLinkPlan.OwnLink | GroupLinkPlan.ConnectingConfirmReconnect | GroupLinkPlan.ConnectingProhibit | GroupLinkPlan.Known | GroupLinkPlan.NoRelays;
1650
1721
  export declare namespace GroupLinkPlan {
1651
- export type Tag = "ok" | "ownLink" | "connectingConfirmReconnect" | "connectingProhibit" | "known";
1722
+ export type Tag = "ok" | "ownLink" | "connectingConfirmReconnect" | "connectingProhibit" | "known" | "noRelays";
1652
1723
  interface Interface {
1653
1724
  type: Tag;
1654
1725
  }
1655
1726
  export interface Ok extends Interface {
1656
1727
  type: "ok";
1728
+ groupSLinkInfo_?: GroupShortLinkInfo;
1657
1729
  groupSLinkData_?: GroupShortLinkData;
1730
+ ownerVerification?: OwnerVerification;
1658
1731
  }
1659
1732
  export interface OwnLink extends Interface {
1660
1733
  type: "ownLink";
@@ -1670,6 +1743,13 @@ export declare namespace GroupLinkPlan {
1670
1743
  export interface Known extends Interface {
1671
1744
  type: "known";
1672
1745
  groupInfo: GroupInfo;
1746
+ groupUpdated: boolean;
1747
+ ownerVerification?: OwnerVerification;
1748
+ linkOwners: GroupLinkOwner[];
1749
+ }
1750
+ export interface NoRelays extends Interface {
1751
+ type: "noRelays";
1752
+ groupSLinkData_?: GroupShortLinkData;
1673
1753
  }
1674
1754
  export {};
1675
1755
  }
@@ -1694,6 +1774,8 @@ export interface GroupMember {
1694
1774
  createdAt: string;
1695
1775
  updatedAt: string;
1696
1776
  supportChat?: GroupSupportChat;
1777
+ memberPubKey?: string;
1778
+ relayLink?: string;
1697
1779
  }
1698
1780
  export interface GroupMemberAdmission {
1699
1781
  review?: MemberCriteria;
@@ -1710,6 +1792,7 @@ export interface GroupMemberRef {
1710
1792
  profile: Profile;
1711
1793
  }
1712
1794
  export declare enum GroupMemberRole {
1795
+ Relay = "relay",
1713
1796
  Observer = "observer",
1714
1797
  Author = "author",
1715
1798
  Member = "member",
@@ -1751,6 +1834,7 @@ export interface GroupPreferences {
1751
1834
  reports?: GroupPreference;
1752
1835
  history?: GroupPreference;
1753
1836
  sessions?: RoleGroupPreference;
1837
+ comments?: CommentsGroupPreference;
1754
1838
  commands?: ChatBotCommand[];
1755
1839
  }
1756
1840
  export interface GroupProfile {
@@ -1759,14 +1843,45 @@ export interface GroupProfile {
1759
1843
  shortDescr?: string;
1760
1844
  description?: string;
1761
1845
  image?: string;
1846
+ publicGroup?: PublicGroupProfile;
1762
1847
  groupPreferences?: GroupPreferences;
1763
1848
  memberAdmission?: GroupMemberAdmission;
1764
1849
  }
1850
+ export interface GroupRelay {
1851
+ groupRelayId: number;
1852
+ groupMemberId: number;
1853
+ userChatRelay: UserChatRelay;
1854
+ relayStatus: RelayStatus;
1855
+ relayLink?: string;
1856
+ }
1857
+ export type GroupRootKey = GroupRootKey.Private | GroupRootKey.Public;
1858
+ export declare namespace GroupRootKey {
1859
+ export type Tag = "private" | "public";
1860
+ interface Interface {
1861
+ type: Tag;
1862
+ }
1863
+ export interface Private extends Interface {
1864
+ type: "private";
1865
+ rootPrivKey: string;
1866
+ }
1867
+ export interface Public extends Interface {
1868
+ type: "public";
1869
+ rootPubKey: string;
1870
+ }
1871
+ export {};
1872
+ }
1765
1873
  export interface GroupShortLinkData {
1766
1874
  groupProfile: GroupProfile;
1875
+ publicGroupData?: PublicGroupData;
1876
+ }
1877
+ export interface GroupShortLinkInfo {
1878
+ direct: boolean;
1879
+ groupRelays: string[];
1880
+ publicGroupId?: string;
1767
1881
  }
1768
1882
  export interface GroupSummary {
1769
1883
  currentMembers: number;
1884
+ publicMemberCount?: number;
1770
1885
  }
1771
1886
  export interface GroupSupportChat {
1772
1887
  chatTs: string;
@@ -1775,6 +1890,10 @@ export interface GroupSupportChat {
1775
1890
  mentions: number;
1776
1891
  lastMsgFromMemberTs?: string;
1777
1892
  }
1893
+ export declare enum GroupType {
1894
+ Channel = "channel",
1895
+ Group = "group"
1896
+ }
1778
1897
  export declare enum HandshakeError {
1779
1898
  PARSE = "PARSE",
1780
1899
  IDENTITY = "IDENTITY",
@@ -1794,6 +1913,7 @@ export declare namespace InvitationLinkPlan {
1794
1913
  export interface Ok extends Interface {
1795
1914
  type: "ok";
1796
1915
  contactSLinkData_?: ContactShortLinkData;
1916
+ ownerVerification?: OwnerVerification;
1797
1917
  }
1798
1918
  export interface OwnLink extends Interface {
1799
1919
  type: "ownLink";
@@ -1849,6 +1969,11 @@ export declare namespace LinkContent {
1849
1969
  }
1850
1970
  export {};
1851
1971
  }
1972
+ export interface LinkOwnerSig {
1973
+ ownerId?: string;
1974
+ chatBinding: string;
1975
+ ownerSig: string;
1976
+ }
1852
1977
  export interface LinkPreview {
1853
1978
  uri: string;
1854
1979
  title: string;
@@ -1938,6 +2063,7 @@ export declare namespace MsgContent {
1938
2063
  type: "chat";
1939
2064
  text: string;
1940
2065
  chatLink: MsgChatLink;
2066
+ ownerSig?: LinkOwnerSig;
1941
2067
  }
1942
2068
  export interface Unknown extends Interface {
1943
2069
  type: "unknown";
@@ -2007,6 +2133,10 @@ export declare enum MsgReceiptStatus {
2007
2133
  Ok = "ok",
2008
2134
  BadMsgHash = "badMsgHash"
2009
2135
  }
2136
+ export declare enum MsgSigStatus {
2137
+ Verified = "verified",
2138
+ SignedNoKey = "signedNoKey"
2139
+ }
2010
2140
  export type NetworkError = NetworkError.ConnectError | NetworkError.TLSError | NetworkError.UnknownCAError | NetworkError.FailedError | NetworkError.TimeoutError | NetworkError.SubscribeError;
2011
2141
  export declare namespace NetworkError {
2012
2142
  export type Tag = "connectError" | "tLSError" | "unknownCAError" | "failedError" | "timeoutError" | "subscribeError";
@@ -2039,6 +2169,7 @@ export declare namespace NetworkError {
2039
2169
  export interface NewUser {
2040
2170
  profile?: Profile;
2041
2171
  pastTimestamp: boolean;
2172
+ userChatRelay: boolean;
2042
2173
  }
2043
2174
  export interface NoteFolder {
2044
2175
  noteFolderId: number;
@@ -2049,6 +2180,21 @@ export interface NoteFolder {
2049
2180
  favorite: boolean;
2050
2181
  unread: boolean;
2051
2182
  }
2183
+ export type OwnerVerification = OwnerVerification.Verified | OwnerVerification.Failed;
2184
+ export declare namespace OwnerVerification {
2185
+ export type Tag = "verified" | "failed";
2186
+ interface Interface {
2187
+ type: Tag;
2188
+ }
2189
+ export interface Verified extends Interface {
2190
+ type: "verified";
2191
+ }
2192
+ export interface Failed extends Interface {
2193
+ type: "failed";
2194
+ reason: string;
2195
+ }
2196
+ export {};
2197
+ }
2052
2198
  export interface PendingContactConnection {
2053
2199
  pccConnId: number;
2054
2200
  pccAgentConnId: string;
@@ -2140,6 +2286,14 @@ export declare namespace ProxyError {
2140
2286
  }
2141
2287
  export {};
2142
2288
  }
2289
+ export interface PublicGroupData {
2290
+ publicMemberCount: number;
2291
+ }
2292
+ export interface PublicGroupProfile {
2293
+ groupType: GroupType;
2294
+ groupLink: string;
2295
+ publicGroupId: string;
2296
+ }
2143
2297
  export type RCErrorType = RCErrorType.Internal | RCErrorType.Identity | RCErrorType.NoLocalAddress | RCErrorType.NewController | RCErrorType.NotDiscovered | RCErrorType.TLSStartFailed | RCErrorType.Exception | RCErrorType.CtrlAuth | RCErrorType.CtrlNotFound | RCErrorType.CtrlError | RCErrorType.Invitation | RCErrorType.Version | RCErrorType.Encrypt | RCErrorType.Decrypt | RCErrorType.BlockSize | RCErrorType.Syntax;
2144
2298
  export declare namespace RCErrorType {
2145
2299
  export type Tag = "internal" | "identity" | "noLocalAddress" | "newController" | "notDiscovered" | "tLSStartFailed" | "exception" | "ctrlAuth" | "ctrlNotFound" | "ctrlError" | "invitation" | "version" | "encrypt" | "decrypt" | "blockSize" | "syntax";
@@ -2295,9 +2449,9 @@ export interface RcvFileTransfer {
2295
2449
  grpMemberId?: number;
2296
2450
  cryptoArgs?: CryptoFileArgs;
2297
2451
  }
2298
- export type RcvGroupEvent = RcvGroupEvent.MemberAdded | RcvGroupEvent.MemberConnected | RcvGroupEvent.MemberAccepted | RcvGroupEvent.UserAccepted | RcvGroupEvent.MemberLeft | RcvGroupEvent.MemberRole | RcvGroupEvent.MemberBlocked | RcvGroupEvent.UserRole | RcvGroupEvent.MemberDeleted | RcvGroupEvent.UserDeleted | RcvGroupEvent.GroupDeleted | RcvGroupEvent.GroupUpdated | RcvGroupEvent.InvitedViaGroupLink | RcvGroupEvent.MemberCreatedContact | RcvGroupEvent.MemberProfileUpdated | RcvGroupEvent.NewMemberPendingReview;
2452
+ export type RcvGroupEvent = RcvGroupEvent.MemberAdded | RcvGroupEvent.MemberConnected | RcvGroupEvent.MemberAccepted | RcvGroupEvent.UserAccepted | RcvGroupEvent.MemberLeft | RcvGroupEvent.MemberRole | RcvGroupEvent.MemberBlocked | RcvGroupEvent.UserRole | RcvGroupEvent.MemberDeleted | RcvGroupEvent.UserDeleted | RcvGroupEvent.GroupDeleted | RcvGroupEvent.GroupUpdated | RcvGroupEvent.InvitedViaGroupLink | RcvGroupEvent.MemberCreatedContact | RcvGroupEvent.MemberProfileUpdated | RcvGroupEvent.NewMemberPendingReview | RcvGroupEvent.MsgBadSignature;
2299
2453
  export declare namespace RcvGroupEvent {
2300
- export type Tag = "memberAdded" | "memberConnected" | "memberAccepted" | "userAccepted" | "memberLeft" | "memberRole" | "memberBlocked" | "userRole" | "memberDeleted" | "userDeleted" | "groupDeleted" | "groupUpdated" | "invitedViaGroupLink" | "memberCreatedContact" | "memberProfileUpdated" | "newMemberPendingReview";
2454
+ export type Tag = "memberAdded" | "memberConnected" | "memberAccepted" | "userAccepted" | "memberLeft" | "memberRole" | "memberBlocked" | "userRole" | "memberDeleted" | "userDeleted" | "groupDeleted" | "groupUpdated" | "invitedViaGroupLink" | "memberCreatedContact" | "memberProfileUpdated" | "newMemberPendingReview" | "msgBadSignature";
2301
2455
  interface Interface {
2302
2456
  type: Tag;
2303
2457
  }
@@ -2365,8 +2519,40 @@ export declare namespace RcvGroupEvent {
2365
2519
  export interface NewMemberPendingReview extends Interface {
2366
2520
  type: "newMemberPendingReview";
2367
2521
  }
2522
+ export interface MsgBadSignature extends Interface {
2523
+ type: "msgBadSignature";
2524
+ }
2525
+ export {};
2526
+ }
2527
+ export type RcvMsgError = RcvMsgError.Dropped | RcvMsgError.ParseError;
2528
+ export declare namespace RcvMsgError {
2529
+ export type Tag = "dropped" | "parseError";
2530
+ interface Interface {
2531
+ type: Tag;
2532
+ }
2533
+ export interface Dropped extends Interface {
2534
+ type: "dropped";
2535
+ attempts: number;
2536
+ }
2537
+ export interface ParseError extends Interface {
2538
+ type: "parseError";
2539
+ parseError: string;
2540
+ }
2368
2541
  export {};
2369
2542
  }
2543
+ export interface RelayProfile {
2544
+ displayName: string;
2545
+ fullName: string;
2546
+ shortDescr?: string;
2547
+ image?: string;
2548
+ }
2549
+ export declare enum RelayStatus {
2550
+ New = "new",
2551
+ Invited = "invited",
2552
+ Accepted = "accepted",
2553
+ Active = "active",
2554
+ Inactive = "inactive"
2555
+ }
2370
2556
  export declare enum ReportReason {
2371
2557
  Spam = "spam",
2372
2558
  Content = "content",
@@ -2404,6 +2590,7 @@ export declare namespace SMPAgentError {
2404
2590
  }
2405
2591
  export interface A_DUPLICATE extends Interface {
2406
2592
  type: "A_DUPLICATE";
2593
+ droppedMsg_?: DroppedMsg;
2407
2594
  }
2408
2595
  export interface A_QUEUE extends Interface {
2409
2596
  type: "A_QUEUE";
@@ -2562,9 +2749,9 @@ export declare namespace SrvError {
2562
2749
  }
2563
2750
  export {};
2564
2751
  }
2565
- export type StoreError = StoreError.DuplicateName | StoreError.UserNotFound | StoreError.UserNotFoundByName | StoreError.UserNotFoundByContactId | StoreError.UserNotFoundByGroupId | StoreError.UserNotFoundByFileId | StoreError.UserNotFoundByContactRequestId | StoreError.ContactNotFound | StoreError.ContactNotFoundByName | StoreError.ContactNotFoundByMemberId | StoreError.ContactNotReady | StoreError.DuplicateContactLink | StoreError.UserContactLinkNotFound | StoreError.ContactRequestNotFound | StoreError.ContactRequestNotFoundByName | StoreError.InvalidContactRequestEntity | StoreError.InvalidBusinessChatContactRequest | StoreError.GroupNotFound | StoreError.GroupNotFoundByName | StoreError.GroupMemberNameNotFound | StoreError.GroupMemberNotFound | StoreError.GroupMemberNotFoundByIndex | StoreError.MemberRelationsVectorNotFound | StoreError.GroupHostMemberNotFound | StoreError.GroupMemberNotFoundByMemberId | StoreError.MemberContactGroupMemberNotFound | StoreError.InvalidMemberRelationUpdate | StoreError.GroupWithoutUser | StoreError.DuplicateGroupMember | StoreError.GroupAlreadyJoined | StoreError.GroupInvitationNotFound | StoreError.NoteFolderAlreadyExists | StoreError.NoteFolderNotFound | StoreError.UserNoteFolderNotFound | StoreError.SndFileNotFound | StoreError.SndFileInvalid | StoreError.RcvFileNotFound | StoreError.RcvFileDescrNotFound | StoreError.FileNotFound | StoreError.RcvFileInvalid | StoreError.RcvFileInvalidDescrPart | StoreError.LocalFileNoTransfer | StoreError.SharedMsgIdNotFoundByFileId | StoreError.FileIdNotFoundBySharedMsgId | StoreError.SndFileNotFoundXFTP | StoreError.RcvFileNotFoundXFTP | StoreError.ConnectionNotFound | StoreError.ConnectionNotFoundById | StoreError.ConnectionNotFoundByMemberId | StoreError.PendingConnectionNotFound | StoreError.UniqueID | StoreError.LargeMsg | StoreError.InternalError | StoreError.DBException | StoreError.DBBusyError | StoreError.BadChatItem | StoreError.ChatItemNotFound | StoreError.ChatItemNotFoundByText | StoreError.ChatItemSharedMsgIdNotFound | StoreError.ChatItemNotFoundByFileId | StoreError.ChatItemNotFoundByContactId | StoreError.ChatItemNotFoundByGroupId | StoreError.ProfileNotFound | StoreError.DuplicateGroupLink | StoreError.GroupLinkNotFound | StoreError.HostMemberIdNotFound | StoreError.ContactNotFoundByFileId | StoreError.NoGroupSndStatus | StoreError.DuplicateGroupMessage | StoreError.RemoteHostNotFound | StoreError.RemoteHostUnknown | StoreError.RemoteHostDuplicateCA | StoreError.RemoteCtrlNotFound | StoreError.RemoteCtrlDuplicateCA | StoreError.ProhibitedDeleteUser | StoreError.OperatorNotFound | StoreError.UsageConditionsNotFound | StoreError.InvalidQuote | StoreError.InvalidMention | StoreError.InvalidDeliveryTask | StoreError.DeliveryTaskNotFound | StoreError.InvalidDeliveryJob | StoreError.DeliveryJobNotFound | StoreError.WorkItemError;
2752
+ export type StoreError = StoreError.DuplicateName | StoreError.UserNotFound | StoreError.RelayUserNotFound | StoreError.UserNotFoundByName | StoreError.UserNotFoundByContactId | StoreError.UserNotFoundByGroupId | StoreError.UserNotFoundByFileId | StoreError.UserNotFoundByContactRequestId | StoreError.ContactNotFound | StoreError.ContactNotFoundByName | StoreError.ContactNotFoundByMemberId | StoreError.ContactNotReady | StoreError.DuplicateContactLink | StoreError.UserContactLinkNotFound | StoreError.ContactRequestNotFound | StoreError.ContactRequestNotFoundByName | StoreError.InvalidContactRequestEntity | StoreError.InvalidBusinessChatContactRequest | StoreError.GroupNotFound | StoreError.GroupNotFoundByName | StoreError.GroupMemberNameNotFound | StoreError.GroupMemberNotFound | StoreError.GroupMemberNotFoundByIndex | StoreError.MemberRelationsVectorNotFound | StoreError.GroupHostMemberNotFound | StoreError.GroupMemberNotFoundByMemberId | StoreError.MemberContactGroupMemberNotFound | StoreError.InvalidMemberRelationUpdate | StoreError.GroupWithoutUser | StoreError.DuplicateGroupMember | StoreError.DuplicateMemberId | StoreError.GroupAlreadyJoined | StoreError.GroupInvitationNotFound | StoreError.NoteFolderAlreadyExists | StoreError.NoteFolderNotFound | StoreError.UserNoteFolderNotFound | StoreError.SndFileNotFound | StoreError.SndFileInvalid | StoreError.RcvFileNotFound | StoreError.RcvFileDescrNotFound | StoreError.FileNotFound | StoreError.RcvFileInvalid | StoreError.RcvFileInvalidDescrPart | StoreError.LocalFileNoTransfer | StoreError.SharedMsgIdNotFoundByFileId | StoreError.FileIdNotFoundBySharedMsgId | StoreError.SndFileNotFoundXFTP | StoreError.RcvFileNotFoundXFTP | StoreError.ConnectionNotFound | StoreError.ConnectionNotFoundById | StoreError.ConnectionNotFoundByMemberId | StoreError.PendingConnectionNotFound | StoreError.UniqueID | StoreError.LargeMsg | StoreError.InternalError | StoreError.DBException | StoreError.DBBusyError | StoreError.BadChatItem | StoreError.ChatItemNotFound | StoreError.ChatItemNotFoundByText | StoreError.ChatItemSharedMsgIdNotFound | StoreError.ChatItemNotFoundByFileId | StoreError.ChatItemNotFoundByContactId | StoreError.ChatItemNotFoundByGroupId | StoreError.ProfileNotFound | StoreError.DuplicateGroupLink | StoreError.GroupLinkNotFound | StoreError.HostMemberIdNotFound | StoreError.ContactNotFoundByFileId | StoreError.NoGroupSndStatus | StoreError.DuplicateGroupMessage | StoreError.RemoteHostNotFound | StoreError.RemoteHostUnknown | StoreError.RemoteHostDuplicateCA | StoreError.RemoteCtrlNotFound | StoreError.RemoteCtrlDuplicateCA | StoreError.ProhibitedDeleteUser | StoreError.OperatorNotFound | StoreError.UsageConditionsNotFound | StoreError.UserChatRelayNotFound | StoreError.GroupRelayNotFound | StoreError.GroupRelayNotFoundByMemberId | StoreError.InvalidQuote | StoreError.InvalidMention | StoreError.InvalidDeliveryTask | StoreError.DeliveryTaskNotFound | StoreError.InvalidDeliveryJob | StoreError.DeliveryJobNotFound | StoreError.WorkItemError;
2566
2753
  export declare namespace StoreError {
2567
- export type Tag = "duplicateName" | "userNotFound" | "userNotFoundByName" | "userNotFoundByContactId" | "userNotFoundByGroupId" | "userNotFoundByFileId" | "userNotFoundByContactRequestId" | "contactNotFound" | "contactNotFoundByName" | "contactNotFoundByMemberId" | "contactNotReady" | "duplicateContactLink" | "userContactLinkNotFound" | "contactRequestNotFound" | "contactRequestNotFoundByName" | "invalidContactRequestEntity" | "invalidBusinessChatContactRequest" | "groupNotFound" | "groupNotFoundByName" | "groupMemberNameNotFound" | "groupMemberNotFound" | "groupMemberNotFoundByIndex" | "memberRelationsVectorNotFound" | "groupHostMemberNotFound" | "groupMemberNotFoundByMemberId" | "memberContactGroupMemberNotFound" | "invalidMemberRelationUpdate" | "groupWithoutUser" | "duplicateGroupMember" | "groupAlreadyJoined" | "groupInvitationNotFound" | "noteFolderAlreadyExists" | "noteFolderNotFound" | "userNoteFolderNotFound" | "sndFileNotFound" | "sndFileInvalid" | "rcvFileNotFound" | "rcvFileDescrNotFound" | "fileNotFound" | "rcvFileInvalid" | "rcvFileInvalidDescrPart" | "localFileNoTransfer" | "sharedMsgIdNotFoundByFileId" | "fileIdNotFoundBySharedMsgId" | "sndFileNotFoundXFTP" | "rcvFileNotFoundXFTP" | "connectionNotFound" | "connectionNotFoundById" | "connectionNotFoundByMemberId" | "pendingConnectionNotFound" | "uniqueID" | "largeMsg" | "internalError" | "dBException" | "dBBusyError" | "badChatItem" | "chatItemNotFound" | "chatItemNotFoundByText" | "chatItemSharedMsgIdNotFound" | "chatItemNotFoundByFileId" | "chatItemNotFoundByContactId" | "chatItemNotFoundByGroupId" | "profileNotFound" | "duplicateGroupLink" | "groupLinkNotFound" | "hostMemberIdNotFound" | "contactNotFoundByFileId" | "noGroupSndStatus" | "duplicateGroupMessage" | "remoteHostNotFound" | "remoteHostUnknown" | "remoteHostDuplicateCA" | "remoteCtrlNotFound" | "remoteCtrlDuplicateCA" | "prohibitedDeleteUser" | "operatorNotFound" | "usageConditionsNotFound" | "invalidQuote" | "invalidMention" | "invalidDeliveryTask" | "deliveryTaskNotFound" | "invalidDeliveryJob" | "deliveryJobNotFound" | "workItemError";
2754
+ export type Tag = "duplicateName" | "userNotFound" | "relayUserNotFound" | "userNotFoundByName" | "userNotFoundByContactId" | "userNotFoundByGroupId" | "userNotFoundByFileId" | "userNotFoundByContactRequestId" | "contactNotFound" | "contactNotFoundByName" | "contactNotFoundByMemberId" | "contactNotReady" | "duplicateContactLink" | "userContactLinkNotFound" | "contactRequestNotFound" | "contactRequestNotFoundByName" | "invalidContactRequestEntity" | "invalidBusinessChatContactRequest" | "groupNotFound" | "groupNotFoundByName" | "groupMemberNameNotFound" | "groupMemberNotFound" | "groupMemberNotFoundByIndex" | "memberRelationsVectorNotFound" | "groupHostMemberNotFound" | "groupMemberNotFoundByMemberId" | "memberContactGroupMemberNotFound" | "invalidMemberRelationUpdate" | "groupWithoutUser" | "duplicateGroupMember" | "duplicateMemberId" | "groupAlreadyJoined" | "groupInvitationNotFound" | "noteFolderAlreadyExists" | "noteFolderNotFound" | "userNoteFolderNotFound" | "sndFileNotFound" | "sndFileInvalid" | "rcvFileNotFound" | "rcvFileDescrNotFound" | "fileNotFound" | "rcvFileInvalid" | "rcvFileInvalidDescrPart" | "localFileNoTransfer" | "sharedMsgIdNotFoundByFileId" | "fileIdNotFoundBySharedMsgId" | "sndFileNotFoundXFTP" | "rcvFileNotFoundXFTP" | "connectionNotFound" | "connectionNotFoundById" | "connectionNotFoundByMemberId" | "pendingConnectionNotFound" | "uniqueID" | "largeMsg" | "internalError" | "dBException" | "dBBusyError" | "badChatItem" | "chatItemNotFound" | "chatItemNotFoundByText" | "chatItemSharedMsgIdNotFound" | "chatItemNotFoundByFileId" | "chatItemNotFoundByContactId" | "chatItemNotFoundByGroupId" | "profileNotFound" | "duplicateGroupLink" | "groupLinkNotFound" | "hostMemberIdNotFound" | "contactNotFoundByFileId" | "noGroupSndStatus" | "duplicateGroupMessage" | "remoteHostNotFound" | "remoteHostUnknown" | "remoteHostDuplicateCA" | "remoteCtrlNotFound" | "remoteCtrlDuplicateCA" | "prohibitedDeleteUser" | "operatorNotFound" | "usageConditionsNotFound" | "userChatRelayNotFound" | "groupRelayNotFound" | "groupRelayNotFoundByMemberId" | "invalidQuote" | "invalidMention" | "invalidDeliveryTask" | "deliveryTaskNotFound" | "invalidDeliveryJob" | "deliveryJobNotFound" | "workItemError";
2568
2755
  interface Interface {
2569
2756
  type: Tag;
2570
2757
  }
@@ -2575,6 +2762,9 @@ export declare namespace StoreError {
2575
2762
  type: "userNotFound";
2576
2763
  userId: number;
2577
2764
  }
2765
+ export interface RelayUserNotFound extends Interface {
2766
+ type: "relayUserNotFound";
2767
+ }
2578
2768
  export interface UserNotFoundByName extends Interface {
2579
2769
  type: "userNotFoundByName";
2580
2770
  contactName: string;
@@ -2678,6 +2868,9 @@ export declare namespace StoreError {
2678
2868
  export interface DuplicateGroupMember extends Interface {
2679
2869
  type: "duplicateGroupMember";
2680
2870
  }
2871
+ export interface DuplicateMemberId extends Interface {
2872
+ type: "duplicateMemberId";
2873
+ }
2681
2874
  export interface GroupAlreadyJoined extends Interface {
2682
2875
  type: "groupAlreadyJoined";
2683
2876
  }
@@ -2866,6 +3059,18 @@ export declare namespace StoreError {
2866
3059
  export interface UsageConditionsNotFound extends Interface {
2867
3060
  type: "usageConditionsNotFound";
2868
3061
  }
3062
+ export interface UserChatRelayNotFound extends Interface {
3063
+ type: "userChatRelayNotFound";
3064
+ chatRelayId: number;
3065
+ }
3066
+ export interface GroupRelayNotFound extends Interface {
3067
+ type: "groupRelayNotFound";
3068
+ groupRelayId: number;
3069
+ }
3070
+ export interface GroupRelayNotFoundByMemberId extends Interface {
3071
+ type: "groupRelayNotFoundByMemberId";
3072
+ groupMemberId: number;
3073
+ }
2869
3074
  export interface InvalidQuote extends Interface {
2870
3075
  type: "invalidQuote";
2871
3076
  }
@@ -3005,6 +3210,17 @@ export interface User {
3005
3210
  autoAcceptMemberContacts: boolean;
3006
3211
  userMemberProfileUpdatedAt?: string;
3007
3212
  uiThemes?: UIThemeEntityOverrides;
3213
+ userChatRelay: boolean;
3214
+ }
3215
+ export interface UserChatRelay {
3216
+ chatRelayId: number;
3217
+ address: string;
3218
+ relayProfile: RelayProfile;
3219
+ domains: string[];
3220
+ preset: boolean;
3221
+ tested?: boolean;
3222
+ enabled: boolean;
3223
+ deleted: boolean;
3008
3224
  }
3009
3225
  export interface UserContact {
3010
3226
  userContactLinkId: number;
package/dist/types.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // API Types
3
3
  // This file is generated automatically.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.UIColorMode = exports.SwitchPhase = exports.SndCIStatusProgress = exports.SimplexLinkType = exports.ReportReason = exports.RatchetSyncState = exports.MsgReceiptStatus = exports.MsgFilter = exports.MsgDirection = exports.MsgDecryptError = exports.MemberCriteria = exports.InlineFileMode = exports.HandshakeError = exports.GroupMemberStatus = exports.GroupMemberRole = exports.GroupMemberCategory = exports.GroupFeatureEnabled = exports.GroupFeature = exports.GroupChatScope = exports.FileStatus = exports.FileProtocol = exports.FeatureAllowed = exports.CreatedConnLink = exports.ContactStatus = exports.ConnectionMode = exports.ConnType = exports.ConnStatus = exports.Color = exports.ChatWallpaperScale = exports.ChatType = exports.ChatRef = exports.ChatPeerType = exports.ChatFeature = exports.ChatDeleteMode = exports.CIGroupInvitationStatus = exports.CIDeleteMode = exports.CICallStatus = exports.BusinessChatType = exports.BlockingReason = void 0;
5
+ exports.UIColorMode = exports.SwitchPhase = exports.SndCIStatusProgress = exports.SimplexLinkType = exports.ReportReason = exports.RelayStatus = exports.RatchetSyncState = exports.MsgSigStatus = exports.MsgReceiptStatus = exports.MsgFilter = exports.MsgDirection = exports.MsgDecryptError = exports.MemberCriteria = exports.InlineFileMode = exports.HandshakeError = exports.GroupType = exports.GroupMemberStatus = exports.GroupMemberRole = exports.GroupMemberCategory = exports.GroupFeatureEnabled = exports.GroupFeature = exports.GroupChatScope = exports.FileStatus = exports.FileProtocol = exports.FeatureAllowed = exports.CreatedConnLink = exports.ContactStatus = exports.ConnectionMode = exports.ConnType = exports.Color = exports.ChatWallpaperScale = exports.ChatType = exports.ChatRef = exports.ChatPeerType = exports.ChatFeature = exports.ChatDeleteMode = exports.CIGroupInvitationStatus = exports.CIDeleteMode = exports.CICallStatus = exports.BusinessChatType = exports.BlockingReason = void 0;
6
6
  var BlockingReason;
7
7
  (function (BlockingReason) {
8
8
  BlockingReason["Spam"] = "spam";
@@ -95,17 +95,6 @@ var Color;
95
95
  Color["Cyan"] = "cyan";
96
96
  Color["White"] = "white";
97
97
  })(Color || (exports.Color = Color = {}));
98
- var ConnStatus;
99
- (function (ConnStatus) {
100
- ConnStatus["New"] = "new";
101
- ConnStatus["Prepared"] = "prepared";
102
- ConnStatus["Joined"] = "joined";
103
- ConnStatus["Requested"] = "requested";
104
- ConnStatus["Accepted"] = "accepted";
105
- ConnStatus["Snd_ready"] = "snd-ready";
106
- ConnStatus["Ready"] = "ready";
107
- ConnStatus["Deleted"] = "deleted";
108
- })(ConnStatus || (exports.ConnStatus = ConnStatus = {}));
109
98
  var ConnType;
110
99
  (function (ConnType) {
111
100
  ConnType["Contact"] = "contact";
@@ -169,6 +158,7 @@ var GroupFeature;
169
158
  GroupFeature["Reports"] = "reports";
170
159
  GroupFeature["History"] = "history";
171
160
  GroupFeature["Sessions"] = "sessions";
161
+ GroupFeature["Comments"] = "comments";
172
162
  })(GroupFeature || (exports.GroupFeature = GroupFeature = {}));
173
163
  var GroupFeatureEnabled;
174
164
  (function (GroupFeatureEnabled) {
@@ -185,6 +175,7 @@ var GroupMemberCategory;
185
175
  })(GroupMemberCategory || (exports.GroupMemberCategory = GroupMemberCategory = {}));
186
176
  var GroupMemberRole;
187
177
  (function (GroupMemberRole) {
178
+ GroupMemberRole["Relay"] = "relay";
188
179
  GroupMemberRole["Observer"] = "observer";
189
180
  GroupMemberRole["Author"] = "author";
190
181
  GroupMemberRole["Member"] = "member";
@@ -210,6 +201,11 @@ var GroupMemberStatus;
210
201
  GroupMemberStatus["Complete"] = "complete";
211
202
  GroupMemberStatus["Creator"] = "creator";
212
203
  })(GroupMemberStatus || (exports.GroupMemberStatus = GroupMemberStatus = {}));
204
+ var GroupType;
205
+ (function (GroupType) {
206
+ GroupType["Channel"] = "channel";
207
+ GroupType["Group"] = "group";
208
+ })(GroupType || (exports.GroupType = GroupType = {}));
213
209
  var HandshakeError;
214
210
  (function (HandshakeError) {
215
211
  HandshakeError["PARSE"] = "PARSE";
@@ -250,6 +246,11 @@ var MsgReceiptStatus;
250
246
  MsgReceiptStatus["Ok"] = "ok";
251
247
  MsgReceiptStatus["BadMsgHash"] = "badMsgHash";
252
248
  })(MsgReceiptStatus || (exports.MsgReceiptStatus = MsgReceiptStatus = {}));
249
+ var MsgSigStatus;
250
+ (function (MsgSigStatus) {
251
+ MsgSigStatus["Verified"] = "verified";
252
+ MsgSigStatus["SignedNoKey"] = "signedNoKey";
253
+ })(MsgSigStatus || (exports.MsgSigStatus = MsgSigStatus = {}));
253
254
  var RatchetSyncState;
254
255
  (function (RatchetSyncState) {
255
256
  RatchetSyncState["Ok"] = "ok";
@@ -258,6 +259,14 @@ var RatchetSyncState;
258
259
  RatchetSyncState["Started"] = "started";
259
260
  RatchetSyncState["Agreed"] = "agreed";
260
261
  })(RatchetSyncState || (exports.RatchetSyncState = RatchetSyncState = {}));
262
+ var RelayStatus;
263
+ (function (RelayStatus) {
264
+ RelayStatus["New"] = "new";
265
+ RelayStatus["Invited"] = "invited";
266
+ RelayStatus["Accepted"] = "accepted";
267
+ RelayStatus["Active"] = "active";
268
+ RelayStatus["Inactive"] = "inactive";
269
+ })(RelayStatus || (exports.RelayStatus = RelayStatus = {}));
261
270
  var ReportReason;
262
271
  (function (ReportReason) {
263
272
  ReportReason["Spam"] = "spam";
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA,YAAY;AACZ,wCAAwC;;;AA2LxC,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAgED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,yCAAqB,CAAA;IACrB,yCAAqB,CAAA;AACvB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AAED,IAAY,YASX;AATD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IAC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nB,4CAAqB,CAAA;AACvB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAs0BD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AACzB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAqDD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,4BAAa,CAAA;AACf,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplex-chat/types",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "TypeScript types for SimpleX Chat bot libraries",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",