@remit/api-openapi-spec 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.
Files changed (2) hide show
  1. package/openapi.json +18 -6
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -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 ruleChangedAt wins. `\"None\"` means no move action.",
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 only when the predicate (literalClauses, hasAnchor) or the action (actionLabelId, actionMailboxId) changes — never on a cosmetic rename. Backs most-recently-changed-filter-wins precedence for the exclusive move action (RFC 034 Decision 3.2). Distinct from ElectroDB's own updatedAt, which bumps on any write.",
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 ruleChangedAt wins. `\"None\"` means no move action.",
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": {
@@ -6249,7 +6256,8 @@
6249
6256
  "createdAt",
6250
6257
  "updatedAt",
6251
6258
  "category",
6252
- "senderTrust"
6259
+ "senderTrust",
6260
+ "muted"
6253
6261
  ],
6254
6262
  "properties": {
6255
6263
  "threadMessageId": {
@@ -6383,6 +6391,10 @@
6383
6391
  ],
6384
6392
  "description": "Trust level for the From address, derived from AddressFlags at read time. Defaults to `unknown` when no Address row resolves."
6385
6393
  },
6394
+ "muted": {
6395
+ "type": "boolean",
6396
+ "description": "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."
6397
+ },
6386
6398
  "authenticity": {
6387
6399
  "allOf": [
6388
6400
  {
@@ -6732,11 +6744,11 @@
6732
6744
  },
6733
6745
  "actionMailboxId": {
6734
6746
  "type": "string",
6735
- "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 ruleChangedAt wins. `\"None\"` means no move action.",
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.",
6736
6748
  "default": "None"
6737
6749
  }
6738
6750
  },
6739
- "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 server-derived too. A\npatch touching the predicate, the action, `scope`, or `expiresAt` bumps\n`ruleChangedAt`; a name-only rename never does (RFC 034 Decision 3.2, reader\n#266).\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)."
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)."
6740
6752
  },
6741
6753
  "RemitImap.UpdateFlagsInput": {
6742
6754
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-spec",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "Remit API OpenAPI 3 document, generated from TypeSpec.",
5
5
  "exports": {
6
6
  ".": "./openapi.json",