@remit/api-openapi-types 0.0.28 → 0.0.30

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 +29 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -156,7 +156,7 @@ current enum emitter anyway, so the wire contract uses the bare form.
156
156
  /**
157
157
  * Status of an outbox message in the send queue
158
158
  */
159
- export type OutboxMessageStatus = "draft" | "queued" | "sending" | "sent" | "failed" | "blocked";
159
+ export type OutboxMessageStatus = "draft" | "queued" | "sending" | "sent" | "unfiled" | "failed" | "blocked";
160
160
  /**
161
161
  * Where an attachment is between being promised and being sendable.
162
162
 
@@ -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;