samva 0.45.1 → 0.46.1
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 +7 -0
- package/README.md +25 -1
- package/dist/client/client/client.gen.d.ts +1 -1
- package/dist/client/client/index.d.ts +10 -10
- package/dist/client/client/types.gen.d.ts +4 -4
- package/dist/client/client/utils.gen.d.ts +2 -2
- package/dist/client/client.gen.d.ts +2 -2
- package/dist/client/core/bodySerializer.gen.d.ts +1 -1
- package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/client/core/types.gen.d.ts +2 -2
- package/dist/client/core/utils.gen.d.ts +1 -1
- package/dist/client/sdk.gen.d.ts +439 -6
- package/dist/client/sdk.gen.js +1544 -229
- package/dist/client/types.gen.d.ts +8120 -5616
- package/dist/effect/accounts.d.ts +50 -0
- package/dist/effect/accounts.js +23 -0
- package/dist/effect/agents.d.ts +25 -16
- package/dist/effect/agents.js +3 -2
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +2 -1
- package/dist/effect/api-keys.d.ts +13 -13
- package/dist/effect/api-keys.js +2 -1
- package/dist/effect/approval-requests.d.ts +42 -0
- package/dist/effect/approval-requests.js +19 -0
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +2 -1
- package/dist/effect/brands.d.ts +7 -7
- package/dist/effect/brands.js +2 -1
- package/dist/effect/campaigns.d.ts +205 -205
- package/dist/effect/campaigns.js +2 -1
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/contact-groups.d.ts +18 -18
- package/dist/effect/contact-groups.js +2 -1
- package/dist/effect/contacts.d.ts +33 -33
- package/dist/effect/contacts.js +3 -2
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +2 -1
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +2 -1
- package/dist/effect/descriptors/accounts.d.ts +59 -0
- package/dist/effect/descriptors/accounts.js +57 -0
- package/dist/effect/descriptors/agents.d.ts +119 -0
- package/dist/effect/descriptors/agents.js +117 -0
- package/dist/effect/descriptors/analytics.d.ts +56 -0
- package/dist/effect/descriptors/analytics.js +48 -0
- package/dist/effect/descriptors/api-keys.d.ts +80 -0
- package/dist/effect/descriptors/api-keys.js +80 -0
- package/dist/effect/descriptors/approval-requests.d.ts +41 -0
- package/dist/effect/descriptors/approval-requests.js +43 -0
- package/dist/effect/descriptors/attachments.d.ts +41 -0
- package/dist/effect/descriptors/attachments.js +43 -0
- package/dist/effect/descriptors/brands.d.ts +60 -0
- package/dist/effect/descriptors/brands.js +60 -0
- package/dist/effect/descriptors/campaigns.d.ts +148 -0
- package/dist/effect/descriptors/campaigns.js +144 -0
- package/dist/effect/descriptors/contact-groups.d.ts +99 -0
- package/dist/effect/descriptors/contact-groups.js +97 -0
- package/dist/effect/descriptors/contacts.d.ts +226 -0
- package/dist/effect/descriptors/contacts.js +214 -0
- package/dist/effect/descriptors/conversations.d.ts +130 -0
- package/dist/effect/descriptors/conversations.js +130 -0
- package/dist/effect/descriptors/custom-fields.d.ts +40 -0
- package/dist/effect/descriptors/custom-fields.js +40 -0
- package/dist/effect/descriptors/email.d.ts +607 -0
- package/dist/effect/descriptors/email.js +561 -0
- package/dist/effect/descriptors/events.d.ts +20 -0
- package/dist/effect/descriptors/events.js +20 -0
- package/dist/effect/descriptors/extension-installations.d.ts +90 -0
- package/dist/effect/descriptors/extension-installations.js +90 -0
- package/dist/effect/descriptors/extensions.d.ts +50 -0
- package/dist/effect/descriptors/extensions.js +50 -0
- package/dist/effect/descriptors/feedback.d.ts +11 -0
- package/dist/effect/descriptors/feedback.js +11 -0
- package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
- package/dist/effect/descriptors/integrations-catalog.js +27 -0
- package/dist/effect/descriptors/integrations.d.ts +70 -0
- package/dist/effect/descriptors/integrations.js +70 -0
- package/dist/effect/descriptors/journeys.d.ts +140 -0
- package/dist/effect/descriptors/journeys.js +140 -0
- package/dist/effect/descriptors/mailboxes.d.ts +724 -0
- package/dist/effect/descriptors/mailboxes.js +728 -0
- package/dist/effect/descriptors/media.d.ts +51 -0
- package/dist/effect/descriptors/media.js +53 -0
- package/dist/effect/descriptors/messages.d.ts +99 -0
- package/dist/effect/descriptors/messages.js +97 -0
- package/dist/effect/descriptors/namespaces.d.ts +110 -0
- package/dist/effect/descriptors/namespaces.js +114 -0
- package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
- package/dist/effect/descriptors/newsletter-domains.js +46 -0
- package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
- package/dist/effect/descriptors/newsletter-issues.js +116 -0
- package/dist/effect/descriptors/newsletters.d.ts +51 -0
- package/dist/effect/descriptors/newsletters.js +53 -0
- package/dist/effect/descriptors/operations.d.ts +31 -0
- package/dist/effect/descriptors/operations.js +33 -0
- package/dist/effect/descriptors/organizations.d.ts +111 -0
- package/dist/effect/descriptors/organizations.js +93 -0
- package/dist/effect/descriptors/policies.d.ts +32 -0
- package/dist/effect/descriptors/policies.js +36 -0
- package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
- package/dist/effect/descriptors/scheduled-messages.js +50 -0
- package/dist/effect/descriptors/subscriptions.d.ts +11 -0
- package/dist/effect/descriptors/subscriptions.js +11 -0
- package/dist/effect/descriptors/template-registrations.d.ts +32 -0
- package/dist/effect/descriptors/template-registrations.js +36 -0
- package/dist/effect/descriptors/template-share-links.d.ts +52 -0
- package/dist/effect/descriptors/template-share-links.js +56 -0
- package/dist/effect/descriptors/templates.d.ts +365 -0
- package/dist/effect/descriptors/templates.js +355 -0
- package/dist/effect/descriptors/topic-forms.d.ts +52 -0
- package/dist/effect/descriptors/topic-forms.js +56 -0
- package/dist/effect/descriptors/topics.d.ts +89 -0
- package/dist/effect/descriptors/topics.js +87 -0
- package/dist/effect/descriptors/webhooks.d.ts +110 -0
- package/dist/effect/descriptors/webhooks.js +110 -0
- package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
- package/dist/effect/descriptors/whats-app-flows.js +97 -0
- package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
- package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
- package/dist/effect/descriptors/whats-app.d.ts +116 -0
- package/dist/effect/descriptors/whats-app.js +108 -0
- package/dist/effect/descriptors/whoami.d.ts +11 -0
- package/dist/effect/descriptors/whoami.js +11 -0
- package/dist/effect/email.d.ts +78 -78
- package/dist/effect/email.js +2 -1
- package/dist/effect/errors.d.ts +2 -2
- package/dist/effect/events.d.ts +3 -3
- package/dist/effect/events.js +2 -1
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +2 -1
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +2 -1
- package/dist/effect/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +2 -1
- package/dist/effect/generated/accounts.d.ts +1002 -0
- package/dist/effect/generated/accounts.js +198 -0
- package/dist/effect/generated/agents.d.ts +85 -1
- package/dist/effect/generated/agents.js +1 -0
- package/dist/effect/generated/analytics.d.ts +1 -1
- package/dist/effect/generated/api-keys.d.ts +1 -1
- package/dist/effect/generated/approval-requests.d.ts +777 -0
- package/dist/effect/generated/approval-requests.js +135 -0
- package/dist/effect/generated/attachments.d.ts +1 -1
- package/dist/effect/generated/brands.d.ts +1 -1
- package/dist/effect/generated/campaigns.d.ts +245 -245
- package/dist/effect/generated/campaigns.js +6 -6
- package/dist/effect/generated/contact-events.d.ts +4 -4
- package/dist/effect/generated/contact-groups.d.ts +1 -1
- package/dist/effect/generated/contacts.d.ts +49 -49
- package/dist/effect/generated/conversations.d.ts +21 -21
- package/dist/effect/generated/conversations.js +10 -10
- package/dist/effect/generated/custom-fields.d.ts +1 -1
- package/dist/effect/generated/email.d.ts +1 -1
- package/dist/effect/generated/events.d.ts +12 -12
- package/dist/effect/generated/events.js +1 -1
- package/dist/effect/generated/extension-installations.d.ts +1 -1
- package/dist/effect/generated/extensions.d.ts +1 -1
- package/dist/effect/generated/feedback.d.ts +1 -1
- package/dist/effect/generated/index.d.ts +88 -78
- package/dist/effect/generated/integrations-catalog.d.ts +671 -0
- package/dist/effect/generated/integrations-catalog.js +217 -0
- package/dist/effect/generated/integrations.d.ts +1401 -0
- package/dist/effect/generated/integrations.js +246 -0
- package/dist/effect/generated/journeys.d.ts +81 -81
- package/dist/effect/generated/mailboxes.d.ts +8157 -4241
- package/dist/effect/generated/mailboxes.js +677 -52
- package/dist/effect/generated/media.d.ts +1 -1
- package/dist/effect/generated/messages.d.ts +9 -9
- package/dist/effect/generated/messages.js +4 -4
- package/dist/effect/generated/namespaces.d.ts +1 -1
- package/dist/effect/generated/newsletter-domains.d.ts +1 -1
- package/dist/effect/generated/newsletter-issues.d.ts +1 -1
- package/dist/effect/generated/newsletters.d.ts +1 -1
- package/dist/effect/generated/operations.d.ts +1 -1
- package/dist/effect/generated/organizations.d.ts +1 -1
- package/dist/effect/generated/policies.d.ts +1 -1
- package/dist/effect/generated/scheduled-messages.d.ts +193 -193
- package/dist/effect/generated/scheduled-messages.js +17 -17
- package/dist/effect/generated/shared.d.ts +662 -512
- package/dist/effect/generated/shared.js +212 -179
- package/dist/effect/generated/subscriptions.d.ts +1 -1
- package/dist/effect/generated/template-registrations.d.ts +1 -1
- package/dist/effect/generated/template-share-links.d.ts +733 -0
- package/dist/effect/generated/template-share-links.js +165 -0
- package/dist/effect/generated/templates.d.ts +39 -22
- package/dist/effect/generated/templates.js +19 -16
- package/dist/effect/generated/topic-forms.d.ts +1 -1
- package/dist/effect/generated/topics.d.ts +1 -1
- package/dist/effect/generated/webhooks.d.ts +1 -1
- package/dist/effect/generated/whats-app-flows.d.ts +1 -1
- package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
- package/dist/effect/generated/whats-app.d.ts +1 -1
- package/dist/effect/generated/whoami.d.ts +1 -1
- package/dist/effect/generated-metadata.d.ts +248 -0
- package/dist/effect/generated-metadata.js +705 -555
- package/dist/effect/index.d.ts +47 -42
- package/dist/effect/index.js +6 -1
- package/dist/effect/integrations-catalog.d.ts +38 -0
- package/dist/effect/integrations-catalog.js +17 -0
- package/dist/effect/integrations.d.ts +165 -0
- package/dist/effect/integrations.js +25 -0
- package/dist/effect/internal/client.d.ts +3 -3
- package/dist/effect/internal/email-sender.d.ts +4 -4
- package/dist/effect/internal/mailbox-events.d.ts +2 -2
- package/dist/effect/internal/operation.d.ts +24 -5
- package/dist/effect/internal/operation.js +21 -21
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +20 -20
- package/dist/effect/journeys.js +2 -1
- package/dist/effect/mailboxes.d.ts +476 -294
- package/dist/effect/mailboxes.js +33 -2
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +2 -1
- package/dist/effect/messages.d.ts +17 -17
- package/dist/effect/messages.js +2 -1
- package/dist/effect/namespaces.d.ts +15 -15
- package/dist/effect/namespaces.js +2 -1
- package/dist/effect/newsletter-domains.d.ts +6 -6
- package/dist/effect/newsletter-domains.js +2 -1
- package/dist/effect/newsletter-issues.d.ts +11 -11
- package/dist/effect/newsletter-issues.js +2 -1
- package/dist/effect/newsletters.d.ts +5 -5
- package/dist/effect/newsletters.js +2 -1
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +2 -1
- package/dist/effect/organizations.d.ts +12 -12
- package/dist/effect/organizations.js +2 -1
- package/dist/effect/policies.d.ts +3 -3
- package/dist/effect/policies.js +2 -1
- package/dist/effect/scheduled-messages.d.ts +372 -372
- package/dist/effect/scheduled-messages.js +2 -1
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +2 -1
- package/dist/effect/template-registrations.d.ts +3 -3
- package/dist/effect/template-registrations.js +2 -1
- package/dist/effect/template-share-links.d.ts +18 -0
- package/dist/effect/template-share-links.js +21 -0
- package/dist/effect/templates.d.ts +49 -48
- package/dist/effect/templates.js +2 -1
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topic-forms.js +2 -1
- package/dist/effect/topics.d.ts +11 -11
- package/dist/effect/topics.js +2 -1
- package/dist/effect/webhooks.d.ts +16 -16
- package/dist/effect/webhooks.js +2 -1
- package/dist/effect/whatsapp-flows.d.ts +10 -10
- package/dist/effect/whatsapp-flows.js +2 -1
- package/dist/effect/whatsapp-setup-links.d.ts +6 -6
- package/dist/effect/whatsapp-setup-links.js +2 -1
- package/dist/effect/whatsapp.d.ts +12 -12
- package/dist/effect/whatsapp.js +2 -1
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/mailbox/dispatch.d.ts +2 -2
- package/dist/mailbox/index.d.ts +4 -4
- package/dist/mailbox/test.d.ts +2 -2
- package/dist/mailbox/types.d.ts +2 -2
- package/dist/mailbox/webhook.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +20 -10
- package/dist/promises/client.js +13 -3
- package/dist/promises/errors.gen.d.ts +23 -3
- package/dist/promises/errors.gen.js +54 -1
- package/dist/promises/index.d.ts +5 -5
- package/dist/promises/index.js +2 -2
- package/dist/promises/request.d.ts +2 -2
- package/dist/promises/request.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.d.ts +10 -2
- package/dist/request-policy.js +3 -5
- package/dist/service-map.d.ts +203 -0
- package/package.json +29 -9
- package/dist/service-map.js +0 -727
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SensitiveString } from "../runtime.js";
|
|
1
2
|
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
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
4
|
import * as Schema from "effect/Schema";
|
|
@@ -124,6 +125,23 @@ const MailboxDraftState = /* @__PURE__ */ (() => Schema.Union([
|
|
|
124
125
|
Schema.Literal("locked"),
|
|
125
126
|
Schema.Literal("sent")
|
|
126
127
|
]).annotate({ identifier: "MailboxDraftState" }))();
|
|
128
|
+
const MailSyncPosition = /* @__PURE__ */ (() => Schema.Struct({
|
|
129
|
+
epoch: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{1,64}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{1,64}$" })),
|
|
130
|
+
seq: 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" }))
|
|
131
|
+
}).annotate({ identifier: "MailSyncPosition" }))();
|
|
132
|
+
const MailCommandConflict = /* @__PURE__ */ (() => Schema.Struct({
|
|
133
|
+
code: Schema.Union([Schema.Literal("draftChanged"), Schema.Literal("outboxChanged")]),
|
|
134
|
+
message: Schema.String,
|
|
135
|
+
currentRevision: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null])
|
|
136
|
+
}).annotate({ identifier: "MailCommandConflict" }))();
|
|
137
|
+
const MailOutboxItemId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^mout_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
138
|
+
expected: "a string matching the RegExp ^mout_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
139
|
+
identifier: "MailOutboxItemId"
|
|
140
|
+
})).pipe(Schema.brand("MailOutboxItemId")))();
|
|
141
|
+
const MailOutboxProblem = /* @__PURE__ */ (() => Schema.Struct({
|
|
142
|
+
code: Schema.String,
|
|
143
|
+
message: Schema.String
|
|
144
|
+
}).annotate({ identifier: "MailOutboxProblem" }))();
|
|
127
145
|
const MailboxEventId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^mbxevt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
128
146
|
expected: "a string matching the RegExp ^mbxevt_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
129
147
|
identifier: "MailboxEventId"
|
|
@@ -235,18 +253,29 @@ const MailboxEmailEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
235
253
|
Schema.Literal("failed")
|
|
236
254
|
]).annotate({ description: "Sending readiness. Pending means sending setup is incomplete. Send only when ready. If setup fails, contact support to recover the sending address." })
|
|
237
255
|
}).annotate({ identifier: "MailboxEmailEndpoint" }))();
|
|
256
|
+
const MailHistoryImportJob = /* @__PURE__ */ (() => Schema.Struct({
|
|
257
|
+
id: Schema.String,
|
|
258
|
+
mailboxId: MailboxId,
|
|
259
|
+
status: Schema.Union([
|
|
260
|
+
Schema.Literal("queued"),
|
|
261
|
+
Schema.Literal("running"),
|
|
262
|
+
Schema.Literal("done"),
|
|
263
|
+
Schema.Literal("failed")
|
|
264
|
+
]),
|
|
265
|
+
imported: 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" })),
|
|
266
|
+
skippedDuplicate: 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" })),
|
|
267
|
+
skippedSpamTrash: 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" })),
|
|
268
|
+
failed: 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" })),
|
|
269
|
+
failures: Schema.Array(Schema.Struct({
|
|
270
|
+
offset: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
271
|
+
message: Schema.String
|
|
272
|
+
}))
|
|
273
|
+
}).annotate({ identifier: "MailHistoryImportJob" }))();
|
|
238
274
|
const MailboxThreadMailbox = /* @__PURE__ */ (() => Schema.Struct({
|
|
239
275
|
id: MailboxId,
|
|
240
276
|
address: Schema.Union([Schema.String, Schema.Null]),
|
|
241
277
|
kind: Schema.Union([Schema.Literal("personal"), Schema.Literal("shared")])
|
|
242
278
|
}).annotate({ identifier: "MailboxThreadMailbox" }))();
|
|
243
|
-
const MailboxCopiedAttachment = /* @__PURE__ */ (() => Schema.Struct({
|
|
244
|
-
filename: Schema.String,
|
|
245
|
-
content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
246
|
-
mediaId: Schema.optionalKey(Schema.Union([MediaId, Schema.Null])),
|
|
247
|
-
contentType: Schema.String,
|
|
248
|
-
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" }))
|
|
249
|
-
}).annotate({ identifier: "MailboxCopiedAttachment" }))();
|
|
250
279
|
const PolicyAction = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
|
|
251
280
|
effect: PolicyEffect,
|
|
252
281
|
resource: Schema.Struct({
|
|
@@ -287,6 +316,13 @@ const PolicyAction = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
|
|
|
287
316
|
draft: Schema.optionalKey(Schema.Union([JsonValue, Schema.Null]))
|
|
288
317
|
})
|
|
289
318
|
})]).annotate({ identifier: "PolicyAction" }))();
|
|
319
|
+
const MailboxCopiedAttachment = /* @__PURE__ */ (() => Schema.Struct({
|
|
320
|
+
filename: Schema.String,
|
|
321
|
+
content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
322
|
+
mediaId: Schema.optionalKey(Schema.Union([MediaId, Schema.Null])),
|
|
323
|
+
contentType: Schema.String,
|
|
324
|
+
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" }))
|
|
325
|
+
}).annotate({ identifier: "MailboxCopiedAttachment" }))();
|
|
290
326
|
const MailboxWhatsAppEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
291
327
|
id: MailboxEndpointId,
|
|
292
328
|
address: Schema.String,
|
|
@@ -383,6 +419,33 @@ const MailboxChatDraft = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
383
419
|
revision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
384
420
|
text: Schema.Union([Schema.String, Schema.Null])
|
|
385
421
|
}).annotate({ identifier: "MailboxChatDraft" }))();
|
|
422
|
+
const MailOutboxItem = /* @__PURE__ */ (() => Schema.Struct({
|
|
423
|
+
id: MailOutboxItemId,
|
|
424
|
+
mailboxId: MailboxId,
|
|
425
|
+
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
426
|
+
draftId: MailboxDraftId,
|
|
427
|
+
draftRevision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
428
|
+
draftSummary: Schema.optionalKey(Schema.Struct({
|
|
429
|
+
to: Schema.Array(Schema.String),
|
|
430
|
+
subject: Schema.String
|
|
431
|
+
})),
|
|
432
|
+
status: Schema.Union([
|
|
433
|
+
Schema.Literal("queued"),
|
|
434
|
+
Schema.Literal("held"),
|
|
435
|
+
Schema.Literal("dispatched"),
|
|
436
|
+
Schema.Literal("cancelled"),
|
|
437
|
+
Schema.Literal("failed")
|
|
438
|
+
]),
|
|
439
|
+
scheduledFor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
440
|
+
holdReason: Schema.Union([Schema.Literal("threadChanged"), Schema.Null]),
|
|
441
|
+
revision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
442
|
+
baseSeq: 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" })),
|
|
443
|
+
heldAtSeq: Schema.Union([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" })), Schema.Null]),
|
|
444
|
+
actionId: Schema.Union([MailboxActionId, Schema.Null]),
|
|
445
|
+
problem: Schema.Union([MailOutboxProblem, Schema.Null]),
|
|
446
|
+
createdAt: Schema.String,
|
|
447
|
+
updatedAt: Schema.String
|
|
448
|
+
}).annotate({ identifier: "MailOutboxItem" }))();
|
|
386
449
|
const MailboxEvent = /* @__PURE__ */ (() => Schema.Struct({
|
|
387
450
|
id: MailboxEventId,
|
|
388
451
|
type: Schema.Union([
|
|
@@ -574,6 +637,8 @@ const MailboxThreadSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
574
637
|
read: Schema.Boolean,
|
|
575
638
|
starred: Schema.Boolean,
|
|
576
639
|
snoozedUntil: Schema.Union([Schema.String, Schema.Null]),
|
|
640
|
+
reminderSetAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
641
|
+
reminderInboxAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
577
642
|
doneAt: Schema.Union([Schema.String, Schema.Null]),
|
|
578
643
|
closedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
579
644
|
closedBy: Schema.Union([Schema.Struct({
|
|
@@ -598,6 +663,8 @@ const MailboxThreadState = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
598
663
|
read: Schema.Boolean,
|
|
599
664
|
starred: Schema.Boolean,
|
|
600
665
|
snoozedUntil: Schema.Union([Schema.String, Schema.Null]),
|
|
666
|
+
reminderSetAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
667
|
+
reminderInboxAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
601
668
|
doneAt: Schema.Union([Schema.String, Schema.Null]),
|
|
602
669
|
closedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
603
670
|
closedBy: Schema.Union([Schema.Struct({
|
|
@@ -629,6 +696,8 @@ const MailboxThread = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
629
696
|
read: Schema.Boolean,
|
|
630
697
|
starred: Schema.Boolean,
|
|
631
698
|
snoozedUntil: Schema.Union([Schema.String, Schema.Null]),
|
|
699
|
+
reminderSetAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
700
|
+
reminderInboxAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
632
701
|
doneAt: Schema.Union([Schema.String, Schema.Null]),
|
|
633
702
|
closedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
634
703
|
closedBy: Schema.Union([Schema.Struct({
|
|
@@ -698,6 +767,8 @@ const OrganizationMailboxThreadSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
698
767
|
read: Schema.Boolean,
|
|
699
768
|
starred: Schema.Boolean,
|
|
700
769
|
snoozedUntil: Schema.Union([Schema.String, Schema.Null]),
|
|
770
|
+
reminderSetAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
771
|
+
reminderInboxAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
701
772
|
doneAt: Schema.Union([Schema.String, Schema.Null]),
|
|
702
773
|
closedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
703
774
|
closedBy: Schema.Union([Schema.Struct({
|
|
@@ -715,43 +786,6 @@ const OrganizationMailboxThreadSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
715
786
|
lastActivityAt: Schema.String,
|
|
716
787
|
mailbox: MailboxThreadMailbox
|
|
717
788
|
}).annotate({ identifier: "OrganizationMailboxThreadSummary" }))();
|
|
718
|
-
const MailboxEmailSendSnapshot = /* @__PURE__ */ (() => Schema.Struct({
|
|
719
|
-
channel: Schema.Literal("email"),
|
|
720
|
-
draftRevision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })),
|
|
721
|
-
from: Schema.String,
|
|
722
|
-
fromName: Schema.Union([Schema.String, Schema.Null]),
|
|
723
|
-
to: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String]),
|
|
724
|
-
cc: Schema.Array(Schema.String),
|
|
725
|
-
bcc: Schema.Array(Schema.String),
|
|
726
|
-
replyTo: Schema.Array(Schema.String),
|
|
727
|
-
subject: Schema.String,
|
|
728
|
-
text: Schema.Union([Schema.String, Schema.Null]),
|
|
729
|
-
html: Schema.Union([Schema.String, Schema.Null]),
|
|
730
|
-
attachments: Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })),
|
|
731
|
-
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
732
|
-
conversationId: Schema.Union([ConversationId, Schema.Null]),
|
|
733
|
-
inReplyToMessageId: Schema.Union([MessageId, Schema.Null])
|
|
734
|
-
}).annotate({ identifier: "MailboxEmailSendSnapshot" }))();
|
|
735
|
-
const MailboxEmailDraft = /* @__PURE__ */ (() => Schema.Struct({
|
|
736
|
-
id: MailboxDraftId,
|
|
737
|
-
channel: Schema.Literal("email"),
|
|
738
|
-
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
739
|
-
inReplyToMessageId: Schema.Union([MessageId, Schema.Null]),
|
|
740
|
-
state: MailboxDraftState,
|
|
741
|
-
lockedByActionId: Schema.Union([MailboxActionId, Schema.Null]),
|
|
742
|
-
to: Schema.Array(Schema.String),
|
|
743
|
-
subject: Schema.Union([Schema.String, Schema.Null]),
|
|
744
|
-
createdAt: Schema.String,
|
|
745
|
-
updatedAt: Schema.String,
|
|
746
|
-
revision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
747
|
-
endpointId: Schema.Union([MailboxEndpointId, Schema.Null]),
|
|
748
|
-
cc: Schema.Array(Schema.String),
|
|
749
|
-
bcc: Schema.Array(Schema.String),
|
|
750
|
-
replyTo: Schema.Array(Schema.String),
|
|
751
|
-
html: Schema.Union([Schema.String, Schema.Null]),
|
|
752
|
-
text: Schema.Union([Schema.String, Schema.Null]),
|
|
753
|
-
attachments: Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }))
|
|
754
|
-
}).annotate({ identifier: "MailboxEmailDraft" }))();
|
|
755
789
|
const PolicyDecision = /* @__PURE__ */ (() => Schema.Struct({
|
|
756
790
|
requirement: PolicyRequirement,
|
|
757
791
|
decider: PolicyDecider,
|
|
@@ -818,6 +852,43 @@ const PolicyDecision = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
818
852
|
}), Schema.Null]))
|
|
819
853
|
}), Schema.Null]))
|
|
820
854
|
}).annotate({ identifier: "PolicyDecision" }))();
|
|
855
|
+
const MailboxEmailSendSnapshot = /* @__PURE__ */ (() => Schema.Struct({
|
|
856
|
+
channel: Schema.Literal("email"),
|
|
857
|
+
draftRevision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })),
|
|
858
|
+
from: Schema.String,
|
|
859
|
+
fromName: Schema.Union([Schema.String, Schema.Null]),
|
|
860
|
+
to: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String]),
|
|
861
|
+
cc: Schema.Array(Schema.String),
|
|
862
|
+
bcc: Schema.Array(Schema.String),
|
|
863
|
+
replyTo: Schema.Array(Schema.String),
|
|
864
|
+
subject: Schema.String,
|
|
865
|
+
text: Schema.Union([Schema.String, Schema.Null]),
|
|
866
|
+
html: Schema.Union([Schema.String, Schema.Null]),
|
|
867
|
+
attachments: Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })),
|
|
868
|
+
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
869
|
+
conversationId: Schema.Union([ConversationId, Schema.Null]),
|
|
870
|
+
inReplyToMessageId: Schema.Union([MessageId, Schema.Null])
|
|
871
|
+
}).annotate({ identifier: "MailboxEmailSendSnapshot" }))();
|
|
872
|
+
const MailboxEmailDraft = /* @__PURE__ */ (() => Schema.Struct({
|
|
873
|
+
id: MailboxDraftId,
|
|
874
|
+
channel: Schema.Literal("email"),
|
|
875
|
+
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
876
|
+
inReplyToMessageId: Schema.Union([MessageId, Schema.Null]),
|
|
877
|
+
state: MailboxDraftState,
|
|
878
|
+
lockedByActionId: Schema.Union([MailboxActionId, Schema.Null]),
|
|
879
|
+
to: Schema.Array(Schema.String),
|
|
880
|
+
subject: Schema.Union([Schema.String, Schema.Null]),
|
|
881
|
+
createdAt: Schema.String,
|
|
882
|
+
updatedAt: Schema.String,
|
|
883
|
+
revision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
884
|
+
endpointId: Schema.Union([MailboxEndpointId, Schema.Null]),
|
|
885
|
+
cc: Schema.Array(Schema.String),
|
|
886
|
+
bcc: Schema.Array(Schema.String),
|
|
887
|
+
replyTo: Schema.Array(Schema.String),
|
|
888
|
+
html: Schema.Union([Schema.String, Schema.Null]),
|
|
889
|
+
text: Schema.Union([Schema.String, Schema.Null]),
|
|
890
|
+
attachments: Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }))
|
|
891
|
+
}).annotate({ identifier: "MailboxEmailDraft" }))();
|
|
821
892
|
const MailboxPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
822
893
|
items: Schema.Array(MailboxSummary),
|
|
823
894
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -939,6 +1010,10 @@ const MailboxDraftPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
939
1010
|
items: Schema.Array(MailboxDraftSummary),
|
|
940
1011
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
941
1012
|
}).annotate({ identifier: "MailboxDraftPage" }))();
|
|
1013
|
+
const MailboxScheduledSendPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
1014
|
+
items: Schema.Array(MailOutboxItem),
|
|
1015
|
+
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
1016
|
+
}).annotate({ identifier: "MailboxScheduledSendPage" }))();
|
|
942
1017
|
const MailboxEventPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
943
1018
|
items: Schema.Array(MailboxEvent),
|
|
944
1019
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -991,6 +1066,37 @@ const Mailbox = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
991
1066
|
endpoints: Schema.Array(MailboxEndpoint),
|
|
992
1067
|
updatedAt: Schema.String
|
|
993
1068
|
}).annotate({ identifier: "Mailbox" }))();
|
|
1069
|
+
const MailCommandReceipt = /* @__PURE__ */ (() => Schema.Struct({
|
|
1070
|
+
idempotencyKey: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{8,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{8,128}$" })),
|
|
1071
|
+
type: Schema.Union([
|
|
1072
|
+
Schema.Literal("thread.patch"),
|
|
1073
|
+
Schema.Literal("thread.labels"),
|
|
1074
|
+
Schema.Literal("draft.create"),
|
|
1075
|
+
Schema.Literal("draft.update"),
|
|
1076
|
+
Schema.Literal("draft.delete"),
|
|
1077
|
+
Schema.Literal("send"),
|
|
1078
|
+
Schema.Literal("outbox.reschedule"),
|
|
1079
|
+
Schema.Literal("outbox.sendNow"),
|
|
1080
|
+
Schema.Literal("outbox.review"),
|
|
1081
|
+
Schema.Literal("outbox.cancel")
|
|
1082
|
+
]),
|
|
1083
|
+
outcome: Schema.Union([
|
|
1084
|
+
Schema.Literal("applied"),
|
|
1085
|
+
Schema.Literal("conflict"),
|
|
1086
|
+
Schema.Literal("held"),
|
|
1087
|
+
Schema.Literal("queued"),
|
|
1088
|
+
Schema.Literal("cancelled"),
|
|
1089
|
+
Schema.Literal("failed")
|
|
1090
|
+
]),
|
|
1091
|
+
position: Schema.Union([MailSyncPosition, Schema.Null]),
|
|
1092
|
+
conflict: Schema.Union([MailCommandConflict, Schema.Null]),
|
|
1093
|
+
draft: Schema.Union([Schema.Struct({
|
|
1094
|
+
id: MailboxDraftId,
|
|
1095
|
+
revision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1096
|
+
}), Schema.Null]),
|
|
1097
|
+
outbox: Schema.Union([MailOutboxItem, Schema.Null]),
|
|
1098
|
+
send: Schema.Union([MailboxSendReceipt, Schema.Null])
|
|
1099
|
+
}).annotate({ identifier: "MailCommandReceipt" }))();
|
|
994
1100
|
const MailboxSendSnapshot = /* @__PURE__ */ (() => Schema.Union([MailboxEmailSendSnapshot, MailboxChatSendIntent]).annotate({ identifier: "MailboxSendSnapshot" }))();
|
|
995
1101
|
const MailboxThreadContentPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
996
1102
|
items: Schema.Array(MailboxMessage),
|
|
@@ -1317,6 +1423,16 @@ const MailboxesRetryAction500 = InternalError;
|
|
|
1317
1423
|
const MailboxesRetryAction502 = BillingProviderError;
|
|
1318
1424
|
const MailboxesRetryAction503 = SenderNotReadyError;
|
|
1319
1425
|
const MailboxesRetryAction504 = GatewayTimeoutError;
|
|
1426
|
+
const MailboxesListAddressesPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1427
|
+
const MailboxesListAddressesQuery = /* @__PURE__ */ (() => Schema.Struct({ recipient: Schema.optionalKey(Schema.Union([Schema.String, Schema.Array(Schema.String)])) }))();
|
|
1428
|
+
const MailboxesListAddresses200 = /* @__PURE__ */ (() => Schema.Array(Schema.String))();
|
|
1429
|
+
const MailboxesListAddresses400 = MalformedRequestError;
|
|
1430
|
+
const MailboxesListAddresses401 = UnauthorizedError;
|
|
1431
|
+
const MailboxesListAddresses403 = ForbiddenError;
|
|
1432
|
+
const MailboxesListAddresses404 = ResourceNotFoundError;
|
|
1433
|
+
const MailboxesListAddresses422 = ValidationError;
|
|
1434
|
+
const MailboxesListAddresses500 = InternalError;
|
|
1435
|
+
const MailboxesListAddresses504 = GatewayTimeoutError;
|
|
1320
1436
|
const MailboxesGetAgentActivityPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1321
1437
|
const MailboxesGetAgentActivityQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1322
1438
|
after: Schema.optionalKey(Schema.String),
|
|
@@ -1401,6 +1517,26 @@ const MailboxesUpdateDraft409 = ConflictError;
|
|
|
1401
1517
|
const MailboxesUpdateDraft422 = ValidationError;
|
|
1402
1518
|
const MailboxesUpdateDraft500 = InternalError;
|
|
1403
1519
|
const MailboxesUpdateDraft504 = GatewayTimeoutError;
|
|
1520
|
+
const MailboxesScheduleDraftPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1521
|
+
id: MailboxId,
|
|
1522
|
+
draftId: MailboxDraftId
|
|
1523
|
+
}))();
|
|
1524
|
+
const MailboxesScheduleDraftRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1525
|
+
idempotencyKey: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{8,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{8,128}$" })),
|
|
1526
|
+
base: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$" })),
|
|
1527
|
+
draftRevision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1528
|
+
sendAt: Schema.String
|
|
1529
|
+
}))();
|
|
1530
|
+
const MailboxesScheduleDraft200 = MailCommandReceipt;
|
|
1531
|
+
const MailboxesScheduleDraft400 = MalformedRequestError;
|
|
1532
|
+
const MailboxesScheduleDraft401 = UnauthorizedError;
|
|
1533
|
+
const MailboxesScheduleDraft403 = ForbiddenError;
|
|
1534
|
+
const MailboxesScheduleDraft404 = ResourceNotFoundError;
|
|
1535
|
+
const MailboxesScheduleDraft409 = ConflictError;
|
|
1536
|
+
const MailboxesScheduleDraft422 = ValidationError;
|
|
1537
|
+
const MailboxesScheduleDraft429 = RateLimitedError;
|
|
1538
|
+
const MailboxesScheduleDraft500 = InternalError;
|
|
1539
|
+
const MailboxesScheduleDraft504 = GatewayTimeoutError;
|
|
1404
1540
|
const MailboxesSendDraftPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1405
1541
|
id: MailboxId,
|
|
1406
1542
|
draftId: MailboxDraftId
|
|
@@ -1546,6 +1682,64 @@ const MailboxesUpdateGrant409 = ConflictError;
|
|
|
1546
1682
|
const MailboxesUpdateGrant422 = ValidationError;
|
|
1547
1683
|
const MailboxesUpdateGrant500 = InternalError;
|
|
1548
1684
|
const MailboxesUpdateGrant504 = GatewayTimeoutError;
|
|
1685
|
+
const MailboxesListImportsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1686
|
+
const MailboxesListImports200 = /* @__PURE__ */ (() => Schema.Struct({ items: Schema.Array(MailHistoryImportJob) }))();
|
|
1687
|
+
const MailboxesListImports400 = MalformedRequestError;
|
|
1688
|
+
const MailboxesListImports401 = UnauthorizedError;
|
|
1689
|
+
const MailboxesListImports403 = ForbiddenError;
|
|
1690
|
+
const MailboxesListImports404 = ResourceNotFoundError;
|
|
1691
|
+
const MailboxesListImports422 = ValidationError;
|
|
1692
|
+
const MailboxesListImports500 = InternalError;
|
|
1693
|
+
const MailboxesListImports504 = GatewayTimeoutError;
|
|
1694
|
+
const MailboxesGetImportPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1695
|
+
id: MailboxId,
|
|
1696
|
+
importId: Schema.String
|
|
1697
|
+
}))();
|
|
1698
|
+
const MailboxesGetImport200 = MailHistoryImportJob;
|
|
1699
|
+
const MailboxesGetImport400 = MalformedRequestError;
|
|
1700
|
+
const MailboxesGetImport401 = UnauthorizedError;
|
|
1701
|
+
const MailboxesGetImport403 = ForbiddenError;
|
|
1702
|
+
const MailboxesGetImport404 = ResourceNotFoundError;
|
|
1703
|
+
const MailboxesGetImport422 = ValidationError;
|
|
1704
|
+
const MailboxesGetImport500 = InternalError;
|
|
1705
|
+
const MailboxesGetImport504 = GatewayTimeoutError;
|
|
1706
|
+
const MailboxesStartImportPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1707
|
+
id: MailboxId,
|
|
1708
|
+
importId: Schema.String
|
|
1709
|
+
}))();
|
|
1710
|
+
const MailboxesStartImport200 = MailHistoryImportJob;
|
|
1711
|
+
const MailboxesStartImport400 = MalformedRequestError;
|
|
1712
|
+
const MailboxesStartImport401 = UnauthorizedError;
|
|
1713
|
+
const MailboxesStartImport403 = ForbiddenError;
|
|
1714
|
+
const MailboxesStartImport404 = ResourceNotFoundError;
|
|
1715
|
+
const MailboxesStartImport409 = ConflictError;
|
|
1716
|
+
const MailboxesStartImport422 = ValidationError;
|
|
1717
|
+
const MailboxesStartImport500 = InternalError;
|
|
1718
|
+
const MailboxesStartImport504 = GatewayTimeoutError;
|
|
1719
|
+
const MailboxesCreateImportUploadPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1720
|
+
const MailboxesCreateImportUploadRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1721
|
+
importId: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
1722
|
+
filename: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1723
|
+
sizeBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(5e9).annotate({ expected: "a value less than or equal to 5000000000" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })),
|
|
1724
|
+
format: Schema.Union([
|
|
1725
|
+
Schema.Literal("gmail"),
|
|
1726
|
+
Schema.Literal("apple"),
|
|
1727
|
+
Schema.Literal("mbox")
|
|
1728
|
+
]),
|
|
1729
|
+
mailboxPath: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.Null]))
|
|
1730
|
+
}))();
|
|
1731
|
+
const MailboxesCreateImportUpload200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1732
|
+
id: Schema.String,
|
|
1733
|
+
uploadUrl: SensitiveString
|
|
1734
|
+
}))();
|
|
1735
|
+
const MailboxesCreateImportUpload400 = MalformedRequestError;
|
|
1736
|
+
const MailboxesCreateImportUpload401 = UnauthorizedError;
|
|
1737
|
+
const MailboxesCreateImportUpload403 = ForbiddenError;
|
|
1738
|
+
const MailboxesCreateImportUpload404 = ResourceNotFoundError;
|
|
1739
|
+
const MailboxesCreateImportUpload409 = ConflictError;
|
|
1740
|
+
const MailboxesCreateImportUpload422 = ValidationError;
|
|
1741
|
+
const MailboxesCreateImportUpload500 = InternalError;
|
|
1742
|
+
const MailboxesCreateImportUpload504 = GatewayTimeoutError;
|
|
1549
1743
|
const MailboxesListLabelsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1550
1744
|
const MailboxesListLabels200 = MailboxLabelList;
|
|
1551
1745
|
const MailboxesListLabels400 = MalformedRequestError;
|
|
@@ -1827,12 +2021,86 @@ const MailboxesResume404 = ResourceNotFoundError;
|
|
|
1827
2021
|
const MailboxesResume422 = ValidationError;
|
|
1828
2022
|
const MailboxesResume500 = InternalError;
|
|
1829
2023
|
const MailboxesResume504 = GatewayTimeoutError;
|
|
2024
|
+
const MailboxesListScheduledSendsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
2025
|
+
const MailboxesListScheduledSendsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
2026
|
+
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])),
|
|
2027
|
+
cursor: Schema.optionalKey(Schema.String)
|
|
2028
|
+
}))();
|
|
2029
|
+
const MailboxesListScheduledSends200 = MailboxScheduledSendPage;
|
|
2030
|
+
const MailboxesListScheduledSends400 = MalformedRequestError;
|
|
2031
|
+
const MailboxesListScheduledSends401 = UnauthorizedError;
|
|
2032
|
+
const MailboxesListScheduledSends403 = ForbiddenError;
|
|
2033
|
+
const MailboxesListScheduledSends404 = ResourceNotFoundError;
|
|
2034
|
+
const MailboxesListScheduledSends422 = ValidationError;
|
|
2035
|
+
const MailboxesListScheduledSends500 = InternalError;
|
|
2036
|
+
const MailboxesListScheduledSends504 = GatewayTimeoutError;
|
|
2037
|
+
const MailboxesUnscheduleSendPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
2038
|
+
id: MailboxId,
|
|
2039
|
+
outboxId: MailOutboxItemId
|
|
2040
|
+
}))();
|
|
2041
|
+
const MailboxesUnscheduleSendRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2042
|
+
idempotencyKey: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{8,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{8,128}$" })),
|
|
2043
|
+
base: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$" })),
|
|
2044
|
+
expectedRevision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
2045
|
+
}))();
|
|
2046
|
+
const MailboxesUnscheduleSend200 = MailCommandReceipt;
|
|
2047
|
+
const MailboxesUnscheduleSend400 = MalformedRequestError;
|
|
2048
|
+
const MailboxesUnscheduleSend401 = UnauthorizedError;
|
|
2049
|
+
const MailboxesUnscheduleSend403 = ForbiddenError;
|
|
2050
|
+
const MailboxesUnscheduleSend404 = ResourceNotFoundError;
|
|
2051
|
+
const MailboxesUnscheduleSend409 = ConflictError;
|
|
2052
|
+
const MailboxesUnscheduleSend422 = ValidationError;
|
|
2053
|
+
const MailboxesUnscheduleSend429 = RateLimitedError;
|
|
2054
|
+
const MailboxesUnscheduleSend500 = InternalError;
|
|
2055
|
+
const MailboxesUnscheduleSend504 = GatewayTimeoutError;
|
|
2056
|
+
const MailboxesRescheduleSendPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
2057
|
+
id: MailboxId,
|
|
2058
|
+
outboxId: MailOutboxItemId
|
|
2059
|
+
}))();
|
|
2060
|
+
const MailboxesRescheduleSendRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2061
|
+
idempotencyKey: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{8,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{8,128}$" })),
|
|
2062
|
+
base: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$" })),
|
|
2063
|
+
expectedRevision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
2064
|
+
sendAt: Schema.String
|
|
2065
|
+
}))();
|
|
2066
|
+
const MailboxesRescheduleSend200 = MailCommandReceipt;
|
|
2067
|
+
const MailboxesRescheduleSend400 = MalformedRequestError;
|
|
2068
|
+
const MailboxesRescheduleSend401 = UnauthorizedError;
|
|
2069
|
+
const MailboxesRescheduleSend403 = ForbiddenError;
|
|
2070
|
+
const MailboxesRescheduleSend404 = ResourceNotFoundError;
|
|
2071
|
+
const MailboxesRescheduleSend409 = ConflictError;
|
|
2072
|
+
const MailboxesRescheduleSend422 = ValidationError;
|
|
2073
|
+
const MailboxesRescheduleSend429 = RateLimitedError;
|
|
2074
|
+
const MailboxesRescheduleSend500 = InternalError;
|
|
2075
|
+
const MailboxesRescheduleSend504 = GatewayTimeoutError;
|
|
2076
|
+
const MailboxesSendScheduledNowPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
2077
|
+
id: MailboxId,
|
|
2078
|
+
outboxId: MailOutboxItemId
|
|
2079
|
+
}))();
|
|
2080
|
+
const MailboxesSendScheduledNowRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2081
|
+
idempotencyKey: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{8,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{8,128}$" })),
|
|
2082
|
+
base: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9_-]{1,64}\\.(0|[1-9]\\d{0,15})\\.[A-Za-z0-9_-]{1,64}$" })),
|
|
2083
|
+
expectedRevision: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
2084
|
+
}))();
|
|
2085
|
+
const MailboxesSendScheduledNow200 = MailCommandReceipt;
|
|
2086
|
+
const MailboxesSendScheduledNow400 = MalformedRequestError;
|
|
2087
|
+
const MailboxesSendScheduledNow401 = UnauthorizedError;
|
|
2088
|
+
const MailboxesSendScheduledNow403 = ForbiddenError;
|
|
2089
|
+
const MailboxesSendScheduledNow404 = ResourceNotFoundError;
|
|
2090
|
+
const MailboxesSendScheduledNow409 = ConflictError;
|
|
2091
|
+
const MailboxesSendScheduledNow422 = ValidationError;
|
|
2092
|
+
const MailboxesSendScheduledNow429 = RateLimitedError;
|
|
2093
|
+
const MailboxesSendScheduledNow500 = InternalError;
|
|
2094
|
+
const MailboxesSendScheduledNow504 = GatewayTimeoutError;
|
|
1830
2095
|
const MailboxesListThreadsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1831
2096
|
const MailboxesListThreadsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1832
2097
|
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])),
|
|
1833
2098
|
cursor: Schema.optionalKey(Schema.String),
|
|
1834
2099
|
after: Schema.optionalKey(Schema.String),
|
|
1835
2100
|
before: Schema.optionalKey(Schema.String),
|
|
2101
|
+
recipient: Schema.optionalKey(Schema.String),
|
|
2102
|
+
senders: Schema.optionalKey(Schema.Union([Schema.String, Schema.Array(Schema.String)])),
|
|
2103
|
+
excludeTrash: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1836
2104
|
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." })),
|
|
1837
2105
|
state: Schema.optionalKey(Schema.Union([Schema.Literal("active"), Schema.Literal("done")])),
|
|
1838
2106
|
folder: Schema.optionalKey(MailboxThreadFolder),
|
|
@@ -1872,7 +2140,9 @@ const MailboxesUpdateThreadRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1872
2140
|
closed: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1873
2141
|
read: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1874
2142
|
starred: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1875
|
-
snoozedUntil: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
2143
|
+
snoozedUntil: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2144
|
+
ifNoReply: Schema.optionalKey(Schema.Boolean),
|
|
2145
|
+
reminderInboxAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
1876
2146
|
}))();
|
|
1877
2147
|
const MailboxesUpdateThread200 = MailboxThreadState;
|
|
1878
2148
|
const MailboxesUpdateThread400 = MalformedRequestError;
|
|
@@ -2030,11 +2300,172 @@ const MailboxesGetNeedsYou403 = ForbiddenError;
|
|
|
2030
2300
|
const MailboxesGetNeedsYou422 = ValidationError;
|
|
2031
2301
|
const MailboxesGetNeedsYou500 = InternalError;
|
|
2032
2302
|
const MailboxesGetNeedsYou504 = GatewayTimeoutError;
|
|
2303
|
+
const MailboxesListSplits200 = /* @__PURE__ */ (() => Schema.Array(Schema.Struct({
|
|
2304
|
+
id: Schema.String,
|
|
2305
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
2306
|
+
filter: Schema.Union([
|
|
2307
|
+
Schema.Struct({
|
|
2308
|
+
kind: Schema.Literal("query"),
|
|
2309
|
+
query: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
2310
|
+
}),
|
|
2311
|
+
Schema.Struct({
|
|
2312
|
+
kind: Schema.Literal("address"),
|
|
2313
|
+
address: Schema.String
|
|
2314
|
+
}),
|
|
2315
|
+
Schema.Struct({
|
|
2316
|
+
kind: Schema.Literal("vip"),
|
|
2317
|
+
senders: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String])
|
|
2318
|
+
})
|
|
2319
|
+
]),
|
|
2320
|
+
mailboxId: Schema.Union([MailboxId, Schema.Null]),
|
|
2321
|
+
position: 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" }))
|
|
2322
|
+
})))();
|
|
2323
|
+
const MailboxesListSplits400 = MalformedRequestError;
|
|
2324
|
+
const MailboxesListSplits401 = UnauthorizedError;
|
|
2325
|
+
const MailboxesListSplits403 = ForbiddenError;
|
|
2326
|
+
const MailboxesListSplits422 = ValidationError;
|
|
2327
|
+
const MailboxesListSplits500 = InternalError;
|
|
2328
|
+
const MailboxesListSplits504 = GatewayTimeoutError;
|
|
2329
|
+
const MailboxesCreateSplitRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2330
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
2331
|
+
filter: Schema.Union([
|
|
2332
|
+
Schema.Struct({
|
|
2333
|
+
kind: Schema.Literal("query"),
|
|
2334
|
+
query: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
2335
|
+
}),
|
|
2336
|
+
Schema.Struct({
|
|
2337
|
+
kind: Schema.Literal("address"),
|
|
2338
|
+
address: Schema.String
|
|
2339
|
+
}),
|
|
2340
|
+
Schema.Struct({
|
|
2341
|
+
kind: Schema.Literal("vip"),
|
|
2342
|
+
senders: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String])
|
|
2343
|
+
})
|
|
2344
|
+
]),
|
|
2345
|
+
mailboxId: Schema.Union([MailboxId, Schema.Null]),
|
|
2346
|
+
position: 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" }))
|
|
2347
|
+
}))();
|
|
2348
|
+
const MailboxesCreateSplit200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
2349
|
+
id: Schema.String,
|
|
2350
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
2351
|
+
filter: Schema.Union([
|
|
2352
|
+
Schema.Struct({
|
|
2353
|
+
kind: Schema.Literal("query"),
|
|
2354
|
+
query: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
2355
|
+
}),
|
|
2356
|
+
Schema.Struct({
|
|
2357
|
+
kind: Schema.Literal("address"),
|
|
2358
|
+
address: Schema.String
|
|
2359
|
+
}),
|
|
2360
|
+
Schema.Struct({
|
|
2361
|
+
kind: Schema.Literal("vip"),
|
|
2362
|
+
senders: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String])
|
|
2363
|
+
})
|
|
2364
|
+
]),
|
|
2365
|
+
mailboxId: Schema.Union([MailboxId, Schema.Null]),
|
|
2366
|
+
position: 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" }))
|
|
2367
|
+
}))();
|
|
2368
|
+
const MailboxesCreateSplit400 = MalformedRequestError;
|
|
2369
|
+
const MailboxesCreateSplit401 = UnauthorizedError;
|
|
2370
|
+
const MailboxesCreateSplit403 = ForbiddenError;
|
|
2371
|
+
const MailboxesCreateSplit404 = ResourceNotFoundError;
|
|
2372
|
+
const MailboxesCreateSplit422 = ValidationError;
|
|
2373
|
+
const MailboxesCreateSplit500 = InternalError;
|
|
2374
|
+
const MailboxesCreateSplit504 = GatewayTimeoutError;
|
|
2375
|
+
const MailboxesUpdateSplitPathParams = /* @__PURE__ */ (() => Schema.Struct({ splitId: Schema.String }))();
|
|
2376
|
+
const MailboxesUpdateSplitRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2377
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
2378
|
+
filter: Schema.Union([
|
|
2379
|
+
Schema.Struct({
|
|
2380
|
+
kind: Schema.Literal("query"),
|
|
2381
|
+
query: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
2382
|
+
}),
|
|
2383
|
+
Schema.Struct({
|
|
2384
|
+
kind: Schema.Literal("address"),
|
|
2385
|
+
address: Schema.String
|
|
2386
|
+
}),
|
|
2387
|
+
Schema.Struct({
|
|
2388
|
+
kind: Schema.Literal("vip"),
|
|
2389
|
+
senders: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String])
|
|
2390
|
+
})
|
|
2391
|
+
]),
|
|
2392
|
+
mailboxId: Schema.Union([MailboxId, Schema.Null]),
|
|
2393
|
+
position: 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" }))
|
|
2394
|
+
}))();
|
|
2395
|
+
const MailboxesUpdateSplit200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
2396
|
+
id: Schema.String,
|
|
2397
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
2398
|
+
filter: Schema.Union([
|
|
2399
|
+
Schema.Struct({
|
|
2400
|
+
kind: Schema.Literal("query"),
|
|
2401
|
+
query: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
2402
|
+
}),
|
|
2403
|
+
Schema.Struct({
|
|
2404
|
+
kind: Schema.Literal("address"),
|
|
2405
|
+
address: Schema.String
|
|
2406
|
+
}),
|
|
2407
|
+
Schema.Struct({
|
|
2408
|
+
kind: Schema.Literal("vip"),
|
|
2409
|
+
senders: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String])
|
|
2410
|
+
})
|
|
2411
|
+
]),
|
|
2412
|
+
mailboxId: Schema.Union([MailboxId, Schema.Null]),
|
|
2413
|
+
position: 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" }))
|
|
2414
|
+
}))();
|
|
2415
|
+
const MailboxesUpdateSplit400 = MalformedRequestError;
|
|
2416
|
+
const MailboxesUpdateSplit401 = UnauthorizedError;
|
|
2417
|
+
const MailboxesUpdateSplit403 = ForbiddenError;
|
|
2418
|
+
const MailboxesUpdateSplit404 = ResourceNotFoundError;
|
|
2419
|
+
const MailboxesUpdateSplit422 = ValidationError;
|
|
2420
|
+
const MailboxesUpdateSplit500 = InternalError;
|
|
2421
|
+
const MailboxesUpdateSplit504 = GatewayTimeoutError;
|
|
2422
|
+
const MailboxesDeleteSplitPathParams = /* @__PURE__ */ (() => Schema.Struct({ splitId: Schema.String }))();
|
|
2423
|
+
const MailboxesDeleteSplit200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
2424
|
+
id: Schema.String,
|
|
2425
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(100).annotate({ expected: "a string with at most 100 code points" })).check(Schema.isMaxLength(100).annotate({ expected: "a value with a length of at most 100" })),
|
|
2426
|
+
filter: Schema.Union([
|
|
2427
|
+
Schema.Struct({
|
|
2428
|
+
kind: Schema.Literal("query"),
|
|
2429
|
+
query: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
|
|
2430
|
+
}),
|
|
2431
|
+
Schema.Struct({
|
|
2432
|
+
kind: Schema.Literal("address"),
|
|
2433
|
+
address: Schema.String
|
|
2434
|
+
}),
|
|
2435
|
+
Schema.Struct({
|
|
2436
|
+
kind: Schema.Literal("vip"),
|
|
2437
|
+
senders: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String])
|
|
2438
|
+
})
|
|
2439
|
+
]),
|
|
2440
|
+
mailboxId: Schema.Union([MailboxId, Schema.Null]),
|
|
2441
|
+
position: 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" }))
|
|
2442
|
+
}))();
|
|
2443
|
+
const MailboxesDeleteSplit400 = MalformedRequestError;
|
|
2444
|
+
const MailboxesDeleteSplit401 = UnauthorizedError;
|
|
2445
|
+
const MailboxesDeleteSplit403 = ForbiddenError;
|
|
2446
|
+
const MailboxesDeleteSplit404 = ResourceNotFoundError;
|
|
2447
|
+
const MailboxesDeleteSplit422 = ValidationError;
|
|
2448
|
+
const MailboxesDeleteSplit500 = InternalError;
|
|
2449
|
+
const MailboxesDeleteSplit504 = GatewayTimeoutError;
|
|
2450
|
+
const MailboxesCountSplits200 = /* @__PURE__ */ (() => Schema.Array(Schema.Struct({
|
|
2451
|
+
splitId: Schema.String,
|
|
2452
|
+
unread: 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" })),
|
|
2453
|
+
capped: Schema.Boolean
|
|
2454
|
+
})))();
|
|
2455
|
+
const MailboxesCountSplits400 = MalformedRequestError;
|
|
2456
|
+
const MailboxesCountSplits401 = UnauthorizedError;
|
|
2457
|
+
const MailboxesCountSplits403 = ForbiddenError;
|
|
2458
|
+
const MailboxesCountSplits422 = ValidationError;
|
|
2459
|
+
const MailboxesCountSplits500 = InternalError;
|
|
2460
|
+
const MailboxesCountSplits504 = GatewayTimeoutError;
|
|
2033
2461
|
const MailboxesListOrganizationThreadsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
2034
2462
|
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])),
|
|
2035
2463
|
cursor: Schema.optionalKey(Schema.String),
|
|
2036
2464
|
after: Schema.optionalKey(Schema.String),
|
|
2037
2465
|
before: Schema.optionalKey(Schema.String),
|
|
2466
|
+
recipient: Schema.optionalKey(Schema.String),
|
|
2467
|
+
senders: Schema.optionalKey(Schema.Union([Schema.String, Schema.Array(Schema.String)])),
|
|
2468
|
+
excludeTrash: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2038
2469
|
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." })),
|
|
2039
2470
|
state: Schema.optionalKey(Schema.Union([Schema.Literal("active"), Schema.Literal("done")])),
|
|
2040
2471
|
folder: Schema.optionalKey(MailboxThreadFolder),
|
|
@@ -2210,7 +2641,20 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2210
2641
|
MailboxesRetryAction503.pipe(HttpApiSchema.status(503)),
|
|
2211
2642
|
MailboxesRetryAction504.pipe(HttpApiSchema.status(504))
|
|
2212
2643
|
]
|
|
2213
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.retryAction").annotate(OpenApi.Summary, "Resume a mailbox send").annotate(OpenApi.Description, "Resumes the same eligible action while preserving its content, message identity, existing retry delays and original deadline. A queued action can resume while cleanup from an ended send attempt waits. A send attempt that is still running or whose status is unknown cannot be retried. Only an authorized person who proposed the send or can approve actions may retry. Automatic waits need no manual Retry. This does not grant new approval or resubmit an accepted or uncertain send."), HttpApiEndpoint.get("
|
|
2644
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.retryAction").annotate(OpenApi.Summary, "Resume a mailbox send").annotate(OpenApi.Description, "Resumes the same eligible action while preserving its content, message identity, existing retry delays and original deadline. A queued action can resume while cleanup from an ended send attempt waits. A send attempt that is still running or whose status is unknown cannot be retried. Only an authorized person who proposed the send or can approve actions may retry. Automatic waits need no manual Retry. This does not grant new approval or resubmit an accepted or uncertain send."), HttpApiEndpoint.get("mailboxesListAddresses", "/v1/mailboxes/:id/addresses", {
|
|
2645
|
+
params: MailboxesListAddressesPathParams,
|
|
2646
|
+
query: MailboxesListAddressesQuery,
|
|
2647
|
+
success: MailboxesListAddresses200,
|
|
2648
|
+
error: [
|
|
2649
|
+
MailboxesListAddresses400.pipe(HttpApiSchema.status(400)),
|
|
2650
|
+
MailboxesListAddresses401.pipe(HttpApiSchema.status(401)),
|
|
2651
|
+
MailboxesListAddresses403.pipe(HttpApiSchema.status(403)),
|
|
2652
|
+
MailboxesListAddresses404.pipe(HttpApiSchema.status(404)),
|
|
2653
|
+
MailboxesListAddresses422.pipe(HttpApiSchema.status(422)),
|
|
2654
|
+
MailboxesListAddresses500,
|
|
2655
|
+
MailboxesListAddresses504.pipe(HttpApiSchema.status(504))
|
|
2656
|
+
]
|
|
2657
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listAddresses").annotate(OpenApi.Summary, "List mailbox addresses").annotate(OpenApi.Description, "Lists up to 1000 distinct registered and observed email addresses in sorted order, retaining registered endpoints first when the bound applies. With recipient query parameters, resolves only those candidates as this mailbox’s own addresses, including plus fallback but excluding literal tagged endpoints owned by another mailbox. Use this candidate read for reply addressing."), HttpApiEndpoint.get("mailboxesGetAgentActivity", "/v1/mailboxes/:id/agent-activity", {
|
|
2214
2658
|
params: MailboxesGetAgentActivityPathParams,
|
|
2215
2659
|
query: MailboxesGetAgentActivityQuery,
|
|
2216
2660
|
success: MailboxesGetAgentActivity200,
|
|
@@ -2287,7 +2731,22 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2287
2731
|
MailboxesUpdateDraft500,
|
|
2288
2732
|
MailboxesUpdateDraft504.pipe(HttpApiSchema.status(504))
|
|
2289
2733
|
]
|
|
2290
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.updateDraft").annotate(OpenApi.Summary, "Update a draft").annotate(OpenApi.Description, "Updates the fields you name and keeps the rest; `null` clears an optional field. A draft whose send waits for approval cannot change and conflicts."), HttpApiEndpoint.post("
|
|
2734
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.updateDraft").annotate(OpenApi.Summary, "Update a draft").annotate(OpenApi.Description, "Updates the fields you name and keeps the rest; `null` clears an optional field. A draft whose send waits for approval cannot change and conflicts."), HttpApiEndpoint.post("mailboxesScheduleDraft", "/v1/mailboxes/:id/drafts/:draftId/schedule", {
|
|
2735
|
+
params: MailboxesScheduleDraftPathParams,
|
|
2736
|
+
payload: MailboxesScheduleDraftRequestJson,
|
|
2737
|
+
success: MailboxesScheduleDraft200,
|
|
2738
|
+
error: [
|
|
2739
|
+
MailboxesScheduleDraft400.pipe(HttpApiSchema.status(400)),
|
|
2740
|
+
MailboxesScheduleDraft401.pipe(HttpApiSchema.status(401)),
|
|
2741
|
+
MailboxesScheduleDraft403.pipe(HttpApiSchema.status(403)),
|
|
2742
|
+
MailboxesScheduleDraft404.pipe(HttpApiSchema.status(404)),
|
|
2743
|
+
MailboxesScheduleDraft409.pipe(HttpApiSchema.status(409)),
|
|
2744
|
+
MailboxesScheduleDraft422.pipe(HttpApiSchema.status(422)),
|
|
2745
|
+
MailboxesScheduleDraft429.pipe(HttpApiSchema.status(429)),
|
|
2746
|
+
MailboxesScheduleDraft500,
|
|
2747
|
+
MailboxesScheduleDraft504.pipe(HttpApiSchema.status(504))
|
|
2748
|
+
]
|
|
2749
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.scheduleDraft").annotate(OpenApi.Summary, "Schedule a mailbox draft").annotate(OpenApi.Description, "Changes the caller's private scheduled sends. The revision and idempotency key protect retries and concurrent changes. Sending uses the mailbox's current permissions and policies."), HttpApiEndpoint.post("mailboxesSendDraft", "/v1/mailboxes/:id/drafts/:draftId/send", {
|
|
2291
2750
|
params: MailboxesSendDraftPathParams,
|
|
2292
2751
|
headers: MailboxesSendDraftHeaders,
|
|
2293
2752
|
success: [MailboxesSendDraft200, MailboxesSendDraft202.pipe(HttpApiSchema.status(202))],
|
|
@@ -2423,7 +2882,58 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2423
2882
|
MailboxesUpdateGrant500,
|
|
2424
2883
|
MailboxesUpdateGrant504.pipe(HttpApiSchema.status(504))
|
|
2425
2884
|
]
|
|
2426
|
-
}).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("
|
|
2885
|
+
}).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("mailboxesListImports", "/v1/mailboxes/:id/imports", {
|
|
2886
|
+
params: MailboxesListImportsPathParams,
|
|
2887
|
+
success: MailboxesListImports200,
|
|
2888
|
+
error: [
|
|
2889
|
+
MailboxesListImports400.pipe(HttpApiSchema.status(400)),
|
|
2890
|
+
MailboxesListImports401.pipe(HttpApiSchema.status(401)),
|
|
2891
|
+
MailboxesListImports403.pipe(HttpApiSchema.status(403)),
|
|
2892
|
+
MailboxesListImports404.pipe(HttpApiSchema.status(404)),
|
|
2893
|
+
MailboxesListImports422.pipe(HttpApiSchema.status(422)),
|
|
2894
|
+
MailboxesListImports500,
|
|
2895
|
+
MailboxesListImports504.pipe(HttpApiSchema.status(504))
|
|
2896
|
+
]
|
|
2897
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listImports").annotate(OpenApi.Summary, "List mail history imports").annotate(OpenApi.Description, "Lists the most recent history imports for a mailbox."), HttpApiEndpoint.get("mailboxesGetImport", "/v1/mailboxes/:id/imports/:importId", {
|
|
2898
|
+
params: MailboxesGetImportPathParams,
|
|
2899
|
+
success: MailboxesGetImport200,
|
|
2900
|
+
error: [
|
|
2901
|
+
MailboxesGetImport400.pipe(HttpApiSchema.status(400)),
|
|
2902
|
+
MailboxesGetImport401.pipe(HttpApiSchema.status(401)),
|
|
2903
|
+
MailboxesGetImport403.pipe(HttpApiSchema.status(403)),
|
|
2904
|
+
MailboxesGetImport404.pipe(HttpApiSchema.status(404)),
|
|
2905
|
+
MailboxesGetImport422.pipe(HttpApiSchema.status(422)),
|
|
2906
|
+
MailboxesGetImport500,
|
|
2907
|
+
MailboxesGetImport504.pipe(HttpApiSchema.status(504))
|
|
2908
|
+
]
|
|
2909
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.getImport").annotate(OpenApi.Summary, "Read mail history import progress").annotate(OpenApi.Description, "Returns import status, counts, and bounded failure reasons."), HttpApiEndpoint.post("mailboxesStartImport", "/v1/mailboxes/:id/imports/:importId/start", {
|
|
2910
|
+
params: MailboxesStartImportPathParams,
|
|
2911
|
+
success: MailboxesStartImport200,
|
|
2912
|
+
error: [
|
|
2913
|
+
MailboxesStartImport400.pipe(HttpApiSchema.status(400)),
|
|
2914
|
+
MailboxesStartImport401.pipe(HttpApiSchema.status(401)),
|
|
2915
|
+
MailboxesStartImport403.pipe(HttpApiSchema.status(403)),
|
|
2916
|
+
MailboxesStartImport404.pipe(HttpApiSchema.status(404)),
|
|
2917
|
+
MailboxesStartImport409.pipe(HttpApiSchema.status(409)),
|
|
2918
|
+
MailboxesStartImport422.pipe(HttpApiSchema.status(422)),
|
|
2919
|
+
MailboxesStartImport500,
|
|
2920
|
+
MailboxesStartImport504.pipe(HttpApiSchema.status(504))
|
|
2921
|
+
]
|
|
2922
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.startImport").annotate(OpenApi.Summary, "Start or resume a mail history import").annotate(OpenApi.Description, "Starts all archives uploaded to the job, or resumes a failed job at its committed byte cursor across those archives. History emits no inbound events or agent triggers."), HttpApiEndpoint.post("mailboxesCreateImportUpload", "/v1/mailboxes/:id/imports/uploads", {
|
|
2923
|
+
params: MailboxesCreateImportUploadPathParams,
|
|
2924
|
+
payload: MailboxesCreateImportUploadRequestJson,
|
|
2925
|
+
success: MailboxesCreateImportUpload200,
|
|
2926
|
+
error: [
|
|
2927
|
+
MailboxesCreateImportUpload400.pipe(HttpApiSchema.status(400)),
|
|
2928
|
+
MailboxesCreateImportUpload401.pipe(HttpApiSchema.status(401)),
|
|
2929
|
+
MailboxesCreateImportUpload403.pipe(HttpApiSchema.status(403)),
|
|
2930
|
+
MailboxesCreateImportUpload404.pipe(HttpApiSchema.status(404)),
|
|
2931
|
+
MailboxesCreateImportUpload409.pipe(HttpApiSchema.status(409)),
|
|
2932
|
+
MailboxesCreateImportUpload422.pipe(HttpApiSchema.status(422)),
|
|
2933
|
+
MailboxesCreateImportUpload500,
|
|
2934
|
+
MailboxesCreateImportUpload504.pipe(HttpApiSchema.status(504))
|
|
2935
|
+
]
|
|
2936
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.createImportUpload").annotate(OpenApi.Summary, "Create a mail history upload").annotate(OpenApi.Description, "Creates a presigned archive upload for an existing mailbox. Pass importId to append another archive to the same queued job; each upload gets its own URL. Upload each URL with Content-Type application/mbox and Content-Length equal to its accepted sizeBytes. Upload every archive before starting the job. Apple Mail package directories are traversed by the CLI into one import."), HttpApiEndpoint.get("mailboxesListLabels", "/v1/mailboxes/:id/labels", {
|
|
2427
2937
|
params: MailboxesListLabelsPathParams,
|
|
2428
2938
|
success: MailboxesListLabels200,
|
|
2429
2939
|
error: [
|
|
@@ -2663,7 +3173,65 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2663
3173
|
MailboxesResume500,
|
|
2664
3174
|
MailboxesResume504.pipe(HttpApiSchema.status(504))
|
|
2665
3175
|
]
|
|
2666
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.resume").annotate(OpenApi.Summary, "Resume a mailbox").annotate(OpenApi.Description, "Lets a paused mailbox send and receive again."), HttpApiEndpoint.get("
|
|
3176
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.resume").annotate(OpenApi.Summary, "Resume a mailbox").annotate(OpenApi.Description, "Lets a paused mailbox send and receive again."), HttpApiEndpoint.get("mailboxesListScheduledSends", "/v1/mailboxes/:id/scheduled", {
|
|
3177
|
+
params: MailboxesListScheduledSendsPathParams,
|
|
3178
|
+
query: MailboxesListScheduledSendsQuery,
|
|
3179
|
+
success: MailboxesListScheduledSends200,
|
|
3180
|
+
error: [
|
|
3181
|
+
MailboxesListScheduledSends400.pipe(HttpApiSchema.status(400)),
|
|
3182
|
+
MailboxesListScheduledSends401.pipe(HttpApiSchema.status(401)),
|
|
3183
|
+
MailboxesListScheduledSends403.pipe(HttpApiSchema.status(403)),
|
|
3184
|
+
MailboxesListScheduledSends404.pipe(HttpApiSchema.status(404)),
|
|
3185
|
+
MailboxesListScheduledSends422.pipe(HttpApiSchema.status(422)),
|
|
3186
|
+
MailboxesListScheduledSends500,
|
|
3187
|
+
MailboxesListScheduledSends504.pipe(HttpApiSchema.status(504))
|
|
3188
|
+
]
|
|
3189
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listScheduledSends").annotate(OpenApi.Summary, "List scheduled mailbox sends").annotate(OpenApi.Description, "Lists the caller's private scheduled sends in this mailbox. Items leave this list when sent, held, failed, or returned to Drafts."), HttpApiEndpoint.delete("mailboxesUnscheduleSend", "/v1/mailboxes/:id/scheduled/:outboxId", {
|
|
3190
|
+
params: MailboxesUnscheduleSendPathParams,
|
|
3191
|
+
payload: MailboxesUnscheduleSendRequestJson,
|
|
3192
|
+
success: MailboxesUnscheduleSend200,
|
|
3193
|
+
error: [
|
|
3194
|
+
MailboxesUnscheduleSend400.pipe(HttpApiSchema.status(400)),
|
|
3195
|
+
MailboxesUnscheduleSend401.pipe(HttpApiSchema.status(401)),
|
|
3196
|
+
MailboxesUnscheduleSend403.pipe(HttpApiSchema.status(403)),
|
|
3197
|
+
MailboxesUnscheduleSend404.pipe(HttpApiSchema.status(404)),
|
|
3198
|
+
MailboxesUnscheduleSend409.pipe(HttpApiSchema.status(409)),
|
|
3199
|
+
MailboxesUnscheduleSend422.pipe(HttpApiSchema.status(422)),
|
|
3200
|
+
MailboxesUnscheduleSend429.pipe(HttpApiSchema.status(429)),
|
|
3201
|
+
MailboxesUnscheduleSend500,
|
|
3202
|
+
MailboxesUnscheduleSend504.pipe(HttpApiSchema.status(504))
|
|
3203
|
+
]
|
|
3204
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.unscheduleSend").annotate(OpenApi.Summary, "Return a scheduled send to Drafts").annotate(OpenApi.Description, "Changes the caller's private scheduled sends. The revision and idempotency key protect retries and concurrent changes. Sending uses the mailbox's current permissions and policies."), HttpApiEndpoint.patch("mailboxesRescheduleSend", "/v1/mailboxes/:id/scheduled/:outboxId", {
|
|
3205
|
+
params: MailboxesRescheduleSendPathParams,
|
|
3206
|
+
payload: MailboxesRescheduleSendRequestJson,
|
|
3207
|
+
success: MailboxesRescheduleSend200,
|
|
3208
|
+
error: [
|
|
3209
|
+
MailboxesRescheduleSend400.pipe(HttpApiSchema.status(400)),
|
|
3210
|
+
MailboxesRescheduleSend401.pipe(HttpApiSchema.status(401)),
|
|
3211
|
+
MailboxesRescheduleSend403.pipe(HttpApiSchema.status(403)),
|
|
3212
|
+
MailboxesRescheduleSend404.pipe(HttpApiSchema.status(404)),
|
|
3213
|
+
MailboxesRescheduleSend409.pipe(HttpApiSchema.status(409)),
|
|
3214
|
+
MailboxesRescheduleSend422.pipe(HttpApiSchema.status(422)),
|
|
3215
|
+
MailboxesRescheduleSend429.pipe(HttpApiSchema.status(429)),
|
|
3216
|
+
MailboxesRescheduleSend500,
|
|
3217
|
+
MailboxesRescheduleSend504.pipe(HttpApiSchema.status(504))
|
|
3218
|
+
]
|
|
3219
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.rescheduleSend").annotate(OpenApi.Summary, "Reschedule a mailbox send").annotate(OpenApi.Description, "Changes the caller's private scheduled sends. The revision and idempotency key protect retries and concurrent changes. Sending uses the mailbox's current permissions and policies."), HttpApiEndpoint.post("mailboxesSendScheduledNow", "/v1/mailboxes/:id/scheduled/:outboxId/send", {
|
|
3220
|
+
params: MailboxesSendScheduledNowPathParams,
|
|
3221
|
+
payload: MailboxesSendScheduledNowRequestJson,
|
|
3222
|
+
success: MailboxesSendScheduledNow200,
|
|
3223
|
+
error: [
|
|
3224
|
+
MailboxesSendScheduledNow400.pipe(HttpApiSchema.status(400)),
|
|
3225
|
+
MailboxesSendScheduledNow401.pipe(HttpApiSchema.status(401)),
|
|
3226
|
+
MailboxesSendScheduledNow403.pipe(HttpApiSchema.status(403)),
|
|
3227
|
+
MailboxesSendScheduledNow404.pipe(HttpApiSchema.status(404)),
|
|
3228
|
+
MailboxesSendScheduledNow409.pipe(HttpApiSchema.status(409)),
|
|
3229
|
+
MailboxesSendScheduledNow422.pipe(HttpApiSchema.status(422)),
|
|
3230
|
+
MailboxesSendScheduledNow429.pipe(HttpApiSchema.status(429)),
|
|
3231
|
+
MailboxesSendScheduledNow500,
|
|
3232
|
+
MailboxesSendScheduledNow504.pipe(HttpApiSchema.status(504))
|
|
3233
|
+
]
|
|
3234
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.sendScheduledNow").annotate(OpenApi.Summary, "Send a scheduled message now").annotate(OpenApi.Description, "Changes the caller's private scheduled sends. The revision and idempotency key protect retries and concurrent changes. Sending uses the mailbox's current permissions and policies."), HttpApiEndpoint.get("mailboxesListThreads", "/v1/mailboxes/:id/threads", {
|
|
2667
3235
|
params: MailboxesListThreadsPathParams,
|
|
2668
3236
|
query: MailboxesListThreadsQuery,
|
|
2669
3237
|
success: MailboxesListThreads200,
|
|
@@ -2827,7 +3395,64 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2827
3395
|
MailboxesGetNeedsYou500,
|
|
2828
3396
|
MailboxesGetNeedsYou504.pipe(HttpApiSchema.status(504))
|
|
2829
3397
|
]
|
|
2830
|
-
}).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("
|
|
3398
|
+
}).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("mailboxesListSplits", "/v1/mailboxes/splits", {
|
|
3399
|
+
success: MailboxesListSplits200,
|
|
3400
|
+
error: [
|
|
3401
|
+
MailboxesListSplits400.pipe(HttpApiSchema.status(400)),
|
|
3402
|
+
MailboxesListSplits401.pipe(HttpApiSchema.status(401)),
|
|
3403
|
+
MailboxesListSplits403.pipe(HttpApiSchema.status(403)),
|
|
3404
|
+
MailboxesListSplits422.pipe(HttpApiSchema.status(422)),
|
|
3405
|
+
MailboxesListSplits500,
|
|
3406
|
+
MailboxesListSplits504.pipe(HttpApiSchema.status(504))
|
|
3407
|
+
]
|
|
3408
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listSplits").annotate(OpenApi.Summary, "List Mail splits").annotate(OpenApi.Description, "Returns the signed-in reader’s saved filters in sidebar order. Splits are private to this user and organization. Requires a person signed in through Mail or the CLI."), HttpApiEndpoint.post("mailboxesCreateSplit", "/v1/mailboxes/splits", {
|
|
3409
|
+
payload: MailboxesCreateSplitRequestJson,
|
|
3410
|
+
success: MailboxesCreateSplit200,
|
|
3411
|
+
error: [
|
|
3412
|
+
MailboxesCreateSplit400.pipe(HttpApiSchema.status(400)),
|
|
3413
|
+
MailboxesCreateSplit401.pipe(HttpApiSchema.status(401)),
|
|
3414
|
+
MailboxesCreateSplit403.pipe(HttpApiSchema.status(403)),
|
|
3415
|
+
MailboxesCreateSplit404.pipe(HttpApiSchema.status(404)),
|
|
3416
|
+
MailboxesCreateSplit422.pipe(HttpApiSchema.status(422)),
|
|
3417
|
+
MailboxesCreateSplit500,
|
|
3418
|
+
MailboxesCreateSplit504.pipe(HttpApiSchema.status(504))
|
|
3419
|
+
]
|
|
3420
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.createSplit").annotate(OpenApi.Summary, "Create a Mail split").annotate(OpenApi.Description, "Saves a named query, recipient address, or VIP sender list for the signed-in reader. Requires a person signed in through Mail or the CLI."), HttpApiEndpoint.put("mailboxesUpdateSplit", "/v1/mailboxes/splits/:splitId", {
|
|
3421
|
+
params: MailboxesUpdateSplitPathParams,
|
|
3422
|
+
payload: MailboxesUpdateSplitRequestJson,
|
|
3423
|
+
success: MailboxesUpdateSplit200,
|
|
3424
|
+
error: [
|
|
3425
|
+
MailboxesUpdateSplit400.pipe(HttpApiSchema.status(400)),
|
|
3426
|
+
MailboxesUpdateSplit401.pipe(HttpApiSchema.status(401)),
|
|
3427
|
+
MailboxesUpdateSplit403.pipe(HttpApiSchema.status(403)),
|
|
3428
|
+
MailboxesUpdateSplit404.pipe(HttpApiSchema.status(404)),
|
|
3429
|
+
MailboxesUpdateSplit422.pipe(HttpApiSchema.status(422)),
|
|
3430
|
+
MailboxesUpdateSplit500,
|
|
3431
|
+
MailboxesUpdateSplit504.pipe(HttpApiSchema.status(504))
|
|
3432
|
+
]
|
|
3433
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.updateSplit").annotate(OpenApi.Summary, "Update a Mail split").annotate(OpenApi.Description, "Replaces the name, filter, mailbox scope and sidebar position of a split owned by the signed-in reader. Requires a person signed in through Mail or the CLI."), HttpApiEndpoint.delete("mailboxesDeleteSplit", "/v1/mailboxes/splits/:splitId", {
|
|
3434
|
+
params: MailboxesDeleteSplitPathParams,
|
|
3435
|
+
success: MailboxesDeleteSplit200,
|
|
3436
|
+
error: [
|
|
3437
|
+
MailboxesDeleteSplit400.pipe(HttpApiSchema.status(400)),
|
|
3438
|
+
MailboxesDeleteSplit401.pipe(HttpApiSchema.status(401)),
|
|
3439
|
+
MailboxesDeleteSplit403.pipe(HttpApiSchema.status(403)),
|
|
3440
|
+
MailboxesDeleteSplit404.pipe(HttpApiSchema.status(404)),
|
|
3441
|
+
MailboxesDeleteSplit422.pipe(HttpApiSchema.status(422)),
|
|
3442
|
+
MailboxesDeleteSplit500,
|
|
3443
|
+
MailboxesDeleteSplit504.pipe(HttpApiSchema.status(504))
|
|
3444
|
+
]
|
|
3445
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.deleteSplit").annotate(OpenApi.Summary, "Delete a Mail split").annotate(OpenApi.Description, "Deletes the signed-in reader’s saved split and returns it. Requires a person signed in through Mail or the CLI."), HttpApiEndpoint.get("mailboxesCountSplits", "/v1/mailboxes/splits/counts", {
|
|
3446
|
+
success: MailboxesCountSplits200,
|
|
3447
|
+
error: [
|
|
3448
|
+
MailboxesCountSplits400.pipe(HttpApiSchema.status(400)),
|
|
3449
|
+
MailboxesCountSplits401.pipe(HttpApiSchema.status(401)),
|
|
3450
|
+
MailboxesCountSplits403.pipe(HttpApiSchema.status(403)),
|
|
3451
|
+
MailboxesCountSplits422.pipe(HttpApiSchema.status(422)),
|
|
3452
|
+
MailboxesCountSplits500,
|
|
3453
|
+
MailboxesCountSplits504.pipe(HttpApiSchema.status(504))
|
|
3454
|
+
]
|
|
3455
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.countSplits").annotate(OpenApi.Summary, "Count unread Mail split threads").annotate(OpenApi.Description, "Returns each saved split’s unread actionable Inbox threads: not Done, not snoozed, and not Closed in shared mailboxes. Query splits use bounded search results; capped is true when search reaches its candidate limit, so unread is a lower bound. Requires a person signed in through Mail or the CLI."), HttpApiEndpoint.get("mailboxesListOrganizationThreads", "/v1/mailboxes/threads", {
|
|
2831
3456
|
query: MailboxesListOrganizationThreadsQuery,
|
|
2832
3457
|
success: MailboxesListOrganizationThreads200,
|
|
2833
3458
|
error: [
|
|
@@ -2839,7 +3464,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2839
3464
|
MailboxesListOrganizationThreads500,
|
|
2840
3465
|
MailboxesListOrganizationThreads504.pipe(HttpApiSchema.status(504))
|
|
2841
3466
|
]
|
|
2842
|
-
}).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
|
|
2843
|
-
export { Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxAlwaysAllow, 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, MailboxHandoff, 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 };
|
|
3467
|
+
}).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 what the caller finished; state=done selects the caller's Done, closed shared threads, and personal-mailbox threads in the archived folder, without duplicates. Other filters and cursor pagination match the per-mailbox list.")).annotate(OpenApi.Description, "Mailboxes: endpoints, threads, messages, drafts, and governed sends") {};
|
|
3468
|
+
export { MailCommandConflict, MailCommandReceipt, MailHistoryImportJob, MailOutboxItem, MailOutboxItemId, MailOutboxProblem, MailSyncPosition, Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxAlwaysAllow, 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, MailboxHandoff, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxQuarantinePage, MailboxQuarantinedMessage, MailboxScheduledSendPage, 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, MailboxesCountSplits200, MailboxesCountSplits400, MailboxesCountSplits401, MailboxesCountSplits403, MailboxesCountSplits422, MailboxesCountSplits500, MailboxesCountSplits504, 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, MailboxesCreateImportUpload200, MailboxesCreateImportUpload400, MailboxesCreateImportUpload401, MailboxesCreateImportUpload403, MailboxesCreateImportUpload404, MailboxesCreateImportUpload409, MailboxesCreateImportUpload422, MailboxesCreateImportUpload500, MailboxesCreateImportUpload504, MailboxesCreateImportUploadPathParams, MailboxesCreateImportUploadRequestJson, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreateRequestJson, MailboxesCreateSplit200, MailboxesCreateSplit400, MailboxesCreateSplit401, MailboxesCreateSplit403, MailboxesCreateSplit404, MailboxesCreateSplit422, MailboxesCreateSplit500, MailboxesCreateSplit504, MailboxesCreateSplitRequestJson, 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, MailboxesDeleteSplit200, MailboxesDeleteSplit400, MailboxesDeleteSplit401, MailboxesDeleteSplit403, MailboxesDeleteSplit404, MailboxesDeleteSplit422, MailboxesDeleteSplit500, MailboxesDeleteSplit504, MailboxesDeleteSplitPathParams, 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, MailboxesGetImport200, MailboxesGetImport400, MailboxesGetImport401, MailboxesGetImport403, MailboxesGetImport404, MailboxesGetImport422, MailboxesGetImport500, MailboxesGetImport504, MailboxesGetImportPathParams, 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, MailboxesListAddresses200, MailboxesListAddresses400, MailboxesListAddresses401, MailboxesListAddresses403, MailboxesListAddresses404, MailboxesListAddresses422, MailboxesListAddresses500, MailboxesListAddresses504, MailboxesListAddressesPathParams, MailboxesListAddressesQuery, 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, MailboxesListImports200, MailboxesListImports400, MailboxesListImports401, MailboxesListImports403, MailboxesListImports404, MailboxesListImports422, MailboxesListImports500, MailboxesListImports504, MailboxesListImportsPathParams, 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, MailboxesListScheduledSends200, MailboxesListScheduledSends400, MailboxesListScheduledSends401, MailboxesListScheduledSends403, MailboxesListScheduledSends404, MailboxesListScheduledSends422, MailboxesListScheduledSends500, MailboxesListScheduledSends504, MailboxesListScheduledSendsPathParams, MailboxesListScheduledSendsQuery, MailboxesListSplits200, MailboxesListSplits400, MailboxesListSplits401, MailboxesListSplits403, MailboxesListSplits422, MailboxesListSplits500, MailboxesListSplits504, 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, MailboxesRescheduleSend200, MailboxesRescheduleSend400, MailboxesRescheduleSend401, MailboxesRescheduleSend403, MailboxesRescheduleSend404, MailboxesRescheduleSend409, MailboxesRescheduleSend422, MailboxesRescheduleSend429, MailboxesRescheduleSend500, MailboxesRescheduleSend504, MailboxesRescheduleSendPathParams, MailboxesRescheduleSendRequestJson, 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, MailboxesScheduleDraft200, MailboxesScheduleDraft400, MailboxesScheduleDraft401, MailboxesScheduleDraft403, MailboxesScheduleDraft404, MailboxesScheduleDraft409, MailboxesScheduleDraft422, MailboxesScheduleDraft429, MailboxesScheduleDraft500, MailboxesScheduleDraft504, MailboxesScheduleDraftPathParams, MailboxesScheduleDraftRequestJson, 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, MailboxesSendScheduledNow200, MailboxesSendScheduledNow400, MailboxesSendScheduledNow401, MailboxesSendScheduledNow403, MailboxesSendScheduledNow404, MailboxesSendScheduledNow409, MailboxesSendScheduledNow422, MailboxesSendScheduledNow429, MailboxesSendScheduledNow500, MailboxesSendScheduledNow504, MailboxesSendScheduledNowPathParams, MailboxesSendScheduledNowRequestJson, MailboxesStartImport200, MailboxesStartImport400, MailboxesStartImport401, MailboxesStartImport403, MailboxesStartImport404, MailboxesStartImport409, MailboxesStartImport422, MailboxesStartImport500, MailboxesStartImport504, MailboxesStartImportPathParams, MailboxesUnscheduleSend200, MailboxesUnscheduleSend400, MailboxesUnscheduleSend401, MailboxesUnscheduleSend403, MailboxesUnscheduleSend404, MailboxesUnscheduleSend409, MailboxesUnscheduleSend422, MailboxesUnscheduleSend429, MailboxesUnscheduleSend500, MailboxesUnscheduleSend504, MailboxesUnscheduleSendPathParams, MailboxesUnscheduleSendRequestJson, 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, MailboxesUpdateSplit200, MailboxesUpdateSplit400, MailboxesUpdateSplit401, MailboxesUpdateSplit403, MailboxesUpdateSplit404, MailboxesUpdateSplit422, MailboxesUpdateSplit500, MailboxesUpdateSplit504, MailboxesUpdateSplitPathParams, MailboxesUpdateSplitRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, PolicyAction, PolicyDecision, SmsPhoneNumberId, TemplateChannelVariantId };
|
|
2844
3469
|
|
|
2845
3470
|
//# sourceMappingURL=mailboxes.js.map
|