@bigfootai/bigfoot-types 4.6.14 → 4.6.16
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 +43 -8
- package/model.ts +66 -6
- 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
|
-
exports.
|
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 = void 0;
|
3
|
+
exports.ReferenceBlockQL = 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.NotificationType = exports.BlockType = void 0;
|
4
|
+
exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.IngestionNotification = exports.Notification = 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.ProviderRecommendationQL = 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 = void 0;
|
5
|
+
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.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 = 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 = 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
|
@@ -281,6 +281,21 @@ type SharingTenant {
|
|
281
281
|
hasAutoShareTasksOn: Boolean
|
282
282
|
sharingLevel: Int!
|
283
283
|
}`;
|
284
|
+
exports.BusinessObjectLinkInputQL = `
|
285
|
+
input BusinessObjectLinkInput {
|
286
|
+
url: String!
|
287
|
+
provider: String
|
288
|
+
recordType: String
|
289
|
+
_compound: String
|
290
|
+
}`;
|
291
|
+
exports.BusinessObjectLinkQL = `
|
292
|
+
type BusinessObjectLink {
|
293
|
+
url: String!
|
294
|
+
provider: String
|
295
|
+
recordType: String
|
296
|
+
blockType: String
|
297
|
+
_compound: String
|
298
|
+
}`;
|
284
299
|
exports.ReactionSkinToneQL = `
|
285
300
|
type ReactionSkinTone {
|
286
301
|
skinTone: String!
|
@@ -470,13 +485,27 @@ class Folder extends SharedPrimitive {
|
|
470
485
|
exports.Folder = Folder;
|
471
486
|
exports.SearchQL = `
|
472
487
|
type Search {${exports.SharedPrimitiveFields}
|
473
|
-
|
474
|
-
|
475
|
-
|
488
|
+
label: String
|
489
|
+
search: String
|
490
|
+
blockType: String
|
491
|
+
_ids: [String]
|
492
|
+
tagIds: [String]
|
493
|
+
emails: [String]
|
494
|
+
businessObjects: [BusinessObjectLink]
|
476
495
|
sentiment: String
|
477
496
|
orderByDateUpdated: String
|
478
497
|
orderByDateCreated: String
|
498
|
+
orderByDateDue: String
|
479
499
|
orderByAlias: String
|
500
|
+
dateDueFrom: Float
|
501
|
+
dateDueTo: Float
|
502
|
+
status: Int
|
503
|
+
originNoteId: String
|
504
|
+
editorId: String
|
505
|
+
editorGroupId: String
|
506
|
+
parentId: String
|
507
|
+
favorite: Boolean
|
508
|
+
snoozed: Boolean
|
480
509
|
size: Int
|
481
510
|
archived: Boolean!
|
482
511
|
favoriteTagId: String
|
@@ -642,8 +671,8 @@ type Article {${exports.PrimitiveFields}
|
|
642
671
|
dateRemindMe: Float
|
643
672
|
dates: [EntityEntry]
|
644
673
|
locations: [EntityEntry]
|
645
|
-
linkUrls: [String]
|
646
674
|
emails: [String]
|
675
|
+
businessObjects: [BusinessObjectLink]
|
647
676
|
sharingTags: [SharingTag]
|
648
677
|
tagRecommendations: [TagRecommendation]
|
649
678
|
providerRecommendations: [ProviderRecommendation]
|
@@ -1266,6 +1295,8 @@ input UpsertSearchInput {
|
|
1266
1295
|
search: String
|
1267
1296
|
_ids: [String]
|
1268
1297
|
tagIds: [String]
|
1298
|
+
emails: [String]
|
1299
|
+
businessObjects: [BusinessObjectLinkInput]
|
1269
1300
|
sentiment: String
|
1270
1301
|
sharingTags: [SharingTagInput]
|
1271
1302
|
orderByDateUpdated: String
|
@@ -1328,6 +1359,8 @@ input SearchInput {
|
|
1328
1359
|
search: String
|
1329
1360
|
_ids: [String]
|
1330
1361
|
tagIds: [String]
|
1362
|
+
emails: [String]
|
1363
|
+
businessObjects: [BusinessObjectLinkInput]
|
1331
1364
|
sentiment: String
|
1332
1365
|
orderByDateUpdated: String
|
1333
1366
|
orderByDateCreated: String
|
@@ -1355,6 +1388,8 @@ ${exports.SharingTagInputQL}
|
|
1355
1388
|
${exports.SharingTagQL}
|
1356
1389
|
${exports.SharingDomainQL}
|
1357
1390
|
${exports.SharingTenantQL}
|
1391
|
+
${exports.BusinessObjectLinkInputQL}
|
1392
|
+
${exports.BusinessObjectLinkQL}
|
1358
1393
|
${exports.ReactionSkinToneQL}
|
1359
1394
|
${exports.TaskStepInputQL}
|
1360
1395
|
${exports.ReactionQL}
|
package/model.ts
CHANGED
@@ -328,6 +328,29 @@ export interface SharingTenant {
|
|
328
328
|
_savedSearchId?: string;
|
329
329
|
}
|
330
330
|
|
331
|
+
export const BusinessObjectLinkInputQL = `
|
332
|
+
input BusinessObjectLinkInput {
|
333
|
+
url: String!
|
334
|
+
provider: String
|
335
|
+
recordType: String
|
336
|
+
_compound: String
|
337
|
+
}`;
|
338
|
+
export const BusinessObjectLinkQL = `
|
339
|
+
type BusinessObjectLink {
|
340
|
+
url: String!
|
341
|
+
provider: String
|
342
|
+
recordType: String
|
343
|
+
blockType: String
|
344
|
+
_compound: String
|
345
|
+
}`;
|
346
|
+
export interface BusinessObjectLink {
|
347
|
+
url: string;
|
348
|
+
provider?: string;
|
349
|
+
recordType?: string;
|
350
|
+
blockType?: BlockType;
|
351
|
+
_compound?: string;
|
352
|
+
}
|
353
|
+
|
331
354
|
export const ReactionSkinToneQL = `
|
332
355
|
type ReactionSkinTone {
|
333
356
|
skinTone: String!
|
@@ -682,26 +705,53 @@ export class Folder extends SharedPrimitive {
|
|
682
705
|
|
683
706
|
export const SearchQL = `
|
684
707
|
type Search {${SharedPrimitiveFields}
|
685
|
-
|
686
|
-
|
687
|
-
|
708
|
+
label: String
|
709
|
+
search: String
|
710
|
+
blockType: String
|
711
|
+
_ids: [String]
|
712
|
+
tagIds: [String]
|
713
|
+
emails: [String]
|
714
|
+
businessObjects: [BusinessObjectLink]
|
688
715
|
sentiment: String
|
689
716
|
orderByDateUpdated: String
|
690
717
|
orderByDateCreated: String
|
718
|
+
orderByDateDue: String
|
691
719
|
orderByAlias: String
|
720
|
+
dateDueFrom: Float
|
721
|
+
dateDueTo: Float
|
722
|
+
status: Int
|
723
|
+
originNoteId: String
|
724
|
+
editorId: String
|
725
|
+
editorGroupId: String
|
726
|
+
parentId: String
|
727
|
+
favorite: Boolean
|
728
|
+
snoozed: Boolean
|
692
729
|
size: Int
|
693
730
|
archived: Boolean!
|
694
731
|
favoriteTagId: String
|
695
732
|
}`;
|
696
733
|
export class Search extends SharedPrimitive {
|
734
|
+
blockType?: BlockType;
|
697
735
|
label?: string;
|
698
736
|
search?: string;
|
737
|
+
_ids?: string[];
|
699
738
|
tagIds?: string[];
|
739
|
+
emails?: string[];
|
740
|
+
businessObjects?: BusinessObjectLink[];
|
700
741
|
sentiment?: string;
|
701
742
|
orderByDateUpdated?: OrderByDirection;
|
702
743
|
orderByDateCreated?: OrderByDirection;
|
744
|
+
orderByDateDue?: OrderByDirection;
|
703
745
|
orderByAlias?: OrderByDirection;
|
704
|
-
|
746
|
+
dateDueFrom?: number;
|
747
|
+
dateDueTo?: number;
|
748
|
+
status?: TaskStatus;
|
749
|
+
originNoteId?: string;
|
750
|
+
editorId?: string;
|
751
|
+
editorGroupId?: string;
|
752
|
+
parentId?: string;
|
753
|
+
favorite?: boolean;
|
754
|
+
snoozed?: boolean;
|
705
755
|
size?: number;
|
706
756
|
archived: boolean;
|
707
757
|
favoriteTagId?: string;
|
@@ -967,8 +1017,8 @@ type Article {${PrimitiveFields}
|
|
967
1017
|
dateRemindMe: Float
|
968
1018
|
dates: [EntityEntry]
|
969
1019
|
locations: [EntityEntry]
|
970
|
-
linkUrls: [String]
|
971
1020
|
emails: [String]
|
1021
|
+
businessObjects: [BusinessObjectLink]
|
972
1022
|
sharingTags: [SharingTag]
|
973
1023
|
tagRecommendations: [TagRecommendation]
|
974
1024
|
providerRecommendations: [ProviderRecommendation]
|
@@ -991,8 +1041,8 @@ export class Article extends Primitive {
|
|
991
1041
|
dateRemindMe?: number;
|
992
1042
|
dates?: EntityEntry[];
|
993
1043
|
locations?: EntityEntry[];
|
994
|
-
linkUrls?: string[];
|
995
1044
|
emails?: string[];
|
1045
|
+
businessObjects?: BusinessObjectLink[];
|
996
1046
|
sharingTags?: SharingTag[];
|
997
1047
|
tagRecommendations?: TagRecommendation[];
|
998
1048
|
providerRecommendations?: ProviderRecommendation[];
|
@@ -2295,6 +2345,8 @@ input UpsertSearchInput {
|
|
2295
2345
|
search: String
|
2296
2346
|
_ids: [String]
|
2297
2347
|
tagIds: [String]
|
2348
|
+
emails: [String]
|
2349
|
+
businessObjects: [BusinessObjectLinkInput]
|
2298
2350
|
sentiment: String
|
2299
2351
|
sharingTags: [SharingTagInput]
|
2300
2352
|
orderByDateUpdated: String
|
@@ -2318,6 +2370,8 @@ export interface UpsertSearchInput {
|
|
2318
2370
|
search?: string;
|
2319
2371
|
_ids?: string[];
|
2320
2372
|
tagIds?: string[];
|
2373
|
+
emails?: string[];
|
2374
|
+
businessObjects?: BusinessObjectLink[];
|
2321
2375
|
sentiment?: string;
|
2322
2376
|
sharingTags?: SharingTag[];
|
2323
2377
|
orderByDateUpdated?: OrderByDirection;
|
@@ -2420,6 +2474,8 @@ input SearchInput {
|
|
2420
2474
|
search: String
|
2421
2475
|
_ids: [String]
|
2422
2476
|
tagIds: [String]
|
2477
|
+
emails: [String]
|
2478
|
+
businessObjects: [BusinessObjectLinkInput]
|
2423
2479
|
sentiment: String
|
2424
2480
|
orderByDateUpdated: String
|
2425
2481
|
orderByDateCreated: String
|
@@ -2443,6 +2499,8 @@ export interface SearchInput {
|
|
2443
2499
|
search?: string;
|
2444
2500
|
_ids?: string[];
|
2445
2501
|
tagIds?: string[];
|
2502
|
+
emails?: string[];
|
2503
|
+
businessObjects?: BusinessObjectLink[];
|
2446
2504
|
sentiment?: string;
|
2447
2505
|
orderByDateUpdated?: OrderByDirection;
|
2448
2506
|
orderByDateCreated?: OrderByDirection;
|
@@ -2471,6 +2529,8 @@ ${SharingTagInputQL}
|
|
2471
2529
|
${SharingTagQL}
|
2472
2530
|
${SharingDomainQL}
|
2473
2531
|
${SharingTenantQL}
|
2532
|
+
${BusinessObjectLinkInputQL}
|
2533
|
+
${BusinessObjectLinkQL}
|
2474
2534
|
${ReactionSkinToneQL}
|
2475
2535
|
${TaskStepInputQL}
|
2476
2536
|
${ReactionQL}
|