@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.
- package/model.js +2 -2
- package/model.ts +8 -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,
|
591
|
+
constructor(tenantIdCreated, originReferenceBlock, uri) {
|
592
592
|
super();
|
593
593
|
this.tenantIdCreated = tenantIdCreated;
|
594
|
-
this.
|
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
|
-
|
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(
|
924
|
+
constructor(
|
925
|
+
tenantIdCreated: string,
|
926
|
+
originReferenceBlock: ReferenceBlock,
|
927
|
+
uri: string
|
928
|
+
) {
|
924
929
|
super();
|
925
930
|
|
926
931
|
this.tenantIdCreated = tenantIdCreated;
|
927
|
-
this.
|
932
|
+
this.originReferenceBlock = originReferenceBlock;
|
928
933
|
this.uri = uri;
|
929
934
|
|
930
935
|
this.processingStage = ProcessingStage.NotProcessed;
|