@simplex-chat/types 0.2.3 → 0.4.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.
- package/dist/commands.d.ts +41 -0
- package/dist/commands.js +36 -1
- package/dist/commands.js.map +1 -1
- package/dist/events.d.ts +40 -2
- package/dist/responses.d.ts +20 -2
- package/dist/types.d.ts +183 -19
- package/dist/types.js +18 -12
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
package/dist/commands.d.ts
CHANGED
|
@@ -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.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;
|
|
@@ -286,6 +303,30 @@ export declare namespace APIDeleteChat {
|
|
|
286
303
|
type Response = CR.ContactDeleted | CR.ContactConnectionDeleted | CR.GroupDeletedUser | CR.ChatCmdError;
|
|
287
304
|
function cmdString(self: APIDeleteChat): string;
|
|
288
305
|
}
|
|
306
|
+
export interface APISetGroupCustomData {
|
|
307
|
+
groupId: number;
|
|
308
|
+
customData?: object;
|
|
309
|
+
}
|
|
310
|
+
export declare namespace APISetGroupCustomData {
|
|
311
|
+
type Response = CR.CmdOk | CR.ChatCmdError;
|
|
312
|
+
function cmdString(self: APISetGroupCustomData): string;
|
|
313
|
+
}
|
|
314
|
+
export interface APISetContactCustomData {
|
|
315
|
+
contactId: number;
|
|
316
|
+
customData?: object;
|
|
317
|
+
}
|
|
318
|
+
export declare namespace APISetContactCustomData {
|
|
319
|
+
type Response = CR.CmdOk | CR.ChatCmdError;
|
|
320
|
+
function cmdString(self: APISetContactCustomData): string;
|
|
321
|
+
}
|
|
322
|
+
export interface APISetUserAutoAcceptMemberContacts {
|
|
323
|
+
userId: number;
|
|
324
|
+
onOff: boolean;
|
|
325
|
+
}
|
|
326
|
+
export declare namespace APISetUserAutoAcceptMemberContacts {
|
|
327
|
+
type Response = CR.CmdOk | CR.ChatCmdError;
|
|
328
|
+
function cmdString(self: APISetUserAutoAcceptMemberContacts): string;
|
|
329
|
+
}
|
|
289
330
|
export interface ShowActiveUser {
|
|
290
331
|
}
|
|
291
332
|
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) {
|
package/dist/commands.js.map
CHANGED
|
@@ -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;AAQD,IAAiB,kBAAkB,CAMlC;AAND,WAAiB,kBAAkB;IAGjC,SAAgB,SAAS,CAAC,IAAwB;QAChD,OAAO,mBAAmB,GAAG,IAAI,CAAC,MAAM,CAAA;IAC1C,CAAC;IAFe,4BAAS,YAExB,CAAA;AACH,CAAC,EANgB,kBAAkB,kCAAlB,kBAAkB,QAMlC;AAQD,IAAiB,gBAAgB,CAMhC;AAND,WAAiB,gBAAgB;IAG/B,SAAgB,SAAS,CAAC,IAAsB;QAC9C,OAAO,iBAAiB,GAAG,IAAI,CAAC,MAAM,CAAA;IACxC,CAAC;IAFe,0BAAS,YAExB,CAAA;AACH,CAAC,EANgB,gBAAgB,gCAAhB,gBAAgB,QAMhC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AAS,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.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" | "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;
|
|
@@ -272,6 +294,22 @@ export declare namespace CEvt {
|
|
|
272
294
|
groupInfo: T.GroupInfo;
|
|
273
295
|
hostMember: T.GroupMember;
|
|
274
296
|
}
|
|
297
|
+
export interface HostConnected extends Interface {
|
|
298
|
+
type: "hostConnected";
|
|
299
|
+
protocol: string;
|
|
300
|
+
transportHost: string;
|
|
301
|
+
}
|
|
302
|
+
export interface HostDisconnected extends Interface {
|
|
303
|
+
type: "hostDisconnected";
|
|
304
|
+
protocol: string;
|
|
305
|
+
transportHost: string;
|
|
306
|
+
}
|
|
307
|
+
export interface SubscriptionStatus extends Interface {
|
|
308
|
+
type: "subscriptionStatus";
|
|
309
|
+
server: string;
|
|
310
|
+
subscriptionStatus: T.SubscriptionStatus;
|
|
311
|
+
connections: string[];
|
|
312
|
+
}
|
|
275
313
|
export interface MessageError extends Interface {
|
|
276
314
|
type: "messageError";
|
|
277
315
|
user: T.User;
|
package/dist/responses.d.ts
CHANGED
|
@@ -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.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" | "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,19 @@ 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 GroupRelays extends Interface {
|
|
131
|
+
type: "groupRelays";
|
|
132
|
+
user: T.User;
|
|
133
|
+
groupInfo: T.GroupInfo;
|
|
134
|
+
groupRelays: T.GroupRelay[];
|
|
135
|
+
}
|
|
122
136
|
export interface GroupMembers extends Interface {
|
|
123
137
|
type: "groupMembers";
|
|
124
138
|
user: T.User;
|
|
@@ -130,6 +144,7 @@ export declare namespace CR {
|
|
|
130
144
|
fromGroup: T.GroupInfo;
|
|
131
145
|
toGroup: T.GroupInfo;
|
|
132
146
|
member_?: T.GroupMember;
|
|
147
|
+
msgSigned: boolean;
|
|
133
148
|
}
|
|
134
149
|
export interface GroupsList extends Interface {
|
|
135
150
|
type: "groupsList";
|
|
@@ -159,6 +174,7 @@ export declare namespace CR {
|
|
|
159
174
|
groupInfo: T.GroupInfo;
|
|
160
175
|
members: T.GroupMember[];
|
|
161
176
|
blocked: boolean;
|
|
177
|
+
msgSigned: boolean;
|
|
162
178
|
}
|
|
163
179
|
export interface MembersRoleUser extends Interface {
|
|
164
180
|
type: "membersRoleUser";
|
|
@@ -166,6 +182,7 @@ export declare namespace CR {
|
|
|
166
182
|
groupInfo: T.GroupInfo;
|
|
167
183
|
members: T.GroupMember[];
|
|
168
184
|
toRole: T.GroupMemberRole;
|
|
185
|
+
msgSigned: boolean;
|
|
169
186
|
}
|
|
170
187
|
export interface NewChatItems extends Interface {
|
|
171
188
|
type: "newChatItems";
|
|
@@ -245,6 +262,7 @@ export declare namespace CR {
|
|
|
245
262
|
groupInfo: T.GroupInfo;
|
|
246
263
|
members: T.GroupMember[];
|
|
247
264
|
withMessages: boolean;
|
|
265
|
+
msgSigned: boolean;
|
|
248
266
|
}
|
|
249
267
|
export interface UserProfileUpdated extends Interface {
|
|
250
268
|
type: "userProfileUpdated";
|
package/dist/types.d.ts
CHANGED
|
@@ -354,9 +354,9 @@ export declare namespace CIDeleted {
|
|
|
354
354
|
}
|
|
355
355
|
export {};
|
|
356
356
|
}
|
|
357
|
-
export type CIDirection = CIDirection.DirectSnd | CIDirection.DirectRcv | CIDirection.GroupSnd | CIDirection.GroupRcv | CIDirection.LocalSnd | CIDirection.LocalRcv;
|
|
357
|
+
export type CIDirection = CIDirection.DirectSnd | CIDirection.DirectRcv | CIDirection.GroupSnd | CIDirection.GroupRcv | CIDirection.ChannelRcv | CIDirection.LocalSnd | CIDirection.LocalRcv;
|
|
358
358
|
export declare namespace CIDirection {
|
|
359
|
-
export type Tag = "directSnd" | "directRcv" | "groupSnd" | "groupRcv" | "localSnd" | "localRcv";
|
|
359
|
+
export type Tag = "directSnd" | "directRcv" | "groupSnd" | "groupRcv" | "channelRcv" | "localSnd" | "localRcv";
|
|
360
360
|
interface Interface {
|
|
361
361
|
type: Tag;
|
|
362
362
|
}
|
|
@@ -373,6 +373,9 @@ export declare namespace CIDirection {
|
|
|
373
373
|
type: "groupRcv";
|
|
374
374
|
groupMember: GroupMember;
|
|
375
375
|
}
|
|
376
|
+
export interface ChannelRcv extends Interface {
|
|
377
|
+
type: "channelRcv";
|
|
378
|
+
}
|
|
376
379
|
export interface LocalSnd extends Interface {
|
|
377
380
|
type: "localSnd";
|
|
378
381
|
}
|
|
@@ -512,10 +515,12 @@ export interface CIMeta {
|
|
|
512
515
|
itemTimed?: CITimed;
|
|
513
516
|
itemLive?: boolean;
|
|
514
517
|
userMention: boolean;
|
|
518
|
+
hasLink: boolean;
|
|
515
519
|
deletable: boolean;
|
|
516
520
|
editable: boolean;
|
|
517
521
|
forwardedByMember?: number;
|
|
518
522
|
showGroupAsSender: boolean;
|
|
523
|
+
msgSigned?: MsgSigStatus;
|
|
519
524
|
createdAt: string;
|
|
520
525
|
updatedAt: string;
|
|
521
526
|
}
|
|
@@ -644,9 +649,9 @@ export declare namespace ChatError {
|
|
|
644
649
|
}
|
|
645
650
|
export {};
|
|
646
651
|
}
|
|
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;
|
|
652
|
+
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
653
|
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";
|
|
654
|
+
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
655
|
interface Interface {
|
|
651
656
|
type: Tag;
|
|
652
657
|
}
|
|
@@ -675,6 +680,9 @@ export declare namespace ChatErrorType {
|
|
|
675
680
|
type: "userExists";
|
|
676
681
|
contactName: string;
|
|
677
682
|
}
|
|
683
|
+
export interface ChatRelayExists extends Interface {
|
|
684
|
+
type: "chatRelayExists";
|
|
685
|
+
}
|
|
678
686
|
export interface DifferentActiveUser extends Interface {
|
|
679
687
|
type: "differentActiveUser";
|
|
680
688
|
commandUserId: number;
|
|
@@ -922,6 +930,10 @@ export declare namespace ChatErrorType {
|
|
|
922
930
|
export interface PeerChatVRangeIncompatible extends Interface {
|
|
923
931
|
type: "peerChatVRangeIncompatible";
|
|
924
932
|
}
|
|
933
|
+
export interface RelayTestError extends Interface {
|
|
934
|
+
type: "relayTestError";
|
|
935
|
+
message: string;
|
|
936
|
+
}
|
|
925
937
|
export interface InternalError extends Interface {
|
|
926
938
|
type: "internalError";
|
|
927
939
|
message: string;
|
|
@@ -1101,15 +1113,41 @@ export interface ComposedMessage {
|
|
|
1101
1113
|
[key: string]: number;
|
|
1102
1114
|
};
|
|
1103
1115
|
}
|
|
1104
|
-
export
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1116
|
+
export type ConnStatus = ConnStatus.New | ConnStatus.Prepared | ConnStatus.Joined | ConnStatus.Requested | ConnStatus.Accepted | ConnStatus.SndReady | ConnStatus.Ready | ConnStatus.Deleted | ConnStatus.Failed;
|
|
1117
|
+
export declare namespace ConnStatus {
|
|
1118
|
+
export type Tag = "new" | "prepared" | "joined" | "requested" | "accepted" | "sndReady" | "ready" | "deleted" | "failed";
|
|
1119
|
+
interface Interface {
|
|
1120
|
+
type: Tag;
|
|
1121
|
+
}
|
|
1122
|
+
export interface New extends Interface {
|
|
1123
|
+
type: "new";
|
|
1124
|
+
}
|
|
1125
|
+
export interface Prepared extends Interface {
|
|
1126
|
+
type: "prepared";
|
|
1127
|
+
}
|
|
1128
|
+
export interface Joined extends Interface {
|
|
1129
|
+
type: "joined";
|
|
1130
|
+
}
|
|
1131
|
+
export interface Requested extends Interface {
|
|
1132
|
+
type: "requested";
|
|
1133
|
+
}
|
|
1134
|
+
export interface Accepted extends Interface {
|
|
1135
|
+
type: "accepted";
|
|
1136
|
+
}
|
|
1137
|
+
export interface SndReady extends Interface {
|
|
1138
|
+
type: "sndReady";
|
|
1139
|
+
}
|
|
1140
|
+
export interface Ready extends Interface {
|
|
1141
|
+
type: "ready";
|
|
1142
|
+
}
|
|
1143
|
+
export interface Deleted extends Interface {
|
|
1144
|
+
type: "deleted";
|
|
1145
|
+
}
|
|
1146
|
+
export interface Failed extends Interface {
|
|
1147
|
+
type: "failed";
|
|
1148
|
+
connError: string;
|
|
1149
|
+
}
|
|
1150
|
+
export {};
|
|
1113
1151
|
}
|
|
1114
1152
|
export declare enum ConnType {
|
|
1115
1153
|
Contact = "contact",
|
|
@@ -1480,9 +1518,9 @@ export interface FileTransferMeta {
|
|
|
1480
1518
|
chunkSize: number;
|
|
1481
1519
|
cancelled: boolean;
|
|
1482
1520
|
}
|
|
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;
|
|
1521
|
+
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
1522
|
export declare namespace Format {
|
|
1485
|
-
export type Tag = "bold" | "italic" | "strikeThrough" | "snippet" | "secret" | "colored" | "uri" | "hyperLink" | "simplexLink" | "command" | "mention" | "email" | "phone";
|
|
1523
|
+
export type Tag = "bold" | "italic" | "strikeThrough" | "snippet" | "secret" | "small" | "colored" | "uri" | "hyperLink" | "simplexLink" | "command" | "mention" | "email" | "phone";
|
|
1486
1524
|
interface Interface {
|
|
1487
1525
|
type: Tag;
|
|
1488
1526
|
}
|
|
@@ -1501,6 +1539,9 @@ export declare namespace Format {
|
|
|
1501
1539
|
export interface Secret extends Interface {
|
|
1502
1540
|
type: "secret";
|
|
1503
1541
|
}
|
|
1542
|
+
export interface Small extends Interface {
|
|
1543
|
+
type: "small";
|
|
1544
|
+
}
|
|
1504
1545
|
export interface Colored extends Interface {
|
|
1505
1546
|
type: "colored";
|
|
1506
1547
|
color: Color;
|
|
@@ -1618,6 +1659,7 @@ export declare enum GroupFeatureEnabled {
|
|
|
1618
1659
|
export interface GroupInfo {
|
|
1619
1660
|
groupId: number;
|
|
1620
1661
|
useRelays: boolean;
|
|
1662
|
+
relayOwnStatus?: RelayStatus;
|
|
1621
1663
|
localDisplayName: string;
|
|
1622
1664
|
groupProfile: GroupProfile;
|
|
1623
1665
|
localAlias: string;
|
|
@@ -1637,6 +1679,12 @@ export interface GroupInfo {
|
|
|
1637
1679
|
groupSummary: GroupSummary;
|
|
1638
1680
|
membersRequireAttention: number;
|
|
1639
1681
|
viaGroupLinkUri?: string;
|
|
1682
|
+
groupKeys?: GroupKeys;
|
|
1683
|
+
}
|
|
1684
|
+
export interface GroupKeys {
|
|
1685
|
+
publicGroupId: string;
|
|
1686
|
+
groupRootKey: GroupRootKey;
|
|
1687
|
+
memberPrivKey: string;
|
|
1640
1688
|
}
|
|
1641
1689
|
export interface GroupLink {
|
|
1642
1690
|
userContactLinkId: number;
|
|
@@ -1654,6 +1702,7 @@ export declare namespace GroupLinkPlan {
|
|
|
1654
1702
|
}
|
|
1655
1703
|
export interface Ok extends Interface {
|
|
1656
1704
|
type: "ok";
|
|
1705
|
+
groupSLinkInfo_?: GroupShortLinkInfo;
|
|
1657
1706
|
groupSLinkData_?: GroupShortLinkData;
|
|
1658
1707
|
}
|
|
1659
1708
|
export interface OwnLink extends Interface {
|
|
@@ -1694,6 +1743,8 @@ export interface GroupMember {
|
|
|
1694
1743
|
createdAt: string;
|
|
1695
1744
|
updatedAt: string;
|
|
1696
1745
|
supportChat?: GroupSupportChat;
|
|
1746
|
+
memberPubKey?: string;
|
|
1747
|
+
relayLink?: string;
|
|
1697
1748
|
}
|
|
1698
1749
|
export interface GroupMemberAdmission {
|
|
1699
1750
|
review?: MemberCriteria;
|
|
@@ -1710,6 +1761,7 @@ export interface GroupMemberRef {
|
|
|
1710
1761
|
profile: Profile;
|
|
1711
1762
|
}
|
|
1712
1763
|
export declare enum GroupMemberRole {
|
|
1764
|
+
Relay = "relay",
|
|
1713
1765
|
Observer = "observer",
|
|
1714
1766
|
Author = "author",
|
|
1715
1767
|
Member = "member",
|
|
@@ -1759,14 +1811,45 @@ export interface GroupProfile {
|
|
|
1759
1811
|
shortDescr?: string;
|
|
1760
1812
|
description?: string;
|
|
1761
1813
|
image?: string;
|
|
1814
|
+
publicGroup?: PublicGroupProfile;
|
|
1762
1815
|
groupPreferences?: GroupPreferences;
|
|
1763
1816
|
memberAdmission?: GroupMemberAdmission;
|
|
1764
1817
|
}
|
|
1818
|
+
export interface GroupRelay {
|
|
1819
|
+
groupRelayId: number;
|
|
1820
|
+
groupMemberId: number;
|
|
1821
|
+
userChatRelay: UserChatRelay;
|
|
1822
|
+
relayStatus: RelayStatus;
|
|
1823
|
+
relayLink?: string;
|
|
1824
|
+
}
|
|
1825
|
+
export type GroupRootKey = GroupRootKey.Private | GroupRootKey.Public;
|
|
1826
|
+
export declare namespace GroupRootKey {
|
|
1827
|
+
export type Tag = "private" | "public";
|
|
1828
|
+
interface Interface {
|
|
1829
|
+
type: Tag;
|
|
1830
|
+
}
|
|
1831
|
+
export interface Private extends Interface {
|
|
1832
|
+
type: "private";
|
|
1833
|
+
rootPrivKey: string;
|
|
1834
|
+
}
|
|
1835
|
+
export interface Public extends Interface {
|
|
1836
|
+
type: "public";
|
|
1837
|
+
rootPubKey: string;
|
|
1838
|
+
}
|
|
1839
|
+
export {};
|
|
1840
|
+
}
|
|
1765
1841
|
export interface GroupShortLinkData {
|
|
1766
1842
|
groupProfile: GroupProfile;
|
|
1843
|
+
publicGroupData?: PublicGroupData;
|
|
1844
|
+
}
|
|
1845
|
+
export interface GroupShortLinkInfo {
|
|
1846
|
+
direct: boolean;
|
|
1847
|
+
groupRelays: string[];
|
|
1848
|
+
publicGroupId?: string;
|
|
1767
1849
|
}
|
|
1768
1850
|
export interface GroupSummary {
|
|
1769
1851
|
currentMembers: number;
|
|
1852
|
+
publicMemberCount?: number;
|
|
1770
1853
|
}
|
|
1771
1854
|
export interface GroupSupportChat {
|
|
1772
1855
|
chatTs: string;
|
|
@@ -1775,6 +1858,9 @@ export interface GroupSupportChat {
|
|
|
1775
1858
|
mentions: number;
|
|
1776
1859
|
lastMsgFromMemberTs?: string;
|
|
1777
1860
|
}
|
|
1861
|
+
export declare enum GroupType {
|
|
1862
|
+
Channel = "channel"
|
|
1863
|
+
}
|
|
1778
1864
|
export declare enum HandshakeError {
|
|
1779
1865
|
PARSE = "PARSE",
|
|
1780
1866
|
IDENTITY = "IDENTITY",
|
|
@@ -2007,6 +2093,10 @@ export declare enum MsgReceiptStatus {
|
|
|
2007
2093
|
Ok = "ok",
|
|
2008
2094
|
BadMsgHash = "badMsgHash"
|
|
2009
2095
|
}
|
|
2096
|
+
export declare enum MsgSigStatus {
|
|
2097
|
+
Verified = "verified",
|
|
2098
|
+
SignedNoKey = "signedNoKey"
|
|
2099
|
+
}
|
|
2010
2100
|
export type NetworkError = NetworkError.ConnectError | NetworkError.TLSError | NetworkError.UnknownCAError | NetworkError.FailedError | NetworkError.TimeoutError | NetworkError.SubscribeError;
|
|
2011
2101
|
export declare namespace NetworkError {
|
|
2012
2102
|
export type Tag = "connectError" | "tLSError" | "unknownCAError" | "failedError" | "timeoutError" | "subscribeError";
|
|
@@ -2039,6 +2129,7 @@ export declare namespace NetworkError {
|
|
|
2039
2129
|
export interface NewUser {
|
|
2040
2130
|
profile?: Profile;
|
|
2041
2131
|
pastTimestamp: boolean;
|
|
2132
|
+
userChatRelay: boolean;
|
|
2042
2133
|
}
|
|
2043
2134
|
export interface NoteFolder {
|
|
2044
2135
|
noteFolderId: number;
|
|
@@ -2140,6 +2231,14 @@ export declare namespace ProxyError {
|
|
|
2140
2231
|
}
|
|
2141
2232
|
export {};
|
|
2142
2233
|
}
|
|
2234
|
+
export interface PublicGroupData {
|
|
2235
|
+
publicMemberCount: number;
|
|
2236
|
+
}
|
|
2237
|
+
export interface PublicGroupProfile {
|
|
2238
|
+
groupType: GroupType;
|
|
2239
|
+
groupLink: string;
|
|
2240
|
+
publicGroupId: string;
|
|
2241
|
+
}
|
|
2143
2242
|
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
2243
|
export declare namespace RCErrorType {
|
|
2145
2244
|
export type Tag = "internal" | "identity" | "noLocalAddress" | "newController" | "notDiscovered" | "tLSStartFailed" | "exception" | "ctrlAuth" | "ctrlNotFound" | "ctrlError" | "invitation" | "version" | "encrypt" | "decrypt" | "blockSize" | "syntax";
|
|
@@ -2295,9 +2394,9 @@ export interface RcvFileTransfer {
|
|
|
2295
2394
|
grpMemberId?: number;
|
|
2296
2395
|
cryptoArgs?: CryptoFileArgs;
|
|
2297
2396
|
}
|
|
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;
|
|
2397
|
+
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
2398
|
export declare namespace RcvGroupEvent {
|
|
2300
|
-
export type Tag = "memberAdded" | "memberConnected" | "memberAccepted" | "userAccepted" | "memberLeft" | "memberRole" | "memberBlocked" | "userRole" | "memberDeleted" | "userDeleted" | "groupDeleted" | "groupUpdated" | "invitedViaGroupLink" | "memberCreatedContact" | "memberProfileUpdated" | "newMemberPendingReview";
|
|
2399
|
+
export type Tag = "memberAdded" | "memberConnected" | "memberAccepted" | "userAccepted" | "memberLeft" | "memberRole" | "memberBlocked" | "userRole" | "memberDeleted" | "userDeleted" | "groupDeleted" | "groupUpdated" | "invitedViaGroupLink" | "memberCreatedContact" | "memberProfileUpdated" | "newMemberPendingReview" | "msgBadSignature";
|
|
2301
2400
|
interface Interface {
|
|
2302
2401
|
type: Tag;
|
|
2303
2402
|
}
|
|
@@ -2365,8 +2464,23 @@ export declare namespace RcvGroupEvent {
|
|
|
2365
2464
|
export interface NewMemberPendingReview extends Interface {
|
|
2366
2465
|
type: "newMemberPendingReview";
|
|
2367
2466
|
}
|
|
2467
|
+
export interface MsgBadSignature extends Interface {
|
|
2468
|
+
type: "msgBadSignature";
|
|
2469
|
+
}
|
|
2368
2470
|
export {};
|
|
2369
2471
|
}
|
|
2472
|
+
export interface RelayProfile {
|
|
2473
|
+
displayName: string;
|
|
2474
|
+
fullName: string;
|
|
2475
|
+
shortDescr?: string;
|
|
2476
|
+
image?: string;
|
|
2477
|
+
}
|
|
2478
|
+
export declare enum RelayStatus {
|
|
2479
|
+
New = "new",
|
|
2480
|
+
Invited = "invited",
|
|
2481
|
+
Accepted = "accepted",
|
|
2482
|
+
Active = "active"
|
|
2483
|
+
}
|
|
2370
2484
|
export declare enum ReportReason {
|
|
2371
2485
|
Spam = "spam",
|
|
2372
2486
|
Content = "content",
|
|
@@ -2562,9 +2676,9 @@ export declare namespace SrvError {
|
|
|
2562
2676
|
}
|
|
2563
2677
|
export {};
|
|
2564
2678
|
}
|
|
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;
|
|
2679
|
+
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
2680
|
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";
|
|
2681
|
+
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
2682
|
interface Interface {
|
|
2569
2683
|
type: Tag;
|
|
2570
2684
|
}
|
|
@@ -2575,6 +2689,9 @@ export declare namespace StoreError {
|
|
|
2575
2689
|
type: "userNotFound";
|
|
2576
2690
|
userId: number;
|
|
2577
2691
|
}
|
|
2692
|
+
export interface RelayUserNotFound extends Interface {
|
|
2693
|
+
type: "relayUserNotFound";
|
|
2694
|
+
}
|
|
2578
2695
|
export interface UserNotFoundByName extends Interface {
|
|
2579
2696
|
type: "userNotFoundByName";
|
|
2580
2697
|
contactName: string;
|
|
@@ -2678,6 +2795,9 @@ export declare namespace StoreError {
|
|
|
2678
2795
|
export interface DuplicateGroupMember extends Interface {
|
|
2679
2796
|
type: "duplicateGroupMember";
|
|
2680
2797
|
}
|
|
2798
|
+
export interface DuplicateMemberId extends Interface {
|
|
2799
|
+
type: "duplicateMemberId";
|
|
2800
|
+
}
|
|
2681
2801
|
export interface GroupAlreadyJoined extends Interface {
|
|
2682
2802
|
type: "groupAlreadyJoined";
|
|
2683
2803
|
}
|
|
@@ -2866,6 +2986,18 @@ export declare namespace StoreError {
|
|
|
2866
2986
|
export interface UsageConditionsNotFound extends Interface {
|
|
2867
2987
|
type: "usageConditionsNotFound";
|
|
2868
2988
|
}
|
|
2989
|
+
export interface UserChatRelayNotFound extends Interface {
|
|
2990
|
+
type: "userChatRelayNotFound";
|
|
2991
|
+
chatRelayId: number;
|
|
2992
|
+
}
|
|
2993
|
+
export interface GroupRelayNotFound extends Interface {
|
|
2994
|
+
type: "groupRelayNotFound";
|
|
2995
|
+
groupRelayId: number;
|
|
2996
|
+
}
|
|
2997
|
+
export interface GroupRelayNotFoundByMemberId extends Interface {
|
|
2998
|
+
type: "groupRelayNotFoundByMemberId";
|
|
2999
|
+
groupMemberId: number;
|
|
3000
|
+
}
|
|
2869
3001
|
export interface InvalidQuote extends Interface {
|
|
2870
3002
|
type: "invalidQuote";
|
|
2871
3003
|
}
|
|
@@ -2894,6 +3026,27 @@ export declare namespace StoreError {
|
|
|
2894
3026
|
}
|
|
2895
3027
|
export {};
|
|
2896
3028
|
}
|
|
3029
|
+
export type SubscriptionStatus = SubscriptionStatus.Active | SubscriptionStatus.Pending | SubscriptionStatus.Removed | SubscriptionStatus.NoSub;
|
|
3030
|
+
export declare namespace SubscriptionStatus {
|
|
3031
|
+
export type Tag = "active" | "pending" | "removed" | "noSub";
|
|
3032
|
+
interface Interface {
|
|
3033
|
+
type: Tag;
|
|
3034
|
+
}
|
|
3035
|
+
export interface Active extends Interface {
|
|
3036
|
+
type: "active";
|
|
3037
|
+
}
|
|
3038
|
+
export interface Pending extends Interface {
|
|
3039
|
+
type: "pending";
|
|
3040
|
+
}
|
|
3041
|
+
export interface Removed extends Interface {
|
|
3042
|
+
type: "removed";
|
|
3043
|
+
subError: string;
|
|
3044
|
+
}
|
|
3045
|
+
export interface NoSub extends Interface {
|
|
3046
|
+
type: "noSub";
|
|
3047
|
+
}
|
|
3048
|
+
export {};
|
|
3049
|
+
}
|
|
2897
3050
|
export declare enum SwitchPhase {
|
|
2898
3051
|
Started = "started",
|
|
2899
3052
|
Confirmed = "confirmed",
|
|
@@ -2984,6 +3137,17 @@ export interface User {
|
|
|
2984
3137
|
autoAcceptMemberContacts: boolean;
|
|
2985
3138
|
userMemberProfileUpdatedAt?: string;
|
|
2986
3139
|
uiThemes?: UIThemeEntityOverrides;
|
|
3140
|
+
userChatRelay: boolean;
|
|
3141
|
+
}
|
|
3142
|
+
export interface UserChatRelay {
|
|
3143
|
+
chatRelayId: number;
|
|
3144
|
+
address: string;
|
|
3145
|
+
relayProfile: RelayProfile;
|
|
3146
|
+
domains: string[];
|
|
3147
|
+
preset: boolean;
|
|
3148
|
+
tested?: boolean;
|
|
3149
|
+
enabled: boolean;
|
|
3150
|
+
deleted: boolean;
|
|
2987
3151
|
}
|
|
2988
3152
|
export interface UserContact {
|
|
2989
3153
|
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.
|
|
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";
|
|
@@ -185,6 +174,7 @@ var GroupMemberCategory;
|
|
|
185
174
|
})(GroupMemberCategory || (exports.GroupMemberCategory = GroupMemberCategory = {}));
|
|
186
175
|
var GroupMemberRole;
|
|
187
176
|
(function (GroupMemberRole) {
|
|
177
|
+
GroupMemberRole["Relay"] = "relay";
|
|
188
178
|
GroupMemberRole["Observer"] = "observer";
|
|
189
179
|
GroupMemberRole["Author"] = "author";
|
|
190
180
|
GroupMemberRole["Member"] = "member";
|
|
@@ -210,6 +200,10 @@ var GroupMemberStatus;
|
|
|
210
200
|
GroupMemberStatus["Complete"] = "complete";
|
|
211
201
|
GroupMemberStatus["Creator"] = "creator";
|
|
212
202
|
})(GroupMemberStatus || (exports.GroupMemberStatus = GroupMemberStatus = {}));
|
|
203
|
+
var GroupType;
|
|
204
|
+
(function (GroupType) {
|
|
205
|
+
GroupType["Channel"] = "channel";
|
|
206
|
+
})(GroupType || (exports.GroupType = GroupType = {}));
|
|
213
207
|
var HandshakeError;
|
|
214
208
|
(function (HandshakeError) {
|
|
215
209
|
HandshakeError["PARSE"] = "PARSE";
|
|
@@ -250,6 +244,11 @@ var MsgReceiptStatus;
|
|
|
250
244
|
MsgReceiptStatus["Ok"] = "ok";
|
|
251
245
|
MsgReceiptStatus["BadMsgHash"] = "badMsgHash";
|
|
252
246
|
})(MsgReceiptStatus || (exports.MsgReceiptStatus = MsgReceiptStatus = {}));
|
|
247
|
+
var MsgSigStatus;
|
|
248
|
+
(function (MsgSigStatus) {
|
|
249
|
+
MsgSigStatus["Verified"] = "verified";
|
|
250
|
+
MsgSigStatus["SignedNoKey"] = "signedNoKey";
|
|
251
|
+
})(MsgSigStatus || (exports.MsgSigStatus = MsgSigStatus = {}));
|
|
253
252
|
var RatchetSyncState;
|
|
254
253
|
(function (RatchetSyncState) {
|
|
255
254
|
RatchetSyncState["Ok"] = "ok";
|
|
@@ -258,6 +257,13 @@ var RatchetSyncState;
|
|
|
258
257
|
RatchetSyncState["Started"] = "started";
|
|
259
258
|
RatchetSyncState["Agreed"] = "agreed";
|
|
260
259
|
})(RatchetSyncState || (exports.RatchetSyncState = RatchetSyncState = {}));
|
|
260
|
+
var RelayStatus;
|
|
261
|
+
(function (RelayStatus) {
|
|
262
|
+
RelayStatus["New"] = "new";
|
|
263
|
+
RelayStatus["Invited"] = "invited";
|
|
264
|
+
RelayStatus["Accepted"] = "accepted";
|
|
265
|
+
RelayStatus["Active"] = "active";
|
|
266
|
+
})(RelayStatus || (exports.RelayStatus = RelayStatus = {}));
|
|
261
267
|
var ReportReason;
|
|
262
268
|
(function (ReportReason) {
|
|
263
269
|
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;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;IACrB,yCAAyB,CAAA;IACzB,qCAAqB,CAAA;IACrB,+BAAe,CAAA;IACf,+BAAe,CAAA;AACjB,CAAC,EATW,YAAY,4BAAZ,YAAY,QASvB;AAoPD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;IACrB,6CAA6B,CAAA;AAC/B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;
|
|
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;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,qCAAqB,CA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 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplex-chat/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "TypeScript types for SimpleX Chat bot libraries",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/simplex-chat/simplex-chat/tree/stable/packages/simplex-chat-client/types/typescript#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"typescript": "^5.9.
|
|
40
|
+
"typescript": "^5.9.3"
|
|
41
41
|
}
|
|
42
42
|
}
|