@bigfootai/bigfoot-types 5.0.13 → 5.0.14

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.
Files changed (3) hide show
  1. package/model.js +17 -37
  2. package/model.ts +24 -60
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -3,7 +3,7 @@ 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
5
  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 = 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.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.GraphQLTypes = exports.UpdateTagSharingInputQL = 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.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = 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.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDashboardInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = void 0;
6
+ exports.GraphQLTypes = exports.UpdateTagSharingInputQL = 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.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = void 0;
7
7
  const uuid_1 = require("uuid");
8
8
  /*
9
9
  These are the core primitives of our model. These represent the entities that show
@@ -1301,22 +1301,26 @@ input UpsertNoteInput {
1301
1301
  sharingTags: [SharingTagInput]
1302
1302
  favorite: Boolean
1303
1303
  }`;
1304
- exports.FindNoteInputQL = `
1305
- input FindNoteInput {
1304
+ exports.FindBlockInputQL = `
1305
+ input FindBlockInput {
1306
1306
  _id: String!
1307
+ blockType: String
1307
1308
  archived: Boolean
1308
1309
  }`;
1309
- exports.FindNotesInputQL = `
1310
- input FindNotesInput {
1310
+ exports.FindBlocksInputQL = `
1311
+ input FindBlocksInput {
1312
+ originReferenceBlock: ReferenceBlockInput
1313
+ blockType: String
1311
1314
  archived: Boolean
1312
1315
  }`;
1313
- exports.ArchiveNoteInputQL = `
1314
- input ArchiveNoteInput {
1316
+ exports.ArchiveBlockInputQL = `
1317
+ input ArchiveBlockInput {
1315
1318
  _id: String!
1319
+ blockType: String
1316
1320
  archive: Boolean
1317
1321
  }`;
1318
- exports.ArchiveNoteOutputQL = `
1319
- type ArchiveNoteOutput {
1322
+ exports.ArchiveBlockOutputQL = `
1323
+ type ArchiveBlockOutput {
1320
1324
  _id: String!
1321
1325
  archived: Boolean!
1322
1326
  }`;
@@ -1414,26 +1418,6 @@ exports.UpdateTaskInputQL = `
1414
1418
  input UpsertTaskInput {${exports.BlockFieldsForUpsert}
1415
1419
  editor: EditorInput!
1416
1420
  }`;
1417
- exports.FindTaskInputQL = `
1418
- input FindTaskInput {
1419
- _id: String!
1420
- archived: Boolean
1421
- }`;
1422
- exports.FindTasksInputQL = `
1423
- input FindTasksInput {
1424
- originReferenceBlock: ReferenceBlockInput
1425
- archived: Boolean
1426
- }`;
1427
- exports.ArchiveTaskInputQL = `
1428
- input ArchiveTaskInput {
1429
- _id: String!
1430
- archive: Boolean
1431
- }`;
1432
- exports.ArchiveTaskOutputQL = `
1433
- type ArchiveTaskOutput {
1434
- _id: String!
1435
- archived: Boolean!
1436
- }`;
1437
1421
  exports.UpsertFolderInputQL = `
1438
1422
  input UpsertFolderInput {
1439
1423
  _id: String
@@ -1642,10 +1626,10 @@ ${exports.FindEventInputQL}
1642
1626
  ${exports.UpsertNoteInputQL}
1643
1627
  ${exports.FindDocumentInputQL}
1644
1628
  ${exports.FindDashboardInputQL}
1645
- ${exports.FindNoteInputQL}
1646
- ${exports.FindNotesInputQL}
1647
- ${exports.ArchiveNoteInputQL}
1648
- ${exports.ArchiveNoteOutputQL}
1629
+ ${exports.FindBlockInputQL}
1630
+ ${exports.FindBlocksInputQL}
1631
+ ${exports.ArchiveBlockInputQL}
1632
+ ${exports.ArchiveBlockOutputQL}
1649
1633
  ${exports.UpdateRecommendationInputQL}
1650
1634
  ${exports.ArchiveRecommendationInputQL}
1651
1635
  ${exports.ArchiveRecommendationOutputQL}
@@ -1662,10 +1646,6 @@ ${exports.MergeTagInputQL}
1662
1646
  ${exports.SetSharingTagInputQL}
1663
1647
  ${exports.DeleteSharingTagInputQL}
1664
1648
  ${exports.UpdateTaskInputQL}
1665
- ${exports.FindTaskInputQL}
1666
- ${exports.FindTasksInputQL}
1667
- ${exports.ArchiveTaskInputQL}
1668
- ${exports.ArchiveTaskOutputQL}
1669
1649
  ${exports.UpsertFolderInputQL}
1670
1650
  ${exports.FindFolderInputQL}
1671
1651
  ${exports.FindFoldersInputQL}
package/model.ts CHANGED
@@ -2304,40 +2304,48 @@ export interface UpsertNoteInput {
2304
2304
  favorite?: boolean;
2305
2305
  }
2306
2306
 
2307
- export const FindNoteInputQL = `
2308
- input FindNoteInput {
2307
+ export const FindBlockInputQL = `
2308
+ input FindBlockInput {
2309
2309
  _id: String!
2310
+ blockType: String
2310
2311
  archived: Boolean
2311
2312
  }`;
2312
- export interface FindNoteInput {
2313
+ export interface FindBlockInput {
2313
2314
  _id: string;
2315
+ blockType?: BlockType;
2314
2316
  archived?: boolean;
2315
2317
  }
2316
2318
 
2317
- export const FindNotesInputQL = `
2318
- input FindNotesInput {
2319
+ export const FindBlocksInputQL = `
2320
+ input FindBlocksInput {
2321
+ originReferenceBlock: ReferenceBlockInput
2322
+ blockType: String
2319
2323
  archived: Boolean
2320
2324
  }`;
2321
- export interface FindNotesInput {
2325
+ export interface FindBlocksInput {
2326
+ originReferenceBlock?: ReferenceBlock;
2327
+ blockType?: BlockType;
2322
2328
  archived?: boolean;
2323
2329
  }
2324
2330
 
2325
- export const ArchiveNoteInputQL = `
2326
- input ArchiveNoteInput {
2331
+ export const ArchiveBlockInputQL = `
2332
+ input ArchiveBlockInput {
2327
2333
  _id: String!
2334
+ blockType: String
2328
2335
  archive: Boolean
2329
2336
  }`;
2330
- export interface ArchiveNoteInput {
2337
+ export interface ArchiveBlockInput {
2331
2338
  _id: string;
2339
+ blockType?: BlockType;
2332
2340
  archive?: boolean;
2333
2341
  }
2334
2342
 
2335
- export const ArchiveNoteOutputQL = `
2336
- type ArchiveNoteOutput {
2343
+ export const ArchiveBlockOutputQL = `
2344
+ type ArchiveBlockOutput {
2337
2345
  _id: String!
2338
2346
  archived: Boolean!
2339
2347
  }`;
2340
- export interface ArchiveNoteOutput {
2348
+ export interface ArchiveBlockOutput {
2341
2349
  _id: string;
2342
2350
  archived: boolean;
2343
2351
  }
@@ -2503,46 +2511,6 @@ export interface UpsertTaskInput extends Task {
2503
2511
  editor: Editor;
2504
2512
  }
2505
2513
 
2506
- export const FindTaskInputQL = `
2507
- input FindTaskInput {
2508
- _id: String!
2509
- archived: Boolean
2510
- }`;
2511
- export interface FindTaskInput {
2512
- _id: string;
2513
- archived?: boolean;
2514
- }
2515
-
2516
- export const FindTasksInputQL = `
2517
- input FindTasksInput {
2518
- originReferenceBlock: ReferenceBlockInput
2519
- archived: Boolean
2520
- }`;
2521
- export interface FindTasksInput {
2522
- originReferenceBlock?: ReferenceBlock;
2523
- archived?: boolean;
2524
- }
2525
-
2526
- export const ArchiveTaskInputQL = `
2527
- input ArchiveTaskInput {
2528
- _id: String!
2529
- archive: Boolean
2530
- }`;
2531
- export interface ArchiveTaskInput {
2532
- _id: string;
2533
- archive?: boolean;
2534
- }
2535
-
2536
- export const ArchiveTaskOutputQL = `
2537
- type ArchiveTaskOutput {
2538
- _id: String!
2539
- archived: Boolean!
2540
- }`;
2541
- export interface ArchiveTaskOutput {
2542
- _id: string;
2543
- archived: boolean;
2544
- }
2545
-
2546
2514
  export const UpsertFolderInputQL = `
2547
2515
  input UpsertFolderInput {
2548
2516
  _id: String
@@ -2875,10 +2843,10 @@ ${FindEventInputQL}
2875
2843
  ${UpsertNoteInputQL}
2876
2844
  ${FindDocumentInputQL}
2877
2845
  ${FindDashboardInputQL}
2878
- ${FindNoteInputQL}
2879
- ${FindNotesInputQL}
2880
- ${ArchiveNoteInputQL}
2881
- ${ArchiveNoteOutputQL}
2846
+ ${FindBlockInputQL}
2847
+ ${FindBlocksInputQL}
2848
+ ${ArchiveBlockInputQL}
2849
+ ${ArchiveBlockOutputQL}
2882
2850
  ${UpdateRecommendationInputQL}
2883
2851
  ${ArchiveRecommendationInputQL}
2884
2852
  ${ArchiveRecommendationOutputQL}
@@ -2895,10 +2863,6 @@ ${MergeTagInputQL}
2895
2863
  ${SetSharingTagInputQL}
2896
2864
  ${DeleteSharingTagInputQL}
2897
2865
  ${UpdateTaskInputQL}
2898
- ${FindTaskInputQL}
2899
- ${FindTasksInputQL}
2900
- ${ArchiveTaskInputQL}
2901
- ${ArchiveTaskOutputQL}
2902
2866
  ${UpsertFolderInputQL}
2903
2867
  ${FindFolderInputQL}
2904
2868
  ${FindFoldersInputQL}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.0.13",
4
+ "version": "5.0.14",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",