@workwae/sdk 0.1.0-alpha.4 → 0.1.0-alpha.5
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/contract/events/models.d.ts +26 -0
- package/contract/mail/models.d.ts +12 -4
- package/contract/mail/routes.d.ts +10 -4
- package/contract/reasons.d.ts +21 -0
- package/contract/router.d.ts +21 -9
- package/contract/send/models.d.ts +4 -1
- package/contract/send/routes.d.ts +7 -5
- package/contract/threads/models.d.ts +2 -0
- package/contract/threads/routes.d.ts +4 -0
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -183,6 +183,8 @@ export declare const MessageData: z.ZodObject<{
|
|
|
183
183
|
high: "high";
|
|
184
184
|
low: "low";
|
|
185
185
|
}>>;
|
|
186
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
187
|
+
references: z.ZodArray<z.ZodString>;
|
|
186
188
|
}, z.core.$strip>;
|
|
187
189
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
188
190
|
id: z.ZodUUID;
|
|
@@ -239,6 +241,8 @@ export declare const MessageUpdatedData: z.ZodObject<{
|
|
|
239
241
|
high: "high";
|
|
240
242
|
low: "low";
|
|
241
243
|
}>>;
|
|
244
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
245
|
+
references: z.ZodArray<z.ZodString>;
|
|
242
246
|
}, z.core.$strip>;
|
|
243
247
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
244
248
|
id: z.ZodUUID;
|
|
@@ -317,6 +321,8 @@ export declare const MessageDeletedData: z.ZodObject<{
|
|
|
317
321
|
high: "high";
|
|
318
322
|
low: "low";
|
|
319
323
|
}>>;
|
|
324
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
325
|
+
references: z.ZodArray<z.ZodString>;
|
|
320
326
|
}, z.core.$strip>;
|
|
321
327
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
322
328
|
id: z.ZodUUID;
|
|
@@ -375,6 +381,8 @@ export declare const MessageClassifiedData: z.ZodObject<{
|
|
|
375
381
|
high: "high";
|
|
376
382
|
low: "low";
|
|
377
383
|
}>>;
|
|
384
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
385
|
+
references: z.ZodArray<z.ZodString>;
|
|
378
386
|
}, z.core.$strip>;
|
|
379
387
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
380
388
|
id: z.ZodUUID;
|
|
@@ -558,6 +566,11 @@ export declare const SendFailedData: z.ZodObject<{
|
|
|
558
566
|
code: z.ZodString;
|
|
559
567
|
message: z.ZodString;
|
|
560
568
|
}, z.core.$strip>;
|
|
569
|
+
rejectedRecipients: z.ZodArray<z.ZodObject<{
|
|
570
|
+
address: z.ZodString;
|
|
571
|
+
status: z.ZodNullable<z.ZodString>;
|
|
572
|
+
diagnostic: z.ZodNullable<z.ZodString>;
|
|
573
|
+
}, z.core.$strip>>;
|
|
561
574
|
outboxId: z.ZodUUID;
|
|
562
575
|
reference: z.ZodNullable<z.ZodString>;
|
|
563
576
|
}, z.core.$strip>;
|
|
@@ -1224,6 +1237,8 @@ export declare const EVENTS: {
|
|
|
1224
1237
|
high: "high";
|
|
1225
1238
|
low: "low";
|
|
1226
1239
|
}>>;
|
|
1240
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
1241
|
+
references: z.ZodArray<z.ZodString>;
|
|
1227
1242
|
}, z.core.$strip>;
|
|
1228
1243
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
1229
1244
|
id: z.ZodUUID;
|
|
@@ -1283,6 +1298,8 @@ export declare const EVENTS: {
|
|
|
1283
1298
|
high: "high";
|
|
1284
1299
|
low: "low";
|
|
1285
1300
|
}>>;
|
|
1301
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
references: z.ZodArray<z.ZodString>;
|
|
1286
1303
|
}, z.core.$strip>;
|
|
1287
1304
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
1288
1305
|
id: z.ZodUUID;
|
|
@@ -1364,6 +1381,8 @@ export declare const EVENTS: {
|
|
|
1364
1381
|
high: "high";
|
|
1365
1382
|
low: "low";
|
|
1366
1383
|
}>>;
|
|
1384
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
1385
|
+
references: z.ZodArray<z.ZodString>;
|
|
1367
1386
|
}, z.core.$strip>;
|
|
1368
1387
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
1369
1388
|
id: z.ZodUUID;
|
|
@@ -1440,6 +1459,8 @@ export declare const EVENTS: {
|
|
|
1440
1459
|
high: "high";
|
|
1441
1460
|
low: "low";
|
|
1442
1461
|
}>>;
|
|
1462
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
1463
|
+
references: z.ZodArray<z.ZodString>;
|
|
1443
1464
|
}, z.core.$strip>;
|
|
1444
1465
|
mailboxes: z.ZodArray<z.ZodObject<{
|
|
1445
1466
|
id: z.ZodUUID;
|
|
@@ -1691,6 +1712,11 @@ export declare const EVENTS: {
|
|
|
1691
1712
|
code: z.ZodString;
|
|
1692
1713
|
message: z.ZodString;
|
|
1693
1714
|
}, z.core.$strip>;
|
|
1715
|
+
rejectedRecipients: z.ZodArray<z.ZodObject<{
|
|
1716
|
+
address: z.ZodString;
|
|
1717
|
+
status: z.ZodNullable<z.ZodString>;
|
|
1718
|
+
diagnostic: z.ZodNullable<z.ZodString>;
|
|
1719
|
+
}, z.core.$strip>>;
|
|
1694
1720
|
outboxId: z.ZodUUID;
|
|
1695
1721
|
reference: z.ZodNullable<z.ZodString>;
|
|
1696
1722
|
}, z.core.$strip>;
|
|
@@ -143,6 +143,8 @@ export declare const MessageSummary: z.ZodObject<{
|
|
|
143
143
|
high: "high";
|
|
144
144
|
low: "low";
|
|
145
145
|
}>>;
|
|
146
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
147
|
+
references: z.ZodArray<z.ZodString>;
|
|
146
148
|
}, z.core.$strip>;
|
|
147
149
|
export type MessageSummary = z.infer<typeof MessageSummary>;
|
|
148
150
|
export declare const MessageChangedField: z.ZodEnum<{
|
|
@@ -206,6 +208,8 @@ export declare const MessageSummaryPage: z.ZodObject<{
|
|
|
206
208
|
high: "high";
|
|
207
209
|
low: "low";
|
|
208
210
|
}>>;
|
|
211
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
212
|
+
references: z.ZodArray<z.ZodString>;
|
|
209
213
|
}, z.core.$strip>>;
|
|
210
214
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
211
215
|
}, z.core.$strip>;
|
|
@@ -306,6 +310,8 @@ export declare const Message: z.ZodObject<{
|
|
|
306
310
|
high: "high";
|
|
307
311
|
low: "low";
|
|
308
312
|
}>>;
|
|
313
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
314
|
+
references: z.ZodArray<z.ZodString>;
|
|
309
315
|
bcc: z.ZodArray<z.ZodObject<{
|
|
310
316
|
name: z.ZodNullable<z.ZodString>;
|
|
311
317
|
address: z.ZodString;
|
|
@@ -349,8 +355,6 @@ export declare const Message: z.ZodObject<{
|
|
|
349
355
|
model: z.ZodString;
|
|
350
356
|
classifiedAt: z.ZodPreprocess<z.ZodDate, Date>;
|
|
351
357
|
}, z.core.$strip>>;
|
|
352
|
-
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
353
|
-
references: z.ZodArray<z.ZodString>;
|
|
354
358
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
355
359
|
name: z.ZodString;
|
|
356
360
|
value: z.ZodString;
|
|
@@ -395,6 +399,8 @@ export declare const MessagePage: z.ZodObject<{
|
|
|
395
399
|
high: "high";
|
|
396
400
|
low: "low";
|
|
397
401
|
}>>;
|
|
402
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
403
|
+
references: z.ZodArray<z.ZodString>;
|
|
398
404
|
bcc: z.ZodArray<z.ZodObject<{
|
|
399
405
|
name: z.ZodNullable<z.ZodString>;
|
|
400
406
|
address: z.ZodString;
|
|
@@ -438,8 +444,6 @@ export declare const MessagePage: z.ZodObject<{
|
|
|
438
444
|
model: z.ZodString;
|
|
439
445
|
classifiedAt: z.ZodPreprocess<z.ZodDate, Date>;
|
|
440
446
|
}, z.core.$strip>>;
|
|
441
|
-
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
442
|
-
references: z.ZodArray<z.ZodString>;
|
|
443
447
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
444
448
|
name: z.ZodString;
|
|
445
449
|
value: z.ZodString;
|
|
@@ -495,6 +499,8 @@ export declare const SearchHit: z.ZodObject<{
|
|
|
495
499
|
high: "high";
|
|
496
500
|
low: "low";
|
|
497
501
|
}>>;
|
|
502
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
503
|
+
references: z.ZodArray<z.ZodString>;
|
|
498
504
|
id: z.ZodNullable<z.ZodUUID>;
|
|
499
505
|
}, z.core.$strip>;
|
|
500
506
|
export type SearchHit = z.infer<typeof SearchHit>;
|
|
@@ -539,6 +545,8 @@ export declare const SearchPage: z.ZodObject<{
|
|
|
539
545
|
high: "high";
|
|
540
546
|
low: "low";
|
|
541
547
|
}>>;
|
|
548
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
549
|
+
references: z.ZodArray<z.ZodString>;
|
|
542
550
|
id: z.ZodNullable<z.ZodUUID>;
|
|
543
551
|
}, z.core.$strip>>;
|
|
544
552
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -498,6 +498,8 @@ export declare const messages: {
|
|
|
498
498
|
high: "high";
|
|
499
499
|
low: "low";
|
|
500
500
|
}>>;
|
|
501
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
502
|
+
references: z.ZodArray<z.ZodString>;
|
|
501
503
|
bcc: z.ZodArray<z.ZodObject<{
|
|
502
504
|
name: z.ZodNullable<z.ZodString>;
|
|
503
505
|
address: z.ZodString;
|
|
@@ -541,8 +543,6 @@ export declare const messages: {
|
|
|
541
543
|
model: z.ZodString;
|
|
542
544
|
classifiedAt: z.ZodPreprocess<z.ZodDate, Date>;
|
|
543
545
|
}, z.core.$strip>>;
|
|
544
|
-
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
545
|
-
references: z.ZodArray<z.ZodString>;
|
|
546
546
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
547
547
|
name: z.ZodString;
|
|
548
548
|
value: z.ZodString;
|
|
@@ -588,6 +588,8 @@ export declare const messages: {
|
|
|
588
588
|
high: "high";
|
|
589
589
|
low: "low";
|
|
590
590
|
}>>;
|
|
591
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
592
|
+
references: z.ZodArray<z.ZodString>;
|
|
591
593
|
}, z.core.$strip>>;
|
|
592
594
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
593
595
|
}, z.core.$strip>
|
|
@@ -711,6 +713,8 @@ export declare const messages: {
|
|
|
711
713
|
high: "high";
|
|
712
714
|
low: "low";
|
|
713
715
|
}>>;
|
|
716
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
717
|
+
references: z.ZodArray<z.ZodString>;
|
|
714
718
|
bcc: z.ZodArray<z.ZodObject<{
|
|
715
719
|
name: z.ZodNullable<z.ZodString>;
|
|
716
720
|
address: z.ZodString;
|
|
@@ -754,8 +758,6 @@ export declare const messages: {
|
|
|
754
758
|
model: z.ZodString;
|
|
755
759
|
classifiedAt: z.ZodPreprocess<z.ZodDate, Date>;
|
|
756
760
|
}, z.core.$strip>>;
|
|
757
|
-
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
758
|
-
references: z.ZodArray<z.ZodString>;
|
|
759
761
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
760
762
|
name: z.ZodString;
|
|
761
763
|
value: z.ZodString;
|
|
@@ -1013,6 +1015,8 @@ export declare const messages: {
|
|
|
1013
1015
|
high: "high";
|
|
1014
1016
|
low: "low";
|
|
1015
1017
|
}>>;
|
|
1018
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
1019
|
+
references: z.ZodArray<z.ZodString>;
|
|
1016
1020
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("../errors.js").DeclaredErrors<{
|
|
1017
1021
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
1018
1022
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -1277,6 +1281,8 @@ export declare const search: {
|
|
|
1277
1281
|
high: "high";
|
|
1278
1282
|
low: "low";
|
|
1279
1283
|
}>>;
|
|
1284
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
1285
|
+
references: z.ZodArray<z.ZodString>;
|
|
1280
1286
|
id: z.ZodNullable<z.ZodUUID>;
|
|
1281
1287
|
}, z.core.$strip>>;
|
|
1282
1288
|
nextCursor: z.ZodNullable<z.ZodString>;
|
package/contract/reasons.d.ts
CHANGED
|
@@ -31,6 +31,17 @@ export declare const SuppressedData: z.ZodObject<{
|
|
|
31
31
|
addresses: z.ZodArray<z.ZodString>;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
33
|
export type SuppressedData = z.infer<typeof SuppressedData>;
|
|
34
|
+
export declare const DuplicateMessageIdData: z.ZodObject<{
|
|
35
|
+
outboxId: z.ZodUUID;
|
|
36
|
+
status: z.ZodEnum<{
|
|
37
|
+
failed: "failed";
|
|
38
|
+
cancelled: "cancelled";
|
|
39
|
+
sent: "sent";
|
|
40
|
+
queued: "queued";
|
|
41
|
+
sending: "sending";
|
|
42
|
+
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
export type DuplicateMessageIdData = z.infer<typeof DuplicateMessageIdData>;
|
|
34
45
|
export declare const SyncKindsData: z.ZodObject<{
|
|
35
46
|
kinds: z.ZodArray<z.ZodEnum<{
|
|
36
47
|
mail: "mail";
|
|
@@ -751,6 +762,16 @@ export declare const REASONS: {
|
|
|
751
762
|
};
|
|
752
763
|
readonly duplicate_message_id: {
|
|
753
764
|
readonly status: 409;
|
|
765
|
+
readonly data: z.ZodObject<{
|
|
766
|
+
outboxId: z.ZodUUID;
|
|
767
|
+
status: z.ZodEnum<{
|
|
768
|
+
failed: "failed";
|
|
769
|
+
cancelled: "cancelled";
|
|
770
|
+
sent: "sent";
|
|
771
|
+
queued: "queued";
|
|
772
|
+
sending: "sending";
|
|
773
|
+
}>;
|
|
774
|
+
}, z.core.$strip>;
|
|
754
775
|
};
|
|
755
776
|
readonly suppression_list_not_found: {
|
|
756
777
|
readonly status: 404;
|
package/contract/router.d.ts
CHANGED
|
@@ -1520,6 +1520,8 @@ export declare const v1Contract: {
|
|
|
1520
1520
|
high: "high";
|
|
1521
1521
|
low: "low";
|
|
1522
1522
|
}>>;
|
|
1523
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1524
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1523
1525
|
bcc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1524
1526
|
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1525
1527
|
address: import("zod").ZodString;
|
|
@@ -1563,8 +1565,6 @@ export declare const v1Contract: {
|
|
|
1563
1565
|
model: import("zod").ZodString;
|
|
1564
1566
|
classifiedAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
1565
1567
|
}, import("zod/v4/core").$strip>>;
|
|
1566
|
-
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1567
|
-
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1568
1568
|
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1569
1569
|
name: import("zod").ZodString;
|
|
1570
1570
|
value: import("zod").ZodString;
|
|
@@ -1610,6 +1610,8 @@ export declare const v1Contract: {
|
|
|
1610
1610
|
high: "high";
|
|
1611
1611
|
low: "low";
|
|
1612
1612
|
}>>;
|
|
1613
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1614
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1613
1615
|
}, import("zod/v4/core").$strip>>;
|
|
1614
1616
|
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1615
1617
|
}, import("zod/v4/core").$strip>
|
|
@@ -1733,6 +1735,8 @@ export declare const v1Contract: {
|
|
|
1733
1735
|
high: "high";
|
|
1734
1736
|
low: "low";
|
|
1735
1737
|
}>>;
|
|
1738
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1739
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1736
1740
|
bcc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1737
1741
|
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1738
1742
|
address: import("zod").ZodString;
|
|
@@ -1776,8 +1780,6 @@ export declare const v1Contract: {
|
|
|
1776
1780
|
model: import("zod").ZodString;
|
|
1777
1781
|
classifiedAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
1778
1782
|
}, import("zod/v4/core").$strip>>;
|
|
1779
|
-
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1780
|
-
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1781
1783
|
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1782
1784
|
name: import("zod").ZodString;
|
|
1783
1785
|
value: import("zod").ZodString;
|
|
@@ -2035,6 +2037,8 @@ export declare const v1Contract: {
|
|
|
2035
2037
|
high: "high";
|
|
2036
2038
|
low: "low";
|
|
2037
2039
|
}>>;
|
|
2040
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2041
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
2038
2042
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
2039
2043
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
2040
2044
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -2299,6 +2303,8 @@ export declare const v1Contract: {
|
|
|
2299
2303
|
high: "high";
|
|
2300
2304
|
low: "low";
|
|
2301
2305
|
}>>;
|
|
2306
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2307
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
2302
2308
|
id: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
2303
2309
|
}, import("zod/v4/core").$strip>>;
|
|
2304
2310
|
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -2496,6 +2502,8 @@ export declare const v1Contract: {
|
|
|
2496
2502
|
high: "high";
|
|
2497
2503
|
low: "low";
|
|
2498
2504
|
}>>;
|
|
2505
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2506
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
2499
2507
|
}, import("zod/v4/core").$strip>>;
|
|
2500
2508
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
2501
2509
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
@@ -2590,6 +2598,8 @@ export declare const v1Contract: {
|
|
|
2590
2598
|
high: "high";
|
|
2591
2599
|
low: "low";
|
|
2592
2600
|
}>>;
|
|
2601
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2602
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
2593
2603
|
}, import("zod/v4/core").$strip>>;
|
|
2594
2604
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
2595
2605
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
@@ -2847,6 +2857,8 @@ export declare const v1Contract: {
|
|
|
2847
2857
|
high: "high";
|
|
2848
2858
|
low: "low";
|
|
2849
2859
|
}>>;
|
|
2860
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2861
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
2850
2862
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
2851
2863
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
2852
2864
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -3045,6 +3057,8 @@ export declare const v1Contract: {
|
|
|
3045
3057
|
high: "high";
|
|
3046
3058
|
low: "low";
|
|
3047
3059
|
}>>;
|
|
3060
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3061
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
3048
3062
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
3049
3063
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
3050
3064
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -3514,10 +3528,7 @@ export declare const v1Contract: {
|
|
|
3514
3528
|
status: 400;
|
|
3515
3529
|
message: string;
|
|
3516
3530
|
};
|
|
3517
|
-
duplicate_message_id:
|
|
3518
|
-
status: 409;
|
|
3519
|
-
message: string;
|
|
3520
|
-
};
|
|
3531
|
+
duplicate_message_id: import("./errors.js").DeclaredError<"duplicate_message_id">;
|
|
3521
3532
|
mail_permission_missing: {
|
|
3522
3533
|
status: 409;
|
|
3523
3534
|
message: string;
|
|
@@ -3994,7 +4005,6 @@ export declare const v1Contract: {
|
|
|
3994
4005
|
}, import("zod/v4/core").$strip>>;
|
|
3995
4006
|
subject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3996
4007
|
html: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3997
|
-
previewText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3998
4008
|
replyTo: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3999
4009
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4000
4010
|
address: import("zod").ZodEmail;
|
|
@@ -4005,6 +4015,7 @@ export declare const v1Contract: {
|
|
|
4005
4015
|
content: import("zod").ZodBase64;
|
|
4006
4016
|
contentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4007
4017
|
}, import("zod/v4/core").$strip>>>;
|
|
4018
|
+
previewText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4008
4019
|
inReplyToMessageId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4009
4020
|
signature: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4010
4021
|
priority: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
@@ -4050,6 +4061,7 @@ export declare const v1Contract: {
|
|
|
4050
4061
|
address: import("zod").ZodString;
|
|
4051
4062
|
}, import("zod/v4/core").$strip>;
|
|
4052
4063
|
reason: import("zod").ZodString;
|
|
4064
|
+
outboxId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4053
4065
|
error: import("zod").ZodString;
|
|
4054
4066
|
status: import("zod").ZodNumber;
|
|
4055
4067
|
}, import("zod/v4/core").$strip>
|
|
@@ -312,7 +312,6 @@ export declare const MailMergeRequest: z.ZodObject<{
|
|
|
312
312
|
}, z.core.$strip>>;
|
|
313
313
|
subject: z.ZodOptional<z.ZodString>;
|
|
314
314
|
html: z.ZodOptional<z.ZodString>;
|
|
315
|
-
previewText: z.ZodOptional<z.ZodString>;
|
|
316
315
|
replyTo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
317
316
|
name: z.ZodOptional<z.ZodString>;
|
|
318
317
|
address: z.ZodEmail;
|
|
@@ -323,6 +322,7 @@ export declare const MailMergeRequest: z.ZodObject<{
|
|
|
323
322
|
content: z.ZodBase64;
|
|
324
323
|
contentId: z.ZodOptional<z.ZodString>;
|
|
325
324
|
}, z.core.$strip>>>;
|
|
325
|
+
previewText: z.ZodOptional<z.ZodString>;
|
|
326
326
|
inReplyToMessageId: z.ZodOptional<z.ZodUUID>;
|
|
327
327
|
signature: z.ZodOptional<z.ZodBoolean>;
|
|
328
328
|
priority: z.ZodDefault<z.ZodEnum<{
|
|
@@ -369,6 +369,7 @@ export declare const MailMergeFailure: z.ZodObject<{
|
|
|
369
369
|
address: z.ZodString;
|
|
370
370
|
}, z.core.$strip>;
|
|
371
371
|
reason: z.ZodString;
|
|
372
|
+
outboxId: z.ZodOptional<z.ZodUUID>;
|
|
372
373
|
error: z.ZodString;
|
|
373
374
|
status: z.ZodNumber;
|
|
374
375
|
}, z.core.$strip>;
|
|
@@ -392,6 +393,7 @@ export declare const MailMergeResult: z.ZodDiscriminatedUnion<[
|
|
|
392
393
|
address: z.ZodString;
|
|
393
394
|
}, z.core.$strip>;
|
|
394
395
|
reason: z.ZodString;
|
|
396
|
+
outboxId: z.ZodOptional<z.ZodUUID>;
|
|
395
397
|
error: z.ZodString;
|
|
396
398
|
status: z.ZodNumber;
|
|
397
399
|
}, z.core.$strip>
|
|
@@ -417,6 +419,7 @@ export declare const MailMergeResultList: z.ZodObject<{
|
|
|
417
419
|
address: z.ZodString;
|
|
418
420
|
}, z.core.$strip>;
|
|
419
421
|
reason: z.ZodString;
|
|
422
|
+
outboxId: z.ZodOptional<z.ZodUUID>;
|
|
420
423
|
error: z.ZodString;
|
|
421
424
|
status: z.ZodNumber;
|
|
422
425
|
}, z.core.$strip>
|
|
@@ -84,6 +84,8 @@ export declare const drafts: {
|
|
|
84
84
|
high: "high";
|
|
85
85
|
low: "low";
|
|
86
86
|
}>>;
|
|
87
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
88
|
+
references: z.ZodArray<z.ZodString>;
|
|
87
89
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("../errors.js").DeclaredErrors<{
|
|
88
90
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
89
91
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -282,6 +284,8 @@ export declare const drafts: {
|
|
|
282
284
|
high: "high";
|
|
283
285
|
low: "low";
|
|
284
286
|
}>>;
|
|
287
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
288
|
+
references: z.ZodArray<z.ZodString>;
|
|
285
289
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("../errors.js").DeclaredErrors<{
|
|
286
290
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
287
291
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -751,10 +755,7 @@ export declare const outbox: {
|
|
|
751
755
|
status: 400;
|
|
752
756
|
message: string;
|
|
753
757
|
};
|
|
754
|
-
duplicate_message_id:
|
|
755
|
-
status: 409;
|
|
756
|
-
message: string;
|
|
757
|
-
};
|
|
758
|
+
duplicate_message_id: import("../errors.js").DeclaredError<"duplicate_message_id">;
|
|
758
759
|
mail_permission_missing: {
|
|
759
760
|
status: 409;
|
|
760
761
|
message: string;
|
|
@@ -1231,7 +1232,6 @@ export declare const mailMerges: {
|
|
|
1231
1232
|
}, z.core.$strip>>;
|
|
1232
1233
|
subject: z.ZodOptional<z.ZodString>;
|
|
1233
1234
|
html: z.ZodOptional<z.ZodString>;
|
|
1234
|
-
previewText: z.ZodOptional<z.ZodString>;
|
|
1235
1235
|
replyTo: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1236
1236
|
name: z.ZodOptional<z.ZodString>;
|
|
1237
1237
|
address: z.ZodEmail;
|
|
@@ -1242,6 +1242,7 @@ export declare const mailMerges: {
|
|
|
1242
1242
|
content: z.ZodBase64;
|
|
1243
1243
|
contentId: z.ZodOptional<z.ZodString>;
|
|
1244
1244
|
}, z.core.$strip>>>;
|
|
1245
|
+
previewText: z.ZodOptional<z.ZodString>;
|
|
1245
1246
|
inReplyToMessageId: z.ZodOptional<z.ZodUUID>;
|
|
1246
1247
|
signature: z.ZodOptional<z.ZodBoolean>;
|
|
1247
1248
|
priority: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1287,6 +1288,7 @@ export declare const mailMerges: {
|
|
|
1287
1288
|
address: z.ZodString;
|
|
1288
1289
|
}, z.core.$strip>;
|
|
1289
1290
|
reason: z.ZodString;
|
|
1291
|
+
outboxId: z.ZodOptional<z.ZodUUID>;
|
|
1290
1292
|
error: z.ZodString;
|
|
1291
1293
|
status: z.ZodNumber;
|
|
1292
1294
|
}, z.core.$strip>
|
|
@@ -116,6 +116,8 @@ export declare const threads: {
|
|
|
116
116
|
high: "high";
|
|
117
117
|
low: "low";
|
|
118
118
|
}>>;
|
|
119
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
120
|
+
references: z.ZodArray<z.ZodString>;
|
|
119
121
|
}, z.core.$strip>>;
|
|
120
122
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("../errors.js").DeclaredErrors<{
|
|
121
123
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
@@ -210,6 +212,8 @@ export declare const threads: {
|
|
|
210
212
|
high: "high";
|
|
211
213
|
low: "low";
|
|
212
214
|
}>>;
|
|
215
|
+
inReplyTo: z.ZodNullable<z.ZodString>;
|
|
216
|
+
references: z.ZodArray<z.ZodString>;
|
|
213
217
|
}, z.core.$strip>>;
|
|
214
218
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("../errors.js").DeclaredErrors<{
|
|
215
219
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|