samva 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/client/sdk.gen.d.ts +224 -250
- package/dist/client/sdk.gen.js +84 -210
- package/dist/client/types.gen.d.ts +2894 -401
- package/dist/effect/agents.d.ts +28 -13
- package/dist/effect/agents.js +5 -1
- package/dist/effect/analytics.d.ts +15 -15
- package/dist/effect/api-keys.d.ts +27 -18
- package/dist/effect/campaigns.d.ts +721 -65
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/contact-groups.d.ts +15 -15
- package/dist/effect/contacts.d.ts +56 -52
- package/dist/effect/conversations.d.ts +45 -45
- package/dist/effect/email.d.ts +82 -82
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extensions.d.ts +16 -16
- package/dist/effect/generated/agents.d.ts +1063 -33
- package/dist/effect/generated/agents.js +133 -11
- package/dist/effect/generated/analytics.d.ts +109 -136
- package/dist/effect/generated/analytics.js +65 -36
- package/dist/effect/generated/api-keys.d.ts +240 -19
- package/dist/effect/generated/api-keys.js +24 -8
- package/dist/effect/generated/attachments.d.ts +89 -1
- package/dist/effect/generated/attachments.js +10 -2
- package/dist/effect/generated/brands.d.ts +133 -1
- package/dist/effect/generated/brands.js +22 -10
- package/dist/effect/generated/campaigns.d.ts +1442 -140
- package/dist/effect/generated/campaigns.js +82 -20
- package/dist/effect/generated/contact-events.d.ts +26 -4
- package/dist/effect/generated/contact-events.js +5 -3
- package/dist/effect/generated/contact-groups.d.ts +233 -13
- package/dist/effect/generated/contact-groups.js +33 -17
- package/dist/effect/generated/contacts.d.ts +634 -96
- package/dist/effect/generated/contacts.js +82 -20
- package/dist/effect/generated/conversations.d.ts +398 -106
- package/dist/effect/generated/conversations.js +96 -22
- package/dist/effect/generated/custom-fields.d.ts +89 -1
- package/dist/effect/generated/custom-fields.js +11 -3
- package/dist/effect/generated/email.d.ts +1447 -83
- package/dist/effect/generated/email.js +167 -43
- package/dist/effect/generated/events.d.ts +51 -7
- package/dist/effect/generated/events.js +9 -5
- package/dist/effect/generated/extension-installations.d.ts +208 -10
- package/dist/effect/generated/extension-installations.js +26 -8
- package/dist/effect/generated/extensions.d.ts +123 -13
- package/dist/effect/generated/extensions.js +20 -10
- package/dist/effect/generated/feedback.d.ts +23 -1
- package/dist/effect/generated/feedback.js +6 -4
- package/dist/effect/generated/journeys.d.ts +684 -16
- package/dist/effect/generated/journeys.js +37 -9
- package/dist/effect/generated/mailboxes.d.ts +3085 -627
- package/dist/effect/generated/mailboxes.js +340 -141
- package/dist/effect/generated/media.d.ts +125 -15
- package/dist/effect/generated/media.js +15 -2
- package/dist/effect/generated/messages.d.ts +2036 -117
- package/dist/effect/generated/messages.js +286 -54
- package/dist/effect/generated/namespaces.d.ts +209 -25
- package/dist/effect/generated/namespaces.js +27 -9
- package/dist/effect/generated/newsletter-domains.d.ts +98 -12
- package/dist/effect/generated/newsletter-domains.js +20 -13
- package/dist/effect/generated/newsletter-issues.d.ts +354 -19
- package/dist/effect/generated/newsletter-issues.js +162 -98
- package/dist/effect/generated/newsletters.d.ts +123 -13
- package/dist/effect/generated/newsletters.js +19 -9
- package/dist/effect/generated/operations.d.ts +76 -10
- package/dist/effect/generated/operations.js +12 -6
- package/dist/effect/generated/organizations.d.ts +287 -7
- package/dist/effect/generated/organizations.js +33 -5
- package/dist/effect/generated/scheduled-messages.d.ts +4427 -99
- package/dist/effect/generated/scheduled-messages.js +71 -12
- package/dist/effect/generated/shared.d.ts +2213 -190
- package/dist/effect/generated/shared.js +527 -76
- package/dist/effect/generated/subscriptions.d.ts +23 -1
- package/dist/effect/generated/subscriptions.js +6 -4
- package/dist/effect/generated/templates.d.ts +1718 -136
- package/dist/effect/generated/templates.js +421 -226
- package/dist/effect/generated/topic-forms.d.ts +111 -1
- package/dist/effect/generated/topic-forms.js +23 -13
- package/dist/effect/generated/topics.d.ts +353 -43
- package/dist/effect/generated/topics.js +67 -19
- package/dist/effect/generated/webhooks.d.ts +296 -38
- package/dist/effect/generated/webhooks.js +58 -16
- package/dist/effect/generated/whoami.d.ts +35 -1
- package/dist/effect/generated/whoami.js +4 -2
- package/dist/effect/generated-metadata.d.ts +20 -0
- package/dist/effect/generated-metadata.js +10 -0
- package/dist/effect/index.js +2 -2
- package/dist/effect/internal/client.js +1 -1
- package/dist/effect/internal/email-sender.d.ts +1 -1
- package/dist/effect/internal/send.d.ts +1 -1
- package/dist/effect/journeys.d.ts +105 -19
- package/dist/effect/mailboxes.d.ts +405 -174
- package/dist/effect/media.d.ts +1 -1
- package/dist/effect/messages.d.ts +40 -40
- package/dist/effect/namespaces.d.ts +15 -15
- package/dist/effect/newsletter-domains.d.ts +5 -5
- package/dist/effect/newsletters.d.ts +1 -1
- package/dist/effect/operations.d.ts +11 -11
- package/dist/effect/organizations.d.ts +2 -2
- package/dist/effect/scheduled-messages.d.ts +863 -8
- package/dist/effect/templates.d.ts +37 -37
- package/dist/effect/topics.d.ts +21 -21
- package/dist/effect/webhooks.d.ts +22 -22
- package/dist/index.js +2 -2
- package/dist/normalize.js +13 -1
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +1 -1
- package/dist/promises/client.js +2 -2
- package/dist/promises/errors.gen.d.ts +22 -2
- package/dist/promises/errors.gen.js +60 -2
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -0
- package/dist/service-map.js +5 -0
- package/package.json +9 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, CampaignId, CampaignRunId, ConflictError, ConversationId,
|
|
1
|
+
import { ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, CampaignId, CampaignRunId, ConflictError, ConversationId, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, EmailAttachment, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxPolicyId, MailboxPolicyOutcomeKind, MailboxSendConflictError, MailboxSendMode, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageId, NamespaceId, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ResourceNotFoundError, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SkippedRecipient, SuccessResponse, TemplateId, UnauthorizedError, UserId, ValidationError, WhatsAppBusinessAccountId, WhatsAppServiceWindowClosedError } from "./shared.js";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
// src/effect/generated/mailboxes.ts
|
|
@@ -7,6 +7,10 @@ const MailboxKind = /* @__PURE__ */ (() => Schema.Union([Schema.Literal("persona
|
|
|
7
7
|
identifier: "MailboxKind"
|
|
8
8
|
}))();
|
|
9
9
|
const MailboxStatus = /* @__PURE__ */ (() => Schema.Union([Schema.Literal("active"), Schema.Literal("paused")]).annotate({ identifier: "MailboxStatus" }))();
|
|
10
|
+
const SmsPhoneNumberId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^phone_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
11
|
+
expected: "a string matching the RegExp ^phone_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
12
|
+
identifier: "SmsPhoneNumberId"
|
|
13
|
+
})).pipe(Schema.brand("SmsPhoneNumberId")))();
|
|
10
14
|
const MailboxActionResolution = /* @__PURE__ */ (() => Schema.Struct({
|
|
11
15
|
outcome: Schema.Union([
|
|
12
16
|
Schema.Literal("approved"),
|
|
@@ -39,9 +43,13 @@ const MailboxActionResolution = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
39
43
|
description: "How the action's approval ended.",
|
|
40
44
|
identifier: "MailboxActionResolution"
|
|
41
45
|
}))();
|
|
46
|
+
const TemplateChannelVariantId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^tvar_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
47
|
+
expected: "a string matching the RegExp ^tvar_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
48
|
+
identifier: "TemplateChannelVariantId"
|
|
49
|
+
})).pipe(Schema.brand("TemplateChannelVariantId")))();
|
|
42
50
|
const MailboxToolCall = /* @__PURE__ */ (() => Schema.Struct({
|
|
43
51
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
44
|
-
argumentsHash: Schema.String.check(Schema.isPattern(
|
|
52
|
+
argumentsHash: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[0-9a-f]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[0-9a-f]{64}$" })),
|
|
45
53
|
arguments: Schema.Record(Schema.String, JsonValue)
|
|
46
54
|
}).annotate({ identifier: "MailboxToolCall" }))();
|
|
47
55
|
const MailboxAgentActivity = /* @__PURE__ */ (() => Schema.Struct({
|
|
@@ -106,11 +114,11 @@ const MailboxDraftState = /* @__PURE__ */ (() => Schema.Union([
|
|
|
106
114
|
Schema.Literal("locked"),
|
|
107
115
|
Schema.Literal("sent")
|
|
108
116
|
]).annotate({ identifier: "MailboxDraftState" }))();
|
|
109
|
-
const MailboxEventId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(
|
|
117
|
+
const MailboxEventId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^mbxevt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
110
118
|
expected: "a string matching the RegExp ^mbxevt_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
111
119
|
identifier: "MailboxEventId"
|
|
112
120
|
})).pipe(Schema.brand("MailboxEventId")))();
|
|
113
|
-
const MailboxGrantId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(
|
|
121
|
+
const MailboxGrantId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^mbxacl_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
114
122
|
expected: "a string matching the RegExp ^mbxacl_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
115
123
|
identifier: "MailboxGrantId"
|
|
116
124
|
})).pipe(Schema.brand("MailboxGrantId")))();
|
|
@@ -156,6 +164,16 @@ const MailboxMessageAuthentication = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
156
164
|
dkim: Schema.Union([Schema.String, Schema.Null]),
|
|
157
165
|
dmarc: Schema.Union([Schema.String, Schema.Null])
|
|
158
166
|
}).annotate({ identifier: "MailboxMessageAuthentication" }))();
|
|
167
|
+
const MailboxChatMedia = /* @__PURE__ */ (() => Schema.Struct({
|
|
168
|
+
type: Schema.String,
|
|
169
|
+
contentType: Schema.Union([Schema.String, Schema.Null]),
|
|
170
|
+
filename: Schema.Union([Schema.String, Schema.Null]),
|
|
171
|
+
caption: Schema.Union([Schema.String, Schema.Null])
|
|
172
|
+
}).annotate({ identifier: "MailboxChatMedia" }))();
|
|
173
|
+
const MailboxChatMessageTemplate = /* @__PURE__ */ (() => Schema.Struct({
|
|
174
|
+
name: Schema.String,
|
|
175
|
+
language: Schema.String
|
|
176
|
+
}).annotate({ identifier: "MailboxChatMessageTemplate" }))();
|
|
159
177
|
const MailboxDownloadUrl = /* @__PURE__ */ (() => Schema.Struct({
|
|
160
178
|
url: Schema.String,
|
|
161
179
|
expiresAt: Schema.String
|
|
@@ -185,11 +203,15 @@ const MailboxThreadParticipant = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
185
203
|
]),
|
|
186
204
|
address: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
187
205
|
}).annotate({ identifier: "MailboxThreadParticipant" }))();
|
|
188
|
-
const
|
|
206
|
+
const MailboxWhatsAppServiceWindow = /* @__PURE__ */ (() => Schema.Struct({
|
|
207
|
+
open: Schema.Boolean,
|
|
208
|
+
expiresAt: Schema.Union([Schema.String, Schema.Null])
|
|
209
|
+
}).annotate({ identifier: "MailboxWhatsAppServiceWindow" }))();
|
|
210
|
+
const MailboxNoteId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^note_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
189
211
|
expected: "a string matching the RegExp ^note_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
190
212
|
identifier: "MailboxNoteId"
|
|
191
213
|
})).pipe(Schema.brand("MailboxNoteId")))();
|
|
192
|
-
const
|
|
214
|
+
const MailboxEmailEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
193
215
|
id: MailboxEndpointId,
|
|
194
216
|
address: Schema.String,
|
|
195
217
|
displayName: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -197,7 +219,7 @@ const MailboxEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
197
219
|
channel: Schema.Literal("email"),
|
|
198
220
|
source: Schema.Union([Schema.Literal("samvaHosted"), Schema.Literal("verifiedDomain")]),
|
|
199
221
|
domainId: Schema.Union([Schema.String, Schema.Null])
|
|
200
|
-
}).annotate({ identifier: "
|
|
222
|
+
}).annotate({ identifier: "MailboxEmailEndpoint" }))();
|
|
201
223
|
const MailboxThreadMailbox = /* @__PURE__ */ (() => Schema.Struct({
|
|
202
224
|
id: MailboxId,
|
|
203
225
|
address: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -210,6 +232,18 @@ const MailboxCopiedAttachment = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
210
232
|
contentType: Schema.String,
|
|
211
233
|
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" }))
|
|
212
234
|
}).annotate({ identifier: "MailboxCopiedAttachment" }))();
|
|
235
|
+
const MailboxWhatsAppEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
236
|
+
id: MailboxEndpointId,
|
|
237
|
+
address: Schema.String,
|
|
238
|
+
displayName: Schema.Union([Schema.String, Schema.Null]),
|
|
239
|
+
default: Schema.Boolean,
|
|
240
|
+
channel: Schema.Literal("whatsapp"),
|
|
241
|
+
businessAccountId: WhatsAppBusinessAccountId
|
|
242
|
+
}).annotate({ identifier: "MailboxWhatsAppEndpoint" }))();
|
|
243
|
+
const MailboxWhatsAppEndpointBinding = /* @__PURE__ */ (() => Schema.Struct({
|
|
244
|
+
channel: Schema.Literal("whatsapp"),
|
|
245
|
+
businessAccountId: WhatsAppBusinessAccountId
|
|
246
|
+
}).annotate({ identifier: "MailboxWhatsAppEndpointBinding" }))();
|
|
213
247
|
const MailboxSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
214
248
|
id: MailboxId,
|
|
215
249
|
kind: MailboxKind,
|
|
@@ -221,6 +255,18 @@ const MailboxSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
221
255
|
primaryAddress: Schema.Union([Schema.String, Schema.Null]),
|
|
222
256
|
createdAt: Schema.String
|
|
223
257
|
}).annotate({ identifier: "MailboxSummary" }))();
|
|
258
|
+
const MailboxSmsEndpoint = /* @__PURE__ */ (() => Schema.Struct({
|
|
259
|
+
id: MailboxEndpointId,
|
|
260
|
+
address: Schema.String,
|
|
261
|
+
displayName: Schema.Union([Schema.String, Schema.Null]),
|
|
262
|
+
default: Schema.Boolean,
|
|
263
|
+
channel: Schema.Literal("sms"),
|
|
264
|
+
phoneNumberId: SmsPhoneNumberId
|
|
265
|
+
}).annotate({ identifier: "MailboxSmsEndpoint" }))();
|
|
266
|
+
const MailboxSmsEndpointBinding = /* @__PURE__ */ (() => Schema.Struct({
|
|
267
|
+
channel: Schema.Literal("sms"),
|
|
268
|
+
phoneNumberId: SmsPhoneNumberId
|
|
269
|
+
}).annotate({ identifier: "MailboxSmsEndpointBinding" }))();
|
|
224
270
|
const MailboxQuarantinedMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
225
271
|
id: MessageId,
|
|
226
272
|
disposition: Schema.Union([Schema.Literal("quarantined"), Schema.Literal("isolated")]),
|
|
@@ -245,6 +291,11 @@ const MailboxQuarantinedMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
245
291
|
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
246
292
|
discardedAt: Schema.Union([Schema.String, Schema.Null])
|
|
247
293
|
}).annotate({ identifier: "MailboxQuarantinedMessage" }))();
|
|
294
|
+
const MailboxChatTemplate = /* @__PURE__ */ (() => Schema.Struct({
|
|
295
|
+
templateId: TemplateId,
|
|
296
|
+
templateChannelVariantId: TemplateChannelVariantId,
|
|
297
|
+
templateData: Schema.Union([JsonObject, Schema.Null])
|
|
298
|
+
}).annotate({ identifier: "MailboxChatTemplate" }))();
|
|
248
299
|
const MailboxDraftSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
249
300
|
id: MailboxDraftId,
|
|
250
301
|
channel: MailboxChannel,
|
|
@@ -257,6 +308,19 @@ const MailboxDraftSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
257
308
|
createdAt: Schema.String,
|
|
258
309
|
updatedAt: Schema.String
|
|
259
310
|
}).annotate({ identifier: "MailboxDraftSummary" }))();
|
|
311
|
+
const MailboxChatDraft = /* @__PURE__ */ (() => Schema.Struct({
|
|
312
|
+
id: MailboxDraftId,
|
|
313
|
+
channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
|
|
314
|
+
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
315
|
+
inReplyToMessageId: Schema.Union([MessageId, Schema.Null]),
|
|
316
|
+
state: MailboxDraftState,
|
|
317
|
+
lockedByActionId: Schema.Union([MailboxActionId, Schema.Null]),
|
|
318
|
+
to: Schema.Array(Schema.String),
|
|
319
|
+
subject: Schema.Union([Schema.String, Schema.Null]),
|
|
320
|
+
createdAt: Schema.String,
|
|
321
|
+
updatedAt: Schema.String,
|
|
322
|
+
text: Schema.Union([Schema.String, Schema.Null])
|
|
323
|
+
}).annotate({ identifier: "MailboxChatDraft" }))();
|
|
260
324
|
const MailboxEvent = /* @__PURE__ */ (() => Schema.Struct({
|
|
261
325
|
id: MailboxEventId,
|
|
262
326
|
type: Schema.Union([
|
|
@@ -358,7 +422,7 @@ const MailboxMessageSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
358
422
|
hasAttachments: Schema.Boolean,
|
|
359
423
|
occurredAt: Schema.String
|
|
360
424
|
}).annotate({ identifier: "MailboxMessageSummary" }))();
|
|
361
|
-
const
|
|
425
|
+
const MailboxEmailMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
362
426
|
id: MessageId,
|
|
363
427
|
campaign: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
364
428
|
campaignId: CampaignId,
|
|
@@ -401,7 +465,38 @@ const MailboxMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
401
465
|
size: 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" })),
|
|
402
466
|
isInline: Schema.Boolean
|
|
403
467
|
}))
|
|
404
|
-
}).annotate({ identifier: "
|
|
468
|
+
}).annotate({ identifier: "MailboxEmailMessage" }))();
|
|
469
|
+
const MailboxChatMessage = /* @__PURE__ */ (() => Schema.Struct({
|
|
470
|
+
id: MessageId,
|
|
471
|
+
campaign: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
472
|
+
campaignId: CampaignId,
|
|
473
|
+
runId: CampaignRunId
|
|
474
|
+
}), Schema.Null])),
|
|
475
|
+
threadId: MailboxThreadId,
|
|
476
|
+
conversationId: ConversationId,
|
|
477
|
+
direction: Schema.Union([Schema.Literal("inbound"), Schema.Literal("outbound")]),
|
|
478
|
+
from: MailboxMessageSender,
|
|
479
|
+
sentBy: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
480
|
+
kind: Schema.Union([
|
|
481
|
+
Schema.Literal("user"),
|
|
482
|
+
Schema.Literal("apiKey"),
|
|
483
|
+
Schema.Literal("extension"),
|
|
484
|
+
Schema.Literal("externalAgent"),
|
|
485
|
+
Schema.Literal("samvaAgent"),
|
|
486
|
+
Schema.Literal("system")
|
|
487
|
+
]),
|
|
488
|
+
id: Schema.String,
|
|
489
|
+
displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
490
|
+
}), Schema.Null])),
|
|
491
|
+
occurredAt: Schema.String,
|
|
492
|
+
channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
|
|
493
|
+
to: Schema.Array(Schema.String),
|
|
494
|
+
text: Schema.Union([Schema.String, Schema.Null]),
|
|
495
|
+
media: Schema.Array(MailboxChatMedia),
|
|
496
|
+
template: Schema.Union([MailboxChatMessageTemplate, Schema.Null]),
|
|
497
|
+
summary: Schema.Union([Schema.String, Schema.Null]),
|
|
498
|
+
contextMessageId: Schema.Union([MessageId, Schema.Null])
|
|
499
|
+
}).annotate({ identifier: "MailboxChatMessage" }))();
|
|
405
500
|
const MailboxPolicy = /* @__PURE__ */ (() => Schema.Struct({
|
|
406
501
|
id: MailboxPolicyId,
|
|
407
502
|
name: Schema.String,
|
|
@@ -499,6 +594,7 @@ const MailboxThread = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
499
594
|
lastActivityAt: Schema.String,
|
|
500
595
|
conversationId: ConversationId,
|
|
501
596
|
participants: Schema.Array(MailboxThreadParticipant),
|
|
597
|
+
whatsappServiceWindow: Schema.Union([MailboxWhatsAppServiceWindow, Schema.Null]),
|
|
502
598
|
createdAt: Schema.String
|
|
503
599
|
}).annotate({ identifier: "MailboxThread" }))();
|
|
504
600
|
const MailboxNote = /* @__PURE__ */ (() => Schema.Struct({
|
|
@@ -521,21 +617,6 @@ const MailboxNote = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
521
617
|
createdAt: Schema.String,
|
|
522
618
|
updatedAt: Schema.String
|
|
523
619
|
}).annotate({ identifier: "MailboxNote" }))();
|
|
524
|
-
const Mailbox = /* @__PURE__ */ (() => Schema.Struct({
|
|
525
|
-
id: MailboxId,
|
|
526
|
-
kind: MailboxKind,
|
|
527
|
-
owner: Schema.Union([UserId, Schema.Null]),
|
|
528
|
-
namespaceId: Schema.Union([NamespaceId, Schema.Null]),
|
|
529
|
-
slug: Schema.String,
|
|
530
|
-
name: Schema.String,
|
|
531
|
-
status: MailboxStatus,
|
|
532
|
-
primaryAddress: Schema.Union([Schema.String, Schema.Null]),
|
|
533
|
-
createdAt: Schema.String,
|
|
534
|
-
description: Schema.Union([Schema.String, Schema.Null]),
|
|
535
|
-
metadata: MailboxMetadata,
|
|
536
|
-
endpoints: Schema.Array(MailboxEndpoint),
|
|
537
|
-
updatedAt: Schema.String
|
|
538
|
-
}).annotate({ identifier: "Mailbox" }))();
|
|
539
620
|
const OrganizationMailboxDraftSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
540
621
|
id: MailboxDraftId,
|
|
541
622
|
channel: MailboxChannel,
|
|
@@ -626,7 +707,7 @@ const OrganizationMailboxThreadSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
626
707
|
lastActivityAt: Schema.String,
|
|
627
708
|
mailbox: MailboxThreadMailbox
|
|
628
709
|
}).annotate({ identifier: "OrganizationMailboxThreadSummary" }))();
|
|
629
|
-
const
|
|
710
|
+
const MailboxEmailSendSnapshot = /* @__PURE__ */ (() => Schema.Struct({
|
|
630
711
|
channel: Schema.Literal("email"),
|
|
631
712
|
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" })),
|
|
632
713
|
from: Schema.String,
|
|
@@ -642,8 +723,8 @@ const MailboxSendSnapshot = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
642
723
|
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
643
724
|
conversationId: Schema.Union([ConversationId, Schema.Null]),
|
|
644
725
|
inReplyToMessageId: Schema.Union([MessageId, Schema.Null])
|
|
645
|
-
}).annotate({ identifier: "
|
|
646
|
-
const
|
|
726
|
+
}).annotate({ identifier: "MailboxEmailSendSnapshot" }))();
|
|
727
|
+
const MailboxEmailDraft = /* @__PURE__ */ (() => Schema.Struct({
|
|
647
728
|
id: MailboxDraftId,
|
|
648
729
|
channel: Schema.Literal("email"),
|
|
649
730
|
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
@@ -661,11 +742,16 @@ const MailboxDraft = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
661
742
|
html: Schema.Union([Schema.String, Schema.Null]),
|
|
662
743
|
text: Schema.Union([Schema.String, Schema.Null]),
|
|
663
744
|
attachments: Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" }))
|
|
664
|
-
}).annotate({ identifier: "
|
|
745
|
+
}).annotate({ identifier: "MailboxEmailDraft" }))();
|
|
665
746
|
const MailboxPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
666
747
|
items: Schema.Array(MailboxSummary),
|
|
667
748
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
668
749
|
}).annotate({ identifier: "MailboxPage" }))();
|
|
750
|
+
const MailboxEndpoint = /* @__PURE__ */ (() => Schema.Union([
|
|
751
|
+
MailboxEmailEndpoint,
|
|
752
|
+
MailboxWhatsAppEndpoint,
|
|
753
|
+
MailboxSmsEndpoint
|
|
754
|
+
]).annotate({ identifier: "MailboxEndpoint" }))();
|
|
669
755
|
const MailboxQuarantinePage = /* @__PURE__ */ (() => Schema.Struct({
|
|
670
756
|
items: Schema.Array(MailboxQuarantinedMessage),
|
|
671
757
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -758,6 +844,19 @@ const MailboxPendingSendReceipt = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
758
844
|
createdAt: Schema.String,
|
|
759
845
|
updatedAt: Schema.String
|
|
760
846
|
}).annotate({ identifier: "MailboxPendingSendReceipt" }))();
|
|
847
|
+
const MailboxChatSendIntent = /* @__PURE__ */ (() => Schema.Struct({
|
|
848
|
+
channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
|
|
849
|
+
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" })),
|
|
850
|
+
endpointId: MailboxEndpointId,
|
|
851
|
+
sender: Schema.Union([MailboxWhatsAppEndpointBinding, MailboxSmsEndpointBinding]),
|
|
852
|
+
from: Schema.String,
|
|
853
|
+
to: Schema.String,
|
|
854
|
+
text: Schema.Union([Schema.String, Schema.Null]),
|
|
855
|
+
template: Schema.Union([MailboxChatTemplate, Schema.Null]),
|
|
856
|
+
threadId: Schema.Union([MailboxThreadId, Schema.Null]),
|
|
857
|
+
conversationId: Schema.Union([ConversationId, Schema.Null]),
|
|
858
|
+
inReplyToMessageId: Schema.Union([MessageId, Schema.Null])
|
|
859
|
+
}).annotate({ identifier: "MailboxChatSendIntent" }))();
|
|
761
860
|
const MailboxDraftPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
762
861
|
items: Schema.Array(MailboxDraftSummary),
|
|
763
862
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -776,10 +875,7 @@ const MailboxMessagePage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
776
875
|
items: Schema.Array(MailboxMessageSummary),
|
|
777
876
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
778
877
|
}).annotate({ identifier: "MailboxMessagePage" }))();
|
|
779
|
-
const
|
|
780
|
-
items: Schema.Array(MailboxMessage),
|
|
781
|
-
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
782
|
-
}).annotate({ identifier: "MailboxThreadContentPage" }))();
|
|
878
|
+
const MailboxMessage = /* @__PURE__ */ (() => Schema.Union([MailboxEmailMessage, MailboxChatMessage]).annotate({ identifier: "MailboxMessage" }))();
|
|
783
879
|
const MailboxPolicyList = /* @__PURE__ */ (() => Schema.Struct({ items: Schema.Array(MailboxPolicy) }).annotate({ identifier: "MailboxPolicyList" }))();
|
|
784
880
|
const MailboxThreadPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
785
881
|
items: Schema.Array(MailboxThreadSummary),
|
|
@@ -806,6 +902,27 @@ const OrganizationMailboxThreadPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
806
902
|
items: Schema.Array(OrganizationMailboxThreadSummary),
|
|
807
903
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
808
904
|
}).annotate({ identifier: "OrganizationMailboxThreadPage" }))();
|
|
905
|
+
const MailboxDraft = /* @__PURE__ */ (() => Schema.Union([MailboxEmailDraft, MailboxChatDraft]).annotate({ identifier: "MailboxDraft" }))();
|
|
906
|
+
const Mailbox = /* @__PURE__ */ (() => Schema.Struct({
|
|
907
|
+
id: MailboxId,
|
|
908
|
+
kind: MailboxKind,
|
|
909
|
+
owner: Schema.Union([UserId, Schema.Null]),
|
|
910
|
+
namespaceId: Schema.Union([NamespaceId, Schema.Null]),
|
|
911
|
+
slug: Schema.String,
|
|
912
|
+
name: Schema.String,
|
|
913
|
+
status: MailboxStatus,
|
|
914
|
+
primaryAddress: Schema.Union([Schema.String, Schema.Null]),
|
|
915
|
+
createdAt: Schema.String,
|
|
916
|
+
description: Schema.Union([Schema.String, Schema.Null]),
|
|
917
|
+
metadata: MailboxMetadata,
|
|
918
|
+
endpoints: Schema.Array(MailboxEndpoint),
|
|
919
|
+
updatedAt: Schema.String
|
|
920
|
+
}).annotate({ identifier: "Mailbox" }))();
|
|
921
|
+
const MailboxSendSnapshot = /* @__PURE__ */ (() => Schema.Union([MailboxEmailSendSnapshot, MailboxChatSendIntent]).annotate({ identifier: "MailboxSendSnapshot" }))();
|
|
922
|
+
const MailboxThreadContentPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
923
|
+
items: Schema.Array(MailboxMessage),
|
|
924
|
+
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
925
|
+
}).annotate({ identifier: "MailboxThreadContentPage" }))();
|
|
809
926
|
const MailboxSendAction = /* @__PURE__ */ (() => Schema.Struct({
|
|
810
927
|
id: MailboxActionId,
|
|
811
928
|
source: Schema.Union([
|
|
@@ -855,11 +972,12 @@ const MailboxActionPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
855
972
|
}).annotate({ identifier: "MailboxActionPage" }))();
|
|
856
973
|
const MailboxesListQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
857
974
|
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])),
|
|
858
|
-
cursor: Schema.optionalKey(Schema.
|
|
859
|
-
after: Schema.optionalKey(Schema.
|
|
860
|
-
before: Schema.optionalKey(Schema.
|
|
975
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
976
|
+
after: Schema.optionalKey(Schema.String),
|
|
977
|
+
before: Schema.optionalKey(Schema.String)
|
|
861
978
|
}))();
|
|
862
979
|
const MailboxesList200 = MailboxPage;
|
|
980
|
+
const MailboxesList400 = MalformedRequestError;
|
|
863
981
|
const MailboxesList401 = UnauthorizedError;
|
|
864
982
|
const MailboxesList403 = ForbiddenError;
|
|
865
983
|
const MailboxesList422 = ValidationError;
|
|
@@ -873,6 +991,7 @@ const MailboxesCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
873
991
|
metadata: Schema.optionalKey(Schema.Union([MailboxMetadata, Schema.Null]))
|
|
874
992
|
}))();
|
|
875
993
|
const MailboxesCreate201 = Mailbox;
|
|
994
|
+
const MailboxesCreate400 = MalformedRequestError;
|
|
876
995
|
const MailboxesCreate401 = UnauthorizedError;
|
|
877
996
|
const MailboxesCreate402 = PaymentRequiredError;
|
|
878
997
|
const MailboxesCreate403 = /* @__PURE__ */ (() => Schema.Union([FlagDisabledError, ForbiddenError]))();
|
|
@@ -884,6 +1003,7 @@ const MailboxesCreate502 = BillingProviderError;
|
|
|
884
1003
|
const MailboxesCreate504 = GatewayTimeoutError;
|
|
885
1004
|
const MailboxesGetPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
886
1005
|
const MailboxesGet200 = Mailbox;
|
|
1006
|
+
const MailboxesGet400 = MalformedRequestError;
|
|
887
1007
|
const MailboxesGet401 = UnauthorizedError;
|
|
888
1008
|
const MailboxesGet403 = ForbiddenError;
|
|
889
1009
|
const MailboxesGet404 = ResourceNotFoundError;
|
|
@@ -892,6 +1012,7 @@ const MailboxesGet500 = InternalError;
|
|
|
892
1012
|
const MailboxesGet504 = GatewayTimeoutError;
|
|
893
1013
|
const MailboxesRemovePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
894
1014
|
const MailboxesRemove200 = SuccessResponse;
|
|
1015
|
+
const MailboxesRemove400 = MalformedRequestError;
|
|
895
1016
|
const MailboxesRemove401 = UnauthorizedError;
|
|
896
1017
|
const MailboxesRemove403 = ForbiddenError;
|
|
897
1018
|
const MailboxesRemove404 = ResourceNotFoundError;
|
|
@@ -905,6 +1026,7 @@ const MailboxesUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
905
1026
|
metadata: Schema.optionalKey(Schema.Union([MailboxMetadataPatch, Schema.Null]))
|
|
906
1027
|
}))();
|
|
907
1028
|
const MailboxesUpdate200 = Mailbox;
|
|
1029
|
+
const MailboxesUpdate400 = MalformedRequestError;
|
|
908
1030
|
const MailboxesUpdate401 = UnauthorizedError;
|
|
909
1031
|
const MailboxesUpdate403 = ForbiddenError;
|
|
910
1032
|
const MailboxesUpdate404 = ResourceNotFoundError;
|
|
@@ -914,9 +1036,9 @@ const MailboxesUpdate504 = GatewayTimeoutError;
|
|
|
914
1036
|
const MailboxesListActionsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
915
1037
|
const MailboxesListActionsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
916
1038
|
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])),
|
|
917
|
-
cursor: Schema.optionalKey(Schema.
|
|
918
|
-
threadId: Schema.optionalKey(
|
|
919
|
-
state: Schema.optionalKey(Schema.Union([
|
|
1039
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
1040
|
+
threadId: Schema.optionalKey(MailboxThreadId),
|
|
1041
|
+
state: Schema.optionalKey(Schema.Union([
|
|
920
1042
|
Schema.Literal("proposed"),
|
|
921
1043
|
Schema.Literal("allowed"),
|
|
922
1044
|
Schema.Literal("approvalRequired"),
|
|
@@ -931,11 +1053,12 @@ const MailboxesListActionsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
931
1053
|
Schema.Literal("completed"),
|
|
932
1054
|
Schema.Literal("notSent"),
|
|
933
1055
|
Schema.Literal("uncertain")
|
|
934
|
-
])
|
|
935
|
-
after: Schema.optionalKey(Schema.
|
|
936
|
-
before: Schema.optionalKey(Schema.
|
|
1056
|
+
])),
|
|
1057
|
+
after: Schema.optionalKey(Schema.String),
|
|
1058
|
+
before: Schema.optionalKey(Schema.String)
|
|
937
1059
|
}))();
|
|
938
1060
|
const MailboxesListActions200 = MailboxActionPage;
|
|
1061
|
+
const MailboxesListActions400 = MalformedRequestError;
|
|
939
1062
|
const MailboxesListActions401 = UnauthorizedError;
|
|
940
1063
|
const MailboxesListActions403 = ForbiddenError;
|
|
941
1064
|
const MailboxesListActions404 = ResourceNotFoundError;
|
|
@@ -947,6 +1070,7 @@ const MailboxesGetActionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
947
1070
|
actionId: MailboxActionId
|
|
948
1071
|
}))();
|
|
949
1072
|
const MailboxesGetAction200 = MailboxAction;
|
|
1073
|
+
const MailboxesGetAction400 = MalformedRequestError;
|
|
950
1074
|
const MailboxesGetAction401 = UnauthorizedError;
|
|
951
1075
|
const MailboxesGetAction403 = ForbiddenError;
|
|
952
1076
|
const MailboxesGetAction404 = ResourceNotFoundError;
|
|
@@ -959,6 +1083,7 @@ const MailboxesApproveActionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
959
1083
|
}))();
|
|
960
1084
|
const MailboxesApproveAction200 = MailboxAction;
|
|
961
1085
|
const MailboxesApproveAction202 = MailboxPendingAction;
|
|
1086
|
+
const MailboxesApproveAction400 = MalformedRequestError;
|
|
962
1087
|
const MailboxesApproveAction401 = UnauthorizedError;
|
|
963
1088
|
const MailboxesApproveAction402 = PaymentRequiredError;
|
|
964
1089
|
const MailboxesApproveAction403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -969,7 +1094,7 @@ const MailboxesApproveAction403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
969
1094
|
]))();
|
|
970
1095
|
const MailboxesApproveAction404 = ResourceNotFoundError;
|
|
971
1096
|
const MailboxesApproveAction409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
972
|
-
const MailboxesApproveAction422 = ValidationError;
|
|
1097
|
+
const MailboxesApproveAction422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
973
1098
|
const MailboxesApproveAction429 = RateLimitedError;
|
|
974
1099
|
const MailboxesApproveAction500 = InternalError;
|
|
975
1100
|
const MailboxesApproveAction502 = BillingProviderError;
|
|
@@ -981,6 +1106,7 @@ const MailboxesCancelActionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
981
1106
|
}))();
|
|
982
1107
|
const MailboxesCancelAction200 = MailboxSendReceipt;
|
|
983
1108
|
const MailboxesCancelAction202 = MailboxPendingSendReceipt;
|
|
1109
|
+
const MailboxesCancelAction400 = MalformedRequestError;
|
|
984
1110
|
const MailboxesCancelAction401 = UnauthorizedError;
|
|
985
1111
|
const MailboxesCancelAction402 = PaymentRequiredError;
|
|
986
1112
|
const MailboxesCancelAction403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -991,7 +1117,7 @@ const MailboxesCancelAction403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
991
1117
|
]))();
|
|
992
1118
|
const MailboxesCancelAction404 = ResourceNotFoundError;
|
|
993
1119
|
const MailboxesCancelAction409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
994
|
-
const MailboxesCancelAction422 = ValidationError;
|
|
1120
|
+
const MailboxesCancelAction422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
995
1121
|
const MailboxesCancelAction429 = RateLimitedError;
|
|
996
1122
|
const MailboxesCancelAction500 = InternalError;
|
|
997
1123
|
const MailboxesCancelAction502 = BillingProviderError;
|
|
@@ -1003,6 +1129,7 @@ const MailboxesDenyActionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1003
1129
|
}))();
|
|
1004
1130
|
const MailboxesDenyActionRequestJson = /* @__PURE__ */ (() => Schema.Struct({ reason: Schema.String }))();
|
|
1005
1131
|
const MailboxesDenyAction200 = MailboxAction;
|
|
1132
|
+
const MailboxesDenyAction400 = MalformedRequestError;
|
|
1006
1133
|
const MailboxesDenyAction401 = UnauthorizedError;
|
|
1007
1134
|
const MailboxesDenyAction403 = ForbiddenError;
|
|
1008
1135
|
const MailboxesDenyAction404 = ResourceNotFoundError;
|
|
@@ -1016,6 +1143,7 @@ const MailboxesRetryActionPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1016
1143
|
}))();
|
|
1017
1144
|
const MailboxesRetryAction200 = MailboxSendReceipt;
|
|
1018
1145
|
const MailboxesRetryAction202 = MailboxPendingSendReceipt;
|
|
1146
|
+
const MailboxesRetryAction400 = MalformedRequestError;
|
|
1019
1147
|
const MailboxesRetryAction401 = UnauthorizedError;
|
|
1020
1148
|
const MailboxesRetryAction402 = PaymentRequiredError;
|
|
1021
1149
|
const MailboxesRetryAction403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -1026,7 +1154,7 @@ const MailboxesRetryAction403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1026
1154
|
]))();
|
|
1027
1155
|
const MailboxesRetryAction404 = ResourceNotFoundError;
|
|
1028
1156
|
const MailboxesRetryAction409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
1029
|
-
const MailboxesRetryAction422 = ValidationError;
|
|
1157
|
+
const MailboxesRetryAction422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
1030
1158
|
const MailboxesRetryAction429 = RateLimitedError;
|
|
1031
1159
|
const MailboxesRetryAction500 = InternalError;
|
|
1032
1160
|
const MailboxesRetryAction502 = BillingProviderError;
|
|
@@ -1034,10 +1162,11 @@ const MailboxesRetryAction503 = SenderNotReadyError;
|
|
|
1034
1162
|
const MailboxesRetryAction504 = GatewayTimeoutError;
|
|
1035
1163
|
const MailboxesGetAgentActivityPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1036
1164
|
const MailboxesGetAgentActivityQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1037
|
-
after: Schema.optionalKey(Schema.
|
|
1038
|
-
before: Schema.optionalKey(Schema.
|
|
1165
|
+
after: Schema.optionalKey(Schema.String),
|
|
1166
|
+
before: Schema.optionalKey(Schema.String)
|
|
1039
1167
|
}))();
|
|
1040
1168
|
const MailboxesGetAgentActivity200 = MailboxAgentActivity;
|
|
1169
|
+
const MailboxesGetAgentActivity400 = MalformedRequestError;
|
|
1041
1170
|
const MailboxesGetAgentActivity401 = UnauthorizedError;
|
|
1042
1171
|
const MailboxesGetAgentActivity403 = ForbiddenError;
|
|
1043
1172
|
const MailboxesGetAgentActivity404 = ResourceNotFoundError;
|
|
@@ -1047,10 +1176,11 @@ const MailboxesGetAgentActivity504 = GatewayTimeoutError;
|
|
|
1047
1176
|
const MailboxesListDraftsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1048
1177
|
const MailboxesListDraftsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1049
1178
|
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])),
|
|
1050
|
-
cursor: Schema.optionalKey(Schema.
|
|
1051
|
-
threadId: Schema.optionalKey(
|
|
1179
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
1180
|
+
threadId: Schema.optionalKey(MailboxThreadId)
|
|
1052
1181
|
}))();
|
|
1053
1182
|
const MailboxesListDrafts200 = MailboxDraftPage;
|
|
1183
|
+
const MailboxesListDrafts400 = MalformedRequestError;
|
|
1054
1184
|
const MailboxesListDrafts401 = UnauthorizedError;
|
|
1055
1185
|
const MailboxesListDrafts403 = ForbiddenError;
|
|
1056
1186
|
const MailboxesListDrafts404 = ResourceNotFoundError;
|
|
@@ -1058,20 +1188,9 @@ const MailboxesListDrafts422 = ValidationError;
|
|
|
1058
1188
|
const MailboxesListDrafts500 = InternalError;
|
|
1059
1189
|
const MailboxesListDrafts504 = GatewayTimeoutError;
|
|
1060
1190
|
const MailboxesCreateDraftPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1061
|
-
const MailboxesCreateDraftRequestJson = /* @__PURE__ */ (() => Schema.
|
|
1062
|
-
channel: Schema.optionalKey(Schema.Union([Schema.Literal("email"), Schema.Null])),
|
|
1063
|
-
endpointId: Schema.optionalKey(Schema.Union([MailboxEndpointId, Schema.Null])),
|
|
1064
|
-
to: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1065
|
-
cc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1066
|
-
bcc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1067
|
-
replyTo: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1068
|
-
subject: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1069
|
-
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1070
|
-
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1071
|
-
attachments: Schema.optionalKey(Schema.Union([Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })), Schema.Null])),
|
|
1072
|
-
inReplyToMessageId: Schema.optionalKey(Schema.Union([MessageId, Schema.Null]))
|
|
1073
|
-
}))();
|
|
1191
|
+
const MailboxesCreateDraftRequestJson = /* @__PURE__ */ (() => Schema.Union([CreateMailboxEmailDraftPayload, CreateMailboxChatDraftPayload]))();
|
|
1074
1192
|
const MailboxesCreateDraft201 = MailboxDraft;
|
|
1193
|
+
const MailboxesCreateDraft400 = MalformedRequestError;
|
|
1075
1194
|
const MailboxesCreateDraft401 = UnauthorizedError;
|
|
1076
1195
|
const MailboxesCreateDraft403 = ForbiddenError;
|
|
1077
1196
|
const MailboxesCreateDraft404 = ResourceNotFoundError;
|
|
@@ -1083,6 +1202,7 @@ const MailboxesGetDraftPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1083
1202
|
draftId: MailboxDraftId
|
|
1084
1203
|
}))();
|
|
1085
1204
|
const MailboxesGetDraft200 = MailboxDraft;
|
|
1205
|
+
const MailboxesGetDraft400 = MalformedRequestError;
|
|
1086
1206
|
const MailboxesGetDraft401 = UnauthorizedError;
|
|
1087
1207
|
const MailboxesGetDraft403 = ForbiddenError;
|
|
1088
1208
|
const MailboxesGetDraft404 = ResourceNotFoundError;
|
|
@@ -1094,6 +1214,7 @@ const MailboxesDeleteDraftPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1094
1214
|
draftId: MailboxDraftId
|
|
1095
1215
|
}))();
|
|
1096
1216
|
const MailboxesDeleteDraft200 = SuccessResponse;
|
|
1217
|
+
const MailboxesDeleteDraft400 = MalformedRequestError;
|
|
1097
1218
|
const MailboxesDeleteDraft401 = UnauthorizedError;
|
|
1098
1219
|
const MailboxesDeleteDraft403 = ForbiddenError;
|
|
1099
1220
|
const MailboxesDeleteDraft404 = ResourceNotFoundError;
|
|
@@ -1115,6 +1236,7 @@ const MailboxesUpdateDraftRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1115
1236
|
attachments: Schema.optionalKey(Schema.Union([Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })), Schema.Null]))
|
|
1116
1237
|
}))();
|
|
1117
1238
|
const MailboxesUpdateDraft200 = MailboxDraft;
|
|
1239
|
+
const MailboxesUpdateDraft400 = MalformedRequestError;
|
|
1118
1240
|
const MailboxesUpdateDraft401 = UnauthorizedError;
|
|
1119
1241
|
const MailboxesUpdateDraft403 = ForbiddenError;
|
|
1120
1242
|
const MailboxesUpdateDraft404 = ResourceNotFoundError;
|
|
@@ -1126,9 +1248,10 @@ const MailboxesSendDraftPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1126
1248
|
id: MailboxId,
|
|
1127
1249
|
draftId: MailboxDraftId
|
|
1128
1250
|
}))();
|
|
1129
|
-
const MailboxesSendDraftHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.
|
|
1251
|
+
const MailboxesSendDraftHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.annotate({ description: "Optional key that makes a mailbox send idempotent for the calling key or member. Repeating the request with the same key and body returns the original action in its current state. Keep the key after a lost response. Reusing it with different content returns 409. Active actions retain their key; terminal receipts remain replayable for 24 hours." }).check(Schema.isPattern(new globalThis.RegExp("^[\\s\\S]{1,255}$")).annotate({ expected: "a string matching the RegExp ^[\\s\\S]{1,255}$" }))) }))();
|
|
1130
1252
|
const MailboxesSendDraft200 = MailboxSendReceipt;
|
|
1131
1253
|
const MailboxesSendDraft202 = MailboxPendingSendReceipt;
|
|
1254
|
+
const MailboxesSendDraft400 = MalformedRequestError;
|
|
1132
1255
|
const MailboxesSendDraft401 = UnauthorizedError;
|
|
1133
1256
|
const MailboxesSendDraft402 = PaymentRequiredError;
|
|
1134
1257
|
const MailboxesSendDraft403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -1139,7 +1262,7 @@ const MailboxesSendDraft403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1139
1262
|
]))();
|
|
1140
1263
|
const MailboxesSendDraft404 = ResourceNotFoundError;
|
|
1141
1264
|
const MailboxesSendDraft409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
1142
|
-
const MailboxesSendDraft422 = ValidationError;
|
|
1265
|
+
const MailboxesSendDraft422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
1143
1266
|
const MailboxesSendDraft429 = RateLimitedError;
|
|
1144
1267
|
const MailboxesSendDraft500 = InternalError;
|
|
1145
1268
|
const MailboxesSendDraft502 = BillingProviderError;
|
|
@@ -1152,6 +1275,7 @@ const MailboxesCreateEndpointRequestJson = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1152
1275
|
displayName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
|
|
1153
1276
|
}))();
|
|
1154
1277
|
const MailboxesCreateEndpoint201 = Mailbox;
|
|
1278
|
+
const MailboxesCreateEndpoint400 = MalformedRequestError;
|
|
1155
1279
|
const MailboxesCreateEndpoint401 = UnauthorizedError;
|
|
1156
1280
|
const MailboxesCreateEndpoint403 = /* @__PURE__ */ (() => Schema.Union([FlagDisabledError, ForbiddenError]))();
|
|
1157
1281
|
const MailboxesCreateEndpoint404 = ResourceNotFoundError;
|
|
@@ -1164,6 +1288,7 @@ const MailboxesRemoveEndpointPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1164
1288
|
endpointId: MailboxEndpointId
|
|
1165
1289
|
}))();
|
|
1166
1290
|
const MailboxesRemoveEndpoint200 = Mailbox;
|
|
1291
|
+
const MailboxesRemoveEndpoint400 = MalformedRequestError;
|
|
1167
1292
|
const MailboxesRemoveEndpoint401 = UnauthorizedError;
|
|
1168
1293
|
const MailboxesRemoveEndpoint403 = ForbiddenError;
|
|
1169
1294
|
const MailboxesRemoveEndpoint404 = ResourceNotFoundError;
|
|
@@ -1179,6 +1304,7 @@ const MailboxesUpdateEndpointRequestJson = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1179
1304
|
default: Schema.optionalKey(Schema.Union([Schema.Literal(true), Schema.Null]))
|
|
1180
1305
|
}))();
|
|
1181
1306
|
const MailboxesUpdateEndpoint200 = Mailbox;
|
|
1307
|
+
const MailboxesUpdateEndpoint400 = MalformedRequestError;
|
|
1182
1308
|
const MailboxesUpdateEndpoint401 = UnauthorizedError;
|
|
1183
1309
|
const MailboxesUpdateEndpoint403 = ForbiddenError;
|
|
1184
1310
|
const MailboxesUpdateEndpoint404 = ResourceNotFoundError;
|
|
@@ -1188,11 +1314,12 @@ const MailboxesUpdateEndpoint504 = GatewayTimeoutError;
|
|
|
1188
1314
|
const MailboxesListEventsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1189
1315
|
const MailboxesListEventsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1190
1316
|
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])),
|
|
1191
|
-
cursor: Schema.optionalKey(Schema.
|
|
1192
|
-
after: Schema.optionalKey(Schema.
|
|
1193
|
-
before: Schema.optionalKey(Schema.
|
|
1317
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
1318
|
+
after: Schema.optionalKey(Schema.String),
|
|
1319
|
+
before: Schema.optionalKey(Schema.String)
|
|
1194
1320
|
}))();
|
|
1195
1321
|
const MailboxesListEvents200 = MailboxEventPage;
|
|
1322
|
+
const MailboxesListEvents400 = MalformedRequestError;
|
|
1196
1323
|
const MailboxesListEvents401 = UnauthorizedError;
|
|
1197
1324
|
const MailboxesListEvents403 = ForbiddenError;
|
|
1198
1325
|
const MailboxesListEvents404 = ResourceNotFoundError;
|
|
@@ -1201,6 +1328,7 @@ const MailboxesListEvents500 = InternalError;
|
|
|
1201
1328
|
const MailboxesListEvents504 = GatewayTimeoutError;
|
|
1202
1329
|
const MailboxesListFoldersPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1203
1330
|
const MailboxesListFolders200 = MailboxFolderCountList;
|
|
1331
|
+
const MailboxesListFolders400 = MalformedRequestError;
|
|
1204
1332
|
const MailboxesListFolders401 = UnauthorizedError;
|
|
1205
1333
|
const MailboxesListFolders403 = ForbiddenError;
|
|
1206
1334
|
const MailboxesListFolders404 = ResourceNotFoundError;
|
|
@@ -1210,9 +1338,10 @@ const MailboxesListFolders504 = GatewayTimeoutError;
|
|
|
1210
1338
|
const MailboxesListGrantsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1211
1339
|
const MailboxesListGrantsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1212
1340
|
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])),
|
|
1213
|
-
cursor: Schema.optionalKey(Schema.
|
|
1341
|
+
cursor: Schema.optionalKey(Schema.String)
|
|
1214
1342
|
}))();
|
|
1215
1343
|
const MailboxesListGrants200 = MailboxGrantPage;
|
|
1344
|
+
const MailboxesListGrants400 = MalformedRequestError;
|
|
1216
1345
|
const MailboxesListGrants401 = UnauthorizedError;
|
|
1217
1346
|
const MailboxesListGrants403 = ForbiddenError;
|
|
1218
1347
|
const MailboxesListGrants404 = ResourceNotFoundError;
|
|
@@ -1226,6 +1355,7 @@ const MailboxesCreateGrantRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1226
1355
|
sendMode: Schema.optionalKey(Schema.Union([MailboxSendMode, Schema.Null]))
|
|
1227
1356
|
}))();
|
|
1228
1357
|
const MailboxesCreateGrant201 = MailboxGrant;
|
|
1358
|
+
const MailboxesCreateGrant400 = MalformedRequestError;
|
|
1229
1359
|
const MailboxesCreateGrant401 = UnauthorizedError;
|
|
1230
1360
|
const MailboxesCreateGrant403 = ForbiddenError;
|
|
1231
1361
|
const MailboxesCreateGrant404 = ResourceNotFoundError;
|
|
@@ -1238,6 +1368,7 @@ const MailboxesRevokeGrantPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1238
1368
|
grantId: MailboxGrantId
|
|
1239
1369
|
}))();
|
|
1240
1370
|
const MailboxesRevokeGrant200 = SuccessResponse;
|
|
1371
|
+
const MailboxesRevokeGrant400 = MalformedRequestError;
|
|
1241
1372
|
const MailboxesRevokeGrant401 = UnauthorizedError;
|
|
1242
1373
|
const MailboxesRevokeGrant403 = ForbiddenError;
|
|
1243
1374
|
const MailboxesRevokeGrant404 = ResourceNotFoundError;
|
|
@@ -1254,6 +1385,7 @@ const MailboxesUpdateGrantRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1254
1385
|
sendMode: Schema.optionalKey(Schema.Union([MailboxSendMode, Schema.Null]))
|
|
1255
1386
|
}))();
|
|
1256
1387
|
const MailboxesUpdateGrant200 = MailboxGrant;
|
|
1388
|
+
const MailboxesUpdateGrant400 = MalformedRequestError;
|
|
1257
1389
|
const MailboxesUpdateGrant401 = UnauthorizedError;
|
|
1258
1390
|
const MailboxesUpdateGrant403 = ForbiddenError;
|
|
1259
1391
|
const MailboxesUpdateGrant404 = ResourceNotFoundError;
|
|
@@ -1263,6 +1395,7 @@ const MailboxesUpdateGrant500 = InternalError;
|
|
|
1263
1395
|
const MailboxesUpdateGrant504 = GatewayTimeoutError;
|
|
1264
1396
|
const MailboxesListLabelsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1265
1397
|
const MailboxesListLabels200 = MailboxLabelList;
|
|
1398
|
+
const MailboxesListLabels400 = MalformedRequestError;
|
|
1266
1399
|
const MailboxesListLabels401 = UnauthorizedError;
|
|
1267
1400
|
const MailboxesListLabels403 = ForbiddenError;
|
|
1268
1401
|
const MailboxesListLabels404 = ResourceNotFoundError;
|
|
@@ -1283,6 +1416,7 @@ const MailboxesCreateLabelRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1283
1416
|
]), Schema.Null]))
|
|
1284
1417
|
}))();
|
|
1285
1418
|
const MailboxesCreateLabel201 = MailboxLabel;
|
|
1419
|
+
const MailboxesCreateLabel400 = MalformedRequestError;
|
|
1286
1420
|
const MailboxesCreateLabel401 = UnauthorizedError;
|
|
1287
1421
|
const MailboxesCreateLabel403 = ForbiddenError;
|
|
1288
1422
|
const MailboxesCreateLabel404 = ResourceNotFoundError;
|
|
@@ -1295,6 +1429,7 @@ const MailboxesDeleteLabelPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1295
1429
|
labelId: MailboxLabelId
|
|
1296
1430
|
}))();
|
|
1297
1431
|
const MailboxesDeleteLabel200 = SuccessResponse;
|
|
1432
|
+
const MailboxesDeleteLabel400 = MalformedRequestError;
|
|
1298
1433
|
const MailboxesDeleteLabel401 = UnauthorizedError;
|
|
1299
1434
|
const MailboxesDeleteLabel403 = ForbiddenError;
|
|
1300
1435
|
const MailboxesDeleteLabel404 = ResourceNotFoundError;
|
|
@@ -1317,6 +1452,7 @@ const MailboxesUpdateLabelRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1317
1452
|
]), Schema.Null]))
|
|
1318
1453
|
}))();
|
|
1319
1454
|
const MailboxesUpdateLabel200 = MailboxLabel;
|
|
1455
|
+
const MailboxesUpdateLabel400 = MalformedRequestError;
|
|
1320
1456
|
const MailboxesUpdateLabel401 = UnauthorizedError;
|
|
1321
1457
|
const MailboxesUpdateLabel403 = ForbiddenError;
|
|
1322
1458
|
const MailboxesUpdateLabel404 = ResourceNotFoundError;
|
|
@@ -1324,20 +1460,11 @@ const MailboxesUpdateLabel422 = ValidationError;
|
|
|
1324
1460
|
const MailboxesUpdateLabel500 = InternalError;
|
|
1325
1461
|
const MailboxesUpdateLabel504 = GatewayTimeoutError;
|
|
1326
1462
|
const MailboxesSendMessagePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1327
|
-
const MailboxesSendMessageHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.
|
|
1328
|
-
const MailboxesSendMessageRequestJson = /* @__PURE__ */ (() => Schema.
|
|
1329
|
-
channel: Schema.optionalKey(Schema.Union([Schema.Literal("email"), Schema.Null])),
|
|
1330
|
-
to: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String]),
|
|
1331
|
-
cc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1332
|
-
bcc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1333
|
-
replyTo: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1334
|
-
subject: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
1335
|
-
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1336
|
-
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1337
|
-
attachments: Schema.optionalKey(Schema.Union([Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })), Schema.Null]))
|
|
1338
|
-
}))();
|
|
1463
|
+
const MailboxesSendMessageHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.annotate({ description: "Optional key that makes a mailbox send idempotent for the calling key or member. Repeating the request with the same key and body returns the original action in its current state. Keep the key after a lost response. Reusing it with different content returns 409. Active actions retain their key; terminal receipts remain replayable for 24 hours." }).check(Schema.isPattern(new globalThis.RegExp("^[\\s\\S]{1,255}$")).annotate({ expected: "a string matching the RegExp ^[\\s\\S]{1,255}$" }))) }))();
|
|
1464
|
+
const MailboxesSendMessageRequestJson = /* @__PURE__ */ (() => Schema.Union([SendMailboxEmailPayload, SendMailboxChatPayload]))();
|
|
1339
1465
|
const MailboxesSendMessage200 = MailboxSendReceipt;
|
|
1340
1466
|
const MailboxesSendMessage202 = MailboxPendingSendReceipt;
|
|
1467
|
+
const MailboxesSendMessage400 = MalformedRequestError;
|
|
1341
1468
|
const MailboxesSendMessage401 = UnauthorizedError;
|
|
1342
1469
|
const MailboxesSendMessage402 = PaymentRequiredError;
|
|
1343
1470
|
const MailboxesSendMessage403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -1348,7 +1475,7 @@ const MailboxesSendMessage403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1348
1475
|
]))();
|
|
1349
1476
|
const MailboxesSendMessage404 = ResourceNotFoundError;
|
|
1350
1477
|
const MailboxesSendMessage409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
1351
|
-
const MailboxesSendMessage422 = ValidationError;
|
|
1478
|
+
const MailboxesSendMessage422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
1352
1479
|
const MailboxesSendMessage429 = RateLimitedError;
|
|
1353
1480
|
const MailboxesSendMessage500 = InternalError;
|
|
1354
1481
|
const MailboxesSendMessage502 = BillingProviderError;
|
|
@@ -1359,6 +1486,7 @@ const MailboxesGetMessagePathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1359
1486
|
messageId: MessageId
|
|
1360
1487
|
}))();
|
|
1361
1488
|
const MailboxesGetMessage200 = MailboxMessage;
|
|
1489
|
+
const MailboxesGetMessage400 = MalformedRequestError;
|
|
1362
1490
|
const MailboxesGetMessage401 = UnauthorizedError;
|
|
1363
1491
|
const MailboxesGetMessage403 = ForbiddenError;
|
|
1364
1492
|
const MailboxesGetMessage404 = ResourceNotFoundError;
|
|
@@ -1371,6 +1499,7 @@ const MailboxesGetMessageAttachmentPathParams = /* @__PURE__ */ (() => Schema.St
|
|
|
1371
1499
|
attachmentId: AttachmentId
|
|
1372
1500
|
}))();
|
|
1373
1501
|
const MailboxesGetMessageAttachment200 = MailboxDownloadUrl;
|
|
1502
|
+
const MailboxesGetMessageAttachment400 = MalformedRequestError;
|
|
1374
1503
|
const MailboxesGetMessageAttachment401 = UnauthorizedError;
|
|
1375
1504
|
const MailboxesGetMessageAttachment403 = ForbiddenError;
|
|
1376
1505
|
const MailboxesGetMessageAttachment404 = ResourceNotFoundError;
|
|
@@ -1383,6 +1512,7 @@ const MailboxesCopyMessageAttachmentPathParams = /* @__PURE__ */ (() => Schema.S
|
|
|
1383
1512
|
attachmentId: AttachmentId
|
|
1384
1513
|
}))();
|
|
1385
1514
|
const MailboxesCopyMessageAttachment201 = MailboxCopiedAttachment;
|
|
1515
|
+
const MailboxesCopyMessageAttachment400 = MalformedRequestError;
|
|
1386
1516
|
const MailboxesCopyMessageAttachment401 = UnauthorizedError;
|
|
1387
1517
|
const MailboxesCopyMessageAttachment403 = ForbiddenError;
|
|
1388
1518
|
const MailboxesCopyMessageAttachment404 = ResourceNotFoundError;
|
|
@@ -1395,6 +1525,7 @@ const MailboxesDiscardMessagePathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1395
1525
|
messageId: MessageId
|
|
1396
1526
|
}))();
|
|
1397
1527
|
const MailboxesDiscardMessage200 = MailboxQuarantinedMessage;
|
|
1528
|
+
const MailboxesDiscardMessage400 = MalformedRequestError;
|
|
1398
1529
|
const MailboxesDiscardMessage401 = UnauthorizedError;
|
|
1399
1530
|
const MailboxesDiscardMessage403 = ForbiddenError;
|
|
1400
1531
|
const MailboxesDiscardMessage404 = ResourceNotFoundError;
|
|
@@ -1407,7 +1538,7 @@ const MailboxesForwardPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1407
1538
|
id: MailboxId,
|
|
1408
1539
|
messageId: MessageId
|
|
1409
1540
|
}))();
|
|
1410
|
-
const MailboxesForwardHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.
|
|
1541
|
+
const MailboxesForwardHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.annotate({ description: "Optional key that makes a mailbox send idempotent for the calling key or member. Repeating the request with the same key and body returns the original action in its current state. Keep the key after a lost response. Reusing it with different content returns 409. Active actions retain their key; terminal receipts remain replayable for 24 hours." }).check(Schema.isPattern(new globalThis.RegExp("^[\\s\\S]{1,255}$")).annotate({ expected: "a string matching the RegExp ^[\\s\\S]{1,255}$" }))) }))();
|
|
1411
1542
|
const MailboxesForwardRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1412
1543
|
to: Schema.TupleWithRest(Schema.Tuple([Schema.String]), [Schema.String]),
|
|
1413
1544
|
cc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -1418,6 +1549,7 @@ const MailboxesForwardRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1418
1549
|
}))();
|
|
1419
1550
|
const MailboxesForward200 = MailboxSendReceipt;
|
|
1420
1551
|
const MailboxesForward202 = MailboxPendingSendReceipt;
|
|
1552
|
+
const MailboxesForward400 = MalformedRequestError;
|
|
1421
1553
|
const MailboxesForward401 = UnauthorizedError;
|
|
1422
1554
|
const MailboxesForward402 = PaymentRequiredError;
|
|
1423
1555
|
const MailboxesForward403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -1428,7 +1560,7 @@ const MailboxesForward403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1428
1560
|
]))();
|
|
1429
1561
|
const MailboxesForward404 = ResourceNotFoundError;
|
|
1430
1562
|
const MailboxesForward409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
1431
|
-
const MailboxesForward422 = ValidationError;
|
|
1563
|
+
const MailboxesForward422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
1432
1564
|
const MailboxesForward429 = RateLimitedError;
|
|
1433
1565
|
const MailboxesForward500 = InternalError;
|
|
1434
1566
|
const MailboxesForward502 = BillingProviderError;
|
|
@@ -1439,6 +1571,7 @@ const MailboxesGetMessageRawPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1439
1571
|
messageId: MessageId
|
|
1440
1572
|
}))();
|
|
1441
1573
|
const MailboxesGetMessageRaw200 = MailboxDownloadUrl;
|
|
1574
|
+
const MailboxesGetMessageRaw400 = MalformedRequestError;
|
|
1442
1575
|
const MailboxesGetMessageRaw401 = UnauthorizedError;
|
|
1443
1576
|
const MailboxesGetMessageRaw403 = ForbiddenError;
|
|
1444
1577
|
const MailboxesGetMessageRaw404 = ResourceNotFoundError;
|
|
@@ -1450,6 +1583,7 @@ const MailboxesReleaseMessagePathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1450
1583
|
messageId: MessageId
|
|
1451
1584
|
}))();
|
|
1452
1585
|
const MailboxesReleaseMessage200 = MailboxQuarantinedMessage;
|
|
1586
|
+
const MailboxesReleaseMessage400 = MalformedRequestError;
|
|
1453
1587
|
const MailboxesReleaseMessage401 = UnauthorizedError;
|
|
1454
1588
|
const MailboxesReleaseMessage403 = ForbiddenError;
|
|
1455
1589
|
const MailboxesReleaseMessage404 = ResourceNotFoundError;
|
|
@@ -1461,17 +1595,11 @@ const MailboxesReplyPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1461
1595
|
id: MailboxId,
|
|
1462
1596
|
messageId: MessageId
|
|
1463
1597
|
}))();
|
|
1464
|
-
const MailboxesReplyHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.
|
|
1465
|
-
const MailboxesReplyRequestJson = /* @__PURE__ */ (() => Schema.
|
|
1466
|
-
channel: Schema.optionalKey(Schema.Union([Schema.Literal("email"), Schema.Null])),
|
|
1467
|
-
cc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1468
|
-
bcc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1469
|
-
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1470
|
-
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1471
|
-
attachments: Schema.optionalKey(Schema.Union([Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })), Schema.Null]))
|
|
1472
|
-
}))();
|
|
1598
|
+
const MailboxesReplyHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.annotate({ description: "Optional key that makes a mailbox send idempotent for the calling key or member. Repeating the request with the same key and body returns the original action in its current state. Keep the key after a lost response. Reusing it with different content returns 409. Active actions retain their key; terminal receipts remain replayable for 24 hours." }).check(Schema.isPattern(new globalThis.RegExp("^[\\s\\S]{1,255}$")).annotate({ expected: "a string matching the RegExp ^[\\s\\S]{1,255}$" }))) }))();
|
|
1599
|
+
const MailboxesReplyRequestJson = /* @__PURE__ */ (() => Schema.Union([ReplyMailboxEmailPayload, ReplyMailboxChatPayload]))();
|
|
1473
1600
|
const MailboxesReply200 = MailboxSendReceipt;
|
|
1474
1601
|
const MailboxesReply202 = MailboxPendingSendReceipt;
|
|
1602
|
+
const MailboxesReply400 = MalformedRequestError;
|
|
1475
1603
|
const MailboxesReply401 = UnauthorizedError;
|
|
1476
1604
|
const MailboxesReply402 = PaymentRequiredError;
|
|
1477
1605
|
const MailboxesReply403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -1482,7 +1610,7 @@ const MailboxesReply403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1482
1610
|
]))();
|
|
1483
1611
|
const MailboxesReply404 = ResourceNotFoundError;
|
|
1484
1612
|
const MailboxesReply409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
1485
|
-
const MailboxesReply422 = ValidationError;
|
|
1613
|
+
const MailboxesReply422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
1486
1614
|
const MailboxesReply429 = RateLimitedError;
|
|
1487
1615
|
const MailboxesReply500 = InternalError;
|
|
1488
1616
|
const MailboxesReply502 = BillingProviderError;
|
|
@@ -1492,17 +1620,11 @@ const MailboxesReplyAllPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1492
1620
|
id: MailboxId,
|
|
1493
1621
|
messageId: MessageId
|
|
1494
1622
|
}))();
|
|
1495
|
-
const MailboxesReplyAllHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.
|
|
1496
|
-
const MailboxesReplyAllRequestJson = /* @__PURE__ */ (() => Schema.
|
|
1497
|
-
channel: Schema.optionalKey(Schema.Union([Schema.Literal("email"), Schema.Null])),
|
|
1498
|
-
cc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1499
|
-
bcc: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1500
|
-
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1501
|
-
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1502
|
-
attachments: Schema.optionalKey(Schema.Union([Schema.Array(EmailAttachment).check(Schema.isMaxLength(10).annotate({ expected: "a value with a length of at most 10" })), Schema.Null]))
|
|
1503
|
-
}))();
|
|
1623
|
+
const MailboxesReplyAllHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.optionalKey(Schema.String.annotate({ description: "Optional key that makes a mailbox send idempotent for the calling key or member. Repeating the request with the same key and body returns the original action in its current state. Keep the key after a lost response. Reusing it with different content returns 409. Active actions retain their key; terminal receipts remain replayable for 24 hours." }).check(Schema.isPattern(new globalThis.RegExp("^[\\s\\S]{1,255}$")).annotate({ expected: "a string matching the RegExp ^[\\s\\S]{1,255}$" }))) }))();
|
|
1624
|
+
const MailboxesReplyAllRequestJson = /* @__PURE__ */ (() => Schema.Union([ReplyMailboxEmailPayload, ReplyMailboxChatPayload]))();
|
|
1504
1625
|
const MailboxesReplyAll200 = MailboxSendReceipt;
|
|
1505
1626
|
const MailboxesReplyAll202 = MailboxPendingSendReceipt;
|
|
1627
|
+
const MailboxesReplyAll400 = MalformedRequestError;
|
|
1506
1628
|
const MailboxesReplyAll401 = UnauthorizedError;
|
|
1507
1629
|
const MailboxesReplyAll402 = PaymentRequiredError;
|
|
1508
1630
|
const MailboxesReplyAll403 = /* @__PURE__ */ (() => Schema.Union([
|
|
@@ -1513,7 +1635,7 @@ const MailboxesReplyAll403 = /* @__PURE__ */ (() => Schema.Union([
|
|
|
1513
1635
|
]))();
|
|
1514
1636
|
const MailboxesReplyAll404 = ResourceNotFoundError;
|
|
1515
1637
|
const MailboxesReplyAll409 = /* @__PURE__ */ (() => Schema.Union([MailboxSendConflictError, ConflictError]))();
|
|
1516
|
-
const MailboxesReplyAll422 = ValidationError;
|
|
1638
|
+
const MailboxesReplyAll422 = /* @__PURE__ */ (() => Schema.Union([WhatsAppServiceWindowClosedError, ValidationError]))();
|
|
1517
1639
|
const MailboxesReplyAll429 = RateLimitedError;
|
|
1518
1640
|
const MailboxesReplyAll500 = InternalError;
|
|
1519
1641
|
const MailboxesReplyAll502 = BillingProviderError;
|
|
@@ -1521,6 +1643,7 @@ const MailboxesReplyAll503 = SenderNotReadyError;
|
|
|
1521
1643
|
const MailboxesReplyAll504 = GatewayTimeoutError;
|
|
1522
1644
|
const MailboxesPausePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1523
1645
|
const MailboxesPause200 = Mailbox;
|
|
1646
|
+
const MailboxesPause400 = MalformedRequestError;
|
|
1524
1647
|
const MailboxesPause401 = UnauthorizedError;
|
|
1525
1648
|
const MailboxesPause403 = ForbiddenError;
|
|
1526
1649
|
const MailboxesPause404 = ResourceNotFoundError;
|
|
@@ -1529,6 +1652,7 @@ const MailboxesPause500 = InternalError;
|
|
|
1529
1652
|
const MailboxesPause504 = GatewayTimeoutError;
|
|
1530
1653
|
const MailboxesListPoliciesPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1531
1654
|
const MailboxesListPolicies200 = MailboxPolicyList;
|
|
1655
|
+
const MailboxesListPolicies400 = MalformedRequestError;
|
|
1532
1656
|
const MailboxesListPolicies401 = UnauthorizedError;
|
|
1533
1657
|
const MailboxesListPolicies403 = ForbiddenError;
|
|
1534
1658
|
const MailboxesListPolicies404 = ResourceNotFoundError;
|
|
@@ -1537,12 +1661,13 @@ const MailboxesListPolicies500 = InternalError;
|
|
|
1537
1661
|
const MailboxesListPolicies504 = GatewayTimeoutError;
|
|
1538
1662
|
const MailboxesCreatePolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1539
1663
|
const MailboxesCreatePolicyRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1540
|
-
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isPattern(
|
|
1664
|
+
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\S[\\s\\S]*\\S$|^\\S$|^$", "u")).annotate({ expected: "a string matching the RegExp ^\\S[\\s\\S]*\\S$|^\\S$|^$" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
1541
1665
|
outcome: MailboxPolicyOutcomeKind,
|
|
1542
1666
|
reason: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })), Schema.Null])),
|
|
1543
1667
|
enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
1544
1668
|
}))();
|
|
1545
1669
|
const MailboxesCreatePolicy201 = MailboxPolicy;
|
|
1670
|
+
const MailboxesCreatePolicy400 = MalformedRequestError;
|
|
1546
1671
|
const MailboxesCreatePolicy401 = UnauthorizedError;
|
|
1547
1672
|
const MailboxesCreatePolicy403 = ForbiddenError;
|
|
1548
1673
|
const MailboxesCreatePolicy404 = ResourceNotFoundError;
|
|
@@ -1555,6 +1680,7 @@ const MailboxesGetPolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1555
1680
|
policyId: MailboxPolicyId
|
|
1556
1681
|
}))();
|
|
1557
1682
|
const MailboxesGetPolicy200 = MailboxPolicy;
|
|
1683
|
+
const MailboxesGetPolicy400 = MalformedRequestError;
|
|
1558
1684
|
const MailboxesGetPolicy401 = UnauthorizedError;
|
|
1559
1685
|
const MailboxesGetPolicy403 = ForbiddenError;
|
|
1560
1686
|
const MailboxesGetPolicy404 = ResourceNotFoundError;
|
|
@@ -1566,6 +1692,7 @@ const MailboxesDeletePolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1566
1692
|
policyId: MailboxPolicyId
|
|
1567
1693
|
}))();
|
|
1568
1694
|
const MailboxesDeletePolicy200 = SuccessResponse;
|
|
1695
|
+
const MailboxesDeletePolicy400 = MalformedRequestError;
|
|
1569
1696
|
const MailboxesDeletePolicy401 = UnauthorizedError;
|
|
1570
1697
|
const MailboxesDeletePolicy403 = ForbiddenError;
|
|
1571
1698
|
const MailboxesDeletePolicy404 = ResourceNotFoundError;
|
|
@@ -1577,12 +1704,13 @@ const MailboxesUpdatePolicyPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1577
1704
|
policyId: MailboxPolicyId
|
|
1578
1705
|
}))();
|
|
1579
1706
|
const MailboxesUpdatePolicyRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1580
|
-
name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isPattern(
|
|
1707
|
+
name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\S[\\s\\S]*\\S$|^\\S$|^$", "u")).annotate({ expected: "a string matching the RegExp ^\\S[\\s\\S]*\\S$|^\\S$|^$" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })), Schema.Null])),
|
|
1581
1708
|
outcome: Schema.optionalKey(Schema.Union([MailboxPolicyOutcomeKind, Schema.Null])),
|
|
1582
1709
|
reason: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })), Schema.Null])),
|
|
1583
1710
|
enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
1584
1711
|
}))();
|
|
1585
1712
|
const MailboxesUpdatePolicy200 = MailboxPolicy;
|
|
1713
|
+
const MailboxesUpdatePolicy400 = MalformedRequestError;
|
|
1586
1714
|
const MailboxesUpdatePolicy401 = UnauthorizedError;
|
|
1587
1715
|
const MailboxesUpdatePolicy403 = ForbiddenError;
|
|
1588
1716
|
const MailboxesUpdatePolicy404 = ResourceNotFoundError;
|
|
@@ -1592,11 +1720,12 @@ const MailboxesUpdatePolicy504 = GatewayTimeoutError;
|
|
|
1592
1720
|
const MailboxesListQuarantinePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1593
1721
|
const MailboxesListQuarantineQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1594
1722
|
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])),
|
|
1595
|
-
cursor: Schema.optionalKey(Schema.
|
|
1596
|
-
after: Schema.optionalKey(Schema.
|
|
1597
|
-
before: Schema.optionalKey(Schema.
|
|
1723
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
1724
|
+
after: Schema.optionalKey(Schema.String),
|
|
1725
|
+
before: Schema.optionalKey(Schema.String)
|
|
1598
1726
|
}))();
|
|
1599
1727
|
const MailboxesListQuarantine200 = MailboxQuarantinePage;
|
|
1728
|
+
const MailboxesListQuarantine400 = MalformedRequestError;
|
|
1600
1729
|
const MailboxesListQuarantine401 = UnauthorizedError;
|
|
1601
1730
|
const MailboxesListQuarantine403 = ForbiddenError;
|
|
1602
1731
|
const MailboxesListQuarantine404 = ResourceNotFoundError;
|
|
@@ -1605,6 +1734,7 @@ const MailboxesListQuarantine500 = InternalError;
|
|
|
1605
1734
|
const MailboxesListQuarantine504 = GatewayTimeoutError;
|
|
1606
1735
|
const MailboxesResumePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1607
1736
|
const MailboxesResume200 = Mailbox;
|
|
1737
|
+
const MailboxesResume400 = MalformedRequestError;
|
|
1608
1738
|
const MailboxesResume401 = UnauthorizedError;
|
|
1609
1739
|
const MailboxesResume403 = ForbiddenError;
|
|
1610
1740
|
const MailboxesResume404 = ResourceNotFoundError;
|
|
@@ -1614,18 +1744,19 @@ const MailboxesResume504 = GatewayTimeoutError;
|
|
|
1614
1744
|
const MailboxesListThreadsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: MailboxId }))();
|
|
1615
1745
|
const MailboxesListThreadsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1616
1746
|
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])),
|
|
1617
|
-
cursor: Schema.optionalKey(Schema.
|
|
1618
|
-
after: Schema.optionalKey(Schema.
|
|
1619
|
-
before: Schema.optionalKey(Schema.
|
|
1620
|
-
q: Schema.optionalKey(Schema.
|
|
1621
|
-
state: Schema.optionalKey(Schema.Union([Schema.
|
|
1622
|
-
folder: Schema.optionalKey(
|
|
1623
|
-
label: Schema.optionalKey(
|
|
1747
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
1748
|
+
after: Schema.optionalKey(Schema.String),
|
|
1749
|
+
before: Schema.optionalKey(Schema.String),
|
|
1750
|
+
q: Schema.optionalKey(Schema.String),
|
|
1751
|
+
state: Schema.optionalKey(Schema.Union([Schema.Literal("active"), Schema.Literal("done")])),
|
|
1752
|
+
folder: Schema.optionalKey(MailboxThreadFolder),
|
|
1753
|
+
label: Schema.optionalKey(MailboxLabelId),
|
|
1624
1754
|
unread: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1625
1755
|
starred: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1626
1756
|
snoozed: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
1627
1757
|
}))();
|
|
1628
1758
|
const MailboxesListThreads200 = MailboxThreadPage;
|
|
1759
|
+
const MailboxesListThreads400 = MalformedRequestError;
|
|
1629
1760
|
const MailboxesListThreads401 = UnauthorizedError;
|
|
1630
1761
|
const MailboxesListThreads403 = ForbiddenError;
|
|
1631
1762
|
const MailboxesListThreads404 = ResourceNotFoundError;
|
|
@@ -1637,6 +1768,7 @@ const MailboxesGetThreadPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1637
1768
|
threadId: MailboxThreadId
|
|
1638
1769
|
}))();
|
|
1639
1770
|
const MailboxesGetThread200 = MailboxThread;
|
|
1771
|
+
const MailboxesGetThread400 = MalformedRequestError;
|
|
1640
1772
|
const MailboxesGetThread401 = UnauthorizedError;
|
|
1641
1773
|
const MailboxesGetThread403 = ForbiddenError;
|
|
1642
1774
|
const MailboxesGetThread404 = ResourceNotFoundError;
|
|
@@ -1657,6 +1789,7 @@ const MailboxesUpdateThreadRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1657
1789
|
snoozedUntil: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
1658
1790
|
}))();
|
|
1659
1791
|
const MailboxesUpdateThread200 = MailboxThreadState;
|
|
1792
|
+
const MailboxesUpdateThread400 = MalformedRequestError;
|
|
1660
1793
|
const MailboxesUpdateThread401 = UnauthorizedError;
|
|
1661
1794
|
const MailboxesUpdateThread403 = ForbiddenError;
|
|
1662
1795
|
const MailboxesUpdateThread404 = ResourceNotFoundError;
|
|
@@ -1669,9 +1802,10 @@ const MailboxesGetThreadContentPathParams = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1669
1802
|
}))();
|
|
1670
1803
|
const MailboxesGetThreadContentQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1671
1804
|
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])),
|
|
1672
|
-
cursor: Schema.optionalKey(Schema.
|
|
1805
|
+
cursor: Schema.optionalKey(Schema.String)
|
|
1673
1806
|
}))();
|
|
1674
1807
|
const MailboxesGetThreadContent200 = MailboxThreadContentPage;
|
|
1808
|
+
const MailboxesGetThreadContent400 = MalformedRequestError;
|
|
1675
1809
|
const MailboxesGetThreadContent401 = UnauthorizedError;
|
|
1676
1810
|
const MailboxesGetThreadContent403 = ForbiddenError;
|
|
1677
1811
|
const MailboxesGetThreadContent404 = ResourceNotFoundError;
|
|
@@ -1684,6 +1818,7 @@ const MailboxesAddThreadLabelsPathParams = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1684
1818
|
}))();
|
|
1685
1819
|
const MailboxesAddThreadLabelsRequestJson = /* @__PURE__ */ (() => Schema.Struct({ labels: Schema.TupleWithRest(Schema.Tuple([MailboxLabelId]), [MailboxLabelId]) }))();
|
|
1686
1820
|
const MailboxesAddThreadLabels200 = MailboxThreadState;
|
|
1821
|
+
const MailboxesAddThreadLabels400 = MalformedRequestError;
|
|
1687
1822
|
const MailboxesAddThreadLabels401 = UnauthorizedError;
|
|
1688
1823
|
const MailboxesAddThreadLabels403 = ForbiddenError;
|
|
1689
1824
|
const MailboxesAddThreadLabels404 = ResourceNotFoundError;
|
|
@@ -1696,6 +1831,7 @@ const MailboxesRemoveThreadLabelsPathParams = /* @__PURE__ */ (() => Schema.Stru
|
|
|
1696
1831
|
}))();
|
|
1697
1832
|
const MailboxesRemoveThreadLabelsRequestJson = /* @__PURE__ */ (() => Schema.Struct({ labels: Schema.TupleWithRest(Schema.Tuple([MailboxLabelId]), [MailboxLabelId]) }))();
|
|
1698
1833
|
const MailboxesRemoveThreadLabels200 = MailboxThreadState;
|
|
1834
|
+
const MailboxesRemoveThreadLabels400 = MalformedRequestError;
|
|
1699
1835
|
const MailboxesRemoveThreadLabels401 = UnauthorizedError;
|
|
1700
1836
|
const MailboxesRemoveThreadLabels403 = ForbiddenError;
|
|
1701
1837
|
const MailboxesRemoveThreadLabels404 = ResourceNotFoundError;
|
|
@@ -1708,9 +1844,10 @@ const MailboxesListThreadMessagesPathParams = /* @__PURE__ */ (() => Schema.Stru
|
|
|
1708
1844
|
}))();
|
|
1709
1845
|
const MailboxesListThreadMessagesQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1710
1846
|
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])),
|
|
1711
|
-
cursor: Schema.optionalKey(Schema.
|
|
1847
|
+
cursor: Schema.optionalKey(Schema.String)
|
|
1712
1848
|
}))();
|
|
1713
1849
|
const MailboxesListThreadMessages200 = MailboxMessagePage;
|
|
1850
|
+
const MailboxesListThreadMessages400 = MalformedRequestError;
|
|
1714
1851
|
const MailboxesListThreadMessages401 = UnauthorizedError;
|
|
1715
1852
|
const MailboxesListThreadMessages403 = ForbiddenError;
|
|
1716
1853
|
const MailboxesListThreadMessages404 = ResourceNotFoundError;
|
|
@@ -1723,9 +1860,10 @@ const MailboxesListThreadNotesPathParams = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1723
1860
|
}))();
|
|
1724
1861
|
const MailboxesListThreadNotesQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1725
1862
|
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])),
|
|
1726
|
-
cursor: Schema.optionalKey(Schema.
|
|
1863
|
+
cursor: Schema.optionalKey(Schema.String)
|
|
1727
1864
|
}))();
|
|
1728
1865
|
const MailboxesListThreadNotes200 = MailboxNotePage;
|
|
1866
|
+
const MailboxesListThreadNotes400 = MalformedRequestError;
|
|
1729
1867
|
const MailboxesListThreadNotes401 = UnauthorizedError;
|
|
1730
1868
|
const MailboxesListThreadNotes403 = ForbiddenError;
|
|
1731
1869
|
const MailboxesListThreadNotes404 = ResourceNotFoundError;
|
|
@@ -1742,6 +1880,7 @@ const MailboxesCreateNoteRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1742
1880
|
pinned: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
1743
1881
|
}))();
|
|
1744
1882
|
const MailboxesCreateNote201 = MailboxNote;
|
|
1883
|
+
const MailboxesCreateNote400 = MalformedRequestError;
|
|
1745
1884
|
const MailboxesCreateNote401 = UnauthorizedError;
|
|
1746
1885
|
const MailboxesCreateNote403 = ForbiddenError;
|
|
1747
1886
|
const MailboxesCreateNote404 = ResourceNotFoundError;
|
|
@@ -1754,6 +1893,7 @@ const MailboxesDeleteNotePathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1754
1893
|
noteId: MailboxNoteId
|
|
1755
1894
|
}))();
|
|
1756
1895
|
const MailboxesDeleteNote200 = SuccessResponse;
|
|
1896
|
+
const MailboxesDeleteNote400 = MalformedRequestError;
|
|
1757
1897
|
const MailboxesDeleteNote401 = UnauthorizedError;
|
|
1758
1898
|
const MailboxesDeleteNote403 = ForbiddenError;
|
|
1759
1899
|
const MailboxesDeleteNote404 = ResourceNotFoundError;
|
|
@@ -1771,6 +1911,7 @@ const MailboxesUpdateNoteRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1771
1911
|
pinned: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
1772
1912
|
}))();
|
|
1773
1913
|
const MailboxesUpdateNote200 = MailboxNote;
|
|
1914
|
+
const MailboxesUpdateNote400 = MalformedRequestError;
|
|
1774
1915
|
const MailboxesUpdateNote401 = UnauthorizedError;
|
|
1775
1916
|
const MailboxesUpdateNote403 = ForbiddenError;
|
|
1776
1917
|
const MailboxesUpdateNote404 = ResourceNotFoundError;
|
|
@@ -1779,16 +1920,13 @@ const MailboxesUpdateNote500 = InternalError;
|
|
|
1779
1920
|
const MailboxesUpdateNote504 = GatewayTimeoutError;
|
|
1780
1921
|
const MailboxesListOrganizationDraftsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1781
1922
|
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])),
|
|
1782
|
-
cursor: Schema.optionalKey(Schema.
|
|
1783
|
-
mailboxId: Schema.optionalKey(Schema.Union([
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
Schema.Null
|
|
1787
|
-
])),
|
|
1788
|
-
kind: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("personal"), Schema.Literal("shared")]), Schema.Null])),
|
|
1789
|
-
threadId: Schema.optionalKey(Schema.Union([MailboxThreadId, Schema.Null]))
|
|
1923
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
1924
|
+
mailboxId: Schema.optionalKey(Schema.Union([MailboxId, Schema.Array(MailboxId)])),
|
|
1925
|
+
kind: Schema.optionalKey(Schema.Union([Schema.Literal("personal"), Schema.Literal("shared")])),
|
|
1926
|
+
threadId: Schema.optionalKey(MailboxThreadId)
|
|
1790
1927
|
}))();
|
|
1791
1928
|
const MailboxesListOrganizationDrafts200 = OrganizationMailboxDraftPage;
|
|
1929
|
+
const MailboxesListOrganizationDrafts400 = MalformedRequestError;
|
|
1792
1930
|
const MailboxesListOrganizationDrafts401 = UnauthorizedError;
|
|
1793
1931
|
const MailboxesListOrganizationDrafts403 = ForbiddenError;
|
|
1794
1932
|
const MailboxesListOrganizationDrafts404 = ResourceNotFoundError;
|
|
@@ -1797,9 +1935,10 @@ const MailboxesListOrganizationDrafts500 = InternalError;
|
|
|
1797
1935
|
const MailboxesListOrganizationDrafts504 = GatewayTimeoutError;
|
|
1798
1936
|
const MailboxesGetNeedsYouQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1799
1937
|
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])),
|
|
1800
|
-
cursor: Schema.optionalKey(Schema.
|
|
1938
|
+
cursor: Schema.optionalKey(Schema.String)
|
|
1801
1939
|
}))();
|
|
1802
1940
|
const MailboxesGetNeedsYou200 = MailboxNeedsYou;
|
|
1941
|
+
const MailboxesGetNeedsYou400 = MalformedRequestError;
|
|
1803
1942
|
const MailboxesGetNeedsYou401 = UnauthorizedError;
|
|
1804
1943
|
const MailboxesGetNeedsYou403 = ForbiddenError;
|
|
1805
1944
|
const MailboxesGetNeedsYou422 = ValidationError;
|
|
@@ -1807,25 +1946,22 @@ const MailboxesGetNeedsYou500 = InternalError;
|
|
|
1807
1946
|
const MailboxesGetNeedsYou504 = GatewayTimeoutError;
|
|
1808
1947
|
const MailboxesListOrganizationThreadsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1809
1948
|
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])),
|
|
1810
|
-
cursor: Schema.optionalKey(Schema.
|
|
1811
|
-
after: Schema.optionalKey(Schema.
|
|
1812
|
-
before: Schema.optionalKey(Schema.
|
|
1813
|
-
q: Schema.optionalKey(Schema.
|
|
1814
|
-
state: Schema.optionalKey(Schema.Union([Schema.
|
|
1815
|
-
folder: Schema.optionalKey(
|
|
1816
|
-
label: Schema.optionalKey(
|
|
1949
|
+
cursor: Schema.optionalKey(Schema.String),
|
|
1950
|
+
after: Schema.optionalKey(Schema.String),
|
|
1951
|
+
before: Schema.optionalKey(Schema.String),
|
|
1952
|
+
q: Schema.optionalKey(Schema.String),
|
|
1953
|
+
state: Schema.optionalKey(Schema.Union([Schema.Literal("active"), Schema.Literal("done")])),
|
|
1954
|
+
folder: Schema.optionalKey(MailboxThreadFolder),
|
|
1955
|
+
label: Schema.optionalKey(MailboxLabelId),
|
|
1817
1956
|
unread: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1818
1957
|
starred: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1819
1958
|
snoozed: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1820
|
-
mailboxId: Schema.optionalKey(Schema.Union([
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
Schema.Null
|
|
1824
|
-
])),
|
|
1825
|
-
kind: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("personal"), Schema.Literal("shared")]), Schema.Null])),
|
|
1826
|
-
conversation: Schema.optionalKey(Schema.Union([ConversationId, Schema.Null]))
|
|
1959
|
+
mailboxId: Schema.optionalKey(Schema.Union([MailboxId, Schema.Array(MailboxId)])),
|
|
1960
|
+
kind: Schema.optionalKey(Schema.Union([Schema.Literal("personal"), Schema.Literal("shared")])),
|
|
1961
|
+
conversation: Schema.optionalKey(ConversationId)
|
|
1827
1962
|
}))();
|
|
1828
1963
|
const MailboxesListOrganizationThreads200 = OrganizationMailboxThreadPage;
|
|
1964
|
+
const MailboxesListOrganizationThreads400 = MalformedRequestError;
|
|
1829
1965
|
const MailboxesListOrganizationThreads401 = UnauthorizedError;
|
|
1830
1966
|
const MailboxesListOrganizationThreads403 = ForbiddenError;
|
|
1831
1967
|
const MailboxesListOrganizationThreads404 = ResourceNotFoundError;
|
|
@@ -1836,6 +1972,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1836
1972
|
query: MailboxesListQuery,
|
|
1837
1973
|
success: MailboxesList200,
|
|
1838
1974
|
error: [
|
|
1975
|
+
MailboxesList400.pipe(HttpApiSchema.status(400)),
|
|
1839
1976
|
MailboxesList401.pipe(HttpApiSchema.status(401)),
|
|
1840
1977
|
MailboxesList403.pipe(HttpApiSchema.status(403)),
|
|
1841
1978
|
MailboxesList422.pipe(HttpApiSchema.status(422)),
|
|
@@ -1846,6 +1983,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1846
1983
|
payload: MailboxesCreateRequestJson,
|
|
1847
1984
|
success: MailboxesCreate201.pipe(HttpApiSchema.status(201)),
|
|
1848
1985
|
error: [
|
|
1986
|
+
MailboxesCreate400.pipe(HttpApiSchema.status(400)),
|
|
1849
1987
|
MailboxesCreate401.pipe(HttpApiSchema.status(401)),
|
|
1850
1988
|
MailboxesCreate402.pipe(HttpApiSchema.status(402)),
|
|
1851
1989
|
MailboxesCreate403.pipe(HttpApiSchema.status(403)),
|
|
@@ -1860,6 +1998,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1860
1998
|
params: MailboxesGetPathParams,
|
|
1861
1999
|
success: MailboxesGet200,
|
|
1862
2000
|
error: [
|
|
2001
|
+
MailboxesGet400.pipe(HttpApiSchema.status(400)),
|
|
1863
2002
|
MailboxesGet401.pipe(HttpApiSchema.status(401)),
|
|
1864
2003
|
MailboxesGet403.pipe(HttpApiSchema.status(403)),
|
|
1865
2004
|
MailboxesGet404.pipe(HttpApiSchema.status(404)),
|
|
@@ -1871,6 +2010,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1871
2010
|
params: MailboxesRemovePathParams,
|
|
1872
2011
|
success: MailboxesRemove200,
|
|
1873
2012
|
error: [
|
|
2013
|
+
MailboxesRemove400.pipe(HttpApiSchema.status(400)),
|
|
1874
2014
|
MailboxesRemove401.pipe(HttpApiSchema.status(401)),
|
|
1875
2015
|
MailboxesRemove403.pipe(HttpApiSchema.status(403)),
|
|
1876
2016
|
MailboxesRemove404.pipe(HttpApiSchema.status(404)),
|
|
@@ -1884,6 +2024,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1884
2024
|
payload: MailboxesUpdateRequestJson,
|
|
1885
2025
|
success: MailboxesUpdate200,
|
|
1886
2026
|
error: [
|
|
2027
|
+
MailboxesUpdate400.pipe(HttpApiSchema.status(400)),
|
|
1887
2028
|
MailboxesUpdate401.pipe(HttpApiSchema.status(401)),
|
|
1888
2029
|
MailboxesUpdate403.pipe(HttpApiSchema.status(403)),
|
|
1889
2030
|
MailboxesUpdate404.pipe(HttpApiSchema.status(404)),
|
|
@@ -1896,6 +2037,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1896
2037
|
query: MailboxesListActionsQuery,
|
|
1897
2038
|
success: MailboxesListActions200,
|
|
1898
2039
|
error: [
|
|
2040
|
+
MailboxesListActions400.pipe(HttpApiSchema.status(400)),
|
|
1899
2041
|
MailboxesListActions401.pipe(HttpApiSchema.status(401)),
|
|
1900
2042
|
MailboxesListActions403.pipe(HttpApiSchema.status(403)),
|
|
1901
2043
|
MailboxesListActions404.pipe(HttpApiSchema.status(404)),
|
|
@@ -1907,6 +2049,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1907
2049
|
params: MailboxesGetActionPathParams,
|
|
1908
2050
|
success: MailboxesGetAction200,
|
|
1909
2051
|
error: [
|
|
2052
|
+
MailboxesGetAction400.pipe(HttpApiSchema.status(400)),
|
|
1910
2053
|
MailboxesGetAction401.pipe(HttpApiSchema.status(401)),
|
|
1911
2054
|
MailboxesGetAction403.pipe(HttpApiSchema.status(403)),
|
|
1912
2055
|
MailboxesGetAction404.pipe(HttpApiSchema.status(404)),
|
|
@@ -1918,6 +2061,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1918
2061
|
params: MailboxesApproveActionPathParams,
|
|
1919
2062
|
success: [MailboxesApproveAction200, MailboxesApproveAction202.pipe(HttpApiSchema.status(202))],
|
|
1920
2063
|
error: [
|
|
2064
|
+
MailboxesApproveAction400.pipe(HttpApiSchema.status(400)),
|
|
1921
2065
|
MailboxesApproveAction401.pipe(HttpApiSchema.status(401)),
|
|
1922
2066
|
MailboxesApproveAction402.pipe(HttpApiSchema.status(402)),
|
|
1923
2067
|
MailboxesApproveAction403.pipe(HttpApiSchema.status(403)),
|
|
@@ -1934,6 +2078,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1934
2078
|
params: MailboxesCancelActionPathParams,
|
|
1935
2079
|
success: [MailboxesCancelAction200, MailboxesCancelAction202.pipe(HttpApiSchema.status(202))],
|
|
1936
2080
|
error: [
|
|
2081
|
+
MailboxesCancelAction400.pipe(HttpApiSchema.status(400)),
|
|
1937
2082
|
MailboxesCancelAction401.pipe(HttpApiSchema.status(401)),
|
|
1938
2083
|
MailboxesCancelAction402.pipe(HttpApiSchema.status(402)),
|
|
1939
2084
|
MailboxesCancelAction403.pipe(HttpApiSchema.status(403)),
|
|
@@ -1951,6 +2096,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1951
2096
|
payload: MailboxesDenyActionRequestJson,
|
|
1952
2097
|
success: MailboxesDenyAction200,
|
|
1953
2098
|
error: [
|
|
2099
|
+
MailboxesDenyAction400.pipe(HttpApiSchema.status(400)),
|
|
1954
2100
|
MailboxesDenyAction401.pipe(HttpApiSchema.status(401)),
|
|
1955
2101
|
MailboxesDenyAction403.pipe(HttpApiSchema.status(403)),
|
|
1956
2102
|
MailboxesDenyAction404.pipe(HttpApiSchema.status(404)),
|
|
@@ -1963,6 +2109,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1963
2109
|
params: MailboxesRetryActionPathParams,
|
|
1964
2110
|
success: [MailboxesRetryAction200, MailboxesRetryAction202.pipe(HttpApiSchema.status(202))],
|
|
1965
2111
|
error: [
|
|
2112
|
+
MailboxesRetryAction400.pipe(HttpApiSchema.status(400)),
|
|
1966
2113
|
MailboxesRetryAction401.pipe(HttpApiSchema.status(401)),
|
|
1967
2114
|
MailboxesRetryAction402.pipe(HttpApiSchema.status(402)),
|
|
1968
2115
|
MailboxesRetryAction403.pipe(HttpApiSchema.status(403)),
|
|
@@ -1980,6 +2127,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1980
2127
|
query: MailboxesGetAgentActivityQuery,
|
|
1981
2128
|
success: MailboxesGetAgentActivity200,
|
|
1982
2129
|
error: [
|
|
2130
|
+
MailboxesGetAgentActivity400.pipe(HttpApiSchema.status(400)),
|
|
1983
2131
|
MailboxesGetAgentActivity401.pipe(HttpApiSchema.status(401)),
|
|
1984
2132
|
MailboxesGetAgentActivity403.pipe(HttpApiSchema.status(403)),
|
|
1985
2133
|
MailboxesGetAgentActivity404.pipe(HttpApiSchema.status(404)),
|
|
@@ -1992,6 +2140,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
1992
2140
|
query: MailboxesListDraftsQuery,
|
|
1993
2141
|
success: MailboxesListDrafts200,
|
|
1994
2142
|
error: [
|
|
2143
|
+
MailboxesListDrafts400.pipe(HttpApiSchema.status(400)),
|
|
1995
2144
|
MailboxesListDrafts401.pipe(HttpApiSchema.status(401)),
|
|
1996
2145
|
MailboxesListDrafts403.pipe(HttpApiSchema.status(403)),
|
|
1997
2146
|
MailboxesListDrafts404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2004,6 +2153,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2004
2153
|
payload: MailboxesCreateDraftRequestJson,
|
|
2005
2154
|
success: MailboxesCreateDraft201.pipe(HttpApiSchema.status(201)),
|
|
2006
2155
|
error: [
|
|
2156
|
+
MailboxesCreateDraft400.pipe(HttpApiSchema.status(400)),
|
|
2007
2157
|
MailboxesCreateDraft401.pipe(HttpApiSchema.status(401)),
|
|
2008
2158
|
MailboxesCreateDraft403.pipe(HttpApiSchema.status(403)),
|
|
2009
2159
|
MailboxesCreateDraft404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2015,6 +2165,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2015
2165
|
params: MailboxesGetDraftPathParams,
|
|
2016
2166
|
success: MailboxesGetDraft200,
|
|
2017
2167
|
error: [
|
|
2168
|
+
MailboxesGetDraft400.pipe(HttpApiSchema.status(400)),
|
|
2018
2169
|
MailboxesGetDraft401.pipe(HttpApiSchema.status(401)),
|
|
2019
2170
|
MailboxesGetDraft403.pipe(HttpApiSchema.status(403)),
|
|
2020
2171
|
MailboxesGetDraft404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2026,6 +2177,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2026
2177
|
params: MailboxesDeleteDraftPathParams,
|
|
2027
2178
|
success: MailboxesDeleteDraft200,
|
|
2028
2179
|
error: [
|
|
2180
|
+
MailboxesDeleteDraft400.pipe(HttpApiSchema.status(400)),
|
|
2029
2181
|
MailboxesDeleteDraft401.pipe(HttpApiSchema.status(401)),
|
|
2030
2182
|
MailboxesDeleteDraft403.pipe(HttpApiSchema.status(403)),
|
|
2031
2183
|
MailboxesDeleteDraft404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2038,6 +2190,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2038
2190
|
payload: MailboxesUpdateDraftRequestJson,
|
|
2039
2191
|
success: MailboxesUpdateDraft200,
|
|
2040
2192
|
error: [
|
|
2193
|
+
MailboxesUpdateDraft400.pipe(HttpApiSchema.status(400)),
|
|
2041
2194
|
MailboxesUpdateDraft401.pipe(HttpApiSchema.status(401)),
|
|
2042
2195
|
MailboxesUpdateDraft403.pipe(HttpApiSchema.status(403)),
|
|
2043
2196
|
MailboxesUpdateDraft404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2051,6 +2204,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2051
2204
|
headers: MailboxesSendDraftHeaders,
|
|
2052
2205
|
success: [MailboxesSendDraft200, MailboxesSendDraft202.pipe(HttpApiSchema.status(202))],
|
|
2053
2206
|
error: [
|
|
2207
|
+
MailboxesSendDraft400.pipe(HttpApiSchema.status(400)),
|
|
2054
2208
|
MailboxesSendDraft401.pipe(HttpApiSchema.status(401)),
|
|
2055
2209
|
MailboxesSendDraft402.pipe(HttpApiSchema.status(402)),
|
|
2056
2210
|
MailboxesSendDraft403.pipe(HttpApiSchema.status(403)),
|
|
@@ -2068,6 +2222,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2068
2222
|
payload: MailboxesCreateEndpointRequestJson,
|
|
2069
2223
|
success: MailboxesCreateEndpoint201.pipe(HttpApiSchema.status(201)),
|
|
2070
2224
|
error: [
|
|
2225
|
+
MailboxesCreateEndpoint400.pipe(HttpApiSchema.status(400)),
|
|
2071
2226
|
MailboxesCreateEndpoint401.pipe(HttpApiSchema.status(401)),
|
|
2072
2227
|
MailboxesCreateEndpoint403.pipe(HttpApiSchema.status(403)),
|
|
2073
2228
|
MailboxesCreateEndpoint404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2080,6 +2235,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2080
2235
|
params: MailboxesRemoveEndpointPathParams,
|
|
2081
2236
|
success: MailboxesRemoveEndpoint200,
|
|
2082
2237
|
error: [
|
|
2238
|
+
MailboxesRemoveEndpoint400.pipe(HttpApiSchema.status(400)),
|
|
2083
2239
|
MailboxesRemoveEndpoint401.pipe(HttpApiSchema.status(401)),
|
|
2084
2240
|
MailboxesRemoveEndpoint403.pipe(HttpApiSchema.status(403)),
|
|
2085
2241
|
MailboxesRemoveEndpoint404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2092,6 +2248,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2092
2248
|
payload: MailboxesUpdateEndpointRequestJson,
|
|
2093
2249
|
success: MailboxesUpdateEndpoint200,
|
|
2094
2250
|
error: [
|
|
2251
|
+
MailboxesUpdateEndpoint400.pipe(HttpApiSchema.status(400)),
|
|
2095
2252
|
MailboxesUpdateEndpoint401.pipe(HttpApiSchema.status(401)),
|
|
2096
2253
|
MailboxesUpdateEndpoint403.pipe(HttpApiSchema.status(403)),
|
|
2097
2254
|
MailboxesUpdateEndpoint404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2104,6 +2261,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2104
2261
|
query: MailboxesListEventsQuery,
|
|
2105
2262
|
success: MailboxesListEvents200,
|
|
2106
2263
|
error: [
|
|
2264
|
+
MailboxesListEvents400.pipe(HttpApiSchema.status(400)),
|
|
2107
2265
|
MailboxesListEvents401.pipe(HttpApiSchema.status(401)),
|
|
2108
2266
|
MailboxesListEvents403.pipe(HttpApiSchema.status(403)),
|
|
2109
2267
|
MailboxesListEvents404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2115,6 +2273,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2115
2273
|
params: MailboxesListFoldersPathParams,
|
|
2116
2274
|
success: MailboxesListFolders200,
|
|
2117
2275
|
error: [
|
|
2276
|
+
MailboxesListFolders400.pipe(HttpApiSchema.status(400)),
|
|
2118
2277
|
MailboxesListFolders401.pipe(HttpApiSchema.status(401)),
|
|
2119
2278
|
MailboxesListFolders403.pipe(HttpApiSchema.status(403)),
|
|
2120
2279
|
MailboxesListFolders404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2127,6 +2286,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2127
2286
|
query: MailboxesListGrantsQuery,
|
|
2128
2287
|
success: MailboxesListGrants200,
|
|
2129
2288
|
error: [
|
|
2289
|
+
MailboxesListGrants400.pipe(HttpApiSchema.status(400)),
|
|
2130
2290
|
MailboxesListGrants401.pipe(HttpApiSchema.status(401)),
|
|
2131
2291
|
MailboxesListGrants403.pipe(HttpApiSchema.status(403)),
|
|
2132
2292
|
MailboxesListGrants404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2139,6 +2299,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2139
2299
|
payload: MailboxesCreateGrantRequestJson,
|
|
2140
2300
|
success: MailboxesCreateGrant201.pipe(HttpApiSchema.status(201)),
|
|
2141
2301
|
error: [
|
|
2302
|
+
MailboxesCreateGrant400.pipe(HttpApiSchema.status(400)),
|
|
2142
2303
|
MailboxesCreateGrant401.pipe(HttpApiSchema.status(401)),
|
|
2143
2304
|
MailboxesCreateGrant403.pipe(HttpApiSchema.status(403)),
|
|
2144
2305
|
MailboxesCreateGrant404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2151,6 +2312,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2151
2312
|
params: MailboxesRevokeGrantPathParams,
|
|
2152
2313
|
success: MailboxesRevokeGrant200,
|
|
2153
2314
|
error: [
|
|
2315
|
+
MailboxesRevokeGrant400.pipe(HttpApiSchema.status(400)),
|
|
2154
2316
|
MailboxesRevokeGrant401.pipe(HttpApiSchema.status(401)),
|
|
2155
2317
|
MailboxesRevokeGrant403.pipe(HttpApiSchema.status(403)),
|
|
2156
2318
|
MailboxesRevokeGrant404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2164,6 +2326,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2164
2326
|
payload: MailboxesUpdateGrantRequestJson,
|
|
2165
2327
|
success: MailboxesUpdateGrant200,
|
|
2166
2328
|
error: [
|
|
2329
|
+
MailboxesUpdateGrant400.pipe(HttpApiSchema.status(400)),
|
|
2167
2330
|
MailboxesUpdateGrant401.pipe(HttpApiSchema.status(401)),
|
|
2168
2331
|
MailboxesUpdateGrant403.pipe(HttpApiSchema.status(403)),
|
|
2169
2332
|
MailboxesUpdateGrant404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2176,6 +2339,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2176
2339
|
params: MailboxesListLabelsPathParams,
|
|
2177
2340
|
success: MailboxesListLabels200,
|
|
2178
2341
|
error: [
|
|
2342
|
+
MailboxesListLabels400.pipe(HttpApiSchema.status(400)),
|
|
2179
2343
|
MailboxesListLabels401.pipe(HttpApiSchema.status(401)),
|
|
2180
2344
|
MailboxesListLabels403.pipe(HttpApiSchema.status(403)),
|
|
2181
2345
|
MailboxesListLabels404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2188,6 +2352,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2188
2352
|
payload: MailboxesCreateLabelRequestJson,
|
|
2189
2353
|
success: MailboxesCreateLabel201.pipe(HttpApiSchema.status(201)),
|
|
2190
2354
|
error: [
|
|
2355
|
+
MailboxesCreateLabel400.pipe(HttpApiSchema.status(400)),
|
|
2191
2356
|
MailboxesCreateLabel401.pipe(HttpApiSchema.status(401)),
|
|
2192
2357
|
MailboxesCreateLabel403.pipe(HttpApiSchema.status(403)),
|
|
2193
2358
|
MailboxesCreateLabel404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2200,6 +2365,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2200
2365
|
params: MailboxesDeleteLabelPathParams,
|
|
2201
2366
|
success: MailboxesDeleteLabel200,
|
|
2202
2367
|
error: [
|
|
2368
|
+
MailboxesDeleteLabel400.pipe(HttpApiSchema.status(400)),
|
|
2203
2369
|
MailboxesDeleteLabel401.pipe(HttpApiSchema.status(401)),
|
|
2204
2370
|
MailboxesDeleteLabel403.pipe(HttpApiSchema.status(403)),
|
|
2205
2371
|
MailboxesDeleteLabel404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2212,6 +2378,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2212
2378
|
payload: MailboxesUpdateLabelRequestJson,
|
|
2213
2379
|
success: MailboxesUpdateLabel200,
|
|
2214
2380
|
error: [
|
|
2381
|
+
MailboxesUpdateLabel400.pipe(HttpApiSchema.status(400)),
|
|
2215
2382
|
MailboxesUpdateLabel401.pipe(HttpApiSchema.status(401)),
|
|
2216
2383
|
MailboxesUpdateLabel403.pipe(HttpApiSchema.status(403)),
|
|
2217
2384
|
MailboxesUpdateLabel404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2225,6 +2392,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2225
2392
|
payload: MailboxesSendMessageRequestJson,
|
|
2226
2393
|
success: [MailboxesSendMessage200, MailboxesSendMessage202.pipe(HttpApiSchema.status(202))],
|
|
2227
2394
|
error: [
|
|
2395
|
+
MailboxesSendMessage400.pipe(HttpApiSchema.status(400)),
|
|
2228
2396
|
MailboxesSendMessage401.pipe(HttpApiSchema.status(401)),
|
|
2229
2397
|
MailboxesSendMessage402.pipe(HttpApiSchema.status(402)),
|
|
2230
2398
|
MailboxesSendMessage403.pipe(HttpApiSchema.status(403)),
|
|
@@ -2241,6 +2409,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2241
2409
|
params: MailboxesGetMessagePathParams,
|
|
2242
2410
|
success: MailboxesGetMessage200,
|
|
2243
2411
|
error: [
|
|
2412
|
+
MailboxesGetMessage400.pipe(HttpApiSchema.status(400)),
|
|
2244
2413
|
MailboxesGetMessage401.pipe(HttpApiSchema.status(401)),
|
|
2245
2414
|
MailboxesGetMessage403.pipe(HttpApiSchema.status(403)),
|
|
2246
2415
|
MailboxesGetMessage404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2252,6 +2421,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2252
2421
|
params: MailboxesGetMessageAttachmentPathParams,
|
|
2253
2422
|
success: MailboxesGetMessageAttachment200,
|
|
2254
2423
|
error: [
|
|
2424
|
+
MailboxesGetMessageAttachment400.pipe(HttpApiSchema.status(400)),
|
|
2255
2425
|
MailboxesGetMessageAttachment401.pipe(HttpApiSchema.status(401)),
|
|
2256
2426
|
MailboxesGetMessageAttachment403.pipe(HttpApiSchema.status(403)),
|
|
2257
2427
|
MailboxesGetMessageAttachment404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2263,6 +2433,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2263
2433
|
params: MailboxesCopyMessageAttachmentPathParams,
|
|
2264
2434
|
success: MailboxesCopyMessageAttachment201.pipe(HttpApiSchema.status(201)),
|
|
2265
2435
|
error: [
|
|
2436
|
+
MailboxesCopyMessageAttachment400.pipe(HttpApiSchema.status(400)),
|
|
2266
2437
|
MailboxesCopyMessageAttachment401.pipe(HttpApiSchema.status(401)),
|
|
2267
2438
|
MailboxesCopyMessageAttachment403.pipe(HttpApiSchema.status(403)),
|
|
2268
2439
|
MailboxesCopyMessageAttachment404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2275,6 +2446,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2275
2446
|
params: MailboxesDiscardMessagePathParams,
|
|
2276
2447
|
success: MailboxesDiscardMessage200,
|
|
2277
2448
|
error: [
|
|
2449
|
+
MailboxesDiscardMessage400.pipe(HttpApiSchema.status(400)),
|
|
2278
2450
|
MailboxesDiscardMessage401.pipe(HttpApiSchema.status(401)),
|
|
2279
2451
|
MailboxesDiscardMessage403.pipe(HttpApiSchema.status(403)),
|
|
2280
2452
|
MailboxesDiscardMessage404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2290,6 +2462,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2290
2462
|
payload: MailboxesForwardRequestJson,
|
|
2291
2463
|
success: [MailboxesForward200, MailboxesForward202.pipe(HttpApiSchema.status(202))],
|
|
2292
2464
|
error: [
|
|
2465
|
+
MailboxesForward400.pipe(HttpApiSchema.status(400)),
|
|
2293
2466
|
MailboxesForward401.pipe(HttpApiSchema.status(401)),
|
|
2294
2467
|
MailboxesForward402.pipe(HttpApiSchema.status(402)),
|
|
2295
2468
|
MailboxesForward403.pipe(HttpApiSchema.status(403)),
|
|
@@ -2306,6 +2479,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2306
2479
|
params: MailboxesGetMessageRawPathParams,
|
|
2307
2480
|
success: MailboxesGetMessageRaw200,
|
|
2308
2481
|
error: [
|
|
2482
|
+
MailboxesGetMessageRaw400.pipe(HttpApiSchema.status(400)),
|
|
2309
2483
|
MailboxesGetMessageRaw401.pipe(HttpApiSchema.status(401)),
|
|
2310
2484
|
MailboxesGetMessageRaw403.pipe(HttpApiSchema.status(403)),
|
|
2311
2485
|
MailboxesGetMessageRaw404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2317,6 +2491,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2317
2491
|
params: MailboxesReleaseMessagePathParams,
|
|
2318
2492
|
success: MailboxesReleaseMessage200,
|
|
2319
2493
|
error: [
|
|
2494
|
+
MailboxesReleaseMessage400.pipe(HttpApiSchema.status(400)),
|
|
2320
2495
|
MailboxesReleaseMessage401.pipe(HttpApiSchema.status(401)),
|
|
2321
2496
|
MailboxesReleaseMessage403.pipe(HttpApiSchema.status(403)),
|
|
2322
2497
|
MailboxesReleaseMessage404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2331,6 +2506,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2331
2506
|
payload: MailboxesReplyRequestJson,
|
|
2332
2507
|
success: [MailboxesReply200, MailboxesReply202.pipe(HttpApiSchema.status(202))],
|
|
2333
2508
|
error: [
|
|
2509
|
+
MailboxesReply400.pipe(HttpApiSchema.status(400)),
|
|
2334
2510
|
MailboxesReply401.pipe(HttpApiSchema.status(401)),
|
|
2335
2511
|
MailboxesReply402.pipe(HttpApiSchema.status(402)),
|
|
2336
2512
|
MailboxesReply403.pipe(HttpApiSchema.status(403)),
|
|
@@ -2349,6 +2525,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2349
2525
|
payload: MailboxesReplyAllRequestJson,
|
|
2350
2526
|
success: [MailboxesReplyAll200, MailboxesReplyAll202.pipe(HttpApiSchema.status(202))],
|
|
2351
2527
|
error: [
|
|
2528
|
+
MailboxesReplyAll400.pipe(HttpApiSchema.status(400)),
|
|
2352
2529
|
MailboxesReplyAll401.pipe(HttpApiSchema.status(401)),
|
|
2353
2530
|
MailboxesReplyAll402.pipe(HttpApiSchema.status(402)),
|
|
2354
2531
|
MailboxesReplyAll403.pipe(HttpApiSchema.status(403)),
|
|
@@ -2365,6 +2542,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2365
2542
|
params: MailboxesPausePathParams,
|
|
2366
2543
|
success: MailboxesPause200,
|
|
2367
2544
|
error: [
|
|
2545
|
+
MailboxesPause400.pipe(HttpApiSchema.status(400)),
|
|
2368
2546
|
MailboxesPause401.pipe(HttpApiSchema.status(401)),
|
|
2369
2547
|
MailboxesPause403.pipe(HttpApiSchema.status(403)),
|
|
2370
2548
|
MailboxesPause404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2376,6 +2554,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2376
2554
|
params: MailboxesListPoliciesPathParams,
|
|
2377
2555
|
success: MailboxesListPolicies200,
|
|
2378
2556
|
error: [
|
|
2557
|
+
MailboxesListPolicies400.pipe(HttpApiSchema.status(400)),
|
|
2379
2558
|
MailboxesListPolicies401.pipe(HttpApiSchema.status(401)),
|
|
2380
2559
|
MailboxesListPolicies403.pipe(HttpApiSchema.status(403)),
|
|
2381
2560
|
MailboxesListPolicies404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2388,6 +2567,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2388
2567
|
payload: MailboxesCreatePolicyRequestJson,
|
|
2389
2568
|
success: MailboxesCreatePolicy201.pipe(HttpApiSchema.status(201)),
|
|
2390
2569
|
error: [
|
|
2570
|
+
MailboxesCreatePolicy400.pipe(HttpApiSchema.status(400)),
|
|
2391
2571
|
MailboxesCreatePolicy401.pipe(HttpApiSchema.status(401)),
|
|
2392
2572
|
MailboxesCreatePolicy403.pipe(HttpApiSchema.status(403)),
|
|
2393
2573
|
MailboxesCreatePolicy404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2400,6 +2580,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2400
2580
|
params: MailboxesGetPolicyPathParams,
|
|
2401
2581
|
success: MailboxesGetPolicy200,
|
|
2402
2582
|
error: [
|
|
2583
|
+
MailboxesGetPolicy400.pipe(HttpApiSchema.status(400)),
|
|
2403
2584
|
MailboxesGetPolicy401.pipe(HttpApiSchema.status(401)),
|
|
2404
2585
|
MailboxesGetPolicy403.pipe(HttpApiSchema.status(403)),
|
|
2405
2586
|
MailboxesGetPolicy404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2411,6 +2592,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2411
2592
|
params: MailboxesDeletePolicyPathParams,
|
|
2412
2593
|
success: MailboxesDeletePolicy200,
|
|
2413
2594
|
error: [
|
|
2595
|
+
MailboxesDeletePolicy400.pipe(HttpApiSchema.status(400)),
|
|
2414
2596
|
MailboxesDeletePolicy401.pipe(HttpApiSchema.status(401)),
|
|
2415
2597
|
MailboxesDeletePolicy403.pipe(HttpApiSchema.status(403)),
|
|
2416
2598
|
MailboxesDeletePolicy404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2423,6 +2605,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2423
2605
|
payload: MailboxesUpdatePolicyRequestJson,
|
|
2424
2606
|
success: MailboxesUpdatePolicy200,
|
|
2425
2607
|
error: [
|
|
2608
|
+
MailboxesUpdatePolicy400.pipe(HttpApiSchema.status(400)),
|
|
2426
2609
|
MailboxesUpdatePolicy401.pipe(HttpApiSchema.status(401)),
|
|
2427
2610
|
MailboxesUpdatePolicy403.pipe(HttpApiSchema.status(403)),
|
|
2428
2611
|
MailboxesUpdatePolicy404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2435,6 +2618,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2435
2618
|
query: MailboxesListQuarantineQuery,
|
|
2436
2619
|
success: MailboxesListQuarantine200,
|
|
2437
2620
|
error: [
|
|
2621
|
+
MailboxesListQuarantine400.pipe(HttpApiSchema.status(400)),
|
|
2438
2622
|
MailboxesListQuarantine401.pipe(HttpApiSchema.status(401)),
|
|
2439
2623
|
MailboxesListQuarantine403.pipe(HttpApiSchema.status(403)),
|
|
2440
2624
|
MailboxesListQuarantine404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2446,6 +2630,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2446
2630
|
params: MailboxesResumePathParams,
|
|
2447
2631
|
success: MailboxesResume200,
|
|
2448
2632
|
error: [
|
|
2633
|
+
MailboxesResume400.pipe(HttpApiSchema.status(400)),
|
|
2449
2634
|
MailboxesResume401.pipe(HttpApiSchema.status(401)),
|
|
2450
2635
|
MailboxesResume403.pipe(HttpApiSchema.status(403)),
|
|
2451
2636
|
MailboxesResume404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2458,6 +2643,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2458
2643
|
query: MailboxesListThreadsQuery,
|
|
2459
2644
|
success: MailboxesListThreads200,
|
|
2460
2645
|
error: [
|
|
2646
|
+
MailboxesListThreads400.pipe(HttpApiSchema.status(400)),
|
|
2461
2647
|
MailboxesListThreads401.pipe(HttpApiSchema.status(401)),
|
|
2462
2648
|
MailboxesListThreads403.pipe(HttpApiSchema.status(403)),
|
|
2463
2649
|
MailboxesListThreads404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2469,6 +2655,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2469
2655
|
params: MailboxesGetThreadPathParams,
|
|
2470
2656
|
success: MailboxesGetThread200,
|
|
2471
2657
|
error: [
|
|
2658
|
+
MailboxesGetThread400.pipe(HttpApiSchema.status(400)),
|
|
2472
2659
|
MailboxesGetThread401.pipe(HttpApiSchema.status(401)),
|
|
2473
2660
|
MailboxesGetThread403.pipe(HttpApiSchema.status(403)),
|
|
2474
2661
|
MailboxesGetThread404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2481,6 +2668,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2481
2668
|
payload: MailboxesUpdateThreadRequestJson,
|
|
2482
2669
|
success: MailboxesUpdateThread200,
|
|
2483
2670
|
error: [
|
|
2671
|
+
MailboxesUpdateThread400.pipe(HttpApiSchema.status(400)),
|
|
2484
2672
|
MailboxesUpdateThread401.pipe(HttpApiSchema.status(401)),
|
|
2485
2673
|
MailboxesUpdateThread403.pipe(HttpApiSchema.status(403)),
|
|
2486
2674
|
MailboxesUpdateThread404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2493,6 +2681,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2493
2681
|
query: MailboxesGetThreadContentQuery,
|
|
2494
2682
|
success: MailboxesGetThreadContent200,
|
|
2495
2683
|
error: [
|
|
2684
|
+
MailboxesGetThreadContent400.pipe(HttpApiSchema.status(400)),
|
|
2496
2685
|
MailboxesGetThreadContent401.pipe(HttpApiSchema.status(401)),
|
|
2497
2686
|
MailboxesGetThreadContent403.pipe(HttpApiSchema.status(403)),
|
|
2498
2687
|
MailboxesGetThreadContent404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2505,6 +2694,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2505
2694
|
payload: MailboxesAddThreadLabelsRequestJson,
|
|
2506
2695
|
success: MailboxesAddThreadLabels200,
|
|
2507
2696
|
error: [
|
|
2697
|
+
MailboxesAddThreadLabels400.pipe(HttpApiSchema.status(400)),
|
|
2508
2698
|
MailboxesAddThreadLabels401.pipe(HttpApiSchema.status(401)),
|
|
2509
2699
|
MailboxesAddThreadLabels403.pipe(HttpApiSchema.status(403)),
|
|
2510
2700
|
MailboxesAddThreadLabels404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2517,6 +2707,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2517
2707
|
payload: MailboxesRemoveThreadLabelsRequestJson,
|
|
2518
2708
|
success: MailboxesRemoveThreadLabels200,
|
|
2519
2709
|
error: [
|
|
2710
|
+
MailboxesRemoveThreadLabels400.pipe(HttpApiSchema.status(400)),
|
|
2520
2711
|
MailboxesRemoveThreadLabels401.pipe(HttpApiSchema.status(401)),
|
|
2521
2712
|
MailboxesRemoveThreadLabels403.pipe(HttpApiSchema.status(403)),
|
|
2522
2713
|
MailboxesRemoveThreadLabels404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2529,6 +2720,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2529
2720
|
query: MailboxesListThreadMessagesQuery,
|
|
2530
2721
|
success: MailboxesListThreadMessages200,
|
|
2531
2722
|
error: [
|
|
2723
|
+
MailboxesListThreadMessages400.pipe(HttpApiSchema.status(400)),
|
|
2532
2724
|
MailboxesListThreadMessages401.pipe(HttpApiSchema.status(401)),
|
|
2533
2725
|
MailboxesListThreadMessages403.pipe(HttpApiSchema.status(403)),
|
|
2534
2726
|
MailboxesListThreadMessages404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2541,6 +2733,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2541
2733
|
query: MailboxesListThreadNotesQuery,
|
|
2542
2734
|
success: MailboxesListThreadNotes200,
|
|
2543
2735
|
error: [
|
|
2736
|
+
MailboxesListThreadNotes400.pipe(HttpApiSchema.status(400)),
|
|
2544
2737
|
MailboxesListThreadNotes401.pipe(HttpApiSchema.status(401)),
|
|
2545
2738
|
MailboxesListThreadNotes403.pipe(HttpApiSchema.status(403)),
|
|
2546
2739
|
MailboxesListThreadNotes404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2553,6 +2746,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2553
2746
|
payload: MailboxesCreateNoteRequestJson,
|
|
2554
2747
|
success: MailboxesCreateNote201.pipe(HttpApiSchema.status(201)),
|
|
2555
2748
|
error: [
|
|
2749
|
+
MailboxesCreateNote400.pipe(HttpApiSchema.status(400)),
|
|
2556
2750
|
MailboxesCreateNote401.pipe(HttpApiSchema.status(401)),
|
|
2557
2751
|
MailboxesCreateNote403.pipe(HttpApiSchema.status(403)),
|
|
2558
2752
|
MailboxesCreateNote404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2564,6 +2758,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2564
2758
|
params: MailboxesDeleteNotePathParams,
|
|
2565
2759
|
success: MailboxesDeleteNote200,
|
|
2566
2760
|
error: [
|
|
2761
|
+
MailboxesDeleteNote400.pipe(HttpApiSchema.status(400)),
|
|
2567
2762
|
MailboxesDeleteNote401.pipe(HttpApiSchema.status(401)),
|
|
2568
2763
|
MailboxesDeleteNote403.pipe(HttpApiSchema.status(403)),
|
|
2569
2764
|
MailboxesDeleteNote404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2576,6 +2771,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2576
2771
|
payload: MailboxesUpdateNoteRequestJson,
|
|
2577
2772
|
success: MailboxesUpdateNote200,
|
|
2578
2773
|
error: [
|
|
2774
|
+
MailboxesUpdateNote400.pipe(HttpApiSchema.status(400)),
|
|
2579
2775
|
MailboxesUpdateNote401.pipe(HttpApiSchema.status(401)),
|
|
2580
2776
|
MailboxesUpdateNote403.pipe(HttpApiSchema.status(403)),
|
|
2581
2777
|
MailboxesUpdateNote404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2587,6 +2783,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2587
2783
|
query: MailboxesListOrganizationDraftsQuery,
|
|
2588
2784
|
success: MailboxesListOrganizationDrafts200,
|
|
2589
2785
|
error: [
|
|
2786
|
+
MailboxesListOrganizationDrafts400.pipe(HttpApiSchema.status(400)),
|
|
2590
2787
|
MailboxesListOrganizationDrafts401.pipe(HttpApiSchema.status(401)),
|
|
2591
2788
|
MailboxesListOrganizationDrafts403.pipe(HttpApiSchema.status(403)),
|
|
2592
2789
|
MailboxesListOrganizationDrafts404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2598,6 +2795,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2598
2795
|
query: MailboxesGetNeedsYouQuery,
|
|
2599
2796
|
success: MailboxesGetNeedsYou200,
|
|
2600
2797
|
error: [
|
|
2798
|
+
MailboxesGetNeedsYou400.pipe(HttpApiSchema.status(400)),
|
|
2601
2799
|
MailboxesGetNeedsYou401.pipe(HttpApiSchema.status(401)),
|
|
2602
2800
|
MailboxesGetNeedsYou403.pipe(HttpApiSchema.status(403)),
|
|
2603
2801
|
MailboxesGetNeedsYou422.pipe(HttpApiSchema.status(422)),
|
|
@@ -2608,6 +2806,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2608
2806
|
query: MailboxesListOrganizationThreadsQuery,
|
|
2609
2807
|
success: MailboxesListOrganizationThreads200,
|
|
2610
2808
|
error: [
|
|
2809
|
+
MailboxesListOrganizationThreads400.pipe(HttpApiSchema.status(400)),
|
|
2611
2810
|
MailboxesListOrganizationThreads401.pipe(HttpApiSchema.status(401)),
|
|
2612
2811
|
MailboxesListOrganizationThreads403.pipe(HttpApiSchema.status(403)),
|
|
2613
2812
|
MailboxesListOrganizationThreads404.pipe(HttpApiSchema.status(404)),
|
|
@@ -2616,6 +2815,6 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2616
2815
|
MailboxesListOrganizationThreads504.pipe(HttpApiSchema.status(504))
|
|
2617
2816
|
]
|
|
2618
2817
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listOrganizationThreads").annotate(OpenApi.Summary, "List threads across your mailboxes").annotate(OpenApi.Description, "Lists only threads in mailboxes the caller can read, newest activity first. Repeat mailboxId to narrow the scope; kind selects personal or shared mailboxes. conversation selects the threads of one conversation (the conversationId a thread reports), one per readable mailbox it reached. state=active excludes the caller's Done and shared closed threads; state=done selects the caller's Done plus closed shared threads, without duplicates. Other filters and cursor pagination match the per-mailbox list.")).annotate(OpenApi.Description, "Mailboxes: endpoints, threads, messages, drafts, and governed sends") {};
|
|
2619
|
-
export { Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxPolicy, MailboxPolicyList, MailboxQuarantinePage, MailboxQuarantinedMessage, MailboxSendAction, MailboxSendSnapshot, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxesAddThreadLabels200, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCreate201, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateLabel201, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreatePolicy201, MailboxesCreatePolicy401, MailboxesCreatePolicy403, MailboxesCreatePolicy404, MailboxesCreatePolicy409, MailboxesCreatePolicy422, MailboxesCreatePolicy500, MailboxesCreatePolicy504, MailboxesCreatePolicyPathParams, MailboxesCreatePolicyRequestJson, MailboxesCreateRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDeletePolicy200, MailboxesDeletePolicy401, MailboxesDeletePolicy403, MailboxesDeletePolicy404, MailboxesDeletePolicy422, MailboxesDeletePolicy500, MailboxesDeletePolicy504, MailboxesDeletePolicyPathParams, MailboxesDenyAction200, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardMessage200, MailboxesDiscardMessage401, MailboxesDiscardMessage403, MailboxesDiscardMessage404, MailboxesDiscardMessage409, MailboxesDiscardMessage422, MailboxesDiscardMessage500, MailboxesDiscardMessage502, MailboxesDiscardMessage504, MailboxesDiscardMessagePathParams, MailboxesForward200, MailboxesForward202, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetMessage200, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetPolicy200, MailboxesGetPolicy401, MailboxesGetPolicy403, MailboxesGetPolicy404, MailboxesGetPolicy422, MailboxesGetPolicy500, MailboxesGetPolicy504, MailboxesGetPolicyPathParams, MailboxesGetThread200, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListDrafts200, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListLabels200, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListPolicies200, MailboxesListPolicies401, MailboxesListPolicies403, MailboxesListPolicies404, MailboxesListPolicies422, MailboxesListPolicies500, MailboxesListPolicies504, MailboxesListPoliciesPathParams, MailboxesListQuarantine200, MailboxesListQuarantine401, MailboxesListQuarantine403, MailboxesListQuarantine404, MailboxesListQuarantine422, MailboxesListQuarantine500, MailboxesListQuarantine504, MailboxesListQuarantinePathParams, MailboxesListQuarantineQuery, MailboxesListQuery, MailboxesListThreadMessages200, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesReleaseMessage200, MailboxesReleaseMessage401, MailboxesReleaseMessage403, MailboxesReleaseMessage404, MailboxesReleaseMessage409, MailboxesReleaseMessage422, MailboxesReleaseMessage500, MailboxesReleaseMessage504, MailboxesReleaseMessagePathParams, MailboxesRemove200, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesResume200, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesUpdate200, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdatePolicy200, MailboxesUpdatePolicy401, MailboxesUpdatePolicy403, MailboxesUpdatePolicy404, MailboxesUpdatePolicy422, MailboxesUpdatePolicy500, MailboxesUpdatePolicy504, MailboxesUpdatePolicyPathParams, MailboxesUpdatePolicyRequestJson, MailboxesUpdateRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary };
|
|
2818
|
+
export { Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxChatDraft, MailboxChatMedia, MailboxChatMessage, MailboxChatMessageTemplate, MailboxChatSendIntent, MailboxChatTemplate, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEmailDraft, MailboxEmailEndpoint, MailboxEmailMessage, MailboxEmailSendSnapshot, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxPolicy, MailboxPolicyList, MailboxQuarantinePage, MailboxQuarantinedMessage, MailboxSendAction, MailboxSendSnapshot, MailboxSmsEndpoint, MailboxSmsEndpointBinding, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxWhatsAppEndpoint, MailboxWhatsAppEndpointBinding, MailboxWhatsAppServiceWindow, MailboxesAddThreadLabels200, MailboxesAddThreadLabels400, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction400, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction400, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment400, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCreate201, MailboxesCreate400, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft400, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint400, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant400, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreatePolicy201, MailboxesCreatePolicy400, MailboxesCreatePolicy401, MailboxesCreatePolicy403, MailboxesCreatePolicy404, MailboxesCreatePolicy409, MailboxesCreatePolicy422, MailboxesCreatePolicy500, MailboxesCreatePolicy504, MailboxesCreatePolicyPathParams, MailboxesCreatePolicyRequestJson, MailboxesCreateRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft400, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel400, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote400, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDeletePolicy200, MailboxesDeletePolicy400, MailboxesDeletePolicy401, MailboxesDeletePolicy403, MailboxesDeletePolicy404, MailboxesDeletePolicy422, MailboxesDeletePolicy500, MailboxesDeletePolicy504, MailboxesDeletePolicyPathParams, MailboxesDenyAction200, MailboxesDenyAction400, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardMessage200, MailboxesDiscardMessage400, MailboxesDiscardMessage401, MailboxesDiscardMessage403, MailboxesDiscardMessage404, MailboxesDiscardMessage409, MailboxesDiscardMessage422, MailboxesDiscardMessage500, MailboxesDiscardMessage502, MailboxesDiscardMessage504, MailboxesDiscardMessagePathParams, MailboxesForward200, MailboxesForward202, MailboxesForward400, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet400, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction400, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity400, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft400, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetMessage200, MailboxesGetMessage400, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment400, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw400, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou400, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetPolicy200, MailboxesGetPolicy400, MailboxesGetPolicy401, MailboxesGetPolicy403, MailboxesGetPolicy404, MailboxesGetPolicy422, MailboxesGetPolicy500, MailboxesGetPolicy504, MailboxesGetPolicyPathParams, MailboxesGetThread200, MailboxesGetThread400, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent400, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList400, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions400, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListDrafts200, MailboxesListDrafts400, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents400, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders400, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants400, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListLabels200, MailboxesListLabels400, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts400, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads400, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListPolicies200, MailboxesListPolicies400, MailboxesListPolicies401, MailboxesListPolicies403, MailboxesListPolicies404, MailboxesListPolicies422, MailboxesListPolicies500, MailboxesListPolicies504, MailboxesListPoliciesPathParams, MailboxesListQuarantine200, MailboxesListQuarantine400, MailboxesListQuarantine401, MailboxesListQuarantine403, MailboxesListQuarantine404, MailboxesListQuarantine422, MailboxesListQuarantine500, MailboxesListQuarantine504, MailboxesListQuarantinePathParams, MailboxesListQuarantineQuery, MailboxesListQuery, MailboxesListThreadMessages200, MailboxesListThreadMessages400, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes400, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads400, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause400, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesReleaseMessage200, MailboxesReleaseMessage400, MailboxesReleaseMessage401, MailboxesReleaseMessage403, MailboxesReleaseMessage404, MailboxesReleaseMessage409, MailboxesReleaseMessage422, MailboxesReleaseMessage500, MailboxesReleaseMessage504, MailboxesReleaseMessagePathParams, MailboxesRemove200, MailboxesRemove400, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint400, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels400, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply400, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll400, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesResume200, MailboxesResume400, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction400, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant400, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft400, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage400, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesUpdate200, MailboxesUpdate400, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft400, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint400, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant400, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel400, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote400, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdatePolicy200, MailboxesUpdatePolicy400, MailboxesUpdatePolicy401, MailboxesUpdatePolicy403, MailboxesUpdatePolicy404, MailboxesUpdatePolicy422, MailboxesUpdatePolicy500, MailboxesUpdatePolicy504, MailboxesUpdatePolicyPathParams, MailboxesUpdatePolicyRequestJson, MailboxesUpdateRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, SmsPhoneNumberId, TemplateChannelVariantId };
|
|
2620
2819
|
|
|
2621
2820
|
//# sourceMappingURL=mailboxes.js.map
|