@ai-matrx/desktop-protocol 0.21.21 → 0.21.23
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/CHANGELOG.md +12 -0
- package/dist/client.cjs +171 -4
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +171 -4
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +256 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +418 -6
- package/dist/index.d.ts +418 -6
- package/dist/index.js +256 -7
- package/dist/index.js.map +1 -1
- package/dist/{models-ZQtKshfc.d.cts → models-CXjW101n.d.cts} +629 -2
- package/dist/{models-ZQtKshfc.d.ts → models-CXjW101n.d.ts} +629 -2
- package/dist/react.d.cts +261 -1
- package/dist/react.d.ts +261 -1
- package/generated/desktop-protocol.schema.json +1019 -85
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ import { z } from 'zod';
|
|
|
6
6
|
* never drift (see the `_assert*` lines there).
|
|
7
7
|
*/
|
|
8
8
|
type ErrorCodeName = "AUTH_REQUIRED" | "AUTH_INVALID" | "AUTH_EXPIRED" | "AUTH_FORBIDDEN" | "AUTH_DEVICE_REVOKED" | "PERMISSION_DENIED_OS" | "NOT_FOUND" | "CONFLICT" | "INVALID_PARAMS" | "RESOURCE_BUSY" | "RESOURCE_GONE" | "CANCELLED" | "TIMEOUT" | "PLATFORM_UNSUPPORTED" | "RATE_LIMITED" | "INTERNAL" | "PROTOCOL_VERSION_UNSUPPORTED" | "PROTOCOL_ERROR" | "UNKNOWN_OPERATION" | "DEVICE_OFFLINE" | "PAYLOAD_TOO_LARGE";
|
|
9
|
-
type ErrorReasonName = "not_a_directory" | "is_a_directory" | "directory_not_empty" | "already_exists" | "stale_write" | "binary_content" | "not_utf8_boundary" | "patch_no_match" | "patch_ambiguous" | "resource_exited" | "resource_expired" | "control_taken" | "window_exhausted" | "runtime_not_installed" | "model_not_installed" | "unsupported_media" | "download_failed" | "service_starting" | "service_restarted" | "service_failed";
|
|
9
|
+
type ErrorReasonName = "not_a_directory" | "is_a_directory" | "directory_not_empty" | "already_exists" | "stale_write" | "binary_content" | "not_utf8_boundary" | "patch_no_match" | "patch_ambiguous" | "resource_exited" | "resource_expired" | "control_taken" | "window_exhausted" | "runtime_not_installed" | "model_not_installed" | "unsupported_media" | "download_failed" | "service_starting" | "service_restarted" | "service_failed" | "browser_not_connected" | "browser_ambiguous" | "browser_account_mismatch" | "browser_connection_off" | "awaiting_confirmation";
|
|
10
10
|
interface ErrorData {
|
|
11
11
|
reason?: ErrorReasonName | undefined;
|
|
12
12
|
cap?: string | undefined;
|
|
@@ -308,6 +308,11 @@ declare const ErrorMsg: z.ZodObject<{
|
|
|
308
308
|
service_starting: "service_starting";
|
|
309
309
|
service_restarted: "service_restarted";
|
|
310
310
|
service_failed: "service_failed";
|
|
311
|
+
browser_not_connected: "browser_not_connected";
|
|
312
|
+
browser_ambiguous: "browser_ambiguous";
|
|
313
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
314
|
+
browser_connection_off: "browser_connection_off";
|
|
315
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
311
316
|
}>>;
|
|
312
317
|
cap: z.ZodOptional<z.ZodString>;
|
|
313
318
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -493,6 +498,11 @@ declare const CoreToClientMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
493
498
|
service_starting: "service_starting";
|
|
494
499
|
service_restarted: "service_restarted";
|
|
495
500
|
service_failed: "service_failed";
|
|
501
|
+
browser_not_connected: "browser_not_connected";
|
|
502
|
+
browser_ambiguous: "browser_ambiguous";
|
|
503
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
504
|
+
browser_connection_off: "browser_connection_off";
|
|
505
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
496
506
|
}>>;
|
|
497
507
|
cap: z.ZodOptional<z.ZodString>;
|
|
498
508
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -601,6 +611,11 @@ declare const ErrorReason: z.ZodEnum<{
|
|
|
601
611
|
service_starting: "service_starting";
|
|
602
612
|
service_restarted: "service_restarted";
|
|
603
613
|
service_failed: "service_failed";
|
|
614
|
+
browser_not_connected: "browser_not_connected";
|
|
615
|
+
browser_ambiguous: "browser_ambiguous";
|
|
616
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
617
|
+
browser_connection_off: "browser_connection_off";
|
|
618
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
604
619
|
}>;
|
|
605
620
|
type ErrorReason = z.output<typeof ErrorReason>;
|
|
606
621
|
declare const ProtocolErrorBody: z.ZodObject<{
|
|
@@ -651,6 +666,11 @@ declare const ProtocolErrorBody: z.ZodObject<{
|
|
|
651
666
|
service_starting: "service_starting";
|
|
652
667
|
service_restarted: "service_restarted";
|
|
653
668
|
service_failed: "service_failed";
|
|
669
|
+
browser_not_connected: "browser_not_connected";
|
|
670
|
+
browser_ambiguous: "browser_ambiguous";
|
|
671
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
672
|
+
browser_connection_off: "browser_connection_off";
|
|
673
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
654
674
|
}>>;
|
|
655
675
|
cap: z.ZodOptional<z.ZodString>;
|
|
656
676
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -687,7 +707,7 @@ type OpSpec = {
|
|
|
687
707
|
readonly params: z.ZodType;
|
|
688
708
|
readonly result: z.ZodType;
|
|
689
709
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26";
|
|
710
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29";
|
|
691
711
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
712
|
};
|
|
693
713
|
declare const OPS: {
|
|
@@ -2436,6 +2456,62 @@ declare const OPS: {
|
|
|
2436
2456
|
readonly since: "1.11";
|
|
2437
2457
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2438
2458
|
};
|
|
2459
|
+
readonly "apps.chats.titles_check": {
|
|
2460
|
+
readonly params: z.ZodObject<{
|
|
2461
|
+
app_key: z.ZodString;
|
|
2462
|
+
}, z.core.$strict>;
|
|
2463
|
+
readonly result: z.ZodObject<{
|
|
2464
|
+
app_key: z.ZodString;
|
|
2465
|
+
chats_total: z.ZodInt;
|
|
2466
|
+
chats_in_several_windows: z.ZodInt;
|
|
2467
|
+
chats_with_a_different_name: z.ZodInt;
|
|
2468
|
+
copies_to_write: z.ZodInt;
|
|
2469
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2470
|
+
chat_id: z.ZodString;
|
|
2471
|
+
title: z.ZodString;
|
|
2472
|
+
title_source: z.ZodEnum<{
|
|
2473
|
+
user: "user";
|
|
2474
|
+
auto: "auto";
|
|
2475
|
+
}>;
|
|
2476
|
+
decided_from: z.ZodString;
|
|
2477
|
+
kind: z.ZodEnum<{
|
|
2478
|
+
user_vs_auto: "user_vs_auto";
|
|
2479
|
+
user_vs_user: "user_vs_user";
|
|
2480
|
+
auto_vs_auto: "auto_vs_auto";
|
|
2481
|
+
source_only: "source_only";
|
|
2482
|
+
}>;
|
|
2483
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2484
|
+
differs_in: z.ZodArray<z.ZodObject<{
|
|
2485
|
+
window: z.ZodString;
|
|
2486
|
+
copies: z.ZodInt;
|
|
2487
|
+
titles: z.ZodArray<z.ZodObject<{
|
|
2488
|
+
title: z.ZodString;
|
|
2489
|
+
source: z.ZodString;
|
|
2490
|
+
}, z.core.$strict>>;
|
|
2491
|
+
}, z.core.$strict>>;
|
|
2492
|
+
}, z.core.$strict>>;
|
|
2493
|
+
}, z.core.$strict>;
|
|
2494
|
+
readonly kind: "unary";
|
|
2495
|
+
readonly since: "1.29";
|
|
2496
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2497
|
+
};
|
|
2498
|
+
readonly "apps.chats.titles_push": {
|
|
2499
|
+
readonly params: z.ZodObject<{
|
|
2500
|
+
app_key: z.ZodString;
|
|
2501
|
+
chat_id: z.ZodOptional<z.ZodString>;
|
|
2502
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
2503
|
+
}, z.core.$strict>;
|
|
2504
|
+
readonly result: z.ZodObject<{
|
|
2505
|
+
app_key: z.ZodString;
|
|
2506
|
+
written: z.ZodInt;
|
|
2507
|
+
chats_fixed: z.ZodInt;
|
|
2508
|
+
failed: z.ZodInt;
|
|
2509
|
+
chats_with_a_different_name: z.ZodInt;
|
|
2510
|
+
}, z.core.$strict>;
|
|
2511
|
+
readonly kind: "unary";
|
|
2512
|
+
readonly since: "1.29";
|
|
2513
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2514
|
+
};
|
|
2439
2515
|
readonly "apps.spend": {
|
|
2440
2516
|
readonly params: z.ZodObject<{
|
|
2441
2517
|
app_key: z.ZodString;
|
|
@@ -4231,6 +4307,192 @@ declare const OPS: {
|
|
|
4231
4307
|
readonly since: "1.26";
|
|
4232
4308
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4233
4309
|
};
|
|
4310
|
+
readonly "browser.register": {
|
|
4311
|
+
readonly params: z.ZodObject<{
|
|
4312
|
+
client_instance: z.ZodString;
|
|
4313
|
+
client_label: z.ZodString;
|
|
4314
|
+
browser: z.ZodEnum<{
|
|
4315
|
+
other: "other";
|
|
4316
|
+
chrome: "chrome";
|
|
4317
|
+
edge: "edge";
|
|
4318
|
+
brave: "brave";
|
|
4319
|
+
arc: "arc";
|
|
4320
|
+
opera: "opera";
|
|
4321
|
+
vivaldi: "vivaldi";
|
|
4322
|
+
chromium: "chromium";
|
|
4323
|
+
firefox: "firefox";
|
|
4324
|
+
}>;
|
|
4325
|
+
extension_version: z.ZodString;
|
|
4326
|
+
account_token: z.ZodNullable<z.ZodString>;
|
|
4327
|
+
}, z.core.$strict>;
|
|
4328
|
+
readonly result: z.ZodObject<{
|
|
4329
|
+
session: z.ZodObject<{
|
|
4330
|
+
client_instance: z.ZodString;
|
|
4331
|
+
client_label: z.ZodString;
|
|
4332
|
+
browser: z.ZodEnum<{
|
|
4333
|
+
other: "other";
|
|
4334
|
+
chrome: "chrome";
|
|
4335
|
+
edge: "edge";
|
|
4336
|
+
brave: "brave";
|
|
4337
|
+
arc: "arc";
|
|
4338
|
+
opera: "opera";
|
|
4339
|
+
vivaldi: "vivaldi";
|
|
4340
|
+
chromium: "chromium";
|
|
4341
|
+
firefox: "firefox";
|
|
4342
|
+
}>;
|
|
4343
|
+
extension_version: z.ZodString;
|
|
4344
|
+
state: z.ZodEnum<{
|
|
4345
|
+
connected: "connected";
|
|
4346
|
+
different_account: "different_account";
|
|
4347
|
+
extension_signed_out: "extension_signed_out";
|
|
4348
|
+
device_signed_out: "device_signed_out";
|
|
4349
|
+
unverified: "unverified";
|
|
4350
|
+
}>;
|
|
4351
|
+
routable: z.ZodBoolean;
|
|
4352
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
4353
|
+
connected_at_ms: z.ZodInt;
|
|
4354
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
4355
|
+
calls: z.ZodInt;
|
|
4356
|
+
errors: z.ZodInt;
|
|
4357
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
4358
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
4359
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
4360
|
+
}, z.core.$strict>;
|
|
4361
|
+
}, z.core.$strict>;
|
|
4362
|
+
readonly kind: "unary";
|
|
4363
|
+
readonly since: "1.28";
|
|
4364
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INVALID_PARAMS", "INTERNAL"];
|
|
4365
|
+
};
|
|
4366
|
+
readonly "browser.result": {
|
|
4367
|
+
readonly params: z.ZodObject<{
|
|
4368
|
+
call_id: z.ZodString;
|
|
4369
|
+
ok: z.ZodBoolean;
|
|
4370
|
+
result: z.ZodUnknown;
|
|
4371
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
4372
|
+
message: z.ZodString;
|
|
4373
|
+
code: z.ZodNullable<z.ZodString>;
|
|
4374
|
+
}, z.core.$strict>>;
|
|
4375
|
+
}, z.core.$strict>;
|
|
4376
|
+
readonly result: z.ZodObject<{
|
|
4377
|
+
accepted: z.ZodBoolean;
|
|
4378
|
+
}, z.core.$strict>;
|
|
4379
|
+
readonly kind: "unary";
|
|
4380
|
+
readonly since: "1.28";
|
|
4381
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "PAYLOAD_TOO_LARGE"];
|
|
4382
|
+
};
|
|
4383
|
+
readonly "browser.progress": {
|
|
4384
|
+
readonly params: z.ZodObject<{
|
|
4385
|
+
call_id: z.ZodString;
|
|
4386
|
+
phase: z.ZodEnum<{
|
|
4387
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4388
|
+
running: "running";
|
|
4389
|
+
}>;
|
|
4390
|
+
}, z.core.$strict>;
|
|
4391
|
+
readonly result: z.ZodObject<{
|
|
4392
|
+
accepted: z.ZodBoolean;
|
|
4393
|
+
}, z.core.$strict>;
|
|
4394
|
+
readonly kind: "unary";
|
|
4395
|
+
readonly since: "1.28";
|
|
4396
|
+
readonly errors: readonly ["AUTH_FORBIDDEN"];
|
|
4397
|
+
};
|
|
4398
|
+
readonly "browser.sessions": {
|
|
4399
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4400
|
+
readonly result: z.ZodObject<{
|
|
4401
|
+
enabled: z.ZodBoolean;
|
|
4402
|
+
owner_signed_in: z.ZodBoolean;
|
|
4403
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
4404
|
+
client_instance: z.ZodString;
|
|
4405
|
+
client_label: z.ZodString;
|
|
4406
|
+
browser: z.ZodEnum<{
|
|
4407
|
+
other: "other";
|
|
4408
|
+
chrome: "chrome";
|
|
4409
|
+
edge: "edge";
|
|
4410
|
+
brave: "brave";
|
|
4411
|
+
arc: "arc";
|
|
4412
|
+
opera: "opera";
|
|
4413
|
+
vivaldi: "vivaldi";
|
|
4414
|
+
chromium: "chromium";
|
|
4415
|
+
firefox: "firefox";
|
|
4416
|
+
}>;
|
|
4417
|
+
extension_version: z.ZodString;
|
|
4418
|
+
state: z.ZodEnum<{
|
|
4419
|
+
connected: "connected";
|
|
4420
|
+
different_account: "different_account";
|
|
4421
|
+
extension_signed_out: "extension_signed_out";
|
|
4422
|
+
device_signed_out: "device_signed_out";
|
|
4423
|
+
unverified: "unverified";
|
|
4424
|
+
}>;
|
|
4425
|
+
routable: z.ZodBoolean;
|
|
4426
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
4427
|
+
connected_at_ms: z.ZodInt;
|
|
4428
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
4429
|
+
calls: z.ZodInt;
|
|
4430
|
+
errors: z.ZodInt;
|
|
4431
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
4432
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
4433
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
4434
|
+
}, z.core.$strict>>;
|
|
4435
|
+
}, z.core.$strict>;
|
|
4436
|
+
readonly kind: "unary";
|
|
4437
|
+
readonly since: "1.28";
|
|
4438
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4439
|
+
};
|
|
4440
|
+
readonly "browser.disconnect": {
|
|
4441
|
+
readonly params: z.ZodObject<{
|
|
4442
|
+
client_instance: z.ZodString;
|
|
4443
|
+
}, z.core.$strict>;
|
|
4444
|
+
readonly result: z.ZodObject<{
|
|
4445
|
+
disconnected: z.ZodBoolean;
|
|
4446
|
+
}, z.core.$strict>;
|
|
4447
|
+
readonly kind: "unary";
|
|
4448
|
+
readonly since: "1.28";
|
|
4449
|
+
readonly errors: readonly ["NOT_FOUND", "AUTH_FORBIDDEN"];
|
|
4450
|
+
};
|
|
4451
|
+
readonly "browser.set_enabled": {
|
|
4452
|
+
readonly params: z.ZodObject<{
|
|
4453
|
+
enabled: z.ZodBoolean;
|
|
4454
|
+
}, z.core.$strict>;
|
|
4455
|
+
readonly result: z.ZodObject<{
|
|
4456
|
+
enabled: z.ZodBoolean;
|
|
4457
|
+
}, z.core.$strict>;
|
|
4458
|
+
readonly kind: "unary";
|
|
4459
|
+
readonly since: "1.28";
|
|
4460
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
|
|
4461
|
+
};
|
|
4462
|
+
readonly "browser.pair_code": {
|
|
4463
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4464
|
+
readonly result: z.ZodObject<{
|
|
4465
|
+
code: z.ZodString;
|
|
4466
|
+
}, z.core.$strict>;
|
|
4467
|
+
readonly kind: "unary";
|
|
4468
|
+
readonly since: "1.28";
|
|
4469
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
|
|
4470
|
+
};
|
|
4471
|
+
readonly "browser.pair_reset": {
|
|
4472
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4473
|
+
readonly result: z.ZodObject<{
|
|
4474
|
+
code: z.ZodString;
|
|
4475
|
+
}, z.core.$strict>;
|
|
4476
|
+
readonly kind: "unary";
|
|
4477
|
+
readonly since: "1.28";
|
|
4478
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
|
|
4479
|
+
};
|
|
4480
|
+
readonly "browser.call": {
|
|
4481
|
+
readonly params: z.ZodObject<{
|
|
4482
|
+
tool: z.ZodString;
|
|
4483
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4484
|
+
client_instance: z.ZodOptional<z.ZodString>;
|
|
4485
|
+
timeout_ms: z.ZodOptional<z.ZodInt>;
|
|
4486
|
+
}, z.core.$strict>;
|
|
4487
|
+
readonly result: z.ZodObject<{
|
|
4488
|
+
client_instance: z.ZodString;
|
|
4489
|
+
result: z.ZodUnknown;
|
|
4490
|
+
duration_ms: z.ZodInt;
|
|
4491
|
+
}, z.core.$strict>;
|
|
4492
|
+
readonly kind: "unary";
|
|
4493
|
+
readonly since: "1.28";
|
|
4494
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "AUTH_FORBIDDEN", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "RESOURCE_GONE", "PAYLOAD_TOO_LARGE", "INTERNAL"];
|
|
4495
|
+
};
|
|
4234
4496
|
};
|
|
4235
4497
|
type OpName = keyof typeof OPS;
|
|
4236
4498
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -4343,6 +4605,24 @@ declare const EVENTS: {
|
|
|
4343
4605
|
total_signatures: z.ZodInt;
|
|
4344
4606
|
waiting: z.ZodInt;
|
|
4345
4607
|
}, z.core.$strict>;
|
|
4608
|
+
readonly "browser.invoke": z.ZodObject<{
|
|
4609
|
+
call_id: z.ZodString;
|
|
4610
|
+
tool: z.ZodString;
|
|
4611
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4612
|
+
deadline_ms: z.ZodInt;
|
|
4613
|
+
}, z.core.$strict>;
|
|
4614
|
+
readonly "browser.sessions_changed": z.ZodObject<{
|
|
4615
|
+
count: z.ZodInt;
|
|
4616
|
+
enabled: z.ZodBoolean;
|
|
4617
|
+
}, z.core.$strict>;
|
|
4618
|
+
readonly "browser.progress": z.ZodObject<{
|
|
4619
|
+
call_id: z.ZodString;
|
|
4620
|
+
client_instance: z.ZodString;
|
|
4621
|
+
phase: z.ZodEnum<{
|
|
4622
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4623
|
+
running: "running";
|
|
4624
|
+
}>;
|
|
4625
|
+
}, z.core.$strict>;
|
|
4346
4626
|
};
|
|
4347
4627
|
type EventName = keyof typeof EVENTS;
|
|
4348
4628
|
/**
|
|
@@ -4738,6 +5018,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
4738
5018
|
service_starting: "service_starting";
|
|
4739
5019
|
service_restarted: "service_restarted";
|
|
4740
5020
|
service_failed: "service_failed";
|
|
5021
|
+
browser_not_connected: "browser_not_connected";
|
|
5022
|
+
browser_ambiguous: "browser_ambiguous";
|
|
5023
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
5024
|
+
browser_connection_off: "browser_connection_off";
|
|
5025
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4741
5026
|
}>;
|
|
4742
5027
|
readonly FsPatchEditFailure: z.ZodObject<{
|
|
4743
5028
|
edit_index: z.ZodInt;
|
|
@@ -4791,6 +5076,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
4791
5076
|
service_starting: "service_starting";
|
|
4792
5077
|
service_restarted: "service_restarted";
|
|
4793
5078
|
service_failed: "service_failed";
|
|
5079
|
+
browser_not_connected: "browser_not_connected";
|
|
5080
|
+
browser_ambiguous: "browser_ambiguous";
|
|
5081
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
5082
|
+
browser_connection_off: "browser_connection_off";
|
|
5083
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4794
5084
|
}>>;
|
|
4795
5085
|
cap: z.ZodOptional<z.ZodString>;
|
|
4796
5086
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -4938,6 +5228,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
4938
5228
|
service_starting: "service_starting";
|
|
4939
5229
|
service_restarted: "service_restarted";
|
|
4940
5230
|
service_failed: "service_failed";
|
|
5231
|
+
browser_not_connected: "browser_not_connected";
|
|
5232
|
+
browser_ambiguous: "browser_ambiguous";
|
|
5233
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
5234
|
+
browser_connection_off: "browser_connection_off";
|
|
5235
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4941
5236
|
}>>;
|
|
4942
5237
|
cap: z.ZodOptional<z.ZodString>;
|
|
4943
5238
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -5111,6 +5406,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
5111
5406
|
service_starting: "service_starting";
|
|
5112
5407
|
service_restarted: "service_restarted";
|
|
5113
5408
|
service_failed: "service_failed";
|
|
5409
|
+
browser_not_connected: "browser_not_connected";
|
|
5410
|
+
browser_ambiguous: "browser_ambiguous";
|
|
5411
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
5412
|
+
browser_connection_off: "browser_connection_off";
|
|
5413
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
5114
5414
|
}>>;
|
|
5115
5415
|
cap: z.ZodOptional<z.ZodString>;
|
|
5116
5416
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -6263,6 +6563,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
6263
6563
|
service_starting: "service_starting";
|
|
6264
6564
|
service_restarted: "service_restarted";
|
|
6265
6565
|
service_failed: "service_failed";
|
|
6566
|
+
browser_not_connected: "browser_not_connected";
|
|
6567
|
+
browser_ambiguous: "browser_ambiguous";
|
|
6568
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
6569
|
+
browser_connection_off: "browser_connection_off";
|
|
6570
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
6266
6571
|
}>>;
|
|
6267
6572
|
cap: z.ZodOptional<z.ZodString>;
|
|
6268
6573
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -6387,6 +6692,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
6387
6692
|
service_starting: "service_starting";
|
|
6388
6693
|
service_restarted: "service_restarted";
|
|
6389
6694
|
service_failed: "service_failed";
|
|
6695
|
+
browser_not_connected: "browser_not_connected";
|
|
6696
|
+
browser_ambiguous: "browser_ambiguous";
|
|
6697
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
6698
|
+
browser_connection_off: "browser_connection_off";
|
|
6699
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
6390
6700
|
}>>;
|
|
6391
6701
|
cap: z.ZodOptional<z.ZodString>;
|
|
6392
6702
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -6483,6 +6793,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
6483
6793
|
service_starting: "service_starting";
|
|
6484
6794
|
service_restarted: "service_restarted";
|
|
6485
6795
|
service_failed: "service_failed";
|
|
6796
|
+
browser_not_connected: "browser_not_connected";
|
|
6797
|
+
browser_ambiguous: "browser_ambiguous";
|
|
6798
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
6799
|
+
browser_connection_off: "browser_connection_off";
|
|
6800
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
6486
6801
|
}>>;
|
|
6487
6802
|
cap: z.ZodOptional<z.ZodString>;
|
|
6488
6803
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -9018,6 +9333,84 @@ declare const NAMED_SCHEMAS: {
|
|
|
9018
9333
|
chat_id: z.ZodString;
|
|
9019
9334
|
window: z.ZodOptional<z.ZodString>;
|
|
9020
9335
|
}, z.core.$strict>;
|
|
9336
|
+
readonly TitleCopies: z.ZodObject<{
|
|
9337
|
+
window: z.ZodString;
|
|
9338
|
+
copies: z.ZodInt;
|
|
9339
|
+
titles: z.ZodArray<z.ZodObject<{
|
|
9340
|
+
title: z.ZodString;
|
|
9341
|
+
source: z.ZodString;
|
|
9342
|
+
}, z.core.$strict>>;
|
|
9343
|
+
}, z.core.$strict>;
|
|
9344
|
+
readonly TitleMismatch: z.ZodObject<{
|
|
9345
|
+
chat_id: z.ZodString;
|
|
9346
|
+
title: z.ZodString;
|
|
9347
|
+
title_source: z.ZodEnum<{
|
|
9348
|
+
user: "user";
|
|
9349
|
+
auto: "auto";
|
|
9350
|
+
}>;
|
|
9351
|
+
decided_from: z.ZodString;
|
|
9352
|
+
kind: z.ZodEnum<{
|
|
9353
|
+
user_vs_auto: "user_vs_auto";
|
|
9354
|
+
user_vs_user: "user_vs_user";
|
|
9355
|
+
auto_vs_auto: "auto_vs_auto";
|
|
9356
|
+
source_only: "source_only";
|
|
9357
|
+
}>;
|
|
9358
|
+
windows: z.ZodArray<z.ZodString>;
|
|
9359
|
+
differs_in: z.ZodArray<z.ZodObject<{
|
|
9360
|
+
window: z.ZodString;
|
|
9361
|
+
copies: z.ZodInt;
|
|
9362
|
+
titles: z.ZodArray<z.ZodObject<{
|
|
9363
|
+
title: z.ZodString;
|
|
9364
|
+
source: z.ZodString;
|
|
9365
|
+
}, z.core.$strict>>;
|
|
9366
|
+
}, z.core.$strict>>;
|
|
9367
|
+
}, z.core.$strict>;
|
|
9368
|
+
readonly AppsChatsTitlesCheckParams: z.ZodObject<{
|
|
9369
|
+
app_key: z.ZodString;
|
|
9370
|
+
}, z.core.$strict>;
|
|
9371
|
+
readonly AppsChatsTitlesCheckResult: z.ZodObject<{
|
|
9372
|
+
app_key: z.ZodString;
|
|
9373
|
+
chats_total: z.ZodInt;
|
|
9374
|
+
chats_in_several_windows: z.ZodInt;
|
|
9375
|
+
chats_with_a_different_name: z.ZodInt;
|
|
9376
|
+
copies_to_write: z.ZodInt;
|
|
9377
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
9378
|
+
chat_id: z.ZodString;
|
|
9379
|
+
title: z.ZodString;
|
|
9380
|
+
title_source: z.ZodEnum<{
|
|
9381
|
+
user: "user";
|
|
9382
|
+
auto: "auto";
|
|
9383
|
+
}>;
|
|
9384
|
+
decided_from: z.ZodString;
|
|
9385
|
+
kind: z.ZodEnum<{
|
|
9386
|
+
user_vs_auto: "user_vs_auto";
|
|
9387
|
+
user_vs_user: "user_vs_user";
|
|
9388
|
+
auto_vs_auto: "auto_vs_auto";
|
|
9389
|
+
source_only: "source_only";
|
|
9390
|
+
}>;
|
|
9391
|
+
windows: z.ZodArray<z.ZodString>;
|
|
9392
|
+
differs_in: z.ZodArray<z.ZodObject<{
|
|
9393
|
+
window: z.ZodString;
|
|
9394
|
+
copies: z.ZodInt;
|
|
9395
|
+
titles: z.ZodArray<z.ZodObject<{
|
|
9396
|
+
title: z.ZodString;
|
|
9397
|
+
source: z.ZodString;
|
|
9398
|
+
}, z.core.$strict>>;
|
|
9399
|
+
}, z.core.$strict>>;
|
|
9400
|
+
}, z.core.$strict>>;
|
|
9401
|
+
}, z.core.$strict>;
|
|
9402
|
+
readonly AppsChatsTitlesPushParams: z.ZodObject<{
|
|
9403
|
+
app_key: z.ZodString;
|
|
9404
|
+
chat_id: z.ZodOptional<z.ZodString>;
|
|
9405
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
9406
|
+
}, z.core.$strict>;
|
|
9407
|
+
readonly AppsChatsTitlesPushResult: z.ZodObject<{
|
|
9408
|
+
app_key: z.ZodString;
|
|
9409
|
+
written: z.ZodInt;
|
|
9410
|
+
chats_fixed: z.ZodInt;
|
|
9411
|
+
failed: z.ZodInt;
|
|
9412
|
+
chats_with_a_different_name: z.ZodInt;
|
|
9413
|
+
}, z.core.$strict>;
|
|
9021
9414
|
readonly SpendSplit: z.ZodObject<{
|
|
9022
9415
|
main: z.ZodNumber;
|
|
9023
9416
|
helpers: z.ZodNumber;
|
|
@@ -9678,6 +10071,240 @@ declare const NAMED_SCHEMAS: {
|
|
|
9678
10071
|
reopened: z.ZodArray<z.ZodString>;
|
|
9679
10072
|
installed_version: z.ZodNullable<z.ZodString>;
|
|
9680
10073
|
}, z.core.$strict>;
|
|
10074
|
+
readonly BrowserClientInstance: z.ZodString;
|
|
10075
|
+
readonly BrowserKind: z.ZodEnum<{
|
|
10076
|
+
other: "other";
|
|
10077
|
+
chrome: "chrome";
|
|
10078
|
+
edge: "edge";
|
|
10079
|
+
brave: "brave";
|
|
10080
|
+
arc: "arc";
|
|
10081
|
+
opera: "opera";
|
|
10082
|
+
vivaldi: "vivaldi";
|
|
10083
|
+
chromium: "chromium";
|
|
10084
|
+
firefox: "firefox";
|
|
10085
|
+
}>;
|
|
10086
|
+
readonly BrowserSessionState: z.ZodEnum<{
|
|
10087
|
+
connected: "connected";
|
|
10088
|
+
different_account: "different_account";
|
|
10089
|
+
extension_signed_out: "extension_signed_out";
|
|
10090
|
+
device_signed_out: "device_signed_out";
|
|
10091
|
+
unverified: "unverified";
|
|
10092
|
+
}>;
|
|
10093
|
+
readonly BrowserSession: z.ZodObject<{
|
|
10094
|
+
client_instance: z.ZodString;
|
|
10095
|
+
client_label: z.ZodString;
|
|
10096
|
+
browser: z.ZodEnum<{
|
|
10097
|
+
other: "other";
|
|
10098
|
+
chrome: "chrome";
|
|
10099
|
+
edge: "edge";
|
|
10100
|
+
brave: "brave";
|
|
10101
|
+
arc: "arc";
|
|
10102
|
+
opera: "opera";
|
|
10103
|
+
vivaldi: "vivaldi";
|
|
10104
|
+
chromium: "chromium";
|
|
10105
|
+
firefox: "firefox";
|
|
10106
|
+
}>;
|
|
10107
|
+
extension_version: z.ZodString;
|
|
10108
|
+
state: z.ZodEnum<{
|
|
10109
|
+
connected: "connected";
|
|
10110
|
+
different_account: "different_account";
|
|
10111
|
+
extension_signed_out: "extension_signed_out";
|
|
10112
|
+
device_signed_out: "device_signed_out";
|
|
10113
|
+
unverified: "unverified";
|
|
10114
|
+
}>;
|
|
10115
|
+
routable: z.ZodBoolean;
|
|
10116
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
10117
|
+
connected_at_ms: z.ZodInt;
|
|
10118
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
10119
|
+
calls: z.ZodInt;
|
|
10120
|
+
errors: z.ZodInt;
|
|
10121
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
10122
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
10123
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
10124
|
+
}, z.core.$strict>;
|
|
10125
|
+
readonly BrowserRegisterParams: z.ZodObject<{
|
|
10126
|
+
client_instance: z.ZodString;
|
|
10127
|
+
client_label: z.ZodString;
|
|
10128
|
+
browser: z.ZodEnum<{
|
|
10129
|
+
other: "other";
|
|
10130
|
+
chrome: "chrome";
|
|
10131
|
+
edge: "edge";
|
|
10132
|
+
brave: "brave";
|
|
10133
|
+
arc: "arc";
|
|
10134
|
+
opera: "opera";
|
|
10135
|
+
vivaldi: "vivaldi";
|
|
10136
|
+
chromium: "chromium";
|
|
10137
|
+
firefox: "firefox";
|
|
10138
|
+
}>;
|
|
10139
|
+
extension_version: z.ZodString;
|
|
10140
|
+
account_token: z.ZodNullable<z.ZodString>;
|
|
10141
|
+
}, z.core.$strict>;
|
|
10142
|
+
readonly BrowserRegisterResult: z.ZodObject<{
|
|
10143
|
+
session: z.ZodObject<{
|
|
10144
|
+
client_instance: z.ZodString;
|
|
10145
|
+
client_label: z.ZodString;
|
|
10146
|
+
browser: z.ZodEnum<{
|
|
10147
|
+
other: "other";
|
|
10148
|
+
chrome: "chrome";
|
|
10149
|
+
edge: "edge";
|
|
10150
|
+
brave: "brave";
|
|
10151
|
+
arc: "arc";
|
|
10152
|
+
opera: "opera";
|
|
10153
|
+
vivaldi: "vivaldi";
|
|
10154
|
+
chromium: "chromium";
|
|
10155
|
+
firefox: "firefox";
|
|
10156
|
+
}>;
|
|
10157
|
+
extension_version: z.ZodString;
|
|
10158
|
+
state: z.ZodEnum<{
|
|
10159
|
+
connected: "connected";
|
|
10160
|
+
different_account: "different_account";
|
|
10161
|
+
extension_signed_out: "extension_signed_out";
|
|
10162
|
+
device_signed_out: "device_signed_out";
|
|
10163
|
+
unverified: "unverified";
|
|
10164
|
+
}>;
|
|
10165
|
+
routable: z.ZodBoolean;
|
|
10166
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
10167
|
+
connected_at_ms: z.ZodInt;
|
|
10168
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
10169
|
+
calls: z.ZodInt;
|
|
10170
|
+
errors: z.ZodInt;
|
|
10171
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
10172
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
10173
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
10174
|
+
}, z.core.$strict>;
|
|
10175
|
+
}, z.core.$strict>;
|
|
10176
|
+
readonly BrowserCallError: z.ZodObject<{
|
|
10177
|
+
message: z.ZodString;
|
|
10178
|
+
code: z.ZodNullable<z.ZodString>;
|
|
10179
|
+
}, z.core.$strict>;
|
|
10180
|
+
readonly BrowserResultParams: z.ZodObject<{
|
|
10181
|
+
call_id: z.ZodString;
|
|
10182
|
+
ok: z.ZodBoolean;
|
|
10183
|
+
result: z.ZodUnknown;
|
|
10184
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
10185
|
+
message: z.ZodString;
|
|
10186
|
+
code: z.ZodNullable<z.ZodString>;
|
|
10187
|
+
}, z.core.$strict>>;
|
|
10188
|
+
}, z.core.$strict>;
|
|
10189
|
+
readonly BrowserResultResult: z.ZodObject<{
|
|
10190
|
+
accepted: z.ZodBoolean;
|
|
10191
|
+
}, z.core.$strict>;
|
|
10192
|
+
readonly BrowserCallPhase: z.ZodEnum<{
|
|
10193
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
10194
|
+
running: "running";
|
|
10195
|
+
}>;
|
|
10196
|
+
readonly BrowserProgressParams: z.ZodObject<{
|
|
10197
|
+
call_id: z.ZodString;
|
|
10198
|
+
phase: z.ZodEnum<{
|
|
10199
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
10200
|
+
running: "running";
|
|
10201
|
+
}>;
|
|
10202
|
+
}, z.core.$strict>;
|
|
10203
|
+
readonly BrowserProgressResult: z.ZodObject<{
|
|
10204
|
+
accepted: z.ZodBoolean;
|
|
10205
|
+
}, z.core.$strict>;
|
|
10206
|
+
readonly BrowserSessionsParams: z.ZodObject<{}, z.core.$strict>;
|
|
10207
|
+
readonly BrowserSessionsResult: z.ZodObject<{
|
|
10208
|
+
enabled: z.ZodBoolean;
|
|
10209
|
+
owner_signed_in: z.ZodBoolean;
|
|
10210
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
10211
|
+
client_instance: z.ZodString;
|
|
10212
|
+
client_label: z.ZodString;
|
|
10213
|
+
browser: z.ZodEnum<{
|
|
10214
|
+
other: "other";
|
|
10215
|
+
chrome: "chrome";
|
|
10216
|
+
edge: "edge";
|
|
10217
|
+
brave: "brave";
|
|
10218
|
+
arc: "arc";
|
|
10219
|
+
opera: "opera";
|
|
10220
|
+
vivaldi: "vivaldi";
|
|
10221
|
+
chromium: "chromium";
|
|
10222
|
+
firefox: "firefox";
|
|
10223
|
+
}>;
|
|
10224
|
+
extension_version: z.ZodString;
|
|
10225
|
+
state: z.ZodEnum<{
|
|
10226
|
+
connected: "connected";
|
|
10227
|
+
different_account: "different_account";
|
|
10228
|
+
extension_signed_out: "extension_signed_out";
|
|
10229
|
+
device_signed_out: "device_signed_out";
|
|
10230
|
+
unverified: "unverified";
|
|
10231
|
+
}>;
|
|
10232
|
+
routable: z.ZodBoolean;
|
|
10233
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
10234
|
+
connected_at_ms: z.ZodInt;
|
|
10235
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
10236
|
+
calls: z.ZodInt;
|
|
10237
|
+
errors: z.ZodInt;
|
|
10238
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
10239
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
10240
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
10241
|
+
}, z.core.$strict>>;
|
|
10242
|
+
}, z.core.$strict>;
|
|
10243
|
+
readonly BrowserDisconnectParams: z.ZodObject<{
|
|
10244
|
+
client_instance: z.ZodString;
|
|
10245
|
+
}, z.core.$strict>;
|
|
10246
|
+
readonly BrowserDisconnectResult: z.ZodObject<{
|
|
10247
|
+
disconnected: z.ZodBoolean;
|
|
10248
|
+
}, z.core.$strict>;
|
|
10249
|
+
readonly BrowserSetEnabledParams: z.ZodObject<{
|
|
10250
|
+
enabled: z.ZodBoolean;
|
|
10251
|
+
}, z.core.$strict>;
|
|
10252
|
+
readonly BrowserSetEnabledResult: z.ZodObject<{
|
|
10253
|
+
enabled: z.ZodBoolean;
|
|
10254
|
+
}, z.core.$strict>;
|
|
10255
|
+
readonly BrowserPairCodeParams: z.ZodObject<{}, z.core.$strict>;
|
|
10256
|
+
readonly BrowserPairCodeResult: z.ZodObject<{
|
|
10257
|
+
code: z.ZodString;
|
|
10258
|
+
}, z.core.$strict>;
|
|
10259
|
+
readonly BrowserPairResetParams: z.ZodObject<{}, z.core.$strict>;
|
|
10260
|
+
readonly BrowserCallParams: z.ZodObject<{
|
|
10261
|
+
tool: z.ZodString;
|
|
10262
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10263
|
+
client_instance: z.ZodOptional<z.ZodString>;
|
|
10264
|
+
timeout_ms: z.ZodOptional<z.ZodInt>;
|
|
10265
|
+
}, z.core.$strict>;
|
|
10266
|
+
readonly BrowserCallResult: z.ZodObject<{
|
|
10267
|
+
client_instance: z.ZodString;
|
|
10268
|
+
result: z.ZodUnknown;
|
|
10269
|
+
duration_ms: z.ZodInt;
|
|
10270
|
+
}, z.core.$strict>;
|
|
10271
|
+
readonly BrowserInvokeEvent: z.ZodObject<{
|
|
10272
|
+
call_id: z.ZodString;
|
|
10273
|
+
tool: z.ZodString;
|
|
10274
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10275
|
+
deadline_ms: z.ZodInt;
|
|
10276
|
+
}, z.core.$strict>;
|
|
10277
|
+
readonly BrowserSessionsChangedEvent: z.ZodObject<{
|
|
10278
|
+
count: z.ZodInt;
|
|
10279
|
+
enabled: z.ZodBoolean;
|
|
10280
|
+
}, z.core.$strict>;
|
|
10281
|
+
readonly BrowserProgressEvent: z.ZodObject<{
|
|
10282
|
+
call_id: z.ZodString;
|
|
10283
|
+
client_instance: z.ZodString;
|
|
10284
|
+
phase: z.ZodEnum<{
|
|
10285
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
10286
|
+
running: "running";
|
|
10287
|
+
}>;
|
|
10288
|
+
}, z.core.$strict>;
|
|
10289
|
+
readonly DesktopHealth: z.ZodObject<{
|
|
10290
|
+
status: z.ZodLiteral<"ok">;
|
|
10291
|
+
service: z.ZodLiteral<"matrx-desktop">;
|
|
10292
|
+
version: z.ZodString;
|
|
10293
|
+
protocol_version: z.ZodString;
|
|
10294
|
+
ws_path: z.ZodLiteral<"/v1/connect">;
|
|
10295
|
+
device_id: z.ZodString;
|
|
10296
|
+
browser_connection: z.ZodEnum<{
|
|
10297
|
+
off: "off";
|
|
10298
|
+
on: "on";
|
|
10299
|
+
}>;
|
|
10300
|
+
}, z.core.$strict>;
|
|
10301
|
+
readonly BrowserPairRequest: z.ZodObject<{
|
|
10302
|
+
client_instance: z.ZodString;
|
|
10303
|
+
}, z.core.$strict>;
|
|
10304
|
+
readonly BrowserPairResult: z.ZodObject<{
|
|
10305
|
+
pair_token: z.ZodString;
|
|
10306
|
+
ws_path: z.ZodLiteral<"/v1/connect">;
|
|
10307
|
+
}, z.core.$strict>;
|
|
9681
10308
|
};
|
|
9682
10309
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9683
10310
|
|