@bigfootai/bigfoot-types 2.6.1 → 2.6.3

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 +12 -7
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -164,13 +164,9 @@ export interface Step {
164
164
  status: StepStatus;
165
165
  }
166
166
 
167
- export interface DateEntry extends MachineLearningEntry {
168
- dateStart: number;
169
- dateEnd: number;
170
- }
171
-
172
167
  export interface EntityEntry extends MachineLearningEntry {
173
168
  name: string;
169
+ score: number;
174
170
  }
175
171
 
176
172
  export interface MachineLearningEntry {
@@ -237,14 +233,23 @@ export class BusinessObject extends Primitive {
237
233
  document: Document; // The business object formatted as a document for ML to ingest
238
234
  }
239
235
 
236
+ export class ConnectedProviderRegistration {
237
+ email: string;
238
+ profile: any;
239
+ accessToken: string;
240
+ refreshToken?: string;
241
+ instanceUrl?: string;
242
+ }
243
+
240
244
  export class ConnectedProvider {
241
245
  providerId: string;
242
246
  application: string;
243
247
  bigfootAccessToken: string;
244
248
  email?: string;
245
249
  instanceUrl?: string;
246
- profile: any;
250
+ profile?: any;
247
251
  accessToken?: string;
252
+ refreshToken?: string;
248
253
  dateCreated: number;
249
254
  dateUpdated: number;
250
255
  }
@@ -280,7 +285,7 @@ export interface ReferenceNote {
280
285
 
281
286
  export class Article extends Primitive {
282
287
  referenceNote: ReferenceNote;
283
- dates?: DateEntry[];
288
+ dates?: EntityEntry[];
284
289
  locations?: EntityEntry[];
285
290
  organizations?: EntityEntry[];
286
291
  names?: EntityEntry[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.6.1",
4
+ "version": "2.6.3",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",