@remit/api-openapi-spec 0.0.44 → 0.0.45
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 +61 -2
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -7871,6 +7871,16 @@
|
|
|
7871
7871
|
},
|
|
7872
7872
|
"description": "Recorded when the user reported this message as spam via `POST /messages/report-spam`. Present means the report stands; absent means never reported, or reported and then undone via `POST /messages/not-spam` (which clears it). Backs the \"Reported as spam · Undo\" affordance independent of the message's current folder — the underlying move can settle, fail, or no-op (already in Junk) without changing whether the report itself is shown."
|
|
7873
7873
|
},
|
|
7874
|
+
"RemitImap.MessageStatus": {
|
|
7875
|
+
"type": "string",
|
|
7876
|
+
"enum": [
|
|
7877
|
+
"active",
|
|
7878
|
+
"deleting",
|
|
7879
|
+
"deleted",
|
|
7880
|
+
"moving"
|
|
7881
|
+
],
|
|
7882
|
+
"description": "Message lifecycle status for move/delete operations"
|
|
7883
|
+
},
|
|
7874
7884
|
"RemitImap.MessageSummaryResponse": {
|
|
7875
7885
|
"type": "object",
|
|
7876
7886
|
"required": [
|
|
@@ -7878,7 +7888,9 @@
|
|
|
7878
7888
|
"mailboxId",
|
|
7879
7889
|
"uid",
|
|
7880
7890
|
"rfc822Size",
|
|
7881
|
-
"internalDate"
|
|
7891
|
+
"internalDate",
|
|
7892
|
+
"status",
|
|
7893
|
+
"syncStatus"
|
|
7882
7894
|
],
|
|
7883
7895
|
"properties": {
|
|
7884
7896
|
"messageId": {
|
|
@@ -7924,6 +7936,26 @@
|
|
|
7924
7936
|
"description": "Message-ID header value for quick reference",
|
|
7925
7937
|
"readOnly": true
|
|
7926
7938
|
},
|
|
7939
|
+
"status": {
|
|
7940
|
+
"allOf": [
|
|
7941
|
+
{
|
|
7942
|
+
"$ref": "#/components/schemas/RemitImap.MessageStatus"
|
|
7943
|
+
}
|
|
7944
|
+
],
|
|
7945
|
+
"description": "Message lifecycle status for move/delete operations. Defaults to `active` (normal, visible).",
|
|
7946
|
+
"default": "active",
|
|
7947
|
+
"readOnly": true
|
|
7948
|
+
},
|
|
7949
|
+
"syncStatus": {
|
|
7950
|
+
"allOf": [
|
|
7951
|
+
{
|
|
7952
|
+
"$ref": "#/components/schemas/RemitImap.MessageSyncStatus"
|
|
7953
|
+
}
|
|
7954
|
+
],
|
|
7955
|
+
"description": "Sync status for move/delete operations. The `synced` column default only applies to a row written without the field: the repository always supplies one, and an ordinary inbound sync writes `pending`, which nothing later promotes. So `pending` here does not mean an outstanding move or delete — `status` names that, and `failed` marks a mutation that gave up.",
|
|
7956
|
+
"default": "synced",
|
|
7957
|
+
"readOnly": true
|
|
7958
|
+
},
|
|
7927
7959
|
"authenticity": {
|
|
7928
7960
|
"allOf": [
|
|
7929
7961
|
{
|
|
@@ -7959,6 +7991,15 @@
|
|
|
7959
7991
|
},
|
|
7960
7992
|
"description": "Core message metadata for API responses"
|
|
7961
7993
|
},
|
|
7994
|
+
"RemitImap.MessageSyncStatus": {
|
|
7995
|
+
"type": "string",
|
|
7996
|
+
"enum": [
|
|
7997
|
+
"synced",
|
|
7998
|
+
"pending",
|
|
7999
|
+
"failed"
|
|
8000
|
+
],
|
|
8001
|
+
"description": "Sync status for message move/delete operations"
|
|
8002
|
+
},
|
|
7962
8003
|
"RemitImap.MintOutboxAttachmentInput": {
|
|
7963
8004
|
"type": "object",
|
|
7964
8005
|
"required": [
|
|
@@ -9494,7 +9535,9 @@
|
|
|
9494
9535
|
"updatedAt",
|
|
9495
9536
|
"category",
|
|
9496
9537
|
"senderTrust",
|
|
9497
|
-
"muted"
|
|
9538
|
+
"muted",
|
|
9539
|
+
"status",
|
|
9540
|
+
"syncStatus"
|
|
9498
9541
|
],
|
|
9499
9542
|
"properties": {
|
|
9500
9543
|
"threadMessageId": {
|
|
@@ -9640,6 +9683,22 @@
|
|
|
9640
9683
|
],
|
|
9641
9684
|
"description": "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."
|
|
9642
9685
|
},
|
|
9686
|
+
"status": {
|
|
9687
|
+
"allOf": [
|
|
9688
|
+
{
|
|
9689
|
+
"$ref": "#/components/schemas/RemitImap.MessageStatus"
|
|
9690
|
+
}
|
|
9691
|
+
],
|
|
9692
|
+
"description": "Mutation lifecycle of the underlying Message, projected at read time — the ThreadMessage row has no column of its own. `active` means no move or delete is outstanding; `moving` or `deleting` means one is, and this row's folder is a local write the mail server has not confirmed."
|
|
9693
|
+
},
|
|
9694
|
+
"syncStatus": {
|
|
9695
|
+
"allOf": [
|
|
9696
|
+
{
|
|
9697
|
+
"$ref": "#/components/schemas/RemitImap.MessageSyncStatus"
|
|
9698
|
+
}
|
|
9699
|
+
],
|
|
9700
|
+
"description": "Sync status of the underlying Message, projected at read time. Read it WITH `status`, never alone: `message-move`, `message-delete` and `message-copy` all write `failed` on an ordinary transient attempt before a redelivery that usually succeeds, so `failed` by itself does not mean a mutation gave up. One pair does prove one: `active` + `failed`, written only by `abandonDelete` — a delete Remit refused to run and handed back. Nothing else here is decidable. A move that gave up leaves `moving` + `failed`, the same pair its first dropped connection leaves; a delete that exhausted its retries is repaired to `active` + `synced` and reads as settled; `flag-push` and `placement-move-push` never write either field."
|
|
9701
|
+
},
|
|
9643
9702
|
"accountId": {
|
|
9644
9703
|
"allOf": [
|
|
9645
9704
|
{
|