@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
package/dist/react.d.ts
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>;
|