@bigfootai/bigfoot-types 4.9.0 → 4.9.1
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.
@@ -16,17 +16,18 @@ exports.AccountOverview = {
|
|
16
16
|
description: 'A short summary about the account',
|
17
17
|
blockType: model_1.BlockType.Section,
|
18
18
|
},
|
19
|
-
{
|
20
|
-
name: 'projects',
|
21
|
-
title: 'Tasks',
|
22
|
-
description: 'A list of tasks associated with this account',
|
23
|
-
blockType: model_1.BlockType.Task,
|
24
|
-
},
|
25
19
|
{
|
26
20
|
name: 'opportunities',
|
27
21
|
title: 'Opportunities',
|
28
22
|
description: 'A list of opportunities associated with the account',
|
29
|
-
|
23
|
+
metadataType: 'opportunity',
|
24
|
+
blockType: model_1.BlockType.Table,
|
25
|
+
},
|
26
|
+
{
|
27
|
+
name: 'cases',
|
28
|
+
title: 'Cases',
|
29
|
+
description: 'A list of cases associated with the account',
|
30
|
+
metadataType: 'case',
|
30
31
|
blockType: model_1.BlockType.Table,
|
31
32
|
},
|
32
33
|
],
|
@@ -36,5 +37,5 @@ exports.AccountOverview = {
|
|
36
37
|
'account briefing',
|
37
38
|
'account plan',
|
38
39
|
],
|
39
|
-
threshold: 0
|
40
|
+
threshold: 0,
|
40
41
|
};
|
@@ -15,17 +15,18 @@ export const AccountOverview: DocumentMetadata = {
|
|
15
15
|
description: 'A short summary about the account',
|
16
16
|
blockType: BlockType.Section,
|
17
17
|
},
|
18
|
-
{
|
19
|
-
name: 'projects',
|
20
|
-
title: 'Tasks',
|
21
|
-
description: 'A list of tasks associated with this account',
|
22
|
-
blockType: BlockType.Task,
|
23
|
-
},
|
24
18
|
{
|
25
19
|
name: 'opportunities',
|
26
20
|
title: 'Opportunities',
|
27
21
|
description: 'A list of opportunities associated with the account',
|
28
|
-
|
22
|
+
metadataType: 'opportunity',
|
23
|
+
blockType: BlockType.Table,
|
24
|
+
},
|
25
|
+
{
|
26
|
+
name: 'cases',
|
27
|
+
title: 'Cases',
|
28
|
+
description: 'A list of cases associated with the account',
|
29
|
+
metadataType: 'case',
|
29
30
|
blockType: BlockType.Table,
|
30
31
|
},
|
31
32
|
],
|
@@ -35,5 +36,5 @@ export const AccountOverview: DocumentMetadata = {
|
|
35
36
|
'account briefing',
|
36
37
|
'account plan',
|
37
38
|
],
|
38
|
-
threshold: 0
|
39
|
+
threshold: 0,
|
39
40
|
};
|
@@ -9,6 +9,7 @@ exports.HealthCheck = {
|
|
9
9
|
label: 'Customer Health Check',
|
10
10
|
description: 'This template should be used for customer meetings where the person is checking the satisfaction of the customer with their product or service.',
|
11
11
|
metadataType: 'healthcheck',
|
12
|
+
exportTypes: [model_1.ExportType.Document],
|
12
13
|
blockDescriptions: [
|
13
14
|
{
|
14
15
|
name: 'summary',
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BlockType, DocumentMetadata } from '../../model';
|
1
|
+
import { BlockType, DocumentMetadata, ExportType } from '../../model';
|
2
2
|
|
3
3
|
export const HealthCheck: DocumentMetadata = {
|
4
4
|
_id: '',
|
@@ -8,6 +8,7 @@ export const HealthCheck: DocumentMetadata = {
|
|
8
8
|
description:
|
9
9
|
'This template should be used for customer meetings where the person is checking the satisfaction of the customer with their product or service.',
|
10
10
|
metadataType: 'healthcheck',
|
11
|
+
exportTypes: [ExportType.Document],
|
11
12
|
blockDescriptions: [
|
12
13
|
{
|
13
14
|
name: 'summary',
|
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.UpdateTagSharingInputQL = 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 = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = void 0;
|
3
|
+
exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = 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.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.BlockProcessingRequest = exports.Block = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.BusinessObjectLinkingToTagQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = 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.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 = exports.TaskFieldsForUpsert = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.History = exports.BlockProcessingResponse = void 0;
|
6
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = 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 = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = 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
|
@@ -49,6 +49,11 @@ var TagType;
|
|
49
49
|
TagType["Date"] = "date";
|
50
50
|
TagType["Unknown"] = "unknown";
|
51
51
|
})(TagType || (exports.TagType = TagType = {}));
|
52
|
+
var ExportType;
|
53
|
+
(function (ExportType) {
|
54
|
+
ExportType["Document"] = "document";
|
55
|
+
ExportType["Message"] = "message";
|
56
|
+
})(ExportType || (exports.ExportType = ExportType = {}));
|
52
57
|
var ClientType;
|
53
58
|
(function (ClientType) {
|
54
59
|
ClientType["Web"] = "web";
|
@@ -1119,11 +1124,12 @@ type BlockDescription {
|
|
1119
1124
|
name: String!
|
1120
1125
|
description: String!
|
1121
1126
|
blockType: String!
|
1122
|
-
|
1127
|
+
metadataType: String
|
1123
1128
|
}`;
|
1124
1129
|
exports.DocumentMetadataQL = `
|
1125
1130
|
type DocumentMetadata {${exports.MetadataFields}
|
1126
1131
|
blockDescriptions: [BlockDescription]!
|
1132
|
+
exportTypes: [String]
|
1127
1133
|
}`;
|
1128
1134
|
class DocumentMetadata extends Metadata {
|
1129
1135
|
constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
|
package/model.ts
CHANGED
@@ -44,6 +44,11 @@ export enum TagType {
|
|
44
44
|
Unknown = 'unknown',
|
45
45
|
}
|
46
46
|
|
47
|
+
export enum ExportType {
|
48
|
+
Document = 'document',
|
49
|
+
Message = 'message',
|
50
|
+
}
|
51
|
+
|
47
52
|
export enum ClientType {
|
48
53
|
Web = 'web',
|
49
54
|
Mobile = 'mobile',
|
@@ -1960,22 +1965,24 @@ type BlockDescription {
|
|
1960
1965
|
name: String!
|
1961
1966
|
description: String!
|
1962
1967
|
blockType: String!
|
1963
|
-
|
1968
|
+
metadataType: String
|
1964
1969
|
}`;
|
1965
1970
|
export interface BlockDescription {
|
1966
1971
|
title?: string;
|
1967
1972
|
name: string;
|
1968
1973
|
description: string;
|
1969
1974
|
blockType: BlockType;
|
1970
|
-
|
1975
|
+
metadataType?: string;
|
1971
1976
|
}
|
1972
1977
|
|
1973
1978
|
export const DocumentMetadataQL = `
|
1974
1979
|
type DocumentMetadata {${MetadataFields}
|
1975
1980
|
blockDescriptions: [BlockDescription]!
|
1981
|
+
exportTypes: [String]
|
1976
1982
|
}`;
|
1977
1983
|
export class DocumentMetadata extends Metadata {
|
1978
1984
|
blockDescriptions: BlockDescription[];
|
1985
|
+
exportTypes?: ExportType[]; // What export types this document metadata should be used for
|
1979
1986
|
|
1980
1987
|
constructor(
|
1981
1988
|
label: string,
|