@remit/api-http-client 0.0.18 → 0.0.20
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 +24 -9
package/package.json
CHANGED
package/types.gen.ts
CHANGED
|
@@ -707,7 +707,7 @@ export type RemitImapCreateFilterInput = {
|
|
|
707
707
|
*/
|
|
708
708
|
actionLabelId: string;
|
|
709
709
|
/**
|
|
710
|
-
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest
|
|
710
|
+
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest actionChangedAt wins. `"None"` means no move action.
|
|
711
711
|
*/
|
|
712
712
|
actionMailboxId: string;
|
|
713
713
|
/**
|
|
@@ -1029,9 +1029,13 @@ export type RemitImapFilterResponse = {
|
|
|
1029
1029
|
*/
|
|
1030
1030
|
readonly hasAnchor: boolean;
|
|
1031
1031
|
/**
|
|
1032
|
-
* Epoch seconds, written
|
|
1032
|
+
* Epoch seconds, written whenever the predicate, the action, the scope, or the expiry changes (reader #266) — never on a cosmetic rename. This is the broad "the user asserted something new about this rule" signal the settings UI uses to decide whether to re-offer a lapsed filter's back-application. It is deliberately NOT the precedence signal for the exclusive move action — see actionChangedAt for that (RFC 034 Decision 3.2, reader #384). Distinct from ElectroDB's own updatedAt, which bumps on any write.
|
|
1033
1033
|
*/
|
|
1034
1034
|
readonly ruleChangedAt: number;
|
|
1035
|
+
/**
|
|
1036
|
+
* Epoch seconds, written only when the predicate (literalClauses, hasAnchor) or the action (actionLabelId, actionMailboxId) changes — never on scope, expiresAt, or a cosmetic rename. Backs most-recently-changed-filter-wins precedence for the exclusive move action (RFC 034 Decision 3.2). Split out from ruleChangedAt (reader #384): extending a filter's expiry or flipping its scope changes its lifecycle, not what it matches or does, so it must not promote the filter to move-winner.
|
|
1037
|
+
*/
|
|
1038
|
+
readonly actionChangedAt: number;
|
|
1035
1039
|
/**
|
|
1036
1040
|
* How literalClauses combine. Meaningless when literalClauses is empty.
|
|
1037
1041
|
*/
|
|
@@ -1045,7 +1049,7 @@ export type RemitImapFilterResponse = {
|
|
|
1045
1049
|
*/
|
|
1046
1050
|
actionLabelId: string;
|
|
1047
1051
|
/**
|
|
1048
|
-
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest
|
|
1052
|
+
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest actionChangedAt wins. `"None"` means no move action.
|
|
1049
1053
|
*/
|
|
1050
1054
|
actionMailboxId: string;
|
|
1051
1055
|
readonly createdAt: number;
|
|
@@ -2133,6 +2137,10 @@ export type RemitImapThreadMessageResponse = {
|
|
|
2133
2137
|
* Trust level for the From address, derived from AddressFlags at read time. Defaults to `unknown` when no Address row resolves.
|
|
2134
2138
|
*/
|
|
2135
2139
|
senderTrust: RemitImapSenderTrust;
|
|
2140
|
+
/**
|
|
2141
|
+
* Whether the From address is muted, derived from AddressFlags at read time. Defaults to `false` when no Address row resolves. Muting hides the sender from the daily brief; it does not affect mailbox listings.
|
|
2142
|
+
*/
|
|
2143
|
+
muted: boolean;
|
|
2136
2144
|
/**
|
|
2137
2145
|
* Structured sender-authenticity signal derived from DKIM headers at classification time (from the underlying Message). Absent for messages classified before this field was introduced — absence means no signal.
|
|
2138
2146
|
*/
|
|
@@ -2303,10 +2311,13 @@ export type RemitImapUpdateAddressInput = {
|
|
|
2303
2311
|
* Input for updating a filter (RFC 034, reader #266). The name, predicate,
|
|
2304
2312
|
* action, scope, and expiresAt are all updatable; `ttl` is always
|
|
2305
2313
|
* server-derived from `scope`/`expiresAt`, never client-supplied, and
|
|
2306
|
-
* `state`/`hasAnchor`/`ruleChangedAt`/`filterId` are
|
|
2307
|
-
* patch touching the predicate, the action, `scope`, or
|
|
2308
|
-
* `ruleChangedAt`; a name-only rename never does (RFC 034
|
|
2309
|
-
* #266).
|
|
2314
|
+
* `state`/`hasAnchor`/`ruleChangedAt`/`actionChangedAt`/`filterId` are
|
|
2315
|
+
* server-derived too. A patch touching the predicate, the action, `scope`, or
|
|
2316
|
+
* `expiresAt` bumps `ruleChangedAt`; a name-only rename never does (RFC 034
|
|
2317
|
+
* Decision 3.2, reader #266). Only a patch touching the predicate or the
|
|
2318
|
+
* action bumps `actionChangedAt`, the narrower signal exclusive-move
|
|
2319
|
+
* precedence reads (reader #384) — a scope/expiresAt-only edit leaves it
|
|
2320
|
+
* untouched.
|
|
2310
2321
|
*
|
|
2311
2322
|
* The semantic anchor has no field here at all — it is set once, from
|
|
2312
2323
|
* `anchorMessageId`, only on `CreateFilterInput`. Repointing an anchor would
|
|
@@ -2340,7 +2351,7 @@ export type RemitImapUpdateFilterInput = {
|
|
|
2340
2351
|
*/
|
|
2341
2352
|
actionLabelId?: string;
|
|
2342
2353
|
/**
|
|
2343
|
-
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest
|
|
2354
|
+
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest actionChangedAt wins. `"None"` means no move action.
|
|
2344
2355
|
*/
|
|
2345
2356
|
actionMailboxId?: string;
|
|
2346
2357
|
};
|
|
@@ -2633,7 +2644,7 @@ export type RemitImapFilterResponseWritable = {
|
|
|
2633
2644
|
*/
|
|
2634
2645
|
actionLabelId: string;
|
|
2635
2646
|
/**
|
|
2636
|
-
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest
|
|
2647
|
+
* Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest actionChangedAt wins. `"None"` means no move action.
|
|
2637
2648
|
*/
|
|
2638
2649
|
actionMailboxId: string;
|
|
2639
2650
|
};
|
|
@@ -2728,6 +2739,10 @@ export type RemitImapThreadMessageResponseWritable = {
|
|
|
2728
2739
|
* Trust level for the From address, derived from AddressFlags at read time. Defaults to `unknown` when no Address row resolves.
|
|
2729
2740
|
*/
|
|
2730
2741
|
senderTrust: RemitImapSenderTrust;
|
|
2742
|
+
/**
|
|
2743
|
+
* Whether the From address is muted, derived from AddressFlags at read time. Defaults to `false` when no Address row resolves. Muting hides the sender from the daily brief; it does not affect mailbox listings.
|
|
2744
|
+
*/
|
|
2745
|
+
muted: boolean;
|
|
2731
2746
|
/**
|
|
2732
2747
|
* Structured sender-authenticity signal derived from DKIM headers at classification time (from the underlying Message). Absent for messages classified before this field was introduced — absence means no signal.
|
|
2733
2748
|
*/
|