@bigfootai/bigfoot-types 5.0.13 → 5.0.15

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 -65
  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
@@ -1716,11 +1716,6 @@ export class Calendar extends BusinessObject {
1716
1716
 
1717
1717
  //// EXTERNAL TASK START
1718
1718
  export class Todo extends BusinessObject {
1719
- status: TaskStatus;
1720
- dateDue: number;
1721
- steps?: TaskStep[];
1722
- dateRemindMe?: number;
1723
- recurrence?: RecurrenceRFC[];
1724
1719
  htmlContent?: string;
1725
1720
 
1726
1721
  constructor(
@@ -2304,40 +2299,48 @@ export interface UpsertNoteInput {
2304
2299
  favorite?: boolean;
2305
2300
  }
2306
2301
 
2307
- export const FindNoteInputQL = `
2308
- input FindNoteInput {
2302
+ export const FindBlockInputQL = `
2303
+ input FindBlockInput {
2309
2304
  _id: String!
2305
+ blockType: String
2310
2306
  archived: Boolean
2311
2307
  }`;
2312
- export interface FindNoteInput {
2308
+ export interface FindBlockInput {
2313
2309
  _id: string;
2310
+ blockType?: BlockType;
2314
2311
  archived?: boolean;
2315
2312
  }
2316
2313
 
2317
- export const FindNotesInputQL = `
2318
- input FindNotesInput {
2314
+ export const FindBlocksInputQL = `
2315
+ input FindBlocksInput {
2316
+ originReferenceBlock: ReferenceBlockInput
2317
+ blockType: String
2319
2318
  archived: Boolean
2320
2319
  }`;
2321
- export interface FindNotesInput {
2320
+ export interface FindBlocksInput {
2321
+ originReferenceBlock?: ReferenceBlock;
2322
+ blockType?: BlockType;
2322
2323
  archived?: boolean;
2323
2324
  }
2324
2325
 
2325
- export const ArchiveNoteInputQL = `
2326
- input ArchiveNoteInput {
2326
+ export const ArchiveBlockInputQL = `
2327
+ input ArchiveBlockInput {
2327
2328
  _id: String!
2329
+ blockType: String
2328
2330
  archive: Boolean
2329
2331
  }`;
2330
- export interface ArchiveNoteInput {
2332
+ export interface ArchiveBlockInput {
2331
2333
  _id: string;
2334
+ blockType?: BlockType;
2332
2335
  archive?: boolean;
2333
2336
  }
2334
2337
 
2335
- export const ArchiveNoteOutputQL = `
2336
- type ArchiveNoteOutput {
2338
+ export const ArchiveBlockOutputQL = `
2339
+ type ArchiveBlockOutput {
2337
2340
  _id: String!
2338
2341
  archived: Boolean!
2339
2342
  }`;
2340
- export interface ArchiveNoteOutput {
2343
+ export interface ArchiveBlockOutput {
2341
2344
  _id: string;
2342
2345
  archived: boolean;
2343
2346
  }
@@ -2503,46 +2506,6 @@ export interface UpsertTaskInput extends Task {
2503
2506
  editor: Editor;
2504
2507
  }
2505
2508
 
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
2509
  export const UpsertFolderInputQL = `
2547
2510
  input UpsertFolderInput {
2548
2511
  _id: String
@@ -2875,10 +2838,10 @@ ${FindEventInputQL}
2875
2838
  ${UpsertNoteInputQL}
2876
2839
  ${FindDocumentInputQL}
2877
2840
  ${FindDashboardInputQL}
2878
- ${FindNoteInputQL}
2879
- ${FindNotesInputQL}
2880
- ${ArchiveNoteInputQL}
2881
- ${ArchiveNoteOutputQL}
2841
+ ${FindBlockInputQL}
2842
+ ${FindBlocksInputQL}
2843
+ ${ArchiveBlockInputQL}
2844
+ ${ArchiveBlockOutputQL}
2882
2845
  ${UpdateRecommendationInputQL}
2883
2846
  ${ArchiveRecommendationInputQL}
2884
2847
  ${ArchiveRecommendationOutputQL}
@@ -2895,10 +2858,6 @@ ${MergeTagInputQL}
2895
2858
  ${SetSharingTagInputQL}
2896
2859
  ${DeleteSharingTagInputQL}
2897
2860
  ${UpdateTaskInputQL}
2898
- ${FindTaskInputQL}
2899
- ${FindTasksInputQL}
2900
- ${ArchiveTaskInputQL}
2901
- ${ArchiveTaskOutputQL}
2902
2861
  ${UpsertFolderInputQL}
2903
2862
  ${FindFolderInputQL}
2904
2863
  ${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.15",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",