@xmtp/wasm-bindings 0.0.1 → 0.0.3
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/README.md +7 -18
- package/dist/bindings_wasm.d.ts +509 -531
- package/dist/bindings_wasm.js +2302 -2385
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +211 -210
- package/package.json +7 -3
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* @param {string} db_path
|
|
8
8
|
* @param {Uint8Array | undefined} [encryption_key]
|
|
9
9
|
* @param {string | undefined} [history_sync_url]
|
|
10
|
-
* @returns {Promise<
|
|
10
|
+
* @returns {Promise<Client>}
|
|
11
11
|
*/
|
|
12
|
-
export function createClient(host: string, inbox_id: string, account_address: string, db_path: string, encryption_key?: Uint8Array, history_sync_url?: string): Promise<
|
|
12
|
+
export function createClient(host: string, inbox_id: string, account_address: string, db_path: string, encryption_key?: Uint8Array, history_sync_url?: string): Promise<Client>;
|
|
13
13
|
/**
|
|
14
14
|
* @param {string} host
|
|
15
15
|
* @param {string} account_address
|
|
@@ -21,70 +21,46 @@ export function getInboxIdForAddress(host: string, account_address: string): Pro
|
|
|
21
21
|
* @returns {string}
|
|
22
22
|
*/
|
|
23
23
|
export function generateInboxId(account_address: string): string;
|
|
24
|
-
|
|
25
|
-
* Handler for `console.log` invocations.
|
|
26
|
-
*
|
|
27
|
-
* If a test is currently running it takes the `args` array and stringifies
|
|
28
|
-
* it and appends it to the current output of the test. Otherwise it passes
|
|
29
|
-
* the arguments to the original `console.log` function, psased as
|
|
30
|
-
* `original`.
|
|
31
|
-
* @param {Array<any>} args
|
|
32
|
-
*/
|
|
33
|
-
export function __wbgtest_console_log(args: Array<any>): void;
|
|
34
|
-
/**
|
|
35
|
-
* Handler for `console.debug` invocations. See above.
|
|
36
|
-
* @param {Array<any>} args
|
|
37
|
-
*/
|
|
38
|
-
export function __wbgtest_console_debug(args: Array<any>): void;
|
|
39
|
-
/**
|
|
40
|
-
* Handler for `console.info` invocations. See above.
|
|
41
|
-
* @param {Array<any>} args
|
|
42
|
-
*/
|
|
43
|
-
export function __wbgtest_console_info(args: Array<any>): void;
|
|
44
|
-
/**
|
|
45
|
-
* Handler for `console.warn` invocations. See above.
|
|
46
|
-
* @param {Array<any>} args
|
|
47
|
-
*/
|
|
48
|
-
export function __wbgtest_console_warn(args: Array<any>): void;
|
|
49
|
-
/**
|
|
50
|
-
* Handler for `console.error` invocations. See above.
|
|
51
|
-
* @param {Array<any>} args
|
|
52
|
-
*/
|
|
53
|
-
export function __wbgtest_console_error(args: Array<any>): void;
|
|
54
|
-
/**
|
|
55
|
-
* @returns {Uint8Array | undefined}
|
|
56
|
-
*/
|
|
57
|
-
export function __wbgtest_cov_dump(): Uint8Array | undefined;
|
|
58
|
-
export enum WasmConsentEntityType {
|
|
24
|
+
export enum ConsentEntityType {
|
|
59
25
|
GroupId = 0,
|
|
60
26
|
InboxId = 1,
|
|
61
27
|
Address = 2,
|
|
62
28
|
}
|
|
63
|
-
export enum
|
|
29
|
+
export enum ConsentState {
|
|
64
30
|
Unknown = 0,
|
|
65
31
|
Allowed = 1,
|
|
66
32
|
Denied = 2,
|
|
67
33
|
}
|
|
68
|
-
export enum
|
|
34
|
+
export enum ConversationType {
|
|
35
|
+
Dm = 0,
|
|
36
|
+
Group = 1,
|
|
37
|
+
Sync = 2,
|
|
38
|
+
}
|
|
39
|
+
export enum DeliveryStatus {
|
|
69
40
|
Unpublished = 0,
|
|
70
41
|
Published = 1,
|
|
71
42
|
Failed = 2,
|
|
72
43
|
}
|
|
73
|
-
export enum
|
|
44
|
+
export enum GroupMembershipState {
|
|
45
|
+
Allowed = 0,
|
|
46
|
+
Rejected = 1,
|
|
47
|
+
Pending = 2,
|
|
48
|
+
}
|
|
49
|
+
export enum GroupMessageKind {
|
|
74
50
|
Application = 0,
|
|
75
51
|
MembershipChange = 1,
|
|
76
52
|
}
|
|
77
|
-
export enum
|
|
53
|
+
export enum GroupPermissionsOptions {
|
|
78
54
|
AllMembers = 0,
|
|
79
55
|
AdminOnly = 1,
|
|
80
56
|
CustomPolicy = 2,
|
|
81
57
|
}
|
|
82
|
-
export enum
|
|
58
|
+
export enum PermissionLevel {
|
|
83
59
|
Member = 0,
|
|
84
60
|
Admin = 1,
|
|
85
61
|
SuperAdmin = 2,
|
|
86
62
|
}
|
|
87
|
-
export enum
|
|
63
|
+
export enum PermissionPolicy {
|
|
88
64
|
Allow = 0,
|
|
89
65
|
Deny = 1,
|
|
90
66
|
Admin = 2,
|
|
@@ -92,111 +68,51 @@ export enum WasmPermissionPolicy {
|
|
|
92
68
|
DoesNotExist = 4,
|
|
93
69
|
Other = 5,
|
|
94
70
|
}
|
|
95
|
-
export enum
|
|
71
|
+
export enum PermissionUpdateType {
|
|
96
72
|
AddMember = 0,
|
|
97
73
|
RemoveMember = 1,
|
|
98
74
|
AddAdmin = 2,
|
|
99
75
|
RemoveAdmin = 3,
|
|
100
76
|
UpdateMetadata = 4,
|
|
101
77
|
}
|
|
102
|
-
export enum
|
|
78
|
+
export enum SignatureRequestType {
|
|
103
79
|
AddWallet = 0,
|
|
104
80
|
CreateInbox = 1,
|
|
105
81
|
RevokeWallet = 2,
|
|
106
82
|
RevokeInstallations = 3,
|
|
107
83
|
}
|
|
108
|
-
export
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
* @param {ReadableByteStreamController} controller
|
|
112
|
-
*/
|
|
113
|
-
start(controller: ReadableByteStreamController): void;
|
|
114
|
-
/**
|
|
115
|
-
* @param {ReadableByteStreamController} controller
|
|
116
|
-
* @returns {Promise<any>}
|
|
117
|
-
*/
|
|
118
|
-
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
119
|
-
cancel(): void;
|
|
120
|
-
readonly autoAllocateChunkSize: number;
|
|
121
|
-
readonly type: string;
|
|
122
|
-
}
|
|
123
|
-
export class IntoUnderlyingSink {
|
|
124
|
-
free(): void;
|
|
125
|
-
/**
|
|
126
|
-
* @param {any} chunk
|
|
127
|
-
* @returns {Promise<any>}
|
|
128
|
-
*/
|
|
129
|
-
write(chunk: any): Promise<any>;
|
|
130
|
-
/**
|
|
131
|
-
* @returns {Promise<any>}
|
|
132
|
-
*/
|
|
133
|
-
close(): Promise<any>;
|
|
134
|
-
/**
|
|
135
|
-
* @param {any} reason
|
|
136
|
-
* @returns {Promise<any>}
|
|
137
|
-
*/
|
|
138
|
-
abort(reason: any): Promise<any>;
|
|
84
|
+
export enum SortDirection {
|
|
85
|
+
Ascending = 0,
|
|
86
|
+
Descending = 1,
|
|
139
87
|
}
|
|
140
|
-
export class
|
|
88
|
+
export class Client {
|
|
141
89
|
free(): void;
|
|
142
90
|
/**
|
|
143
|
-
* @param {
|
|
91
|
+
* @param {(string)[]} account_addresses
|
|
144
92
|
* @returns {Promise<any>}
|
|
145
93
|
*/
|
|
146
|
-
|
|
147
|
-
cancel(): void;
|
|
148
|
-
}
|
|
149
|
-
export class Version {
|
|
150
|
-
free(): void;
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Runtime test harness support instantiated in JS.
|
|
154
|
-
*
|
|
155
|
-
* The node.js entry script instantiates a `Context` here which is used to
|
|
156
|
-
* drive test execution.
|
|
157
|
-
*/
|
|
158
|
-
export class WasmBindgenTestContext {
|
|
159
|
-
free(): void;
|
|
94
|
+
canMessage(account_addresses: (string)[]): Promise<any>;
|
|
160
95
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* A `Context` is the main structure through which test execution is
|
|
164
|
-
* coordinated, and this will collect output and results for all executed
|
|
165
|
-
* tests.
|
|
96
|
+
* @returns {Promise<void>}
|
|
166
97
|
*/
|
|
167
|
-
|
|
98
|
+
registerIdentity(): Promise<void>;
|
|
168
99
|
/**
|
|
169
|
-
*
|
|
170
|
-
* harness.
|
|
171
|
-
* @param {any[]} args
|
|
100
|
+
* @returns {Promise<void>}
|
|
172
101
|
*/
|
|
173
|
-
|
|
102
|
+
sendHistorySyncRequest(): Promise<void>;
|
|
174
103
|
/**
|
|
175
|
-
*
|
|
176
|
-
* eventual completion.
|
|
177
|
-
*
|
|
178
|
-
* This is the main entry point for executing tests. All the tests passed
|
|
179
|
-
* in are the JS `Function` object that was plucked off the
|
|
180
|
-
* `WebAssembly.Instance` exports list.
|
|
181
|
-
*
|
|
182
|
-
* The promise returned resolves to either `true` if all tests passed or
|
|
183
|
-
* `false` if at least one test failed.
|
|
184
|
-
* @param {any[]} tests
|
|
185
|
-
* @returns {Promise<any>}
|
|
104
|
+
* @returns {Promise<void>}
|
|
186
105
|
*/
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
export class WasmClient {
|
|
190
|
-
free(): void;
|
|
106
|
+
sendConsentSyncRequest(): Promise<void>;
|
|
191
107
|
/**
|
|
192
|
-
* @param {
|
|
193
|
-
* @returns {Promise<
|
|
108
|
+
* @param {string} address
|
|
109
|
+
* @returns {Promise<string | undefined>}
|
|
194
110
|
*/
|
|
195
|
-
|
|
111
|
+
findInboxIdByAddress(address: string): Promise<string | undefined>;
|
|
196
112
|
/**
|
|
197
|
-
* @returns {
|
|
113
|
+
* @returns {Conversations}
|
|
198
114
|
*/
|
|
199
|
-
|
|
115
|
+
conversations(): Conversations;
|
|
200
116
|
/**
|
|
201
117
|
* @returns {Promise<string | undefined>}
|
|
202
118
|
*/
|
|
@@ -217,24 +133,26 @@ export class WasmClient {
|
|
|
217
133
|
*/
|
|
218
134
|
revokeInstallationsSignatureText(): Promise<string>;
|
|
219
135
|
/**
|
|
220
|
-
* @param {
|
|
136
|
+
* @param {SignatureRequestType} signature_type
|
|
221
137
|
* @param {Uint8Array} signature_bytes
|
|
222
138
|
* @returns {Promise<void>}
|
|
223
139
|
*/
|
|
224
|
-
addSignature(signature_type:
|
|
140
|
+
addSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
225
141
|
/**
|
|
226
142
|
* @returns {Promise<void>}
|
|
227
143
|
*/
|
|
228
144
|
applySignatureRequests(): Promise<void>;
|
|
229
145
|
/**
|
|
146
|
+
* @param {(Consent)[]} records
|
|
230
147
|
* @returns {Promise<void>}
|
|
231
148
|
*/
|
|
232
|
-
|
|
149
|
+
setConsentStates(records: (Consent)[]): Promise<void>;
|
|
233
150
|
/**
|
|
234
|
-
* @param {
|
|
235
|
-
* @
|
|
151
|
+
* @param {ConsentEntityType} entity_type
|
|
152
|
+
* @param {string} entity
|
|
153
|
+
* @returns {Promise<ConsentState>}
|
|
236
154
|
*/
|
|
237
|
-
|
|
155
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
238
156
|
/**
|
|
239
157
|
*
|
|
240
158
|
* * Get the client's inbox state.
|
|
@@ -243,47 +161,32 @@ export class WasmClient {
|
|
|
243
161
|
* * Otherwise, the state will be read from the local database.
|
|
244
162
|
*
|
|
245
163
|
* @param {boolean} refresh_from_network
|
|
246
|
-
* @returns {Promise<
|
|
164
|
+
* @returns {Promise<InboxState>}
|
|
247
165
|
*/
|
|
248
|
-
inboxState(refresh_from_network: boolean): Promise<
|
|
166
|
+
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
249
167
|
/**
|
|
250
168
|
* @param {string} inbox_id
|
|
251
|
-
* @returns {Promise<
|
|
252
|
-
*/
|
|
253
|
-
getLatestInboxState(inbox_id: string): Promise<WasmInboxState>;
|
|
254
|
-
/**
|
|
255
|
-
* @param {(WasmConsent)[]} records
|
|
256
|
-
* @returns {Promise<void>}
|
|
257
|
-
*/
|
|
258
|
-
setConsentStates(records: (WasmConsent)[]): Promise<void>;
|
|
259
|
-
/**
|
|
260
|
-
* @param {WasmConsentEntityType} entity_type
|
|
261
|
-
* @param {string} entity
|
|
262
|
-
* @returns {Promise<WasmConsentState>}
|
|
263
|
-
*/
|
|
264
|
-
getConsentState(entity_type: WasmConsentEntityType, entity: string): Promise<WasmConsentState>;
|
|
265
|
-
/**
|
|
266
|
-
* @returns {WasmConversations}
|
|
169
|
+
* @returns {Promise<InboxState>}
|
|
267
170
|
*/
|
|
268
|
-
|
|
171
|
+
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
269
172
|
readonly accountAddress: string;
|
|
270
173
|
readonly inboxId: string;
|
|
271
174
|
readonly installationId: string;
|
|
272
175
|
readonly isRegistered: boolean;
|
|
273
176
|
}
|
|
274
|
-
export class
|
|
177
|
+
export class Consent {
|
|
275
178
|
free(): void;
|
|
276
179
|
/**
|
|
277
|
-
* @param {
|
|
278
|
-
* @param {
|
|
180
|
+
* @param {ConsentEntityType} entity_type
|
|
181
|
+
* @param {ConsentState} state
|
|
279
182
|
* @param {string} entity
|
|
280
183
|
*/
|
|
281
|
-
constructor(entity_type:
|
|
184
|
+
constructor(entity_type: ConsentEntityType, state: ConsentState, entity: string);
|
|
282
185
|
entity: string;
|
|
283
|
-
|
|
284
|
-
state:
|
|
186
|
+
entityType: ConsentEntityType;
|
|
187
|
+
state: ConsentState;
|
|
285
188
|
}
|
|
286
|
-
export class
|
|
189
|
+
export class ContentTypeId {
|
|
287
190
|
free(): void;
|
|
288
191
|
/**
|
|
289
192
|
* @param {string} authority_id
|
|
@@ -292,246 +195,270 @@ export class WasmContentTypeId {
|
|
|
292
195
|
* @param {number} version_minor
|
|
293
196
|
*/
|
|
294
197
|
constructor(authority_id: string, type_id: string, version_major: number, version_minor: number);
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
export class WasmConversations {
|
|
301
|
-
free(): void;
|
|
302
|
-
/**
|
|
303
|
-
* @param {(string)[]} account_addresses
|
|
304
|
-
* @param {WasmCreateGroupOptions | undefined} [options]
|
|
305
|
-
* @returns {Promise<WasmGroup>}
|
|
306
|
-
*/
|
|
307
|
-
create_group(account_addresses: (string)[], options?: WasmCreateGroupOptions): Promise<WasmGroup>;
|
|
308
|
-
/**
|
|
309
|
-
* @param {string} group_id
|
|
310
|
-
* @returns {WasmGroup}
|
|
311
|
-
*/
|
|
312
|
-
find_group_by_id(group_id: string): WasmGroup;
|
|
313
|
-
/**
|
|
314
|
-
* @param {string} message_id
|
|
315
|
-
* @returns {WasmMessage}
|
|
316
|
-
*/
|
|
317
|
-
find_message_by_id(message_id: string): WasmMessage;
|
|
318
|
-
/**
|
|
319
|
-
* @returns {Promise<void>}
|
|
320
|
-
*/
|
|
321
|
-
sync(): Promise<void>;
|
|
322
|
-
/**
|
|
323
|
-
* @param {WasmListConversationsOptions | undefined} [opts]
|
|
324
|
-
* @returns {Promise<Array<any>>}
|
|
325
|
-
*/
|
|
326
|
-
list(opts?: WasmListConversationsOptions): Promise<Array<any>>;
|
|
198
|
+
authorityId: string;
|
|
199
|
+
typeId: string;
|
|
200
|
+
versionMajor: number;
|
|
201
|
+
versionMinor: number;
|
|
327
202
|
}
|
|
328
|
-
export class
|
|
203
|
+
export class Conversation {
|
|
329
204
|
free(): void;
|
|
330
205
|
/**
|
|
331
|
-
* @
|
|
332
|
-
* @param {string | undefined} [group_name]
|
|
333
|
-
* @param {string | undefined} [group_image_url_square]
|
|
334
|
-
* @param {string | undefined} [group_description]
|
|
335
|
-
* @param {string | undefined} [group_pinned_frame_url]
|
|
206
|
+
* @returns {ConsentState}
|
|
336
207
|
*/
|
|
337
|
-
|
|
338
|
-
group_description?: string;
|
|
339
|
-
group_image_url_square?: string;
|
|
340
|
-
group_name?: string;
|
|
341
|
-
group_pinned_frame_url?: string;
|
|
342
|
-
permissions?: WasmGroupPermissionsOptions;
|
|
343
|
-
}
|
|
344
|
-
export class WasmEncodedContent {
|
|
345
|
-
free(): void;
|
|
208
|
+
consentState(): ConsentState;
|
|
346
209
|
/**
|
|
347
|
-
* @param {
|
|
348
|
-
* @param {any} parameters
|
|
349
|
-
* @param {string | undefined} fallback
|
|
350
|
-
* @param {number | undefined} compression
|
|
351
|
-
* @param {Uint8Array} content
|
|
210
|
+
* @param {ConsentState} state
|
|
352
211
|
*/
|
|
353
|
-
|
|
354
|
-
compression?: number;
|
|
355
|
-
content: Uint8Array;
|
|
356
|
-
fallback?: string;
|
|
357
|
-
parameters: any;
|
|
358
|
-
type?: WasmContentTypeId;
|
|
359
|
-
}
|
|
360
|
-
export class WasmGroup {
|
|
361
|
-
free(): void;
|
|
212
|
+
updateConsentState(state: ConsentState): void;
|
|
362
213
|
/**
|
|
363
214
|
* @returns {string}
|
|
364
215
|
*/
|
|
365
216
|
id(): string;
|
|
366
217
|
/**
|
|
367
|
-
* @param {
|
|
218
|
+
* @param {EncodedContent} encoded_content
|
|
368
219
|
* @returns {Promise<string>}
|
|
369
220
|
*/
|
|
370
|
-
send(encoded_content:
|
|
221
|
+
send(encoded_content: EncodedContent): Promise<string>;
|
|
371
222
|
/**
|
|
372
223
|
* send a message without immediately publishing to the delivery service.
|
|
373
|
-
* @param {
|
|
224
|
+
* @param {EncodedContent} encoded_content
|
|
374
225
|
* @returns {string}
|
|
375
226
|
*/
|
|
376
|
-
|
|
227
|
+
sendOptimistic(encoded_content: EncodedContent): string;
|
|
377
228
|
/**
|
|
378
229
|
* Publish all unpublished messages
|
|
379
230
|
* @returns {Promise<void>}
|
|
380
231
|
*/
|
|
381
|
-
|
|
232
|
+
publishMessages(): Promise<void>;
|
|
382
233
|
/**
|
|
383
234
|
* @returns {Promise<void>}
|
|
384
235
|
*/
|
|
385
236
|
sync(): Promise<void>;
|
|
386
237
|
/**
|
|
387
|
-
* @param {
|
|
388
|
-
* @returns {(
|
|
238
|
+
* @param {ListMessagesOptions | undefined} [opts]
|
|
239
|
+
* @returns {(Message)[]}
|
|
389
240
|
*/
|
|
390
|
-
|
|
241
|
+
findMessages(opts?: ListMessagesOptions): (Message)[];
|
|
391
242
|
/**
|
|
392
243
|
* @returns {Promise<any>}
|
|
393
244
|
*/
|
|
394
|
-
|
|
245
|
+
listMembers(): Promise<any>;
|
|
395
246
|
/**
|
|
396
247
|
* @returns {(string)[]}
|
|
397
248
|
*/
|
|
398
|
-
|
|
249
|
+
adminList(): (string)[];
|
|
399
250
|
/**
|
|
400
251
|
* @returns {(string)[]}
|
|
401
252
|
*/
|
|
402
|
-
|
|
253
|
+
superAdminList(): (string)[];
|
|
403
254
|
/**
|
|
404
255
|
* @param {string} inbox_id
|
|
405
256
|
* @returns {boolean}
|
|
406
257
|
*/
|
|
407
|
-
|
|
258
|
+
isAdmin(inbox_id: string): boolean;
|
|
408
259
|
/**
|
|
409
260
|
* @param {string} inbox_id
|
|
410
261
|
* @returns {boolean}
|
|
411
262
|
*/
|
|
412
|
-
|
|
263
|
+
isSuperAdmin(inbox_id: string): boolean;
|
|
413
264
|
/**
|
|
414
265
|
* @param {(string)[]} account_addresses
|
|
415
266
|
* @returns {Promise<void>}
|
|
416
267
|
*/
|
|
417
|
-
|
|
268
|
+
addMembers(account_addresses: (string)[]): Promise<void>;
|
|
418
269
|
/**
|
|
419
270
|
* @param {string} inbox_id
|
|
420
271
|
* @returns {Promise<void>}
|
|
421
272
|
*/
|
|
422
|
-
|
|
273
|
+
addAdmin(inbox_id: string): Promise<void>;
|
|
423
274
|
/**
|
|
424
275
|
* @param {string} inbox_id
|
|
425
276
|
* @returns {Promise<void>}
|
|
426
277
|
*/
|
|
427
|
-
|
|
278
|
+
removeAdmin(inbox_id: string): Promise<void>;
|
|
428
279
|
/**
|
|
429
280
|
* @param {string} inbox_id
|
|
430
281
|
* @returns {Promise<void>}
|
|
431
282
|
*/
|
|
432
|
-
|
|
283
|
+
addSuperAdmin(inbox_id: string): Promise<void>;
|
|
433
284
|
/**
|
|
434
285
|
* @param {string} inbox_id
|
|
435
286
|
* @returns {Promise<void>}
|
|
436
287
|
*/
|
|
437
|
-
|
|
288
|
+
removeSuperAdmin(inbox_id: string): Promise<void>;
|
|
438
289
|
/**
|
|
439
|
-
* @returns {
|
|
290
|
+
* @returns {GroupPermissions}
|
|
440
291
|
*/
|
|
441
|
-
|
|
292
|
+
groupPermissions(): GroupPermissions;
|
|
442
293
|
/**
|
|
443
294
|
* @param {(string)[]} inbox_ids
|
|
444
295
|
* @returns {Promise<void>}
|
|
445
296
|
*/
|
|
446
|
-
|
|
297
|
+
addMembersByInboxId(inbox_ids: (string)[]): Promise<void>;
|
|
447
298
|
/**
|
|
448
299
|
* @param {(string)[]} account_addresses
|
|
449
300
|
* @returns {Promise<void>}
|
|
450
301
|
*/
|
|
451
|
-
|
|
302
|
+
removeMembers(account_addresses: (string)[]): Promise<void>;
|
|
452
303
|
/**
|
|
453
304
|
* @param {(string)[]} inbox_ids
|
|
454
305
|
* @returns {Promise<void>}
|
|
455
306
|
*/
|
|
456
|
-
|
|
307
|
+
removeMembersByInboxId(inbox_ids: (string)[]): Promise<void>;
|
|
457
308
|
/**
|
|
458
309
|
* @param {string} group_name
|
|
459
310
|
* @returns {Promise<void>}
|
|
460
311
|
*/
|
|
461
|
-
|
|
312
|
+
updateGroupName(group_name: string): Promise<void>;
|
|
462
313
|
/**
|
|
463
314
|
* @returns {string}
|
|
464
315
|
*/
|
|
465
|
-
|
|
316
|
+
groupName(): string;
|
|
466
317
|
/**
|
|
467
318
|
* @param {string} group_image_url_square
|
|
468
319
|
* @returns {Promise<void>}
|
|
469
320
|
*/
|
|
470
|
-
|
|
321
|
+
updateGroupImageUrlSquare(group_image_url_square: string): Promise<void>;
|
|
471
322
|
/**
|
|
472
323
|
* @returns {string}
|
|
473
324
|
*/
|
|
474
|
-
|
|
325
|
+
groupImageUrlSquare(): string;
|
|
475
326
|
/**
|
|
476
327
|
* @param {string} group_description
|
|
477
328
|
* @returns {Promise<void>}
|
|
478
329
|
*/
|
|
479
|
-
|
|
330
|
+
updateGroupDescription(group_description: string): Promise<void>;
|
|
480
331
|
/**
|
|
481
332
|
* @returns {string}
|
|
482
333
|
*/
|
|
483
|
-
|
|
334
|
+
groupDescription(): string;
|
|
484
335
|
/**
|
|
485
336
|
* @param {string} pinned_frame_url
|
|
486
337
|
* @returns {Promise<void>}
|
|
487
338
|
*/
|
|
488
|
-
|
|
339
|
+
updateGroupPinnedFrameUrl(pinned_frame_url: string): Promise<void>;
|
|
489
340
|
/**
|
|
490
341
|
* @returns {string}
|
|
491
342
|
*/
|
|
492
|
-
|
|
343
|
+
groupPinnedFrameUrl(): string;
|
|
493
344
|
/**
|
|
494
345
|
* @returns {bigint}
|
|
495
346
|
*/
|
|
496
|
-
|
|
347
|
+
createdAtNs(): bigint;
|
|
497
348
|
/**
|
|
498
349
|
* @returns {boolean}
|
|
499
350
|
*/
|
|
500
|
-
|
|
351
|
+
isActive(): boolean;
|
|
352
|
+
/**
|
|
353
|
+
* @returns {string}
|
|
354
|
+
*/
|
|
355
|
+
addedByInboxId(): string;
|
|
356
|
+
/**
|
|
357
|
+
* @returns {GroupMetadata}
|
|
358
|
+
*/
|
|
359
|
+
groupMetadata(): GroupMetadata;
|
|
501
360
|
/**
|
|
502
361
|
* @returns {string}
|
|
503
362
|
*/
|
|
504
|
-
|
|
363
|
+
dmPeerInboxId(): string;
|
|
364
|
+
}
|
|
365
|
+
export class Conversations {
|
|
366
|
+
free(): void;
|
|
367
|
+
/**
|
|
368
|
+
* @param {(string)[]} account_addresses
|
|
369
|
+
* @param {CreateGroupOptions | undefined} [options]
|
|
370
|
+
* @returns {Promise<Conversation>}
|
|
371
|
+
*/
|
|
372
|
+
createGroup(account_addresses: (string)[], options?: CreateGroupOptions): Promise<Conversation>;
|
|
373
|
+
/**
|
|
374
|
+
* @param {string} account_address
|
|
375
|
+
* @returns {Promise<Conversation>}
|
|
376
|
+
*/
|
|
377
|
+
createDm(account_address: string): Promise<Conversation>;
|
|
378
|
+
/**
|
|
379
|
+
* @param {string} group_id
|
|
380
|
+
* @returns {Conversation}
|
|
381
|
+
*/
|
|
382
|
+
findGroupById(group_id: string): Conversation;
|
|
383
|
+
/**
|
|
384
|
+
* @param {string} target_inbox_id
|
|
385
|
+
* @returns {Conversation}
|
|
386
|
+
*/
|
|
387
|
+
findDmByTargetInboxId(target_inbox_id: string): Conversation;
|
|
388
|
+
/**
|
|
389
|
+
* @param {string} message_id
|
|
390
|
+
* @returns {Message}
|
|
391
|
+
*/
|
|
392
|
+
findMessageById(message_id: string): Message;
|
|
393
|
+
/**
|
|
394
|
+
* @returns {Promise<void>}
|
|
395
|
+
*/
|
|
396
|
+
sync(): Promise<void>;
|
|
397
|
+
/**
|
|
398
|
+
* @param {ListConversationsOptions | undefined} [opts]
|
|
399
|
+
* @returns {Promise<Array<any>>}
|
|
400
|
+
*/
|
|
401
|
+
list(opts?: ListConversationsOptions): Promise<Array<any>>;
|
|
505
402
|
/**
|
|
506
|
-
* @
|
|
403
|
+
* @param {ListConversationsOptions | undefined} [opts]
|
|
404
|
+
* @returns {Promise<Array<any>>}
|
|
507
405
|
*/
|
|
508
|
-
|
|
406
|
+
listGroups(opts?: ListConversationsOptions): Promise<Array<any>>;
|
|
407
|
+
/**
|
|
408
|
+
* @param {ListConversationsOptions | undefined} [opts]
|
|
409
|
+
* @returns {Promise<Array<any>>}
|
|
410
|
+
*/
|
|
411
|
+
listDms(opts?: ListConversationsOptions): Promise<Array<any>>;
|
|
412
|
+
}
|
|
413
|
+
export class CreateGroupOptions {
|
|
414
|
+
free(): void;
|
|
509
415
|
/**
|
|
510
|
-
* @
|
|
416
|
+
* @param {GroupPermissionsOptions | undefined} [permissions]
|
|
417
|
+
* @param {string | undefined} [group_name]
|
|
418
|
+
* @param {string | undefined} [group_image_url_square]
|
|
419
|
+
* @param {string | undefined} [group_description]
|
|
420
|
+
* @param {string | undefined} [group_pinned_frame_url]
|
|
511
421
|
*/
|
|
512
|
-
|
|
422
|
+
constructor(permissions?: GroupPermissionsOptions, group_name?: string, group_image_url_square?: string, group_description?: string, group_pinned_frame_url?: string);
|
|
423
|
+
groupDescription?: string;
|
|
424
|
+
groupImageUrlSquare?: string;
|
|
425
|
+
groupName?: string;
|
|
426
|
+
groupPinnedFrameUrl?: string;
|
|
427
|
+
permissions?: GroupPermissionsOptions;
|
|
428
|
+
}
|
|
429
|
+
export class EncodedContent {
|
|
430
|
+
free(): void;
|
|
513
431
|
/**
|
|
514
|
-
* @param {
|
|
432
|
+
* @param {ContentTypeId | undefined} type
|
|
433
|
+
* @param {any} parameters
|
|
434
|
+
* @param {string | undefined} fallback
|
|
435
|
+
* @param {number | undefined} compression
|
|
436
|
+
* @param {Uint8Array} content
|
|
515
437
|
*/
|
|
516
|
-
|
|
438
|
+
constructor(type: ContentTypeId | undefined, parameters: any, fallback: string | undefined, compression: number | undefined, content: Uint8Array);
|
|
439
|
+
compression?: number;
|
|
440
|
+
content: Uint8Array;
|
|
441
|
+
fallback?: string;
|
|
442
|
+
parameters: any;
|
|
443
|
+
type?: ContentTypeId;
|
|
517
444
|
}
|
|
518
|
-
export class
|
|
445
|
+
export class GroupMember {
|
|
519
446
|
free(): void;
|
|
520
447
|
/**
|
|
521
448
|
* @param {string} inbox_id
|
|
522
449
|
* @param {(string)[]} account_addresses
|
|
523
450
|
* @param {(string)[]} installation_ids
|
|
524
|
-
* @param {
|
|
525
|
-
* @param {
|
|
526
|
-
*/
|
|
527
|
-
constructor(inbox_id: string, account_addresses: (string)[], installation_ids: (string)[], permission_level:
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
451
|
+
* @param {PermissionLevel} permission_level
|
|
452
|
+
* @param {ConsentState} consent_state
|
|
453
|
+
*/
|
|
454
|
+
constructor(inbox_id: string, account_addresses: (string)[], installation_ids: (string)[], permission_level: PermissionLevel, consent_state: ConsentState);
|
|
455
|
+
accountAddresses: (string)[];
|
|
456
|
+
consentState: ConsentState;
|
|
457
|
+
inboxId: string;
|
|
458
|
+
installationIds: (string)[];
|
|
459
|
+
permissionLevel: PermissionLevel;
|
|
533
460
|
}
|
|
534
|
-
export class
|
|
461
|
+
export class GroupMetadata {
|
|
535
462
|
free(): void;
|
|
536
463
|
/**
|
|
537
464
|
* @returns {string}
|
|
@@ -542,308 +469,374 @@ export class WasmGroupMetadata {
|
|
|
542
469
|
*/
|
|
543
470
|
conversation_type(): string;
|
|
544
471
|
}
|
|
545
|
-
export class
|
|
472
|
+
export class GroupPermissions {
|
|
546
473
|
free(): void;
|
|
547
474
|
/**
|
|
548
|
-
* @returns {
|
|
475
|
+
* @returns {GroupPermissionsOptions}
|
|
549
476
|
*/
|
|
550
|
-
|
|
477
|
+
policyType(): GroupPermissionsOptions;
|
|
551
478
|
/**
|
|
552
|
-
* @returns {
|
|
479
|
+
* @returns {PermissionPolicySet}
|
|
553
480
|
*/
|
|
554
|
-
|
|
481
|
+
policySet(): PermissionPolicySet;
|
|
555
482
|
}
|
|
556
|
-
export class
|
|
483
|
+
export class InboxState {
|
|
557
484
|
free(): void;
|
|
558
485
|
/**
|
|
559
486
|
* @param {string} inbox_id
|
|
560
487
|
* @param {string} recovery_address
|
|
561
|
-
* @param {(
|
|
488
|
+
* @param {(Installation)[]} installations
|
|
562
489
|
* @param {(string)[]} account_addresses
|
|
563
490
|
*/
|
|
564
|
-
constructor(inbox_id: string, recovery_address: string, installations: (
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
installations: (
|
|
568
|
-
|
|
491
|
+
constructor(inbox_id: string, recovery_address: string, installations: (Installation)[], account_addresses: (string)[]);
|
|
492
|
+
accountAddresses: (string)[];
|
|
493
|
+
inboxId: string;
|
|
494
|
+
installations: (Installation)[];
|
|
495
|
+
recoveryAddress: string;
|
|
569
496
|
}
|
|
570
|
-
export class
|
|
497
|
+
export class Installation {
|
|
571
498
|
free(): void;
|
|
572
499
|
/**
|
|
573
500
|
* @param {string} id
|
|
574
501
|
* @param {bigint | undefined} [client_timestamp_ns]
|
|
575
502
|
*/
|
|
576
503
|
constructor(id: string, client_timestamp_ns?: bigint);
|
|
577
|
-
|
|
504
|
+
clientTimestampNs?: bigint;
|
|
578
505
|
id: string;
|
|
579
506
|
}
|
|
580
|
-
export class
|
|
507
|
+
export class IntoUnderlyingByteSource {
|
|
508
|
+
free(): void;
|
|
509
|
+
/**
|
|
510
|
+
* @param {ReadableByteStreamController} controller
|
|
511
|
+
*/
|
|
512
|
+
start(controller: ReadableByteStreamController): void;
|
|
513
|
+
/**
|
|
514
|
+
* @param {ReadableByteStreamController} controller
|
|
515
|
+
* @returns {Promise<any>}
|
|
516
|
+
*/
|
|
517
|
+
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
518
|
+
cancel(): void;
|
|
519
|
+
readonly autoAllocateChunkSize: number;
|
|
520
|
+
readonly type: any;
|
|
521
|
+
}
|
|
522
|
+
export class IntoUnderlyingSink {
|
|
523
|
+
free(): void;
|
|
524
|
+
/**
|
|
525
|
+
* @param {any} chunk
|
|
526
|
+
* @returns {Promise<any>}
|
|
527
|
+
*/
|
|
528
|
+
write(chunk: any): Promise<any>;
|
|
529
|
+
/**
|
|
530
|
+
* @returns {Promise<any>}
|
|
531
|
+
*/
|
|
532
|
+
close(): Promise<any>;
|
|
533
|
+
/**
|
|
534
|
+
* @param {any} reason
|
|
535
|
+
* @returns {Promise<any>}
|
|
536
|
+
*/
|
|
537
|
+
abort(reason: any): Promise<any>;
|
|
538
|
+
}
|
|
539
|
+
export class IntoUnderlyingSource {
|
|
540
|
+
free(): void;
|
|
541
|
+
/**
|
|
542
|
+
* @param {ReadableStreamDefaultController} controller
|
|
543
|
+
* @returns {Promise<any>}
|
|
544
|
+
*/
|
|
545
|
+
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
546
|
+
cancel(): void;
|
|
547
|
+
}
|
|
548
|
+
export class ListConversationsOptions {
|
|
581
549
|
free(): void;
|
|
582
550
|
/**
|
|
551
|
+
* @param {any[] | undefined} [allowed_states]
|
|
552
|
+
* @param {ConversationType | undefined} [conversation_type]
|
|
583
553
|
* @param {bigint | undefined} [created_after_ns]
|
|
584
554
|
* @param {bigint | undefined} [created_before_ns]
|
|
585
555
|
* @param {bigint | undefined} [limit]
|
|
586
556
|
*/
|
|
587
|
-
constructor(created_after_ns?: bigint, created_before_ns?: bigint, limit?: bigint);
|
|
588
|
-
|
|
589
|
-
|
|
557
|
+
constructor(allowed_states?: any[], conversation_type?: ConversationType, created_after_ns?: bigint, created_before_ns?: bigint, limit?: bigint);
|
|
558
|
+
allowedStates?: any[];
|
|
559
|
+
conversationType?: ConversationType;
|
|
560
|
+
createdAfterNs?: bigint;
|
|
561
|
+
createdBeforeNs?: bigint;
|
|
590
562
|
limit?: bigint;
|
|
591
563
|
}
|
|
592
|
-
export class
|
|
564
|
+
export class ListMessagesOptions {
|
|
593
565
|
free(): void;
|
|
594
566
|
/**
|
|
595
567
|
* @param {bigint | undefined} [sent_before_ns]
|
|
596
568
|
* @param {bigint | undefined} [sent_after_ns]
|
|
597
569
|
* @param {bigint | undefined} [limit]
|
|
598
|
-
* @param {
|
|
570
|
+
* @param {DeliveryStatus | undefined} [delivery_status]
|
|
571
|
+
* @param {SortDirection | undefined} [direction]
|
|
599
572
|
*/
|
|
600
|
-
constructor(sent_before_ns?: bigint, sent_after_ns?: bigint, limit?: bigint, delivery_status?:
|
|
601
|
-
|
|
573
|
+
constructor(sent_before_ns?: bigint, sent_after_ns?: bigint, limit?: bigint, delivery_status?: DeliveryStatus, direction?: SortDirection);
|
|
574
|
+
deliveryStatus?: DeliveryStatus;
|
|
575
|
+
direction?: SortDirection;
|
|
602
576
|
limit?: bigint;
|
|
603
|
-
|
|
604
|
-
|
|
577
|
+
sentAfterNs?: bigint;
|
|
578
|
+
sentBeforeNs?: bigint;
|
|
605
579
|
}
|
|
606
|
-
export class
|
|
580
|
+
export class Message {
|
|
607
581
|
free(): void;
|
|
608
582
|
/**
|
|
609
583
|
* @param {string} id
|
|
610
584
|
* @param {bigint} sent_at_ns
|
|
611
585
|
* @param {string} convo_id
|
|
612
586
|
* @param {string} sender_inbox_id
|
|
613
|
-
* @param {
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {
|
|
616
|
-
*/
|
|
617
|
-
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content:
|
|
618
|
-
content:
|
|
619
|
-
|
|
620
|
-
|
|
587
|
+
* @param {EncodedContent} content
|
|
588
|
+
* @param {GroupMessageKind} kind
|
|
589
|
+
* @param {DeliveryStatus} delivery_status
|
|
590
|
+
*/
|
|
591
|
+
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content: EncodedContent, kind: GroupMessageKind, delivery_status: DeliveryStatus);
|
|
592
|
+
content: EncodedContent;
|
|
593
|
+
convoId: string;
|
|
594
|
+
deliveryStatus: DeliveryStatus;
|
|
621
595
|
id: string;
|
|
622
|
-
kind:
|
|
623
|
-
|
|
624
|
-
|
|
596
|
+
kind: GroupMessageKind;
|
|
597
|
+
senderInboxId: string;
|
|
598
|
+
sentAtNs: bigint;
|
|
625
599
|
}
|
|
626
|
-
export class
|
|
600
|
+
export class PermissionPolicySet {
|
|
627
601
|
free(): void;
|
|
628
602
|
/**
|
|
629
|
-
* @param {
|
|
630
|
-
* @param {
|
|
631
|
-
* @param {
|
|
632
|
-
* @param {
|
|
633
|
-
* @param {
|
|
634
|
-
* @param {
|
|
635
|
-
* @param {
|
|
636
|
-
* @param {
|
|
637
|
-
*/
|
|
638
|
-
constructor(add_member_policy:
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
603
|
+
* @param {PermissionPolicy} add_member_policy
|
|
604
|
+
* @param {PermissionPolicy} remove_member_policy
|
|
605
|
+
* @param {PermissionPolicy} add_admin_policy
|
|
606
|
+
* @param {PermissionPolicy} remove_admin_policy
|
|
607
|
+
* @param {PermissionPolicy} update_group_name_policy
|
|
608
|
+
* @param {PermissionPolicy} update_group_description_policy
|
|
609
|
+
* @param {PermissionPolicy} update_group_image_url_square_policy
|
|
610
|
+
* @param {PermissionPolicy} update_group_pinned_frame_url_policy
|
|
611
|
+
*/
|
|
612
|
+
constructor(add_member_policy: PermissionPolicy, remove_member_policy: PermissionPolicy, add_admin_policy: PermissionPolicy, remove_admin_policy: PermissionPolicy, update_group_name_policy: PermissionPolicy, update_group_description_policy: PermissionPolicy, update_group_image_url_square_policy: PermissionPolicy, update_group_pinned_frame_url_policy: PermissionPolicy);
|
|
613
|
+
addAdminPolicy: PermissionPolicy;
|
|
614
|
+
addMemberPolicy: PermissionPolicy;
|
|
615
|
+
removeAdminPolicy: PermissionPolicy;
|
|
616
|
+
removeMemberPolicy: PermissionPolicy;
|
|
617
|
+
updateGroupDescriptionPolicy: PermissionPolicy;
|
|
618
|
+
updateGroupImageUrlSquarePolicy: PermissionPolicy;
|
|
619
|
+
updateGroupNamePolicy: PermissionPolicy;
|
|
620
|
+
updateGroupPinnedFrameUrlPolicy: PermissionPolicy;
|
|
621
|
+
}
|
|
622
|
+
export class Version {
|
|
623
|
+
free(): void;
|
|
647
624
|
}
|
|
648
625
|
|
|
649
626
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
650
627
|
|
|
651
628
|
export interface InitOutput {
|
|
652
629
|
readonly memory: WebAssembly.Memory;
|
|
653
|
-
readonly
|
|
654
|
-
readonly __wbg_get_wasmpermissionpolicyset_add_member_policy: (a: number) => number;
|
|
655
|
-
readonly __wbg_set_wasmpermissionpolicyset_add_member_policy: (a: number, b: number) => void;
|
|
656
|
-
readonly __wbg_get_wasmpermissionpolicyset_remove_member_policy: (a: number) => number;
|
|
657
|
-
readonly __wbg_set_wasmpermissionpolicyset_remove_member_policy: (a: number, b: number) => void;
|
|
658
|
-
readonly __wbg_get_wasmpermissionpolicyset_add_admin_policy: (a: number) => number;
|
|
659
|
-
readonly __wbg_set_wasmpermissionpolicyset_add_admin_policy: (a: number, b: number) => void;
|
|
660
|
-
readonly __wbg_get_wasmpermissionpolicyset_remove_admin_policy: (a: number) => number;
|
|
661
|
-
readonly __wbg_set_wasmpermissionpolicyset_remove_admin_policy: (a: number, b: number) => void;
|
|
662
|
-
readonly __wbg_get_wasmpermissionpolicyset_update_group_name_policy: (a: number) => number;
|
|
663
|
-
readonly __wbg_set_wasmpermissionpolicyset_update_group_name_policy: (a: number, b: number) => void;
|
|
664
|
-
readonly __wbg_get_wasmpermissionpolicyset_update_group_description_policy: (a: number) => number;
|
|
665
|
-
readonly __wbg_set_wasmpermissionpolicyset_update_group_description_policy: (a: number, b: number) => void;
|
|
666
|
-
readonly __wbg_get_wasmpermissionpolicyset_update_group_image_url_square_policy: (a: number) => number;
|
|
667
|
-
readonly __wbg_set_wasmpermissionpolicyset_update_group_image_url_square_policy: (a: number, b: number) => void;
|
|
668
|
-
readonly __wbg_get_wasmpermissionpolicyset_update_group_pinned_frame_url_policy: (a: number) => number;
|
|
669
|
-
readonly __wbg_set_wasmpermissionpolicyset_update_group_pinned_frame_url_policy: (a: number, b: number) => void;
|
|
670
|
-
readonly wasmpermissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
671
|
-
readonly __wbg_wasmgrouppermissions_free: (a: number, b: number) => void;
|
|
672
|
-
readonly wasmgrouppermissions_policy_type: (a: number) => Array;
|
|
673
|
-
readonly wasmgrouppermissions_policy_set: (a: number) => Array;
|
|
674
|
-
readonly __wbg_wasmconsent_free: (a: number, b: number) => void;
|
|
675
|
-
readonly __wbg_get_wasmconsent_entity_type: (a: number) => number;
|
|
676
|
-
readonly __wbg_set_wasmconsent_entity_type: (a: number, b: number) => void;
|
|
677
|
-
readonly __wbg_get_wasmconsent_state: (a: number) => number;
|
|
678
|
-
readonly __wbg_set_wasmconsent_state: (a: number, b: number) => void;
|
|
679
|
-
readonly __wbg_get_wasmconsent_entity: (a: number) => Array;
|
|
680
|
-
readonly __wbg_set_wasmconsent_entity: (a: number, b: number, c: number) => void;
|
|
681
|
-
readonly wasmconsent_new: (a: number, b: number, c: number, d: number) => number;
|
|
682
|
-
readonly __wbg_wasmgroupmetadata_free: (a: number, b: number) => void;
|
|
683
|
-
readonly wasmgroupmetadata_creator_inbox_id: (a: number) => Array;
|
|
684
|
-
readonly wasmgroupmetadata_conversation_type: (a: number) => Array;
|
|
685
|
-
readonly __wbg_wasmgroupmember_free: (a: number, b: number) => void;
|
|
686
|
-
readonly __wbg_get_wasmgroupmember_account_addresses: (a: number) => Array;
|
|
687
|
-
readonly __wbg_set_wasmgroupmember_account_addresses: (a: number, b: number, c: number) => void;
|
|
688
|
-
readonly __wbg_get_wasmgroupmember_installation_ids: (a: number) => Array;
|
|
689
|
-
readonly __wbg_set_wasmgroupmember_installation_ids: (a: number, b: number, c: number) => void;
|
|
690
|
-
readonly __wbg_get_wasmgroupmember_permission_level: (a: number) => number;
|
|
691
|
-
readonly __wbg_set_wasmgroupmember_permission_level: (a: number, b: number) => void;
|
|
692
|
-
readonly __wbg_get_wasmgroupmember_consent_state: (a: number) => number;
|
|
693
|
-
readonly __wbg_set_wasmgroupmember_consent_state: (a: number, b: number) => void;
|
|
694
|
-
readonly wasmgroupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
695
|
-
readonly __wbg_wasmgroup_free: (a: number, b: number) => void;
|
|
696
|
-
readonly wasmgroup_id: (a: number) => Array;
|
|
697
|
-
readonly wasmgroup_send: (a: number, b: number) => number;
|
|
698
|
-
readonly wasmgroup_send_optimistic: (a: number, b: number) => Array;
|
|
699
|
-
readonly wasmgroup_publish_messages: (a: number) => number;
|
|
700
|
-
readonly wasmgroup_sync: (a: number) => number;
|
|
701
|
-
readonly wasmgroup_find_messages: (a: number, b: number) => Array;
|
|
702
|
-
readonly wasmgroup_list_members: (a: number) => number;
|
|
703
|
-
readonly wasmgroup_admin_list: (a: number) => Array;
|
|
704
|
-
readonly wasmgroup_super_admin_list: (a: number) => Array;
|
|
705
|
-
readonly wasmgroup_is_admin: (a: number, b: number, c: number) => Array;
|
|
706
|
-
readonly wasmgroup_is_super_admin: (a: number, b: number, c: number) => Array;
|
|
707
|
-
readonly wasmgroup_add_members: (a: number, b: number, c: number) => number;
|
|
708
|
-
readonly wasmgroup_add_admin: (a: number, b: number, c: number) => number;
|
|
709
|
-
readonly wasmgroup_remove_admin: (a: number, b: number, c: number) => number;
|
|
710
|
-
readonly wasmgroup_add_super_admin: (a: number, b: number, c: number) => number;
|
|
711
|
-
readonly wasmgroup_remove_super_admin: (a: number, b: number, c: number) => number;
|
|
712
|
-
readonly wasmgroup_group_permissions: (a: number) => Array;
|
|
713
|
-
readonly wasmgroup_add_members_by_inbox_id: (a: number, b: number, c: number) => number;
|
|
714
|
-
readonly wasmgroup_remove_members: (a: number, b: number, c: number) => number;
|
|
715
|
-
readonly wasmgroup_remove_members_by_inbox_id: (a: number, b: number, c: number) => number;
|
|
716
|
-
readonly wasmgroup_update_group_name: (a: number, b: number, c: number) => number;
|
|
717
|
-
readonly wasmgroup_group_name: (a: number) => Array;
|
|
718
|
-
readonly wasmgroup_update_group_image_url_square: (a: number, b: number, c: number) => number;
|
|
719
|
-
readonly wasmgroup_group_image_url_square: (a: number) => Array;
|
|
720
|
-
readonly wasmgroup_update_group_description: (a: number, b: number, c: number) => number;
|
|
721
|
-
readonly wasmgroup_group_description: (a: number) => Array;
|
|
722
|
-
readonly wasmgroup_update_group_pinned_frame_url: (a: number, b: number, c: number) => number;
|
|
723
|
-
readonly wasmgroup_group_pinned_frame_url: (a: number) => Array;
|
|
724
|
-
readonly wasmgroup_created_at_ns: (a: number) => number;
|
|
725
|
-
readonly wasmgroup_is_active: (a: number) => Array;
|
|
726
|
-
readonly wasmgroup_added_by_inbox_id: (a: number) => Array;
|
|
727
|
-
readonly wasmgroup_group_metadata: (a: number) => Array;
|
|
728
|
-
readonly wasmgroup_consent_state: (a: number) => Array;
|
|
729
|
-
readonly wasmgroup_update_consent_state: (a: number, b: number) => Array;
|
|
730
|
-
readonly __wbg_wasminstallation_free: (a: number, b: number) => void;
|
|
731
|
-
readonly __wbg_get_wasminstallation_id: (a: number) => Array;
|
|
732
|
-
readonly __wbg_set_wasminstallation_id: (a: number, b: number, c: number) => void;
|
|
733
|
-
readonly __wbg_get_wasminstallation_client_timestamp_ns: (a: number) => Array;
|
|
734
|
-
readonly __wbg_set_wasminstallation_client_timestamp_ns: (a: number, b: number, c: number) => void;
|
|
735
|
-
readonly wasminstallation_new: (a: number, b: number, c: number, d: number) => number;
|
|
736
|
-
readonly __wbg_wasminboxstate_free: (a: number, b: number) => void;
|
|
737
|
-
readonly __wbg_get_wasminboxstate_recovery_address: (a: number) => Array;
|
|
738
|
-
readonly __wbg_set_wasminboxstate_recovery_address: (a: number, b: number, c: number) => void;
|
|
739
|
-
readonly __wbg_get_wasminboxstate_installations: (a: number) => Array;
|
|
740
|
-
readonly __wbg_set_wasminboxstate_installations: (a: number, b: number, c: number) => void;
|
|
741
|
-
readonly __wbg_get_wasminboxstate_account_addresses: (a: number) => Array;
|
|
742
|
-
readonly __wbg_set_wasminboxstate_account_addresses: (a: number, b: number, c: number) => void;
|
|
743
|
-
readonly wasminboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
744
|
-
readonly __wbg_wasmclient_free: (a: number, b: number) => void;
|
|
630
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
745
631
|
readonly createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => number;
|
|
746
|
-
readonly
|
|
747
|
-
readonly
|
|
748
|
-
readonly
|
|
749
|
-
readonly
|
|
750
|
-
readonly
|
|
751
|
-
readonly
|
|
752
|
-
readonly
|
|
753
|
-
readonly
|
|
754
|
-
readonly
|
|
755
|
-
readonly
|
|
756
|
-
readonly
|
|
757
|
-
readonly
|
|
758
|
-
readonly
|
|
759
|
-
readonly
|
|
760
|
-
readonly
|
|
761
|
-
readonly
|
|
762
|
-
readonly
|
|
763
|
-
readonly
|
|
764
|
-
readonly
|
|
765
|
-
readonly
|
|
766
|
-
readonly
|
|
767
|
-
readonly
|
|
768
|
-
readonly
|
|
769
|
-
readonly
|
|
770
|
-
readonly
|
|
771
|
-
readonly
|
|
772
|
-
readonly
|
|
773
|
-
readonly
|
|
774
|
-
readonly
|
|
775
|
-
readonly
|
|
776
|
-
readonly
|
|
777
|
-
readonly
|
|
778
|
-
readonly
|
|
779
|
-
readonly
|
|
780
|
-
readonly
|
|
781
|
-
readonly
|
|
782
|
-
readonly
|
|
783
|
-
readonly
|
|
784
|
-
readonly
|
|
785
|
-
readonly
|
|
786
|
-
readonly
|
|
787
|
-
readonly
|
|
788
|
-
readonly
|
|
789
|
-
readonly
|
|
790
|
-
readonly
|
|
791
|
-
readonly
|
|
792
|
-
readonly
|
|
793
|
-
readonly
|
|
794
|
-
readonly
|
|
795
|
-
readonly
|
|
796
|
-
readonly
|
|
797
|
-
readonly
|
|
798
|
-
readonly
|
|
799
|
-
readonly
|
|
800
|
-
readonly
|
|
801
|
-
readonly
|
|
802
|
-
readonly
|
|
803
|
-
readonly
|
|
804
|
-
readonly
|
|
805
|
-
readonly
|
|
806
|
-
readonly
|
|
807
|
-
readonly
|
|
808
|
-
readonly
|
|
809
|
-
readonly
|
|
810
|
-
readonly
|
|
811
|
-
readonly
|
|
812
|
-
readonly
|
|
813
|
-
readonly
|
|
814
|
-
readonly
|
|
815
|
-
readonly
|
|
816
|
-
readonly
|
|
632
|
+
readonly client_accountAddress: (a: number) => Array;
|
|
633
|
+
readonly client_inboxId: (a: number) => Array;
|
|
634
|
+
readonly client_isRegistered: (a: number) => number;
|
|
635
|
+
readonly client_installationId: (a: number) => Array;
|
|
636
|
+
readonly client_canMessage: (a: number, b: number, c: number) => number;
|
|
637
|
+
readonly client_registerIdentity: (a: number) => number;
|
|
638
|
+
readonly client_sendHistorySyncRequest: (a: number) => number;
|
|
639
|
+
readonly client_sendConsentSyncRequest: (a: number) => number;
|
|
640
|
+
readonly client_findInboxIdByAddress: (a: number, b: number, c: number) => number;
|
|
641
|
+
readonly client_conversations: (a: number) => number;
|
|
642
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
643
|
+
readonly __wbg_get_listconversationsoptions_allowedStates: (a: number) => Array;
|
|
644
|
+
readonly __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
645
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
646
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
647
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => Array;
|
|
648
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: number) => void;
|
|
649
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => Array;
|
|
650
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: number) => void;
|
|
651
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => Array;
|
|
652
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: number) => void;
|
|
653
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
654
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
655
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
656
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
657
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => Array;
|
|
658
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
659
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => Array;
|
|
660
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
661
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => Array;
|
|
662
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
663
|
+
readonly __wbg_get_creategroupoptions_groupPinnedFrameUrl: (a: number) => Array;
|
|
664
|
+
readonly __wbg_set_creategroupoptions_groupPinnedFrameUrl: (a: number, b: number, c: number) => void;
|
|
665
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
666
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
667
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => number;
|
|
668
|
+
readonly conversations_createDm: (a: number, b: number, c: number) => number;
|
|
669
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => Array;
|
|
670
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => Array;
|
|
671
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => Array;
|
|
672
|
+
readonly conversations_sync: (a: number) => number;
|
|
673
|
+
readonly conversations_list: (a: number, b: number) => number;
|
|
674
|
+
readonly conversations_listGroups: (a: number, b: number) => number;
|
|
675
|
+
readonly conversations_listDms: (a: number, b: number) => number;
|
|
676
|
+
readonly client_createInboxSignatureText: (a: number) => number;
|
|
677
|
+
readonly client_addWalletSignatureText: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
678
|
+
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => number;
|
|
679
|
+
readonly client_revokeInstallationsSignatureText: (a: number) => number;
|
|
680
|
+
readonly client_addSignature: (a: number, b: number, c: number) => number;
|
|
681
|
+
readonly client_applySignatureRequests: (a: number) => number;
|
|
682
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
683
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
684
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
685
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
686
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
687
|
+
readonly __wbg_get_consent_entity: (a: number) => Array;
|
|
688
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
689
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
690
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => number;
|
|
691
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => number;
|
|
692
|
+
readonly conversation_consentState: (a: number) => Array;
|
|
693
|
+
readonly conversation_updateConsentState: (a: number, b: number) => Array;
|
|
694
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
695
|
+
readonly groupmetadata_creator_inbox_id: (a: number) => Array;
|
|
696
|
+
readonly groupmetadata_conversation_type: (a: number) => Array;
|
|
697
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
698
|
+
readonly __wbg_get_groupmember_accountAddresses: (a: number) => Array;
|
|
699
|
+
readonly __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
700
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => Array;
|
|
701
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
702
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
703
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
704
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
705
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
706
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
707
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
708
|
+
readonly conversation_id: (a: number) => Array;
|
|
709
|
+
readonly conversation_send: (a: number, b: number) => number;
|
|
710
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => Array;
|
|
711
|
+
readonly conversation_publishMessages: (a: number) => number;
|
|
712
|
+
readonly conversation_sync: (a: number) => number;
|
|
713
|
+
readonly conversation_findMessages: (a: number, b: number) => Array;
|
|
714
|
+
readonly conversation_listMembers: (a: number) => number;
|
|
715
|
+
readonly conversation_adminList: (a: number) => Array;
|
|
716
|
+
readonly conversation_superAdminList: (a: number) => Array;
|
|
717
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => Array;
|
|
718
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => Array;
|
|
719
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => number;
|
|
720
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => number;
|
|
721
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => number;
|
|
722
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => number;
|
|
723
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => number;
|
|
724
|
+
readonly conversation_groupPermissions: (a: number) => Array;
|
|
725
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => number;
|
|
726
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => number;
|
|
727
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => number;
|
|
728
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => number;
|
|
729
|
+
readonly conversation_groupName: (a: number) => Array;
|
|
730
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => number;
|
|
731
|
+
readonly conversation_groupImageUrlSquare: (a: number) => Array;
|
|
732
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => number;
|
|
733
|
+
readonly conversation_groupDescription: (a: number) => Array;
|
|
734
|
+
readonly conversation_updateGroupPinnedFrameUrl: (a: number, b: number, c: number) => number;
|
|
735
|
+
readonly conversation_groupPinnedFrameUrl: (a: number) => Array;
|
|
736
|
+
readonly conversation_createdAtNs: (a: number) => number;
|
|
737
|
+
readonly conversation_isActive: (a: number) => Array;
|
|
738
|
+
readonly conversation_addedByInboxId: (a: number) => Array;
|
|
739
|
+
readonly conversation_groupMetadata: (a: number) => Array;
|
|
740
|
+
readonly conversation_dmPeerInboxId: (a: number) => Array;
|
|
741
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
742
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => Array;
|
|
743
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
744
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
745
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
746
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
747
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
748
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
749
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
750
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
751
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
752
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => number;
|
|
753
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: number) => void;
|
|
754
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => Array;
|
|
755
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
756
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => Array;
|
|
757
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number, c: number) => void;
|
|
758
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => number;
|
|
759
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: number) => void;
|
|
760
|
+
readonly encodedcontent_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
761
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
762
|
+
readonly __wbg_get_installation_id: (a: number) => Array;
|
|
763
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
764
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => Array;
|
|
765
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: number) => void;
|
|
766
|
+
readonly installation_new: (a: number, b: number, c: number, d: number) => number;
|
|
767
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
768
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => Array;
|
|
769
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
770
|
+
readonly __wbg_get_inboxstate_accountAddresses: (a: number) => Array;
|
|
771
|
+
readonly __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
772
|
+
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
773
|
+
readonly client_inboxState: (a: number, b: number) => number;
|
|
774
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => number;
|
|
775
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
776
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => Array;
|
|
777
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: number) => void;
|
|
778
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => Array;
|
|
779
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: number) => void;
|
|
780
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
781
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
782
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
783
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
784
|
+
readonly listmessagesoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
785
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
786
|
+
readonly __wbg_get_message_id: (a: number) => Array;
|
|
787
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
788
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => number;
|
|
789
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: number) => void;
|
|
790
|
+
readonly __wbg_get_message_convoId: (a: number) => Array;
|
|
791
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
792
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => Array;
|
|
793
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
794
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
795
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
796
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
797
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
798
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
799
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
800
|
+
readonly message_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
801
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
802
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
803
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
804
|
+
readonly __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
805
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => Array;
|
|
806
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => Array;
|
|
807
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => Array;
|
|
808
|
+
readonly __wbg_get_inboxstate_recoveryAddress: (a: number) => Array;
|
|
809
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => Array;
|
|
810
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: number) => void;
|
|
817
811
|
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => number;
|
|
818
812
|
readonly generateInboxId: (a: number, b: number) => Array;
|
|
819
|
-
readonly
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
822
|
-
readonly
|
|
823
|
-
readonly
|
|
824
|
-
readonly
|
|
825
|
-
readonly
|
|
826
|
-
readonly
|
|
827
|
-
readonly
|
|
828
|
-
readonly
|
|
829
|
-
readonly
|
|
830
|
-
readonly
|
|
831
|
-
readonly
|
|
832
|
-
readonly
|
|
833
|
-
readonly
|
|
834
|
-
readonly
|
|
835
|
-
readonly
|
|
836
|
-
readonly
|
|
837
|
-
readonly
|
|
838
|
-
readonly
|
|
839
|
-
readonly
|
|
840
|
-
readonly
|
|
841
|
-
readonly
|
|
842
|
-
readonly
|
|
843
|
-
readonly
|
|
844
|
-
readonly __wbg_set_wasmlistmessagesoptions_limit: (a: number, b: number, c: number) => void;
|
|
813
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
814
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
815
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
816
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
817
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
818
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
819
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
820
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
821
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
822
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
823
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
824
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
825
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
826
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
827
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
828
|
+
readonly __wbg_get_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number) => number;
|
|
829
|
+
readonly __wbg_set_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number, b: number) => void;
|
|
830
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
831
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
832
|
+
readonly grouppermissions_policyType: (a: number) => Array;
|
|
833
|
+
readonly grouppermissions_policySet: (a: number) => Array;
|
|
834
|
+
readonly __wbg_version_free: (a: number, b: number) => void;
|
|
835
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
836
|
+
readonly intounderlyingsource_pull: (a: number, b: number) => number;
|
|
837
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
845
838
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
846
|
-
readonly intounderlyingbytesource_type: (a: number) =>
|
|
839
|
+
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
847
840
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
848
841
|
readonly intounderlyingbytesource_start: (a: number, b: number) => void;
|
|
849
842
|
readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
|
|
@@ -852,33 +845,18 @@ export interface InitOutput {
|
|
|
852
845
|
readonly intounderlyingsink_write: (a: number, b: number) => number;
|
|
853
846
|
readonly intounderlyingsink_close: (a: number) => number;
|
|
854
847
|
readonly intounderlyingsink_abort: (a: number, b: number) => number;
|
|
855
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
856
|
-
readonly intounderlyingsource_pull: (a: number, b: number) => number;
|
|
857
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
858
|
-
readonly __wbg_version_free: (a: number, b: number) => void;
|
|
859
|
-
readonly __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
|
|
860
|
-
readonly wasmbindgentestcontext_new: () => number;
|
|
861
|
-
readonly wasmbindgentestcontext_args: (a: number, b: number, c: number) => void;
|
|
862
|
-
readonly wasmbindgentestcontext_run: (a: number, b: number, c: number) => number;
|
|
863
|
-
readonly __wbgtest_console_log: (a: number) => void;
|
|
864
|
-
readonly __wbgtest_console_debug: (a: number) => void;
|
|
865
|
-
readonly __wbgtest_console_info: (a: number) => void;
|
|
866
|
-
readonly __wbgtest_console_warn: (a: number) => void;
|
|
867
|
-
readonly __wbgtest_console_error: (a: number) => void;
|
|
868
|
-
readonly __wbgtest_cov_dump: () => Array;
|
|
869
848
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
870
849
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
871
850
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
872
851
|
readonly __wbindgen_export_3: WebAssembly.Table;
|
|
873
|
-
readonly
|
|
874
|
-
readonly
|
|
875
|
-
readonly
|
|
852
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha602f13c6f6f57bd: (a: number, b: number) => void;
|
|
853
|
+
readonly closure2955_externref_shim: (a: number, b: number, c: number) => void;
|
|
854
|
+
readonly __externref_table_alloc: () => number;
|
|
876
855
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
877
856
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
878
|
-
readonly
|
|
857
|
+
readonly __externref_table_dealloc: (a: number) => void;
|
|
879
858
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
880
|
-
readonly
|
|
881
|
-
readonly closure3103_externref_shim: (a: number, b: number, c: number, d: number) => void;
|
|
859
|
+
readonly closure3167_externref_shim: (a: number, b: number, c: number, d: number) => void;
|
|
882
860
|
readonly __wbindgen_start: () => void;
|
|
883
861
|
}
|
|
884
862
|
|