@dxos/protocols 0.7.5-feature-compute.4d9d99a → 0.7.5-labs.071a3e2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.d.ts +118 -13
- package/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.js +65 -50
- package/dist/cjs/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +41 -0
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.d.ts.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.js +9 -4
- package/dist/cjs/src/buf/proto/gen/dxos/edge/calls_pb.js.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +6 -0
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
- package/dist/cjs/src/edge.d.ts +13 -2
- package/dist/cjs/src/edge.d.ts.map +1 -1
- package/dist/cjs/src/edge.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +62 -4
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/edge/calls.d.ts +29 -0
- package/dist/cjs/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts +4 -0
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +5 -1
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.d.ts +118 -13
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.js +63 -48
- package/dist/esm/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +41 -0
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.d.ts.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.js +8 -3
- package/dist/esm/src/buf/proto/gen/dxos/edge/calls_pb.js.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +6 -0
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
- package/dist/esm/src/edge.d.ts +13 -2
- package/dist/esm/src/edge.d.ts.map +1 -1
- package/dist/esm/src/edge.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +62 -4
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/edge/calls.d.ts +29 -0
- package/dist/esm/src/proto/gen/dxos/edge/calls.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +4 -0
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +5 -1
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/buf/proto/gen/dxos/client/services_pb.ts +179 -59
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +51 -3
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +8 -1
- package/src/edge.ts +15 -2
- package/src/proto/dxos/client/services.proto +32 -4
- package/src/proto/dxos/edge/calls.proto +20 -0
- package/src/proto/dxos/halo/credentials.proto +2 -0
- package/src/proto/gen/dxos/client/services.ts +62 -4
- package/src/proto/gen/dxos/edge/calls.ts +29 -0
- package/src/proto/gen/dxos/halo/credentials.ts +4 -0
- package/src/proto/gen/index.ts +6 -2
|
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file dxos/edge/calls.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_dxos_edge_calls: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("ChVkeG9zL2VkZ2UvY2FsbHMucHJvdG8SD2R4b3MuZWRnZS5jYWxscyKGAgoGVHJhY2tzEhIKBWF1ZGlvGAEgASgJSACIAQESGgoNYXVkaW9fZW5hYmxlZBgCIAEoCEgBiAEBEhIKBXZpZGVvGAMgASgJSAKIAQESGgoNdmlkZW9fZW5hYmxlZBgEIAEoCEgDiAEBEhgKC3NjcmVlbnNoYXJlGAUgASgJSASIAQESIQoUc2NyZWVuX3NoYXJlX2VuYWJsZWQYBiABKAhIBYgBAUIICgZfYXVkaW9CEAoOX2F1ZGlvX2VuYWJsZWRCCAoGX3ZpZGVvQhAKDl92aWRlb19lbmFibGVkQg4KDF9zY3JlZW5zaGFyZUIXChVfc2NyZWVuX3NoYXJlX2VuYWJsZWQiTgoNVHJhbnNjcmlwdGlvbhIPCgdlbmFibGVkGAEgASgIEhkKEWxhbXBvcnRfdGltZXN0YW1wGAIgASgFEhEKCW9iamVjdF9pZBgDIAEoCSKTAgoJVXNlclN0YXRlEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSIwoWdHJhbnNjZWl2ZXJfc2Vzc2lvbl9pZBgDIAEoCUgAiAEBEhMKC3JhaXNlZF9oYW5kGAQgASgIEhAKCHNwZWFraW5nGAUgASgIEg4KBmpvaW5lZBgGIAEoCBInCgZ0cmFja3MYByABKAsyFy5keG9zLmVkZ2UuY2FsbHMuVHJhY2tzEjoKDXRyYW5zY3JpcHRpb24YCCABKAsyHi5keG9zLmVkZ2UuY2FsbHMuVHJhbnNjcmlwdGlvbkgBiAEBQhkKF190cmFuc2NlaXZlcl9zZXNzaW9uX2lkQhAKDl90cmFuc2NyaXB0aW9uIpcBCglSb29tU3RhdGUSEQoJbWVldGluZ0lkGAEgASgJEikKBXVzZXJzGAIgAygLMhouZHhvcy5lZGdlLmNhbGxzLlVzZXJTdGF0ZRI6Cg10cmFuc2NyaXB0aW9uGAMgASgLMh4uZHhvcy5lZGdlLmNhbGxzLlRyYW5zY3JpcHRpb25IAIgBAUIQCg5fdHJhbnNjcmlwdGlvbmIGcHJvdG8z", [file_dxos_keys]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @generated from message dxos.edge.calls.Tracks
|
|
@@ -59,6 +59,44 @@ export type Tracks = Message<"dxos.edge.calls.Tracks"> & {
|
|
|
59
59
|
export const TracksSchema: GenMessage<Tracks> = /*@__PURE__*/
|
|
60
60
|
messageDesc(file_dxos_edge_calls, 0);
|
|
61
61
|
|
|
62
|
+
/**
|
|
63
|
+
* *
|
|
64
|
+
* Transcription settings.
|
|
65
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
66
|
+
*
|
|
67
|
+
* @generated from message dxos.edge.calls.Transcription
|
|
68
|
+
*/
|
|
69
|
+
export type Transcription = Message<"dxos.edge.calls.Transcription"> & {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: bool enabled = 1;
|
|
72
|
+
*/
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* *
|
|
77
|
+
* Lamport timestamp of when the state was set.
|
|
78
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: int32 lamport_timestamp = 2;
|
|
81
|
+
*/
|
|
82
|
+
lamportTimestamp: number;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* *
|
|
86
|
+
* Object ID of where the transcription should be stored.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string object_id = 3;
|
|
89
|
+
*/
|
|
90
|
+
objectId: string;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message dxos.edge.calls.Transcription.
|
|
95
|
+
* Use `create(TranscriptionSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const TranscriptionSchema: GenMessage<Transcription> = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_dxos_edge_calls, 1);
|
|
99
|
+
|
|
62
100
|
/**
|
|
63
101
|
* @generated from message dxos.edge.calls.UserState
|
|
64
102
|
*/
|
|
@@ -97,6 +135,11 @@ export type UserState = Message<"dxos.edge.calls.UserState"> & {
|
|
|
97
135
|
* @generated from field: dxos.edge.calls.Tracks tracks = 7;
|
|
98
136
|
*/
|
|
99
137
|
tracks?: Tracks;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: optional dxos.edge.calls.Transcription transcription = 8;
|
|
141
|
+
*/
|
|
142
|
+
transcription?: Transcription;
|
|
100
143
|
};
|
|
101
144
|
|
|
102
145
|
/**
|
|
@@ -104,7 +147,7 @@ export type UserState = Message<"dxos.edge.calls.UserState"> & {
|
|
|
104
147
|
* Use `create(UserStateSchema)` to create a new message.
|
|
105
148
|
*/
|
|
106
149
|
export const UserStateSchema: GenMessage<UserState> = /*@__PURE__*/
|
|
107
|
-
messageDesc(file_dxos_edge_calls,
|
|
150
|
+
messageDesc(file_dxos_edge_calls, 2);
|
|
108
151
|
|
|
109
152
|
/**
|
|
110
153
|
* @generated from message dxos.edge.calls.RoomState
|
|
@@ -119,6 +162,11 @@ export type RoomState = Message<"dxos.edge.calls.RoomState"> & {
|
|
|
119
162
|
* @generated from field: repeated dxos.edge.calls.UserState users = 2;
|
|
120
163
|
*/
|
|
121
164
|
users: UserState[];
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: optional dxos.edge.calls.Transcription transcription = 3;
|
|
168
|
+
*/
|
|
169
|
+
transcription?: Transcription;
|
|
122
170
|
};
|
|
123
171
|
|
|
124
172
|
/**
|
|
@@ -126,5 +174,5 @@ export type RoomState = Message<"dxos.edge.calls.RoomState"> & {
|
|
|
126
174
|
* Use `create(RoomStateSchema)` to create a new message.
|
|
127
175
|
*/
|
|
128
176
|
export const RoomStateSchema: GenMessage<RoomState> = /*@__PURE__*/
|
|
129
|
-
messageDesc(file_dxos_edge_calls,
|
|
177
|
+
messageDesc(file_dxos_edge_calls, 3);
|
|
130
178
|
|
|
@@ -20,7 +20,7 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
|
20
20
|
* Describes the file dxos/halo/credentials.proto.
|
|
21
21
|
*/
|
|
22
22
|
export const file_dxos_halo_credentials: GenFile = /*@__PURE__*/
|
|
23
|
-
fileDesc("
|
|
23
|
+
fileDesc("ChtkeG9zL2hhbG8vY3JlZGVudGlhbHMucHJvdG8SFWR4b3MuaGFsby5jcmVkZW50aWFscyI3CgxTcGFjZUdlbmVzaXMSJwoJc3BhY2Vfa2V5GAEgASgLMhQuZHhvcy5rZXlzLlB1YmxpY0tleSKRAwoLU3BhY2VNZW1iZXISJwoJc3BhY2Vfa2V5GAEgASgLMhQuZHhvcy5rZXlzLlB1YmxpY0tleRI1CgRyb2xlGAIgASgOMicuZHhvcy5oYWxvLmNyZWRlbnRpYW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QoFQUdFTlQQAxIRCg1BR0VOVF9NQU5BR0VEEAQSCgoGTU9CSUxFEAVCNlo0Z2l0aHViLmNvbS9keG9zL2R4b3MvcHJvdG8vZGVmL2R4b3MvaGFsby9jcmVkZW50aWFsc2IGcHJvdG8z", [file_google_protobuf_any, file_google_protobuf_struct, file_google_protobuf_timestamp, file_dxos_echo_timeframe, file_dxos_keys]);
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* [ASSERTION]
|
|
@@ -357,6 +357,13 @@ export type IdentityRecovery = Message<"dxos.halo.credentials.IdentityRecovery">
|
|
|
357
357
|
* @generated from field: dxos.keys.PublicKey recovery_key = 2;
|
|
358
358
|
*/
|
|
359
359
|
recoveryKey?: PublicKey;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* / Algorithm used to derive the recovery key.
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: int32 algorithm = 3;
|
|
365
|
+
*/
|
|
366
|
+
algorithm: number;
|
|
360
367
|
};
|
|
361
368
|
|
|
362
369
|
/**
|
package/src/edge.ts
CHANGED
|
@@ -70,10 +70,23 @@ export type JoinSpaceResponseBody = {
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
export type RecoverIdentityRequest = {
|
|
73
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Required if recoveryKey is not provided.
|
|
75
|
+
*/
|
|
76
|
+
identityDid?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Required if identityDid is not provided.
|
|
79
|
+
*/
|
|
80
|
+
recoveryKey?: string;
|
|
74
81
|
deviceKey: string;
|
|
75
82
|
controlFeedKey: string;
|
|
76
|
-
signature?:
|
|
83
|
+
signature?:
|
|
84
|
+
| string
|
|
85
|
+
| {
|
|
86
|
+
signature: string;
|
|
87
|
+
clientDataJson: string;
|
|
88
|
+
authenticatorData: string;
|
|
89
|
+
};
|
|
77
90
|
};
|
|
78
91
|
|
|
79
92
|
export type RecoverIdentityResponseBody = {
|
|
@@ -118,17 +118,44 @@ service SystemService {
|
|
|
118
118
|
//
|
|
119
119
|
|
|
120
120
|
message Identity {
|
|
121
|
+
string did = 4;
|
|
121
122
|
dxos.keys.PublicKey identity_key = 1;
|
|
122
123
|
optional dxos.keys.PublicKey space_key = 2;
|
|
123
124
|
optional halo.credentials.ProfileDocument profile = 3;
|
|
124
125
|
}
|
|
125
126
|
|
|
127
|
+
message RequestRecoveryChallengeResponse {
|
|
128
|
+
dxos.keys.PublicKey device_key = 1;
|
|
129
|
+
dxos.keys.PublicKey control_feed_key = 2;
|
|
130
|
+
string challenge = 3;
|
|
131
|
+
}
|
|
132
|
+
|
|
126
133
|
message RecoverIdentityRequest {
|
|
127
|
-
|
|
134
|
+
message ExternalSignature {
|
|
135
|
+
string identity_did = 1;
|
|
136
|
+
dxos.keys.PublicKey device_key = 2;
|
|
137
|
+
dxos.keys.PublicKey control_feed_key = 3;
|
|
138
|
+
bytes signature = 4;
|
|
139
|
+
optional bytes client_data_json = 5;
|
|
140
|
+
optional bytes authenticator_data = 6;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
oneof request {
|
|
144
|
+
string recovery_code = 1;
|
|
145
|
+
ExternalSignature external = 2;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
message CreateRecoveryCredentialRequest {
|
|
150
|
+
/// Optional recovery key. If not provided, a new key will be generated.
|
|
151
|
+
optional dxos.keys.PublicKey recovery_key = 1;
|
|
152
|
+
|
|
153
|
+
/// Algorithm used to generate the recovery key.
|
|
154
|
+
optional int32 algorithm = 2;
|
|
128
155
|
}
|
|
129
156
|
|
|
130
|
-
message
|
|
131
|
-
string
|
|
157
|
+
message CreateRecoveryCredentialResponse {
|
|
158
|
+
optional string recovery_code = 1;
|
|
132
159
|
}
|
|
133
160
|
|
|
134
161
|
message QueryIdentityResponse {
|
|
@@ -150,8 +177,9 @@ message CreateIdentityRequest {
|
|
|
150
177
|
// TODO(wittjosiah): Align pluralization with other services.
|
|
151
178
|
service IdentityService {
|
|
152
179
|
rpc CreateIdentity(CreateIdentityRequest) returns (Identity);
|
|
180
|
+
rpc RequestRecoveryChallenge(google.protobuf.Empty) returns (RequestRecoveryChallengeResponse);
|
|
153
181
|
rpc RecoverIdentity(RecoverIdentityRequest) returns (Identity);
|
|
154
|
-
rpc
|
|
182
|
+
rpc CreateRecoveryCredential(CreateRecoveryCredentialRequest) returns (CreateRecoveryCredentialResponse);
|
|
155
183
|
rpc QueryIdentity(google.protobuf.Empty) returns (stream QueryIdentityResponse);
|
|
156
184
|
rpc UpdateProfile(halo.credentials.ProfileDocument) returns (Identity);
|
|
157
185
|
rpc SignPresentation(SignPresentationRequest) returns (dxos.halo.credentials.Presentation);
|
|
@@ -17,6 +17,24 @@ message Tracks {
|
|
|
17
17
|
optional bool screen_share_enabled = 6;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Transcription settings.
|
|
22
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
23
|
+
*/
|
|
24
|
+
message Transcription {
|
|
25
|
+
bool enabled = 1;
|
|
26
|
+
/**
|
|
27
|
+
* Lamport timestamp of when the state was set.
|
|
28
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
29
|
+
*/
|
|
30
|
+
int32 lamport_timestamp = 2;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Object ID of where the transcription should be stored.
|
|
34
|
+
*/
|
|
35
|
+
string object_id = 3;
|
|
36
|
+
}
|
|
37
|
+
|
|
20
38
|
message UserState {
|
|
21
39
|
string id = 1;
|
|
22
40
|
string name = 2;
|
|
@@ -25,9 +43,11 @@ message UserState {
|
|
|
25
43
|
bool speaking = 5;
|
|
26
44
|
bool joined = 6;
|
|
27
45
|
Tracks tracks = 7;
|
|
46
|
+
optional Transcription transcription = 8;
|
|
28
47
|
}
|
|
29
48
|
|
|
30
49
|
message RoomState {
|
|
31
50
|
string meetingId = 1;
|
|
32
51
|
repeated UserState users = 2;
|
|
52
|
+
optional Transcription transcription = 3;
|
|
33
53
|
}
|
|
@@ -139,6 +139,8 @@ message IdentityRecovery {
|
|
|
139
139
|
dxos.keys.PublicKey identity_key = 1;
|
|
140
140
|
/// Public key derived from the recovery seedphrase.
|
|
141
141
|
dxos.keys.PublicKey recovery_key = 2;
|
|
142
|
+
/// Algorithm used to derive the recovery key.
|
|
143
|
+
int32 algorithm = 3;
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
message ProfileDocument {
|
|
@@ -593,6 +593,7 @@ export interface SystemService {
|
|
|
593
593
|
* {@link file://./../../../dxos/client/services.proto}
|
|
594
594
|
*/
|
|
595
595
|
export interface Identity {
|
|
596
|
+
did: string;
|
|
596
597
|
identityKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
597
598
|
/**
|
|
598
599
|
* Options:
|
|
@@ -605,19 +606,75 @@ export interface Identity {
|
|
|
605
606
|
*/
|
|
606
607
|
profile?: dxos_halo_credentials.ProfileDocument;
|
|
607
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
* Defined in:
|
|
611
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
612
|
+
*/
|
|
613
|
+
export interface RequestRecoveryChallengeResponse {
|
|
614
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
615
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
616
|
+
challenge: string;
|
|
617
|
+
}
|
|
608
618
|
/**
|
|
609
619
|
* Defined in:
|
|
610
620
|
* {@link file://./../../../dxos/client/services.proto}
|
|
611
621
|
*/
|
|
612
622
|
export interface RecoverIdentityRequest {
|
|
613
|
-
|
|
623
|
+
recoveryCode?: string;
|
|
624
|
+
external?: RecoverIdentityRequest.ExternalSignature;
|
|
625
|
+
}
|
|
626
|
+
export namespace RecoverIdentityRequest {
|
|
627
|
+
/**
|
|
628
|
+
* Defined in:
|
|
629
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
630
|
+
*/
|
|
631
|
+
export interface ExternalSignature {
|
|
632
|
+
identityDid: string;
|
|
633
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
634
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
635
|
+
signature: Uint8Array;
|
|
636
|
+
/**
|
|
637
|
+
* Options:
|
|
638
|
+
* - proto3_optional = true
|
|
639
|
+
*/
|
|
640
|
+
clientDataJson?: Uint8Array;
|
|
641
|
+
/**
|
|
642
|
+
* Options:
|
|
643
|
+
* - proto3_optional = true
|
|
644
|
+
*/
|
|
645
|
+
authenticatorData?: Uint8Array;
|
|
646
|
+
}
|
|
614
647
|
}
|
|
615
648
|
/**
|
|
616
649
|
* Defined in:
|
|
617
650
|
* {@link file://./../../../dxos/client/services.proto}
|
|
618
651
|
*/
|
|
619
|
-
export interface
|
|
620
|
-
|
|
652
|
+
export interface CreateRecoveryCredentialRequest {
|
|
653
|
+
/**
|
|
654
|
+
* Optional recovery key. If not provided, a new key will be generated.
|
|
655
|
+
*
|
|
656
|
+
* Options:
|
|
657
|
+
* - proto3_optional = true
|
|
658
|
+
*/
|
|
659
|
+
recoveryKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
660
|
+
/**
|
|
661
|
+
* Algorithm used to generate the recovery key.
|
|
662
|
+
*
|
|
663
|
+
* Options:
|
|
664
|
+
* - proto3_optional = true
|
|
665
|
+
*/
|
|
666
|
+
algorithm?: number;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* Defined in:
|
|
670
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
671
|
+
*/
|
|
672
|
+
export interface CreateRecoveryCredentialResponse {
|
|
673
|
+
/**
|
|
674
|
+
* Options:
|
|
675
|
+
* - proto3_optional = true
|
|
676
|
+
*/
|
|
677
|
+
recoveryCode?: string;
|
|
621
678
|
}
|
|
622
679
|
/**
|
|
623
680
|
* Defined in:
|
|
@@ -664,8 +721,9 @@ export interface CreateIdentityRequest {
|
|
|
664
721
|
*/
|
|
665
722
|
export interface IdentityService {
|
|
666
723
|
createIdentity: (request: CreateIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
724
|
+
requestRecoveryChallenge: (request: void, options?: RequestOptions) => Promise<RequestRecoveryChallengeResponse>;
|
|
667
725
|
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
668
|
-
|
|
726
|
+
createRecoveryCredential: (request: CreateRecoveryCredentialRequest, options?: RequestOptions) => Promise<CreateRecoveryCredentialResponse>;
|
|
669
727
|
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
670
728
|
updateProfile: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
671
729
|
signPresentation: (request: SignPresentationRequest, options?: RequestOptions) => Promise<dxos_halo_credentials.Presentation>;
|
|
@@ -101,6 +101,25 @@ export interface Tracks {
|
|
|
101
101
|
*/
|
|
102
102
|
screenShareEnabled?: boolean;
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Transcription settings.
|
|
106
|
+
* It will be merged across all users in the room based on the Lamport timestamp (last one wins).
|
|
107
|
+
*
|
|
108
|
+
* Defined in:
|
|
109
|
+
* {@link file://./../../../dxos/edge/calls.proto}
|
|
110
|
+
*/
|
|
111
|
+
export interface Transcription {
|
|
112
|
+
enabled: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Lamport timestamp of when the state was set.
|
|
115
|
+
* @see https://en.wikipedia.org/wiki/Lamport_timestamp
|
|
116
|
+
*/
|
|
117
|
+
lamportTimestamp: number;
|
|
118
|
+
/**
|
|
119
|
+
* Object ID of where the transcription should be stored.
|
|
120
|
+
*/
|
|
121
|
+
objectId: string;
|
|
122
|
+
}
|
|
104
123
|
/**
|
|
105
124
|
* Defined in:
|
|
106
125
|
* {@link file://./../../../dxos/edge/calls.proto}
|
|
@@ -117,6 +136,11 @@ export interface UserState {
|
|
|
117
136
|
speaking: boolean;
|
|
118
137
|
joined: boolean;
|
|
119
138
|
tracks: Tracks;
|
|
139
|
+
/**
|
|
140
|
+
* Options:
|
|
141
|
+
* - proto3_optional = true
|
|
142
|
+
*/
|
|
143
|
+
transcription?: Transcription;
|
|
120
144
|
}
|
|
121
145
|
/**
|
|
122
146
|
* Defined in:
|
|
@@ -125,4 +149,9 @@ export interface UserState {
|
|
|
125
149
|
export interface RoomState {
|
|
126
150
|
meetingId: string;
|
|
127
151
|
users?: UserState[];
|
|
152
|
+
/**
|
|
153
|
+
* Options:
|
|
154
|
+
* - proto3_optional = true
|
|
155
|
+
*/
|
|
156
|
+
transcription?: Transcription;
|
|
128
157
|
}
|
|
@@ -219,6 +219,10 @@ export interface IdentityRecovery {
|
|
|
219
219
|
* Public key derived from the recovery seedphrase.
|
|
220
220
|
*/
|
|
221
221
|
recoveryKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
222
|
+
/**
|
|
223
|
+
* Algorithm used to derive the recovery key.
|
|
224
|
+
*/
|
|
225
|
+
algorithm: number;
|
|
222
226
|
}
|
|
223
227
|
/**
|
|
224
228
|
* Defined in:
|