@bigfootai/bigfoot-types 5.1.40 → 5.1.41
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.
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Google = void 0;
|
4
|
+
const model_1 = require("../../model");
|
4
5
|
exports.Google = {
|
5
6
|
_id: '65caf072280c2cfce04c6362',
|
6
7
|
dateCreated: 0,
|
@@ -66,6 +67,12 @@ exports.Google = {
|
|
66
67
|
recordTypeSubscriptions: [],
|
67
68
|
authentication: true,
|
68
69
|
externalStorage: true,
|
70
|
+
externalUrls: [
|
71
|
+
{
|
72
|
+
blockType: model_1.BlockType.Document,
|
73
|
+
tagType: model_1.TagType.Topic,
|
74
|
+
},
|
75
|
+
],
|
69
76
|
},
|
70
77
|
],
|
71
78
|
label: 'Google Connect',
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Provider } from '../../model';
|
1
|
+
import { BlockType, Provider, TagType } from '../../model';
|
2
2
|
|
3
3
|
export const Google: Provider = {
|
4
4
|
_id: '65caf072280c2cfce04c6362',
|
@@ -71,6 +71,12 @@ export const Google: Provider = {
|
|
71
71
|
recordTypeSubscriptions: [],
|
72
72
|
authentication: true,
|
73
73
|
externalStorage: true,
|
74
|
+
externalUrls: [
|
75
|
+
{
|
76
|
+
blockType: BlockType.Document,
|
77
|
+
tagType: TagType.Topic,
|
78
|
+
},
|
79
|
+
],
|
74
80
|
},
|
75
81
|
],
|
76
82
|
label: 'Google Connect',
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Salesforce = void 0;
|
4
|
+
const model_1 = require("../../model");
|
4
5
|
exports.Salesforce = {
|
5
6
|
_id: '66331c02f0985154b603b789',
|
6
7
|
dateCreated: 0,
|
@@ -29,6 +30,13 @@ exports.Salesforce = {
|
|
29
30
|
label: 'Salesforce CRM',
|
30
31
|
authentication: true,
|
31
32
|
externalStorage: true,
|
33
|
+
externalUrls: [
|
34
|
+
{
|
35
|
+
blockType: model_1.BlockType.Record,
|
36
|
+
tagType: model_1.TagType.Organization,
|
37
|
+
},
|
38
|
+
{ blockType: model_1.BlockType.Record, tagType: model_1.TagType.Person },
|
39
|
+
],
|
32
40
|
},
|
33
41
|
],
|
34
42
|
label: 'Salesforce Connect',
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Provider } from '../../model';
|
1
|
+
import { BlockType, Provider, TagType } from '../../model';
|
2
2
|
|
3
3
|
export const Salesforce: Provider = {
|
4
4
|
_id: '66331c02f0985154b603b789',
|
@@ -30,6 +30,13 @@ export const Salesforce: Provider = {
|
|
30
30
|
label: 'Salesforce CRM',
|
31
31
|
authentication: true,
|
32
32
|
externalStorage: true,
|
33
|
+
externalUrls: [
|
34
|
+
{
|
35
|
+
blockType: BlockType.Record,
|
36
|
+
tagType: TagType.Organization,
|
37
|
+
},
|
38
|
+
{ blockType: BlockType.Record, tagType: TagType.Person },
|
39
|
+
],
|
33
40
|
},
|
34
41
|
],
|
35
42
|
label: 'Salesforce Connect',
|
package/model.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.
|
7
|
-
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = void 0;
|
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.ReactionQL = exports.ReactionSkinToneQL = exports.ExternalUrlLinkQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = 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.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.ExternalUrlQL = 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.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
+
exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = 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 = 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 = void 0;
|
6
|
+
exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = 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.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 = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = 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
|
@@ -322,6 +322,13 @@ type BusinessObjectLink {
|
|
322
322
|
metadataType: String
|
323
323
|
_compound: String
|
324
324
|
}`;
|
325
|
+
exports.ExternalUrlLinkQL = `
|
326
|
+
type ExternalUrlLink {
|
327
|
+
url: String!
|
328
|
+
externalId: String!
|
329
|
+
provider: String!
|
330
|
+
application: String!
|
331
|
+
}`;
|
325
332
|
exports.ReactionSkinToneQL = `
|
326
333
|
type ReactionSkinTone {
|
327
334
|
skinTone: String!
|
@@ -593,6 +600,11 @@ type DashboardTagSubscription {
|
|
593
600
|
dashboardSubscriptions: [String]!
|
594
601
|
tagType: String!
|
595
602
|
}`;
|
603
|
+
exports.ExternalUrlQL = `
|
604
|
+
type ExternalUrl {
|
605
|
+
tagType: TagType!
|
606
|
+
blockType: BlockType!
|
607
|
+
}`;
|
596
608
|
exports.ProviderApplicationQL = `
|
597
609
|
type ProviderApplication {
|
598
610
|
name: String!
|
@@ -606,6 +618,7 @@ type ProviderApplication {
|
|
606
618
|
documentTypeSubscriptions: [String]
|
607
619
|
dashboardTypeSubscriptions: [String]
|
608
620
|
dashboardTagSubscriptions: [DashboardTagSubscription]
|
621
|
+
externalUrls: [ExternalUrl]
|
609
622
|
authentication: Boolean!
|
610
623
|
installed: Boolean
|
611
624
|
}`;
|
@@ -664,6 +677,7 @@ exports.TagFieldsWithoutSharing = `${exports.PrimitiveFields}
|
|
664
677
|
originNoteId: String
|
665
678
|
tenantIdVerified: String
|
666
679
|
businessObjects: [BusinessObjectLink]
|
680
|
+
externalUrls: [ExternalUrlLink]
|
667
681
|
merged: Boolean
|
668
682
|
mergedWithTagId: String
|
669
683
|
archived: Boolean!
|
@@ -1753,6 +1767,7 @@ ${exports.TenantSettingQL}
|
|
1753
1767
|
${exports.SharingTenantQL}
|
1754
1768
|
${exports.BusinessObjectLinkInputQL}
|
1755
1769
|
${exports.BusinessObjectLinkQL}
|
1770
|
+
${exports.ExternalUrlLinkQL}
|
1756
1771
|
${exports.ReactionSkinToneQL}
|
1757
1772
|
${exports.TaskStepInputQL}
|
1758
1773
|
${exports.ReactionQL}
|
@@ -1775,6 +1790,7 @@ ${exports.SearchQL}
|
|
1775
1790
|
${exports.SyncQL}
|
1776
1791
|
${exports.DashboardTagSubscriptionQL}
|
1777
1792
|
${exports.ProviderApplicationQL}
|
1793
|
+
${exports.ExternalUrlQL}
|
1778
1794
|
${exports.ProviderQL}
|
1779
1795
|
${exports.TagTypeQL}
|
1780
1796
|
${exports.GraphTagQL}
|
package/model.ts
CHANGED
@@ -380,6 +380,20 @@ export interface BusinessObjectLink {
|
|
380
380
|
_compound?: string;
|
381
381
|
}
|
382
382
|
|
383
|
+
export const ExternalUrlLinkQL = `
|
384
|
+
type ExternalUrlLink {
|
385
|
+
url: String!
|
386
|
+
externalId: String!
|
387
|
+
provider: String!
|
388
|
+
application: String!
|
389
|
+
}`;
|
390
|
+
export interface ExternalUrlLink {
|
391
|
+
url: string;
|
392
|
+
externalId: string;
|
393
|
+
provider: string;
|
394
|
+
application: string;
|
395
|
+
}
|
396
|
+
|
383
397
|
export const ReactionSkinToneQL = `
|
384
398
|
type ReactionSkinTone {
|
385
399
|
skinTone: String!
|
@@ -871,6 +885,16 @@ export interface DashboardTagSubscription {
|
|
871
885
|
tagType: TagType;
|
872
886
|
}
|
873
887
|
|
888
|
+
export const ExternalUrlQL = `
|
889
|
+
type ExternalUrl {
|
890
|
+
tagType: TagType!
|
891
|
+
blockType: BlockType!
|
892
|
+
}`;
|
893
|
+
export interface ExternalUrl {
|
894
|
+
tagType: TagType;
|
895
|
+
blockType: BlockType;
|
896
|
+
}
|
897
|
+
|
874
898
|
export const ProviderApplicationQL = `
|
875
899
|
type ProviderApplication {
|
876
900
|
name: String!
|
@@ -884,6 +908,7 @@ type ProviderApplication {
|
|
884
908
|
documentTypeSubscriptions: [String]
|
885
909
|
dashboardTypeSubscriptions: [String]
|
886
910
|
dashboardTagSubscriptions: [DashboardTagSubscription]
|
911
|
+
externalUrls: [ExternalUrl]
|
887
912
|
authentication: Boolean!
|
888
913
|
installed: Boolean
|
889
914
|
}`;
|
@@ -899,6 +924,7 @@ export interface ProviderApplication {
|
|
899
924
|
documentTypeSubscriptions?: string[];
|
900
925
|
dashboardTypeSubscriptions?: string[];
|
901
926
|
dashboardTagSubscriptions?: DashboardTagSubscription[];
|
927
|
+
externalUrls?: ExternalUrl[];
|
902
928
|
externalStorage: boolean;
|
903
929
|
authentication: boolean;
|
904
930
|
installed?: boolean;
|
@@ -989,6 +1015,7 @@ export const TagFieldsWithoutSharing = `${PrimitiveFields}
|
|
989
1015
|
originNoteId: String
|
990
1016
|
tenantIdVerified: String
|
991
1017
|
businessObjects: [BusinessObjectLink]
|
1018
|
+
externalUrls: [ExternalUrlLink]
|
992
1019
|
merged: Boolean
|
993
1020
|
mergedWithTagId: String
|
994
1021
|
archived: Boolean!
|
@@ -1025,6 +1052,7 @@ export class Tag extends Primitive {
|
|
1025
1052
|
sharingLevel?: SharingLevel; // This is really a virtualized property
|
1026
1053
|
taskCount?: number;
|
1027
1054
|
businessObjects?: BusinessObjectLink[]; // The business objects that should be used to enrich the card view
|
1055
|
+
externalUrls?: ExternalUrlLink[]; // The external urls as per the apps the tenants have installed
|
1028
1056
|
_createdByAI: boolean;
|
1029
1057
|
_orphan?: boolean;
|
1030
1058
|
_savedSearchId?: string;
|
@@ -3134,6 +3162,7 @@ ${TenantSettingQL}
|
|
3134
3162
|
${SharingTenantQL}
|
3135
3163
|
${BusinessObjectLinkInputQL}
|
3136
3164
|
${BusinessObjectLinkQL}
|
3165
|
+
${ExternalUrlLinkQL}
|
3137
3166
|
${ReactionSkinToneQL}
|
3138
3167
|
${TaskStepInputQL}
|
3139
3168
|
${ReactionQL}
|
@@ -3156,6 +3185,7 @@ ${SearchQL}
|
|
3156
3185
|
${SyncQL}
|
3157
3186
|
${DashboardTagSubscriptionQL}
|
3158
3187
|
${ProviderApplicationQL}
|
3188
|
+
${ExternalUrlQL}
|
3159
3189
|
${ProviderQL}
|
3160
3190
|
${TagTypeQL}
|
3161
3191
|
${GraphTagQL}
|