@remit/api-openapi-spec 0.0.59 → 0.0.60
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 +34 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -6363,6 +6363,7 @@
|
|
|
6363
6363
|
"username",
|
|
6364
6364
|
"email",
|
|
6365
6365
|
"authType",
|
|
6366
|
+
"syncedServices",
|
|
6366
6367
|
"imapHost",
|
|
6367
6368
|
"imapPort",
|
|
6368
6369
|
"imapTls",
|
|
@@ -6419,6 +6420,17 @@
|
|
|
6419
6420
|
"default": "password",
|
|
6420
6421
|
"readOnly": true
|
|
6421
6422
|
},
|
|
6423
|
+
"syncedServices": {
|
|
6424
|
+
"type": "array",
|
|
6425
|
+
"items": {
|
|
6426
|
+
"$ref": "#/components/schemas/RemitImap.AccountService"
|
|
6427
|
+
},
|
|
6428
|
+
"description": "Services this account syncs. Never empty. A password account holds `Mail` alone. Every account written before this field existed holds `#[AccountService.Mail]`.",
|
|
6429
|
+
"default": [
|
|
6430
|
+
"Mail"
|
|
6431
|
+
],
|
|
6432
|
+
"readOnly": true
|
|
6433
|
+
},
|
|
6422
6434
|
"imapHost": {
|
|
6423
6435
|
"type": "string",
|
|
6424
6436
|
"minLength": 1,
|
|
@@ -6583,6 +6595,14 @@
|
|
|
6583
6595
|
},
|
|
6584
6596
|
"description": "Account response (excluding sensitive fields). Display name, mute flag, and signatures are sourced from per-account AccountSetting rows (RFC 032), not the Account entity, but are surfaced here so the response shape is unchanged."
|
|
6585
6597
|
},
|
|
6598
|
+
"RemitImap.AccountService": {
|
|
6599
|
+
"type": "string",
|
|
6600
|
+
"enum": [
|
|
6601
|
+
"Mail",
|
|
6602
|
+
"Calendar"
|
|
6603
|
+
],
|
|
6604
|
+
"description": "A service an account syncs. `Mail` covers messages, folders and sending; `Calendar` covers a provider calendar read into the calendar store."
|
|
6605
|
+
},
|
|
6586
6606
|
"RemitImap.AccountSyncStatusResponse": {
|
|
6587
6607
|
"type": "object",
|
|
6588
6608
|
"required": [
|
|
@@ -8216,6 +8236,13 @@
|
|
|
8216
8236
|
],
|
|
8217
8237
|
"description": "Authentication mechanism for this account. Defaults to `password`. Pass `oauthMicrosoft` only via the OAuth connect flow (POST /accounts/oauth/microsoft/start)."
|
|
8218
8238
|
},
|
|
8239
|
+
"syncedServices": {
|
|
8240
|
+
"type": "array",
|
|
8241
|
+
"items": {
|
|
8242
|
+
"$ref": "#/components/schemas/RemitImap.AccountService"
|
|
8243
|
+
},
|
|
8244
|
+
"description": "Services this account syncs. Defaults to `#[Mail]`. Refused when empty, and refused for a password account unless it is exactly `#[Mail]`."
|
|
8245
|
+
},
|
|
8219
8246
|
"password": {
|
|
8220
8247
|
"type": "string",
|
|
8221
8248
|
"format": "password",
|
|
@@ -11834,6 +11861,13 @@
|
|
|
11834
11861
|
"type": "boolean",
|
|
11835
11862
|
"description": "Enable/disable account"
|
|
11836
11863
|
},
|
|
11864
|
+
"syncedServices": {
|
|
11865
|
+
"type": "array",
|
|
11866
|
+
"items": {
|
|
11867
|
+
"$ref": "#/components/schemas/RemitImap.AccountService"
|
|
11868
|
+
},
|
|
11869
|
+
"description": "Replaces the stored service set outright. Refused when empty, on a password account unless it is exactly `#[Mail]`, or when it names a service the account's OAuth grant does not cover. That last case is a consent round trip through the OAuth start route."
|
|
11870
|
+
},
|
|
11837
11871
|
"signaturePlainText": {
|
|
11838
11872
|
"type": "string",
|
|
11839
11873
|
"description": "Plain text email signature"
|