@remit/api-openapi-spec 0.0.101 → 0.0.102
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 +85 -1
- package/package.json +1 -1
- package/request-validators.mjs +2 -2
package/openapi.json
CHANGED
|
@@ -6925,6 +6925,15 @@
|
|
|
6925
6925
|
"$ref": "#/components/schemas/UUID"
|
|
6926
6926
|
}
|
|
6927
6927
|
},
|
|
6928
|
+
{
|
|
6929
|
+
"name": "labelId",
|
|
6930
|
+
"in": "query",
|
|
6931
|
+
"required": false,
|
|
6932
|
+
"description": "List one label across every account: replaces the INBOX scope with that label's folder in each non-muted account. Composes with `query`, the field and row filters, `accountId`, `mailboxId` and `count` as a further narrowing of the same scope. A label the caller does not own matches nothing.",
|
|
6933
|
+
"schema": {
|
|
6934
|
+
"$ref": "#/components/schemas/UUID"
|
|
6935
|
+
}
|
|
6936
|
+
},
|
|
6928
6937
|
{
|
|
6929
6938
|
"name": "muted",
|
|
6930
6939
|
"in": "query",
|
|
@@ -11932,6 +11941,73 @@
|
|
|
11932
11941
|
],
|
|
11933
11942
|
"description": "Display color for a user-defined Label (RFC 030)."
|
|
11934
11943
|
},
|
|
11944
|
+
"RemitImap.LabelFolder": {
|
|
11945
|
+
"anyOf": [
|
|
11946
|
+
{
|
|
11947
|
+
"$ref": "#/components/schemas/RemitImap.LabelFolderPresent"
|
|
11948
|
+
},
|
|
11949
|
+
{
|
|
11950
|
+
"$ref": "#/components/schemas/RemitImap.LabelFolderMissing"
|
|
11951
|
+
}
|
|
11952
|
+
],
|
|
11953
|
+
"description": "Where a label lives in one mail account, the same shape the MCP `list_labels` tool returns."
|
|
11954
|
+
},
|
|
11955
|
+
"RemitImap.LabelFolderMissing": {
|
|
11956
|
+
"type": "object",
|
|
11957
|
+
"required": [
|
|
11958
|
+
"accountId",
|
|
11959
|
+
"state"
|
|
11960
|
+
],
|
|
11961
|
+
"properties": {
|
|
11962
|
+
"accountId": {
|
|
11963
|
+
"$ref": "#/components/schemas/UUID"
|
|
11964
|
+
},
|
|
11965
|
+
"state": {
|
|
11966
|
+
"type": "string",
|
|
11967
|
+
"enum": [
|
|
11968
|
+
"Missing"
|
|
11969
|
+
]
|
|
11970
|
+
}
|
|
11971
|
+
},
|
|
11972
|
+
"description": "A mail account that holds no folder for the label."
|
|
11973
|
+
},
|
|
11974
|
+
"RemitImap.LabelFolderPresent": {
|
|
11975
|
+
"type": "object",
|
|
11976
|
+
"required": [
|
|
11977
|
+
"accountId",
|
|
11978
|
+
"state",
|
|
11979
|
+
"mailboxId",
|
|
11980
|
+
"fullPath"
|
|
11981
|
+
],
|
|
11982
|
+
"properties": {
|
|
11983
|
+
"accountId": {
|
|
11984
|
+
"$ref": "#/components/schemas/UUID"
|
|
11985
|
+
},
|
|
11986
|
+
"state": {
|
|
11987
|
+
"anyOf": [
|
|
11988
|
+
{
|
|
11989
|
+
"type": "string",
|
|
11990
|
+
"enum": [
|
|
11991
|
+
"Present"
|
|
11992
|
+
]
|
|
11993
|
+
},
|
|
11994
|
+
{
|
|
11995
|
+
"type": "string",
|
|
11996
|
+
"enum": [
|
|
11997
|
+
"Pending"
|
|
11998
|
+
]
|
|
11999
|
+
}
|
|
12000
|
+
]
|
|
12001
|
+
},
|
|
12002
|
+
"mailboxId": {
|
|
12003
|
+
"$ref": "#/components/schemas/UUID"
|
|
12004
|
+
},
|
|
12005
|
+
"fullPath": {
|
|
12006
|
+
"$ref": "#/components/schemas/String512"
|
|
12007
|
+
}
|
|
12008
|
+
},
|
|
12009
|
+
"description": "A label's folder in one mail account, as `Present` (synced) or `Pending` (the mail server has not confirmed it yet)."
|
|
12010
|
+
},
|
|
11935
12011
|
"RemitImap.LabelResponse": {
|
|
11936
12012
|
"type": "object",
|
|
11937
12013
|
"required": [
|
|
@@ -11941,7 +12017,8 @@
|
|
|
11941
12017
|
"color",
|
|
11942
12018
|
"createdAt",
|
|
11943
12019
|
"updatedAt",
|
|
11944
|
-
"filterCount"
|
|
12020
|
+
"filterCount",
|
|
12021
|
+
"folders"
|
|
11945
12022
|
],
|
|
11946
12023
|
"properties": {
|
|
11947
12024
|
"labelId": {
|
|
@@ -11993,6 +12070,13 @@
|
|
|
11993
12070
|
"type": "integer",
|
|
11994
12071
|
"format": "int32",
|
|
11995
12072
|
"description": "Number of the account's filters whose `actionLabelId` is this label. Deleting the label deletes every one of them (issue #26) — a client shows this count in its delete confirmation."
|
|
12073
|
+
},
|
|
12074
|
+
"folders": {
|
|
12075
|
+
"type": "array",
|
|
12076
|
+
"items": {
|
|
12077
|
+
"$ref": "#/components/schemas/RemitImap.LabelFolder"
|
|
12078
|
+
},
|
|
12079
|
+
"description": "The label's folder in every mail account of the config, one entry per account."
|
|
11996
12080
|
}
|
|
11997
12081
|
},
|
|
11998
12082
|
"description": "Label item returned by list/get/create/update operations (RFC 030). `filterCount` is computed at read time so a client can name the blast radius before confirming a delete — the delete itself never blocks on it (issue #26)."
|
package/package.json
CHANGED