@bigfootai/bigfoot-types 4.7.3 → 4.7.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 +13 -3
- package/model.ts +10 -0
- 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.ReferenceBlockInputQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = 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.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.RecordType = 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.TaskPriority = exports.SharingLevel = exports.ClientType = exports.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = void 0;
|
4
|
+
exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = 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.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = 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.Folder = exports.FolderQL = exports.Metadata = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = void 0;
|
5
|
+
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.FindDomainInputQL = exports.FindTenantInputQL = exports.Table = exports.TableQL = exports.Record = exports.RecordQL = 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 = 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 = void 0;
|
6
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = 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
|
@@ -641,6 +641,14 @@ type UpsertRecommendation {
|
|
641
641
|
upsertType: String!
|
642
642
|
connectRecommendations: [ConnectRecommendation]
|
643
643
|
}`;
|
644
|
+
exports.RecommendationQL = `
|
645
|
+
type Recommendation {${exports.SharedPrimitiveFields}
|
646
|
+
referenceBlock: ReferenceBlock
|
647
|
+
tenantIdCreated: Record!
|
648
|
+
recommendationType: String!
|
649
|
+
connectRecommendation: ConnectRecommendation
|
650
|
+
upsertRecommendation: UpsertRecommendation
|
651
|
+
}`;
|
644
652
|
class Recommendation extends SharedPrimitive {
|
645
653
|
constructor(sharingTags, referenceBlock, tenantIdCreated, recommendationType) {
|
646
654
|
// For the sharing tags, we do it a little differently depending on the global nature of the recommendation. If theirs
|
@@ -1438,6 +1446,8 @@ ${exports.ProviderQL}
|
|
1438
1446
|
${exports.TagQL}
|
1439
1447
|
${exports.TagRecommendationQL}
|
1440
1448
|
${exports.ConnectRecommendationQL}
|
1449
|
+
${exports.UpsertRecommendationQL}
|
1450
|
+
${exports.RecommendationQL}
|
1441
1451
|
${exports.ConnectedProviderQL}
|
1442
1452
|
${exports.ReferenceBlockInputQL}
|
1443
1453
|
${exports.ReferenceBlockQL}
|
package/model.ts
CHANGED
@@ -973,6 +973,14 @@ export interface UpsertRecommendation {
|
|
973
973
|
connectRecommendations?: ConnectRecommendation[]; // Lists out any recommended providers that could be used to perform the data update
|
974
974
|
}
|
975
975
|
|
976
|
+
export const RecommendationQL = `
|
977
|
+
type Recommendation {${SharedPrimitiveFields}
|
978
|
+
referenceBlock: ReferenceBlock
|
979
|
+
tenantIdCreated: Record!
|
980
|
+
recommendationType: String!
|
981
|
+
connectRecommendation: ConnectRecommendation
|
982
|
+
upsertRecommendation: UpsertRecommendation
|
983
|
+
}`;
|
976
984
|
export class Recommendation extends SharedPrimitive {
|
977
985
|
referenceBlock: ReferenceBlock; // This is the block that caused the recommendation to happen
|
978
986
|
tenantIdCreated: string;
|
@@ -2590,6 +2598,8 @@ ${ProviderQL}
|
|
2590
2598
|
${TagQL}
|
2591
2599
|
${TagRecommendationQL}
|
2592
2600
|
${ConnectRecommendationQL}
|
2601
|
+
${UpsertRecommendationQL}
|
2602
|
+
${RecommendationQL}
|
2593
2603
|
${ConnectedProviderQL}
|
2594
2604
|
${ReferenceBlockInputQL}
|
2595
2605
|
${ReferenceBlockQL}
|