@bigfootai/bigfoot-types 5.3.4 → 5.3.5
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 +16 -4
- package/model.ts +22 -0
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ExternalIdLinkQL = exports.ExternalIdLinkInputQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.PubSubType = exports.RelationType = exports.EntityType = exports.RecordType = exports.ThumbsDirection = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.TaskPriority = exports.AccessType = exports.SharingLevel = exports.ClientType = exports.ExportType = exports.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.
|
7
|
-
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = void 0;
|
4
|
+
exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.MessageRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ChangeRecommendationQL = exports.ReactionRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TenantLightInputQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.ExternalIdQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.History = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.FindExternalTagReferenceInputQL = exports.FindExternalTagReferencesInputQL = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
+
exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = 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 = exports.TaskQL = exports.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = void 0;
|
6
|
+
exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveBlockOutputQL = exports.ArchiveBlockInputQL = exports.FindBlocksInputQL = exports.FindBlockInputQL = exports.UpsertNoteInputQL = exports.FindDashboardBlockInputQL = exports.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = 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.UpdateTaskInputQL = void 0;
|
8
8
|
const uuid_1 = require("uuid");
|
9
9
|
/*
|
10
10
|
These are the core primitives of our model. These represent the entities that show
|
@@ -824,6 +824,14 @@ type ConnectRecommendation {
|
|
824
824
|
providerResponse: ProviderResponse
|
825
825
|
providerInfo: ProviderInfo!
|
826
826
|
}`;
|
827
|
+
exports.ReactionRecommendationQL = `
|
828
|
+
type ReactionRecommendation {
|
829
|
+
reaction: Reaction!
|
830
|
+
}`;
|
831
|
+
exports.ChangeRecommendationQL = `
|
832
|
+
type ChangeRecommendation {
|
833
|
+
status: String
|
834
|
+
}`;
|
827
835
|
exports.UpsertRecommendationQL = `
|
828
836
|
type UpsertRecommendation {
|
829
837
|
table: Table
|
@@ -855,6 +863,8 @@ type Recommendation {${exports.SharedPrimitiveFields}
|
|
855
863
|
shareRecommendation: ShareRecommendation
|
856
864
|
messageRecommendation: MessageRecommendation
|
857
865
|
notificationRecommendation: NotificationRecommendation
|
866
|
+
reactionRecommendation: ReactionRecommendation
|
867
|
+
changeRecommendation: ChangeRecommendation
|
858
868
|
parentId: String
|
859
869
|
dateDue: Float
|
860
870
|
dateRemindMe: Float
|
@@ -1982,6 +1992,8 @@ ${exports.TagRecommendationQL}
|
|
1982
1992
|
${exports.TenantLightInputQL}
|
1983
1993
|
${exports.TenantLightQL}
|
1984
1994
|
${exports.ConnectRecommendationQL}
|
1995
|
+
${exports.ReactionRecommendationQL}
|
1996
|
+
${exports.ChangeRecommendationQL}
|
1985
1997
|
${exports.UpsertRecommendationQL}
|
1986
1998
|
${exports.ShareRecommendationQL}
|
1987
1999
|
${exports.MessageRecommendationQL}
|
package/model.ts
CHANGED
@@ -1249,6 +1249,22 @@ export interface ConnectRecommendation {
|
|
1249
1249
|
providerInfo: ProviderInfo;
|
1250
1250
|
}
|
1251
1251
|
|
1252
|
+
export const ReactionRecommendationQL = `
|
1253
|
+
type ReactionRecommendation {
|
1254
|
+
reaction: Reaction!
|
1255
|
+
}`;
|
1256
|
+
export interface ReactionRecommendation {
|
1257
|
+
reaction: Reaction;
|
1258
|
+
}
|
1259
|
+
|
1260
|
+
export const ChangeRecommendationQL = `
|
1261
|
+
type ChangeRecommendation {
|
1262
|
+
status: String
|
1263
|
+
}`;
|
1264
|
+
export interface ChangeRecommendation {
|
1265
|
+
status?: TaskStatus;
|
1266
|
+
}
|
1267
|
+
|
1252
1268
|
export const UpsertRecommendationQL = `
|
1253
1269
|
type UpsertRecommendation {
|
1254
1270
|
table: Table
|
@@ -1311,6 +1327,8 @@ type Recommendation {${SharedPrimitiveFields}
|
|
1311
1327
|
shareRecommendation: ShareRecommendation
|
1312
1328
|
messageRecommendation: MessageRecommendation
|
1313
1329
|
notificationRecommendation: NotificationRecommendation
|
1330
|
+
reactionRecommendation: ReactionRecommendation
|
1331
|
+
changeRecommendation: ChangeRecommendation
|
1314
1332
|
parentId: String
|
1315
1333
|
dateDue: Float
|
1316
1334
|
dateRemindMe: Float
|
@@ -1329,6 +1347,8 @@ export class Recommendation extends SharedPrimitive implements BaseTask {
|
|
1329
1347
|
shareRecommendation?: ShareRecommendation; // For instances when a block is shared with a tenant
|
1330
1348
|
messageRecommendation?: MessageRecommendation; // For instances when a message is shared
|
1331
1349
|
notificationRecommendation?: NotificationRecommendation; // For instances where the app wants to tell us something
|
1350
|
+
reactionRecommendation?: ReactionRecommendation; // For recommendations that are related to emoji
|
1351
|
+
changeRecommendation?: ChangeRecommendation; // Something changed for a block that is noteworthy
|
1332
1352
|
parentId?: string; // Any parent recommendation that generated this recommendation
|
1333
1353
|
dateDue?: number;
|
1334
1354
|
dateRemindMe?: number;
|
@@ -3460,6 +3480,8 @@ ${TagRecommendationQL}
|
|
3460
3480
|
${TenantLightInputQL}
|
3461
3481
|
${TenantLightQL}
|
3462
3482
|
${ConnectRecommendationQL}
|
3483
|
+
${ReactionRecommendationQL}
|
3484
|
+
${ChangeRecommendationQL}
|
3463
3485
|
${UpsertRecommendationQL}
|
3464
3486
|
${ShareRecommendationQL}
|
3465
3487
|
${MessageRecommendationQL}
|