@bigfootai/bigfoot-types 2.10.8 → 2.10.9

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 (3) hide show
  1. package/model.js +2 -0
  2. package/model.ts +3 -0
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -116,6 +116,8 @@ var ProcessingStage;
116
116
  ProcessingStage["NotProcessed"] = "not_processed";
117
117
  ProcessingStage["Processing"] = "processing";
118
118
  ProcessingStage["Processed"] = "processed";
119
+ ProcessingStage["NotConnected"] = "not_connected";
120
+ ProcessingStage["NoCredential"] = "no_credential";
119
121
  ProcessingStage["Failed"] = "failed";
120
122
  })(ProcessingStage || (exports.ProcessingStage = ProcessingStage = {}));
121
123
  // Referenced here: https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-entity-types-version-2
package/model.ts CHANGED
@@ -113,6 +113,8 @@ export enum ProcessingStage {
113
113
  NotProcessed = 'not_processed',
114
114
  Processing = 'processing',
115
115
  Processed = 'processed',
116
+ NotConnected = 'not_connected',
117
+ NoCredential = 'no_credential',
116
118
  Failed = 'failed',
117
119
  }
118
120
 
@@ -420,6 +422,7 @@ export class BusinessObject extends Primitive {
420
422
  processingStage: ProcessingStage; // Indicates if the business object has been processed yet
421
423
  processingAttempts: number; // Indicates the number of attempts made to process this business object
422
424
  dateProcessed: number; // The date this document was last processed
425
+ processingReason: string; // The reason the processing is at this stage
423
426
  externalId?: string; // An identifier that allows us to do entity resolution
424
427
  businessObjectType?: BusinessObjectType;
425
428
  externalResponse?: any; // The full response from the external system that created this object
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.10.8",
4
+ "version": "2.10.9",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",