@bigfootai/bigfoot-types 2.6.10 → 2.6.12

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 +8 -7
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -192,24 +192,25 @@ 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;
200
199
  refreshToken?: string;
201
200
  instanceUrl?: string;
201
+ dateExpiry?: number;
202
+ }
203
+
204
+ export interface ConnectedProviderRegistration {
205
+ connectionId: string;
206
+ credential: Credential;
202
207
  }
203
208
 
204
209
  export interface ConnectedProvider {
205
210
  providerId: string;
206
211
  connectionId: string;
207
212
  application: string;
208
- email?: string;
209
- instanceUrl?: string;
210
- profile?: any;
211
- accessToken?: string;
212
- refreshToken?: string;
213
+ credential?: Credential;
213
214
  dateCreated: number;
214
215
  dateUpdated: number;
215
216
  }
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.12",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",