@ai-matrx/desktop-protocol 0.21.32 → 0.21.34
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 +102 -5
- 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 +102 -5
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +135 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +201 -9
- package/dist/index.d.ts +201 -9
- package/dist/index.js +135 -8
- package/dist/index.js.map +1 -1
- package/dist/{models-BNbWn8EL.d.cts → models-Sz1BEet6.d.cts} +309 -5
- package/dist/{models-BNbWn8EL.d.ts → models-Sz1BEet6.d.ts} +309 -5
- package/dist/react.d.cts +145 -3
- package/dist/react.d.ts +145 -3
- package/generated/desktop-protocol.schema.json +598 -3
- package/package.json +2 -2
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
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" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40";
|
|
714
|
+
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" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2611,6 +2611,8 @@ declare const OPS: {
|
|
|
2611
2611
|
window: z.ZodString;
|
|
2612
2612
|
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
2613
2613
|
group: z.ZodDefault<z.ZodBoolean>;
|
|
2614
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2615
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
2614
2616
|
pin: z.ZodOptional<z.ZodBoolean>;
|
|
2615
2617
|
chat_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2616
2618
|
take_off_from: z.ZodOptional<z.ZodString>;
|
|
@@ -2648,6 +2650,11 @@ declare const OPS: {
|
|
|
2648
2650
|
already: z.ZodOptional<z.ZodInt>;
|
|
2649
2651
|
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
2650
2652
|
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
2653
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
2654
|
+
now: "now";
|
|
2655
|
+
next_close: "next_close";
|
|
2656
|
+
}>>;
|
|
2657
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2651
2658
|
}, z.core.$strict>>;
|
|
2652
2659
|
pin: z.ZodOptional<z.ZodObject<{
|
|
2653
2660
|
ok: z.ZodBoolean;
|
|
@@ -2660,6 +2667,28 @@ declare const OPS: {
|
|
|
2660
2667
|
queued: z.ZodInt;
|
|
2661
2668
|
reason: z.ZodOptional<z.ZodString>;
|
|
2662
2669
|
}, z.core.$strict>>;
|
|
2670
|
+
chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2671
|
+
chat_id: z.ZodString;
|
|
2672
|
+
title: z.ZodString;
|
|
2673
|
+
outcome: z.ZodEnum<{
|
|
2674
|
+
moved: "moved";
|
|
2675
|
+
copied: "copied";
|
|
2676
|
+
already: "already";
|
|
2677
|
+
skipped: "skipped";
|
|
2678
|
+
}>;
|
|
2679
|
+
off: z.ZodArray<z.ZodString>;
|
|
2680
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2681
|
+
pin: z.ZodNullable<z.ZodEnum<{
|
|
2682
|
+
failed: "failed";
|
|
2683
|
+
now: "now";
|
|
2684
|
+
next_close: "next_close";
|
|
2685
|
+
}>>;
|
|
2686
|
+
group: z.ZodNullable<z.ZodEnum<{
|
|
2687
|
+
failed: "failed";
|
|
2688
|
+
now: "now";
|
|
2689
|
+
next_close: "next_close";
|
|
2690
|
+
}>>;
|
|
2691
|
+
}, z.core.$strict>>>;
|
|
2663
2692
|
message: z.ZodString;
|
|
2664
2693
|
}, z.core.$strict>;
|
|
2665
2694
|
readonly kind: "unary";
|
|
@@ -3963,10 +3992,10 @@ declare const OPS: {
|
|
|
3963
3992
|
name: z.ZodString;
|
|
3964
3993
|
label: z.ZodString;
|
|
3965
3994
|
tone: z.ZodEnum<{
|
|
3995
|
+
off: "off";
|
|
3966
3996
|
good: "good";
|
|
3967
3997
|
wait: "wait";
|
|
3968
3998
|
bad: "bad";
|
|
3969
|
-
off: "off";
|
|
3970
3999
|
}>;
|
|
3971
4000
|
sentence: z.ZodString;
|
|
3972
4001
|
description: z.ZodString;
|
|
@@ -4157,6 +4186,24 @@ declare const OPS: {
|
|
|
4157
4186
|
readonly since: "1.20";
|
|
4158
4187
|
readonly errors: readonly ["INTERNAL"];
|
|
4159
4188
|
};
|
|
4189
|
+
readonly "apps.windows.groups": {
|
|
4190
|
+
readonly params: z.ZodObject<{
|
|
4191
|
+
app_key: z.ZodString;
|
|
4192
|
+
window: z.ZodString;
|
|
4193
|
+
}, z.core.$strict>;
|
|
4194
|
+
readonly result: z.ZodObject<{
|
|
4195
|
+
window: z.ZodString;
|
|
4196
|
+
open: z.ZodBoolean;
|
|
4197
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
4198
|
+
id: z.ZodString;
|
|
4199
|
+
name: z.ZodString;
|
|
4200
|
+
count: z.ZodInt;
|
|
4201
|
+
}, z.core.$strict>>;
|
|
4202
|
+
}, z.core.$strict>;
|
|
4203
|
+
readonly kind: "unary";
|
|
4204
|
+
readonly since: "1.43";
|
|
4205
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4206
|
+
};
|
|
4160
4207
|
readonly "apps.windows.shown": {
|
|
4161
4208
|
readonly params: z.ZodObject<{
|
|
4162
4209
|
app_key: z.ZodString;
|
|
@@ -6746,6 +6793,101 @@ declare const OPS: {
|
|
|
6746
6793
|
readonly since: "1.37";
|
|
6747
6794
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6748
6795
|
};
|
|
6796
|
+
readonly "outlook.status": {
|
|
6797
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
6798
|
+
readonly result: z.ZodObject<{
|
|
6799
|
+
client: z.ZodEnum<{
|
|
6800
|
+
mac: "mac";
|
|
6801
|
+
classic_windows: "classic_windows";
|
|
6802
|
+
new_windows: "new_windows";
|
|
6803
|
+
none: "none";
|
|
6804
|
+
}>;
|
|
6805
|
+
scriptable: z.ZodBoolean;
|
|
6806
|
+
version: z.ZodNullable<z.ZodString>;
|
|
6807
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
6808
|
+
name: z.ZodString;
|
|
6809
|
+
email: z.ZodNullable<z.ZodString>;
|
|
6810
|
+
}, z.core.$strict>>;
|
|
6811
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
6812
|
+
}, z.core.$strict>;
|
|
6813
|
+
readonly kind: "unary";
|
|
6814
|
+
readonly since: "1.44";
|
|
6815
|
+
readonly errors: readonly ["TIMEOUT", "INTERNAL"];
|
|
6816
|
+
};
|
|
6817
|
+
readonly "outlook.draft": {
|
|
6818
|
+
readonly params: z.ZodObject<{
|
|
6819
|
+
to: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6820
|
+
cc: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6821
|
+
bcc: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6822
|
+
subject: z.ZodDefault<z.ZodString>;
|
|
6823
|
+
body: z.ZodDefault<z.ZodString>;
|
|
6824
|
+
body_format: z.ZodDefault<z.ZodEnum<{
|
|
6825
|
+
text: "text";
|
|
6826
|
+
html: "html";
|
|
6827
|
+
}>>;
|
|
6828
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6829
|
+
account: z.ZodOptional<z.ZodString>;
|
|
6830
|
+
display: z.ZodDefault<z.ZodBoolean>;
|
|
6831
|
+
}, z.core.$strict>;
|
|
6832
|
+
readonly result: z.ZodObject<{
|
|
6833
|
+
id: z.ZodString;
|
|
6834
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6835
|
+
folder: z.ZodString;
|
|
6836
|
+
attachments: z.ZodInt;
|
|
6837
|
+
displayed: z.ZodBoolean;
|
|
6838
|
+
}, z.core.$strict>;
|
|
6839
|
+
readonly kind: "unary";
|
|
6840
|
+
readonly since: "1.44";
|
|
6841
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6842
|
+
};
|
|
6843
|
+
readonly "outlook.list": {
|
|
6844
|
+
readonly params: z.ZodObject<{
|
|
6845
|
+
folder: z.ZodDefault<z.ZodEnum<{
|
|
6846
|
+
sent: "sent";
|
|
6847
|
+
inbox: "inbox";
|
|
6848
|
+
drafts: "drafts";
|
|
6849
|
+
}>>;
|
|
6850
|
+
account: z.ZodOptional<z.ZodString>;
|
|
6851
|
+
unread_only: z.ZodDefault<z.ZodBoolean>;
|
|
6852
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
6853
|
+
}, z.core.$strict>;
|
|
6854
|
+
readonly result: z.ZodObject<{
|
|
6855
|
+
folder: z.ZodString;
|
|
6856
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
6857
|
+
id: z.ZodString;
|
|
6858
|
+
subject: z.ZodString;
|
|
6859
|
+
sender: z.ZodString;
|
|
6860
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6861
|
+
read: z.ZodBoolean;
|
|
6862
|
+
has_attachments: z.ZodBoolean;
|
|
6863
|
+
preview: z.ZodString;
|
|
6864
|
+
}, z.core.$strict>>;
|
|
6865
|
+
}, z.core.$strict>;
|
|
6866
|
+
readonly kind: "unary";
|
|
6867
|
+
readonly since: "1.44";
|
|
6868
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6869
|
+
};
|
|
6870
|
+
readonly "outlook.read": {
|
|
6871
|
+
readonly params: z.ZodObject<{
|
|
6872
|
+
id: z.ZodString;
|
|
6873
|
+
}, z.core.$strict>;
|
|
6874
|
+
readonly result: z.ZodObject<{
|
|
6875
|
+
id: z.ZodString;
|
|
6876
|
+
subject: z.ZodString;
|
|
6877
|
+
sender: z.ZodString;
|
|
6878
|
+
to: z.ZodArray<z.ZodString>;
|
|
6879
|
+
cc: z.ZodArray<z.ZodString>;
|
|
6880
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6881
|
+
body: z.ZodString;
|
|
6882
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
6883
|
+
name: z.ZodString;
|
|
6884
|
+
size: z.ZodInt;
|
|
6885
|
+
}, z.core.$strict>>;
|
|
6886
|
+
}, z.core.$strict>;
|
|
6887
|
+
readonly kind: "unary";
|
|
6888
|
+
readonly since: "1.44";
|
|
6889
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6890
|
+
};
|
|
6749
6891
|
readonly "messages.chats": {
|
|
6750
6892
|
readonly params: z.ZodObject<{
|
|
6751
6893
|
limit: z.ZodDefault<z.ZodInt>;
|
|
@@ -13378,19 +13520,19 @@ declare const NAMED_SCHEMAS: {
|
|
|
13378
13520
|
}, z.core.$strict>;
|
|
13379
13521
|
readonly StackServerName: z.ZodString;
|
|
13380
13522
|
readonly StackTone: z.ZodEnum<{
|
|
13523
|
+
off: "off";
|
|
13381
13524
|
good: "good";
|
|
13382
13525
|
wait: "wait";
|
|
13383
13526
|
bad: "bad";
|
|
13384
|
-
off: "off";
|
|
13385
13527
|
}>;
|
|
13386
13528
|
readonly StackServer: z.ZodObject<{
|
|
13387
13529
|
name: z.ZodString;
|
|
13388
13530
|
label: z.ZodString;
|
|
13389
13531
|
tone: z.ZodEnum<{
|
|
13532
|
+
off: "off";
|
|
13390
13533
|
good: "good";
|
|
13391
13534
|
wait: "wait";
|
|
13392
13535
|
bad: "bad";
|
|
13393
|
-
off: "off";
|
|
13394
13536
|
}>;
|
|
13395
13537
|
sentence: z.ZodString;
|
|
13396
13538
|
description: z.ZodString;
|
|
@@ -13420,10 +13562,10 @@ declare const NAMED_SCHEMAS: {
|
|
|
13420
13562
|
name: z.ZodString;
|
|
13421
13563
|
label: z.ZodString;
|
|
13422
13564
|
tone: z.ZodEnum<{
|
|
13565
|
+
off: "off";
|
|
13423
13566
|
good: "good";
|
|
13424
13567
|
wait: "wait";
|
|
13425
13568
|
bad: "bad";
|
|
13426
|
-
off: "off";
|
|
13427
13569
|
}>;
|
|
13428
13570
|
sentence: z.ZodString;
|
|
13429
13571
|
description: z.ZodString;
|
|
@@ -14809,6 +14951,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
14809
14951
|
already: z.ZodOptional<z.ZodInt>;
|
|
14810
14952
|
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
14811
14953
|
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
14954
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
14955
|
+
now: "now";
|
|
14956
|
+
next_close: "next_close";
|
|
14957
|
+
}>>;
|
|
14958
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
14812
14959
|
}, z.core.$strict>;
|
|
14813
14960
|
readonly ProjectMovePin: z.ZodObject<{
|
|
14814
14961
|
ok: z.ZodBoolean;
|
|
@@ -14827,6 +14974,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
14827
14974
|
window: z.ZodString;
|
|
14828
14975
|
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
14829
14976
|
group: z.ZodDefault<z.ZodBoolean>;
|
|
14977
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
14978
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
14830
14979
|
pin: z.ZodOptional<z.ZodBoolean>;
|
|
14831
14980
|
chat_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14832
14981
|
take_off_from: z.ZodOptional<z.ZodString>;
|
|
@@ -14864,6 +15013,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
14864
15013
|
already: z.ZodOptional<z.ZodInt>;
|
|
14865
15014
|
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
14866
15015
|
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
15016
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
15017
|
+
now: "now";
|
|
15018
|
+
next_close: "next_close";
|
|
15019
|
+
}>>;
|
|
15020
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
14867
15021
|
}, z.core.$strict>>;
|
|
14868
15022
|
pin: z.ZodOptional<z.ZodObject<{
|
|
14869
15023
|
ok: z.ZodBoolean;
|
|
@@ -14876,6 +15030,28 @@ declare const NAMED_SCHEMAS: {
|
|
|
14876
15030
|
queued: z.ZodInt;
|
|
14877
15031
|
reason: z.ZodOptional<z.ZodString>;
|
|
14878
15032
|
}, z.core.$strict>>;
|
|
15033
|
+
chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15034
|
+
chat_id: z.ZodString;
|
|
15035
|
+
title: z.ZodString;
|
|
15036
|
+
outcome: z.ZodEnum<{
|
|
15037
|
+
moved: "moved";
|
|
15038
|
+
copied: "copied";
|
|
15039
|
+
already: "already";
|
|
15040
|
+
skipped: "skipped";
|
|
15041
|
+
}>;
|
|
15042
|
+
off: z.ZodArray<z.ZodString>;
|
|
15043
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15044
|
+
pin: z.ZodNullable<z.ZodEnum<{
|
|
15045
|
+
failed: "failed";
|
|
15046
|
+
now: "now";
|
|
15047
|
+
next_close: "next_close";
|
|
15048
|
+
}>>;
|
|
15049
|
+
group: z.ZodNullable<z.ZodEnum<{
|
|
15050
|
+
failed: "failed";
|
|
15051
|
+
now: "now";
|
|
15052
|
+
next_close: "next_close";
|
|
15053
|
+
}>>;
|
|
15054
|
+
}, z.core.$strict>>>;
|
|
14879
15055
|
message: z.ZodString;
|
|
14880
15056
|
}, z.core.$strict>;
|
|
14881
15057
|
readonly ShownSection: z.ZodObject<{
|
|
@@ -14897,6 +15073,46 @@ declare const NAMED_SCHEMAS: {
|
|
|
14897
15073
|
}, z.core.$strict>>;
|
|
14898
15074
|
problem: z.ZodNullable<z.ZodString>;
|
|
14899
15075
|
}, z.core.$strict>;
|
|
15076
|
+
readonly ProjectMoveOutcome: z.ZodObject<{
|
|
15077
|
+
chat_id: z.ZodString;
|
|
15078
|
+
title: z.ZodString;
|
|
15079
|
+
outcome: z.ZodEnum<{
|
|
15080
|
+
moved: "moved";
|
|
15081
|
+
copied: "copied";
|
|
15082
|
+
already: "already";
|
|
15083
|
+
skipped: "skipped";
|
|
15084
|
+
}>;
|
|
15085
|
+
off: z.ZodArray<z.ZodString>;
|
|
15086
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
15087
|
+
pin: z.ZodNullable<z.ZodEnum<{
|
|
15088
|
+
failed: "failed";
|
|
15089
|
+
now: "now";
|
|
15090
|
+
next_close: "next_close";
|
|
15091
|
+
}>>;
|
|
15092
|
+
group: z.ZodNullable<z.ZodEnum<{
|
|
15093
|
+
failed: "failed";
|
|
15094
|
+
now: "now";
|
|
15095
|
+
next_close: "next_close";
|
|
15096
|
+
}>>;
|
|
15097
|
+
}, z.core.$strict>;
|
|
15098
|
+
readonly WindowGroup: z.ZodObject<{
|
|
15099
|
+
id: z.ZodString;
|
|
15100
|
+
name: z.ZodString;
|
|
15101
|
+
count: z.ZodInt;
|
|
15102
|
+
}, z.core.$strict>;
|
|
15103
|
+
readonly AppsWindowsGroupsParams: z.ZodObject<{
|
|
15104
|
+
app_key: z.ZodString;
|
|
15105
|
+
window: z.ZodString;
|
|
15106
|
+
}, z.core.$strict>;
|
|
15107
|
+
readonly AppsWindowsGroupsResult: z.ZodObject<{
|
|
15108
|
+
window: z.ZodString;
|
|
15109
|
+
open: z.ZodBoolean;
|
|
15110
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
15111
|
+
id: z.ZodString;
|
|
15112
|
+
name: z.ZodString;
|
|
15113
|
+
count: z.ZodInt;
|
|
15114
|
+
}, z.core.$strict>>;
|
|
15115
|
+
}, z.core.$strict>;
|
|
14900
15116
|
readonly ColdChat: z.ZodObject<{
|
|
14901
15117
|
id: z.ZodString;
|
|
14902
15118
|
title: z.ZodString;
|
|
@@ -17030,6 +17246,94 @@ declare const NAMED_SCHEMAS: {
|
|
|
17030
17246
|
readonly MailSendResult: z.ZodObject<{
|
|
17031
17247
|
sent: z.ZodBoolean;
|
|
17032
17248
|
}, z.core.$strict>;
|
|
17249
|
+
readonly OutlookStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
17250
|
+
readonly OutlookAccount: z.ZodObject<{
|
|
17251
|
+
name: z.ZodString;
|
|
17252
|
+
email: z.ZodNullable<z.ZodString>;
|
|
17253
|
+
}, z.core.$strict>;
|
|
17254
|
+
readonly OutlookStatusResult: z.ZodObject<{
|
|
17255
|
+
client: z.ZodEnum<{
|
|
17256
|
+
mac: "mac";
|
|
17257
|
+
classic_windows: "classic_windows";
|
|
17258
|
+
new_windows: "new_windows";
|
|
17259
|
+
none: "none";
|
|
17260
|
+
}>;
|
|
17261
|
+
scriptable: z.ZodBoolean;
|
|
17262
|
+
version: z.ZodNullable<z.ZodString>;
|
|
17263
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
17264
|
+
name: z.ZodString;
|
|
17265
|
+
email: z.ZodNullable<z.ZodString>;
|
|
17266
|
+
}, z.core.$strict>>;
|
|
17267
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
17268
|
+
}, z.core.$strict>;
|
|
17269
|
+
readonly OutlookDraftParams: z.ZodObject<{
|
|
17270
|
+
to: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
17271
|
+
cc: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
17272
|
+
bcc: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
17273
|
+
subject: z.ZodDefault<z.ZodString>;
|
|
17274
|
+
body: z.ZodDefault<z.ZodString>;
|
|
17275
|
+
body_format: z.ZodDefault<z.ZodEnum<{
|
|
17276
|
+
text: "text";
|
|
17277
|
+
html: "html";
|
|
17278
|
+
}>>;
|
|
17279
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
17280
|
+
account: z.ZodOptional<z.ZodString>;
|
|
17281
|
+
display: z.ZodDefault<z.ZodBoolean>;
|
|
17282
|
+
}, z.core.$strict>;
|
|
17283
|
+
readonly OutlookDraftResult: z.ZodObject<{
|
|
17284
|
+
id: z.ZodString;
|
|
17285
|
+
account: z.ZodNullable<z.ZodString>;
|
|
17286
|
+
folder: z.ZodString;
|
|
17287
|
+
attachments: z.ZodInt;
|
|
17288
|
+
displayed: z.ZodBoolean;
|
|
17289
|
+
}, z.core.$strict>;
|
|
17290
|
+
readonly OutlookListParams: z.ZodObject<{
|
|
17291
|
+
folder: z.ZodDefault<z.ZodEnum<{
|
|
17292
|
+
sent: "sent";
|
|
17293
|
+
inbox: "inbox";
|
|
17294
|
+
drafts: "drafts";
|
|
17295
|
+
}>>;
|
|
17296
|
+
account: z.ZodOptional<z.ZodString>;
|
|
17297
|
+
unread_only: z.ZodDefault<z.ZodBoolean>;
|
|
17298
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
17299
|
+
}, z.core.$strict>;
|
|
17300
|
+
readonly OutlookMessage: z.ZodObject<{
|
|
17301
|
+
id: z.ZodString;
|
|
17302
|
+
subject: z.ZodString;
|
|
17303
|
+
sender: z.ZodString;
|
|
17304
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
17305
|
+
read: z.ZodBoolean;
|
|
17306
|
+
has_attachments: z.ZodBoolean;
|
|
17307
|
+
preview: z.ZodString;
|
|
17308
|
+
}, z.core.$strict>;
|
|
17309
|
+
readonly OutlookListResult: z.ZodObject<{
|
|
17310
|
+
folder: z.ZodString;
|
|
17311
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
17312
|
+
id: z.ZodString;
|
|
17313
|
+
subject: z.ZodString;
|
|
17314
|
+
sender: z.ZodString;
|
|
17315
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
17316
|
+
read: z.ZodBoolean;
|
|
17317
|
+
has_attachments: z.ZodBoolean;
|
|
17318
|
+
preview: z.ZodString;
|
|
17319
|
+
}, z.core.$strict>>;
|
|
17320
|
+
}, z.core.$strict>;
|
|
17321
|
+
readonly OutlookReadParams: z.ZodObject<{
|
|
17322
|
+
id: z.ZodString;
|
|
17323
|
+
}, z.core.$strict>;
|
|
17324
|
+
readonly OutlookReadResult: z.ZodObject<{
|
|
17325
|
+
id: z.ZodString;
|
|
17326
|
+
subject: z.ZodString;
|
|
17327
|
+
sender: z.ZodString;
|
|
17328
|
+
to: z.ZodArray<z.ZodString>;
|
|
17329
|
+
cc: z.ZodArray<z.ZodString>;
|
|
17330
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
17331
|
+
body: z.ZodString;
|
|
17332
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
17333
|
+
name: z.ZodString;
|
|
17334
|
+
size: z.ZodInt;
|
|
17335
|
+
}, z.core.$strict>>;
|
|
17336
|
+
}, z.core.$strict>;
|
|
17033
17337
|
readonly MessagesChatsParams: z.ZodObject<{
|
|
17034
17338
|
limit: z.ZodDefault<z.ZodInt>;
|
|
17035
17339
|
}, z.core.$strict>;
|
package/dist/react.d.cts
CHANGED
|
@@ -2047,6 +2047,8 @@ declare const OPS: {
|
|
|
2047
2047
|
window: z.ZodString;
|
|
2048
2048
|
take_off: z.ZodDefault<z.ZodBoolean>;
|
|
2049
2049
|
group: z.ZodDefault<z.ZodBoolean>;
|
|
2050
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2051
|
+
group_name: z.ZodOptional<z.ZodString>;
|
|
2050
2052
|
pin: z.ZodOptional<z.ZodBoolean>;
|
|
2051
2053
|
chat_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2052
2054
|
take_off_from: z.ZodOptional<z.ZodString>;
|
|
@@ -2084,6 +2086,11 @@ declare const OPS: {
|
|
|
2084
2086
|
already: z.ZodOptional<z.ZodInt>;
|
|
2085
2087
|
from_other_groups: z.ZodOptional<z.ZodInt>;
|
|
2086
2088
|
group_exists: z.ZodOptional<z.ZodBoolean>;
|
|
2089
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
2090
|
+
now: "now";
|
|
2091
|
+
next_close: "next_close";
|
|
2092
|
+
}>>;
|
|
2093
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2087
2094
|
}, z.core.$strict>>;
|
|
2088
2095
|
pin: z.ZodOptional<z.ZodObject<{
|
|
2089
2096
|
ok: z.ZodBoolean;
|
|
@@ -2096,6 +2103,28 @@ declare const OPS: {
|
|
|
2096
2103
|
queued: z.ZodInt;
|
|
2097
2104
|
reason: z.ZodOptional<z.ZodString>;
|
|
2098
2105
|
}, z.core.$strict>>;
|
|
2106
|
+
chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2107
|
+
chat_id: z.ZodString;
|
|
2108
|
+
title: z.ZodString;
|
|
2109
|
+
outcome: z.ZodEnum<{
|
|
2110
|
+
already: "already";
|
|
2111
|
+
skipped: "skipped";
|
|
2112
|
+
copied: "copied";
|
|
2113
|
+
moved: "moved";
|
|
2114
|
+
}>;
|
|
2115
|
+
off: z.ZodArray<z.ZodString>;
|
|
2116
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2117
|
+
pin: z.ZodNullable<z.ZodEnum<{
|
|
2118
|
+
failed: "failed";
|
|
2119
|
+
now: "now";
|
|
2120
|
+
next_close: "next_close";
|
|
2121
|
+
}>>;
|
|
2122
|
+
group: z.ZodNullable<z.ZodEnum<{
|
|
2123
|
+
failed: "failed";
|
|
2124
|
+
now: "now";
|
|
2125
|
+
next_close: "next_close";
|
|
2126
|
+
}>>;
|
|
2127
|
+
}, z.core.$strict>>>;
|
|
2099
2128
|
message: z.ZodString;
|
|
2100
2129
|
}, z.core.$strict>;
|
|
2101
2130
|
readonly kind: "unary";
|
|
@@ -2505,8 +2534,8 @@ declare const OPS: {
|
|
|
2505
2534
|
type: z.ZodEnum<{
|
|
2506
2535
|
created: "created";
|
|
2507
2536
|
deleted: "deleted";
|
|
2508
|
-
modified: "modified";
|
|
2509
2537
|
moved: "moved";
|
|
2538
|
+
modified: "modified";
|
|
2510
2539
|
}>;
|
|
2511
2540
|
path: z.ZodString;
|
|
2512
2541
|
to_path: z.ZodOptional<z.ZodString>;
|
|
@@ -3399,10 +3428,10 @@ declare const OPS: {
|
|
|
3399
3428
|
name: z.ZodString;
|
|
3400
3429
|
label: z.ZodString;
|
|
3401
3430
|
tone: z.ZodEnum<{
|
|
3431
|
+
off: "off";
|
|
3402
3432
|
good: "good";
|
|
3403
3433
|
wait: "wait";
|
|
3404
3434
|
bad: "bad";
|
|
3405
|
-
off: "off";
|
|
3406
3435
|
}>;
|
|
3407
3436
|
sentence: z.ZodString;
|
|
3408
3437
|
description: z.ZodString;
|
|
@@ -3593,6 +3622,24 @@ declare const OPS: {
|
|
|
3593
3622
|
readonly since: "1.20";
|
|
3594
3623
|
readonly errors: readonly ["INTERNAL"];
|
|
3595
3624
|
};
|
|
3625
|
+
readonly "apps.windows.groups": {
|
|
3626
|
+
readonly params: z.ZodObject<{
|
|
3627
|
+
app_key: z.ZodString;
|
|
3628
|
+
window: z.ZodString;
|
|
3629
|
+
}, z.core.$strict>;
|
|
3630
|
+
readonly result: z.ZodObject<{
|
|
3631
|
+
window: z.ZodString;
|
|
3632
|
+
open: z.ZodBoolean;
|
|
3633
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
3634
|
+
id: z.ZodString;
|
|
3635
|
+
name: z.ZodString;
|
|
3636
|
+
count: z.ZodInt;
|
|
3637
|
+
}, z.core.$strict>>;
|
|
3638
|
+
}, z.core.$strict>;
|
|
3639
|
+
readonly kind: "unary";
|
|
3640
|
+
readonly since: "1.43";
|
|
3641
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3642
|
+
};
|
|
3596
3643
|
readonly "apps.windows.shown": {
|
|
3597
3644
|
readonly params: z.ZodObject<{
|
|
3598
3645
|
app_key: z.ZodString;
|
|
@@ -6182,6 +6229,101 @@ declare const OPS: {
|
|
|
6182
6229
|
readonly since: "1.37";
|
|
6183
6230
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6184
6231
|
};
|
|
6232
|
+
readonly "outlook.status": {
|
|
6233
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
6234
|
+
readonly result: z.ZodObject<{
|
|
6235
|
+
client: z.ZodEnum<{
|
|
6236
|
+
mac: "mac";
|
|
6237
|
+
classic_windows: "classic_windows";
|
|
6238
|
+
new_windows: "new_windows";
|
|
6239
|
+
none: "none";
|
|
6240
|
+
}>;
|
|
6241
|
+
scriptable: z.ZodBoolean;
|
|
6242
|
+
version: z.ZodNullable<z.ZodString>;
|
|
6243
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
6244
|
+
name: z.ZodString;
|
|
6245
|
+
email: z.ZodNullable<z.ZodString>;
|
|
6246
|
+
}, z.core.$strict>>;
|
|
6247
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
6248
|
+
}, z.core.$strict>;
|
|
6249
|
+
readonly kind: "unary";
|
|
6250
|
+
readonly since: "1.44";
|
|
6251
|
+
readonly errors: readonly ["TIMEOUT", "INTERNAL"];
|
|
6252
|
+
};
|
|
6253
|
+
readonly "outlook.draft": {
|
|
6254
|
+
readonly params: z.ZodObject<{
|
|
6255
|
+
to: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6256
|
+
cc: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6257
|
+
bcc: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6258
|
+
subject: z.ZodDefault<z.ZodString>;
|
|
6259
|
+
body: z.ZodDefault<z.ZodString>;
|
|
6260
|
+
body_format: z.ZodDefault<z.ZodEnum<{
|
|
6261
|
+
html: "html";
|
|
6262
|
+
text: "text";
|
|
6263
|
+
}>>;
|
|
6264
|
+
attachments: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6265
|
+
account: z.ZodOptional<z.ZodString>;
|
|
6266
|
+
display: z.ZodDefault<z.ZodBoolean>;
|
|
6267
|
+
}, z.core.$strict>;
|
|
6268
|
+
readonly result: z.ZodObject<{
|
|
6269
|
+
id: z.ZodString;
|
|
6270
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6271
|
+
folder: z.ZodString;
|
|
6272
|
+
attachments: z.ZodInt;
|
|
6273
|
+
displayed: z.ZodBoolean;
|
|
6274
|
+
}, z.core.$strict>;
|
|
6275
|
+
readonly kind: "unary";
|
|
6276
|
+
readonly since: "1.44";
|
|
6277
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6278
|
+
};
|
|
6279
|
+
readonly "outlook.list": {
|
|
6280
|
+
readonly params: z.ZodObject<{
|
|
6281
|
+
folder: z.ZodDefault<z.ZodEnum<{
|
|
6282
|
+
sent: "sent";
|
|
6283
|
+
inbox: "inbox";
|
|
6284
|
+
drafts: "drafts";
|
|
6285
|
+
}>>;
|
|
6286
|
+
account: z.ZodOptional<z.ZodString>;
|
|
6287
|
+
unread_only: z.ZodDefault<z.ZodBoolean>;
|
|
6288
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
6289
|
+
}, z.core.$strict>;
|
|
6290
|
+
readonly result: z.ZodObject<{
|
|
6291
|
+
folder: z.ZodString;
|
|
6292
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
6293
|
+
id: z.ZodString;
|
|
6294
|
+
subject: z.ZodString;
|
|
6295
|
+
sender: z.ZodString;
|
|
6296
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6297
|
+
read: z.ZodBoolean;
|
|
6298
|
+
has_attachments: z.ZodBoolean;
|
|
6299
|
+
preview: z.ZodString;
|
|
6300
|
+
}, z.core.$strict>>;
|
|
6301
|
+
}, z.core.$strict>;
|
|
6302
|
+
readonly kind: "unary";
|
|
6303
|
+
readonly since: "1.44";
|
|
6304
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6305
|
+
};
|
|
6306
|
+
readonly "outlook.read": {
|
|
6307
|
+
readonly params: z.ZodObject<{
|
|
6308
|
+
id: z.ZodString;
|
|
6309
|
+
}, z.core.$strict>;
|
|
6310
|
+
readonly result: z.ZodObject<{
|
|
6311
|
+
id: z.ZodString;
|
|
6312
|
+
subject: z.ZodString;
|
|
6313
|
+
sender: z.ZodString;
|
|
6314
|
+
to: z.ZodArray<z.ZodString>;
|
|
6315
|
+
cc: z.ZodArray<z.ZodString>;
|
|
6316
|
+
received_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6317
|
+
body: z.ZodString;
|
|
6318
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
6319
|
+
name: z.ZodString;
|
|
6320
|
+
size: z.ZodInt;
|
|
6321
|
+
}, z.core.$strict>>;
|
|
6322
|
+
}, z.core.$strict>;
|
|
6323
|
+
readonly kind: "unary";
|
|
6324
|
+
readonly since: "1.44";
|
|
6325
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6326
|
+
};
|
|
6185
6327
|
readonly "messages.chats": {
|
|
6186
6328
|
readonly params: z.ZodObject<{
|
|
6187
6329
|
limit: z.ZodDefault<z.ZodInt>;
|
|
@@ -6912,8 +7054,8 @@ declare const EVENTS: {
|
|
|
6912
7054
|
type: z.ZodEnum<{
|
|
6913
7055
|
created: "created";
|
|
6914
7056
|
deleted: "deleted";
|
|
6915
|
-
modified: "modified";
|
|
6916
7057
|
moved: "moved";
|
|
7058
|
+
modified: "modified";
|
|
6917
7059
|
}>;
|
|
6918
7060
|
path: z.ZodString;
|
|
6919
7061
|
to_path: z.ZodOptional<z.ZodString>;
|