@bigfootai/bigfoot-types 4.7.21 → 4.7.23
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.
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AccountOverview = void 0;
|
4
|
+
const model_1 = require("../../model");
|
5
|
+
exports.AccountOverview = {
|
6
|
+
_id: '',
|
7
|
+
dateCreated: 0,
|
8
|
+
dateUpdated: 0,
|
9
|
+
label: 'Account Overview',
|
10
|
+
description: 'This template should be used to provide account overviews or account summaries.',
|
11
|
+
metadataType: 'account_overview',
|
12
|
+
blockDescriptions: [
|
13
|
+
{
|
14
|
+
name: 'summary',
|
15
|
+
title: 'Exec Summary',
|
16
|
+
description: 'A short summary about the account',
|
17
|
+
blockType: model_1.BlockType.Section,
|
18
|
+
},
|
19
|
+
{
|
20
|
+
name: 'people',
|
21
|
+
title: 'People',
|
22
|
+
description: 'A bulleted list of people associated with the account',
|
23
|
+
blockType: model_1.BlockType.Section,
|
24
|
+
},
|
25
|
+
{
|
26
|
+
name: 'projects',
|
27
|
+
title: 'Tasks',
|
28
|
+
description: 'A list of tasks associated with this account',
|
29
|
+
blockType: model_1.BlockType.Task,
|
30
|
+
},
|
31
|
+
{
|
32
|
+
name: 'opportunities',
|
33
|
+
title: 'Opportunities',
|
34
|
+
description: 'A list of opportunities associated with the account',
|
35
|
+
recordType: 'opportunity',
|
36
|
+
blockType: model_1.BlockType.Table,
|
37
|
+
},
|
38
|
+
],
|
39
|
+
classifiers: [
|
40
|
+
'account summary',
|
41
|
+
'account overview',
|
42
|
+
'account briefing',
|
43
|
+
'account plan',
|
44
|
+
],
|
45
|
+
threshold: 0.24,
|
46
|
+
};
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { BlockType, DocumentMetadata } from '../../model';
|
2
|
+
|
3
|
+
export const AccountOverview: DocumentMetadata = {
|
4
|
+
_id: '',
|
5
|
+
dateCreated: 0,
|
6
|
+
dateUpdated: 0,
|
7
|
+
label: 'Account Overview',
|
8
|
+
description:
|
9
|
+
'This template should be used to provide account overviews or account summaries.',
|
10
|
+
metadataType: 'account_overview',
|
11
|
+
blockDescriptions: [
|
12
|
+
{
|
13
|
+
name: 'summary',
|
14
|
+
title: 'Exec Summary',
|
15
|
+
description: 'A short summary about the account',
|
16
|
+
blockType: BlockType.Section,
|
17
|
+
},
|
18
|
+
{
|
19
|
+
name: 'people',
|
20
|
+
title: 'People',
|
21
|
+
description:
|
22
|
+
'A bulleted list of people associated with the account',
|
23
|
+
blockType: BlockType.Section,
|
24
|
+
},
|
25
|
+
{
|
26
|
+
name: 'projects',
|
27
|
+
title: 'Tasks',
|
28
|
+
description: 'A list of tasks associated with this account',
|
29
|
+
blockType: BlockType.Task,
|
30
|
+
},
|
31
|
+
{
|
32
|
+
name: 'opportunities',
|
33
|
+
title: 'Opportunities',
|
34
|
+
description: 'A list of opportunities associated with the account',
|
35
|
+
recordType: 'opportunity',
|
36
|
+
blockType: BlockType.Table,
|
37
|
+
},
|
38
|
+
],
|
39
|
+
classifiers: [
|
40
|
+
'account summary',
|
41
|
+
'account overview',
|
42
|
+
'account briefing',
|
43
|
+
'account plan',
|
44
|
+
],
|
45
|
+
threshold: 0.24,
|
46
|
+
};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.HealthCheck = void 0;
|
4
|
+
const model_1 = require("../../model");
|
4
5
|
exports.HealthCheck = {
|
5
6
|
_id: '',
|
6
7
|
dateCreated: 0,
|
@@ -13,21 +14,25 @@ exports.HealthCheck = {
|
|
13
14
|
name: 'summary',
|
14
15
|
title: 'Exec Summary',
|
15
16
|
description: 'Outlines the key takeaways of the meeting',
|
17
|
+
blockType: model_1.BlockType.Section,
|
16
18
|
},
|
17
19
|
{
|
18
20
|
name: 'issues',
|
19
21
|
title: 'Issues',
|
20
22
|
description: 'A bulleted list of issues the customer raised during the meeting',
|
23
|
+
blockType: model_1.BlockType.Section,
|
21
24
|
},
|
22
25
|
{
|
23
26
|
name: 'projects',
|
24
27
|
title: 'Projects/Milestones',
|
25
28
|
description: 'A bulleted list of any projects and milestone dates that are critical to the customer',
|
29
|
+
blockType: model_1.BlockType.Section,
|
26
30
|
},
|
27
31
|
{
|
28
32
|
name: 'opportunities',
|
29
33
|
title: 'Opportunities',
|
30
34
|
description: 'A bulleted list of any opportunities the customer discussed at the meeting',
|
35
|
+
blockType: model_1.BlockType.Section,
|
31
36
|
},
|
32
37
|
],
|
33
38
|
classifiers: [
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DocumentMetadata } from '../../model';
|
1
|
+
import { BlockType, DocumentMetadata } from '../../model';
|
2
2
|
|
3
3
|
export const HealthCheck: DocumentMetadata = {
|
4
4
|
_id: '',
|
@@ -13,24 +13,28 @@ export const HealthCheck: DocumentMetadata = {
|
|
13
13
|
name: 'summary',
|
14
14
|
title: 'Exec Summary',
|
15
15
|
description: 'Outlines the key takeaways of the meeting',
|
16
|
+
blockType: BlockType.Section,
|
16
17
|
},
|
17
18
|
{
|
18
19
|
name: 'issues',
|
19
20
|
title: 'Issues',
|
20
21
|
description:
|
21
22
|
'A bulleted list of issues the customer raised during the meeting',
|
23
|
+
blockType: BlockType.Section,
|
22
24
|
},
|
23
25
|
{
|
24
26
|
name: 'projects',
|
25
27
|
title: 'Projects/Milestones',
|
26
28
|
description:
|
27
29
|
'A bulleted list of any projects and milestone dates that are critical to the customer',
|
30
|
+
blockType: BlockType.Section,
|
28
31
|
},
|
29
32
|
{
|
30
33
|
name: 'opportunities',
|
31
34
|
title: 'Opportunities',
|
32
35
|
description:
|
33
36
|
'A bulleted list of any opportunities the customer discussed at the meeting',
|
37
|
+
blockType: BlockType.Section,
|
34
38
|
},
|
35
39
|
],
|
36
40
|
classifiers: [
|
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 = exports.UpsertTagInputQL = void 0;
|
4
|
+
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.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = void 0;
|
5
|
+
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 = exports.TaskQL = 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 = exports.SharingTenantInputQL = 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
|
@@ -469,6 +469,9 @@ exports.MetadataFields = `${exports.PrimitiveFields}
|
|
469
469
|
threshold: Float!
|
470
470
|
provider: String
|
471
471
|
application: String`;
|
472
|
+
exports.MetadataQL = `
|
473
|
+
type Metadata {${exports.MetadataFields}
|
474
|
+
}`;
|
472
475
|
class Metadata extends Primitive {
|
473
476
|
constructor(label, description, metadataType, classifiers, threshold) {
|
474
477
|
super();
|
@@ -654,6 +657,7 @@ type UpsertRecommendation {
|
|
654
657
|
document: Document
|
655
658
|
blockType: String!
|
656
659
|
upsertType: String!
|
660
|
+
metadata: Metadata
|
657
661
|
}`;
|
658
662
|
exports.RecommendationQL = `
|
659
663
|
type Recommendation {${exports.SharedPrimitiveFields}
|
@@ -1041,6 +1045,8 @@ type BlockDescription {
|
|
1041
1045
|
title: String
|
1042
1046
|
name: String!
|
1043
1047
|
description: String!
|
1048
|
+
blockType: String!
|
1049
|
+
recordType: String
|
1044
1050
|
}`;
|
1045
1051
|
exports.DocumentMetadataQL = `
|
1046
1052
|
type DocumentMetadata {${exports.MetadataFields}
|
@@ -1457,6 +1463,7 @@ ${exports.CredentialQL}
|
|
1457
1463
|
${exports.ChangesInputQL}
|
1458
1464
|
${exports.ChangesQL}
|
1459
1465
|
${exports.PersonReferenceQL}
|
1466
|
+
${exports.MetadataQL}
|
1460
1467
|
${exports.FolderQL}
|
1461
1468
|
${exports.SearchQL}
|
1462
1469
|
${exports.SyncQL}
|
package/model.ts
CHANGED
@@ -672,6 +672,9 @@ export const MetadataFields = `${PrimitiveFields}
|
|
672
672
|
threshold: Float!
|
673
673
|
provider: String
|
674
674
|
application: String`;
|
675
|
+
export const MetadataQL = `
|
676
|
+
type Metadata {${MetadataFields}
|
677
|
+
}`;
|
675
678
|
export class Metadata extends Primitive {
|
676
679
|
label: string;
|
677
680
|
description: string;
|
@@ -888,6 +891,7 @@ export const TagFieldsWithoutSharing = `${PrimitiveFields}
|
|
888
891
|
inviteStatus: String
|
889
892
|
originNoteId: String
|
890
893
|
tenantIdVerified: String
|
894
|
+
businessObjects: [BusinessObjectLink]
|
891
895
|
archived: Boolean!
|
892
896
|
favorite: Boolean!
|
893
897
|
taskCount: Int`;
|
@@ -918,6 +922,7 @@ export class Tag extends Primitive {
|
|
918
922
|
hasAutoShareTasksOn?: boolean; // This is really a virtualized property
|
919
923
|
sharingLevel?: SharingLevel; // This is really a virtualized property
|
920
924
|
taskCount?: number;
|
925
|
+
businessObjects?: BusinessObjectLink[]; // The business objects that should be used to enrich the card view
|
921
926
|
_createdByAI: boolean;
|
922
927
|
_orphan?: boolean;
|
923
928
|
_savedSearchId?: string;
|
@@ -992,6 +997,7 @@ type UpsertRecommendation {
|
|
992
997
|
document: Document
|
993
998
|
blockType: String!
|
994
999
|
upsertType: String!
|
1000
|
+
metadata: Metadata
|
995
1001
|
}`;
|
996
1002
|
export interface UpsertRecommendation {
|
997
1003
|
table?: Table;
|
@@ -1846,11 +1852,15 @@ type BlockDescription {
|
|
1846
1852
|
title: String
|
1847
1853
|
name: String!
|
1848
1854
|
description: String!
|
1855
|
+
blockType: String!
|
1856
|
+
recordType: String
|
1849
1857
|
}`;
|
1850
1858
|
export interface BlockDescription {
|
1851
1859
|
title?: string;
|
1852
1860
|
name: string;
|
1853
1861
|
description: string;
|
1862
|
+
blockType: BlockType;
|
1863
|
+
recordType?: string;
|
1854
1864
|
}
|
1855
1865
|
|
1856
1866
|
export const DocumentMetadataQL = `
|
@@ -2640,6 +2650,7 @@ ${CredentialQL}
|
|
2640
2650
|
${ChangesInputQL}
|
2641
2651
|
${ChangesQL}
|
2642
2652
|
${PersonReferenceQL}
|
2653
|
+
${MetadataQL}
|
2643
2654
|
${FolderQL}
|
2644
2655
|
${SearchQL}
|
2645
2656
|
${SyncQL}
|