@workwae/sdk 0.1.0-alpha.2 → 0.1.0-alpha.3
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/audit-log/models.d.ts +3 -0
- package/contract/audit-log/routes.d.ts +1 -0
- package/contract/connect/models.d.ts +2 -0
- package/contract/connect/routes.d.ts +5 -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/limits.d.ts +6 -0
- package/contract/mail/models.d.ts +139 -2
- package/contract/mail/routes.d.ts +191 -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 +32 -0
- package/contract/public.d.ts +1 -0
- package/contract/reasons.d.ts +27 -0
- package/contract/router.d.ts +560 -45
- package/contract/send/models.d.ts +58 -0
- package/contract/send/routes.d.ts +30 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/contract/router.d.ts
CHANGED
|
@@ -1395,15 +1395,27 @@ export declare const v1Contract: {
|
|
|
1395
1395
|
messages: {
|
|
1396
1396
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1397
1397
|
accountId: import("zod").ZodUUID;
|
|
1398
|
-
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1399
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1400
1398
|
importance: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1401
1399
|
normal: "normal";
|
|
1402
1400
|
high: "high";
|
|
1403
1401
|
low: "low";
|
|
1404
1402
|
}>>;
|
|
1403
|
+
outboxId: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1404
|
+
internetMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1405
1405
|
after: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodDate, string | Date>>;
|
|
1406
1406
|
before: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodDate, string | Date>>;
|
|
1407
|
+
include: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [
|
|
1408
|
+
import("zod").ZodString,
|
|
1409
|
+
import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1410
|
+
headers: "headers";
|
|
1411
|
+
body: "body";
|
|
1412
|
+
}>>
|
|
1413
|
+
]>, import("zod").ZodTransform<string[], string | ("headers" | "body")[]>>, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1414
|
+
headers: "headers";
|
|
1415
|
+
body: "body";
|
|
1416
|
+
}>>>>;
|
|
1417
|
+
limit: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
1418
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1407
1419
|
from: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1408
1420
|
to: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1409
1421
|
unread: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [
|
|
@@ -1428,47 +1440,139 @@ export declare const v1Contract: {
|
|
|
1428
1440
|
}>
|
|
1429
1441
|
]>, import("zod").ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1430
1442
|
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
|
-
|
|
1443
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodUnion<readonly [
|
|
1444
|
+
import("zod").ZodObject<{
|
|
1445
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1446
|
+
id: import("zod").ZodUUID;
|
|
1447
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1448
|
+
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1449
|
+
mailboxIds: import("zod").ZodArray<import("zod").ZodUUID>;
|
|
1450
|
+
subject: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1451
|
+
from: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1452
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1453
|
+
address: import("zod").ZodString;
|
|
1454
|
+
}, import("zod/v4/core").$strip>>;
|
|
1455
|
+
to: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1456
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1457
|
+
address: import("zod").ZodString;
|
|
1458
|
+
}, import("zod/v4/core").$strip>>;
|
|
1459
|
+
cc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1460
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1461
|
+
address: import("zod").ZodString;
|
|
1462
|
+
}, import("zod/v4/core").$strip>>;
|
|
1463
|
+
snippet: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1464
|
+
receivedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1465
|
+
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1466
|
+
isRead: import("zod").ZodBoolean;
|
|
1467
|
+
isFlagged: import("zod").ZodBoolean;
|
|
1468
|
+
isDraft: import("zod").ZodBoolean;
|
|
1469
|
+
hasAttachments: import("zod").ZodBoolean;
|
|
1470
|
+
categories: import("zod").ZodArray<import("zod").ZodString>;
|
|
1471
|
+
direction: import("zod").ZodEnum<{
|
|
1472
|
+
inbound: "inbound";
|
|
1473
|
+
outbound: "outbound";
|
|
1474
|
+
}>;
|
|
1475
|
+
outboxId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
1476
|
+
reference: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1477
|
+
importance: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1478
|
+
normal: "normal";
|
|
1479
|
+
high: "high";
|
|
1480
|
+
low: "low";
|
|
1481
|
+
}>>;
|
|
1482
|
+
bcc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1483
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1484
|
+
address: import("zod").ZodString;
|
|
1485
|
+
}, import("zod/v4/core").$strip>>;
|
|
1486
|
+
replyTo: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1487
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1488
|
+
address: import("zod").ZodString;
|
|
1489
|
+
}, import("zod/v4/core").$strip>>;
|
|
1490
|
+
body: import("zod").ZodObject<{
|
|
1491
|
+
text: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1492
|
+
html: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1493
|
+
}, import("zod/v4/core").$strip>;
|
|
1494
|
+
attachments: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1495
|
+
id: import("zod").ZodString;
|
|
1496
|
+
filename: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1497
|
+
contentType: import("zod").ZodString;
|
|
1498
|
+
size: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1499
|
+
isInline: import("zod").ZodBoolean;
|
|
1500
|
+
contentId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1501
|
+
}, import("zod/v4/core").$strip>>;
|
|
1502
|
+
classification: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1503
|
+
kind: import("zod").ZodEnum<{
|
|
1504
|
+
opt_out: "opt_out";
|
|
1505
|
+
auto_reply: "auto_reply";
|
|
1506
|
+
bounce: "bounce";
|
|
1507
|
+
human_reply: "human_reply";
|
|
1508
|
+
}>;
|
|
1509
|
+
probabilities: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>;
|
|
1510
|
+
optOutProbability: import("zod").ZodNumber;
|
|
1511
|
+
autoReplyCategory: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1512
|
+
other: "other";
|
|
1513
|
+
out_of_office: "out_of_office";
|
|
1514
|
+
left_company: "left_company";
|
|
1515
|
+
address_changed: "address_changed";
|
|
1516
|
+
ticket_acknowledgment: "ticket_acknowledgment";
|
|
1517
|
+
challenge_response: "challenge_response";
|
|
1518
|
+
}>>;
|
|
1519
|
+
returnDate: import("zod").ZodNullable<import("zod").ZodISODate>;
|
|
1520
|
+
alternateContacts: import("zod").ZodArray<import("zod").ZodString>;
|
|
1521
|
+
outboxId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
1522
|
+
model: import("zod").ZodString;
|
|
1523
|
+
classifiedAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
1524
|
+
}, import("zod/v4/core").$strip>>;
|
|
1525
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1526
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1527
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1528
|
+
name: import("zod").ZodString;
|
|
1529
|
+
value: import("zod").ZodString;
|
|
1530
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1445
1531
|
}, import("zod/v4/core").$strip>>;
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1532
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1533
|
+
}, import("zod/v4/core").$strip>,
|
|
1534
|
+
import("zod").ZodObject<{
|
|
1535
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1536
|
+
id: import("zod").ZodUUID;
|
|
1537
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1538
|
+
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1539
|
+
mailboxIds: import("zod").ZodArray<import("zod").ZodUUID>;
|
|
1540
|
+
subject: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1541
|
+
from: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1542
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1543
|
+
address: import("zod").ZodString;
|
|
1544
|
+
}, import("zod/v4/core").$strip>>;
|
|
1545
|
+
to: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1546
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1547
|
+
address: import("zod").ZodString;
|
|
1548
|
+
}, import("zod/v4/core").$strip>>;
|
|
1549
|
+
cc: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1550
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1551
|
+
address: import("zod").ZodString;
|
|
1552
|
+
}, import("zod/v4/core").$strip>>;
|
|
1553
|
+
snippet: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1554
|
+
receivedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1555
|
+
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
1556
|
+
isRead: import("zod").ZodBoolean;
|
|
1557
|
+
isFlagged: import("zod").ZodBoolean;
|
|
1558
|
+
isDraft: import("zod").ZodBoolean;
|
|
1559
|
+
hasAttachments: import("zod").ZodBoolean;
|
|
1560
|
+
categories: import("zod").ZodArray<import("zod").ZodString>;
|
|
1561
|
+
direction: import("zod").ZodEnum<{
|
|
1562
|
+
inbound: "inbound";
|
|
1563
|
+
outbound: "outbound";
|
|
1564
|
+
}>;
|
|
1565
|
+
outboxId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
1566
|
+
reference: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1567
|
+
importance: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1568
|
+
normal: "normal";
|
|
1569
|
+
high: "high";
|
|
1570
|
+
low: "low";
|
|
1571
|
+
}>>;
|
|
1449
1572
|
}, 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<{
|
|
1573
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1574
|
+
}, import("zod/v4/core").$strip>
|
|
1575
|
+
]>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
1472
1576
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
1473
1577
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
1474
1578
|
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
@@ -1490,6 +1594,38 @@ export declare const v1Contract: {
|
|
|
1490
1594
|
status: 400;
|
|
1491
1595
|
message: string;
|
|
1492
1596
|
};
|
|
1597
|
+
provider_not_found: {
|
|
1598
|
+
status: 404;
|
|
1599
|
+
message: string;
|
|
1600
|
+
};
|
|
1601
|
+
provider_forbidden: {
|
|
1602
|
+
status: 403;
|
|
1603
|
+
message: string;
|
|
1604
|
+
};
|
|
1605
|
+
provider_unavailable: {
|
|
1606
|
+
status: 502;
|
|
1607
|
+
message: string;
|
|
1608
|
+
};
|
|
1609
|
+
provider_throttled: {
|
|
1610
|
+
status: 429;
|
|
1611
|
+
message: string;
|
|
1612
|
+
};
|
|
1613
|
+
account_paused: {
|
|
1614
|
+
status: 409;
|
|
1615
|
+
message: string;
|
|
1616
|
+
};
|
|
1617
|
+
account_disabled: {
|
|
1618
|
+
status: 409;
|
|
1619
|
+
message: string;
|
|
1620
|
+
};
|
|
1621
|
+
account_reauth_required: {
|
|
1622
|
+
status: 409;
|
|
1623
|
+
message: string;
|
|
1624
|
+
};
|
|
1625
|
+
account_misconfigured: {
|
|
1626
|
+
status: 409;
|
|
1627
|
+
message: string;
|
|
1628
|
+
};
|
|
1493
1629
|
unknown_mailbox: import("./errors.js").DeclaredError<"unknown_mailbox">;
|
|
1494
1630
|
invalid_cursor: {
|
|
1495
1631
|
status: 400;
|
|
@@ -1511,6 +1647,14 @@ export declare const v1Contract: {
|
|
|
1511
1647
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1512
1648
|
accountId: import("zod").ZodUUID;
|
|
1513
1649
|
messageId: import("zod").ZodUUID;
|
|
1650
|
+
include: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [
|
|
1651
|
+
import("zod").ZodString,
|
|
1652
|
+
import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1653
|
+
headers: "headers";
|
|
1654
|
+
}>>
|
|
1655
|
+
]>, import("zod").ZodTransform<string[], string | "headers"[]>>, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
1656
|
+
headers: "headers";
|
|
1657
|
+
}>>>>;
|
|
1514
1658
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1515
1659
|
id: import("zod").ZodUUID;
|
|
1516
1660
|
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -1591,6 +1735,12 @@ export declare const v1Contract: {
|
|
|
1591
1735
|
model: import("zod").ZodString;
|
|
1592
1736
|
classifiedAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
1593
1737
|
}, import("zod/v4/core").$strip>>;
|
|
1738
|
+
inReplyTo: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1739
|
+
references: import("zod").ZodArray<import("zod").ZodString>;
|
|
1740
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1741
|
+
name: import("zod").ZodString;
|
|
1742
|
+
value: import("zod").ZodString;
|
|
1743
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1594
1744
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
1595
1745
|
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
1596
1746
|
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
@@ -3052,6 +3202,8 @@ export declare const v1Contract: {
|
|
|
3052
3202
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3053
3203
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3054
3204
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3205
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3206
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3055
3207
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3056
3208
|
trackOpens: import("zod").ZodBoolean;
|
|
3057
3209
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3196,6 +3348,22 @@ export declare const v1Contract: {
|
|
|
3196
3348
|
honeypot: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3197
3349
|
}, import("zod/v4/core").$strip>>;
|
|
3198
3350
|
listId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3351
|
+
messageId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3352
|
+
headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
3353
|
+
calendar: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3354
|
+
method: import("zod").ZodEnum<{
|
|
3355
|
+
PUBLISH: "PUBLISH";
|
|
3356
|
+
REQUEST: "REQUEST";
|
|
3357
|
+
REPLY: "REPLY";
|
|
3358
|
+
ADD: "ADD";
|
|
3359
|
+
CANCEL: "CANCEL";
|
|
3360
|
+
REFRESH: "REFRESH";
|
|
3361
|
+
COUNTER: "COUNTER";
|
|
3362
|
+
DECLINECOUNTER: "DECLINECOUNTER";
|
|
3363
|
+
}>;
|
|
3364
|
+
content: import("zod").ZodString;
|
|
3365
|
+
}, import("zod/v4/core").$strip>>;
|
|
3366
|
+
wait: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3199
3367
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3200
3368
|
id: import("zod").ZodUUID;
|
|
3201
3369
|
accountId: import("zod").ZodUUID;
|
|
@@ -3213,6 +3381,8 @@ export declare const v1Contract: {
|
|
|
3213
3381
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3214
3382
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3215
3383
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3384
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3385
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3216
3386
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3217
3387
|
trackOpens: import("zod").ZodBoolean;
|
|
3218
3388
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3271,6 +3441,10 @@ export declare const v1Contract: {
|
|
|
3271
3441
|
status: 400;
|
|
3272
3442
|
message: string;
|
|
3273
3443
|
};
|
|
3444
|
+
duplicate_message_id: {
|
|
3445
|
+
status: 409;
|
|
3446
|
+
message: string;
|
|
3447
|
+
};
|
|
3274
3448
|
template_and_inline_fields: {
|
|
3275
3449
|
status: 400;
|
|
3276
3450
|
message: string;
|
|
@@ -3363,6 +3537,8 @@ export declare const v1Contract: {
|
|
|
3363
3537
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3364
3538
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3365
3539
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3540
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3541
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3366
3542
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3367
3543
|
trackOpens: import("zod").ZodBoolean;
|
|
3368
3544
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3431,6 +3607,8 @@ export declare const v1Contract: {
|
|
|
3431
3607
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3432
3608
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3433
3609
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3610
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3611
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3434
3612
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3435
3613
|
trackOpens: import("zod").ZodBoolean;
|
|
3436
3614
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -3540,6 +3718,8 @@ export declare const v1Contract: {
|
|
|
3540
3718
|
providerMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3541
3719
|
internetMessageId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3542
3720
|
sentAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
3721
|
+
sentMessageId: import("zod").ZodNullable<import("zod").ZodUUID>;
|
|
3722
|
+
threadId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3543
3723
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
3544
3724
|
trackOpens: import("zod").ZodBoolean;
|
|
3545
3725
|
trackClicks: import("zod").ZodBoolean;
|
|
@@ -7694,6 +7874,7 @@ export declare const v1Contract: {
|
|
|
7694
7874
|
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7695
7875
|
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
7696
7876
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
7877
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
7697
7878
|
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7698
7879
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
7699
7880
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -7723,6 +7904,7 @@ export declare const v1Contract: {
|
|
|
7723
7904
|
name: import("zod").ZodString;
|
|
7724
7905
|
clientId: import("zod").ZodString;
|
|
7725
7906
|
clientSecret: import("zod").ZodString;
|
|
7907
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7726
7908
|
}, import("zod/v4/core").$strip>,
|
|
7727
7909
|
import("zod").ZodObject<{
|
|
7728
7910
|
kind: import("zod").ZodLiteral<"zoom_s2s">;
|
|
@@ -7730,18 +7912,21 @@ export declare const v1Contract: {
|
|
|
7730
7912
|
accountId: import("zod").ZodString;
|
|
7731
7913
|
clientId: import("zod").ZodString;
|
|
7732
7914
|
clientSecret: import("zod").ZodString;
|
|
7915
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7733
7916
|
}, import("zod/v4/core").$strip>,
|
|
7734
7917
|
import("zod").ZodObject<{
|
|
7735
7918
|
kind: import("zod").ZodLiteral<"webex_oauth">;
|
|
7736
7919
|
name: import("zod").ZodString;
|
|
7737
7920
|
clientId: import("zod").ZodString;
|
|
7738
7921
|
clientSecret: import("zod").ZodString;
|
|
7922
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7739
7923
|
}, import("zod/v4/core").$strip>,
|
|
7740
7924
|
import("zod").ZodObject<{
|
|
7741
7925
|
kind: import("zod").ZodLiteral<"webex_service_app">;
|
|
7742
7926
|
name: import("zod").ZodString;
|
|
7743
7927
|
clientId: import("zod").ZodString;
|
|
7744
7928
|
clientSecret: import("zod").ZodString;
|
|
7929
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7745
7930
|
refreshToken: import("zod").ZodString;
|
|
7746
7931
|
}, import("zod/v4/core").$strip>
|
|
7747
7932
|
], "kind">, import("zod").ZodObject<{
|
|
@@ -7767,6 +7952,7 @@ export declare const v1Contract: {
|
|
|
7767
7952
|
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7768
7953
|
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
7769
7954
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
7955
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
7770
7956
|
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7771
7957
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
7772
7958
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
@@ -7791,6 +7977,78 @@ export declare const v1Contract: {
|
|
|
7791
7977
|
status: 409;
|
|
7792
7978
|
message: string;
|
|
7793
7979
|
};
|
|
7980
|
+
connect_domain_inactive: {
|
|
7981
|
+
status: 409;
|
|
7982
|
+
message: string;
|
|
7983
|
+
};
|
|
7984
|
+
connect_domain_unsupported: {
|
|
7985
|
+
status: 400;
|
|
7986
|
+
message: string;
|
|
7987
|
+
};
|
|
7988
|
+
plan_module_unavailable: {
|
|
7989
|
+
status: 403;
|
|
7990
|
+
message: string;
|
|
7991
|
+
};
|
|
7992
|
+
}>, Record<never, never>>;
|
|
7993
|
+
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
7994
|
+
appId: import("zod").ZodUUID;
|
|
7995
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7996
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
7997
|
+
id: import("zod").ZodUUID;
|
|
7998
|
+
kind: import("zod").ZodEnum<{
|
|
7999
|
+
zoom_oauth: "zoom_oauth";
|
|
8000
|
+
zoom_s2s: "zoom_s2s";
|
|
8001
|
+
webex_oauth: "webex_oauth";
|
|
8002
|
+
webex_service_app: "webex_service_app";
|
|
8003
|
+
}>;
|
|
8004
|
+
service: import("zod").ZodEnum<{
|
|
8005
|
+
zoom: "zoom";
|
|
8006
|
+
webex: "webex";
|
|
8007
|
+
}>;
|
|
8008
|
+
name: import("zod").ZodString;
|
|
8009
|
+
clientId: import("zod").ZodString;
|
|
8010
|
+
zoomAccountId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8011
|
+
status: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
8012
|
+
active: "active";
|
|
8013
|
+
unverified: "unverified";
|
|
8014
|
+
failing: "failing";
|
|
8015
|
+
}>>;
|
|
8016
|
+
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8017
|
+
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
8018
|
+
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
8019
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
8020
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8021
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
8022
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
8023
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
8024
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
8025
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
8026
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
8027
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
8028
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
8029
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
8030
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
8031
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
8032
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
8033
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
8034
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
8035
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
8036
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
8037
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
8038
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
8039
|
+
}>>, {
|
|
8040
|
+
connect_domain_inactive: {
|
|
8041
|
+
status: 409;
|
|
8042
|
+
message: string;
|
|
8043
|
+
};
|
|
8044
|
+
connect_domain_unsupported: {
|
|
8045
|
+
status: 400;
|
|
8046
|
+
message: string;
|
|
8047
|
+
};
|
|
8048
|
+
meeting_app_not_found: {
|
|
8049
|
+
status: 404;
|
|
8050
|
+
message: string;
|
|
8051
|
+
};
|
|
7794
8052
|
plan_module_unavailable: {
|
|
7795
8053
|
status: 403;
|
|
7796
8054
|
message: string;
|
|
@@ -7823,6 +8081,7 @@ export declare const v1Contract: {
|
|
|
7823
8081
|
statusDetail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7824
8082
|
checkedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
7825
8083
|
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
8084
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
7826
8085
|
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
7827
8086
|
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
7828
8087
|
}, import("zod/v4/core").$strip>;
|
|
@@ -9891,6 +10150,202 @@ export declare const v1Contract: {
|
|
|
9891
10150
|
};
|
|
9892
10151
|
}>, Record<never, never>>;
|
|
9893
10152
|
};
|
|
10153
|
+
connectDomain: {
|
|
10154
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
10155
|
+
hostname: import("zod").ZodString;
|
|
10156
|
+
status: import("zod").ZodEnum<{
|
|
10157
|
+
active: "active";
|
|
10158
|
+
pending: "pending";
|
|
10159
|
+
failed: "failed";
|
|
10160
|
+
}>;
|
|
10161
|
+
records: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10162
|
+
type: import("zod").ZodString;
|
|
10163
|
+
name: import("zod").ZodString;
|
|
10164
|
+
value: import("zod").ZodString;
|
|
10165
|
+
}, import("zod/v4/core").$strip>>;
|
|
10166
|
+
ownership: import("zod").ZodObject<{
|
|
10167
|
+
type: import("zod").ZodString;
|
|
10168
|
+
name: import("zod").ZodString;
|
|
10169
|
+
value: import("zod").ZodString;
|
|
10170
|
+
}, import("zod/v4/core").$strip>;
|
|
10171
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10172
|
+
activatedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
10173
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
10174
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
10175
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10176
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10177
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10178
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10179
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10180
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10181
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10182
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10183
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10184
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10185
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10186
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10187
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10188
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10189
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10190
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10191
|
+
}>>, {
|
|
10192
|
+
connect_domain_not_found: {
|
|
10193
|
+
status: 404;
|
|
10194
|
+
message: string;
|
|
10195
|
+
};
|
|
10196
|
+
connect_domain_unavailable: {
|
|
10197
|
+
status: 400;
|
|
10198
|
+
message: string;
|
|
10199
|
+
};
|
|
10200
|
+
}>, Record<never, never>>;
|
|
10201
|
+
set: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10202
|
+
hostname: import("zod").ZodString;
|
|
10203
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10204
|
+
hostname: import("zod").ZodString;
|
|
10205
|
+
status: import("zod").ZodEnum<{
|
|
10206
|
+
active: "active";
|
|
10207
|
+
pending: "pending";
|
|
10208
|
+
failed: "failed";
|
|
10209
|
+
}>;
|
|
10210
|
+
records: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10211
|
+
type: import("zod").ZodString;
|
|
10212
|
+
name: import("zod").ZodString;
|
|
10213
|
+
value: import("zod").ZodString;
|
|
10214
|
+
}, import("zod/v4/core").$strip>>;
|
|
10215
|
+
ownership: import("zod").ZodObject<{
|
|
10216
|
+
type: import("zod").ZodString;
|
|
10217
|
+
name: import("zod").ZodString;
|
|
10218
|
+
value: import("zod").ZodString;
|
|
10219
|
+
}, import("zod/v4/core").$strip>;
|
|
10220
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10221
|
+
activatedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
10222
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
10223
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
10224
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10225
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10226
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10227
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10228
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10229
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10230
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10231
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10232
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10233
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10234
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10235
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10236
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10237
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10238
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10239
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10240
|
+
}>>, {
|
|
10241
|
+
connect_domain_not_allowed: {
|
|
10242
|
+
status: 400;
|
|
10243
|
+
message: string;
|
|
10244
|
+
};
|
|
10245
|
+
connect_domain_taken: {
|
|
10246
|
+
status: 409;
|
|
10247
|
+
message: string;
|
|
10248
|
+
};
|
|
10249
|
+
connect_domain_in_use: {
|
|
10250
|
+
status: 409;
|
|
10251
|
+
message: string;
|
|
10252
|
+
};
|
|
10253
|
+
connect_domain_edge_unavailable: {
|
|
10254
|
+
status: 502;
|
|
10255
|
+
message: string;
|
|
10256
|
+
};
|
|
10257
|
+
connect_domain_unavailable: {
|
|
10258
|
+
status: 400;
|
|
10259
|
+
message: string;
|
|
10260
|
+
};
|
|
10261
|
+
}>, Record<never, never>>;
|
|
10262
|
+
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<{
|
|
10263
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10264
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10265
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10266
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10267
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10268
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10269
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10270
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10271
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10272
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10273
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10274
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10275
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10276
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10277
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10278
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10279
|
+
}>>, {
|
|
10280
|
+
connect_domain_in_use: {
|
|
10281
|
+
status: 409;
|
|
10282
|
+
message: string;
|
|
10283
|
+
};
|
|
10284
|
+
connect_domain_edge_unavailable: {
|
|
10285
|
+
status: 502;
|
|
10286
|
+
message: string;
|
|
10287
|
+
};
|
|
10288
|
+
connect_domain_not_found: {
|
|
10289
|
+
status: 404;
|
|
10290
|
+
message: string;
|
|
10291
|
+
};
|
|
10292
|
+
connect_domain_unavailable: {
|
|
10293
|
+
status: 400;
|
|
10294
|
+
message: string;
|
|
10295
|
+
};
|
|
10296
|
+
}>, Record<never, never>>;
|
|
10297
|
+
refresh: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
10298
|
+
hostname: import("zod").ZodString;
|
|
10299
|
+
status: import("zod").ZodEnum<{
|
|
10300
|
+
active: "active";
|
|
10301
|
+
pending: "pending";
|
|
10302
|
+
failed: "failed";
|
|
10303
|
+
}>;
|
|
10304
|
+
records: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10305
|
+
type: import("zod").ZodString;
|
|
10306
|
+
name: import("zod").ZodString;
|
|
10307
|
+
value: import("zod").ZodString;
|
|
10308
|
+
}, import("zod/v4/core").$strip>>;
|
|
10309
|
+
ownership: import("zod").ZodObject<{
|
|
10310
|
+
type: import("zod").ZodString;
|
|
10311
|
+
name: import("zod").ZodString;
|
|
10312
|
+
value: import("zod").ZodString;
|
|
10313
|
+
}, import("zod/v4/core").$strip>;
|
|
10314
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10315
|
+
activatedAt: import("zod").ZodNullable<import("zod").ZodPreprocess<import("zod").ZodDate, Date>>;
|
|
10316
|
+
createdAt: import("zod").ZodPreprocess<import("zod").ZodDate, Date>;
|
|
10317
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, import("./errors.js").DeclaredErrors<{
|
|
10318
|
+
readonly invalid_input: "The request does not match the operation's input schema (a malformed body included); data.issues names each problem.";
|
|
10319
|
+
readonly unauthenticated: "No usable credential: none was sent, or it is malformed, unknown, revoked or an expired account token.";
|
|
10320
|
+
readonly api_key_expired: "The API key is past its expiry (or the grace of the rotation that replaced it).";
|
|
10321
|
+
readonly missing_scope: "The API key lacks the scope the operation needs.";
|
|
10322
|
+
readonly role_forbidden: "The member's role does not allow the operation.";
|
|
10323
|
+
readonly account_token_forbidden: "An account token called an operation account tokens cannot call.";
|
|
10324
|
+
readonly account_scope_forbidden: "A credential limited to specific accounts called an operation that reaches beyond them.";
|
|
10325
|
+
readonly mcp_only_key: "An MCP-only key (minted for an end user's MCP client) was used outside the MCP server.";
|
|
10326
|
+
readonly rate_limited: "The tenant used up its plan's request rate; Retry-After says when the window ends.";
|
|
10327
|
+
readonly too_many_requests: "The credential has too many requests in flight at once; retry after Retry-After.";
|
|
10328
|
+
readonly overloaded: "The API is shedding load; retry after Retry-After.";
|
|
10329
|
+
readonly payload_too_large: "The request body is larger than the API accepts.";
|
|
10330
|
+
readonly internal_error: "An unexpected failure on our side.";
|
|
10331
|
+
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
10332
|
+
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
10333
|
+
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
10334
|
+
}>>, {
|
|
10335
|
+
connect_domain_edge_unavailable: {
|
|
10336
|
+
status: 502;
|
|
10337
|
+
message: string;
|
|
10338
|
+
};
|
|
10339
|
+
connect_domain_not_found: {
|
|
10340
|
+
status: 404;
|
|
10341
|
+
message: string;
|
|
10342
|
+
};
|
|
10343
|
+
connect_domain_unavailable: {
|
|
10344
|
+
status: 400;
|
|
10345
|
+
message: string;
|
|
10346
|
+
};
|
|
10347
|
+
}>, Record<never, never>>;
|
|
10348
|
+
};
|
|
9894
10349
|
oauthApps: {
|
|
9895
10350
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
9896
10351
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -9908,6 +10363,8 @@ export declare const v1Contract: {
|
|
|
9908
10363
|
china: "china";
|
|
9909
10364
|
}>>;
|
|
9910
10365
|
authority: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10366
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
10367
|
+
redirectUri: import("zod").ZodURL;
|
|
9911
10368
|
gmailPush: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9912
10369
|
topic: import("zod").ZodString;
|
|
9913
10370
|
serviceAccount: import("zod").ZodEmail;
|
|
@@ -9948,6 +10405,7 @@ export declare const v1Contract: {
|
|
|
9948
10405
|
clientId: import("zod").ZodString;
|
|
9949
10406
|
clientSecret: import("zod").ZodString;
|
|
9950
10407
|
authority: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10408
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9951
10409
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9952
10410
|
id: import("zod").ZodUUID;
|
|
9953
10411
|
provider: import("zod").ZodEnum<{
|
|
@@ -9963,6 +10421,8 @@ export declare const v1Contract: {
|
|
|
9963
10421
|
china: "china";
|
|
9964
10422
|
}>>;
|
|
9965
10423
|
authority: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10424
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
10425
|
+
redirectUri: import("zod").ZodURL;
|
|
9966
10426
|
gmailPush: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
9967
10427
|
topic: import("zod").ZodString;
|
|
9968
10428
|
serviceAccount: import("zod").ZodEmail;
|
|
@@ -9986,10 +10446,20 @@ export declare const v1Contract: {
|
|
|
9986
10446
|
readonly invalid_idempotency_key: "POST only: the Idempotency-Key header is not 1 to 255 printable ASCII characters.";
|
|
9987
10447
|
readonly idempotency_key_reused: "POST only: the Idempotency-Key was used in the last 24 hours with another method, path or body.";
|
|
9988
10448
|
readonly idempotency_key_in_progress: "POST only: the request first sent with this Idempotency-Key has not been answered yet.";
|
|
9989
|
-
}>>,
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
10449
|
+
}>>, {
|
|
10450
|
+
cloud_required: {
|
|
10451
|
+
status: 400;
|
|
10452
|
+
message: string;
|
|
10453
|
+
};
|
|
10454
|
+
not_microsoft: {
|
|
10455
|
+
status: 400;
|
|
10456
|
+
message: string;
|
|
10457
|
+
};
|
|
10458
|
+
connect_domain_inactive: {
|
|
10459
|
+
status: 409;
|
|
10460
|
+
message: string;
|
|
10461
|
+
};
|
|
10462
|
+
}>, Record<never, never>>;
|
|
9993
10463
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
9994
10464
|
appId: import("zod").ZodUUID;
|
|
9995
10465
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -9999,6 +10469,7 @@ export declare const v1Contract: {
|
|
|
9999
10469
|
topic: import("zod").ZodString;
|
|
10000
10470
|
serviceAccount: import("zod").ZodEmail;
|
|
10001
10471
|
}, import("zod/v4/core").$strip>>>;
|
|
10472
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10002
10473
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10003
10474
|
id: import("zod").ZodUUID;
|
|
10004
10475
|
provider: import("zod").ZodEnum<{
|
|
@@ -10014,6 +10485,8 @@ export declare const v1Contract: {
|
|
|
10014
10485
|
china: "china";
|
|
10015
10486
|
}>>;
|
|
10016
10487
|
authority: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10488
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
10489
|
+
redirectUri: import("zod").ZodURL;
|
|
10017
10490
|
gmailPush: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
10018
10491
|
topic: import("zod").ZodString;
|
|
10019
10492
|
serviceAccount: import("zod").ZodEmail;
|
|
@@ -10050,6 +10523,10 @@ export declare const v1Contract: {
|
|
|
10050
10523
|
status: 400;
|
|
10051
10524
|
message: string;
|
|
10052
10525
|
};
|
|
10526
|
+
connect_domain_inactive: {
|
|
10527
|
+
status: 409;
|
|
10528
|
+
message: string;
|
|
10529
|
+
};
|
|
10053
10530
|
oauth_app_not_found: {
|
|
10054
10531
|
status: 404;
|
|
10055
10532
|
message: string;
|
|
@@ -10240,6 +10717,7 @@ export declare const v1Contract: {
|
|
|
10240
10717
|
unknown_meeting_app: "unknown_meeting_app";
|
|
10241
10718
|
meeting_app_mismatch: "meeting_app_mismatch";
|
|
10242
10719
|
meeting_app_secret_unreadable: "meeting_app_secret_unreadable";
|
|
10720
|
+
connect_domain_inactive: "connect_domain_inactive";
|
|
10243
10721
|
consent_failed: "consent_failed";
|
|
10244
10722
|
consent_required: "consent_required";
|
|
10245
10723
|
consent_revoked: "consent_revoked";
|
|
@@ -10348,6 +10826,10 @@ export declare const v1Contract: {
|
|
|
10348
10826
|
status: 400;
|
|
10349
10827
|
message: string;
|
|
10350
10828
|
};
|
|
10829
|
+
connect_domain_inactive: {
|
|
10830
|
+
status: 409;
|
|
10831
|
+
message: string;
|
|
10832
|
+
};
|
|
10351
10833
|
connect_grants_nothing: {
|
|
10352
10834
|
status: 400;
|
|
10353
10835
|
message: string;
|
|
@@ -10434,6 +10916,8 @@ export declare const v1Contract: {
|
|
|
10434
10916
|
certificate: "certificate";
|
|
10435
10917
|
}>;
|
|
10436
10918
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10919
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
10920
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10437
10921
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10438
10922
|
name: import("zod").ZodString;
|
|
10439
10923
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10498,6 +10982,7 @@ export declare const v1Contract: {
|
|
|
10498
10982
|
}, import("zod/v4/core").$strip>
|
|
10499
10983
|
], "type">;
|
|
10500
10984
|
directoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10985
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10501
10986
|
}, import("zod/v4/core").$strip>
|
|
10502
10987
|
], "kind">, import("zod").ZodObject<{
|
|
10503
10988
|
id: import("zod").ZodUUID;
|
|
@@ -10535,6 +11020,8 @@ export declare const v1Contract: {
|
|
|
10535
11020
|
certificate: "certificate";
|
|
10536
11021
|
}>;
|
|
10537
11022
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11023
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11024
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10538
11025
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10539
11026
|
name: import("zod").ZodString;
|
|
10540
11027
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10565,6 +11052,14 @@ export declare const v1Contract: {
|
|
|
10565
11052
|
status: 400;
|
|
10566
11053
|
message: string;
|
|
10567
11054
|
};
|
|
11055
|
+
connect_domain_inactive: {
|
|
11056
|
+
status: 409;
|
|
11057
|
+
message: string;
|
|
11058
|
+
};
|
|
11059
|
+
connect_domain_unsupported: {
|
|
11060
|
+
status: 400;
|
|
11061
|
+
message: string;
|
|
11062
|
+
};
|
|
10568
11063
|
invalid_certificate: {
|
|
10569
11064
|
status: 400;
|
|
10570
11065
|
message: string;
|
|
@@ -10616,6 +11111,8 @@ export declare const v1Contract: {
|
|
|
10616
11111
|
certificate: "certificate";
|
|
10617
11112
|
}>;
|
|
10618
11113
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11114
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11115
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10619
11116
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10620
11117
|
name: import("zod").ZodString;
|
|
10621
11118
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10656,6 +11153,7 @@ export declare const v1Contract: {
|
|
|
10656
11153
|
certificate: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10657
11154
|
privateKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10658
11155
|
directoryId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11156
|
+
useConnectDomain: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10659
11157
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10660
11158
|
id: import("zod").ZodUUID;
|
|
10661
11159
|
kind: import("zod").ZodEnum<{
|
|
@@ -10692,6 +11190,8 @@ export declare const v1Contract: {
|
|
|
10692
11190
|
certificate: "certificate";
|
|
10693
11191
|
}>;
|
|
10694
11192
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11193
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11194
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10695
11195
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10696
11196
|
name: import("zod").ZodString;
|
|
10697
11197
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -10722,6 +11222,14 @@ export declare const v1Contract: {
|
|
|
10722
11222
|
status: 400;
|
|
10723
11223
|
message: string;
|
|
10724
11224
|
};
|
|
11225
|
+
connect_domain_inactive: {
|
|
11226
|
+
status: 409;
|
|
11227
|
+
message: string;
|
|
11228
|
+
};
|
|
11229
|
+
connect_domain_unsupported: {
|
|
11230
|
+
status: 400;
|
|
11231
|
+
message: string;
|
|
11232
|
+
};
|
|
10725
11233
|
invalid_certificate: {
|
|
10726
11234
|
status: 400;
|
|
10727
11235
|
message: string;
|
|
@@ -10796,6 +11304,10 @@ export declare const v1Contract: {
|
|
|
10796
11304
|
status: 400;
|
|
10797
11305
|
message: string;
|
|
10798
11306
|
};
|
|
11307
|
+
connect_domain_inactive: {
|
|
11308
|
+
status: 409;
|
|
11309
|
+
message: string;
|
|
11310
|
+
};
|
|
10799
11311
|
session_required: {
|
|
10800
11312
|
status: 403;
|
|
10801
11313
|
message: string;
|
|
@@ -10853,6 +11365,8 @@ export declare const v1Contract: {
|
|
|
10853
11365
|
certificate: "certificate";
|
|
10854
11366
|
}>;
|
|
10855
11367
|
directoryId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11368
|
+
useConnectDomain: import("zod").ZodBoolean;
|
|
11369
|
+
redirectUri: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10856
11370
|
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10857
11371
|
name: import("zod").ZodString;
|
|
10858
11372
|
isRequired: import("zod").ZodBoolean;
|
|
@@ -12939,6 +13453,7 @@ export declare const v1Contract: {
|
|
|
12939
13453
|
action: import("zod").ZodString;
|
|
12940
13454
|
surface: import("zod").ZodEnum<{
|
|
12941
13455
|
auth: "auth";
|
|
13456
|
+
smtp: "smtp";
|
|
12942
13457
|
v1: "v1";
|
|
12943
13458
|
rpc: "rpc";
|
|
12944
13459
|
mcp: "mcp";
|