@workwae/sdk 0.1.0-alpha.2 → 0.1.0-alpha.4
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/accounts/models.d.ts +21 -0
- package/contract/accounts/routes.d.ts +39 -0
- package/contract/audit-log/models.d.ts +3 -0
- package/contract/audit-log/routes.d.ts +1 -0
- package/contract/connect/models.d.ts +17 -0
- package/contract/connect/routes.d.ts +23 -0
- package/contract/connect-domain/models.d.ts +41 -0
- package/contract/connect-domain/routes.d.ts +197 -0
- package/contract/custom-domain.d.ts +12 -0
- package/contract/errors.d.ts +6 -0
- package/contract/limits.d.ts +6 -0
- package/contract/mail/models.d.ts +139 -2
- package/contract/mail/routes.d.ts +211 -41
- package/contract/meetings/models.d.ts +11 -0
- package/contract/meetings/routes.d.ts +79 -0
- package/contract/oauth-apps/models.d.ts +6 -0
- package/contract/oauth-apps/routes.d.ts +26 -4
- package/contract/org-connections/models.d.ts +10 -0
- package/contract/org-connections/routes.d.ts +42 -0
- package/contract/public.d.ts +1 -0
- package/contract/reasons.d.ts +33 -0
- package/contract/router.d.ts +723 -89
- package/contract/send/models.d.ts +58 -0
- package/contract/send/routes.d.ts +54 -0
- package/contract/threads/routes.d.ts +8 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/contract/router.d.ts
CHANGED
|
@@ -140,6 +140,11 @@ export declare const v1Contract: {
|
|
|
140
140
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
141
141
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
142
142
|
}, import("zod/v4/core").$strip>;
|
|
143
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
144
|
+
full: "full";
|
|
145
|
+
read_send: "read_send";
|
|
146
|
+
read: "read";
|
|
147
|
+
}>>;
|
|
143
148
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
144
149
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
145
150
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -295,6 +300,11 @@ export declare const v1Contract: {
|
|
|
295
300
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
296
301
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
297
302
|
}, import("zod/v4/core").$strip>;
|
|
303
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
304
|
+
full: "full";
|
|
305
|
+
read_send: "read_send";
|
|
306
|
+
read: "read";
|
|
307
|
+
}>>;
|
|
298
308
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
299
309
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
300
310
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -355,6 +365,11 @@ export declare const v1Contract: {
|
|
|
355
365
|
sendsPerMinute: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
356
366
|
}, import("zod/v4/core").$strip>>;
|
|
357
367
|
sharedMailboxesEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
368
|
+
mailPermissions: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
369
|
+
full: "full";
|
|
370
|
+
read_send: "read_send";
|
|
371
|
+
read: "read";
|
|
372
|
+
}>>;
|
|
358
373
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
359
374
|
id: import("zod").ZodUUID;
|
|
360
375
|
externalRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -481,6 +496,11 @@ export declare const v1Contract: {
|
|
|
481
496
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
482
497
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
483
498
|
}, import("zod/v4/core").$strip>;
|
|
499
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
500
|
+
full: "full";
|
|
501
|
+
read_send: "read_send";
|
|
502
|
+
read: "read";
|
|
503
|
+
}>>;
|
|
484
504
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
485
505
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
486
506
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -540,6 +560,10 @@ export declare const v1Contract: {
|
|
|
540
560
|
status: 400;
|
|
541
561
|
message: string;
|
|
542
562
|
};
|
|
563
|
+
mail_permissions_unsupported: {
|
|
564
|
+
status: 400;
|
|
565
|
+
message: string;
|
|
566
|
+
};
|
|
543
567
|
provider_not_configured: {
|
|
544
568
|
status: 400;
|
|
545
569
|
message: string;
|
|
@@ -726,6 +750,11 @@ export declare const v1Contract: {
|
|
|
726
750
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
727
751
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
728
752
|
}, import("zod/v4/core").$strip>;
|
|
753
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
754
|
+
full: "full";
|
|
755
|
+
read_send: "read_send";
|
|
756
|
+
read: "read";
|
|
757
|
+
}>>;
|
|
729
758
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
730
759
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
731
760
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -1176,6 +1205,10 @@ export declare const v1Contract: {
|
|
|
1176
1205
|
message: string;
|
|
1177
1206
|
};
|
|
1178
1207
|
unknown_mailbox: import("./errors.js").DeclaredError<"unknown_mailbox">;
|
|
1208
|
+
mail_permission_missing: {
|
|
1209
|
+
status: 409;
|
|
1210
|
+
message: string;
|
|
1211
|
+
};
|
|
1179
1212
|
mail_disabled: {
|
|
1180
1213
|
status: 409;
|
|
1181
1214
|
message: string;
|
|
@@ -1291,6 +1324,10 @@ export declare const v1Contract: {
|
|
|
1291
1324
|
message: string;
|
|
1292
1325
|
};
|
|
1293
1326
|
unknown_mailbox: import("./errors.js").DeclaredError<"unknown_mailbox">;
|
|
1327
|
+
mail_permission_missing: {
|
|
1328
|
+
status: 409;
|
|
1329
|
+
message: string;
|
|
1330
|
+
};
|
|
1294
1331
|
mail_disabled: {
|
|
1295
1332
|
status: 409;
|
|
1296
1333
|
message: string;
|
|
@@ -1378,6 +1415,10 @@ export declare const v1Contract: {
|
|
|
1378
1415
|
status: 400;
|
|
1379
1416
|
message: string;
|
|
1380
1417
|
};
|
|
1418
|
+
mail_permission_missing: {
|
|
1419
|
+
status: 409;
|
|
1420
|
+
message: string;
|
|
1421
|
+
};
|
|
1381
1422
|
mail_disabled: {
|
|
1382
1423
|
status: 409;
|
|
1383
1424
|
message: string;
|
|
@@ -1395,15 +1436,27 @@ export declare const v1Contract: {
|
|
|
1395
1436
|
messages: {
|
|
1396
1437
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1397
1438
|
accountId: import("zod").ZodUUID;
|
|
1398
|
-
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1399
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1400
1439
|
importance: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1401
1440
|
normal: "normal";
|
|
1402
1441
|
high: "high";
|
|
1403
1442
|
low: "low";
|
|
1404
1443
|
}>>;
|
|
1444
|
+
outboxId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1445
|
+
internetMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1405
1446
|
after: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodDate, string | Date>>;
|
|
1406
1447
|
before: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodDate, string | Date>>;
|
|
1448
|
+
include: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [
|
|
1449
|
+
import("zod").ZodString,
|
|
1450
|
+
import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1451
|
+
headers: "headers";
|
|
1452
|
+
body: "body";
|
|
1453
|
+
}>>
|
|
1454
|
+
]>, import("zod").ZodTransform<string[], string | ("headers" | "body")[]>>, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1455
|
+
headers: "headers";
|
|
1456
|
+
body: "body";
|
|
1457
|
+
}>>>>;
|
|
1458
|
+
limit: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
1459
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1407
1460
|
from: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1408
1461
|
to: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1409
1462
|
unread: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [
|
|
@@ -1428,47 +1481,139 @@ export declare const v1Contract: {
|
|
|
1428
1481
|
}>
|
|
1429
1482
|
]>, import("zod").ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1430
1483
|
mailboxId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1431
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1484
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [
|
|
1485
|
+
import("zod").ZodObject<{
|
|
1486
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1487
|
+
id: import("zod").ZodUUID;
|
|
1488
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1489
|
+
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1490
|
+
mailboxIds: import("zod").ZodArray<import("zod").ZodUUID>;
|
|
1491
|
+
subject: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1492
|
+
from: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1493
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1494
|
+
address: import("zod").ZodString;
|
|
1495
|
+
}, import("zod/v4/core").$strip>>;
|
|
1496
|
+
to: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1497
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1498
|
+
address: import("zod").ZodString;
|
|
1499
|
+
}, import("zod/v4/core").$strip>>;
|
|
1500
|
+
cc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1501
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1502
|
+
address: import("zod").ZodString;
|
|
1503
|
+
}, import("zod/v4/core").$strip>>;
|
|
1504
|
+
snippet: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1505
|
+
receivedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1506
|
+
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1507
|
+
isRead: import("zod").ZodBoolean;
|
|
1508
|
+
isFlagged: import("zod").ZodBoolean;
|
|
1509
|
+
isDraft: import("zod").ZodBoolean;
|
|
1510
|
+
hasAttachments: import("zod").ZodBoolean;
|
|
1511
|
+
categories: import("zod").ZodArray<import("zod").ZodString>;
|
|
1512
|
+
direction: import("zod").ZodEnum<{
|
|
1513
|
+
inbound: "inbound";
|
|
1514
|
+
outbound: "outbound";
|
|
1515
|
+
}>;
|
|
1516
|
+
outboxId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
1517
|
+
reference: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1518
|
+
importance: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1519
|
+
normal: "normal";
|
|
1520
|
+
high: "high";
|
|
1521
|
+
low: "low";
|
|
1522
|
+
}>>;
|
|
1523
|
+
bcc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1524
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1525
|
+
address: import("zod").ZodString;
|
|
1526
|
+
}, import("zod/v4/core").$strip>>;
|
|
1527
|
+
replyTo: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1528
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1529
|
+
address: import("zod").ZodString;
|
|
1530
|
+
}, import("zod/v4/core").$strip>>;
|
|
1531
|
+
body: import("zod").ZodObject<{
|
|
1532
|
+
text: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1533
|
+
html: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1534
|
+
}, import("zod/v4/core").$strip>;
|
|
1535
|
+
attachments: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1536
|
+
id: import("zod").ZodString;
|
|
1537
|
+
filename: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1538
|
+
contentType: import("zod").ZodString;
|
|
1539
|
+
size: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1540
|
+
isInline: import("zod").ZodBoolean;
|
|
1541
|
+
contentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1542
|
+
}, import("zod/v4/core").$strip>>;
|
|
1543
|
+
classification: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1544
|
+
kind: import("zod").ZodEnum<{
|
|
1545
|
+
opt_out: "opt_out";
|
|
1546
|
+
auto_reply: "auto_reply";
|
|
1547
|
+
bounce: "bounce";
|
|
1548
|
+
human_reply: "human_reply";
|
|
1549
|
+
}>;
|
|
1550
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>;
|
|
1551
|
+
optOutProbability: import("zod").ZodNumber;
|
|
1552
|
+
autoReplyCategory: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1553
|
+
other: "other";
|
|
1554
|
+
out_of_office: "out_of_office";
|
|
1555
|
+
left_company: "left_company";
|
|
1556
|
+
address_changed: "address_changed";
|
|
1557
|
+
ticket_acknowledgment: "ticket_acknowledgment";
|
|
1558
|
+
challenge_response: "challenge_response";
|
|
1559
|
+
}>>;
|
|
1560
|
+
returnDate: import("zod").ZodNullable<import("zod").ZodISODate>;
|
|
1561
|
+
alternateContacts: import("zod").ZodArray<import("zod").ZodString>;
|
|
1562
|
+
outboxId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
1563
|
+
model: import("zod").ZodString;
|
|
1564
|
+
classifiedAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
1565
|
+
}, import("zod/v4/core").$strip>>;
|
|
1566
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1567
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1568
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1569
|
+
name: import("zod").ZodString;
|
|
1570
|
+
value: import("zod").ZodString;
|
|
1571
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1445
1572
|
}, import("zod/v4/core").$strip>>;
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1573
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1574
|
+
}, import("zod/v4/core").$strip>,
|
|
1575
|
+
import("zod").ZodObject<{
|
|
1576
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1577
|
+
id: import("zod").ZodUUID;
|
|
1578
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1579
|
+
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1580
|
+
mailboxIds: import("zod").ZodArray<import("zod").ZodUUID>;
|
|
1581
|
+
subject: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1582
|
+
from: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1583
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1584
|
+
address: import("zod").ZodString;
|
|
1585
|
+
}, import("zod/v4/core").$strip>>;
|
|
1586
|
+
to: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1587
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1588
|
+
address: import("zod").ZodString;
|
|
1589
|
+
}, import("zod/v4/core").$strip>>;
|
|
1590
|
+
cc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1591
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1592
|
+
address: import("zod").ZodString;
|
|
1593
|
+
}, import("zod/v4/core").$strip>>;
|
|
1594
|
+
snippet: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1595
|
+
receivedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1596
|
+
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1597
|
+
isRead: import("zod").ZodBoolean;
|
|
1598
|
+
isFlagged: import("zod").ZodBoolean;
|
|
1599
|
+
isDraft: import("zod").ZodBoolean;
|
|
1600
|
+
hasAttachments: import("zod").ZodBoolean;
|
|
1601
|
+
categories: import("zod").ZodArray<import("zod").ZodString>;
|
|
1602
|
+
direction: import("zod").ZodEnum<{
|
|
1603
|
+
inbound: "inbound";
|
|
1604
|
+
outbound: "outbound";
|
|
1605
|
+
}>;
|
|
1606
|
+
outboxId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
1607
|
+
reference: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1608
|
+
importance: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1609
|
+
normal: "normal";
|
|
1610
|
+
high: "high";
|
|
1611
|
+
low: "low";
|
|
1612
|
+
}>>;
|
|
1449
1613
|
}, import("zod/v4/core").$strip>>;
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
isRead: import("zod").ZodBoolean;
|
|
1454
|
-
isFlagged: import("zod").ZodBoolean;
|
|
1455
|
-
isDraft: import("zod").ZodBoolean;
|
|
1456
|
-
hasAttachments: import("zod").ZodBoolean;
|
|
1457
|
-
categories: import("zod").ZodArray<import("zod").ZodString>;
|
|
1458
|
-
direction: import("zod").ZodEnum<{
|
|
1459
|
-
inbound: "inbound";
|
|
1460
|
-
outbound: "outbound";
|
|
1461
|
-
}>;
|
|
1462
|
-
outboxId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
1463
|
-
reference: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1464
|
-
importance: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1465
|
-
normal: "normal";
|
|
1466
|
-
high: "high";
|
|
1467
|
-
low: "low";
|
|
1468
|
-
}>>;
|
|
1469
|
-
}, import("zod/v4/core").$strip>>;
|
|
1470
|
-
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1471
|
-
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
1614
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1615
|
+
}, import("zod/v4/core").$strip>
|
|
1616
|
+
]>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
1472
1617
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
1473
1618
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
1474
1619
|
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
@@ -1490,6 +1635,38 @@ export declare const v1Contract: {
|
|
|
1490
1635
|
status: 400;
|
|
1491
1636
|
message: string;
|
|
1492
1637
|
};
|
|
1638
|
+
provider_not_found: {
|
|
1639
|
+
status: 404;
|
|
1640
|
+
message: string;
|
|
1641
|
+
};
|
|
1642
|
+
provider_forbidden: {
|
|
1643
|
+
status: 403;
|
|
1644
|
+
message: string;
|
|
1645
|
+
};
|
|
1646
|
+
provider_unavailable: {
|
|
1647
|
+
status: 502;
|
|
1648
|
+
message: string;
|
|
1649
|
+
};
|
|
1650
|
+
provider_throttled: {
|
|
1651
|
+
status: 429;
|
|
1652
|
+
message: string;
|
|
1653
|
+
};
|
|
1654
|
+
account_paused: {
|
|
1655
|
+
status: 409;
|
|
1656
|
+
message: string;
|
|
1657
|
+
};
|
|
1658
|
+
account_disabled: {
|
|
1659
|
+
status: 409;
|
|
1660
|
+
message: string;
|
|
1661
|
+
};
|
|
1662
|
+
account_reauth_required: {
|
|
1663
|
+
status: 409;
|
|
1664
|
+
message: string;
|
|
1665
|
+
};
|
|
1666
|
+
account_misconfigured: {
|
|
1667
|
+
status: 409;
|
|
1668
|
+
message: string;
|
|
1669
|
+
};
|
|
1493
1670
|
unknown_mailbox: import("./errors.js").DeclaredError<"unknown_mailbox">;
|
|
1494
1671
|
invalid_cursor: {
|
|
1495
1672
|
status: 400;
|
|
@@ -1511,6 +1688,14 @@ export declare const v1Contract: {
|
|
|
1511
1688
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1512
1689
|
accountId: import("zod").ZodUUID;
|
|
1513
1690
|
messageId: import("zod").ZodUUID;
|
|
1691
|
+
include: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [
|
|
1692
|
+
import("zod").ZodString,
|
|
1693
|
+
import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1694
|
+
headers: "headers";
|
|
1695
|
+
}>>
|
|
1696
|
+
]>, import("zod").ZodTransform<string[], string | "headers"[]>>, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1697
|
+
headers: "headers";
|
|
1698
|
+
}>>>>;
|
|
1514
1699
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1515
1700
|
id: import("zod").ZodUUID;
|
|
1516
1701
|
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -1591,6 +1776,12 @@ export declare const v1Contract: {
|
|
|
1591
1776
|
model: import("zod").ZodString;
|
|
1592
1777
|
classifiedAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
1593
1778
|
}, import("zod/v4/core").$strip>>;
|
|
1779
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1780
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1781
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1782
|
+
name: import("zod").ZodString;
|
|
1783
|
+
value: import("zod").ZodString;
|
|
1784
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1594
1785
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
1595
1786
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
1596
1787
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -1915,6 +2106,10 @@ export declare const v1Contract: {
|
|
|
1915
2106
|
status: 400;
|
|
1916
2107
|
message: string;
|
|
1917
2108
|
};
|
|
2109
|
+
mail_permission_missing: {
|
|
2110
|
+
status: 409;
|
|
2111
|
+
message: string;
|
|
2112
|
+
};
|
|
1918
2113
|
mail_disabled: {
|
|
1919
2114
|
status: 409;
|
|
1920
2115
|
message: string;
|
|
@@ -2008,6 +2203,10 @@ export declare const v1Contract: {
|
|
|
2008
2203
|
status: 404;
|
|
2009
2204
|
message: string;
|
|
2010
2205
|
};
|
|
2206
|
+
mail_permission_missing: {
|
|
2207
|
+
status: 409;
|
|
2208
|
+
message: string;
|
|
2209
|
+
};
|
|
2011
2210
|
mail_disabled: {
|
|
2012
2211
|
status: 409;
|
|
2013
2212
|
message: string;
|
|
@@ -2459,6 +2658,10 @@ export declare const v1Contract: {
|
|
|
2459
2658
|
status: 404;
|
|
2460
2659
|
message: string;
|
|
2461
2660
|
};
|
|
2661
|
+
mail_permission_missing: {
|
|
2662
|
+
status: 409;
|
|
2663
|
+
message: string;
|
|
2664
|
+
};
|
|
2462
2665
|
mail_disabled: {
|
|
2463
2666
|
status: 409;
|
|
2464
2667
|
message: string;
|
|
@@ -2541,6 +2744,10 @@ export declare const v1Contract: {
|
|
|
2541
2744
|
status: 404;
|
|
2542
2745
|
message: string;
|
|
2543
2746
|
};
|
|
2747
|
+
mail_permission_missing: {
|
|
2748
|
+
status: 409;
|
|
2749
|
+
message: string;
|
|
2750
|
+
};
|
|
2544
2751
|
mail_disabled: {
|
|
2545
2752
|
status: 409;
|
|
2546
2753
|
message: string;
|
|
@@ -2662,6 +2869,10 @@ export declare const v1Contract: {
|
|
|
2662
2869
|
status: 502;
|
|
2663
2870
|
message: string;
|
|
2664
2871
|
};
|
|
2872
|
+
mail_permission_missing: {
|
|
2873
|
+
status: 409;
|
|
2874
|
+
message: string;
|
|
2875
|
+
};
|
|
2665
2876
|
provider_not_found: {
|
|
2666
2877
|
status: 404;
|
|
2667
2878
|
message: string;
|
|
@@ -2856,6 +3067,10 @@ export declare const v1Contract: {
|
|
|
2856
3067
|
status: 404;
|
|
2857
3068
|
message: string;
|
|
2858
3069
|
};
|
|
3070
|
+
mail_permission_missing: {
|
|
3071
|
+
status: 409;
|
|
3072
|
+
message: string;
|
|
3073
|
+
};
|
|
2859
3074
|
provider_not_found: {
|
|
2860
3075
|
status: 404;
|
|
2861
3076
|
message: string;
|
|
@@ -3012,6 +3227,10 @@ export declare const v1Contract: {
|
|
|
3012
3227
|
status: 404;
|
|
3013
3228
|
message: string;
|
|
3014
3229
|
};
|
|
3230
|
+
mail_permission_missing: {
|
|
3231
|
+
status: 409;
|
|
3232
|
+
message: string;
|
|
3233
|
+
};
|
|
3015
3234
|
mail_disabled: {
|
|
3016
3235
|
status: 409;
|
|
3017
3236
|
message: string;
|
|
@@ -3052,6 +3271,8 @@ export declare const v1Contract: {
|
|
|
3052
3271
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3053
3272
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3054
3273
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3274
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3275
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3055
3276
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3056
3277
|
trackOpens: import("zod").ZodBoolean;
|
|
3057
3278
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3130,6 +3351,10 @@ export declare const v1Contract: {
|
|
|
3130
3351
|
status: 404;
|
|
3131
3352
|
message: string;
|
|
3132
3353
|
};
|
|
3354
|
+
mail_permission_missing: {
|
|
3355
|
+
status: 409;
|
|
3356
|
+
message: string;
|
|
3357
|
+
};
|
|
3133
3358
|
mail_disabled: {
|
|
3134
3359
|
status: 409;
|
|
3135
3360
|
message: string;
|
|
@@ -3196,6 +3421,22 @@ export declare const v1Contract: {
|
|
|
3196
3421
|
honeypot: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3197
3422
|
}, import("zod/v4/core").$strip>>;
|
|
3198
3423
|
listId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3424
|
+
messageId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3425
|
+
headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
3426
|
+
calendar: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3427
|
+
method: import("zod").ZodEnum<{
|
|
3428
|
+
PUBLISH: "PUBLISH";
|
|
3429
|
+
REQUEST: "REQUEST";
|
|
3430
|
+
REPLY: "REPLY";
|
|
3431
|
+
ADD: "ADD";
|
|
3432
|
+
CANCEL: "CANCEL";
|
|
3433
|
+
REFRESH: "REFRESH";
|
|
3434
|
+
COUNTER: "COUNTER";
|
|
3435
|
+
DECLINECOUNTER: "DECLINECOUNTER";
|
|
3436
|
+
}>;
|
|
3437
|
+
content: import("zod").ZodString;
|
|
3438
|
+
}, import("zod/v4/core").$strip>>;
|
|
3439
|
+
wait: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3199
3440
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3200
3441
|
id: import("zod").ZodUUID;
|
|
3201
3442
|
accountId: import("zod").ZodUUID;
|
|
@@ -3213,6 +3454,8 @@ export declare const v1Contract: {
|
|
|
3213
3454
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3214
3455
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3215
3456
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3457
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3458
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3216
3459
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3217
3460
|
trackOpens: import("zod").ZodBoolean;
|
|
3218
3461
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3271,6 +3514,14 @@ export declare const v1Contract: {
|
|
|
3271
3514
|
status: 400;
|
|
3272
3515
|
message: string;
|
|
3273
3516
|
};
|
|
3517
|
+
duplicate_message_id: {
|
|
3518
|
+
status: 409;
|
|
3519
|
+
message: string;
|
|
3520
|
+
};
|
|
3521
|
+
mail_permission_missing: {
|
|
3522
|
+
status: 409;
|
|
3523
|
+
message: string;
|
|
3524
|
+
};
|
|
3274
3525
|
template_and_inline_fields: {
|
|
3275
3526
|
status: 400;
|
|
3276
3527
|
message: string;
|
|
@@ -3363,6 +3614,8 @@ export declare const v1Contract: {
|
|
|
3363
3614
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3364
3615
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3365
3616
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3617
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3618
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3366
3619
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3367
3620
|
trackOpens: import("zod").ZodBoolean;
|
|
3368
3621
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3431,6 +3684,8 @@ export declare const v1Contract: {
|
|
|
3431
3684
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3432
3685
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3433
3686
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3687
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3688
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3434
3689
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3435
3690
|
trackOpens: import("zod").ZodBoolean;
|
|
3436
3691
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3540,6 +3795,8 @@ export declare const v1Contract: {
|
|
|
3540
3795
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3541
3796
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3542
3797
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3798
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3799
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3543
3800
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3544
3801
|
trackOpens: import("zod").ZodBoolean;
|
|
3545
3802
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3836,6 +4093,10 @@ export declare const v1Contract: {
|
|
|
3836
4093
|
status: 400;
|
|
3837
4094
|
message: string;
|
|
3838
4095
|
};
|
|
4096
|
+
mail_permission_missing: {
|
|
4097
|
+
status: 409;
|
|
4098
|
+
message: string;
|
|
4099
|
+
};
|
|
3839
4100
|
template_and_inline_fields: {
|
|
3840
4101
|
status: 400;
|
|
3841
4102
|
message: string;
|
|
@@ -7694,6 +7955,7 @@ export declare const v1Contract: {
|
|
|
7694
7955
|
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7695
7956
|
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
7696
7957
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
7958
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
7697
7959
|
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7698
7960
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
7699
7961
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -7723,6 +7985,7 @@ export declare const v1Contract: {
|
|
|
7723
7985
|
name: import("zod").ZodString;
|
|
7724
7986
|
clientId: import("zod").ZodString;
|
|
7725
7987
|
clientSecret: import("zod").ZodString;
|
|
7988
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7726
7989
|
}, import("zod/v4/core").$strip>,
|
|
7727
7990
|
import("zod").ZodObject<{
|
|
7728
7991
|
kind: import("zod").ZodLiteral<"zoom_s2s">;
|
|
@@ -7730,18 +7993,21 @@ export declare const v1Contract: {
|
|
|
7730
7993
|
accountId: import("zod").ZodString;
|
|
7731
7994
|
clientId: import("zod").ZodString;
|
|
7732
7995
|
clientSecret: import("zod").ZodString;
|
|
7996
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7733
7997
|
}, import("zod/v4/core").$strip>,
|
|
7734
7998
|
import("zod").ZodObject<{
|
|
7735
7999
|
kind: import("zod").ZodLiteral<"webex_oauth">;
|
|
7736
8000
|
name: import("zod").ZodString;
|
|
7737
8001
|
clientId: import("zod").ZodString;
|
|
7738
8002
|
clientSecret: import("zod").ZodString;
|
|
8003
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7739
8004
|
}, import("zod/v4/core").$strip>,
|
|
7740
8005
|
import("zod").ZodObject<{
|
|
7741
8006
|
kind: import("zod").ZodLiteral<"webex_service_app">;
|
|
7742
8007
|
name: import("zod").ZodString;
|
|
7743
8008
|
clientId: import("zod").ZodString;
|
|
7744
8009
|
clientSecret: import("zod").ZodString;
|
|
8010
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7745
8011
|
refreshToken: import("zod").ZodString;
|
|
7746
8012
|
}, import("zod/v4/core").$strip>
|
|
7747
8013
|
], "kind">, import("zod").ZodObject<{
|
|
@@ -7767,6 +8033,7 @@ export declare const v1Contract: {
|
|
|
7767
8033
|
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7768
8034
|
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
7769
8035
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
8036
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
7770
8037
|
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7771
8038
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
7772
8039
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
@@ -7791,57 +8058,130 @@ export declare const v1Contract: {
|
|
|
7791
8058
|
status: 409;
|
|
7792
8059
|
message: string;
|
|
7793
8060
|
};
|
|
8061
|
+
connect_domain_inactive: {
|
|
8062
|
+
status: 409;
|
|
8063
|
+
message: string;
|
|
8064
|
+
};
|
|
8065
|
+
connect_domain_unsupported: {
|
|
8066
|
+
status: 400;
|
|
8067
|
+
message: string;
|
|
8068
|
+
};
|
|
7794
8069
|
plan_module_unavailable: {
|
|
7795
8070
|
status: 403;
|
|
7796
8071
|
message: string;
|
|
7797
8072
|
};
|
|
7798
8073
|
}>, Record<never, never>>;
|
|
7799
|
-
|
|
8074
|
+
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
7800
8075
|
appId: import("zod").ZodUUID;
|
|
7801
|
-
|
|
8076
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7802
8077
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
readonly
|
|
7836
|
-
readonly
|
|
7837
|
-
readonly
|
|
7838
|
-
readonly
|
|
7839
|
-
readonly
|
|
7840
|
-
readonly
|
|
7841
|
-
readonly
|
|
7842
|
-
readonly
|
|
7843
|
-
readonly
|
|
7844
|
-
readonly
|
|
8078
|
+
id: import("zod").ZodUUID;
|
|
8079
|
+
kind: import("zod").ZodEnum<{
|
|
8080
|
+
zoom_oauth: "zoom_oauth";
|
|
8081
|
+
zoom_s2s: "zoom_s2s";
|
|
8082
|
+
webex_oauth: "webex_oauth";
|
|
8083
|
+
webex_service_app: "webex_service_app";
|
|
8084
|
+
}>;
|
|
8085
|
+
service: import("zod").ZodEnum<{
|
|
8086
|
+
zoom: "zoom";
|
|
8087
|
+
webex: "webex";
|
|
8088
|
+
}>;
|
|
8089
|
+
name: import("zod").ZodString;
|
|
8090
|
+
clientId: import("zod").ZodString;
|
|
8091
|
+
zoomAccountId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8092
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
8093
|
+
active: "active";
|
|
8094
|
+
unverified: "unverified";
|
|
8095
|
+
failing: "failing";
|
|
8096
|
+
}>>;
|
|
8097
|
+
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8098
|
+
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
8099
|
+
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
8100
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
8101
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8102
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
8103
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
8104
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
8105
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
8106
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
8107
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
8108
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
8109
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
8110
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
8111
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
8112
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
8113
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
8114
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
8115
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
8116
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
8117
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
8118
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
8119
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
8120
|
+
}>>, {
|
|
8121
|
+
connect_domain_inactive: {
|
|
8122
|
+
status: 409;
|
|
8123
|
+
message: string;
|
|
8124
|
+
};
|
|
8125
|
+
connect_domain_unsupported: {
|
|
8126
|
+
status: 400;
|
|
8127
|
+
message: string;
|
|
8128
|
+
};
|
|
8129
|
+
meeting_app_not_found: {
|
|
8130
|
+
status: 404;
|
|
8131
|
+
message: string;
|
|
8132
|
+
};
|
|
8133
|
+
plan_module_unavailable: {
|
|
8134
|
+
status: 403;
|
|
8135
|
+
message: string;
|
|
8136
|
+
};
|
|
8137
|
+
}>, Record<never, never>>;
|
|
8138
|
+
test: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
8139
|
+
appId: import("zod").ZodUUID;
|
|
8140
|
+
user: import("zod").ZodOptional<import("zod").ZodEmail>;
|
|
8141
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
8142
|
+
app: import("zod").ZodObject<{
|
|
8143
|
+
id: import("zod").ZodUUID;
|
|
8144
|
+
kind: import("zod").ZodEnum<{
|
|
8145
|
+
zoom_oauth: "zoom_oauth";
|
|
8146
|
+
zoom_s2s: "zoom_s2s";
|
|
8147
|
+
webex_oauth: "webex_oauth";
|
|
8148
|
+
webex_service_app: "webex_service_app";
|
|
8149
|
+
}>;
|
|
8150
|
+
service: import("zod").ZodEnum<{
|
|
8151
|
+
zoom: "zoom";
|
|
8152
|
+
webex: "webex";
|
|
8153
|
+
}>;
|
|
8154
|
+
name: import("zod").ZodString;
|
|
8155
|
+
clientId: import("zod").ZodString;
|
|
8156
|
+
zoomAccountId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8157
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
8158
|
+
active: "active";
|
|
8159
|
+
unverified: "unverified";
|
|
8160
|
+
failing: "failing";
|
|
8161
|
+
}>>;
|
|
8162
|
+
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8163
|
+
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
8164
|
+
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
8165
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
8166
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8167
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
8168
|
+
}, import("zod/v4/core").$strip>;
|
|
8169
|
+
checks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
8170
|
+
name: import("zod").ZodString;
|
|
8171
|
+
isOk: import("zod").ZodBoolean;
|
|
8172
|
+
detail: import("zod").ZodString;
|
|
8173
|
+
}, import("zod/v4/core").$strip>>;
|
|
8174
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
8175
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
8176
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
8177
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
8178
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
8179
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
8180
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
8181
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
8182
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
8183
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
8184
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
7845
8185
|
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
7846
8186
|
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
7847
8187
|
readonly internal_error: "An unexpected failure on our side.";
|
|
@@ -9891,6 +10231,202 @@ export declare const v1Contract: {
|
|
|
9891
10231
|
};
|
|
9892
10232
|
}>, Record<never, never>>;
|
|
9893
10233
|
};
|
|
10234
|
+
connectDomain: {
|
|
10235
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
10236
|
+
hostname: import("zod").ZodString;
|
|
10237
|
+
status: import("zod").ZodEnum<{
|
|
10238
|
+
active: "active";
|
|
10239
|
+
pending: "pending";
|
|
10240
|
+
failed: "failed";
|
|
10241
|
+
}>;
|
|
10242
|
+
records: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10243
|
+
type: import("zod").ZodString;
|
|
10244
|
+
name: import("zod").ZodString;
|
|
10245
|
+
value: import("zod").ZodString;
|
|
10246
|
+
}, import("zod/v4/core").$strip>>;
|
|
10247
|
+
ownership: import("zod").ZodObject<{
|
|
10248
|
+
type: import("zod").ZodString;
|
|
10249
|
+
name: import("zod").ZodString;
|
|
10250
|
+
value: import("zod").ZodString;
|
|
10251
|
+
}, import("zod/v4/core").$strip>;
|
|
10252
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10253
|
+
activatedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
10254
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
10255
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
10256
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10257
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10258
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10259
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10260
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10261
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10262
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10263
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10264
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10265
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10266
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10267
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10268
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10269
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10270
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10271
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10272
|
+
}>>, {
|
|
10273
|
+
connect_domain_not_found: {
|
|
10274
|
+
status: 404;
|
|
10275
|
+
message: string;
|
|
10276
|
+
};
|
|
10277
|
+
connect_domain_unavailable: {
|
|
10278
|
+
status: 400;
|
|
10279
|
+
message: string;
|
|
10280
|
+
};
|
|
10281
|
+
}>, Record<never, never>>;
|
|
10282
|
+
set: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10283
|
+
hostname: import("zod").ZodString;
|
|
10284
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10285
|
+
hostname: import("zod").ZodString;
|
|
10286
|
+
status: import("zod").ZodEnum<{
|
|
10287
|
+
active: "active";
|
|
10288
|
+
pending: "pending";
|
|
10289
|
+
failed: "failed";
|
|
10290
|
+
}>;
|
|
10291
|
+
records: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10292
|
+
type: import("zod").ZodString;
|
|
10293
|
+
name: import("zod").ZodString;
|
|
10294
|
+
value: import("zod").ZodString;
|
|
10295
|
+
}, import("zod/v4/core").$strip>>;
|
|
10296
|
+
ownership: import("zod").ZodObject<{
|
|
10297
|
+
type: import("zod").ZodString;
|
|
10298
|
+
name: import("zod").ZodString;
|
|
10299
|
+
value: import("zod").ZodString;
|
|
10300
|
+
}, import("zod/v4/core").$strip>;
|
|
10301
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10302
|
+
activatedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
10303
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
10304
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
10305
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10306
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10307
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10308
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10309
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10310
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10311
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10312
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10313
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10314
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10315
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10316
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10317
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10318
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10319
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10320
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10321
|
+
}>>, {
|
|
10322
|
+
connect_domain_not_allowed: {
|
|
10323
|
+
status: 400;
|
|
10324
|
+
message: string;
|
|
10325
|
+
};
|
|
10326
|
+
connect_domain_taken: {
|
|
10327
|
+
status: 409;
|
|
10328
|
+
message: string;
|
|
10329
|
+
};
|
|
10330
|
+
connect_domain_in_use: {
|
|
10331
|
+
status: 409;
|
|
10332
|
+
message: string;
|
|
10333
|
+
};
|
|
10334
|
+
connect_domain_edge_unavailable: {
|
|
10335
|
+
status: 502;
|
|
10336
|
+
message: string;
|
|
10337
|
+
};
|
|
10338
|
+
connect_domain_unavailable: {
|
|
10339
|
+
status: 400;
|
|
10340
|
+
message: string;
|
|
10341
|
+
};
|
|
10342
|
+
}>, Record<never, never>>;
|
|
10343
|
+
delete: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodVoid, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
10344
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10345
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10346
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10347
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10348
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10349
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10350
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10351
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10352
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10353
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10354
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10355
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10356
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10357
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10358
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10359
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10360
|
+
}>>, {
|
|
10361
|
+
connect_domain_in_use: {
|
|
10362
|
+
status: 409;
|
|
10363
|
+
message: string;
|
|
10364
|
+
};
|
|
10365
|
+
connect_domain_edge_unavailable: {
|
|
10366
|
+
status: 502;
|
|
10367
|
+
message: string;
|
|
10368
|
+
};
|
|
10369
|
+
connect_domain_not_found: {
|
|
10370
|
+
status: 404;
|
|
10371
|
+
message: string;
|
|
10372
|
+
};
|
|
10373
|
+
connect_domain_unavailable: {
|
|
10374
|
+
status: 400;
|
|
10375
|
+
message: string;
|
|
10376
|
+
};
|
|
10377
|
+
}>, Record<never, never>>;
|
|
10378
|
+
refresh: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
10379
|
+
hostname: import("zod").ZodString;
|
|
10380
|
+
status: import("zod").ZodEnum<{
|
|
10381
|
+
active: "active";
|
|
10382
|
+
pending: "pending";
|
|
10383
|
+
failed: "failed";
|
|
10384
|
+
}>;
|
|
10385
|
+
records: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10386
|
+
type: import("zod").ZodString;
|
|
10387
|
+
name: import("zod").ZodString;
|
|
10388
|
+
value: import("zod").ZodString;
|
|
10389
|
+
}, import("zod/v4/core").$strip>>;
|
|
10390
|
+
ownership: import("zod").ZodObject<{
|
|
10391
|
+
type: import("zod").ZodString;
|
|
10392
|
+
name: import("zod").ZodString;
|
|
10393
|
+
value: import("zod").ZodString;
|
|
10394
|
+
}, import("zod/v4/core").$strip>;
|
|
10395
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10396
|
+
activatedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
10397
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
10398
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
10399
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10400
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10401
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10402
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10403
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10404
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10405
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10406
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10407
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10408
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10409
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10410
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10411
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10412
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10413
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10414
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10415
|
+
}>>, {
|
|
10416
|
+
connect_domain_edge_unavailable: {
|
|
10417
|
+
status: 502;
|
|
10418
|
+
message: string;
|
|
10419
|
+
};
|
|
10420
|
+
connect_domain_not_found: {
|
|
10421
|
+
status: 404;
|
|
10422
|
+
message: string;
|
|
10423
|
+
};
|
|
10424
|
+
connect_domain_unavailable: {
|
|
10425
|
+
status: 400;
|
|
10426
|
+
message: string;
|
|
10427
|
+
};
|
|
10428
|
+
}>, Record<never, never>>;
|
|
10429
|
+
};
|
|
9894
10430
|
oauthApps: {
|
|
9895
10431
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
9896
10432
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -9908,6 +10444,8 @@ export declare const v1Contract: {
|
|
|
9908
10444
|
china: "china";
|
|
9909
10445
|
}>>;
|
|
9910
10446
|
authority: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10447
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
10448
|
+
redirectUri: import("zod").ZodURL;
|
|
9911
10449
|
gmailPush: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9912
10450
|
topic: import("zod").ZodString;
|
|
9913
10451
|
serviceAccount: import("zod").ZodEmail;
|
|
@@ -9948,6 +10486,7 @@ export declare const v1Contract: {
|
|
|
9948
10486
|
clientId: import("zod").ZodString;
|
|
9949
10487
|
clientSecret: import("zod").ZodString;
|
|
9950
10488
|
authority: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10489
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9951
10490
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9952
10491
|
id: import("zod").ZodUUID;
|
|
9953
10492
|
provider: import("zod").ZodEnum<{
|
|
@@ -9963,6 +10502,8 @@ export declare const v1Contract: {
|
|
|
9963
10502
|
china: "china";
|
|
9964
10503
|
}>>;
|
|
9965
10504
|
authority: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10505
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
10506
|
+
redirectUri: import("zod").ZodURL;
|
|
9966
10507
|
gmailPush: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9967
10508
|
topic: import("zod").ZodString;
|
|
9968
10509
|
serviceAccount: import("zod").ZodEmail;
|
|
@@ -9986,10 +10527,20 @@ export declare const v1Contract: {
|
|
|
9986
10527
|
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
9987
10528
|
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
9988
10529
|
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
9989
|
-
}>>,
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
10530
|
+
}>>, {
|
|
10531
|
+
cloud_required: {
|
|
10532
|
+
status: 400;
|
|
10533
|
+
message: string;
|
|
10534
|
+
};
|
|
10535
|
+
not_microsoft: {
|
|
10536
|
+
status: 400;
|
|
10537
|
+
message: string;
|
|
10538
|
+
};
|
|
10539
|
+
connect_domain_inactive: {
|
|
10540
|
+
status: 409;
|
|
10541
|
+
message: string;
|
|
10542
|
+
};
|
|
10543
|
+
}>, Record<never, never>>;
|
|
9993
10544
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
9994
10545
|
appId: import("zod").ZodUUID;
|
|
9995
10546
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -9999,6 +10550,7 @@ export declare const v1Contract: {
|
|
|
9999
10550
|
topic: import("zod").ZodString;
|
|
10000
10551
|
serviceAccount: import("zod").ZodEmail;
|
|
10001
10552
|
}, import("zod/v4/core").$strip>>>;
|
|
10553
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10002
10554
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10003
10555
|
id: import("zod").ZodUUID;
|
|
10004
10556
|
provider: import("zod").ZodEnum<{
|
|
@@ -10014,6 +10566,8 @@ export declare const v1Contract: {
|
|
|
10014
10566
|
china: "china";
|
|
10015
10567
|
}>>;
|
|
10016
10568
|
authority: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10569
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
10570
|
+
redirectUri: import("zod").ZodURL;
|
|
10017
10571
|
gmailPush: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
10018
10572
|
topic: import("zod").ZodString;
|
|
10019
10573
|
serviceAccount: import("zod").ZodEmail;
|
|
@@ -10050,6 +10604,10 @@ export declare const v1Contract: {
|
|
|
10050
10604
|
status: 400;
|
|
10051
10605
|
message: string;
|
|
10052
10606
|
};
|
|
10607
|
+
connect_domain_inactive: {
|
|
10608
|
+
status: 409;
|
|
10609
|
+
message: string;
|
|
10610
|
+
};
|
|
10053
10611
|
oauth_app_not_found: {
|
|
10054
10612
|
status: 404;
|
|
10055
10613
|
message: string;
|
|
@@ -10121,6 +10679,11 @@ export declare const v1Contract: {
|
|
|
10121
10679
|
api: "api";
|
|
10122
10680
|
}>>;
|
|
10123
10681
|
sharedMailboxesEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10682
|
+
mailPermissions: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
10683
|
+
full: "full";
|
|
10684
|
+
read_send: "read_send";
|
|
10685
|
+
read: "read";
|
|
10686
|
+
}>>;
|
|
10124
10687
|
}, import("zod/v4/core").$strip>>;
|
|
10125
10688
|
mcp: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
10126
10689
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
@@ -10186,6 +10749,10 @@ export declare const v1Contract: {
|
|
|
10186
10749
|
status: 402;
|
|
10187
10750
|
message: string;
|
|
10188
10751
|
};
|
|
10752
|
+
mail_permissions_unsupported: {
|
|
10753
|
+
status: 400;
|
|
10754
|
+
message: string;
|
|
10755
|
+
};
|
|
10189
10756
|
unknown_account: import("./errors.js").DeclaredError<"unknown_account">;
|
|
10190
10757
|
redirect_uri_not_allowed: {
|
|
10191
10758
|
status: 400;
|
|
@@ -10240,6 +10807,7 @@ export declare const v1Contract: {
|
|
|
10240
10807
|
unknown_meeting_app: "unknown_meeting_app";
|
|
10241
10808
|
meeting_app_mismatch: "meeting_app_mismatch";
|
|
10242
10809
|
meeting_app_secret_unreadable: "meeting_app_secret_unreadable";
|
|
10810
|
+
connect_domain_inactive: "connect_domain_inactive";
|
|
10243
10811
|
consent_failed: "consent_failed";
|
|
10244
10812
|
consent_required: "consent_required";
|
|
10245
10813
|
consent_revoked: "consent_revoked";
|
|
@@ -10319,6 +10887,11 @@ export declare const v1Contract: {
|
|
|
10319
10887
|
api: "api";
|
|
10320
10888
|
}>>;
|
|
10321
10889
|
sharedMailboxesEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10890
|
+
mailPermissions: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
10891
|
+
full: "full";
|
|
10892
|
+
read_send: "read_send";
|
|
10893
|
+
read: "read";
|
|
10894
|
+
}>>;
|
|
10322
10895
|
}, import("zod/v4/core").$strip>>;
|
|
10323
10896
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10324
10897
|
authorizeUrl: import("zod").ZodURL;
|
|
@@ -10348,6 +10921,10 @@ export declare const v1Contract: {
|
|
|
10348
10921
|
status: 400;
|
|
10349
10922
|
message: string;
|
|
10350
10923
|
};
|
|
10924
|
+
connect_domain_inactive: {
|
|
10925
|
+
status: 409;
|
|
10926
|
+
message: string;
|
|
10927
|
+
};
|
|
10351
10928
|
connect_grants_nothing: {
|
|
10352
10929
|
status: 400;
|
|
10353
10930
|
message: string;
|
|
@@ -10381,6 +10958,10 @@ export declare const v1Contract: {
|
|
|
10381
10958
|
status: 402;
|
|
10382
10959
|
message: string;
|
|
10383
10960
|
};
|
|
10961
|
+
mail_permissions_unsupported: {
|
|
10962
|
+
status: 400;
|
|
10963
|
+
message: string;
|
|
10964
|
+
};
|
|
10384
10965
|
unknown_account: import("./errors.js").DeclaredError<"unknown_account">;
|
|
10385
10966
|
redirect_uri_not_allowed: {
|
|
10386
10967
|
status: 400;
|
|
@@ -10434,6 +11015,8 @@ export declare const v1Contract: {
|
|
|
10434
11015
|
certificate: "certificate";
|
|
10435
11016
|
}>;
|
|
10436
11017
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11018
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11019
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10437
11020
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10438
11021
|
name: import("zod").ZodString;
|
|
10439
11022
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10498,6 +11081,7 @@ export declare const v1Contract: {
|
|
|
10498
11081
|
}, import("zod/v4/core").$strip>
|
|
10499
11082
|
], "type">;
|
|
10500
11083
|
directoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11084
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10501
11085
|
}, import("zod/v4/core").$strip>
|
|
10502
11086
|
], "kind">, import("zod").ZodObject<{
|
|
10503
11087
|
id: import("zod").ZodUUID;
|
|
@@ -10535,6 +11119,8 @@ export declare const v1Contract: {
|
|
|
10535
11119
|
certificate: "certificate";
|
|
10536
11120
|
}>;
|
|
10537
11121
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11122
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11123
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10538
11124
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10539
11125
|
name: import("zod").ZodString;
|
|
10540
11126
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10565,6 +11151,14 @@ export declare const v1Contract: {
|
|
|
10565
11151
|
status: 400;
|
|
10566
11152
|
message: string;
|
|
10567
11153
|
};
|
|
11154
|
+
connect_domain_inactive: {
|
|
11155
|
+
status: 409;
|
|
11156
|
+
message: string;
|
|
11157
|
+
};
|
|
11158
|
+
connect_domain_unsupported: {
|
|
11159
|
+
status: 400;
|
|
11160
|
+
message: string;
|
|
11161
|
+
};
|
|
10568
11162
|
invalid_certificate: {
|
|
10569
11163
|
status: 400;
|
|
10570
11164
|
message: string;
|
|
@@ -10616,6 +11210,8 @@ export declare const v1Contract: {
|
|
|
10616
11210
|
certificate: "certificate";
|
|
10617
11211
|
}>;
|
|
10618
11212
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11213
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11214
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10619
11215
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10620
11216
|
name: import("zod").ZodString;
|
|
10621
11217
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10656,6 +11252,7 @@ export declare const v1Contract: {
|
|
|
10656
11252
|
certificate: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10657
11253
|
privateKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10658
11254
|
directoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11255
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10659
11256
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10660
11257
|
id: import("zod").ZodUUID;
|
|
10661
11258
|
kind: import("zod").ZodEnum<{
|
|
@@ -10692,6 +11289,8 @@ export declare const v1Contract: {
|
|
|
10692
11289
|
certificate: "certificate";
|
|
10693
11290
|
}>;
|
|
10694
11291
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11292
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11293
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10695
11294
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10696
11295
|
name: import("zod").ZodString;
|
|
10697
11296
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10722,6 +11321,14 @@ export declare const v1Contract: {
|
|
|
10722
11321
|
status: 400;
|
|
10723
11322
|
message: string;
|
|
10724
11323
|
};
|
|
11324
|
+
connect_domain_inactive: {
|
|
11325
|
+
status: 409;
|
|
11326
|
+
message: string;
|
|
11327
|
+
};
|
|
11328
|
+
connect_domain_unsupported: {
|
|
11329
|
+
status: 400;
|
|
11330
|
+
message: string;
|
|
11331
|
+
};
|
|
10725
11332
|
invalid_certificate: {
|
|
10726
11333
|
status: 400;
|
|
10727
11334
|
message: string;
|
|
@@ -10796,6 +11403,10 @@ export declare const v1Contract: {
|
|
|
10796
11403
|
status: 400;
|
|
10797
11404
|
message: string;
|
|
10798
11405
|
};
|
|
11406
|
+
connect_domain_inactive: {
|
|
11407
|
+
status: 409;
|
|
11408
|
+
message: string;
|
|
11409
|
+
};
|
|
10799
11410
|
session_required: {
|
|
10800
11411
|
status: 403;
|
|
10801
11412
|
message: string;
|
|
@@ -10853,6 +11464,8 @@ export declare const v1Contract: {
|
|
|
10853
11464
|
certificate: "certificate";
|
|
10854
11465
|
}>;
|
|
10855
11466
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11467
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11468
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10856
11469
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10857
11470
|
name: import("zod").ZodString;
|
|
10858
11471
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -11192,6 +11805,11 @@ export declare const v1Contract: {
|
|
|
11192
11805
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
11193
11806
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
11194
11807
|
}, import("zod/v4/core").$strip>;
|
|
11808
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
11809
|
+
full: "full";
|
|
11810
|
+
read_send: "read_send";
|
|
11811
|
+
read: "read";
|
|
11812
|
+
}>>;
|
|
11195
11813
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11196
11814
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11197
11815
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -11417,6 +12035,11 @@ export declare const v1Contract: {
|
|
|
11417
12035
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
11418
12036
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
11419
12037
|
}, import("zod/v4/core").$strip>;
|
|
12038
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
12039
|
+
full: "full";
|
|
12040
|
+
read_send: "read_send";
|
|
12041
|
+
read: "read";
|
|
12042
|
+
}>>;
|
|
11420
12043
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11421
12044
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11422
12045
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -11682,6 +12305,11 @@ export declare const v1Contract: {
|
|
|
11682
12305
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
11683
12306
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
11684
12307
|
}, import("zod/v4/core").$strip>;
|
|
12308
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
12309
|
+
full: "full";
|
|
12310
|
+
read_send: "read_send";
|
|
12311
|
+
read: "read";
|
|
12312
|
+
}>>;
|
|
11685
12313
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11686
12314
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11687
12315
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -11913,6 +12541,11 @@ export declare const v1Contract: {
|
|
|
11913
12541
|
delegateAccountId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
11914
12542
|
relayEmail: import("zod").ZodNullable<import("zod").ZodEmail>;
|
|
11915
12543
|
}, import("zod/v4/core").$strip>;
|
|
12544
|
+
mailPermissions: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
12545
|
+
full: "full";
|
|
12546
|
+
read_send: "read_send";
|
|
12547
|
+
read: "read";
|
|
12548
|
+
}>>;
|
|
11916
12549
|
initializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11917
12550
|
calendarInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
11918
12551
|
contactsInitializedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
@@ -12939,6 +13572,7 @@ export declare const v1Contract: {
|
|
|
12939
13572
|
action: import("zod").ZodString;
|
|
12940
13573
|
surface: import("zod").ZodEnum<{
|
|
12941
13574
|
auth: "auth";
|
|
13575
|
+
smtp: "smtp";
|
|
12942
13576
|
v1: "v1";
|
|
12943
13577
|
rpc: "rpc";
|
|
12944
13578
|
mcp: "mcp";
|