@remit/api-openapi-types 0.0.19 → 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.
- package/package.json +1 -1
- package/types.d.ts +25 -10
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1466,9 +1466,13 @@ data through `byAccountAndState`.
|
|
|
1466
1466
|
*/
|
|
1467
1467
|
hasAnchor: boolean;
|
|
1468
1468
|
/**
|
|
1469
|
-
* Epoch seconds, written
|
|
1469
|
+
* 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.
|
|
1470
1470
|
*/
|
|
1471
1471
|
ruleChangedAt: number;
|
|
1472
|
+
/**
|
|
1473
|
+
* 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.
|
|
1474
|
+
*/
|
|
1475
|
+
actionChangedAt: number;
|
|
1472
1476
|
/**
|
|
1473
1477
|
* How literalClauses combine. Meaningless when literalClauses is empty.
|
|
1474
1478
|
*/
|
|
@@ -1482,7 +1486,7 @@ data through `byAccountAndState`.
|
|
|
1482
1486
|
*/
|
|
1483
1487
|
actionLabelId: string;
|
|
1484
1488
|
/**
|
|
1485
|
-
* 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
|
|
1489
|
+
* 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.
|
|
1486
1490
|
*/
|
|
1487
1491
|
actionMailboxId: string;
|
|
1488
1492
|
createdAt: number;
|
|
@@ -1534,9 +1538,13 @@ data through `byAccountAndState`.
|
|
|
1534
1538
|
*/
|
|
1535
1539
|
hasAnchor: boolean;
|
|
1536
1540
|
/**
|
|
1537
|
-
* Epoch seconds, written
|
|
1541
|
+
* 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.
|
|
1538
1542
|
*/
|
|
1539
1543
|
ruleChangedAt: number;
|
|
1544
|
+
/**
|
|
1545
|
+
* 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.
|
|
1546
|
+
*/
|
|
1547
|
+
actionChangedAt: number;
|
|
1540
1548
|
/**
|
|
1541
1549
|
* How literalClauses combine. Meaningless when literalClauses is empty.
|
|
1542
1550
|
*/
|
|
@@ -1550,7 +1558,7 @@ data through `byAccountAndState`.
|
|
|
1550
1558
|
*/
|
|
1551
1559
|
actionLabelId: string;
|
|
1552
1560
|
/**
|
|
1553
|
-
* 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
|
|
1561
|
+
* 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.
|
|
1554
1562
|
*/
|
|
1555
1563
|
actionMailboxId: string;
|
|
1556
1564
|
createdAt: number;
|
|
@@ -1592,7 +1600,7 @@ sets `hasAnchor`. Absent for a purely-literal filter.
|
|
|
1592
1600
|
*/
|
|
1593
1601
|
actionLabelId: string;
|
|
1594
1602
|
/**
|
|
1595
|
-
* 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
|
|
1603
|
+
* 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.
|
|
1596
1604
|
*/
|
|
1597
1605
|
actionMailboxId: string;
|
|
1598
1606
|
/**
|
|
@@ -1604,10 +1612,13 @@ sets `hasAnchor`. Absent for a purely-literal filter.
|
|
|
1604
1612
|
* Input for updating a filter (RFC 034, reader #266). The name, predicate,
|
|
1605
1613
|
action, scope, and expiresAt are all updatable; `ttl` is always
|
|
1606
1614
|
server-derived from `scope`/`expiresAt`, never client-supplied, and
|
|
1607
|
-
`state`/`hasAnchor`/`ruleChangedAt`/`filterId` are
|
|
1608
|
-
patch touching the predicate, the action, `scope`, or
|
|
1609
|
-
`ruleChangedAt`; a name-only rename never does (RFC 034
|
|
1610
|
-
#266).
|
|
1615
|
+
`state`/`hasAnchor`/`ruleChangedAt`/`actionChangedAt`/`filterId` are
|
|
1616
|
+
server-derived too. A patch touching the predicate, the action, `scope`, or
|
|
1617
|
+
`expiresAt` bumps `ruleChangedAt`; a name-only rename never does (RFC 034
|
|
1618
|
+
Decision 3.2, reader #266). Only a patch touching the predicate or the
|
|
1619
|
+
action bumps `actionChangedAt`, the narrower signal exclusive-move
|
|
1620
|
+
precedence reads (reader #384) — a scope/expiresAt-only edit leaves it
|
|
1621
|
+
untouched.
|
|
1611
1622
|
|
|
1612
1623
|
The semantic anchor has no field here at all — it is set once, from
|
|
1613
1624
|
`anchorMessageId`, only on `CreateFilterInput`. Repointing an anchor would
|
|
@@ -1641,7 +1652,7 @@ anchor change through this body (reader #266).
|
|
|
1641
1652
|
*/
|
|
1642
1653
|
actionLabelId: string;
|
|
1643
1654
|
/**
|
|
1644
|
-
* 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
|
|
1655
|
+
* 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.
|
|
1645
1656
|
*/
|
|
1646
1657
|
actionMailboxId: string;
|
|
1647
1658
|
}
|
|
@@ -2420,6 +2431,10 @@ standing to persist.
|
|
|
2420
2431
|
* Trust level for the From address, derived from AddressFlags at read time. Defaults to `unknown` when no Address row resolves.
|
|
2421
2432
|
*/
|
|
2422
2433
|
senderTrust: SenderTrust;
|
|
2434
|
+
/**
|
|
2435
|
+
* 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.
|
|
2436
|
+
*/
|
|
2437
|
+
muted: boolean;
|
|
2423
2438
|
/**
|
|
2424
2439
|
* 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.
|
|
2425
2440
|
*/
|