samva 0.18.0 → 0.19.0
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/README.md +2 -0
- package/dist/client/sdk.gen.d.ts +39 -23
- package/dist/client/sdk.gen.js +83 -21
- package/dist/client/types.gen.d.ts +175 -44
- package/dist/effect/contact-groups.d.ts +39 -3
- package/dist/effect/contacts.d.ts +216 -13
- package/dist/effect/contacts.js +3 -1
- package/dist/effect/conversations.d.ts +11 -11
- package/dist/effect/extension-installations.d.ts +12 -12
- package/dist/effect/extensions.d.ts +3 -3
- package/dist/effect/generated/contact-groups.d.ts +33 -3
- package/dist/effect/generated/contacts.d.ts +477 -54
- package/dist/effect/generated/contacts.js +39 -9
- package/dist/effect/generated/conversations.d.ts +25 -25
- package/dist/effect/generated/conversations.js +1 -1
- package/dist/effect/generated/extension-installations.d.ts +44 -44
- package/dist/effect/generated/extension-installations.js +6 -0
- package/dist/effect/generated/extensions.d.ts +10 -10
- package/dist/effect/generated/extensions.js +2 -0
- package/dist/effect/generated/mailboxes.d.ts +310 -0
- package/dist/effect/generated/mailboxes.js +37 -4
- package/dist/effect/generated/messages.d.ts +31 -0
- package/dist/effect/generated/messages.js +7 -1
- package/dist/effect/generated/organizations.d.ts +13 -11
- package/dist/effect/generated/organizations.js +7 -3
- package/dist/effect/generated/shared.d.ts +70 -20
- package/dist/effect/generated/shared.js +27 -7
- package/dist/effect/generated/unsubscribe-groups.d.ts +173 -78
- package/dist/effect/generated/unsubscribe-groups.js +75 -58
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/effect/generated/webhooks.js +8 -0
- package/dist/effect/generated-metadata.d.ts +7 -2
- package/dist/effect/generated-metadata.js +331 -325
- package/dist/effect/mailboxes.d.ts +133 -1
- package/dist/effect/messages.d.ts +5 -0
- package/dist/effect/organizations.d.ts +4 -4
- package/dist/effect/unsubscribe-groups.d.ts +29 -18
- package/dist/effect/unsubscribe-groups.js +5 -5
- package/dist/effect/webhooks.d.ts +8 -8
- package/dist/mailbox-events.d.ts +31 -4
- package/dist/mailbox-events.js +39 -11
- package/dist/package.js +1 -1
- package/dist/promises/index.d.ts +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -4
- package/dist/service-map.js +10 -2
- package/package.json +2 -2
|
@@ -4,6 +4,28 @@ import * as Schema from "effect/Schema";
|
|
|
4
4
|
import { ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, ConflictError, ConversationId, CreateMailboxEndpointPayload, Cursor, EmailAttachment, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxChannelUnsupportedError, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxPolicyId, MailboxPolicyOutcomeKind, MailboxSendConflictError, MailboxSendMode, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MediaId, MessageId, NamespaceId, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, SkippedRecipient, SuccessResponse, UnauthorizedError, UserId, ValidationError } from "./shared";
|
|
5
5
|
export type MailboxStatus = "active" | "paused";
|
|
6
6
|
export declare const MailboxStatus: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">]>;
|
|
7
|
+
export type MailboxActionResolution = {
|
|
8
|
+
readonly outcome: "approved" | "denied" | "cancelled";
|
|
9
|
+
readonly actor: {
|
|
10
|
+
readonly kind: "user" | "apiKey" | "extension" | "externalAgent" | "samvaAgent" | "system";
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly displayName?: string | null;
|
|
13
|
+
readonly source: "humanUi" | "externalApi" | "externalAgent" | "extension" | "system";
|
|
14
|
+
};
|
|
15
|
+
readonly resolvedAt: string;
|
|
16
|
+
readonly reason: string | null;
|
|
17
|
+
};
|
|
18
|
+
export declare const MailboxActionResolution: Schema.Struct<{
|
|
19
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
20
|
+
readonly actor: Schema.Struct<{
|
|
21
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
22
|
+
readonly id: Schema.String;
|
|
23
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
24
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
25
|
+
}>;
|
|
26
|
+
readonly resolvedAt: Schema.String;
|
|
27
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
28
|
+
}>;
|
|
7
29
|
export type MailboxAgentActivity = {
|
|
8
30
|
readonly actions: {
|
|
9
31
|
readonly byType: ReadonlyArray<{
|
|
@@ -753,6 +775,7 @@ export type MailboxNonSendAction = {
|
|
|
753
775
|
readonly threadId: MailboxThreadId | null;
|
|
754
776
|
readonly draftId: MailboxDraftId | null;
|
|
755
777
|
readonly decision: MailboxActionDecision | null;
|
|
778
|
+
readonly resolution: MailboxActionResolution | null;
|
|
756
779
|
readonly createdAt: string;
|
|
757
780
|
readonly updatedAt: string;
|
|
758
781
|
readonly type: "updateDraft" | "createNote" | "assignThread" | "changeThreadState" | "call" | "extensionRequest";
|
|
@@ -775,6 +798,17 @@ export declare const MailboxNonSendAction: Schema.Struct<{
|
|
|
775
798
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
776
799
|
readonly decidedAt: Schema.String;
|
|
777
800
|
}>, Schema.Null]>;
|
|
801
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
802
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
803
|
+
readonly actor: Schema.Struct<{
|
|
804
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
805
|
+
readonly id: Schema.String;
|
|
806
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
807
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
808
|
+
}>;
|
|
809
|
+
readonly resolvedAt: Schema.String;
|
|
810
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
811
|
+
}>, Schema.Null]>;
|
|
778
812
|
readonly createdAt: Schema.String;
|
|
779
813
|
readonly updatedAt: Schema.String;
|
|
780
814
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -1105,6 +1139,7 @@ export type MailboxSendAction = {
|
|
|
1105
1139
|
readonly threadId: MailboxThreadId | null;
|
|
1106
1140
|
readonly draftId: MailboxDraftId | null;
|
|
1107
1141
|
readonly decision: MailboxActionDecision | null;
|
|
1142
|
+
readonly resolution: MailboxActionResolution | null;
|
|
1108
1143
|
readonly createdAt: string;
|
|
1109
1144
|
readonly updatedAt: string;
|
|
1110
1145
|
readonly type: "sendMessage" | "reply";
|
|
@@ -1129,6 +1164,17 @@ export declare const MailboxSendAction: Schema.Struct<{
|
|
|
1129
1164
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1130
1165
|
readonly decidedAt: Schema.String;
|
|
1131
1166
|
}>, Schema.Null]>;
|
|
1167
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1168
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1169
|
+
readonly actor: Schema.Struct<{
|
|
1170
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1171
|
+
readonly id: Schema.String;
|
|
1172
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1173
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
1174
|
+
}>;
|
|
1175
|
+
readonly resolvedAt: Schema.String;
|
|
1176
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1177
|
+
}>, Schema.Null]>;
|
|
1132
1178
|
readonly createdAt: Schema.String;
|
|
1133
1179
|
readonly updatedAt: Schema.String;
|
|
1134
1180
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -1242,6 +1288,17 @@ export declare const MailboxAction: Schema.Union<readonly [Schema.Struct<{
|
|
|
1242
1288
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1243
1289
|
readonly decidedAt: Schema.String;
|
|
1244
1290
|
}>, Schema.Null]>;
|
|
1291
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1292
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1293
|
+
readonly actor: Schema.Struct<{
|
|
1294
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1295
|
+
readonly id: Schema.String;
|
|
1296
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1297
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
1298
|
+
}>;
|
|
1299
|
+
readonly resolvedAt: Schema.String;
|
|
1300
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1301
|
+
}>, Schema.Null]>;
|
|
1245
1302
|
readonly createdAt: Schema.String;
|
|
1246
1303
|
readonly updatedAt: Schema.String;
|
|
1247
1304
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -1353,6 +1410,17 @@ export declare const MailboxAction: Schema.Union<readonly [Schema.Struct<{
|
|
|
1353
1410
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1354
1411
|
readonly decidedAt: Schema.String;
|
|
1355
1412
|
}>, Schema.Null]>;
|
|
1413
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1414
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1415
|
+
readonly actor: Schema.Struct<{
|
|
1416
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1417
|
+
readonly id: Schema.String;
|
|
1418
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1419
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
1420
|
+
}>;
|
|
1421
|
+
readonly resolvedAt: Schema.String;
|
|
1422
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1423
|
+
}>, Schema.Null]>;
|
|
1356
1424
|
readonly createdAt: Schema.String;
|
|
1357
1425
|
readonly updatedAt: Schema.String;
|
|
1358
1426
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -1376,6 +1444,17 @@ export declare const MailboxPendingAction: Schema.Union<readonly [Schema.Struct<
|
|
|
1376
1444
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1377
1445
|
readonly decidedAt: Schema.String;
|
|
1378
1446
|
}>, Schema.Null]>;
|
|
1447
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1448
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1449
|
+
readonly actor: Schema.Struct<{
|
|
1450
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1451
|
+
readonly id: Schema.String;
|
|
1452
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1453
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
1454
|
+
}>;
|
|
1455
|
+
readonly resolvedAt: Schema.String;
|
|
1456
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1457
|
+
}>, Schema.Null]>;
|
|
1379
1458
|
readonly createdAt: Schema.String;
|
|
1380
1459
|
readonly updatedAt: Schema.String;
|
|
1381
1460
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -1487,6 +1566,17 @@ export declare const MailboxPendingAction: Schema.Union<readonly [Schema.Struct<
|
|
|
1487
1566
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1488
1567
|
readonly decidedAt: Schema.String;
|
|
1489
1568
|
}>, Schema.Null]>;
|
|
1569
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1570
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1571
|
+
readonly actor: Schema.Struct<{
|
|
1572
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1573
|
+
readonly id: Schema.String;
|
|
1574
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1575
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
1576
|
+
}>;
|
|
1577
|
+
readonly resolvedAt: Schema.String;
|
|
1578
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1579
|
+
}>, Schema.Null]>;
|
|
1490
1580
|
readonly createdAt: Schema.String;
|
|
1491
1581
|
readonly updatedAt: Schema.String;
|
|
1492
1582
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -1514,6 +1604,17 @@ export declare const MailboxActionPage: Schema.Struct<{
|
|
|
1514
1604
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1515
1605
|
readonly decidedAt: Schema.String;
|
|
1516
1606
|
}>, Schema.Null]>;
|
|
1607
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1608
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1609
|
+
readonly actor: Schema.Struct<{
|
|
1610
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1611
|
+
readonly id: Schema.String;
|
|
1612
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1613
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
1614
|
+
}>;
|
|
1615
|
+
readonly resolvedAt: Schema.String;
|
|
1616
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1617
|
+
}>, Schema.Null]>;
|
|
1517
1618
|
readonly createdAt: Schema.String;
|
|
1518
1619
|
readonly updatedAt: Schema.String;
|
|
1519
1620
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -1625,6 +1726,17 @@ export declare const MailboxActionPage: Schema.Struct<{
|
|
|
1625
1726
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1626
1727
|
readonly decidedAt: Schema.String;
|
|
1627
1728
|
}>, Schema.Null]>;
|
|
1729
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1730
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1731
|
+
readonly actor: Schema.Struct<{
|
|
1732
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1733
|
+
readonly id: Schema.String;
|
|
1734
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1735
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
1736
|
+
}>;
|
|
1737
|
+
readonly resolvedAt: Schema.String;
|
|
1738
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1739
|
+
}>, Schema.Null]>;
|
|
1628
1740
|
readonly createdAt: Schema.String;
|
|
1629
1741
|
readonly updatedAt: Schema.String;
|
|
1630
1742
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -1878,6 +1990,17 @@ export declare const MailboxesListActions200: Schema.Struct<{
|
|
|
1878
1990
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1879
1991
|
readonly decidedAt: Schema.String;
|
|
1880
1992
|
}>, Schema.Null]>;
|
|
1993
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
1994
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
1995
|
+
readonly actor: Schema.Struct<{
|
|
1996
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
1997
|
+
readonly id: Schema.String;
|
|
1998
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1999
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2000
|
+
}>;
|
|
2001
|
+
readonly resolvedAt: Schema.String;
|
|
2002
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2003
|
+
}>, Schema.Null]>;
|
|
1881
2004
|
readonly createdAt: Schema.String;
|
|
1882
2005
|
readonly updatedAt: Schema.String;
|
|
1883
2006
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -1989,6 +2112,17 @@ export declare const MailboxesListActions200: Schema.Struct<{
|
|
|
1989
2112
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
1990
2113
|
readonly decidedAt: Schema.String;
|
|
1991
2114
|
}>, Schema.Null]>;
|
|
2115
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2116
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2117
|
+
readonly actor: Schema.Struct<{
|
|
2118
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2119
|
+
readonly id: Schema.String;
|
|
2120
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2121
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2122
|
+
}>;
|
|
2123
|
+
readonly resolvedAt: Schema.String;
|
|
2124
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2125
|
+
}>, Schema.Null]>;
|
|
1992
2126
|
readonly createdAt: Schema.String;
|
|
1993
2127
|
readonly updatedAt: Schema.String;
|
|
1994
2128
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -2034,6 +2168,17 @@ export declare const MailboxesGetAction200: Schema.Union<readonly [Schema.Struct
|
|
|
2034
2168
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2035
2169
|
readonly decidedAt: Schema.String;
|
|
2036
2170
|
}>, Schema.Null]>;
|
|
2171
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2172
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2173
|
+
readonly actor: Schema.Struct<{
|
|
2174
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2175
|
+
readonly id: Schema.String;
|
|
2176
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2177
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2178
|
+
}>;
|
|
2179
|
+
readonly resolvedAt: Schema.String;
|
|
2180
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2181
|
+
}>, Schema.Null]>;
|
|
2037
2182
|
readonly createdAt: Schema.String;
|
|
2038
2183
|
readonly updatedAt: Schema.String;
|
|
2039
2184
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -2145,6 +2290,17 @@ export declare const MailboxesGetAction200: Schema.Union<readonly [Schema.Struct
|
|
|
2145
2290
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2146
2291
|
readonly decidedAt: Schema.String;
|
|
2147
2292
|
}>, Schema.Null]>;
|
|
2293
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2294
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2295
|
+
readonly actor: Schema.Struct<{
|
|
2296
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2297
|
+
readonly id: Schema.String;
|
|
2298
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2299
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2300
|
+
}>;
|
|
2301
|
+
readonly resolvedAt: Schema.String;
|
|
2302
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2303
|
+
}>, Schema.Null]>;
|
|
2148
2304
|
readonly createdAt: Schema.String;
|
|
2149
2305
|
readonly updatedAt: Schema.String;
|
|
2150
2306
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -2188,6 +2344,17 @@ export declare const MailboxesApproveAction200: Schema.Union<readonly [Schema.St
|
|
|
2188
2344
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2189
2345
|
readonly decidedAt: Schema.String;
|
|
2190
2346
|
}>, Schema.Null]>;
|
|
2347
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2348
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2349
|
+
readonly actor: Schema.Struct<{
|
|
2350
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2351
|
+
readonly id: Schema.String;
|
|
2352
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2353
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2354
|
+
}>;
|
|
2355
|
+
readonly resolvedAt: Schema.String;
|
|
2356
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2357
|
+
}>, Schema.Null]>;
|
|
2191
2358
|
readonly createdAt: Schema.String;
|
|
2192
2359
|
readonly updatedAt: Schema.String;
|
|
2193
2360
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -2299,6 +2466,17 @@ export declare const MailboxesApproveAction200: Schema.Union<readonly [Schema.St
|
|
|
2299
2466
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2300
2467
|
readonly decidedAt: Schema.String;
|
|
2301
2468
|
}>, Schema.Null]>;
|
|
2469
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2470
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2471
|
+
readonly actor: Schema.Struct<{
|
|
2472
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2473
|
+
readonly id: Schema.String;
|
|
2474
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2475
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2476
|
+
}>;
|
|
2477
|
+
readonly resolvedAt: Schema.String;
|
|
2478
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2479
|
+
}>, Schema.Null]>;
|
|
2302
2480
|
readonly createdAt: Schema.String;
|
|
2303
2481
|
readonly updatedAt: Schema.String;
|
|
2304
2482
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -2322,6 +2500,17 @@ export declare const MailboxesApproveAction202: Schema.Union<readonly [Schema.St
|
|
|
2322
2500
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2323
2501
|
readonly decidedAt: Schema.String;
|
|
2324
2502
|
}>, Schema.Null]>;
|
|
2503
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2504
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2505
|
+
readonly actor: Schema.Struct<{
|
|
2506
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2507
|
+
readonly id: Schema.String;
|
|
2508
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2509
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2510
|
+
}>;
|
|
2511
|
+
readonly resolvedAt: Schema.String;
|
|
2512
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2513
|
+
}>, Schema.Null]>;
|
|
2325
2514
|
readonly createdAt: Schema.String;
|
|
2326
2515
|
readonly updatedAt: Schema.String;
|
|
2327
2516
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -2433,6 +2622,17 @@ export declare const MailboxesApproveAction202: Schema.Union<readonly [Schema.St
|
|
|
2433
2622
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2434
2623
|
readonly decidedAt: Schema.String;
|
|
2435
2624
|
}>, Schema.Null]>;
|
|
2625
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2626
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2627
|
+
readonly actor: Schema.Struct<{
|
|
2628
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2629
|
+
readonly id: Schema.String;
|
|
2630
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2631
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2632
|
+
}>;
|
|
2633
|
+
readonly resolvedAt: Schema.String;
|
|
2634
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2635
|
+
}>, Schema.Null]>;
|
|
2436
2636
|
readonly createdAt: Schema.String;
|
|
2437
2637
|
readonly updatedAt: Schema.String;
|
|
2438
2638
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -2658,6 +2858,17 @@ export declare const MailboxesDenyAction200: Schema.Union<readonly [Schema.Struc
|
|
|
2658
2858
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2659
2859
|
readonly decidedAt: Schema.String;
|
|
2660
2860
|
}>, Schema.Null]>;
|
|
2861
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2862
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2863
|
+
readonly actor: Schema.Struct<{
|
|
2864
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2865
|
+
readonly id: Schema.String;
|
|
2866
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2867
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2868
|
+
}>;
|
|
2869
|
+
readonly resolvedAt: Schema.String;
|
|
2870
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2871
|
+
}>, Schema.Null]>;
|
|
2661
2872
|
readonly createdAt: Schema.String;
|
|
2662
2873
|
readonly updatedAt: Schema.String;
|
|
2663
2874
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -2769,6 +2980,17 @@ export declare const MailboxesDenyAction200: Schema.Union<readonly [Schema.Struc
|
|
|
2769
2980
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
2770
2981
|
readonly decidedAt: Schema.String;
|
|
2771
2982
|
}>, Schema.Null]>;
|
|
2983
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
2984
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
2985
|
+
readonly actor: Schema.Struct<{
|
|
2986
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
2987
|
+
readonly id: Schema.String;
|
|
2988
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2989
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
2990
|
+
}>;
|
|
2991
|
+
readonly resolvedAt: Schema.String;
|
|
2992
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2993
|
+
}>, Schema.Null]>;
|
|
2772
2994
|
readonly createdAt: Schema.String;
|
|
2773
2995
|
readonly updatedAt: Schema.String;
|
|
2774
2996
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -5897,6 +6119,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
5897
6119
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
5898
6120
|
readonly decidedAt: Schema.String;
|
|
5899
6121
|
}>, Schema.Null]>;
|
|
6122
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
6123
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
6124
|
+
readonly actor: Schema.Struct<{
|
|
6125
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
6126
|
+
readonly id: Schema.String;
|
|
6127
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6128
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
6129
|
+
}>;
|
|
6130
|
+
readonly resolvedAt: Schema.String;
|
|
6131
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6132
|
+
}>, Schema.Null]>;
|
|
5900
6133
|
readonly createdAt: Schema.String;
|
|
5901
6134
|
readonly updatedAt: Schema.String;
|
|
5902
6135
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -6008,6 +6241,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
6008
6241
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
6009
6242
|
readonly decidedAt: Schema.String;
|
|
6010
6243
|
}>, Schema.Null]>;
|
|
6244
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
6245
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
6246
|
+
readonly actor: Schema.Struct<{
|
|
6247
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
6248
|
+
readonly id: Schema.String;
|
|
6249
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6250
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
6251
|
+
}>;
|
|
6252
|
+
readonly resolvedAt: Schema.String;
|
|
6253
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6254
|
+
}>, Schema.Null]>;
|
|
6011
6255
|
readonly createdAt: Schema.String;
|
|
6012
6256
|
readonly updatedAt: Schema.String;
|
|
6013
6257
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -7659,6 +7903,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
7659
7903
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
7660
7904
|
readonly decidedAt: Schema.String;
|
|
7661
7905
|
}>, Schema.Null]>;
|
|
7906
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
7907
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
7908
|
+
readonly actor: Schema.Struct<{
|
|
7909
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
7910
|
+
readonly id: Schema.String;
|
|
7911
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
7912
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
7913
|
+
}>;
|
|
7914
|
+
readonly resolvedAt: Schema.String;
|
|
7915
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7916
|
+
}>, Schema.Null]>;
|
|
7662
7917
|
readonly createdAt: Schema.String;
|
|
7663
7918
|
readonly updatedAt: Schema.String;
|
|
7664
7919
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -7770,6 +8025,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
7770
8025
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
7771
8026
|
readonly decidedAt: Schema.String;
|
|
7772
8027
|
}>, Schema.Null]>;
|
|
8028
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
8029
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
8030
|
+
readonly actor: Schema.Struct<{
|
|
8031
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
8032
|
+
readonly id: Schema.String;
|
|
8033
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8034
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
8035
|
+
}>;
|
|
8036
|
+
readonly resolvedAt: Schema.String;
|
|
8037
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8038
|
+
}>, Schema.Null]>;
|
|
7773
8039
|
readonly createdAt: Schema.String;
|
|
7774
8040
|
readonly updatedAt: Schema.String;
|
|
7775
8041
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -8376,6 +8642,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
8376
8642
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
8377
8643
|
readonly decidedAt: Schema.String;
|
|
8378
8644
|
}>, Schema.Null]>;
|
|
8645
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
8646
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
8647
|
+
readonly actor: Schema.Struct<{
|
|
8648
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
8649
|
+
readonly id: Schema.String;
|
|
8650
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8651
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
8652
|
+
}>;
|
|
8653
|
+
readonly resolvedAt: Schema.String;
|
|
8654
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8655
|
+
}>, Schema.Null]>;
|
|
8379
8656
|
readonly createdAt: Schema.String;
|
|
8380
8657
|
readonly updatedAt: Schema.String;
|
|
8381
8658
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -8487,6 +8764,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
8487
8764
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
8488
8765
|
readonly decidedAt: Schema.String;
|
|
8489
8766
|
}>, Schema.Null]>;
|
|
8767
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
8768
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
8769
|
+
readonly actor: Schema.Struct<{
|
|
8770
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
8771
|
+
readonly id: Schema.String;
|
|
8772
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8773
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
8774
|
+
}>;
|
|
8775
|
+
readonly resolvedAt: Schema.String;
|
|
8776
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
8777
|
+
}>, Schema.Null]>;
|
|
8490
8778
|
readonly createdAt: Schema.String;
|
|
8491
8779
|
readonly updatedAt: Schema.String;
|
|
8492
8780
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|
|
@@ -9540,6 +9828,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
9540
9828
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
9541
9829
|
readonly decidedAt: Schema.String;
|
|
9542
9830
|
}>, Schema.Null]>;
|
|
9831
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
9832
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
9833
|
+
readonly actor: Schema.Struct<{
|
|
9834
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
9835
|
+
readonly id: Schema.String;
|
|
9836
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9837
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
9838
|
+
}>;
|
|
9839
|
+
readonly resolvedAt: Schema.String;
|
|
9840
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
9841
|
+
}>, Schema.Null]>;
|
|
9543
9842
|
readonly createdAt: Schema.String;
|
|
9544
9843
|
readonly updatedAt: Schema.String;
|
|
9545
9844
|
readonly type: Schema.Union<readonly [Schema.Literal<"sendMessage">, Schema.Literal<"reply">]>;
|
|
@@ -9651,6 +9950,17 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
|
|
|
9651
9950
|
readonly source: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"grant">, Schema.Literal<"installation">, Schema.Literal<"policy">]>, Schema.Null]>;
|
|
9652
9951
|
readonly decidedAt: Schema.String;
|
|
9653
9952
|
}>, Schema.Null]>;
|
|
9953
|
+
readonly resolution: Schema.Union<readonly [Schema.Struct<{
|
|
9954
|
+
readonly outcome: Schema.Union<readonly [Schema.Literal<"approved">, Schema.Literal<"denied">, Schema.Literal<"cancelled">]>;
|
|
9955
|
+
readonly actor: Schema.Struct<{
|
|
9956
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"apiKey">, Schema.Literal<"extension">, Schema.Literal<"externalAgent">, Schema.Literal<"samvaAgent">, Schema.Literal<"system">]>;
|
|
9957
|
+
readonly id: Schema.String;
|
|
9958
|
+
readonly displayName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9959
|
+
readonly source: Schema.Union<readonly [Schema.Literal<"humanUi">, Schema.Literal<"externalApi">, Schema.Literal<"externalAgent">, Schema.Literal<"extension">, Schema.Literal<"system">]>;
|
|
9960
|
+
}>;
|
|
9961
|
+
readonly resolvedAt: Schema.String;
|
|
9962
|
+
readonly reason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
9963
|
+
}>, Schema.Null]>;
|
|
9654
9964
|
readonly createdAt: Schema.String;
|
|
9655
9965
|
readonly updatedAt: Schema.String;
|
|
9656
9966
|
readonly type: Schema.Union<readonly [Schema.Literal<"updateDraft">, Schema.Literal<"createNote">, Schema.Literal<"assignThread">, Schema.Literal<"changeThreadState">, Schema.Literal<"call">, Schema.Literal<"extensionRequest">]>;
|