@bigfootai/bigfoot-types 4.1.2 → 4.1.4

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 -2
  2. package/model.ts +8 -3
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -588,10 +588,10 @@ class BlockProcessingResponse {
588
588
  }
589
589
  exports.BlockProcessingResponse = BlockProcessingResponse;
590
590
  class BusinessObjectIngestionRequest extends Primitive {
591
- constructor(tenantIdCreated, originBlockId, uri) {
591
+ constructor(tenantIdCreated, originReferenceBlock, uri) {
592
592
  super();
593
593
  this.tenantIdCreated = tenantIdCreated;
594
- this.originBlockId = originBlockId;
594
+ this.originReferenceBlock = originReferenceBlock;
595
595
  this.uri = uri;
596
596
  this.processingStage = ProcessingStage.NotProcessed;
597
597
  this.processingAttempts = 0;
package/model.ts CHANGED
@@ -530,6 +530,7 @@ type PersonReference {${PersonReferenceFields}
530
530
  }`;
531
531
  export interface PersonReference {
532
532
  email: string;
533
+ friendlyName?: string;
533
534
  }
534
535
 
535
536
  export const PrimitiveFields = `
@@ -918,13 +919,17 @@ export class BusinessObjectIngestionRequest extends Primitive {
918
919
  dateProcessed: number; // The date this document was last processed
919
920
  dateToProcess: number; // The date this ingestion should be processed - default is now
920
921
  externalResponse?: any; // The full response from the external system that created this object
921
- originBlockId: string; // The block that this request originally came from
922
+ originReferenceBlock: ReferenceBlock; // The block that this request originally came from (though the ingestion may be referenced from many future blocks)
922
923
 
923
- constructor(tenantIdCreated: string, originBlockId: string, uri: string) {
924
+ constructor(
925
+ tenantIdCreated: string,
926
+ originReferenceBlock: ReferenceBlock,
927
+ uri: string
928
+ ) {
924
929
  super();
925
930
 
926
931
  this.tenantIdCreated = tenantIdCreated;
927
- this.originBlockId = originBlockId;
932
+ this.originReferenceBlock = originReferenceBlock;
928
933
  this.uri = uri;
929
934
 
930
935
  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.2",
4
+ "version": "4.1.4",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",