@remit/api-http-client 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/package.json +1 -1
  2. package/types.gen.ts +35 -25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/types.gen.ts CHANGED
@@ -3072,18 +3072,23 @@ export type RemitImapThreadSearchResponse = {
3072
3072
  */
3073
3073
  continuationToken?: String800;
3074
3074
  /**
3075
- * How much the query matches, over the whole scope and independent of `limit`.
3076
- * Present only when `count=true`.
3075
+ * How much the query matches, over the whole scope. Exact: no page size bounds
3076
+ * it, no cursor narrows it, so it is the same number on the first page and the
3077
+ * last. Present only when `count=true`.
3077
3078
  *
3078
3079
  * Each operation counts what it lists. `searchThreads` lists messages of one
3079
- * mailbox and counts messages; with `senderTrust` or `dkimMismatch` in the
3080
- * query that count is over the enriched window instead, since those are
3081
- * resolved off the row. `listAllThreads` counts CONVERSATIONS across every
3082
- * non-muted mailbox of every account a thread holding two matching messages
3083
- * counts once, and so does one message reachable through a real folder and a
3084
- * virtual copy of it because that is what the cross-account listing renders
3085
- * after collapsing by `threadId`. A count that disagreed with the rows beneath
3086
- * it would be a third number for the same set.
3080
+ * mailbox and counts messages. `listAllThreads` counts CONVERSATIONS across
3081
+ * every non-muted mailbox of every account a thread holding two matching
3082
+ * messages counts once, and so does one message reachable through a real
3083
+ * folder and a virtual copy of itbecause that is what the cross-account
3084
+ * listing renders after collapsing by `threadId`. A count that disagreed with
3085
+ * the rows beneath it would be a third number for the same set.
3086
+ *
3087
+ * Absent when the query carries `senderTrust` or `dkimMismatch`, even with
3088
+ * `count=true`. Those are resolved by enriching rows rather than by a
3089
+ * predicate, so no exact count exists short of enriching the whole mailbox.
3090
+ * Absence says so; a page's post-filter length labelled `count` would be a
3091
+ * page length presented as a total. A client with no number renders none.
3087
3092
  */
3088
3093
  count?: number;
3089
3094
  };
@@ -3810,18 +3815,23 @@ export type RemitImapThreadSearchResponseWritable = {
3810
3815
  */
3811
3816
  continuationToken?: String800;
3812
3817
  /**
3813
- * How much the query matches, over the whole scope and independent of `limit`.
3814
- * Present only when `count=true`.
3818
+ * How much the query matches, over the whole scope. Exact: no page size bounds
3819
+ * it, no cursor narrows it, so it is the same number on the first page and the
3820
+ * last. Present only when `count=true`.
3815
3821
  *
3816
3822
  * Each operation counts what it lists. `searchThreads` lists messages of one
3817
- * mailbox and counts messages; with `senderTrust` or `dkimMismatch` in the
3818
- * query that count is over the enriched window instead, since those are
3819
- * resolved off the row. `listAllThreads` counts CONVERSATIONS across every
3820
- * non-muted mailbox of every account a thread holding two matching messages
3821
- * counts once, and so does one message reachable through a real folder and a
3822
- * virtual copy of it because that is what the cross-account listing renders
3823
- * after collapsing by `threadId`. A count that disagreed with the rows beneath
3824
- * it would be a third number for the same set.
3823
+ * mailbox and counts messages. `listAllThreads` counts CONVERSATIONS across
3824
+ * every non-muted mailbox of every account a thread holding two matching
3825
+ * messages counts once, and so does one message reachable through a real
3826
+ * folder and a virtual copy of itbecause that is what the cross-account
3827
+ * listing renders after collapsing by `threadId`. A count that disagreed with
3828
+ * the rows beneath it would be a third number for the same set.
3829
+ *
3830
+ * Absent when the query carries `senderTrust` or `dkimMismatch`, even with
3831
+ * `count=true`. Those are resolved by enriching rows rather than by a
3832
+ * predicate, so no exact count exists short of enriching the whole mailbox.
3833
+ * Absence says so; a page's post-filter length labelled `count` would be a
3834
+ * page length presented as a total. A client with no number renders none.
3825
3835
  */
3826
3836
  count?: number;
3827
3837
  };
@@ -5178,7 +5188,7 @@ export type ThreadOperationsSearchThreadsData = {
5178
5188
  starred?: boolean;
5179
5189
  attachments?: boolean;
5180
5190
  /**
5181
- * Filter to messages whose From address has one of these trust levels. Off-row criterion, resolved by in-handler enrichment over the capped window.
5191
+ * 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.
5182
5192
  */
5183
5193
  senderTrust?: Array<RemitImapSenderTrust>;
5184
5194
  /**
@@ -5186,11 +5196,11 @@ export type ThreadOperationsSearchThreadsData = {
5186
5196
  */
5187
5197
  category?: Array<RemitImapMessageCategory>;
5188
5198
  /**
5189
- * Filter on the DKIM-alignment signal (true = DKIM mismatch). Off-row criterion; rows without an authenticity signal never match.
5199
+ * 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.
5190
5200
  */
5191
5201
  dkimMismatch?: boolean;
5192
5202
  /**
5193
- * Include how many messages the query matches. Counted over the whole mailbox, independent of `limit`.
5203
+ * 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.
5194
5204
  */
5195
5205
  count?: boolean;
5196
5206
  /**
@@ -5198,7 +5208,7 @@ export type ThreadOperationsSearchThreadsData = {
5198
5208
  */
5199
5209
  results?: boolean;
5200
5210
  /**
5201
- * Page size for the rows returned, capped server-side at 500. Bounds the read, not the `count`.
5211
+ * 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.
5202
5212
  */
5203
5213
  limit?: number;
5204
5214
  };
@@ -5824,7 +5834,7 @@ export type UnifiedThreadOperationsListAllThreadsData = {
5824
5834
  */
5825
5835
  attachments?: boolean;
5826
5836
  /**
5827
- * Include how many messages the listing matches. Counted over the whole scope, independent of `limit`.
5837
+ * 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.
5828
5838
  */
5829
5839
  count?: boolean;
5830
5840
  /**