@simplex-chat/types 0.0.1

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.
@@ -0,0 +1,332 @@
1
+ import * as T from "./types";
2
+ import { CR } from "./responses";
3
+ export interface APICreateMyAddress {
4
+ userId: number;
5
+ }
6
+ export declare namespace APICreateMyAddress {
7
+ type Response = CR.UserContactLinkCreated | CR.ChatCmdError;
8
+ function cmdString(self: APICreateMyAddress): string;
9
+ }
10
+ export interface APIDeleteMyAddress {
11
+ userId: number;
12
+ }
13
+ export declare namespace APIDeleteMyAddress {
14
+ type Response = CR.UserContactLinkDeleted | CR.ChatCmdError;
15
+ function cmdString(self: APIDeleteMyAddress): string;
16
+ }
17
+ export interface APIShowMyAddress {
18
+ userId: number;
19
+ }
20
+ export declare namespace APIShowMyAddress {
21
+ type Response = CR.UserContactLink | CR.ChatCmdError;
22
+ function cmdString(self: APIShowMyAddress): string;
23
+ }
24
+ export interface APISetProfileAddress {
25
+ userId: number;
26
+ enable: boolean;
27
+ }
28
+ export declare namespace APISetProfileAddress {
29
+ type Response = CR.UserProfileUpdated | CR.ChatCmdError;
30
+ function cmdString(self: APISetProfileAddress): string;
31
+ }
32
+ export interface APISetAddressSettings {
33
+ userId: number;
34
+ settings: T.AddressSettings;
35
+ }
36
+ export declare namespace APISetAddressSettings {
37
+ type Response = CR.UserContactLinkUpdated | CR.ChatCmdError;
38
+ function cmdString(self: APISetAddressSettings): string;
39
+ }
40
+ export interface APISendMessages {
41
+ sendRef: T.ChatRef;
42
+ liveMessage: boolean;
43
+ ttl?: number;
44
+ composedMessages: [T.ComposedMessage];
45
+ }
46
+ export declare namespace APISendMessages {
47
+ type Response = CR.NewChatItems | CR.ChatCmdError;
48
+ function cmdString(self: APISendMessages): string;
49
+ }
50
+ export interface APIUpdateChatItem {
51
+ chatRef: T.ChatRef;
52
+ chatItemId: number;
53
+ liveMessage: boolean;
54
+ updatedMessage: T.UpdatedMessage;
55
+ }
56
+ export declare namespace APIUpdateChatItem {
57
+ type Response = CR.ChatItemUpdated | CR.ChatItemNotChanged | CR.ChatCmdError;
58
+ function cmdString(self: APIUpdateChatItem): string;
59
+ }
60
+ export interface APIDeleteChatItem {
61
+ chatRef: T.ChatRef;
62
+ chatItemIds: [number];
63
+ deleteMode: T.CIDeleteMode;
64
+ }
65
+ export declare namespace APIDeleteChatItem {
66
+ type Response = CR.ChatItemsDeleted | CR.ChatCmdError;
67
+ function cmdString(self: APIDeleteChatItem): string;
68
+ }
69
+ export interface APIDeleteMemberChatItem {
70
+ groupId: number;
71
+ chatItemIds: [number];
72
+ }
73
+ export declare namespace APIDeleteMemberChatItem {
74
+ type Response = CR.ChatItemsDeleted | CR.ChatCmdError;
75
+ function cmdString(self: APIDeleteMemberChatItem): string;
76
+ }
77
+ export interface APIChatItemReaction {
78
+ chatRef: T.ChatRef;
79
+ chatItemId: number;
80
+ add: boolean;
81
+ reaction: T.MsgReaction;
82
+ }
83
+ export declare namespace APIChatItemReaction {
84
+ type Response = CR.ChatItemReaction | CR.ChatCmdError;
85
+ function cmdString(self: APIChatItemReaction): string;
86
+ }
87
+ export interface ReceiveFile {
88
+ fileId: number;
89
+ userApprovedRelays: boolean;
90
+ storeEncrypted?: boolean;
91
+ fileInline?: boolean;
92
+ filePath?: string;
93
+ }
94
+ export declare namespace ReceiveFile {
95
+ type Response = CR.RcvFileAccepted | CR.RcvFileAcceptedSndCancelled | CR.ChatCmdError;
96
+ function cmdString(self: ReceiveFile): string;
97
+ }
98
+ export interface CancelFile {
99
+ fileId: number;
100
+ }
101
+ export declare namespace CancelFile {
102
+ type Response = CR.SndFileCancelled | CR.RcvFileCancelled | CR.ChatCmdError;
103
+ function cmdString(self: CancelFile): string;
104
+ }
105
+ export interface APIAddMember {
106
+ groupId: number;
107
+ contactId: number;
108
+ memberRole: T.GroupMemberRole;
109
+ }
110
+ export declare namespace APIAddMember {
111
+ type Response = CR.SentGroupInvitation | CR.ChatCmdError;
112
+ function cmdString(self: APIAddMember): string;
113
+ }
114
+ export interface APIJoinGroup {
115
+ groupId: number;
116
+ }
117
+ export declare namespace APIJoinGroup {
118
+ type Response = CR.UserAcceptedGroupSent | CR.ChatCmdError;
119
+ function cmdString(self: APIJoinGroup): string;
120
+ }
121
+ export interface APIAcceptMember {
122
+ groupId: number;
123
+ groupMemberId: number;
124
+ memberRole: T.GroupMemberRole;
125
+ }
126
+ export declare namespace APIAcceptMember {
127
+ type Response = CR.MemberAccepted | CR.ChatCmdError;
128
+ function cmdString(self: APIAcceptMember): string;
129
+ }
130
+ export interface APIMembersRole {
131
+ groupId: number;
132
+ groupMemberIds: [number];
133
+ memberRole: T.GroupMemberRole;
134
+ }
135
+ export declare namespace APIMembersRole {
136
+ type Response = CR.MembersRoleUser | CR.ChatCmdError;
137
+ function cmdString(self: APIMembersRole): string;
138
+ }
139
+ export interface APIBlockMembersForAll {
140
+ groupId: number;
141
+ groupMemberIds: [number];
142
+ blocked: boolean;
143
+ }
144
+ export declare namespace APIBlockMembersForAll {
145
+ type Response = CR.MembersBlockedForAllUser | CR.ChatCmdError;
146
+ function cmdString(self: APIBlockMembersForAll): string;
147
+ }
148
+ export interface APIRemoveMembers {
149
+ groupId: number;
150
+ groupMemberIds: [number];
151
+ withMessages: boolean;
152
+ }
153
+ export declare namespace APIRemoveMembers {
154
+ type Response = CR.UserDeletedMembers | CR.ChatCmdError;
155
+ function cmdString(self: APIRemoveMembers): string;
156
+ }
157
+ export interface APILeaveGroup {
158
+ groupId: number;
159
+ }
160
+ export declare namespace APILeaveGroup {
161
+ type Response = CR.LeftMemberUser | CR.ChatCmdError;
162
+ function cmdString(self: APILeaveGroup): string;
163
+ }
164
+ export interface APIListMembers {
165
+ groupId: number;
166
+ }
167
+ export declare namespace APIListMembers {
168
+ type Response = CR.GroupMembers | CR.ChatCmdError;
169
+ function cmdString(self: APIListMembers): string;
170
+ }
171
+ export interface APINewGroup {
172
+ userId: number;
173
+ incognito: boolean;
174
+ groupProfile: T.GroupProfile;
175
+ }
176
+ export declare namespace APINewGroup {
177
+ type Response = CR.GroupCreated | CR.ChatCmdError;
178
+ function cmdString(self: APINewGroup): string;
179
+ }
180
+ export interface APIUpdateGroupProfile {
181
+ groupId: number;
182
+ groupProfile: T.GroupProfile;
183
+ }
184
+ export declare namespace APIUpdateGroupProfile {
185
+ type Response = CR.GroupUpdated | CR.ChatCmdError;
186
+ function cmdString(self: APIUpdateGroupProfile): string;
187
+ }
188
+ export interface APICreateGroupLink {
189
+ groupId: number;
190
+ memberRole: T.GroupMemberRole;
191
+ }
192
+ export declare namespace APICreateGroupLink {
193
+ type Response = CR.GroupLinkCreated | CR.ChatCmdError;
194
+ function cmdString(self: APICreateGroupLink): string;
195
+ }
196
+ export interface APIGroupLinkMemberRole {
197
+ groupId: number;
198
+ memberRole: T.GroupMemberRole;
199
+ }
200
+ export declare namespace APIGroupLinkMemberRole {
201
+ type Response = CR.GroupLink | CR.ChatCmdError;
202
+ function cmdString(self: APIGroupLinkMemberRole): string;
203
+ }
204
+ export interface APIDeleteGroupLink {
205
+ groupId: number;
206
+ }
207
+ export declare namespace APIDeleteGroupLink {
208
+ type Response = CR.GroupLinkDeleted | CR.ChatCmdError;
209
+ function cmdString(self: APIDeleteGroupLink): string;
210
+ }
211
+ export interface APIGetGroupLink {
212
+ groupId: number;
213
+ }
214
+ export declare namespace APIGetGroupLink {
215
+ type Response = CR.GroupLink | CR.ChatCmdError;
216
+ function cmdString(self: APIGetGroupLink): string;
217
+ }
218
+ export interface APIAddContact {
219
+ userId: number;
220
+ incognito: boolean;
221
+ }
222
+ export declare namespace APIAddContact {
223
+ type Response = CR.Invitation | CR.ChatCmdError;
224
+ function cmdString(self: APIAddContact): string;
225
+ }
226
+ export interface APIConnectPlan {
227
+ userId: number;
228
+ connectionLink?: string;
229
+ }
230
+ export declare namespace APIConnectPlan {
231
+ type Response = CR.ConnectionPlan | CR.ChatCmdError;
232
+ function cmdString(self: APIConnectPlan): string;
233
+ }
234
+ export interface APIConnect {
235
+ userId: number;
236
+ incognito: boolean;
237
+ connLink_?: T.CreatedConnLink;
238
+ }
239
+ export declare namespace APIConnect {
240
+ type Response = CR.SentConfirmation | CR.ContactAlreadyExists | CR.SentInvitation | CR.ChatCmdError;
241
+ function cmdString(self: APIConnect): string;
242
+ }
243
+ export interface APIAcceptContact {
244
+ contactReqId: number;
245
+ }
246
+ export declare namespace APIAcceptContact {
247
+ type Response = CR.AcceptingContactRequest | CR.ChatCmdError;
248
+ function cmdString(self: APIAcceptContact): string;
249
+ }
250
+ export interface APIRejectContact {
251
+ contactReqId: number;
252
+ }
253
+ export declare namespace APIRejectContact {
254
+ type Response = CR.ContactRequestRejected | CR.ChatCmdError;
255
+ function cmdString(self: APIRejectContact): string;
256
+ }
257
+ export interface APIListContacts {
258
+ userId: number;
259
+ }
260
+ export declare namespace APIListContacts {
261
+ type Response = CR.ContactsList | CR.ChatCmdError;
262
+ function cmdString(self: APIListContacts): string;
263
+ }
264
+ export interface APIListGroups {
265
+ userId: number;
266
+ contactId_?: number;
267
+ search?: string;
268
+ }
269
+ export declare namespace APIListGroups {
270
+ type Response = CR.GroupsList | CR.ChatCmdError;
271
+ function cmdString(self: APIListGroups): string;
272
+ }
273
+ export interface APIDeleteChat {
274
+ chatRef: T.ChatRef;
275
+ chatDeleteMode: T.ChatDeleteMode;
276
+ }
277
+ export declare namespace APIDeleteChat {
278
+ type Response = CR.ContactDeleted | CR.ContactConnectionDeleted | CR.GroupDeletedUser | CR.ChatCmdError;
279
+ function cmdString(self: APIDeleteChat): string;
280
+ }
281
+ export interface ShowActiveUser {
282
+ }
283
+ export declare namespace ShowActiveUser {
284
+ type Response = CR.ActiveUser | CR.ChatCmdError;
285
+ function cmdString(_self: ShowActiveUser): string;
286
+ }
287
+ export interface CreateActiveUser {
288
+ newUser: T.NewUser;
289
+ }
290
+ export declare namespace CreateActiveUser {
291
+ type Response = CR.ActiveUser | CR.ChatCmdError;
292
+ function cmdString(self: CreateActiveUser): string;
293
+ }
294
+ export interface ListUsers {
295
+ }
296
+ export declare namespace ListUsers {
297
+ type Response = CR.UsersList | CR.ChatCmdError;
298
+ function cmdString(_self: ListUsers): string;
299
+ }
300
+ export interface APISetActiveUser {
301
+ userId: number;
302
+ viewPwd?: string;
303
+ }
304
+ export declare namespace APISetActiveUser {
305
+ type Response = CR.ActiveUser | CR.ChatCmdError;
306
+ function cmdString(self: APISetActiveUser): string;
307
+ }
308
+ export interface APIDeleteUser {
309
+ userId: number;
310
+ delSMPQueues: boolean;
311
+ viewPwd?: string;
312
+ }
313
+ export declare namespace APIDeleteUser {
314
+ type Response = CR.CmdOk | CR.ChatCmdError;
315
+ function cmdString(self: APIDeleteUser): string;
316
+ }
317
+ export interface APIUpdateProfile {
318
+ userId: number;
319
+ profile: T.Profile;
320
+ }
321
+ export declare namespace APIUpdateProfile {
322
+ type Response = CR.UserProfileUpdated | CR.ChatCmdError;
323
+ function cmdString(self: APIUpdateProfile): string;
324
+ }
325
+ export interface APISetContactPrefs {
326
+ contactId: number;
327
+ preferences: T.Preferences;
328
+ }
329
+ export declare namespace APISetContactPrefs {
330
+ type Response = CR.ContactPrefsUpdated | CR.ChatCmdError;
331
+ function cmdString(self: APISetContactPrefs): string;
332
+ }
@@ -0,0 +1,293 @@
1
+ "use strict";
2
+ // API Commands
3
+ // This file is generated automatically.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ 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.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;
6
+ var APICreateMyAddress;
7
+ (function (APICreateMyAddress) {
8
+ function cmdString(self) {
9
+ return '/_address ' + self.userId;
10
+ }
11
+ APICreateMyAddress.cmdString = cmdString;
12
+ })(APICreateMyAddress || (exports.APICreateMyAddress = APICreateMyAddress = {}));
13
+ var APIDeleteMyAddress;
14
+ (function (APIDeleteMyAddress) {
15
+ function cmdString(self) {
16
+ return '/_delete_address ' + self.userId;
17
+ }
18
+ APIDeleteMyAddress.cmdString = cmdString;
19
+ })(APIDeleteMyAddress || (exports.APIDeleteMyAddress = APIDeleteMyAddress = {}));
20
+ var APIShowMyAddress;
21
+ (function (APIShowMyAddress) {
22
+ function cmdString(self) {
23
+ return '/_show_address ' + self.userId;
24
+ }
25
+ APIShowMyAddress.cmdString = cmdString;
26
+ })(APIShowMyAddress || (exports.APIShowMyAddress = APIShowMyAddress = {}));
27
+ var APISetProfileAddress;
28
+ (function (APISetProfileAddress) {
29
+ function cmdString(self) {
30
+ return '/_profile_address ' + self.userId + ' ' + (self.enable ? 'on' : 'off');
31
+ }
32
+ APISetProfileAddress.cmdString = cmdString;
33
+ })(APISetProfileAddress || (exports.APISetProfileAddress = APISetProfileAddress = {}));
34
+ var APISetAddressSettings;
35
+ (function (APISetAddressSettings) {
36
+ function cmdString(self) {
37
+ return '/_address_settings ' + self.userId + ' ' + JSON.stringify(self.settings);
38
+ }
39
+ APISetAddressSettings.cmdString = cmdString;
40
+ })(APISetAddressSettings || (exports.APISetAddressSettings = APISetAddressSettings = {}));
41
+ var APISendMessages;
42
+ (function (APISendMessages) {
43
+ function cmdString(self) {
44
+ return '/_send ' + self.sendRef.toString() + (self.liveMessage ? ' live=on' : '') + (self.ttl ? ' ttl=' + self.ttl : '') + ' json ' + JSON.stringify(self.composedMessages);
45
+ }
46
+ APISendMessages.cmdString = cmdString;
47
+ })(APISendMessages || (exports.APISendMessages = APISendMessages = {}));
48
+ var APIUpdateChatItem;
49
+ (function (APIUpdateChatItem) {
50
+ function cmdString(self) {
51
+ return '/_update item ' + self.chatRef.toString() + ' ' + self.chatItemId + (self.liveMessage ? ' live=on' : '') + ' json ' + JSON.stringify(self.updatedMessage);
52
+ }
53
+ APIUpdateChatItem.cmdString = cmdString;
54
+ })(APIUpdateChatItem || (exports.APIUpdateChatItem = APIUpdateChatItem = {}));
55
+ var APIDeleteChatItem;
56
+ (function (APIDeleteChatItem) {
57
+ function cmdString(self) {
58
+ return '/_delete item ' + self.chatRef.toString() + ' ' + self.chatItemIds.join(',') + ' ' + self.deleteMode;
59
+ }
60
+ APIDeleteChatItem.cmdString = cmdString;
61
+ })(APIDeleteChatItem || (exports.APIDeleteChatItem = APIDeleteChatItem = {}));
62
+ var APIDeleteMemberChatItem;
63
+ (function (APIDeleteMemberChatItem) {
64
+ function cmdString(self) {
65
+ return '/_delete member item #' + self.groupId + ' ' + self.chatItemIds.join(',');
66
+ }
67
+ APIDeleteMemberChatItem.cmdString = cmdString;
68
+ })(APIDeleteMemberChatItem || (exports.APIDeleteMemberChatItem = APIDeleteMemberChatItem = {}));
69
+ var APIChatItemReaction;
70
+ (function (APIChatItemReaction) {
71
+ function cmdString(self) {
72
+ return '/_reaction ' + self.chatRef.toString() + ' ' + self.chatItemId + ' ' + (self.add ? 'on' : 'off') + ' ' + JSON.stringify(self.reaction);
73
+ }
74
+ APIChatItemReaction.cmdString = cmdString;
75
+ })(APIChatItemReaction || (exports.APIChatItemReaction = APIChatItemReaction = {}));
76
+ var ReceiveFile;
77
+ (function (ReceiveFile) {
78
+ function cmdString(self) {
79
+ return '/freceive ' + self.fileId + (self.userApprovedRelays ? ' approved_relays=on' : '') + (typeof self.storeEncrypted == 'boolean' ? ' encrypt=' + (self.storeEncrypted ? 'on' : 'off') : '') + (typeof self.fileInline == 'boolean' ? ' inline=' + (self.fileInline ? 'on' : 'off') : '') + (self.filePath ? ' ' + self.filePath : '');
80
+ }
81
+ ReceiveFile.cmdString = cmdString;
82
+ })(ReceiveFile || (exports.ReceiveFile = ReceiveFile = {}));
83
+ var CancelFile;
84
+ (function (CancelFile) {
85
+ function cmdString(self) {
86
+ return '/fcancel ' + self.fileId;
87
+ }
88
+ CancelFile.cmdString = cmdString;
89
+ })(CancelFile || (exports.CancelFile = CancelFile = {}));
90
+ var APIAddMember;
91
+ (function (APIAddMember) {
92
+ function cmdString(self) {
93
+ return '/_add #' + self.groupId + ' ' + self.contactId + ' ' + self.memberRole;
94
+ }
95
+ APIAddMember.cmdString = cmdString;
96
+ })(APIAddMember || (exports.APIAddMember = APIAddMember = {}));
97
+ var APIJoinGroup;
98
+ (function (APIJoinGroup) {
99
+ function cmdString(self) {
100
+ return '/_join #' + self.groupId;
101
+ }
102
+ APIJoinGroup.cmdString = cmdString;
103
+ })(APIJoinGroup || (exports.APIJoinGroup = APIJoinGroup = {}));
104
+ var APIAcceptMember;
105
+ (function (APIAcceptMember) {
106
+ function cmdString(self) {
107
+ return '/_accept member #' + self.groupId + ' ' + self.groupMemberId + ' ' + self.memberRole;
108
+ }
109
+ APIAcceptMember.cmdString = cmdString;
110
+ })(APIAcceptMember || (exports.APIAcceptMember = APIAcceptMember = {}));
111
+ var APIMembersRole;
112
+ (function (APIMembersRole) {
113
+ function cmdString(self) {
114
+ return '/_member role #' + self.groupId + ' ' + self.groupMemberIds.join(',') + ' ' + self.memberRole;
115
+ }
116
+ APIMembersRole.cmdString = cmdString;
117
+ })(APIMembersRole || (exports.APIMembersRole = APIMembersRole = {}));
118
+ var APIBlockMembersForAll;
119
+ (function (APIBlockMembersForAll) {
120
+ function cmdString(self) {
121
+ return '/_block #' + self.groupId + ' ' + self.groupMemberIds.join(',') + ' blocked=' + (self.blocked ? 'on' : 'off');
122
+ }
123
+ APIBlockMembersForAll.cmdString = cmdString;
124
+ })(APIBlockMembersForAll || (exports.APIBlockMembersForAll = APIBlockMembersForAll = {}));
125
+ var APIRemoveMembers;
126
+ (function (APIRemoveMembers) {
127
+ function cmdString(self) {
128
+ return '/_remove #' + self.groupId + ' ' + self.groupMemberIds.join(',') + (self.withMessages ? ' messages=on' : '');
129
+ }
130
+ APIRemoveMembers.cmdString = cmdString;
131
+ })(APIRemoveMembers || (exports.APIRemoveMembers = APIRemoveMembers = {}));
132
+ var APILeaveGroup;
133
+ (function (APILeaveGroup) {
134
+ function cmdString(self) {
135
+ return '/_leave #' + self.groupId;
136
+ }
137
+ APILeaveGroup.cmdString = cmdString;
138
+ })(APILeaveGroup || (exports.APILeaveGroup = APILeaveGroup = {}));
139
+ var APIListMembers;
140
+ (function (APIListMembers) {
141
+ function cmdString(self) {
142
+ return '/_members #' + self.groupId;
143
+ }
144
+ APIListMembers.cmdString = cmdString;
145
+ })(APIListMembers || (exports.APIListMembers = APIListMembers = {}));
146
+ var APINewGroup;
147
+ (function (APINewGroup) {
148
+ function cmdString(self) {
149
+ return '/_group ' + self.userId + (self.incognito ? ' incognito=on' : '') + ' ' + JSON.stringify(self.groupProfile);
150
+ }
151
+ APINewGroup.cmdString = cmdString;
152
+ })(APINewGroup || (exports.APINewGroup = APINewGroup = {}));
153
+ var APIUpdateGroupProfile;
154
+ (function (APIUpdateGroupProfile) {
155
+ function cmdString(self) {
156
+ return '/_group_profile #' + self.groupId + ' ' + JSON.stringify(self.groupProfile);
157
+ }
158
+ APIUpdateGroupProfile.cmdString = cmdString;
159
+ })(APIUpdateGroupProfile || (exports.APIUpdateGroupProfile = APIUpdateGroupProfile = {}));
160
+ var APICreateGroupLink;
161
+ (function (APICreateGroupLink) {
162
+ function cmdString(self) {
163
+ return '/_create link #' + self.groupId + ' ' + self.memberRole;
164
+ }
165
+ APICreateGroupLink.cmdString = cmdString;
166
+ })(APICreateGroupLink || (exports.APICreateGroupLink = APICreateGroupLink = {}));
167
+ var APIGroupLinkMemberRole;
168
+ (function (APIGroupLinkMemberRole) {
169
+ function cmdString(self) {
170
+ return '/_set link role #' + self.groupId + ' ' + self.memberRole;
171
+ }
172
+ APIGroupLinkMemberRole.cmdString = cmdString;
173
+ })(APIGroupLinkMemberRole || (exports.APIGroupLinkMemberRole = APIGroupLinkMemberRole = {}));
174
+ var APIDeleteGroupLink;
175
+ (function (APIDeleteGroupLink) {
176
+ function cmdString(self) {
177
+ return '/_delete link #' + self.groupId;
178
+ }
179
+ APIDeleteGroupLink.cmdString = cmdString;
180
+ })(APIDeleteGroupLink || (exports.APIDeleteGroupLink = APIDeleteGroupLink = {}));
181
+ var APIGetGroupLink;
182
+ (function (APIGetGroupLink) {
183
+ function cmdString(self) {
184
+ return '/_get link #' + self.groupId;
185
+ }
186
+ APIGetGroupLink.cmdString = cmdString;
187
+ })(APIGetGroupLink || (exports.APIGetGroupLink = APIGetGroupLink = {}));
188
+ var APIAddContact;
189
+ (function (APIAddContact) {
190
+ function cmdString(self) {
191
+ return '/_connect ' + self.userId + (self.incognito ? ' incognito=on' : '');
192
+ }
193
+ APIAddContact.cmdString = cmdString;
194
+ })(APIAddContact || (exports.APIAddContact = APIAddContact = {}));
195
+ var APIConnectPlan;
196
+ (function (APIConnectPlan) {
197
+ function cmdString(self) {
198
+ return '/_connect plan ' + self.userId + ' ' + self.connectionLink;
199
+ }
200
+ APIConnectPlan.cmdString = cmdString;
201
+ })(APIConnectPlan || (exports.APIConnectPlan = APIConnectPlan = {}));
202
+ var APIConnect;
203
+ (function (APIConnect) {
204
+ function cmdString(self) {
205
+ return '/_connect ' + self.userId + (self.connLink_ ? ' ' + self.connLink_.toString() : '');
206
+ }
207
+ APIConnect.cmdString = cmdString;
208
+ })(APIConnect || (exports.APIConnect = APIConnect = {}));
209
+ var APIAcceptContact;
210
+ (function (APIAcceptContact) {
211
+ function cmdString(self) {
212
+ return '/_accept ' + self.contactReqId;
213
+ }
214
+ APIAcceptContact.cmdString = cmdString;
215
+ })(APIAcceptContact || (exports.APIAcceptContact = APIAcceptContact = {}));
216
+ var APIRejectContact;
217
+ (function (APIRejectContact) {
218
+ function cmdString(self) {
219
+ return '/_reject ' + self.contactReqId;
220
+ }
221
+ APIRejectContact.cmdString = cmdString;
222
+ })(APIRejectContact || (exports.APIRejectContact = APIRejectContact = {}));
223
+ var APIListContacts;
224
+ (function (APIListContacts) {
225
+ function cmdString(self) {
226
+ return '/_contacts ' + self.userId;
227
+ }
228
+ APIListContacts.cmdString = cmdString;
229
+ })(APIListContacts || (exports.APIListContacts = APIListContacts = {}));
230
+ var APIListGroups;
231
+ (function (APIListGroups) {
232
+ function cmdString(self) {
233
+ return '/_groups ' + self.userId + (self.contactId_ ? ' @' + self.contactId_ : '') + (self.search ? ' ' + self.search : '');
234
+ }
235
+ APIListGroups.cmdString = cmdString;
236
+ })(APIListGroups || (exports.APIListGroups = APIListGroups = {}));
237
+ var APIDeleteChat;
238
+ (function (APIDeleteChat) {
239
+ function cmdString(self) {
240
+ return '/_delete ' + self.chatRef.toString() + ' ' + self.chatDeleteMode.toString();
241
+ }
242
+ APIDeleteChat.cmdString = cmdString;
243
+ })(APIDeleteChat || (exports.APIDeleteChat = APIDeleteChat = {}));
244
+ var ShowActiveUser;
245
+ (function (ShowActiveUser) {
246
+ function cmdString(_self) {
247
+ return '/user';
248
+ }
249
+ ShowActiveUser.cmdString = cmdString;
250
+ })(ShowActiveUser || (exports.ShowActiveUser = ShowActiveUser = {}));
251
+ var CreateActiveUser;
252
+ (function (CreateActiveUser) {
253
+ function cmdString(self) {
254
+ return '/_create user ' + JSON.stringify(self.newUser);
255
+ }
256
+ CreateActiveUser.cmdString = cmdString;
257
+ })(CreateActiveUser || (exports.CreateActiveUser = CreateActiveUser = {}));
258
+ var ListUsers;
259
+ (function (ListUsers) {
260
+ function cmdString(_self) {
261
+ return '/users';
262
+ }
263
+ ListUsers.cmdString = cmdString;
264
+ })(ListUsers || (exports.ListUsers = ListUsers = {}));
265
+ var APISetActiveUser;
266
+ (function (APISetActiveUser) {
267
+ function cmdString(self) {
268
+ return '/_user ' + self.userId + (self.viewPwd ? ' ' + JSON.stringify(self.viewPwd) : '');
269
+ }
270
+ APISetActiveUser.cmdString = cmdString;
271
+ })(APISetActiveUser || (exports.APISetActiveUser = APISetActiveUser = {}));
272
+ var APIDeleteUser;
273
+ (function (APIDeleteUser) {
274
+ function cmdString(self) {
275
+ return '/_delete user ' + self.userId + ' del_smp=' + (self.delSMPQueues ? 'on' : 'off') + (self.viewPwd ? ' ' + JSON.stringify(self.viewPwd) : '');
276
+ }
277
+ APIDeleteUser.cmdString = cmdString;
278
+ })(APIDeleteUser || (exports.APIDeleteUser = APIDeleteUser = {}));
279
+ var APIUpdateProfile;
280
+ (function (APIUpdateProfile) {
281
+ function cmdString(self) {
282
+ return '/_profile ' + self.userId + ' ' + JSON.stringify(self.profile);
283
+ }
284
+ APIUpdateProfile.cmdString = cmdString;
285
+ })(APIUpdateProfile || (exports.APIUpdateProfile = APIUpdateProfile = {}));
286
+ var APISetContactPrefs;
287
+ (function (APISetContactPrefs) {
288
+ function cmdString(self) {
289
+ return '/_set prefs @' + self.contactId + ' ' + JSON.stringify(self.preferences);
290
+ }
291
+ APISetContactPrefs.cmdString = cmdString;
292
+ })(APISetContactPrefs || (exports.APISetContactPrefs = APISetContactPrefs = {}));
293
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";AAAA,eAAe;AACf,wCAAwC;;;AAexC,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,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