From 580ef7183eae18bf9afa413b74107f800d835bf8 Mon Sep 17 00:00:00 2001 From: kraju3 Date: Wed, 10 Jan 2024 08:23:23 -0600 Subject: [PATCH] Include email value for CodeExchange response --- src/models/auth.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/models/auth.ts b/src/models/auth.ts index c944bb65..bd63ebff 100644 --- a/src/models/auth.ts +++ b/src/models/auth.ts @@ -141,6 +141,10 @@ export interface CodeExchangeResponse { * Nylas grant ID that is now successfully created. */ grantId: string; + /** + * Email address of the grant that is created. + */ + email: string; /** * The remaining lifetime of the access token in seconds. */