@xmtp/wasm-bindings 1.6.0-dev.399ac31 → 1.6.0-dev.e545a64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings_wasm.d.ts +659 -301
- package/dist/bindings_wasm.js +3623 -1890
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +377 -237
- package/dist/version.json +3 -3
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
4
|
-
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
5
|
-
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
6
|
-
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
7
3
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
8
|
-
export function revokeInstallationsSignatureRequest(
|
|
9
|
-
export function applySignatureRequest(
|
|
10
|
-
export function
|
|
11
|
-
export function getInboxIdForIdentifier(
|
|
4
|
+
export function revokeInstallationsSignatureRequest(v3_host: string, gateway_host: string | null | undefined, recovery_identifier: Identifier, inbox_id: string, installation_ids: Uint8Array[]): SignatureRequestHandle;
|
|
5
|
+
export function applySignatureRequest(v3_host: string, gateway_host: string | null | undefined, signature_request: SignatureRequestHandle): Promise<void>;
|
|
6
|
+
export function inboxStateFromInboxIds(v3_host: string, gateway_host: string | null | undefined, inbox_ids: string[]): Promise<InboxState[]>;
|
|
7
|
+
export function getInboxIdForIdentifier(v3_host: string, gateway_host: string | null | undefined, accountIdentifier: Identifier): Promise<string | undefined>;
|
|
12
8
|
export function generateInboxId(accountIdentifier: Identifier): string;
|
|
13
|
-
export function
|
|
9
|
+
export function encodeReaction(reaction: Reaction): Uint8Array;
|
|
10
|
+
export function decodeReaction(bytes: Uint8Array): Reaction;
|
|
11
|
+
export function createClient(host: string, inbox_id: string, account_identifier: Identifier, db_path?: string | null, encryption_key?: Uint8Array | null, device_sync_server_url?: string | null, device_sync_worker_mode?: DeviceSyncWorkerMode | null, log_options?: LogOptions | null, allow_offline?: boolean | null, disable_events?: boolean | null, app_version?: string | null, gateway_host?: string | null): Promise<Client>;
|
|
12
|
+
export function encodeMultiRemoteAttachment(multiRemoteAttachment: MultiRemoteAttachment): Uint8Array;
|
|
13
|
+
export function decodeMultiRemoteAttachment(bytes: Uint8Array): MultiRemoteAttachment;
|
|
14
14
|
/**
|
|
15
15
|
* Entry point invoked by JavaScript in a worker.
|
|
16
16
|
*/
|
|
@@ -69,6 +69,19 @@ export enum MetadataField {
|
|
|
69
69
|
MessageExpirationFromMS = 3,
|
|
70
70
|
MessageExpirationMS = 4,
|
|
71
71
|
}
|
|
72
|
+
export enum PayloadType {
|
|
73
|
+
Text = 0,
|
|
74
|
+
Reply = 1,
|
|
75
|
+
Reaction = 2,
|
|
76
|
+
Attachment = 3,
|
|
77
|
+
RemoteAttachment = 4,
|
|
78
|
+
MultiRemoteAttachment = 5,
|
|
79
|
+
TransactionReference = 6,
|
|
80
|
+
GroupUpdated = 7,
|
|
81
|
+
ReadReceipt = 8,
|
|
82
|
+
WalletSendCalls = 9,
|
|
83
|
+
Custom = 10,
|
|
84
|
+
}
|
|
72
85
|
export enum PermissionLevel {
|
|
73
86
|
Member = 0,
|
|
74
87
|
Admin = 1,
|
|
@@ -94,12 +107,23 @@ export enum ReactionAction {
|
|
|
94
107
|
Added = 1,
|
|
95
108
|
Removed = 2,
|
|
96
109
|
}
|
|
110
|
+
export enum ReactionActionPayload {
|
|
111
|
+
Added = 0,
|
|
112
|
+
Removed = 1,
|
|
113
|
+
Unknown = 2,
|
|
114
|
+
}
|
|
97
115
|
export enum ReactionSchema {
|
|
98
116
|
Unknown = 0,
|
|
99
117
|
Unicode = 1,
|
|
100
118
|
Shortcode = 2,
|
|
101
119
|
Custom = 3,
|
|
102
120
|
}
|
|
121
|
+
export enum ReactionSchemaPayload {
|
|
122
|
+
Unicode = 0,
|
|
123
|
+
Shortcode = 1,
|
|
124
|
+
Custom = 2,
|
|
125
|
+
Unknown = 3,
|
|
126
|
+
}
|
|
103
127
|
export enum SortDirection {
|
|
104
128
|
Ascending = 0,
|
|
105
129
|
Descending = 1,
|
|
@@ -124,6 +148,7 @@ export type UserPreference = { type: "Consent"; consent: Consent } | { type: "Hm
|
|
|
124
148
|
export class ApiStats {
|
|
125
149
|
private constructor();
|
|
126
150
|
free(): void;
|
|
151
|
+
[Symbol.dispose](): void;
|
|
127
152
|
upload_key_package: bigint;
|
|
128
153
|
fetch_key_package: bigint;
|
|
129
154
|
send_group_messages: bigint;
|
|
@@ -133,11 +158,19 @@ export class ApiStats {
|
|
|
133
158
|
subscribe_messages: bigint;
|
|
134
159
|
subscribe_welcomes: bigint;
|
|
135
160
|
}
|
|
161
|
+
export class Attachment {
|
|
162
|
+
private constructor();
|
|
163
|
+
free(): void;
|
|
164
|
+
[Symbol.dispose](): void;
|
|
165
|
+
get filename(): string | undefined;
|
|
166
|
+
set filename(value: string | null | undefined);
|
|
167
|
+
mimeType: string;
|
|
168
|
+
content: Uint8Array;
|
|
169
|
+
}
|
|
136
170
|
export class Client {
|
|
137
171
|
private constructor();
|
|
138
172
|
free(): void;
|
|
139
|
-
|
|
140
|
-
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
173
|
+
[Symbol.dispose](): void;
|
|
141
174
|
createInboxSignatureRequest(): SignatureRequestHandle | undefined;
|
|
142
175
|
addWalletSignatureRequest(new_identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
143
176
|
revokeWalletSignatureRequest(identifier: Identifier): Promise<SignatureRequestHandle>;
|
|
@@ -148,20 +181,6 @@ export class Client {
|
|
|
148
181
|
registerIdentity(signature_request: SignatureRequestHandle): Promise<void>;
|
|
149
182
|
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
150
183
|
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
151
|
-
/**
|
|
152
|
-
* Output booleans should be zipped with the index of input identifiers
|
|
153
|
-
*/
|
|
154
|
-
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
155
|
-
sendSyncRequest(): Promise<void>;
|
|
156
|
-
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
157
|
-
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
158
|
-
conversations(): Conversations;
|
|
159
|
-
syncPreferences(): Promise<number>;
|
|
160
|
-
apiStatistics(): ApiStats;
|
|
161
|
-
apiIdentityStatistics(): IdentityStats;
|
|
162
|
-
apiAggregateStatistics(): string;
|
|
163
|
-
clearAllStatistics(): void;
|
|
164
|
-
uploadDebugArchive(server_url: string): Promise<string>;
|
|
165
184
|
/**
|
|
166
185
|
*
|
|
167
186
|
* * Get the client's inbox state.
|
|
@@ -180,6 +199,24 @@ export class Client {
|
|
|
180
199
|
*
|
|
181
200
|
*/
|
|
182
201
|
getKeyPackageStatusesForInstallationIds(installation_ids: string[]): Promise<any>;
|
|
202
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
203
|
+
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
204
|
+
/**
|
|
205
|
+
* Output booleans should be zipped with the index of input identifiers
|
|
206
|
+
*/
|
|
207
|
+
canMessage(account_identifiers: Identifier[]): Promise<any>;
|
|
208
|
+
sendSyncRequest(): Promise<void>;
|
|
209
|
+
findInboxIdByIdentifier(identifier: Identifier): Promise<string | undefined>;
|
|
210
|
+
inboxStateFromInboxIds(inbox_ids: string[], refresh_from_network: boolean): Promise<InboxState[]>;
|
|
211
|
+
conversations(): Conversations;
|
|
212
|
+
syncPreferences(): Promise<GroupSyncSummary>;
|
|
213
|
+
apiStatistics(): ApiStats;
|
|
214
|
+
apiIdentityStatistics(): IdentityStats;
|
|
215
|
+
apiAggregateStatistics(): string;
|
|
216
|
+
clearAllStatistics(): void;
|
|
217
|
+
uploadDebugArchive(server_url: string): Promise<string>;
|
|
218
|
+
deleteMessage(message_id: Uint8Array): number;
|
|
219
|
+
messageV2(message_id: Uint8Array): Promise<DecodedMessage>;
|
|
183
220
|
readonly accountIdentifier: Identifier;
|
|
184
221
|
readonly inboxId: string;
|
|
185
222
|
readonly isRegistered: boolean;
|
|
@@ -190,6 +227,7 @@ export class Client {
|
|
|
190
227
|
}
|
|
191
228
|
export class Consent {
|
|
192
229
|
free(): void;
|
|
230
|
+
[Symbol.dispose](): void;
|
|
193
231
|
constructor(entity_type: ConsentEntityType, state: ConsentState, entity: string);
|
|
194
232
|
entityType: ConsentEntityType;
|
|
195
233
|
state: ConsentState;
|
|
@@ -197,6 +235,7 @@ export class Consent {
|
|
|
197
235
|
}
|
|
198
236
|
export class ContentTypeId {
|
|
199
237
|
free(): void;
|
|
238
|
+
[Symbol.dispose](): void;
|
|
200
239
|
constructor(authority_id: string, type_id: string, version_major: number, version_minor: number);
|
|
201
240
|
authorityId: string;
|
|
202
241
|
typeId: string;
|
|
@@ -206,20 +245,22 @@ export class ContentTypeId {
|
|
|
206
245
|
export class Conversation {
|
|
207
246
|
private constructor();
|
|
208
247
|
free(): void;
|
|
248
|
+
[Symbol.dispose](): void;
|
|
209
249
|
consentState(): ConsentState;
|
|
210
250
|
updateConsentState(state: ConsentState): void;
|
|
211
251
|
id(): string;
|
|
212
|
-
send(encoded_content: EncodedContent): Promise<string>;
|
|
252
|
+
send(encoded_content: EncodedContent, opts: SendMessageOpts): Promise<string>;
|
|
213
253
|
/**
|
|
214
254
|
* send a message without immediately publishing to the delivery service.
|
|
215
255
|
*/
|
|
216
|
-
sendOptimistic(encoded_content: EncodedContent): string;
|
|
256
|
+
sendOptimistic(encoded_content: EncodedContent, opts: SendMessageOpts): string;
|
|
217
257
|
/**
|
|
218
258
|
* Publish all unpublished messages
|
|
219
259
|
*/
|
|
220
260
|
publishMessages(): Promise<void>;
|
|
221
261
|
sync(): Promise<void>;
|
|
222
262
|
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
263
|
+
countMessages(opts?: ListMessagesOptions | null): Promise<bigint>;
|
|
223
264
|
findMessagesWithReactions(opts?: ListMessagesOptions | null): Promise<MessageWithReactions[]>;
|
|
224
265
|
listMembers(): Promise<any>;
|
|
225
266
|
adminList(): string[];
|
|
@@ -256,10 +297,13 @@ export class Conversation {
|
|
|
256
297
|
getHmacKeys(): any;
|
|
257
298
|
getDebugInfo(): Promise<any>;
|
|
258
299
|
findDuplicateDms(): Promise<Conversation[]>;
|
|
300
|
+
findMessagesV2(opts?: ListMessagesOptions | null): Promise<DecodedMessage[]>;
|
|
301
|
+
getLastReadTimes(): Promise<any>;
|
|
259
302
|
}
|
|
260
303
|
export class ConversationDebugInfo {
|
|
261
304
|
private constructor();
|
|
262
305
|
free(): void;
|
|
306
|
+
[Symbol.dispose](): void;
|
|
263
307
|
epoch: bigint;
|
|
264
308
|
maybeForked: boolean;
|
|
265
309
|
forkDetails: string;
|
|
@@ -271,6 +315,7 @@ export class ConversationDebugInfo {
|
|
|
271
315
|
}
|
|
272
316
|
export class ConversationListItem {
|
|
273
317
|
free(): void;
|
|
318
|
+
[Symbol.dispose](): void;
|
|
274
319
|
constructor(conversation: Conversation, last_message?: Message | null, is_commit_log_forked?: boolean | null);
|
|
275
320
|
conversation: Conversation;
|
|
276
321
|
get lastMessage(): Message | undefined;
|
|
@@ -281,6 +326,7 @@ export class ConversationListItem {
|
|
|
281
326
|
export class Conversations {
|
|
282
327
|
private constructor();
|
|
283
328
|
free(): void;
|
|
329
|
+
[Symbol.dispose](): void;
|
|
284
330
|
createGroupOptimistic(options?: CreateGroupOptions | null): Conversation;
|
|
285
331
|
createGroup(account_identifiers: Identifier[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
286
332
|
createGroupByInboxIds(inbox_ids: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
@@ -290,7 +336,7 @@ export class Conversations {
|
|
|
290
336
|
findDmByTargetInboxId(target_inbox_id: string): Conversation;
|
|
291
337
|
findMessageById(message_id: string): Message;
|
|
292
338
|
sync(): Promise<void>;
|
|
293
|
-
syncAllConversations(consent_states?: any[] | null): Promise<
|
|
339
|
+
syncAllConversations(consent_states?: any[] | null): Promise<GroupSyncSummary>;
|
|
294
340
|
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
295
341
|
getHmacKeys(): any;
|
|
296
342
|
/**
|
|
@@ -304,12 +350,14 @@ export class Conversations {
|
|
|
304
350
|
}
|
|
305
351
|
export class CreateDMOptions {
|
|
306
352
|
free(): void;
|
|
353
|
+
[Symbol.dispose](): void;
|
|
307
354
|
constructor(message_disappearing_settings?: MessageDisappearingSettings | null);
|
|
308
355
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
309
356
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
310
357
|
}
|
|
311
358
|
export class CreateGroupOptions {
|
|
312
359
|
free(): void;
|
|
360
|
+
[Symbol.dispose](): void;
|
|
313
361
|
constructor(permissions?: GroupPermissionsOptions | null, group_name?: string | null, group_image_url_square?: string | null, group_description?: string | null, custom_permission_policy_set?: PermissionPolicySet | null, message_disappearing_settings?: MessageDisappearingSettings | null);
|
|
314
362
|
get permissions(): GroupPermissionsOptions | undefined;
|
|
315
363
|
set permissions(value: GroupPermissionsOptions | null | undefined);
|
|
@@ -324,8 +372,44 @@ export class CreateGroupOptions {
|
|
|
324
372
|
get messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
325
373
|
set messageDisappearingSettings(value: MessageDisappearingSettings | null | undefined);
|
|
326
374
|
}
|
|
375
|
+
export class DecodedMessage {
|
|
376
|
+
private constructor();
|
|
377
|
+
free(): void;
|
|
378
|
+
[Symbol.dispose](): void;
|
|
379
|
+
id: Uint8Array;
|
|
380
|
+
sent_at_ns: bigint;
|
|
381
|
+
kind: GroupMessageKind;
|
|
382
|
+
sender_installation_id: Uint8Array;
|
|
383
|
+
sender_inbox_id: string;
|
|
384
|
+
content_type: ContentTypeId;
|
|
385
|
+
conversation_id: Uint8Array;
|
|
386
|
+
content: DecodedMessageContent;
|
|
387
|
+
get fallback_text(): string | undefined;
|
|
388
|
+
set fallback_text(value: string | null | undefined);
|
|
389
|
+
reactions: DecodedMessage[];
|
|
390
|
+
delivery_status: DeliveryStatus;
|
|
391
|
+
num_replies: bigint;
|
|
392
|
+
}
|
|
393
|
+
export class DecodedMessageContent {
|
|
394
|
+
private constructor();
|
|
395
|
+
free(): void;
|
|
396
|
+
[Symbol.dispose](): void;
|
|
397
|
+
asText(): TextContent | undefined;
|
|
398
|
+
asReply(): EnrichedReply | undefined;
|
|
399
|
+
asReaction(): ReactionPayload | undefined;
|
|
400
|
+
asAttachment(): Attachment | undefined;
|
|
401
|
+
asRemoteAttachment(): RemoteAttachment | undefined;
|
|
402
|
+
asMultiRemoteAttachment(): MultiRemoteAttachment | undefined;
|
|
403
|
+
asTransactionReference(): TransactionReference | undefined;
|
|
404
|
+
asGroupUpdated(): GroupUpdated | undefined;
|
|
405
|
+
asReadReceipt(): ReadReceipt | undefined;
|
|
406
|
+
asWalletSendCalls(): any;
|
|
407
|
+
asCustom(): EncodedContent | undefined;
|
|
408
|
+
readonly payloadType: PayloadType;
|
|
409
|
+
}
|
|
327
410
|
export class EncodedContent {
|
|
328
411
|
free(): void;
|
|
412
|
+
[Symbol.dispose](): void;
|
|
329
413
|
constructor(type: ContentTypeId | null | undefined, parameters: any, fallback: string | null | undefined, compression: number | null | undefined, content: Uint8Array);
|
|
330
414
|
get type(): ContentTypeId | undefined;
|
|
331
415
|
set type(value: ContentTypeId | null | undefined);
|
|
@@ -336,8 +420,17 @@ export class EncodedContent {
|
|
|
336
420
|
set compression(value: number | null | undefined);
|
|
337
421
|
content: Uint8Array;
|
|
338
422
|
}
|
|
423
|
+
export class EnrichedReply {
|
|
424
|
+
private constructor();
|
|
425
|
+
free(): void;
|
|
426
|
+
[Symbol.dispose](): void;
|
|
427
|
+
readonly referenceId: string;
|
|
428
|
+
readonly content: DecodedMessageContent;
|
|
429
|
+
readonly inReplyTo: DecodedMessage | undefined;
|
|
430
|
+
}
|
|
339
431
|
export class GroupMember {
|
|
340
432
|
free(): void;
|
|
433
|
+
[Symbol.dispose](): void;
|
|
341
434
|
constructor(inboxId: string, accountIdentifiers: Identifier[], installationIds: string[], permissionLevel: PermissionLevel, consentState: ConsentState);
|
|
342
435
|
inboxId: string;
|
|
343
436
|
accountIdentifiers: Identifier[];
|
|
@@ -348,31 +441,58 @@ export class GroupMember {
|
|
|
348
441
|
export class GroupMetadata {
|
|
349
442
|
private constructor();
|
|
350
443
|
free(): void;
|
|
444
|
+
[Symbol.dispose](): void;
|
|
351
445
|
creatorInboxId(): string;
|
|
352
446
|
conversationType(): string;
|
|
353
447
|
}
|
|
354
448
|
export class GroupPermissions {
|
|
355
449
|
private constructor();
|
|
356
450
|
free(): void;
|
|
451
|
+
[Symbol.dispose](): void;
|
|
357
452
|
policyType(): GroupPermissionsOptions;
|
|
358
453
|
policySet(): PermissionPolicySet;
|
|
359
454
|
}
|
|
455
|
+
export class GroupSyncSummary {
|
|
456
|
+
free(): void;
|
|
457
|
+
[Symbol.dispose](): void;
|
|
458
|
+
constructor(num_eligible: number, num_synced: number);
|
|
459
|
+
numEligible: number;
|
|
460
|
+
numSynced: number;
|
|
461
|
+
}
|
|
462
|
+
export class GroupUpdated {
|
|
463
|
+
private constructor();
|
|
464
|
+
free(): void;
|
|
465
|
+
[Symbol.dispose](): void;
|
|
466
|
+
initiatedByInboxId: string;
|
|
467
|
+
addedInboxes: Inbox[];
|
|
468
|
+
removedInboxes: Inbox[];
|
|
469
|
+
metadataFieldChanges: MetadataFieldChange[];
|
|
470
|
+
}
|
|
360
471
|
export class HmacKey {
|
|
361
472
|
private constructor();
|
|
362
473
|
free(): void;
|
|
474
|
+
[Symbol.dispose](): void;
|
|
363
475
|
key: Uint8Array;
|
|
364
476
|
epoch: bigint;
|
|
365
477
|
}
|
|
366
478
|
export class IdentityStats {
|
|
367
479
|
private constructor();
|
|
368
480
|
free(): void;
|
|
481
|
+
[Symbol.dispose](): void;
|
|
369
482
|
publish_identity_update: bigint;
|
|
370
483
|
get_identity_updates_v2: bigint;
|
|
371
484
|
get_inbox_ids: bigint;
|
|
372
485
|
verify_smart_contract_wallet_signature: bigint;
|
|
373
486
|
}
|
|
487
|
+
export class Inbox {
|
|
488
|
+
private constructor();
|
|
489
|
+
free(): void;
|
|
490
|
+
[Symbol.dispose](): void;
|
|
491
|
+
inboxId: string;
|
|
492
|
+
}
|
|
374
493
|
export class InboxState {
|
|
375
494
|
free(): void;
|
|
495
|
+
[Symbol.dispose](): void;
|
|
376
496
|
constructor(inbox_id: string, recovery_identifier: Identifier, installations: Installation[], account_identifiers: Identifier[]);
|
|
377
497
|
inboxId: string;
|
|
378
498
|
recoveryIdentifier: Identifier;
|
|
@@ -381,6 +501,7 @@ export class InboxState {
|
|
|
381
501
|
}
|
|
382
502
|
export class Installation {
|
|
383
503
|
free(): void;
|
|
504
|
+
[Symbol.dispose](): void;
|
|
384
505
|
constructor(bytes: Uint8Array, id: string, client_timestamp_ns?: bigint | null);
|
|
385
506
|
bytes: Uint8Array;
|
|
386
507
|
id: string;
|
|
@@ -390,6 +511,7 @@ export class Installation {
|
|
|
390
511
|
export class IntoUnderlyingByteSource {
|
|
391
512
|
private constructor();
|
|
392
513
|
free(): void;
|
|
514
|
+
[Symbol.dispose](): void;
|
|
393
515
|
start(controller: ReadableByteStreamController): void;
|
|
394
516
|
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
395
517
|
cancel(): void;
|
|
@@ -399,6 +521,7 @@ export class IntoUnderlyingByteSource {
|
|
|
399
521
|
export class IntoUnderlyingSink {
|
|
400
522
|
private constructor();
|
|
401
523
|
free(): void;
|
|
524
|
+
[Symbol.dispose](): void;
|
|
402
525
|
write(chunk: any): Promise<any>;
|
|
403
526
|
close(): Promise<any>;
|
|
404
527
|
abort(reason: any): Promise<any>;
|
|
@@ -406,12 +529,14 @@ export class IntoUnderlyingSink {
|
|
|
406
529
|
export class IntoUnderlyingSource {
|
|
407
530
|
private constructor();
|
|
408
531
|
free(): void;
|
|
532
|
+
[Symbol.dispose](): void;
|
|
409
533
|
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
410
534
|
cancel(): void;
|
|
411
535
|
}
|
|
412
536
|
export class KeyPackageStatus {
|
|
413
537
|
private constructor();
|
|
414
538
|
free(): void;
|
|
539
|
+
[Symbol.dispose](): void;
|
|
415
540
|
get lifetime(): Lifetime | undefined;
|
|
416
541
|
set lifetime(value: Lifetime | null | undefined);
|
|
417
542
|
get validationError(): string | undefined;
|
|
@@ -420,11 +545,13 @@ export class KeyPackageStatus {
|
|
|
420
545
|
export class Lifetime {
|
|
421
546
|
private constructor();
|
|
422
547
|
free(): void;
|
|
548
|
+
[Symbol.dispose](): void;
|
|
423
549
|
not_before: bigint;
|
|
424
550
|
not_after: bigint;
|
|
425
551
|
}
|
|
426
552
|
export class ListConversationsOptions {
|
|
427
553
|
free(): void;
|
|
554
|
+
[Symbol.dispose](): void;
|
|
428
555
|
constructor(consent_states?: any[] | null, conversation_type?: ConversationType | null, created_after_ns?: bigint | null, created_before_ns?: bigint | null, include_duplicate_dms?: boolean | null, limit?: bigint | null);
|
|
429
556
|
get consentStates(): any[] | undefined;
|
|
430
557
|
set consentStates(value: any[] | null | undefined);
|
|
@@ -441,9 +568,12 @@ export class ListConversationsOptions {
|
|
|
441
568
|
}
|
|
442
569
|
export class ListMessagesOptions {
|
|
443
570
|
free(): void;
|
|
444
|
-
|
|
571
|
+
[Symbol.dispose](): void;
|
|
572
|
+
constructor(sent_before_ns?: bigint | null, sent_after_ns?: bigint | null, limit?: bigint | null, delivery_status?: DeliveryStatus | null, direction?: SortDirection | null, content_types?: any[] | null, exclude_content_types?: any[] | null, kind?: GroupMessageKind | null, exclude_sender_inbox_ids?: string[] | null);
|
|
445
573
|
get contentTypes(): any[] | undefined;
|
|
446
574
|
set contentTypes(value: any[] | null | undefined);
|
|
575
|
+
get excludeContentTypes(): any[] | undefined;
|
|
576
|
+
set excludeContentTypes(value: any[] | null | undefined);
|
|
447
577
|
get sentBeforeNs(): bigint | undefined;
|
|
448
578
|
set sentBeforeNs(value: bigint | null | undefined);
|
|
449
579
|
get sentAfterNs(): bigint | undefined;
|
|
@@ -456,12 +586,15 @@ export class ListMessagesOptions {
|
|
|
456
586
|
set direction(value: SortDirection | null | undefined);
|
|
457
587
|
get kind(): GroupMessageKind | undefined;
|
|
458
588
|
set kind(value: GroupMessageKind | null | undefined);
|
|
589
|
+
get excludeSenderInboxIds(): string[] | undefined;
|
|
590
|
+
set excludeSenderInboxIds(value: string[] | null | undefined);
|
|
459
591
|
}
|
|
460
592
|
/**
|
|
461
593
|
* Specify options for the logger
|
|
462
594
|
*/
|
|
463
595
|
export class LogOptions {
|
|
464
596
|
free(): void;
|
|
597
|
+
[Symbol.dispose](): void;
|
|
465
598
|
constructor(structured: boolean, performance: boolean, level?: LogLevel | null);
|
|
466
599
|
/**
|
|
467
600
|
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
@@ -482,6 +615,7 @@ export class LogOptions {
|
|
|
482
615
|
}
|
|
483
616
|
export class Message {
|
|
484
617
|
free(): void;
|
|
618
|
+
[Symbol.dispose](): void;
|
|
485
619
|
constructor(id: string, sent_at_ns: bigint, convo_id: string, sender_inbox_id: string, content: EncodedContent, kind: GroupMessageKind, delivery_status: DeliveryStatus);
|
|
486
620
|
id: string;
|
|
487
621
|
sentAtNs: bigint;
|
|
@@ -493,6 +627,7 @@ export class Message {
|
|
|
493
627
|
}
|
|
494
628
|
export class MessageDisappearingSettings {
|
|
495
629
|
free(): void;
|
|
630
|
+
[Symbol.dispose](): void;
|
|
496
631
|
constructor(from_ns: bigint, in_ns: bigint);
|
|
497
632
|
fromNs: bigint;
|
|
498
633
|
inNs: bigint;
|
|
@@ -500,17 +635,30 @@ export class MessageDisappearingSettings {
|
|
|
500
635
|
export class MessageWithReactions {
|
|
501
636
|
private constructor();
|
|
502
637
|
free(): void;
|
|
638
|
+
[Symbol.dispose](): void;
|
|
503
639
|
message: Message;
|
|
504
640
|
reactions: Message[];
|
|
505
641
|
}
|
|
642
|
+
export class MetadataFieldChange {
|
|
643
|
+
private constructor();
|
|
644
|
+
free(): void;
|
|
645
|
+
[Symbol.dispose](): void;
|
|
646
|
+
fieldName: string;
|
|
647
|
+
get oldValue(): string | undefined;
|
|
648
|
+
set oldValue(value: string | null | undefined);
|
|
649
|
+
get newValue(): string | undefined;
|
|
650
|
+
set newValue(value: string | null | undefined);
|
|
651
|
+
}
|
|
506
652
|
export class MultiRemoteAttachment {
|
|
507
653
|
free(): void;
|
|
654
|
+
[Symbol.dispose](): void;
|
|
508
655
|
constructor(attachments: RemoteAttachmentInfo[]);
|
|
509
656
|
attachments: RemoteAttachmentInfo[];
|
|
510
657
|
}
|
|
511
658
|
export class Opfs {
|
|
512
659
|
private constructor();
|
|
513
660
|
free(): void;
|
|
661
|
+
[Symbol.dispose](): void;
|
|
514
662
|
static init_sqlite_opfs(): Promise<void>;
|
|
515
663
|
/**
|
|
516
664
|
* Check if the global OPFS object has been initialized
|
|
@@ -554,9 +702,11 @@ export class Opfs {
|
|
|
554
702
|
export class PasskeySignature {
|
|
555
703
|
private constructor();
|
|
556
704
|
free(): void;
|
|
705
|
+
[Symbol.dispose](): void;
|
|
557
706
|
}
|
|
558
707
|
export class PermissionPolicySet {
|
|
559
708
|
free(): void;
|
|
709
|
+
[Symbol.dispose](): void;
|
|
560
710
|
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_message_disappearing_policy: PermissionPolicy);
|
|
561
711
|
addMemberPolicy: PermissionPolicy;
|
|
562
712
|
removeMemberPolicy: PermissionPolicy;
|
|
@@ -569,6 +719,7 @@ export class PermissionPolicySet {
|
|
|
569
719
|
}
|
|
570
720
|
export class Reaction {
|
|
571
721
|
free(): void;
|
|
722
|
+
[Symbol.dispose](): void;
|
|
572
723
|
constructor(reference: string, referenceInboxId: string, action: ReactionAction, content: string, schema: ReactionSchema);
|
|
573
724
|
reference: string;
|
|
574
725
|
referenceInboxId: string;
|
|
@@ -576,8 +727,38 @@ export class Reaction {
|
|
|
576
727
|
content: string;
|
|
577
728
|
schema: ReactionSchema;
|
|
578
729
|
}
|
|
730
|
+
export class ReactionPayload {
|
|
731
|
+
private constructor();
|
|
732
|
+
free(): void;
|
|
733
|
+
[Symbol.dispose](): void;
|
|
734
|
+
reference: string;
|
|
735
|
+
referenceInboxId: string;
|
|
736
|
+
action: ReactionActionPayload;
|
|
737
|
+
content: string;
|
|
738
|
+
schema: ReactionSchemaPayload;
|
|
739
|
+
}
|
|
740
|
+
export class ReadReceipt {
|
|
741
|
+
private constructor();
|
|
742
|
+
free(): void;
|
|
743
|
+
[Symbol.dispose](): void;
|
|
744
|
+
}
|
|
745
|
+
export class RemoteAttachment {
|
|
746
|
+
private constructor();
|
|
747
|
+
free(): void;
|
|
748
|
+
[Symbol.dispose](): void;
|
|
749
|
+
url: string;
|
|
750
|
+
contentDigest: string;
|
|
751
|
+
secret: Uint8Array;
|
|
752
|
+
salt: Uint8Array;
|
|
753
|
+
nonce: Uint8Array;
|
|
754
|
+
scheme: string;
|
|
755
|
+
contentLength: bigint;
|
|
756
|
+
get filename(): string | undefined;
|
|
757
|
+
set filename(value: string | null | undefined);
|
|
758
|
+
}
|
|
579
759
|
export class RemoteAttachmentInfo {
|
|
580
760
|
free(): void;
|
|
761
|
+
[Symbol.dispose](): void;
|
|
581
762
|
constructor(secret: Uint8Array, contentDigest: string, nonce: Uint8Array, scheme: string, url: string, salt: Uint8Array, contentLength?: number | null, filename?: string | null);
|
|
582
763
|
secret: Uint8Array;
|
|
583
764
|
contentDigest: string;
|
|
@@ -590,9 +771,16 @@ export class RemoteAttachmentInfo {
|
|
|
590
771
|
get filename(): string | undefined;
|
|
591
772
|
set filename(value: string | null | undefined);
|
|
592
773
|
}
|
|
774
|
+
export class SendMessageOpts {
|
|
775
|
+
private constructor();
|
|
776
|
+
free(): void;
|
|
777
|
+
[Symbol.dispose](): void;
|
|
778
|
+
shouldPush: boolean;
|
|
779
|
+
}
|
|
593
780
|
export class SignatureRequestHandle {
|
|
594
781
|
private constructor();
|
|
595
782
|
free(): void;
|
|
783
|
+
[Symbol.dispose](): void;
|
|
596
784
|
signatureText(): Promise<string>;
|
|
597
785
|
addEcdsaSignature(signature_bytes: Uint8Array): Promise<void>;
|
|
598
786
|
addPasskeySignature(signature: PasskeySignature): Promise<void>;
|
|
@@ -601,6 +789,7 @@ export class SignatureRequestHandle {
|
|
|
601
789
|
export class StreamCloser {
|
|
602
790
|
private constructor();
|
|
603
791
|
free(): void;
|
|
792
|
+
[Symbol.dispose](): void;
|
|
604
793
|
/**
|
|
605
794
|
* Signal the stream to end
|
|
606
795
|
* Does not wait for the stream to end.
|
|
@@ -618,9 +807,38 @@ export class StreamCloser {
|
|
|
618
807
|
*/
|
|
619
808
|
isClosed(): boolean;
|
|
620
809
|
}
|
|
810
|
+
export class TextContent {
|
|
811
|
+
private constructor();
|
|
812
|
+
free(): void;
|
|
813
|
+
[Symbol.dispose](): void;
|
|
814
|
+
content: string;
|
|
815
|
+
}
|
|
816
|
+
export class TransactionMetadata {
|
|
817
|
+
private constructor();
|
|
818
|
+
free(): void;
|
|
819
|
+
[Symbol.dispose](): void;
|
|
820
|
+
transactionType: string;
|
|
821
|
+
currency: string;
|
|
822
|
+
amount: number;
|
|
823
|
+
decimals: number;
|
|
824
|
+
fromAddress: string;
|
|
825
|
+
toAddress: string;
|
|
826
|
+
}
|
|
827
|
+
export class TransactionReference {
|
|
828
|
+
private constructor();
|
|
829
|
+
free(): void;
|
|
830
|
+
[Symbol.dispose](): void;
|
|
831
|
+
get namespace(): string | undefined;
|
|
832
|
+
set namespace(value: string | null | undefined);
|
|
833
|
+
networkId: string;
|
|
834
|
+
reference: string;
|
|
835
|
+
get metadata(): TransactionMetadata | undefined;
|
|
836
|
+
set metadata(value: TransactionMetadata | null | undefined);
|
|
837
|
+
}
|
|
621
838
|
export class XmtpCursor {
|
|
622
839
|
private constructor();
|
|
623
840
|
free(): void;
|
|
841
|
+
[Symbol.dispose](): void;
|
|
624
842
|
originator_id: number;
|
|
625
843
|
sequence_id: bigint;
|
|
626
844
|
}
|
|
@@ -655,175 +873,73 @@ export interface InitOutput {
|
|
|
655
873
|
readonly __wbg_get_identitystats_get_identity_updates_v2: (a: number) => bigint;
|
|
656
874
|
readonly __wbg_get_identitystats_get_inbox_ids: (a: number) => bigint;
|
|
657
875
|
readonly __wbg_get_identitystats_verify_smart_contract_wallet_signature: (a: number) => bigint;
|
|
658
|
-
readonly
|
|
659
|
-
readonly
|
|
660
|
-
readonly
|
|
661
|
-
readonly
|
|
662
|
-
readonly
|
|
663
|
-
readonly
|
|
664
|
-
readonly
|
|
665
|
-
readonly
|
|
666
|
-
readonly
|
|
667
|
-
readonly
|
|
668
|
-
readonly
|
|
669
|
-
readonly
|
|
670
|
-
readonly
|
|
671
|
-
readonly
|
|
672
|
-
readonly
|
|
673
|
-
readonly
|
|
674
|
-
readonly
|
|
675
|
-
readonly
|
|
676
|
-
readonly
|
|
677
|
-
readonly
|
|
678
|
-
readonly
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
684
|
-
readonly
|
|
685
|
-
readonly
|
|
686
|
-
readonly
|
|
687
|
-
readonly
|
|
688
|
-
readonly
|
|
689
|
-
readonly
|
|
690
|
-
readonly
|
|
691
|
-
readonly
|
|
692
|
-
readonly
|
|
693
|
-
readonly
|
|
694
|
-
readonly
|
|
695
|
-
readonly
|
|
696
|
-
readonly
|
|
697
|
-
readonly
|
|
698
|
-
readonly
|
|
699
|
-
readonly
|
|
700
|
-
readonly
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
703
|
-
readonly
|
|
704
|
-
readonly
|
|
705
|
-
readonly
|
|
706
|
-
readonly
|
|
707
|
-
readonly
|
|
708
|
-
readonly
|
|
709
|
-
readonly
|
|
710
|
-
readonly
|
|
711
|
-
readonly
|
|
712
|
-
readonly
|
|
713
|
-
readonly
|
|
714
|
-
readonly
|
|
715
|
-
readonly
|
|
716
|
-
readonly
|
|
717
|
-
readonly
|
|
718
|
-
readonly
|
|
719
|
-
readonly
|
|
720
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
721
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
722
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
723
|
-
readonly conversation_sync: (a: number) => any;
|
|
724
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
725
|
-
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
726
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
727
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
728
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
729
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
730
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
731
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
732
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
733
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
734
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
735
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
736
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
737
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
738
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
739
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
740
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
741
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
742
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
743
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
744
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
745
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
746
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
747
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
748
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
749
|
-
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
750
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
751
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
752
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
753
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
754
|
-
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
755
|
-
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
756
|
-
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
757
|
-
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
758
|
-
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
759
|
-
readonly conversation_getDebugInfo: (a: number) => any;
|
|
760
|
-
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
761
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
762
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
763
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
764
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
765
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
766
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
767
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
768
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
769
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
770
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
771
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
772
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
773
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
774
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
775
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
776
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
777
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
778
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
779
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
780
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
781
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
782
|
-
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
783
|
-
readonly opfs_init_sqlite_opfs: () => any;
|
|
784
|
-
readonly opfs_exists: () => number;
|
|
785
|
-
readonly opfs_error: () => [number, number];
|
|
786
|
-
readonly opfs_wipeFiles: () => any;
|
|
787
|
-
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
788
|
-
readonly opfs_getFileNames: () => [number, number];
|
|
789
|
-
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
790
|
-
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
791
|
-
readonly opfs_getFileCount: () => number;
|
|
792
|
-
readonly opfs_getCapacity: () => number;
|
|
793
|
-
readonly opfs_addCapacity: (a: number) => any;
|
|
794
|
-
readonly opfs_reduceCapacity: (a: number) => any;
|
|
795
|
-
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
796
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
797
|
-
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => any;
|
|
798
|
-
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
799
|
-
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
800
|
-
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
801
|
-
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
802
|
-
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
803
|
-
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
804
|
-
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
805
|
-
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
806
|
-
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
807
|
-
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
808
|
-
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
809
|
-
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
810
|
-
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
811
|
-
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
812
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
813
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
814
|
-
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
815
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
816
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
817
|
-
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
818
|
-
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
819
|
-
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
876
|
+
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
877
|
+
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
878
|
+
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
879
|
+
readonly __wbg_get_permissionpolicyset_removeMemberPolicy: (a: number) => number;
|
|
880
|
+
readonly __wbg_set_permissionpolicyset_removeMemberPolicy: (a: number, b: number) => void;
|
|
881
|
+
readonly __wbg_get_permissionpolicyset_addAdminPolicy: (a: number) => number;
|
|
882
|
+
readonly __wbg_set_permissionpolicyset_addAdminPolicy: (a: number, b: number) => void;
|
|
883
|
+
readonly __wbg_get_permissionpolicyset_removeAdminPolicy: (a: number) => number;
|
|
884
|
+
readonly __wbg_set_permissionpolicyset_removeAdminPolicy: (a: number, b: number) => void;
|
|
885
|
+
readonly __wbg_get_permissionpolicyset_updateGroupNamePolicy: (a: number) => number;
|
|
886
|
+
readonly __wbg_set_permissionpolicyset_updateGroupNamePolicy: (a: number, b: number) => void;
|
|
887
|
+
readonly __wbg_get_permissionpolicyset_updateGroupDescriptionPolicy: (a: number) => number;
|
|
888
|
+
readonly __wbg_set_permissionpolicyset_updateGroupDescriptionPolicy: (a: number, b: number) => void;
|
|
889
|
+
readonly __wbg_get_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number) => number;
|
|
890
|
+
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
891
|
+
readonly __wbg_get_permissionpolicyset_updateMessageDisappearingPolicy: (a: number) => number;
|
|
892
|
+
readonly __wbg_set_permissionpolicyset_updateMessageDisappearingPolicy: (a: number, b: number) => void;
|
|
893
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
894
|
+
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
895
|
+
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
896
|
+
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
897
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
898
|
+
readonly streamcloser_end: (a: number) => void;
|
|
899
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
900
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
901
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
902
|
+
readonly __wbg_signaturerequesthandle_free: (a: number, b: number) => void;
|
|
903
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
904
|
+
readonly revokeInstallationsSignatureRequest: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
905
|
+
readonly applySignatureRequest: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
906
|
+
readonly __wbg_passkeysignature_free: (a: number, b: number) => void;
|
|
907
|
+
readonly signaturerequesthandle_signatureText: (a: number) => any;
|
|
908
|
+
readonly signaturerequesthandle_addEcdsaSignature: (a: number, b: any) => any;
|
|
909
|
+
readonly signaturerequesthandle_addPasskeySignature: (a: number, b: number) => any;
|
|
910
|
+
readonly signaturerequesthandle_addScwSignature: (a: number, b: any, c: any, d: bigint, e: number, f: bigint) => any;
|
|
911
|
+
readonly client_createInboxSignatureRequest: (a: number) => [number, number, number];
|
|
912
|
+
readonly client_addWalletSignatureRequest: (a: number, b: any) => any;
|
|
913
|
+
readonly client_revokeWalletSignatureRequest: (a: number, b: any) => any;
|
|
914
|
+
readonly client_revokeAllOtherInstallationsSignatureRequest: (a: number) => any;
|
|
915
|
+
readonly client_revokeInstallationsSignatureRequest: (a: number, b: number, c: number) => any;
|
|
916
|
+
readonly client_changeRecoveryIdentifierSignatureRequest: (a: number, b: any) => any;
|
|
917
|
+
readonly client_applySignatureRequest: (a: number, b: number) => any;
|
|
918
|
+
readonly client_registerIdentity: (a: number, b: number) => any;
|
|
919
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
920
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
921
|
+
readonly __wbg_decodedmessagecontent_free: (a: number, b: number) => void;
|
|
922
|
+
readonly decodedmessagecontent_payloadType: (a: number) => number;
|
|
923
|
+
readonly decodedmessagecontent_asText: (a: number) => number;
|
|
924
|
+
readonly decodedmessagecontent_asReply: (a: number) => number;
|
|
925
|
+
readonly decodedmessagecontent_asReaction: (a: number) => number;
|
|
926
|
+
readonly decodedmessagecontent_asAttachment: (a: number) => number;
|
|
927
|
+
readonly decodedmessagecontent_asRemoteAttachment: (a: number) => number;
|
|
928
|
+
readonly decodedmessagecontent_asMultiRemoteAttachment: (a: number) => number;
|
|
929
|
+
readonly decodedmessagecontent_asTransactionReference: (a: number) => number;
|
|
930
|
+
readonly decodedmessagecontent_asGroupUpdated: (a: number) => number;
|
|
931
|
+
readonly decodedmessagecontent_asReadReceipt: (a: number) => number;
|
|
932
|
+
readonly decodedmessagecontent_asWalletSendCalls: (a: number) => [number, number, number];
|
|
933
|
+
readonly decodedmessagecontent_asCustom: (a: number) => number;
|
|
934
|
+
readonly __wbg_enrichedreply_free: (a: number, b: number) => void;
|
|
935
|
+
readonly enrichedreply_referenceId: (a: number) => [number, number];
|
|
936
|
+
readonly enrichedreply_content: (a: number) => number;
|
|
937
|
+
readonly enrichedreply_inReplyTo: (a: number) => number;
|
|
820
938
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
821
939
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
822
940
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
823
941
|
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
824
942
|
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
825
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
826
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
827
943
|
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
828
944
|
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
829
945
|
readonly __wbg_get_listconversationsoptions_includeDuplicateDms: (a: number) => number;
|
|
@@ -831,9 +947,6 @@ export interface InitOutput {
|
|
|
831
947
|
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
832
948
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
833
949
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number, j: bigint) => number;
|
|
834
|
-
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
835
|
-
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
836
|
-
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
837
950
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
838
951
|
readonly __wbg_xmtpcursor_free: (a: number, b: number) => void;
|
|
839
952
|
readonly __wbg_get_xmtpcursor_originator_id: (a: number) => number;
|
|
@@ -897,52 +1010,280 @@ export interface InitOutput {
|
|
|
897
1010
|
readonly conversations_streamAllMessages: (a: number, b: any, c: number, d: number, e: number) => [number, number, number];
|
|
898
1011
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
899
1012
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
904
|
-
readonly
|
|
905
|
-
readonly
|
|
906
|
-
readonly
|
|
907
|
-
readonly
|
|
908
|
-
readonly
|
|
909
|
-
readonly
|
|
910
|
-
readonly
|
|
911
|
-
readonly
|
|
912
|
-
readonly
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
915
|
-
readonly
|
|
916
|
-
readonly
|
|
917
|
-
readonly
|
|
918
|
-
readonly
|
|
919
|
-
readonly
|
|
920
|
-
readonly
|
|
921
|
-
readonly
|
|
922
|
-
readonly
|
|
923
|
-
readonly
|
|
924
|
-
readonly
|
|
925
|
-
readonly
|
|
926
|
-
readonly
|
|
927
|
-
readonly
|
|
928
|
-
readonly
|
|
1013
|
+
readonly __wbg_decodedmessage_free: (a: number, b: number) => void;
|
|
1014
|
+
readonly __wbg_get_decodedmessage_id: (a: number) => [number, number];
|
|
1015
|
+
readonly __wbg_set_decodedmessage_id: (a: number, b: number, c: number) => void;
|
|
1016
|
+
readonly __wbg_get_decodedmessage_sent_at_ns: (a: number) => bigint;
|
|
1017
|
+
readonly __wbg_set_decodedmessage_sent_at_ns: (a: number, b: bigint) => void;
|
|
1018
|
+
readonly __wbg_get_decodedmessage_kind: (a: number) => number;
|
|
1019
|
+
readonly __wbg_set_decodedmessage_kind: (a: number, b: number) => void;
|
|
1020
|
+
readonly __wbg_get_decodedmessage_sender_installation_id: (a: number) => [number, number];
|
|
1021
|
+
readonly __wbg_set_decodedmessage_sender_installation_id: (a: number, b: number, c: number) => void;
|
|
1022
|
+
readonly __wbg_get_decodedmessage_sender_inbox_id: (a: number) => [number, number];
|
|
1023
|
+
readonly __wbg_set_decodedmessage_sender_inbox_id: (a: number, b: number, c: number) => void;
|
|
1024
|
+
readonly __wbg_get_decodedmessage_content_type: (a: number) => number;
|
|
1025
|
+
readonly __wbg_set_decodedmessage_content_type: (a: number, b: number) => void;
|
|
1026
|
+
readonly __wbg_get_decodedmessage_conversation_id: (a: number) => [number, number];
|
|
1027
|
+
readonly __wbg_set_decodedmessage_conversation_id: (a: number, b: number, c: number) => void;
|
|
1028
|
+
readonly __wbg_get_decodedmessage_content: (a: number) => number;
|
|
1029
|
+
readonly __wbg_set_decodedmessage_content: (a: number, b: number) => void;
|
|
1030
|
+
readonly __wbg_get_decodedmessage_fallback_text: (a: number) => [number, number];
|
|
1031
|
+
readonly __wbg_set_decodedmessage_fallback_text: (a: number, b: number, c: number) => void;
|
|
1032
|
+
readonly __wbg_get_decodedmessage_reactions: (a: number) => [number, number];
|
|
1033
|
+
readonly __wbg_set_decodedmessage_reactions: (a: number, b: number, c: number) => void;
|
|
1034
|
+
readonly __wbg_get_decodedmessage_delivery_status: (a: number) => number;
|
|
1035
|
+
readonly __wbg_set_decodedmessage_delivery_status: (a: number, b: number) => void;
|
|
1036
|
+
readonly __wbg_get_decodedmessage_num_replies: (a: number) => bigint;
|
|
1037
|
+
readonly __wbg_set_decodedmessage_num_replies: (a: number, b: bigint) => void;
|
|
1038
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
1039
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
1040
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
1041
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
1042
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
1043
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
1044
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
1045
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
1046
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
1047
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
1048
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
1049
|
+
readonly __wbg_get_inboxstate_recoveryIdentifier: (a: number) => any;
|
|
1050
|
+
readonly __wbg_set_inboxstate_recoveryIdentifier: (a: number, b: any) => void;
|
|
1051
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
1052
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
1053
|
+
readonly __wbg_get_inboxstate_accountIdentifiers: (a: number) => [number, number];
|
|
1054
|
+
readonly __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1055
|
+
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
1056
|
+
readonly __wbg_keypackagestatus_free: (a: number, b: number) => void;
|
|
1057
|
+
readonly __wbg_get_keypackagestatus_validationError: (a: number) => [number, number];
|
|
1058
|
+
readonly __wbg_set_keypackagestatus_validationError: (a: number, b: number, c: number) => void;
|
|
1059
|
+
readonly __wbg_lifetime_free: (a: number, b: number) => void;
|
|
1060
|
+
readonly __wbg_get_lifetime_not_after: (a: number) => bigint;
|
|
1061
|
+
readonly __wbg_set_lifetime_not_after: (a: number, b: bigint) => void;
|
|
1062
|
+
readonly inboxStateFromInboxIds: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
1063
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
1064
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
1065
|
+
readonly client_getKeyPackageStatusesForInstallationIds: (a: number, b: number, c: number) => any;
|
|
929
1066
|
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
930
1067
|
readonly __wbg_set_xmtpcursor_sequence_id: (a: number, b: bigint) => void;
|
|
931
1068
|
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
932
1069
|
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
933
|
-
readonly
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
1070
|
+
readonly __wbg_set_lifetime_not_before: (a: number, b: bigint) => void;
|
|
1071
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
1072
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
937
1073
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
938
|
-
readonly
|
|
939
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
940
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1074
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
941
1075
|
readonly __wbg_get_xmtpcursor_sequence_id: (a: number) => bigint;
|
|
942
1076
|
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
943
1077
|
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
944
|
-
readonly
|
|
1078
|
+
readonly __wbg_get_lifetime_not_before: (a: number) => bigint;
|
|
1079
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
945
1080
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
1081
|
+
readonly __wbg_set_keypackagestatus_lifetime: (a: number, b: number) => void;
|
|
1082
|
+
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
1083
|
+
readonly __wbg_get_keypackagestatus_lifetime: (a: number) => number;
|
|
1084
|
+
readonly __wbg_groupupdated_free: (a: number, b: number) => void;
|
|
1085
|
+
readonly __wbg_get_groupupdated_initiatedByInboxId: (a: number) => [number, number];
|
|
1086
|
+
readonly __wbg_set_groupupdated_initiatedByInboxId: (a: number, b: number, c: number) => void;
|
|
1087
|
+
readonly __wbg_get_groupupdated_addedInboxes: (a: number) => [number, number];
|
|
1088
|
+
readonly __wbg_set_groupupdated_addedInboxes: (a: number, b: number, c: number) => void;
|
|
1089
|
+
readonly __wbg_get_groupupdated_removedInboxes: (a: number) => [number, number];
|
|
1090
|
+
readonly __wbg_set_groupupdated_removedInboxes: (a: number, b: number, c: number) => void;
|
|
1091
|
+
readonly __wbg_get_groupupdated_metadataFieldChanges: (a: number) => [number, number];
|
|
1092
|
+
readonly __wbg_set_groupupdated_metadataFieldChanges: (a: number, b: number, c: number) => void;
|
|
1093
|
+
readonly __wbg_inbox_free: (a: number, b: number) => void;
|
|
1094
|
+
readonly __wbg_get_inbox_inboxId: (a: number) => [number, number];
|
|
1095
|
+
readonly __wbg_metadatafieldchange_free: (a: number, b: number) => void;
|
|
1096
|
+
readonly __wbg_get_metadatafieldchange_fieldName: (a: number) => [number, number];
|
|
1097
|
+
readonly __wbg_get_metadatafieldchange_oldValue: (a: number) => [number, number];
|
|
1098
|
+
readonly __wbg_set_metadatafieldchange_oldValue: (a: number, b: number, c: number) => void;
|
|
1099
|
+
readonly __wbg_get_metadatafieldchange_newValue: (a: number) => [number, number];
|
|
1100
|
+
readonly __wbg_set_metadatafieldchange_newValue: (a: number, b: number, c: number) => void;
|
|
1101
|
+
readonly getInboxIdForIdentifier: (a: number, b: number, c: number, d: number, e: any) => any;
|
|
1102
|
+
readonly generateInboxId: (a: any) => [number, number, number, number];
|
|
1103
|
+
readonly __wbg_set_inbox_inboxId: (a: number, b: number, c: number) => void;
|
|
1104
|
+
readonly __wbg_set_metadatafieldchange_fieldName: (a: number, b: number, c: number) => void;
|
|
1105
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
1106
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
1107
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
1108
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
1109
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
1110
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
1111
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
1112
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
1113
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
1114
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
1115
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
1116
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
1117
|
+
readonly __wbg_reaction_free: (a: number, b: number) => void;
|
|
1118
|
+
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
1119
|
+
readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
|
|
1120
|
+
readonly __wbg_get_reaction_action: (a: number) => number;
|
|
1121
|
+
readonly __wbg_set_reaction_action: (a: number, b: number) => void;
|
|
1122
|
+
readonly __wbg_get_reaction_content: (a: number) => [number, number];
|
|
1123
|
+
readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
|
|
1124
|
+
readonly __wbg_get_reaction_schema: (a: number) => number;
|
|
1125
|
+
readonly __wbg_set_reaction_schema: (a: number, b: number) => void;
|
|
1126
|
+
readonly reaction_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1127
|
+
readonly encodeReaction: (a: number) => [number, number, number];
|
|
1128
|
+
readonly decodeReaction: (a: any) => [number, number, number];
|
|
1129
|
+
readonly __wbg_reactionpayload_free: (a: number, b: number) => void;
|
|
1130
|
+
readonly __wbg_get_reactionpayload_reference: (a: number) => [number, number];
|
|
1131
|
+
readonly __wbg_get_reactionpayload_referenceInboxId: (a: number) => [number, number];
|
|
1132
|
+
readonly __wbg_get_reactionpayload_content: (a: number) => [number, number];
|
|
1133
|
+
readonly __wbg_remoteattachment_free: (a: number, b: number) => void;
|
|
1134
|
+
readonly __wbg_get_remoteattachment_url: (a: number) => [number, number];
|
|
1135
|
+
readonly __wbg_set_remoteattachment_url: (a: number, b: number, c: number) => void;
|
|
1136
|
+
readonly __wbg_get_remoteattachment_contentDigest: (a: number) => [number, number];
|
|
1137
|
+
readonly __wbg_get_remoteattachment_secret: (a: number) => [number, number];
|
|
1138
|
+
readonly __wbg_set_remoteattachment_secret: (a: number, b: number, c: number) => void;
|
|
1139
|
+
readonly __wbg_get_remoteattachment_salt: (a: number) => [number, number];
|
|
1140
|
+
readonly __wbg_set_remoteattachment_salt: (a: number, b: number, c: number) => void;
|
|
1141
|
+
readonly __wbg_get_remoteattachment_nonce: (a: number) => [number, number];
|
|
1142
|
+
readonly __wbg_set_remoteattachment_nonce: (a: number, b: number, c: number) => void;
|
|
1143
|
+
readonly __wbg_get_remoteattachment_scheme: (a: number) => [number, number];
|
|
1144
|
+
readonly __wbg_set_remoteattachment_scheme: (a: number, b: number, c: number) => void;
|
|
1145
|
+
readonly __wbg_get_remoteattachment_contentLength: (a: number) => bigint;
|
|
1146
|
+
readonly __wbg_set_remoteattachment_contentLength: (a: number, b: bigint) => void;
|
|
1147
|
+
readonly __wbg_get_remoteattachment_filename: (a: number) => [number, number];
|
|
1148
|
+
readonly __wbg_set_remoteattachment_filename: (a: number, b: number, c: number) => void;
|
|
1149
|
+
readonly __wbg_transactionreference_free: (a: number, b: number) => void;
|
|
1150
|
+
readonly __wbg_get_transactionreference_namespace: (a: number) => [number, number];
|
|
1151
|
+
readonly __wbg_set_transactionreference_namespace: (a: number, b: number, c: number) => void;
|
|
1152
|
+
readonly __wbg_get_transactionreference_networkId: (a: number) => [number, number];
|
|
1153
|
+
readonly __wbg_set_transactionreference_networkId: (a: number, b: number, c: number) => void;
|
|
1154
|
+
readonly __wbg_get_transactionreference_reference: (a: number) => [number, number];
|
|
1155
|
+
readonly __wbg_set_transactionreference_reference: (a: number, b: number, c: number) => void;
|
|
1156
|
+
readonly __wbg_get_transactionreference_metadata: (a: number) => number;
|
|
1157
|
+
readonly __wbg_set_transactionreference_metadata: (a: number, b: number) => void;
|
|
1158
|
+
readonly __wbg_transactionmetadata_free: (a: number, b: number) => void;
|
|
1159
|
+
readonly __wbg_get_transactionmetadata_transactionType: (a: number) => [number, number];
|
|
1160
|
+
readonly __wbg_get_transactionmetadata_currency: (a: number) => [number, number];
|
|
1161
|
+
readonly __wbg_get_transactionmetadata_amount: (a: number) => number;
|
|
1162
|
+
readonly __wbg_set_transactionmetadata_amount: (a: number, b: number) => void;
|
|
1163
|
+
readonly __wbg_get_transactionmetadata_decimals: (a: number) => number;
|
|
1164
|
+
readonly __wbg_set_transactionmetadata_decimals: (a: number, b: number) => void;
|
|
1165
|
+
readonly __wbg_get_transactionmetadata_fromAddress: (a: number) => [number, number];
|
|
1166
|
+
readonly __wbg_get_transactionmetadata_toAddress: (a: number) => [number, number];
|
|
1167
|
+
readonly __wbg_sendmessageopts_free: (a: number, b: number) => void;
|
|
1168
|
+
readonly __wbg_get_sendmessageopts_shouldPush: (a: number) => number;
|
|
1169
|
+
readonly __wbg_set_sendmessageopts_shouldPush: (a: number, b: number) => void;
|
|
1170
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
1171
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
1172
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
1173
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
1174
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
1175
|
+
readonly __wbg_get_groupmember_accountIdentifiers: (a: number) => [number, number];
|
|
1176
|
+
readonly __wbg_set_groupmember_accountIdentifiers: (a: number, b: number, c: number) => void;
|
|
1177
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
1178
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
1179
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
1180
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
1181
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
1182
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
1183
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
1184
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
1185
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
1186
|
+
readonly conversation_send: (a: number, b: number, c: number) => any;
|
|
1187
|
+
readonly conversation_sendOptimistic: (a: number, b: number, c: number) => [number, number, number, number];
|
|
1188
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
1189
|
+
readonly conversation_sync: (a: number) => any;
|
|
1190
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
1191
|
+
readonly conversation_countMessages: (a: number, b: number) => any;
|
|
1192
|
+
readonly conversation_findMessagesWithReactions: (a: number, b: number) => any;
|
|
1193
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
1194
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
1195
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
1196
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
1197
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
1198
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
1199
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
1200
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
1201
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1202
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
1203
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
1204
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1205
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
1206
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
1207
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
1208
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
1209
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
1210
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
1211
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
1212
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
1213
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
1214
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
1215
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
1216
|
+
readonly conversation_pausedForVersion: (a: number) => [number, number, number, number];
|
|
1217
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
1218
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
1219
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
1220
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
1221
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
1222
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
1223
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
1224
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
1225
|
+
readonly conversation_getHmacKeys: (a: number) => [number, number, number];
|
|
1226
|
+
readonly conversation_getDebugInfo: (a: number) => any;
|
|
1227
|
+
readonly conversation_findDuplicateDms: (a: number) => any;
|
|
1228
|
+
readonly conversation_findMessagesV2: (a: number, b: number) => any;
|
|
1229
|
+
readonly conversation_getLastReadTimes: (a: number) => any;
|
|
1230
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
1231
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
1232
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
1233
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
1234
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
1235
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
1236
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
1237
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
1238
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
1239
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
1240
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
1241
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
1242
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
1243
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
1244
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
1245
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
1246
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
1247
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
1248
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
1249
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
1250
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
1251
|
+
readonly __wbg_opfs_free: (a: number, b: number) => void;
|
|
1252
|
+
readonly opfs_init_sqlite_opfs: () => any;
|
|
1253
|
+
readonly opfs_exists: () => number;
|
|
1254
|
+
readonly opfs_error: () => [number, number];
|
|
1255
|
+
readonly opfs_wipeFiles: () => any;
|
|
1256
|
+
readonly opfs_rm: (a: number, b: number) => [number, number, number];
|
|
1257
|
+
readonly opfs_getFileNames: () => [number, number];
|
|
1258
|
+
readonly opfs_importDb: (a: number, b: number, c: number, d: number) => [number, number];
|
|
1259
|
+
readonly opfs_exportFile: (a: number, b: number) => [number, number, number, number];
|
|
1260
|
+
readonly opfs_getFileCount: () => number;
|
|
1261
|
+
readonly opfs_getCapacity: () => number;
|
|
1262
|
+
readonly opfs_addCapacity: (a: number) => any;
|
|
1263
|
+
readonly opfs_reduceCapacity: (a: number) => any;
|
|
1264
|
+
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
1265
|
+
readonly __wbg_set_reactionpayload_reference: (a: number, b: number, c: number) => void;
|
|
1266
|
+
readonly __wbg_set_reactionpayload_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1267
|
+
readonly __wbg_set_reactionpayload_content: (a: number, b: number, c: number) => void;
|
|
1268
|
+
readonly __wbg_set_remoteattachment_contentDigest: (a: number, b: number, c: number) => void;
|
|
1269
|
+
readonly __wbg_set_transactionmetadata_transactionType: (a: number, b: number, c: number) => void;
|
|
1270
|
+
readonly __wbg_set_transactionmetadata_currency: (a: number, b: number, c: number) => void;
|
|
1271
|
+
readonly __wbg_set_transactionmetadata_fromAddress: (a: number, b: number, c: number) => void;
|
|
1272
|
+
readonly __wbg_set_transactionmetadata_toAddress: (a: number, b: number, c: number) => void;
|
|
1273
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
1274
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
1275
|
+
readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
|
|
1276
|
+
readonly __wbg_set_reactionpayload_action: (a: number, b: number) => void;
|
|
1277
|
+
readonly __wbg_set_reactionpayload_schema: (a: number, b: number) => void;
|
|
1278
|
+
readonly __wbg_get_reactionpayload_action: (a: number) => number;
|
|
1279
|
+
readonly __wbg_get_reactionpayload_schema: (a: number) => number;
|
|
1280
|
+
readonly __wbg_attachment_free: (a: number, b: number) => void;
|
|
1281
|
+
readonly __wbg_get_attachment_filename: (a: number) => [number, number];
|
|
1282
|
+
readonly __wbg_set_attachment_filename: (a: number, b: number, c: number) => void;
|
|
1283
|
+
readonly __wbg_get_attachment_mimeType: (a: number) => [number, number];
|
|
1284
|
+
readonly __wbg_set_attachment_mimeType: (a: number, b: number, c: number) => void;
|
|
1285
|
+
readonly __wbg_get_attachment_content: (a: number) => [number, number];
|
|
1286
|
+
readonly __wbg_set_attachment_content: (a: number, b: number, c: number) => void;
|
|
946
1287
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
947
1288
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
948
1289
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -952,6 +1293,12 @@ export interface InitOutput {
|
|
|
952
1293
|
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
953
1294
|
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
954
1295
|
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
1296
|
+
readonly __wbg_groupsyncsummary_free: (a: number, b: number) => void;
|
|
1297
|
+
readonly __wbg_get_groupsyncsummary_numEligible: (a: number) => number;
|
|
1298
|
+
readonly __wbg_set_groupsyncsummary_numEligible: (a: number, b: number) => void;
|
|
1299
|
+
readonly __wbg_get_groupsyncsummary_numSynced: (a: number) => number;
|
|
1300
|
+
readonly __wbg_set_groupsyncsummary_numSynced: (a: number, b: number) => void;
|
|
1301
|
+
readonly groupsyncsummary_new: (a: number, b: number) => number;
|
|
955
1302
|
readonly createClient: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number) => any;
|
|
956
1303
|
readonly client_accountIdentifier: (a: number) => any;
|
|
957
1304
|
readonly client_inboxId: (a: number) => [number, number];
|
|
@@ -971,66 +1318,77 @@ export interface InitOutput {
|
|
|
971
1318
|
readonly client_apiAggregateStatistics: (a: number) => [number, number];
|
|
972
1319
|
readonly client_clearAllStatistics: (a: number) => void;
|
|
973
1320
|
readonly client_uploadDebugArchive: (a: number, b: number, c: number) => any;
|
|
974
|
-
readonly
|
|
975
|
-
readonly
|
|
976
|
-
readonly
|
|
977
|
-
readonly
|
|
978
|
-
readonly
|
|
979
|
-
readonly
|
|
980
|
-
readonly
|
|
981
|
-
readonly
|
|
982
|
-
readonly
|
|
983
|
-
readonly
|
|
984
|
-
readonly
|
|
985
|
-
readonly
|
|
986
|
-
readonly
|
|
987
|
-
readonly
|
|
988
|
-
readonly
|
|
989
|
-
readonly
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
readonly
|
|
996
|
-
readonly
|
|
997
|
-
readonly
|
|
998
|
-
readonly
|
|
999
|
-
readonly
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly
|
|
1003
|
-
readonly
|
|
1004
|
-
readonly
|
|
1005
|
-
readonly
|
|
1006
|
-
readonly
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
readonly
|
|
1011
|
-
readonly
|
|
1012
|
-
readonly
|
|
1013
|
-
readonly
|
|
1014
|
-
readonly
|
|
1015
|
-
readonly
|
|
1016
|
-
readonly
|
|
1017
|
-
readonly
|
|
1018
|
-
readonly
|
|
1019
|
-
readonly
|
|
1020
|
-
readonly
|
|
1021
|
-
readonly
|
|
1022
|
-
readonly
|
|
1023
|
-
readonly
|
|
1024
|
-
readonly
|
|
1025
|
-
readonly
|
|
1026
|
-
readonly
|
|
1027
|
-
readonly
|
|
1028
|
-
readonly
|
|
1029
|
-
readonly
|
|
1030
|
-
readonly
|
|
1031
|
-
readonly
|
|
1032
|
-
readonly
|
|
1033
|
-
readonly
|
|
1321
|
+
readonly client_deleteMessage: (a: number, b: number, c: number) => [number, number, number];
|
|
1322
|
+
readonly client_messageV2: (a: number, b: number, c: number) => any;
|
|
1323
|
+
readonly __wbg_remoteattachmentinfo_free: (a: number, b: number) => void;
|
|
1324
|
+
readonly __wbg_get_remoteattachmentinfo_secret: (a: number) => any;
|
|
1325
|
+
readonly __wbg_set_remoteattachmentinfo_secret: (a: number, b: any) => void;
|
|
1326
|
+
readonly __wbg_get_remoteattachmentinfo_contentDigest: (a: number) => [number, number];
|
|
1327
|
+
readonly __wbg_set_remoteattachmentinfo_contentDigest: (a: number, b: number, c: number) => void;
|
|
1328
|
+
readonly __wbg_get_remoteattachmentinfo_nonce: (a: number) => any;
|
|
1329
|
+
readonly __wbg_set_remoteattachmentinfo_nonce: (a: number, b: any) => void;
|
|
1330
|
+
readonly __wbg_get_remoteattachmentinfo_scheme: (a: number) => [number, number];
|
|
1331
|
+
readonly __wbg_set_remoteattachmentinfo_scheme: (a: number, b: number, c: number) => void;
|
|
1332
|
+
readonly __wbg_get_remoteattachmentinfo_url: (a: number) => [number, number];
|
|
1333
|
+
readonly __wbg_set_remoteattachmentinfo_url: (a: number, b: number, c: number) => void;
|
|
1334
|
+
readonly __wbg_get_remoteattachmentinfo_salt: (a: number) => any;
|
|
1335
|
+
readonly __wbg_set_remoteattachmentinfo_salt: (a: number, b: any) => void;
|
|
1336
|
+
readonly __wbg_get_remoteattachmentinfo_contentLength: (a: number) => number;
|
|
1337
|
+
readonly __wbg_set_remoteattachmentinfo_contentLength: (a: number, b: number) => void;
|
|
1338
|
+
readonly __wbg_get_remoteattachmentinfo_filename: (a: number) => [number, number];
|
|
1339
|
+
readonly __wbg_set_remoteattachmentinfo_filename: (a: number, b: number, c: number) => void;
|
|
1340
|
+
readonly remoteattachmentinfo_new: (a: any, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: any, j: number, k: number, l: number) => number;
|
|
1341
|
+
readonly __wbg_multiremoteattachment_free: (a: number, b: number) => void;
|
|
1342
|
+
readonly __wbg_get_multiremoteattachment_attachments: (a: number) => [number, number];
|
|
1343
|
+
readonly __wbg_set_multiremoteattachment_attachments: (a: number, b: number, c: number) => void;
|
|
1344
|
+
readonly multiremoteattachment_new: (a: number, b: number) => number;
|
|
1345
|
+
readonly encodeMultiRemoteAttachment: (a: number) => [number, number, number];
|
|
1346
|
+
readonly decodeMultiRemoteAttachment: (a: any) => [number, number, number];
|
|
1347
|
+
readonly __wbg_readreceipt_free: (a: number, b: number) => void;
|
|
1348
|
+
readonly __wbg_textcontent_free: (a: number, b: number) => void;
|
|
1349
|
+
readonly __wbg_get_textcontent_content: (a: number) => [number, number];
|
|
1350
|
+
readonly __wbg_set_textcontent_content: (a: number, b: number, c: number) => void;
|
|
1351
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
1352
|
+
readonly __wbg_get_listmessagesoptions_contentTypes: (a: number) => [number, number];
|
|
1353
|
+
readonly __wbg_set_listmessagesoptions_contentTypes: (a: number, b: number, c: number) => void;
|
|
1354
|
+
readonly __wbg_get_listmessagesoptions_excludeContentTypes: (a: number) => [number, number];
|
|
1355
|
+
readonly __wbg_set_listmessagesoptions_excludeContentTypes: (a: number, b: number, c: number) => void;
|
|
1356
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
1357
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
1358
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
1359
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
1360
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
1361
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
1362
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
1363
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
1364
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
1365
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
1366
|
+
readonly __wbg_get_listmessagesoptions_kind: (a: number) => number;
|
|
1367
|
+
readonly __wbg_set_listmessagesoptions_kind: (a: number, b: number) => void;
|
|
1368
|
+
readonly __wbg_get_listmessagesoptions_excludeSenderInboxIds: (a: number) => [number, number];
|
|
1369
|
+
readonly __wbg_set_listmessagesoptions_excludeSenderInboxIds: (a: number, b: number, c: number) => void;
|
|
1370
|
+
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => number;
|
|
1371
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
1372
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
1373
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
1374
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
1375
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
1376
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
1377
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
1378
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
1379
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
1380
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
1381
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
1382
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
1383
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
1384
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
1385
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
1386
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
1387
|
+
readonly __wbg_messagewithreactions_free: (a: number, b: number) => void;
|
|
1388
|
+
readonly __wbg_get_messagewithreactions_message: (a: number) => number;
|
|
1389
|
+
readonly __wbg_set_messagewithreactions_message: (a: number, b: number) => void;
|
|
1390
|
+
readonly __wbg_get_messagewithreactions_reactions: (a: number) => [number, number];
|
|
1391
|
+
readonly __wbg_set_messagewithreactions_reactions: (a: number, b: number, c: number) => void;
|
|
1034
1392
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
1035
1393
|
readonly rust_zstd_wasm_shim_malloc: (a: number) => number;
|
|
1036
1394
|
readonly rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
|
|
@@ -1050,15 +1408,15 @@ export interface InitOutput {
|
|
|
1050
1408
|
readonly rust_sqlite_wasm_shim_realloc: (a: number, b: number) => number;
|
|
1051
1409
|
readonly rust_sqlite_wasm_shim_calloc: (a: number, b: number) => number;
|
|
1052
1410
|
readonly sqlite3_os_init: () => number;
|
|
1053
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1054
|
-
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1055
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1056
1411
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
1057
1412
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
1058
1413
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
1059
1414
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
1060
1415
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
1061
1416
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
1417
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
1418
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
1419
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
1062
1420
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
1063
1421
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
1064
1422
|
readonly intounderlyingsink_close: (a: number) => any;
|
|
@@ -1073,11 +1431,11 @@ export interface InitOutput {
|
|
|
1073
1431
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
1074
1432
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
1075
1433
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
1076
|
-
readonly
|
|
1077
|
-
readonly
|
|
1078
|
-
readonly
|
|
1079
|
-
readonly
|
|
1080
|
-
readonly
|
|
1434
|
+
readonly wasm_bindgen__convert__closures_____invoke__h8d2688e22b07e25f: (a: number, b: number) => void;
|
|
1435
|
+
readonly closure6985_externref_shim: (a: number, b: number, c: any) => void;
|
|
1436
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6553f0a100c562a9: (a: number, b: number) => void;
|
|
1437
|
+
readonly wasm_bindgen__convert__closures_____invoke__h040a93cf6078a98e: (a: number, b: number) => void;
|
|
1438
|
+
readonly closure7952_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
1081
1439
|
readonly __wbindgen_start: () => void;
|
|
1082
1440
|
}
|
|
1083
1441
|
|