@bigfootai/bigfoot-types 4.1.0 → 4.1.2

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 +4 -3
  2. package/model.ts +5 -3
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -588,12 +588,13 @@ class BlockProcessingResponse {
588
588
  }
589
589
  exports.BlockProcessingResponse = BlockProcessingResponse;
590
590
  class BusinessObjectIngestionRequest extends Primitive {
591
- constructor(tenantIdCreated, uri) {
591
+ constructor(tenantIdCreated, originBlockId, uri) {
592
592
  super();
593
593
  this.tenantIdCreated = tenantIdCreated;
594
+ this.originBlockId = originBlockId;
594
595
  this.uri = uri;
595
- this.processingStage == ProcessingStage.NotProcessed;
596
- this.processingAttempts == 0;
596
+ this.processingStage = ProcessingStage.NotProcessed;
597
+ this.processingAttempts = 0;
597
598
  this.dateProcessed = 0;
598
599
  this.dateToProcess = Date.now();
599
600
  }
package/model.ts CHANGED
@@ -918,15 +918,17 @@ export class BusinessObjectIngestionRequest extends Primitive {
918
918
  dateProcessed: number; // The date this document was last processed
919
919
  dateToProcess: number; // The date this ingestion should be processed - default is now
920
920
  externalResponse?: any; // The full response from the external system that created this object
921
+ originBlockId: string; // The block that this request originally came from
921
922
 
922
- constructor(tenantIdCreated: string, uri: string) {
923
+ constructor(tenantIdCreated: string, originBlockId: string, uri: string) {
923
924
  super();
924
925
 
925
926
  this.tenantIdCreated = tenantIdCreated;
927
+ this.originBlockId = originBlockId;
926
928
  this.uri = uri;
927
929
 
928
- this.processingStage == ProcessingStage.NotProcessed;
929
- this.processingAttempts == 0;
930
+ this.processingStage = ProcessingStage.NotProcessed;
931
+ this.processingAttempts = 0;
930
932
  this.dateProcessed = 0;
931
933
  this.dateToProcess = Date.now();
932
934
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.1.0",
4
+ "version": "4.1.2",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",