@bigfootai/bigfoot-types 4.4.0 → 4.4.1
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 +3 -9
- package/model.ts +9 -11
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.DateEntityEntryQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationVariation = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
-
exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = exports.MetadataBusinessObject = exports.MetadataBusinessObjectFields = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.
|
5
|
-
exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.Table = exports.TableQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Document = exports.DocumentQL = exports.Thread = exports.Todo =
|
6
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL =
|
4
|
+
exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = exports.MetadataBusinessObject = exports.MetadataBusinessObjectFields = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Metadata = exports.MetadataFields = exports.SharedPrimitive = void 0;
|
5
|
+
exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.Table = exports.TableQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Document = exports.DocumentQL = exports.Thread = exports.Todo = void 0;
|
6
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = void 0;
|
7
7
|
const uuid_1 = require("uuid");
|
8
8
|
/*
|
9
9
|
These are the core primitives of our model. These represent the entities that show
|
@@ -452,9 +452,6 @@ type ProviderApplication {
|
|
452
452
|
sobjects: StandardObjects!
|
453
453
|
linkSubscriptions: [String]!
|
454
454
|
}`;
|
455
|
-
class ProviderApplication {
|
456
|
-
}
|
457
|
-
exports.ProviderApplication = ProviderApplication;
|
458
455
|
exports.ProviderQL = `
|
459
456
|
type Provider {${exports.PrimitiveFields}
|
460
457
|
provider: String!
|
@@ -630,9 +627,6 @@ class History extends Primitive {
|
|
630
627
|
}
|
631
628
|
}
|
632
629
|
exports.History = History;
|
633
|
-
class BusinessObjectIngestionResponse {
|
634
|
-
}
|
635
|
-
exports.BusinessObjectIngestionResponse = BusinessObjectIngestionResponse;
|
636
630
|
class BusinessObjectIngestionRequest extends Primitive {
|
637
631
|
constructor(tenantIdCreated, originReferenceBlock, uri) {
|
638
632
|
super();
|
package/model.ts
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
import { describe } from 'node:test';
|
2
|
-
import { loadavg } from 'os';
|
3
1
|
import { v4 as uuidv4 } from 'uuid';
|
4
2
|
|
5
3
|
/*
|
@@ -656,7 +654,7 @@ type ProviderApplication {
|
|
656
654
|
sobjects: StandardObjects!
|
657
655
|
linkSubscriptions: [String]!
|
658
656
|
}`;
|
659
|
-
export
|
657
|
+
export interface ProviderApplication {
|
660
658
|
name: string;
|
661
659
|
sobjects: StandardObjects;
|
662
660
|
linkSubscriptions: string[];
|
@@ -969,7 +967,7 @@ export interface SubscribingProviderApplication {
|
|
969
967
|
application: ProviderApplication;
|
970
968
|
}
|
971
969
|
|
972
|
-
export
|
970
|
+
export interface BusinessObjectIngestionResponse {
|
973
971
|
callbackId: string;
|
974
972
|
processingStage: ProcessingStage;
|
975
973
|
processingReason: string;
|
@@ -979,15 +977,15 @@ export class BusinessObjectIngestionResponse {
|
|
979
977
|
export class BusinessObjectIngestionRequest extends Primitive {
|
980
978
|
referenceBlock?: ReferenceBlock; // A reference to the block created/updated by this ingestion
|
981
979
|
subscribingProviderApplication?: SubscribingProviderApplication;
|
982
|
-
provider
|
983
|
-
application
|
980
|
+
provider?: string; // A unique string representing the provider e.g. "salesforce", "atlassian", etc
|
981
|
+
application?: string; // A unique string representing the provider application e.g. "service", "jira", etc
|
984
982
|
uri: string; // A uri to locate the specific instance of the business object
|
985
|
-
processingStage
|
986
|
-
processingAttempts
|
983
|
+
processingStage?: ProcessingStage; // Indicates if the business object has been processed yet
|
984
|
+
processingAttempts?: number; // Indicates the number of attempts made to process this business object
|
987
985
|
processingReason?: string; // The reason the processing is at this stage
|
988
|
-
dateProcessed
|
989
|
-
dateToProcess
|
990
|
-
originReferenceBlock
|
986
|
+
dateProcessed?: number; // The date this document was last processed
|
987
|
+
dateToProcess?: number; // The date this ingestion should be processed - default is now
|
988
|
+
originReferenceBlock?: ReferenceBlock; // The block that this request originally came from (though the ingestion may be referenced from many future blocks)
|
991
989
|
callbackId?: string; // A callback id that can be used for async requests
|
992
990
|
businessObject?: BusinessObject; // The ingested business object - used for async request callbacks
|
993
991
|
|