@bigfootai/bigfoot-types 4.1.1 → 4.1.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 (3) hide show
  1. package/model.js +2 -1
  2. package/model.ts +7 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -588,9 +588,10 @@ class BlockProcessingResponse {
588
588
  }
589
589
  exports.BlockProcessingResponse = BlockProcessingResponse;
590
590
  class BusinessObjectIngestionRequest extends Primitive {
591
- constructor(tenantIdCreated, uri) {
591
+ constructor(tenantIdCreated, originReferenceBlock, uri) {
592
592
  super();
593
593
  this.tenantIdCreated = tenantIdCreated;
594
+ this.originReferenceBlock = originReferenceBlock;
594
595
  this.uri = uri;
595
596
  this.processingStage = ProcessingStage.NotProcessed;
596
597
  this.processingAttempts = 0;
package/model.ts CHANGED
@@ -918,11 +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
+ originReferenceBlock: ReferenceBlock; // The block that this request originally came from (though the ingestion may be referenced from many future blocks)
921
922
 
922
- constructor(tenantIdCreated: string, uri: string) {
923
+ constructor(
924
+ tenantIdCreated: string,
925
+ originReferenceBlock: ReferenceBlock,
926
+ uri: string
927
+ ) {
923
928
  super();
924
929
 
925
930
  this.tenantIdCreated = tenantIdCreated;
931
+ this.originReferenceBlock = originReferenceBlock;
926
932
  this.uri = uri;
927
933
 
928
934
  this.processingStage = ProcessingStage.NotProcessed;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.1.1",
4
+ "version": "4.1.3",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",