@graphprotocol/hypergraph 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect/abis/MainVotingPlugin.json +1865 -0
- package/dist/connect/abis/PersonalSpaceAdminPlugin.json +531 -0
- package/dist/connect/abis.d.ts +115 -0
- package/dist/connect/abis.d.ts.map +1 -0
- package/dist/connect/abis.js +141 -0
- package/dist/connect/abis.js.map +1 -0
- package/dist/connect/auth-storage.d.ts +15 -0
- package/dist/connect/auth-storage.js +53 -0
- package/dist/connect/auth-storage.js.map +1 -0
- package/dist/connect/create-app-identity.d.ts +7 -0
- package/dist/connect/create-app-identity.js +15 -0
- package/dist/connect/create-app-identity.js.map +1 -0
- package/dist/connect/create-auth-url.d.ts +15 -0
- package/dist/connect/create-callback-params.d.ts +28 -0
- package/dist/connect/create-callback-params.d.ts.map +1 -1
- package/dist/connect/create-callback-params.js.map +1 -1
- package/dist/connect/create-identity-keys.d.ts +3 -0
- package/dist/connect/create-identity-keys.js +20 -0
- package/dist/connect/create-identity-keys.js.map +1 -0
- package/dist/connect/identity-encryption.d.ts +12 -0
- package/dist/connect/identity-encryption.d.ts.map +1 -1
- package/dist/connect/identity-encryption.js +187 -0
- package/dist/connect/identity-encryption.js.map +1 -0
- package/dist/connect/index.d.ts +11 -0
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +11 -0
- package/dist/connect/index.js.map +1 -0
- package/dist/connect/login.d.ts +22 -0
- package/dist/connect/login.d.ts.map +1 -1
- package/dist/connect/login.js +172 -0
- package/dist/connect/login.js.map +1 -0
- package/dist/connect/parse-auth-params.d.ts +14 -0
- package/dist/connect/parse-auth-params.d.ts.map +1 -0
- package/dist/connect/parse-auth-params.js +40 -0
- package/dist/connect/parse-auth-params.js.map +1 -0
- package/dist/connect/parse-callback-params.d.ts +13 -0
- package/dist/connect/parse-callback-params.d.ts.map +1 -1
- package/dist/connect/parse-callback-params.js +4 -1
- package/dist/connect/parse-callback-params.js.map +1 -1
- package/dist/connect/smart-account.d.ts +96 -0
- package/dist/connect/smart-account.d.ts.map +1 -0
- package/dist/connect/smart-account.js +761 -0
- package/dist/connect/smart-account.js.map +1 -0
- package/dist/connect/types.d.ts +2 -0
- package/dist/connect/types.d.ts.map +1 -1
- package/dist/connect/types.js.map +1 -1
- package/dist/entity/create.d.ts +8 -0
- package/dist/entity/create.js +51 -0
- package/dist/entity/create.js.map +1 -0
- package/dist/entity/decodedEntitiesCache.d.ts +23 -0
- package/dist/entity/decodedEntitiesCache.d.ts.map +1 -1
- package/dist/entity/decodedEntitiesCache.js +2 -0
- package/dist/entity/decodedEntitiesCache.js.map +1 -0
- package/dist/entity/delete.d.ts +12 -0
- package/dist/entity/delete.js +44 -0
- package/dist/entity/delete.js.map +1 -0
- package/dist/entity/entity.d.ts +18 -0
- package/dist/entity/entity.js +19 -0
- package/dist/entity/entity.js.map +1 -0
- package/dist/entity/entityRelationParentsMap.d.ts +4 -0
- package/dist/entity/entityRelationParentsMap.js +2 -0
- package/dist/entity/entityRelationParentsMap.js.map +1 -0
- package/dist/entity/findMany.d.ts +22 -0
- package/dist/entity/findMany.d.ts.map +1 -1
- package/dist/entity/findMany.js +8 -8
- package/dist/entity/findMany.js.map +1 -1
- package/dist/entity/findOne.d.ts +8 -0
- package/dist/entity/findOne.js +31 -0
- package/dist/entity/findOne.js.map +1 -0
- package/dist/entity/getEntityRelations.d.ts +4 -0
- package/dist/entity/getEntityRelations.d.ts.map +1 -1
- package/dist/entity/getEntityRelations.js +35 -0
- package/dist/entity/getEntityRelations.js.map +1 -0
- package/dist/entity/hasValidTypesProperty.d.ts +2 -0
- package/dist/entity/hasValidTypesProperty.d.ts.map +1 -0
- package/dist/entity/hasValidTypesProperty.js +4 -0
- package/dist/entity/hasValidTypesProperty.js.map +1 -0
- package/dist/entity/index.d.ts +9 -0
- package/dist/entity/index.js +9 -0
- package/dist/entity/index.js.map +1 -0
- package/dist/entity/relationParentsMap.d.ts +4 -0
- package/dist/entity/relationParentsMap.js +2 -0
- package/dist/entity/relationParentsMap.js.map +1 -0
- package/dist/entity/removeRelation.d.ts +7 -0
- package/dist/entity/removeRelation.js +17 -0
- package/dist/entity/removeRelation.js.map +1 -0
- package/dist/entity/test.d.ts +2 -0
- package/dist/entity/test.d.ts.map +1 -0
- package/dist/entity/test.js +2 -0
- package/dist/entity/test.js.map +1 -0
- package/dist/entity/types.d.ts +8 -8
- package/dist/entity/update.d.ts +8 -0
- package/dist/entity/update.js +58 -0
- package/dist/entity/update.js.map +1 -0
- package/dist/entity/variant-schema.d.ts +247 -0
- package/dist/entity/variant-schema.d.ts.map +1 -0
- package/dist/entity/variant-schema.js +204 -0
- package/dist/entity/variant-schema.js.map +1 -0
- package/dist/identity/auth-storage.d.ts +6 -0
- package/dist/identity/auth-storage.d.ts.map +1 -1
- package/dist/identity/auth-storage.js +52 -0
- package/dist/identity/auth-storage.js.map +1 -0
- package/dist/identity/get-verified-identity.d.ts +7 -0
- package/dist/identity/get-verified-identity.d.ts.map +1 -1
- package/dist/identity/get-verified-identity.js +37 -0
- package/dist/identity/get-verified-identity.js.map +1 -0
- package/dist/identity/identity-encryption.d.ts +7 -0
- package/dist/identity/identity-encryption.js +120 -0
- package/dist/identity/identity-encryption.js.map +1 -0
- package/dist/identity/index.d.ts +7 -0
- package/dist/identity/index.d.ts.map +1 -1
- package/dist/identity/index.js +7 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/identity/logout.d.ts +3 -0
- package/dist/identity/logout.js +9 -0
- package/dist/identity/logout.js.map +1 -0
- package/dist/identity/prove-ownership.d.ts +15 -0
- package/dist/identity/prove-ownership.d.ts.map +1 -1
- package/dist/identity/prove-ownership.js +90 -0
- package/dist/identity/prove-ownership.js.map +1 -0
- package/dist/identity/types.d.ts +37 -0
- package/dist/identity/types.d.ts.map +1 -0
- package/dist/identity/types.js +11 -0
- package/dist/identity/types.js.map +1 -0
- package/dist/inboxes/create-inbox.d.ts +22 -0
- package/dist/inboxes/create-inbox.js +76 -0
- package/dist/inboxes/create-inbox.js.map +1 -0
- package/dist/inboxes/get-list-inboxes.d.ts +20 -0
- package/dist/inboxes/get-list-inboxes.js +45 -0
- package/dist/inboxes/get-list-inboxes.js.map +1 -0
- package/dist/inboxes/index.d.ts +11 -0
- package/dist/inboxes/index.js +11 -0
- package/dist/inboxes/index.js.map +1 -0
- package/dist/inboxes/merge-messages.d.ts +6 -0
- package/dist/inboxes/merge-messages.js +23 -0
- package/dist/inboxes/merge-messages.js.map +1 -0
- package/dist/inboxes/message-encryption.d.ts +15 -0
- package/dist/inboxes/message-encryption.js +29 -0
- package/dist/inboxes/message-encryption.js.map +1 -0
- package/dist/inboxes/message-validation.d.ts +6 -0
- package/dist/inboxes/message-validation.d.ts.map +1 -1
- package/dist/inboxes/message-validation.js +53 -0
- package/dist/inboxes/message-validation.js.map +1 -0
- package/dist/inboxes/prepare-message.d.ts +2 -2
- package/dist/inboxes/prepare-message.js +78 -0
- package/dist/inboxes/prepare-message.js.map +1 -0
- package/dist/inboxes/recover-inbox-creator.d.ts +5 -0
- package/dist/inboxes/recover-inbox-creator.js +24 -0
- package/dist/inboxes/recover-inbox-creator.js.map +1 -0
- package/dist/inboxes/recover-inbox-message-signer.d.ts +4 -0
- package/dist/inboxes/recover-inbox-message-signer.js +32 -0
- package/dist/inboxes/recover-inbox-message-signer.js.map +1 -0
- package/dist/inboxes/send-message.d.ts +19 -0
- package/dist/inboxes/send-message.js +58 -0
- package/dist/inboxes/send-message.js.map +1 -0
- package/dist/inboxes/types.d.ts +4 -0
- package/dist/inboxes/types.d.ts.map +1 -0
- package/dist/inboxes/types.js +3 -0
- package/dist/inboxes/types.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/key/create-key.d.ts +11 -0
- package/dist/key/create-key.d.ts.map +1 -0
- package/dist/key/create-key.js +22 -0
- package/dist/key/create-key.js.map +1 -0
- package/dist/key/decrypt-key.d.ts +9 -0
- package/dist/key/decrypt-key.d.ts.map +1 -0
- package/dist/key/decrypt-key.js +16 -0
- package/dist/key/decrypt-key.js.map +1 -0
- package/dist/key/encrypt-key.d.ts +11 -0
- package/dist/key/encrypt-key.d.ts.map +1 -0
- package/dist/key/encrypt-key.js +20 -0
- package/dist/key/encrypt-key.js.map +1 -0
- package/dist/key/index.d.ts +5 -0
- package/dist/key/index.d.ts.map +1 -0
- package/dist/key/index.js +5 -0
- package/dist/key/index.js.map +1 -0
- package/dist/key/key-box.d.ts +19 -0
- package/dist/key/key-box.d.ts.map +1 -0
- package/dist/key/key-box.js +38 -0
- package/dist/key/key-box.js.map +1 -0
- package/dist/messages/decrypt-message.d.ts +7 -0
- package/dist/messages/decrypt-message.d.ts.map +1 -0
- package/dist/messages/decrypt-message.js +11 -0
- package/dist/messages/decrypt-message.js.map +1 -0
- package/dist/messages/encrypt-message.d.ts +7 -0
- package/dist/messages/encrypt-message.d.ts.map +1 -0
- package/dist/messages/encrypt-message.js +12 -0
- package/dist/messages/encrypt-message.js.map +1 -0
- package/dist/messages/index.d.ts +6 -0
- package/dist/messages/index.js +6 -0
- package/dist/messages/index.js.map +1 -0
- package/dist/messages/serialize.d.ts +3 -0
- package/dist/messages/serialize.d.ts.map +1 -0
- package/dist/messages/serialize.js +30 -0
- package/dist/messages/serialize.js.map +1 -0
- package/dist/messages/signed-update-message.d.ts +23 -0
- package/dist/messages/signed-update-message.js +56 -0
- package/dist/messages/signed-update-message.js.map +1 -0
- package/dist/messages/types.d.ts +1268 -0
- package/dist/messages/types.d.ts.map +1 -1
- package/dist/messages/types.js +312 -0
- package/dist/messages/types.js.map +1 -0
- package/dist/space-events/accept-invitation.d.ts +9 -0
- package/dist/space-events/accept-invitation.js +28 -0
- package/dist/space-events/accept-invitation.js.map +1 -0
- package/dist/space-events/apply-event.d.ts +11 -0
- package/dist/space-events/apply-event.js +130 -0
- package/dist/space-events/apply-event.js.map +1 -0
- package/dist/space-events/create-inbox.d.ts +14 -0
- package/dist/space-events/create-inbox.js +41 -0
- package/dist/space-events/create-inbox.js.map +1 -0
- package/dist/space-events/create-invitation.d.ts +12 -0
- package/dist/space-events/create-invitation.js +30 -0
- package/dist/space-events/create-invitation.js.map +1 -0
- package/dist/space-events/create-space.d.ts +9 -0
- package/dist/space-events/create-space.js +29 -0
- package/dist/space-events/create-space.js.map +1 -0
- package/dist/space-events/delete-space.d.ts +10 -0
- package/dist/space-events/delete-space.js +30 -0
- package/dist/space-events/delete-space.js.map +1 -0
- package/dist/space-events/hash-event.d.ts +3 -0
- package/dist/space-events/hash-event.js +7 -0
- package/dist/space-events/hash-event.js.map +1 -0
- package/dist/space-events/index.d.ts +9 -0
- package/dist/space-events/index.js +9 -0
- package/dist/space-events/index.js.map +1 -0
- package/dist/space-events/types.d.ts +222 -0
- package/dist/space-events/types.d.ts.map +1 -0
- package/dist/space-events/types.js +102 -0
- package/dist/space-events/types.js.map +1 -0
- package/dist/space-info/decrypt-space-info.d.ts +7 -0
- package/dist/space-info/decrypt-space-info.js +18 -0
- package/dist/space-info/decrypt-space-info.js.map +1 -0
- package/dist/space-info/encrypt-and-sign-space-info.d.ts +17 -0
- package/dist/space-info/encrypt-and-sign-space-info.js +39 -0
- package/dist/space-info/encrypt-and-sign-space-info.js.map +1 -0
- package/dist/space-info/index.d.ts +4 -0
- package/dist/space-info/index.js +4 -0
- package/dist/space-info/index.js.map +1 -0
- package/dist/space-info/types.d.ts +6 -0
- package/dist/space-info/types.d.ts.map +1 -0
- package/dist/space-info/types.js +5 -0
- package/dist/space-info/types.js.map +1 -0
- package/dist/store-connect.d.ts +149 -0
- package/dist/store-connect.d.ts.map +1 -1
- package/dist/store-connect.js +289 -0
- package/dist/store-connect.js.map +1 -0
- package/dist/store.d.ts +158 -0
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +354 -0
- package/dist/store.js.map +1 -0
- package/dist/type/type.d.ts +14 -0
- package/dist/type/type.d.ts.map +1 -1
- package/dist/type/type.js +25 -0
- package/dist/type/type.js.map +1 -0
- package/dist/types.d.ts +80 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +37 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/assertExhaustive.d.ts +2 -0
- package/dist/utils/assertExhaustive.d.ts.map +1 -0
- package/dist/utils/assertExhaustive.js +4 -0
- package/dist/utils/assertExhaustive.js.map +1 -0
- package/dist/utils/automergeId.d.ts +1 -1
- package/dist/utils/automergeId.d.ts.map +1 -1
- package/dist/utils/automergeId.js +1 -1
- package/dist/utils/automergeId.js.map +1 -1
- package/dist/utils/base58.d.ts +36 -0
- package/dist/utils/base58.d.ts.map +1 -0
- package/dist/utils/base58.js +62 -0
- package/dist/utils/base58.js.map +1 -0
- package/dist/utils/hexBytesAddressUtils.d.ts +4 -0
- package/dist/utils/hexBytesAddressUtils.d.ts.map +1 -0
- package/dist/utils/hexBytesAddressUtils.js +21 -0
- package/dist/utils/hexBytesAddressUtils.js.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.js +9 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/internal/base58Utils.d.ts +4 -0
- package/dist/utils/internal/base58Utils.d.ts.map +1 -0
- package/dist/utils/internal/base58Utils.js +40 -0
- package/dist/utils/internal/base58Utils.js.map +1 -0
- package/dist/utils/internal/deep-merge.d.ts +7 -0
- package/dist/utils/internal/deep-merge.d.ts.map +1 -0
- package/dist/utils/internal/deep-merge.js +33 -0
- package/dist/utils/internal/deep-merge.js.map +1 -0
- package/dist/utils/isRelationField.d.ts +3 -0
- package/dist/utils/isRelationField.d.ts.map +1 -0
- package/dist/utils/isRelationField.js +8 -0
- package/dist/utils/isRelationField.js.map +1 -0
- package/dist/utils/jsc.d.ts +49 -0
- package/dist/utils/jsc.d.ts.map +1 -0
- package/dist/utils/jsc.js +88 -0
- package/dist/utils/jsc.js.map +1 -0
- package/dist/utils/stringToUint8Array.d.ts +3 -0
- package/dist/utils/stringToUint8Array.d.ts.map +1 -0
- package/dist/utils/stringToUint8Array.js +9 -0
- package/dist/utils/stringToUint8Array.js.map +1 -0
- package/package.json +5 -2
- package/src/connect/abis/MainVotingPlugin.json +1865 -0
- package/src/connect/abis/PersonalSpaceAdminPlugin.json +531 -0
- package/src/connect/abis.ts +183 -0
- package/src/connect/create-callback-params.ts +4 -1
- package/src/connect/identity-encryption.ts +10 -14
- package/src/connect/index.ts +1 -1
- package/src/connect/login.ts +106 -18
- package/src/connect/parse-callback-params.ts +4 -1
- package/src/connect/smart-account.ts +915 -0
- package/src/connect/types.ts +2 -0
- package/src/entity/decodedEntitiesCache.ts +1 -1
- package/src/entity/findMany.ts +16 -14
- package/src/entity/getEntityRelations.ts +1 -1
- package/src/entity/types.ts +8 -8
- package/src/identity/auth-storage.ts +11 -1
- package/src/identity/get-verified-identity.ts +6 -1
- package/src/identity/index.ts +1 -1
- package/src/identity/prove-ownership.ts +52 -8
- package/src/inboxes/message-validation.ts +17 -2
- package/src/messages/types.ts +6 -0
- package/src/store-connect.ts +1 -52
- package/src/store.ts +78 -48
- package/src/type/type.ts +4 -2
- package/src/types.ts +19 -1
- package/src/utils/automergeId.ts +1 -1
- package/dist/connect/prove-ownership.d.ts.map +0 -1
- package/src/connect/prove-ownership.ts +0 -58
|
@@ -0,0 +1,1268 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
export declare const SignedUpdate: Schema.Struct<{
|
|
3
|
+
update: typeof Schema.Uint8Array;
|
|
4
|
+
accountAddress: typeof Schema.String;
|
|
5
|
+
signature: Schema.Struct<{
|
|
6
|
+
hex: typeof Schema.String;
|
|
7
|
+
recovery: typeof Schema.Number;
|
|
8
|
+
}>;
|
|
9
|
+
updateId: typeof Schema.String;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const Updates: Schema.Struct<{
|
|
12
|
+
updates: Schema.Array$<Schema.Struct<{
|
|
13
|
+
update: typeof Schema.Uint8Array;
|
|
14
|
+
accountAddress: typeof Schema.String;
|
|
15
|
+
signature: Schema.Struct<{
|
|
16
|
+
hex: typeof Schema.String;
|
|
17
|
+
recovery: typeof Schema.Number;
|
|
18
|
+
}>;
|
|
19
|
+
updateId: typeof Schema.String;
|
|
20
|
+
}>>;
|
|
21
|
+
firstUpdateClock: typeof Schema.Number;
|
|
22
|
+
lastUpdateClock: typeof Schema.Number;
|
|
23
|
+
}>;
|
|
24
|
+
export type Updates = Schema.Schema.Type<typeof Updates>;
|
|
25
|
+
export declare const KeyBox: Schema.Struct<{
|
|
26
|
+
accountAddress: typeof Schema.String;
|
|
27
|
+
ciphertext: typeof Schema.String;
|
|
28
|
+
nonce: typeof Schema.String;
|
|
29
|
+
authorPublicKey: typeof Schema.String;
|
|
30
|
+
}>;
|
|
31
|
+
export type KeyBox = Schema.Schema.Type<typeof KeyBox>;
|
|
32
|
+
export declare const KeyBoxWithKeyId: Schema.Struct<{
|
|
33
|
+
id: typeof Schema.String;
|
|
34
|
+
accountAddress: typeof Schema.String;
|
|
35
|
+
ciphertext: typeof Schema.String;
|
|
36
|
+
nonce: typeof Schema.String;
|
|
37
|
+
authorPublicKey: typeof Schema.String;
|
|
38
|
+
}>;
|
|
39
|
+
export type KeyBoxWithKeyId = Schema.Schema.Type<typeof KeyBoxWithKeyId>;
|
|
40
|
+
export declare const IdentityKeyBox: Schema.Struct<{
|
|
41
|
+
signer: typeof Schema.String;
|
|
42
|
+
accountAddress: typeof Schema.String;
|
|
43
|
+
ciphertext: typeof Schema.String;
|
|
44
|
+
nonce: typeof Schema.String;
|
|
45
|
+
}>;
|
|
46
|
+
export type IdentityKeyBox = Schema.Schema.Type<typeof IdentityKeyBox>;
|
|
47
|
+
export declare const RequestCreateSpaceEvent: Schema.Struct<{
|
|
48
|
+
type: Schema.Literal<["create-space-event"]>;
|
|
49
|
+
spaceId: typeof Schema.String;
|
|
50
|
+
event: Schema.Struct<{
|
|
51
|
+
transaction: Schema.Struct<{
|
|
52
|
+
type: Schema.Literal<["create-space"]>;
|
|
53
|
+
id: typeof Schema.String;
|
|
54
|
+
creatorAccountAddress: typeof Schema.String;
|
|
55
|
+
}>;
|
|
56
|
+
author: Schema.Struct<{
|
|
57
|
+
accountAddress: typeof Schema.String;
|
|
58
|
+
signature: Schema.Struct<{
|
|
59
|
+
hex: typeof Schema.String;
|
|
60
|
+
recovery: typeof Schema.Number;
|
|
61
|
+
}>;
|
|
62
|
+
}>;
|
|
63
|
+
}>;
|
|
64
|
+
keyBox: Schema.Struct<{
|
|
65
|
+
id: typeof Schema.String;
|
|
66
|
+
accountAddress: typeof Schema.String;
|
|
67
|
+
ciphertext: typeof Schema.String;
|
|
68
|
+
nonce: typeof Schema.String;
|
|
69
|
+
authorPublicKey: typeof Schema.String;
|
|
70
|
+
}>;
|
|
71
|
+
name: typeof Schema.String;
|
|
72
|
+
}>;
|
|
73
|
+
export type RequestCreateSpaceEvent = Schema.Schema.Type<typeof RequestCreateSpaceEvent>;
|
|
74
|
+
export declare const RequestConnectCreateSpaceEvent: Schema.Struct<{
|
|
75
|
+
type: Schema.Literal<["connect-create-space-event"]>;
|
|
76
|
+
accountAddress: typeof Schema.String;
|
|
77
|
+
spaceId: typeof Schema.String;
|
|
78
|
+
event: Schema.Struct<{
|
|
79
|
+
transaction: Schema.Struct<{
|
|
80
|
+
type: Schema.Literal<["create-space"]>;
|
|
81
|
+
id: typeof Schema.String;
|
|
82
|
+
creatorAccountAddress: typeof Schema.String;
|
|
83
|
+
}>;
|
|
84
|
+
author: Schema.Struct<{
|
|
85
|
+
accountAddress: typeof Schema.String;
|
|
86
|
+
signature: Schema.Struct<{
|
|
87
|
+
hex: typeof Schema.String;
|
|
88
|
+
recovery: typeof Schema.Number;
|
|
89
|
+
}>;
|
|
90
|
+
}>;
|
|
91
|
+
}>;
|
|
92
|
+
keyBox: Schema.Struct<{
|
|
93
|
+
id: typeof Schema.String;
|
|
94
|
+
accountAddress: typeof Schema.String;
|
|
95
|
+
ciphertext: typeof Schema.String;
|
|
96
|
+
nonce: typeof Schema.String;
|
|
97
|
+
authorPublicKey: typeof Schema.String;
|
|
98
|
+
}>;
|
|
99
|
+
infoContent: typeof Schema.String;
|
|
100
|
+
infoSignature: Schema.Struct<{
|
|
101
|
+
hex: typeof Schema.String;
|
|
102
|
+
recovery: typeof Schema.Number;
|
|
103
|
+
}>;
|
|
104
|
+
name: typeof Schema.String;
|
|
105
|
+
}>;
|
|
106
|
+
export type RequestConnectCreateSpaceEvent = Schema.Schema.Type<typeof RequestConnectCreateSpaceEvent>;
|
|
107
|
+
export declare const RequestCreateInvitationEvent: Schema.Struct<{
|
|
108
|
+
type: Schema.Literal<["create-invitation-event"]>;
|
|
109
|
+
spaceId: typeof Schema.String;
|
|
110
|
+
event: Schema.Struct<{
|
|
111
|
+
transaction: Schema.Struct<{
|
|
112
|
+
type: Schema.Literal<["create-invitation"]>;
|
|
113
|
+
id: typeof Schema.String;
|
|
114
|
+
inviteeAccountAddress: typeof Schema.String;
|
|
115
|
+
previousEventHash: typeof Schema.String;
|
|
116
|
+
}>;
|
|
117
|
+
author: Schema.Struct<{
|
|
118
|
+
accountAddress: typeof Schema.String;
|
|
119
|
+
signature: Schema.Struct<{
|
|
120
|
+
hex: typeof Schema.String;
|
|
121
|
+
recovery: typeof Schema.Number;
|
|
122
|
+
}>;
|
|
123
|
+
}>;
|
|
124
|
+
}>;
|
|
125
|
+
keyBoxes: Schema.Array$<Schema.Struct<{
|
|
126
|
+
id: typeof Schema.String;
|
|
127
|
+
accountAddress: typeof Schema.String;
|
|
128
|
+
ciphertext: typeof Schema.String;
|
|
129
|
+
nonce: typeof Schema.String;
|
|
130
|
+
authorPublicKey: typeof Schema.String;
|
|
131
|
+
}>>;
|
|
132
|
+
}>;
|
|
133
|
+
export declare const RequestConnectAddAppIdentityToSpaces: Schema.Struct<{
|
|
134
|
+
type: Schema.Literal<["connect-add-app-identity-to-spaces"]>;
|
|
135
|
+
appIdentityAddress: typeof Schema.String;
|
|
136
|
+
accountAddress: typeof Schema.String;
|
|
137
|
+
spacesInput: Schema.Array$<Schema.Struct<{
|
|
138
|
+
id: typeof Schema.String;
|
|
139
|
+
keyBoxes: Schema.Array$<Schema.Struct<{
|
|
140
|
+
id: typeof Schema.String;
|
|
141
|
+
accountAddress: typeof Schema.String;
|
|
142
|
+
ciphertext: typeof Schema.String;
|
|
143
|
+
nonce: typeof Schema.String;
|
|
144
|
+
authorPublicKey: typeof Schema.String;
|
|
145
|
+
}>>;
|
|
146
|
+
}>>;
|
|
147
|
+
}>;
|
|
148
|
+
export type RequestConnectAddAppIdentityToSpaces = Schema.Schema.Type<typeof RequestConnectAddAppIdentityToSpaces>;
|
|
149
|
+
export type RequestCreateInvitationEvent = Schema.Schema.Type<typeof RequestCreateInvitationEvent>;
|
|
150
|
+
export declare const RequestAcceptInvitationEvent: Schema.Struct<{
|
|
151
|
+
type: Schema.Literal<["accept-invitation-event"]>;
|
|
152
|
+
spaceId: typeof Schema.String;
|
|
153
|
+
event: Schema.Struct<{
|
|
154
|
+
transaction: Schema.Struct<{
|
|
155
|
+
id: typeof Schema.String;
|
|
156
|
+
type: Schema.Literal<["accept-invitation"]>;
|
|
157
|
+
previousEventHash: typeof Schema.String;
|
|
158
|
+
}>;
|
|
159
|
+
author: Schema.Struct<{
|
|
160
|
+
accountAddress: typeof Schema.String;
|
|
161
|
+
signature: Schema.Struct<{
|
|
162
|
+
hex: typeof Schema.String;
|
|
163
|
+
recovery: typeof Schema.Number;
|
|
164
|
+
}>;
|
|
165
|
+
}>;
|
|
166
|
+
}>;
|
|
167
|
+
}>;
|
|
168
|
+
export type RequestAcceptInvitationEvent = Schema.Schema.Type<typeof RequestAcceptInvitationEvent>;
|
|
169
|
+
export declare const RequestSubscribeToSpace: Schema.Struct<{
|
|
170
|
+
type: Schema.Literal<["subscribe-space"]>;
|
|
171
|
+
id: typeof Schema.String;
|
|
172
|
+
lastKnownUpdateClock: Schema.optional<typeof Schema.Number>;
|
|
173
|
+
}>;
|
|
174
|
+
export type RequestSubscribeToSpace = Schema.Schema.Type<typeof RequestSubscribeToSpace>;
|
|
175
|
+
export declare const RequestListSpaces: Schema.Struct<{
|
|
176
|
+
type: Schema.Literal<["list-spaces"]>;
|
|
177
|
+
}>;
|
|
178
|
+
export type RequestListSpaces = Schema.Schema.Type<typeof RequestListSpaces>;
|
|
179
|
+
export declare const RequestListInvitations: Schema.Struct<{
|
|
180
|
+
type: Schema.Literal<["list-invitations"]>;
|
|
181
|
+
}>;
|
|
182
|
+
export type RequestListInvitations = Schema.Schema.Type<typeof RequestListInvitations>;
|
|
183
|
+
export declare const RequestCreateUpdate: Schema.Struct<{
|
|
184
|
+
type: Schema.Literal<["create-update"]>;
|
|
185
|
+
accountAddress: typeof Schema.String;
|
|
186
|
+
update: typeof Schema.Uint8Array;
|
|
187
|
+
spaceId: typeof Schema.String;
|
|
188
|
+
updateId: typeof Schema.String;
|
|
189
|
+
signature: Schema.Struct<{
|
|
190
|
+
hex: typeof Schema.String;
|
|
191
|
+
recovery: typeof Schema.Number;
|
|
192
|
+
}>;
|
|
193
|
+
}>;
|
|
194
|
+
export declare const RequestCreateAccountInbox: Schema.Struct<{
|
|
195
|
+
type: Schema.Literal<["create-account-inbox"]>;
|
|
196
|
+
accountAddress: typeof Schema.String;
|
|
197
|
+
inboxId: typeof Schema.String;
|
|
198
|
+
isPublic: typeof Schema.Boolean;
|
|
199
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
200
|
+
encryptionPublicKey: typeof Schema.String;
|
|
201
|
+
signature: Schema.Struct<{
|
|
202
|
+
hex: typeof Schema.String;
|
|
203
|
+
recovery: typeof Schema.Number;
|
|
204
|
+
}>;
|
|
205
|
+
}>;
|
|
206
|
+
export type RequestCreateAccountInbox = Schema.Schema.Type<typeof RequestCreateAccountInbox>;
|
|
207
|
+
export declare const RequestCreateSpaceInboxEvent: Schema.Struct<{
|
|
208
|
+
type: Schema.Literal<["create-space-inbox-event"]>;
|
|
209
|
+
spaceId: typeof Schema.String;
|
|
210
|
+
event: Schema.Struct<{
|
|
211
|
+
transaction: Schema.Struct<{
|
|
212
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
213
|
+
id: typeof Schema.String;
|
|
214
|
+
spaceId: typeof Schema.String;
|
|
215
|
+
inboxId: typeof Schema.String;
|
|
216
|
+
encryptionPublicKey: typeof Schema.String;
|
|
217
|
+
secretKey: typeof Schema.String;
|
|
218
|
+
isPublic: typeof Schema.Boolean;
|
|
219
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
220
|
+
previousEventHash: typeof Schema.String;
|
|
221
|
+
}>;
|
|
222
|
+
author: Schema.Struct<{
|
|
223
|
+
accountAddress: typeof Schema.String;
|
|
224
|
+
signature: Schema.Struct<{
|
|
225
|
+
hex: typeof Schema.String;
|
|
226
|
+
recovery: typeof Schema.Number;
|
|
227
|
+
}>;
|
|
228
|
+
}>;
|
|
229
|
+
}>;
|
|
230
|
+
}>;
|
|
231
|
+
export type RequestCreateSpaceInboxEvent = Schema.Schema.Type<typeof RequestCreateSpaceInboxEvent>;
|
|
232
|
+
export declare const RequestGetLatestSpaceInboxMessages: Schema.Struct<{
|
|
233
|
+
type: Schema.Literal<["get-latest-space-inbox-messages"]>;
|
|
234
|
+
spaceId: typeof Schema.String;
|
|
235
|
+
inboxId: typeof Schema.String;
|
|
236
|
+
since: typeof Schema.Date;
|
|
237
|
+
}>;
|
|
238
|
+
export type RequestGetLatestSpaceInboxMessages = Schema.Schema.Type<typeof RequestGetLatestSpaceInboxMessages>;
|
|
239
|
+
export declare const RequestGetLatestAccountInboxMessages: Schema.Struct<{
|
|
240
|
+
type: Schema.Literal<["get-latest-account-inbox-messages"]>;
|
|
241
|
+
accountAddress: typeof Schema.String;
|
|
242
|
+
inboxId: typeof Schema.String;
|
|
243
|
+
since: typeof Schema.Date;
|
|
244
|
+
}>;
|
|
245
|
+
export type RequestGetLatestAccountInboxMessages = Schema.Schema.Type<typeof RequestGetLatestAccountInboxMessages>;
|
|
246
|
+
export declare const RequestGetAccountInboxes: Schema.Struct<{
|
|
247
|
+
type: Schema.Literal<["get-account-inboxes"]>;
|
|
248
|
+
}>;
|
|
249
|
+
export type RequestGetAccountInboxes = Schema.Schema.Type<typeof RequestGetAccountInboxes>;
|
|
250
|
+
export declare const RequestMessage: Schema.Union<[Schema.Struct<{
|
|
251
|
+
type: Schema.Literal<["create-space-event"]>;
|
|
252
|
+
spaceId: typeof Schema.String;
|
|
253
|
+
event: Schema.Struct<{
|
|
254
|
+
transaction: Schema.Struct<{
|
|
255
|
+
type: Schema.Literal<["create-space"]>;
|
|
256
|
+
id: typeof Schema.String;
|
|
257
|
+
creatorAccountAddress: typeof Schema.String;
|
|
258
|
+
}>;
|
|
259
|
+
author: Schema.Struct<{
|
|
260
|
+
accountAddress: typeof Schema.String;
|
|
261
|
+
signature: Schema.Struct<{
|
|
262
|
+
hex: typeof Schema.String;
|
|
263
|
+
recovery: typeof Schema.Number;
|
|
264
|
+
}>;
|
|
265
|
+
}>;
|
|
266
|
+
}>;
|
|
267
|
+
keyBox: Schema.Struct<{
|
|
268
|
+
id: typeof Schema.String;
|
|
269
|
+
accountAddress: typeof Schema.String;
|
|
270
|
+
ciphertext: typeof Schema.String;
|
|
271
|
+
nonce: typeof Schema.String;
|
|
272
|
+
authorPublicKey: typeof Schema.String;
|
|
273
|
+
}>;
|
|
274
|
+
name: typeof Schema.String;
|
|
275
|
+
}>, Schema.Struct<{
|
|
276
|
+
type: Schema.Literal<["create-invitation-event"]>;
|
|
277
|
+
spaceId: typeof Schema.String;
|
|
278
|
+
event: Schema.Struct<{
|
|
279
|
+
transaction: Schema.Struct<{
|
|
280
|
+
type: Schema.Literal<["create-invitation"]>;
|
|
281
|
+
id: typeof Schema.String;
|
|
282
|
+
inviteeAccountAddress: typeof Schema.String;
|
|
283
|
+
previousEventHash: typeof Schema.String;
|
|
284
|
+
}>;
|
|
285
|
+
author: Schema.Struct<{
|
|
286
|
+
accountAddress: typeof Schema.String;
|
|
287
|
+
signature: Schema.Struct<{
|
|
288
|
+
hex: typeof Schema.String;
|
|
289
|
+
recovery: typeof Schema.Number;
|
|
290
|
+
}>;
|
|
291
|
+
}>;
|
|
292
|
+
}>;
|
|
293
|
+
keyBoxes: Schema.Array$<Schema.Struct<{
|
|
294
|
+
id: typeof Schema.String;
|
|
295
|
+
accountAddress: typeof Schema.String;
|
|
296
|
+
ciphertext: typeof Schema.String;
|
|
297
|
+
nonce: typeof Schema.String;
|
|
298
|
+
authorPublicKey: typeof Schema.String;
|
|
299
|
+
}>>;
|
|
300
|
+
}>, Schema.Struct<{
|
|
301
|
+
type: Schema.Literal<["accept-invitation-event"]>;
|
|
302
|
+
spaceId: typeof Schema.String;
|
|
303
|
+
event: Schema.Struct<{
|
|
304
|
+
transaction: Schema.Struct<{
|
|
305
|
+
id: typeof Schema.String;
|
|
306
|
+
type: Schema.Literal<["accept-invitation"]>;
|
|
307
|
+
previousEventHash: typeof Schema.String;
|
|
308
|
+
}>;
|
|
309
|
+
author: Schema.Struct<{
|
|
310
|
+
accountAddress: typeof Schema.String;
|
|
311
|
+
signature: Schema.Struct<{
|
|
312
|
+
hex: typeof Schema.String;
|
|
313
|
+
recovery: typeof Schema.Number;
|
|
314
|
+
}>;
|
|
315
|
+
}>;
|
|
316
|
+
}>;
|
|
317
|
+
}>, Schema.Struct<{
|
|
318
|
+
type: Schema.Literal<["subscribe-space"]>;
|
|
319
|
+
id: typeof Schema.String;
|
|
320
|
+
lastKnownUpdateClock: Schema.optional<typeof Schema.Number>;
|
|
321
|
+
}>, Schema.Struct<{
|
|
322
|
+
type: Schema.Literal<["list-spaces"]>;
|
|
323
|
+
}>, Schema.Struct<{
|
|
324
|
+
type: Schema.Literal<["list-invitations"]>;
|
|
325
|
+
}>, Schema.Struct<{
|
|
326
|
+
type: Schema.Literal<["create-update"]>;
|
|
327
|
+
accountAddress: typeof Schema.String;
|
|
328
|
+
update: typeof Schema.Uint8Array;
|
|
329
|
+
spaceId: typeof Schema.String;
|
|
330
|
+
updateId: typeof Schema.String;
|
|
331
|
+
signature: Schema.Struct<{
|
|
332
|
+
hex: typeof Schema.String;
|
|
333
|
+
recovery: typeof Schema.Number;
|
|
334
|
+
}>;
|
|
335
|
+
}>, Schema.Struct<{
|
|
336
|
+
type: Schema.Literal<["create-account-inbox"]>;
|
|
337
|
+
accountAddress: typeof Schema.String;
|
|
338
|
+
inboxId: typeof Schema.String;
|
|
339
|
+
isPublic: typeof Schema.Boolean;
|
|
340
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
341
|
+
encryptionPublicKey: typeof Schema.String;
|
|
342
|
+
signature: Schema.Struct<{
|
|
343
|
+
hex: typeof Schema.String;
|
|
344
|
+
recovery: typeof Schema.Number;
|
|
345
|
+
}>;
|
|
346
|
+
}>, Schema.Struct<{
|
|
347
|
+
type: Schema.Literal<["create-space-inbox-event"]>;
|
|
348
|
+
spaceId: typeof Schema.String;
|
|
349
|
+
event: Schema.Struct<{
|
|
350
|
+
transaction: Schema.Struct<{
|
|
351
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
352
|
+
id: typeof Schema.String;
|
|
353
|
+
spaceId: typeof Schema.String;
|
|
354
|
+
inboxId: typeof Schema.String;
|
|
355
|
+
encryptionPublicKey: typeof Schema.String;
|
|
356
|
+
secretKey: typeof Schema.String;
|
|
357
|
+
isPublic: typeof Schema.Boolean;
|
|
358
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
359
|
+
previousEventHash: typeof Schema.String;
|
|
360
|
+
}>;
|
|
361
|
+
author: Schema.Struct<{
|
|
362
|
+
accountAddress: typeof Schema.String;
|
|
363
|
+
signature: Schema.Struct<{
|
|
364
|
+
hex: typeof Schema.String;
|
|
365
|
+
recovery: typeof Schema.Number;
|
|
366
|
+
}>;
|
|
367
|
+
}>;
|
|
368
|
+
}>;
|
|
369
|
+
}>, Schema.Struct<{
|
|
370
|
+
type: Schema.Literal<["get-latest-space-inbox-messages"]>;
|
|
371
|
+
spaceId: typeof Schema.String;
|
|
372
|
+
inboxId: typeof Schema.String;
|
|
373
|
+
since: typeof Schema.Date;
|
|
374
|
+
}>, Schema.Struct<{
|
|
375
|
+
type: Schema.Literal<["get-latest-account-inbox-messages"]>;
|
|
376
|
+
accountAddress: typeof Schema.String;
|
|
377
|
+
inboxId: typeof Schema.String;
|
|
378
|
+
since: typeof Schema.Date;
|
|
379
|
+
}>, Schema.Struct<{
|
|
380
|
+
type: Schema.Literal<["get-account-inboxes"]>;
|
|
381
|
+
}>]>;
|
|
382
|
+
export type RequestMessage = Schema.Schema.Type<typeof RequestMessage>;
|
|
383
|
+
export type RequestCreateUpdate = Schema.Schema.Type<typeof RequestCreateUpdate>;
|
|
384
|
+
export declare const RequestLoginNonce: Schema.Struct<{
|
|
385
|
+
accountAddress: typeof Schema.String;
|
|
386
|
+
}>;
|
|
387
|
+
export type RequestLoginNonce = Schema.Schema.Type<typeof RequestLoginNonce>;
|
|
388
|
+
export declare const RequestLogin: Schema.Struct<{
|
|
389
|
+
accountAddress: typeof Schema.String;
|
|
390
|
+
message: typeof Schema.String;
|
|
391
|
+
signature: typeof Schema.String;
|
|
392
|
+
}>;
|
|
393
|
+
export type RequestLogin = Schema.Schema.Type<typeof RequestLogin>;
|
|
394
|
+
export declare const RequestLoginWithSigningKey: Schema.Struct<{
|
|
395
|
+
accountAddress: typeof Schema.String;
|
|
396
|
+
message: typeof Schema.String;
|
|
397
|
+
publicKey: typeof Schema.String;
|
|
398
|
+
signature: typeof Schema.String;
|
|
399
|
+
}>;
|
|
400
|
+
export type RequestLoginWithSigningKey = Schema.Schema.Type<typeof RequestLoginWithSigningKey>;
|
|
401
|
+
export declare const RequestCreateIdentity: Schema.Struct<{
|
|
402
|
+
keyBox: Schema.Struct<{
|
|
403
|
+
signer: typeof Schema.String;
|
|
404
|
+
accountAddress: typeof Schema.String;
|
|
405
|
+
ciphertext: typeof Schema.String;
|
|
406
|
+
nonce: typeof Schema.String;
|
|
407
|
+
}>;
|
|
408
|
+
accountProof: typeof Schema.String;
|
|
409
|
+
keyProof: typeof Schema.String;
|
|
410
|
+
message: typeof Schema.String;
|
|
411
|
+
signaturePublicKey: typeof Schema.String;
|
|
412
|
+
encryptionPublicKey: typeof Schema.String;
|
|
413
|
+
signature: typeof Schema.String;
|
|
414
|
+
}>;
|
|
415
|
+
export type RequestCreateIdentity = Schema.Schema.Type<typeof RequestCreateIdentity>;
|
|
416
|
+
export declare const RequestConnectCreateIdentity: Schema.Struct<{
|
|
417
|
+
keyBox: Schema.Struct<{
|
|
418
|
+
signer: typeof Schema.String;
|
|
419
|
+
accountAddress: typeof Schema.String;
|
|
420
|
+
ciphertext: typeof Schema.String;
|
|
421
|
+
nonce: typeof Schema.String;
|
|
422
|
+
}>;
|
|
423
|
+
accountProof: typeof Schema.String;
|
|
424
|
+
keyProof: typeof Schema.String;
|
|
425
|
+
signaturePublicKey: typeof Schema.String;
|
|
426
|
+
encryptionPublicKey: typeof Schema.String;
|
|
427
|
+
}>;
|
|
428
|
+
export type RequestConnectCreateIdentity = Schema.Schema.Type<typeof RequestConnectCreateIdentity>;
|
|
429
|
+
export declare const RequestConnectCreateAppIdentity: Schema.Struct<{
|
|
430
|
+
appId: typeof Schema.String;
|
|
431
|
+
address: typeof Schema.String;
|
|
432
|
+
accountAddress: typeof Schema.String;
|
|
433
|
+
ciphertext: typeof Schema.String;
|
|
434
|
+
nonce: typeof Schema.String;
|
|
435
|
+
signaturePublicKey: typeof Schema.String;
|
|
436
|
+
encryptionPublicKey: typeof Schema.String;
|
|
437
|
+
accountProof: typeof Schema.String;
|
|
438
|
+
keyProof: typeof Schema.String;
|
|
439
|
+
}>;
|
|
440
|
+
export type RequestConnectCreateAppIdentity = Schema.Schema.Type<typeof RequestConnectCreateAppIdentity>;
|
|
441
|
+
export declare const ResponseConnectCreateIdentity: Schema.Struct<{
|
|
442
|
+
success: typeof Schema.Boolean;
|
|
443
|
+
}>;
|
|
444
|
+
export type ResponseConnectCreateIdentity = Schema.Schema.Type<typeof ResponseConnectCreateIdentity>;
|
|
445
|
+
export declare const RequestCreateSpaceInboxMessage: Schema.Struct<{
|
|
446
|
+
ciphertext: typeof Schema.String;
|
|
447
|
+
signature: Schema.optional<Schema.Struct<{
|
|
448
|
+
hex: typeof Schema.String;
|
|
449
|
+
recovery: typeof Schema.Number;
|
|
450
|
+
}>>;
|
|
451
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
452
|
+
}>;
|
|
453
|
+
export type RequestCreateSpaceInboxMessage = Schema.Schema.Type<typeof RequestCreateSpaceInboxMessage>;
|
|
454
|
+
export declare const RequestCreateAccountInboxMessage: Schema.Struct<{
|
|
455
|
+
ciphertext: typeof Schema.String;
|
|
456
|
+
signature: Schema.optional<Schema.Struct<{
|
|
457
|
+
hex: typeof Schema.String;
|
|
458
|
+
recovery: typeof Schema.Number;
|
|
459
|
+
}>>;
|
|
460
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
461
|
+
}>;
|
|
462
|
+
export type RequestCreateAccountInboxMessage = Schema.Schema.Type<typeof RequestCreateAccountInboxMessage>;
|
|
463
|
+
export declare const ResponseListSpaces: Schema.Struct<{
|
|
464
|
+
type: Schema.Literal<["list-spaces"]>;
|
|
465
|
+
spaces: Schema.Array$<Schema.Struct<{
|
|
466
|
+
id: typeof Schema.String;
|
|
467
|
+
name: typeof Schema.String;
|
|
468
|
+
}>>;
|
|
469
|
+
}>;
|
|
470
|
+
export type ResponseListSpaces = Schema.Schema.Type<typeof ResponseListSpaces>;
|
|
471
|
+
export declare const Invitation: Schema.Struct<{
|
|
472
|
+
id: typeof Schema.String;
|
|
473
|
+
previousEventHash: typeof Schema.String;
|
|
474
|
+
spaceId: typeof Schema.String;
|
|
475
|
+
}>;
|
|
476
|
+
export type Invitation = Schema.Schema.Type<typeof Invitation>;
|
|
477
|
+
export declare const ResponseListInvitations: Schema.Struct<{
|
|
478
|
+
type: Schema.Literal<["list-invitations"]>;
|
|
479
|
+
invitations: Schema.Array$<Schema.Struct<{
|
|
480
|
+
id: typeof Schema.String;
|
|
481
|
+
previousEventHash: typeof Schema.String;
|
|
482
|
+
spaceId: typeof Schema.String;
|
|
483
|
+
}>>;
|
|
484
|
+
}>;
|
|
485
|
+
export type ResponseListInvitations = Schema.Schema.Type<typeof ResponseListInvitations>;
|
|
486
|
+
export declare const ResponseSpaceEvent: Schema.Struct<{
|
|
487
|
+
type: Schema.Literal<["space-event"]>;
|
|
488
|
+
spaceId: typeof Schema.String;
|
|
489
|
+
event: Schema.Union<[Schema.Struct<{
|
|
490
|
+
transaction: Schema.Struct<{
|
|
491
|
+
type: Schema.Literal<["create-space"]>;
|
|
492
|
+
id: typeof Schema.String;
|
|
493
|
+
creatorAccountAddress: typeof Schema.String;
|
|
494
|
+
}>;
|
|
495
|
+
author: Schema.Struct<{
|
|
496
|
+
accountAddress: typeof Schema.String;
|
|
497
|
+
signature: Schema.Struct<{
|
|
498
|
+
hex: typeof Schema.String;
|
|
499
|
+
recovery: typeof Schema.Number;
|
|
500
|
+
}>;
|
|
501
|
+
}>;
|
|
502
|
+
}>, Schema.Struct<{
|
|
503
|
+
transaction: Schema.Struct<{
|
|
504
|
+
type: Schema.Literal<["delete-space"]>;
|
|
505
|
+
id: typeof Schema.String;
|
|
506
|
+
previousEventHash: typeof Schema.String;
|
|
507
|
+
}>;
|
|
508
|
+
author: Schema.Struct<{
|
|
509
|
+
accountAddress: typeof Schema.String;
|
|
510
|
+
signature: Schema.Struct<{
|
|
511
|
+
hex: typeof Schema.String;
|
|
512
|
+
recovery: typeof Schema.Number;
|
|
513
|
+
}>;
|
|
514
|
+
}>;
|
|
515
|
+
}>, Schema.Struct<{
|
|
516
|
+
transaction: Schema.Struct<{
|
|
517
|
+
type: Schema.Literal<["create-invitation"]>;
|
|
518
|
+
id: typeof Schema.String;
|
|
519
|
+
inviteeAccountAddress: typeof Schema.String;
|
|
520
|
+
previousEventHash: typeof Schema.String;
|
|
521
|
+
}>;
|
|
522
|
+
author: Schema.Struct<{
|
|
523
|
+
accountAddress: typeof Schema.String;
|
|
524
|
+
signature: Schema.Struct<{
|
|
525
|
+
hex: typeof Schema.String;
|
|
526
|
+
recovery: typeof Schema.Number;
|
|
527
|
+
}>;
|
|
528
|
+
}>;
|
|
529
|
+
}>, Schema.Struct<{
|
|
530
|
+
transaction: Schema.Struct<{
|
|
531
|
+
id: typeof Schema.String;
|
|
532
|
+
type: Schema.Literal<["accept-invitation"]>;
|
|
533
|
+
previousEventHash: typeof Schema.String;
|
|
534
|
+
}>;
|
|
535
|
+
author: Schema.Struct<{
|
|
536
|
+
accountAddress: typeof Schema.String;
|
|
537
|
+
signature: Schema.Struct<{
|
|
538
|
+
hex: typeof Schema.String;
|
|
539
|
+
recovery: typeof Schema.Number;
|
|
540
|
+
}>;
|
|
541
|
+
}>;
|
|
542
|
+
}>, Schema.Struct<{
|
|
543
|
+
transaction: Schema.Struct<{
|
|
544
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
545
|
+
id: typeof Schema.String;
|
|
546
|
+
spaceId: typeof Schema.String;
|
|
547
|
+
inboxId: typeof Schema.String;
|
|
548
|
+
encryptionPublicKey: typeof Schema.String;
|
|
549
|
+
secretKey: typeof Schema.String;
|
|
550
|
+
isPublic: typeof Schema.Boolean;
|
|
551
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
552
|
+
previousEventHash: typeof Schema.String;
|
|
553
|
+
}>;
|
|
554
|
+
author: Schema.Struct<{
|
|
555
|
+
accountAddress: typeof Schema.String;
|
|
556
|
+
signature: Schema.Struct<{
|
|
557
|
+
hex: typeof Schema.String;
|
|
558
|
+
recovery: typeof Schema.Number;
|
|
559
|
+
}>;
|
|
560
|
+
}>;
|
|
561
|
+
}>]>;
|
|
562
|
+
}>;
|
|
563
|
+
export type ResponseSpaceEvent = Schema.Schema.Type<typeof ResponseSpaceEvent>;
|
|
564
|
+
export declare const InboxMessage: Schema.Struct<{
|
|
565
|
+
id: typeof Schema.String;
|
|
566
|
+
ciphertext: typeof Schema.String;
|
|
567
|
+
signature: Schema.optional<Schema.Struct<{
|
|
568
|
+
hex: typeof Schema.String;
|
|
569
|
+
recovery: typeof Schema.Number;
|
|
570
|
+
}>>;
|
|
571
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
572
|
+
createdAt: typeof Schema.Date;
|
|
573
|
+
}>;
|
|
574
|
+
export type InboxMessage = Schema.Schema.Type<typeof InboxMessage>;
|
|
575
|
+
export declare const SpaceInbox: Schema.Struct<{
|
|
576
|
+
inboxId: typeof Schema.String;
|
|
577
|
+
isPublic: typeof Schema.Boolean;
|
|
578
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
579
|
+
encryptionPublicKey: typeof Schema.String;
|
|
580
|
+
secretKey: typeof Schema.String;
|
|
581
|
+
}>;
|
|
582
|
+
export type SpaceInbox = Schema.Schema.Type<typeof SpaceInbox>;
|
|
583
|
+
export declare const AccountInbox: Schema.Struct<{
|
|
584
|
+
accountAddress: typeof Schema.String;
|
|
585
|
+
inboxId: typeof Schema.String;
|
|
586
|
+
isPublic: typeof Schema.Boolean;
|
|
587
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
588
|
+
encryptionPublicKey: typeof Schema.String;
|
|
589
|
+
signature: Schema.Struct<{
|
|
590
|
+
hex: typeof Schema.String;
|
|
591
|
+
recovery: typeof Schema.Number;
|
|
592
|
+
}>;
|
|
593
|
+
}>;
|
|
594
|
+
export type AccountInbox = Schema.Schema.Type<typeof AccountInbox>;
|
|
595
|
+
export declare const ResponseAccountInbox: Schema.Struct<{
|
|
596
|
+
type: Schema.Literal<["account-inbox"]>;
|
|
597
|
+
inbox: Schema.Struct<{
|
|
598
|
+
accountAddress: typeof Schema.String;
|
|
599
|
+
inboxId: typeof Schema.String;
|
|
600
|
+
isPublic: typeof Schema.Boolean;
|
|
601
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
602
|
+
encryptionPublicKey: typeof Schema.String;
|
|
603
|
+
signature: Schema.Struct<{
|
|
604
|
+
hex: typeof Schema.String;
|
|
605
|
+
recovery: typeof Schema.Number;
|
|
606
|
+
}>;
|
|
607
|
+
}>;
|
|
608
|
+
}>;
|
|
609
|
+
export type ResponseAccountInbox = Schema.Schema.Type<typeof ResponseAccountInbox>;
|
|
610
|
+
export declare const ResponseSpace: Schema.Struct<{
|
|
611
|
+
type: Schema.Literal<["space"]>;
|
|
612
|
+
id: typeof Schema.String;
|
|
613
|
+
name: typeof Schema.String;
|
|
614
|
+
events: Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
615
|
+
transaction: Schema.Struct<{
|
|
616
|
+
type: Schema.Literal<["create-space"]>;
|
|
617
|
+
id: typeof Schema.String;
|
|
618
|
+
creatorAccountAddress: typeof Schema.String;
|
|
619
|
+
}>;
|
|
620
|
+
author: Schema.Struct<{
|
|
621
|
+
accountAddress: typeof Schema.String;
|
|
622
|
+
signature: Schema.Struct<{
|
|
623
|
+
hex: typeof Schema.String;
|
|
624
|
+
recovery: typeof Schema.Number;
|
|
625
|
+
}>;
|
|
626
|
+
}>;
|
|
627
|
+
}>, Schema.Struct<{
|
|
628
|
+
transaction: Schema.Struct<{
|
|
629
|
+
type: Schema.Literal<["delete-space"]>;
|
|
630
|
+
id: typeof Schema.String;
|
|
631
|
+
previousEventHash: typeof Schema.String;
|
|
632
|
+
}>;
|
|
633
|
+
author: Schema.Struct<{
|
|
634
|
+
accountAddress: typeof Schema.String;
|
|
635
|
+
signature: Schema.Struct<{
|
|
636
|
+
hex: typeof Schema.String;
|
|
637
|
+
recovery: typeof Schema.Number;
|
|
638
|
+
}>;
|
|
639
|
+
}>;
|
|
640
|
+
}>, Schema.Struct<{
|
|
641
|
+
transaction: Schema.Struct<{
|
|
642
|
+
type: Schema.Literal<["create-invitation"]>;
|
|
643
|
+
id: typeof Schema.String;
|
|
644
|
+
inviteeAccountAddress: typeof Schema.String;
|
|
645
|
+
previousEventHash: typeof Schema.String;
|
|
646
|
+
}>;
|
|
647
|
+
author: Schema.Struct<{
|
|
648
|
+
accountAddress: typeof Schema.String;
|
|
649
|
+
signature: Schema.Struct<{
|
|
650
|
+
hex: typeof Schema.String;
|
|
651
|
+
recovery: typeof Schema.Number;
|
|
652
|
+
}>;
|
|
653
|
+
}>;
|
|
654
|
+
}>, Schema.Struct<{
|
|
655
|
+
transaction: Schema.Struct<{
|
|
656
|
+
id: typeof Schema.String;
|
|
657
|
+
type: Schema.Literal<["accept-invitation"]>;
|
|
658
|
+
previousEventHash: typeof Schema.String;
|
|
659
|
+
}>;
|
|
660
|
+
author: Schema.Struct<{
|
|
661
|
+
accountAddress: typeof Schema.String;
|
|
662
|
+
signature: Schema.Struct<{
|
|
663
|
+
hex: typeof Schema.String;
|
|
664
|
+
recovery: typeof Schema.Number;
|
|
665
|
+
}>;
|
|
666
|
+
}>;
|
|
667
|
+
}>, Schema.Struct<{
|
|
668
|
+
transaction: Schema.Struct<{
|
|
669
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
670
|
+
id: typeof Schema.String;
|
|
671
|
+
spaceId: typeof Schema.String;
|
|
672
|
+
inboxId: typeof Schema.String;
|
|
673
|
+
encryptionPublicKey: typeof Schema.String;
|
|
674
|
+
secretKey: typeof Schema.String;
|
|
675
|
+
isPublic: typeof Schema.Boolean;
|
|
676
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
677
|
+
previousEventHash: typeof Schema.String;
|
|
678
|
+
}>;
|
|
679
|
+
author: Schema.Struct<{
|
|
680
|
+
accountAddress: typeof Schema.String;
|
|
681
|
+
signature: Schema.Struct<{
|
|
682
|
+
hex: typeof Schema.String;
|
|
683
|
+
recovery: typeof Schema.Number;
|
|
684
|
+
}>;
|
|
685
|
+
}>;
|
|
686
|
+
}>]>>;
|
|
687
|
+
keyBoxes: Schema.Array$<Schema.Struct<{
|
|
688
|
+
id: typeof Schema.String;
|
|
689
|
+
accountAddress: typeof Schema.String;
|
|
690
|
+
ciphertext: typeof Schema.String;
|
|
691
|
+
nonce: typeof Schema.String;
|
|
692
|
+
authorPublicKey: typeof Schema.String;
|
|
693
|
+
}>>;
|
|
694
|
+
updates: Schema.optional<Schema.Struct<{
|
|
695
|
+
updates: Schema.Array$<Schema.Struct<{
|
|
696
|
+
update: typeof Schema.Uint8Array;
|
|
697
|
+
accountAddress: typeof Schema.String;
|
|
698
|
+
signature: Schema.Struct<{
|
|
699
|
+
hex: typeof Schema.String;
|
|
700
|
+
recovery: typeof Schema.Number;
|
|
701
|
+
}>;
|
|
702
|
+
updateId: typeof Schema.String;
|
|
703
|
+
}>>;
|
|
704
|
+
firstUpdateClock: typeof Schema.Number;
|
|
705
|
+
lastUpdateClock: typeof Schema.Number;
|
|
706
|
+
}>>;
|
|
707
|
+
inboxes: Schema.Array$<Schema.Struct<{
|
|
708
|
+
inboxId: typeof Schema.String;
|
|
709
|
+
isPublic: typeof Schema.Boolean;
|
|
710
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
711
|
+
encryptionPublicKey: typeof Schema.String;
|
|
712
|
+
secretKey: typeof Schema.String;
|
|
713
|
+
}>>;
|
|
714
|
+
}>;
|
|
715
|
+
export type ResponseSpace = Schema.Schema.Type<typeof ResponseSpace>;
|
|
716
|
+
export declare const ResponseUpdateConfirmed: Schema.Struct<{
|
|
717
|
+
type: Schema.Literal<["update-confirmed"]>;
|
|
718
|
+
updateId: typeof Schema.String;
|
|
719
|
+
clock: typeof Schema.Number;
|
|
720
|
+
spaceId: typeof Schema.String;
|
|
721
|
+
}>;
|
|
722
|
+
export type ResponseUpdateConfirmed = Schema.Schema.Type<typeof ResponseUpdateConfirmed>;
|
|
723
|
+
export declare const ResponseUpdatesNotification: Schema.Struct<{
|
|
724
|
+
type: Schema.Literal<["updates-notification"]>;
|
|
725
|
+
updates: Schema.Struct<{
|
|
726
|
+
updates: Schema.Array$<Schema.Struct<{
|
|
727
|
+
update: typeof Schema.Uint8Array;
|
|
728
|
+
accountAddress: typeof Schema.String;
|
|
729
|
+
signature: Schema.Struct<{
|
|
730
|
+
hex: typeof Schema.String;
|
|
731
|
+
recovery: typeof Schema.Number;
|
|
732
|
+
}>;
|
|
733
|
+
updateId: typeof Schema.String;
|
|
734
|
+
}>>;
|
|
735
|
+
firstUpdateClock: typeof Schema.Number;
|
|
736
|
+
lastUpdateClock: typeof Schema.Number;
|
|
737
|
+
}>;
|
|
738
|
+
spaceId: typeof Schema.String;
|
|
739
|
+
}>;
|
|
740
|
+
export type ResponseUpdatesNotification = Schema.Schema.Type<typeof ResponseUpdatesNotification>;
|
|
741
|
+
export declare const ResponseSpaceInboxMessage: Schema.Struct<{
|
|
742
|
+
type: Schema.Literal<["space-inbox-message"]>;
|
|
743
|
+
spaceId: typeof Schema.String;
|
|
744
|
+
inboxId: typeof Schema.String;
|
|
745
|
+
message: Schema.Struct<{
|
|
746
|
+
id: typeof Schema.String;
|
|
747
|
+
ciphertext: typeof Schema.String;
|
|
748
|
+
signature: Schema.optional<Schema.Struct<{
|
|
749
|
+
hex: typeof Schema.String;
|
|
750
|
+
recovery: typeof Schema.Number;
|
|
751
|
+
}>>;
|
|
752
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
753
|
+
createdAt: typeof Schema.Date;
|
|
754
|
+
}>;
|
|
755
|
+
}>;
|
|
756
|
+
export type ResponseSpaceInboxMessage = Schema.Schema.Type<typeof ResponseSpaceInboxMessage>;
|
|
757
|
+
export declare const ResponseSpaceInboxMessages: Schema.Struct<{
|
|
758
|
+
type: Schema.Literal<["space-inbox-messages"]>;
|
|
759
|
+
spaceId: typeof Schema.String;
|
|
760
|
+
inboxId: typeof Schema.String;
|
|
761
|
+
messages: Schema.Array$<Schema.Struct<{
|
|
762
|
+
id: typeof Schema.String;
|
|
763
|
+
ciphertext: typeof Schema.String;
|
|
764
|
+
signature: Schema.optional<Schema.Struct<{
|
|
765
|
+
hex: typeof Schema.String;
|
|
766
|
+
recovery: typeof Schema.Number;
|
|
767
|
+
}>>;
|
|
768
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
769
|
+
createdAt: typeof Schema.Date;
|
|
770
|
+
}>>;
|
|
771
|
+
}>;
|
|
772
|
+
export type ResponseSpaceInboxMessages = Schema.Schema.Type<typeof ResponseSpaceInboxMessages>;
|
|
773
|
+
export declare const ResponseAccountInboxMessage: Schema.Struct<{
|
|
774
|
+
type: Schema.Literal<["account-inbox-message"]>;
|
|
775
|
+
accountAddress: typeof Schema.String;
|
|
776
|
+
inboxId: typeof Schema.String;
|
|
777
|
+
message: Schema.Struct<{
|
|
778
|
+
id: typeof Schema.String;
|
|
779
|
+
ciphertext: typeof Schema.String;
|
|
780
|
+
signature: Schema.optional<Schema.Struct<{
|
|
781
|
+
hex: typeof Schema.String;
|
|
782
|
+
recovery: typeof Schema.Number;
|
|
783
|
+
}>>;
|
|
784
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
785
|
+
createdAt: typeof Schema.Date;
|
|
786
|
+
}>;
|
|
787
|
+
}>;
|
|
788
|
+
export type ResponseAccountInboxMessage = Schema.Schema.Type<typeof ResponseAccountInboxMessage>;
|
|
789
|
+
export declare const ResponseAccountInboxMessages: Schema.Struct<{
|
|
790
|
+
type: Schema.Literal<["account-inbox-messages"]>;
|
|
791
|
+
accountAddress: typeof Schema.String;
|
|
792
|
+
inboxId: typeof Schema.String;
|
|
793
|
+
messages: Schema.Array$<Schema.Struct<{
|
|
794
|
+
id: typeof Schema.String;
|
|
795
|
+
ciphertext: typeof Schema.String;
|
|
796
|
+
signature: Schema.optional<Schema.Struct<{
|
|
797
|
+
hex: typeof Schema.String;
|
|
798
|
+
recovery: typeof Schema.Number;
|
|
799
|
+
}>>;
|
|
800
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
801
|
+
createdAt: typeof Schema.Date;
|
|
802
|
+
}>>;
|
|
803
|
+
}>;
|
|
804
|
+
export type ResponseAccountInboxMessages = Schema.Schema.Type<typeof ResponseAccountInboxMessages>;
|
|
805
|
+
export declare const ResponseAccountInboxes: Schema.Struct<{
|
|
806
|
+
type: Schema.Literal<["account-inboxes"]>;
|
|
807
|
+
inboxes: Schema.Array$<Schema.Struct<{
|
|
808
|
+
accountAddress: typeof Schema.String;
|
|
809
|
+
inboxId: typeof Schema.String;
|
|
810
|
+
isPublic: typeof Schema.Boolean;
|
|
811
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
812
|
+
encryptionPublicKey: typeof Schema.String;
|
|
813
|
+
signature: Schema.Struct<{
|
|
814
|
+
hex: typeof Schema.String;
|
|
815
|
+
recovery: typeof Schema.Number;
|
|
816
|
+
}>;
|
|
817
|
+
}>>;
|
|
818
|
+
}>;
|
|
819
|
+
export type ResponseAccountInboxes = Schema.Schema.Type<typeof ResponseAccountInboxes>;
|
|
820
|
+
export declare const ResponseMessage: Schema.Union<[Schema.Struct<{
|
|
821
|
+
type: Schema.Literal<["list-spaces"]>;
|
|
822
|
+
spaces: Schema.Array$<Schema.Struct<{
|
|
823
|
+
id: typeof Schema.String;
|
|
824
|
+
name: typeof Schema.String;
|
|
825
|
+
}>>;
|
|
826
|
+
}>, Schema.Struct<{
|
|
827
|
+
type: Schema.Literal<["list-invitations"]>;
|
|
828
|
+
invitations: Schema.Array$<Schema.Struct<{
|
|
829
|
+
id: typeof Schema.String;
|
|
830
|
+
previousEventHash: typeof Schema.String;
|
|
831
|
+
spaceId: typeof Schema.String;
|
|
832
|
+
}>>;
|
|
833
|
+
}>, Schema.Struct<{
|
|
834
|
+
type: Schema.Literal<["space"]>;
|
|
835
|
+
id: typeof Schema.String;
|
|
836
|
+
name: typeof Schema.String;
|
|
837
|
+
events: Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
838
|
+
transaction: Schema.Struct<{
|
|
839
|
+
type: Schema.Literal<["create-space"]>;
|
|
840
|
+
id: typeof Schema.String;
|
|
841
|
+
creatorAccountAddress: typeof Schema.String;
|
|
842
|
+
}>;
|
|
843
|
+
author: Schema.Struct<{
|
|
844
|
+
accountAddress: typeof Schema.String;
|
|
845
|
+
signature: Schema.Struct<{
|
|
846
|
+
hex: typeof Schema.String;
|
|
847
|
+
recovery: typeof Schema.Number;
|
|
848
|
+
}>;
|
|
849
|
+
}>;
|
|
850
|
+
}>, Schema.Struct<{
|
|
851
|
+
transaction: Schema.Struct<{
|
|
852
|
+
type: Schema.Literal<["delete-space"]>;
|
|
853
|
+
id: typeof Schema.String;
|
|
854
|
+
previousEventHash: typeof Schema.String;
|
|
855
|
+
}>;
|
|
856
|
+
author: Schema.Struct<{
|
|
857
|
+
accountAddress: typeof Schema.String;
|
|
858
|
+
signature: Schema.Struct<{
|
|
859
|
+
hex: typeof Schema.String;
|
|
860
|
+
recovery: typeof Schema.Number;
|
|
861
|
+
}>;
|
|
862
|
+
}>;
|
|
863
|
+
}>, Schema.Struct<{
|
|
864
|
+
transaction: Schema.Struct<{
|
|
865
|
+
type: Schema.Literal<["create-invitation"]>;
|
|
866
|
+
id: typeof Schema.String;
|
|
867
|
+
inviteeAccountAddress: typeof Schema.String;
|
|
868
|
+
previousEventHash: typeof Schema.String;
|
|
869
|
+
}>;
|
|
870
|
+
author: Schema.Struct<{
|
|
871
|
+
accountAddress: typeof Schema.String;
|
|
872
|
+
signature: Schema.Struct<{
|
|
873
|
+
hex: typeof Schema.String;
|
|
874
|
+
recovery: typeof Schema.Number;
|
|
875
|
+
}>;
|
|
876
|
+
}>;
|
|
877
|
+
}>, Schema.Struct<{
|
|
878
|
+
transaction: Schema.Struct<{
|
|
879
|
+
id: typeof Schema.String;
|
|
880
|
+
type: Schema.Literal<["accept-invitation"]>;
|
|
881
|
+
previousEventHash: typeof Schema.String;
|
|
882
|
+
}>;
|
|
883
|
+
author: Schema.Struct<{
|
|
884
|
+
accountAddress: typeof Schema.String;
|
|
885
|
+
signature: Schema.Struct<{
|
|
886
|
+
hex: typeof Schema.String;
|
|
887
|
+
recovery: typeof Schema.Number;
|
|
888
|
+
}>;
|
|
889
|
+
}>;
|
|
890
|
+
}>, Schema.Struct<{
|
|
891
|
+
transaction: Schema.Struct<{
|
|
892
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
893
|
+
id: typeof Schema.String;
|
|
894
|
+
spaceId: typeof Schema.String;
|
|
895
|
+
inboxId: typeof Schema.String;
|
|
896
|
+
encryptionPublicKey: typeof Schema.String;
|
|
897
|
+
secretKey: typeof Schema.String;
|
|
898
|
+
isPublic: typeof Schema.Boolean;
|
|
899
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
900
|
+
previousEventHash: typeof Schema.String;
|
|
901
|
+
}>;
|
|
902
|
+
author: Schema.Struct<{
|
|
903
|
+
accountAddress: typeof Schema.String;
|
|
904
|
+
signature: Schema.Struct<{
|
|
905
|
+
hex: typeof Schema.String;
|
|
906
|
+
recovery: typeof Schema.Number;
|
|
907
|
+
}>;
|
|
908
|
+
}>;
|
|
909
|
+
}>]>>;
|
|
910
|
+
keyBoxes: Schema.Array$<Schema.Struct<{
|
|
911
|
+
id: typeof Schema.String;
|
|
912
|
+
accountAddress: typeof Schema.String;
|
|
913
|
+
ciphertext: typeof Schema.String;
|
|
914
|
+
nonce: typeof Schema.String;
|
|
915
|
+
authorPublicKey: typeof Schema.String;
|
|
916
|
+
}>>;
|
|
917
|
+
updates: Schema.optional<Schema.Struct<{
|
|
918
|
+
updates: Schema.Array$<Schema.Struct<{
|
|
919
|
+
update: typeof Schema.Uint8Array;
|
|
920
|
+
accountAddress: typeof Schema.String;
|
|
921
|
+
signature: Schema.Struct<{
|
|
922
|
+
hex: typeof Schema.String;
|
|
923
|
+
recovery: typeof Schema.Number;
|
|
924
|
+
}>;
|
|
925
|
+
updateId: typeof Schema.String;
|
|
926
|
+
}>>;
|
|
927
|
+
firstUpdateClock: typeof Schema.Number;
|
|
928
|
+
lastUpdateClock: typeof Schema.Number;
|
|
929
|
+
}>>;
|
|
930
|
+
inboxes: Schema.Array$<Schema.Struct<{
|
|
931
|
+
inboxId: typeof Schema.String;
|
|
932
|
+
isPublic: typeof Schema.Boolean;
|
|
933
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
934
|
+
encryptionPublicKey: typeof Schema.String;
|
|
935
|
+
secretKey: typeof Schema.String;
|
|
936
|
+
}>>;
|
|
937
|
+
}>, Schema.Struct<{
|
|
938
|
+
type: Schema.Literal<["space-event"]>;
|
|
939
|
+
spaceId: typeof Schema.String;
|
|
940
|
+
event: Schema.Union<[Schema.Struct<{
|
|
941
|
+
transaction: Schema.Struct<{
|
|
942
|
+
type: Schema.Literal<["create-space"]>;
|
|
943
|
+
id: typeof Schema.String;
|
|
944
|
+
creatorAccountAddress: typeof Schema.String;
|
|
945
|
+
}>;
|
|
946
|
+
author: Schema.Struct<{
|
|
947
|
+
accountAddress: typeof Schema.String;
|
|
948
|
+
signature: Schema.Struct<{
|
|
949
|
+
hex: typeof Schema.String;
|
|
950
|
+
recovery: typeof Schema.Number;
|
|
951
|
+
}>;
|
|
952
|
+
}>;
|
|
953
|
+
}>, Schema.Struct<{
|
|
954
|
+
transaction: Schema.Struct<{
|
|
955
|
+
type: Schema.Literal<["delete-space"]>;
|
|
956
|
+
id: typeof Schema.String;
|
|
957
|
+
previousEventHash: typeof Schema.String;
|
|
958
|
+
}>;
|
|
959
|
+
author: Schema.Struct<{
|
|
960
|
+
accountAddress: typeof Schema.String;
|
|
961
|
+
signature: Schema.Struct<{
|
|
962
|
+
hex: typeof Schema.String;
|
|
963
|
+
recovery: typeof Schema.Number;
|
|
964
|
+
}>;
|
|
965
|
+
}>;
|
|
966
|
+
}>, Schema.Struct<{
|
|
967
|
+
transaction: Schema.Struct<{
|
|
968
|
+
type: Schema.Literal<["create-invitation"]>;
|
|
969
|
+
id: typeof Schema.String;
|
|
970
|
+
inviteeAccountAddress: typeof Schema.String;
|
|
971
|
+
previousEventHash: typeof Schema.String;
|
|
972
|
+
}>;
|
|
973
|
+
author: Schema.Struct<{
|
|
974
|
+
accountAddress: typeof Schema.String;
|
|
975
|
+
signature: Schema.Struct<{
|
|
976
|
+
hex: typeof Schema.String;
|
|
977
|
+
recovery: typeof Schema.Number;
|
|
978
|
+
}>;
|
|
979
|
+
}>;
|
|
980
|
+
}>, Schema.Struct<{
|
|
981
|
+
transaction: Schema.Struct<{
|
|
982
|
+
id: typeof Schema.String;
|
|
983
|
+
type: Schema.Literal<["accept-invitation"]>;
|
|
984
|
+
previousEventHash: typeof Schema.String;
|
|
985
|
+
}>;
|
|
986
|
+
author: Schema.Struct<{
|
|
987
|
+
accountAddress: typeof Schema.String;
|
|
988
|
+
signature: Schema.Struct<{
|
|
989
|
+
hex: typeof Schema.String;
|
|
990
|
+
recovery: typeof Schema.Number;
|
|
991
|
+
}>;
|
|
992
|
+
}>;
|
|
993
|
+
}>, Schema.Struct<{
|
|
994
|
+
transaction: Schema.Struct<{
|
|
995
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
996
|
+
id: typeof Schema.String;
|
|
997
|
+
spaceId: typeof Schema.String;
|
|
998
|
+
inboxId: typeof Schema.String;
|
|
999
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1000
|
+
secretKey: typeof Schema.String;
|
|
1001
|
+
isPublic: typeof Schema.Boolean;
|
|
1002
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1003
|
+
previousEventHash: typeof Schema.String;
|
|
1004
|
+
}>;
|
|
1005
|
+
author: Schema.Struct<{
|
|
1006
|
+
accountAddress: typeof Schema.String;
|
|
1007
|
+
signature: Schema.Struct<{
|
|
1008
|
+
hex: typeof Schema.String;
|
|
1009
|
+
recovery: typeof Schema.Number;
|
|
1010
|
+
}>;
|
|
1011
|
+
}>;
|
|
1012
|
+
}>]>;
|
|
1013
|
+
}>, Schema.Struct<{
|
|
1014
|
+
type: Schema.Literal<["update-confirmed"]>;
|
|
1015
|
+
updateId: typeof Schema.String;
|
|
1016
|
+
clock: typeof Schema.Number;
|
|
1017
|
+
spaceId: typeof Schema.String;
|
|
1018
|
+
}>, Schema.Struct<{
|
|
1019
|
+
type: Schema.Literal<["updates-notification"]>;
|
|
1020
|
+
updates: Schema.Struct<{
|
|
1021
|
+
updates: Schema.Array$<Schema.Struct<{
|
|
1022
|
+
update: typeof Schema.Uint8Array;
|
|
1023
|
+
accountAddress: typeof Schema.String;
|
|
1024
|
+
signature: Schema.Struct<{
|
|
1025
|
+
hex: typeof Schema.String;
|
|
1026
|
+
recovery: typeof Schema.Number;
|
|
1027
|
+
}>;
|
|
1028
|
+
updateId: typeof Schema.String;
|
|
1029
|
+
}>>;
|
|
1030
|
+
firstUpdateClock: typeof Schema.Number;
|
|
1031
|
+
lastUpdateClock: typeof Schema.Number;
|
|
1032
|
+
}>;
|
|
1033
|
+
spaceId: typeof Schema.String;
|
|
1034
|
+
}>, Schema.Struct<{
|
|
1035
|
+
type: Schema.Literal<["account-inbox"]>;
|
|
1036
|
+
inbox: Schema.Struct<{
|
|
1037
|
+
accountAddress: typeof Schema.String;
|
|
1038
|
+
inboxId: typeof Schema.String;
|
|
1039
|
+
isPublic: typeof Schema.Boolean;
|
|
1040
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1041
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1042
|
+
signature: Schema.Struct<{
|
|
1043
|
+
hex: typeof Schema.String;
|
|
1044
|
+
recovery: typeof Schema.Number;
|
|
1045
|
+
}>;
|
|
1046
|
+
}>;
|
|
1047
|
+
}>, Schema.Struct<{
|
|
1048
|
+
type: Schema.Literal<["space-inbox-message"]>;
|
|
1049
|
+
spaceId: typeof Schema.String;
|
|
1050
|
+
inboxId: typeof Schema.String;
|
|
1051
|
+
message: Schema.Struct<{
|
|
1052
|
+
id: typeof Schema.String;
|
|
1053
|
+
ciphertext: typeof Schema.String;
|
|
1054
|
+
signature: Schema.optional<Schema.Struct<{
|
|
1055
|
+
hex: typeof Schema.String;
|
|
1056
|
+
recovery: typeof Schema.Number;
|
|
1057
|
+
}>>;
|
|
1058
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
1059
|
+
createdAt: typeof Schema.Date;
|
|
1060
|
+
}>;
|
|
1061
|
+
}>, Schema.Struct<{
|
|
1062
|
+
type: Schema.Literal<["space-inbox-messages"]>;
|
|
1063
|
+
spaceId: typeof Schema.String;
|
|
1064
|
+
inboxId: typeof Schema.String;
|
|
1065
|
+
messages: Schema.Array$<Schema.Struct<{
|
|
1066
|
+
id: typeof Schema.String;
|
|
1067
|
+
ciphertext: typeof Schema.String;
|
|
1068
|
+
signature: Schema.optional<Schema.Struct<{
|
|
1069
|
+
hex: typeof Schema.String;
|
|
1070
|
+
recovery: typeof Schema.Number;
|
|
1071
|
+
}>>;
|
|
1072
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
1073
|
+
createdAt: typeof Schema.Date;
|
|
1074
|
+
}>>;
|
|
1075
|
+
}>, Schema.Struct<{
|
|
1076
|
+
type: Schema.Literal<["account-inbox-message"]>;
|
|
1077
|
+
accountAddress: typeof Schema.String;
|
|
1078
|
+
inboxId: typeof Schema.String;
|
|
1079
|
+
message: Schema.Struct<{
|
|
1080
|
+
id: typeof Schema.String;
|
|
1081
|
+
ciphertext: typeof Schema.String;
|
|
1082
|
+
signature: Schema.optional<Schema.Struct<{
|
|
1083
|
+
hex: typeof Schema.String;
|
|
1084
|
+
recovery: typeof Schema.Number;
|
|
1085
|
+
}>>;
|
|
1086
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
1087
|
+
createdAt: typeof Schema.Date;
|
|
1088
|
+
}>;
|
|
1089
|
+
}>, Schema.Struct<{
|
|
1090
|
+
type: Schema.Literal<["account-inbox-messages"]>;
|
|
1091
|
+
accountAddress: typeof Schema.String;
|
|
1092
|
+
inboxId: typeof Schema.String;
|
|
1093
|
+
messages: Schema.Array$<Schema.Struct<{
|
|
1094
|
+
id: typeof Schema.String;
|
|
1095
|
+
ciphertext: typeof Schema.String;
|
|
1096
|
+
signature: Schema.optional<Schema.Struct<{
|
|
1097
|
+
hex: typeof Schema.String;
|
|
1098
|
+
recovery: typeof Schema.Number;
|
|
1099
|
+
}>>;
|
|
1100
|
+
authorAccountAddress: Schema.optional<typeof Schema.String>;
|
|
1101
|
+
createdAt: typeof Schema.Date;
|
|
1102
|
+
}>>;
|
|
1103
|
+
}>, Schema.Struct<{
|
|
1104
|
+
type: Schema.Literal<["account-inboxes"]>;
|
|
1105
|
+
inboxes: Schema.Array$<Schema.Struct<{
|
|
1106
|
+
accountAddress: typeof Schema.String;
|
|
1107
|
+
inboxId: typeof Schema.String;
|
|
1108
|
+
isPublic: typeof Schema.Boolean;
|
|
1109
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1110
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1111
|
+
signature: Schema.Struct<{
|
|
1112
|
+
hex: typeof Schema.String;
|
|
1113
|
+
recovery: typeof Schema.Number;
|
|
1114
|
+
}>;
|
|
1115
|
+
}>>;
|
|
1116
|
+
}>]>;
|
|
1117
|
+
export type ResponseMessage = Schema.Schema.Type<typeof ResponseMessage>;
|
|
1118
|
+
export declare const ResponseIdentityEncrypted: Schema.Struct<{
|
|
1119
|
+
keyBox: Schema.Struct<{
|
|
1120
|
+
signer: typeof Schema.String;
|
|
1121
|
+
accountAddress: typeof Schema.String;
|
|
1122
|
+
ciphertext: typeof Schema.String;
|
|
1123
|
+
nonce: typeof Schema.String;
|
|
1124
|
+
}>;
|
|
1125
|
+
}>;
|
|
1126
|
+
export type ResponseIdentityEncrypted = Schema.Schema.Type<typeof ResponseIdentityEncrypted>;
|
|
1127
|
+
export declare const ResponseIdentity: Schema.Struct<{
|
|
1128
|
+
accountAddress: typeof Schema.String;
|
|
1129
|
+
signaturePublicKey: typeof Schema.String;
|
|
1130
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1131
|
+
accountProof: typeof Schema.String;
|
|
1132
|
+
keyProof: typeof Schema.String;
|
|
1133
|
+
}>;
|
|
1134
|
+
export type ResponseIdentity = Schema.Schema.Type<typeof ResponseIdentity>;
|
|
1135
|
+
export declare const SpaceInboxPublic: Schema.Struct<{
|
|
1136
|
+
inboxId: typeof Schema.String;
|
|
1137
|
+
isPublic: typeof Schema.Boolean;
|
|
1138
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1139
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1140
|
+
creationEvent: Schema.Struct<{
|
|
1141
|
+
transaction: Schema.Struct<{
|
|
1142
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
1143
|
+
id: typeof Schema.String;
|
|
1144
|
+
spaceId: typeof Schema.String;
|
|
1145
|
+
inboxId: typeof Schema.String;
|
|
1146
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1147
|
+
secretKey: typeof Schema.String;
|
|
1148
|
+
isPublic: typeof Schema.Boolean;
|
|
1149
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1150
|
+
previousEventHash: typeof Schema.String;
|
|
1151
|
+
}>;
|
|
1152
|
+
author: Schema.Struct<{
|
|
1153
|
+
accountAddress: typeof Schema.String;
|
|
1154
|
+
signature: Schema.Struct<{
|
|
1155
|
+
hex: typeof Schema.String;
|
|
1156
|
+
recovery: typeof Schema.Number;
|
|
1157
|
+
}>;
|
|
1158
|
+
}>;
|
|
1159
|
+
}>;
|
|
1160
|
+
}>;
|
|
1161
|
+
export type SpaceInboxPublic = Schema.Schema.Type<typeof SpaceInboxPublic>;
|
|
1162
|
+
export declare const ResponseSpaceInboxPublic: Schema.Struct<{
|
|
1163
|
+
inbox: Schema.Struct<{
|
|
1164
|
+
inboxId: typeof Schema.String;
|
|
1165
|
+
isPublic: typeof Schema.Boolean;
|
|
1166
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1167
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1168
|
+
creationEvent: Schema.Struct<{
|
|
1169
|
+
transaction: Schema.Struct<{
|
|
1170
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
1171
|
+
id: typeof Schema.String;
|
|
1172
|
+
spaceId: typeof Schema.String;
|
|
1173
|
+
inboxId: typeof Schema.String;
|
|
1174
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1175
|
+
secretKey: typeof Schema.String;
|
|
1176
|
+
isPublic: typeof Schema.Boolean;
|
|
1177
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1178
|
+
previousEventHash: typeof Schema.String;
|
|
1179
|
+
}>;
|
|
1180
|
+
author: Schema.Struct<{
|
|
1181
|
+
accountAddress: typeof Schema.String;
|
|
1182
|
+
signature: Schema.Struct<{
|
|
1183
|
+
hex: typeof Schema.String;
|
|
1184
|
+
recovery: typeof Schema.Number;
|
|
1185
|
+
}>;
|
|
1186
|
+
}>;
|
|
1187
|
+
}>;
|
|
1188
|
+
}>;
|
|
1189
|
+
}>;
|
|
1190
|
+
export type ResponseSpaceInboxPublic = Schema.Schema.Type<typeof ResponseSpaceInboxPublic>;
|
|
1191
|
+
export declare const ResponseListSpaceInboxesPublic: Schema.Struct<{
|
|
1192
|
+
inboxes: Schema.Array$<Schema.Struct<{
|
|
1193
|
+
inboxId: typeof Schema.String;
|
|
1194
|
+
isPublic: typeof Schema.Boolean;
|
|
1195
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1196
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1197
|
+
creationEvent: Schema.Struct<{
|
|
1198
|
+
transaction: Schema.Struct<{
|
|
1199
|
+
type: Schema.Literal<["create-space-inbox"]>;
|
|
1200
|
+
id: typeof Schema.String;
|
|
1201
|
+
spaceId: typeof Schema.String;
|
|
1202
|
+
inboxId: typeof Schema.String;
|
|
1203
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1204
|
+
secretKey: typeof Schema.String;
|
|
1205
|
+
isPublic: typeof Schema.Boolean;
|
|
1206
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1207
|
+
previousEventHash: typeof Schema.String;
|
|
1208
|
+
}>;
|
|
1209
|
+
author: Schema.Struct<{
|
|
1210
|
+
accountAddress: typeof Schema.String;
|
|
1211
|
+
signature: Schema.Struct<{
|
|
1212
|
+
hex: typeof Schema.String;
|
|
1213
|
+
recovery: typeof Schema.Number;
|
|
1214
|
+
}>;
|
|
1215
|
+
}>;
|
|
1216
|
+
}>;
|
|
1217
|
+
}>>;
|
|
1218
|
+
}>;
|
|
1219
|
+
export type ResponseListSpaceInboxesPublic = Schema.Schema.Type<typeof ResponseListSpaceInboxesPublic>;
|
|
1220
|
+
export declare const AccountInboxPublic: Schema.Struct<{
|
|
1221
|
+
accountAddress: typeof Schema.String;
|
|
1222
|
+
inboxId: typeof Schema.String;
|
|
1223
|
+
isPublic: typeof Schema.Boolean;
|
|
1224
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1225
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1226
|
+
signature: Schema.Struct<{
|
|
1227
|
+
hex: typeof Schema.String;
|
|
1228
|
+
recovery: typeof Schema.Number;
|
|
1229
|
+
}>;
|
|
1230
|
+
}>;
|
|
1231
|
+
export type AccountInboxPublic = Schema.Schema.Type<typeof AccountInboxPublic>;
|
|
1232
|
+
export declare const ResponseAccountInboxPublic: Schema.Struct<{
|
|
1233
|
+
inbox: Schema.Struct<{
|
|
1234
|
+
accountAddress: typeof Schema.String;
|
|
1235
|
+
inboxId: typeof Schema.String;
|
|
1236
|
+
isPublic: typeof Schema.Boolean;
|
|
1237
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1238
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1239
|
+
signature: Schema.Struct<{
|
|
1240
|
+
hex: typeof Schema.String;
|
|
1241
|
+
recovery: typeof Schema.Number;
|
|
1242
|
+
}>;
|
|
1243
|
+
}>;
|
|
1244
|
+
}>;
|
|
1245
|
+
export type ResponseAccountInboxPublic = Schema.Schema.Type<typeof ResponseAccountInboxPublic>;
|
|
1246
|
+
export declare const ResponseListAccountInboxesPublic: Schema.Struct<{
|
|
1247
|
+
inboxes: Schema.Array$<Schema.Struct<{
|
|
1248
|
+
accountAddress: typeof Schema.String;
|
|
1249
|
+
inboxId: typeof Schema.String;
|
|
1250
|
+
isPublic: typeof Schema.Boolean;
|
|
1251
|
+
authPolicy: Schema.Union<[Schema.Literal<["anonymous"]>, Schema.Literal<["optional_auth"]>, Schema.Literal<["requires_auth"]>]>;
|
|
1252
|
+
encryptionPublicKey: typeof Schema.String;
|
|
1253
|
+
signature: Schema.Struct<{
|
|
1254
|
+
hex: typeof Schema.String;
|
|
1255
|
+
recovery: typeof Schema.Number;
|
|
1256
|
+
}>;
|
|
1257
|
+
}>>;
|
|
1258
|
+
}>;
|
|
1259
|
+
export type ResponseListAccountInboxesPublic = Schema.Schema.Type<typeof ResponseListAccountInboxesPublic>;
|
|
1260
|
+
export declare const ResponseIdentityNotFoundError: Schema.Struct<{
|
|
1261
|
+
accountAddress: typeof Schema.String;
|
|
1262
|
+
}>;
|
|
1263
|
+
export type ResponseIdentityNotFoundError = Schema.Schema.Type<typeof ResponseIdentityNotFoundError>;
|
|
1264
|
+
export declare const ResponseIdentityExistsError: Schema.Struct<{
|
|
1265
|
+
accountAddress: typeof Schema.String;
|
|
1266
|
+
}>;
|
|
1267
|
+
export type ResponseIdentityExistsError = Schema.Schema.Type<typeof ResponseIdentityExistsError>;
|
|
1268
|
+
//# sourceMappingURL=types.d.ts.map
|