@remit/api-openapi-spec 0.0.93 → 0.0.94
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 +66 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -11957,6 +11957,56 @@
|
|
|
11957
11957
|
],
|
|
11958
11958
|
"description": "Which mutation a message's placement gave up on. Read it only while\n`syncStatus` is `abandoned` — outside that it is `none` and says nothing,\nthe way `originalUid` says nothing once a placement has settled\n(`docs/architecture/imap-mutations.md` R3).\n\nIt exists because a hand-back erases the evidence: the give-up puts `status`\nback to `active`, and `status` was the only field naming the mutation that\nwas outstanding. Without this the client can see that something was\nabandoned and cannot see what, which is how a move that gave up came to be\nexplained to the user as a failed delete."
|
|
11959
11959
|
},
|
|
11960
|
+
"RemitImap.MessagePlacementVerdict": {
|
|
11961
|
+
"type": "object",
|
|
11962
|
+
"required": [
|
|
11963
|
+
"action",
|
|
11964
|
+
"confidence",
|
|
11965
|
+
"fromPlacement",
|
|
11966
|
+
"reasons",
|
|
11967
|
+
"dryRun",
|
|
11968
|
+
"decidedAt"
|
|
11969
|
+
],
|
|
11970
|
+
"properties": {
|
|
11971
|
+
"action": {
|
|
11972
|
+
"allOf": [
|
|
11973
|
+
{
|
|
11974
|
+
"$ref": "#/components/schemas/RemitImap.PlacementAction"
|
|
11975
|
+
}
|
|
11976
|
+
],
|
|
11977
|
+
"description": "The direction Remit decided to move the message."
|
|
11978
|
+
},
|
|
11979
|
+
"confidence": {
|
|
11980
|
+
"allOf": [
|
|
11981
|
+
{
|
|
11982
|
+
"$ref": "#/components/schemas/RemitImap.PlacementConfidence"
|
|
11983
|
+
}
|
|
11984
|
+
],
|
|
11985
|
+
"description": "Confidence of the verdict. A Junk arrival not judged junk moves to the Inbox at either confidence, and one judged junk stays in Junk. Outside Junk only a `Confident` verdict moves the message."
|
|
11986
|
+
},
|
|
11987
|
+
"fromPlacement": {
|
|
11988
|
+
"type": "string",
|
|
11989
|
+
"description": "The folder the message was in when the verdict was made: inbox | junk | other."
|
|
11990
|
+
},
|
|
11991
|
+
"reasons": {
|
|
11992
|
+
"type": "array",
|
|
11993
|
+
"items": {
|
|
11994
|
+
"type": "string"
|
|
11995
|
+
},
|
|
11996
|
+
"description": "Deterministic signals the verdict was based on, for diagnostics."
|
|
11997
|
+
},
|
|
11998
|
+
"dryRun": {
|
|
11999
|
+
"type": "boolean",
|
|
12000
|
+
"description": "True when the dark-ship flag was off, so the move was computed but not enqueued (would-move only). False when a real IMAP move was enqueued."
|
|
12001
|
+
},
|
|
12002
|
+
"decidedAt": {
|
|
12003
|
+
"type": "integer",
|
|
12004
|
+
"format": "int64",
|
|
12005
|
+
"description": "Body-sync timestamp the verdict was decided at (epoch millis)."
|
|
12006
|
+
}
|
|
12007
|
+
},
|
|
12008
|
+
"description": "Remit's placement decision for a message, recorded at body-sync time. Present only when Remit decided to act (action != leave); absent when the message was left in place or synced before placement rolled out. Written in dry-run too, so the dark-ship verdict distribution is queryable before moves are enabled."
|
|
12009
|
+
},
|
|
11960
12010
|
"RemitImap.MessageReferenceResponse": {
|
|
11961
12011
|
"type": "object",
|
|
11962
12012
|
"required": [
|
|
@@ -13068,6 +13118,14 @@
|
|
|
13068
13118
|
],
|
|
13069
13119
|
"description": "Actionable placement verdict — the direction Remit decided to move a message. `leave` is not represented: a left-in-place verdict means the placement sub-model is absent."
|
|
13070
13120
|
},
|
|
13121
|
+
"RemitImap.PlacementConfidence": {
|
|
13122
|
+
"type": "string",
|
|
13123
|
+
"enum": [
|
|
13124
|
+
"Confident",
|
|
13125
|
+
"Unsure"
|
|
13126
|
+
],
|
|
13127
|
+
"description": "Confidence of a placement verdict. `Confident` verdicts move mail (when the dark-ship flag is on); `Unsure` verdicts are recorded but never moved."
|
|
13128
|
+
},
|
|
13071
13129
|
"RemitImap.QuarantineFailureCode": {
|
|
13072
13130
|
"type": "string",
|
|
13073
13131
|
"enum": [
|
|
@@ -14237,6 +14295,14 @@
|
|
|
14237
14295
|
}
|
|
14238
14296
|
],
|
|
14239
14297
|
"description": "Present when the user reported this message as spam and the report has not been undone, projected from the underlying Message row. Backs the \"Reported as spam · Undo\" affordance in list views."
|
|
14298
|
+
},
|
|
14299
|
+
"placementVerdict": {
|
|
14300
|
+
"allOf": [
|
|
14301
|
+
{
|
|
14302
|
+
"$ref": "#/components/schemas/RemitImap.MessagePlacementVerdict"
|
|
14303
|
+
}
|
|
14304
|
+
],
|
|
14305
|
+
"description": "Remit's placement verdict for this message, projected from the underlying Message row. Absent for a message judged before placement verdicts were recorded, or one Remit left in place."
|
|
14240
14306
|
}
|
|
14241
14307
|
},
|
|
14242
14308
|
"description": "Thread message item returned by list/search operations. `senderTrust` is attached at read time via batch-fetch so the inbox row can render its badge without a per-row round trip. `category` is served from the ThreadMessage row itself, which is also the row the category filter matches, so the badge and the filter cannot disagree."
|
package/package.json
CHANGED