@remit/api-http-client 0.0.20 → 0.0.21

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 +12 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/types.gen.ts CHANGED
@@ -2161,10 +2161,10 @@ export type RemitImapThreadMessageResponse = {
2161
2161
 
2162
2162
  /**
2163
2163
  * Aggregate response for `searchThreads`. Carries the matching rows (`items`), a
2164
- * pagination `continuationToken`, and an optional `count` of matches within the
2165
- * server-capped window. `items` is omitted when `results=false` (count-only);
2166
- * `count` is present only when `count=true`. Thread-specific so the shared
2167
- * `ResultList<T>` (7 endpoints) stays untouched.
2164
+ * pagination `continuationToken`, and an optional `count` of every message the
2165
+ * query matches. `items` is omitted when `results=false` (count-only); `count` is
2166
+ * present only when `count=true`. Thread-specific so the shared `ResultList<T>`
2167
+ * (7 endpoints) stays untouched.
2168
2168
  */
2169
2169
  export type RemitImapThreadSearchResponse = {
2170
2170
  /**
@@ -2176,7 +2176,7 @@ export type RemitImapThreadSearchResponse = {
2176
2176
  */
2177
2177
  continuationToken?: String800;
2178
2178
  /**
2179
- * Number of matches within the server-capped window. Present only when `count=true`.
2179
+ * 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.
2180
2180
  */
2181
2181
  count?: number;
2182
2182
  };
@@ -2763,10 +2763,10 @@ export type RemitImapThreadMessageResponseWritable = {
2763
2763
 
2764
2764
  /**
2765
2765
  * Aggregate response for `searchThreads`. Carries the matching rows (`items`), a
2766
- * pagination `continuationToken`, and an optional `count` of matches within the
2767
- * server-capped window. `items` is omitted when `results=false` (count-only);
2768
- * `count` is present only when `count=true`. Thread-specific so the shared
2769
- * `ResultList<T>` (7 endpoints) stays untouched.
2766
+ * pagination `continuationToken`, and an optional `count` of every message the
2767
+ * query matches. `items` is omitted when `results=false` (count-only); `count` is
2768
+ * present only when `count=true`. Thread-specific so the shared `ResultList<T>`
2769
+ * (7 endpoints) stays untouched.
2770
2770
  */
2771
2771
  export type RemitImapThreadSearchResponseWritable = {
2772
2772
  /**
@@ -2778,7 +2778,7 @@ export type RemitImapThreadSearchResponseWritable = {
2778
2778
  */
2779
2779
  continuationToken?: String800;
2780
2780
  /**
2781
- * Number of matches within the server-capped window. Present only when `count=true`.
2781
+ * 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.
2782
2782
  */
2783
2783
  count?: number;
2784
2784
  };
@@ -3422,7 +3422,7 @@ export type ThreadOperationsSearchThreadsData = {
3422
3422
  */
3423
3423
  dkimMismatch?: boolean;
3424
3424
  /**
3425
- * Include a count of matches within the server-capped window.
3425
+ * Include how many messages the query matches. Counted over the whole mailbox, independent of `limit`.
3426
3426
  */
3427
3427
  count?: boolean;
3428
3428
  /**
@@ -3430,7 +3430,7 @@ export type ThreadOperationsSearchThreadsData = {
3430
3430
  */
3431
3431
  results?: boolean;
3432
3432
  /**
3433
- * Caller-set recency window, capped server-side at 500. Bounds the read.
3433
+ * Page size for the rows returned, capped server-side at 500. Bounds the read, not the `count`.
3434
3434
  */
3435
3435
  limit?: number;
3436
3436
  };