@remit/api-http-client 0.0.9 → 0.0.11

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 +21 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/types.gen.ts CHANGED
@@ -421,17 +421,29 @@ export type RemitImapAutoArchiveFlagUpdate = RemitImapAddressFlagBaseUpdate & {
421
421
  };
422
422
 
423
423
  /**
424
- * Present only when Remit auto-moved this message on body-sync (a confident, non-dry-run move). Absent means the message was not auto-moved by Remit — clients treat absence as no indicator.
424
+ * Present only when Remit auto-moved this message on body-sync. Two shapes share this model: a classifier placement move carries `action` + `fromPlacement` (Inbox/Junk direction); a standing-filter move carries `fromMailboxId` + `destinationMailboxId` + `filterId` (an arbitrary destination folder). Absent means the message was not auto-moved by Remit — clients treat absence as no indicator.
425
425
  */
426
426
  export type RemitImapAutoMovedInfo = {
427
427
  /**
428
- * Direction Remit moved the message: MoveToInbox | MoveToJunk. The implied destination lets the client tell whether the move is still in effect.
428
+ * Classifier move only: direction Remit moved the message MoveToInbox | MoveToJunk. Absent for a standing-filter move, which names its destination via `destinationMailboxId` instead.
429
429
  */
430
- action: RemitImapPlacementAction;
430
+ action?: RemitImapPlacementAction;
431
431
  /**
432
- * Folder role the message was moved from: inbox | junk | other. Used to render "moved from Junk" and to resolve the undo target client-side via MailboxRole.
432
+ * Classifier move only: folder role the message was moved from inbox | junk | other. Used to render "moved from Junk" and to resolve the undo target via MailboxRole. Absent for a standing-filter move, which names its source via `fromMailboxId`.
433
433
  */
434
- fromPlacement: string;
434
+ fromPlacement?: string;
435
+ /**
436
+ * Standing-filter move only: the mailbox the message was moved out of. The undo target — the client resolves its display name for the badge and moves the message back here.
437
+ */
438
+ fromMailboxId?: Uuid;
439
+ /**
440
+ * Standing-filter move only: the mailbox the filter moved the message into. The move is still in effect while the message sits here.
441
+ */
442
+ destinationMailboxId?: Uuid;
443
+ /**
444
+ * Standing-filter move only: the filter that moved the message, for the Settings › Filters link. Undo does not disable it.
445
+ */
446
+ filterId?: Uuid;
435
447
  };
436
448
 
437
449
  /**
@@ -1399,6 +1411,10 @@ export type RemitImapOrganizePreviewResponse = {
1399
1411
  * Ids of the matching messages, bounded to the same cap the apply pass uses
1400
1412
  */
1401
1413
  messageIds: Array<string>;
1414
+ /**
1415
+ * True when the semantic widen could not run because this deployment ships no vector pipeline (self-host without sqlite-vec / the embedding model). The matched set is then the literal matches only, or empty for an anchor-only predicate; literal search is unaffected. Absent on deployments where the widen ran.
1416
+ */
1417
+ semanticUnavailable?: boolean;
1402
1418
  };
1403
1419
 
1404
1420
  /**