samva 0.35.0 → 0.36.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/AGENTS.md +17 -0
- package/README.md +1 -0
- package/dist/client/sdk.gen.d.ts +102 -82
- package/dist/client/sdk.gen.js +322 -244
- package/dist/client/types.gen.d.ts +600 -378
- package/dist/effect/agents.d.ts +194 -4
- package/dist/effect/agents.js +3 -1
- package/dist/effect/analytics.d.ts +6 -0
- package/dist/effect/api-keys.d.ts +3 -6
- package/dist/effect/campaigns.d.ts +216 -216
- package/dist/effect/conversations.d.ts +6 -0
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +53 -1
- package/dist/effect/generated/agents.d.ts +1803 -81
- package/dist/effect/generated/agents.js +92 -26
- package/dist/effect/generated/analytics.d.ts +19 -1
- package/dist/effect/generated/analytics.js +8 -2
- package/dist/effect/generated/api-keys.d.ts +4 -29
- package/dist/effect/generated/api-keys.js +5 -6
- package/dist/effect/generated/campaigns.d.ts +22 -0
- package/dist/effect/generated/campaigns.js +3 -1
- package/dist/effect/generated/conversations.d.ts +104 -3
- package/dist/effect/generated/conversations.js +12 -2
- package/dist/effect/generated/extension-installations.d.ts +845 -68
- package/dist/effect/generated/extension-installations.js +22 -26
- package/dist/effect/generated/index.d.ts +3 -1
- package/dist/effect/generated/mailboxes.d.ts +3423 -1446
- package/dist/effect/generated/mailboxes.js +226 -220
- package/dist/effect/generated/namespaces.d.ts +7 -31
- package/dist/effect/generated/namespaces.js +4 -4
- package/dist/effect/generated/policies.d.ts +953 -0
- package/dist/effect/generated/policies.js +116 -0
- package/dist/effect/generated/scheduled-messages.d.ts +45 -4
- package/dist/effect/generated/scheduled-messages.js +8 -3
- package/dist/effect/generated/shared.d.ts +893 -224
- package/dist/effect/generated/shared.js +194 -60
- package/dist/effect/generated/templates.d.ts +474 -668
- package/dist/effect/generated/templates.js +65 -45
- package/dist/effect/generated/webhooks.d.ts +22 -19
- package/dist/effect/generated/webhooks.js +10 -1
- package/dist/effect/generated/whoami.d.ts +0 -4
- package/dist/effect/generated-metadata.d.ts +36 -32
- package/dist/effect/generated-metadata.js +127 -105
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +3 -2
- package/dist/effect/internal/operation.js +5 -32
- package/dist/effect/journeys.d.ts +146 -146
- package/dist/effect/mailboxes.d.ts +575 -129
- package/dist/effect/mailboxes.js +1 -11
- package/dist/effect/policies.d.ts +65 -0
- package/dist/effect/policies.js +16 -0
- package/dist/effect/scheduled-messages.d.ts +6 -0
- package/dist/effect/templates.d.ts +6 -8
- package/dist/effect/templates.js +5 -3
- package/dist/effect/topics.d.ts +2 -2
- package/dist/effect/webhooks.d.ts +7 -4
- package/dist/index.js +2 -2
- package/dist/mailbox/test.js +11 -4
- package/dist/mailbox/types.d.ts +39 -3
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +3 -1
- package/dist/promises/client.js +5 -3
- package/dist/promises/errors.gen.d.ts +18 -2
- package/dist/promises/errors.gen.js +335 -33
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +30 -28
- package/dist/service-map.js +219 -786
- package/package.json +6 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, CampaignId, CampaignRunId, ConflictError, ConversationId, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, EmailAttachment, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch,
|
|
1
|
+
import { ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, CampaignId, CampaignRunId, ConflictError, ConversationId, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, EmailAttachment, FlagDisabledError, ForbiddenError, GatewayTimeoutError, IntegrationId, InternalError, JsonObject, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageId, NamespaceId, OnboardingReviewRequiredError, PaymentRequiredError, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicySubject, RateLimitedError, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ResourceNotFoundError, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SkippedRecipient, SuccessResponse, TemplateId, UnauthorizedError, UserId, ValidationError, WhatsAppBusinessAccountId, WhatsAppServiceWindowClosedError } from "./shared.js";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
// src/effect/generated/mailboxes.ts
|
|
@@ -64,7 +64,8 @@ const MailboxAgentActivity = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
64
64
|
Schema.Literal("changeThreadState"),
|
|
65
65
|
Schema.Literal("call"),
|
|
66
66
|
Schema.Literal("extensionRequest"),
|
|
67
|
-
Schema.Literal("toolCall")
|
|
67
|
+
Schema.Literal("toolCall"),
|
|
68
|
+
Schema.Literal("handoff")
|
|
68
69
|
]),
|
|
69
70
|
count: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
70
71
|
})),
|
|
@@ -218,7 +219,12 @@ const MailboxEmailEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
218
219
|
default: Schema.Boolean,
|
|
219
220
|
channel: Schema.Literal("email"),
|
|
220
221
|
source: Schema.Union([Schema.Literal("samvaHosted"), Schema.Literal("verifiedDomain")]),
|
|
221
|
-
domainId: Schema.Union([Schema.String, Schema.Null])
|
|
222
|
+
domainId: Schema.Union([Schema.String, Schema.Null]),
|
|
223
|
+
sendingStatus: Schema.Union([
|
|
224
|
+
Schema.Literal("pending"),
|
|
225
|
+
Schema.Literal("ready"),
|
|
226
|
+
Schema.Literal("failed")
|
|
227
|
+
]).annotate({ description: "Sending readiness. Pending means sending setup is incomplete. Send only when ready. If setup fails, contact support to recover the sending address." })
|
|
222
228
|
}).annotate({ identifier: "MailboxEmailEndpoint" }))();
|
|
223
229
|
const MailboxThreadMailbox = /* @__PURE__ */ (() => Schema.Struct({
|
|
224
230
|
id: MailboxId,
|
|
@@ -232,6 +238,46 @@ const MailboxCopiedAttachment = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
232
238
|
contentType: Schema.String,
|
|
233
239
|
size: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(26214400).annotate({ expected: "a value less than or equal to 26214400" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" }))
|
|
234
240
|
}).annotate({ identifier: "MailboxCopiedAttachment" }))();
|
|
241
|
+
const PolicyAction = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
|
|
242
|
+
effect: PolicyEffect,
|
|
243
|
+
resource: Schema.Struct({
|
|
244
|
+
mailboxId: MailboxId,
|
|
245
|
+
channel: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
246
|
+
Schema.Literal("sms"),
|
|
247
|
+
Schema.Literal("whatsapp"),
|
|
248
|
+
Schema.Literal("email")
|
|
249
|
+
]), Schema.Null])),
|
|
250
|
+
integration: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
251
|
+
integrationId: Schema.optionalKey(Schema.Union([IntegrationId, Schema.Null])),
|
|
252
|
+
tool: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null]))
|
|
253
|
+
}),
|
|
254
|
+
facts: JsonObject,
|
|
255
|
+
kind: Schema.Union([
|
|
256
|
+
Schema.Literal("send"),
|
|
257
|
+
Schema.Literal("reply"),
|
|
258
|
+
Schema.Literal("toolCall")
|
|
259
|
+
]),
|
|
260
|
+
args: JsonValue
|
|
261
|
+
}), Schema.Struct({
|
|
262
|
+
effect: PolicyEffect,
|
|
263
|
+
resource: Schema.Struct({
|
|
264
|
+
mailboxId: MailboxId,
|
|
265
|
+
channel: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
266
|
+
Schema.Literal("sms"),
|
|
267
|
+
Schema.Literal("whatsapp"),
|
|
268
|
+
Schema.Literal("email")
|
|
269
|
+
]), Schema.Null])),
|
|
270
|
+
integration: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
271
|
+
integrationId: Schema.optionalKey(Schema.Union([IntegrationId, Schema.Null])),
|
|
272
|
+
tool: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null]))
|
|
273
|
+
}),
|
|
274
|
+
facts: JsonObject,
|
|
275
|
+
kind: Schema.Literal("handoff"),
|
|
276
|
+
args: Schema.Struct({
|
|
277
|
+
reason: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
278
|
+
draft: Schema.optionalKey(Schema.Union([JsonValue, Schema.Null]))
|
|
279
|
+
})
|
|
280
|
+
})]).annotate({ identifier: "PolicyAction" }))();
|
|
235
281
|
const MailboxWhatsAppEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
236
282
|
id: MailboxEndpointId,
|
|
237
283
|
address: Schema.String,
|
|
@@ -253,6 +299,11 @@ const MailboxSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
253
299
|
name: Schema.String,
|
|
254
300
|
status: MailboxStatus,
|
|
255
301
|
primaryAddress: Schema.Union([Schema.String, Schema.Null]),
|
|
302
|
+
sendingStatus: Schema.Union([Schema.Union([
|
|
303
|
+
Schema.Literal("pending"),
|
|
304
|
+
Schema.Literal("ready"),
|
|
305
|
+
Schema.Literal("failed")
|
|
306
|
+
]), Schema.Null]),
|
|
256
307
|
createdAt: Schema.String
|
|
257
308
|
}).annotate({ identifier: "MailboxSummary" }))();
|
|
258
309
|
const MailboxSmsEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
@@ -389,7 +440,6 @@ const MailboxGrant = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
389
440
|
Schema.Literal("quarantine:read"),
|
|
390
441
|
Schema.Literal("quarantine:release")
|
|
391
442
|
])),
|
|
392
|
-
sendMode: MailboxSendMode,
|
|
393
443
|
createdAt: Schema.String
|
|
394
444
|
}).annotate({ identifier: "MailboxGrant" }))();
|
|
395
445
|
const MailboxLabel = /* @__PURE__ */ (() => Schema.Struct({
|
|
@@ -497,15 +547,6 @@ const MailboxChatMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
497
547
|
summary: Schema.Union([Schema.String, Schema.Null]),
|
|
498
548
|
contextMessageId: Schema.Union([MessageId, Schema.Null])
|
|
499
549
|
}).annotate({ identifier: "MailboxChatMessage" }))();
|
|
500
|
-
const MailboxPolicy = /* @__PURE__ */ (() => Schema.Struct({
|
|
501
|
-
id: MailboxPolicyId,
|
|
502
|
-
name: Schema.String,
|
|
503
|
-
outcome: MailboxPolicyOutcomeKind,
|
|
504
|
-
reason: Schema.Union([Schema.String, Schema.Null]),
|
|
505
|
-
enabled: Schema.Boolean,
|
|
506
|
-
createdAt: Schema.String,
|
|
507
|
-
updatedAt: Schema.String
|
|
508
|
-
}).annotate({ identifier: "MailboxPolicy" }))();
|
|
509
550
|
const MailboxThreadSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
510
551
|
id: MailboxThreadId,
|
|
511
552
|
channel: MailboxChannel,
|
|
@@ -630,50 +671,6 @@ const OrganizationMailboxDraftSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
630
671
|
updatedAt: Schema.String,
|
|
631
672
|
mailbox: MailboxThreadMailbox
|
|
632
673
|
}).annotate({ identifier: "OrganizationMailboxDraftSummary" }))();
|
|
633
|
-
const MailboxNeedsYouItem = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
|
|
634
|
-
type: Schema.Literal("heldSend"),
|
|
635
|
-
id: MailboxActionId,
|
|
636
|
-
mailbox: MailboxThreadMailbox,
|
|
637
|
-
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
638
|
-
draftId: Schema.Union([MailboxDraftId, Schema.Null]),
|
|
639
|
-
proposedBy: Schema.Struct({
|
|
640
|
-
kind: Schema.Union([
|
|
641
|
-
Schema.Literal("user"),
|
|
642
|
-
Schema.Literal("apiKey"),
|
|
643
|
-
Schema.Literal("extension"),
|
|
644
|
-
Schema.Literal("externalAgent"),
|
|
645
|
-
Schema.Literal("samvaAgent"),
|
|
646
|
-
Schema.Literal("system")
|
|
647
|
-
]),
|
|
648
|
-
id: Schema.String,
|
|
649
|
-
displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
650
|
-
}),
|
|
651
|
-
source: Schema.Union([
|
|
652
|
-
Schema.Literal("humanUi"),
|
|
653
|
-
Schema.Literal("externalApi"),
|
|
654
|
-
Schema.Literal("aiSdkTool"),
|
|
655
|
-
Schema.Literal("extension"),
|
|
656
|
-
Schema.Literal("externalAgent"),
|
|
657
|
-
Schema.Literal("samvaManagedAgent"),
|
|
658
|
-
Schema.Literal("system")
|
|
659
|
-
]),
|
|
660
|
-
createdAt: Schema.String
|
|
661
|
-
}), Schema.Struct({
|
|
662
|
-
type: Schema.Literal("quarantinedMessage"),
|
|
663
|
-
id: MessageId,
|
|
664
|
-
mailbox: MailboxThreadMailbox,
|
|
665
|
-
reason: Schema.Union([
|
|
666
|
-
Schema.Literal("spam"),
|
|
667
|
-
Schema.Literal("dmarc"),
|
|
668
|
-
Schema.Literal("virus"),
|
|
669
|
-
Schema.Literal("virus_unscanned"),
|
|
670
|
-
Schema.Literal("phishing"),
|
|
671
|
-
Schema.Literal("fraud"),
|
|
672
|
-
Schema.Literal("prompt_injection")
|
|
673
|
-
]),
|
|
674
|
-
source: Schema.Union([Schema.Literal("receipt"), Schema.Literal("classifier")]),
|
|
675
|
-
heldAt: Schema.String
|
|
676
|
-
})]).annotate({ identifier: "MailboxNeedsYouItem" }))();
|
|
677
674
|
const OrganizationMailboxThreadSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
678
675
|
id: MailboxThreadId,
|
|
679
676
|
channel: MailboxChannel,
|
|
@@ -743,6 +740,70 @@ const MailboxEmailDraft = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
743
740
|
text: Schema.Union([Schema.String, Schema.Null]),
|
|
744
741
|
attachments: Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }))
|
|
745
742
|
}).annotate({ identifier: "MailboxEmailDraft" }))();
|
|
743
|
+
const PolicyDecision = /* @__PURE__ */ (() => Schema.Struct({
|
|
744
|
+
requirement: PolicyRequirement,
|
|
745
|
+
decider: PolicyDecider,
|
|
746
|
+
outcome: Schema.Union([
|
|
747
|
+
Schema.Literal("allow"),
|
|
748
|
+
Schema.Literal("hold"),
|
|
749
|
+
Schema.Literal("refuse")
|
|
750
|
+
]),
|
|
751
|
+
reason: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
752
|
+
scopes: Schema.Array(Schema.Struct({
|
|
753
|
+
kind: Schema.Union([
|
|
754
|
+
Schema.Literal("organization"),
|
|
755
|
+
Schema.Literal("mailbox"),
|
|
756
|
+
Schema.Literal("agent"),
|
|
757
|
+
Schema.Literal("apiKey")
|
|
758
|
+
]),
|
|
759
|
+
id: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
760
|
+
})),
|
|
761
|
+
rule: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
762
|
+
scope: Schema.Struct({
|
|
763
|
+
kind: Schema.Union([
|
|
764
|
+
Schema.Literal("organization"),
|
|
765
|
+
Schema.Literal("mailbox"),
|
|
766
|
+
Schema.Literal("agent"),
|
|
767
|
+
Schema.Literal("apiKey")
|
|
768
|
+
]),
|
|
769
|
+
id: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
770
|
+
}),
|
|
771
|
+
index: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
772
|
+
}), Schema.Null])),
|
|
773
|
+
guard: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
774
|
+
guardReason: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
775
|
+
id: PolicyDecisionId,
|
|
776
|
+
reviewRound: PolicyReviewRound,
|
|
777
|
+
subject: PolicySubject,
|
|
778
|
+
action: PolicyAction,
|
|
779
|
+
judge: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
780
|
+
model: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
781
|
+
instructionVersion: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
782
|
+
instructionHash: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
783
|
+
ms: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })),
|
|
784
|
+
usage: JsonObject
|
|
785
|
+
}), Schema.Null])),
|
|
786
|
+
resolution: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
787
|
+
by: UserId,
|
|
788
|
+
at: Schema.String,
|
|
789
|
+
as: Schema.Union([
|
|
790
|
+
Schema.Literal("approved"),
|
|
791
|
+
Schema.Literal("edited"),
|
|
792
|
+
Schema.Literal("denied"),
|
|
793
|
+
Schema.Literal("alwaysAllowed")
|
|
794
|
+
]),
|
|
795
|
+
diff: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
796
|
+
text: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
797
|
+
before: Schema.Union([Schema.String, Schema.Null]),
|
|
798
|
+
after: Schema.Union([Schema.String, Schema.Null])
|
|
799
|
+
}), Schema.Null])),
|
|
800
|
+
html: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
801
|
+
before: Schema.Union([Schema.String, Schema.Null]),
|
|
802
|
+
after: Schema.Union([Schema.String, Schema.Null])
|
|
803
|
+
}), Schema.Null]))
|
|
804
|
+
}), Schema.Null]))
|
|
805
|
+
}), Schema.Null]))
|
|
806
|
+
}).annotate({ identifier: "PolicyDecision" }))();
|
|
746
807
|
const MailboxPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
747
808
|
items: Schema.Array(MailboxSummary),
|
|
748
809
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -792,7 +853,8 @@ const MailboxNonSendAction = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
792
853
|
Schema.Literal("changeThreadState"),
|
|
793
854
|
Schema.Literal("call"),
|
|
794
855
|
Schema.Literal("extensionRequest"),
|
|
795
|
-
Schema.Literal("toolCall")
|
|
856
|
+
Schema.Literal("toolCall"),
|
|
857
|
+
Schema.Literal("handoff")
|
|
796
858
|
]),
|
|
797
859
|
state: Schema.Union([
|
|
798
860
|
Schema.Literal("proposed"),
|
|
@@ -876,7 +938,6 @@ const MailboxMessagePage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
876
938
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
877
939
|
}).annotate({ identifier: "MailboxMessagePage" }))();
|
|
878
940
|
const MailboxMessage = /* @__PURE__ */ (() => Schema.Union([MailboxEmailMessage, MailboxChatMessage]).annotate({ identifier: "MailboxMessage" }))();
|
|
879
|
-
const MailboxPolicyList = /* @__PURE__ */ (() => Schema.Struct({ items: Schema.Array(MailboxPolicy) }).annotate({ identifier: "MailboxPolicyList" }))();
|
|
880
941
|
const MailboxThreadPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
881
942
|
items: Schema.Array(MailboxThreadSummary),
|
|
882
943
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -889,15 +950,6 @@ const OrganizationMailboxDraftPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
889
950
|
items: Schema.Array(OrganizationMailboxDraftSummary),
|
|
890
951
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
891
952
|
}).annotate({ identifier: "OrganizationMailboxDraftPage" }))();
|
|
892
|
-
const MailboxNeedsYou = /* @__PURE__ */ (() => Schema.Struct({
|
|
893
|
-
items: Schema.Array(MailboxNeedsYouItem),
|
|
894
|
-
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
895
|
-
counts: Schema.Struct({
|
|
896
|
-
heldSends: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
897
|
-
quarantinedMessages: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
898
|
-
total: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
899
|
-
}).annotate({ description: "All items this caller may decide, independent of the current page." })
|
|
900
|
-
}).annotate({ identifier: "MailboxNeedsYou" }))();
|
|
901
953
|
const OrganizationMailboxThreadPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
902
954
|
items: Schema.Array(OrganizationMailboxThreadSummary),
|
|
903
955
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -912,6 +964,11 @@ const Mailbox = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
912
964
|
name: Schema.String,
|
|
913
965
|
status: MailboxStatus,
|
|
914
966
|
primaryAddress: Schema.Union([Schema.String, Schema.Null]),
|
|
967
|
+
sendingStatus: Schema.Union([Schema.Union([
|
|
968
|
+
Schema.Literal("pending"),
|
|
969
|
+
Schema.Literal("ready"),
|
|
970
|
+
Schema.Literal("failed")
|
|
971
|
+
]), Schema.Null]),
|
|
915
972
|
createdAt: Schema.String,
|
|
916
973
|
description: Schema.Union([Schema.String, Schema.Null]),
|
|
917
974
|
metadata: MailboxMetadata,
|
|
@@ -964,8 +1021,76 @@ const MailboxSendAction = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
964
1021
|
send: MailboxSendReceipt,
|
|
965
1022
|
intent: Schema.Union([MailboxSendSnapshot, Schema.Null])
|
|
966
1023
|
}).annotate({ identifier: "MailboxSendAction" }))();
|
|
1024
|
+
const MailboxNeedsYouItem = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
|
|
1025
|
+
type: Schema.Literal("heldAction"),
|
|
1026
|
+
actionType: Schema.Union([
|
|
1027
|
+
Schema.Literal("sendMessage"),
|
|
1028
|
+
Schema.Literal("reply"),
|
|
1029
|
+
Schema.Literal("updateDraft"),
|
|
1030
|
+
Schema.Literal("createNote"),
|
|
1031
|
+
Schema.Literal("assignThread"),
|
|
1032
|
+
Schema.Literal("changeThreadState"),
|
|
1033
|
+
Schema.Literal("call"),
|
|
1034
|
+
Schema.Literal("extensionRequest"),
|
|
1035
|
+
Schema.Literal("toolCall"),
|
|
1036
|
+
Schema.Literal("handoff")
|
|
1037
|
+
]),
|
|
1038
|
+
decision: PolicyDecision,
|
|
1039
|
+
tool: Schema.Union([MailboxToolCall, Schema.Null]),
|
|
1040
|
+
intent: Schema.Union([MailboxSendSnapshot, Schema.Null]),
|
|
1041
|
+
id: MailboxActionId,
|
|
1042
|
+
mailbox: MailboxThreadMailbox,
|
|
1043
|
+
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
1044
|
+
draftId: Schema.Union([MailboxDraftId, Schema.Null]),
|
|
1045
|
+
proposedBy: Schema.Struct({
|
|
1046
|
+
kind: Schema.Union([
|
|
1047
|
+
Schema.Literal("user"),
|
|
1048
|
+
Schema.Literal("apiKey"),
|
|
1049
|
+
Schema.Literal("extension"),
|
|
1050
|
+
Schema.Literal("externalAgent"),
|
|
1051
|
+
Schema.Literal("samvaAgent"),
|
|
1052
|
+
Schema.Literal("system")
|
|
1053
|
+
]),
|
|
1054
|
+
id: Schema.String,
|
|
1055
|
+
displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
1056
|
+
}),
|
|
1057
|
+
source: Schema.Union([
|
|
1058
|
+
Schema.Literal("humanUi"),
|
|
1059
|
+
Schema.Literal("externalApi"),
|
|
1060
|
+
Schema.Literal("aiSdkTool"),
|
|
1061
|
+
Schema.Literal("extension"),
|
|
1062
|
+
Schema.Literal("externalAgent"),
|
|
1063
|
+
Schema.Literal("samvaManagedAgent"),
|
|
1064
|
+
Schema.Literal("system")
|
|
1065
|
+
]),
|
|
1066
|
+
createdAt: Schema.String
|
|
1067
|
+
}), Schema.Struct({
|
|
1068
|
+
type: Schema.Literal("quarantinedMessage"),
|
|
1069
|
+
id: MessageId,
|
|
1070
|
+
mailbox: MailboxThreadMailbox,
|
|
1071
|
+
reason: Schema.Union([
|
|
1072
|
+
Schema.Literal("spam"),
|
|
1073
|
+
Schema.Literal("dmarc"),
|
|
1074
|
+
Schema.Literal("virus"),
|
|
1075
|
+
Schema.Literal("virus_unscanned"),
|
|
1076
|
+
Schema.Literal("phishing"),
|
|
1077
|
+
Schema.Literal("fraud"),
|
|
1078
|
+
Schema.Literal("prompt_injection")
|
|
1079
|
+
]),
|
|
1080
|
+
source: Schema.Union([Schema.Literal("receipt"), Schema.Literal("classifier")]),
|
|
1081
|
+
heldAt: Schema.String
|
|
1082
|
+
})]).annotate({ identifier: "MailboxNeedsYouItem" }))();
|
|
967
1083
|
const MailboxAction = /* @__PURE__ */ (() => Schema.Union([MailboxSendAction, MailboxNonSendAction]).annotate({ identifier: "MailboxAction" }))();
|
|
968
1084
|
const MailboxPendingAction = /* @__PURE__ */ (() => Schema.Union([MailboxSendAction, MailboxNonSendAction]).annotate({ identifier: "MailboxPendingAction" }))();
|
|
1085
|
+
const MailboxNeedsYou = /* @__PURE__ */ (() => Schema.Struct({
|
|
1086
|
+
items: Schema.Array(MailboxNeedsYouItem),
|
|
1087
|
+
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
1088
|
+
counts: Schema.Struct({
|
|
1089
|
+
heldActions: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1090
|
+
quarantinedMessages: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1091
|
+
total: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1092
|
+
}).annotate({ description: "All items this caller may decide, independent of the current page." })
|
|
1093
|
+
}).annotate({ identifier: "MailboxNeedsYou" }))();
|
|
969
1094
|
const MailboxActionPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
970
1095
|
items: Schema.Array(MailboxAction),
|
|
971
1096
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -974,7 +1099,8 @@ const MailboxesListQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
974
1099
|
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
975
1100
|
cursor: Schema.optionalKey(Schema.String),
|
|
976
1101
|
after: Schema.optionalKey(Schema.String),
|
|
977
|
-
before: Schema.optionalKey(Schema.String)
|
|
1102
|
+
before: Schema.optionalKey(Schema.String),
|
|
1103
|
+
namespaceId: Schema.optionalKey(NamespaceId)
|
|
978
1104
|
}))();
|
|
979
1105
|
const MailboxesList200 = MailboxPage;
|
|
980
1106
|
const MailboxesList400 = MalformedRequestError;
|
|
@@ -983,6 +1109,7 @@ const MailboxesList403 = ForbiddenError;
|
|
|
983
1109
|
const MailboxesList422 = ValidationError;
|
|
984
1110
|
const MailboxesList500 = InternalError;
|
|
985
1111
|
const MailboxesList504 = GatewayTimeoutError;
|
|
1112
|
+
const MailboxesCreateHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.annotate({ description: "Optional key that makes mailbox creation idempotent for the calling key or member. The same key and body return the original mailbox in its current state. A different body with the same key returns 409. Keep the key after a lost response; it remains bound for the mailbox's lifetime." }).check(Schema.isPattern(new globalThis.RegExp("^[\\s\\S]{1,255}$")).annotate({ expected: "a string matching the RegExp ^[\\s\\S]{1,255}$" }))) }))();
|
|
986
1113
|
const MailboxesCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
987
1114
|
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
|
|
988
1115
|
endpoint: CreateMailboxEndpointPayload,
|
|
@@ -1081,6 +1208,14 @@ const MailboxesApproveActionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1081
1208
|
id: MailboxId,
|
|
1082
1209
|
actionId: MailboxActionId
|
|
1083
1210
|
}))();
|
|
1211
|
+
const MailboxesApproveActionRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1212
|
+
reviewRound: PolicyReviewRound,
|
|
1213
|
+
always: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1214
|
+
edits: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1215
|
+
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1216
|
+
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
1217
|
+
}), Schema.Null]))
|
|
1218
|
+
}))();
|
|
1084
1219
|
const MailboxesApproveAction200 = MailboxAction;
|
|
1085
1220
|
const MailboxesApproveAction202 = MailboxPendingAction;
|
|
1086
1221
|
const MailboxesApproveAction400 = MalformedRequestError;
|
|
@@ -1127,7 +1262,10 @@ const MailboxesDenyActionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1127
1262
|
id: MailboxId,
|
|
1128
1263
|
actionId: MailboxActionId
|
|
1129
1264
|
}))();
|
|
1130
|
-
const MailboxesDenyActionRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1265
|
+
const MailboxesDenyActionRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1266
|
+
reviewRound: PolicyReviewRound,
|
|
1267
|
+
reason: Schema.String
|
|
1268
|
+
}))();
|
|
1131
1269
|
const MailboxesDenyAction200 = MailboxAction;
|
|
1132
1270
|
const MailboxesDenyAction400 = MalformedRequestError;
|
|
1133
1271
|
const MailboxesDenyAction401 = UnauthorizedError;
|
|
@@ -1351,8 +1489,7 @@ const MailboxesListGrants504 = GatewayTimeoutError;
|
|
|
1351
1489
|
const MailboxesCreateGrantPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1352
1490
|
const MailboxesCreateGrantRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1353
1491
|
userId: UserId,
|
|
1354
|
-
role: MailboxGrantRole
|
|
1355
|
-
sendMode: Schema.optionalKey(Schema.Union([MailboxSendMode, Schema.Null]))
|
|
1492
|
+
role: MailboxGrantRole
|
|
1356
1493
|
}))();
|
|
1357
1494
|
const MailboxesCreateGrant201 = MailboxGrant;
|
|
1358
1495
|
const MailboxesCreateGrant400 = MalformedRequestError;
|
|
@@ -1380,10 +1517,7 @@ const MailboxesUpdateGrantPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1380
1517
|
id: MailboxId,
|
|
1381
1518
|
grantId: MailboxGrantId
|
|
1382
1519
|
}))();
|
|
1383
|
-
const MailboxesUpdateGrantRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1384
|
-
role: Schema.optionalKey(Schema.Union([MailboxGrantRole, Schema.Null])),
|
|
1385
|
-
sendMode: Schema.optionalKey(Schema.Union([MailboxSendMode, Schema.Null]))
|
|
1386
|
-
}))();
|
|
1520
|
+
const MailboxesUpdateGrantRequestJson = /* @__PURE__ */ (() => Schema.Struct({ role: Schema.optionalKey(Schema.Union([MailboxGrantRole, Schema.Null])) }))();
|
|
1387
1521
|
const MailboxesUpdateGrant200 = MailboxGrant;
|
|
1388
1522
|
const MailboxesUpdateGrant400 = MalformedRequestError;
|
|
1389
1523
|
const MailboxesUpdateGrant401 = UnauthorizedError;
|
|
@@ -1650,73 +1784,6 @@ const MailboxesPause404 = ResourceNotFoundError;
|
|
|
1650
1784
|
const MailboxesPause422 = ValidationError;
|
|
1651
1785
|
const MailboxesPause500 = InternalError;
|
|
1652
1786
|
const MailboxesPause504 = GatewayTimeoutError;
|
|
1653
|
-
const MailboxesListPoliciesPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1654
|
-
const MailboxesListPolicies200 = MailboxPolicyList;
|
|
1655
|
-
const MailboxesListPolicies400 = MalformedRequestError;
|
|
1656
|
-
const MailboxesListPolicies401 = UnauthorizedError;
|
|
1657
|
-
const MailboxesListPolicies403 = ForbiddenError;
|
|
1658
|
-
const MailboxesListPolicies404 = ResourceNotFoundError;
|
|
1659
|
-
const MailboxesListPolicies422 = ValidationError;
|
|
1660
|
-
const MailboxesListPolicies500 = InternalError;
|
|
1661
|
-
const MailboxesListPolicies504 = GatewayTimeoutError;
|
|
1662
|
-
const MailboxesCreatePolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1663
|
-
const MailboxesCreatePolicyRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1664
|
-
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\S[\\s\\S]*\\S$|^\\S$|^$", "u")).annotate({ expected: "a string matching the RegExp ^\\S[\\s\\S]*\\S$|^\\S$|^$" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
1665
|
-
outcome: MailboxPolicyOutcomeKind,
|
|
1666
|
-
reason: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })), Schema.Null])),
|
|
1667
|
-
enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
1668
|
-
}))();
|
|
1669
|
-
const MailboxesCreatePolicy201 = MailboxPolicy;
|
|
1670
|
-
const MailboxesCreatePolicy400 = MalformedRequestError;
|
|
1671
|
-
const MailboxesCreatePolicy401 = UnauthorizedError;
|
|
1672
|
-
const MailboxesCreatePolicy403 = ForbiddenError;
|
|
1673
|
-
const MailboxesCreatePolicy404 = ResourceNotFoundError;
|
|
1674
|
-
const MailboxesCreatePolicy409 = ConflictError;
|
|
1675
|
-
const MailboxesCreatePolicy422 = ValidationError;
|
|
1676
|
-
const MailboxesCreatePolicy500 = InternalError;
|
|
1677
|
-
const MailboxesCreatePolicy504 = GatewayTimeoutError;
|
|
1678
|
-
const MailboxesGetPolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1679
|
-
id: MailboxId,
|
|
1680
|
-
policyId: MailboxPolicyId
|
|
1681
|
-
}))();
|
|
1682
|
-
const MailboxesGetPolicy200 = MailboxPolicy;
|
|
1683
|
-
const MailboxesGetPolicy400 = MalformedRequestError;
|
|
1684
|
-
const MailboxesGetPolicy401 = UnauthorizedError;
|
|
1685
|
-
const MailboxesGetPolicy403 = ForbiddenError;
|
|
1686
|
-
const MailboxesGetPolicy404 = ResourceNotFoundError;
|
|
1687
|
-
const MailboxesGetPolicy422 = ValidationError;
|
|
1688
|
-
const MailboxesGetPolicy500 = InternalError;
|
|
1689
|
-
const MailboxesGetPolicy504 = GatewayTimeoutError;
|
|
1690
|
-
const MailboxesDeletePolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1691
|
-
id: MailboxId,
|
|
1692
|
-
policyId: MailboxPolicyId
|
|
1693
|
-
}))();
|
|
1694
|
-
const MailboxesDeletePolicy200 = SuccessResponse;
|
|
1695
|
-
const MailboxesDeletePolicy400 = MalformedRequestError;
|
|
1696
|
-
const MailboxesDeletePolicy401 = UnauthorizedError;
|
|
1697
|
-
const MailboxesDeletePolicy403 = ForbiddenError;
|
|
1698
|
-
const MailboxesDeletePolicy404 = ResourceNotFoundError;
|
|
1699
|
-
const MailboxesDeletePolicy422 = ValidationError;
|
|
1700
|
-
const MailboxesDeletePolicy500 = InternalError;
|
|
1701
|
-
const MailboxesDeletePolicy504 = GatewayTimeoutError;
|
|
1702
|
-
const MailboxesUpdatePolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1703
|
-
id: MailboxId,
|
|
1704
|
-
policyId: MailboxPolicyId
|
|
1705
|
-
}))();
|
|
1706
|
-
const MailboxesUpdatePolicyRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1707
|
-
name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\S[\\s\\S]*\\S$|^\\S$|^$", "u")).annotate({ expected: "a string matching the RegExp ^\\S[\\s\\S]*\\S$|^\\S$|^$" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })), Schema.Null])),
|
|
1708
|
-
outcome: Schema.optionalKey(Schema.Union([MailboxPolicyOutcomeKind, Schema.Null])),
|
|
1709
|
-
reason: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })), Schema.Null])),
|
|
1710
|
-
enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
1711
|
-
}))();
|
|
1712
|
-
const MailboxesUpdatePolicy200 = MailboxPolicy;
|
|
1713
|
-
const MailboxesUpdatePolicy400 = MalformedRequestError;
|
|
1714
|
-
const MailboxesUpdatePolicy401 = UnauthorizedError;
|
|
1715
|
-
const MailboxesUpdatePolicy403 = ForbiddenError;
|
|
1716
|
-
const MailboxesUpdatePolicy404 = ResourceNotFoundError;
|
|
1717
|
-
const MailboxesUpdatePolicy422 = ValidationError;
|
|
1718
|
-
const MailboxesUpdatePolicy500 = InternalError;
|
|
1719
|
-
const MailboxesUpdatePolicy504 = GatewayTimeoutError;
|
|
1720
1787
|
const MailboxesListQuarantinePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1721
1788
|
const MailboxesListQuarantineQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1722
1789
|
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
@@ -1747,7 +1814,7 @@ const MailboxesListThreadsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1747
1814
|
cursor: Schema.optionalKey(Schema.String),
|
|
1748
1815
|
after: Schema.optionalKey(Schema.String),
|
|
1749
1816
|
before: Schema.optionalKey(Schema.String),
|
|
1750
|
-
q: Schema.optionalKey(Schema.String),
|
|
1817
|
+
q: Schema.optionalKey(Schema.String.annotate({ description: "Search subjects, participants, message text, and attachment filenames by semantic and keyword relevance. Filters narrow the search. Returns up to 100 best-matching threads across cursor pages; omit q to list by recent activity. New mail can take a few seconds to become searchable. Attachment contents are not searched." })),
|
|
1751
1818
|
state: Schema.optionalKey(Schema.Union([Schema.Literal("active"), Schema.Literal("done")])),
|
|
1752
1819
|
folder: Schema.optionalKey(MailboxThreadFolder),
|
|
1753
1820
|
label: Schema.optionalKey(MailboxLabelId),
|
|
@@ -1949,7 +2016,7 @@ const MailboxesListOrganizationThreadsQuery = /* @__PURE__ */ (() => Schema.Stru
|
|
|
1949
2016
|
cursor: Schema.optionalKey(Schema.String),
|
|
1950
2017
|
after: Schema.optionalKey(Schema.String),
|
|
1951
2018
|
before: Schema.optionalKey(Schema.String),
|
|
1952
|
-
q: Schema.optionalKey(Schema.String),
|
|
2019
|
+
q: Schema.optionalKey(Schema.String.annotate({ description: "Search subjects, participants, message text, and attachment filenames by semantic and keyword relevance. Filters narrow the search. Returns up to 100 best-matching threads across cursor pages; omit q to list by recent activity. New mail can take a few seconds to become searchable. Attachment contents are not searched." })),
|
|
1953
2020
|
state: Schema.optionalKey(Schema.Union([Schema.Literal("active"), Schema.Literal("done")])),
|
|
1954
2021
|
folder: Schema.optionalKey(MailboxThreadFolder),
|
|
1955
2022
|
label: Schema.optionalKey(MailboxLabelId),
|
|
@@ -1979,7 +2046,8 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1979
2046
|
MailboxesList500,
|
|
1980
2047
|
MailboxesList504.pipe(HttpApiSchema.status(504))
|
|
1981
2048
|
]
|
|
1982
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.list").annotate(OpenApi.Summary, "List mailboxes").annotate(OpenApi.Description, "Returns summaries of the mailboxes the caller can read, newest first, filterable by creation time (`after`, `before`). Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. Read a mailbox's endpoints and metadata with `GET /v1/mailboxes/{id}`."), HttpApiEndpoint.post("mailboxesCreate", "/v1/mailboxes", {
|
|
2049
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.list").annotate(OpenApi.Summary, "List mailboxes").annotate(OpenApi.Description, "Returns summaries of the mailboxes the caller can read, newest first, filterable by namespace (`namespaceId`) and creation time (`after`, `before`). Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. Read a mailbox's endpoints and metadata with `GET /v1/mailboxes/{id}`."), HttpApiEndpoint.post("mailboxesCreate", "/v1/mailboxes", {
|
|
2050
|
+
headers: MailboxesCreateHeaders,
|
|
1983
2051
|
payload: MailboxesCreateRequestJson,
|
|
1984
2052
|
success: MailboxesCreate201.pipe(HttpApiSchema.status(201)),
|
|
1985
2053
|
error: [
|
|
@@ -1994,7 +2062,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1994
2062
|
MailboxesCreate502.pipe(HttpApiSchema.status(502)),
|
|
1995
2063
|
MailboxesCreate504.pipe(HttpApiSchema.status(504))
|
|
1996
2064
|
]
|
|
1997
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.create").annotate(OpenApi.Summary, "Create a mailbox").annotate(OpenApi.Description, "Creates a mailbox with one endpoint and returns it with status 201; the caller gets an admin grant on it. An email endpoint's address must be under the organization's Samva-hosted mail domain or a verified domain with receiving enabled, and the mailbox sends from it. A phone endpoint's address is a number the organization connected on that channel, in E.164 form. The slug defaults to the address's local part, or a phone number's digits. Pass `slug` when that is taken or not a valid slug. The mailbox receives mail from now on; mail that arrived earlier is not added to it. Conflicts if the address or slug is already in use. Returns 402 when the organization is at its plan's mailbox allowance or at its mailbox storage allowance; incoming mail is still received past the storage allowance."), HttpApiEndpoint.get("mailboxesGet", "/v1/mailboxes/:id", {
|
|
2065
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.create").annotate(OpenApi.Summary, "Create a mailbox").annotate(OpenApi.Description, "Creates a mailbox with one endpoint and returns it with status 201; the caller gets an admin grant on it. An email endpoint's address must be under the organization's Samva-hosted mail domain or a verified domain with receiving enabled, and the mailbox sends from it once its sendingStatus is ready. Hosted addresses return pending while sending setup completes. A phone endpoint's address is a number the organization connected on that channel, in E.164 form. The slug defaults to the address's local part, or a phone number's digits. Pass `slug` when that is taken or not a valid slug. The mailbox receives mail from now on; mail that arrived earlier is not added to it. Pass Idempotency-Key to retry safely: the same key and body return the original mailbox in its current state; a changed body returns 409. Conflicts if the address or slug is already in use. Returns 402 when the organization is at its plan's mailbox allowance or at its mailbox storage allowance; incoming mail is still received past the storage allowance."), HttpApiEndpoint.get("mailboxesGet", "/v1/mailboxes/:id", {
|
|
1998
2066
|
params: MailboxesGetPathParams,
|
|
1999
2067
|
success: MailboxesGet200,
|
|
2000
2068
|
error: [
|
|
@@ -2045,7 +2113,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2045
2113
|
MailboxesListActions500,
|
|
2046
2114
|
MailboxesListActions504.pipe(HttpApiSchema.status(504))
|
|
2047
2115
|
]
|
|
2048
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listActions").annotate(OpenApi.Summary, "List mailbox actions").annotate(OpenApi.Description, "Returns the actions proposed on a mailbox, newest first, filterable by `threadId`, `state` (`approvalRequired` lists the
|
|
2116
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listActions").annotate(OpenApi.Summary, "List mailbox actions").annotate(OpenApi.Description, "Returns the actions proposed on a mailbox, newest first, filterable by `threadId`, `state` (`approvalRequired` lists the actions waiting for a person), and creation time (`after`, `before`). Filters apply together within the mailbox. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page."), HttpApiEndpoint.get("mailboxesGetAction", "/v1/mailboxes/:id/actions/:actionId", {
|
|
2049
2117
|
params: MailboxesGetActionPathParams,
|
|
2050
2118
|
success: MailboxesGetAction200,
|
|
2051
2119
|
error: [
|
|
@@ -2059,6 +2127,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2059
2127
|
]
|
|
2060
2128
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getAction").annotate(OpenApi.Summary, "Get a mailbox action").annotate(OpenApi.Description, "Returns one action with its current progress. Send actions expose their immutable approved content, deadline, problem, and accepted receipt. A caller with mailbox read access may inspect actions; send-only callers may inspect only their own proposals. Acceptance and mailbox completion do not mean recipient delivery."), HttpApiEndpoint.post("mailboxesApproveAction", "/v1/mailboxes/:id/actions/:actionId/approve", {
|
|
2061
2129
|
params: MailboxesApproveActionPathParams,
|
|
2130
|
+
payload: MailboxesApproveActionRequestJson,
|
|
2062
2131
|
success: [MailboxesApproveAction200, MailboxesApproveAction202.pipe(HttpApiSchema.status(202))],
|
|
2063
2132
|
error: [
|
|
2064
2133
|
MailboxesApproveAction400.pipe(HttpApiSchema.status(400)),
|
|
@@ -2074,7 +2143,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2074
2143
|
MailboxesApproveAction503.pipe(HttpApiSchema.status(503)),
|
|
2075
2144
|
MailboxesApproveAction504.pipe(HttpApiSchema.status(504))
|
|
2076
2145
|
]
|
|
2077
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.approveAction").annotate(OpenApi.Summary, "Approve a mailbox action").annotate(OpenApi.Description, "Records approval of a send and returns 202 while it is pending. A send is queued for automatic retry within 15 minutes of approval; repeating approval does not extend this deadline. Accepted, completed, and notSent replays return 200. No expiry applies before approval. Only a person signed in or through OAuth may approve, and never the proposer. Non-send approvals execute synchronously and return 200 with their own execution states. The action's `resolution` names the approver; approving a held send publishes one `mailbox.action.resolved` event."), HttpApiEndpoint.post("mailboxesCancelAction", "/v1/mailboxes/:id/actions/:actionId/cancel", {
|
|
2146
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.approveAction").annotate(OpenApi.Summary, "Approve a mailbox action").annotate(OpenApi.Description, "Records approval of a send and returns 202 while it is pending. A send is queued for automatic retry within 15 minutes of approval; repeating approval does not extend this deadline. Accepted, completed, and notSent replays return 200. No expiry applies before approval. Only a person signed in or through OAuth may approve, and never the proposer. Non-send approvals execute synchronously and return 200 with their own execution states. Set `always: true` to add an actor-specific rule allowing matching future actions, subject to policy floors and guards. Remembering an allowance for a hosted agent or API key requires an organization owner or admin. A hand-off cannot be always allowed. The action's `resolution` names the approver; approving a held send publishes one `mailbox.action.resolved` event."), HttpApiEndpoint.post("mailboxesCancelAction", "/v1/mailboxes/:id/actions/:actionId/cancel", {
|
|
2078
2147
|
params: MailboxesCancelActionPathParams,
|
|
2079
2148
|
success: [MailboxesCancelAction200, MailboxesCancelAction202.pipe(HttpApiSchema.status(202))],
|
|
2080
2149
|
error: [
|
|
@@ -2135,7 +2204,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2135
2204
|
MailboxesGetAgentActivity500,
|
|
2136
2205
|
MailboxesGetAgentActivity504.pipe(HttpApiSchema.status(504))
|
|
2137
2206
|
]
|
|
2138
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getAgentActivity").annotate(OpenApi.Summary, "Get mailbox activity").annotate(OpenApi.Description, "Counts the actions proposed and events recorded on a mailbox between `after` and `before` (omit both for all time), and the
|
|
2207
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getAgentActivity").annotate(OpenApi.Summary, "Get mailbox activity").annotate(OpenApi.Description, "Counts the actions proposed and events recorded on a mailbox between `after` and `before` (omit both for all time), and the actions waiting for approval now. List the actions and events themselves with `GET /v1/mailboxes/{id}/actions` and `GET /v1/mailboxes/{id}/events`."), HttpApiEndpoint.get("mailboxesListDrafts", "/v1/mailboxes/:id/drafts", {
|
|
2139
2208
|
params: MailboxesListDraftsPathParams,
|
|
2140
2209
|
query: MailboxesListDraftsQuery,
|
|
2141
2210
|
success: MailboxesListDrafts200,
|
|
@@ -2294,7 +2363,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2294
2363
|
MailboxesListGrants500,
|
|
2295
2364
|
MailboxesListGrants504.pipe(HttpApiSchema.status(504))
|
|
2296
2365
|
]
|
|
2297
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listGrants").annotate(OpenApi.Summary, "List mailbox grants").annotate(OpenApi.Description, "Returns who can use the mailbox, what each grant allows,
|
|
2366
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listGrants").annotate(OpenApi.Summary, "List mailbox grants").annotate(OpenApi.Description, "Returns who can use the mailbox, what each grant allows, newest first. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page."), HttpApiEndpoint.post("mailboxesCreateGrant", "/v1/mailboxes/:id/grants", {
|
|
2298
2367
|
params: MailboxesCreateGrantPathParams,
|
|
2299
2368
|
payload: MailboxesCreateGrantRequestJson,
|
|
2300
2369
|
success: MailboxesCreateGrant201.pipe(HttpApiSchema.status(201)),
|
|
@@ -2335,7 +2404,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2335
2404
|
MailboxesUpdateGrant500,
|
|
2336
2405
|
MailboxesUpdateGrant504.pipe(HttpApiSchema.status(504))
|
|
2337
2406
|
]
|
|
2338
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.updateGrant").annotate(OpenApi.Summary, "Update a mailbox grant").annotate(OpenApi.Description, "Changes a member's role
|
|
2407
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.updateGrant").annotate(OpenApi.Summary, "Update a mailbox grant").annotate(OpenApi.Description, "Changes a member's role on a mailbox and returns the updated grant. A field left out keeps its value; naming neither is a validation error. Taking admin from the last grant that can configure the mailbox conflicts, as revoking it does. The change applies to the member's next request on every surface."), HttpApiEndpoint.get("mailboxesListLabels", "/v1/mailboxes/:id/labels", {
|
|
2339
2408
|
params: MailboxesListLabelsPathParams,
|
|
2340
2409
|
success: MailboxesListLabels200,
|
|
2341
2410
|
error: [
|
|
@@ -2550,70 +2619,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2550
2619
|
MailboxesPause500,
|
|
2551
2620
|
MailboxesPause504.pipe(HttpApiSchema.status(504))
|
|
2552
2621
|
]
|
|
2553
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.pause").annotate(OpenApi.Summary, "Pause a mailbox").annotate(OpenApi.Description, "Stops the mailbox sending and stops new inbound mail reaching it. Mail that arrives while it is paused is not added when it resumes. Resume it with `POST /v1/mailboxes/{id}/resume`."), HttpApiEndpoint.get("
|
|
2554
|
-
params: MailboxesListPoliciesPathParams,
|
|
2555
|
-
success: MailboxesListPolicies200,
|
|
2556
|
-
error: [
|
|
2557
|
-
MailboxesListPolicies400.pipe(HttpApiSchema.status(400)),
|
|
2558
|
-
MailboxesListPolicies401.pipe(HttpApiSchema.status(401)),
|
|
2559
|
-
MailboxesListPolicies403.pipe(HttpApiSchema.status(403)),
|
|
2560
|
-
MailboxesListPolicies404.pipe(HttpApiSchema.status(404)),
|
|
2561
|
-
MailboxesListPolicies422.pipe(HttpApiSchema.status(422)),
|
|
2562
|
-
MailboxesListPolicies500,
|
|
2563
|
-
MailboxesListPolicies504.pipe(HttpApiSchema.status(504))
|
|
2564
|
-
]
|
|
2565
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listPolicies").annotate(OpenApi.Summary, "List mailbox policies").annotate(OpenApi.Description, "Returns every send policy on a mailbox, oldest first. A mailbox holds at most 20 policies, so the list is never paged. Each enabled policy holds (`requireApproval`) or refuses (`deny`) every send from the mailbox; `deny` wins when both apply."), HttpApiEndpoint.post("mailboxesCreatePolicy", "/v1/mailboxes/:id/policies", {
|
|
2566
|
-
params: MailboxesCreatePolicyPathParams,
|
|
2567
|
-
payload: MailboxesCreatePolicyRequestJson,
|
|
2568
|
-
success: MailboxesCreatePolicy201.pipe(HttpApiSchema.status(201)),
|
|
2569
|
-
error: [
|
|
2570
|
-
MailboxesCreatePolicy400.pipe(HttpApiSchema.status(400)),
|
|
2571
|
-
MailboxesCreatePolicy401.pipe(HttpApiSchema.status(401)),
|
|
2572
|
-
MailboxesCreatePolicy403.pipe(HttpApiSchema.status(403)),
|
|
2573
|
-
MailboxesCreatePolicy404.pipe(HttpApiSchema.status(404)),
|
|
2574
|
-
MailboxesCreatePolicy409.pipe(HttpApiSchema.status(409)),
|
|
2575
|
-
MailboxesCreatePolicy422.pipe(HttpApiSchema.status(422)),
|
|
2576
|
-
MailboxesCreatePolicy500,
|
|
2577
|
-
MailboxesCreatePolicy504.pipe(HttpApiSchema.status(504))
|
|
2578
|
-
]
|
|
2579
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.createPolicy").annotate(OpenApi.Summary, "Create a mailbox policy").annotate(OpenApi.Description, "Adds a send policy to a mailbox and returns it with status 201. It applies to every send proposed after it is created, whoever proposes it. A mailbox that already holds 20 policies conflicts."), HttpApiEndpoint.get("mailboxesGetPolicy", "/v1/mailboxes/:id/policies/:policyId", {
|
|
2580
|
-
params: MailboxesGetPolicyPathParams,
|
|
2581
|
-
success: MailboxesGetPolicy200,
|
|
2582
|
-
error: [
|
|
2583
|
-
MailboxesGetPolicy400.pipe(HttpApiSchema.status(400)),
|
|
2584
|
-
MailboxesGetPolicy401.pipe(HttpApiSchema.status(401)),
|
|
2585
|
-
MailboxesGetPolicy403.pipe(HttpApiSchema.status(403)),
|
|
2586
|
-
MailboxesGetPolicy404.pipe(HttpApiSchema.status(404)),
|
|
2587
|
-
MailboxesGetPolicy422.pipe(HttpApiSchema.status(422)),
|
|
2588
|
-
MailboxesGetPolicy500,
|
|
2589
|
-
MailboxesGetPolicy504.pipe(HttpApiSchema.status(504))
|
|
2590
|
-
]
|
|
2591
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getPolicy").annotate(OpenApi.Summary, "Get a mailbox policy").annotate(OpenApi.Description, "Returns one send policy."), HttpApiEndpoint.delete("mailboxesDeletePolicy", "/v1/mailboxes/:id/policies/:policyId", {
|
|
2592
|
-
params: MailboxesDeletePolicyPathParams,
|
|
2593
|
-
success: MailboxesDeletePolicy200,
|
|
2594
|
-
error: [
|
|
2595
|
-
MailboxesDeletePolicy400.pipe(HttpApiSchema.status(400)),
|
|
2596
|
-
MailboxesDeletePolicy401.pipe(HttpApiSchema.status(401)),
|
|
2597
|
-
MailboxesDeletePolicy403.pipe(HttpApiSchema.status(403)),
|
|
2598
|
-
MailboxesDeletePolicy404.pipe(HttpApiSchema.status(404)),
|
|
2599
|
-
MailboxesDeletePolicy422.pipe(HttpApiSchema.status(422)),
|
|
2600
|
-
MailboxesDeletePolicy500,
|
|
2601
|
-
MailboxesDeletePolicy504.pipe(HttpApiSchema.status(504))
|
|
2602
|
-
]
|
|
2603
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.deletePolicy").annotate(OpenApi.Summary, "Delete a mailbox policy").annotate(OpenApi.Description, "Deletes a send policy. Sends it already holds stay held until a person approves or denies them."), HttpApiEndpoint.patch("mailboxesUpdatePolicy", "/v1/mailboxes/:id/policies/:policyId", {
|
|
2604
|
-
params: MailboxesUpdatePolicyPathParams,
|
|
2605
|
-
payload: MailboxesUpdatePolicyRequestJson,
|
|
2606
|
-
success: MailboxesUpdatePolicy200,
|
|
2607
|
-
error: [
|
|
2608
|
-
MailboxesUpdatePolicy400.pipe(HttpApiSchema.status(400)),
|
|
2609
|
-
MailboxesUpdatePolicy401.pipe(HttpApiSchema.status(401)),
|
|
2610
|
-
MailboxesUpdatePolicy403.pipe(HttpApiSchema.status(403)),
|
|
2611
|
-
MailboxesUpdatePolicy404.pipe(HttpApiSchema.status(404)),
|
|
2612
|
-
MailboxesUpdatePolicy422.pipe(HttpApiSchema.status(422)),
|
|
2613
|
-
MailboxesUpdatePolicy500,
|
|
2614
|
-
MailboxesUpdatePolicy504.pipe(HttpApiSchema.status(504))
|
|
2615
|
-
]
|
|
2616
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.updatePolicy").annotate(OpenApi.Summary, "Update a mailbox policy").annotate(OpenApi.Description, "Updates the fields you name and keeps the rest. Set `enabled` to `false` to stop a policy applying without deleting it."), HttpApiEndpoint.get("mailboxesListQuarantine", "/v1/mailboxes/:id/quarantine", {
|
|
2622
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.pause").annotate(OpenApi.Summary, "Pause a mailbox").annotate(OpenApi.Description, "Stops the mailbox sending and stops new inbound mail reaching it. Mail that arrives while it is paused is not added when it resumes. Resume it with `POST /v1/mailboxes/{id}/resume`."), HttpApiEndpoint.get("mailboxesListQuarantine", "/v1/mailboxes/:id/quarantine", {
|
|
2617
2623
|
params: MailboxesListQuarantinePathParams,
|
|
2618
2624
|
query: MailboxesListQuarantineQuery,
|
|
2619
2625
|
success: MailboxesListQuarantine200,
|
|
@@ -2651,7 +2657,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2651
2657
|
MailboxesListThreads500,
|
|
2652
2658
|
MailboxesListThreads504.pipe(HttpApiSchema.status(504))
|
|
2653
2659
|
]
|
|
2654
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listThreads").annotate(OpenApi.Summary, "List threads in a mailbox").annotate(OpenApi.Description, "Returns thread summaries
|
|
2660
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listThreads").annotate(OpenApi.Summary, "List threads in a mailbox").annotate(OpenApi.Description, "Returns thread summaries. With `q`, semantic and keyword search returns up to 100 best-matching threads in relevance order across cursor pages. It searches subjects, participants, message text including quoted history, and attachment filenames, not attachment contents. New mail can take a few seconds to become searchable. Other filters narrow the searchable set. Without `q`, threads use most recent activity first; `after` and `before` filter by last activity for polling. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. In a list without `q`, a thread that gains activity while you page moves ahead of the cursor, so a walk lists each thread at most once."), HttpApiEndpoint.get("mailboxesGetThread", "/v1/mailboxes/:id/threads/:threadId", {
|
|
2655
2661
|
params: MailboxesGetThreadPathParams,
|
|
2656
2662
|
success: MailboxesGetThread200,
|
|
2657
2663
|
error: [
|
|
@@ -2802,7 +2808,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2802
2808
|
MailboxesGetNeedsYou500,
|
|
2803
2809
|
MailboxesGetNeedsYou504.pipe(HttpApiSchema.status(504))
|
|
2804
2810
|
]
|
|
2805
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getNeedsYou").annotate(OpenApi.Summary, "List mailbox decisions awaiting you").annotate(OpenApi.Description, "Returns held
|
|
2811
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getNeedsYou").annotate(OpenApi.Summary, "List mailbox decisions awaiting you").annotate(OpenApi.Description, "Returns held actions this caller can approve and quarantined messages this caller may release across their visible mailboxes. Counts cover all actionable items, independent of the current cursor page. Metadata only; isolated messages, self approvals, and decisions the credential cannot perform are excluded."), HttpApiEndpoint.get("mailboxesListOrganizationThreads", "/v1/mailboxes/threads", {
|
|
2806
2812
|
query: MailboxesListOrganizationThreadsQuery,
|
|
2807
2813
|
success: MailboxesListOrganizationThreads200,
|
|
2808
2814
|
error: [
|
|
@@ -2814,7 +2820,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2814
2820
|
MailboxesListOrganizationThreads500,
|
|
2815
2821
|
MailboxesListOrganizationThreads504.pipe(HttpApiSchema.status(504))
|
|
2816
2822
|
]
|
|
2817
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listOrganizationThreads").annotate(OpenApi.Summary, "List threads across your mailboxes").annotate(OpenApi.Description, "Lists only threads in mailboxes the caller can read, newest activity first. Repeat mailboxId to narrow the scope; kind selects personal or shared mailboxes. conversation selects the threads of one conversation (the conversationId a thread reports), one per readable mailbox it reached. state=active excludes the caller's Done and shared closed threads; state=done selects the caller's Done plus closed shared threads, without duplicates. Other filters and cursor pagination match the per-mailbox list.")).annotate(OpenApi.Description, "Mailboxes: endpoints, threads, messages, drafts, and governed sends") {};
|
|
2818
|
-
export { Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxChatDraft, MailboxChatMedia, MailboxChatMessage, MailboxChatMessageTemplate, MailboxChatSendIntent, MailboxChatTemplate, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEmailDraft, MailboxEmailEndpoint, MailboxEmailMessage, MailboxEmailSendSnapshot, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxPolicy, MailboxPolicyList, MailboxQuarantinePage, MailboxQuarantinedMessage, MailboxSendAction, MailboxSendSnapshot, MailboxSmsEndpoint, MailboxSmsEndpointBinding, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxWhatsAppEndpoint, MailboxWhatsAppEndpointBinding, MailboxWhatsAppServiceWindow, MailboxesAddThreadLabels200, MailboxesAddThreadLabels400, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction400, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction400, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment400, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCreate201, MailboxesCreate400, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft400, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint400, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant400, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreatePolicy201, MailboxesCreatePolicy400, MailboxesCreatePolicy401, MailboxesCreatePolicy403, MailboxesCreatePolicy404, MailboxesCreatePolicy409, MailboxesCreatePolicy422, MailboxesCreatePolicy500, MailboxesCreatePolicy504, MailboxesCreatePolicyPathParams, MailboxesCreatePolicyRequestJson, MailboxesCreateRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft400, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel400, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote400, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDeletePolicy200, MailboxesDeletePolicy400, MailboxesDeletePolicy401, MailboxesDeletePolicy403, MailboxesDeletePolicy404, MailboxesDeletePolicy422, MailboxesDeletePolicy500, MailboxesDeletePolicy504, MailboxesDeletePolicyPathParams, MailboxesDenyAction200, MailboxesDenyAction400, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardMessage200, MailboxesDiscardMessage400, MailboxesDiscardMessage401, MailboxesDiscardMessage403, MailboxesDiscardMessage404, MailboxesDiscardMessage409, MailboxesDiscardMessage422, MailboxesDiscardMessage500, MailboxesDiscardMessage502, MailboxesDiscardMessage504, MailboxesDiscardMessagePathParams, MailboxesForward200, MailboxesForward202, MailboxesForward400, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet400, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction400, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity400, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft400, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetMessage200, MailboxesGetMessage400, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment400, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw400, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou400, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetPolicy200, MailboxesGetPolicy400, MailboxesGetPolicy401, MailboxesGetPolicy403, MailboxesGetPolicy404, MailboxesGetPolicy422, MailboxesGetPolicy500, MailboxesGetPolicy504, MailboxesGetPolicyPathParams, MailboxesGetThread200, MailboxesGetThread400, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent400, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList400, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions400, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListDrafts200, MailboxesListDrafts400, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents400, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders400, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants400, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListLabels200, MailboxesListLabels400, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts400, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads400, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListPolicies200, MailboxesListPolicies400, MailboxesListPolicies401, MailboxesListPolicies403, MailboxesListPolicies404, MailboxesListPolicies422, MailboxesListPolicies500, MailboxesListPolicies504, MailboxesListPoliciesPathParams, MailboxesListQuarantine200, MailboxesListQuarantine400, MailboxesListQuarantine401, MailboxesListQuarantine403, MailboxesListQuarantine404, MailboxesListQuarantine422, MailboxesListQuarantine500, MailboxesListQuarantine504, MailboxesListQuarantinePathParams, MailboxesListQuarantineQuery, MailboxesListQuery, MailboxesListThreadMessages200, MailboxesListThreadMessages400, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes400, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads400, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause400, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesReleaseMessage200, MailboxesReleaseMessage400, MailboxesReleaseMessage401, MailboxesReleaseMessage403, MailboxesReleaseMessage404, MailboxesReleaseMessage409, MailboxesReleaseMessage422, MailboxesReleaseMessage500, MailboxesReleaseMessage504, MailboxesReleaseMessagePathParams, MailboxesRemove200, MailboxesRemove400, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint400, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels400, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply400, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll400, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesResume200, MailboxesResume400, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction400, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant400, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft400, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage400, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesUpdate200, MailboxesUpdate400, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft400, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint400, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant400, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel400, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote400, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdatePolicy200, MailboxesUpdatePolicy400, MailboxesUpdatePolicy401, MailboxesUpdatePolicy403, MailboxesUpdatePolicy404, MailboxesUpdatePolicy422, MailboxesUpdatePolicy500, MailboxesUpdatePolicy504, MailboxesUpdatePolicyPathParams, MailboxesUpdatePolicyRequestJson, MailboxesUpdateRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, SmsPhoneNumberId, TemplateChannelVariantId };
|
|
2823
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listOrganizationThreads").annotate(OpenApi.Summary, "List threads across your mailboxes").annotate(OpenApi.Description, "Lists only threads in mailboxes the caller can read. With `q`, semantic and keyword search returns the best-matching threads in relevance order, capped across cursor pages. Without `q`, threads use newest activity first. Repeat mailboxId to narrow the scope; kind selects personal or shared mailboxes. conversation selects the threads of one conversation (the conversationId a thread reports), one per readable mailbox it reached. state=active excludes the caller's Done and shared closed threads; state=done selects the caller's Done plus closed shared threads, without duplicates. Other filters and cursor pagination match the per-mailbox list.")).annotate(OpenApi.Description, "Mailboxes: endpoints, threads, messages, drafts, and governed sends") {};
|
|
2824
|
+
export { Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxChatDraft, MailboxChatMedia, MailboxChatMessage, MailboxChatMessageTemplate, MailboxChatSendIntent, MailboxChatTemplate, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEmailDraft, MailboxEmailEndpoint, MailboxEmailMessage, MailboxEmailSendSnapshot, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxQuarantinePage, MailboxQuarantinedMessage, MailboxSendAction, MailboxSendSnapshot, MailboxSmsEndpoint, MailboxSmsEndpointBinding, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxWhatsAppEndpoint, MailboxWhatsAppEndpointBinding, MailboxWhatsAppServiceWindow, MailboxesAddThreadLabels200, MailboxesAddThreadLabels400, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction400, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesApproveActionRequestJson, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction400, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment400, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCreate201, MailboxesCreate400, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft400, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint400, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant400, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateHeaders, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreateRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft400, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel400, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote400, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDenyAction200, MailboxesDenyAction400, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardMessage200, MailboxesDiscardMessage400, MailboxesDiscardMessage401, MailboxesDiscardMessage403, MailboxesDiscardMessage404, MailboxesDiscardMessage409, MailboxesDiscardMessage422, MailboxesDiscardMessage500, MailboxesDiscardMessage502, MailboxesDiscardMessage504, MailboxesDiscardMessagePathParams, MailboxesForward200, MailboxesForward202, MailboxesForward400, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet400, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction400, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity400, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft400, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetMessage200, MailboxesGetMessage400, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment400, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw400, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou400, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetThread200, MailboxesGetThread400, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent400, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList400, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions400, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListDrafts200, MailboxesListDrafts400, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents400, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders400, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants400, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListLabels200, MailboxesListLabels400, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts400, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads400, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListQuarantine200, MailboxesListQuarantine400, MailboxesListQuarantine401, MailboxesListQuarantine403, MailboxesListQuarantine404, MailboxesListQuarantine422, MailboxesListQuarantine500, MailboxesListQuarantine504, MailboxesListQuarantinePathParams, MailboxesListQuarantineQuery, MailboxesListQuery, MailboxesListThreadMessages200, MailboxesListThreadMessages400, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes400, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads400, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause400, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesReleaseMessage200, MailboxesReleaseMessage400, MailboxesReleaseMessage401, MailboxesReleaseMessage403, MailboxesReleaseMessage404, MailboxesReleaseMessage409, MailboxesReleaseMessage422, MailboxesReleaseMessage500, MailboxesReleaseMessage504, MailboxesReleaseMessagePathParams, MailboxesRemove200, MailboxesRemove400, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint400, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels400, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply400, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll400, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesResume200, MailboxesResume400, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction400, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant400, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft400, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage400, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesUpdate200, MailboxesUpdate400, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft400, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint400, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant400, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel400, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote400, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdateRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, PolicyAction, PolicyDecision, SmsPhoneNumberId, TemplateChannelVariantId };
|
|
2819
2825
|
|
|
2820
2826
|
//# sourceMappingURL=mailboxes.js.map
|