@ai-matrx/desktop-protocol 0.21.16 → 0.21.17
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 +6 -0
- package/dist/client.cjs +111 -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 +111 -4
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +153 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +189 -6
- package/dist/index.d.ts +189 -6
- package/dist/index.js +153 -10
- package/dist/index.js.map +1 -1
- package/dist/{models-BpZriuN2.d.cts → models-xHAz1vPQ.d.cts} +293 -1
- package/dist/{models-BpZriuN2.d.ts → models-xHAz1vPQ.d.ts} +293 -1
- package/dist/react.d.cts +156 -0
- package/dist/react.d.ts +156 -0
- package/generated/desktop-protocol.schema.json +583 -1
- package/package.json +4 -4
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
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";
|
|
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";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -761,6 +761,22 @@ declare const OPS: {
|
|
|
761
761
|
readonly since: "1.0";
|
|
762
762
|
readonly errors: readonly ["INTERNAL"];
|
|
763
763
|
};
|
|
764
|
+
readonly "sysinfo.hardware": {
|
|
765
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
766
|
+
readonly result: z.ZodObject<{
|
|
767
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
768
|
+
model_detail: z.ZodNullable<z.ZodString>;
|
|
769
|
+
model_identifier: z.ZodNullable<z.ZodString>;
|
|
770
|
+
chip: z.ZodNullable<z.ZodString>;
|
|
771
|
+
serial_number: z.ZodNullable<z.ZodString>;
|
|
772
|
+
os_name: z.ZodNullable<z.ZodString>;
|
|
773
|
+
os_version: z.ZodNullable<z.ZodString>;
|
|
774
|
+
os_build: z.ZodNullable<z.ZodString>;
|
|
775
|
+
}, z.core.$strict>;
|
|
776
|
+
readonly kind: "unary";
|
|
777
|
+
readonly since: "1.24";
|
|
778
|
+
readonly errors: readonly ["INTERNAL"];
|
|
779
|
+
};
|
|
764
780
|
readonly "fs.list": {
|
|
765
781
|
readonly params: z.ZodObject<{
|
|
766
782
|
path: z.ZodString;
|
|
@@ -2479,6 +2495,11 @@ declare const OPS: {
|
|
|
2479
2495
|
}, z.core.$strict>;
|
|
2480
2496
|
}, z.core.$strict>;
|
|
2481
2497
|
}, z.core.$strict>>;
|
|
2498
|
+
days: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2499
|
+
date: z.ZodString;
|
|
2500
|
+
main: z.ZodNumber;
|
|
2501
|
+
helpers: z.ZodNumber;
|
|
2502
|
+
}, z.core.$strict>>>;
|
|
2482
2503
|
chats: z.ZodArray<z.ZodObject<{
|
|
2483
2504
|
id: z.ZodString;
|
|
2484
2505
|
title: z.ZodString;
|
|
@@ -2805,6 +2826,41 @@ declare const OPS: {
|
|
|
2805
2826
|
readonly since: "1.4";
|
|
2806
2827
|
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2807
2828
|
};
|
|
2829
|
+
readonly "system.open_settings": {
|
|
2830
|
+
readonly params: z.ZodObject<{
|
|
2831
|
+
pane: z.ZodEnum<{
|
|
2832
|
+
displays: "displays";
|
|
2833
|
+
night_shift: "night_shift";
|
|
2834
|
+
sound: "sound";
|
|
2835
|
+
keyboard: "keyboard";
|
|
2836
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
2837
|
+
text_input: "text_input";
|
|
2838
|
+
dictation: "dictation";
|
|
2839
|
+
energy: "energy";
|
|
2840
|
+
about: "about";
|
|
2841
|
+
storage: "storage";
|
|
2842
|
+
system_report: "system_report";
|
|
2843
|
+
}>;
|
|
2844
|
+
}, z.core.$strict>;
|
|
2845
|
+
readonly result: z.ZodObject<{
|
|
2846
|
+
pane: z.ZodEnum<{
|
|
2847
|
+
displays: "displays";
|
|
2848
|
+
night_shift: "night_shift";
|
|
2849
|
+
sound: "sound";
|
|
2850
|
+
keyboard: "keyboard";
|
|
2851
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
2852
|
+
text_input: "text_input";
|
|
2853
|
+
dictation: "dictation";
|
|
2854
|
+
energy: "energy";
|
|
2855
|
+
about: "about";
|
|
2856
|
+
storage: "storage";
|
|
2857
|
+
system_report: "system_report";
|
|
2858
|
+
}>;
|
|
2859
|
+
}, z.core.$strict>;
|
|
2860
|
+
readonly kind: "unary";
|
|
2861
|
+
readonly since: "1.24";
|
|
2862
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2863
|
+
};
|
|
2808
2864
|
readonly "system.open_path": {
|
|
2809
2865
|
readonly params: z.ZodObject<{
|
|
2810
2866
|
path: z.ZodString;
|
|
@@ -2842,6 +2898,9 @@ declare const OPS: {
|
|
|
2842
2898
|
height: z.ZodInt;
|
|
2843
2899
|
scale: z.ZodNumber;
|
|
2844
2900
|
primary: z.ZodBoolean;
|
|
2901
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
2902
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
2903
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
2845
2904
|
}, z.core.$strict>>;
|
|
2846
2905
|
}, z.core.$strict>;
|
|
2847
2906
|
readonly kind: "unary";
|
|
@@ -2962,6 +3021,51 @@ declare const OPS: {
|
|
|
2962
3021
|
readonly since: "1.4";
|
|
2963
3022
|
readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2964
3023
|
};
|
|
3024
|
+
readonly "input.keyboard_settings": {
|
|
3025
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3026
|
+
readonly result: z.ZodObject<{
|
|
3027
|
+
repeat_off: z.ZodNullable<z.ZodBoolean>;
|
|
3028
|
+
repeat_interval_ms: z.ZodNullable<z.ZodInt>;
|
|
3029
|
+
repeat_delay_ms: z.ZodNullable<z.ZodInt>;
|
|
3030
|
+
fn_key: z.ZodNullable<z.ZodEnum<{
|
|
3031
|
+
dictation: "dictation";
|
|
3032
|
+
nothing: "nothing";
|
|
3033
|
+
input_source: "input_source";
|
|
3034
|
+
emoji: "emoji";
|
|
3035
|
+
}>>;
|
|
3036
|
+
keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
|
|
3037
|
+
input_sources: z.ZodArray<z.ZodString>;
|
|
3038
|
+
applies_after_login: z.ZodBoolean;
|
|
3039
|
+
}, z.core.$strict>;
|
|
3040
|
+
readonly kind: "unary";
|
|
3041
|
+
readonly since: "1.24";
|
|
3042
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3043
|
+
};
|
|
3044
|
+
readonly "input.set_keyboard_settings": {
|
|
3045
|
+
readonly params: z.ZodObject<{
|
|
3046
|
+
repeat_off: z.ZodOptional<z.ZodBoolean>;
|
|
3047
|
+
repeat_interval_ms: z.ZodOptional<z.ZodInt>;
|
|
3048
|
+
repeat_delay_ms: z.ZodOptional<z.ZodInt>;
|
|
3049
|
+
keyboard_navigation: z.ZodOptional<z.ZodBoolean>;
|
|
3050
|
+
}, z.core.$strict>;
|
|
3051
|
+
readonly result: z.ZodObject<{
|
|
3052
|
+
repeat_off: z.ZodNullable<z.ZodBoolean>;
|
|
3053
|
+
repeat_interval_ms: z.ZodNullable<z.ZodInt>;
|
|
3054
|
+
repeat_delay_ms: z.ZodNullable<z.ZodInt>;
|
|
3055
|
+
fn_key: z.ZodNullable<z.ZodEnum<{
|
|
3056
|
+
dictation: "dictation";
|
|
3057
|
+
nothing: "nothing";
|
|
3058
|
+
input_source: "input_source";
|
|
3059
|
+
emoji: "emoji";
|
|
3060
|
+
}>>;
|
|
3061
|
+
keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
|
|
3062
|
+
input_sources: z.ZodArray<z.ZodString>;
|
|
3063
|
+
applies_after_login: z.ZodBoolean;
|
|
3064
|
+
}, z.core.$strict>;
|
|
3065
|
+
readonly kind: "unary";
|
|
3066
|
+
readonly since: "1.24";
|
|
3067
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3068
|
+
};
|
|
2965
3069
|
readonly "input.hotkey": {
|
|
2966
3070
|
readonly params: z.ZodObject<{
|
|
2967
3071
|
keys: z.ZodArray<z.ZodEnum<{
|
|
@@ -3182,11 +3286,32 @@ declare const OPS: {
|
|
|
3182
3286
|
plugged_in: z.ZodNullable<z.ZodBoolean>;
|
|
3183
3287
|
minutes_left: z.ZodNullable<z.ZodInt>;
|
|
3184
3288
|
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
3289
|
+
energy: z.ZodOptional<z.ZodObject<{
|
|
3290
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
3291
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
3292
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
3293
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
3294
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
3295
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
3296
|
+
}, z.core.$strict>>;
|
|
3185
3297
|
}, z.core.$strict>;
|
|
3186
3298
|
readonly kind: "unary";
|
|
3187
3299
|
readonly since: "1.4";
|
|
3188
3300
|
readonly errors: readonly ["INTERNAL"];
|
|
3189
3301
|
};
|
|
3302
|
+
readonly "power.history": {
|
|
3303
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3304
|
+
readonly result: z.ZodObject<{
|
|
3305
|
+
points: z.ZodArray<z.ZodObject<{
|
|
3306
|
+
at_ms: z.ZodInt;
|
|
3307
|
+
percent: z.ZodNumber;
|
|
3308
|
+
plugged_in: z.ZodBoolean;
|
|
3309
|
+
}, z.core.$strict>>;
|
|
3310
|
+
}, z.core.$strict>;
|
|
3311
|
+
readonly kind: "unary";
|
|
3312
|
+
readonly since: "1.24";
|
|
3313
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3314
|
+
};
|
|
3190
3315
|
readonly "power.prevent_sleep": {
|
|
3191
3316
|
readonly params: z.ZodObject<{
|
|
3192
3317
|
seconds: z.ZodInt;
|
|
@@ -3372,17 +3497,48 @@ declare const OPS: {
|
|
|
3372
3497
|
id: z.ZodString;
|
|
3373
3498
|
name: z.ZodString;
|
|
3374
3499
|
default: z.ZodBoolean;
|
|
3500
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
3375
3501
|
}, z.core.$strict>>;
|
|
3376
3502
|
outputs: z.ZodArray<z.ZodObject<{
|
|
3377
3503
|
id: z.ZodString;
|
|
3378
3504
|
name: z.ZodString;
|
|
3379
3505
|
default: z.ZodBoolean;
|
|
3506
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
3380
3507
|
}, z.core.$strict>>;
|
|
3381
3508
|
}, z.core.$strict>;
|
|
3382
3509
|
readonly kind: "unary";
|
|
3383
3510
|
readonly since: "1.6";
|
|
3384
3511
|
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3385
3512
|
};
|
|
3513
|
+
readonly "audio.levels": {
|
|
3514
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3515
|
+
readonly result: z.ZodObject<{
|
|
3516
|
+
output_volume: z.ZodNullable<z.ZodNumber>;
|
|
3517
|
+
output_muted: z.ZodNullable<z.ZodBoolean>;
|
|
3518
|
+
input_volume: z.ZodNullable<z.ZodNumber>;
|
|
3519
|
+
alert_volume: z.ZodNullable<z.ZodNumber>;
|
|
3520
|
+
}, z.core.$strict>;
|
|
3521
|
+
readonly kind: "unary";
|
|
3522
|
+
readonly since: "1.24";
|
|
3523
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3524
|
+
};
|
|
3525
|
+
readonly "audio.set_levels": {
|
|
3526
|
+
readonly params: z.ZodObject<{
|
|
3527
|
+
output_volume: z.ZodOptional<z.ZodNumber>;
|
|
3528
|
+
output_muted: z.ZodOptional<z.ZodBoolean>;
|
|
3529
|
+
input_volume: z.ZodOptional<z.ZodNumber>;
|
|
3530
|
+
alert_volume: z.ZodOptional<z.ZodNumber>;
|
|
3531
|
+
}, z.core.$strict>;
|
|
3532
|
+
readonly result: z.ZodObject<{
|
|
3533
|
+
output_volume: z.ZodNullable<z.ZodNumber>;
|
|
3534
|
+
output_muted: z.ZodNullable<z.ZodBoolean>;
|
|
3535
|
+
input_volume: z.ZodNullable<z.ZodNumber>;
|
|
3536
|
+
alert_volume: z.ZodNullable<z.ZodNumber>;
|
|
3537
|
+
}, z.core.$strict>;
|
|
3538
|
+
readonly kind: "unary";
|
|
3539
|
+
readonly since: "1.24";
|
|
3540
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3541
|
+
};
|
|
3386
3542
|
readonly "audio.record": {
|
|
3387
3543
|
readonly params: z.ZodObject<{
|
|
3388
3544
|
seconds: z.ZodNumber;
|
|
@@ -5047,6 +5203,17 @@ declare const NAMED_SCHEMAS: {
|
|
|
5047
5203
|
settings_url: z.ZodNullable<z.ZodString>;
|
|
5048
5204
|
}, z.core.$strict>>;
|
|
5049
5205
|
}, z.core.$strict>;
|
|
5206
|
+
readonly SysinfoHardwareParams: z.ZodObject<{}, z.core.$strict>;
|
|
5207
|
+
readonly SysinfoHardwareResult: z.ZodObject<{
|
|
5208
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
5209
|
+
model_detail: z.ZodNullable<z.ZodString>;
|
|
5210
|
+
model_identifier: z.ZodNullable<z.ZodString>;
|
|
5211
|
+
chip: z.ZodNullable<z.ZodString>;
|
|
5212
|
+
serial_number: z.ZodNullable<z.ZodString>;
|
|
5213
|
+
os_name: z.ZodNullable<z.ZodString>;
|
|
5214
|
+
os_version: z.ZodNullable<z.ZodString>;
|
|
5215
|
+
os_build: z.ZodNullable<z.ZodString>;
|
|
5216
|
+
}, z.core.$strict>;
|
|
5050
5217
|
readonly FsKind: z.ZodEnum<{
|
|
5051
5218
|
file: "file";
|
|
5052
5219
|
dir: "dir";
|
|
@@ -6421,6 +6588,49 @@ declare const NAMED_SCHEMAS: {
|
|
|
6421
6588
|
path: z.ZodString;
|
|
6422
6589
|
revealed: z.ZodBoolean;
|
|
6423
6590
|
}, z.core.$strict>;
|
|
6591
|
+
readonly SystemSettingsPane: z.ZodEnum<{
|
|
6592
|
+
displays: "displays";
|
|
6593
|
+
night_shift: "night_shift";
|
|
6594
|
+
sound: "sound";
|
|
6595
|
+
keyboard: "keyboard";
|
|
6596
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
6597
|
+
text_input: "text_input";
|
|
6598
|
+
dictation: "dictation";
|
|
6599
|
+
energy: "energy";
|
|
6600
|
+
about: "about";
|
|
6601
|
+
storage: "storage";
|
|
6602
|
+
system_report: "system_report";
|
|
6603
|
+
}>;
|
|
6604
|
+
readonly SystemOpenSettingsParams: z.ZodObject<{
|
|
6605
|
+
pane: z.ZodEnum<{
|
|
6606
|
+
displays: "displays";
|
|
6607
|
+
night_shift: "night_shift";
|
|
6608
|
+
sound: "sound";
|
|
6609
|
+
keyboard: "keyboard";
|
|
6610
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
6611
|
+
text_input: "text_input";
|
|
6612
|
+
dictation: "dictation";
|
|
6613
|
+
energy: "energy";
|
|
6614
|
+
about: "about";
|
|
6615
|
+
storage: "storage";
|
|
6616
|
+
system_report: "system_report";
|
|
6617
|
+
}>;
|
|
6618
|
+
}, z.core.$strict>;
|
|
6619
|
+
readonly SystemOpenSettingsResult: z.ZodObject<{
|
|
6620
|
+
pane: z.ZodEnum<{
|
|
6621
|
+
displays: "displays";
|
|
6622
|
+
night_shift: "night_shift";
|
|
6623
|
+
sound: "sound";
|
|
6624
|
+
keyboard: "keyboard";
|
|
6625
|
+
keyboard_shortcuts: "keyboard_shortcuts";
|
|
6626
|
+
text_input: "text_input";
|
|
6627
|
+
dictation: "dictation";
|
|
6628
|
+
energy: "energy";
|
|
6629
|
+
about: "about";
|
|
6630
|
+
storage: "storage";
|
|
6631
|
+
system_report: "system_report";
|
|
6632
|
+
}>;
|
|
6633
|
+
}, z.core.$strict>;
|
|
6424
6634
|
readonly SystemNotifyParams: z.ZodObject<{
|
|
6425
6635
|
title: z.ZodString;
|
|
6426
6636
|
body: z.ZodDefault<z.ZodString>;
|
|
@@ -6437,6 +6647,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
6437
6647
|
height: z.ZodInt;
|
|
6438
6648
|
scale: z.ZodNumber;
|
|
6439
6649
|
primary: z.ZodBoolean;
|
|
6650
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
6651
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
6652
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
6440
6653
|
}, z.core.$strict>;
|
|
6441
6654
|
readonly ScreenListParams: z.ZodObject<{}, z.core.$strict>;
|
|
6442
6655
|
readonly ScreenListResult: z.ZodObject<{
|
|
@@ -6449,6 +6662,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
6449
6662
|
height: z.ZodInt;
|
|
6450
6663
|
scale: z.ZodNumber;
|
|
6451
6664
|
primary: z.ZodBoolean;
|
|
6665
|
+
rotation: z.ZodOptional<z.ZodInt>;
|
|
6666
|
+
refresh_hz: z.ZodOptional<z.ZodNumber>;
|
|
6667
|
+
builtin: z.ZodOptional<z.ZodBoolean>;
|
|
6452
6668
|
}, z.core.$strict>>;
|
|
6453
6669
|
}, z.core.$strict>;
|
|
6454
6670
|
readonly ScreenCaptureParams: z.ZodObject<{
|
|
@@ -6619,6 +6835,27 @@ declare const NAMED_SCHEMAS: {
|
|
|
6619
6835
|
backslash: "backslash";
|
|
6620
6836
|
grave: "grave";
|
|
6621
6837
|
}>;
|
|
6838
|
+
readonly InputKeyboardSettingsParams: z.ZodObject<{}, z.core.$strict>;
|
|
6839
|
+
readonly InputKeyboardSettingsResult: z.ZodObject<{
|
|
6840
|
+
repeat_off: z.ZodNullable<z.ZodBoolean>;
|
|
6841
|
+
repeat_interval_ms: z.ZodNullable<z.ZodInt>;
|
|
6842
|
+
repeat_delay_ms: z.ZodNullable<z.ZodInt>;
|
|
6843
|
+
fn_key: z.ZodNullable<z.ZodEnum<{
|
|
6844
|
+
dictation: "dictation";
|
|
6845
|
+
nothing: "nothing";
|
|
6846
|
+
input_source: "input_source";
|
|
6847
|
+
emoji: "emoji";
|
|
6848
|
+
}>>;
|
|
6849
|
+
keyboard_navigation: z.ZodNullable<z.ZodBoolean>;
|
|
6850
|
+
input_sources: z.ZodArray<z.ZodString>;
|
|
6851
|
+
applies_after_login: z.ZodBoolean;
|
|
6852
|
+
}, z.core.$strict>;
|
|
6853
|
+
readonly InputSetKeyboardSettingsParams: z.ZodObject<{
|
|
6854
|
+
repeat_off: z.ZodOptional<z.ZodBoolean>;
|
|
6855
|
+
repeat_interval_ms: z.ZodOptional<z.ZodInt>;
|
|
6856
|
+
repeat_delay_ms: z.ZodOptional<z.ZodInt>;
|
|
6857
|
+
keyboard_navigation: z.ZodOptional<z.ZodBoolean>;
|
|
6858
|
+
}, z.core.$strict>;
|
|
6622
6859
|
readonly InputPoint: z.ZodObject<{
|
|
6623
6860
|
x: z.ZodInt;
|
|
6624
6861
|
y: z.ZodInt;
|
|
@@ -6833,6 +7070,14 @@ declare const NAMED_SCHEMAS: {
|
|
|
6833
7070
|
plugged_in: z.ZodNullable<z.ZodBoolean>;
|
|
6834
7071
|
minutes_left: z.ZodNullable<z.ZodInt>;
|
|
6835
7072
|
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
7073
|
+
energy: z.ZodOptional<z.ZodObject<{
|
|
7074
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7075
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7076
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7077
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
7078
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
7079
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
7080
|
+
}, z.core.$strict>>;
|
|
6836
7081
|
}, z.core.$strict>;
|
|
6837
7082
|
readonly PowerPreventSleepParams: z.ZodObject<{
|
|
6838
7083
|
seconds: z.ZodInt;
|
|
@@ -6841,6 +7086,27 @@ declare const NAMED_SCHEMAS: {
|
|
|
6841
7086
|
readonly PowerPreventSleepResult: z.ZodObject<{
|
|
6842
7087
|
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
6843
7088
|
}, z.core.$strict>;
|
|
7089
|
+
readonly PowerEnergy: z.ZodObject<{
|
|
7090
|
+
display_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7091
|
+
sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7092
|
+
disk_sleep_minutes: z.ZodNullable<z.ZodInt>;
|
|
7093
|
+
wake_for_network: z.ZodNullable<z.ZodBoolean>;
|
|
7094
|
+
restart_after_power_failure: z.ZodNullable<z.ZodBoolean>;
|
|
7095
|
+
low_power_mode: z.ZodNullable<z.ZodBoolean>;
|
|
7096
|
+
}, z.core.$strict>;
|
|
7097
|
+
readonly PowerHistoryParams: z.ZodObject<{}, z.core.$strict>;
|
|
7098
|
+
readonly PowerHistoryPoint: z.ZodObject<{
|
|
7099
|
+
at_ms: z.ZodInt;
|
|
7100
|
+
percent: z.ZodNumber;
|
|
7101
|
+
plugged_in: z.ZodBoolean;
|
|
7102
|
+
}, z.core.$strict>;
|
|
7103
|
+
readonly PowerHistoryResult: z.ZodObject<{
|
|
7104
|
+
points: z.ZodArray<z.ZodObject<{
|
|
7105
|
+
at_ms: z.ZodInt;
|
|
7106
|
+
percent: z.ZodNumber;
|
|
7107
|
+
plugged_in: z.ZodBoolean;
|
|
7108
|
+
}, z.core.$strict>>;
|
|
7109
|
+
}, z.core.$strict>;
|
|
6844
7110
|
readonly ResourcesDisk: z.ZodObject<{
|
|
6845
7111
|
mount: z.ZodString;
|
|
6846
7112
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -7102,6 +7368,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
7102
7368
|
id: z.ZodString;
|
|
7103
7369
|
name: z.ZodString;
|
|
7104
7370
|
default: z.ZodBoolean;
|
|
7371
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
7105
7372
|
}, z.core.$strict>;
|
|
7106
7373
|
readonly AudioDevicesParams: z.ZodObject<{}, z.core.$strict>;
|
|
7107
7374
|
readonly AudioDevicesResult: z.ZodObject<{
|
|
@@ -7109,11 +7376,13 @@ declare const NAMED_SCHEMAS: {
|
|
|
7109
7376
|
id: z.ZodString;
|
|
7110
7377
|
name: z.ZodString;
|
|
7111
7378
|
default: z.ZodBoolean;
|
|
7379
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
7112
7380
|
}, z.core.$strict>>;
|
|
7113
7381
|
outputs: z.ZodArray<z.ZodObject<{
|
|
7114
7382
|
id: z.ZodString;
|
|
7115
7383
|
name: z.ZodString;
|
|
7116
7384
|
default: z.ZodBoolean;
|
|
7385
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
7117
7386
|
}, z.core.$strict>>;
|
|
7118
7387
|
}, z.core.$strict>;
|
|
7119
7388
|
readonly AudioRecordParams: z.ZodObject<{
|
|
@@ -7134,6 +7403,19 @@ declare const NAMED_SCHEMAS: {
|
|
|
7134
7403
|
path: z.ZodString;
|
|
7135
7404
|
seconds: z.ZodNumber;
|
|
7136
7405
|
}, z.core.$strict>;
|
|
7406
|
+
readonly AudioLevelsParams: z.ZodObject<{}, z.core.$strict>;
|
|
7407
|
+
readonly AudioLevelsResult: z.ZodObject<{
|
|
7408
|
+
output_volume: z.ZodNullable<z.ZodNumber>;
|
|
7409
|
+
output_muted: z.ZodNullable<z.ZodBoolean>;
|
|
7410
|
+
input_volume: z.ZodNullable<z.ZodNumber>;
|
|
7411
|
+
alert_volume: z.ZodNullable<z.ZodNumber>;
|
|
7412
|
+
}, z.core.$strict>;
|
|
7413
|
+
readonly AudioSetLevelsParams: z.ZodObject<{
|
|
7414
|
+
output_volume: z.ZodOptional<z.ZodNumber>;
|
|
7415
|
+
output_muted: z.ZodOptional<z.ZodBoolean>;
|
|
7416
|
+
input_volume: z.ZodOptional<z.ZodNumber>;
|
|
7417
|
+
alert_volume: z.ZodOptional<z.ZodNumber>;
|
|
7418
|
+
}, z.core.$strict>;
|
|
7137
7419
|
readonly StackServerName: z.ZodString;
|
|
7138
7420
|
readonly StackTone: z.ZodEnum<{
|
|
7139
7421
|
good: "good";
|
|
@@ -8803,6 +9085,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
8803
9085
|
latest: z.ZodArray<z.ZodInt>;
|
|
8804
9086
|
alarm: z.ZodNullable<z.ZodString>;
|
|
8805
9087
|
}, z.core.$strict>;
|
|
9088
|
+
readonly SpendDay: z.ZodObject<{
|
|
9089
|
+
date: z.ZodString;
|
|
9090
|
+
main: z.ZodNumber;
|
|
9091
|
+
helpers: z.ZodNumber;
|
|
9092
|
+
}, z.core.$strict>;
|
|
8806
9093
|
readonly AppsSpendParams: z.ZodObject<{
|
|
8807
9094
|
app_key: z.ZodString;
|
|
8808
9095
|
}, z.core.$strict>;
|
|
@@ -8862,6 +9149,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
8862
9149
|
}, z.core.$strict>;
|
|
8863
9150
|
}, z.core.$strict>;
|
|
8864
9151
|
}, z.core.$strict>>;
|
|
9152
|
+
days: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9153
|
+
date: z.ZodString;
|
|
9154
|
+
main: z.ZodNumber;
|
|
9155
|
+
helpers: z.ZodNumber;
|
|
9156
|
+
}, z.core.$strict>>>;
|
|
8865
9157
|
chats: z.ZodArray<z.ZodObject<{
|
|
8866
9158
|
id: z.ZodString;
|
|
8867
9159
|
title: z.ZodString;
|