@bigfootai/bigfoot-types 5.1.7 → 5.1.9
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 +16 -6
- package/model.ts +21 -3
- 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,13 +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
|
1057
|
-
metadataType: String
|
1056
|
+
metadataType: String`;
|
1057
|
+
exports.DocumentQL = `
|
1058
|
+
type Document {${exports.DocumentFields}
|
1058
1059
|
}`;
|
1059
1060
|
class Document extends BusinessObject {
|
1060
1061
|
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
|
@@ -1294,6 +1295,14 @@ input FindDocumentInput {
|
|
1294
1295
|
_id: String!
|
1295
1296
|
archived: Boolean
|
1296
1297
|
}`;
|
1298
|
+
exports.UpsertDocumentInputQL = `
|
1299
|
+
input UpsertDocumentInput {
|
1300
|
+
_id: String
|
1301
|
+
document: String!
|
1302
|
+
metadataType: String
|
1303
|
+
recommendationId: String
|
1304
|
+
connectionId: String
|
1305
|
+
}`;
|
1297
1306
|
exports.FindDashboardInputQL = `
|
1298
1307
|
input FindDashboardInput {
|
1299
1308
|
_id: String!
|
@@ -1726,6 +1735,7 @@ ${exports.FindDomainInputQL}
|
|
1726
1735
|
${exports.FindCalendarInputQL}
|
1727
1736
|
${exports.FindEventInputQL}
|
1728
1737
|
${exports.UpsertNoteInputQL}
|
1738
|
+
${exports.UpsertDocumentInputQL}
|
1729
1739
|
${exports.FindDocumentInputQL}
|
1730
1740
|
${exports.FindDashboardInputQL}
|
1731
1741
|
${exports.FindBlockInputQL}
|
package/model.ts
CHANGED
@@ -1778,13 +1778,14 @@ 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
|
1787
|
-
metadataType: String
|
1786
|
+
metadataType: String`;
|
1787
|
+
export const DocumentQL = `
|
1788
|
+
type Document {${DocumentFields}
|
1788
1789
|
}`;
|
1789
1790
|
export class Document extends BusinessObject {
|
1790
1791
|
title?: string;
|
@@ -2282,6 +2283,22 @@ export interface FindDocumentInput {
|
|
2282
2283
|
archived?: boolean;
|
2283
2284
|
}
|
2284
2285
|
|
2286
|
+
export const UpsertDocumentInputQL = `
|
2287
|
+
input UpsertDocumentInput {
|
2288
|
+
_id: String
|
2289
|
+
document: String!
|
2290
|
+
metadataType: String
|
2291
|
+
recommendationId: String
|
2292
|
+
connectionId: String
|
2293
|
+
}`;
|
2294
|
+
export interface UpsertDocumentInput {
|
2295
|
+
_id?: string;
|
2296
|
+
document: string;
|
2297
|
+
metadataType?: string;
|
2298
|
+
recommendationId?: string;
|
2299
|
+
connectionId?: string;
|
2300
|
+
}
|
2301
|
+
|
2285
2302
|
export const FindDashboardInputQL = `
|
2286
2303
|
input FindDashboardInput {
|
2287
2304
|
_id: String!
|
@@ -3005,6 +3022,7 @@ ${FindDomainInputQL}
|
|
3005
3022
|
${FindCalendarInputQL}
|
3006
3023
|
${FindEventInputQL}
|
3007
3024
|
${UpsertNoteInputQL}
|
3025
|
+
${UpsertDocumentInputQL}
|
3008
3026
|
${FindDocumentInputQL}
|
3009
3027
|
${FindDashboardInputQL}
|
3010
3028
|
${FindBlockInputQL}
|