@bigfootai/bigfoot-types 4.1.6 → 4.1.8

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 +6 -6
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -778,6 +778,8 @@ class Thread extends BusinessObject {
778
778
  }
779
779
  }
780
780
  exports.Thread = Thread;
781
+ //// MESSAGING END
782
+ //// DOCUMENT START
781
783
  class Document extends BusinessObject {
782
784
  constructor(tenantIdCreated, editors, sharingTags, version, provider, application, uri, externalId) {
783
785
  super(tenantIdCreated, editors, sharingTags, version, BlockType.Document, provider, application, uri, externalId);
package/model.ts CHANGED
@@ -446,6 +446,11 @@ export interface Subscriptions {
446
446
  linkDomains: string[];
447
447
  }
448
448
 
449
+ export interface LinkSubscriptionProviderRequest {
450
+ url: string;
451
+ credential: Credential;
452
+ }
453
+
449
454
  export const CredentialQL = `
450
455
  type Credential {
451
456
  email: String!
@@ -910,7 +915,6 @@ export class BusinessObjectIngestionRequest extends Primitive {
910
915
  processingReason?: string; // The reason the processing is at this stage
911
916
  dateProcessed: number; // The date this document was last processed
912
917
  dateToProcess: number; // The date this ingestion should be processed - default is now
913
- externalResponse?: any; // The full response from the external system that created this object
914
918
  originReferenceBlock: ReferenceBlock; // The block that this request originally came from (though the ingestion may be referenced from many future blocks)
915
919
 
916
920
  constructor(
@@ -950,6 +954,7 @@ export class BusinessObject extends Block {
950
954
  uri: string; // A uri to locate the specific instance of the business object
951
955
  externalId: string; // An external identifier that can help us match the records
952
956
  iconUrl?: string | null; // The url of an icon that represents the business object
957
+ externalResponse?: string; // The response from the external application as a JSON string
953
958
 
954
959
  constructor(
955
960
  tenantIdCreated: string,
@@ -1338,11 +1343,6 @@ export class Thread extends BusinessObject {
1338
1343
  //// MESSAGING END
1339
1344
 
1340
1345
  //// DOCUMENT START
1341
- export interface DocumentProviderRequest {
1342
- url: string;
1343
- credential: Credential;
1344
- }
1345
-
1346
1346
  export class Document extends BusinessObject {
1347
1347
  title?: string;
1348
1348
  description?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.1.6",
4
+ "version": "4.1.8",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",