@remit/api-openapi-types 0.0.21 → 0.0.23

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 +9 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -2504,10 +2504,10 @@ standing to persist.
2504
2504
  }
2505
2505
  /**
2506
2506
  * Aggregate response for `searchThreads`. Carries the matching rows (`items`), a
2507
- pagination `continuationToken`, and an optional `count` of matches within the
2508
- server-capped window. `items` is omitted when `results=false` (count-only);
2509
- `count` is present only when `count=true`. Thread-specific so the shared
2510
- `ResultList<T>` (7 endpoints) stays untouched.
2507
+ pagination `continuationToken`, and an optional `count` of every message the
2508
+ query matches. `items` is omitted when `results=false` (count-only); `count` is
2509
+ present only when `count=true`. Thread-specific so the shared `ResultList<T>`
2510
+ (7 endpoints) stays untouched.
2511
2511
  */
2512
2512
  export interface ThreadSearchResponse {
2513
2513
  /**
@@ -2519,7 +2519,7 @@ server-capped window. `items` is omitted when `results=false` (count-only);
2519
2519
  */
2520
2520
  continuationToken?: String800;
2521
2521
  /**
2522
- * Number of matches within the server-capped window. Present only when `count=true`.
2522
+ * How many messages the query matches, over the whole mailbox and independent of `limit`. Present only when `count=true`. With `senderTrust` or `dkimMismatch` in the query the count is over the enriched window instead, since those are resolved off the row.
2523
2523
  */
2524
2524
  count?: number;
2525
2525
  }
@@ -3224,6 +3224,10 @@ server-capped window. `items` is omitted when `results=false` (count-only);
3224
3224
  * Recorded when a standing filter moved this message at body-sync time (RFC 034). Absent means no filter moved it — a classifier move records `placementVerdict` instead, and a retroactive back-apply records neither. Drives the arbitrary-destination auto-moved badge and its undo.
3225
3225
  */
3226
3226
  filterMove?: MessageFilterMove;
3227
+ /**
3228
+ * Body-sync timestamp (epoch millis) the classifier's placement verdict was first decided, whether the verdict was to move the message or to leave it in place. Absent means placement has never been evaluated for this message. Guards `computePlacement` against a re-entrant body-sync pass (`fetchAndGetBody`'s `NoSuchKey` fallback, `syncBodies(..., force: true)`) re-deciding — and possibly reversing — a placement a user has since overridden by hand. `movedByRemit` remains the guard for a message that was placement-decided before this field existed.
3229
+ */
3230
+ placementDecidedAt?: number;
3227
3231
  createdAt: number;
3228
3232
  updatedAt: number;
3229
3233
  }