@xmtp/wasm-bindings 0.0.11 → 0.0.13
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 +255 -207
- package/dist/bindings_wasm.js +492 -377
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +154 -142
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function createClient(host: string, inbox_id: string, account_address: string, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
3
4
|
export function getInboxIdForAddress(host: string, account_address: string): Promise<string | undefined>;
|
|
4
5
|
export function generateInboxId(account_address: string): string;
|
|
5
6
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
6
|
-
export function createClient(host: string, inbox_id: string, account_address: string, db_path?: string, encryption_key?: Uint8Array, history_sync_url?: string, log_options?: LogOptions): Promise<Client>;
|
|
7
7
|
export enum ConsentEntityType {
|
|
8
8
|
GroupId = 0,
|
|
9
9
|
InboxId = 1,
|
|
@@ -34,7 +34,7 @@ export enum GroupMessageKind {
|
|
|
34
34
|
MembershipChange = 1,
|
|
35
35
|
}
|
|
36
36
|
export enum GroupPermissionsOptions {
|
|
37
|
-
|
|
37
|
+
Default = 0,
|
|
38
38
|
AdminOnly = 1,
|
|
39
39
|
CustomPolicy = 2,
|
|
40
40
|
}
|
|
@@ -84,18 +84,14 @@ type ReadableStreamType = "bytes";
|
|
|
84
84
|
export class Client {
|
|
85
85
|
private constructor();
|
|
86
86
|
free(): void;
|
|
87
|
-
|
|
87
|
+
canMessage(account_addresses: string[]): Promise<any>;
|
|
88
|
+
registerIdentity(): Promise<void>;
|
|
89
|
+
sendHistorySyncRequest(): Promise<void>;
|
|
90
|
+
sendConsentSyncRequest(): Promise<void>;
|
|
91
|
+
findInboxIdByAddress(address: string): Promise<string | undefined>;
|
|
92
|
+
conversations(): Conversations;
|
|
93
|
+
setConsentStates(records: Consent[]): Promise<void>;
|
|
88
94
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
89
|
-
createInboxSignatureText(): Promise<string | undefined>;
|
|
90
|
-
addWalletSignatureText(new_wallet_address: string): Promise<string>;
|
|
91
|
-
revokeWalletSignatureText(wallet_address: string): Promise<string>;
|
|
92
|
-
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
93
|
-
revokeInstallationsSignatureText(installation_ids: (Uint8Array)[]): Promise<string>;
|
|
94
|
-
addSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
95
|
-
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint): Promise<void>;
|
|
96
|
-
applySignatureRequests(): Promise<void>;
|
|
97
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
98
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
99
95
|
/**
|
|
100
96
|
*
|
|
101
97
|
* * Get the client's inbox state.
|
|
@@ -106,12 +102,16 @@ export class Client {
|
|
|
106
102
|
*/
|
|
107
103
|
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
108
104
|
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
105
|
+
createInboxSignatureText(): Promise<string | undefined>;
|
|
106
|
+
addWalletSignatureText(new_wallet_address: string): Promise<string>;
|
|
107
|
+
revokeWalletSignatureText(wallet_address: string): Promise<string>;
|
|
108
|
+
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
109
|
+
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
110
|
+
addSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
111
|
+
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
112
|
+
applySignatureRequests(): Promise<void>;
|
|
113
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
114
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
115
115
|
readonly accountAddress: string;
|
|
116
116
|
readonly inboxId: string;
|
|
117
117
|
readonly isRegistered: boolean;
|
|
@@ -149,21 +149,21 @@ export class Conversation {
|
|
|
149
149
|
*/
|
|
150
150
|
publishMessages(): Promise<void>;
|
|
151
151
|
sync(): Promise<void>;
|
|
152
|
-
findMessages(opts?: ListMessagesOptions): Promise<
|
|
152
|
+
findMessages(opts?: ListMessagesOptions | null): Promise<Message[]>;
|
|
153
153
|
listMembers(): Promise<any>;
|
|
154
|
-
adminList():
|
|
155
|
-
superAdminList():
|
|
154
|
+
adminList(): string[];
|
|
155
|
+
superAdminList(): string[];
|
|
156
156
|
isAdmin(inbox_id: string): boolean;
|
|
157
157
|
isSuperAdmin(inbox_id: string): boolean;
|
|
158
|
-
addMembers(account_addresses:
|
|
158
|
+
addMembers(account_addresses: string[]): Promise<void>;
|
|
159
159
|
addAdmin(inbox_id: string): Promise<void>;
|
|
160
160
|
removeAdmin(inbox_id: string): Promise<void>;
|
|
161
161
|
addSuperAdmin(inbox_id: string): Promise<void>;
|
|
162
162
|
removeSuperAdmin(inbox_id: string): Promise<void>;
|
|
163
163
|
groupPermissions(): GroupPermissions;
|
|
164
|
-
addMembersByInboxId(inbox_ids:
|
|
165
|
-
removeMembers(account_addresses:
|
|
166
|
-
removeMembersByInboxId(inbox_ids:
|
|
164
|
+
addMembersByInboxId(inbox_ids: string[]): Promise<void>;
|
|
165
|
+
removeMembers(account_addresses: string[]): Promise<void>;
|
|
166
|
+
removeMembersByInboxId(inbox_ids: string[]): Promise<void>;
|
|
167
167
|
updateGroupName(group_name: string): Promise<void>;
|
|
168
168
|
groupName(): string;
|
|
169
169
|
updateGroupImageUrlSquare(group_image_url_square: string): Promise<void>;
|
|
@@ -177,47 +177,61 @@ export class Conversation {
|
|
|
177
177
|
addedByInboxId(): string;
|
|
178
178
|
groupMetadata(): Promise<GroupMetadata>;
|
|
179
179
|
dmPeerInboxId(): string;
|
|
180
|
-
updatePermissionPolicy(permission_update_type: PermissionUpdateType, permission_policy_option: PermissionPolicy, metadata_field?: MetadataField): Promise<void>;
|
|
180
|
+
updatePermissionPolicy(permission_update_type: PermissionUpdateType, permission_policy_option: PermissionPolicy, metadata_field?: MetadataField | null): Promise<void>;
|
|
181
181
|
}
|
|
182
182
|
export class Conversations {
|
|
183
183
|
private constructor();
|
|
184
184
|
free(): void;
|
|
185
|
-
createGroup(account_addresses:
|
|
185
|
+
createGroup(account_addresses: string[], options?: CreateGroupOptions | null): Promise<Conversation>;
|
|
186
186
|
createDm(account_address: string): Promise<Conversation>;
|
|
187
187
|
findGroupById(group_id: string): Conversation;
|
|
188
188
|
findDmByTargetInboxId(target_inbox_id: string): Conversation;
|
|
189
189
|
findMessageById(message_id: string): Message;
|
|
190
190
|
sync(): Promise<void>;
|
|
191
191
|
syncAllConversations(): Promise<number>;
|
|
192
|
-
list(opts?: ListConversationsOptions): Array<any>;
|
|
193
|
-
listGroups(opts?: ListConversationsOptions): Array<any>;
|
|
194
|
-
listDms(opts?: ListConversationsOptions): Array<any>;
|
|
192
|
+
list(opts?: ListConversationsOptions | null): Array<any>;
|
|
193
|
+
listGroups(opts?: ListConversationsOptions | null): Array<any>;
|
|
194
|
+
listDms(opts?: ListConversationsOptions | null): Array<any>;
|
|
195
|
+
getHmacKeys(): any;
|
|
195
196
|
}
|
|
196
197
|
export class CreateGroupOptions {
|
|
197
198
|
free(): void;
|
|
198
|
-
constructor(permissions?: GroupPermissionsOptions, group_name?: string, group_image_url_square?: string, group_description?: string, group_pinned_frame_url?: string, custom_permission_policy_set?: PermissionPolicySet);
|
|
199
|
-
permissions
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
constructor(permissions?: GroupPermissionsOptions | null, group_name?: string | null, group_image_url_square?: string | null, group_description?: string | null, group_pinned_frame_url?: string | null, custom_permission_policy_set?: PermissionPolicySet | null, message_expiration_from_ms?: bigint | null, message_expiration_ms?: bigint | null);
|
|
200
|
+
get permissions(): GroupPermissionsOptions | undefined;
|
|
201
|
+
set permissions(value: GroupPermissionsOptions | null | undefined);
|
|
202
|
+
get groupName(): string | undefined;
|
|
203
|
+
set groupName(value: string | null | undefined);
|
|
204
|
+
get groupImageUrlSquare(): string | undefined;
|
|
205
|
+
set groupImageUrlSquare(value: string | null | undefined);
|
|
206
|
+
get groupDescription(): string | undefined;
|
|
207
|
+
set groupDescription(value: string | null | undefined);
|
|
208
|
+
get groupPinnedFrameUrl(): string | undefined;
|
|
209
|
+
set groupPinnedFrameUrl(value: string | null | undefined);
|
|
210
|
+
get customPermissionPolicySet(): PermissionPolicySet | undefined;
|
|
211
|
+
set customPermissionPolicySet(value: PermissionPolicySet | null | undefined);
|
|
212
|
+
get messageExpirationFromMillis(): bigint | undefined;
|
|
213
|
+
set messageExpirationFromMillis(value: bigint | null | undefined);
|
|
214
|
+
get messageExpirationMillis(): bigint | undefined;
|
|
215
|
+
set messageExpirationMillis(value: bigint | null | undefined);
|
|
205
216
|
}
|
|
206
217
|
export class EncodedContent {
|
|
207
218
|
free(): void;
|
|
208
|
-
constructor(type: ContentTypeId | undefined, parameters: any, fallback: string | undefined, compression: number | undefined, content: Uint8Array);
|
|
209
|
-
type
|
|
219
|
+
constructor(type: ContentTypeId | null | undefined, parameters: any, fallback: string | null | undefined, compression: number | null | undefined, content: Uint8Array);
|
|
220
|
+
get type(): ContentTypeId | undefined;
|
|
221
|
+
set type(value: ContentTypeId | null | undefined);
|
|
210
222
|
parameters: any;
|
|
211
|
-
fallback
|
|
212
|
-
|
|
223
|
+
get fallback(): string | undefined;
|
|
224
|
+
set fallback(value: string | null | undefined);
|
|
225
|
+
get compression(): number | undefined;
|
|
226
|
+
set compression(value: number | null | undefined);
|
|
213
227
|
content: Uint8Array;
|
|
214
228
|
}
|
|
215
229
|
export class GroupMember {
|
|
216
230
|
free(): void;
|
|
217
|
-
constructor(inbox_id: string, account_addresses:
|
|
231
|
+
constructor(inbox_id: string, account_addresses: string[], installation_ids: string[], permission_level: PermissionLevel, consent_state: ConsentState);
|
|
218
232
|
inboxId: string;
|
|
219
|
-
accountAddresses:
|
|
220
|
-
installationIds:
|
|
233
|
+
accountAddresses: string[];
|
|
234
|
+
installationIds: string[];
|
|
221
235
|
permissionLevel: PermissionLevel;
|
|
222
236
|
consentState: ConsentState;
|
|
223
237
|
}
|
|
@@ -233,20 +247,27 @@ export class GroupPermissions {
|
|
|
233
247
|
policyType(): GroupPermissionsOptions;
|
|
234
248
|
policySet(): PermissionPolicySet;
|
|
235
249
|
}
|
|
250
|
+
export class HmacKey {
|
|
251
|
+
private constructor();
|
|
252
|
+
free(): void;
|
|
253
|
+
key: Uint8Array;
|
|
254
|
+
epoch: bigint;
|
|
255
|
+
}
|
|
236
256
|
export class InboxState {
|
|
237
257
|
free(): void;
|
|
238
|
-
constructor(inbox_id: string, recovery_address: string, installations:
|
|
258
|
+
constructor(inbox_id: string, recovery_address: string, installations: Installation[], account_addresses: string[]);
|
|
239
259
|
inboxId: string;
|
|
240
260
|
recoveryAddress: string;
|
|
241
|
-
installations:
|
|
242
|
-
accountAddresses:
|
|
261
|
+
installations: Installation[];
|
|
262
|
+
accountAddresses: string[];
|
|
243
263
|
}
|
|
244
264
|
export class Installation {
|
|
245
265
|
free(): void;
|
|
246
|
-
constructor(bytes: Uint8Array, id: string, client_timestamp_ns?: bigint);
|
|
266
|
+
constructor(bytes: Uint8Array, id: string, client_timestamp_ns?: bigint | null);
|
|
247
267
|
bytes: Uint8Array;
|
|
248
268
|
id: string;
|
|
249
|
-
clientTimestampNs
|
|
269
|
+
get clientTimestampNs(): bigint | undefined;
|
|
270
|
+
set clientTimestampNs(value: bigint | null | undefined);
|
|
250
271
|
}
|
|
251
272
|
export class IntoUnderlyingByteSource {
|
|
252
273
|
private constructor();
|
|
@@ -272,28 +293,38 @@ export class IntoUnderlyingSource {
|
|
|
272
293
|
}
|
|
273
294
|
export class ListConversationsOptions {
|
|
274
295
|
free(): void;
|
|
275
|
-
constructor(allowed_states?: any[], conversation_type?: ConversationType, created_after_ns?: bigint, created_before_ns?: bigint, limit?: bigint);
|
|
276
|
-
allowedStates
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
296
|
+
constructor(allowed_states?: any[] | null, conversation_type?: ConversationType | null, created_after_ns?: bigint | null, created_before_ns?: bigint | null, limit?: bigint | null);
|
|
297
|
+
get allowedStates(): any[] | undefined;
|
|
298
|
+
set allowedStates(value: any[] | null | undefined);
|
|
299
|
+
get conversationType(): ConversationType | undefined;
|
|
300
|
+
set conversationType(value: ConversationType | null | undefined);
|
|
301
|
+
get createdAfterNs(): bigint | undefined;
|
|
302
|
+
set createdAfterNs(value: bigint | null | undefined);
|
|
303
|
+
get createdBeforeNs(): bigint | undefined;
|
|
304
|
+
set createdBeforeNs(value: bigint | null | undefined);
|
|
305
|
+
get limit(): bigint | undefined;
|
|
306
|
+
set limit(value: bigint | null | undefined);
|
|
281
307
|
}
|
|
282
308
|
export class ListMessagesOptions {
|
|
283
309
|
free(): void;
|
|
284
|
-
constructor(sent_before_ns?: bigint, sent_after_ns?: bigint, limit?: bigint, delivery_status?: DeliveryStatus, direction?: SortDirection);
|
|
285
|
-
sentBeforeNs
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
310
|
+
constructor(sent_before_ns?: bigint | null, sent_after_ns?: bigint | null, limit?: bigint | null, delivery_status?: DeliveryStatus | null, direction?: SortDirection | null);
|
|
311
|
+
get sentBeforeNs(): bigint | undefined;
|
|
312
|
+
set sentBeforeNs(value: bigint | null | undefined);
|
|
313
|
+
get sentAfterNs(): bigint | undefined;
|
|
314
|
+
set sentAfterNs(value: bigint | null | undefined);
|
|
315
|
+
get limit(): bigint | undefined;
|
|
316
|
+
set limit(value: bigint | null | undefined);
|
|
317
|
+
get deliveryStatus(): DeliveryStatus | undefined;
|
|
318
|
+
set deliveryStatus(value: DeliveryStatus | null | undefined);
|
|
319
|
+
get direction(): SortDirection | undefined;
|
|
320
|
+
set direction(value: SortDirection | null | undefined);
|
|
290
321
|
}
|
|
291
322
|
/**
|
|
292
323
|
* Specify options for the logger
|
|
293
324
|
*/
|
|
294
325
|
export class LogOptions {
|
|
295
326
|
free(): void;
|
|
296
|
-
constructor(structured: boolean, performance: boolean, level?: LogLevel);
|
|
327
|
+
constructor(structured: boolean, performance: boolean, level?: LogLevel | null);
|
|
297
328
|
/**
|
|
298
329
|
* enable structured JSON logging to stdout.Useful for third-party log viewers
|
|
299
330
|
*/
|
|
@@ -305,7 +336,11 @@ export class LogOptions {
|
|
|
305
336
|
/**
|
|
306
337
|
* filter for logs
|
|
307
338
|
*/
|
|
308
|
-
level
|
|
339
|
+
get level(): LogLevel | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* filter for logs
|
|
342
|
+
*/
|
|
343
|
+
set level(value: LogLevel | null | undefined);
|
|
309
344
|
}
|
|
310
345
|
export class Message {
|
|
311
346
|
free(): void;
|
|
@@ -320,7 +355,7 @@ export class Message {
|
|
|
320
355
|
}
|
|
321
356
|
export class PermissionPolicySet {
|
|
322
357
|
free(): void;
|
|
323
|
-
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);
|
|
358
|
+
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, update_message_expiration_ms_policy: PermissionPolicy);
|
|
324
359
|
addMemberPolicy: PermissionPolicy;
|
|
325
360
|
removeMemberPolicy: PermissionPolicy;
|
|
326
361
|
addAdminPolicy: PermissionPolicy;
|
|
@@ -329,6 +364,7 @@ export class PermissionPolicySet {
|
|
|
329
364
|
updateGroupDescriptionPolicy: PermissionPolicy;
|
|
330
365
|
updateGroupImageUrlSquarePolicy: PermissionPolicy;
|
|
331
366
|
updateGroupPinnedFrameUrlPolicy: PermissionPolicy;
|
|
367
|
+
updateMessageExpirationPolicy: PermissionPolicy;
|
|
332
368
|
}
|
|
333
369
|
export class Version {
|
|
334
370
|
private constructor();
|
|
@@ -339,118 +375,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
339
375
|
|
|
340
376
|
export interface InitOutput {
|
|
341
377
|
readonly memory: WebAssembly.Memory;
|
|
342
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
343
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
344
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
345
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
346
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
347
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
348
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
349
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
350
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
351
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
352
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
353
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
354
|
-
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
355
|
-
readonly __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
|
|
356
|
-
readonly __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
357
|
-
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
358
|
-
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
359
|
-
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
360
|
-
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
361
|
-
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
362
|
-
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
363
|
-
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
364
|
-
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
365
|
-
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: bigint) => number;
|
|
366
|
-
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
367
|
-
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
368
|
-
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
369
|
-
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
370
|
-
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
371
|
-
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
372
|
-
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
373
|
-
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
374
|
-
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
375
|
-
readonly __wbg_get_creategroupoptions_groupPinnedFrameUrl: (a: number) => [number, number];
|
|
376
|
-
readonly __wbg_set_creategroupoptions_groupPinnedFrameUrl: (a: number, b: number, c: number) => void;
|
|
377
|
-
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
378
|
-
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
379
|
-
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
380
|
-
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
381
|
-
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
382
|
-
readonly conversations_createDm: (a: number, b: number, c: number) => any;
|
|
383
|
-
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
384
|
-
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
385
|
-
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
386
|
-
readonly conversations_sync: (a: number) => any;
|
|
387
|
-
readonly conversations_syncAllConversations: (a: number) => any;
|
|
388
|
-
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
389
|
-
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
390
|
-
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
391
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
392
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
393
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
394
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
395
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
396
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
397
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
398
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
399
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
400
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
401
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
402
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
403
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
404
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
405
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
406
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
407
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
408
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
409
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
410
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
411
|
-
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
412
|
-
readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
413
|
-
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
414
|
-
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
415
|
-
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
416
|
-
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
417
|
-
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
418
|
-
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number) => number;
|
|
419
|
-
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
420
|
-
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
421
|
-
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
422
|
-
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
423
|
-
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
424
|
-
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
425
|
-
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
426
|
-
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
427
|
-
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
428
|
-
readonly __wbg_get_message_content: (a: number) => number;
|
|
429
|
-
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
430
|
-
readonly __wbg_get_message_kind: (a: number) => number;
|
|
431
|
-
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
432
|
-
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
433
|
-
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
434
|
-
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
435
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
436
|
-
readonly client_createInboxSignatureText: (a: number) => any;
|
|
437
|
-
readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
438
|
-
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
439
|
-
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
440
|
-
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
441
|
-
readonly client_addSignature: (a: number, b: number, c: any) => any;
|
|
442
|
-
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
443
|
-
readonly client_applySignatureRequests: (a: number) => any;
|
|
444
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
445
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
446
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
447
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
448
|
-
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
449
|
-
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
450
|
-
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
451
|
-
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
452
|
-
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
453
|
-
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
454
378
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
455
379
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
456
380
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -468,16 +392,49 @@ export interface InitOutput {
|
|
|
468
392
|
readonly __wbg_set_permissionpolicyset_updateGroupImageUrlSquarePolicy: (a: number, b: number) => void;
|
|
469
393
|
readonly __wbg_get_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number) => number;
|
|
470
394
|
readonly __wbg_set_permissionpolicyset_updateGroupPinnedFrameUrlPolicy: (a: number, b: number) => void;
|
|
471
|
-
readonly
|
|
395
|
+
readonly __wbg_get_permissionpolicyset_updateMessageExpirationPolicy: (a: number) => number;
|
|
396
|
+
readonly __wbg_set_permissionpolicyset_updateMessageExpirationPolicy: (a: number, b: number) => void;
|
|
397
|
+
readonly permissionpolicyset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
472
398
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
473
399
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
474
400
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
401
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
402
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
403
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
404
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
405
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
406
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
407
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
408
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
409
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
410
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
|
|
411
|
+
readonly client_accountAddress: (a: number) => [number, number];
|
|
412
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
413
|
+
readonly client_isRegistered: (a: number) => number;
|
|
414
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
415
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
416
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
417
|
+
readonly client_registerIdentity: (a: number) => any;
|
|
418
|
+
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
419
|
+
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
420
|
+
readonly client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
|
|
421
|
+
readonly client_conversations: (a: number) => number;
|
|
422
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
423
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
424
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
425
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
426
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
427
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
428
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
429
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
430
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
431
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
432
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
433
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
475
434
|
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
476
435
|
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
477
436
|
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
478
437
|
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
479
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
480
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
481
438
|
readonly __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
482
439
|
readonly __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
483
440
|
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
@@ -522,6 +479,8 @@ export interface InitOutput {
|
|
|
522
479
|
readonly conversation_groupMetadata: (a: number) => any;
|
|
523
480
|
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
524
481
|
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
482
|
+
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
483
|
+
readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
525
484
|
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
526
485
|
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
527
486
|
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
@@ -540,43 +499,132 @@ export interface InitOutput {
|
|
|
540
499
|
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
541
500
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
542
501
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
502
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
543
503
|
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
504
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
544
505
|
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
545
|
-
readonly
|
|
546
|
-
readonly
|
|
547
|
-
readonly
|
|
548
|
-
readonly
|
|
549
|
-
readonly
|
|
550
|
-
readonly
|
|
551
|
-
readonly
|
|
552
|
-
readonly
|
|
553
|
-
readonly
|
|
554
|
-
readonly
|
|
555
|
-
readonly
|
|
556
|
-
readonly
|
|
557
|
-
readonly
|
|
558
|
-
readonly
|
|
559
|
-
readonly
|
|
560
|
-
readonly
|
|
561
|
-
readonly
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
565
|
-
readonly
|
|
506
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
507
|
+
readonly client_createInboxSignatureText: (a: number) => any;
|
|
508
|
+
readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
509
|
+
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
510
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
511
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
512
|
+
readonly client_addSignature: (a: number, b: number, c: any) => any;
|
|
513
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
514
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
515
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
516
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
517
|
+
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
518
|
+
readonly __wbg_get_listconversationsoptions_allowedStates: (a: number) => [number, number];
|
|
519
|
+
readonly __wbg_set_listconversationsoptions_allowedStates: (a: number, b: number, c: number) => void;
|
|
520
|
+
readonly __wbg_get_listconversationsoptions_conversationType: (a: number) => number;
|
|
521
|
+
readonly __wbg_set_listconversationsoptions_conversationType: (a: number, b: number) => void;
|
|
522
|
+
readonly __wbg_get_listconversationsoptions_limit: (a: number) => [number, bigint];
|
|
523
|
+
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
524
|
+
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: bigint) => number;
|
|
525
|
+
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
526
|
+
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
527
|
+
readonly __wbg_set_creategroupoptions_permissions: (a: number, b: number) => void;
|
|
528
|
+
readonly __wbg_get_creategroupoptions_groupName: (a: number) => [number, number];
|
|
529
|
+
readonly __wbg_set_creategroupoptions_groupName: (a: number, b: number, c: number) => void;
|
|
530
|
+
readonly __wbg_get_creategroupoptions_groupImageUrlSquare: (a: number) => [number, number];
|
|
531
|
+
readonly __wbg_set_creategroupoptions_groupImageUrlSquare: (a: number, b: number, c: number) => void;
|
|
532
|
+
readonly __wbg_get_creategroupoptions_groupDescription: (a: number) => [number, number];
|
|
533
|
+
readonly __wbg_set_creategroupoptions_groupDescription: (a: number, b: number, c: number) => void;
|
|
534
|
+
readonly __wbg_get_creategroupoptions_groupPinnedFrameUrl: (a: number) => [number, number];
|
|
535
|
+
readonly __wbg_set_creategroupoptions_groupPinnedFrameUrl: (a: number, b: number, c: number) => void;
|
|
536
|
+
readonly __wbg_get_creategroupoptions_customPermissionPolicySet: (a: number) => number;
|
|
537
|
+
readonly __wbg_set_creategroupoptions_customPermissionPolicySet: (a: number, b: number) => void;
|
|
538
|
+
readonly __wbg_get_creategroupoptions_messageExpirationFromMillis: (a: number) => [number, bigint];
|
|
539
|
+
readonly __wbg_set_creategroupoptions_messageExpirationFromMillis: (a: number, b: number, c: bigint) => void;
|
|
540
|
+
readonly __wbg_get_creategroupoptions_messageExpirationMillis: (a: number) => [number, bigint];
|
|
541
|
+
readonly __wbg_set_creategroupoptions_messageExpirationMillis: (a: number, b: number, c: bigint) => void;
|
|
542
|
+
readonly creategroupoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint, m: number, n: bigint) => number;
|
|
543
|
+
readonly __wbg_hmackey_free: (a: number, b: number) => void;
|
|
544
|
+
readonly __wbg_get_hmackey_key: (a: number) => [number, number];
|
|
545
|
+
readonly __wbg_set_hmackey_key: (a: number, b: number, c: number) => void;
|
|
546
|
+
readonly __wbg_get_hmackey_epoch: (a: number) => bigint;
|
|
547
|
+
readonly __wbg_set_hmackey_epoch: (a: number, b: bigint) => void;
|
|
548
|
+
readonly __wbg_conversations_free: (a: number, b: number) => void;
|
|
549
|
+
readonly conversations_createGroup: (a: number, b: number, c: number, d: number) => any;
|
|
550
|
+
readonly conversations_createDm: (a: number, b: number, c: number) => any;
|
|
551
|
+
readonly conversations_findGroupById: (a: number, b: number, c: number) => [number, number, number];
|
|
552
|
+
readonly conversations_findDmByTargetInboxId: (a: number, b: number, c: number) => [number, number, number];
|
|
553
|
+
readonly conversations_findMessageById: (a: number, b: number, c: number) => [number, number, number];
|
|
554
|
+
readonly conversations_sync: (a: number) => any;
|
|
555
|
+
readonly conversations_syncAllConversations: (a: number) => any;
|
|
556
|
+
readonly conversations_list: (a: number, b: number) => [number, number, number];
|
|
557
|
+
readonly conversations_listGroups: (a: number, b: number) => [number, number, number];
|
|
558
|
+
readonly conversations_listDms: (a: number, b: number) => [number, number, number];
|
|
559
|
+
readonly conversations_getHmacKeys: (a: number) => [number, number, number];
|
|
560
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
561
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
562
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
563
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
564
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
565
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
566
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
567
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
568
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
569
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
570
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
571
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
572
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
573
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
574
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
575
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
576
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
577
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
578
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
579
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
580
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
581
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
582
|
+
readonly __wbg_listmessagesoptions_free: (a: number, b: number) => void;
|
|
583
|
+
readonly __wbg_get_listmessagesoptions_deliveryStatus: (a: number) => number;
|
|
584
|
+
readonly __wbg_set_listmessagesoptions_deliveryStatus: (a: number, b: number) => void;
|
|
585
|
+
readonly __wbg_get_listmessagesoptions_direction: (a: number) => number;
|
|
586
|
+
readonly __wbg_set_listmessagesoptions_direction: (a: number, b: number) => void;
|
|
587
|
+
readonly listmessagesoptions_new: (a: number, b: bigint, c: number, d: bigint, e: number, f: bigint, g: number, h: number) => number;
|
|
588
|
+
readonly __wbg_message_free: (a: number, b: number) => void;
|
|
589
|
+
readonly __wbg_get_message_id: (a: number) => [number, number];
|
|
590
|
+
readonly __wbg_set_message_id: (a: number, b: number, c: number) => void;
|
|
591
|
+
readonly __wbg_get_message_convoId: (a: number) => [number, number];
|
|
592
|
+
readonly __wbg_set_message_convoId: (a: number, b: number, c: number) => void;
|
|
593
|
+
readonly __wbg_get_message_senderInboxId: (a: number) => [number, number];
|
|
594
|
+
readonly __wbg_set_message_senderInboxId: (a: number, b: number, c: number) => void;
|
|
595
|
+
readonly __wbg_get_message_content: (a: number) => number;
|
|
596
|
+
readonly __wbg_set_message_content: (a: number, b: number) => void;
|
|
597
|
+
readonly __wbg_get_message_kind: (a: number) => number;
|
|
598
|
+
readonly __wbg_set_message_kind: (a: number, b: number) => void;
|
|
599
|
+
readonly __wbg_get_message_deliveryStatus: (a: number) => number;
|
|
600
|
+
readonly __wbg_set_message_deliveryStatus: (a: number, b: number) => void;
|
|
601
|
+
readonly message_new: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
602
|
+
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
603
|
+
readonly __wbg_set_listconversationsoptions_createdAfterNs: (a: number, b: number, c: bigint) => void;
|
|
604
|
+
readonly __wbg_set_listconversationsoptions_createdBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
605
|
+
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
606
|
+
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
607
|
+
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
608
|
+
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
609
|
+
readonly __wbg_get_listconversationsoptions_createdAfterNs: (a: number) => [number, bigint];
|
|
610
|
+
readonly __wbg_get_listconversationsoptions_createdBeforeNs: (a: number) => [number, bigint];
|
|
611
|
+
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
612
|
+
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
613
|
+
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
566
614
|
readonly __wbg_version_free: (a: number, b: number) => void;
|
|
567
615
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
568
616
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
569
617
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
618
|
+
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
619
|
+
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
620
|
+
readonly intounderlyingsink_close: (a: number) => any;
|
|
621
|
+
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
570
622
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
571
623
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
572
624
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
573
625
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
574
626
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
575
627
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
576
|
-
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
577
|
-
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
578
|
-
readonly intounderlyingsink_close: (a: number) => any;
|
|
579
|
-
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
580
628
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
581
629
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
582
630
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
@@ -586,8 +634,8 @@ export interface InitOutput {
|
|
|
586
634
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
587
635
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
588
636
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
589
|
-
readonly
|
|
590
|
-
readonly
|
|
637
|
+
readonly closure2596_externref_shim: (a: number, b: number, c: any) => void;
|
|
638
|
+
readonly closure3688_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
591
639
|
readonly __wbindgen_start: () => void;
|
|
592
640
|
}
|
|
593
641
|
|