@ai-matrx/desktop-protocol 0.21.33 → 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 +6 -0
- package/dist/client.cjs +69 -1
- 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 +69 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +91 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +99 -6
- package/dist/index.d.ts +99 -6
- package/dist/index.js +91 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-BcHaOevq.d.cts → models-Sz1BEet6.d.cts} +184 -1
- package/dist/{models-BcHaOevq.d.ts → models-Sz1BEet6.d.ts} +184 -1
- package/dist/react.d.cts +95 -0
- package/dist/react.d.ts +95 -0
- package/generated/desktop-protocol.schema.json +407 -1
- 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" | "1.43";
|
|
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: {
|
|
@@ -6793,6 +6793,101 @@ declare const OPS: {
|
|
|
6793
6793
|
readonly since: "1.37";
|
|
6794
6794
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6795
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
|
+
};
|
|
6796
6891
|
readonly "messages.chats": {
|
|
6797
6892
|
readonly params: z.ZodObject<{
|
|
6798
6893
|
limit: z.ZodDefault<z.ZodInt>;
|
|
@@ -17151,6 +17246,94 @@ declare const NAMED_SCHEMAS: {
|
|
|
17151
17246
|
readonly MailSendResult: z.ZodObject<{
|
|
17152
17247
|
sent: z.ZodBoolean;
|
|
17153
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>;
|
|
17154
17337
|
readonly MessagesChatsParams: z.ZodObject<{
|
|
17155
17338
|
limit: z.ZodDefault<z.ZodInt>;
|
|
17156
17339
|
}, z.core.$strict>;
|
|
@@ -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" | "1.43";
|
|
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: {
|
|
@@ -6793,6 +6793,101 @@ declare const OPS: {
|
|
|
6793
6793
|
readonly since: "1.37";
|
|
6794
6794
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6795
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
|
+
};
|
|
6796
6891
|
readonly "messages.chats": {
|
|
6797
6892
|
readonly params: z.ZodObject<{
|
|
6798
6893
|
limit: z.ZodDefault<z.ZodInt>;
|
|
@@ -17151,6 +17246,94 @@ declare const NAMED_SCHEMAS: {
|
|
|
17151
17246
|
readonly MailSendResult: z.ZodObject<{
|
|
17152
17247
|
sent: z.ZodBoolean;
|
|
17153
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>;
|
|
17154
17337
|
readonly MessagesChatsParams: z.ZodObject<{
|
|
17155
17338
|
limit: z.ZodDefault<z.ZodInt>;
|
|
17156
17339
|
}, z.core.$strict>;
|
package/dist/react.d.cts
CHANGED
|
@@ -6229,6 +6229,101 @@ declare const OPS: {
|
|
|
6229
6229
|
readonly since: "1.37";
|
|
6230
6230
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6231
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
|
+
};
|
|
6232
6327
|
readonly "messages.chats": {
|
|
6233
6328
|
readonly params: z.ZodObject<{
|
|
6234
6329
|
limit: z.ZodDefault<z.ZodInt>;
|
package/dist/react.d.ts
CHANGED
|
@@ -6229,6 +6229,101 @@ declare const OPS: {
|
|
|
6229
6229
|
readonly since: "1.37";
|
|
6230
6230
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
|
|
6231
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
|
+
};
|
|
6232
6327
|
readonly "messages.chats": {
|
|
6233
6328
|
readonly params: z.ZodObject<{
|
|
6234
6329
|
limit: z.ZodDefault<z.ZodInt>;
|