@remit/api-openapi-types 0.0.65 → 0.0.67

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/package.json +1 -1
  2. package/types.d.ts +15 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -428,8 +428,8 @@ the query, and, for a VCALENDAR it could not accept,
428
428
  `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
429
429
  `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
430
430
  `missing_dt_start`, `backwards_end`, `invalid_date_time`,
431
- `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
432
- `unknown_occurrence`.
431
+ `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
432
+ `unknown_occurrence` and `unmovable_recurrence_rule`.
433
433
 
434
434
  `errors` is present only when the request failed schema validation before any
435
435
  handler ran, and names every field that was refused.
@@ -1238,6 +1238,10 @@ never from a raw content-type line — parameters carry `name=` and
1238
1238
  * Services this account syncs. Never empty. A password account holds `Mail` alone. Every account written before this field existed holds `#[AccountService.Mail]`.
1239
1239
  */
1240
1240
  syncedServices: AccountService[];
1241
+ /**
1242
+ * 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.
1243
+ */
1244
+ grantedScopes: string[];
1241
1245
  /**
1242
1246
  * Hashed password for authentication (password accounts only)
1243
1247
  */
@@ -1361,6 +1365,10 @@ never from a raw content-type line — parameters carry `name=` and
1361
1365
  * Services this account syncs. Never empty. A password account holds `Mail` alone. Every account written before this field existed holds `#[AccountService.Mail]`.
1362
1366
  */
1363
1367
  syncedServices: AccountService[];
1368
+ /**
1369
+ * 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.
1370
+ */
1371
+ grantedScopes: string[];
1364
1372
  /**
1365
1373
  * IMAP server hostname or IP address
1366
1374
  */
@@ -6292,6 +6300,10 @@ Decision 2.3).
6292
6300
  * Optional email hint for the Microsoft login page
6293
6301
  */
6294
6302
  email?: string;
6303
+ /**
6304
+ * 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.
6305
+ */
6306
+ services?: AccountService[];
6295
6307
  }
6296
6308
  export interface MicrosoftOAuthStartResponse {
6297
6309
  /**
@@ -6858,6 +6870,7 @@ declare namespace Paths {
6858
6870
  export type RequestBody = Components.Schemas.MicrosoftOAuthStartRequest;
6859
6871
  namespace Responses {
6860
6872
  export type $200 = void;
6873
+ export type $400 = void;
6861
6874
  export type $401 = void;
6862
6875
  }
6863
6876
  }