@bigfootai/bigfoot-types 5.1.6 → 5.1.8
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 +13 -5
- package/model.ts +16 -2
- package/package.json +1 -1
package/model.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ConnectedProviderQL = 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.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
4
|
exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = 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.DashboardTagSubscriptionQL = 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 = void 0;
|
5
|
-
exports.
|
6
|
-
exports.
|
7
|
-
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = void 0;
|
5
|
+
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 = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = 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.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = void 0;
|
6
|
+
exports.NumberFilterInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.BlockTypeQL = 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.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.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = 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
|
@@ -1048,12 +1048,14 @@ class Thread extends BusinessObject {
|
|
1048
1048
|
exports.Thread = Thread;
|
1049
1049
|
//// MESSAGING END
|
1050
1050
|
//// DOCUMENT START
|
1051
|
-
exports.
|
1052
|
-
type Document {${exports.BusinessObjectFields}
|
1051
|
+
exports.DocumentFields = `${exports.BusinessObjectFields}
|
1053
1052
|
title: String
|
1054
1053
|
description: String
|
1055
1054
|
previewImage: String
|
1056
1055
|
htmlContent: String
|
1056
|
+
metadataType: String`;
|
1057
|
+
exports.DocumentQL = `
|
1058
|
+
type Document {${exports.DocumentFields}
|
1057
1059
|
}`;
|
1058
1060
|
class Document extends BusinessObject {
|
1059
1061
|
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
|
@@ -1293,6 +1295,11 @@ input FindDocumentInput {
|
|
1293
1295
|
_id: String!
|
1294
1296
|
archived: Boolean
|
1295
1297
|
}`;
|
1298
|
+
exports.UpsertDocumentInputQL = `
|
1299
|
+
input UpsertDocumentInput {${exports.DocumentFields}
|
1300
|
+
recommendationId: String
|
1301
|
+
connectionId: String
|
1302
|
+
}`;
|
1296
1303
|
exports.FindDashboardInputQL = `
|
1297
1304
|
input FindDashboardInput {
|
1298
1305
|
_id: String!
|
@@ -1725,6 +1732,7 @@ ${exports.FindDomainInputQL}
|
|
1725
1732
|
${exports.FindCalendarInputQL}
|
1726
1733
|
${exports.FindEventInputQL}
|
1727
1734
|
${exports.UpsertNoteInputQL}
|
1735
|
+
${exports.UpsertDocumentInputQL}
|
1728
1736
|
${exports.FindDocumentInputQL}
|
1729
1737
|
${exports.FindDashboardInputQL}
|
1730
1738
|
${exports.FindBlockInputQL}
|
package/model.ts
CHANGED
@@ -1778,18 +1778,21 @@ export class Thread extends BusinessObject {
|
|
1778
1778
|
//// MESSAGING END
|
1779
1779
|
|
1780
1780
|
//// DOCUMENT START
|
1781
|
-
export const
|
1782
|
-
type Document {${BusinessObjectFields}
|
1781
|
+
export const DocumentFields = `${BusinessObjectFields}
|
1783
1782
|
title: String
|
1784
1783
|
description: String
|
1785
1784
|
previewImage: String
|
1786
1785
|
htmlContent: String
|
1786
|
+
metadataType: String`;
|
1787
|
+
export const DocumentQL = `
|
1788
|
+
type Document {${DocumentFields}
|
1787
1789
|
}`;
|
1788
1790
|
export class Document extends BusinessObject {
|
1789
1791
|
title?: string;
|
1790
1792
|
description?: string;
|
1791
1793
|
previewImage?: string;
|
1792
1794
|
htmlContent?: string;
|
1795
|
+
metadataType?: string;
|
1793
1796
|
|
1794
1797
|
constructor(
|
1795
1798
|
tenantIdCreated: string,
|
@@ -2280,6 +2283,16 @@ export interface FindDocumentInput {
|
|
2280
2283
|
archived?: boolean;
|
2281
2284
|
}
|
2282
2285
|
|
2286
|
+
export const UpsertDocumentInputQL = `
|
2287
|
+
input UpsertDocumentInput {${DocumentFields}
|
2288
|
+
recommendationId: String
|
2289
|
+
connectionId: String
|
2290
|
+
}`;
|
2291
|
+
export interface UpsertDocumentInput extends Document {
|
2292
|
+
recommendationId?: string;
|
2293
|
+
connectionId?: string;
|
2294
|
+
}
|
2295
|
+
|
2283
2296
|
export const FindDashboardInputQL = `
|
2284
2297
|
input FindDashboardInput {
|
2285
2298
|
_id: String!
|
@@ -3003,6 +3016,7 @@ ${FindDomainInputQL}
|
|
3003
3016
|
${FindCalendarInputQL}
|
3004
3017
|
${FindEventInputQL}
|
3005
3018
|
${UpsertNoteInputQL}
|
3019
|
+
${UpsertDocumentInputQL}
|
3006
3020
|
${FindDocumentInputQL}
|
3007
3021
|
${FindDashboardInputQL}
|
3008
3022
|
${FindBlockInputQL}
|