@remit/api-openapi-spec 0.0.9 → 0.0.11

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 +31 -7
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -3086,10 +3086,6 @@
3086
3086
  },
3087
3087
  "RemitImap.AutoMovedInfo": {
3088
3088
  "type": "object",
3089
- "required": [
3090
- "action",
3091
- "fromPlacement"
3092
- ],
3093
3089
  "properties": {
3094
3090
  "action": {
3095
3091
  "allOf": [
@@ -3097,14 +3093,38 @@
3097
3093
  "$ref": "#/components/schemas/RemitImap.PlacementAction"
3098
3094
  }
3099
3095
  ],
3100
- "description": "Direction Remit moved the message: MoveToInbox | MoveToJunk. The implied destination lets the client tell whether the move is still in effect."
3096
+ "description": "Classifier move only: direction Remit moved the message MoveToInbox | MoveToJunk. Absent for a standing-filter move, which names its destination via `destinationMailboxId` instead."
3101
3097
  },
3102
3098
  "fromPlacement": {
3103
3099
  "type": "string",
3104
- "description": "Folder role the message was moved from: inbox | junk | other. Used to render \"moved from Junk\" and to resolve the undo target client-side via MailboxRole."
3100
+ "description": "Classifier move only: folder role the message was moved from inbox | junk | other. Used to render \"moved from Junk\" and to resolve the undo target via MailboxRole. Absent for a standing-filter move, which names its source via `fromMailboxId`."
3101
+ },
3102
+ "fromMailboxId": {
3103
+ "allOf": [
3104
+ {
3105
+ "$ref": "#/components/schemas/UUID"
3106
+ }
3107
+ ],
3108
+ "description": "Standing-filter move only: the mailbox the message was moved out of. The undo target — the client resolves its display name for the badge and moves the message back here."
3109
+ },
3110
+ "destinationMailboxId": {
3111
+ "allOf": [
3112
+ {
3113
+ "$ref": "#/components/schemas/UUID"
3114
+ }
3115
+ ],
3116
+ "description": "Standing-filter move only: the mailbox the filter moved the message into. The move is still in effect while the message sits here."
3117
+ },
3118
+ "filterId": {
3119
+ "allOf": [
3120
+ {
3121
+ "$ref": "#/components/schemas/UUID"
3122
+ }
3123
+ ],
3124
+ "description": "Standing-filter move only: the filter that moved the message, for the Settings › Filters link. Undo does not disable it."
3105
3125
  }
3106
3126
  },
3107
- "description": "Present only when Remit auto-moved this message on body-sync (a confident, non-dry-run move). Absent means the message was not auto-moved by Remit — clients treat absence as no indicator."
3127
+ "description": "Present only when Remit auto-moved this message on body-sync. Two shapes share this model: a classifier placement move carries `action` + `fromPlacement` (Inbox/Junk direction); a standing-filter move carries `fromMailboxId` + `destinationMailboxId` + `filterId` (an arbitrary destination folder). Absent means the message was not auto-moved by Remit — clients treat absence as no indicator."
3108
3128
  },
3109
3129
  "RemitImap.BlockedFlag": {
3110
3130
  "type": "object",
@@ -4791,6 +4811,10 @@
4791
4811
  "type": "string"
4792
4812
  },
4793
4813
  "description": "Ids of the matching messages, bounded to the same cap the apply pass uses"
4814
+ },
4815
+ "semanticUnavailable": {
4816
+ "type": "boolean",
4817
+ "description": "True when the semantic widen could not run because this deployment ships no vector pipeline (self-host without sqlite-vec / the embedding model). The matched set is then the literal matches only, or empty for an anchor-only predicate; literal search is unaffected. Absent on deployments where the widen ran."
4794
4818
  }
4795
4819
  },
4796
4820
  "description": "Response body for POST /accounts/{accountId}/organize/preview — the messages the same matcher would apply the action to, without applying it. Bounded server-side."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-spec",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "Remit API OpenAPI 3 document, generated from TypeSpec.",
5
5
  "exports": {
6
6
  ".": "./openapi.json",