@remit/data-ports 0.0.72 → 0.0.74

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/src/types.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/data-ports",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/types.ts CHANGED
@@ -208,10 +208,12 @@ export type CreateAccountInput = Omit<
208
208
  | "smtpStartTls"
209
209
  | "smtpUsername"
210
210
  | "syncedServices"
211
+ | "grantedScopes"
211
212
  > & {
212
213
  accountId?: string;
213
214
  authType?: AccountItem["authType"];
214
215
  syncedServices?: AccountItem["syncedServices"];
216
+ grantedScopes?: AccountItem["grantedScopes"];
215
217
  smtpEnabled?: AccountItem["smtpEnabled"];
216
218
  smtpHost?: AccountItem["smtpHost"];
217
219
  smtpPort?: AccountItem["smtpPort"];
@@ -377,6 +379,7 @@ export type CreateMailboxInput = Omit<
377
379
  | "cursorState"
378
380
  | "syncStatus"
379
381
  | "pendingPath"
382
+ | "syncFailureReason"
380
383
  > & {
381
384
  namespaceType?: MailboxItem["namespaceType"];
382
385
  parentMailboxId?: MailboxItem["parentMailboxId"];
@@ -426,6 +429,7 @@ export type MailboxStatePredicate = {
426
429
  export type MailboxTransitionWrite = {
427
430
  fullPath?: string;
428
431
  pendingPath?: string | null;
432
+ syncFailureReason?: string;
429
433
  };
430
434
 
431
435
  export type MailboxTransitionIntent = MailboxStatePredicate & {