@bigfootai/bigfoot-types 5.2.28 → 5.2.30
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 +19 -5
- package/model.ts +21 -1
- 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";
|
@@ -504,7 +511,8 @@ class Primitive {
|
|
504
511
|
}
|
505
512
|
exports.Primitive = Primitive;
|
506
513
|
exports.SharedPrimitiveFields = `${exports.PrimitiveFields}
|
507
|
-
sharingTags: [SharingTag]
|
514
|
+
sharingTags: [SharingTag]!
|
515
|
+
subscriptionEvent: String`;
|
508
516
|
exports.SharedPrimitiveFieldsForUpsert = `${exports.PrimitiveFieldsForUpsert}
|
509
517
|
sharingTags: [SharingTagInput]`;
|
510
518
|
class SharedPrimitive extends Primitive {
|
@@ -819,6 +827,10 @@ type ShareRecommendation {
|
|
819
827
|
shared: Boolean!
|
820
828
|
tenant: TenantLight!
|
821
829
|
}`;
|
830
|
+
exports.MessageRecommendationQL = `
|
831
|
+
type MessageRecommendation {
|
832
|
+
tenant: TenantLight!
|
833
|
+
}`;
|
822
834
|
exports.NotificationRecommendationQL = `
|
823
835
|
type NotificationRecommendation {
|
824
836
|
dashboard: Dashboard!
|
@@ -830,6 +842,7 @@ type Recommendation {${exports.SharedPrimitiveFields}
|
|
830
842
|
connectRecommendation: ConnectRecommendation
|
831
843
|
upsertRecommendation: UpsertRecommendation
|
832
844
|
shareRecommendation: ShareRecommendation
|
845
|
+
messageRecommendation: MessageRecommendation
|
833
846
|
notificationRecommendation: NotificationRecommendation
|
834
847
|
parentId: String
|
835
848
|
dateDue: Float
|
@@ -1955,6 +1968,7 @@ ${exports.TenantLightQL}
|
|
1955
1968
|
${exports.ConnectRecommendationQL}
|
1956
1969
|
${exports.UpsertRecommendationQL}
|
1957
1970
|
${exports.ShareRecommendationQL}
|
1971
|
+
${exports.MessageRecommendationQL}
|
1958
1972
|
${exports.NotificationRecommendationQL}
|
1959
1973
|
${exports.RecommendationQL}
|
1960
1974
|
${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',
|
@@ -721,7 +728,8 @@ export class Primitive {
|
|
721
728
|
}
|
722
729
|
|
723
730
|
export const SharedPrimitiveFields = `${PrimitiveFields}
|
724
|
-
sharingTags: [SharingTag]
|
731
|
+
sharingTags: [SharingTag]!
|
732
|
+
subscriptionEvent: String`;
|
725
733
|
export const SharedPrimitiveFieldsForUpsert = `${PrimitiveFieldsForUpsert}
|
726
734
|
sharingTags: [SharingTagInput]`;
|
727
735
|
export class SharedPrimitive extends Primitive {
|
@@ -730,6 +738,7 @@ export class SharedPrimitive extends Primitive {
|
|
730
738
|
_parentTagIds: string[];
|
731
739
|
_sharingTagIds: string[];
|
732
740
|
_tagIds: string[];
|
741
|
+
subscriptionEvent?: string;
|
733
742
|
|
734
743
|
constructor(sharingTags: SharingTag[]) {
|
735
744
|
super();
|
@@ -1254,6 +1263,14 @@ export interface ShareRecommendation {
|
|
1254
1263
|
tenant: TenantLight;
|
1255
1264
|
}
|
1256
1265
|
|
1266
|
+
export const MessageRecommendationQL = `
|
1267
|
+
type MessageRecommendation {
|
1268
|
+
tenant: TenantLight!
|
1269
|
+
}`;
|
1270
|
+
export interface MessageRecommendation {
|
1271
|
+
tenant: TenantLight;
|
1272
|
+
}
|
1273
|
+
|
1257
1274
|
export const NotificationRecommendationQL = `
|
1258
1275
|
type NotificationRecommendation {
|
1259
1276
|
dashboard: Dashboard!
|
@@ -1278,6 +1295,7 @@ type Recommendation {${SharedPrimitiveFields}
|
|
1278
1295
|
connectRecommendation: ConnectRecommendation
|
1279
1296
|
upsertRecommendation: UpsertRecommendation
|
1280
1297
|
shareRecommendation: ShareRecommendation
|
1298
|
+
messageRecommendation: MessageRecommendation
|
1281
1299
|
notificationRecommendation: NotificationRecommendation
|
1282
1300
|
parentId: String
|
1283
1301
|
dateDue: Float
|
@@ -1295,6 +1313,7 @@ export class Recommendation extends SharedPrimitive implements BaseTask {
|
|
1295
1313
|
connectRecommendation?: ConnectRecommendation; // For provider recommendations, we use this field
|
1296
1314
|
upsertRecommendation?: UpsertRecommendation; // For data upsert recommendations, we use this field
|
1297
1315
|
shareRecommendation?: ShareRecommendation; // For instances when a block is shared with a tenant
|
1316
|
+
messageRecommendation?: MessageRecommendation; // For instances when a message is shared
|
1298
1317
|
notificationRecommendation?: NotificationRecommendation; // For instances where the app wants to tell us something
|
1299
1318
|
parentId?: string; // Any parent recommendation that generated this recommendation
|
1300
1319
|
dateDue?: number;
|
@@ -3420,6 +3439,7 @@ ${TenantLightQL}
|
|
3420
3439
|
${ConnectRecommendationQL}
|
3421
3440
|
${UpsertRecommendationQL}
|
3422
3441
|
${ShareRecommendationQL}
|
3442
|
+
${MessageRecommendationQL}
|
3423
3443
|
${NotificationRecommendationQL}
|
3424
3444
|
${RecommendationQL}
|
3425
3445
|
${ConnectedProviderQL}
|