@remit/api-openapi-types 0.0.111 → 0.0.112

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +23 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -289,10 +289,6 @@ current enum emitter anyway, so the wire contract uses the bare form.
289
289
  * Trust level for the From address, derived at read time from AddressFlags + counters.
290
290
  */
291
291
  export type SenderTrust = "unknown" | "wellknown" | "vip";
292
- /**
293
- * How the From display name relates to the From domain. `Corresponds` — the name is contained in the domain. `Lookalike` — the name is one or two characters away from a domain label. `ForeignAddress` — the name spells out an email address at a domain the sender does not send from. `Unrelated` — no relation. `NoClaim` — the name is empty, or is an address at the sending domain, so it claims no other identity.
294
- */
295
- export type DisplayNameCorrespondence = "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim";
296
292
  /**
297
293
  * Message lifecycle status for move/delete operations
298
294
  */
@@ -448,6 +444,10 @@ distinguishable from a network failure without parsing prose.
448
444
  * Which piece of configuration a still-unbound folder reference belongs to. A mailbox id is regenerated by every discovery, so an imported file names folders by IMAP path and the binder writes the row once a path resolves.
449
445
  */
450
446
  export type ConfigImportRefKind = "FolderRole" | "MailboxOverride" | "FilterAction";
447
+ /**
448
+ * How the From display name relates to the From domain. `Corresponds` — the name is contained in the domain. `Lookalike` — the name is one or two characters away from a domain label. `ForeignAddress` — the name spells out an email address at a domain the sender does not send from. `Unrelated` — no relation. `NoClaim` — the name is empty, or is an address at the sending domain, so it claims no other identity.
449
+ */
450
+ export type DisplayNameCorrespondence = "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim";
451
451
  /**
452
452
  * Whether sync still retries a warned message. Derived from stage and attempts, never stored.
453
453
  */
@@ -4892,9 +4892,9 @@ every reader of either would otherwise narrow on the kind first.
4892
4892
  */
4893
4893
  abandonedMutation: MessageMutation;
4894
4894
  /**
4895
- * Account identifier attached at read time via a mailboxId→accountId map. Present on rows returned by `GET /threads`; absent on rows from per-mailbox endpoints (clients can resolve from the mailbox cache).
4895
+ * The account that owns the message, resolved at read time from the row's mailbox. The ThreadMessage row has no column of its own.
4896
4896
  */
4897
- accountId?: UUID;
4897
+ accountId: UUID;
4898
4898
  /**
4899
4899
  * Present only when Remit auto-moved this message on body-sync. Absent means the message was not auto-moved by Remit.
4900
4900
  */
@@ -4915,6 +4915,10 @@ every reader of either would otherwise narrow on the kind first.
4915
4915
  * The spam outcome of the underlying Message (RFC 041), projected at read time. `NotChecked` when the Message row is missing from the batch.
4916
4916
  */
4917
4917
  spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
4918
+ /**
4919
+ * True once the owner marked the underlying Message Not spam, projected at read time. While true, `spamVerdict` raises no warning. `false` when the Message row is missing from the batch.
4920
+ */
4921
+ spamCleared: boolean;
4918
4922
  }
4919
4923
  /**
4920
4924
  * Structured sender-authenticity signal, derived from headers at classification time. Absent for messages classified before this field was introduced — clients should treat absence as no-signal.
@@ -4932,14 +4936,6 @@ every reader of either would otherwise narrow on the kind first.
4932
4936
  * True when DKIM signing domain(s) are present and none aligns with the From domain
4933
4937
  */
4934
4938
  dkimMismatch: boolean;
4935
- /**
4936
- * How the From display name relates to the From domain. Display-only: it never decides placement. Present only when the sender is not bulk-shaped (no List-Unsubscribe) — absence means the comparison was never made, never that it found nothing.
4937
- */
4938
- displayNameCorrespondence?: DisplayNameCorrespondence;
4939
- /**
4940
- * Registrable domains (eTLD+1) the body's links point at, excluding the From address's own registrable domain. Display-only: it never decides placement. An empty array means every link stayed on the sender's domain, absence means the comparison was never made.
4941
- */
4942
- offDomainLinkDomains?: string[];
4943
4939
  /**
4944
4940
  * Registrable domain of the first verified DKIM `header.d` in trusted Authentication-Results order, or the reserved literal `unverified` when no identity could be established. Unlike `dkimDomain`, which is the unverified `d=` claim the sender wrote, this is only set from a signature the trusted Authentication-Results reported as passing. Absent for messages classified before the field existed.
4945
4941
  */
@@ -6115,6 +6111,10 @@ either way and cannot tell which it received.
6115
6111
  * The spam outcome for this message (RFC 041). Defaults to `NotChecked`; body sync records `ScreenedOut` when stage 1 let the message through, or the spam service's answer.
6116
6112
  */
6117
6113
  spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
6114
+ /**
6115
+ * True once the owner marked this message Not spam, until they report it as spam again. A cleared message carries no Spam or Phishing label, and a rescan records its verdict without labelling or moving it, so clients read this before `spamVerdict` and raise no warning while it is true.
6116
+ */
6117
+ spamCleared: boolean;
6118
6118
  createdAt: number;
6119
6119
  updatedAt: number;
6120
6120
  }
@@ -6302,6 +6302,10 @@ either way and cannot tell which it received.
6302
6302
  * The spam outcome for this message (RFC 041). Defaults to `NotChecked`; body sync records `ScreenedOut` when stage 1 let the message through, or the spam service's answer.
6303
6303
  */
6304
6304
  spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
6305
+ /**
6306
+ * True once the owner marked this message Not spam, until they report it as spam again. A cleared message carries no Spam or Phishing label, and a rescan records its verdict without labelling or moving it, so clients read this before `spamVerdict` and raise no warning while it is true.
6307
+ */
6308
+ spamCleared: boolean;
6305
6309
  createdAt: number;
6306
6310
  updatedAt: number;
6307
6311
  /**
@@ -6353,6 +6357,10 @@ either way and cannot tell which it received.
6353
6357
  * The spam outcome for this message (RFC 041). Defaults to `NotChecked`; body sync records `ScreenedOut` when stage 1 let the message through, or the spam service's answer.
6354
6358
  */
6355
6359
  spamVerdict: SpamVerdictNotChecked | SpamVerdictScreenedOut | SpamChecked | SpamFailed;
6360
+ /**
6361
+ * True once the owner marked this message Not spam, until they report it as spam again. A cleared message carries no Spam or Phishing label, and a rescan records its verdict without labelling or moving it, so clients read this before `spamVerdict` and raise no warning while it is true.
6362
+ */
6363
+ spamCleared: boolean;
6356
6364
  /**
6357
6365
  * Message-ID header value for quick reference
6358
6366
  */
@@ -12286,7 +12294,6 @@ export type SpamKind = Components.Schemas.SpamKind;
12286
12294
  export type SortOrder = Components.Schemas.SortOrder;
12287
12295
  export type StarColor = Components.Schemas.StarColor;
12288
12296
  export type SenderTrust = Components.Schemas.SenderTrust;
12289
- export type DisplayNameCorrespondence = Components.Schemas.DisplayNameCorrespondence;
12290
12297
  export type MessageStatus = Components.Schemas.MessageStatus;
12291
12298
  export type MessageSyncStatus = Components.Schemas.MessageSyncStatus;
12292
12299
  export type MessageMutation = Components.Schemas.MessageMutation;
@@ -12321,6 +12328,7 @@ export type SenderOverride = Components.Schemas.SenderOverride;
12321
12328
  export type AccountSettingName = Components.Schemas.AccountSettingName;
12322
12329
  export type ConfigImportState = Components.Schemas.ConfigImportState;
12323
12330
  export type ConfigImportRefKind = Components.Schemas.ConfigImportRefKind;
12331
+ export type DisplayNameCorrespondence = Components.Schemas.DisplayNameCorrespondence;
12324
12332
  export type SyncWarningState = Components.Schemas.SyncWarningState;
12325
12333
  export type ProviderSpamVerdict = Components.Schemas.ProviderSpamVerdict;
12326
12334
  export type MessagePlacementMoveState = Components.Schemas.MessagePlacementMoveState;