@bigfootai/bigfoot-types 5.2.27 → 5.2.29
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/metadata/documents/healthcheck.js +2 -2
- package/metadata/documents/healthcheck.ts +3 -2
- package/model.js +18 -4
- package/model.ts +20 -0
- package/package.json +1 -1
@@ -6,7 +6,7 @@ exports.HealthCheck = {
|
|
6
6
|
_id: '',
|
7
7
|
dateCreated: 0,
|
8
8
|
dateUpdated: 0,
|
9
|
-
label: 'Customer
|
9
|
+
label: 'Customer Meeting Summary',
|
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
12
|
exportTypes: [model_1.ExportType.Document],
|
@@ -14,7 +14,7 @@ exports.HealthCheck = {
|
|
14
14
|
{
|
15
15
|
name: 'summary',
|
16
16
|
title: 'Exec Summary',
|
17
|
-
description: '
|
17
|
+
description: 'Write a short summary about the topic or topics provided. Keep the response to 3 to 5 sentences. Focus on key milestones, issues and opportunities.',
|
18
18
|
blockType: model_1.BlockType.Section,
|
19
19
|
},
|
20
20
|
{
|
@@ -4,7 +4,7 @@ export const HealthCheck: DocumentMetadata = {
|
|
4
4
|
_id: '',
|
5
5
|
dateCreated: 0,
|
6
6
|
dateUpdated: 0,
|
7
|
-
label: 'Customer
|
7
|
+
label: 'Customer Meeting Summary',
|
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',
|
@@ -13,7 +13,8 @@ export const HealthCheck: DocumentMetadata = {
|
|
13
13
|
{
|
14
14
|
name: 'summary',
|
15
15
|
title: 'Exec Summary',
|
16
|
-
description:
|
16
|
+
description:
|
17
|
+
'Write a short summary about the topic or topics provided. Keep the response to 3 to 5 sentences. Focus on key milestones, issues and opportunities.',
|
17
18
|
blockType: BlockType.Section,
|
18
19
|
},
|
19
20
|
{
|
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 = void 0;
|
4
|
+
exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.MessageRecommendationQL = 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.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.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = 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 = void 0;
|
6
|
+
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.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 = 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 = 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
|
@@ -38,6 +38,7 @@ var RecommendationType;
|
|
38
38
|
RecommendationType["Upsert"] = "upsert";
|
39
39
|
RecommendationType["Share"] = "share";
|
40
40
|
RecommendationType["Notification"] = "notification";
|
41
|
+
RecommendationType["Message"] = "message";
|
41
42
|
})(RecommendationType || (exports.RecommendationType = RecommendationType = {}));
|
42
43
|
var UpsertType;
|
43
44
|
(function (UpsertType) {
|
@@ -246,20 +247,26 @@ var RelationType;
|
|
246
247
|
})(RelationType || (exports.RelationType = RelationType = {}));
|
247
248
|
var PubSubType;
|
248
249
|
(function (PubSubType) {
|
250
|
+
PubSubType["NoteChanged"] = "noteChanged";
|
249
251
|
PubSubType["NoteCreated"] = "noteCreated";
|
250
252
|
PubSubType["NoteUpdated"] = "noteUpdated";
|
251
253
|
PubSubType["NoteArchived"] = "noteArchived";
|
254
|
+
PubSubType["TaskChanged"] = "taskChanged";
|
252
255
|
PubSubType["TaskCreated"] = "taskCreated";
|
253
256
|
PubSubType["TaskUpdated"] = "taskUpdated";
|
254
257
|
PubSubType["TaskArchived"] = "taskArchived";
|
258
|
+
PubSubType["RecommendationChanged"] = "recommendationChanged";
|
255
259
|
PubSubType["RecommendationCreated"] = "recommendationCreated";
|
256
260
|
PubSubType["RecommendationUpdated"] = "recommendationUpdated";
|
257
261
|
PubSubType["RecommendationArchived"] = "recommendationArchived";
|
262
|
+
PubSubType["ReactionChangedForBlock"] = "reactionChangedForBlock";
|
258
263
|
PubSubType["ReactionAddedToBlock"] = "reactionAddedToBlock";
|
259
264
|
PubSubType["ReactionRemovedFromBlock"] = "reactionRemovedFromBlock";
|
265
|
+
PubSubType["MessageChangedForBlock"] = "messageChangedForBlock";
|
260
266
|
PubSubType["MessageCreatedForBlock"] = "messageCreatedForBlock";
|
261
267
|
PubSubType["MessageUpdatedForBlock"] = "messageUpdatedForBlock";
|
262
268
|
PubSubType["MessageArchivedForBlock"] = "messageArchivedForBlock";
|
269
|
+
PubSubType["MessageChangedForTag"] = "messageChangedForTag";
|
263
270
|
PubSubType["MessageCreatedForTag"] = "messageCreatedForTag";
|
264
271
|
PubSubType["MessageUpdatedForTag"] = "messageUpdatedForTag";
|
265
272
|
PubSubType["MessageArchivedForTag"] = "messageArchivedForTag";
|
@@ -819,6 +826,10 @@ type ShareRecommendation {
|
|
819
826
|
shared: Boolean!
|
820
827
|
tenant: TenantLight!
|
821
828
|
}`;
|
829
|
+
exports.MessageRecommendationQL = `
|
830
|
+
type MessageRecommendation {
|
831
|
+
tenant: TenantLight!
|
832
|
+
}`;
|
822
833
|
exports.NotificationRecommendationQL = `
|
823
834
|
type NotificationRecommendation {
|
824
835
|
dashboard: Dashboard!
|
@@ -830,6 +841,7 @@ type Recommendation {${exports.SharedPrimitiveFields}
|
|
830
841
|
connectRecommendation: ConnectRecommendation
|
831
842
|
upsertRecommendation: UpsertRecommendation
|
832
843
|
shareRecommendation: ShareRecommendation
|
844
|
+
messageRecommendation: MessageRecommendation
|
833
845
|
notificationRecommendation: NotificationRecommendation
|
834
846
|
parentId: String
|
835
847
|
dateDue: Float
|
@@ -883,6 +895,7 @@ exports.Tenant = Tenant;
|
|
883
895
|
exports.DomainQL = `
|
884
896
|
type Domain {${exports.PrimitiveFields}
|
885
897
|
domain: String!
|
898
|
+
member: Boolean!
|
886
899
|
}`;
|
887
900
|
class Domain extends Primitive {
|
888
901
|
constructor(domain, isPublic) {
|
@@ -1954,6 +1967,7 @@ ${exports.TenantLightQL}
|
|
1954
1967
|
${exports.ConnectRecommendationQL}
|
1955
1968
|
${exports.UpsertRecommendationQL}
|
1956
1969
|
${exports.ShareRecommendationQL}
|
1970
|
+
${exports.MessageRecommendationQL}
|
1957
1971
|
${exports.NotificationRecommendationQL}
|
1958
1972
|
${exports.RecommendationQL}
|
1959
1973
|
${exports.ConnectedProviderQL}
|
package/model.ts
CHANGED
@@ -31,6 +31,7 @@ export enum RecommendationType {
|
|
31
31
|
Upsert = 'upsert',
|
32
32
|
Share = 'share',
|
33
33
|
Notification = 'notification',
|
34
|
+
Message = 'message',
|
34
35
|
}
|
35
36
|
|
36
37
|
export enum UpsertType {
|
@@ -239,20 +240,26 @@ export enum RelationType {
|
|
239
240
|
}
|
240
241
|
|
241
242
|
export enum PubSubType {
|
243
|
+
NoteChanged = 'noteChanged',
|
242
244
|
NoteCreated = 'noteCreated',
|
243
245
|
NoteUpdated = 'noteUpdated',
|
244
246
|
NoteArchived = 'noteArchived',
|
247
|
+
TaskChanged = 'taskChanged',
|
245
248
|
TaskCreated = 'taskCreated',
|
246
249
|
TaskUpdated = 'taskUpdated',
|
247
250
|
TaskArchived = 'taskArchived',
|
251
|
+
RecommendationChanged = 'recommendationChanged',
|
248
252
|
RecommendationCreated = 'recommendationCreated',
|
249
253
|
RecommendationUpdated = 'recommendationUpdated',
|
250
254
|
RecommendationArchived = 'recommendationArchived',
|
255
|
+
ReactionChangedForBlock = 'reactionChangedForBlock',
|
251
256
|
ReactionAddedToBlock = 'reactionAddedToBlock',
|
252
257
|
ReactionRemovedFromBlock = 'reactionRemovedFromBlock',
|
258
|
+
MessageChangedForBlock = 'messageChangedForBlock',
|
253
259
|
MessageCreatedForBlock = 'messageCreatedForBlock',
|
254
260
|
MessageUpdatedForBlock = 'messageUpdatedForBlock',
|
255
261
|
MessageArchivedForBlock = 'messageArchivedForBlock',
|
262
|
+
MessageChangedForTag = 'messageChangedForTag',
|
256
263
|
MessageCreatedForTag = 'messageCreatedForTag',
|
257
264
|
MessageUpdatedForTag = 'messageUpdatedForTag',
|
258
265
|
MessageArchivedForTag = 'messageArchivedForTag',
|
@@ -1254,6 +1261,14 @@ export interface ShareRecommendation {
|
|
1254
1261
|
tenant: TenantLight;
|
1255
1262
|
}
|
1256
1263
|
|
1264
|
+
export const MessageRecommendationQL = `
|
1265
|
+
type MessageRecommendation {
|
1266
|
+
tenant: TenantLight!
|
1267
|
+
}`;
|
1268
|
+
export interface MessageRecommendation {
|
1269
|
+
tenant: TenantLight;
|
1270
|
+
}
|
1271
|
+
|
1257
1272
|
export const NotificationRecommendationQL = `
|
1258
1273
|
type NotificationRecommendation {
|
1259
1274
|
dashboard: Dashboard!
|
@@ -1278,6 +1293,7 @@ type Recommendation {${SharedPrimitiveFields}
|
|
1278
1293
|
connectRecommendation: ConnectRecommendation
|
1279
1294
|
upsertRecommendation: UpsertRecommendation
|
1280
1295
|
shareRecommendation: ShareRecommendation
|
1296
|
+
messageRecommendation: MessageRecommendation
|
1281
1297
|
notificationRecommendation: NotificationRecommendation
|
1282
1298
|
parentId: String
|
1283
1299
|
dateDue: Float
|
@@ -1295,6 +1311,7 @@ export class Recommendation extends SharedPrimitive implements BaseTask {
|
|
1295
1311
|
connectRecommendation?: ConnectRecommendation; // For provider recommendations, we use this field
|
1296
1312
|
upsertRecommendation?: UpsertRecommendation; // For data upsert recommendations, we use this field
|
1297
1313
|
shareRecommendation?: ShareRecommendation; // For instances when a block is shared with a tenant
|
1314
|
+
messageRecommendation?: MessageRecommendation; // For instances when a message is shared
|
1298
1315
|
notificationRecommendation?: NotificationRecommendation; // For instances where the app wants to tell us something
|
1299
1316
|
parentId?: string; // Any parent recommendation that generated this recommendation
|
1300
1317
|
dateDue?: number;
|
@@ -1380,9 +1397,11 @@ export class Tenant extends Primitive {
|
|
1380
1397
|
export const DomainQL = `
|
1381
1398
|
type Domain {${PrimitiveFields}
|
1382
1399
|
domain: String!
|
1400
|
+
member: Boolean!
|
1383
1401
|
}`;
|
1384
1402
|
export class Domain extends Primitive {
|
1385
1403
|
domain: string;
|
1404
|
+
member?: boolean;
|
1386
1405
|
isPublic: boolean;
|
1387
1406
|
|
1388
1407
|
constructor(domain: string, isPublic: boolean) {
|
@@ -3418,6 +3437,7 @@ ${TenantLightQL}
|
|
3418
3437
|
${ConnectRecommendationQL}
|
3419
3438
|
${UpsertRecommendationQL}
|
3420
3439
|
${ShareRecommendationQL}
|
3440
|
+
${MessageRecommendationQL}
|
3421
3441
|
${NotificationRecommendationQL}
|
3422
3442
|
${RecommendationQL}
|
3423
3443
|
${ConnectedProviderQL}
|