@remit/api-openapi-types 0.0.29 → 0.0.31

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 +30 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -142,9 +142,9 @@ current enum emitter anyway, so the wire contract uses the bare form.
142
142
  */
143
143
  export type SenderTrust = "unknown" | "wellknown" | "vip";
144
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.
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. `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.
146
146
  */
147
- export type DisplayNameCorrespondence = "Corresponds" | "Lookalike" | "Unrelated" | "NoClaim";
147
+ export type DisplayNameCorrespondence = "Corresponds" | "Lookalike" | "ForeignAddress" | "Unrelated" | "NoClaim";
148
148
  /**
149
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.
150
150
  */
@@ -3113,6 +3113,7 @@ either way and cannot tell which it received.
3113
3113
  muted?: MutedFlag;
3114
3114
  vip?: VipFlag;
3115
3115
  wellknown?: WellknownFlag;
3116
+ junkOnly?: JunkOnlyFlag;
3116
3117
  category?: CategoryFlag;
3117
3118
  autoArchive?: AutoArchiveFlag;
3118
3119
  unsubscribed?: UnsubscribedFlag;
@@ -3205,6 +3206,28 @@ either way and cannot tell which it received.
3205
3206
  reason?: string;
3206
3207
  value: boolean;
3207
3208
  }
3209
+ /**
3210
+ * Address was only ever seen on mail in a Junk folder: withheld from autocomplete suggestions until the account corresponds with it, flags it, or meets it on live mail. Written by sync and by the boot-time repair; clear it by patching this key to null.
3211
+ */
3212
+ export interface JunkOnlyFlag {
3213
+ /**
3214
+ * Timestamp when the flag was set
3215
+ */
3216
+ setAt: number;
3217
+ /**
3218
+ * Device/session/user identifier that set the flag (audit trail)
3219
+ */
3220
+ setBy?: string;
3221
+ /**
3222
+ * Optional auto-revoke timestamp
3223
+ */
3224
+ expiresAt?: number;
3225
+ /**
3226
+ * Free-text user note
3227
+ */
3228
+ reason?: string;
3229
+ value: boolean;
3230
+ }
3208
3231
  /**
3209
3232
  * Category override for auto-classification
3210
3233
  */
@@ -3344,6 +3367,10 @@ either way and cannot tell which it received.
3344
3367
  muted?: MutedFlag | any;
3345
3368
  vip?: VipFlag | any;
3346
3369
  wellknown?: WellknownFlag | any;
3370
+ /**
3371
+ * Set to `null` to offer this address in autocomplete again
3372
+ */
3373
+ junkOnly?: JunkOnlyFlag | any;
3347
3374
  category?: CategoryFlag | any;
3348
3375
  autoArchive?: AutoArchiveFlag | any;
3349
3376
  unsubscribed?: UnsubscribedFlag | any;
@@ -6378,6 +6405,7 @@ export type TrustedFlag = Components.Schemas.TrustedFlag;
6378
6405
  export type BlockedFlag = Components.Schemas.BlockedFlag;
6379
6406
  export type VipFlag = Components.Schemas.VipFlag;
6380
6407
  export type WellknownFlag = Components.Schemas.WellknownFlag;
6408
+ export type JunkOnlyFlag = Components.Schemas.JunkOnlyFlag;
6381
6409
  export type CategoryFlag = Components.Schemas.CategoryFlag;
6382
6410
  export type AutoArchiveFlag = Components.Schemas.AutoArchiveFlag;
6383
6411
  export type UnsubscribedFlag = Components.Schemas.UnsubscribedFlag;