@dxos/protocols 0.8.4-main.c85a9c8dae → 0.8.4-main.d05539e30a
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/LICENSE +102 -5
- package/dist/src/FeedProtocol.d.ts +5 -5
- package/dist/src/FeedProtocol.d.ts.map +1 -1
- package/dist/src/FeedProtocol.js +1 -1
- package/dist/src/FunctionProtocol.d.ts +7 -0
- package/dist/src/FunctionProtocol.d.ts.map +1 -1
- package/dist/src/TraceProtocol.d.ts +15 -0
- package/dist/src/TraceProtocol.d.ts.map +1 -0
- package/dist/src/TraceProtocol.js +4 -0
- package/dist/src/TraceProtocol.js.map +1 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +11 -5
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +65 -2
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js +64 -37
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts +112 -0
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js +72 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +6 -0
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +17 -2
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +28 -0
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +10 -5
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +39 -0
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +27 -2
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +0 -10
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +24 -0
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js +12 -7
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -139
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js +10 -44
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
- package/dist/src/codec.test.js +1 -1
- package/dist/src/edge/EdgeFunctionEnv.d.ts +38 -25
- package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -1
- package/dist/src/edge/edge.d.ts +169 -1
- package/dist/src/edge/edge.d.ts.map +1 -1
- package/dist/src/edge/edge.js +15 -1
- package/dist/src/edge/edge.js.map +1 -1
- package/dist/src/edge/errors.d.ts.map +1 -1
- package/dist/src/edge/errors.js +1 -1
- package/dist/src/edge/errors.js.map +1 -1
- package/dist/src/edge/index.d.ts +1 -0
- package/dist/src/edge/index.d.ts.map +1 -1
- package/dist/src/edge/index.js +4 -3
- package/dist/src/edge/index.js.map +1 -1
- package/dist/src/edge/registry.d.ts +212 -0
- package/dist/src/edge/registry.d.ts.map +1 -0
- package/dist/src/edge/registry.js +139 -0
- package/dist/src/edge/registry.js.map +1 -0
- package/dist/src/errors/base-errors.d.ts +18 -18
- package/dist/src/errors/base-errors.d.ts.map +1 -1
- package/dist/src/errors/encoding.d.ts +1 -1
- package/dist/src/errors/encoding.d.ts.map +1 -1
- package/dist/src/errors/encoding.js +1 -1
- package/dist/src/errors/encoding.js.map +1 -1
- package/dist/src/errors/errors.d.ts +132 -132
- package/dist/src/errors/errors.d.ts.map +1 -1
- package/dist/src/errors/errors.js +1 -1
- package/dist/src/errors/errors.js.map +1 -1
- package/dist/src/errors/errors.test.js +1 -1
- package/dist/src/errors/helpers.d.ts +2 -2
- package/dist/src/errors/helpers.d.ts.map +1 -1
- package/dist/src/errors/index.js +5 -5
- package/dist/src/errors/parameter.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -11
- package/dist/src/index.js.map +1 -1
- package/dist/src/indexing.d.ts.map +1 -1
- package/dist/src/indexing.test.js +1 -1
- package/dist/src/proto/gen/dxos/agent/dashboard.d.ts +3 -6
- package/dist/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/agent/dashboard.js.map +1 -1
- package/dist/src/proto/gen/dxos/agent/echoproxy.d.ts +1 -2
- package/dist/src/proto/gen/dxos/agent/echoproxy.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/agent/epoch.d.ts +1 -2
- package/dist/src/proto/gen/dxos/agent/epoch.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/agent/functions.d.ts +6 -12
- package/dist/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/bot.d.ts +12 -24
- package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.d.ts +1013 -1047
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +106 -94
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +115 -100
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +26 -0
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/host.d.ts +48 -96
- package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/swarm.d.ts +4 -8
- package/dist/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/blob.d.ts +1 -2
- package/dist/src/proto/gen/dxos/echo/blob.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/blob.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.d.ts +4 -8
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/filter.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/filter.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/filter.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/indexing.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/indexing.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/indexing.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts +12 -16
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/document.d.ts +11 -22
- package/dist/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/document.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts +1 -2
- package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/text.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/object.d.ts +6 -12
- package/dist/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/object.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/query.d.ts +4 -8
- package/dist/src/proto/gen/dxos/echo/query.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/query.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +36 -35
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +2 -4
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/calls.d.ts +5 -10
- package/dist/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/messenger.d.ts +28 -10
- package/dist/src/proto/gen/dxos/edge/messenger.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/messenger.js.map +1 -1
- package/dist/src/proto/gen/dxos/edge/signal.d.ts +7 -14
- package/dist/src/proto/gen/dxos/edge/signal.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/error.d.ts +1 -2
- package/dist/src/proto/gen/dxos/error.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/gravity.d.ts +10 -20
- package/dist/src/proto/gen/dxos/gravity.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts +1 -2
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts +6 -12
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts +2 -4
- package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts +35 -43
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.js +9 -0
- package/dist/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts +13 -26
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts +1 -2
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +2 -4
- package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/signed.d.ts +4 -8
- package/dist/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/iframe.d.ts +4 -18
- package/dist/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/src/proto/gen/dxos/keys.d.ts +2 -4
- package/dist/src/proto/gen/dxos/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/bridge.d.ts +12 -24
- package/dist/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/messaging.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/muxer.d.ts +5 -10
- package/dist/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/presence.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/protocol.d.ts +3 -6
- package/dist/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/replicator.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/signal.d.ts +9 -18
- package/dist/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/signal.js.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts +6 -12
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/auth.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/automerge.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/teleport/automerge.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts +3 -6
- package/dist/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts +3 -6
- package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/gossip.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/notarization.d.ts +1 -2
- package/dist/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +5 -10
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport.d.ts +2 -4
- package/dist/src/proto/gen/dxos/mesh/teleport.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/registry.d.ts +3 -6
- package/dist/src/proto/gen/dxos/registry.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.d.ts +24 -12
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/src/proto/gen/dxos/service/agentmanager.d.ts +4 -8
- package/dist/src/proto/gen/dxos/service/agentmanager.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/agentmanager.js.map +1 -1
- package/dist/src/proto/gen/dxos/service/publisher.d.ts +5 -10
- package/dist/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/supervisor.d.ts +12 -24
- package/dist/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/supervisor.js.map +1 -1
- package/dist/src/proto/gen/dxos/service/tunnel.d.ts +3 -6
- package/dist/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/tracing.d.ts +10 -99
- package/dist/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/type.d.ts +12 -24
- package/dist/src/proto/gen/dxos/type.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/value.d.ts +2 -4
- package/dist/src/proto/gen/dxos/value.d.ts.map +1 -1
- package/dist/src/proto/gen/example/testing/data.d.ts +4 -8
- package/dist/src/proto/gen/example/testing/data.d.ts.map +1 -1
- package/dist/src/proto/gen/example/testing/rpc.d.ts +7 -14
- package/dist/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.d.ts +296 -10
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.js +127 -1
- package/dist/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/src/proto/gen/index.d.ts +31 -7
- package/dist/src/proto/gen/index.d.ts.map +1 -1
- package/dist/src/proto/gen/index.js +1 -1
- package/dist/src/proto/gen/index.js.map +1 -1
- package/dist/src/proto/index.js +1 -1
- package/dist/src/proto/substitutions.d.ts +8 -8
- package/dist/src/proto/substitutions.d.ts.map +1 -1
- package/dist/src/space-archive.d.ts +62 -3
- package/dist/src/space-archive.d.ts.map +1 -1
- package/dist/src/space-archive.js +13 -1
- package/dist/src/space-archive.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -31
- package/src/FeedProtocol.ts +1 -1
- package/src/FunctionProtocol.ts +9 -0
- package/src/TraceProtocol.ts +21 -0
- package/src/buf/proto/gen/dxos/client/queue_pb.ts +14 -8
- package/src/buf/proto/gen/dxos/client/services_pb.ts +115 -39
- package/src/buf/proto/gen/dxos/config_pb.ts +131 -1
- package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +8 -1
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +19 -3
- package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +38 -5
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +48 -2
- package/src/buf/proto/gen/dxos/iframe_pb.ts +1 -13
- package/src/buf/proto/gen/dxos/rpc_pb.ts +36 -7
- package/src/buf/proto/gen/dxos/tracing_pb.ts +11 -178
- package/src/edge/EdgeFunctionEnv.ts +53 -28
- package/src/edge/edge.ts +122 -1
- package/src/edge/index.ts +1 -0
- package/src/edge/registry.ts +164 -0
- package/src/errors/encoding.ts +0 -1
- package/src/errors/errors.ts +0 -1
- package/src/index.ts +1 -1
- package/src/proto/dxos/client/queue.proto +7 -4
- package/src/proto/dxos/client/services.proto +20 -1
- package/src/proto/dxos/config.proto +50 -1
- package/src/proto/dxos/echo/metadata.proto +3 -0
- package/src/proto/dxos/echo/service.proto +14 -1
- package/src/proto/dxos/edge/messenger.proto +10 -0
- package/src/proto/dxos/halo/credentials.proto +15 -0
- package/src/proto/dxos/iframe.proto +0 -3
- package/src/proto/dxos/rpc.proto +7 -0
- package/src/proto/dxos/tracing.proto +0 -40
- package/src/proto/gen/dxos/agent/dashboard.ts +3 -6
- package/src/proto/gen/dxos/agent/echoproxy.ts +1 -2
- package/src/proto/gen/dxos/agent/epoch.ts +1 -2
- package/src/proto/gen/dxos/agent/functions.ts +6 -12
- package/src/proto/gen/dxos/bot.ts +12 -24
- package/src/proto/gen/dxos/client/services.ts +1013 -1047
- package/src/proto/gen/dxos/config.ts +115 -100
- package/src/proto/gen/dxos/devtools/host.ts +48 -96
- package/src/proto/gen/dxos/devtools/swarm.ts +4 -8
- package/src/proto/gen/dxos/echo/blob.ts +1 -2
- package/src/proto/gen/dxos/echo/feed.ts +4 -8
- package/src/proto/gen/dxos/echo/filter.ts +2 -4
- package/src/proto/gen/dxos/echo/indexing.ts +2 -4
- package/src/proto/gen/dxos/echo/metadata.ts +12 -16
- package/src/proto/gen/dxos/echo/model/document.ts +11 -22
- package/src/proto/gen/dxos/echo/model/messenger.ts +1 -2
- package/src/proto/gen/dxos/echo/model/text.ts +2 -4
- package/src/proto/gen/dxos/echo/object.ts +6 -12
- package/src/proto/gen/dxos/echo/query.ts +4 -8
- package/src/proto/gen/dxos/echo/service.ts +36 -35
- package/src/proto/gen/dxos/echo/snapshot.ts +2 -4
- package/src/proto/gen/dxos/echo/timeframe.ts +2 -4
- package/src/proto/gen/dxos/edge/calls.ts +5 -10
- package/src/proto/gen/dxos/edge/messenger.ts +28 -10
- package/src/proto/gen/dxos/edge/signal.ts +7 -14
- package/src/proto/gen/dxos/error.ts +1 -2
- package/src/proto/gen/dxos/gravity.ts +10 -20
- package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -2
- package/src/proto/gen/dxos/halo/credentials/greet.ts +6 -12
- package/src/proto/gen/dxos/halo/credentials/identity.ts +2 -4
- package/src/proto/gen/dxos/halo/credentials.ts +35 -43
- package/src/proto/gen/dxos/halo/invitations.ts +13 -26
- package/src/proto/gen/dxos/halo/keyring.ts +1 -2
- package/src/proto/gen/dxos/halo/keys.ts +2 -4
- package/src/proto/gen/dxos/halo/signed.ts +4 -8
- package/src/proto/gen/dxos/iframe.ts +4 -18
- package/src/proto/gen/dxos/keys.ts +2 -4
- package/src/proto/gen/dxos/mesh/bridge.ts +12 -24
- package/src/proto/gen/dxos/mesh/broadcast.ts +1 -2
- package/src/proto/gen/dxos/mesh/messaging.ts +2 -4
- package/src/proto/gen/dxos/mesh/muxer.ts +5 -10
- package/src/proto/gen/dxos/mesh/presence.ts +1 -2
- package/src/proto/gen/dxos/mesh/protocol.ts +3 -6
- package/src/proto/gen/dxos/mesh/replicator.ts +2 -4
- package/src/proto/gen/dxos/mesh/signal.ts +9 -18
- package/src/proto/gen/dxos/mesh/swarm.ts +6 -12
- package/src/proto/gen/dxos/mesh/teleport/auth.ts +2 -4
- package/src/proto/gen/dxos/mesh/teleport/automerge.ts +2 -4
- package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +3 -6
- package/src/proto/gen/dxos/mesh/teleport/control.ts +3 -6
- package/src/proto/gen/dxos/mesh/teleport/gossip.ts +1 -2
- package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -2
- package/src/proto/gen/dxos/mesh/teleport/replicator.ts +5 -10
- package/src/proto/gen/dxos/mesh/teleport.ts +2 -4
- package/src/proto/gen/dxos/registry.ts +3 -6
- package/src/proto/gen/dxos/rpc.ts +24 -12
- package/src/proto/gen/dxos/service/agentmanager.ts +4 -8
- package/src/proto/gen/dxos/service/publisher.ts +5 -10
- package/src/proto/gen/dxos/service/supervisor.ts +12 -24
- package/src/proto/gen/dxos/service/tunnel.ts +3 -6
- package/src/proto/gen/dxos/tracing.ts +10 -96
- package/src/proto/gen/dxos/type.ts +12 -24
- package/src/proto/gen/dxos/value.ts +2 -4
- package/src/proto/gen/example/testing/data.ts +4 -8
- package/src/proto/gen/example/testing/rpc.ts +7 -14
- package/src/proto/gen/google/protobuf.ts +296 -10
- package/src/proto/gen/index.ts +32 -8
- package/src/space-archive.ts +70 -1
- package/dist/src/tracing.d.ts +0 -40
- package/dist/src/tracing.d.ts.map +0 -1
- package/dist/src/tracing.js +0 -50
- package/dist/src/tracing.js.map +0 -1
- package/src/tracing.ts +0 -86
|
@@ -13,1521 +13,1487 @@ import * as dxos_mesh_teleport_gossip from "../mesh/teleport/gossip.js";
|
|
|
13
13
|
import * as dxos_value from "../value.js";
|
|
14
14
|
/**
|
|
15
15
|
* Defined in:
|
|
16
|
-
* {@link file://./../../../dxos/client/
|
|
16
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
19
|
-
|
|
18
|
+
export declare enum SystemStatus {
|
|
19
|
+
INACTIVE = 0,
|
|
20
|
+
ACTIVE = 1
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
24
|
+
*/
|
|
25
|
+
export interface UpdateStatusRequest {
|
|
26
|
+
status: SystemStatus;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
30
|
+
*/
|
|
31
|
+
export interface QueryStatusRequest {
|
|
20
32
|
/**
|
|
21
33
|
* Options:
|
|
22
34
|
* - proto3_optional = true
|
|
23
35
|
*/
|
|
24
|
-
|
|
36
|
+
interval?: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
40
|
+
*/
|
|
41
|
+
export interface QueryStatusResponse {
|
|
42
|
+
status: SystemStatus;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
46
|
+
*/
|
|
47
|
+
export interface GetDiagnosticsRequest {
|
|
25
48
|
/**
|
|
26
|
-
*
|
|
49
|
+
* Options:
|
|
50
|
+
* - proto3_optional = true
|
|
27
51
|
*/
|
|
28
|
-
|
|
52
|
+
keys?: GetDiagnosticsRequest.KEY_OPTION;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace GetDiagnosticsRequest {
|
|
29
55
|
/**
|
|
30
|
-
*
|
|
56
|
+
* Defined in:
|
|
57
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
58
|
+
*/
|
|
59
|
+
enum KEY_OPTION {
|
|
60
|
+
NONE = 0,
|
|
61
|
+
TRUNCATE = 1,
|
|
62
|
+
HUMANIZE = 2
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
67
|
+
*/
|
|
68
|
+
export interface GetDiagnosticsResponse {
|
|
69
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
70
|
+
diagnostics: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
74
|
+
*/
|
|
75
|
+
export interface Platform {
|
|
76
|
+
type: Platform.PLATFORM_TYPE;
|
|
77
|
+
/**
|
|
78
|
+
* The User-Agent string from a browser
|
|
31
79
|
*
|
|
32
80
|
* Options:
|
|
33
81
|
* - proto3_optional = true
|
|
34
82
|
*/
|
|
35
|
-
|
|
83
|
+
userAgent?: string;
|
|
36
84
|
/**
|
|
37
|
-
*
|
|
85
|
+
* e.g process.platform from node, e.g. 'darwin', 'linux', 'win32'
|
|
38
86
|
*
|
|
39
87
|
* Options:
|
|
40
88
|
* - proto3_optional = true
|
|
41
89
|
*/
|
|
42
|
-
|
|
90
|
+
platform?: string;
|
|
43
91
|
/**
|
|
44
|
-
*
|
|
92
|
+
* the Node.JS arch string, e.g. 'arm64', 'x64'
|
|
45
93
|
*
|
|
46
94
|
* Options:
|
|
47
95
|
* - proto3_optional = true
|
|
48
96
|
*/
|
|
49
|
-
|
|
97
|
+
arch?: string;
|
|
50
98
|
/**
|
|
51
|
-
*
|
|
99
|
+
* the node.js version string
|
|
52
100
|
*
|
|
53
101
|
* Options:
|
|
54
102
|
* - proto3_optional = true
|
|
55
103
|
*/
|
|
56
|
-
|
|
104
|
+
runtime?: string;
|
|
57
105
|
/**
|
|
106
|
+
* the number of seconds the client has been up
|
|
107
|
+
*
|
|
58
108
|
* Options:
|
|
59
109
|
* - proto3_optional = true
|
|
60
110
|
*/
|
|
61
|
-
|
|
111
|
+
uptime?: number;
|
|
62
112
|
/**
|
|
113
|
+
* e.g. NodeJS.MemoryUsage, subject to change
|
|
114
|
+
*
|
|
63
115
|
* Options:
|
|
64
116
|
* - proto3_optional = true
|
|
65
117
|
*/
|
|
66
|
-
|
|
67
|
-
objectIds?: string[];
|
|
118
|
+
memory?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
68
119
|
}
|
|
69
|
-
|
|
70
|
-
* Defined in:
|
|
71
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
72
|
-
*/
|
|
73
|
-
export interface QueueQueryResult {
|
|
74
|
-
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
120
|
+
export declare namespace Platform {
|
|
75
121
|
/**
|
|
76
|
-
*
|
|
122
|
+
* Defined in:
|
|
123
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
77
124
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*/
|
|
85
|
-
export interface QueryQueueRequest {
|
|
86
|
-
query: QueueQuery;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Defined in:
|
|
90
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
91
|
-
*/
|
|
92
|
-
export interface InsertIntoQueueRequest {
|
|
93
|
-
subspaceTag: string;
|
|
94
|
-
spaceId: string;
|
|
95
|
-
queueId: string;
|
|
96
|
-
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
125
|
+
enum PLATFORM_TYPE {
|
|
126
|
+
BROWSER = 0,
|
|
127
|
+
SHARED_WORKER = 1,
|
|
128
|
+
NODE = 2,
|
|
129
|
+
DEDICATED_WORKER = 3
|
|
130
|
+
}
|
|
97
131
|
}
|
|
98
132
|
/**
|
|
99
133
|
* Defined in:
|
|
100
|
-
* {@link file://./../../../dxos/client/
|
|
134
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
101
135
|
*/
|
|
102
|
-
export interface
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
136
|
+
export interface SystemService {
|
|
137
|
+
/**
|
|
138
|
+
* Get the static config of the client.
|
|
139
|
+
*/
|
|
140
|
+
getConfig: (request: void, options?: RequestOptions) => Promise<dxos_config.Config>;
|
|
141
|
+
/**
|
|
142
|
+
* Get the diagnostics snapshot.
|
|
143
|
+
*/
|
|
144
|
+
getDiagnostics: (request: GetDiagnosticsRequest, options?: RequestOptions) => Promise<GetDiagnosticsResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* Update the status of the client. Used to re-activate an inactive client.
|
|
147
|
+
*/
|
|
148
|
+
updateStatus: (request: UpdateStatusRequest, options?: RequestOptions) => Promise<void>;
|
|
149
|
+
/**
|
|
150
|
+
* Stream the status of the client.
|
|
151
|
+
*/
|
|
152
|
+
queryStatus: (request: QueryStatusRequest, options?: RequestOptions) => Stream<QueryStatusResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* Reset the client.
|
|
155
|
+
*/
|
|
156
|
+
reset: (request: void, options?: RequestOptions) => Promise<void>;
|
|
157
|
+
/**
|
|
158
|
+
* Get platform Information
|
|
159
|
+
*/
|
|
160
|
+
getPlatform: (request: void, options?: RequestOptions) => Promise<Platform>;
|
|
107
161
|
}
|
|
108
162
|
/**
|
|
109
|
-
* Defined in:
|
|
110
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
163
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
111
164
|
*/
|
|
112
|
-
export interface
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
queueId: string;
|
|
165
|
+
export interface Identity {
|
|
166
|
+
did: string;
|
|
167
|
+
identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
116
168
|
/**
|
|
117
|
-
* Whether to push local changes to the server. Defaults to true.
|
|
118
|
-
*
|
|
119
169
|
* Options:
|
|
120
170
|
* - proto3_optional = true
|
|
121
171
|
*/
|
|
122
|
-
|
|
172
|
+
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
123
173
|
/**
|
|
124
|
-
* Whether to pull remote changes from the server. Defaults to true.
|
|
125
|
-
*
|
|
126
174
|
* Options:
|
|
127
175
|
* - proto3_optional = true
|
|
128
176
|
*/
|
|
129
|
-
|
|
177
|
+
profile?: dxos_halo_credentials.ProfileDocument;
|
|
130
178
|
}
|
|
131
179
|
/**
|
|
132
|
-
* Defined in:
|
|
133
|
-
* {@link file://./../../../dxos/client/queue.proto}
|
|
180
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
134
181
|
*/
|
|
135
|
-
export interface
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
182
|
+
export interface RequestRecoveryChallengeResponse {
|
|
183
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
184
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
185
|
+
challenge: string;
|
|
140
186
|
}
|
|
141
187
|
/**
|
|
142
|
-
* Defined in:
|
|
143
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
188
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
144
189
|
*/
|
|
145
|
-
export interface
|
|
146
|
-
|
|
147
|
-
|
|
190
|
+
export interface RecoverIdentityRequest {
|
|
191
|
+
recoveryCode?: string;
|
|
192
|
+
external?: RecoverIdentityRequest.ExternalSignature;
|
|
193
|
+
token?: string;
|
|
148
194
|
}
|
|
149
|
-
export declare namespace
|
|
195
|
+
export declare namespace RecoverIdentityRequest {
|
|
150
196
|
/**
|
|
151
|
-
* Defined in:
|
|
152
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
197
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
153
198
|
*/
|
|
154
|
-
interface
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
key?: string;
|
|
199
|
+
interface ExternalSignature {
|
|
200
|
+
lookupKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
201
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
202
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
203
|
+
signature: Uint8Array;
|
|
160
204
|
/**
|
|
161
205
|
* Options:
|
|
162
206
|
* - proto3_optional = true
|
|
163
207
|
*/
|
|
164
|
-
|
|
208
|
+
clientDataJson?: Uint8Array;
|
|
165
209
|
/**
|
|
166
210
|
* Options:
|
|
167
211
|
* - proto3_optional = true
|
|
168
212
|
*/
|
|
169
|
-
|
|
213
|
+
authenticatorData?: Uint8Array;
|
|
170
214
|
}
|
|
171
215
|
}
|
|
172
216
|
/**
|
|
173
|
-
* Defined in:
|
|
174
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
217
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
175
218
|
*/
|
|
176
|
-
export interface
|
|
219
|
+
export interface RecoveryCredentialData {
|
|
177
220
|
/**
|
|
178
|
-
*
|
|
179
|
-
* - proto3_optional = true
|
|
221
|
+
* Recovery key used to validate recovery challenge signature.
|
|
180
222
|
*/
|
|
181
|
-
|
|
223
|
+
recoveryKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
224
|
+
/**
|
|
225
|
+
* Public key used to identify the recovery key.
|
|
226
|
+
*/
|
|
227
|
+
lookupKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
228
|
+
/**
|
|
229
|
+
* Algorithm used to generate the recovery key.
|
|
230
|
+
*/
|
|
231
|
+
algorithm: string;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
235
|
+
*/
|
|
236
|
+
export interface CreateRecoveryCredentialRequest {
|
|
182
237
|
/**
|
|
238
|
+
* If not provided, a new key will be generated.
|
|
239
|
+
*
|
|
183
240
|
* Options:
|
|
184
241
|
* - proto3_optional = true
|
|
185
242
|
*/
|
|
186
|
-
|
|
243
|
+
data?: RecoveryCredentialData;
|
|
187
244
|
}
|
|
188
245
|
/**
|
|
189
|
-
* Defined in:
|
|
190
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
246
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
191
247
|
*/
|
|
192
|
-
export interface
|
|
248
|
+
export interface CreateRecoveryCredentialResponse {
|
|
193
249
|
/**
|
|
194
250
|
* Options:
|
|
195
251
|
* - proto3_optional = true
|
|
196
252
|
*/
|
|
197
|
-
|
|
253
|
+
recoveryCode?: string;
|
|
198
254
|
}
|
|
199
255
|
/**
|
|
200
|
-
* Defined in:
|
|
201
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
256
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
202
257
|
*/
|
|
203
|
-
export interface
|
|
258
|
+
export interface QueryIdentityResponse {
|
|
204
259
|
/**
|
|
205
260
|
* Options:
|
|
206
261
|
* - proto3_optional = true
|
|
207
262
|
*/
|
|
208
|
-
|
|
263
|
+
identity?: Identity;
|
|
209
264
|
}
|
|
210
265
|
/**
|
|
211
|
-
* Defined in:
|
|
212
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
266
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
213
267
|
*/
|
|
214
|
-
export interface
|
|
215
|
-
|
|
216
|
-
|
|
268
|
+
export interface SignPresentationRequest {
|
|
269
|
+
presentation: dxos_halo_credentials.Presentation;
|
|
270
|
+
/**
|
|
271
|
+
* Options:
|
|
272
|
+
* - proto3_optional = true
|
|
273
|
+
*/
|
|
274
|
+
nonce?: Uint8Array;
|
|
217
275
|
}
|
|
218
276
|
/**
|
|
219
|
-
* Defined in:
|
|
220
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
277
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
221
278
|
*/
|
|
222
|
-
export
|
|
223
|
-
NONE = 0,
|
|
224
|
-
TRACE = 5,
|
|
225
|
-
DEBUG = 10,
|
|
226
|
-
VERBOSE = 11,
|
|
227
|
-
INFO = 12,
|
|
228
|
-
WARN = 13,
|
|
229
|
-
ERROR = 14
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Defined in:
|
|
233
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
234
|
-
*/
|
|
235
|
-
export interface QueryLogsRequest {
|
|
236
|
-
filters?: QueryLogsRequest.Filter[];
|
|
279
|
+
export interface CreateIdentityRequest {
|
|
237
280
|
/**
|
|
238
281
|
* Options:
|
|
239
282
|
* - proto3_optional = true
|
|
240
283
|
*/
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
export declare namespace QueryLogsRequest {
|
|
244
|
-
/**
|
|
245
|
-
* Defined in:
|
|
246
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
247
|
-
*/
|
|
248
|
-
enum MatchingOptions {
|
|
249
|
-
NONE = 0,
|
|
250
|
-
INCLUSIVE = 1,
|
|
251
|
-
EXPLICIT = 2
|
|
252
|
-
}
|
|
284
|
+
profile?: dxos_halo_credentials.ProfileDocument;
|
|
253
285
|
/**
|
|
254
|
-
*
|
|
255
|
-
*
|
|
286
|
+
* Options:
|
|
287
|
+
* - proto3_optional = true
|
|
256
288
|
*/
|
|
257
|
-
|
|
258
|
-
level: LogLevel;
|
|
259
|
-
/**
|
|
260
|
-
* Options:
|
|
261
|
-
* - proto3_optional = true
|
|
262
|
-
*/
|
|
263
|
-
pattern?: string;
|
|
264
|
-
}
|
|
289
|
+
deviceProfile?: dxos_halo_credentials.DeviceProfileDocument;
|
|
265
290
|
}
|
|
266
291
|
/**
|
|
267
292
|
* Defined in:
|
|
268
|
-
* {@link file://./../../../dxos/client/
|
|
293
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
269
294
|
*/
|
|
270
|
-
export interface
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
295
|
+
export interface IdentityService {
|
|
296
|
+
createIdentity: (request: CreateIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
297
|
+
requestRecoveryChallenge: (request: void, options?: RequestOptions) => Promise<RequestRecoveryChallengeResponse>;
|
|
298
|
+
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
299
|
+
createRecoveryCredential: (request: CreateRecoveryCredentialRequest, options?: RequestOptions) => Promise<CreateRecoveryCredentialResponse>;
|
|
300
|
+
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
301
|
+
updateProfile: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
302
|
+
signPresentation: (request: SignPresentationRequest, options?: RequestOptions) => Promise<dxos_halo_credentials.Presentation>;
|
|
303
|
+
createAuthCredential: (request: void, options?: RequestOptions) => Promise<dxos_halo_credentials.Credential>;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Defined in:
|
|
307
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
308
|
+
*/
|
|
309
|
+
export declare enum DeviceKind {
|
|
310
|
+
CURRENT = 0,
|
|
311
|
+
TRUSTED = 1
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
315
|
+
*/
|
|
316
|
+
export interface Device {
|
|
317
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
318
|
+
kind: DeviceKind;
|
|
283
319
|
/**
|
|
284
320
|
* Options:
|
|
285
321
|
* - proto3_optional = true
|
|
286
322
|
*/
|
|
287
|
-
|
|
288
|
-
|
|
323
|
+
profile?: dxos_halo_credentials.DeviceProfileDocument;
|
|
324
|
+
presence: Device.PresenceState;
|
|
289
325
|
}
|
|
290
|
-
export declare namespace
|
|
326
|
+
export declare namespace Device {
|
|
291
327
|
/**
|
|
292
328
|
* Defined in:
|
|
293
|
-
* {@link file://./../../../dxos/client/
|
|
329
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
294
330
|
*/
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
* Options:
|
|
300
|
-
* - proto3_optional = true
|
|
301
|
-
*/
|
|
302
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
303
|
-
/**
|
|
304
|
-
* Options:
|
|
305
|
-
* - proto3_optional = true
|
|
306
|
-
*/
|
|
307
|
-
resourceId?: number;
|
|
331
|
+
enum PresenceState {
|
|
332
|
+
OFFLINE = 0,
|
|
333
|
+
ONLINE = 1,
|
|
334
|
+
REMOVED = 2
|
|
308
335
|
}
|
|
309
336
|
}
|
|
310
337
|
/**
|
|
311
|
-
* Defined in:
|
|
312
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
338
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
313
339
|
*/
|
|
314
|
-
export interface
|
|
315
|
-
|
|
316
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
317
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
340
|
+
export interface QueryDevicesResponse {
|
|
341
|
+
devices?: Device[];
|
|
318
342
|
}
|
|
319
343
|
/**
|
|
320
344
|
* Defined in:
|
|
321
|
-
* {@link file://./../../../dxos/client/
|
|
345
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
322
346
|
*/
|
|
323
|
-
export interface
|
|
324
|
-
|
|
347
|
+
export interface DevicesService {
|
|
348
|
+
updateDevice: (request: dxos_halo_credentials.DeviceProfileDocument, options?: RequestOptions) => Promise<Device>;
|
|
349
|
+
queryDevices: (request: void, options?: RequestOptions) => Stream<QueryDevicesResponse>;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
353
|
+
*/
|
|
354
|
+
export interface Contact {
|
|
355
|
+
identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
325
356
|
/**
|
|
326
357
|
* Options:
|
|
327
358
|
* - proto3_optional = true
|
|
328
359
|
*/
|
|
329
|
-
|
|
360
|
+
profile?: dxos_halo_credentials.ProfileDocument;
|
|
361
|
+
commonSpaces?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
330
362
|
}
|
|
331
363
|
/**
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
* Defined in:
|
|
335
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
364
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
336
365
|
*/
|
|
337
|
-
export
|
|
338
|
-
|
|
339
|
-
SPACE_INACTIVE = 2,
|
|
340
|
-
SPACE_ACTIVE = 6,
|
|
341
|
-
SPACE_CLOSED = 1,
|
|
342
|
-
SPACE_CONTROL_ONLY = 7,
|
|
343
|
-
SPACE_INITIALIZING = 4,
|
|
344
|
-
SPACE_READY = 3,
|
|
345
|
-
SPACE_ERROR = 5,
|
|
346
|
-
SPACE_REQUIRES_MIGRATION = 8
|
|
366
|
+
export interface ContactBook {
|
|
367
|
+
contacts?: Contact[];
|
|
347
368
|
}
|
|
348
369
|
/**
|
|
349
|
-
* Represents the invitation state passed between client and service.
|
|
350
|
-
*
|
|
351
370
|
* Defined in:
|
|
352
|
-
* {@link file://./../../../dxos/client/
|
|
371
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
353
372
|
*/
|
|
354
|
-
export interface
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
* How the invitation is authenticated.
|
|
369
|
-
*/
|
|
370
|
-
authMethod: Invitation.AuthMethod;
|
|
371
|
-
/**
|
|
372
|
-
* Swarm rendezvous (random).
|
|
373
|
-
*/
|
|
374
|
-
swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
373
|
+
export interface ContactsService {
|
|
374
|
+
getContacts: (request: void, options?: RequestOptions) => Promise<ContactBook>;
|
|
375
|
+
queryContacts: (request: void, options?: RequestOptions) => Stream<ContactBook>;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
379
|
+
*/
|
|
380
|
+
export interface SpaceMember {
|
|
381
|
+
identity: Identity;
|
|
382
|
+
presence: SpaceMember.PresenceState;
|
|
383
|
+
peerStates?: dxos_mesh_presence.PeerState[];
|
|
384
|
+
role: dxos_halo_credentials.SpaceMember.Role;
|
|
385
|
+
}
|
|
386
|
+
export declare namespace SpaceMember {
|
|
375
387
|
/**
|
|
376
|
-
*
|
|
388
|
+
* Defined in:
|
|
389
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
377
390
|
*/
|
|
378
|
-
|
|
391
|
+
enum PresenceState {
|
|
392
|
+
OFFLINE = 0,
|
|
393
|
+
ONLINE = 1
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
398
|
+
*/
|
|
399
|
+
export interface Space {
|
|
400
|
+
id: string;
|
|
401
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
402
|
+
state: SpaceState;
|
|
379
403
|
/**
|
|
380
|
-
* Timeout for guest to complete invitation once connected (ms).
|
|
381
|
-
*
|
|
382
404
|
* Options:
|
|
383
405
|
* - proto3_optional = true
|
|
384
406
|
*/
|
|
385
|
-
|
|
407
|
+
pipeline?: Space.PipelineState;
|
|
386
408
|
/**
|
|
387
|
-
* Guest's identity.
|
|
388
|
-
*
|
|
389
409
|
* Options:
|
|
390
410
|
* - proto3_optional = true
|
|
391
411
|
*/
|
|
392
|
-
|
|
412
|
+
error?: dxos_error.Error;
|
|
393
413
|
/**
|
|
394
|
-
* Space to join (only present if kind is SPACE).
|
|
395
|
-
*
|
|
396
414
|
* Options:
|
|
397
415
|
* - proto3_optional = true
|
|
398
416
|
*/
|
|
399
|
-
|
|
417
|
+
edgeReplication?: dxos_echo_metadata.EdgeReplicationSetting;
|
|
418
|
+
tags?: string[];
|
|
419
|
+
membershipPolicy: dxos_halo_credentials.MembershipPolicy;
|
|
420
|
+
members?: SpaceMember[];
|
|
400
421
|
/**
|
|
401
|
-
* Authentication code created by host (only present if auth_method is SHARED_SECRET).
|
|
402
|
-
*
|
|
403
422
|
* Options:
|
|
404
423
|
* - proto3_optional = true
|
|
405
424
|
*/
|
|
406
|
-
|
|
425
|
+
creator?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
407
426
|
/**
|
|
408
|
-
* Path or identifier to navigate to after successful authentication.
|
|
409
|
-
*
|
|
410
427
|
* Options:
|
|
411
428
|
* - proto3_optional = true
|
|
412
429
|
*/
|
|
413
|
-
|
|
430
|
+
cache?: dxos_echo_metadata.SpaceCache;
|
|
431
|
+
metrics: Space.Metrics;
|
|
432
|
+
}
|
|
433
|
+
export declare namespace Space {
|
|
414
434
|
/**
|
|
415
|
-
*
|
|
416
|
-
*
|
|
417
|
-
* Options:
|
|
418
|
-
* - proto3_optional = true
|
|
435
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
419
436
|
*/
|
|
420
|
-
|
|
437
|
+
interface Metrics {
|
|
438
|
+
/**
|
|
439
|
+
* Options:
|
|
440
|
+
* - proto3_optional = true
|
|
441
|
+
*/
|
|
442
|
+
open?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
443
|
+
/**
|
|
444
|
+
* Options:
|
|
445
|
+
* - proto3_optional = true
|
|
446
|
+
*/
|
|
447
|
+
pipelineInitBegin?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
448
|
+
/**
|
|
449
|
+
* Options:
|
|
450
|
+
* - proto3_optional = true
|
|
451
|
+
*/
|
|
452
|
+
controlPipelineReady?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
453
|
+
/**
|
|
454
|
+
* Options:
|
|
455
|
+
* - proto3_optional = true
|
|
456
|
+
*/
|
|
457
|
+
dataPipelineOpen?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
458
|
+
/**
|
|
459
|
+
* Options:
|
|
460
|
+
* - proto3_optional = true
|
|
461
|
+
*/
|
|
462
|
+
dataPipelineReady?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
463
|
+
/**
|
|
464
|
+
* Options:
|
|
465
|
+
* - proto3_optional = true
|
|
466
|
+
*/
|
|
467
|
+
ready?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
468
|
+
}
|
|
421
469
|
/**
|
|
422
|
-
*
|
|
423
|
-
* - proto3_optional = true
|
|
470
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
424
471
|
*/
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
472
|
+
interface PipelineState {
|
|
473
|
+
/**
|
|
474
|
+
* Options:
|
|
475
|
+
* - proto3_optional = true
|
|
476
|
+
*/
|
|
477
|
+
controlFeedKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
478
|
+
/**
|
|
479
|
+
* Options:
|
|
480
|
+
* - proto3_optional = true
|
|
481
|
+
*/
|
|
482
|
+
dataFeedKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
483
|
+
/**
|
|
484
|
+
* TODO(burdon): Normalize _key suffix.
|
|
485
|
+
*/
|
|
486
|
+
controlFeeds?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
487
|
+
dataFeeds?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
488
|
+
/**
|
|
489
|
+
* Last processed epoch. Might now have been applied yet.
|
|
490
|
+
*
|
|
491
|
+
* Options:
|
|
492
|
+
* - proto3_optional = true
|
|
493
|
+
*/
|
|
494
|
+
currentEpoch?: dxos_halo_credentials.Credential;
|
|
495
|
+
/**
|
|
496
|
+
* Epoch that is currently applied.
|
|
497
|
+
*
|
|
498
|
+
* Options:
|
|
499
|
+
* - proto3_optional = true
|
|
500
|
+
*/
|
|
501
|
+
appliedEpoch?: dxos_halo_credentials.Credential;
|
|
502
|
+
/**
|
|
503
|
+
* Mutations already processed.
|
|
504
|
+
*
|
|
505
|
+
* Options:
|
|
506
|
+
* - proto3_optional = true
|
|
507
|
+
*/
|
|
508
|
+
currentControlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
509
|
+
/**
|
|
510
|
+
* Minimum timeframe to consider the state to be up-to-date.
|
|
511
|
+
*
|
|
512
|
+
* Options:
|
|
513
|
+
* - proto3_optional = true
|
|
514
|
+
*/
|
|
515
|
+
targetControlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
516
|
+
/**
|
|
517
|
+
* All mutations stored in feeds.
|
|
518
|
+
*
|
|
519
|
+
* Options:
|
|
520
|
+
* - proto3_optional = true
|
|
521
|
+
*/
|
|
522
|
+
totalControlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
523
|
+
/**
|
|
524
|
+
* All mutations known to exist on the network.
|
|
525
|
+
*
|
|
526
|
+
* Options:
|
|
527
|
+
* - proto3_optional = true
|
|
528
|
+
*/
|
|
529
|
+
knownControlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
530
|
+
/**
|
|
531
|
+
* Start timeframe of the pipeline.
|
|
532
|
+
*
|
|
533
|
+
* Options:
|
|
534
|
+
* - proto3_optional = true
|
|
535
|
+
*/
|
|
536
|
+
startDataTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
537
|
+
/**
|
|
538
|
+
* Mutations already processed.
|
|
539
|
+
*
|
|
540
|
+
* Options:
|
|
541
|
+
* - proto3_optional = true
|
|
542
|
+
*/
|
|
543
|
+
currentDataTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
544
|
+
/**
|
|
545
|
+
* Minimum timeframe to consider the state to be up-to-date.
|
|
546
|
+
*
|
|
547
|
+
* Options:
|
|
548
|
+
* - proto3_optional = true
|
|
549
|
+
*/
|
|
550
|
+
targetDataTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
551
|
+
/**
|
|
552
|
+
* All mutations stored in feeds.
|
|
553
|
+
*
|
|
554
|
+
* Options:
|
|
555
|
+
* - proto3_optional = true
|
|
556
|
+
*/
|
|
557
|
+
totalDataTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
558
|
+
/**
|
|
559
|
+
* All mutations known to exist on the network.
|
|
560
|
+
*
|
|
561
|
+
* Options:
|
|
562
|
+
* - proto3_optional = true
|
|
563
|
+
*/
|
|
564
|
+
knownDataTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
565
|
+
/**
|
|
566
|
+
* URL of the current space root automerge document.
|
|
567
|
+
*
|
|
568
|
+
* Options:
|
|
569
|
+
* - proto3_optional = true
|
|
570
|
+
*/
|
|
571
|
+
spaceRootUrl?: string;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
576
|
+
*/
|
|
577
|
+
export interface CreateSpaceRequest {
|
|
578
|
+
tags?: string[];
|
|
579
|
+
membershipPolicy: dxos_halo_credentials.MembershipPolicy;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
583
|
+
*/
|
|
584
|
+
export interface UpdateSpaceRequest {
|
|
585
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
431
586
|
/**
|
|
432
|
-
*
|
|
587
|
+
* Allowed values: ACTIVE, INACTIVE.
|
|
433
588
|
*
|
|
434
589
|
* Options:
|
|
435
590
|
* - proto3_optional = true
|
|
436
591
|
*/
|
|
437
|
-
|
|
592
|
+
state?: SpaceState;
|
|
438
593
|
/**
|
|
439
|
-
* Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
|
|
440
|
-
*
|
|
441
594
|
* Options:
|
|
442
595
|
* - proto3_optional = true
|
|
443
596
|
*/
|
|
444
|
-
|
|
597
|
+
edgeReplication?: dxos_echo_metadata.EdgeReplicationSetting;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
601
|
+
*/
|
|
602
|
+
export interface QuerySpacesResponse {
|
|
603
|
+
spaces?: Space[];
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
607
|
+
*/
|
|
608
|
+
export interface PostMessageRequest {
|
|
609
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
610
|
+
channel: string;
|
|
611
|
+
message: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
615
|
+
*/
|
|
616
|
+
export interface SubscribeMessagesRequest {
|
|
617
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
618
|
+
channel: string;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
622
|
+
*/
|
|
623
|
+
export interface WriteCredentialsRequest {
|
|
624
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
625
|
+
credentials?: dxos_halo_credentials.Credential[];
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
629
|
+
*/
|
|
630
|
+
export interface QueryCredentialsRequest {
|
|
631
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
445
632
|
/**
|
|
446
|
-
* Present on Type.DELEGATED invitations.
|
|
447
|
-
*
|
|
448
633
|
* Options:
|
|
449
634
|
* - proto3_optional = true
|
|
450
635
|
*/
|
|
451
|
-
|
|
636
|
+
noTail?: boolean;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
640
|
+
*/
|
|
641
|
+
export interface CreateEpochRequest {
|
|
642
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
452
643
|
/**
|
|
453
|
-
* Role of the admitted member, defaults to ADMIN.
|
|
454
|
-
*
|
|
455
644
|
* Options:
|
|
456
645
|
* - proto3_optional = true
|
|
457
646
|
*/
|
|
458
|
-
|
|
647
|
+
migration?: CreateEpochRequest.Migration;
|
|
459
648
|
/**
|
|
460
|
-
*
|
|
649
|
+
* For REPLACE_AUTOMERGE_ROOT migration.
|
|
461
650
|
*
|
|
462
651
|
* Options:
|
|
463
652
|
* - proto3_optional = true
|
|
464
653
|
*/
|
|
465
|
-
|
|
654
|
+
automergeRootUrl?: string;
|
|
466
655
|
}
|
|
467
|
-
export declare namespace
|
|
468
|
-
/**
|
|
469
|
-
* Defined in:
|
|
470
|
-
* {@link file://./../../../dxos/client/invitation.proto}
|
|
471
|
-
*/
|
|
472
|
-
enum Type {
|
|
473
|
-
INTERACTIVE = 0,
|
|
474
|
-
DELEGATED = 1,
|
|
475
|
-
MULTIUSE = 2
|
|
476
|
-
}
|
|
656
|
+
export declare namespace CreateEpochRequest {
|
|
477
657
|
/**
|
|
478
658
|
* Defined in:
|
|
479
|
-
* {@link file://./../../../dxos/client/
|
|
659
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
480
660
|
*/
|
|
481
|
-
enum
|
|
482
|
-
|
|
483
|
-
|
|
661
|
+
enum Migration {
|
|
662
|
+
NONE = 0,
|
|
663
|
+
INIT_AUTOMERGE = 1,
|
|
664
|
+
PRUNE_AUTOMERGE_ROOT_HISTORY = 2,
|
|
665
|
+
FRAGMENT_AUTOMERGE_ROOT = 3,
|
|
666
|
+
REPLACE_AUTOMERGE_ROOT = 4,
|
|
667
|
+
MIGRATE_REFERENCES_TO_DXN = 5
|
|
484
668
|
}
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
672
|
+
*/
|
|
673
|
+
export interface CreateEpochResponse {
|
|
485
674
|
/**
|
|
486
|
-
*
|
|
487
|
-
*
|
|
675
|
+
* Credential of the new epoch.
|
|
676
|
+
*
|
|
677
|
+
* Options:
|
|
678
|
+
* - proto3_optional = true
|
|
488
679
|
*/
|
|
489
|
-
|
|
490
|
-
NONE = 0,
|
|
491
|
-
SHARED_SECRET = 1,
|
|
492
|
-
KNOWN_PUBLIC_KEY = 2
|
|
493
|
-
}
|
|
680
|
+
epochCredential?: dxos_halo_credentials.Credential;
|
|
494
681
|
/**
|
|
495
|
-
*
|
|
496
|
-
*
|
|
682
|
+
* Control pipeline timeframe.
|
|
683
|
+
*
|
|
684
|
+
* Options:
|
|
685
|
+
* - proto3_optional = true
|
|
497
686
|
*/
|
|
498
|
-
|
|
499
|
-
INIT = 0,
|
|
500
|
-
CONNECTING = 1,
|
|
501
|
-
CONNECTED = 2,
|
|
502
|
-
READY_FOR_AUTHENTICATION = 3,
|
|
503
|
-
AUTHENTICATING = 4,
|
|
504
|
-
SUCCESS = 5,
|
|
505
|
-
CANCELLED = 6,
|
|
506
|
-
TIMEOUT = 7,
|
|
507
|
-
ERROR = 8,
|
|
508
|
-
EXPIRED = 9
|
|
509
|
-
}
|
|
687
|
+
controlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
510
688
|
}
|
|
511
689
|
/**
|
|
512
|
-
* Defined in:
|
|
513
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
690
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
514
691
|
*/
|
|
515
|
-
export
|
|
516
|
-
|
|
517
|
-
|
|
692
|
+
export interface UpdateMemberRoleRequest {
|
|
693
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
694
|
+
memberKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
695
|
+
newRole: dxos_halo_credentials.SpaceMember.Role;
|
|
518
696
|
}
|
|
519
697
|
/**
|
|
520
|
-
* Defined in:
|
|
521
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
698
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
522
699
|
*/
|
|
523
|
-
export interface
|
|
524
|
-
|
|
700
|
+
export interface AdmitContactRequest {
|
|
701
|
+
contact: Contact;
|
|
702
|
+
role: dxos_halo_credentials.SpaceMember.Role;
|
|
703
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
525
704
|
}
|
|
526
705
|
/**
|
|
527
|
-
* Defined in:
|
|
528
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
706
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
529
707
|
*/
|
|
530
|
-
export interface
|
|
531
|
-
|
|
532
|
-
* Options:
|
|
533
|
-
* - proto3_optional = true
|
|
534
|
-
*/
|
|
535
|
-
interval?: number;
|
|
708
|
+
export interface ContactAdmission {
|
|
709
|
+
credential: dxos_halo_credentials.Credential;
|
|
536
710
|
}
|
|
537
711
|
/**
|
|
538
|
-
* Defined in:
|
|
539
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
712
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
540
713
|
*/
|
|
541
|
-
export interface
|
|
542
|
-
|
|
714
|
+
export interface JoinSpaceResponse {
|
|
715
|
+
space: Space;
|
|
543
716
|
}
|
|
544
717
|
/**
|
|
545
|
-
* Defined in:
|
|
546
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
718
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
547
719
|
*/
|
|
548
|
-
export interface
|
|
720
|
+
export interface JoinBySpaceKeyRequest {
|
|
721
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
725
|
+
*/
|
|
726
|
+
export interface SpaceArchive {
|
|
727
|
+
filename: string;
|
|
728
|
+
contents: Uint8Array;
|
|
549
729
|
/**
|
|
550
730
|
* Options:
|
|
551
731
|
* - proto3_optional = true
|
|
552
732
|
*/
|
|
553
|
-
|
|
733
|
+
format?: SpaceArchive.Format;
|
|
554
734
|
}
|
|
555
|
-
export declare namespace
|
|
735
|
+
export declare namespace SpaceArchive {
|
|
556
736
|
/**
|
|
557
737
|
* Defined in:
|
|
558
738
|
* {@link file://./../../../dxos/client/services.proto}
|
|
559
739
|
*/
|
|
560
|
-
enum
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
HUMANIZE = 2
|
|
740
|
+
enum Format {
|
|
741
|
+
BINARY = 0,
|
|
742
|
+
JSON = 1
|
|
564
743
|
}
|
|
565
744
|
}
|
|
566
745
|
/**
|
|
567
|
-
* Defined in:
|
|
568
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
569
|
-
*/
|
|
570
|
-
export interface GetDiagnosticsResponse {
|
|
571
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
572
|
-
diagnostics: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
573
|
-
}
|
|
574
|
-
/**
|
|
575
|
-
* Defined in:
|
|
576
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
746
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
577
747
|
*/
|
|
578
|
-
export interface
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* The User-Agent string from a browser
|
|
582
|
-
*
|
|
583
|
-
* Options:
|
|
584
|
-
* - proto3_optional = true
|
|
585
|
-
*/
|
|
586
|
-
userAgent?: string;
|
|
587
|
-
/**
|
|
588
|
-
* e.g process.platform from node, e.g. 'darwin', 'linux', 'win32'
|
|
589
|
-
*
|
|
590
|
-
* Options:
|
|
591
|
-
* - proto3_optional = true
|
|
592
|
-
*/
|
|
593
|
-
platform?: string;
|
|
594
|
-
/**
|
|
595
|
-
* the Node.JS arch string, e.g. 'arm64', 'x64'
|
|
596
|
-
*
|
|
597
|
-
* Options:
|
|
598
|
-
* - proto3_optional = true
|
|
599
|
-
*/
|
|
600
|
-
arch?: string;
|
|
601
|
-
/**
|
|
602
|
-
* the node.js version string
|
|
603
|
-
*
|
|
604
|
-
* Options:
|
|
605
|
-
* - proto3_optional = true
|
|
606
|
-
*/
|
|
607
|
-
runtime?: string;
|
|
748
|
+
export interface ExportSpaceRequest {
|
|
749
|
+
spaceId: string;
|
|
608
750
|
/**
|
|
609
|
-
* the number of seconds the client has been up
|
|
610
|
-
*
|
|
611
751
|
* Options:
|
|
612
752
|
* - proto3_optional = true
|
|
613
753
|
*/
|
|
614
|
-
|
|
754
|
+
format?: SpaceArchive.Format;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
758
|
+
*/
|
|
759
|
+
export interface ExportSpaceResponse {
|
|
760
|
+
archive: SpaceArchive;
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
764
|
+
*/
|
|
765
|
+
export interface ImportSpaceRequest {
|
|
766
|
+
archive: SpaceArchive;
|
|
615
767
|
/**
|
|
616
|
-
*
|
|
617
|
-
*
|
|
618
|
-
* Options:
|
|
619
|
-
* - proto3_optional = true
|
|
768
|
+
* Immutable tags to set on the imported space at creation time.
|
|
620
769
|
*/
|
|
621
|
-
|
|
770
|
+
tags?: string[];
|
|
622
771
|
}
|
|
623
|
-
|
|
772
|
+
/**
|
|
773
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
774
|
+
*/
|
|
775
|
+
export interface ImportSpaceResponse {
|
|
624
776
|
/**
|
|
625
|
-
*
|
|
626
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
777
|
+
* the ID of the new space.
|
|
627
778
|
*/
|
|
628
|
-
|
|
629
|
-
BROWSER = 0,
|
|
630
|
-
SHARED_WORKER = 1,
|
|
631
|
-
NODE = 2,
|
|
632
|
-
DEDICATED_WORKER = 3
|
|
633
|
-
}
|
|
779
|
+
newSpaceId: string;
|
|
634
780
|
}
|
|
635
781
|
/**
|
|
636
782
|
* Defined in:
|
|
637
783
|
* {@link file://./../../../dxos/client/services.proto}
|
|
638
784
|
*/
|
|
639
|
-
export interface
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
*/
|
|
647
|
-
getDiagnostics: (request: GetDiagnosticsRequest, options?: RequestOptions) => Promise<GetDiagnosticsResponse>;
|
|
785
|
+
export interface SpacesService {
|
|
786
|
+
createSpace: (request: CreateSpaceRequest, options?: RequestOptions) => Promise<Space>;
|
|
787
|
+
updateSpace: (request: UpdateSpaceRequest, options?: RequestOptions) => Promise<void>;
|
|
788
|
+
querySpaces: (request: void, options?: RequestOptions) => Stream<QuerySpacesResponse>;
|
|
789
|
+
updateMemberRole: (request: UpdateMemberRoleRequest, options?: RequestOptions) => Promise<void>;
|
|
790
|
+
admitContact: (request: AdmitContactRequest, options?: RequestOptions) => Promise<void>;
|
|
791
|
+
joinBySpaceKey: (request: JoinBySpaceKeyRequest, options?: RequestOptions) => Promise<JoinSpaceResponse>;
|
|
648
792
|
/**
|
|
649
|
-
*
|
|
793
|
+
* Broadcast an ephemeral message to the space swarm.
|
|
650
794
|
*/
|
|
651
|
-
|
|
795
|
+
postMessage: (request: PostMessageRequest, options?: RequestOptions) => Promise<void>;
|
|
652
796
|
/**
|
|
653
|
-
*
|
|
797
|
+
* Subscribe to messages from the space swarm.
|
|
654
798
|
*/
|
|
655
|
-
|
|
799
|
+
subscribeMessages: (request: SubscribeMessagesRequest, options?: RequestOptions) => Stream<dxos_mesh_teleport_gossip.GossipMessage>;
|
|
656
800
|
/**
|
|
657
|
-
*
|
|
801
|
+
* Write credentials to the space control feed.
|
|
658
802
|
*/
|
|
659
|
-
|
|
803
|
+
writeCredentials: (request: WriteCredentialsRequest, options?: RequestOptions) => Promise<void>;
|
|
660
804
|
/**
|
|
661
|
-
*
|
|
805
|
+
* Query credentials from the space control feed.
|
|
662
806
|
*/
|
|
663
|
-
|
|
807
|
+
queryCredentials: (request: QueryCredentialsRequest, options?: RequestOptions) => Stream<dxos_halo_credentials.Credential>;
|
|
808
|
+
createEpoch: (request: CreateEpochRequest, options?: RequestOptions) => Promise<CreateEpochResponse>;
|
|
809
|
+
exportSpace: (request: ExportSpaceRequest, options?: RequestOptions) => Promise<ExportSpaceResponse>;
|
|
810
|
+
importSpace: (request: ImportSpaceRequest, options?: RequestOptions) => Promise<ImportSpaceResponse>;
|
|
664
811
|
}
|
|
665
812
|
/**
|
|
666
|
-
* Defined in:
|
|
667
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
813
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
668
814
|
*/
|
|
669
|
-
export interface
|
|
670
|
-
|
|
671
|
-
identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
672
|
-
/**
|
|
673
|
-
* Options:
|
|
674
|
-
* - proto3_optional = true
|
|
675
|
-
*/
|
|
676
|
-
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
815
|
+
export interface AcceptInvitationRequest {
|
|
816
|
+
invitation: Invitation;
|
|
677
817
|
/**
|
|
678
818
|
* Options:
|
|
679
819
|
* - proto3_optional = true
|
|
680
820
|
*/
|
|
681
|
-
|
|
821
|
+
deviceProfile?: dxos_halo_credentials.DeviceProfileDocument;
|
|
682
822
|
}
|
|
683
823
|
/**
|
|
684
|
-
* Defined in:
|
|
685
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
824
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
686
825
|
*/
|
|
687
|
-
export interface
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
challenge: string;
|
|
826
|
+
export interface AuthenticationRequest {
|
|
827
|
+
invitationId: string;
|
|
828
|
+
authCode: string;
|
|
691
829
|
}
|
|
692
830
|
/**
|
|
693
|
-
* Defined in:
|
|
694
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
831
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
695
832
|
*/
|
|
696
|
-
export interface
|
|
697
|
-
|
|
698
|
-
external?: RecoverIdentityRequest.ExternalSignature;
|
|
699
|
-
token?: string;
|
|
833
|
+
export interface CancelInvitationRequest {
|
|
834
|
+
invitationId: string;
|
|
700
835
|
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
lookupKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
708
|
-
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
709
|
-
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
710
|
-
signature: Uint8Array;
|
|
711
|
-
/**
|
|
712
|
-
* Options:
|
|
713
|
-
* - proto3_optional = true
|
|
714
|
-
*/
|
|
715
|
-
clientDataJson?: Uint8Array;
|
|
716
|
-
/**
|
|
717
|
-
* Options:
|
|
718
|
-
* - proto3_optional = true
|
|
719
|
-
*/
|
|
720
|
-
authenticatorData?: Uint8Array;
|
|
721
|
-
}
|
|
836
|
+
/**
|
|
837
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
838
|
+
*/
|
|
839
|
+
export interface InvitationMethod {
|
|
840
|
+
created?: Invitation;
|
|
841
|
+
accepted?: Invitation;
|
|
722
842
|
}
|
|
723
843
|
/**
|
|
724
|
-
* Defined in:
|
|
725
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
844
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
726
845
|
*/
|
|
727
|
-
export interface
|
|
846
|
+
export interface QueryInvitationsResponse {
|
|
847
|
+
action: QueryInvitationsResponse.Action;
|
|
848
|
+
type: QueryInvitationsResponse.Type;
|
|
849
|
+
invitations?: Invitation[];
|
|
728
850
|
/**
|
|
729
|
-
*
|
|
851
|
+
* Options:
|
|
852
|
+
* - proto3_optional = true
|
|
730
853
|
*/
|
|
731
|
-
|
|
854
|
+
existing?: boolean;
|
|
855
|
+
}
|
|
856
|
+
export declare namespace QueryInvitationsResponse {
|
|
732
857
|
/**
|
|
733
|
-
*
|
|
858
|
+
* Defined in:
|
|
859
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
734
860
|
*/
|
|
735
|
-
|
|
861
|
+
enum Action {
|
|
862
|
+
ADDED = 0,
|
|
863
|
+
REMOVED = 1,
|
|
864
|
+
SAVED = 2,
|
|
865
|
+
LOAD_COMPLETE = 3
|
|
866
|
+
}
|
|
736
867
|
/**
|
|
737
|
-
*
|
|
868
|
+
* Defined in:
|
|
869
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
738
870
|
*/
|
|
739
|
-
|
|
871
|
+
enum Type {
|
|
872
|
+
CREATED = 0,
|
|
873
|
+
ACCEPTED = 1
|
|
874
|
+
}
|
|
740
875
|
}
|
|
741
876
|
/**
|
|
742
|
-
* Defined in:
|
|
743
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
877
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
744
878
|
*/
|
|
745
|
-
export interface
|
|
746
|
-
|
|
747
|
-
* If not provided, a new key will be generated.
|
|
748
|
-
*
|
|
749
|
-
* Options:
|
|
750
|
-
* - proto3_optional = true
|
|
751
|
-
*/
|
|
752
|
-
data?: RecoveryCredentialData;
|
|
879
|
+
export interface LoadPersistentInvitationsResponse {
|
|
880
|
+
invitations?: Invitation[];
|
|
753
881
|
}
|
|
754
882
|
/**
|
|
755
883
|
* Defined in:
|
|
756
884
|
* {@link file://./../../../dxos/client/services.proto}
|
|
757
885
|
*/
|
|
758
|
-
export interface
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
886
|
+
export interface InvitationsService {
|
|
887
|
+
createInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
|
|
888
|
+
acceptInvitation: (request: AcceptInvitationRequest, options?: RequestOptions) => Stream<Invitation>;
|
|
889
|
+
authenticate: (request: AuthenticationRequest, options?: RequestOptions) => Promise<void>;
|
|
890
|
+
cancelInvitation: (request: CancelInvitationRequest, options?: RequestOptions) => Promise<void>;
|
|
891
|
+
queryInvitations: (request: void, options?: RequestOptions) => Stream<QueryInvitationsResponse>;
|
|
764
892
|
}
|
|
765
893
|
/**
|
|
766
894
|
* Defined in:
|
|
767
895
|
* {@link file://./../../../dxos/client/services.proto}
|
|
768
896
|
*/
|
|
769
|
-
export
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
* - proto3_optional = true
|
|
773
|
-
*/
|
|
774
|
-
identity?: Identity;
|
|
897
|
+
export declare enum ConnectionState {
|
|
898
|
+
OFFLINE = 0,
|
|
899
|
+
ONLINE = 1
|
|
775
900
|
}
|
|
776
901
|
/**
|
|
777
|
-
* Defined in:
|
|
778
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
902
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
779
903
|
*/
|
|
780
|
-
export interface
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
* - proto3_optional = true
|
|
785
|
-
*/
|
|
786
|
-
nonce?: Uint8Array;
|
|
904
|
+
export interface NetworkStatus {
|
|
905
|
+
swarm: ConnectionState;
|
|
906
|
+
signaling?: NetworkStatus.Signal[];
|
|
907
|
+
connectionInfo?: dxos_devtools_swarm.SwarmInfo[];
|
|
787
908
|
}
|
|
788
|
-
|
|
789
|
-
* Defined in:
|
|
790
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
791
|
-
*/
|
|
792
|
-
export interface CreateIdentityRequest {
|
|
793
|
-
/**
|
|
794
|
-
* Options:
|
|
795
|
-
* - proto3_optional = true
|
|
796
|
-
*/
|
|
797
|
-
profile?: dxos_halo_credentials.ProfileDocument;
|
|
909
|
+
export declare namespace NetworkStatus {
|
|
798
910
|
/**
|
|
799
|
-
*
|
|
800
|
-
* - proto3_optional = true
|
|
911
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
801
912
|
*/
|
|
802
|
-
|
|
913
|
+
interface Signal {
|
|
914
|
+
server: string;
|
|
915
|
+
state: dxos_mesh_signal.SignalState;
|
|
916
|
+
}
|
|
803
917
|
}
|
|
804
918
|
/**
|
|
805
|
-
* Defined in:
|
|
806
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
919
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
807
920
|
*/
|
|
808
|
-
export interface
|
|
809
|
-
|
|
810
|
-
requestRecoveryChallenge: (request: void, options?: RequestOptions) => Promise<RequestRecoveryChallengeResponse>;
|
|
811
|
-
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
812
|
-
createRecoveryCredential: (request: CreateRecoveryCredentialRequest, options?: RequestOptions) => Promise<CreateRecoveryCredentialResponse>;
|
|
813
|
-
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
814
|
-
updateProfile: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
815
|
-
signPresentation: (request: SignPresentationRequest, options?: RequestOptions) => Promise<dxos_halo_credentials.Presentation>;
|
|
816
|
-
createAuthCredential: (request: void, options?: RequestOptions) => Promise<dxos_halo_credentials.Credential>;
|
|
921
|
+
export interface UpdateConfigRequest {
|
|
922
|
+
swarm: ConnectionState;
|
|
817
923
|
}
|
|
818
924
|
/**
|
|
819
|
-
* Defined in:
|
|
820
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
925
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
821
926
|
*/
|
|
822
|
-
export
|
|
823
|
-
|
|
824
|
-
TRUSTED = 1
|
|
927
|
+
export interface SubscribeSwarmStateRequest {
|
|
928
|
+
topic: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
825
929
|
}
|
|
826
930
|
/**
|
|
827
931
|
* Defined in:
|
|
828
932
|
* {@link file://./../../../dxos/client/services.proto}
|
|
829
933
|
*/
|
|
830
|
-
export interface
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
* - proto3_optional = true
|
|
836
|
-
*/
|
|
837
|
-
profile?: dxos_halo_credentials.DeviceProfileDocument;
|
|
838
|
-
presence: Device.PresenceState;
|
|
839
|
-
}
|
|
840
|
-
export declare namespace Device {
|
|
934
|
+
export interface NetworkService {
|
|
935
|
+
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
936
|
+
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
937
|
+
joinSwarm: (request: dxos_edge_signal.JoinRequest, options?: RequestOptions) => Promise<void>;
|
|
938
|
+
leaveSwarm: (request: dxos_edge_signal.LeaveRequest, options?: RequestOptions) => Promise<void>;
|
|
841
939
|
/**
|
|
842
|
-
*
|
|
843
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
940
|
+
* Query the swarm state without joining it.
|
|
844
941
|
*/
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
/**
|
|
852
|
-
* Defined in:
|
|
853
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
854
|
-
*/
|
|
855
|
-
export interface QueryDevicesResponse {
|
|
856
|
-
devices?: Device[];
|
|
942
|
+
querySwarm: (request: dxos_edge_signal.QueryRequest, options?: RequestOptions) => Promise<dxos_edge_messenger.SwarmResponse>;
|
|
943
|
+
subscribeSwarmState: (request: SubscribeSwarmStateRequest, options?: RequestOptions) => Stream<dxos_edge_messenger.SwarmResponse>;
|
|
944
|
+
sendMessage: (request: dxos_edge_signal.Message, options?: RequestOptions) => Promise<void>;
|
|
945
|
+
subscribeMessages: (request: dxos_edge_messenger.Peer, options?: RequestOptions) => Stream<dxos_edge_signal.Message>;
|
|
857
946
|
}
|
|
858
947
|
/**
|
|
859
948
|
* Defined in:
|
|
860
949
|
* {@link file://./../../../dxos/client/services.proto}
|
|
861
950
|
*/
|
|
862
|
-
export interface
|
|
863
|
-
|
|
864
|
-
|
|
951
|
+
export interface EdgeAgentService {
|
|
952
|
+
queryEdgeStatus: (request: void, options?: RequestOptions) => Stream<QueryEdgeStatusResponse>;
|
|
953
|
+
createAgent: (request: void, options?: RequestOptions) => Promise<void>;
|
|
954
|
+
queryAgentStatus: (request: void, options?: RequestOptions) => Stream<QueryAgentStatusResponse>;
|
|
865
955
|
}
|
|
866
956
|
/**
|
|
867
|
-
* Defined in:
|
|
868
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
957
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
869
958
|
*/
|
|
870
|
-
export interface
|
|
871
|
-
|
|
959
|
+
export interface EdgeStatus {
|
|
960
|
+
state: EdgeStatus.ConnectionState;
|
|
872
961
|
/**
|
|
873
|
-
*
|
|
874
|
-
* - proto3_optional = true
|
|
962
|
+
* Latency in ms
|
|
875
963
|
*/
|
|
876
|
-
|
|
877
|
-
|
|
964
|
+
rtt: number;
|
|
965
|
+
/**
|
|
966
|
+
* How long the connection has been up
|
|
967
|
+
*/
|
|
968
|
+
uptime: number;
|
|
969
|
+
/**
|
|
970
|
+
* Upload rate in bytes per second
|
|
971
|
+
*/
|
|
972
|
+
rateBytesUp: number;
|
|
973
|
+
/**
|
|
974
|
+
* Download rate in bytes per second
|
|
975
|
+
*/
|
|
976
|
+
rateBytesDown: number;
|
|
977
|
+
messagesSent: number;
|
|
978
|
+
messagesReceived: number;
|
|
878
979
|
}
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
980
|
+
export declare namespace EdgeStatus {
|
|
981
|
+
/**
|
|
982
|
+
* Defined in:
|
|
983
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
984
|
+
*/
|
|
985
|
+
enum ConnectionState {
|
|
986
|
+
NOT_CONNECTED = 0,
|
|
987
|
+
CONNECTED = 1
|
|
988
|
+
}
|
|
885
989
|
}
|
|
886
990
|
/**
|
|
887
|
-
* Defined in:
|
|
888
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
991
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
889
992
|
*/
|
|
890
|
-
export interface
|
|
891
|
-
|
|
892
|
-
queryContacts: (request: void, options?: RequestOptions) => Stream<ContactBook>;
|
|
993
|
+
export interface QueryEdgeStatusResponse {
|
|
994
|
+
status: EdgeStatus;
|
|
893
995
|
}
|
|
894
996
|
/**
|
|
895
|
-
* Defined in:
|
|
896
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
997
|
+
* Defined in: `../../../dxos/client/services.proto`
|
|
897
998
|
*/
|
|
898
|
-
export interface
|
|
899
|
-
|
|
900
|
-
presence: SpaceMember.PresenceState;
|
|
901
|
-
peerStates?: dxos_mesh_presence.PeerState[];
|
|
902
|
-
role: dxos_halo_credentials.SpaceMember.Role;
|
|
999
|
+
export interface QueryAgentStatusResponse {
|
|
1000
|
+
status: QueryAgentStatusResponse.AgentStatus;
|
|
903
1001
|
}
|
|
904
|
-
export declare namespace
|
|
1002
|
+
export declare namespace QueryAgentStatusResponse {
|
|
905
1003
|
/**
|
|
906
1004
|
* Defined in:
|
|
907
1005
|
* {@link file://./../../../dxos/client/services.proto}
|
|
908
1006
|
*/
|
|
909
|
-
enum
|
|
910
|
-
|
|
911
|
-
|
|
1007
|
+
enum AgentStatus {
|
|
1008
|
+
UNKNOWN = 0,
|
|
1009
|
+
ACTIVE = 1,
|
|
1010
|
+
INACTIVE = 2,
|
|
1011
|
+
NOT_FOUND = 3
|
|
912
1012
|
}
|
|
913
1013
|
}
|
|
914
1014
|
/**
|
|
915
|
-
* Defined in:
|
|
916
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1015
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
917
1016
|
*/
|
|
918
|
-
export interface
|
|
919
|
-
|
|
920
|
-
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
921
|
-
state: SpaceState;
|
|
1017
|
+
export interface QueueQuery {
|
|
1018
|
+
spaceId: string;
|
|
922
1019
|
/**
|
|
923
1020
|
* Options:
|
|
924
1021
|
* - proto3_optional = true
|
|
925
1022
|
*/
|
|
926
|
-
|
|
1023
|
+
queuesNamespace?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* Queries the whole space if missing.
|
|
1026
|
+
*/
|
|
1027
|
+
queueIds?: string[];
|
|
927
1028
|
/**
|
|
1029
|
+
* Filter items after this cursor. Exclusive.
|
|
1030
|
+
*
|
|
928
1031
|
* Options:
|
|
929
1032
|
* - proto3_optional = true
|
|
930
1033
|
*/
|
|
931
|
-
|
|
1034
|
+
after?: string;
|
|
932
1035
|
/**
|
|
1036
|
+
* Filter items before this cursor. Exclusive.
|
|
1037
|
+
*
|
|
933
1038
|
* Options:
|
|
934
1039
|
* - proto3_optional = true
|
|
935
1040
|
*/
|
|
936
|
-
|
|
937
|
-
members?: SpaceMember[];
|
|
1041
|
+
before?: string;
|
|
938
1042
|
/**
|
|
1043
|
+
* Filter items after this position. Inclusive.
|
|
1044
|
+
*
|
|
939
1045
|
* Options:
|
|
940
1046
|
* - proto3_optional = true
|
|
941
1047
|
*/
|
|
942
|
-
|
|
1048
|
+
beginPosition?: string;
|
|
943
1049
|
/**
|
|
1050
|
+
* Filter items before this position. Exclusive.
|
|
1051
|
+
*
|
|
944
1052
|
* Options:
|
|
945
1053
|
* - proto3_optional = true
|
|
946
1054
|
*/
|
|
947
|
-
|
|
948
|
-
|
|
1055
|
+
endPosition?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* Options:
|
|
1058
|
+
* - proto3_optional = true
|
|
1059
|
+
*/
|
|
1060
|
+
limit?: number;
|
|
1061
|
+
/**
|
|
1062
|
+
* Options:
|
|
1063
|
+
* - proto3_optional = true
|
|
1064
|
+
*/
|
|
1065
|
+
reverse?: boolean;
|
|
1066
|
+
objectIds?: string[];
|
|
949
1067
|
}
|
|
950
|
-
|
|
1068
|
+
/**
|
|
1069
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
1070
|
+
*/
|
|
1071
|
+
export interface QueueQueryResult {
|
|
951
1072
|
/**
|
|
952
|
-
*
|
|
953
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1073
|
+
* coerces `undefined` to `null`, corrupting optional fields.
|
|
954
1074
|
*/
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* Options:
|
|
958
|
-
* - proto3_optional = true
|
|
959
|
-
*/
|
|
960
|
-
open?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
961
|
-
/**
|
|
962
|
-
* Options:
|
|
963
|
-
* - proto3_optional = true
|
|
964
|
-
*/
|
|
965
|
-
pipelineInitBegin?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
966
|
-
/**
|
|
967
|
-
* Options:
|
|
968
|
-
* - proto3_optional = true
|
|
969
|
-
*/
|
|
970
|
-
controlPipelineReady?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
971
|
-
/**
|
|
972
|
-
* Options:
|
|
973
|
-
* - proto3_optional = true
|
|
974
|
-
*/
|
|
975
|
-
dataPipelineOpen?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
976
|
-
/**
|
|
977
|
-
* Options:
|
|
978
|
-
* - proto3_optional = true
|
|
979
|
-
*/
|
|
980
|
-
dataPipelineReady?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
981
|
-
/**
|
|
982
|
-
* Options:
|
|
983
|
-
* - proto3_optional = true
|
|
984
|
-
*/
|
|
985
|
-
ready?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
986
|
-
}
|
|
1075
|
+
objects?: string[];
|
|
987
1076
|
/**
|
|
988
|
-
*
|
|
989
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1077
|
+
* Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
990
1078
|
*/
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
*
|
|
1066
|
-
* Options:
|
|
1067
|
-
* - proto3_optional = true
|
|
1068
|
-
*/
|
|
1069
|
-
targetDataTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
1079
|
+
nextCursor: string;
|
|
1080
|
+
prevCursor: string;
|
|
1081
|
+
}
|
|
1082
|
+
/**
|
|
1083
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
1084
|
+
*/
|
|
1085
|
+
export interface QueryQueueRequest {
|
|
1086
|
+
query: QueueQuery;
|
|
1087
|
+
}
|
|
1088
|
+
/**
|
|
1089
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
1090
|
+
*/
|
|
1091
|
+
export interface InsertIntoQueueRequest {
|
|
1092
|
+
subspaceTag: string;
|
|
1093
|
+
spaceId: string;
|
|
1094
|
+
queueId: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
|
|
1097
|
+
*/
|
|
1098
|
+
objects?: string[];
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
1102
|
+
*/
|
|
1103
|
+
export interface DeleteFromQueueRequest {
|
|
1104
|
+
subspaceTag: string;
|
|
1105
|
+
spaceId: string;
|
|
1106
|
+
queueId: string;
|
|
1107
|
+
objectIds?: string[];
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* Defined in: `../../../dxos/client/queue.proto`
|
|
1111
|
+
*/
|
|
1112
|
+
export interface SyncQueueRequest {
|
|
1113
|
+
subspaceTag: string;
|
|
1114
|
+
spaceId: string;
|
|
1115
|
+
queueId: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Whether to push local changes to the server. Defaults to true.
|
|
1118
|
+
*
|
|
1119
|
+
* Options:
|
|
1120
|
+
* - proto3_optional = true
|
|
1121
|
+
*/
|
|
1122
|
+
shouldPush?: boolean;
|
|
1123
|
+
/**
|
|
1124
|
+
* Whether to pull remote changes from the server. Defaults to true.
|
|
1125
|
+
*
|
|
1126
|
+
* Options:
|
|
1127
|
+
* - proto3_optional = true
|
|
1128
|
+
*/
|
|
1129
|
+
shouldPull?: boolean;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Defined in:
|
|
1133
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
1134
|
+
*/
|
|
1135
|
+
export interface QueueService {
|
|
1136
|
+
queryQueue: (request: QueryQueueRequest, options?: RequestOptions) => Promise<QueueQueryResult>;
|
|
1137
|
+
insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1138
|
+
deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1139
|
+
syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1140
|
+
}
|
|
1141
|
+
/**
|
|
1142
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1143
|
+
*/
|
|
1144
|
+
export interface Metrics {
|
|
1145
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1146
|
+
values?: Metrics.KeyPair[];
|
|
1147
|
+
}
|
|
1148
|
+
export declare namespace Metrics {
|
|
1149
|
+
/**
|
|
1150
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1151
|
+
*/
|
|
1152
|
+
interface KeyPair {
|
|
1070
1153
|
/**
|
|
1071
|
-
* All mutations stored in feeds.
|
|
1072
|
-
*
|
|
1073
1154
|
* Options:
|
|
1074
1155
|
* - proto3_optional = true
|
|
1075
1156
|
*/
|
|
1076
|
-
|
|
1157
|
+
key?: string;
|
|
1077
1158
|
/**
|
|
1078
|
-
* All mutations known to exist on the network.
|
|
1079
|
-
*
|
|
1080
1159
|
* Options:
|
|
1081
1160
|
* - proto3_optional = true
|
|
1082
1161
|
*/
|
|
1083
|
-
|
|
1162
|
+
value?: dxos_value.Value;
|
|
1084
1163
|
/**
|
|
1085
|
-
* URL of the current space root automerge document.
|
|
1086
|
-
*
|
|
1087
1164
|
* Options:
|
|
1088
1165
|
* - proto3_optional = true
|
|
1089
1166
|
*/
|
|
1090
|
-
|
|
1167
|
+
stats?: dxos_value.Stats;
|
|
1091
1168
|
}
|
|
1092
1169
|
}
|
|
1093
1170
|
/**
|
|
1094
|
-
* Defined in:
|
|
1095
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1171
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1096
1172
|
*/
|
|
1097
|
-
export interface
|
|
1098
|
-
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1173
|
+
export interface ControlMetricsRequest {
|
|
1099
1174
|
/**
|
|
1100
|
-
* Allowed values: ACTIVE, INACTIVE.
|
|
1101
|
-
*
|
|
1102
1175
|
* Options:
|
|
1103
1176
|
* - proto3_optional = true
|
|
1104
1177
|
*/
|
|
1105
|
-
|
|
1178
|
+
reset?: boolean;
|
|
1106
1179
|
/**
|
|
1107
1180
|
* Options:
|
|
1108
1181
|
* - proto3_optional = true
|
|
1109
1182
|
*/
|
|
1110
|
-
|
|
1111
|
-
}
|
|
1112
|
-
/**
|
|
1113
|
-
* Defined in:
|
|
1114
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1115
|
-
*/
|
|
1116
|
-
export interface QuerySpacesResponse {
|
|
1117
|
-
spaces?: Space[];
|
|
1183
|
+
record?: boolean;
|
|
1118
1184
|
}
|
|
1119
1185
|
/**
|
|
1120
|
-
* Defined in:
|
|
1121
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1186
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1122
1187
|
*/
|
|
1123
|
-
export interface
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1188
|
+
export interface ControlMetricsResponse {
|
|
1189
|
+
/**
|
|
1190
|
+
* Options:
|
|
1191
|
+
* - proto3_optional = true
|
|
1192
|
+
*/
|
|
1193
|
+
recording?: boolean;
|
|
1127
1194
|
}
|
|
1128
1195
|
/**
|
|
1129
|
-
* Defined in:
|
|
1130
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1196
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1131
1197
|
*/
|
|
1132
|
-
export interface
|
|
1133
|
-
|
|
1134
|
-
|
|
1198
|
+
export interface QueryMetricsRequest {
|
|
1199
|
+
/**
|
|
1200
|
+
* Options:
|
|
1201
|
+
* - proto3_optional = true
|
|
1202
|
+
*/
|
|
1203
|
+
interval?: number;
|
|
1135
1204
|
}
|
|
1136
1205
|
/**
|
|
1137
|
-
* Defined in:
|
|
1138
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1206
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1139
1207
|
*/
|
|
1140
|
-
export interface
|
|
1141
|
-
|
|
1142
|
-
|
|
1208
|
+
export interface QueryMetricsResponse {
|
|
1209
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1210
|
+
metrics: Metrics;
|
|
1143
1211
|
}
|
|
1144
1212
|
/**
|
|
1145
1213
|
* Defined in:
|
|
1146
|
-
* {@link file://./../../../dxos/client/
|
|
1214
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1147
1215
|
*/
|
|
1148
|
-
export
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1216
|
+
export declare enum LogLevel {
|
|
1217
|
+
NONE = 0,
|
|
1218
|
+
TRACE = 5,
|
|
1219
|
+
DEBUG = 10,
|
|
1220
|
+
VERBOSE = 11,
|
|
1221
|
+
INFO = 12,
|
|
1222
|
+
WARN = 13,
|
|
1223
|
+
ERROR = 14
|
|
1155
1224
|
}
|
|
1156
1225
|
/**
|
|
1157
|
-
* Defined in:
|
|
1158
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1226
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1159
1227
|
*/
|
|
1160
|
-
export interface
|
|
1161
|
-
|
|
1162
|
-
/**
|
|
1163
|
-
* Options:
|
|
1164
|
-
* - proto3_optional = true
|
|
1165
|
-
*/
|
|
1166
|
-
migration?: CreateEpochRequest.Migration;
|
|
1228
|
+
export interface QueryLogsRequest {
|
|
1229
|
+
filters?: QueryLogsRequest.Filter[];
|
|
1167
1230
|
/**
|
|
1168
|
-
* For REPLACE_AUTOMERGE_ROOT migration.
|
|
1169
|
-
*
|
|
1170
1231
|
* Options:
|
|
1171
1232
|
* - proto3_optional = true
|
|
1172
1233
|
*/
|
|
1173
|
-
|
|
1234
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
1174
1235
|
}
|
|
1175
|
-
export declare namespace
|
|
1236
|
+
export declare namespace QueryLogsRequest {
|
|
1176
1237
|
/**
|
|
1177
1238
|
* Defined in:
|
|
1178
|
-
* {@link file://./../../../dxos/client/
|
|
1239
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1179
1240
|
*/
|
|
1180
|
-
enum
|
|
1241
|
+
enum MatchingOptions {
|
|
1181
1242
|
NONE = 0,
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1243
|
+
INCLUSIVE = 1,
|
|
1244
|
+
EXPLICIT = 2
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1248
|
+
*/
|
|
1249
|
+
interface Filter {
|
|
1250
|
+
level: LogLevel;
|
|
1251
|
+
/**
|
|
1252
|
+
* Options:
|
|
1253
|
+
* - proto3_optional = true
|
|
1254
|
+
*/
|
|
1255
|
+
pattern?: string;
|
|
1187
1256
|
}
|
|
1188
1257
|
}
|
|
1189
1258
|
/**
|
|
1190
|
-
* Defined in:
|
|
1191
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1259
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1192
1260
|
*/
|
|
1193
|
-
export interface
|
|
1261
|
+
export interface LogEntry {
|
|
1262
|
+
level: LogLevel;
|
|
1263
|
+
message: string;
|
|
1194
1264
|
/**
|
|
1195
|
-
* Credential of the new epoch.
|
|
1196
|
-
*
|
|
1197
1265
|
* Options:
|
|
1198
1266
|
* - proto3_optional = true
|
|
1199
1267
|
*/
|
|
1200
|
-
|
|
1268
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1201
1269
|
/**
|
|
1202
|
-
* Control pipeline timeframe.
|
|
1203
|
-
*
|
|
1204
1270
|
* Options:
|
|
1205
1271
|
* - proto3_optional = true
|
|
1206
1272
|
*/
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1215
|
-
memberKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1216
|
-
newRole: dxos_halo_credentials.SpaceMember.Role;
|
|
1217
|
-
}
|
|
1218
|
-
/**
|
|
1219
|
-
* Defined in:
|
|
1220
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1221
|
-
*/
|
|
1222
|
-
export interface AdmitContactRequest {
|
|
1223
|
-
contact: Contact;
|
|
1224
|
-
role: dxos_halo_credentials.SpaceMember.Role;
|
|
1225
|
-
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1226
|
-
}
|
|
1227
|
-
/**
|
|
1228
|
-
* Defined in:
|
|
1229
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1230
|
-
*/
|
|
1231
|
-
export interface ContactAdmission {
|
|
1232
|
-
credential: dxos_halo_credentials.Credential;
|
|
1233
|
-
}
|
|
1234
|
-
/**
|
|
1235
|
-
* Defined in:
|
|
1236
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1237
|
-
*/
|
|
1238
|
-
export interface JoinSpaceResponse {
|
|
1239
|
-
space: Space;
|
|
1240
|
-
}
|
|
1241
|
-
/**
|
|
1242
|
-
* Defined in:
|
|
1243
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1244
|
-
*/
|
|
1245
|
-
export interface JoinBySpaceKeyRequest {
|
|
1246
|
-
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1273
|
+
meta?: LogEntry.Meta;
|
|
1274
|
+
/**
|
|
1275
|
+
* Options:
|
|
1276
|
+
* - proto3_optional = true
|
|
1277
|
+
*/
|
|
1278
|
+
error?: dxos_error.Error;
|
|
1279
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1247
1280
|
}
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1281
|
+
export declare namespace LogEntry {
|
|
1282
|
+
/**
|
|
1283
|
+
* Defined in: `../../../dxos/client/logging.proto`
|
|
1284
|
+
*/
|
|
1285
|
+
interface Meta {
|
|
1286
|
+
file: string;
|
|
1287
|
+
line: number;
|
|
1288
|
+
/**
|
|
1289
|
+
* Options:
|
|
1290
|
+
* - proto3_optional = true
|
|
1291
|
+
*/
|
|
1292
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Options:
|
|
1295
|
+
* - proto3_optional = true
|
|
1296
|
+
*/
|
|
1297
|
+
resourceId?: number;
|
|
1298
|
+
}
|
|
1255
1299
|
}
|
|
1256
1300
|
/**
|
|
1257
1301
|
* Defined in:
|
|
1258
|
-
* {@link file://./../../../dxos/client/
|
|
1302
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1259
1303
|
*/
|
|
1260
|
-
export interface
|
|
1261
|
-
|
|
1304
|
+
export interface LoggingService {
|
|
1305
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1306
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1307
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1262
1308
|
}
|
|
1263
1309
|
/**
|
|
1264
|
-
* Defined in:
|
|
1265
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1310
|
+
* Defined in: `../../../dxos/client/invitation.proto`
|
|
1266
1311
|
*/
|
|
1267
|
-
export interface
|
|
1268
|
-
|
|
1312
|
+
export interface AdmissionKeypair {
|
|
1313
|
+
publicKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Options:
|
|
1316
|
+
* - proto3_optional = true
|
|
1317
|
+
*/
|
|
1318
|
+
privateKey?: ReturnType<(typeof substitutions)["dxos.keys.PrivateKey"]["decode"]>;
|
|
1269
1319
|
}
|
|
1270
1320
|
/**
|
|
1321
|
+
* Runtime state of the space object.
|
|
1322
|
+
*
|
|
1271
1323
|
* Defined in:
|
|
1272
|
-
* {@link file://./../../../dxos/client/
|
|
1324
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1273
1325
|
*/
|
|
1274
|
-
export
|
|
1275
|
-
|
|
1326
|
+
export declare enum SpaceState {
|
|
1327
|
+
INVALID = 0,
|
|
1328
|
+
SPACE_INACTIVE = 2,
|
|
1329
|
+
SPACE_ACTIVE = 6,
|
|
1330
|
+
SPACE_CLOSED = 1,
|
|
1331
|
+
SPACE_CONTROL_ONLY = 7,
|
|
1332
|
+
SPACE_INITIALIZING = 4,
|
|
1333
|
+
SPACE_READY = 3,
|
|
1334
|
+
SPACE_ERROR = 5,
|
|
1335
|
+
SPACE_REQUIRES_MIGRATION = 8
|
|
1276
1336
|
}
|
|
1277
1337
|
/**
|
|
1278
|
-
*
|
|
1279
|
-
*
|
|
1338
|
+
* Represents the invitation state passed between client and service.
|
|
1339
|
+
*
|
|
1340
|
+
* Defined in: `../../../dxos/client/invitation.proto`
|
|
1280
1341
|
*/
|
|
1281
|
-
export interface
|
|
1342
|
+
export interface Invitation {
|
|
1282
1343
|
/**
|
|
1283
|
-
*
|
|
1344
|
+
* Local identifier (random).
|
|
1284
1345
|
*/
|
|
1285
|
-
|
|
1286
|
-
}
|
|
1287
|
-
/**
|
|
1288
|
-
* Defined in:
|
|
1289
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1290
|
-
*/
|
|
1291
|
-
export interface SpacesService {
|
|
1292
|
-
createSpace: (request: void, options?: RequestOptions) => Promise<Space>;
|
|
1293
|
-
updateSpace: (request: UpdateSpaceRequest, options?: RequestOptions) => Promise<void>;
|
|
1294
|
-
querySpaces: (request: void, options?: RequestOptions) => Stream<QuerySpacesResponse>;
|
|
1295
|
-
updateMemberRole: (request: UpdateMemberRoleRequest, options?: RequestOptions) => Promise<void>;
|
|
1296
|
-
admitContact: (request: AdmitContactRequest, options?: RequestOptions) => Promise<void>;
|
|
1297
|
-
joinBySpaceKey: (request: JoinBySpaceKeyRequest, options?: RequestOptions) => Promise<JoinSpaceResponse>;
|
|
1346
|
+
invitationId: string;
|
|
1298
1347
|
/**
|
|
1299
|
-
*
|
|
1348
|
+
* Determines the behavior of the invitation.
|
|
1300
1349
|
*/
|
|
1301
|
-
|
|
1350
|
+
type: Invitation.Type;
|
|
1302
1351
|
/**
|
|
1303
|
-
*
|
|
1352
|
+
* Kind of access the invitation will grant.
|
|
1304
1353
|
*/
|
|
1305
|
-
|
|
1354
|
+
kind: Invitation.Kind;
|
|
1306
1355
|
/**
|
|
1307
|
-
*
|
|
1356
|
+
* How the invitation is authenticated.
|
|
1308
1357
|
*/
|
|
1309
|
-
|
|
1358
|
+
authMethod: Invitation.AuthMethod;
|
|
1310
1359
|
/**
|
|
1311
|
-
*
|
|
1360
|
+
* Swarm rendezvous (random).
|
|
1312
1361
|
*/
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* Defined in:
|
|
1320
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1321
|
-
*/
|
|
1322
|
-
export interface AcceptInvitationRequest {
|
|
1323
|
-
invitation: Invitation;
|
|
1362
|
+
swarmKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Local state.
|
|
1365
|
+
*/
|
|
1366
|
+
state: Invitation.State;
|
|
1324
1367
|
/**
|
|
1368
|
+
* Timeout for guest to complete invitation once connected (ms).
|
|
1369
|
+
*
|
|
1325
1370
|
* Options:
|
|
1326
1371
|
* - proto3_optional = true
|
|
1327
1372
|
*/
|
|
1328
|
-
|
|
1329
|
-
}
|
|
1330
|
-
/**
|
|
1331
|
-
* Defined in:
|
|
1332
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1333
|
-
*/
|
|
1334
|
-
export interface AuthenticationRequest {
|
|
1335
|
-
invitationId: string;
|
|
1336
|
-
authCode: string;
|
|
1337
|
-
}
|
|
1338
|
-
/**
|
|
1339
|
-
* Defined in:
|
|
1340
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1341
|
-
*/
|
|
1342
|
-
export interface CancelInvitationRequest {
|
|
1343
|
-
invitationId: string;
|
|
1344
|
-
}
|
|
1345
|
-
/**
|
|
1346
|
-
* Defined in:
|
|
1347
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1348
|
-
*/
|
|
1349
|
-
export interface InvitationMethod {
|
|
1350
|
-
created?: Invitation;
|
|
1351
|
-
accepted?: Invitation;
|
|
1352
|
-
}
|
|
1353
|
-
/**
|
|
1354
|
-
* Defined in:
|
|
1355
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1356
|
-
*/
|
|
1357
|
-
export interface QueryInvitationsResponse {
|
|
1358
|
-
action: QueryInvitationsResponse.Action;
|
|
1359
|
-
type: QueryInvitationsResponse.Type;
|
|
1360
|
-
invitations?: Invitation[];
|
|
1373
|
+
timeout?: number;
|
|
1361
1374
|
/**
|
|
1375
|
+
* Guest's identity.
|
|
1376
|
+
*
|
|
1362
1377
|
* Options:
|
|
1363
1378
|
* - proto3_optional = true
|
|
1364
1379
|
*/
|
|
1365
|
-
|
|
1366
|
-
}
|
|
1367
|
-
export declare namespace QueryInvitationsResponse {
|
|
1380
|
+
identityKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1368
1381
|
/**
|
|
1369
|
-
*
|
|
1370
|
-
*
|
|
1382
|
+
* Space to join (only present if kind is SPACE).
|
|
1383
|
+
*
|
|
1384
|
+
* Options:
|
|
1385
|
+
* - proto3_optional = true
|
|
1371
1386
|
*/
|
|
1372
|
-
|
|
1373
|
-
ADDED = 0,
|
|
1374
|
-
REMOVED = 1,
|
|
1375
|
-
SAVED = 2,
|
|
1376
|
-
LOAD_COMPLETE = 3
|
|
1377
|
-
}
|
|
1387
|
+
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1378
1388
|
/**
|
|
1379
|
-
*
|
|
1380
|
-
*
|
|
1389
|
+
* Authentication code created by host (only present if auth_method is SHARED_SECRET).
|
|
1390
|
+
*
|
|
1391
|
+
* Options:
|
|
1392
|
+
* - proto3_optional = true
|
|
1381
1393
|
*/
|
|
1382
|
-
|
|
1383
|
-
CREATED = 0,
|
|
1384
|
-
ACCEPTED = 1
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
/**
|
|
1388
|
-
* Defined in:
|
|
1389
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1390
|
-
*/
|
|
1391
|
-
export interface LoadPersistentInvitationsResponse {
|
|
1392
|
-
invitations?: Invitation[];
|
|
1393
|
-
}
|
|
1394
|
-
/**
|
|
1395
|
-
* Defined in:
|
|
1396
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1397
|
-
*/
|
|
1398
|
-
export interface InvitationsService {
|
|
1399
|
-
createInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
|
|
1400
|
-
acceptInvitation: (request: AcceptInvitationRequest, options?: RequestOptions) => Stream<Invitation>;
|
|
1401
|
-
authenticate: (request: AuthenticationRequest, options?: RequestOptions) => Promise<void>;
|
|
1402
|
-
cancelInvitation: (request: CancelInvitationRequest, options?: RequestOptions) => Promise<void>;
|
|
1403
|
-
queryInvitations: (request: void, options?: RequestOptions) => Stream<QueryInvitationsResponse>;
|
|
1404
|
-
}
|
|
1405
|
-
/**
|
|
1406
|
-
* Defined in:
|
|
1407
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1408
|
-
*/
|
|
1409
|
-
export declare enum ConnectionState {
|
|
1410
|
-
OFFLINE = 0,
|
|
1411
|
-
ONLINE = 1
|
|
1412
|
-
}
|
|
1413
|
-
/**
|
|
1414
|
-
* Defined in:
|
|
1415
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1416
|
-
*/
|
|
1417
|
-
export interface NetworkStatus {
|
|
1418
|
-
swarm: ConnectionState;
|
|
1419
|
-
signaling?: NetworkStatus.Signal[];
|
|
1420
|
-
connectionInfo?: dxos_devtools_swarm.SwarmInfo[];
|
|
1421
|
-
}
|
|
1422
|
-
export declare namespace NetworkStatus {
|
|
1394
|
+
authCode?: string;
|
|
1423
1395
|
/**
|
|
1424
|
-
*
|
|
1425
|
-
*
|
|
1396
|
+
* Path or identifier to navigate to after successful authentication.
|
|
1397
|
+
*
|
|
1398
|
+
* Options:
|
|
1399
|
+
* - proto3_optional = true
|
|
1426
1400
|
*/
|
|
1427
|
-
|
|
1428
|
-
server: string;
|
|
1429
|
-
state: dxos_mesh_signal.SignalState;
|
|
1430
|
-
}
|
|
1431
|
-
}
|
|
1432
|
-
/**
|
|
1433
|
-
* Defined in:
|
|
1434
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1435
|
-
*/
|
|
1436
|
-
export interface UpdateConfigRequest {
|
|
1437
|
-
swarm: ConnectionState;
|
|
1438
|
-
}
|
|
1439
|
-
/**
|
|
1440
|
-
* Defined in:
|
|
1441
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1442
|
-
*/
|
|
1443
|
-
export interface SubscribeSwarmStateRequest {
|
|
1444
|
-
topic: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1445
|
-
}
|
|
1446
|
-
/**
|
|
1447
|
-
* Defined in:
|
|
1448
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1449
|
-
*/
|
|
1450
|
-
export interface NetworkService {
|
|
1451
|
-
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
1452
|
-
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
1453
|
-
joinSwarm: (request: dxos_edge_signal.JoinRequest, options?: RequestOptions) => Promise<void>;
|
|
1454
|
-
leaveSwarm: (request: dxos_edge_signal.LeaveRequest, options?: RequestOptions) => Promise<void>;
|
|
1401
|
+
target?: string;
|
|
1455
1402
|
/**
|
|
1456
|
-
*
|
|
1403
|
+
* Host should resume invitation on startup until timeout.
|
|
1404
|
+
*
|
|
1405
|
+
* Options:
|
|
1406
|
+
* - proto3_optional = true
|
|
1457
1407
|
*/
|
|
1458
|
-
|
|
1459
|
-
subscribeSwarmState: (request: SubscribeSwarmStateRequest, options?: RequestOptions) => Stream<dxos_edge_messenger.SwarmResponse>;
|
|
1460
|
-
sendMessage: (request: dxos_edge_signal.Message, options?: RequestOptions) => Promise<void>;
|
|
1461
|
-
subscribeMessages: (request: dxos_edge_messenger.Peer, options?: RequestOptions) => Stream<dxos_edge_signal.Message>;
|
|
1462
|
-
}
|
|
1463
|
-
/**
|
|
1464
|
-
* Defined in:
|
|
1465
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1466
|
-
*/
|
|
1467
|
-
export interface EdgeAgentService {
|
|
1468
|
-
queryEdgeStatus: (request: void, options?: RequestOptions) => Stream<QueryEdgeStatusResponse>;
|
|
1469
|
-
createAgent: (request: void, options?: RequestOptions) => Promise<void>;
|
|
1470
|
-
queryAgentStatus: (request: void, options?: RequestOptions) => Stream<QueryAgentStatusResponse>;
|
|
1471
|
-
}
|
|
1472
|
-
/**
|
|
1473
|
-
* Defined in:
|
|
1474
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1475
|
-
*/
|
|
1476
|
-
export interface EdgeStatus {
|
|
1477
|
-
state: EdgeStatus.ConnectionState;
|
|
1408
|
+
persistent?: boolean;
|
|
1478
1409
|
/**
|
|
1479
|
-
*
|
|
1410
|
+
* Options:
|
|
1411
|
+
* - proto3_optional = true
|
|
1480
1412
|
*/
|
|
1481
|
-
|
|
1413
|
+
created?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1482
1414
|
/**
|
|
1483
|
-
*
|
|
1415
|
+
* Options:
|
|
1416
|
+
* - proto3_optional = true
|
|
1484
1417
|
*/
|
|
1485
|
-
|
|
1418
|
+
lifetime?: number;
|
|
1486
1419
|
/**
|
|
1487
|
-
*
|
|
1420
|
+
* Whether an invitation can be used multiple times.
|
|
1421
|
+
*
|
|
1422
|
+
* Options:
|
|
1423
|
+
* - proto3_optional = true
|
|
1488
1424
|
*/
|
|
1489
|
-
|
|
1425
|
+
multiUse?: boolean;
|
|
1490
1426
|
/**
|
|
1491
|
-
*
|
|
1427
|
+
* Guest's keypair required for AuthMethod.KNOWN_PUBLIC_KEY.
|
|
1428
|
+
*
|
|
1429
|
+
* Options:
|
|
1430
|
+
* - proto3_optional = true
|
|
1492
1431
|
*/
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1432
|
+
guestKeypair?: AdmissionKeypair;
|
|
1433
|
+
/**
|
|
1434
|
+
* Present on Type.DELEGATED invitations.
|
|
1435
|
+
*
|
|
1436
|
+
* Options:
|
|
1437
|
+
* - proto3_optional = true
|
|
1438
|
+
*/
|
|
1439
|
+
delegationCredentialId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Role of the admitted member, defaults to ADMIN.
|
|
1442
|
+
*
|
|
1443
|
+
* Options:
|
|
1444
|
+
* - proto3_optional = true
|
|
1445
|
+
*/
|
|
1446
|
+
role?: dxos_halo_credentials.SpaceMember.Role;
|
|
1447
|
+
/**
|
|
1448
|
+
* Id of a the space to join (only present if kind is SPACE).
|
|
1449
|
+
*
|
|
1450
|
+
* Options:
|
|
1451
|
+
* - proto3_optional = true
|
|
1452
|
+
*/
|
|
1453
|
+
spaceId?: string;
|
|
1496
1454
|
}
|
|
1497
|
-
export declare namespace
|
|
1455
|
+
export declare namespace Invitation {
|
|
1498
1456
|
/**
|
|
1499
1457
|
* Defined in:
|
|
1500
|
-
* {@link file://./../../../dxos/client/
|
|
1458
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1501
1459
|
*/
|
|
1502
|
-
enum
|
|
1503
|
-
|
|
1504
|
-
|
|
1460
|
+
enum Type {
|
|
1461
|
+
INTERACTIVE = 0,
|
|
1462
|
+
DELEGATED = 1,
|
|
1463
|
+
MULTIUSE = 2
|
|
1505
1464
|
}
|
|
1506
|
-
}
|
|
1507
|
-
/**
|
|
1508
|
-
* Defined in:
|
|
1509
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1510
|
-
*/
|
|
1511
|
-
export interface QueryEdgeStatusResponse {
|
|
1512
|
-
status: EdgeStatus;
|
|
1513
|
-
}
|
|
1514
|
-
/**
|
|
1515
|
-
* Defined in:
|
|
1516
|
-
* {@link file://./../../../dxos/client/services.proto}
|
|
1517
|
-
*/
|
|
1518
|
-
export interface QueryAgentStatusResponse {
|
|
1519
|
-
status: QueryAgentStatusResponse.AgentStatus;
|
|
1520
|
-
}
|
|
1521
|
-
export declare namespace QueryAgentStatusResponse {
|
|
1522
1465
|
/**
|
|
1523
1466
|
* Defined in:
|
|
1524
|
-
* {@link file://./../../../dxos/client/
|
|
1467
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1525
1468
|
*/
|
|
1526
|
-
enum
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1469
|
+
enum Kind {
|
|
1470
|
+
DEVICE = 0,
|
|
1471
|
+
SPACE = 1
|
|
1472
|
+
}
|
|
1473
|
+
/**
|
|
1474
|
+
* Defined in:
|
|
1475
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1476
|
+
*/
|
|
1477
|
+
enum AuthMethod {
|
|
1478
|
+
NONE = 0,
|
|
1479
|
+
SHARED_SECRET = 1,
|
|
1480
|
+
KNOWN_PUBLIC_KEY = 2
|
|
1481
|
+
}
|
|
1482
|
+
/**
|
|
1483
|
+
* Defined in:
|
|
1484
|
+
* {@link file://./../../../dxos/client/invitation.proto}
|
|
1485
|
+
*/
|
|
1486
|
+
enum State {
|
|
1487
|
+
INIT = 0,
|
|
1488
|
+
CONNECTING = 1,
|
|
1489
|
+
CONNECTED = 2,
|
|
1490
|
+
READY_FOR_AUTHENTICATION = 3,
|
|
1491
|
+
AUTHENTICATING = 4,
|
|
1492
|
+
SUCCESS = 5,
|
|
1493
|
+
CANCELLED = 6,
|
|
1494
|
+
TIMEOUT = 7,
|
|
1495
|
+
ERROR = 8,
|
|
1496
|
+
EXPIRED = 9
|
|
1531
1497
|
}
|
|
1532
1498
|
}
|
|
1533
1499
|
//# sourceMappingURL=services.d.ts.map
|