samva 0.43.3 → 0.44.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.
@@ -247,6 +247,7 @@ export declare const listSenders: ((input?: {
247
247
  readonly verificationStatus: "failed" | "pending" | "verified";
248
248
  readonly verifiedAt: string | null;
249
249
  readonly verificationToken: string | null;
250
+ readonly sendable: boolean;
250
251
  readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
251
252
  readonly providerFailureCode: string | null;
252
253
  readonly isDefault: boolean;
@@ -281,6 +282,7 @@ export declare const listSenders: ((input?: {
281
282
  readonly verificationStatus: "failed" | "pending" | "verified";
282
283
  readonly verifiedAt: string | null;
283
284
  readonly verificationToken: string | null;
285
+ readonly sendable: boolean;
284
286
  readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
285
287
  readonly providerFailureCode: string | null;
286
288
  readonly isDefault: boolean;
@@ -127,7 +127,7 @@ const CampaignEmailContent = /* @__PURE__ */ (() => Schema.Struct({
127
127
  publicationId: Schema.optionalKey(TemplatePublicationId),
128
128
  inputContractId: Schema.optionalKey(TemplateInputContractId),
129
129
  templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
130
- templateSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
130
+ templateSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
131
131
  templateData: Schema.optionalKey(TemplateData),
132
132
  locale: Schema.optionalKey(RenderLocale),
133
133
  timeZone: Schema.optionalKey(RenderTimeZone),
@@ -149,7 +149,7 @@ const EmailCampaignContent = /* @__PURE__ */ (() => Schema.Struct({
149
149
  channel: Schema.Literal("email"),
150
150
  email: CampaignEmailContent,
151
151
  issue: Schema.optionalKey(Schema.Union([Schema.Struct({
152
- path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(new globalThis.RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
152
+ path: Schema.String.annotate({ description: "A .md file under issues/, at most 1024 characters, with no backslash, . or .., .git, or control characters." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
153
153
  commit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" }))
154
154
  }), Schema.Null]).annotate({ description: "Render a saved Markdown issue from the audience topic's repository. Its saved title and preheader supply the email content; templateData supplies recipient fallbacks." })),
155
155
  from: Schema.optionalKey(CampaignFrom),
@@ -712,6 +712,7 @@ export type EmailSenderPage = {
712
712
  readonly verificationStatus: "pending" | "verified" | "failed";
713
713
  readonly verifiedAt: string | null;
714
714
  readonly verificationToken: string | null;
715
+ readonly sendable: boolean;
715
716
  readonly providerLifecycle: "provisioning" | "active" | "deleting" | "failed";
716
717
  readonly providerFailureCode: string | null;
717
718
  readonly isDefault: boolean;
@@ -735,6 +736,7 @@ export declare const EmailSenderPage: Schema.Struct<{
735
736
  readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
736
737
  readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
737
738
  readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
739
+ readonly sendable: Schema.Boolean;
738
740
  readonly providerLifecycle: Schema.Union<readonly [Schema.Literal<"provisioning">, Schema.Literal<"active">, Schema.Literal<"deleting">, Schema.Literal<"failed">]>;
739
741
  readonly providerFailureCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
740
742
  readonly isDefault: Schema.Boolean;
@@ -3706,6 +3708,7 @@ export declare const EmailListSenders200: Schema.Struct<{
3706
3708
  readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
3707
3709
  readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3708
3710
  readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
3711
+ readonly sendable: Schema.Boolean;
3709
3712
  readonly providerLifecycle: Schema.Union<readonly [Schema.Literal<"provisioning">, Schema.Literal<"active">, Schema.Literal<"deleting">, Schema.Literal<"failed">]>;
3710
3713
  readonly providerFailureCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
3711
3714
  readonly isDefault: Schema.Boolean;
@@ -3805,6 +3808,7 @@ export type EmailGetSender200 = {
3805
3808
  readonly verificationStatus: "pending" | "verified" | "failed";
3806
3809
  readonly verifiedAt: string | null;
3807
3810
  readonly verificationToken: string | null;
3811
+ readonly sendable: boolean;
3808
3812
  readonly providerLifecycle: "provisioning" | "active" | "deleting" | "failed";
3809
3813
  readonly providerFailureCode: string | null;
3810
3814
  readonly isDefault: boolean;
@@ -3825,6 +3829,7 @@ export declare const EmailGetSender200: Schema.Struct<{
3825
3829
  readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
3826
3830
  readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3827
3831
  readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
3832
+ readonly sendable: Schema.Boolean;
3828
3833
  readonly providerLifecycle: Schema.Union<readonly [Schema.Literal<"provisioning">, Schema.Literal<"active">, Schema.Literal<"deleting">, Schema.Literal<"failed">]>;
3829
3834
  readonly providerFailureCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
3830
3835
  readonly isDefault: Schema.Boolean;
@@ -8926,6 +8931,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
8926
8931
  readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
8927
8932
  readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
8928
8933
  readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
8934
+ readonly sendable: Schema.Boolean;
8929
8935
  readonly providerLifecycle: Schema.Union<readonly [Schema.Literal<"provisioning">, Schema.Literal<"active">, Schema.Literal<"deleting">, Schema.Literal<"failed">]>;
8930
8936
  readonly providerFailureCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
8931
8937
  readonly isDefault: Schema.Boolean;
@@ -9558,6 +9564,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
9558
9564
  readonly verificationStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>;
9559
9565
  readonly verifiedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
9560
9566
  readonly verificationToken: Schema.Union<readonly [Schema.String, Schema.Null]>;
9567
+ readonly sendable: Schema.Boolean;
9561
9568
  readonly providerLifecycle: Schema.Union<readonly [Schema.Literal<"provisioning">, Schema.Literal<"active">, Schema.Literal<"deleting">, Schema.Literal<"failed">]>;
9562
9569
  readonly providerFailureCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
9563
9570
  readonly isDefault: Schema.Boolean;
@@ -166,10 +166,7 @@ const EmailTrackingDefaults = /* @__PURE__ */ (() => Schema.Struct({
166
166
  opens: Schema.Boolean,
167
167
  clicks: Schema.Boolean
168
168
  }).annotate({ identifier: "EmailTrackingDefaults" }))();
169
- const TrackingRecipientEmail = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$", "u")).annotate({
170
- expected: "a string matching the RegExp ^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$",
171
- identifier: "TrackingRecipientEmail"
172
- })))();
169
+ const TrackingRecipientEmail = /* @__PURE__ */ (() => Schema.String.annotate({ identifier: "TrackingRecipientEmail" }))();
173
170
  const EmailDkimRotation = /* @__PURE__ */ (() => Schema.Struct({
174
171
  id: Schema.String,
175
172
  domainId: EmailDomainId,
@@ -560,6 +557,7 @@ const EmailSenderPage = /* @__PURE__ */ (() => Schema.Struct({
560
557
  ]),
561
558
  verifiedAt: Schema.Union([Schema.String, Schema.Null]),
562
559
  verificationToken: Schema.Union([Schema.String, Schema.Null]),
560
+ sendable: Schema.Boolean.annotate({ description: "Whether a send from this address passes the ownership check every send runs: the sender is verified and active, and the address or its domain is a sending identity this organization owns. Always false for a pending, failed, or inactive sender. A verified sender whose domain is no longer verified here, or whose sending identity setup failed, is not sendable, and sends from it are refused with 403." }),
563
561
  providerLifecycle: Schema.Union([
564
562
  Schema.Literal("provisioning"),
565
563
  Schema.Literal("active"),
@@ -1038,7 +1036,7 @@ const EmailUpdateDomainConfigRequestJson = /* @__PURE__ */ (() => Schema.Struct(
1038
1036
  shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
1039
1037
  openTracking: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
1040
1038
  clickTracking: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
1041
- replyTo: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String.check(Schema.isPattern(new globalThis.RegExp("^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$", "u")).annotate({ expected: "a string matching the RegExp ^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$" }))), Schema.Null])),
1039
+ replyTo: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
1042
1040
  topicId: Schema.optionalKey(Schema.Union([TopicId, Schema.Null])),
1043
1041
  footerEnabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
1044
1042
  brandSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" })), Schema.Null]))
@@ -1522,10 +1520,10 @@ const EmailListSenders500 = InternalError;
1522
1520
  const EmailListSenders504 = GatewayTimeoutError;
1523
1521
  const EmailAddSenderHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })) }))();
1524
1522
  const EmailAddSenderRequestJson = /* @__PURE__ */ (() => Schema.Struct({
1525
- email: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$", "u")).annotate({ expected: "a string matching the RegExp ^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$" })),
1523
+ email: Schema.String,
1526
1524
  domainId: Schema.optionalKey(Schema.Union([EmailDomainId, Schema.Null])),
1527
- name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isPattern(new globalThis.RegExp("^[^\\p{Cc}]*$", "u")).annotate({ expected: "a string matching the RegExp ^[^\\p{Cc}]*$" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null])),
1528
- replyToEmails: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String.check(Schema.isPattern(new globalThis.RegExp("^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$", "u")).annotate({ expected: "a string matching the RegExp ^(?=[^@]{1,64}@)[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[^\\s@/\\\\:#?%[\\]\\p{Cc}]+[.\\u3002\\uff0e\\uff61][^\\s@/\\\\:#?%[\\]\\p{Cc}]+$" }))), Schema.Null])),
1525
+ name: 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])),
1526
+ replyToEmails: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
1529
1527
  namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null]))
1530
1528
  }))();
1531
1529
  const EmailAddSender201 = /* @__PURE__ */ (() => Schema.Struct({
@@ -1569,6 +1567,7 @@ const EmailGetSender200 = /* @__PURE__ */ (() => Schema.Struct({
1569
1567
  ]),
1570
1568
  verifiedAt: Schema.Union([Schema.String, Schema.Null]),
1571
1569
  verificationToken: Schema.Union([Schema.String, Schema.Null]),
1570
+ sendable: Schema.Boolean.annotate({ description: "Whether a send from this address passes the ownership check every send runs: the sender is verified and active, and the address or its domain is a sending identity this organization owns. Always false for a pending, failed, or inactive sender. A verified sender whose domain is no longer verified here, or whose sending identity setup failed, is not sendable, and sends from it are refused with 403." }),
1572
1571
  providerLifecycle: Schema.Union([
1573
1572
  Schema.Literal("provisioning"),
1574
1573
  Schema.Literal("active"),
@@ -2415,7 +2414,7 @@ var EmailGroup = class extends HttpApiGroup.make("Email").add(HttpApiEndpoint.ge
2415
2414
  EmailSetDefaultSender502.pipe(HttpApiSchema.status(502)),
2416
2415
  EmailSetDefaultSender504.pipe(HttpApiSchema.status(504))
2417
2416
  ]
2418
- }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "email.setDefaultSender").annotate(OpenApi.Summary, "Set the default sender").annotate(OpenApi.Description, "Sets a verified, active sender as the default for the caller's namespace, the explicit namespaceId, or the sender's own scope. A namespace can select its own sender or a sender on a shared organization domain. This changes only the namespace's default; it does not change a shared sender. Omitted-`from` sends use this default when neither the request nor the template names a `from`."), HttpApiEndpoint.get("emailCheckSenderVerification", "/v1/email/senders/:id/verification", {
2417
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "email.setDefaultSender").annotate(OpenApi.Summary, "Set the default sender").annotate(OpenApi.Description, "Sets a sendable sender (see `sendable` on the sender) as the default for the caller's namespace, the explicit namespaceId, or the sender's own scope. A namespace can select its own sender or a sender on a shared organization domain. This changes only the namespace's default; it does not change a shared sender. Omitted-`from` sends use this default when neither the request nor the template names a `from`."), HttpApiEndpoint.get("emailCheckSenderVerification", "/v1/email/senders/:id/verification", {
2419
2418
  params: EmailCheckSenderVerificationPathParams,
2420
2419
  success: EmailCheckSenderVerification200,
2421
2420
  error: [
@@ -389,7 +389,7 @@ export declare const MailboxSmsEndpointBinding: Schema.Struct<{
389
389
  export type MailboxQuarantinedMessage = {
390
390
  readonly id: MessageId;
391
391
  readonly disposition: "quarantined" | "isolated";
392
- readonly reason: "spam" | "dmarc" | "virus" | "virus_unscanned" | "phishing" | "fraud" | "prompt_injection";
392
+ readonly reason: "spam" | "dmarc" | "virus" | "virus_unscanned" | "verdict_missing" | "phishing" | "fraud" | "prompt_injection";
393
393
  readonly source: "receipt" | "classifier";
394
394
  readonly from: {
395
395
  readonly address: string;
@@ -405,7 +405,7 @@ export type MailboxQuarantinedMessage = {
405
405
  export declare const MailboxQuarantinedMessage: Schema.Struct<{
406
406
  readonly id: Schema.brand<Schema.String, "MessageId">;
407
407
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
408
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
408
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
409
409
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
410
410
  readonly from: Schema.Struct<{
411
411
  readonly address: Schema.String;
@@ -1290,7 +1290,7 @@ export declare const MailboxQuarantinePage: Schema.Struct<{
1290
1290
  readonly items: Schema.$Array<Schema.Struct<{
1291
1291
  readonly id: Schema.brand<Schema.String, "MessageId">;
1292
1292
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
1293
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
1293
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
1294
1294
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
1295
1295
  readonly from: Schema.Struct<{
1296
1296
  readonly address: Schema.String;
@@ -2355,7 +2355,7 @@ export type MailboxNeedsYouItem = {
2355
2355
  readonly type: "quarantinedMessage";
2356
2356
  readonly id: MessageId;
2357
2357
  readonly mailbox: MailboxThreadMailbox;
2358
- readonly reason: "spam" | "dmarc" | "virus" | "virus_unscanned" | "phishing" | "fraud" | "prompt_injection";
2358
+ readonly reason: "spam" | "dmarc" | "virus" | "virus_unscanned" | "verdict_missing" | "phishing" | "fraud" | "prompt_injection";
2359
2359
  readonly source: "receipt" | "classifier";
2360
2360
  readonly heldAt: string;
2361
2361
  };
@@ -2523,7 +2523,7 @@ export declare const MailboxNeedsYouItem: Schema.Union<readonly [Schema.Struct<{
2523
2523
  readonly address: Schema.Union<readonly [Schema.String, Schema.Null]>;
2524
2524
  readonly kind: Schema.Union<readonly [Schema.Literal<"personal">, Schema.Literal<"shared">]>;
2525
2525
  }>;
2526
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
2526
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
2527
2527
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
2528
2528
  readonly heldAt: Schema.String;
2529
2529
  }>]>;
@@ -3249,7 +3249,7 @@ export declare const MailboxNeedsYou: Schema.Struct<{
3249
3249
  readonly address: Schema.Union<readonly [Schema.String, Schema.Null]>;
3250
3250
  readonly kind: Schema.Union<readonly [Schema.Literal<"personal">, Schema.Literal<"shared">]>;
3251
3251
  }>;
3252
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
3252
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
3253
3253
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
3254
3254
  readonly heldAt: Schema.String;
3255
3255
  }>]>>;
@@ -7335,7 +7335,7 @@ export type MailboxesDiscardMessage200 = MailboxQuarantinedMessage;
7335
7335
  export declare const MailboxesDiscardMessage200: Schema.Struct<{
7336
7336
  readonly id: Schema.brand<Schema.String, "MessageId">;
7337
7337
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
7338
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
7338
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
7339
7339
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
7340
7340
  readonly from: Schema.Struct<{
7341
7341
  readonly address: Schema.String;
@@ -7645,7 +7645,7 @@ export type MailboxesReleaseMessage200 = MailboxQuarantinedMessage;
7645
7645
  export declare const MailboxesReleaseMessage200: Schema.Struct<{
7646
7646
  readonly id: Schema.brand<Schema.String, "MessageId">;
7647
7647
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
7648
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
7648
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
7649
7649
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
7650
7650
  readonly from: Schema.Struct<{
7651
7651
  readonly address: Schema.String;
@@ -8233,7 +8233,7 @@ export declare const MailboxesListQuarantine200: Schema.Struct<{
8233
8233
  readonly items: Schema.$Array<Schema.Struct<{
8234
8234
  readonly id: Schema.brand<Schema.String, "MessageId">;
8235
8235
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
8236
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
8236
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
8237
8237
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
8238
8238
  readonly from: Schema.Struct<{
8239
8239
  readonly address: Schema.String;
@@ -9193,7 +9193,7 @@ export declare const MailboxesGetNeedsYou200: Schema.Struct<{
9193
9193
  readonly address: Schema.Union<readonly [Schema.String, Schema.Null]>;
9194
9194
  readonly kind: Schema.Union<readonly [Schema.Literal<"personal">, Schema.Literal<"shared">]>;
9195
9195
  }>;
9196
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
9196
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
9197
9197
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
9198
9198
  readonly heldAt: Schema.String;
9199
9199
  }>]>>;
@@ -11885,7 +11885,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
11885
11885
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
11886
11886
  readonly id: Schema.brand<Schema.String, "MessageId">;
11887
11887
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
11888
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
11888
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
11889
11889
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
11890
11890
  readonly from: Schema.Struct<{
11891
11891
  readonly address: Schema.String;
@@ -13722,7 +13722,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
13722
13722
  readonly address: Schema.Union<readonly [Schema.String, Schema.Null]>;
13723
13723
  readonly kind: Schema.Union<readonly [Schema.Literal<"personal">, Schema.Literal<"shared">]>;
13724
13724
  }>;
13725
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
13725
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
13726
13726
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
13727
13727
  readonly heldAt: Schema.String;
13728
13728
  }>]>>;
@@ -15510,7 +15510,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
15510
15510
  readonly items: Schema.$Array<Schema.Struct<{
15511
15511
  readonly id: Schema.brand<Schema.String, "MessageId">;
15512
15512
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
15513
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
15513
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
15514
15514
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
15515
15515
  readonly from: Schema.Struct<{
15516
15516
  readonly address: Schema.String;
@@ -16166,7 +16166,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
16166
16166
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
16167
16167
  readonly id: Schema.brand<Schema.String, "MessageId">;
16168
16168
  readonly disposition: Schema.Union<readonly [Schema.Literal<"quarantined">, Schema.Literal<"isolated">]>;
16169
- readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
16169
+ readonly reason: Schema.Union<readonly [Schema.Literal<"spam">, Schema.Literal<"dmarc">, Schema.Literal<"virus">, Schema.Literal<"virus_unscanned">, Schema.Literal<"verdict_missing">, Schema.Literal<"phishing">, Schema.Literal<"fraud">, Schema.Literal<"prompt_injection">]>;
16170
16170
  readonly source: Schema.Union<readonly [Schema.Literal<"receipt">, Schema.Literal<"classifier">]>;
16171
16171
  readonly from: Schema.Struct<{
16172
16172
  readonly address: Schema.String;
@@ -335,6 +335,7 @@ const MailboxQuarantinedMessage = /* @__PURE__ */ (() => Schema.Struct({
335
335
  Schema.Literal("dmarc"),
336
336
  Schema.Literal("virus"),
337
337
  Schema.Literal("virus_unscanned"),
338
+ Schema.Literal("verdict_missing"),
338
339
  Schema.Literal("phishing"),
339
340
  Schema.Literal("fraud"),
340
341
  Schema.Literal("prompt_injection")
@@ -1090,6 +1091,7 @@ const MailboxNeedsYouItem = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
1090
1091
  Schema.Literal("dmarc"),
1091
1092
  Schema.Literal("virus"),
1092
1093
  Schema.Literal("virus_unscanned"),
1094
+ Schema.Literal("verdict_missing"),
1093
1095
  Schema.Literal("phishing"),
1094
1096
  Schema.Literal("fraud"),
1095
1097
  Schema.Literal("prompt_injection")