@bigfootai/bigfoot-types 2.6.10 → 2.6.11

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/model.ts +7 -7
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -192,8 +192,7 @@ export interface Subscriptions {
192
192
  linkDomains: string[];
193
193
  }
194
194
 
195
- export interface ConnectedProviderRegistration {
196
- connectionId: string;
195
+ export interface Credential {
197
196
  email: string;
198
197
  profile: any;
199
198
  accessToken: string;
@@ -201,15 +200,16 @@ export interface ConnectedProviderRegistration {
201
200
  instanceUrl?: string;
202
201
  }
203
202
 
203
+ export interface ConnectedProviderRegistration {
204
+ connectionId: string;
205
+ credential: Credential;
206
+ }
207
+
204
208
  export interface ConnectedProvider {
205
209
  providerId: string;
206
210
  connectionId: string;
207
211
  application: string;
208
- email?: string;
209
- instanceUrl?: string;
210
- profile?: any;
211
- accessToken?: string;
212
- refreshToken?: string;
212
+ credential?: Credential;
213
213
  dateCreated: number;
214
214
  dateUpdated: number;
215
215
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.10",
4
+ "version": "2.6.11",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",