@remit/api-openapi-spec 0.0.51 → 0.0.52

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 +12 -1
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -7582,6 +7582,7 @@
7582
7582
  "lastSyncUid",
7583
7583
  "highWaterMarkUid",
7584
7584
  "lastMessageSyncAt",
7585
+ "syncStatus",
7585
7586
  "createdAt",
7586
7587
  "updatedAt"
7587
7588
  ],
@@ -7679,7 +7680,17 @@
7679
7680
  "$ref": "#/components/schemas/RemitImap.MailboxSyncStatus"
7680
7681
  }
7681
7682
  ],
7682
- "description": "Sync status for mailbox operations (create, rename, delete)",
7683
+ "description": "Which folder mutation is outstanding, read as a pair with `pendingPath` (docs/architecture/folder-rename-and-delete.md D1, D3). Total: a row written without one is `synced`, because a folder the server just told us about is confirmed. Four values carry six states — `pending` covers a create and a rename in flight, `failed` covers a failed rename and a failed delete — so every guard and every transition predicate names the pair, never this field alone.",
7684
+ "default": "synced",
7685
+ "readOnly": true
7686
+ },
7687
+ "pendingPath": {
7688
+ "allOf": [
7689
+ {
7690
+ "$ref": "#/components/schemas/String512"
7691
+ }
7692
+ ],
7693
+ "description": "The path a recorded rename is moving this folder to. Absent unless a rename is in flight or has just failed, which is what tells a create in flight from a rename in flight (D2, D3). `fullPath` stays the path the server holds throughout, so a failed rename is this field cleared rather than a subtree of paths restored. Invariant: non-null only while `syncStatus` is `pending` or `failed`.",
7683
7694
  "readOnly": true
7684
7695
  },
7685
7696
  "specialUse": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-spec",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "description": "Remit API OpenAPI 3 document, generated from TypeSpec.",
5
5
  "exports": {
6
6
  ".": "./openapi.json",