@remit/api-openapi-types 0.0.23 → 0.0.24

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 +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -141,6 +141,10 @@ current enum emitter anyway, so the wire contract uses the bare form.
141
141
  * Trust level for the From address, derived at read time from AddressFlags + counters.
142
142
  */
143
143
  export type SenderTrust = "unknown" | "wellknown" | "vip";
144
+ /**
145
+ * 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. `Unrelated` — no relation. `NoClaim` — the name is empty or is the address itself, so it claims no identity.
146
+ */
147
+ export type DisplayNameCorrespondence = "Corresponds" | "Lookalike" | "Unrelated" | "NoClaim";
144
148
  /**
145
149
  * Actionable placement verdict — the direction Remit decided to move a message. `leave` is not represented: a left-in-place verdict means the placement sub-model is absent.
146
150
  */
@@ -2468,6 +2472,14 @@ standing to persist.
2468
2472
  * True when DKIM signing domain(s) are present and none aligns with the From domain
2469
2473
  */
2470
2474
  dkimMismatch: boolean;
2475
+ /**
2476
+ * How the From display name relates to the From domain. Present only for a message the provider's own filter already classified as spam, and only when the sender is not bulk-shaped (no List-Unsubscribe) — absence means the comparison was never made, never that it found nothing.
2477
+ */
2478
+ displayNameCorrespondence?: DisplayNameCorrespondence;
2479
+ /**
2480
+ * Registrable domains (eTLD+1) the body's links point at, excluding the From address's own registrable domain. Present only for a message the provider's own filter already classified as spam; an empty array means every link stayed on the sender's domain, absence means the comparison was never made.
2481
+ */
2482
+ offDomainLinkDomains?: string[];
2471
2483
  }
2472
2484
  /**
2473
2485
  * Present only when Remit auto-moved this message on body-sync. Two shapes share this model: a classifier placement move carries `action` + `fromPlacement` (Inbox/Junk direction); a standing-filter move carries `fromMailboxId` + `destinationMailboxId` + `filterId` (an arbitrary destination folder). Absent means the message was not auto-moved by Remit — clients treat absence as no indicator.
@@ -6013,6 +6025,7 @@ export type SortOrder = Components.Schemas.SortOrder;
6013
6025
  export type StarColor = Components.Schemas.StarColor;
6014
6026
  export type MessageCategory = Components.Schemas.MessageCategory;
6015
6027
  export type SenderTrust = Components.Schemas.SenderTrust;
6028
+ export type DisplayNameCorrespondence = Components.Schemas.DisplayNameCorrespondence;
6016
6029
  export type PlacementAction = Components.Schemas.PlacementAction;
6017
6030
  export type SemanticSearchChunkType = Components.Schemas.SemanticSearchChunkType;
6018
6031
  export type OutboxMessageStatus = Components.Schemas.OutboxMessageStatus;