@dxos/protocols 0.7.5-labs.35b4b42 → 0.7.5-labs.8a82073
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 +83 -4
- 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 +59 -49
- 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 +5 -5
- 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 +1 -1
- 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 +2 -2
- package/dist/cjs/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/cjs/src/edge.d.ts +13 -1
- 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 +213 -180
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +28 -28
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/edge/calls.d.ts +3 -3
- 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 +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +2 -0
- 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 +83 -4
- 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 +57 -47
- 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 +5 -5
- 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 +1 -1
- 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 +2 -2
- package/dist/esm/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/esm/src/edge.d.ts +13 -1
- 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 +213 -180
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +27 -27
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/edge/calls.d.ts +3 -3
- 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 +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +2 -0
- 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/package.json +7 -7
- package/src/buf/proto/gen/dxos/client/services_pb.ts +140 -51
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +6 -6
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +3 -3
- package/src/edge.ts +15 -1
- package/src/proto/dxos/client/services.proto +21 -2
- package/src/proto/dxos/edge/calls.proto +3 -3
- package/src/proto/dxos/halo/credentials.proto +1 -1
- package/src/proto/gen/dxos/client/services.ts +213 -180
- package/src/proto/gen/dxos/edge/calls.ts +3 -3
- package/src/proto/gen/dxos/halo/credentials.ts +1 -1
- package/src/proto/gen/index.ts +3 -1
|
@@ -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("ChVkeG9zL2VkZ2UvY2FsbHMucHJvdG8SD2R4b3MuZWRnZS5jYWxscyKEAgoGVHJhY2tzEhIKBWF1ZGlvGAEgASgJSACIAQESGgoNYXVkaW9fZW5hYmxlZBgCIAEoCEgBiAEBEhIKBXZpZGVvGAMgASgJSAKIAQESGgoNdmlkZW9fZW5hYmxlZBgEIAEoCEgDiAEBEhgKC3NjcmVlbnNoYXJlGAUgASgJSASIAQESIAoTc2NyZWVuc2hhcmVfZW5hYmxlZBgGIAEoCEgFiAEBQggKBl9hdWRpb0IQCg5fYXVkaW9fZW5hYmxlZEIICgZfdmlkZW9CEAoOX3ZpZGVvX2VuYWJsZWRCDgoMX3NjcmVlbnNoYXJlQhYKFF9zY3JlZW5zaGFyZV9lbmFibGVkIk8KDVRyYW5zY3JpcHRpb24SDwoHZW5hYmxlZBgBIAEoCBIZChFsYW1wb3J0X3RpbWVzdGFtcBgCIAEoBRISCgpvYmplY3RfZHhuGAMgASgJIpMCCglVc2VyU3RhdGUSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIjChZ0cmFuc2NlaXZlcl9zZXNzaW9uX2lkGAMgASgJSACIAQESEwoLcmFpc2VkX2hhbmQYBCABKAgSEAoIc3BlYWtpbmcYBSABKAgSDgoGam9pbmVkGAYgASgIEicKBnRyYWNrcxgHIAEoCzIXLmR4b3MuZWRnZS5jYWxscy5UcmFja3MSOgoNdHJhbnNjcmlwdGlvbhgIIAEoCzIeLmR4b3MuZWRnZS5jYWxscy5UcmFuc2NyaXB0aW9uSAGIAQFCGQoXX3RyYW5zY2VpdmVyX3Nlc3Npb25faWRCEAoOX3RyYW5zY3JpcHRpb24ilwEKCVJvb21TdGF0ZRIRCgltZWV0aW5nSWQYASABKAkSKQoFdXNlcnMYAiADKAsyGi5keG9zLmVkZ2UuY2FsbHMuVXNlclN0YXRlEjoKDXRyYW5zY3JpcHRpb24YAyABKAsyHi5keG9zLmVkZ2UuY2FsbHMuVHJhbnNjcmlwdGlvbkgAiAEBQhAKDl90cmFuc2NyaXB0aW9uYgZwcm90bzM", [file_dxos_keys]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @generated from message dxos.edge.calls.Tracks
|
|
@@ -47,9 +47,9 @@ export type Tracks = Message<"dxos.edge.calls.Tracks"> & {
|
|
|
47
47
|
screenshare?: string;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* @generated from field: optional bool
|
|
50
|
+
* @generated from field: optional bool screenshare_enabled = 6;
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
screenshareEnabled?: boolean;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -83,11 +83,11 @@ export type Transcription = Message<"dxos.edge.calls.Transcription"> & {
|
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* *
|
|
86
|
-
* Object
|
|
86
|
+
* Object DXN of where the transcription should be stored.
|
|
87
87
|
*
|
|
88
|
-
* @generated from field: string
|
|
88
|
+
* @generated from field: string object_dxn = 3;
|
|
89
89
|
*/
|
|
90
|
-
|
|
90
|
+
objectDxn: string;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
/**
|
|
@@ -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 =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cy5rZXlzLlB1YmxpY0tleUIFCgNfaWRCEgoQX2V4cGlyYXRpb25fZGF0ZUIRCg9fZXhwaXJhdGlvbl9yZWZCCAoGX3Byb29mInQKDFByZXNlbnRhdGlvbhI2CgtjcmVkZW50aWFscxgBIAMoCzIhLmR4b3MuaGFsby5jcmVkZW50aWFscy5DcmVkZW50aWFsEiwKBnByb29mcxgCIAMoCzIcLmR4b3MuaGFsby5jcmVkZW50aWFscy5Qcm9vZipcCgpEZXZpY2VUeXBlEgsKB1VOS05PV04QABILCgdCUk9XU0VSEAESCgoGTkFUSVZFEAISCQoFQUdFTlQQAxIRCg1BR0VOVF9NQU5BR0VEEAQSCgoGTU9CSUxFEAVCNlo0Z2l0aHViLmNvbS9keG9zL2R4b3MvcHJvdG8vZGVmL2R4b3MvaGFsby9jcmVkZW50aWFsc2IGcHJvdG8z", [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]
|
|
@@ -361,9 +361,9 @@ export type IdentityRecovery = Message<"dxos.halo.credentials.IdentityRecovery">
|
|
|
361
361
|
/**
|
|
362
362
|
* / Algorithm used to derive the recovery key.
|
|
363
363
|
*
|
|
364
|
-
* @generated from field:
|
|
364
|
+
* @generated from field: string algorithm = 3;
|
|
365
365
|
*/
|
|
366
|
-
algorithm:
|
|
366
|
+
algorithm: string;
|
|
367
367
|
};
|
|
368
368
|
|
|
369
369
|
/**
|
package/src/edge.ts
CHANGED
|
@@ -80,7 +80,13 @@ export type RecoverIdentityRequest = {
|
|
|
80
80
|
recoveryKey?: string;
|
|
81
81
|
deviceKey: string;
|
|
82
82
|
controlFeedKey: string;
|
|
83
|
-
signature?:
|
|
83
|
+
signature?:
|
|
84
|
+
| string
|
|
85
|
+
| {
|
|
86
|
+
signature: string;
|
|
87
|
+
clientDataJson: string;
|
|
88
|
+
authenticatorData: string;
|
|
89
|
+
};
|
|
84
90
|
};
|
|
85
91
|
|
|
86
92
|
export type RecoverIdentityResponseBody = {
|
|
@@ -118,7 +124,15 @@ export type UploadFunctionResponseBody = {
|
|
|
118
124
|
functionId: string;
|
|
119
125
|
version: string;
|
|
120
126
|
meta: {
|
|
127
|
+
description?: string;
|
|
128
|
+
/**
|
|
129
|
+
* JSON Schema for the input of the function.
|
|
130
|
+
*/
|
|
121
131
|
inputSchema?: object;
|
|
132
|
+
/**
|
|
133
|
+
* JSON Schema for the output of the function.
|
|
134
|
+
*/
|
|
135
|
+
outputSchema?: object;
|
|
122
136
|
};
|
|
123
137
|
};
|
|
124
138
|
|
|
@@ -124,8 +124,26 @@ message Identity {
|
|
|
124
124
|
optional halo.credentials.ProfileDocument profile = 3;
|
|
125
125
|
}
|
|
126
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
|
+
|
|
127
133
|
message RecoverIdentityRequest {
|
|
128
|
-
|
|
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
|
+
}
|
|
129
147
|
}
|
|
130
148
|
|
|
131
149
|
message CreateRecoveryCredentialRequest {
|
|
@@ -133,7 +151,7 @@ message CreateRecoveryCredentialRequest {
|
|
|
133
151
|
optional dxos.keys.PublicKey recovery_key = 1;
|
|
134
152
|
|
|
135
153
|
/// Algorithm used to generate the recovery key.
|
|
136
|
-
optional
|
|
154
|
+
optional string algorithm = 2;
|
|
137
155
|
}
|
|
138
156
|
|
|
139
157
|
message CreateRecoveryCredentialResponse {
|
|
@@ -159,6 +177,7 @@ message CreateIdentityRequest {
|
|
|
159
177
|
// TODO(wittjosiah): Align pluralization with other services.
|
|
160
178
|
service IdentityService {
|
|
161
179
|
rpc CreateIdentity(CreateIdentityRequest) returns (Identity);
|
|
180
|
+
rpc RequestRecoveryChallenge(google.protobuf.Empty) returns (RequestRecoveryChallengeResponse);
|
|
162
181
|
rpc RecoverIdentity(RecoverIdentityRequest) returns (Identity);
|
|
163
182
|
rpc CreateRecoveryCredential(CreateRecoveryCredentialRequest) returns (CreateRecoveryCredentialResponse);
|
|
164
183
|
rpc QueryIdentity(google.protobuf.Empty) returns (stream QueryIdentityResponse);
|
|
@@ -14,7 +14,7 @@ message Tracks {
|
|
|
14
14
|
optional string video = 3;
|
|
15
15
|
optional bool video_enabled = 4;
|
|
16
16
|
optional string screenshare = 5;
|
|
17
|
-
optional bool
|
|
17
|
+
optional bool screenshare_enabled = 6;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -30,9 +30,9 @@ message Transcription {
|
|
|
30
30
|
int32 lamport_timestamp = 2;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Object
|
|
33
|
+
* Object DXN of where the transcription should be stored.
|
|
34
34
|
*/
|
|
35
|
-
string
|
|
35
|
+
string object_dxn = 3;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
message UserState {
|
|
@@ -140,7 +140,7 @@ message IdentityRecovery {
|
|
|
140
140
|
/// Public key derived from the recovery seedphrase.
|
|
141
141
|
dxos.keys.PublicKey recovery_key = 2;
|
|
142
142
|
/// Algorithm used to derive the recovery key.
|
|
143
|
-
|
|
143
|
+
string algorithm = 3;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
message ProfileDocument {
|
|
@@ -257,184 +257,6 @@ export namespace Invitation {
|
|
|
257
257
|
EXPIRED = 9
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
/**
|
|
261
|
-
* Defined in:
|
|
262
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
263
|
-
*/
|
|
264
|
-
export interface Metrics {
|
|
265
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
266
|
-
values?: Metrics.KeyPair[];
|
|
267
|
-
}
|
|
268
|
-
export namespace Metrics {
|
|
269
|
-
/**
|
|
270
|
-
* Defined in:
|
|
271
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
272
|
-
*/
|
|
273
|
-
export interface KeyPair {
|
|
274
|
-
/**
|
|
275
|
-
* Options:
|
|
276
|
-
* - proto3_optional = true
|
|
277
|
-
*/
|
|
278
|
-
key?: string;
|
|
279
|
-
/**
|
|
280
|
-
* Options:
|
|
281
|
-
* - proto3_optional = true
|
|
282
|
-
*/
|
|
283
|
-
value?: dxos_value.Value;
|
|
284
|
-
/**
|
|
285
|
-
* Options:
|
|
286
|
-
* - proto3_optional = true
|
|
287
|
-
*/
|
|
288
|
-
stats?: dxos_value.Stats;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* Defined in:
|
|
293
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
294
|
-
*/
|
|
295
|
-
export interface ControlMetricsRequest {
|
|
296
|
-
/**
|
|
297
|
-
* Options:
|
|
298
|
-
* - proto3_optional = true
|
|
299
|
-
*/
|
|
300
|
-
reset?: boolean;
|
|
301
|
-
/**
|
|
302
|
-
* Options:
|
|
303
|
-
* - proto3_optional = true
|
|
304
|
-
*/
|
|
305
|
-
record?: boolean;
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Defined in:
|
|
309
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
310
|
-
*/
|
|
311
|
-
export interface ControlMetricsResponse {
|
|
312
|
-
/**
|
|
313
|
-
* Options:
|
|
314
|
-
* - proto3_optional = true
|
|
315
|
-
*/
|
|
316
|
-
recording?: boolean;
|
|
317
|
-
}
|
|
318
|
-
/**
|
|
319
|
-
* Defined in:
|
|
320
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
321
|
-
*/
|
|
322
|
-
export interface QueryMetricsRequest {
|
|
323
|
-
/**
|
|
324
|
-
* Options:
|
|
325
|
-
* - proto3_optional = true
|
|
326
|
-
*/
|
|
327
|
-
interval?: number;
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Defined in:
|
|
331
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
332
|
-
*/
|
|
333
|
-
export interface QueryMetricsResponse {
|
|
334
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
335
|
-
metrics: Metrics;
|
|
336
|
-
}
|
|
337
|
-
/**
|
|
338
|
-
* Defined in:
|
|
339
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
340
|
-
*/
|
|
341
|
-
export enum LogLevel {
|
|
342
|
-
NONE = 0,
|
|
343
|
-
TRACE = 5,
|
|
344
|
-
DEBUG = 10,
|
|
345
|
-
VERBOSE = 11,
|
|
346
|
-
INFO = 12,
|
|
347
|
-
WARN = 13,
|
|
348
|
-
ERROR = 14
|
|
349
|
-
}
|
|
350
|
-
/**
|
|
351
|
-
* Defined in:
|
|
352
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
353
|
-
*/
|
|
354
|
-
export interface QueryLogsRequest {
|
|
355
|
-
filters?: QueryLogsRequest.Filter[];
|
|
356
|
-
/**
|
|
357
|
-
* Options:
|
|
358
|
-
* - proto3_optional = true
|
|
359
|
-
*/
|
|
360
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
361
|
-
}
|
|
362
|
-
export namespace QueryLogsRequest {
|
|
363
|
-
/**
|
|
364
|
-
* Defined in:
|
|
365
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
366
|
-
*/
|
|
367
|
-
export enum MatchingOptions {
|
|
368
|
-
NONE = 0,
|
|
369
|
-
INCLUSIVE = 1,
|
|
370
|
-
EXPLICIT = 2
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* Defined in:
|
|
374
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
375
|
-
*/
|
|
376
|
-
export interface Filter {
|
|
377
|
-
level: LogLevel;
|
|
378
|
-
/**
|
|
379
|
-
* Options:
|
|
380
|
-
* - proto3_optional = true
|
|
381
|
-
*/
|
|
382
|
-
pattern?: string;
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* Defined in:
|
|
387
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
388
|
-
*/
|
|
389
|
-
export interface LogEntry {
|
|
390
|
-
level: LogLevel;
|
|
391
|
-
message: string;
|
|
392
|
-
/**
|
|
393
|
-
* Options:
|
|
394
|
-
* - proto3_optional = true
|
|
395
|
-
*/
|
|
396
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
397
|
-
/**
|
|
398
|
-
* Options:
|
|
399
|
-
* - proto3_optional = true
|
|
400
|
-
*/
|
|
401
|
-
meta?: LogEntry.Meta;
|
|
402
|
-
/**
|
|
403
|
-
* Options:
|
|
404
|
-
* - proto3_optional = true
|
|
405
|
-
*/
|
|
406
|
-
error?: dxos_error.Error;
|
|
407
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
408
|
-
}
|
|
409
|
-
export namespace LogEntry {
|
|
410
|
-
/**
|
|
411
|
-
* Defined in:
|
|
412
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
413
|
-
*/
|
|
414
|
-
export interface Meta {
|
|
415
|
-
file: string;
|
|
416
|
-
line: number;
|
|
417
|
-
/**
|
|
418
|
-
* Options:
|
|
419
|
-
* - proto3_optional = true
|
|
420
|
-
*/
|
|
421
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
422
|
-
/**
|
|
423
|
-
* Options:
|
|
424
|
-
* - proto3_optional = true
|
|
425
|
-
*/
|
|
426
|
-
resourceId?: number;
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
/**
|
|
430
|
-
* Defined in:
|
|
431
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
432
|
-
*/
|
|
433
|
-
export interface LoggingService {
|
|
434
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
435
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
436
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
437
|
-
}
|
|
438
260
|
/**
|
|
439
261
|
* Defined in:
|
|
440
262
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -606,12 +428,44 @@ export interface Identity {
|
|
|
606
428
|
*/
|
|
607
429
|
profile?: dxos_halo_credentials.ProfileDocument;
|
|
608
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* Defined in:
|
|
433
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
434
|
+
*/
|
|
435
|
+
export interface RequestRecoveryChallengeResponse {
|
|
436
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
437
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
438
|
+
challenge: string;
|
|
439
|
+
}
|
|
609
440
|
/**
|
|
610
441
|
* Defined in:
|
|
611
442
|
* {@link file://./../../../dxos/client/services.proto}
|
|
612
443
|
*/
|
|
613
444
|
export interface RecoverIdentityRequest {
|
|
614
|
-
recoveryCode
|
|
445
|
+
recoveryCode?: string;
|
|
446
|
+
external?: RecoverIdentityRequest.ExternalSignature;
|
|
447
|
+
}
|
|
448
|
+
export namespace RecoverIdentityRequest {
|
|
449
|
+
/**
|
|
450
|
+
* Defined in:
|
|
451
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
452
|
+
*/
|
|
453
|
+
export interface ExternalSignature {
|
|
454
|
+
identityDid: string;
|
|
455
|
+
deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
456
|
+
controlFeedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
457
|
+
signature: Uint8Array;
|
|
458
|
+
/**
|
|
459
|
+
* Options:
|
|
460
|
+
* - proto3_optional = true
|
|
461
|
+
*/
|
|
462
|
+
clientDataJson?: Uint8Array;
|
|
463
|
+
/**
|
|
464
|
+
* Options:
|
|
465
|
+
* - proto3_optional = true
|
|
466
|
+
*/
|
|
467
|
+
authenticatorData?: Uint8Array;
|
|
468
|
+
}
|
|
615
469
|
}
|
|
616
470
|
/**
|
|
617
471
|
* Defined in:
|
|
@@ -631,7 +485,7 @@ export interface CreateRecoveryCredentialRequest {
|
|
|
631
485
|
* Options:
|
|
632
486
|
* - proto3_optional = true
|
|
633
487
|
*/
|
|
634
|
-
algorithm?:
|
|
488
|
+
algorithm?: string;
|
|
635
489
|
}
|
|
636
490
|
/**
|
|
637
491
|
* Defined in:
|
|
@@ -689,6 +543,7 @@ export interface CreateIdentityRequest {
|
|
|
689
543
|
*/
|
|
690
544
|
export interface IdentityService {
|
|
691
545
|
createIdentity: (request: CreateIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
546
|
+
requestRecoveryChallenge: (request: void, options?: RequestOptions) => Promise<RequestRecoveryChallengeResponse>;
|
|
692
547
|
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
693
548
|
createRecoveryCredential: (request: CreateRecoveryCredentialRequest, options?: RequestOptions) => Promise<CreateRecoveryCredentialResponse>;
|
|
694
549
|
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
@@ -1341,3 +1196,181 @@ export namespace QueryAgentStatusResponse {
|
|
|
1341
1196
|
NOT_FOUND = 3
|
|
1342
1197
|
}
|
|
1343
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* Defined in:
|
|
1201
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1202
|
+
*/
|
|
1203
|
+
export interface Metrics {
|
|
1204
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1205
|
+
values?: Metrics.KeyPair[];
|
|
1206
|
+
}
|
|
1207
|
+
export namespace Metrics {
|
|
1208
|
+
/**
|
|
1209
|
+
* Defined in:
|
|
1210
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1211
|
+
*/
|
|
1212
|
+
export interface KeyPair {
|
|
1213
|
+
/**
|
|
1214
|
+
* Options:
|
|
1215
|
+
* - proto3_optional = true
|
|
1216
|
+
*/
|
|
1217
|
+
key?: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* Options:
|
|
1220
|
+
* - proto3_optional = true
|
|
1221
|
+
*/
|
|
1222
|
+
value?: dxos_value.Value;
|
|
1223
|
+
/**
|
|
1224
|
+
* Options:
|
|
1225
|
+
* - proto3_optional = true
|
|
1226
|
+
*/
|
|
1227
|
+
stats?: dxos_value.Stats;
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
/**
|
|
1231
|
+
* Defined in:
|
|
1232
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1233
|
+
*/
|
|
1234
|
+
export interface ControlMetricsRequest {
|
|
1235
|
+
/**
|
|
1236
|
+
* Options:
|
|
1237
|
+
* - proto3_optional = true
|
|
1238
|
+
*/
|
|
1239
|
+
reset?: boolean;
|
|
1240
|
+
/**
|
|
1241
|
+
* Options:
|
|
1242
|
+
* - proto3_optional = true
|
|
1243
|
+
*/
|
|
1244
|
+
record?: boolean;
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Defined in:
|
|
1248
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1249
|
+
*/
|
|
1250
|
+
export interface ControlMetricsResponse {
|
|
1251
|
+
/**
|
|
1252
|
+
* Options:
|
|
1253
|
+
* - proto3_optional = true
|
|
1254
|
+
*/
|
|
1255
|
+
recording?: boolean;
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* Defined in:
|
|
1259
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1260
|
+
*/
|
|
1261
|
+
export interface QueryMetricsRequest {
|
|
1262
|
+
/**
|
|
1263
|
+
* Options:
|
|
1264
|
+
* - proto3_optional = true
|
|
1265
|
+
*/
|
|
1266
|
+
interval?: number;
|
|
1267
|
+
}
|
|
1268
|
+
/**
|
|
1269
|
+
* Defined in:
|
|
1270
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1271
|
+
*/
|
|
1272
|
+
export interface QueryMetricsResponse {
|
|
1273
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1274
|
+
metrics: Metrics;
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Defined in:
|
|
1278
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1279
|
+
*/
|
|
1280
|
+
export enum LogLevel {
|
|
1281
|
+
NONE = 0,
|
|
1282
|
+
TRACE = 5,
|
|
1283
|
+
DEBUG = 10,
|
|
1284
|
+
VERBOSE = 11,
|
|
1285
|
+
INFO = 12,
|
|
1286
|
+
WARN = 13,
|
|
1287
|
+
ERROR = 14
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* Defined in:
|
|
1291
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1292
|
+
*/
|
|
1293
|
+
export interface QueryLogsRequest {
|
|
1294
|
+
filters?: QueryLogsRequest.Filter[];
|
|
1295
|
+
/**
|
|
1296
|
+
* Options:
|
|
1297
|
+
* - proto3_optional = true
|
|
1298
|
+
*/
|
|
1299
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
1300
|
+
}
|
|
1301
|
+
export namespace QueryLogsRequest {
|
|
1302
|
+
/**
|
|
1303
|
+
* Defined in:
|
|
1304
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1305
|
+
*/
|
|
1306
|
+
export enum MatchingOptions {
|
|
1307
|
+
NONE = 0,
|
|
1308
|
+
INCLUSIVE = 1,
|
|
1309
|
+
EXPLICIT = 2
|
|
1310
|
+
}
|
|
1311
|
+
/**
|
|
1312
|
+
* Defined in:
|
|
1313
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1314
|
+
*/
|
|
1315
|
+
export interface Filter {
|
|
1316
|
+
level: LogLevel;
|
|
1317
|
+
/**
|
|
1318
|
+
* Options:
|
|
1319
|
+
* - proto3_optional = true
|
|
1320
|
+
*/
|
|
1321
|
+
pattern?: string;
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
/**
|
|
1325
|
+
* Defined in:
|
|
1326
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1327
|
+
*/
|
|
1328
|
+
export interface LogEntry {
|
|
1329
|
+
level: LogLevel;
|
|
1330
|
+
message: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* Options:
|
|
1333
|
+
* - proto3_optional = true
|
|
1334
|
+
*/
|
|
1335
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1336
|
+
/**
|
|
1337
|
+
* Options:
|
|
1338
|
+
* - proto3_optional = true
|
|
1339
|
+
*/
|
|
1340
|
+
meta?: LogEntry.Meta;
|
|
1341
|
+
/**
|
|
1342
|
+
* Options:
|
|
1343
|
+
* - proto3_optional = true
|
|
1344
|
+
*/
|
|
1345
|
+
error?: dxos_error.Error;
|
|
1346
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1347
|
+
}
|
|
1348
|
+
export namespace LogEntry {
|
|
1349
|
+
/**
|
|
1350
|
+
* Defined in:
|
|
1351
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1352
|
+
*/
|
|
1353
|
+
export interface Meta {
|
|
1354
|
+
file: string;
|
|
1355
|
+
line: number;
|
|
1356
|
+
/**
|
|
1357
|
+
* Options:
|
|
1358
|
+
* - proto3_optional = true
|
|
1359
|
+
*/
|
|
1360
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Options:
|
|
1363
|
+
* - proto3_optional = true
|
|
1364
|
+
*/
|
|
1365
|
+
resourceId?: number;
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* Defined in:
|
|
1370
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1371
|
+
*/
|
|
1372
|
+
export interface LoggingService {
|
|
1373
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1374
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1375
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1376
|
+
}
|
|
@@ -99,7 +99,7 @@ export interface Tracks {
|
|
|
99
99
|
* Options:
|
|
100
100
|
* - proto3_optional = true
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
screenshareEnabled?: boolean;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Transcription settings.
|
|
@@ -116,9 +116,9 @@ export interface Transcription {
|
|
|
116
116
|
*/
|
|
117
117
|
lamportTimestamp: number;
|
|
118
118
|
/**
|
|
119
|
-
* Object
|
|
119
|
+
* Object DXN of where the transcription should be stored.
|
|
120
120
|
*/
|
|
121
|
-
|
|
121
|
+
objectDxn: string;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Defined in:
|