@remit/api-openapi-spec 0.0.43 → 0.0.44

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/openapi.json +6 -6
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -2812,7 +2812,7 @@
2812
2812
  "name": "senderTrust",
2813
2813
  "in": "query",
2814
2814
  "required": false,
2815
- "description": "Filter to messages whose From address has one of these trust levels. Off-row criterion, resolved by in-handler enrichment over the capped window.",
2815
+ "description": "Filter to messages whose From address has one of these trust levels. Off-row criterion: resolved by enriching the rows this page read, not by a predicate over the mailbox, so `count` comes back absent whenever it is supplied.",
2816
2816
  "schema": {
2817
2817
  "type": "array",
2818
2818
  "items": {
@@ -2836,7 +2836,7 @@
2836
2836
  "name": "dkimMismatch",
2837
2837
  "in": "query",
2838
2838
  "required": false,
2839
- "description": "Filter on the DKIM-alignment signal (true = DKIM mismatch). Off-row criterion; rows without an authenticity signal never match.",
2839
+ "description": "Filter on the DKIM-alignment signal (true = DKIM mismatch). Off-row criterion, like `senderTrust`: rows without an authenticity signal never match, and `count` comes back absent whenever it is supplied.",
2840
2840
  "schema": {
2841
2841
  "type": "boolean"
2842
2842
  }
@@ -2845,7 +2845,7 @@
2845
2845
  "name": "count",
2846
2846
  "in": "query",
2847
2847
  "required": false,
2848
- "description": "Include how many messages the query matches. Counted over the whole mailbox, independent of `limit`.",
2848
+ "description": "Include how many messages the query matches, exactly, over the whole mailbox. Opt-in because it is a second read over the entire match set rather than a by-product of the page: ask for it on a deliberate act, never on a keystroke. Answered as absent — not as a page length — when the query carries `senderTrust` or `dkimMismatch`, which no predicate can count.",
2849
2849
  "schema": {
2850
2850
  "type": "boolean"
2851
2851
  }
@@ -2863,7 +2863,7 @@
2863
2863
  "name": "limit",
2864
2864
  "in": "query",
2865
2865
  "required": false,
2866
- "description": "Page size for the rows returned, capped server-side at 500. Bounds the read, not the `count`.",
2866
+ "description": "Page size for the rows returned, capped server-side at 500. It bounds this page and nothing else: `count` is over the whole mailbox and does not move when this does.",
2867
2867
  "schema": {
2868
2868
  "type": "integer",
2869
2869
  "format": "int32"
@@ -4170,7 +4170,7 @@
4170
4170
  "name": "count",
4171
4171
  "in": "query",
4172
4172
  "required": false,
4173
- "description": "Include how many messages the listing matches. Counted over the whole scope, independent of `limit`.",
4173
+ "description": "Include how many conversations the listing matches, exactly, over the whole scope. Opt-in because it is a second read over the entire match set rather than a by-product of the page: ask for it on a deliberate act, never on a keystroke.",
4174
4174
  "schema": {
4175
4175
  "type": "boolean"
4176
4176
  }
@@ -9695,7 +9695,7 @@
9695
9695
  "count": {
9696
9696
  "type": "integer",
9697
9697
  "format": "int32",
9698
- "description": "How much the query matches, over the whole scope and independent of `limit`.\nPresent only when `count=true`.\n\nEach operation counts what it lists. `searchThreads` lists messages of one\nmailbox and counts messages; with `senderTrust` or `dkimMismatch` in the\nquery that count is over the enriched window instead, since those are\nresolved off the row. `listAllThreads` counts CONVERSATIONS across every\nnon-muted mailbox of every account — a thread holding two matching messages\ncounts once, and so does one message reachable through a real folder and a\nvirtual copy of it — because that is what the cross-account listing renders\nafter collapsing by `threadId`. A count that disagreed with the rows beneath\nit would be a third number for the same set."
9698
+ "description": "How much the query matches, over the whole scope. Exact: no page size bounds\nit, no cursor narrows it, so it is the same number on the first page and the\nlast. Present only when `count=true`.\n\nEach operation counts what it lists. `searchThreads` lists messages of one\nmailbox and counts messages. `listAllThreads` counts CONVERSATIONS across\nevery non-muted mailbox of every account — a thread holding two matching\nmessages counts once, and so does one message reachable through a real\nfolder and a virtual copy of it — because that is what the cross-account\nlisting renders after collapsing by `threadId`. A count that disagreed with\nthe rows beneath it would be a third number for the same set.\n\nAbsent when the query carries `senderTrust` or `dkimMismatch`, even with\n`count=true`. Those are resolved by enriching rows rather than by a\npredicate, so no exact count exists short of enriching the whole mailbox.\nAbsence says so; a page's post-filter length labelled `count` would be a\npage length presented as a total. A client with no number renders none."
9699
9699
  }
9700
9700
  },
9701
9701
  "description": "Aggregate response for the filterable thread listings — `searchThreads` and\n`listAllThreads`. Carries the matching rows (`items`), a pagination\n`continuationToken`, and an optional `count` of what the query matches.\n`items` is omitted when `results=false` (count-only); `count` is present only\nwhen `count=true`. Thread-specific so the shared `ResultList<T>` (7 endpoints)\nstays untouched.\n\n`listAllThreads` answers with this model rather than `ResultList<T>` for that\nsame reason: it needs the count field and the shared model cannot carry one.\nOne model over both operations rather than a second of the same shape, so a\nclient reading a filtered thread listing reads one response type whether the\nlisting is scoped to a mailbox or spans every account."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-spec",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "description": "Remit API OpenAPI 3 document, generated from TypeSpec.",
5
5
  "exports": {
6
6
  ".": "./openapi.json",