@remit/api-http-client 0.0.10 → 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.
- package/package.json +1 -1
- package/types.gen.ts +17 -5
package/package.json
CHANGED
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
|
|
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
|
-
*
|
|
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
|
|
430
|
+
action?: RemitImapPlacementAction;
|
|
431
431
|
/**
|
|
432
|
-
*
|
|
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
|
|
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
|
/**
|