@remit/api-openapi-spec 0.0.28 → 0.0.30

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 +32 -1
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -521,6 +521,16 @@
521
521
  }
522
522
  }
523
523
  }
524
+ },
525
+ "409": {
526
+ "description": "The same flat 409 body as `FolderRoleConflict`, with one code only this endpoint can answer with.\n\n`code: \"folder_role_unresolved\"` — as everywhere else, with `details` carrying `role`, `accountId` and `reason`.\n\n`code: \"mailbox_not_settled\"` — the mailbox being appointed is still being created or deleted on the mail server, so it cannot yet hold a role. `details` carries `mailboxId` and `syncStatus`. Clearing a role is never refused this way.",
527
+ "content": {
528
+ "application/json": {
529
+ "schema": {
530
+ "$ref": "#/components/schemas/ApiError"
531
+ }
532
+ }
533
+ }
524
534
  }
525
535
  },
526
536
  "requestBody": {
@@ -1241,6 +1251,16 @@
1241
1251
  }
1242
1252
  }
1243
1253
  }
1254
+ },
1255
+ "409": {
1256
+ "description": "An action was refused because the folder role it needs is not settled. The body is flat: `code`, `message` and `details` sit at the top level, which is what the API emits. Clients branch on `code` and word their prompt from `details`, never from `message`.\n\n`code: \"folder_role_unresolved\"` — no folder holds the role this action needs. `details` carries `role`, `accountId`, and `reason`, one of: `none` (the account has no candidate folder), `stale` (the folder the user appointed is gone from the mail server), `unconfirmed` (a folder matches by name, but neither the user nor the server's own flag ever said it holds the role).",
1257
+ "content": {
1258
+ "application/json": {
1259
+ "schema": {
1260
+ "$ref": "#/components/schemas/ApiError"
1261
+ }
1262
+ }
1263
+ }
1244
1264
  }
1245
1265
  },
1246
1266
  "x-amazon-apigateway-integration": {
@@ -1836,6 +1856,16 @@
1836
1856
  }
1837
1857
  }
1838
1858
  }
1859
+ },
1860
+ "409": {
1861
+ "description": "An action was refused because the folder role it needs is not settled. The body is flat: `code`, `message` and `details` sit at the top level, which is what the API emits. Clients branch on `code` and word their prompt from `details`, never from `message`.\n\n`code: \"folder_role_unresolved\"` — no folder holds the role this action needs. `details` carries `role`, `accountId`, and `reason`, one of: `none` (the account has no candidate folder), `stale` (the folder the user appointed is gone from the mail server), `unconfirmed` (a folder matches by name, but neither the user nor the server's own flag ever said it holds the role).",
1862
+ "content": {
1863
+ "application/json": {
1864
+ "schema": {
1865
+ "$ref": "#/components/schemas/ApiError"
1866
+ }
1867
+ }
1868
+ }
1839
1869
  }
1840
1870
  },
1841
1871
  "requestBody": {
@@ -4407,10 +4437,11 @@
4407
4437
  "enum": [
4408
4438
  "Corresponds",
4409
4439
  "Lookalike",
4440
+ "ForeignAddress",
4410
4441
  "Unrelated",
4411
4442
  "NoClaim"
4412
4443
  ],
4413
- "description": "How the From display name relates to the From domain. `Corresponds` — the name is contained in the domain. `Lookalike` — the name is one or two characters away from a domain label. `Unrelated` — no relation. `NoClaim` — the name is empty or is the address itself, so it claims no identity."
4444
+ "description": "How the From display name relates to the From domain. `Corresponds` — the name is contained in the domain. `Lookalike` — the name is one or two characters away from a domain label. `ForeignAddress` — the name spells out an email address at a domain the sender does not send from. `Unrelated` — no relation. `NoClaim` — the name is empty, or is an address at the sending domain, so it claims no other identity."
4414
4445
  },
4415
4446
  "RemitImap.EmptyTrashResponse": {
4416
4447
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-spec",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "Remit API OpenAPI 3 document, generated from TypeSpec.",
5
5
  "exports": {
6
6
  ".": "./openapi.json",