@bigfootai/bigfoot-types 3.2.0 → 3.2.2
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/model.js +10 -3
- package/model.ts +7 -1
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.GraphQLTypes = exports.SearchInputQL = void 0;
|
3
|
+
exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.Provider = exports.ProviderQL = exports.Sync = exports.SyncQL = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.DateEntityEntryQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.SharingTagQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationVariation = exports.TagRecommendationType = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
+
exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.InsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = 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.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = void 0;
|
5
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveTaskOutputQL = void 0;
|
6
6
|
const uuid_1 = require("uuid");
|
7
7
|
/*
|
8
8
|
These are the core primitives of our model. These represent the entities that show
|
@@ -354,6 +354,12 @@ class Provider extends Primitive {
|
|
354
354
|
}
|
355
355
|
}
|
356
356
|
exports.Provider = Provider;
|
357
|
+
exports.TagQL = `
|
358
|
+
type Tag {${exports.PrimitiveFields}
|
359
|
+
alias: String!
|
360
|
+
friendlyName: String
|
361
|
+
tagType: String!
|
362
|
+
}`;
|
357
363
|
class Tag extends Primitive {
|
358
364
|
constructor(tenantIdCreated, alias, tagType) {
|
359
365
|
super();
|
@@ -798,6 +804,7 @@ ${exports.ChangesQL}
|
|
798
804
|
${exports.PersonReferenceQL}
|
799
805
|
${exports.SyncQL}
|
800
806
|
${exports.ProviderQL}
|
807
|
+
${exports.TagQL}
|
801
808
|
${exports.TagRecommendationQL}
|
802
809
|
${exports.ConnectedProviderQL}
|
803
810
|
${exports.ReferenceBlockQL}
|
package/model.ts
CHANGED
@@ -543,6 +543,12 @@ export class Provider extends Primitive {
|
|
543
543
|
}
|
544
544
|
}
|
545
545
|
|
546
|
+
export const TagQL = `
|
547
|
+
type Tag {${PrimitiveFields}
|
548
|
+
alias: String!
|
549
|
+
friendlyName: String
|
550
|
+
tagType: String!
|
551
|
+
}`;
|
546
552
|
export class Tag extends Primitive {
|
547
553
|
alias: string;
|
548
554
|
friendlyName?: string;
|
@@ -769,7 +775,6 @@ export class BusinessObject extends Block {
|
|
769
775
|
processingReason?: string; // The reason the processing is at this stage
|
770
776
|
externalResponse?: any; // The full response from the external system that created this object
|
771
777
|
iconUrl?: string | null; // The url of an icon that represents the business object
|
772
|
-
document?: any | null; // The business object formatted as a document for ML to ingest
|
773
778
|
parentId?: string | null; // The business object that is the parent of this business object
|
774
779
|
|
775
780
|
constructor(
|
@@ -1515,6 +1520,7 @@ ${ChangesQL}
|
|
1515
1520
|
${PersonReferenceQL}
|
1516
1521
|
${SyncQL}
|
1517
1522
|
${ProviderQL}
|
1523
|
+
${TagQL}
|
1518
1524
|
${TagRecommendationQL}
|
1519
1525
|
${ConnectedProviderQL}
|
1520
1526
|
${ReferenceBlockQL}
|