@remit/api-openapi-spec 0.0.63 → 0.0.64

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 +28 -0
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -145,6 +145,16 @@
145
145
  }
146
146
  }
147
147
  },
148
+ "400": {
149
+ "description": "The request was refused as malformed or contradictory. `code` is\n`invalid_request` where nothing more specific is known, and the refusal's own\ntoken where there is one.\n\nThe calendar surface answers with the reason it read the request by:\n`invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,\n`unknown_time_zone` and `default_calendar_undeletable` on the collection and\nthe query, and, for a VCALENDAR it could not accept,\n`malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,\n`no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,\n`missing_dt_start`, `backwards_end`, `invalid_date_time`,\n`invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,\n`unknown_occurrence` and `unmovable_recurrence_rule`.\n\n`errors` is present only when the request failed schema validation before any\nhandler ran, and names every field that was refused.",
150
+ "content": {
151
+ "application/json": {
152
+ "schema": {
153
+ "$ref": "#/components/schemas/ValidationError"
154
+ }
155
+ }
156
+ }
157
+ },
148
158
  "401": {
149
159
  "description": "The request carried no usable credential. `code` is `unauthorized`.",
150
160
  "content": {
@@ -6160,6 +6170,14 @@
6160
6170
  "email": {
6161
6171
  "type": "string",
6162
6172
  "description": "Optional email hint for the Microsoft login page"
6173
+ },
6174
+ "services": {
6175
+ "type": "array",
6176
+ "items": {
6177
+ "$ref": "#/components/schemas/RemitImap.AccountService"
6178
+ },
6179
+ "minItems": 1,
6180
+ "description": "Services to request consent for. The authorization URL asks for the scopes these map to. Defaults to `#[Mail]`; refused when empty. Adding a service to a connected account is this same request carrying the full set the account should sync."
6163
6181
  }
6164
6182
  }
6165
6183
  },
@@ -6375,6 +6393,7 @@
6375
6393
  "email",
6376
6394
  "authType",
6377
6395
  "syncedServices",
6396
+ "grantedScopes",
6378
6397
  "imapHost",
6379
6398
  "imapPort",
6380
6399
  "imapTls",
@@ -6442,6 +6461,15 @@
6442
6461
  ],
6443
6462
  "readOnly": true
6444
6463
  },
6464
+ "grantedScopes": {
6465
+ "type": "array",
6466
+ "items": {
6467
+ "type": "string"
6468
+ },
6469
+ "description": "OAuth scopes the provider confirmed on the last consent, as full scope URIs. Empty on a password account. A Microsoft account can only select a service these scopes cover; one that lacks it goes back through POST /accounts/oauth/microsoft/start carrying that service.",
6470
+ "default": [],
6471
+ "readOnly": true
6472
+ },
6445
6473
  "imapHost": {
6446
6474
  "type": "string",
6447
6475
  "minLength": 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-spec",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "description": "Remit API OpenAPI 3 document, generated from TypeSpec.",
5
5
  "exports": {
6
6
  ".": "./openapi.json",