@remit/api-openapi-spec 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/openapi.json +16 -9
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -1573,7 +1573,7 @@
|
|
|
1573
1573
|
"name": "count",
|
|
1574
1574
|
"in": "query",
|
|
1575
1575
|
"required": false,
|
|
1576
|
-
"description": "Include
|
|
1576
|
+
"description": "Include how many messages the query matches. Counted over the whole mailbox, independent of `limit`.",
|
|
1577
1577
|
"schema": {
|
|
1578
1578
|
"type": "boolean"
|
|
1579
1579
|
}
|
|
@@ -1591,7 +1591,7 @@
|
|
|
1591
1591
|
"name": "limit",
|
|
1592
1592
|
"in": "query",
|
|
1593
1593
|
"required": false,
|
|
1594
|
-
"description": "
|
|
1594
|
+
"description": "Page size for the rows returned, capped server-side at 500. Bounds the read, not the `count`.",
|
|
1595
1595
|
"schema": {
|
|
1596
1596
|
"type": "integer",
|
|
1597
1597
|
"format": "int32"
|
|
@@ -3886,7 +3886,7 @@
|
|
|
3886
3886
|
},
|
|
3887
3887
|
"actionMailboxId": {
|
|
3888
3888
|
"type": "string",
|
|
3889
|
-
"description": "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
|
|
3889
|
+
"description": "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.",
|
|
3890
3890
|
"default": "None"
|
|
3891
3891
|
},
|
|
3892
3892
|
"anchorMessageId": {
|
|
@@ -4377,6 +4377,7 @@
|
|
|
4377
4377
|
"state",
|
|
4378
4378
|
"hasAnchor",
|
|
4379
4379
|
"ruleChangedAt",
|
|
4380
|
+
"actionChangedAt",
|
|
4380
4381
|
"matchOperator",
|
|
4381
4382
|
"literalClauses",
|
|
4382
4383
|
"actionLabelId",
|
|
@@ -4442,7 +4443,13 @@
|
|
|
4442
4443
|
"ruleChangedAt": {
|
|
4443
4444
|
"type": "integer",
|
|
4444
4445
|
"format": "int64",
|
|
4445
|
-
"description": "Epoch seconds, written
|
|
4446
|
+
"description": "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.",
|
|
4447
|
+
"readOnly": true
|
|
4448
|
+
},
|
|
4449
|
+
"actionChangedAt": {
|
|
4450
|
+
"type": "integer",
|
|
4451
|
+
"format": "int64",
|
|
4452
|
+
"description": "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.",
|
|
4446
4453
|
"readOnly": true
|
|
4447
4454
|
},
|
|
4448
4455
|
"matchOperator": {
|
|
@@ -4469,7 +4476,7 @@
|
|
|
4469
4476
|
},
|
|
4470
4477
|
"actionMailboxId": {
|
|
4471
4478
|
"type": "string",
|
|
4472
|
-
"description": "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
|
|
4479
|
+
"description": "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.",
|
|
4473
4480
|
"default": "None"
|
|
4474
4481
|
},
|
|
4475
4482
|
"createdAt": {
|
|
@@ -6443,10 +6450,10 @@
|
|
|
6443
6450
|
"count": {
|
|
6444
6451
|
"type": "integer",
|
|
6445
6452
|
"format": "int32",
|
|
6446
|
-
"description": "
|
|
6453
|
+
"description": "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."
|
|
6447
6454
|
}
|
|
6448
6455
|
},
|
|
6449
|
-
"description": "Aggregate response for `searchThreads`. Carries the matching rows (`items`), a\npagination `continuationToken`, and an optional `count` of
|
|
6456
|
+
"description": "Aggregate response for `searchThreads`. Carries the matching rows (`items`), a\npagination `continuationToken`, and an optional `count` of every message the\nquery matches. `items` is omitted when `results=false` (count-only); `count` is\npresent only when `count=true`. Thread-specific so the shared `ResultList<T>`\n(7 endpoints) stays untouched."
|
|
6450
6457
|
},
|
|
6451
6458
|
"RemitImap.TrustedFlag": {
|
|
6452
6459
|
"type": "object",
|
|
@@ -6737,11 +6744,11 @@
|
|
|
6737
6744
|
},
|
|
6738
6745
|
"actionMailboxId": {
|
|
6739
6746
|
"type": "string",
|
|
6740
|
-
"description": "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
|
|
6747
|
+
"description": "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.",
|
|
6741
6748
|
"default": "None"
|
|
6742
6749
|
}
|
|
6743
6750
|
},
|
|
6744
|
-
"description": "Input for updating a filter (RFC 034, reader #266). The name, predicate,\naction, scope, and expiresAt are all updatable; `ttl` is always\nserver-derived from `scope`/`expiresAt`, never client-supplied, and\n`state`/`hasAnchor`/`ruleChangedAt`/`filterId` are
|
|
6751
|
+
"description": "Input for updating a filter (RFC 034, reader #266). The name, predicate,\naction, scope, and expiresAt are all updatable; `ttl` is always\nserver-derived from `scope`/`expiresAt`, never client-supplied, and\n`state`/`hasAnchor`/`ruleChangedAt`/`actionChangedAt`/`filterId` are\nserver-derived too. A patch touching the predicate, the action, `scope`, or\n`expiresAt` bumps `ruleChangedAt`; a name-only rename never does (RFC 034\nDecision 3.2, reader #266). Only a patch touching the predicate or the\naction bumps `actionChangedAt`, the narrower signal exclusive-move\nprecedence reads (reader #384) — a scope/expiresAt-only edit leaves it\nuntouched.\n\nThe semantic anchor has no field here at all — it is set once, from\n`anchorMessageId`, only on `CreateFilterInput`. Repointing an anchor would\nsilently change what a saved filter matches with nothing visible changing;\nthat deserves a new filter, so the server rejects any attempt to smuggle an\nanchor change through this body (reader #266)."
|
|
6745
6752
|
},
|
|
6746
6753
|
"RemitImap.UpdateFlagsInput": {
|
|
6747
6754
|
"type": "object",
|